1 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4 * buffer.C: small refactoring of docbook stuff
6 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
11 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
13 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
14 operator dispatch_result_t, and operators for == != and >=
16 * cursor.C (dispatch): adjust for operator dispatch_result_t
17 removal. comment out call to update
19 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
21 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
29 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
32 * dispatchresult.h: new file, DispatchResult broken out of
35 * Makefile.am (lyx_SOURCES): add dispatchresult.h
37 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
39 * text.C (rowBreakPoint): put a hack inside #if 0
41 2003-10-28 André Pönitz <poenitz@gmx.net>
48 * text2.C: general cleanup (lots of small stuff)
50 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
52 * text2.C (cursorEnd): simple fix to the "end key goes to one
53 before the end on last row" bug
55 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
57 * text.C (backspace): fix the "zombie characters"
59 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
61 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
63 2003-10-27 André Pönitz <poenitz@gmx.net>
65 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
67 * factory.C: handle new InsetPagebreak, InsetLine
69 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
70 and move handling into new InsetPagebreak, InsetLine
74 * ParagraphParameters.C:
87 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
96 * text3.C: remove lastPos uses in favour of Row::endpos
98 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
100 * undo.C (performUndoOrRedo): fix two crashes by setting a
101 cursor by hand and reordering some calls. Use bv->lockInset instead
102 of inset->edit because the latter loses cursor information
104 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
106 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
108 (rowBreakPoint): fix width. change point to point + 1.
111 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
114 * lyxfunc.C: fix (at least partly) the problems
115 with the Nav menu and headers inside branch insets
118 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
120 * paragraph.C (getChar): add strong asserts
122 * lyxrow_funcs.C (lastPos): remove hideous hack
124 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
125 (fill): adjust to that (avoid an infinite loop)
127 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
129 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
131 2003-10-23 André Pönitz <poenitz@gmx.net>
133 * RowList_fwd.h: change list<> to vector<> to gain speed
134 after suggestion from Alfredo
136 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
138 * lyxtext.h: move the bidi stuff from here...
141 * Bidi.[Ch]: ... to here
143 2003-10-23 André Pönitz <poenitz@gmx.net>
146 * text.C (isLastRow, isFirstRow): new functions
148 * paragraph.h: new width cache member
150 * rowpainter.C: replace RowList::iterator with Row & where possible
152 * lyxfunc.C: replace several view()->text with a single call
154 * toc.C: fix 'unused' warning
156 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
158 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
159 when woring with stream::pos_type
160 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
162 2003-10-22 André Pönitz <poenitz@gmx.net>
165 * text.C: use Row & instead of RowList::iterator
167 * lyxrow.h: rename end() to endpos()
173 2003-10-22 Angus Leeming <leeming@lyx.org>
175 * buffer.[Ch] (fully_loaded): new member function, returning true
176 only when the file has been loaded fully.
177 Used to prevent the premature generation of previews and by the
178 citation inset to prevent computation of the natbib-style label.
180 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
181 templates are all set up.
183 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
185 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
187 * text.C: fixed an "oops" in the "is a bit silly"
190 2003-10-21 André Pönitz <poenitz@gmx.net>
192 * FuncStatus.[Ch]: small stuff, whitespace
194 * lyxfont.[Ch]: operator<<() for debug reasons
198 * lyxtext.h: whitespace, spelling
200 * paragraph.C: naming of variables
203 * text2.C: small stuff
206 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
208 * text.C: (1) finish off the inset display() work;
209 (2) fix the "is a bit silly" bug (accessing char
212 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
214 * text.C: re-introduce display() for insets, fixing the
215 various bugs (stretch of line above, math inset
218 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
220 * text.C (rightMargin): remove spurious semicolon
222 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
225 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
227 * text3.C: fix one crash due to wrong cursor def
229 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
231 * vc-backend.C (scanMaster): make the regex static
233 * LaTeX.C (scanAuxFile): make the regexs static
235 * text3.C (doInsertInset, dispatch, dispatch):
236 * text2.C (cursorUp, cursorDown):
237 * text.C (selectNextWordToSpellcheck):
238 * BufferView_pimpl.C (dispatch):
239 * lyxfunc.C (dispatch): localDispatch -> dispatch
241 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
243 * lyxsocket.C: include <cerrno>
245 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
247 * lyxfunc.C (dispatch): remove textcache stuff
249 * bufferlist.C (release): remove textcache stuff
252 * TextCache.C: delete file
253 * TextCache.h: delete file
255 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
257 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
258 delete of the bv_->text.
259 (resizeCurrentBuffer): remove texcache stuff
260 (workAreaResize): ditto
262 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
264 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
267 2003-10-16 André Pönitz <poenitz@gmx.net>
274 * text3.C: speed up by storing y positions per paragraph plus per-row
275 offset instead of having a 'full' y position in the row.
277 2003-10-15 André Pönitz <poenitz@gmx.net>
281 * undo.[Ch]: make undo aware of inner insets
283 2003-10-14 Angus Leeming <leeming@lyx.org>
285 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
286 static member functions LyX::ref() and LyX::cref.
287 (lastfiles): new accessor functions for the new lastfiles_ member var.
288 (addLyXView, views_): add a new LyXView to the list of views_.
289 (updateInset): loop over all LyXViews to call their own updateInset
290 member function, returning a pointer to the Buffer owning the inset.
292 * BufferView_pimpl.C (loadLyXFile):
293 * MenuBackend.C (expandLastfiles):
294 * bufferlist.C (MenuWrite, QuitLyX):
295 lastfiles is no longer a global variable.
296 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
298 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
299 static function. Access through LyX::cref().emergencyCleanup().
301 2003-10-14 André Pönitz <poenitz@gmx.net>
303 * iterators.[Ch]: new direct access to innermost LyXText and Inset
305 * undo.[Ch]: restoring part of 'undo in insets'
308 * undo_funcs.[Ch]: merge with undo.[Ch]
310 * tabular.C: small cleansing stuff
312 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
314 * paragraph_funcs.C (readParToken): report unknown insets as error
315 boxes. Use the outer paragraph as location (also for unknown
318 * factory.C (readInset): do not abort on reading an unknown inset.
321 2003-10-13 Angus Leeming <leeming@lyx.org>
323 * lyx_main.C (LyX): remove call to setDisplayTranslator().
325 * lyxrc.C: displayTranslator is now a function,
326 declared in GraphicsTypes.h.
328 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
330 * format.C: new placeholder $$a to pass the socket address.
332 * bufferlist.[Ch]: new function getBufferFromTmp.
334 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
335 files in the temporary dir.
337 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
339 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
341 * Makefile.am: add lyxsocket.[Ch].
343 * lyx_main.C (error_handler): handle SIGPIPE.
345 2003-10-13 André Pönitz <poenitz@gmx.net>
347 * BufferView_pimpl.C:
352 * undo_funcs.[Ch]: use paroffset_type instead of
353 ParagraphList::iterators to prevent multiple conversion
354 (and get a more robust interface)
356 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
358 * lyxfunc.C (dispatch): RESULT -> dispatch_result
360 * text3.C (dispatch): ditto
362 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
364 * LaTeX.C (handleFoundFile): move the static to smaller scope,
365 move the onlyfile, use onlyfile instead of foundfile in a couple
368 * DepTable.C (update): flush the error stream a bit more
370 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
372 * lyxserver.C (callback): adjust
374 * lyxfunc.C (getStatus): add a missing brace in commented code
375 (ensureBufferClean): reindent
376 (dispatch): delete version taking a string
378 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
380 * LaTeX.C (deplog): move found file handlig from here...
381 (handleFoundFile): .. to new function here.
382 (deplog): make sure to discover several files mentioned on the
385 2003-10-10 André Pönitz <poenitz@gmx.net>
392 * text3.C: fix some of the tabular crashes
394 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
396 * MenuBackend.C (binding): put debug message into Debug::KBMAP
398 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
400 2003-10-09 André Pönitz <poenitz@gmx.net>
402 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
405 * BufferView_pimpl.C:
406 * bufferview_funcs.C:
417 * undo_funcs.C: adjust
419 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
421 * text2.C (incrementItemDepth): new function, use a backtracking
422 algorithm to discover the correct item depth.
423 (resetEnumCounterIfNeeded): new function, use a backtracking
424 algorithm to discover if counter reset is needed.
425 (setCounter): use them. Simplify a bit. Add different labels for
426 different item depths for itemize.
428 * paragraph.C (Paragraph): remove initialization of enumdepth
431 * paragraph.h: get rid of enumdepth, and use itemdepth both for
432 enumerate and itemize. Change the type of itemdepth to signed char.
434 2003-10-08 André Pönitz <poenitz@gmx.net>
436 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
441 * tabular.[Ch]: fix crash after 'row-insert'
443 2003-10-08 Angus Leeming <leeming@lyx.org>
445 Fix doxygen warnings.
447 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
448 Remove CutAndPaste:: prefix from header file declaration.
450 * LColor.h (fill): remove LColor:: prefix from declaration.
452 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
453 use lyx::depth_type rather than Paragraph::depth_type so that
454 header file and .C file match.
456 * converter.h (intToFormat): remove Converters:: prefix from declaration.
458 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
459 * aspell.C: \file aspell_local.C -> \file aspell.C
460 * gettext.C: \file gettext.C -> \file src/gettext.C
461 * gettext.h: \file gettext.h -> \file src/gettext.h
462 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
463 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
464 * text.C: \file text.C -> \file src/text.C
466 * toc.C: move comment so that doxygen is not confused.
468 2003-10-07 Angus Leeming <leeming@lyx.org>
470 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
472 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
475 * aspell_local.h: add forgotten std::string's.
477 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
484 * text3.C: The Box patch. Fancybox support, minipage, parbox
486 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
492 * ParagraphParameters.h:
502 * lyxtextclasslist.h:
506 * textcursor.h: add <string> and other small fixes to make Lars'
507 std::string patch compile with STLport.
509 2003-10-06 Angus Leeming <leeming@lyx.org>
511 * LColor.h: Add missing #include <string>.
513 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
515 * All most all file in all subdirs: Make <string> be the prefered
516 way of getting to std::string, add using declarations.
518 2003-10-06 André Pönitz <poenitz@gmx.net>
520 * metricsinfo.C: initialize LyXFont before changing attribute.
521 (fixes the 'math in \emph is upright' bug)
523 2003-10-06 André Pönitz <poenitz@gmx.net>
525 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
527 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
530 * paragraph_pimpl.C: Small fixes to build using STLport
532 2003-10-02 André Pönitz <poenitz@gmx.net>
535 * text3.C: move handling of LFUN_DEPTH *; fix #1360
537 2003-10-01 André Pönitz <poenitz@gmx.net>
539 * factory.C: assert early
541 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
543 * lyx_main.C: remove the global debug object
545 * debug.h: adjust for new debugstream
547 * debug.C: adjust for new debugstream and keep the global debug
550 2003-09-22 Angus Leeming <leeming@lyx.org>
552 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
553 of g++ which otherwise complain that the scoped_ptr destructor can't delete
554 an incomplete class LyXFont.
556 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
558 * factory.C: bug fix in branches
560 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
562 * lyxfunc.C (processKeySym): adjust
564 (dispatch): change arg name from ev to func, adjust
565 (sendDispatchMessage): ditto
567 * lyx_main.C (defaultKeyBindings): adjust keybindings
568 (deadKeyBindings): ditto
570 * kbsequence.C (addkey): return a FuncRequest
572 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
574 * kbmap.C (bind): take a FuncRequest as arg, adjust
577 (defkey): change to take a FuncRequest as arg, adjust
578 (findbinding): take a FuncRequest as arg, adjust.
580 * funcrequest.h (operator=): added
582 * funcrequest.C (FuncRequest): default kb_action changed from
583 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
585 * buffer.C (dispatch): simplify
586 (dispatch): adjust to take a FuncRequest as arg, adjust
588 * boost.C (assertion_failed): change assertion message slightly
590 * ToolbarBackend.C (read): simplify
592 * MenuBackend.C (binding): adjust call to findbinding, add a
593 message if no binding is found.
595 (expandToc): correct by adding a empty FuncRequest
597 * LyXAction.C: include <boost/assert.hpp>
598 (isPseudoAction): delete function
599 (LookupFunc): change name to...
600 (lookupFunc): this. change return type to FuncRequest.
601 (getActionName): take kb_action as arg, simplify
602 (funcHasFlag): add an assert, simplify.
604 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
606 * toc.C (action): return a FuncRequest, simplify
608 * lyxfunc.C (processKeySym): adjust
609 (getStatus): delete version that takes an int.
611 (dispatch): delete version that takes action as int
613 (sendDispatchMessage): simplify and adjust
615 * funcrequest.C (getArg): take unsigned int as arg
617 * ToolbarBackend.C (read): adjust
618 (add): delete version that takes func as a string.
619 (getIton): take a FuncRequest as arg
621 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
624 * MenuBackend.C (MenuItem): add a new construct that only takes a
625 Kind, simplify the constructor use for submenus.
627 (expandLastfiles): adjust
628 (expandDocuments): adjust
629 (expandFormats): adjust
630 (expandFloatListInsert): adjust
631 (expandFloatInsert): adjust
632 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
634 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
635 Remove class variables lyx_pseudo_map and lyx_arg_map
637 * LyXAction.C (searchActionArg): delete function
638 (getPseudoAction): delete function
639 (retrieveActionArg): delete function
640 (LookupFunc): make it return kb_action, simplify.
641 (getActionName): simplify
643 * factory.C (createInset): fix new bug
645 2003-09-19 Angus Leeming <leeming@lyx.org>
647 * CutAndPaste.C (pasteSelection): remove fudge used to set the
648 masterFilename_ parameter in the include inset.
650 * factory.C (createInset): changes due to the changes to InsetInclude.
652 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
654 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
656 2003-09-18 Angus Leeming <leeming@lyx.org>
659 * BufferView.C: pass the buffer when calling Inset::getLabelList,
660 Inset::fillWithBibKeys.
661 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
663 2003-09-18 Angus Leeming <leeming@lyx.org>
665 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
667 (ctor): pass and store a 'Buffer const &'
668 (buffer): new member function.
670 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
671 '*this' to the LaTeXFeatures ctor.
673 2003-09-18 Angus Leeming <leeming@lyx.org>
679 * text.C: rename EnumLColor as LColor_color.
681 2003-09-18 Angus Leeming <leeming@lyx.org>
683 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
684 remove #include "insets/insetbase.h" from cursor.h.
686 2003-09-18 Angus Leeming <leeming@lyx.org>
688 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
689 InsetOld_code to remove #include "inset.h".
691 * iterators.C: add #include "insets/inset.h"
693 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
695 * BufferView.C: remove more locking stuff that apparently doesn't
696 do anything sensible.
698 2003-09-16 André Pönitz <poenitz@gmx.net>
701 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
704 2003-09-16 Angus Leeming <leeming@lyx.org>
706 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
708 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
711 * paragraph.h: remove #include "lyxfont.h". Forward declare
714 2003-09-16 Angus Leeming <leeming@lyx.org>
716 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
717 of support/textutils.h.
718 (isWord): move the contents of support/textutils.h's IsWordChar here.
724 * text2.C: add #include "paragraph.h".
727 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
729 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
735 * LaTeX.C: use namespace alias for lyx::support::os
737 2003-09-16 Angus Leeming <leeming@lyx.org>
740 * bufferview_funcs.C:
745 * text.C: add #include "LColor.h".
747 2003-09-16 Angus Leeming <leeming@lyx.org>
749 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
750 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
752 Store the FontBits::color variable as an int rather than as an
753 LColor::colorso that we can move LColor.h out of the lyxfont.h header
756 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
757 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
758 string calls together.
760 * lyxrc.C: add #include "LColor.h".
762 2003-09-15 Angus Leeming <leeming@lyx.org>
764 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
767 2003-09-15 Angus Leeming <leeming@lyx.org>
769 * LColor.h: add an EnumLColor wrapper for LColor::color.
771 * lyxfont.[Ch] (color, setColor, realColor):
772 * lyxtext.h, text.C (backgroundColor):
773 pass EnumLColor args to/from the functions, rather than LColor::color
777 * lyxtext.h: forward declare EnumLColor.
779 * lyx_main.C: add #include "LColor.h".
781 2003-09-15 Angus Leeming <leeming@lyx.org>
783 * .cvsignore: add lyx-gtk.
785 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
790 * ParagraphParameters.C
804 * vc-backend.C: remove usage of STRCONV
806 2003-09-15 Angus Leeming <leeming@lyx.org>
808 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
809 explicitly define the color passed to the painter.
811 2003-09-15 Angus Leeming <leeming@lyx.org>
813 * bufferparams.C (BufferParams): reorder member initializers to avoid
816 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
818 * CutAndPaste.C (pasteSelection): remove an outdated #warning
819 * text.C (updateRowPositions): remove an unusual nop
821 2003-09-12 André Pönitz <poenitz@gmx.net>
823 * BufferView_pimpl.C:
832 * Counters.[Ch]: finish the 'automatic counters' job
834 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
836 * aspell.C: include <boost/assert.cpp> (compile fix)
838 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
840 * boost.C (assertion_failed): use lyx::support::abort instead of
843 2003-09-10 Angus Leeming <leeming@lyx.org>
845 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
846 with their _fwd progeny.
848 2003-09-09 Angus Leeming <leeming@lyx.org>
850 134 files throughtout the source tree: replace 'using namespace abc;'
851 directives with the appropriate 'using abc::xyz;' declarations.
853 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
855 * boost.C (emergencyCleanup): moved here from LAssert.c
856 (assertion_failed): new function, called by BOOST_ASSERT
858 * several files: change Assert to BOOST_ASSERT
860 2003-09-09 Angus Leeming <leeming@lyx.org>
862 * buffer.[Ch]: Add an Impl class and move Buffer's member
863 variables into it. As a result move several header files out of
866 Add header files to lots of .C files all over the tree as a result.
868 2003-09-09 Angus Leeming <leeming@lyx.org>
870 * buffer.[Ch]: make Buffer's member variables private. Add
873 Lots of changes all over the tree as a result.
875 2003-09-08 Angus Leeming <leeming@lyx.org>
877 * graph.C: #include <config.h>.
879 2003-09-08 Angus Leeming <leeming@lyx.org>
883 * BufferView_pimpl.C:
912 * toc.C: remove redundant using directives.
914 2003-09-07 Angus Leeming <leeming@lyx.org>
916 * LaTeXFeatures.h: remove #include "support/types.h".
917 * ToolbarBackend.h: remove #include <algorithm>.
918 * changes.h: remove #include <ctime>.
919 * debug.h: remove #include <iosfwd>.
920 * graph.h: remove #include "support/std_string.h".
921 * lyx_main.h: remove #include <csignal>.
922 * lyxlex_pimpl.h: remove #include <fstream>.
923 * sgml.h: remove #include <algorithm>, <utility>.
924 * toc.h: remove #include "support/std_ostream.h".
925 Add #include <iosfwd>.
927 2003-09-07 Angus Leeming <leeming@lyx.org>
929 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
931 * converter.h: forward declare LatexRunParams.
932 * encoding.h: remove #include "lyxrc.h".
933 * lyxtext.h: remove #include "LColor.h".
934 * lyxtextclass.h: remove #include "support/types.h".
935 * trans.h: remove #include "tex-accent.h".
936 * trans_mgr.h: remove #include "tex-accent.h".
937 * insets/inset.h: remove #include "support/types.h", <vector>.
938 * insets/insetcollapsable.h: remove #include "LColor.h".
939 * insets/insetinclude.h: remove #include "dimension.h".
940 * insets/insetlatexaccent.h: remove #include "dimension.h".
941 * insets/insetoptarg.h:: remove #include "insettext.h".
942 * insets/insettext.h: remove #include "dimension.h",
943 <boost/shared_ptr.hpp>
945 * insets/renderers.h: add #include "dimension.h".
946 * insets/updatableinset.h: add #include "support/types.h".
948 * many .C files: Associated changes.
950 2003-09-06 Angus Leeming <leeming@lyx.org>
952 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
953 one, inside testInvariant.
955 * PrinterParams.C: new file.
956 * PrinterParams.[Ch]: move the function bodies out of line.
958 2003-09-06 Angus Leeming <leeming@lyx.org>
960 * ParagraphParameters.h: forward declare ParameterStruct rather than
961 including its header file.
962 (depth): moved out-of-line.
964 2003-09-06 Angus Leeming <leeming@lyx.org>
966 * BufferView_pimpl.h:
969 * lyxfunc.h: forward declare LyXKeySym rather than
970 #include "frontends/LyXKeySym.h".
972 * BufferView_pimpl.C:
975 * lyxfunc.C: associated changes.
977 2003-09-06 Angus Leeming <leeming@lyx.org>
979 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
980 As a result, can remove the #include "insets/inset.h" from BufferView.h
982 2003-09-06 Angus Leeming <leeming@lyx.org>
984 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
985 As a result, can remove the #include "insets/inset.h" from BufferView.h
987 2003-09-06 Angus Leeming <leeming@lyx.org>
993 * bufferview_funcs.C:
994 * BufferView_pimpl.C:
999 * ParagraphParameters.C:
1004 * frontends/controllers/ControlDocument.C:
1005 * insets/insetcaption.C: rearrange the #includes into some sort of
1008 * buffer.h: remove #includes ErrorList.h, undo.h
1010 2003-09-06 Angus Leeming <leeming@lyx.org>
1012 * support/types.h: add a 'depth_type' typedef, used to store the
1013 nesting depth of a paragraph.
1016 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1017 defining explicitly.
1020 * paragraph_funcs.h:
1021 * ParagraphParameters.h:
1022 * sgml.h: use lyx::depth_type rather than Paragraph or
1023 ParameterStruct's depth_type.
1026 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1029 * BufferView_pimpl.C:
1031 * ParagraphParameters.C:
1034 * bufferview_funcs.C:
1041 * frontends/LyXView.C:
1042 * frontends/controllers/ControlDocument.C:
1043 * frontends/controllers/ControlErrorList.C:
1044 * insets/insetbibitem.C:
1045 * insets/insetbranch.C:
1046 * insets/insetcaption.C:
1047 * insets/insetcollapsable.C:
1048 * insets/insetenv.C:
1049 * insets/insetert.C:
1050 * insets/insetfloat.C:
1051 * insets/insetfoot.C:
1052 * insets/insetfootlike.C:
1053 * insets/insetnewline.C:
1054 * insets/insetquotes.C:
1055 * insets/insettabular.C:
1056 * insets/insettext.C:
1057 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1059 * frontends/controllers/ControlChanges.C: #include "changes.h".
1061 2003-09-06 Angus Leeming <leeming@lyx.org>
1063 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1064 than #including paragraph.h.
1067 * RowList.h: deleted. Superfluous.
1077 * insets/insettext.h: use ParagraphList_fwd.h rather than
1080 * paragraph.h: don't forward declare ParagraphList.
1083 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1084 rather than ParagraphList.h. paragraph.h is still needed for the
1085 Paragraph::depth_type parameters.
1087 * textcursor.h: enable it to compile stand-alone in light of the
1090 * bufferview_funcs.C:
1102 * frontends/controllers/ControlParagraph.C:
1103 * frontends/controllers/ControlTabular.C:
1104 * insets/insetmarginal.C:
1105 * insets/insetminipage.C:
1106 * insets/insetnote.C:
1107 * insets/insetoptarg.C: add header files needed to compile again.
1109 2003-09-06 Angus Leeming <leeming@lyx.org>
1111 * RowList_fwd.h: new file, forward-declaring Row rather than
1112 #including lyxrow.h.
1117 * insets/insettext.h: use it instead of RowList.h
1119 * bufferview_funcs.C:
1126 * text3.C: #include "RowList.h".
1128 2003-09-05 Angus Leeming <leeming@lyx.org>
1130 * factory.C (createInset):
1131 * vspace.C (c-tor): replace sscanf call with an istringstream.
1132 * ispell.C: re-add missing HP/UX headers.
1133 * lyxserver.C: re-add missing os2 headers.
1135 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1144 * text3.C: re-add missing system headers, needed for 2.95.2.
1146 2003-09-05 Angus Leeming <leeming@lyx.org>
1148 Changes most place everywhere due to the removal of using directives
1149 from support/std_sstream.h.
1151 2003-09-05 Angus Leeming <leeming@lyx.org>
1153 Replace LString.h with support/std_string.h,
1154 Lsstream.h with support/std_sstream.h,
1155 support/LIstream.h with support/std_istream.h,
1156 support/LOstream.h with support/std_ostream.h.
1158 Changes resulting throughout the tree.
1160 2003-09-05 Angus Leeming <leeming@lyx.org>
1162 * sgml.h: ensure that the header file can be compiled stand-alone.
1163 * *.C: strip out redundant #includes. (320 in total.)
1165 2003-09-04 Angus Leeming <leeming@lyx.org>
1167 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1168 here (from getPackages).
1170 * debug.[Ch]: add a new EXTERNAL tag.
1172 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1174 * text2.C (cursorEnd): simplify
1176 (getColumnNearX): adjust
1178 * text.C (computeBidiTables): adjust
1181 * rowpainter.C (paintChars): adjust
1182 (paintSelection): adjust
1183 (paintChangeBar): adjust
1186 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1188 (numberOfSeparators): adjust
1190 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1196 * text3.C: Restricts the mouse click functionality
1197 of insets like bibtex, include, toc and floatlist to the visible
1198 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1199 up the dialogs. Cursor has to be in front of the inset (i.e.
1200 start of row) for this to function.
1202 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1204 * bufferview_funcs.C (currentState): output row information
1206 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1208 * bufferview_funcs.C (currentState): output paragraph position
1210 2003-09-04 Angus Leeming <leeming@lyx.org>
1212 * FloatList.h: move out #include "Floating.h".
1213 * LaTeX.h: move out #include "DepTable.h".
1214 * LyXAction.h: move out #include "funcrequest.h".
1215 * buffer.h: move out #include "author.h", "iterators.h".
1216 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1217 * lyx_main.h: move out #include "errorlist.h".
1218 * lyxfunc.h: move out #include "FuncStatus.h".
1219 * lyxtext: move out #include "lyxcursor.h".
1220 * paragraph_pimpl.h: move out #include "counters.h".
1222 2003-09-03 Angus Leeming <leeming@lyx.org>
1224 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1225 preamble_snippets list, enabling us to add snippets to the preamble
1226 only if the snippet was not there already.
1228 2003-09-04 Angus Leeming <leeming@lyx.org>
1230 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1232 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1234 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1237 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1239 * BranchList.C: point fix, earlier forgotten
1241 2003-09-02 Angus Leeming <leeming@lyx.org>
1243 * box.C (contains): renamed from 'contained' after a fantastic
1246 2003-09-02 John Levon <levon@movementarian.org>
1252 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1254 2003-09-02 John Levon <levon@movementarian.org>
1256 * text2.C: simplification of cursorEnd(), including partial
1259 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1261 * buffer.C (readFile): add a space
1263 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1265 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1267 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1269 * buffer.C (readFile): new function, take a filename and a
1270 ParagraphList::iterator
1272 (readFile): adjust, make it private. don't use setStream, make
1273 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1274 always contain the filename.
1276 * BufferView.C (insertLyXFile): simplify and make it work for
1279 2003-08-30 John Levon <levon@movementarian.org>
1281 * Makefile.am: fix dist (from Kayvan)
1283 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1285 * most files: change to use const Buffer refs
1287 2003-08-27 André Pönitz <poenitz@gmx.net>
1289 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1290 on top of ownerPar().
1292 2003-08-27 John Levon <levon@movementarian.org>
1294 * funcrequest.C: properly initialise POD members
1296 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1298 * lyxtext.h (top_y): move top_y from here
1303 * BufferView_pimpl.[Ch]: to here
1304 * frontends/screen.C:
1305 * insets/insettabular.C:
1306 * insets/insettext.C: adjust
1307 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1309 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1312 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1314 2003-08-26 André Pönitz <poenitz@gmx.net>
1316 * paragraph_func.[Ch] (outerPar): new function
1319 * paragraph_funcs.C:
1320 * paragraph_funcs.h:
1321 * paragraph_pimpl.C:
1322 * text2.C: remove Inset::par_owner
1324 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1329 * text2.C: eliminates the needFullRow/display() stuff
1330 altogether, putting the logic in metrics/draw in the insets.
1332 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1334 * text2.C (redoParagraphInternal, redoParagraphs):
1335 * text.C (redoParagraph): add a call to updateRowPositions at the
1336 end of each 'metrics-like' call. Remove all others.
1337 (getRow): remove the 'y-computing' version.
1338 (getRowNearY): do not compute nor return the real y. Solve the
1339 'y < 0' problem and simplify.
1341 2003-08-22 Angus Leeming <leeming@lyx.org>
1343 * *.[Ch]: clean-up of licence and author blurbs.
1344 Also move config.h out of a few .h files and into a few .C files.
1346 2003-08-22 André Pönitz <poenitz@gmx.net>
1348 * lyxrow.[Ch]: add x_ and *fill_ members
1353 * text2.C: adjust/remove prepareToPrint() calls
1355 2003-08-22 André Pönitz <poenitz@gmx.net>
1357 * lyxrow.[Ch]: add end_ member
1359 * lyxrow_funcs.C: use LyXRow::end_
1361 * lyxtext.h (singleWidth): add LyXFont parameter
1364 * text2.C: adjust LyXText::singleWidth() calls
1366 * text.C (redoParagraph): simplify row breaking logic
1369 2003-08-19 André Pönitz <poenitz@gmx.net>
1371 * funcrequest.C: initialize button_ member
1374 * rowpainter.[Ch]: interface consolidation
1376 2003-08-18 André Pönitz <poenitz@gmx.net>
1379 * BufferView_pimpl.C:
1381 * paragraph_funcs.C:
1383 * text3.C: remove LyXScreen::draw() and fitCursor calls
1385 * BranchList.h: remove spurious semicolons
1387 * MenuBackend.C: fix branchlist related crash
1389 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1397 * bufferparams.[Ch]:
1401 * text3.C: implements the 'branch inset'
1402 idea. This allows the output of various versions of a document
1403 from a single source version, selectively outputing or suppressing
1404 output of parts of the text.
1405 This implementation contains a 'branch list editor' in a separate
1406 tab of the document settings dialog. Branches are user definable
1407 and have a "display colour" to distinguish them on-screen.
1409 ColorHandler was somewhat cleaned up.
1410 (1) make possible a dynamically growing LColor list by allowing
1411 the graphic context cache to grow along (vector);
1412 (2) eliminate an IMHO unnecessary step in colour allocation.
1414 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1416 * BufferView_pimpl.C: compile fix
1418 2003-08-15 André Pönitz <poenitz@gmx.net>
1420 * rowpainter.C: remove extra metrics calls
1422 * lyxtext.h: merge the two constructors into a single one,
1423 pass reference to owner's par list
1425 * BufferView_pimpl.C:
1429 2003-08-15 André Pönitz <poenitz@gmx.net>
1431 * lyxrow_funcs.[Ch]:
1434 * paragraph_funcs.C:
1439 * text_funcs.C: split LyXText::rowlist_ into individual
1440 Paragraph::rows_ chunks
1443 * BufferView_pimpl.[Ch]:
1446 * text3.C: remove toggleSelection()
1448 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1450 * bufferlist.C: beautify two alerts (shorter text of buttons)
1451 * buffer.C: Remove redundant ' ' from message
1453 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1454 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1455 rename VALIGN_CENTER to VALIGN_MIDDLE
1457 2003-08-11 André Pönitz <poenitz@gmx.net>
1459 * lyxtext.h (getPar):
1460 * text.C: new function
1462 2003-08-11 André Pönitz <poenitz@gmx.net>
1465 * tracer.[Ch]: remove unneeded files
1467 * InsetList.[Ch]: remove resizeInsetsLyXText()
1472 * text3.C: merge insertParagraphs() and appendParagraph()
1473 remove breakAgain(), update()
1475 * BufferView_pimpl.[Ch]:
1476 * bufferview_funcs.[Ch]:
1480 * tabular.C: adjust after text & InsetList changes.
1482 2003-08-08 André Pönitz <poenitz@gmx.net>
1484 * text.C (insertChar, backspace): replace rowlist fiddling
1485 with rebreak of full par
1488 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1489 checkParagraph, updateInset): removed
1491 2003-08-07 André Pönitz <poenitz@gmx.net>
1494 * text3.C: merge some LFUN handlers, remove dead code
1496 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1498 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1500 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1502 * text2.C (DEPM): fix part of bug 1255 and 1256
1504 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1506 * BufferView_pimpl.C (workAreaDispatch): change to use
1507 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1508 that are no mouse related.
1510 2003-08-05 André Pönitz <poenitz@gmx.net>
1513 * BufferView_pimpl.[Ch]:
1514 * bufferview_funcs.C:
1516 * text3.C: rip out "deep update"
1518 * textcursor.[Ch] (last_sel_cursor): remove unused member
1520 2003-08-04 André Pönitz <poenitz@gmx.net>
1523 * BufferView_pimpl.[Ch]:
1524 * ParagraphParameters.C:
1525 * bufferview_funcs.C:
1531 * text3.C: replace "complicated" BufferView::update(...) calls with
1534 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1536 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1538 * Makefile.am (lyx_SOURCES): add paper.h
1540 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1542 * Makefile.am: move things around so that both lyx-qt and
1543 lyx-xforms can be built (according to --with-frontend). Then lyx
1544 is a symbolic link to lyx-[firstfrontend]
1546 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1548 * Always use std::endl with lyxerr
1550 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1552 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1554 2003-08-01 André Pönitz <poenitz@gmx.net>
1557 * BufferView_pimpl.[Ch]:
1559 * text3.C: merge BufferView::repaint() and BufferView::update()
1561 2003-08-01 José Matos <jamatos@lyx.org>
1563 * buffer.[Ch]: file_format is no longer a buffer data element.
1565 2003-08-01 André Pönitz <poenitz@gmx.net>
1570 * text2.C: make redoParagraph more independent of current cursor
1572 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1574 * text2.C: remove unneeded members
1576 2003-07-30 André Pönitz <poenitz@gmx.net>
1578 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1580 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1581 create a single function...
1583 * paragraph_funcs.C (moveItem): ... here.
1586 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1588 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1590 * LColor.[Ch]: Add comment and greyedout logical colors.
1592 2003-07-30 André Pönitz <poenitz@gmx.net>
1594 * tabular.C: don't use Assert too heavily. This crashes where it
1597 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1599 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1600 is disabled (bug 1232)
1602 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1604 * factory.C: limited 'arg' scope
1606 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1608 * factory.C: fixed Note submenu issues
1610 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1612 * factory.C: submenu for Note/Comment/Greyedout
1614 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1617 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1619 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1622 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1623 greyedout. Patch provided by Jürgen Spitzmüller.
1625 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1627 * kbmap.C (read): fix error message when reading bind files
1629 2003-07-29 Angus Leeming <leeming@lyx.org>
1631 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1632 certainly does not do what it purports to do. I am doing it, and
1633 us, a favour by killing it.
1635 2003-07-28 José Matos <jamatos@lyx.org>
1637 * buffer.C (readBody, do_writeFile):
1638 * paragraph.C(readParagraph): \end_document replaces \the_end.
1640 2003-07-29 André Pönitz <poenitz@gmx.net>
1643 * BufferView_pimpl.[Ch]:
1647 * textcursor.[Ch]: remove toggleToggle & Co
1649 2003-07-28 José Matos <jamatos@fep.up.pt>
1651 * buffer.C (readParagraph):
1652 * params_func (readParToken, readParagraph):
1653 * paragraph.C (write): \layout -> \begin_layout.
1655 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1657 * lyxlex_pimpl.C (setFile): clean up slightly.
1659 * bufferparams.h: add compressed var
1661 * buffer_funcs.C (readFile): adjust for LyXLex change
1662 (newFile): ditto + simplify
1664 * buffer.C (writeFile): handle writing of compressed files
1666 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1667 Check if the file is compressed and set a bufferparm if so.
1669 * Makefile.am (lyx_LDADD): remove explicit -lz
1671 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1673 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1674 makeDocBookFile): put the real LyX version in the first line of
1678 * version.C.in: remove lyx_docversion
1680 * tabular.C (write_attribute): add a template-based version to
1681 write enums properly
1683 2003-07-28 André Pönitz <poenitz@gmx.net>
1688 * text3.C: use doubles again for x-coordinates. They are needed.
1690 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1692 * messages.C (getLocaleDir): use lyx_localedir()
1694 * lyxlex_pimpl.C (setFile): compress stuff
1696 * buffer.C (writeFile): add some compression stuff
1697 (do_writeFile): new func, dont call expliti close... will this
1700 * Makefile.am (lyx_LDADD): add -lz
1702 2003-07-28 José Matos <jamatos@fep.up.pt>
1704 * buffer.C: increment file format.
1705 * paragraph_funcs (readParagraph, readParToken):
1706 * paragraph.C (readParagraph): add \end_layout.
1708 2003-07-27 Angus Leeming <leeming@lyx.org>
1710 * Makefile.am: remove special casing for configure-time setting of
1711 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1713 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1714 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1716 2003-07-26 André Pönitz <poenitz@gmx.net>
1718 * paragraph_func.[Ch]:
1719 * paragraph.C (realizeFont): inline it whereever it is used
1724 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1727 2003-07-26 André Pönitz <poenitz@gmx.net>
1731 * text2.C: get rid of LyXText::need_break_row
1733 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1735 * toc.[Ch]: put namespace toc inside namespace lyx
1737 * MenuBackend.C (expandToc2): adjust for lyx::toc
1740 * lyxfunc.C (dispatch): adjust for lyx::find
1742 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1743 lyx::find instead. Reorganize a bit.
1744 (LyXReplace): rename to replace
1745 (LyXFind): rename to find
1747 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1750 2003-07-26 André Pönitz <poenitz@gmx.net>
1752 * text.C (setHeightOfRow): restrict scope of temporary variable
1754 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1755 code (never has been used?)
1757 2003-07-27 Asger Alstrup <alstrup@local>
1759 * text.C (fill): Optimise algorithm to exploit that we can reuse
1760 the LyXFont for many characters.
1761 (setHeightOfRow): Same thing.
1762 (rowBreakPoint): Same thing.
1764 2003-07-26 Asger Alstrup <alstrup@local>
1766 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1768 * text.C (singleWidth): Spurious font copying in hot-spot
1769 singleWidth avoided. Reorder tests for arabic for efficiency.
1771 * text.C (fill): handle empty paragraphs better.
1773 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1776 * encoding.h: add includes
1778 * lyxrc.C: remove reading of bind files
1780 * lyx_main.C (init): setup bindings and menus only if we have a
1783 * kbmap.C (read): new method. Do the actual reading of bind
1786 * converter.C (dvipdfm_options):
1789 (output): adapt PAPER_* enums.
1791 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1793 * bufferparams.h: remove paper-related enums from there
1795 * paper.h: New file. A trivial header file to hold paper-related
1796 enums. It should later expand to contain many paper-related
1799 * lyxrc.C: declare extern displayTranslator
1801 2003-07-27 José Matos <jamatos@fep.up.pt>
1803 * tabular.[Ch] (linuxdoc): add support for tables and figures
1806 2003-07-27 José Matos <jamatos@fep.up.pt>
1808 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1809 consistency in both functions.
1810 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1812 2003-07-26 Asger Alstrup <alstrup@local>
1814 * rowpainter.C (paintRows): Change algorithm to work directly on
1815 the insets rather than asking every character in the document
1816 whether its an inset.
1818 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1820 * buffer.C (openFileWrite): factorize some code
1822 2003-07-26 Angus Leeming <leeming@lyx.org>
1825 * lyx_main.[Ch]: replace occurances of system_tempdir with
1828 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1830 * rename Inset to InsetOld
1832 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1834 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1835 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1836 which I think is a bit clearer. EDIT is gone, since it was
1837 premature optimisation, and broken for mathed anyway.
1838 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1839 with cursor positioning in insets as well (math insets still do not
1840 work, but that's a different story anyway.) It mysteriously
1841 crashes sometimes with undo in the first paragraph, but I'm fairly
1842 confident that this is a compiler bug.
1844 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1846 * paragraph.C (Paragraph): adjust for new clone return type
1848 (copyIntoMinibuffer): ditto
1850 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1852 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1853 by not having a special case, and always doing a full rebreak of
1854 the document after undo.
1856 2003-07-23 Angus Leeming <leeming@lyx.org>
1858 * factory.C (createInset): InsetExternal::setParams now takes a
1861 2003-07-23 Angus Leeming <leeming@lyx.org>
1863 * factory.C (createInset): changed interface to the external and
1864 graphics mailers' string2params functions.
1866 2003-07-23 Angus Leeming <leeming@lyx.org>
1868 * factory.C (createInset): pass a
1869 Buffer const * parameter to InsetExternalMailer's string2params.
1871 2003-07-22 John Levon <levon@movementarian.org>
1873 * Thesaurus.h: include the right aiksaurus header
1875 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1877 * MenuBackend.C (expand): check menu shortcuts unconditionally
1879 2003-07-21 Angus Leeming <leeming@lyx.org>
1881 * factory.C (createInset): pass a
1882 buffer_path parameter to InsetGraphicsMailer's string2params.
1884 2003-07-21 Angus Leeming <leeming@lyx.org>
1886 * BufferView_pimpl.C (buffer):
1889 * lyxfunc.C (dispatch):
1890 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1891 rather than the grfx shortcut.
1893 2003-07-21 André Pönitz <poenitz@gmx.net>
1895 * rowpainter.C: remove unused variables
1898 * tabular_funcs.h: move to tabular.C
1899 * Makefile.am: adjust
1901 * tabular.[Ch]: basic optical cleaning
1903 * author.h: pass references, not values
1905 2003-07-18 André Pönitz <poenitz@gmx.net>
1913 * text3.C: two-phase drawing for InsetText and InsetTabular
1914 some float -> int changes.
1916 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1918 * lyx_main.C: fix the fix
1920 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1922 * lyx_main.C: fix a crash in batch mode if no files specified
1925 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1927 * format.[Ch] (papersize): moved to BufferParams
1928 * converter.[Ch] (dvips_options): moved to BufferParams
1929 (dvipdfm_options): moved to anon namespace
1930 * bufferparams.[Ch]: added above functions.
1932 2003-07-17 André Pönitz <poenitz@gmx.net>
1936 * text2.C: don't call inset->update() anymore
1938 * metricsinfo.[Ch]: add convenience constructor
1940 2003-07-16 André Pönitz <poenitz@gmx.net>
1945 * text2.C: replace the LyXCursor::irow_ member with
1946 on-demand computation of the value
1948 2003-07-16 John Levon <levon@movementarian.org>
1950 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1952 2003-07-15 André Pönitz <poenitz@gmx.net>
1955 * text2.C: remove no more needed refresh_row
1957 2003-07-15 André Pönitz <poenitz@gmx.net>
1962 * text3.C: refresh_status tristate -> need_update bool
1964 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1966 * lyxtext.h (init): remove reinit argument (act as if always true)
1967 * text2.C: adjust to that
1969 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1971 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1972 * text3.C: use it to delete selections in some cases
1973 (bugs 441, 673, 702, 954).
1975 2003-07-14 André Pönitz <poenitz@gmx.net>
1977 * rowpainter.[Ch]: reduce interface
1979 2003-07-14 André Pönitz <poenitz@gmx.net>
1981 * BufferView_pimpl.C:
1982 * text2.C: adjust after removing unused BufferView * argument
1984 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1986 * text2.C (init): fix a crash fired on resize
1988 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1990 * buffer.[Ch]: added new closing signal
1991 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1992 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1993 BufferView::Pimpl via the closing the signal
1995 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1997 * buffer.[Ch]: take out all bv-related from buffer
1999 * BufferView_pimpl.[Ch]: connect to new signals
2000 * CutAndPaste.C: removed useless asserts
2001 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2004 * lyxfunc.C: moved view-related funciontality from vc here
2005 * paragraph.C: removed outdated comments
2008 2003-07-10 André Pönitz <poenitz@gmx.net>
2010 * BufferView_pimpl.C:
2014 * text2.C: remove InsetText::InnerCache, clean up consequences
2016 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2018 * ispell.C: fix two typos in error messages
2020 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2022 * Extend Note inset to other forms of annotation like Comment
2023 and Greyedout. Right button click gives dialog.
2025 Files modified or added (+):
2029 * ControlNote.[Ch] +
2031 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2032 frontends/controllers
2036 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2038 * aspell.C: add missing namespace lyx::support
2040 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2042 * BufferView.[Ch] (newFile): Add
2043 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2044 * LaTeX.[Ch] (message): added this signal and use it
2045 * buffer.[Ch] (busy, message): added these signals and use them
2046 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2050 * importer.C: use buffer signals instead of direct bv calling
2051 * lyx_cb.[Ch] (ShowMessage): removed
2054 * paragraph_funcs.C:
2055 * text2.C: use buffer signals
2057 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2059 * introduce namespace lyx::graphics
2061 2003-07-02 André Pönitz <poenitz@gmx.net>
2063 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2065 2003-07-01 André Pönitz <poenitz@gmx.net>
2072 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2073 text*.C to text_func.C
2075 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2077 * introduce namespace lyx::support
2079 2003-06-30 André Pönitz <poenitz@gmx.net>
2084 * text.C: re-enable --with-included-string
2086 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2088 * textcursor.C: add <config.h>
2090 * text.C (getWord): remove const from word_location arg
2092 * lyxvc.C (getLogFile): fix const type order
2094 * lyxtext.h: remove const from word_location arg, add arg name
2096 * lyxlayout.h: currect type on labeltype.
2098 * importer.C: correct \file
2100 * converter.C (intToFormat): use std:: on ret val, ws changes
2102 * bufferlist.h: correct \file
2104 * buffer.C (makeLinuxDocFile): fix const type order
2105 (makeDocBookFile): ditto
2106 (fillWithBibKeys): use std:: on stdlib args.
2108 * CutAndPaste.C: fix authors.
2109 (availableSelections): use std:: on return vector
2111 2003-06-27 André Pönitz <poenitz@gmx.net>
2113 * BufferView_pimpl.C:
2114 * bufferview_funcs.C:
2122 * text3.C: remove LyXCursor::row_ member
2125 * text.C: rename fullRebreak() to partialRebreak() and implement
2126 a fullRebreak() that really bereks fully
2128 * textcursor.h: new struct for cursor-related data
2130 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2132 * lyx_main.C (LyX): get full path of document loaded on the
2135 2003-06-26 André Pönitz <poenitz@gmx.net>
2137 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2138 remove unused/broken operator>,<,>=.
2140 * text.C: remove only use of broken operator<= in an Assert().
2142 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2144 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2145 moved errorlist_.clear to showErrorList
2147 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2149 * converter.C (scanLog, runLaTeX):
2150 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2151 move the bv->showErrorList call to the callers
2152 * lyxfunc.C: i.e. here...
2154 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2155 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2156 namespace, the second to...
2157 * buffer_funcs (BufferFormat, parseErrors): added
2158 * errorlist.C (ErrorList(TeXErrors const &)): removed
2160 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2162 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2164 2003-06-24 "Garst R. Reese" <reese@isn.net>
2168 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2170 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2172 * version.C.in: change docversion to 1.4
2174 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2176 * buffer.C: fix a bug just introduced
2178 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2180 * buffer.[Ch]: added the parseError signal and use it, removed
2182 * BufferView.[Ch] (addError): moved to ...
2183 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2184 to the Buffer::parseError signal to catch (guess what) parse errors
2185 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2187 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2189 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2190 ability to create a buffer and to return an existing one from
2191 the list. Moved these functions to...
2192 * buffer_funcs.[Ch]: added
2193 * BufferView.[Ch] (loadLyXFile): added
2194 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2195 job removed from bufferlist::loadLyXFile.
2196 * buffer.C (setReadOnly): make it work without view
2197 (i.e added an if (users))
2199 2003-06-19 Angus Leeming <leeming@lyx.org>
2202 * LyXAction.C (init):
2203 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2204 with LFUN_DIALOG_SHOW <name> <data>.
2206 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2208 * CutAndPaste.C (availableSelections): small compilation fix for
2209 ancient (gcc 2.9x) compilers
2211 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2213 * text3.C (cursorNext): add tmp var
2215 * text2.C (updateCounters): for function calling out of for clause
2216 (replaceSelectionWithString): ditto
2217 (insertStringAsParagraphs): ditto
2218 (getColumnNearX): add tmp var
2219 (setCursorFromCoordinates): add tmp var
2220 (cursorDownParagraph): add tmp var
2221 (deleteEmptyParagraphMechanism): add tmp var
2223 * text.C (insertChar): add tmp var
2225 * rowpainter.C (paintDepthBar): add tmp var
2227 * CutAndPaste.C (availableSelections): potentially check all
2228 paragraphs in a cut to fill the shown strings.
2230 2003-06-18 André Pönitz <poenitz@gmx.net>
2232 * kbmap.[Ch]: use vector<> instead of list<>
2234 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2236 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2237 pasteSelection with index
2239 * text2.C (pasteSelection): modify, call pasteSelection with index
2241 * paragraph.C (asString): reimplement version with no interval to
2242 call the one with interval.
2244 * lyxtext.h: add index arg to pasteSelection
2246 * MenuBackend.C (MenuItem): handle PasteRecent
2247 (Menu::read::Menutags): add md_pasterecent
2249 (expandPasteRecent): new function
2252 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2254 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2256 (availableSelections): new function
2258 2003-06-17 Angus Leeming <leeming@lyx.org>
2260 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2262 2003-06-17 Angus Leeming <leeming@lyx.org>
2265 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2267 * lyxfunc.C (dispatch): invoke it.
2269 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2271 * iterators.C (operator++, ParPosition): reintroduce some
2272 const_cast for the benefit of older compilers.
2274 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2276 * text3.C (dispatch): do not modify clipboard when doing
2277 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2278 LFUN_DELETE_SKIP on a selection selection
2280 2003-06-16 André Pönitz <poenitz@gmx.net>
2286 * tabular.[Ch]: IU of clone() and getLabelList();
2288 2003-06-13 André Pönitz <poenitz@gmx.net>
2290 * tabular.h: compactification
2292 2003-06-12 André Pönitz <poenitz@gmx.net>
2296 * tabular_funcs.h: some renaming plus whitespace
2298 2003-06-12 André Pönitz <poenitz@gmx.net>
2301 * BufferView_pimpl.C:
2307 * toc.C: Return a Paragraph & for ParIterator::operator*()
2309 2003-06-11 John Levon <levon@movementarian.org>
2313 * ToolbarBackend.C: add "Toolbars" section and
2316 2003-06-10 Angus Leeming <leeming@lyx.org>
2319 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2321 * lyxfunc.C (dispatch): invoke it.
2323 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2325 * main.C: protect <ios> with HAVE_IOS
2326 (main): protect sync_with_stdio with HAVE_IOS
2328 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2330 * text2.C (cutSelection): adjust
2331 (pasteSelection): adjust
2333 * messages.C: handle get of empty string
2335 * main.C (main): use sync_with_stdio(false)
2337 * lyxfunc.C (dispatch): adjust
2339 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2340 (WriteAs): remove unneeded BufferView arg.
2342 * bufferparams.h: use correct types on papersize, papersize2 and
2345 * bufferparams.C (readToken): adjust for type
2346 (writeLaTeX): add missing cases to switch.
2348 * bufferlist.C (quitWriteBuffer): adjust
2351 * buffer.C (asciiParagraph): remove some commented code.
2353 * CutAndPaste.C: remove current_view extern variable.
2354 (cutSelection): add BufferParams arg.
2355 (eraseSelection): add BufferParams arg.
2356 (pasteSelection): add Buffer const & arg
2358 2003-06-07 John Levon <levon@movementarian.org>
2361 * paragraph_funcs.C:
2362 * paragraph_pimpl.C:
2366 * paragraph.C: allow InsetERT to freely space lines,
2367 and some consolidation of code
2369 2003-06-06 José Matos <jamatos@fep.up.pt>
2371 * buffer.C (makeDocBookFile): fix bug #821
2373 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2375 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2377 2003-06-04 Angus Leeming <leeming@lyx.org>
2379 * buffer.C: bump format to 224.
2381 2003-06-05 André Pönitz <poenitz@gmx.net>
2383 * text2.C (redoParagraphs): remove two const_cast<>
2385 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2387 * ParagraphList.h: remove last remnants of NO_STD_LIST
2389 2003-06-03 Angus Leeming <leeming@lyx.org>
2391 * factory.C (createInset): small change to the way InsetExternal's params
2394 2003-06-04 André Pönitz <poenitz@gmx.net>
2396 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2398 * paragraph_pimpl.h:
2399 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2401 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2403 * undo_funcs.C: make some simple cases of undo work again
2405 2003-06-03 John Levon <levon@movementarian.org>
2407 * ispell.C: HPUX doesn't have sys/select.h
2410 2003-06-03 John Levon <levon@movementarian.org>
2412 * CutAndPaste.C: update tabular and include inset
2417 * paragraph.C: remove owningBuffer(), don't pass Buffer
2420 * factory.C: insetGraphicsParams changed
2422 2003-06-02 John Levon <levon@movementarian.org>
2428 * text3.C: remove insetparent
2430 2003-06-02 John Levon <levon@movementarian.org>
2433 * buffer.C: fix inset_iterator.end(), move out of line
2436 2003-06-01 John Levon <levon@movementarian.org>
2438 * text3.C: use a proper cut/paste when doing inset
2439 insert (from Jürgen Spitzmüller)
2441 2003-06-01 John Levon <levon@movementarian.org>
2443 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2445 2003-05-30 André Pönitz <poenitz@gmx.net>
2447 * rowpainter.C: unify second drawing phase
2449 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2451 * trans_mgr.C: remove one case of current_view
2453 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2455 * paragraph_funcs.h: remove paragraph.h include
2457 * paragraph.h: delete NO_STD_LIST stuff
2459 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2461 * buffer.h: remove paragraph.h include
2463 * ParagraphList.C: delete file
2465 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2467 * toc.C (getTocList): adjust
2469 * paragraph_pimpl.C (validate): adjust
2471 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2473 * paragraph.C (Paragraph): adjust
2474 (getPositionOfInset): use const_iterator, adjust
2475 (bibitem): use const_iterator, adjust
2476 (setInsetOwner): adjust
2478 * iterators.C (operator++): adjust
2480 * InsetList.[Ch]: Replace selfmade iterator with standard
2481 vector::iterator also introduce const_iterator. Remove getPos,
2482 getInset and setInset from InsetTable. Adjust accordingly.
2484 * BufferView.C (lockInset): adjust
2485 (ChangeInsets): adjust
2487 * tabular.[Ch]: delete commented same_id functions
2489 2003-05-28 John Levon <levon@movementarian.org>
2491 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2493 2003-05-28 André Pönitz <poenitz@gmx.net>
2495 * metricsinfo.[Ch]: remove 'fullredraw' member
2497 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2499 * lyxtextclass.C (operator): remove caching.
2501 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2505 * text2.C (cursorBottom): adjust
2506 (setCounter): use ParagraphList::find, adjust
2508 * text.C (workWidth): use ParagraphList::find, adjust
2510 * lyxcursor.C (LyXCursor): adjust
2512 * buffer.C (inset_iterator): adjust
2514 * ParagraphList.h: make iterator(value_type) private, make
2515 ParagraphList a friend of iterator.
2517 * ParagraphList.C (find): new function
2519 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2521 2003-05-27 André Pönitz <poenitz@gmx.net>
2523 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2525 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2527 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2529 2003-05-26 John Levon <levon@movementarian.org>
2531 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2533 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2535 * remove same_id from function signatures, adjust.
2537 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2539 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2541 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2543 * paragraph.C (Paragraph): get rid of same_ids parameter
2545 * ParagraphList.C (insert): adjust
2548 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2550 * paragraph_funcs.C (breakParagraph): adjust
2551 (breakParagraphConservative): adjust
2553 * buffer.C (readParagraph): adjust
2555 * ParagraphList.C (insert): take a reference instead of a pointer
2558 * paragraph.[Ch] (id): new function
2560 * bufferlist.C (newFile): adjust
2562 * ParagraphList.C (ParagraphList): adjust
2564 (push_back): take a reference instead of a pointer.
2566 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2568 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2571 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2572 set else use old code.
2574 * ParagraphList.C: remove all NO_NEXT code and only compile this
2575 code of NO_STD_LIST is set.
2577 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2579 * BufferView_pimpl.C:
2589 * graphics/GraphicsConverter.C:
2590 * graphics/PreviewLoader.C: header adjustment
2592 2003-05-23 Angus Leeming <leeming@lyx.org>
2594 * LaTeXFeatures.[Ch] (useBabel): new method.
2595 * bufferparams.C (writeLaTeX): use it.
2597 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2599 * ParagraphList.h (set): remove unused function.
2601 2003-05-23 André Pönitz <poenitz@gmx.net>
2604 * BufferView_pimpl.C:
2608 * undo_funcs.C: setUndo reworked
2610 * iterators.[Ch]: add access to topmost ParagraphList
2612 * lyxtext.[Ch] (workWidth): add a const
2614 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2616 * texrow.[Ch] (increasePos): remove function
2617 * exporter.C (export): removed unused var and outdated comment
2619 2003-05-23 Angus Leeming <leeming@lyx.org>
2621 * latexrunparams.h: rename fragile as moving_arg.
2622 * paragraph.C (simpleTeXOnePar): ditto.
2623 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2625 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2627 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2629 (textUndoOrRedo): comment out a currently unused var.
2631 * paragraph.h (NO_NEXT): enable NO_NEXT
2633 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2635 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2637 * exporter.C (Export): adjust for removeAutoInsets removal.
2639 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2641 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2643 * BufferView.[Ch] (removeAutoInsets): delete function
2645 2003-05-22 Angus Leeming <leeming@lyx.org>
2647 * latexrunparams.h: add a free_spacing variable.
2649 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2650 to pass moving_arg, as the data is stored in runparams.fragile.
2652 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2653 to Inset::latexOptional or to simpleTeXOnePar.
2655 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2656 free_spacing arg to Inset::latexOptional.
2658 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2661 2003-05-22 Angus Leeming <leeming@lyx.org>
2663 * latexrunparams.h: add fragile and use_babel variables.
2665 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2666 * buffer.C (makeLaTeXFile): store this returned value in
2667 runparams.use_babel, thus passing it to the inset::latex methods.
2669 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2670 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2672 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2673 longer has a fragile arg, as it is stored in runparams.fragile.
2675 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2676 moving_arg parameter as the data is stored in runparams.fragile.
2678 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2679 a fragile parameter as the data is stored in runparams.fragile.
2681 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2683 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2685 2003-05-22 Angus Leeming <leeming@lyx.org>
2687 * latexrunparams.h: add a 'bool nice' which defaults to false.
2689 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2690 now encapsulated within runparams.
2692 * bufferlist.C (updateIncludedTeXfiles):
2693 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2695 2003-05-22 Angus Leeming <leeming@lyx.org>
2697 * latexrunparams.h: new file containing struct LatexRunParams.
2698 * Makefile.am: add new file.
2700 * LaTeX.[Ch] (c-tor, run):
2701 * buffer.[Ch] (makeLaTeXFile):
2702 * bufferlist.[Ch] (updateIncludedTeXfiles):
2703 * converter.C (convert, scanLog):
2704 * converter.[Ch] (runLaTeX):
2705 * exporter.C (Export):
2706 * paragraph.[Ch] (simpleTeXOnePar):
2707 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2708 * paragraph_funcs.[Ch] (latexParagraphs):
2709 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2710 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2711 pass around a LatexRunParams parameter.
2713 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2715 * paragraph.[Ch]: remove unused constructor
2717 * ParagraphList.C (erase): new function, taking two iterators
2719 2003-05-22 André Pönitz <poenitz@gmx.net>
2721 * undo_funcs.C: remove duplicated code
2723 * iterator.[Ch]: operator=
2725 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2727 * tabular.C (SetMultiColumn): ws changes
2729 * rowpainter.C (paintFirst): get rid of a ->previous
2731 * lyx_cb.C (getPossibleLabel): parlist simplification
2733 * BufferView.C (ChangeInsets): simplify slightly.
2735 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2737 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2738 * lfuns.h: new LFUN_SPACE
2739 * lyxfunc.C: protected space has a new lfun
2740 * paragraph_funcs.C: read new space insets
2742 * factory.C: handle new space insets
2744 2003-05-22 André Pönitz <poenitz@gmx.net>
2747 * BufferView_pimpl.C:
2750 * undo_funcs.C: return a ParIterator from getParFromID.
2752 * iterators.[Ch]: add two const's
2754 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2756 * toc.C (getTocList): adjust
2758 * iterators.[Ch]: rework for parlist
2760 * buffer.C (par_iterator_begin): adjust
2761 (par_iterator_end): adjust
2763 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2765 * BufferView.C (removeAutoInsets): adjust
2766 (ChangeInsets): adjust
2768 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2770 * text.C (top_y): fix bug 1110
2772 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2774 * errorlist.[Ch]: added
2777 * BufferView_pimpl.C:
2778 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2781 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2783 * Makefile.am: ensure that lyx is relinked upon changes to the
2784 various "convenience" libs.
2786 2003-05-20 Angus Leeming <leeming@lyx.org>
2788 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2789 files are compiled in alphabetical order again.
2791 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2793 2003-05-19 Angus Leeming <leeming@lyx.org>
2795 * gettext.[Ch]: remove "char const * _(char const *)".
2797 2003-05-19 André Pönitz <poenitz@gmx.net>
2799 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2808 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2810 2003-05-19 André Pönitz <poenitz@gmx.net>
2814 * lyxtextclass.[Ch]:
2816 * paragraph_funcs.[Ch]:
2818 * text3.C: more insetenv work
2820 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2822 * ParagraphParameters.C (params2string): small bug fixed
2824 2003-05-16 André Pönitz <poenitz@gmx.net>
2827 * bufferview_funcs.C: patch from Kornel Benko to prevent
2828 crash when _(...) is called twice in a statement
2830 2003-05-16 André Pönitz <poenitz@gmx.net>
2837 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2839 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2841 * lyx_main.C (init): remove spurious static_cast
2843 2003-05-14 André Pönitz <poenitz@gmx.net>
2845 * BufferView.C: fix format string
2847 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2849 * BufferView.[Ch] (insertErrors): removed
2850 * BufferView.[Ch] (showErrorList): added
2851 * buffer.C (runChkTeX):
2852 * converter.C (scanLog): call showErrorList instead of inserterrors
2854 2003-05-13 André Pönitz <poenitz@gmx.net>
2856 * BufferView_pimpl.C:
2858 * bufferview_func.C:
2865 * tabular_funcs.h: tostr() from its own header
2867 * ParagraphParameters.C:
2872 * text3.C: STRCONV()
2874 2003-05-12 André Pönitz <poenitz@gmx.net>
2877 * BufferView_pimpl.C:
2881 * ParagraphParameters.C:
2885 * bufferview_funcs.C:
2898 * paragraph_funcs.C:
2902 * text3.C: boost::format -> bformat all over the place
2905 2003-05-09 André Pönitz <poenitz@gmx.net>
2907 * LColor.[Ch]: Pimpl the #include <map> away
2909 2003-05-09 John Levon <levon@movementarian.org>
2911 * bufferlist.C: never remove emergency saves
2913 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2915 * Makefile.am: better lib building
2917 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2919 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2921 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2922 (simpleTeXSpecialChars): adjust
2923 (simpleTeXSpecialChars): adjust
2924 * paragraph.C (simpleTeXOnePar): adjust
2925 * buffer.C (makeLaTeXFile): adjust
2927 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2929 * text2.C (changeDepth): parlist cleanup
2930 (getColumnNearX): ditto
2932 * rowpainter.C (getLabelFont): parlist cleanup
2934 * bufferlist.C (newFile): parlist cleanup
2936 * CutAndPaste.C (eraseSelection): parlist cleanup
2938 * BufferView_pimpl.C (trackChanges): parlist cleanup
2941 * BufferView.C (lockInset): parlist cleanup.
2942 (ChangeInsets): ditto
2944 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2946 * CutAndPaste.h: Update file header.
2948 * CutAndPaste.C: Update file header.
2949 Store the parts cut out of the Document in a limited_stack.
2950 (copySelection): adjust
2951 (pasteSelection): new function, takes the index in the limited stack.
2952 (nrOfParagraphs): adjust
2953 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2954 simplify error inset insertion.
2955 (checkPastePossible): adjust
2957 2003-05-06 John Levon <levon@movementarian.org>
2959 * text2.C: don't cast wrap inset to float
2961 2003-05-05 André Pönitz <poenitz@gmx.net>
2964 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2966 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2967 few naked Paragraph *.
2969 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2971 * bufferparams.C: Output warning if a document with missing
2972 TeX document class is loaded
2973 * exporter.C: Disable TeX exports if the document class is missing
2976 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2977 isTeXClassAvailable()
2979 2003-05-03 John Levon <levon@movementarian.org>
2982 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2983 explicit cursor show/hide
2985 * BufferView_pimpl.h:
2986 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2987 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2989 * lyxfunc.C: hide cursor before dispatching.
2994 * text3.C: remove explicit cursor hides
2996 2003-05-02 André Pönitz <poenitz@gmx.net>
2998 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3001 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3004 * text2.C: tiny whitespace
3006 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3008 * undo_funcs.C: almost only ws changes.
3010 * ParagraphList.C (splice): just return if pl is empty.
3012 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3014 * ParagraphList.C (splice): new function.
3016 * CutAndPaste.C (pasteSelection): use it
3018 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3020 * CutAndPaste.C (pasteSelection): remove the last next and
3021 previous from this file.
3023 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3025 * CutAndPaste.C (pasteSelection): more clean up, user proper
3026 ParagraphList functions for pasteing.
3028 * ParagraphList.C (insert): new function, three arg insert
3030 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3032 * ParagraphList.C (insert): new function, three arg insert
3034 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3037 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3039 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3041 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3043 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3045 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3047 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3048 (copySelection): clean up a bit.
3049 (pasteSelection): use make_pair
3051 * ParagraphList.C (ParagraphList): implement copy constructor
3052 (operator=): implement, base on copy constructor.
3055 * paragraph.C (erase): return a bool
3057 * paragraph_pimpl.C (erasePos): remove function, move contents...
3058 (erase): ... here. Return a bool.
3059 (erase): call erase instead of erasePos.
3061 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3063 * ParagraphList.h: define PitPosPair
3064 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3065 ParagraphList, fix a bug on pasting multiple pars
3066 * text2.C: change interface to C&P
3068 2003-04-30 André Pönitz <poenitz@gmx.net>
3070 * undo_func.C: revert part of yesterday's patch 2
3072 2003-04-30 John Levon <levon@movementarian.org>
3074 * LColor.C: s/tabular/table/
3076 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3078 * text3.C (dispatch): do not convert iterator -> pointer
3079 * undo_funcs.C (setCursorParUndo): ditto
3080 * text_funcs.C (transposeChars): ditto
3082 * text2.C (setLayout): ws changes only
3084 * text.C (breakParagraph): do not convert iterator -> pointer
3086 (acceptChange): ditto
3087 (rejectChange): ditto
3092 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3095 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3097 * text3.C (gotoInset): YABG (yet another bad getChar)
3099 2003-04-29 André Pönitz <poenitz@gmx.net>
3101 * paragraph.h: make operator= private unimplemented as long as
3104 * ParagraphList.C: whitespace
3107 * paragraph_pimpl.[Ch]:
3108 * paragraph_funcs.C:
3110 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3113 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3115 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3117 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3118 * paragraph.[Ch] (erase):
3119 * paragraph_pimpl.[Ch] (erase): change return type and value
3120 * text2.C (cutSelection): some rework
3122 2003-04-28 John Levon <levon@movementarian.org>
3124 * bufferlist.C: changes for unsaved changes dialog
3126 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3128 * bufferlist.C (newFile): set language (messages_) for new
3131 * buffer.C (readFile): ws changes only.
3133 2003-04-28 André Pönitz <poenitz@gmx.net>
3138 * BufferView_pimpl.C:
3139 * BufferView.C: getParFromID related ParagraphList::iterator changes
3141 2003-04-28 André Pönitz <poenitz@gmx.net>
3143 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3146 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3148 * messages.C: remove one more localedir class variable.
3150 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3152 * messages.C (getLocaleDir): singleton generation function
3154 (Messages): add a default constructor.
3156 * main.C (main): do not setup localedir here, do not call
3159 * gettext.C (_): use it.
3160 (gettext_init): delete funciton
3162 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3164 * gettext.C (getLyXMessages): new singleton generating function.
3166 * buffer.C (updateDocLang): adjust
3168 * Makefile.am (messages.o): add target
3169 (main.o): remove target
3171 2003-04-27 John Levon <levon@movementarian.org>
3176 * lyxvc.C: specify cancel button in Alert::prompt
3178 2003-04-26 John Levon <levon@movementarian.org>
3183 * LyXAction.C: add LFUN_INSET_SETTINGS
3185 * lyxfunc.C: don't enable tabular-feature when there's
3186 just any locking inset
3188 2003-04-26 John Levon <levon@movementarian.org>
3190 * bufferlist.C: re-add Cancel to buffer close question
3192 * lyxfunc.C: fix import UI a bit
3194 2003-04-25 John Levon <levon@movementarian.org>
3196 * gettext.C: remove the broken asserts for now
3198 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3200 * messages.C: make case where setlocale cannot comply work better.
3202 * buffer.C (updateDocLang): new function
3203 (changeLanguage): use it
3206 * text2.C (setCounter): use B_ a bit.
3208 * lyxlayout.C (Read): be sure to trim the label strings.
3210 * messages.C (Messages): fix typo in comment
3212 * buffer.C (readFile): set message_ after file is loaded.
3213 (makeDocBookFile): remove double return
3214 (changeLanguage): reset message_ upon language change.
3215 (B_): new func, use this to get translated buffer strings.
3217 * main.C: add myself and Jean Marc as authors.
3219 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3221 * messages.[hC]: pimplify Messages, and three different pimpls to be
3222 used in different circumstances.
3224 * gettext.[Ch]: change for use with new message code.
3226 2003-04-24 André Pönitz <poenitz@gmx.net>
3228 * factory.C: support for eqref
3230 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3232 * messages.[Ch]: add missing char
3234 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3236 * messages.[Ch]: New files
3238 2003-04-18 John Levon <levon@movementarian.org>
3242 * BufferView_pimpl.C:
3246 * text2.C: remove layout-copy/paste (bug 778)
3248 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3250 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3252 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3254 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3255 if they succeed. Act accordingly.
3257 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3259 * text2.C (setCharFont): adjust
3260 (setCounter): adjust
3261 (insertStringAsLines): adjust
3263 * text.C (leftMargin): adjust
3264 (setHeightOfRow): adjust
3266 * rowpainter.C (paintFirst): adjust
3269 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3271 (isFirstInSequence): ditto
3272 (getEndLabel): ditto
3275 * paragraph.C (getParLanguage): comment out some hard stuff.
3277 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3279 (simpleDocBookOnePar): ditto
3280 (makeDocBookFile): use ParagraphList::iterator
3282 * CutAndPaste.C (pasteSelection): adjust
3284 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3286 * text2.C (getFont): adjust
3287 (getLayoutFont): adjust
3288 (getLabelFont): adjust
3290 * paragraph_funcs.C (TeXOnePar): adjust
3292 * buffer.C (simpleLinuxDocOnePar): adjust
3293 (simpleDocBookOnePar): adjust
3295 * CutAndPaste.C (pasteSelection): adjust
3297 * BufferView.C (getEncoding): adjust
3299 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3301 2003-04-16 John Levon <levon@movementarian.org>
3303 * lyxfind.C: use parlist stuff for search/changes
3305 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3307 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3309 * text2.C (deleteEmptyParagraphMechanism): adjust
3311 * text2.[Ch] (ownerParagraph): delete func (both of them
3313 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3315 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3317 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3319 * ParagraphList.C: prepare for NO_NEXT
3321 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3323 * text2.C (getFont): adjust
3324 (getLayoutFont): adjust
3325 (getLabelFont): adjust
3327 * paragraph.C (getFont): adjust
3328 (getLabelFont): adjust
3329 (getLayoutFont): adjust
3331 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3333 2003-04-15 John Levon <levon@movementarian.org>
3337 * lyx_main.C: handle Include in .ui files
3339 2003-04-15 John Levon <levon@movementarian.org>
3341 * MenuBackend.C: make the doc files length shorter
3344 * ToolbarBackend.C: handle toolbar placement flags,
3347 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3349 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3352 * paragraph_funcs.C (TeXOnePar): adjust
3354 * paragraph.C (getLabelFont): add outerfont arg, adjust
3355 (getLayoutFont): ditto
3356 (simpleTeXOnePar): adjust
3358 * paragraph_pimpl.C (realizeFont): delete func
3360 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3362 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3363 row argument, constify cur argument.
3365 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3367 * text2.C (getFont): adjust
3368 (getLayoutFont): adjust
3369 (getLabelFont): adjust
3371 * paragraph_funcs.C (TeXOnePar): adjust
3372 (outerFont): new func...
3373 (realizeFont): ...moved out from here, changed this to facilitate
3376 * paragraph.C (getFont): take outerfont as arg, adjust
3377 (simpleTeXOnePar): add outerfont arg, adjust
3379 * buffer.C (simpleLinuxDocOnePar): adjust
3380 (simpleDocBookOnePar): adjust
3382 * CutAndPaste.C (pasteSelection): adjust
3384 * BufferView.C (getEncoding): adjust
3386 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3388 * text2.C (setCharFont): adjust
3389 (setCounter): adjust
3391 * text.C (leftMargin): adjust
3392 (setHeightOfRow): adjust
3394 * rowpainter.C (paintFirst): adjust
3397 * paragraph_pimpl.C (realizeFont): adjust
3399 * paragraph.C (isFirstInSequence): move from here...
3400 * paragraph_funcs.C (isFirstInSequence): ...to here
3402 * paragraph.C (outerHook): move from here...
3403 * paragraph_funcs.C (outerHook): ...to here
3405 * paragraph.C (depthHook): move from here...
3406 * paragraph_funcs.C (depthHook): ...to here
3408 * paragraph.C (getEndLabel): move from here...
3409 * paragraph_funcs.C (getEndLabel): ...to here
3411 * text2.C (realizeFont): move from here...
3412 * paragraph_funcs.C (realizeFont): ...to here
3414 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3416 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3418 2003-04-14 Angus Leeming <leeming@lyx.org>
3420 * LColor.[Ch]: scrap LColor mathcursor.
3422 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3424 * lyxlex.[Ch] (text): delete function
3425 * trans.C (Load): adjust
3426 * paragraph_funcs.C (readParToken): adjust
3428 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3430 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3431 vector<char> instead of a char[].
3433 * lyxlex_pimpl.C (getString): adjust
3435 (lex): use getString
3439 * lyxlex.C (text): use pimpl_->getString()
3443 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3445 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3446 (makeFontEntriesLayoutSpecific): temp var for par.size()
3447 (setLayout): temp var for ownerParagraphs().end()
3448 (fullRebreak): temp var for rows().end()
3449 (selectionAsString): temp var for boost::next(startpit), realize
3450 that the while really is a regular for loop.
3451 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3452 setCursor in one place.
3453 (setParagraph): temp vr for ownerParagraphs().end()
3454 (updateCounters): make the while loop a for loop
3455 (cutSelection): temp var for ownerParagraphs().end()
3456 (updateInset): make the do {} while() a regular for loop
3457 (getCursorX): use temp vars
3458 (setCurrentFont): use temp vars
3459 (getColumnNearX): use temp vars
3461 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3463 * text.C (transformChar): use temp var for getChar
3464 (computeBidiTables): use temp var for row->par()
3465 (fill): move temp vars for row->par() and pit->layout() earlier in
3467 (labelFill): use temp var for row->par()
3468 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3469 asc and desc, realize that pit never changes and that firstpit is
3470 just a duplicate and not needed. Exchange rit->par() with pit in a
3472 (breakAgain): use a temp var for boost::next(rit)
3473 (breakAgainOneRow): ditto
3474 (breakParagraph): use a temp var for rows().begin()
3475 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3476 (cursorRightOneWord): use temp var for cursor.par() and
3477 cursor.pos(), remove usage of tmpcursor.
3478 (cursorLeftOneWord): use temp var for cursor.par() and
3479 cursor.pos() only set cur at end of function.
3481 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3483 * text.C, text2.C: exchange all usage of Paragraph::next with
3484 boost::next(ParagraphList::iterator)
3486 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3488 * text2.C (cursorTop): simplify implementation
3489 (cursorBottom): ditto
3490 (setParagraph): use ParagraphList::iterator
3491 (setCurrentFont): adjust
3492 (getColumnNearX): adjust
3493 (cursorRight): adjust
3494 (cursorLeft): remove usage of Paragraph::previous
3495 (cursorUpParagraph): ditto
3496 (deleteEmptyParagraphMechanism): slight cleanup
3498 * text.C (isBoundary): take a Paragraph const & instead of a
3500 (addressBreakPoint): ditto
3501 (leftMargin): remove usage of Paragraph::previous.
3502 (setHeightOfRow): ditto
3503 (cursorLeftOneWord): ditto
3504 (selectNextWordToSpellcheck): ditto
3507 (breakParagraph): remove one usage of Paragraph::next
3508 (redoParagraph): ditto
3509 (acceptChange): ditto
3510 (insertChar): adjust
3511 (rowBreakPoint): adjust
3513 * bufferview_funcs.C (toggleAndShow): adjust
3515 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3517 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3518 methods to access it.
3520 * text.C: Added updateRowPositions to compute all row positions.
3521 Make top_y and getRowNearY() to use the cached y position
3523 2003-04-11 John Levon <levon@movementarian.org>
3525 * text.C (rowBreakPoint): reintroduce the labelEnd
3526 checks, code copied from the row fill stuff. Deep voodoo.
3528 * text.C (fill): add a comment and debugging for the
3531 2003-04-11 John Levon <levon@movementarian.org>
3533 * text.C: make sure fullrow insets get wrapped to the next line,
3534 even when they're in a manual label
3536 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3538 * text2.C (insertParagraph): make it take ParagraphList::iterator
3540 (setLayout): make it return ParagraphList::iterator
3541 (redoParagraphs): ditto
3543 (checkParagraph): ditto
3545 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3547 * text2.C: adjust several funcs.
3548 (realizeFont): take a ParagraphList::iterator as arg.
3549 (getLayoutFont): ditto
3550 (getLabelFont): ditto
3551 (setCharFont): ditto
3553 * text.C: adjust several funcs.
3555 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3557 * text.C (selectNextWordToSpellcheck): don't accidentally
3560 2003-04-10 John Levon <levon@movementarian.org>
3562 * ToolbarBackend.C (getIcon): special handling for
3565 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3567 * text2.C (cursorRight): a getChar assert fixed
3569 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3571 * text2.C (getFont): change to take a ParagraphList::iterator
3572 instead of Paragraph*
3573 Adjust several functions.
3575 * text.C (transformChar): change to take a ParagraphList::iterator
3576 instead of Paragraph*
3577 (singleWidth): ditto
3578 Adjust several functions.
3580 * rowpainter.C: adjust several functions
3581 * rowpainter.h:store a ParagraphList::iterator and not a
3585 2003-04-09 John Levon <levon@movementarian.org>
3590 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3591 and the "help" bits as well
3593 2003-04-09 John Levon <levon@movementarian.org>
3596 * ToolbarBackend.C: allow multiple toolbars
3598 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3600 * undo_funcs.C (setCursorParUndo): adjust
3602 * text_funcs.C (transposeChars): adjust
3604 * text3.C (gotoNextInset): adjust
3607 * text2.C (setLayout): adjust
3608 (changeDepth): adjust
3610 (redoParagraphs): adjust
3611 (selectionAsString): adjust
3612 (setParagraph): adjust
3613 (insertInset): adjust
3614 (cutSelection): adjust
3615 (copySelection): adjust
3616 (pasteSelection): adjust
3617 (insertStringAsLines): adjust
3618 (updateInset): adjust
3619 (setCursor): change to take a ParagraphList::iterator parameter
3620 (setCursorIntern): change to take a ParagraphList::iterator parameter
3621 (setCurrentFont): adjust
3622 (cursorLeft): adjust
3623 (cursorRight): adjust
3624 (deleteEmptyParagraphMechanism): adjust
3626 * text.C (breakParagraph): adjust
3627 (insertChar): adjust
3628 (acceptChange): adjust
3629 (rejectChange): adjust
3630 (selectNextWordToSpellcheck): adjust
3631 (changeCase): adjust
3635 * lyxfind.C (SearchForward): adjust
3636 (SearchBackward): adjust
3637 (nextChange): adjust
3639 * lyxcursor.C (par): adjust
3641 * lyxcursor.h: store a ParagraphList::iterator instead of a
3644 * lyx_cb.C (getPossibleLabel): adjust
3646 * bufferview_funcs.C (toggleAndShow): adjust
3648 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3651 * BufferView.C (removeAutoInsets): adjust
3652 (lockedInsetStoreUndo): adjust
3654 2003-04-09 John Levon <levon@movementarian.org>
3656 * ToolbarBackend.C: try icon without argument
3657 if with argument fails
3659 2003-04-08 John Levon <levon@movementarian.org>
3662 * ToolbarBackend.C: add getIcon(), handle tooltip,
3663 and change from "Icon" to "Item".
3665 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3667 * BufferView.C (lockInset): another bad getchar crunched
3669 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3671 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3674 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3676 * lyxfind.C (searchForward, searchBackwards): bug 782
3678 2003-04-07 John Levon <levon@movementarian.org>
3680 * paragraph.C: remove dead comment
3682 * text.C: remove troublesome depth-fiddling code
3683 in leftMargin() and rightMargin() (bug 1017)
3685 * text.C: fix breaking of rows in nested lists
3688 * text2.C (updateCounters): fix up depth values
3691 2003-04-07 John Levon <levon@movementarian.org>
3693 * BufferView_pimpl.C: clear message when doc finishes resizing,
3694 and after a mouse event
3696 * lyxfunc.C: clear message after exiting inset
3698 2003-04-07 John Levon <levon@movementarian.org>
3700 * bufferview_funcs.C: show math status not outside
3701 status in the statusbar
3703 2003-04-07 John Levon <levon@movementarian.org>
3705 * lyxfunc.C: note status changed after a depth change
3707 2003-04-04 Angus Leeming <leeming@lyx.org>
3709 * LaTeX.h: move AuxInfo operator==, != out of line.
3710 Remove LaTeX virtual destructor; nothing derives from it.
3711 Move operator()() out of public area and rename it startscript().
3712 Change protected for private.
3714 2003-04-04 Angus Leeming <leeming@lyx.org>
3717 * text2.C: remove unneeded #includes.
3719 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3721 * text2.C (dEPM): fix the heigth of the next row
3723 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3725 * text.C: squashed an invalid getChar requester + some ws changes
3727 2003-04-03 John Levon <levon@movementarian.org>
3729 * bufferview_funcs.h:
3730 * bufferview_funcs.C:
3733 * text2.C: make getStatus work for the env depth lfuns
3735 2003-04-03 John Levon <levon@movementarian.org>
3737 * bufferview_funcs.h:
3738 * bufferview_funcs.C:
3741 * text2.C: parlistize decDepth(), by merging it with incDepth()
3743 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3745 * lyxrow.h: store a ParagraphList::iterator instead of a
3746 Paragraph* and adjust other class functions to suit.
3748 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3751 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3753 * text2.C (setCursor): do not anchor to cursor row for the time being
3755 2003-04-02 John Levon <levon@movementarian.org>
3762 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3764 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3766 * paragraph.h: make ParagraphList and ParagraphList::iterator
3767 friends of Paragraph.
3769 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3771 * ParagraphList.C: Use the private next_ and previous_ from
3774 2003-04-01 John Levon <levon@movementarian.org>
3778 * Makefile.am: rename, remove defaults gunk
3781 * MenuBackend.C: remove defaults gunk
3784 * Languages.C: remove defaults gunk
3787 * lyx_main.C: error out if files couldn't be found.
3789 2003-04-02 John Levon <levon@movementarian.org>
3791 * text2.C: make incDepth() use parlist
3793 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3795 * undo_funcs.C (firstUndoParagraph): adjust
3797 * text3.C (gotoInset): adjust
3798 (dispatch): adjust, and rewrite loop.
3800 * text2.C (init): adjust, and rewrite loop.
3801 (redoParagraphs): adjust
3802 (updateInset): adjust, and rewrite loop.
3803 (deleteEmptyParagraphMechanism): adjust
3805 * tabular.C (LyXTabular): adjust
3806 (SetMultiColumn): adjust
3809 * lyxtext.[Ch] (ownerParagraph): delete function
3810 (ownerParagraphs): new function returns a ParagraphList.
3812 * BufferView.C (removeAutoInsets): adjust
3813 (insertErrors): adjust
3814 (setCursorFromRow): adjust
3816 2003-04-01 Angus Leeming <leeming@lyx.org>
3818 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3821 2003-04-02 John Levon <levon@movementarian.org>
3827 * text_funcs.C: make transposeChars a free function
3829 * lyxrow_funcs.C: remove wrong comment
3831 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3834 * rowpainter.C: adjust
3839 * lyxrow_funcs. [Ch]: new files
3841 * lyxrow.[Ch]: remove next and previous pointers
3842 (next,previous): remove accessor functions
3843 (isParEnd): move to lyxrow_funcs
3844 (lastPos): move to lyxrow_funcs
3845 (nextRowIsAllInset): move to lyxrow_funcs
3846 (lastPrintablePos): move to lyxrow_funcs
3847 (numberOfSeparators): move to lyxrow_funcs
3848 (numberOfHfills): move to lyxrow_funcs
3849 (numberOfLabelHfills): move to lyxrow_funcs
3850 (hfillExpansion): move to lyxrow_funcs
3854 * bufferview_funcs.C (toggleAndShow): adjust
3856 * RowList.h: Remove class RowList from file leave just a
3859 * RowList.C: delete file
3861 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3864 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3866 * text3.C (cursorPrevious): adjust
3867 (cursorNext): adjust
3870 * text2.C (redoHeightOfParagraph): adjust
3871 (redoDrawingOfParagraph): adjust
3874 * text.C (breakParagraph): adjust
3875 (insertChar): adjust
3878 * rowpainter.C (RowPainter): adjust
3879 (leftMargin): simplify and adjust
3880 (most rowpainter functions): adjust.
3882 * rowpainter.h: store the row as RowList::iterator not as Row*
3884 * lyxcursor.C (row): taka RowList::iterator as arg
3887 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3890 2003-04-01 Angus Leeming <leeming@lyx.org>
3892 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3893 stuff like bool Bool.
3895 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3897 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3900 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3902 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3905 * lyxtext.h (rows): drop one version and leve a const variant that
3906 returns a RowList::iterator.
3908 2003-03-31 Angus Leeming <leeming@lyx.org>
3910 * text.C (fill): ensure that the signature is the same as that in the
3913 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3915 * text2.C (redoParagraphs): adjust
3916 (updateCounters): adjust
3917 (checkParagraph): adjust
3918 (getColumnNearX): adjust and reformat a bit.
3920 * text.C (top_y): adjust
3922 (leftMargin): adjust
3923 (prepareToPrint): adjust
3925 (getRowNearY): adjust
3927 * lyxtext.h: make rowlist_ mutable.
3929 * RowList.h: add const_iterator
3930 * RowList.C: adjust for RowList::const_iterator.
3932 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3935 2003-03-31 John Levon <levon@movementarian.org>
3938 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3940 * lyx_main.C: set default fonts from using lyx_gui funcs
3942 * exporter.C: pdf_mode moved from lyxrc
3945 * lyxfunc.C: changes from above
3947 2003-03-31 John Levon <levon@movementarian.org>
3949 * lyx_main.C: fix to the last fix
3951 2003-03-31 John Levon <levon@movementarian.org>
3953 * bufferlist.C: "Load original" -> "Load Original"
3959 * format.C: more Alert cleanups
3961 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3963 * text2.C (removeParagraph): make it take a RowList::iterator as
3965 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3966 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3968 * text.C (anchor_row): make it take a RowList::iterator as arg,
3970 (computeBidiTables): make it take a const reference to Row instead
3971 of Row pointer, adjust.
3972 (leftMargin): make it take a RowList::iterator as arg, adjust.
3973 (rowBreakPoint): adjust
3974 (breakAgainOneRow): make it take a RowList::iterator as arg,
3976 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3978 * bufferview_funcs.C (toggleAndShow): adjust
3980 2003-03-30 John Levon <levon@movementarian.org>
3984 * boost-inst.C: moved to support
3986 * several files: changes as a result
3988 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3990 * text2.C (LyXText): adjust.
3992 (removeRow): make it take a RowList::iterator as arg, adjust.
3993 (fullRebreak): adjust
3994 (deleteEmptyParagraphMechanism): adjust
3995 (clearPaint): adjust
3998 * text.C (top_y): adjust
3999 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4000 (breakAgain): make it take a RowList::iterator as arg, adjust.
4001 (breakParagraph): adjust
4002 (insertChar): adjust
4005 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4006 need_break_row, and refresh_row.
4008 * text3.C (dispatch): adjust
4010 * text2.C (checkParagraph): adjust
4012 (setCursorFromCoordinates): adjust
4014 * text.C (top_y): adjust
4016 (getRow): make it return a RowList::iterator, adjust
4017 (getRowNearY): make it return a RowList::iterator, adjust
4019 * text2.C (init): adjust
4020 (insertRow): remove function
4021 (insertParagraph): adjust
4022 (redoParagraphs): adjust
4023 (fullRebreak): adjust
4024 (updateCounters): adjust
4026 * text.C (top_y): rewrite to use RowList iterators.
4028 (setHeightOfRow): rewrite to sue RowList iterators.
4029 (appendParagraph): adjust
4030 (breakAgain): adjust
4031 (breakAgainOneRow): adjust
4032 (breakParagraph): adjust
4034 (getRowNearY): adjust, and remove commented code.
4036 * lyxtext.h (firstRow): delete function
4037 (lastRow): delete function
4038 (rows): new function (const and non-const versions.)
4039 (insertRow): delete function
4041 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4043 2003-03-29 John Levon <levon@movementarian.org>
4045 * BufferView_pimpl.C: always update scrollbar top
4046 because pasting text when we're anchored could mean we
4047 miss an update altogether
4049 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4051 * text2.C (init): use rowlist_.end() and not 0.
4052 (insertRow): change to take a RowList::iterator as arg, adjust
4054 (insertParagraph): change to take a RowList::iterator as arg,
4056 (redoParagraphs): remove some debug msgs.
4058 * text.C (appendParagraph): change to take a RowList::iterator
4059 arg, adjust for this.
4060 (breakAgain): add an assert
4061 (breakAgainOneRow): ditto
4063 2003-03-29 John Levon <levon@movementarian.org>
4065 * text2.C: do not clear selection after inc/decDepth
4068 2003-03-29 John Levon <levon@movementarian.org>
4071 * buffer.C: fix broken strerrors according to Lars
4073 2003-03-29 John Levon <levon@movementarian.org>
4075 * converters.C: more Alert cleanups
4077 2003-03-29 John Levon <levon@movementarian.org>
4079 * bufferview_funcs.C: remove pointless Alert
4081 * buffer.C: fix confusing error message when
4082 a template is chmoded 000
4084 2003-03-29 John Levon <levon@movementarian.org>
4088 * BufferView_pimpl.C: Alert fixes
4092 * tabular-old.C: remove unused table compat reading
4094 2003-03-29 John Levon <levon@movementarian.org>
4099 * lyx_cb.C: more Alert cleanups
4101 * lyxfunc.C: don't allow chktex if not latex document
4103 2003-03-29 John Levon <levon@movementarian.org>
4107 * buffer.C: warnings pushed down from support/,
4110 2003-03-29 John Levon <levon@movementarian.org>
4112 * lyxfunc.C: safety check for C-r (revert)
4114 2003-03-29 John Levon <levon@movementarian.org>
4117 * bufferlist.C: several UI fixes using Alert::prompt.
4118 Fix the pointless looping quit code. Fix stupid revert
4123 * lyx_cb.C: use Alert::prompt
4125 * lyx_main.C: remove a silly question
4127 * lyxfunc.C: remove a couple of silly questions,
4130 2003-03-28 John Levon <levon@movementarian.org>
4132 * text2.C: fix bug 974 (End on empty par)
4134 2003-03-28 John Levon <levon@movementarian.org>
4136 * BufferView_pimpl.C:
4138 * lfuns.h: remove do-nothing math greek lfuns
4140 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4142 * lyxgluelength.h (isValidGlueLength): add default arg on
4143 parameter 2. Remove default arg from friend in class.
4145 * lyxlength.h (isValidLength): add default arg on parameter 2.
4146 Remove default arg from friend in class.
4148 * text2.C (LyXText): adjust, initialize refresh_row.
4152 (insertParagraph): adjst
4153 (redoParagraphs): adjust
4154 (fullRebreak): adjust
4155 (updateCounters): adjust
4156 (deleteEmptyParagraphMechanism): first attempt at fixing a
4159 * text.C (top_y): adjust
4160 (setHeightOfRow): adjust
4162 (getRowNearY): adjust
4164 * lyxtext.h: include RowList.h
4165 (~LyXText): not needed anymore, deleted.
4166 (firstRow): modify for RowList
4167 (lastRow): new function
4168 Delete firstrow and lastrow class variables, add a Rowlist
4169 rowlist_ class variable.
4171 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4174 * RowList.C (insert): fix case where it == begin().
4176 2003-03-26 Angus Leeming <leeming@lyx.org>
4178 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4179 the thesaurus dialog.
4181 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4183 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4185 * RowList.[Ch]: new files
4187 * ParagraphList.C (erase): handle the case where it == begin
4190 2003-03-25 John Levon <levon@movementarian.org>
4194 * aspell.C: add new aspell support
4197 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4200 2003-03-25 Angus Leeming <leeming@lyx.org>
4203 * LyXAction.C (init): new LFUN_INSET_INSERT.
4205 * BufferView_pimpl.C (dispatch): split out part of the
4206 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4208 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4211 2003-03-25 Angus Leeming <leeming@lyx.org>
4213 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4215 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4218 * text3.C: remove useless row->height(0)
4220 2003-03-25 John Levon <levon@movementarian.org>
4224 * text3.C: rename the refreshing stuff to better names
4226 2003-03-24 John Levon <levon@movementarian.org>
4228 * BufferView_pimpl.h:
4229 * BufferView_pimpl.C: update layout choice on a mouse
4232 2003-03-23 John Levon <levon@movementarian.org>
4234 * Makefile.am: fix commandtags.h reference
4236 2003-03-22 John Levon <levon@movementarian.org>
4238 * BufferView_pimpl.C:
4243 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4245 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4248 * text.C: take the rtl methods out of line
4250 2003-03-21 André Pönitz <poenitz@gmx.net>
4252 * metricsinfo.[Ch]: new files containing structures to be passed around
4253 during the two-phase-drawing...
4255 2003-03-21 André Pönitz <poenitz@gmx.net>
4257 * lyxtextclass.C: read 'environment' tag.
4259 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4261 * text2.C (removeRow): fix bug 964
4263 2003-03-20 John Levon <levon@movementarian.org>
4267 * text2.C: paint cleanups. Inset::update() dropped font
4270 2003-03-19 John Levon <levon@movementarian.org>
4272 * lyxfunc.C: only fitcursor/markDirty if available()
4274 2003-03-19 John Levon <levon@movementarian.org>
4276 * commandtags.h: rename to ...
4278 * lfuns.h: ... this, and renumber / cleanup
4280 2003-03-19 John Levon <levon@movementarian.org>
4282 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4283 fit the cursor after an lfun
4287 * BufferView_pimpl.h:
4288 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4290 * LyXAction.C: layout-character should have ReadOnly
4292 * ParagraphParameters.C:
4294 * bufferview_funcs.C:
4301 * undo_funcs.C: changes from above
4303 2003-03-18 John Levon <levon@movementarian.org>
4305 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4306 remove it from update()
4308 * lyxfunc.C: update layout choice after an lfun
4310 * text3.C: remove extra updateLayoutChoice()s
4312 2003-03-18 John Levon <levon@movementarian.org>
4314 * text.C: top_y change means full repaint, fix
4315 a drawing bug with cursor movement
4317 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4321 * text2.C: anchor row on setCursor
4323 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4325 * lyxtext.h: remove almost all mutable keywords
4328 * text3.C: remove const keywords accordingly
4330 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4332 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4334 (TeXEnvironment): ditto
4337 2003-03-17 John Levon <levon@movementarian.org>
4339 * text.C (rowBreakPoint): remove attempt to fix displayed
4340 math insets inside a manual label
4342 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4344 * lyxtext.h: remove BufferView* as first arg from almost all class
4346 * other files: adjust.
4348 2003-03-17 John Levon <levon@movementarian.org>
4352 * text2.C: more paint cleanups
4354 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4357 * rowpainter.C: remove "smart" background painting code
4359 2003-03-16 John Levon <levon@movementarian.org>
4364 * text3.C: add helper functions for setting refresh_row/y
4366 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4368 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4369 newline inset which *can* get inserted in the pass_thru layouts.
4370 This is primarily for literate documents.
4372 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4374 * buffer.C: increment LYX_FORMAT to 223
4376 2003-03-14 André Pönitz <poenitz@gmx.net>
4378 * textclass.h: prepare for environment handling, ws changes
4379 * lyxlayout.C: read latexheader and latexfooter tags
4381 2003-03-14 John Levon <levon@movementarian.org>
4383 * text2.C: rewrite ::status() a bit
4385 2003-03-13 John Levon <levon@movementarian.org>
4387 * lyxtext.h: add some docs
4389 2003-03-13 John Levon <levon@movementarian.org>
4394 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4396 2003-03-13 John Levon <levon@movementarian.org>
4398 * text3.C: fix appendix redrawing
4400 2003-03-13 John Levon <levon@movementarian.org>
4402 * text.C (setHeightOfRow):
4404 * rowpainter.C: make appendix mark have the text
4405 "Appendix" so the user knows what it is
4408 * LColor.C: s/appendixline/appendix/ from above
4410 2003-03-13 John Levon <levon@movementarian.org>
4412 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4414 * text.C: fix a getChar(pos) bug properly
4416 2003-03-13 Angus Leeming <leeming@lyx.org>
4419 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4420 Probably only temporary. Let's see how things pan out.
4422 * BufferView.C (unlockInset):
4423 * BufferView_pimpl.C (fitCursor):
4424 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4426 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4427 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4429 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4430 new functions that convert ParagraphParameters to and from a string.
4432 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4433 BufferView::Pimpl's dispatch.
4434 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4436 2003-03-13 André Pönitz <poenitz@gmx.net>
4440 * factory.C: make it aware of InsetEnv
4442 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4444 * text2.C (setCursor): never ask for one past last
4445 (setCursor): add some debugging messages.
4447 * text.C (singleWidth): never ask for one past last
4448 (singleWidth): ditto
4450 (rightMargin): ditto
4451 (rowBreakPoint): ditto
4452 (setHeightOfRow): ditto
4453 (prepareToPrint): ditto
4455 * rowpainter.C (paintBackground): never ask for one past last
4456 (paintText): never ask for one past last
4458 * paragraph_pimpl.C (getChar): make the assert stricter, never
4459 allow the one past last pos to be taken
4461 * paragraph.C (getChar): ws changes only
4463 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4464 (numberOfSeparators): ditto
4465 (numberOfHfills): ditto
4467 2003-03-12 John Levon <levon@movementarian.org>
4473 * paragraph_funcs.C: fix per-buffer authorlists
4475 2003-03-12 John Levon <levon@movementarian.org>
4477 * text.C: fix newline in right address
4479 2003-03-12 Angus Leeming <leeming@lyx.org>
4481 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4482 duplicate those in LyXFunc::dispatch.
4486 * ToolbarDefaults.C:
4487 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4488 Add LFUN_FONTFREE_UPDATE.
4490 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4491 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4493 * bufferview_func.[Ch]: several new functions to facilliate
4494 transfer of data to and from the character dialog.
4496 2003-03-12 John Levon <levon@movementarian.org>
4501 * paragraph_funcs.C:
4502 * paragraph_pimpl.C:
4506 * text3.C: remove META_NEWLINE in favour of an inset
4509 * rowpainter.C: remove paintNewline (done by inset)
4511 2003-03-12 John Levon <levon@movementarian.org>
4513 * paragraph_pimpl.C: complain about bad getChar()s
4514 for a while at least
4516 2003-03-12 John Levon <levon@movementarian.org>
4519 * buffer.C: move paragraph read into a separate function,
4520 a little renaming to reflect that.
4523 * bufferparams.C: remove the author_ids map, not necessary now
4526 * factory.C: moved Buffer::readInset to here
4528 * paragraph_funcs.h:
4529 * paragraph_funcs.C: readParagraph free function moved from
4532 * tabular.C: name change
4534 2003-03-12 John Levon <levon@movementarian.org>
4537 * ParagraphParameters.C: move par params input to
4540 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4541 behave like a normal read from the stream wrt reading
4542 a line vs. a \\token
4544 2003-03-12 John Levon <levon@movementarian.org>
4547 * ParagraphParameters.h:
4548 * ParagraphParameters.C: move output code to a
4551 2003-03-12 John Levon <levon@movementarian.org>
4553 * BufferView.C (insertLyXFile):
4556 * tabular.C: use a parlist iterator for creating the
4559 2003-03-12 John Levon <levon@movementarian.org>
4561 * buffer.C: make current_change static local not
4564 2003-03-12 John Levon <levon@movementarian.org>
4566 * buffer.C: fix insertStringAsLines for change tracking
4568 2003-03-12 John Levon <levon@movementarian.org>
4575 * bufferparams.C: move author list into params. Rename some
4576 functions. Move the header reading into a separate token
4577 loop. Move the header token reading into BufferParams.
4579 2003-03-12 John Levon <levon@movementarian.org>
4581 * changes.C: put debug inside lyxerr.debugging() checks
4583 2003-03-11 André Pönitz <poenitz@gmx.net>
4585 * factory.C: make it aware of InsetHFill
4587 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4589 * buffer.C (latexParagraphs): move function from here...
4590 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4593 2003-03-10 Angus Leeming <leeming@lyx.org>
4595 * LyXAction.C (init): fix bug in poplating array with multiple entries
4596 with the same LFUN (spotted by JMarc).
4598 2003-03-10 John Levon <levon@movementarian.org>
4601 * text2.C: move getColumnNearX() near its
4604 2003-03-10 John Levon <levon@movementarian.org>
4606 * text.C: fix break before a minipage
4608 2003-03-10 John Levon <levon@movementarian.org>
4610 * text.C: fix the last commit
4612 2003-03-09 John Levon <levon@movementarian.org>
4616 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4617 bug 365 (don't break before insets unless needed). Don't
4618 return a value > last under any circumstances.
4620 2003-03-09 Angus Leeming <leeming@lyx.org>
4622 * BufferView_pimpl.C (trackChanges, dispatch): call
4623 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4625 2003-03-09 Angus Leeming <leeming@lyx.org>
4627 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4628 than Dialogs::showAboutlyx().
4630 2003-03-09 Angus Leeming <leeming@lyx.org>
4632 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4633 than Dialogs::showTabularCreate().
4635 2003-03-09 John Levon <levon@movementarian.org>
4639 * text2.C: 3rd arg to nextBreakPoint was always the same.
4642 2003-03-08 John Levon <levon@movementarian.org>
4649 * text2.C: Remove the "main" bit from the "main body"
4652 2003-03-08 John Levon <levon@movementarian.org>
4654 * text.C (leftMargin): The left margin of an empty
4655 manual label paragraph should not include the label width
4658 * text.C (prepareToPrint): don't attempt to measure hfills
4659 for empty manual label paragraphs - the answer should be 0
4661 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4663 * CutAndPaste.C: remove commented code and reindent.
4665 2003-03-08 John Levon <levon@movementarian.org>
4668 * lyxfunc.C: move reloadBuffer()
4671 * BufferView.C: to here
4673 * lyxvc.C: add comment
4676 * vc-backend.C: call bv->reload() to avoid
4677 getStatus() check on MENURELOAD
4679 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4681 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4682 to an old format .dep file.
4684 2003-03-07 Angus Leeming <leeming@lyx.org>
4686 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4687 when the LFUN_MOUSE_RELEASE should have been handled by
4688 inset->localDispatch.
4690 2003-03-07 Angus Leeming <leeming@lyx.org>
4692 * BufferView_pimpl.C (dispatch):
4693 * LyXAction.C (init):
4694 * ToolbarDefaults.C (init):
4696 * lyxfunc.C (getStatus):
4697 remove LFUN_INSET_GRAPHICS.
4699 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4701 2003-03-07 Angus Leeming <leeming@lyx.org>
4704 * LyXAction.C (init):
4705 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4707 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4710 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4712 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4713 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4715 2003-03-07 Angus Leeming <leeming@lyx.org>
4717 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4720 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4722 * ParagraphList.C (front): new function
4725 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4727 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4728 and top_row_offset_. removed var first_y.
4730 * text2.C (LyXText, removeRow):
4732 * BufferView_pimpl.C:
4733 use these methods instead of using first_y
4735 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4737 * text2.C (pasteSelection): adjust for checkPastePossible
4739 * CutAndPaste.C: remove Paragraph * buf and replace with
4740 ParagraphList paragraphs.
4741 (DeleteBuffer): delete
4742 (cutSelection): change the tc type to textclass_type
4743 (copySelection): change the tc type to textclass_type
4744 (copySelection): adjust for ParagraphList
4745 (pasteSelection): change the tc type to textclass_type
4746 (pasteSelection): adjust for Paragraphlist
4747 (nrOfParagraphs): simplify for ParagraphList
4748 (checkPastePossible): simplify for ParagraphList
4749 (checkPastePossible): remove unused arg
4751 * ParagraphList.C (insert): handle the case where there are no
4754 * CutAndPaste.h: make CutAndPaste a namespace.
4756 * text3.C (dispatch): adjust
4758 * text.C (breakParagraph): add a ParagraphList as arg
4760 * paragraph_funcs.C (breakParagraph): change to take a
4761 BufferParams and a ParagraphList as args.
4762 (breakParagraphConservative): ditto
4763 (mergeParagraph): ditto
4764 (TeXDeeper): add a ParagraphList arg
4765 (TeXEnvironment): ditto
4768 * buffer.C (readLyXformat2): adjust
4769 (insertStringAsLines): adjust
4770 (latexParagraphs): adjust
4772 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4773 (cutSelection): adjust
4774 (pasteSelection): adjust
4776 * BufferView_pimpl.C (insertInset): adjust
4778 2003-03-05 Angus Leeming <leeming@lyx.org>
4781 * LyXAction.C (init):
4782 * BufferView_pimpl.C (dispatch):
4783 * lyxfunc.C (getStatus):
4784 remove LFUN_CHILD_INSERT.
4786 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4788 2003-03-05 Angus Leeming <leeming@lyx.org>
4791 * LyXAction.C (init):
4792 * src/factory.C (createInset):
4793 * lyxfunc.C (getStatus):
4794 * text3.C (dispatch):
4795 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4797 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4799 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4801 * ParagraphList.C (insert): handle insert right before end()
4802 (erase): fix cases where it can be first or last paragraph.
4804 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4806 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4807 Paragraph::next and Paragraph::previous
4810 * text.C (breakParagraph): adjust
4812 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4813 BufferParams& as arg.
4814 (breakParagraph): use ParagraphList::insert
4815 (breakParagraphConservative): take a Buffer* instead of a
4816 BufferParams& as arg.
4817 (breakParagraphConservative): use ParagraphList::insert.
4819 * buffer.C (insertStringAsLines): un-const it
4820 (insertStringAsLines): adjust
4822 * ParagraphList.C (insert): new function
4824 * CutAndPaste.C (pasteSelection): adjust
4826 * text.C (backspace): adjust
4828 * tabular.C (SetMultiColumn): adjust
4830 * CutAndPaste.C (cutSelection): adjust
4831 (pasteSelection): adjust
4833 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4834 Buffer const * as arg
4836 * ParagraphList.C (erase): new function
4837 * paragraph_funcs.C (mergeParagraph): use it
4838 (mergeParagraph): make it take a Buffer* instead of a
4839 BufferParams* as arg
4841 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4843 (breakParagraphConservative): ditto
4845 * paragraph.h: remove the breakParagraph friend
4847 * paragraph.C (eraseIntern): new function
4848 (setChange): new function
4850 * paragraph_funcs.C (mergeParagraph): make it take a
4851 ParagraphList::iterator instead of a Paragraph *, adjust
4854 * paragraph.h: move an #endif so that the change tracking stuff
4855 also works in the NO_NEXT case.
4857 2003-03-04 Angus Leeming <leeming@lyx.org>
4860 * LyXAction.C: new LFUN_INSET_MODIFY.
4862 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4863 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4865 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4867 * several files: ws changes only
4869 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4870 (TeXEnvironment): ditto
4873 * buffer.C (makeLaTeXFile): adjust
4874 (latexParagraphs): make it take ParagraphList::iterator as args
4876 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4878 * buffer.C (latexParagraphs): adjust
4880 * paragraph.C (TeXOnePar): move function...
4881 (optArgInset): move function...
4882 (TeXEnvironment): move function...
4883 * paragraph_pimpl.C (TeXDeeper): move function...
4884 * paragraph_funcs.C: ...here
4886 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4888 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4890 * buffer.C (readInset): remove compability code for old Figure and
4893 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4895 * buffer.C: ws changes
4898 * BufferView_pimpl.C: ditto
4901 * bufferlist.h: ditto
4905 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4907 * converter.[Ch]: split into itself +
4910 * Makefile.am: += graph.[Ch] + format.[Ch]
4917 * lyxrc.C: added #include "format.h"
4919 2003-02-27 Angus Leeming <leeming@lyx.org>
4921 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4924 * factory.C (createInset): add "label" to the factory.
4926 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4927 string and do no more.
4929 2003-02-27 Angus Leeming <leeming@lyx.org>
4932 * LyXAction.C (init):
4933 * factory.C (createInset):
4934 * BufferView_pimpl.C (dispatch):
4935 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4937 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4939 * lyxfunc.C (dispatch):
4940 * text3.C (dispatch): pass name to params2string.
4942 2003-02-26 Angus Leeming <leeming@lyx.org>
4944 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4946 Rearrange the ~includes. Strip out the unnecessary ones.
4948 * factory.C (createInset): reformat.
4949 create new insets for the various LFUN_XYZ_APPLY lfuns.
4951 2003-02-26 John Levon <levon@movementarian.org>
4954 * lyxrow.C: add isParStart,isParEnd helpers
4956 * paragraph.h: make isInserted/DeletedText take refs
4958 * paragraph_funcs.h:
4959 * paragraph_funcs.C: remove #if 0'd code
4964 * text.C: use lyxrow helpers above.
4965 Move draw and paint routines to RowPainter.
4966 Make several methods use refs not pointers.
4967 Make backgroundColor() const.
4968 Add markChangeInDraw(), isInInset().
4969 Merge changeRegionCase into changeCase.
4970 Make workWidth() shouldn't-happen code into an Assert.
4973 * rowpainter.C: new class for painting a row.
4976 * vspace.C: make inPixels take a ref
4978 2003-02-26 Angus Leeming <leeming@lyx.org>
4980 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4983 2003-02-25 John Levon <levon@movementarian.org>
4985 * ispell.C: give the forked command a more accurate name
4987 2003-02-22 John Levon <levon@movementarian.org>
4990 * toc.C: make TocItem store an id not a Paragraph *
4993 2003-02-21 Angus Leeming <leeming@lyx.org>
4995 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4996 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4997 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4998 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4999 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5000 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5002 * BufferView_pimpl.C (dispatch):
5003 * LyXAction.C (init):
5004 * factory.C (createInset):
5005 * lyxfunc.C (getStatus, dispatch):
5006 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5008 2003-02-21 Angus Leeming <leeming@lyx.org>
5010 * BufferView_pimpl.C (MenuInsertLyXFile):
5011 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5012 * lyxfunc.C (menuNew, open, doImport):
5013 no longer pass a LyXView & to fileDlg.
5015 2003-02-21 Angus Leeming <leeming@lyx.org>
5017 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5018 * LyXAction.C: change, BIBKEY to BIBITEM.
5019 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5020 Change InsetBibKey to InsetBibitem.
5021 Change BIBKEY_CODE to BIBITEM_CODE.
5022 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5023 * factory.C: replace insetbib.h with insetbibitem.h.
5024 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5025 * paragraph.C: replace insetbib.h with insetbibitem.h.
5026 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5027 Change bibkey() to bibitem().
5028 * text.C: remove insetbib.h.
5029 * text2.C: replace insetbib.h with insetbibitem.h.
5030 change bibkey() to bibitem().
5031 * text3.C: remove insetbib.h.
5032 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5034 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5036 * lyxrc.C (output): enclose user email in quotes (in case there are
5039 2003-02-18 John Levon <levon@movementarian.org>
5041 * buffer.h: add std::
5043 2003-02-17 John Levon <levon@movementarian.org>
5049 * pspell.C: reworking. Especially in ispell, a large
5050 number of clean ups and bug fixes.
5052 * lyxfunc.C: fix revert to behave sensibly
5054 2003-02-17 André Pönitz <poenitz@gmx.net>
5057 * commandtags.h: new LFUN_INSERT_BIBKEY
5067 * paragraph_func.C: remove special bibkey handling
5069 2003-02-17 John Levon <levon@movementarian.org>
5071 * text.C (Delete): fix case where delete at the end of
5072 the very first paragraph would not merge the pars
5074 2003-02-17 John Levon <levon@movementarian.org>
5076 * lyxrow.C: fix lastPrintablePos()
5078 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5080 * bufferparams.C (writeLaTeX): add a std:here
5082 * buffer.C: and remove a using directive there
5084 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5086 * buffer.C (makeLaTeXFile): move the code that generates the
5089 * bufferparams.C (writeLaTeX): ... in this new method
5091 * LaTeXFeatures.C (getEncodingSet): make const
5092 (getLanguages): make const
5094 * MenuBackend.C (binding): returns the binding associated to this
5096 (add): sets the status of each item by calling getStatus. Adds
5098 (read): add support for OptSubMenu
5099 (expand): remove extra separator at the end of expanded menu
5101 2003-02-15 John Levon <levon@movementarian.org>
5104 * BufferView_pimpl.C:
5106 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5107 inset code that had no actual effect. Remove unneeded status
5110 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5112 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5115 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5117 * text.C (drawLengthMarker): also draw an arrow marker for
5118 symbolic lengths (medskip...)
5120 2003-02-14 John Levon <levon@movementarian.org>
5123 * tabular.C: better method names
5125 2003-02-14 John Levon <levon@movementarian.org>
5127 * BufferView_pimpl.C:
5132 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5133 it's a more accurate name. Remove some pointless uses.
5135 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5137 * text2.C (LyXText): change order of initilizers to shut off
5140 2003-02-14 John Levon <levon@movementarian.org>
5142 * buffer.C: use ParIterator for getParFromID()
5146 * paragraph_pimpl.h:
5147 * paragraph_pimpl.C: remove unused getParFromID()
5149 2003-02-14 John Levon <levon@movementarian.org>
5151 * buffer.C: remove some very old #if 0'd parse code
5153 2003-02-13 John Levon <levon@movementarian.org>
5157 * text2.C: move hfillExpansion(), numberOfSeparators(),
5158 rowLast(), rowLastPrintable(), numberofHfills(),
5159 numberOfLabelHfills() ...
5162 * lyxrow.C: ... to member functions here.
5167 * text.C: remove LyXText::beginningOfMainBody(), and call
5168 p->beginningOfMainBody() directly. Move the check for
5169 LABEL_MANUAL into the latter.
5176 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5182 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5183 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5185 2003-02-13 John Levon <levon@movementarian.org>
5187 * CutAndPaste.C: remove debug
5189 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5191 * paragraph.C (asString): remove two unused variables
5193 * lyxtextclass.C (readTitleType):
5195 (LyXTextClass): handle new members titletype_ and titlename_
5197 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5199 2003-02-09 John Levon <levon@movementarian.org>
5202 * buffer.C: replace hand-coded list with a map for the dep clean
5204 2003-02-08 John Levon <levon@movementarian.org>
5206 * LaTeX.C: consolidate code into showRunMessage() helper
5208 2003-02-08 John Levon <levon@movementarian.org>
5213 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5214 and pass the size in explicitly
5216 * BufferView_pimpl.h:
5217 * BufferView_pimpl.C:
5219 * BufferView.C: add getCurrentChange()
5221 * BufferView_pimpl.h:
5222 * BufferView_pimpl.C: handle change lfuns
5224 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5225 for changes. Mark pasted paragraphs as new.
5227 * support/lyxtime.h:
5228 * support/lyxtime.C:
5229 * DepTable.C: abstract time_t as lyx::time_type
5232 * LColor.C: add colours for new text, deleted text, changebars
5234 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5235 package use "usenames" option.
5239 * LyXAction.C: add change lfuns
5243 * author.C: author handling
5246 * buffer.C: add a per-buffer author list, with first entry as
5247 current author. Handle new .lyx tokens for change tracking. Output
5248 author list to .lyx file. Output dvipost stuff to .tex preamble.
5249 Bump lyx format to 222.
5252 * bufferlist.C: add setCurrentAuthor() to reset current author details
5256 * bufferparams.C: add param for tracking
5258 * bufferview_funcs.C: output change info in minibuffer
5262 * changes.C: add change-tracking structure
5265 * debug.C: add CHANGES debug flag
5268 * lyxfind.C: add code for finding the next change piece
5271 * lyxrc.C: add user_name and user_email
5274 * lyxrow.C: add a metric for the top of the text line
5277 * text.C: implement accept/rejectChange()
5280 * text.C: paint changebars. Paint new/deleted text in the chosen
5281 colours. Strike through deleted text.
5285 * paragraph_pimpl.h:
5286 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5287 in the current change to the insert functions. Rework erase to
5288 mark text as deleted, adding an eraseIntern() and a range-based
5289 erase(). Implement per-paragraph change lookup and
5292 * paragraph_funcs.C: Fixup paste for change tracking.
5294 * tabular.C: mark added row/columns as new.
5296 * text.C: fix rowLast() to never return -1. Don't allow
5297 spellchecking of deleted text. Track transpose changes. Don't
5298 allow paragraph break or merge where appropriate.
5300 * text2.C: leave cursor at end of selection after a cut.
5302 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5304 * text.C (getLengthMarkerHeight):
5305 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5306 visible on screen too.
5308 2003-02-07 John Levon <levon@movementarian.org>
5310 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5312 2003-02-05 Angus Leeming <leeming@lyx.org>
5314 * lyxserver.C (read_ready): revert my patch of 11 September last year
5315 as it sends PC cpu through the roof. Presumably this means that
5316 the lyxserver will no longer run on an Alpha...
5318 2003-01-30 Angus Leeming <leeming@lyx.org>
5320 * factory.C (createInset): create an InsetCommandParam of type "index"
5321 and use it to 'do the right thing'.
5323 * text2.C (getStringToIndex): ensure that cursor position is always
5324 reset to the reset_cursor position.
5326 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5328 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5331 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5335 * lyxfunc.C: Output messages with identical spelling, punctuation,
5338 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5340 * MenuBackend.C (expandFormats): List only viewable export formats
5343 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5346 * lyxfunc.C (getStatus): Make sure that formats other than
5347 "fax" can also be disabled
5349 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5351 * text3.C (dispatch): put the lfuns that insert insets in 3
5352 groups, and call doInsertInset with appropriate arguments.
5353 (doInsertInset): new function, that creates an inset and inserts
5354 it according to some boolean parameters.
5356 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5358 * buffer.C (readFile): remember to pass on 'par' when calling
5359 readFile recursively.
5361 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5363 * MenuBackend.C (expandFormats): add "..." to import formats.
5365 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5367 * paragraph.C (asString): Remove XForms RTL hacks.
5369 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5370 * buffer.C: fix typo
5372 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5374 * Makefile.am (LIBS): delete var
5375 (lyx_LDADD): add @LIBS@ here instead.
5377 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5379 * Clarify the meaning of "wheel mouse jump"
5381 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5383 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5386 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5388 * importer.C (Loaders): do not preallocate 3 elements in the
5389 vector, since one ends up with 6 elements otherwise
5391 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5393 * DepTable.C (write): write the file name as last element of the
5394 .dep file (because it may contain spaces)
5395 (read): read info in the right order
5397 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5399 * paragraph_pimpl.C (simpleTeXBlanks):
5400 (simpleTeXSpecialChars):
5401 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5403 * tabular.C (latex): add some missing case statements. Reindent.
5405 * MenuBackend.C (expandToc): remove unused variable.
5407 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5416 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5419 2003-01-05 John Levon <levon@movementarian.org>
5422 * BufferView.C: add getEncoding()
5425 * kbsequence.C: do not store last keypress
5428 * lyxfunc.C: store last keypress here instead. Pass encoding
5431 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5433 * lyx_main.C (init): remove annoying error message when following
5434 symbolic links (bug #780)
5436 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5438 * text.C (insertChar):
5439 * lyxrc.C (getDescription): remove extra spaces
5441 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5443 * lyxrc.C (getDescription): remove extra spaces
5445 2002-12-20 John Levon <levon@movementarian.org>
5447 * text3.C: hack fix for page up/down across tall rows
5449 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5451 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5454 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5456 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5457 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5458 thesaurus is not compiled in
5460 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5462 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5464 2002-12-16 Angus Leeming <leeming@lyx.org>
5467 * lyx_main.C (init): remove override_x_deadkeys stuff.
5469 2002-12-12 John Levon <levon@movementarian.org>
5471 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5472 insert. Only remove shift modifier under strict
5475 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5477 * MenuBackend.C (expandToc): fix crash.
5479 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5481 * MenuBackend.C (expandToc): gettext on float names.
5483 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5485 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5486 implement bool empty() [bug 490]
5488 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5490 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5492 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5494 * several files: ws changes
5496 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5498 * text2.C (setCounter): clean up a bit, use boost.format.
5499 (updateCounters): initialize par upon declaration.
5501 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5502 if the layout exists. We do not just store the layout any more.
5503 (SwitchLayoutsBetweenClasses): use boost.format
5505 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5507 * converter.C (convert): if from and to files are the same, use a
5508 temporary files as intermediary
5510 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5513 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5515 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5517 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5519 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5521 * tabular.C (asciiPrintCell): use string(size, char) instead of
5524 * sgml.C (openTag): fix order of arguments to string constructor
5527 * lyxfunc.C (dispatch): use boost.format
5529 * lots of files: change "c" -> 'c'
5531 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5533 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5535 2002-11-25 Angus Leeming <leeming@lyx.org>
5537 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5539 * lyx_main.C (init): compile fix.
5541 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5543 * lyx_cb.C (start): boost.formatify
5544 do not include <iostream>
5546 * lengthcommon.C: ws only
5548 * boost-inst.C,BoostFormat.h: add more explict instantations
5550 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5552 * lots of files: handle USE_BOOST_FORMAT
5554 2002-11-21 John Levon <levon@movementarian.org>
5556 * pspell.C: fix compile
5558 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5560 * lyxfunc.C (dispatch): use boost::format
5564 * lyxfont.C (stateText): use boost::format
5566 * lyx_main.C (LyX): use boost::format
5568 (queryUserLyXDir): ditto
5571 (typedef boost::function): use the recommened syntax.
5573 * importer.C (Import): use boost::format
5575 * debug.C (showLevel): use boost::format
5577 * converter.C (view): use boost::format
5582 * bufferview_funcs.C (currentState): use boost::format
5584 * bufferlist.C (emergencyWrite): use boost::format
5586 * buffer.C (readLyXformat2): use boost::format
5587 (parseSingleLyXformat2Token): ditto
5589 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5591 * LaTeX.C (run): use boost::format
5593 * Chktex.C (scanLogFile): use boost::format
5595 * BufferView_pimpl.C (savePosition): use boost::format
5596 (restorePosition): ditto
5597 (MenuInsertLyXFile): ditto
5599 * BoostFormat.h: help file for explicit instation.
5601 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5603 * tabular.C (latex): Support for block alignment in fixed width
5606 2002-11-17 John Levon <levon@movementarian.org>
5608 * BufferView_pimpl.C:
5610 * lyxfunc.C: split filedialog into open/save
5612 2002-11-08 Juergen Vigna <jug@sad.it>
5614 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5615 by my last patch (hopefully).
5617 2002-11-08 John Levon <levon@movementarian.org>
5626 * toc.C: ParConstIterator, and use it (from Lars)
5628 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5630 * lyxtextclass.[Ch]: revise and add doxygen comments
5632 2002-11-07 John Levon <levon@movementarian.org>
5634 * text.C: fix progress value for spellchecker
5636 * toc.C: fix navigate menu for insetwrap inside minipage
5638 * paragraph_funcs.C: added FIXME for suspect code
5640 2002-11-07 John Levon <levon@movementarian.org>
5642 * BufferView_pimpl.C: fix redrawing of insets
5645 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5647 * text2.C (updateCounters): fix bug 668
5649 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5651 * text3.C (dispatch): Do not make the buffer dirty when moving the
5654 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5656 * vc-backend.C: STRCONV
5659 * text2.C (setCounter): STRCONV
5661 * paragraph.C (asString): STRCONV
5663 * lyxlength.C (asString): STRCONV
5664 (asLatexString): ditto
5666 * lyxgluelength.C (asString): STRCONV
5667 (asLatexString): ditto
5669 * lyxfunc.C (dispatch): STRCONV
5672 * lyxfont.C (stateText): STRCONV
5674 * importer.C (Import): STRCONV
5676 * counters.C (labelItem): STRCONV
5677 (numberLabel): ditto
5678 (numberLabel): remove unused ostringstream o
5683 * bufferview_funcs.C (currentState): STRCONV
5685 * buffer.C (readFile): STRCONV
5686 (asciiParagraph): ditto
5687 (makeLaTeXFile): ditto
5689 * Spacing.C (writeEnvirBegin): STRCONV
5691 * LaTeXFeatures.C (getLanguages): STRCONV
5692 (getPackages): ditto
5694 (getBabelOptions): ditto
5695 (getTClassPreamble): ditto
5696 (getLyXSGMLEntities): ditto
5697 (getIncludedFiles): ditto
5701 (scanAuxFile): ditto
5704 * LString.h: add the STRCONV macros
5706 * BufferView_pimpl.C (savePosition): STRCONV
5707 (restorePosition): ditto
5708 (MenuInsertLyXFile): ditto
5710 * vc-backend.C (scanMaster): change from submatch[...] to
5713 * funcrequest.C: include config.h
5715 * factory.C: include config.h
5717 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5719 * box.C: include config.h
5721 * LaTeX.C (scanAuxFile): change from submatch[...] to
5725 2002-10-25 Angus Leeming <leeming@lyx.org>
5727 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5729 * ispell.[Ch] (setError): new method.
5730 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5731 Use setError() insetead of goto END.
5733 * lyx_cb.C (AutoSave): move out child process into new class
5736 2002-10-30 John Levon <levon@movementarian.org>
5738 * text3.C: make start appendix undoable
5740 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5742 * lyxlength.C (inPixels): Fix returned value.
5744 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5747 2002-10-24 Angus Leeming <leeming@lyx.org>
5749 * lyxgluelength.h: no need to forward declare BufferParams
5750 or BufferView, so don't.
5752 2002-10-21 John Levon <levon@movementarian.org>
5754 * BufferView.C: menuUndo ->undo, redo
5756 * BufferView.h: document, remove dead, make some methods private
5758 * paragraph_funcs.h:
5759 * paragraph_funcs.C:
5760 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5765 * sgml.C: move sgml open/close tag into sgml.C
5767 * bufferview_funcs.h: unused prototype
5770 * lyxfunc.C: remove unused
5773 * text.C: remove unused
5775 2002-10-21 John Levon <levon@movementarian.org>
5779 * BufferView_pimpl.h:
5780 * BufferView_pimpl.C: fix mouse wheel handling based on
5781 patch from Darren Freeman
5783 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5785 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5787 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5789 * lyxlength.C (inPixels): Fix hanfling of negative length.
5790 Fix LyXLength::MU case.
5792 2002-10-16 John Levon <levon@movementarian.org>
5794 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5796 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5798 * converter.C (view): add support for $$i (file name) and $$p
5799 (file path) for the viewer command. If $$i is not specified, then
5800 it is appended to the command (for compatibility with old syntax)
5802 2002-10-14 Juergen Vigna <jug@sad.it>
5804 * undo_funcs.C (textHandleUndo): alter the order in which the
5805 new undopar is added to the LyXText, as we have to set first
5806 the right prev/next and then add it as otherwise the rebuild of
5807 LyXText is not correct. Also reset the cursor to the right paragraph,
5808 with this IMO we could remove the hack in "redoParagraphs()".
5810 2002-10-09 Angus Leeming <leeming@lyx.org>
5812 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5813 to turn off an optimisation if a new inset is to be inserted.
5815 2002-10-11 André Pönitz <poenitz@gmx.net>
5817 * lyxtext.h: make some functions public to allow access
5818 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5820 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5822 * text3.C (dispatch): when changing layout, avoid an infinite loop
5825 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5827 * lyxrc.C (read): treat a viewer or converter command of "none" as
5830 * MenuBackend.C (expandFormats): for an update, also allow the
5831 formats that are not viewable
5833 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5834 script if it is newer than the lyxrc.defaults in user directory
5836 2002-10-07 André Pönitz <poenitz@gmx.net>
5838 * text.C: Vitaly Lipatov's small i18n fix
5840 2002-09-25 Angus Leeming <leeming@lyx.org>
5842 * ispell.h: doxygen fix.
5844 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5846 * buffer.h (readFile): Add a new argument to the method, to allow
5847 reading of old-format templates.
5849 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5851 * toc.C (getTocList): Get TOC from InsetWrap.
5853 2002-09-16 John Levon <levon@movementarian.org>
5855 * lyxfunc.C: check tabular for cut/copy too
5857 2002-09-12 John Levon <levon@movementarian.org>
5862 * factory.C: add header
5864 * paragraph_funcs.h:
5865 * paragraph_funcs.C: cleanup
5867 2002-09-11 John Levon <levon@movementarian.org>
5869 * PrinterParams.h: odd/even default to true
5871 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5873 * PrinterParams.h: update printer parameters for new xforms dialog
5875 2002-09-11 Angus Leeming <leeming@lyx.org>
5877 * lyxserver.C (read_ready): re-write to make it more transparent
5878 and to make it work in coherent fashion under Tru64 Unix.
5880 2002-09-11 André Pönitz <poenitz@gmx.net>
5884 * text3.C: implement LFUN_WORDSEL
5886 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5888 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5889 make floatlist_ a boost::shared_ptr<FloatList>
5891 * lyxtextclass.C: include FloatList.h
5892 (LyXTextClass): initialize floatlist_
5893 (TextClassTags): add TC_NOFLOAT
5894 (Read): match "nofloat" to TC_NOFLOAT and use it.
5895 (readFloat): modify call to floatlist_
5899 * FloatList.[Ch] (FloatList): remove commented out float
5901 (erase): new function
5903 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5905 * MenuBackend.C (expandToc): fix crash when there is no document
5908 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5910 * many files: Add insetwrap.
5912 2002-09-09 John Levon <levon@movementarian.org>
5914 * text2.C: remove confusing and awkward depth wraparound
5916 2002-09-09 John Levon <levon@movementarian.org>
5918 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5921 * buffer.C: remove getIncludeonlyList()
5924 * lyxfunc.C: remove headers
5926 2002-09-09 Juergen Vigna <jug@sad.it>
5928 * text.C (getColumnNearX): fix form Michael this is most
5929 probably a cut&paste bug.
5931 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5933 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5935 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5936 references, ws changes.
5938 * text2.C (init): update counters after init
5939 (insertParagraph): no need to set counter on idividual paragraphs.
5940 (setCounter): access the counters object in the textclass object
5941 on in the buffer object.
5942 (updateCounters): ditto
5944 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5945 shared_ptr<Counters> to avoid loading counters.h in all
5947 (LyXTextClass): initialize ctrs_
5948 (TextClassTags): add TC_COUNTER, and ...
5949 (Read): use it here.
5950 (CounterTags): new tags
5951 (readCounter): new function
5952 (counters): new funtion
5953 (defaultLayoutName): return a const reference
5955 * counters.C (Counters): remove contructor
5956 (newCounter): remove a couple of unneeded statements.
5957 (newCounter): simplify a bit.
5958 (numberLabel): some small formatting changes.
5960 * buffer.[Ch]: remove all traces of counters, move the Counters
5961 object to the LyXTextClass.
5963 2002-09-06 Alain Castera <castera@in2p3.fr>
5965 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5966 package to set the horizontal alignment on fixed width columns.
5969 * lyx_sty.h: added tabularnewline macro def.
5971 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5973 2002-09-06 John Levon <levon@movementarian.org>
5975 * LyXAction.C: tooltips for sub/superscript
5977 * MenuBackend.C: a bit more verbose
5979 * lyxfunc.C: tiny clean
5981 * undo_funcs.C: document undo_frozen
5983 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5985 * counters.C (Counters): add missing algorithm counter.
5987 * text2.C (setCounter): lookup the counter with layouts latexname
5988 instead of by section number.
5989 (setCounter): use a hackish way to lookup the correct enum
5991 a float name->type change
5992 reset enum couners with counter name directly instead of depth value.
5994 * counters.C (Counters): remove the push_backs, change to use the
5995 float type not the float name.
5996 (labelItem): remove unused string, float name->type change
5998 * counters.h: don't include vector, loose the enums and sects vectors
6000 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6002 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6003 (Read): add float->TC_FLOAT to textclassTags
6004 (Read): and handle it in the switch
6005 (readFloat): new function
6007 * FloatList.C (FloatList): comment out the hardcoded float
6010 * lyxlayout.h: ws change.
6012 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6014 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6016 2002-09-03 Angus Leeming <leeming@lyx.org>
6018 * BufferView_pimpl.h: qualified name is not allowed in member
6019 declaration: WorkArea & Pimpl::workarea() const;
6021 * factory.C: added using std::endl directive.
6023 * text3.C: added using std::find and std::vector directives.
6025 2002-08-29 André Pönitz <poenitz@gmx.net>
6028 * text2.C: remove unused member number_of_rows
6031 * BufferView2.C: remove file, move contents to...
6032 * BufferView.C: ... here
6034 * BufferView_pimpl.C:
6035 * factory.C: move more inset creation to factory
6037 * vspace.C: avoid direct usage of LyXText, ws changes
6040 don't provide direct access to WorkArea, use two simple
6041 acessors haveSelction() and workHeight() instead
6044 2002-08-29 John Levon <levon@movementarian.org>
6046 * BufferView_pimpl.C (dispatch): do not continue when
6049 2002-08-28 André Pönitz <poenitz@gmx.net>
6051 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6054 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6056 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6058 * buffer.C: increment LYX_FORMAT to 221
6060 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6061 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6063 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6065 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6067 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6069 * factory.C (createInset): use LyXTextClass::floats
6071 * MenuBackend.C (expandFloatListInsert):
6072 (expandFloatInsert):
6075 * text2.C (setCounter):
6077 * LaTeXFeatures.C (useFloat):
6078 (getFloatDefinitions):
6080 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6082 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6083 floatlist_, with accessor floats().
6085 * FloatList.h: remove global FloatList
6087 2002-08-26 André Pönitz <poenitz@gmx.net>
6089 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6093 * BufferView_pimpl.C:
6094 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6096 2002-08-25 John Levon <levon@movementarian.org>
6098 * LyXAction.C: fix margin note description
6100 2002-08-24 John Levon <levon@movementarian.org>
6104 * bufferview_funcs.C:
6106 * undo_funcs.C: cleanups
6108 * lyxfunc.C: disable CUT/COPY when no selection
6110 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6112 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6113 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6115 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6116 Add backward compatibility to "mono", "gray" and "no".
6118 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6120 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6121 (and file_format >= 200).
6123 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6125 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6127 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6129 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6131 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6133 * BufferView_pimpl.C:
6140 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6141 inset and code to make it work with the paragraph code. The inset
6142 can be anywhere in the paragraph, but will only do the expected
6143 thing in LaTeX if the layout file contains the parameter line
6145 (or more generally, a nonzero value) for that layout.
6147 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6149 * paragraph.h: remove the declaration of undefined counters class
6152 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6154 * text2.C (setCounter): fixed enumeration mis-count as reported by
6155 Dr. Richard Hawkins.
6157 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6159 * paragraph_funcs.h: remove some unneeded includes
6161 * text.C (backspace): pasteParagraph now in global scipe
6163 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6164 (pasteSelection): ditto
6166 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6167 * paragraph_funcs.C (pasteParagraph): ... here
6169 2002-08-20 André Pönitz <poenitz@gmx.net>
6171 * commandtags.h: new LFUNs for swapping/copying table row/colums
6174 * lyxfunc.C: support for new lfuns
6176 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6179 * buffer.[Ch]: remove NO_COMPABILITY stuff
6181 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6183 * boost.C (throw_exception): new file, with helper function for
6184 boost compiled without exceptions.
6189 * ParameterStruct.h:
6190 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6192 * bufferlist.C (emergencyWriteAll): use boost bind
6194 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6196 * text.C: include paragraph_funcs.h
6197 (breakParagraph): breakParagraph is now in global scope
6199 * paragraph_funcs.[Ch]: new files
6201 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6204 * buffer.C: include paragraph_funcs.h
6205 (insertStringAsLines): breakParagraph is now in global scope
6207 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6210 * CutAndPaste.C: include paragraph_funcs.h
6211 (cutSelection): breakParagraphConservative is now in global scope
6212 (pasteSelection): ditto
6214 * buffer.h: declare oprator== and operator!= for
6215 Buffer::inset_iterator
6217 * bufferlist.C (emergencyWrite): don't use fmt(...)
6219 * text3.C: add using std::endl
6221 * BufferView.C (moveCursorUpdate): remove default arg
6223 2002-08-20 André Pönitz <poenitz@gmx.net>
6225 * buffer.[Ch]: move inline functions to .C
6228 * BufferView_pimpl.C:
6230 * buffer.[Ch]: use improved inset_iterator
6233 * paragraph.[Ch]: write one paragraph at a time
6235 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6237 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6238 style if style is not specified.
6240 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6242 * text2.C (setCounter): when searching for right label for a
6243 caption, make sure to recurse to parent insets (so that a caption
6244 in a minipage in a figure float works) (bug #568)
6246 2002-08-20 André Pönitz <poenitz@gmx.net>
6248 * text3.C: new file for LyXText::dispatch() and helpers
6250 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6252 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6254 2002-08-19 André Pönitz <poenitz@gmx.net>
6257 * text.C: new LyXText::dispatch()
6259 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6261 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6263 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6265 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6268 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6270 * Makefile.am: use $(variables) instead of @substitutions@
6272 2002-08-15 André Pönitz <poenitz@gmx.net>
6275 * BufferView_pimpl.C: streamlining mathed <-> outer world
6279 * LyXAction.C: remove unused LFUN_MATH
6281 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6283 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6285 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6287 * paragraph.C (Paragraph): reformat a bit
6288 (cutIntoMinibuffer): use builtin InsetList function instad of
6292 * buffer.C: include boost/bind.hpp, add using std::for_each
6293 (writeFileAscii): use ParagraphList iterators
6294 (validate): use for_each for validate traversal of paragraphs
6295 (getBibkeyList): use ParagraphList iterators
6296 (resizeInsets): use for_each to resizeInsetsLyXText for all
6298 (getParFromID): use ParagraphList iterators
6300 * BufferView2.C (lockInset): use paragraph list and iterators
6302 2002-08-14 John Levon <levon@movementarian.org>
6304 * lyxserver.C: remove spurious xforms include
6306 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6308 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6310 2002-08-13 André Pönitz <poenitz@gmx.net>
6313 * lyxfunc.C: further cleaning
6315 2002-08-13 André Pönitz <poenitz@gmx.net>
6317 * funcrequest.h: new constructor
6319 * funcrequest.C: move stuff here from .h
6322 * BufferView_pimpl.C:
6325 * lyxfunc.C: subsequent changes
6327 * lyxfunc.h: new view() member function
6329 * lyxfunc.C: subsequent changes
6331 2002-08-13 Angus Leeming <leeming@lyx.org>
6334 * BufferView_pimpl.C:
6342 changes due to the changed LyXView interface that now returns references
6343 to member variables not pointers.
6345 2002-08-13 Angus Leeming <leeming@lyx.org>
6347 * WordLangTuple (word, lang_code): return references to strings,
6352 * lyxtext.h: forward-declare WordLangTuple.
6357 * text.C: #include "WordLangTuple.h".
6360 * text.C: (selectNextWordToSpellcheck): constify return type.
6362 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6368 * paragraph_pimpl.h:
6371 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6373 Made updateCounter always count from start of buffer, and removed
6374 second argument (par).
6375 Reverted floats number display to '#'. Perhaps I'll try again when the
6376 code base is sanitized a bit.
6378 2002-08-12 Angus Leeming <leeming@lyx.org>
6380 * buffer.[Ch] (getLabelList): constify.
6382 2002-08-07 André Pönitz <poenitz@gmx.net>
6384 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6386 * funcrequest.h: extension to keep mouse (x,y) position
6388 2002-08-12 Juergen Vigna <jug@sad.it>
6390 * BufferView2.C (insertErrors): forbid undo when inserting error
6393 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6395 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6397 * ParagraphList.[Ch]: new files
6399 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6401 * BufferView2.C (lockInset): ParagraphList changes
6404 * bufferlist.C: ditto
6408 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6410 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6411 unused class variable counter_,
6413 * paragraph.[Ch] (getFirstCounter): delete unused function
6415 * counters.C: include LAssert.h
6416 (reset): add a new function with no arg, change other version to
6417 not have def. arg and to not allow empty arg.
6419 * text2.C (setCounter): remove empty arg from call to Counters::reset
6421 2002-08-11 John Levon <levon@movementarian.org>
6423 * Makefile.am: add WordLangTuple.h
6425 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6427 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6428 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6430 * insets/insettext.C: InsetList changes
6432 * graphics/GraphicsSupport.C (operator()): InsetList changes
6434 * toc.C (getTocList): InsetList changes
6436 * paragraph_pimpl.[Ch]: InsetList changes
6438 * paragraph.[Ch]: InsetList changes
6440 * buffer.C (inset_iterator): InsetList changes
6441 (setParagraph): ditto
6442 * buffer.h (inset_iterator): ditto
6443 * iterators.C (operator++): ditto
6444 * iterators.h: ditto
6446 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6448 * InsetList.[Ch]: new files, most InsetList handling moved out of
6451 * BufferView2.C (removeAutoInsets): InsetList changes
6453 (ChangeInsets): ditto
6455 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6457 * paragraph_pimpl.h (empty): new function
6459 * paragraph.[Ch] (empty): new function
6461 * other files: use the new Paragraph::empty function
6463 2002-08-09 John Levon <levon@movementarian.org>
6465 * lyxtext.h: remove unused refresh_height
6467 2002-08-09 John Levon <levon@movementarian.org>
6474 * paragraph.C: move sgml char escaping out of paragraph
6477 * paragraph.C: remove id setter
6481 * paragraph_pimpl.C: remove dead tex_code_break_column
6483 * bufferview_funcs.C: small cleanup
6485 * lyxfunc.C: remove dead proto
6487 * lyxtext.h: make some stuff private. Remove some dead stuff.
6489 * lyxgluelength.C: make as[LyX]String() readable
6491 2002-08-08 John Levon <levon@movementarian.org>
6496 * ToolbarDefaults.C:
6499 * toc.C: lyxaction cleanup
6501 2002-08-08 John Levon <levon@movementarian.org>
6503 * BufferView2.C: small cleanup
6506 * lyxfind.C: move unnecessary header into the .C
6508 2002-08-08 John Levon <levon@movementarian.org>
6510 * funcrequest.h: just tedious nonsense
6513 * lyx_main.C: cleanups
6516 * vspace.C: remove dead header lyx_main.h
6518 2002-08-07 Angus Leeming <leeming@lyx.org>
6521 * paragraph_pimpl.h:
6522 Forward declare class Counters in paragraph.h by moving the ctrs member
6523 variable into Paragraph::Pimpl.
6524 (counters): new method, returning a reference to pimpl_->ctrs.
6526 * text2.C: ensuing changes.
6528 2002-08-07 John Levon <levon@movementarian.org>
6530 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6532 * BufferView_pimpl.C: announce X selection on double/triple
6535 * lyx_main.C: use correct bool in batch dispatch
6537 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6539 2002-08-07 André Pönitz <poenitz@gmx.net>
6541 * funcrequest.h: new class to wrap a kb_action and its argument
6544 * BufferView_pimpl[Ch]:
6548 * lyxrc.C: subsequent changes
6551 2002-08-07 John Levon <levon@movementarian.org>
6553 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6554 document options change.
6556 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6561 * makefile.am: move counters functionality over from
6562 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6564 2002-08-06 John Levon <levon@movementarian.org>
6566 * WordLangTuple.h: new file for word + language code tuple
6577 * BufferView2.C: use WordLangTuple
6580 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6582 2002-08-06 John Levon <levon@movementarian.org>
6584 * lyx_main.C: fix cmdline batch handling
6586 2002-08-06 André Pönitz <poenitz@gmx.net>
6588 * lyxrc.C: set default for show_banner to true
6590 2002-08-06 John Levon <levon@movementarian.org>
6592 * pspell.C: fix a crash, and allow new aspell to work
6594 2002-08-06 John Levon <levon@movementarian.org>
6597 * kbmap.C: small cleanup
6600 * vspace.C: add const
6602 2002-08-05 John Levon <levon@movementarian.org>
6604 * LyXAction.C: back to tabular-insert
6606 2002-08-04 John Levon <levon@movementarian.org>
6609 * BufferView.C: cosmetic change
6611 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6621 * BufferView2.C: purge all "Lyx" not "LyX" strings
6624 * lyxcursor.C: attempt to add some documentation
6629 * ToolbarDefaults.C:
6630 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6631 merge with LFUN_TABULAR_INSERT
6638 * pspell.C: split up i/pspell implementations into separate
6639 files, many cleanups
6641 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6643 * text2.C: some cleanup
6645 * lyxfunc.C: don't check for isp_command == "none" any more, it
6646 didn't make any sense
6648 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6653 * makefile.am: move counters functionality over
6654 from text2.C/paragraph.[Ch] to counters.[Ch], and
6656 2002-08-02 John Levon <levon@movementarian.org>
6658 * buffer.C: s/lyxconvert/lyx2lyx/
6660 2002-08-02 Angus Leeming <leeming@lyx.org>
6662 * lyxlex.C: revert John's change as it breaks reading of the user
6665 2002-08-02 Angus Leeming <leeming@lyx.org>
6667 * importer.C (Import):
6668 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6669 changes due to LyXView::view() now returning a boost::shared_ptr.
6671 2002-08-02 John Levon <levon@movementarian.org>
6673 * lyxlex.C: small cleanup
6675 2002-08-02 John Levon <levon@movementarian.org>
6677 * text2.C (status): small cleanup, no logic change
6679 2002-08-01 John Levon <levon@movementarian.org>
6682 * buffer.C (writeFile): don't output alerts, caller
6686 * lyx_cb.C: from above
6688 * lyxfunc.C: allow to open non-existent files
6690 2002-07-31 John Levon <levon@movementarian.org>
6692 * lyxserver.C: don't let incidental errors get
6695 2002-07-30 John Levon <levon@movementarian.org>
6697 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6699 2002-07-30 John Levon <levon@movementarian.org>
6702 * lyxserver.C: remove I/O callback too
6704 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6706 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6709 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6711 * many files: strip,frontStrip -> trim,ltrim,rtrim
6713 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6715 * PrinterParams.h: remove extern containsOnly, and include
6716 support/lstrings.h instead.
6718 * LaTeX.C (scanAuxFile): modify because of strip changes
6720 * buffer.C (makeLaTeXFile): ditto
6721 * bufferparams.C (writeFile): ditt
6722 * lyxfont.C (stateText): ditto
6723 * lyxserver.C (read_ready): ditto
6724 * vc-backend.C (scanMaster): ditto
6726 * BufferView_pimpl.h: ws changes
6728 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6730 2002-07-26 André Pönitz <poenitz@gmx.net>
6732 * kb_sequence.C: remove unnedred usings
6734 2002-07-26 Juergen Vigna <jug@sad.it>
6736 * lyxfind.C (LyXReplace): we have to check better if the returned
6737 text is not of theLockingInset()->getLockingInset().
6739 2002-07-25 Juergen Vigna <jug@sad.it>
6741 * lyxfind.C (LyXReplace): don't replace if we don't get the
6744 * undo_funcs.C (createUndo): remove debugging code.
6746 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6748 * buffer.C (parseSingleLyXformat2Token): Use default placement
6749 when reading old floats.
6751 * FloatList.C (FloatList): Change the default placement of figure
6752 and tables to "tbp".
6754 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6756 * MenuBackend.C: using std::max
6758 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6760 * MenuBackend.C (expandToc):
6761 (expandToc2): code moved from xforms menu frontend. It is now
6762 generic and TOCs are transparent to menu frontends.
6764 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6766 * toc.C (getTocList): protect against buf=0
6768 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6769 Menu as first parameter. Now, this calls itself recursively to
6770 expand a whole tree (this will be useful for TOC handling)
6771 (expandFloatInsert): remove 'wide' version of floats
6773 * MenuBackend.h (submenuname): returns the name of the submenu.
6774 (submenu): returns the submenu itself, provided it has been
6775 created by MenuBackend::expand
6777 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6779 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6780 insets which have noFontChange == true. (bug #172)
6782 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6784 * BufferView_pimpl.C: add connection objects and use them...
6787 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6789 * MenuBackend.C (expandLastfiles):
6792 (expandFloatListInsert):
6793 (expandFloatInsert):
6794 (expand): split expand in parts
6796 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6798 * lyx_gui.C: use lyx_gui::exit()
6800 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6802 * LyXAction.C: show the failing pseudo action
6804 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6806 * buffer.C (readFile): Run the lyxconvert script in order to read
6809 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6813 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6815 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6819 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6821 2002-07-22 Herbert Voss <voss@lyx.org>
6824 * lyxlength.[Ch]: add support for the vertical lengths
6826 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6828 * toc.[Ch]: std:: fixes
6830 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6832 * lyxrc.C: do not include lyx_main.h
6834 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6840 * BufferView2.C: include "lyxlex.h"
6843 * bufferparams.h: do not #include "lyxlex.h"
6845 * lyxtextclasslist.C (Add): remove method
6846 (classlist): renamed to classlist_
6848 * paragraph_pimpl.C:
6852 * bufferview_funcs.C:
6857 * toc.C (getTocList): use BufferParams::getLyXTextClass
6859 * toc.C (getTocList): use InsetFloat::addToToc
6861 * toc.[Ch]: new files, containing helper functions to handle table
6864 * lyxfunc.C (dispatch): no need to remove spaces around command
6866 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6867 first command of the sequence; it is not very clever, but I do not
6868 have a better idea, actually
6870 * LyXAction.C (LookupFunc): make sure to remove space at the
6871 beginning and end of the command
6873 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6875 * MenuBackend.C (getMenubar): new method: return the menubar of
6877 (read): treat differently reading of menu and menubar (in
6878 particular, the menubar has no name now)
6879 (Menu::menubar): remove
6881 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6884 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6886 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6887 a bibitem inset in a RTL paragraph.
6889 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6891 * paragraph_pimpl.C: constify
6893 * BufferView_pimpl.C:
6895 * lyxfunc.C: fix dispatch in a nicer way
6897 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6899 * lyxfunc.C (dispatch):
6900 * BufferView_pimpl.C:
6901 * BufferView_pimpl.h:
6903 * BufferView.h: rename Dispatch() to dispatch()
6905 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6907 * lyxlayout.C (Read): honor DependsOn tag
6909 * lyxlayout.[Ch] (depends_on): new method
6911 * version.C.in: update lyx_docversion
6913 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6915 * paragraph.C (validate): remove from here...
6916 * paragraph_pimpl.C (validate): ... and move here
6917 (isTextAt): make it const
6919 * buffer.C (getLists): ws cleanup
6921 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6923 * language.C (read): Use iso8859-1 encoding in latex_lang
6924 (this prevents LyX from crashing when using iso10646-1 encoding).
6926 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6928 * text2.C (toggleInset): if cursor is inside an inset, close the
6929 inset and leave cursor _after_ it
6931 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6933 * lyxfunc.C: move minibuffer completion handling out of here
6935 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6937 * BufferView_pimpl.C:
6938 * LaTeX.C: fix dispatch calls
6940 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6942 * text.C (drawChars): Fix Arabic text rendering.
6944 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6948 * lyxfunc.C: remove message-push/pop
6952 * lyxfunc.C: rationalise some code by removing verboseDispatch
6953 in favour of a bool argument to dispatch()
6955 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6957 * lyx_main.C (init): make sure to read symlinks as absolute paths
6959 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6962 * lyxfunc.C: no need for commandshortcut to be a member
6964 2002-07-15 André Pönitz <poenitz@gmx.net>
6966 * converter.C: add support for $$s (scripts from lib/scripts dir)
6967 * lyx_main.C: white space
6969 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6973 * lyxrc.C: remove second exit confirmation
6975 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6980 * BufferView_pimpl.h:
6981 * BufferView_pimpl.C:
6982 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6984 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6986 * MenuBackend.C (expand): add numeric shortcuts to document menu
6988 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6990 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6992 * lyxfont.C (setLyXFamily):
6999 * buffer.C (asciiParagraph): use ascii_lowercase
7001 2002-07-15 Mike Fabian <mfabian@suse.de>
7003 * lyxlex_pimpl.C (search_kw):
7004 * lyxlex.C (getLongString):
7005 * converter.h (operator<):
7006 * converter.C (operator<):
7007 * buffer.C (parseSingleLyXformat2Token):
7009 * ToolbarDefaults.C (read):
7010 * MenuBackend.C (checkShortcuts):
7012 * LColor.C (getFromGUIName):
7013 (getFromLyXName): use the compare_ascii_no_case instead of
7014 compare_no_case, because in turkish, 'i' is not the lowercase
7015 version of 'I', and thus turkish locale breaks parsing of tags.
7017 2002-07-16 Angus Leeming <leeming@lyx.org>
7019 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7020 now takes a Buffer const & argument.
7022 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7024 * BufferView.C (resize): check there's a buffer to resize
7026 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7028 * lyxfunc.C: remove dead code
7031 * lyxserver.C: use lyx_guii::set_read_callback
7033 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7035 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7036 an inset in a RTL paragraph.
7038 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7040 * lyxfunc.C: repaint after a font size update
7042 2002-07-15 André Pönitz <poenitz@gmx.net>
7044 * lyxlength.C: inBP should be able to return negative values
7046 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7048 * lyxfunc.C: use lyx_gui::update_fonts()
7050 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7052 * lyxfunc.C: use lyx_gui::update_color()
7054 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7060 * lyxrc.C: remove file->new asks for name option, and let
7061 buffer-new take an argument
7063 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7065 * BufferView_pimpl.C: remove unneeded extra repaint()
7067 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7069 * LyXAction.C: allow command-sequence with NoBuffer
7071 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7073 2002-07-10 Angus Leeming <leeming@lyx.org>
7075 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7077 2002-07-09 Angus Leeming <leeming@lyx.org>
7079 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7081 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7083 * lengthcommon.h: whitespace
7085 * lyxfunc.C: update scrollbar after goto paragraph
7087 * lyxtext.h: factor out page break drawing, and fix it so
7088 page break/added space paints as selected nicely
7090 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7092 * BufferView_pimpl.C: add FIXMEs, clean up a little
7094 2002-07-09 André Pönitz <poenitz@gmx.net>
7096 * lyxfont.[Ch]: support for wasy symbols
7098 2002-07-08 André Pönitz <poenitz@gmx.net>
7100 * BufferView_pimpl.C: apply John's patch for #93.
7102 2002-07-05 Angus Leeming <leeming@lyx.org>
7104 * BufferView_pimpl.C (buffer): generate previews if desired.
7106 * LColor.h: add "preview" to the color enum.
7108 * LColor.C (LColor): add a corresponding entry to the items array.
7110 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7113 2002-07-05 Angus Leeming <leeming@lyx.org>
7115 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7116 The body of the code is now in the method that is passed an ostream &
7117 rather than a file name.
7118 Pass an additional only_preamble parameter, useful for the forthcoming
7121 2002-07-03 André Pönitz <poenitz@gmx.net>
7123 * lyxfunc.C: simplify getStatus() a bit for math stuff
7125 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7127 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7129 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7131 * text.C (changeRegionCase): do not change case of all the
7132 document when region ends at paragraph end (bug #461)
7134 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7136 * paragraph.C (startTeXParParams):
7137 (endTeXParParams): add \protect when necessary
7139 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7141 * BufferView_pimpl.C (workAreaExpose): remove warning
7143 2002-06-27 Angus Leeming <leeming@lyx.org>
7145 * Makefile.am: add lyxlayout_ptr_fwd.h.
7147 2002-06-26 André Pönitz <poenitz@gmx.net>
7149 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7151 2002-06-25 Angus Leeming <leeming@lyx.org>
7153 * lyxfunc.C (dispatch): Comment out the call to
7154 grfx::GCache::changeDisplay. The method no longer exists now that the
7155 pixmap generation part of the graphics loader has been moved into
7158 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7160 * text2.C: layout as layout
7162 * text.C: layout as layout
7164 * tabular.C (OldFormatRead): layout as layout
7166 * paragraph_pimpl.C (TeXDeeper): layout as layout
7167 (realizeFont): layout as layout
7169 * paragraph.C (writeFile): layout as layout
7170 (validate): layout as layout
7171 (getFont): layout as layout
7172 (getLabelFont): layout as layout
7173 (getLayoutFont): layout as layout
7174 (breakParagraph): layout as layout
7175 (stripLeadingSpaces): layout as layout
7176 (getEndLabel): layout as layout
7177 (getMaxDepthAfter): layout as layout
7178 (applyLayout): layout as layout
7179 (TeXOnePar): layout as layout
7180 (simpleTeXOnePar): layout as layout
7181 (TeXEnvironment): layout as layout
7182 (layout): layout as layout
7183 (layout): layout as layout
7185 * lyxtextclass.C (compare_name): new functor to work with
7186 shared_ptr, layout as layout
7187 (Read): layout as layout
7188 (hasLayout): layout as layout
7189 (operator): layout as layout
7190 (delete_layout): layout as layout
7191 (defaultLayout): layout as layout
7193 * lyxlayout_ptr_fwd.h: new file
7195 * lyxlayout.C (Read): layout as layout
7197 * lyx_cb.C (MenuInsertLabel): layout as layout
7199 * bufferlist.C (newFile): layout as layout
7201 * buffer.C (readLyXformat2): layout as layout
7202 (parseSingleLyXformat2Token): layout as layout
7203 (insertStringAsLines): layout as layout
7204 (asciiParagraph): layout as layout
7205 (latexParagraphs): layout as layout
7206 (makeLinuxDocFile): layout as layout
7207 (simpleLinuxDocOnePar): layout as layout
7208 (makeDocBookFile): layout as layout
7209 (simpleDocBookOnePar): layout as layout
7210 (getLists): layout as layout
7212 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7214 * CutAndPaste.C (cutSelection): layout as layout
7215 (pasteSelection): layout as layout
7216 (SwitchLayoutsBetweenClasses): layout as layout
7218 * BufferView_pimpl.C (Dispatch): layout as layout
7219 (smartQuote): layout as layout
7221 * BufferView2.C (unlockInset): layout as layout
7223 2002-06-24 André Pönitz <poenitz@gmx.net>
7225 * lyxfunc.C: fix #487
7227 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7231 * lyxfunc.C: remove display_shortcuts, show_banner
7233 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7235 * Buffer_pimpl.C: oops, update on resize
7237 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7244 * BufferView.C: use repaint()
7246 * BufferView_pimpl.h:
7247 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7248 as it's a clearer description. Remove superfluous
7251 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7253 * text.C: fix bug 488. Not ideal, but getting
7254 getWord() to work properly for the insets that
7255 matter is more difficult ...
7257 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7259 * BufferView_pimpl.C:
7262 * lyxfunc.C: remove the six million index lyxfuncs to just
7263 one, and DTRT (bug 458)
7265 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7269 * BufferView_pimpl.h:
7270 * BufferView_pimpl.C: clean up resize() stuff,
7271 and unnecessary updateScreen()s
7273 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7277 * BufferView_pimpl.h:
7278 * BufferView_pimpl.C:
7281 * minibuffer.C: remove focus management of workarea,
7282 not needed. Use screen's greyOut()
7284 2002-06-17 Herbert Voss <voss@lyx.org>
7286 * converter.C: (convert) do not post a message, when converting
7287 fails, let the calling function decide what to do in this case
7289 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7291 * lyxfunc.C: tidy up a little
7293 2002-06-16 <alstrup@diku.dk>
7295 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7296 Got rid of FORMS_H_LOCATION include. Now we are
7299 2002-06-15 LyX Development team <lyx@rilke>
7301 * buffer.[Ch] (sgmlOpenTag):
7302 (sgmlCloseTag): Added support for avoiding pernicious mixed
7303 content. Return number of lines written.
7306 (makeDocBookFile): Fixed calls to sgml*Tag.
7307 Simple white space clean.
7309 (simpleDocBookOnePar): Simple white space clean.
7311 * tabular.[Ch] (docBook): Renamed to docbook and got another
7312 argument to related with the pernicious mixed content.
7314 (docbookRow): Fixed calls for docbook inset method.
7316 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7318 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7319 so it's X11 independent.
7323 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7325 2002-06-15 Lyx Development team <lyx@electronia>
7327 * intl.h: Renamed getTrans to getTransManager.
7329 2002-06-14 Angus Leeming <leeming@lyx.org>
7331 * Makefile.am: nuke forgotten stl_string_fwd.h.
7333 2002-06-12 Angus Leeming <leeming@lyx.org>
7335 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7337 2002-06-13 Angus Leeming <leeming@lyx.org>
7340 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7342 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7344 * kbmap.C (getiso): add support for cyrillic and greek
7346 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7350 * BufferView_pimpl.h:
7351 * BufferView_pimpl.C: move bogus scrolling logic
7354 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7357 * BufferView_pimpl.C: view->resize() change
7359 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7361 * BufferView_pimpl.C: topCursorVisible
7364 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7368 * lyx_gui.C: move to frontends/
7372 * lyx_main.C: changes from above
7374 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7381 * lyx_main.C: minor tidy
7383 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7385 * BufferView_pimpl.h:
7386 * BufferView_pimpl.C:
7388 * BufferView.C: make painter() const,
7391 * BufferView2.C: use screen() accessor
7394 * lyx_main.C: some minor cleanup
7396 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7398 * BufferView_pimpl.h:
7399 * BufferView_pimpl.C: remove enter/leaveView,
7402 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7407 * BufferView_pimpl.h:
7408 * BufferView_pimpl.C: only construct screen once,
7411 * lyxrc.C: remove pointless comment
7413 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7416 * BufferView.C: remove active() and belowMouse()
7418 * BufferView_pimpl.h:
7419 * BufferView_pimpl.C: use workarea() not workarea_,
7420 and make it use a scoped_ptr instead
7422 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7424 * lyx_gui.C: add debug message on BadWindow
7426 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7428 * sp_spell.C: fdopen is not part of the C++ standard.
7430 * paragraph.C (InsetIterator): use >= instead of ==
7432 2002-06-07 Angus Leeming <leeming@lyx.org>
7434 Fixes needed to compile with Compaq cxx 6.5.
7435 * BufferView_pimpl.C:
7442 * lyxtextclasslist.C:
7447 all c-library variables have been moved into namespace std. Wrap
7448 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7453 Add a using std::abs declaration.
7455 * kbmap.h (modifier_pair):
7456 * paragraph.h (InsetTable, InsetList):
7457 * lyxfont.h (FontBits):
7458 type definition made public.
7460 * bufferlist.C (emergencyWriteAll): the compiler complains that
7461 there is more than one possible lyx::class_fun template to choose from.
7462 I re-named the void specialisation as lyx::void_class_fun.
7464 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7466 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7467 the compiler is is unable to find tostr in write_attribute.
7469 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7471 * buffer.C (sgmlError): hide #warning
7473 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7475 * xtl/*: get rid of xtl, which is not in use anyway
7477 * LyXAction.C (init):
7478 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7479 were unimplemented xtl experimentation
7481 2002-06-04 André Pönitz <poenitz@gmx.net>
7483 * lyxfunc.C: disable array operation on simple formulae
7485 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7487 * converter.C: constify a bit
7489 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7491 * lyx_gui.C: check xforms version correctly
7493 2002-04-30 Herbert Voss <voss@lyx.org>
7495 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7498 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7500 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7501 attempt to register it with a VCS)
7503 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7505 * lyx_main.C (init): honor variables LYX_DIR_13x and
7508 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7512 * lyx_main.C: fix a crash on bad command line,
7513 and give a useful exit status on error
7515 * lyxfunc.C (doImport): allow -i lyx to work
7517 2002-03-30 André Pönitz <poenitz@gmx.net>
7519 * lyxfunc.C: mathed font changes
7521 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7536 * trans_mgr.h: srcdocs, and some minor cleanups
7538 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7540 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7541 call getFont all the time)
7543 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7545 * switch from SigC signals to boost::signals
7547 2002-05-29 André Pönitz <poenitz@gmx.net>
7549 * paragraph_pimpl.C (getChar): don't call size() too often...
7551 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7553 * paragraph_pimpl.C (insertChar): do not try to update tables when
7554 appending (pos == size())
7556 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7557 in order to reduce drastically the number of comparisons needed to
7558 parse a large document
7560 2002-05-29 André Pönitz <poenitz@gmx.net>
7566 * textclasslist.[Ch]:
7567 * sp_ispell.h: whitespace change
7569 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7571 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7572 lyxaction directly now.
7574 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7578 * lyxvc.C: remove unused headers
7580 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7587 * undo_funcs.C: some cleanups. Use shared_ptr
7588 and a template for the undo stacks.
7590 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7592 * BufferView_pimpl.h:
7593 * BufferView_pimpl.C:
7600 * text2.C: use key_state/mouse_state
7602 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7604 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7607 * chset.C: change include order
7608 (loadFile): use boost regex and get rid of LRegex and LSubstring
7610 * Makefile.am (BOOST_LIBS): new variable
7613 * LaTeX.C: change include order.
7614 (scanAuxFile): use boost regex and get rid of LRegex and
7618 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7623 * FontInfo.C: moved to frontends/xforms/
7626 * FontLoader.C: moved into frontends for GUIIzation
7631 * lyxfunc.C: changes from above
7633 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7635 * LColor.C: remove spurious X include
7637 * BufferView_pimpl.C:
7642 * text2.C: move font metrics to frontends/
7644 2002-05-24 Juergen Vigna <jug@sad.it>
7646 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7647 setting the undo_cursor.
7649 * ParagraphParameters.h: include local includes first.
7651 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7653 * BufferView_pimpl.C:
7654 * BufferView_pimpl.h:
7658 * screen.C: move WorkArea into frontends/
7664 * BufferView2.C: move LyXScreen into frontends/
7668 * lyx_gui.C: move lyxlookup into frontends/xforms/
7670 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7673 * BufferView_pimpl.C:
7683 * bufferview_funcs.C:
7696 * vc-backend.C: move LyX/XFormsView into frontends/
7698 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7710 * text2.C: move Painter to frontends/
7712 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7714 * buffer.C: comment out some some code that depend upon lyx_format
7717 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7718 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7720 * buffer.h (NO_COMPABILITY): turn off compability
7722 * ColorHandler.C: include scoped_array.hpp
7724 * font.C: Use more specific smart_ptr header.
7727 * ShareContainer.h: ditto
7731 * BufferView_pimpl.h: ditto
7732 * ColorHandler.h: ditto
7734 * kbmap.C (defkey): change call to shared_ptr::reset
7736 2002-05-21 Juergen Vigna <jug@sad.it>
7738 * buffer.C (insertErtContents): fix to insert ert asis if it is
7739 non empty. Skip it completely if it contains only whitespaces.
7741 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7743 * BufferView_pimpl.C:
7744 * BufferView2.C: clear selection on paste (bug 393)
7746 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7748 * DepTable.C: include ctime
7750 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7752 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7754 2002-05-14 Juergen Vigna <jug@sad.it>
7756 * text.C (breakParagraph): fixed function to honor the keepempty
7757 layout in the right maner and also to permit the right breaking
7758 algorithm on empty or non empyt keepempty paragraphs.
7760 * paragraph.C (breakParagraph): we have to check also if the par
7761 is really empty (!size()) for isempty otherwise we do the wrong
7764 2002-05-10 Juergen Vigna <jug@sad.it>
7766 * buffer.[Ch] : The following are only changes to the ert
7767 compatibility read reading old LaTeX layout and font stuff and
7768 convert it to ERTInsets.
7770 * buffer.h: added isErtInset().
7772 * buffer.C (struct ErtComp): add a fromlayout bool to check
7773 if we're inside a LaTeX layout.
7774 (isErtInset): new helper function.
7775 (insertErtContents): look for other ert insets before this one
7776 and insert the contents there, so that we don't have subsequent
7777 ERT insets with nothing between them. This way we create only one
7778 inset with multiple paragraphs. Also check if we don't insert only
7779 spaces ' ' as they are ignored anyway afterwards in the .tex file
7780 so if we have only spaces we will ignore this latex part in the
7782 (parseSingleLyXformat2Token \\layout): better compatibility when
7783 reading layout-latex stuff.
7784 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7786 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7787 stuff after reading the inset only get the information back from
7790 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7792 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7794 * LaTeXFeatures.C (getBabelOptions): New method.
7796 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7798 * BufferView_pimpl.C (Dispatch): work around missing argument for
7801 2002-05-08 Juergen Vigna <jug@sad.it>
7803 * text.C (leftMargin): handle paragraph leftindent.
7805 * paragraph.C (writeFile): write the new \\leftindent tag.
7806 (validate): handle leftindent code.
7807 (TeXEnvironment): handle paragraphleftindent code again.
7809 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7811 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7812 for paragrap_extra indent code and new token \\leftindent.
7813 (latexParagraphs): handle the leftindent as environment.
7815 * ParameterStruct.h: added leftindent support.
7817 * ParagraphParameters.C (leftIndent): added support functions for
7818 the paragraph left indent.
7820 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7823 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7825 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7828 * text.C (computeBidiTables): No bidi in insetERT.
7830 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7833 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7835 * version.C.in: pre 5
7837 2002-05-02 José Matos <jamatos@fep.up.pt>
7838 * buffer.C (makeDocBookFile): white space changes, add newline to
7840 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7842 * tabular.C (docBook): fix typo.
7844 2002-05-03 Juergen Vigna <jug@sad.it>
7846 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7847 change in LyXText as we can not be sure it was not freed.
7848 (drawOneRow): remove unused code.
7850 * text.C (drawInset): redo the calculation of the need_break_row as
7851 it could have a row which was already freed.
7852 (draw): look at the return value of drawInset and return false if
7853 it also returned false.
7854 (paintRowText): look at the return value of draw and return false if
7855 it also returned false.
7857 * lyxtext.h: added bool return type to drawInset() and draw() so that
7858 if we have a change in the row so that the rowbreak has to be redone
7859 we abort drawing as it will be called again.
7861 2002-05-02 Juergen Vigna <jug@sad.it>
7863 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7864 a change in the maintext also if we're inside an inset.
7865 (Dispatch): set the cursor again after a break line and after the
7866 screen has been updated as it could be we're in a different row.
7868 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7869 to set the cursor behind the pargraph with > size().
7870 (setCursor): check also for the same paragraph when checking where
7871 to put the cursor if we have a NFR inset.
7873 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7874 parts of layout read further up as it still was in the wrong
7877 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7879 * screen.C (drawFromTo): change sine fullRebreak always return
7882 * buffer.C (parseSingleLyXformat2Token): reindent some
7884 * BufferView_pimpl.C (update): change since fullRebreak always
7886 (Dispatch): git rid of the last hardcoded "Standard"s.
7888 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7890 * text2.[Ch] (fullRebreak): make it return void now that we always
7893 2002-04-30 Juergen Vigna <jug@sad.it>
7895 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7896 ert compatibility check for "latex" layout.
7898 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7900 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7901 minipages: use col% instead of p%, and also use the current font.
7902 (makeLaTeXFile): Fix use babel condition.
7903 (parseSingleLyXformat2Token): Correct font when reading old floats.
7905 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7907 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7908 inserting list of floats.
7910 2002-04-25 Herbert Voss <voss@lyx.org>
7912 * MenuBackend.C (expand): don't add the graphics extensions to the
7915 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7917 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7918 non-existing layout, do not complain if it was the default layout
7919 of the original class (bug #342)
7921 2002-04-24 Juergen Vigna <jug@sad.it>
7923 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7924 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7926 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7928 * buffer.C (getBibkeyList): If using \bibliography, return the
7929 option field with the reference itself. Enables us to provide natbib
7930 support when using \bibliography.
7932 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7934 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7936 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7937 natbib is provided by the LaTeX class.
7939 2002-04-23 Juergen Vigna <jug@sad.it>
7941 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7944 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7946 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7948 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7950 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7951 ensuremath around textordmasculine, textordfeminine and
7954 2002-04-19 Juergen Vigna <jug@sad.it>
7956 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7957 reinitializing the buffer otherwise row-dimensions may be wrong.
7958 (update): reset also the selection cursors if they do exits otherwise
7959 their x/y positions may be wrong.
7961 * text2.C (cursorDown): don't enter the inset if we came from a row
7962 above and are one row over the inset.
7964 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7965 really leaving an inset.
7967 2002-04-18 Juergen Vigna <jug@sad.it>
7969 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7970 of the selected paragraph does not have the selected layout also if
7973 * text2.C (setLayout): fixed bug which did not change last selected
7976 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7977 changed the read and substituted \\end_float with \\end_inset!
7979 * BufferView_pimpl.C (cursorPrevious):
7980 (cursorNext): fixed to make it work with rows heigher than the work
7981 area without moving the cursor only the draw of the row.
7982 (workAreaMotionNotify): fix jumping over high rows.
7984 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7986 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7989 2002-04-16 Juergen Vigna <jug@sad.it>
7991 * text2.C (setCursor): set also the irow().
7992 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7994 (cursorDown): support for locking an inset if the x_fix value goes
7995 inside it. That way I can transverse insets too with cursor up/down.
7997 * lyxrow.h: added irow helper function same as other (i) functions.
7999 * BufferView_pimpl.C (cursorPrevious):
8000 (cursorNext): fixed for insets!
8002 2002-04-15 Juergen Vigna <jug@sad.it>
8004 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8005 position otherwise it is wrong in some cases.
8007 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8008 inside the inset before the call.
8010 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8012 * buffer.[Ch] (getBibkeyList): make it const.
8014 2002-04-12 Juergen Vigna <jug@sad.it>
8016 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8018 * text2.C (getCursorX): new helper function
8019 (setCursor): compute also ix_
8020 (setCursorFromCoordinates): set also ix.
8022 * lyxcursor.h: added ix_ and helper functions.
8024 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8026 * buffer.C (insertStringAsLines): dont break paragraph if the this
8027 paragraph is inside an inset which does not permit it!
8029 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8030 also with no chars on this paragraph.
8031 (paintRowText): only paint stuff if it's inside the workarea!
8033 * paragraph.C (breakParagraph): honor keepempty flag and break the
8034 paragraph always below not above.
8036 * BufferView2.C (unlockInset): update the paragraph layout on inset
8037 unlock as we changed paragraph in such a case.
8039 * lyxfind.C (LyXFind): clear the former selection if not found!
8041 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8042 again called in insertChar().
8044 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8045 an inset which uses the whole row!
8046 (rightMargin): ditto.
8047 (insertChar): force a rebreak if we inserted an inset!
8049 2002-03-28 Herbert Voss <voss@lyx.org>
8051 * lyxlength.[Ch]: add inBP() to get the right PS-point
8052 units (BigPoint). With inPixels we have rounding errors
8054 2002-04-11 Juergen Vigna <jug@sad.it>
8056 * text2.C (setCursorFromCoordinates): set iy to the right value.
8057 (setCursor): add check if row->previous exists!
8059 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8060 an old float_type as this was the case in the old code!
8062 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8064 * BufferView2.C (showLockedInsetCursor): use iy
8065 (fitLockedInsetCursor): ditto
8067 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8068 locked insets as there we have the right value now.
8070 * lyxcursor.C: added iy_ variable and iy functions to set to the
8071 baseline of cursor-y of the locked inset.
8073 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8074 (setCursor): fixed for insets which need a full row.
8076 * text.C (rowLastPrintable): don't ignore the last space when before
8077 an inset which needs a full row.
8078 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8079 as last character of a row when before a inset which needs a full row.
8081 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8083 * version.C.in: update date
8085 * text2.C (fullRebreak): try to always return true and see what
8088 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8090 * MenuBackend.C (expand): use Floating::listName
8092 * FloatList.C (FloatList): add listName argument to the built-in
8095 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8096 text associated with the float.
8098 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8100 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8102 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8104 * ShareContainer.h: add a couple of missing typenames.
8106 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8108 * lyxrc.C (getDescription): use _() correctly rather than N_().
8110 2002-03-28 Herbert Voss <voss@lyx.org>
8112 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8113 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8115 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8117 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8118 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8120 2002-03-29 Juergen Vigna <jug@sad.it>
8122 * lyxfunc.C (dispatch): add a missing fitCursor call.
8124 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8125 it was scrolled by a cursor move, so return the bool status.
8127 * BufferView.C (fitCursor): return the bool flag also to the outside
8128 world as this is needed.
8130 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8132 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8133 call the edit() as it is not needed (and wrong) IMO.
8134 (workAreaButtonPress): set the screen_first variable before evt.
8135 unlock the inset as this may change screen_first and then we have
8136 a wrong y position for the click!
8138 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8140 * MenuBackend.C (expand): another translation that I missed
8142 2002-03-28 Juergen Vigna <jug@sad.it>
8144 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8146 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8148 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8150 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8152 * MenuBackend.C (expand): fix export/view/update when there is no
8155 2002-03-27 Herbert Voss <voss@lyx.org>
8157 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8160 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8162 * bufferview_funcs.C (currentState): only show paragraph number
8163 for is DEVEL_VERSION is set.
8165 * lyxfunc.C (dispatch): put warning in INFO channel
8167 * MenuBackend.C (expand): translate the name of floats
8169 * FloatList.C (FloatList): mark the float names for translation
8171 * converter.C (convert): use LibScriptSearch
8173 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8175 * MenuBackend.C (defaults): fix default menu (we might as well get
8178 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8180 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8183 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8185 * lyxvc.C: reorder includes.
8187 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8189 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8192 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8194 * CutAndPaste.C: change layouts earlier on paste
8195 to avoid crashing when calling getFont()
8197 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8199 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8202 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8204 * WorkArea.C: remove 'Pending' debug message.
8206 * most files: ws cleanup
8208 * buffer.[Ch]: ws changes
8210 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8212 2002-03-21 Juergen Vigna <jug@sad.it>
8214 * tabular.C (SetMultiColumn): collapse also the contents of the
8215 cells and set the last border right. Added a Buffer const * param.
8217 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8219 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8222 2002-03-19 Juergen Vigna <jug@sad.it>
8224 * text2.C (clearSelection): reset also xsel_cache.
8226 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8227 where it needs to be called (John tells us to do so too :)
8228 (selectionLost): reset sel_cache.
8230 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8232 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8234 * text2.C (setCursorIntern): put debuging code in INSETS channel
8236 2002-03-19 André Pönitz <poenitz@gmx.net>
8238 * lyxfunc.C: tiny whitespace change
8240 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8242 * ToolbarDefaults.C (init):
8243 * LyXAction.C (init):
8245 * BufferView_pimpl.C (Dispatch):
8246 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8248 2002-03-19 Allan Rae <rae@lyx.org>
8250 * exporter.C (Export): removeAutoInsets before doing anything else.
8251 While I've just introduced a dependency on BufferView this really is
8252 the best place to clean the buffer otherwise you need to cleanup in
8253 a dozen places before calling export or cleanup in a dozen functions
8256 * converter.C (runLaTeX):
8257 (scanLog): Better handling of removeAutoInsets and screen updates.
8259 * lyxfunc.C (dispatch): small whitespace changes
8261 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8263 * WorkArea.C (C_WorkAreaEvent): return a value.
8264 (event_cb): return 1 if we handled the event, 0 otherwise.
8266 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8268 2002-03-18 Juergen Vigna <jug@sad.it>
8270 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8271 (GetAdditionalWidth): ditto.
8275 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8276 inset if we're there actually (probably not used right now but this
8277 is the direction to go for unifying code).
8278 (paste): disable code to clear the selection.
8280 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8281 inside an InsetText and move the check further up as it is in the
8284 * text2.C (pasteSelection): set a selection over the pasted text.
8286 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8288 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8289 and libgraphics to build on Cygwin.
8291 2002-03-15 Juergen Vigna <jug@sad.it>
8293 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8294 inserting an Inset into the paragraph. I know this is not the best
8295 fix but we already use current_view in CutAndPaste so we will remove
8296 all of it's using at the same time.
8298 * buffer.C (sgmlError): deactivated function till it is rewritten in
8299 the right mode, now it can create problems.
8301 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8302 before accessing it.
8304 2002-03-14 Juergen Vigna <jug@sad.it>
8306 * undo_funcs.C (textHandleUndo): do the right thing when updating
8307 the inset after the undo/redo.
8309 * text2.C (setCursor): just some testcode for #44 not ready yet.
8311 * undo_funcs.C (textHandleUndo): set the next() and previous()
8312 pointers of the paragraph to 0 before deleting otherwise we have
8313 problems with the Paragraph::[destructor].
8315 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8316 on a paragraph insertion.
8318 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8320 * buffer.C (asciiParagraph): use += operator for char append to
8323 * paragraph.C (getFontSettings): compare >= not just >
8324 (highestFontInRange): ditto
8327 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8329 * paragraph.C: change several algorithm to be more appripriate for
8330 the problem domain. This is lookip in FontList and in the InsetList.
8332 2002-03-13 André Pönitz <poenitz@gmx.net>
8335 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8337 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8342 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8344 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8346 * Painter.C (display): anon helper function, adjust code for this
8348 (pixmap): remove function.
8350 * Painter.h: remove private display variable.
8352 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8354 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8356 * WorkArea.[Ch]: remove figinset_canvas cruft.
8358 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8360 * lyxtextclass.C (operator): add one item cache optimization.
8362 * bufferlist.h: doxy changes
8364 * bufferlist.C: ws changes
8366 * DepTable.[Ch] (ext_exist): place const in the right spot.
8368 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8370 (workAreaExpose): call resizeInsets when the with BufferView changes.
8371 (Dispatch): adjust for protectedBlank removal
8372 (specialChar): call updateInset if the insert went ok.
8374 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8375 specialChar instead.
8377 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8379 * BufferView.h: doxy change
8381 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8383 * lyxtextclass.C (operator[]): remove non-const version
8384 (defaultLayout): remove non-const version
8386 2002-03-12 Juergen Vigna <jug@sad.it>
8388 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8389 did resize the LyXText too.
8391 * buffer.C (readLyXformat2): set layout information on newly allocated
8394 * tabular.C (OldFormatRead): set layout information on the paragraph.
8396 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8398 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8400 2002-03-11 Juergen Vigna <jug@sad.it>
8402 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8404 (resizeCurrentBuffer): force also the insets to resize themselfes.
8405 (moveCursorUpdate): fixed up for InsetText.
8407 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8410 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8411 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8412 value of Dialogs::tooltipsEnabled().
8413 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8415 2002-03-08 Juergen Vigna <jug@sad.it>
8417 * BufferView_pimpl.C (updateInset): update inset inside inset also
8418 if it isn't inside theLockingInset().
8420 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8422 * buffer.C (asciiParagraph): redo some of the word and line length
8424 (getLists): look for Caption instead of caption.
8426 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8428 * buffer.C (Buffer): initialize niceFile to true
8431 (makeDocBookFile): make sure niceFile is true on exit
8433 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8435 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8437 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8439 * LyXSendto.C: remove.
8440 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8441 * lyx_gui.C: remove now-redundant comment.
8442 * ColorHandler.h: remove forward declaration of class WorkArea.
8443 * lyxfunc.C: remove #include "WorkArea.h".
8445 2002-03-07 Juergen Vigna <jug@sad.it>
8447 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8448 got moved away with the DEPM and also set the inset_owner always
8449 right which before could have been omitted.
8451 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8453 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8454 wanted layout is not found.
8456 2002-03-07 Juergen Vigna <jug@sad.it>
8458 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8460 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8462 * paragraph.C (breakParagraph): use default layout not layout of
8464 (Paragraph): clear ParagraphParameters.
8466 2002-03-06 Juergen Vigna <jug@sad.it>
8468 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8469 otherwise it would not be a valid lenght. Fixed a special case in
8470 the minipage compatibility read where we end the document with a
8473 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8474 was set as it could be 0 for InsetTexts first entry.
8476 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8478 * paragraph.C (writeFile): if layout is empty write out
8479 defaultLayoutName().
8481 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8482 file without named layout we set layout to defaultLayoutName().
8484 2002-03-06 Juergen Vigna <jug@sad.it>
8486 * CutAndPaste.C (copySelection): set layout for new paragraph.
8488 * text.C (prepareToPrint): leave ERT inset left aligned
8489 (leftMargin): don't indent paragraphs inside ERT insets
8491 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8493 * paragraph.C (breakParagraph): dont call clear do the work manually
8495 * paragraph.[Ch] (clear): remove function
8497 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8499 * paragraph.C (Paragraph): dont call clear, the work has already
8502 * lyxtextclass.C (operator): assert if n is empty
8504 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8505 work manually instead.
8507 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8509 * BufferView_pimpl.C: protect selectionLost against text == 0
8511 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8513 * text.C (breakParagraph): fix a setting layout to '0' problem.
8515 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8517 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8518 final location of file, for the included files, and graphics.
8520 2002-03-05 Juergen Vigna <jug@sad.it>
8522 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8524 2002-03-04 Juergen Vigna <jug@sad.it>
8526 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8528 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8529 last column of multicolumn cells.
8530 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8532 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8534 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8535 file if it doesn't go to a temporary file.
8537 * buffer.C (sgmlOpenTag):
8538 (sgmlCloseTag): remove extra newline insertion.
8540 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8542 * text.C (getRowNearY): comment out debug msg
8544 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8546 * text2.C: first -> first_y
8548 * text.C (getRowNearY): add some attemts at a possible
8549 optimization, not working.
8551 * tabular.[Ch]: add BufferParams to several function so that newly
8552 created paragraph can be initialized to he default layotu for the
8555 * tabular-old.C (ReadOld): add buf->params to call of Init
8557 * screen.C: rename text->first to text->first_y
8559 * paragraph.C (breakParagraph): always set layout in the broken
8562 * lyxtextclass.C (Read): remove lowercase
8565 (delete_layout): ditto
8567 * lyxtext.h: rename first -> first_y
8569 * lyxlayout.C (Read): remove lowercase
8572 (obsoleted_by): ditto
8574 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8576 * buffer.C (insertErtContents): add params are to InsetERT
8577 (parseSingleLyXformat2Token): add code to check if a paragraphs
8578 layout really exist.
8579 (parseSingleLyXformat2Token): add params to several inset
8581 (asciiParagraph): remove lowercase, do the layout comparisons with
8584 * BufferView_pimpl.C (cursorNext): first -> first_y
8585 (resizeCurrentBuffer): first -> first_y
8586 (updateScrollbar): first -> first_y
8587 (scrollCB): first -> first_y
8588 (workAreaMotionNotify): first -> first_y
8589 (workAreaButtonPress): first -> first_y
8590 (checkInsetHit): first -> first_y
8591 (cursorPrevious): first -> first_y
8592 (cursorNext): first -> first_y
8593 (Dispatch): add buffer_->params to severl inset contructors
8595 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8597 * lyxlayout.C (Read): remove some debug info that I forgot.
8599 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8600 clean up the code slightly.
8601 (makeLinuxDocFile): ditto
8602 (makeDocBookFile): ditto
8604 * text2.C: layout as string
8606 * text.C: layout as string
8608 * paragraph_pimpl.C: layout as string
8610 * paragraph.[Ch]: layout as string
8612 * lyxtextclasslist.[Ch]: layout as string
8614 * lyxtextclass.[Ch]: layout as string
8616 * lyxtext.h: layout as string
8618 * lyxlayout.[Ch]: layout as string
8620 * lyx_cb.C: layout as string
8622 * bufferview_funcs.C: layout as string
8624 * bufferparams.C: layout as string
8626 * buffer.C: layout as string
8628 * LyXView.[Ch]: layout as string
8630 * LaTeXFeatures.[Ch]: layout as string
8632 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8634 * BufferView_pimpl.C: change current_layout to string, remove
8639 (workAreaButtonRelease): layout as string
8641 * BufferView2.C (unlockInset): adjust
8643 * vspace.C (asLatexCommand): use an explict temp variable.
8645 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8647 * Makefile.am: use FRONTEND_*
8649 2002-03-01 Juergen Vigna <jug@sad.it>
8651 * tabular.C (SetWidthOfMulticolCell): changed to something better
8652 I hope but still work in progress.
8653 (recalculateMulticolumnsOfColumn): renamed function from
8654 recalculateMulticolCells as it is more appropriate now.
8655 (SetWidthOfCell): calculate multicols better.
8657 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8659 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8661 * lyxfunc.C (processKeySym): print sequence also if it is
8662 `deleted' (complete)
8664 * kbsequence.C (print): print sequence even if it is deleted
8665 (complete would be a better word, actually).
8667 * lyxfunc.C (dispatch): print complete options after a prefix key
8669 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8671 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8673 * text2.C (setCharFont): eliminate setCharFont code duplication.
8675 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8677 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8678 LFUN_TABULAR_FEATURE (bug #177)
8680 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8682 * Makefile.am: remove figure.h
8684 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8686 * Bufferview_pimpl.C:
8698 * text2.C: remove #include "lyx_gui_misc.h".
8700 * LaTeX.C: added #include <cstdio>
8702 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8704 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8705 that the paragraph following this one can have.
8707 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8709 * vspace.C (asLatexCommand): fix bogus gcc warning
8711 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8713 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8715 * text2.C (setLayout): get rid of redundant code
8717 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8719 * text2.C (incDepth): make sure depth cannot be increased beyond
8722 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8724 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8725 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8727 * PainterBase.h (image):
8728 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8731 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8735 * BufferView_pimpl.C:
8736 * BufferView_pimpl.h:
8756 * sp_spell.C: remove fig inset, and the crap house of
8757 cards that follows it
8759 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8765 * nt_defines.h: move .h into support/
8767 * vms_defines.h: remove
8769 * WorkArea.C: add space in debug output
8773 * buffer.C: add WITH_WARNINGS
8777 * bufferlist.C: s/retrive/retrieve/, add docs
8788 * lyxgui.C: add ID to X error handler
8790 * lyxtestclass.c: fix typo
8792 2002-02-26 Juergen Vigna <jug@sad.it>
8794 * tabular_funcs.C (write_attribute): changed so that some default
8795 attributes are not written at all.
8796 (getTokenValue): set default values before trying to read the
8797 value so we have the return value always set as default if we don't
8798 find the token we search for.
8800 * tabular.C (Write): write bools as bools not as strings!
8802 2002-02-22 Juergen Vigna <jug@sad.it>
8804 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8805 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8807 * text.C (leftMargin): don't add an indent for paragraphs inside
8808 tabular cells (fix #208).
8810 2002-02-21 José Matos <jamatos@fep.up.pt>
8812 * tabular.C (docBook): fixed support for long tables.
8814 2002-02-20 Juergen Vigna <jug@sad.it>
8816 * text2.C (getFont): get the drawing font of the Inset if this
8817 paragraph is inside an inset (only important for InsetERT for now).
8819 * buffer.C (insertErtContents): use new lanugage params in ERT
8822 * CutAndPaste.C: commenting out seemingly uneeded code.
8824 2002-02-19 Allan Rae <rae@lyx.org>
8826 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8827 Iterators might be simple to use but they also get invalidated.
8828 (removeAutoInsets): renamed saved cursor tracking variables and added
8829 some comments to clarify what everything does.
8831 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8838 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8839 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8842 * vc-backend.h: remove #include "support/syscall.h"
8846 * converter.C: rearrange #includes in Lars' approved fashion.
8848 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8849 forward declare class Timeout in the header file.
8851 * XFormsView.C: changes due to the above.
8853 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8856 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8857 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8859 2002-02-18 José Matos <jamatos@fep.up.pt>
8861 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8864 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8866 * a lot of small ws changes
8867 * add a lot of using std::XXX
8868 * use std construcs some places where approp.
8869 * use some exisint stuff from lyxfunctional where approp.
8870 * Make file changes to use partial linking (lets test this now...)
8872 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8876 remove #include "support/syscontr.h" as it's redundant. Always has been.
8884 change Systemcalls::System to Systemcalls::Wait and
8885 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8886 No change of functionality, just reflects the stripped down Systemcalls
8889 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8891 * debug.[Ch]: add a GRAPHICS type to the enum.
8893 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8895 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8897 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8900 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8902 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8903 match the changes below.
8905 * text2.C (toggleInset): if there is not editable inset at cursor
8906 position, try to see if cursor is _inside_ a collapsable inset
8909 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8911 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8912 document menu has a nice checkbox
8914 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8916 * lyxlength.C (asLatexString): change PW to output as percent of
8919 * lengthcommon.C: change '%' to 't%'
8921 * lyxfunc.C (dispatch): a few comments from Martin
8923 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8927 * BufferView_pimpl.h:
8928 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8931 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8933 * vspace.C (inPixels): fix compiler warning
8935 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8937 * lyxfunc.C (getStatus): fix status message for disabled commands.
8939 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8941 * BufferView_pimpl.C: fix crash on close buffer
8942 during selection (#227)
8944 2002-01-27 Herbert Voss <voss@lyx.org>
8946 * buffer.C: link old Figure to new graphic inset
8948 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8950 * FontLoader.C (getFontinfo): Change the latex font names in order
8951 to match the names of type1inst.
8953 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8955 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8957 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8960 (remove_files_with_extension): ditto
8961 (remove_file): ditto
8964 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8965 document is smaller than the work area height. Do not initialize
8966 static variables to 0.
8968 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8970 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8972 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8973 LFUN_LAYOUT_PARAGRAPHS.
8975 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8976 tabular. It is possible to provide a possible cell, which will
8977 typically be the actcell from the corresponding insettabular
8979 * lyxfunc.C (getStatus): small cleanup; disable
8980 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8983 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8985 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8987 * paragraph.C (startTeXParParams):
8988 (endTeXParParams): new methods. The LaTeX code to
8989 start/end paragraph formatting
8990 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8991 empty (fixes bug #200)
8993 * vspace.C (inPixels): adapt to the change below
8994 (inPixels): [later] more cleanups (remove unused variables)
8996 * lyxlength.C (inPixels): change to use a width and a height as
8999 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9001 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9002 Replaced with \paperwidth
9004 * DepTable.C (insert): add std:: qualifier
9006 2002-01-18 Allan Rae <rae@lyx.org>
9008 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9011 * text.C (drawInset): Turned out I didn't know enough about how
9012 rebreaking worked. This fixes most of the redraw problems. I see
9013 an occasional cursor trail when a line is broken now and the cursor
9014 placement can seem out by a few pixels also after a rebreak.
9016 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9018 * buffer.C (parseSingleLyXformat2Token): update because minipage
9019 width is now a LyXLength
9021 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9023 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9026 2002-01-17 Juergen Vigna <jug@sad.it>
9028 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9030 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9031 is set correctly and the inset is updated correctly.
9033 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9035 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9036 the beginning of the loop.
9038 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9040 * lyxrc.C: improve help for use_scalable_fonts
9042 2002-01-17 Allan Rae <rae@lyx.org>
9044 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9046 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9048 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9049 make sure to set their inset_owner to the right value (bug #171)
9051 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9054 * DepTable.C: Implement mtime checking to reduce time spent doing
9057 2002-01-16 Juergen Vigna <jug@sad.it>
9059 * tabular.C (GetAdditionalHeight): one of error fixed.
9061 * lyxrc.C (output): small fix in writing use_pspell.
9063 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9065 * sp_base.h: #include LString.h
9067 2002-01-16 Allan Rae <rae@lyx.org>
9069 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9070 Can someone check this please?
9072 * text.C (drawInset): It was possible that p.row would be removed by
9073 breakAgainOneRow upsetting a few other settings. There may be another
9074 small tweak possible by setting need_break_row = 0 when p.row has been
9075 removed but I don't know enough about the logic here.
9077 2002-01-15 Allan Rae <rae@lyx.org>
9079 * text.C (insertChar): removed conditional truism.
9081 * BufferView2.C (removeAutoInsets): More tweaks.
9082 cur_par_prev could be a stray pointer. Check for trailing empty line
9083 in case last line was cur_par and only had an error inset on it.
9085 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9087 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9090 * vc-backend.C (most methods):
9091 * exporter.C (Export):
9092 * converter.C (convert):
9094 * LyXSendto.C (SendtoApplyCB):
9095 * lyxfunc.C (dispatch):
9099 * lyx_cb.C (AutoSave):
9101 * BufferView_pimpl.C (MenuInsertLyXFile):
9102 * buffer.C (runChktex): use Buffer::filePath().
9104 * buffer.h: rename filename to filename_; rename filepath to
9105 filepath_ and make it private
9106 (filePath): new method
9108 * buffer.C (writeFile): use fileName()
9111 * lyx_main.C (init): fix starting of LyX when the binary is a
9112 link from so,ewhere else.
9114 * minibuffer.C: include <cctype> for isprint
9116 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9118 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9119 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9120 name clash with InsetCollapsable's width function.
9122 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9124 * lastfiles.C: include <iterator>
9126 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9128 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9131 * buffer.C (makeLaTeXFile): ditto.
9132 Also make loop operation more transparent.
9134 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9136 * ToolbarDefaults.C: remove trailing comma closing namespace.
9138 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9140 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9143 * trans.C (Load): comment out unused variable, allowed.
9145 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9147 * minibuffer.[Ch] (append_char): new method to recieve input from the
9148 drop-down completion browser. If a key was pressed, then recieve this
9149 char and append it to the existing string.
9150 (peek_event): modify the positioning data passed to the completion
9151 browser so that it can be placed above the minibuffer rather than below.
9152 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9154 * LyXAction.C (init): alloe error-next for readonly documents.
9156 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9159 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9161 * bufferlist.C (readFile): create the buffer _after_ checking that
9164 * lyxfunc.C (verboseDispatch): fix handling of arguments
9166 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9168 * lyxrc.C: use string::erase() instead of initializing to "".
9171 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9173 * BufferView_pimpl.h:
9174 * BufferView_pimpl.C:
9177 * text2.C: tell X when we have made a selection for copying
9179 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9181 * BufferView_pimpl.C (MenuInsertLyXFile):
9182 * lyxfunc.C (menuNew):
9184 (doImport): add shortcuts to directory buttons
9186 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9189 * lyxfunc.C (setStatusMessage):
9190 (getStatusMessage): new methods
9191 (getStatus):use setStatusMessage instead of setErrorMessage
9192 (dispatch): when function is disabled, set error message here
9193 [instead of in getStatus previously]
9195 * BufferView_pimpl.C (workAreaButtonRelease): update
9196 toolbar/menubar here too.
9198 2002-01-13 Allan Rae <rae@lyx.org>
9200 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9201 Now seems indestructible. Remaining task is to audit all other
9202 code affected by deleteEmptyParagraphMechanism. One small quirk
9203 left is that an empty document with an error in the preamble can
9204 be made to report an error but no error box appears. I don't know
9206 (removeAutoInsets): Improved comments.
9208 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9211 * Thesaurus.C: update for Aiksaurus 0.14
9213 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9215 * text2.C (firstParagraph): removed member function, all uses
9216 replaces with ownerParagraph
9217 (redoParagraphs): here
9219 (toggleAppendix): here
9220 * BufferView2.C (insertErrors): here
9221 (setCursorFromRow): here
9223 2002-01-13 Allan Rae <rae@lyx.org>
9225 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9226 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9227 There is still a way to segfault this although you may have to do this
9228 multiple times: Have an InsetERT with an unknown command in it.
9229 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9230 <down-arrow>, <Enter> again, View->DVI, BANG!
9232 * text2.C (setCursor):
9233 (deleteEmptyParagraphMechanism):
9234 * lyxtext.h (setCursor):
9235 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9236 Making use of the return value may help fix other bugs.
9238 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9240 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9242 * LyXView.C (updateMenubar): call MenuBar::update here
9243 (updateToolbar): but not here
9244 (showState): do not update toolbar/menubar
9246 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9247 should need to care about that.
9249 * lyxfunc.C (verboseDispatch): simplify a bit
9250 (getStatus): have a version which takes a pseudoaction, and
9251 another which requires a (kb_action,string).
9253 * LyXAction.C (retrieveActionArg): make it work also when action
9254 is not a pseudo-action.
9255 (getActionName): simplify a bit
9258 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9260 * lyxfunc.C (verboseDispatch): new families of methods with
9261 several ways to specify a command and a bool to indicate whether
9262 the command name and shortcut should be displayed in minibuffer
9263 (eventually, we could extend that to a finer bitmask like
9264 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9265 (dispatch): the pristine dispatch command which just, well,
9266 dispatchs! Note it still sets its result to minibuffer; I'm not
9269 * lyxfunc.h: remove setHintMessage
9271 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9273 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9275 * BufferView_pimpl.C (specialChar): delete new inset if we have
9276 not been able to insert it.
9278 * kbmap.C: revert to using int instead of kb_action, since all we
9279 are dealing with is pseudo-actions.
9281 * LyXAction.C (searchActionArg): change to return int instead of
9282 kb_action, since the result is a pseudoaction.
9284 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9286 * buffer.C (insertErtContents): Fix (partially) the font bug.
9288 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9290 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9291 as the other one is broken on my machine!
9293 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9296 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9298 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9300 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9301 reflect their actual use. Provide compatibility code for older lyxrc
9304 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9306 change names of popup font variables in line with the changes to lyxrc.C
9308 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9310 * buffer.C (asciiParagraph): avoid outputing a word twice after
9313 * lyxrc.C (getDescription): document that document_path and
9314 template_path can be empty.
9316 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9318 * LaTeXFeatures.C (getMacros):
9319 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9321 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9323 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9325 (getPackages): rename feature "floats" to "float". Use an array to
9326 iterate over 'simple' features (i.e. just a \usepackage). Add
9327 handling of "amsmath" (renamed from "amsstyle").
9329 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9331 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9334 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9336 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9337 FuncStaus::FuncStatus & FuncStaus::some_method().
9339 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9341 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9342 of the func_satus stuff. Edited and massaged in various ways by
9345 * lyxfunc.C (getStatus): use FuncStatus
9347 2002-01-08 Juergen Vigna <jug@sad.it>
9349 * text.C (nextBreakPoint): use function Inset::isChar().
9351 * paragraph.C (TeXOnePar): use function
9352 Inset::forceDefaultParagraphs.
9354 * buffer.C (latexParagraphs): use function
9355 Inset::forceDefaultParagraphs.
9357 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9359 * lyx_gui.C (init): set the style of the menu popups to
9360 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9362 2002-01-07 Juergen Vigna <jug@sad.it>
9364 * text.C (setHeightOfRow): small fix
9365 (prepareToPrint): don't look at alignment if we don't have the place
9368 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9370 * box.C: New file. Move the Box methods and functions out of box.h,
9371 following Lars' suggestion.
9373 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9375 * box.h: #include "support/LOstream.h", needed for inlined function.
9378 * lyxtextclasslist.C: added some using std declarations.
9380 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9382 * box.h: make signed dimensions to allow insets wider than
9383 the screen (bug #162)
9385 * BufferView_pimpl.C: add some insetHit debug
9387 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9389 * vc-backend.C: add FIXME
9391 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9393 * lyxfunc.C (getStatus): enable code for showing math font status
9396 2002-01-07 Juergen Vigna <jug@sad.it>
9398 * text.C (nextBreakPoint): removed debug output not needed anymore.
9400 2002-01-06 Juergen Vigna <jug@sad.it>
9402 * text.C (nextBreakPoint): fixed up this function we had this bug
9403 since ever but now hopefully we break row better.
9404 (insertChar): we have to check if an inset is the next char as it
9405 could now happen that a large inset is causing a break.
9407 2002-01-05 Juergen Vigna <jug@sad.it>
9409 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9410 if it doesn't like to be drawed.
9412 2002-01-04 Juergen Vigna <jug@sad.it>
9414 * BufferView2.C (lockInset): forgot to set a cursor.
9416 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9418 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9423 * form_maths_panel.C:
9424 * form_maths_panel.h:
9425 * form_maths_panel.fd: implemented sub- and super- buttons in math
9428 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9429 (or ^ space) to be used as in TeX (req'd by André).
9431 * lyxfunc.C: Allow ^ and _ again to be used both as
9432 super/subscript (mathed) and as themselves (in text).
9434 2002-01-03 Allan Rae <rae@lyx.org>
9436 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9437 "LyX" or the filename of the current buffer if it has one. This is a
9438 modified form of John Levon's patch.
9440 * XFormsView.C (setWindowTitle): also set icon title.
9442 * LyXView.h (setWindowTitle): signature changed.
9443 * XFormsView.h (setWindowTitle): ditto.
9445 2002-01-02 Juergen Vigna <jug@sad.it>
9447 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9449 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9451 * screen.C (topCursorVisible): introduce a temp var for
9452 text->cursor.row(), handle the case where this row is null. (kindo
9455 * text2.C (setCursor): add a couple of asserts.
9457 * paragraph.h (inset_iterator): add -> operator
9459 * paragraph.[Ch] (autoDeleteInsets): remove member function
9461 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9462 cursor pos correctly and handle inset deletion by itself.
9463 (insertErrors): move iterator declaration out of for expression
9465 * lyxtextclass.C: add <algorithm>
9467 * Makefile.am: added the new files to sources, removed layout.C
9469 * layout.C: removed file
9471 * layout.h: remove LYX_DUMMY_LAYOUT
9473 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9477 * lyxtextclass.[Ch]:
9478 * lyxtextclasslist.[Ch]: new files
9480 * include order changes to a lot of files, also changes because of
9483 2001-12-27 Juergen Vigna <jug@sad.it>
9485 * buffer.C (asciiParagraph): more fixes.
9487 * tabular.C (ascii): make ascii export support export of only the
9488 data separated by a column-delimiter.
9489 (ascii): better support for ascii export.
9491 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9493 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9495 * tabular_funcs.C: use a "using std::getline" instead of the
9496 previous fix from Angus (necessary for cxx + lyxstring)
9498 2001-12-24 Juergen Vigna <jug@sad.it>
9500 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9502 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9503 problems. First check a minipage also if we have some ert-contents
9504 (not only on par->size(), second set the right depth of the paragraph
9505 on the relink to the root-paragraph-list!
9507 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9508 which then did not anymore update the main paragraphs on undo/redo!
9510 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9512 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9513 code. Support all font-changing funcs (even those which are not in
9514 menu currently). Support for reporting font settings in
9515 mathed (disabled until Andre provides a function on mathed's side).
9517 * func_status.h (toggle): small helper function to set toggle
9520 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9522 * tabular_funcs.C: getline -> std::getline
9524 2001-12-21 Juergen Vigna <jug@sad.it>
9526 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9527 accessed and could be 0 (I couldn't generate this but it seems
9530 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9532 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9533 * tabular_funcs.h: here and include iosfwd
9535 2001-12-20 Juergen Vigna <jug@sad.it>
9537 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9538 inside inset but undo_par was.
9540 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9542 * Thesaurus.C: always include <config.h> in sources.
9546 * box.h: do not include <config.h> in header files
9548 * text.C (paintLastRow): remove unused variable
9550 * text.C (transformChar):
9552 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9555 * font.C (width): rewrite to use uppercase() instead of
9558 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9560 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9562 * lyxfind.C: clean up of find failure position change
9564 2001-12-20 Juergen Vigna <jug@sad.it>
9566 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9568 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9569 (TeXRow): added to LaTeX a single tabular row.
9570 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9571 (Latex): simplified and finally good LT-h/f support.
9572 (various_functions): just small adaptions for LT-h/f support.
9574 * tabular_funcs.[hC]: added and moved here all not classfunctions
9577 2001-12-19 Juergen Vigna <jug@sad.it>
9579 * tabular.[Ch]: better support for longtabular options (not finished
9582 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9584 * text.C (paintLastRow): use the label font instead of the font of
9585 the last character to compute the size of *_BOX. This makes more
9586 sense and avoids a crash with empty paragraphs.
9587 Use Painter::rectangle to draw EMPTY_BOX.
9589 2001-12-19 Juergen Vigna <jug@sad.it>
9591 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9592 the paragraphs if the replaced paragraph is not the first one!
9593 Tried to delete not used paragraphs but does not work yet so for
9594 now it's inside #ifdef's and by default off!
9596 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9598 * MenuBackend.C: include "lyx_main.h" instead of declaring
9599 lastfiles (actually was declared as LastFiles* instead of a
9602 2001-12-17 Juergen Vigna <jug@sad.it>
9604 * tabular.C (AppendColumn): applied John's fix
9606 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9610 * BufferView_pimpl.h:
9611 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9614 * box.h: new start of class for above
9616 * lyxfunc.C: ignore space-only minibuffer dispatches.
9617 Show the command name when it doesn't exist
9619 * minibuffer.C: don't add empty lines to the history
9621 * minibuffer.C: add a space on dropdown completion
9623 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9625 * text.C: fix line above/below drawing in insets
9627 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9629 * lyxlength.C (LyXLength): Initialize private variables.
9631 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9633 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9634 when inserting error insets.
9636 2001-12-13 Juergen Vigna <jug@sad.it>
9638 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9639 actually sometimes the before-paragraph.
9640 (setUndo): don't clear the redostack if we're not actually undoing!
9642 2001-12-06 Juergen Vigna <jug@sad.it>
9644 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9645 and fixed redoing of main paragraph, so we can use it now ;)
9647 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9649 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9651 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9654 2001-12-13 André Pönitz <poenitz@gmx.net>
9657 * undo_func.C: minor cleanup
9659 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9661 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9662 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9663 font in urw-fonts package which is marked as -urw-fontspecific and
9664 does not work (incidentally, changing the encoding in the
9665 fonts.dir of this package to -adobe-fontspecific fixes the
9668 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9669 is a crash when undoing first paragraph (Juergen, please take a
9670 look). THis does not mean the undo fix is wrong, just that it
9673 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9674 the (Paragraph*) version when needed instead of duplicating the
9677 * text.C (workWidth): use Inset::parOwner to find out where the
9678 inset has been inserted. This is a huge performance gain for large
9679 documents with lots of insets. If Inset::parOwner is not set, fall
9680 back on the brute force method
9682 * paragraph_pimpl.C (insertInset):
9683 * paragraph.C (Paragraph):
9684 (cutIntoMinibuffer): set parOwner of insets when
9685 inserting/removing them
9687 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9689 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9695 * mathed/formulabase.C:
9696 * mathed/math_cursor.[Ch]:
9697 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9700 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9702 * lyxlength.[Ch] (operator!=): new function
9704 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9706 * text.C (workWidth): use Inset::parOwner to find out where the
9707 inset has been inserted. This is a huge performance gain for large
9708 documents with lots of insets. If Inset::parOwner is not set, fall
9709 back on the brute force method
9711 * paragraph_pimpl.C (insertInset):
9712 * paragraph.C (Paragraph):
9713 (cutIntoMinibuffer): set parOwner of insets when
9714 inserting/removing them
9716 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9718 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9720 * tabular-old.C (getTokenValue):
9721 * tabular.C (getTokenValue):
9722 (write_attribute): new versions for LyXLength
9723 (everywhere): adjust the use of widths
9725 * tabular.h: change the type of widths from string to LyXLength
9727 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9729 * paragraph.C: fixed missing line number count when exporting
9730 Environments to LaTeX file
9732 * buffer.C: added informational message for checking line numbers.
9734 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9736 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9737 paragraph, do the 'double space' part, but not the 'empty
9740 * text.C (workWidth): small optimization
9741 (getLengthMarkerHeight): use minimal size for negative lengths.
9743 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9745 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9747 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9749 2001-12-11 André Pönitz <poenitz@gmx.net>
9752 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9754 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9756 * text2.C: keep selection on a setFont()
9758 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9760 * lyx_cb.C: another bv->text misuse, from insert label
9762 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9765 * kbsequence.C: re-instate nmodifier mask
9767 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9769 * lyx_main.h: make lyxGUI private.
9771 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9773 * lyxfind.C: place the cursor correctly on failed search
9775 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9777 * text.C (getLengthMarkerHeight): for small heights, the arrows
9778 are not always on top/bottom of the text
9779 (drawLengthMarker): smaller arrows; take the left margin in
9780 account; draw also vfills.
9782 (paintLastRow): remove special code for vfill and standard spaces,
9783 since everything is handled in drawLengthMarker now.
9785 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9787 * buffer.C (insertErtContents): try to handle font and language
9788 interaction a bit better.g
9790 * ColorHandler.C (updateColor): change the hash to cover the whole
9791 LColor enum, ws cleanup
9792 (getGCLinepars): ditto
9793 (getGCLinepars): only lookup in the linecache once.
9795 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9797 * iterators.C (operator++): Make the iterator more robust
9799 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9801 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9803 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9806 * text.C: better added space drawing
9808 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9811 * BufferView2.C: fix layout combo update on inset unlock
9813 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9815 * Makefile.am: don't compile unused files
9817 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9821 * LyXAction.C: remove old LFUN_LAYOUTNO
9823 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9825 * paragraph_pimpl.h:
9826 * paragraph_pimpl.C: isTextAt() doesn't need font param
9828 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9831 * lyxlex.C: little cleanup
9833 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9835 * BufferView_pimpl.C: fix insertAscii for insets
9837 2001-12-05 Juergen Vigna <jug@sad.it>
9839 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9840 set the right font on the "multi" paragraph paste!
9842 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9848 * lyxlength.C: remove out-commented code.
9864 * vc-backend.C: change "while(" to "while ("
9866 * lyxlength.[Ch]: add zero function to check if length is zero or
9868 * lyxgluelength.C: use it
9870 2001-12-05 Allan Rae <rae@lyx.org>
9872 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9873 Works for 2.95.3, from what I understand of Garst's reports this should
9874 work for other g++ versions. We're screwed if the abs(int) definition
9875 changed between bugfix releases of gcc.
9877 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9879 * text.C: fix chapter label offset !
9881 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9884 * text.C: fix hfill at end of line, clean up
9886 2001-12-04 Juergen Vigna <jug@sad.it>
9888 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9889 that we force an update of the inset and it's owners if neccessary.
9891 2001-12-03 Juergen Vigna <jug@sad.it>
9893 * text.C (rowLast): simplified code
9895 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9897 * lyxfunc.C: fix show options on timeout
9899 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9901 * screen.C (topCursorVisible): scroll half a page when the cursor
9902 reached top of bottom of screen
9904 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9906 * minibuffer.C: deactivate on loss of focus
9908 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9910 * vspace.[Ch] (operator!=): add operator.
9912 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9914 * BufferView_pimpl.C: refuse to open an inset when
9915 there's a selection.
9917 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9919 * BufferView_pimpl.C: allow to click on RHS of full row insets
9921 2001-11-30 Juergen Vigna <jug@sad.it>
9923 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9924 insets for undo reasons.
9926 2001-11-28 André Pönitz <poenitz@gmx.net>
9928 * vspace.[Ch]: cosmetical changes
9930 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9940 * kbsequence.C: part re-write of old kb code
9943 * WorkArea.C: remove Lgb_bug_find_hack
9945 2001-11-30 José Matos <jamatos@fep.up.pt>
9947 * buffer.C (makeDocBookFile): add a comment to point a hack.
9948 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9949 Fixed a double write of labels.
9951 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9954 * LaTeX.h Fixed bug in LaTeX class where it would not
9955 re-run latex if no depfiles were changed, but the .dvi was removed.
9957 2001-11-28 André Pönitz <poenitz@gmx.net>
9959 * all the files from the change on 2001/11/26:
9960 use lyx::layout_type instead of LyXTextClass::size_type
9961 use lyx::textclass_type instead of LyXTextClassList::size_type
9963 2001-11-29 Juergen Vigna <jug@sad.it>
9965 * text.C: added support for paragraph::isFreeSpacing()
9967 * buffer.C: same as above
9969 * paragraph.h: inserted isFreeSpacing() function to enable
9970 FreeSpacing inside InsetERT.
9972 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9973 of the paragraph's in the cut/copy buffer to 0!
9975 * text2.C (removeRow): remove the assert as it can!
9977 * lyxtext.h: added helper function firstRow returning firstrow and
9978 made firstrow private again.
9980 * BufferView2.C (lockInset): don't relock if we're already locked!
9982 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9984 (removeRow): added Assert::(firstrow)
9986 * debug.C: forgot to add INSETTEXT here.
9988 2001-11-28 Juergen Vigna <jug@sad.it>
9990 * sp_spell.C (initialize): changed error text to more general
9991 spellchecker command use (not only ispell!)
9993 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9995 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9997 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9999 * vspace.C: initialise lyxgluelength on failure
10001 2001-11-28 Allan Rae <rae@lyx.org>
10003 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10004 declaration & definition that looks like a function declaration.
10006 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10008 * BufferView2.C (copy):
10009 (copyEnvironment): do not clear the selection when doing a copy.
10011 * text.C (paintFirstRow): compilation fix
10013 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10015 * tabular.C (Latex): correct line count when writing latex.
10017 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10019 * paragraph_pimpl.h:
10020 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10023 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10027 * LColor.C: change vfillline->added_space
10029 * text.C: add markers and text for added space
10031 * vspace.C: fix comment
10033 2001-11-28 André Pönitz <poenitz@gmx.net>
10035 * paragraph.C: whitespace changes
10036 * all the other files from the change on 2001/11/26:
10037 change *::pos_type into lyx::pos_type
10039 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10041 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10042 language of the document when inserting error insets.
10044 2001-11-26 André Pönitz <poenitz@gmx.net>
10046 * BufferView_pimpl.[Ch]:
10054 * paragraph_pimpl.[Ch]:
10057 * text2.C: reduce header dependencies, introduce type for positions
10059 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10061 * <various>: change to use Alert.h
10063 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10065 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10066 when encountering an unknown token.
10067 (readLyXformat2): Show an error message if there were unknown tokens.
10069 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10072 * BufferView_pimpl.C:
10076 * text2.C: use par->isInset()
10078 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10080 * paragraph_pimpl.h:
10081 * paragraph_pimpl.C: cleanup
10083 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10085 * text2.C (removeRow):
10086 * text.C (setHeightOfRow): remove useless (and costly) call to
10089 2001-11-20 Allan Rae <rae@lyx.org>
10091 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10092 Now need Inset*::checkInsertChar() to return true for appropriate
10093 cases so that the characters in the minibuffer will actually be
10096 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10098 * text.C: change the order of the includes.
10099 (workWidth): initialize it at once.
10100 (workWidth): make maxw unsigned
10101 (setHeightOfRow): remove unused variable (inset)
10102 (selectSelectedWord): remove unused variable (inset)
10103 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10105 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10107 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10108 server is not running.
10110 (closeConnection): add debug info when server is disabled.
10112 * ColorHandler.C (getGCForeground): send debug message to GUI
10115 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10117 * kbmap.C (bind): modify because return conventions of
10118 kb_sequence::parse have changed.
10120 * kbsequence.C (parse): only ignore spaces and not any stupid
10121 control character. This avoids tests like s[i] <= ' ', which are
10122 guaranteed to fail with 8bit characters and signed chars.
10123 Change return code to string::npos when there have been no error
10124 (0 was a bad idea when error is at first character)
10126 2001-11-14 José Matos <jamatos@fep.up.pt>
10129 * buffer.C (simpleDocBookOnePar): removed unused argument.
10131 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10133 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10134 insets which are part of a word. Paragraph::isLetter takes care of
10135 that now. Use Paragraph::isInset to identify insets.
10136 (selectSelectedWord): do not test for hyphenation break.
10138 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10139 that protected spaces are considered as spaces.
10141 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10144 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10147 * lyxserver.C: fix it. and small cleanup.
10149 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10151 * BufferView_pimpl.C: use inline helpers
10154 * LaTeXFeatures.C: fix typos
10157 * Spacing.C: move spacing_string into class
10159 * ToolbarDefaults.C: move stuff into namespace anon
10161 * layout.h: update enum
10163 * lyxfunc.C: use better debug
10165 * minibuffer.h: fix typo
10169 * WorkArea.C: add and use Debug::WORKAREA
10173 * text2.C: code re-organisation, inline helpers
10175 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10177 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10178 std::vector.empty().
10180 2001-11-09 Allan Rae <rae@lyx.org>
10182 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10183 '\n's after tables. Tabular and ERT inset work now makes this no
10186 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10189 * minibuffer.C: fix crash, improve drop-down completion
10191 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10194 * lyxserver.C: invalidate fd's when doing endPipe()
10196 2001-11-08 José Matos <jamatos@fep.up.pt>
10198 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10199 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10202 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10204 2001-11-07 José Matos <jamatos@fep.up.pt>
10207 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10210 * buffer.C (sgmlOpenTag):
10211 * buffer.C (sgmlCloseTag): removed debug info.
10213 * buffer.h (sgmlOpenTag):
10214 * buffer.h (sgmlCloseTag): made public.
10216 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10218 * buffer.C (saveParamsAsDefaults):
10219 * lyx_cb.C (MenuLayoutSave): remove
10221 * LyXAction.C (init):
10223 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10225 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10227 * buffer.C (setPaperStuff): removed from here...
10229 * bufferparams.C (setPaperStuff): ... and moved there.
10231 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10235 * XFormsView.C: add support for drop-down completion
10237 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10239 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10242 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10244 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10247 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10249 * lyx_main.C: change ref to known bugs
10251 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10253 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10254 to work around older babel problems.
10256 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10258 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10260 2001-10-24 Juergen Vigna <jug@sad.it>
10262 * tabular-old.C (ReadOld): below variable changes reflected.
10264 * tabular.[Ch]: added ltType struct for longtable header/footer
10265 defines and changed all instances where they are used. Added
10266 future support for double top/bottom rows.
10268 2001-10-24 José Matos <jamatos@fep.up.pt>
10270 * buffer.h (docbookHandleCaption):
10271 * buffer.C (docbookHandleCaption): removed unused function.
10272 (makeDocBookFile): moved docbook supported version to v4.1.
10274 2001-10-24 José Matos <jamatos@fep.up.pt>
10277 * tabular.C (docbookRow): new function to export docbook code of a row.
10278 (DocBook): now honors the longtable flags.
10280 2001-10-23 José Matos <jamatos@fep.up.pt>
10283 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10284 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10286 * buffer.C (makeLinuxDocFile):
10287 (makeDocBookFile): reworked the preamble, more clean, and with
10288 support for lyx defined entities. Changed the document declaration
10289 to be more XML friendly.
10291 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10292 if we need to output XML that should be done with a filter.
10294 2001-10-22 Juergen Vigna <jug@sad.it>
10296 * sp_pspell.h (class PSpell): add alive function needed in the
10297 controller to see if the spellchecker could be started.
10299 2001-10-22 Juergen Vigna <jug@sad.it>
10301 * buffer.C (insertStringAsLines): modify the font for inserting
10302 chars in certain conditions by calling checkInsertChar(font).
10304 2001-10-19 Juergen Vigna <jug@sad.it>
10306 * text.C (workWidth): use getRow instead of wrong algorithm.
10307 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10309 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10314 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10316 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10318 * text.C (workWidth): do not search for the exact row when
10319 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10320 optimization for big documents.
10322 2001-10-18 Juergen Vigna <jug@sad.it>
10324 * text.C (workWidth): new function with added Inset * parameter.
10326 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10328 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10330 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10331 change return type of getColumnNearX.
10334 * text.C (changeRegionCase): use uppercase/lowercase instead of
10337 (rightMargin): simplify code by factoring out the uses of
10342 (appendParagraph): use Paragraph::size_type
10344 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10346 * vspace.C (asLatexString): add a missing break
10348 2001-10-15 Herbert Voss <voss@perce.de>
10350 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10352 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10354 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10357 2001-10-10 André Pönitz <poenitz@gmx.net>
10359 * lyxfunc.C: removed greek_kb_flag.
10361 2001-10-10 Herbert Voss <voss@perce.de>
10363 * lyx_main.C: delete global string help_lyxdir.
10365 2001-10-09 Herbert Voss <voss@perce.de>
10367 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10369 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10371 * lyx_main.C: added global string help_lyxdir.
10373 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10375 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10377 * lyxrc.C (set_font_norm_type): support iso8859-4
10379 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10381 * LaTeX.C (deplog): add another regex for MikTeX
10383 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10385 * lyxrc.C (set_font_norm_type): support iso8859-3
10387 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10389 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10391 * LaTeXFeatures.C: remove special case of french and index
10393 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10394 before \begin{document}). This solves several incompatibilities.
10396 2001-10-03 Garst Reese <reese@isn.net>
10398 * lyx_cb.C: change CheckTex error msg.
10400 2001-10-03 José Matos <jamatos@fep.up.pt>
10402 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10404 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10406 * .cvsignore: update
10408 * lyx_main.C (commandLineVersionInfo): use new style version info.
10410 * buffer.C (writeFile):
10412 (makeLinuxDocFile):
10413 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10415 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10417 * version.h: update to use stuff in version.C
10419 * version.C.in: new file. Contains version information determined
10420 at compile time. This is a merging of version.h and
10423 2001-10-03 Juergen Vigna <jug@sad.it>
10425 * BufferView_pimpl.C (update): don't change "dirty" status in
10428 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10430 * WorkArea.C (c-tor): re-position version string slightly.
10432 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10434 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10435 revert to previous code.
10437 WorkArea.[Ch]: (show, destroySplash): methods removed.
10439 WorkArea.C: rework code so that it's an amalgam of the codes before and
10440 after the splash screen was moved to WorkArea.
10442 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10445 * vspace.C (inPixels):
10448 * buffer.C (insertStringAsLines):
10449 (asciiParagraph): fix types to be large enough
10451 * lyxlex_pimpl.h: change member status from short to int
10453 * layout.h: fix type of endlabeltype
10456 * kbsequence.C (parse): change return type to string::size_type
10458 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10461 * Bullet.C (bulletSize):
10462 (bulletEntry): do not use short ints as parameters
10464 * BufferView2.C (insertLyXFile): change a char to an int.
10466 * WorkArea.C (WorkArea): remove unneeded floats in computation
10468 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10470 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10472 * paragraph.C (asString): Do not ignore newline/hfill chars when
10473 copying to the clipboard.
10475 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10477 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10478 after a multi-line inset.
10480 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10482 * paragraph.C (validate): Set NeedLyXFootnoteCode
10484 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10486 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10487 and decrease-error to decrease.
10489 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10491 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10492 it more readable (should be equivalent)
10494 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10496 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10498 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10500 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10501 of a cursor (row, etc.) after a character has been deleted
10502 (deleteEmptyParagraphMechanism): call the method above on _all_
10503 cursors held by the LyXText when a double space has been
10506 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10508 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10510 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10512 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10513 background. Use greyOut() and the new show() methods to toggle between
10514 the foreground and background. Add code to remove the splash after
10515 its initial showing.
10517 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10518 (create_forms): no longer call Dialogs::showSplash.
10520 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10522 * .cvsignore: add version_info.h
10524 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10526 * version_info.h.in: new file
10528 * Makefile.am: add version_info.h.in
10530 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10531 version_info.h instead of VERSION_INFO
10533 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10535 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10536 The ERT inset now returns string().
10538 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10540 * lyxtext.h, text.C (selectNextWord): renamed as
10541 selectNextWordToSpellcheck.
10543 * text.C (selectNextWordToSpellcheck): Modified to not select
10544 words inside an ERT inset.
10546 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10548 * lyx_cb.C (MenuLayoutSave): change a bit the question
10550 * sp_base.h: include <sys/types.h>
10552 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10554 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10556 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10558 * several files: fix typos in user-visible strings
10560 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10562 * text2.C (pasteSelection): do not set the selection, since it
10563 will be cleared later. Actually, the intent was to fix the way the
10564 selection was set, but I figured rmoving the code was just as good.
10566 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10568 * FontLoader.C (available): Check if font is available without
10571 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10573 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10575 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10577 * lyxrc.[Ch]: added display_graphics variable and associated code.
10579 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10581 * bufferparams.C (hasClassDefaults): new method. Returns true if
10582 the buffer parameters correspond to known class defaults
10584 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10586 * XFormsView.C (show): set minimum size to the main window.
10588 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10590 * text2.C (copySelection):
10592 * lyxfind.C (LyXReplace):
10593 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10594 LyXText::selectionAsString.
10596 * paragraph.C (asString): add "label" argument to the second form
10598 * text2.C (selectionAsString): add "label" argument and pass it to
10599 Paragraph::asString.
10601 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10603 * lyx_main.C (commandLineHelp): remove version information
10605 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10607 * lyx_main.C: add -version commandline option
10609 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10611 * paragraph.h: make the optional constructor arg required instead.
10612 some modifications to other files because of this.
10614 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10616 * lyxserver.C (C_LyXComm_callback): make it static
10618 * lyx_main.C (error_handler): make it static
10620 * lyx_gui.C (LyX_XErrHandler): make it static
10622 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10624 * WorkArea.C: make the extern "C" methods static.
10626 * Makefile.am (lyx_LDADD): simplify
10628 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10630 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10631 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10633 * LyXAction.C (init):
10634 * lyxfunc.C (dispatch): associated code removal.
10636 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10638 * lyxfont.h (isSymbolFont): shut off warning
10640 * text.C (setHeightOfRow):
10641 (getVisibleRow): fix crash with empty paragraphs which have a
10644 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10646 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10649 2001-09-04 José Matos <jamatos@fep.up.pt>
10652 * tabular.C (docbook): rename docBook method to docbook.
10654 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10656 * Makefile.am: add dependencies to main.o.
10658 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10660 * FontLoader.C (available): Return false if !lyxrc.use_gui
10662 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10664 * FontInfo.C (query):
10665 * converter.C (view):
10666 * importer.C (Import):
10667 * exporter.C (Export): Can not -> cannot.
10669 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10671 * BufferView_pimpl.C: allow to create index inset even if
10674 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10676 * buffer.C (getLists): replace boost::tie code with an explicit pair
10677 as boost::tie can break some compilers.
10679 * iterators.h: Added a std:: declaration to the return type of
10682 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10684 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10687 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10689 * iterators.[Ch]: New files. Provide paragraph iterators.
10691 * buffer.C (changeLanguage): Use paragraph iterators.
10692 (isMultiLingual): ditto
10694 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10696 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10698 * FontLoader.C: Support for cmr font.
10700 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10702 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10703 (available): New method.
10705 * FontInfo.C (getFontname): Use scalable fonts even when
10706 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10709 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10711 * converter.C (Formats::view): reverted! Incorrect fix.
10713 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10715 * converter.C (Formats::view): only output the -paper option
10716 if the dvi viewer is xdvi, thereby fixing bug #233429.
10718 2001-08-23 Herbert Voss <voss@perce>
10720 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10722 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10724 * Spacing.h (Spacing): Set space to Default on in the default
10727 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10729 * vc-backend.h (RCS::versionString): add RCS to version
10730 (CVS::versionString): add CVS to version
10732 * vc-backend.C (scanMaster): do not add CVS to version.
10733 (scanMaster): do not add RCS to version
10735 * lyxvc.C (versionString): new method
10737 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10739 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10741 * Spacing.C (set): initialize fval
10743 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10745 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10748 2001-08-16 Juergen Vigna <jug@sad.it>
10750 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10752 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10754 * BufferView_pimpl.C:
10757 * text2.C: setParagraph takes linespacing now
10759 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10761 * LyxAction.C: add internal LFUN_CITATION_INSERT
10763 * LyXView.C: actually apply fix
10765 * bufferlist.C: fix open non-existent file
10767 * lyxfind.C: fix indentation
10769 * lyxfunc.C: remove unneeded assert, fix typo
10771 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10773 * MenuBackend.C: use "Floatname List"
10775 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10777 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10778 when converting LaTeX layout to insetERT.
10779 Generate a non-collapsed float when reading old float
10781 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10783 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10786 2001-08-13 Juergen Vigna <jug@sad.it>
10788 * text.C (fill): return 0 instead of 20 as this seems to be the more
10791 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10793 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10796 2001-08-13 Juergen Vigna <jug@sad.it>
10798 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10800 (SearchBackward): comment out the unlocking of the inset_owner this
10801 should not be needed!
10803 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10805 * Many files: Remove inherit_language, and add latex_language
10807 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10808 collapsible insets.
10810 2001-08-10 Juergen Vigna <jug@sad.it>
10812 * text.C (prepareToPrint): fixed hfill-width in draw!
10814 * BufferView2.C (selectLastWord): save the selection cursor as this
10815 now is cleared in the function LyXText::clearSelection!
10817 2001-08-08 Juergen Vigna <jug@sad.it>
10819 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10820 BACKSPACE type functions.
10822 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10823 is only cutted from the document but not put in the cut-buffer, where
10824 still the old stuff should be.
10826 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10828 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10830 * tabular.C (SetWidthOfCell): fixed special case where the width
10832 (LeftLine): handle '|' in align_special.
10834 (LeftAlreadyDrawed): ditto
10835 (SetWidthOfCell): ditto
10837 2001-08-07 Juergen Vigna <jug@sad.it>
10839 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10841 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10843 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10844 * lyxlex.[hC]: ditto
10846 2001-08-06 Juergen Vigna <jug@sad.it>
10848 * text.C (getVisibleRow): fix up row clearing a bit.
10850 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10852 * minibuffer.C: make sure the X server sees the changes in the input.
10854 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10856 * paragraph.C (getFont): split into...
10857 (getLabelFont): this
10858 (getLayoutFont): and this
10859 * paragraph_pimpl.C (realizeFont): calling this
10861 * text2.C (getFont): split into...
10862 (getLayoutFont): this
10863 (getLabelFont): and this
10864 (realizeFont): all three calling this
10866 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10869 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10871 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10873 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10875 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10876 layouts from the Quote inset insertion.
10878 2001-08-03 Juergen Vigna <jug@sad.it>
10880 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10882 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10883 only if status not is already CHANGED_IN_DRAW (second level).
10885 * text.C (draw): don't set the need_break_row when inside an
10888 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10890 * buffer.C (parseSingleLyXformat2Token): handle more latex
10893 * bufferview_funcs.[hC]: change function names to
10894 begin with small char, adjust other files.
10896 2001-08-02 André Pönitz <poenitz@gmx.net>
10899 BufferView_pimpl.C: remove broken special code for math-greek
10901 2001-08-02 Juergen Vigna <jug@sad.it>
10903 * BufferView_pimpl.C (update): redone this function so that we
10904 update the text again if there was a CHANGE_IN_DRAW.
10906 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10907 (drawFromTo): added a new internal bool which is used by draw() and
10909 (general): some cursor drawing problems fixed.
10911 2001-08-01 Juergen Vigna <jug@sad.it>
10913 * lyxfind.C (LyXFind): fixed
10914 (SearchForward): ditto
10915 (SearchBackward): ditto
10917 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10918 spurius drawing of the cursor in the main area.
10920 * text2.C (status): small fix which could lead to a segfault!
10921 (clearSelection): remove unneeded BufferView param.
10923 2001-08-01 André Pönitz <poenitz@gmx.net>
10925 * lyxfunc.C: small change due to changed mathed interface
10927 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10929 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10931 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10933 * lyxfunc.c: fail gracefully if file doesn't exist
10938 * BufferView_pimpl.C: IsDirWriteable() proto changed
10940 * LyXView.C: fix updateWindowTitle() to store the last title
10942 2001-07-31 Juergen Vigna <jug@sad.it>
10944 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10945 the font (wrong since using of Paragraph::highestFontInRange).
10947 * paragraph.C (highestFontInRange): added a default_size parameter.
10949 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10950 (setHeightOfRow): reformat
10952 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10954 * converter.[hC] + affected files: move to (inital-char)lowercase
10957 * ParagraphParameters.C (ParagraphParameters): remove commented code
10959 * PainterBase.[Ch]: remove commented code
10961 * LaTeXFeatures.h: add "bool floats" for float.sty
10963 * LaTeXFeatures.C (LaTeXFeatures): init floats
10964 (require): handle float
10965 (getPackages): do it with floats
10967 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10969 * BufferView_pimpl.C (Dispatch): improve handling of
10970 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10972 * commandtags.h: #include lyxfont.h here temporarily to avoid
10975 * bufferlist.h: include LString.h here.
10977 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10979 * text2.C (getStringToIndex): new method.
10981 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10983 * *: Reduced header file dependencies all over.
10985 2001-07-30 Baruch Even <baruch@lyx.org>
10987 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10989 2001-07-29 Baruch Even <baruch@lyx.org>
10991 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10993 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10995 * ParameterStruct.h (endif): add a default constructor to make
10996 sure that all variables is initialized.
10998 * ParagraphParameters.C (ParagraphParameters): adjust
11000 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11002 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11003 index; also, check that there is something to index, and that it
11004 does not span over several paragraphs.
11005 (doubleClick): use WHOLE_WORD_STRICT for double click.
11007 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11009 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11012 2001-07-26 Baruch Even <baruch@lyx.org>
11014 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11015 an InsetFig figure, backwards compatible reading of old figure code.
11017 2001-07-27 Juergen Vigna <jug@sad.it>
11019 * text2.C: font.realize function adaption.
11021 * text.C (draw): add a warnings lyxerr text if needed.
11023 * layout.C: font.realize function adaption.
11025 * language.C: add inherit_language and implement it's handlings
11027 * bufferview_funcs.C (StyleReset): remove language parameter from
11028 font creation (should be language_inherit now).
11030 * bufferparams.C (writeFile): handle ignore_language.
11032 * paragraph.C (getFontSettings): the language has to be resolved
11033 otherwise we have problems in LyXFont!
11035 * lyxfont.C (lyxWriteChanges): added document_language parameter
11036 (update): removed unneeded language parameter
11038 * paragraph.C (validate): fixed wrong output of color-package when
11039 using interface colors for certain fonts in certain environments,
11040 which should not seen as that on the final output.
11042 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11044 * BufferView_pimpl.C:
11049 * LyXAction.C: add thesaurus support
11052 * lyxfind.C: add "once" parameter, for thesaurus, to not
11053 move to the next match
11055 2001-07-26 Juergen Vigna <jug@sad.it>
11057 * lyxfont.C (realize): honor ignore_language too!
11060 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11062 * text.C (draw): one place more for ignore_language to not draw
11065 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11067 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11069 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11071 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11072 the minipage conversion problem.
11074 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11076 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11079 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11081 * BufferView.h: don't forward declare WorkArea
11083 * BufferView.C: don't include WorkArea.h
11085 2001-07-25 André Pönitz <poenitz@gmx.net>
11089 * lyxfunc.C: new LFUN 'math-space'
11091 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11093 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11095 * text2.C (toggleInset): call open/close
11097 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11099 * lyxfunc.C (dispatch): add debug for the disabled case
11101 * font.C (buttonText): make similar to rectText
11103 * buffer.C (readInset): comment out parsing of insetlist and
11106 * PainterBase.C (rectText): small correction
11108 * BufferView_pimpl.C: comment out insettheorem and insetlist
11109 * LyXAction.C: ditto
11110 * commandtags.h: ditto
11112 2001-07-24 Juergen Vigna <jug@sad.it>
11114 * text.C (draw): honor the ignore_language.
11116 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11118 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11120 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11123 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11125 * lyxtext.h: remove unused (and unimplemented) methods
11127 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11129 * text.C (getVisibleRow): honor background color
11132 * Painter.h: remove default color argument for fillRectangle
11134 * text.C (backgroundColor): new method
11136 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11138 * text.C (getVisibleRow): adjust
11140 * font.[Ch] (rectText): new method, metrics
11141 (buttonText): new method, metrics
11143 * PainterBase.[hC]: make rectText and buttonText always draw and take
11146 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11148 * ToolbarDefaults.C (read):
11149 * MenuBackend.C (read): allow escaping in all strings
11151 * BufferView_pimpl.C (insertAndEditInset): new method.
11152 (Dispatch): use insertAndEditInset whenever appropriate.
11154 * BufferView_pimpl.C (insertNote): removed
11156 * BufferView_pimpl.C (smartQuote): new method, moved from
11157 BufferView; if an insetquote cannot be inserted, insert a '"'
11160 * BufferView2.C: remove insertCorrectQuote();
11162 * lyxfunc.C (getStatus): Add support for all remaingin
11163 inset-insert lfuns.
11165 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11167 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11168 command (necessary to pass " as parameter of self-insert.
11170 * text.C (selectWordWhenUnderCursor):
11171 (selectWord): add word_location parameter
11172 (selectWordWhenUnderCursor): same + remove special code for word
11174 (selectNextWord): use kind() to guess type of insetspecialchar,
11177 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11178 (insertErtContents): create ert insets as collapsed.
11179 (readInset): better compatibility code for Info inset.
11181 2001-07-20 Juergen Vigna <jug@sad.it>
11183 * lyxfunc.C (dispatch): use always LyXFind now!
11185 * text2.C (init): add a reinit flag so that the LyXText can be
11186 reinited instead of deleted and reallocated (used in InsetText).
11188 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11194 2001-07-18 Juergen Vigna <jug@sad.it>
11196 * text.C (selectNextWord): handle insets inside inset by calling
11197 always the bv->text functions so that we can go up the_locking_inset!
11199 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11200 in strange locations when inside an inset!
11202 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11203 handling to include insets.
11205 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11207 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11209 * LyXAction.C (init):
11211 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11212 LIGATURE_BREAK, since the name is so stupid.
11214 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11216 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11219 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11221 * sp_form.[Ch]: remove.
11223 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11225 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11228 * src/buffer.C (readInset): ditto.
11230 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11232 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11233 menuSeparator(), endOfSentenceDot(), ldots() and
11234 hyphenationPoint(), which are therefore removed.
11235 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11237 * LyXAction.C (init):
11238 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11240 * paragraph.C (getWord): removed.
11242 * BufferView_pimpl.C (Dispatch): use last word or selection for
11243 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11245 * lyx_main.C (queryUserLyXDir): do not ask before creating
11246 user_dir, except if it has been named explicitely.
11248 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11250 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11251 a document of zero size.
11253 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11255 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11256 approriately in the c-tor and in require().
11257 (getPackages): output the appropriate LaTeX for natbib support.
11259 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11260 variables "use_natbib" and "use_numerical_citations" when reading the
11262 (readInset): read the various natbib cite commands.
11263 (validate): white-space change.
11265 * bufferparams.[Ch]: new variables "bool use_natbib" and
11266 "bool use_numerical_citations".
11267 (writeFile): output them in the LyX file.
11269 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11271 * lyxfunc.C (getStatus): add support for all the inset insertion
11274 * text2.C (insertInset):
11275 * paragraph.C (insetAllowed):
11276 * BufferView_pimpl.C (insertInset): update to take in account the
11277 renaming of insertInsetAllowed
11279 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11281 * text2.C (getInset): new method. returns inset at cursor position.
11283 * BufferView_pimpl.C (Dispatch): changes because of this.
11285 * LyXAction.C (init): rename open-stuff to inset-toggle.
11287 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11289 * text2.C (toggleInset): renamed from openStuff; use
11292 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11294 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11296 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11298 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11300 * buffer.C (readLyXformat2): Add filename to the error dialog
11302 2001-07-18 Juergen Vigna <jug@sad.it>
11304 * tabular.C (GetCellNumber): put an assert here instead of the check!
11306 2001-07-17 Juergen Vigna <jug@sad.it>
11308 * BufferView_pimpl.C (toggleSelection): adapted too.
11310 * text.C (selectNextWord): adapted for use with insets.
11311 (selectSelectedWord): ditto
11313 2001-07-17 Juergen Vigna <jug@sad.it>
11315 * sp_spell.C (PSpell): fix initialitation order.
11317 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11319 * paragraph.C: spacing
11321 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11323 * sp_spell.C: repair language selection for pspell
11325 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11327 * lyxfunc.h: change more methods to begin with lower char.
11329 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11331 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11332 for unknown layouts.
11334 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11336 * buffer.C (readLyXformat2): Generate an error dialog if there are
11339 2001-07-16 Juergen Vigna <jug@sad.it>
11341 * sp_spell.C: always compile ISpell part.
11343 * lyxrc.C: added use_pspell entry and it's handling.
11345 2001-07-13 Juergen Vigna <jug@sad.it>
11347 * sp_spell.C: removed double includes.
11349 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11351 Consistent use of Lsstream.h:
11352 * Lsstream.h: added using std::stringstream for consistencies sake.
11354 * buffer.C: removed using std::stringstream
11356 * lyxfont.C (stateText):
11357 * paragraph.C (asString):
11358 * text.C (selectNextWord, selectSelectedWord):
11359 * text2.C (setCounter):
11360 * vspace.C (asString, asLatexString):
11361 std::ostringstream -> ostringstream.
11363 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11365 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11366 * commandtags.h: add LFUN_HELP_ABOUTLYX
11367 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11369 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11371 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11373 * lyx_gui_misc.C: remove spellchecker
11374 * lyxfunc.C: showSpellchecker
11376 * sp_ispell.h: added
11377 * sp_pspell.h: added
11378 * sp_spell.C: added
11379 * sp_form.[Ch]: removed
11380 * spellchecker.[Ch]: removed
11382 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11384 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11386 (simpleTeXSpecialChars): Simply print the input character without
11387 any special translation if pass_thru is set.
11389 * layout.h: Added bool pass_thru to layout class for being able to
11390 implement pass through of a paragraph for Literate Programming.
11392 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11393 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11394 * layout.C (Read): add "passthru" to list of layout tags and add
11395 code to set the pass_thru boolean when it is read.
11397 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11399 * trans_decl.h: remove allowed from KmodInfo
11401 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11402 remove allowed code
11405 * paragraph_pimpl.C (erase): use boost::prior
11407 * Painter.C (text): use data() instead of c_str() when length is
11409 * WorkArea.C (putClipboard): ditto
11410 * font.h (width): ditto
11412 * BufferView2.C: use it-> instead of (*it). for iterators
11414 * paragraph_pimpl.C: ditto
11415 * paragraph.C: ditto
11416 * minibuffer.C: ditto
11417 * language.C: ditto
11419 * encoding.C: ditto
11420 * counters.C: ditto
11421 * converter.C: ditto
11423 * Variables.C: ditto
11424 * TextCache.C: ditto
11425 * MenuBackend.C: ditto
11426 * LyXAction.C: ditto
11428 * FloatList.C: ditto
11429 * DepTable.C: ditto
11430 * ColorHandler.C (LyXColorHandler): ditto
11432 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11434 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11436 * text2.C (openStuff): reintroduce this method (which had been
11437 nuked in NEW_INSETS frenzy).
11439 * lyxfunc.C (Dispatch): when an action has not been handled, use
11440 its name in the error message, not its number.
11442 * paragraph.C (inInset): change method name to begin with lowercase.
11445 * text2.C: updates because of this.
11447 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11449 * ToolbarDefaults.C (add): add spaces in error message
11451 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11453 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11454 (readLyXformat2): rename return_par to first_par, use lyxlex's
11455 pushToken and remove the manual push handling.
11456 (parseSingleLyXformat2Token): add another ert comp. variable:
11457 in_tabular, rename return_par to first_par. handle newlines better
11459 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11461 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11463 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11465 * text2.C (getParFromID): removed
11467 * buffer.C (getParFromID): new method moved form lyxtext.
11468 * BufferView2.C (insertErrors): adjust
11469 (setCursorFromRow): adjust
11470 * BufferView_pimpl.C (restorePosition): adjust
11471 * lyxfunc.C (Dispatch): adjust
11472 * undo_funcs.C (textUndo): adjust
11474 (textHandleUndo): adjust
11475 (textHandleUndo): adjust
11477 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11479 * buffer.C: up' the LYX_FORMAT
11481 * lyxfont.h: turn NO_LATEX on as default
11483 * buffer.C (insertErtContents): new methods of tex style compability.
11484 (parseSingleLyXformat2Token): use it several places.
11485 * tabular.C (OldFormatRead): and here
11487 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11489 * text2.C: remove some commented code.
11492 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11493 * trans.C: changes because of the above.
11495 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11497 * text2.C (setCounter): Fix counters bug with bibliography layout.
11499 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11501 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11502 own member functions
11503 (simpleTeXSpecialChars): ditto
11505 2001-07-06 Juergen Vigna <jug@sad.it>
11507 * a lot of files: changed the access to LyXText::status and the
11508 call of undo-functions.
11510 * undo.[Ch]: added a inset_id to the undo informations.
11512 * undo_funcs.[Ch]: added and moved here all undo functions.
11514 * lyxtext.h: give the status enum a weight, made status_ a private
11515 variable and made accessor functions for it, removed the whole bunch
11516 of undo-functions as they are now in their own file, make some
11517 functions publically available. Added function ownerParagraph with
11520 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11521 made InInset() a const function, added getParFromID() function.
11523 * buffer.[Ch]: added const version for inset_iterator functions,
11524 added getInsetFromID() function.
11526 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11527 changed undo functions for new version.
11529 2001-07-05 Juergen Vigna <jug@sad.it>
11531 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11532 unknow mechanism does not call the proper constructor but only this
11533 one also if I request the other!?
11535 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11537 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11539 * text2.C (LyXText): use initialization lists.
11541 * lyxtext.h (Selection): initialize set_ and mark_
11542 (init): remove method
11544 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11546 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11548 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11550 * screen.[Ch]: change method names to begin with lowercase
11552 * BufferView_pimpl.C (updateScrollbar): simplify further and
11553 hopefully make it a bit faster.
11555 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11557 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11558 calling directly xforms functions.
11560 * Painter.C (Painter):
11561 * lyx_cb.C (MenuWrite):
11562 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11565 * lyx_gui.C: remove bogus guiruntime extern declaration.
11567 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11569 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11571 (redoDrawingOfParagraph): ditto
11572 (redoParagraphs): ditto
11573 (cutSelection): don't create a object for CutAndPaste use the
11574 static method directly
11575 (pasteSelection): ditto
11577 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11580 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11582 * modifications to some other files because of this.
11584 * Makefile.am (lyx_SOURCES): add XFormsView
11586 * XFormsView.[Ch]: new files
11588 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11589 the main window. Move the gui dependent stuff to XFormsView
11591 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11593 * tabular.C (GetCellInset): update cur_cell also in the row/col
11594 version of this function.
11596 * lyxfunc.C: no need to include figure_form.h here.
11602 * lyxvc.C: no need to include forms.h here.
11604 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11606 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11608 * lyxfunc.C (Dispatch):
11610 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11611 constructor argument.
11613 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11615 * paragraph.C (Paragraph): dont't clear, and just set layout.
11616 (makeSameLayout): use params's copy contructor.
11618 * ParagraphParameters.[Ch] (makeSame): delete method
11620 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11622 * Variables.[Ch]: fix indentation, rename set to isSet
11624 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11626 * lyxfunc.C (Dispatch): fix typo
11628 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11630 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11633 * bufferlist.C: include assert.h for emergencyWrite().
11635 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11637 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11638 give up at last (bug #425202) !
11640 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11646 * spellchecker.C: strip spellchecker options and bring up
11647 preferences tab instead
11649 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11651 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11652 the istringstream constructor
11654 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11656 * paragraph.C (getLayout): fix return value
11658 * paragraph.h: do not declare getLayout as inline.
11660 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11662 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11664 * lyxcursor.h (operator<): new func
11665 (operator>): new func
11666 (operator>=): new func
11667 (operator<=): new func
11669 * text.C (changeCase): use selection.start and selection.end
11670 (changeRegionCase): require from to be <= to. Require par to be a
11673 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11675 2001-06-27 Juergen Vigna <jug@sad.it>
11677 * text.C (cursorLeftOneWord): changed to return the cursor and added
11678 overlay with BufferView * parameter which calls this one.
11680 (selectWord): use new getWord function.
11681 (changeCase): renamed from changeWordCase as and extended to work
11682 also on selections.
11684 * lyxtext.h: added enum word_location
11686 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11687 changeCase as this operates now also on selections.
11689 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11691 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11693 * many files: send debug output to Debug::INFO instead of
11696 * converter.C (View):
11698 (Move): send debug output to Debug::FILES instead of console.
11700 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11702 * lyxfunc.C (getStatus): use func_status
11704 * func_status.h: new header, describing the results of
11705 LyXFunc::getStatus;
11707 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11710 2001-06-25 The LyX Project <jug@sad.it>
11712 * buffer.C (sgmlOpenTag):
11714 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11716 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11718 * text2.C: remove some dead code
11720 * tabular.C (GetCellInset): store the last cell checked (gotten)
11722 * tabular.h: add the helper for the speedup
11724 * lyxtext.h: remove some dead code
11726 2001-06-26 The LyX Project <Asger>
11728 * paragraph.C: Change export to LaTeX of alignment to
11729 \begin{center} and family for better roundtrip work with reLyX.
11731 * Tune the math drawing a bit.
11733 2001-06-25 The LyX Project <Asger>
11735 * LColor.C (LColor): New color for math background. New color
11738 2001-06-25 The LyX Project <jug@sad.it>
11740 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11742 * lyxfunc.C (Open):
11743 * bufferlist.C (newFile): do not restrict to files ending with
11746 * BufferView_pimpl.C (MenuInsertLyXFile):
11748 2001-06-24 The LyX Project <jug@sad.it>
11750 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11753 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11755 * lyxtext.h: rename most methods to begin with a small char.
11756 Lots of changes because of this.
11758 * paragraph.C (Paragraph): do not call fitToSize
11759 (erase): call Pimpl::erase
11760 (insertChar): call Pimpl::insertChar
11761 (insertInset): call Pipl::insertInset
11762 (breakParagraph): do not call fitToSize
11763 (breakParagraphConservative): do not call fitToSize
11764 (fitToSize): remove method
11766 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11768 2001-06-24 The LyX Project <Asger>
11770 * Fix Qt compilation^2
11772 2001-06-24 The LyX Project <jug@sad.it>
11774 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11775 depthHook(getDepth()-1).
11778 * ParagraphParameters.h:
11779 * ParameterStruct.h: change type of depth to unsigned int ==
11780 depth_type. Many adaptations to other files before of that.
11782 2001-06-24 The LyX Project <Asger>
11784 * Fix Qt compilation.
11786 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11788 * paragraph.h: renamed several methods to begin with small letter.
11789 several changes to many parts of the code because of this.
11791 2001-06-23 The LyX Project <jug@sad.it>
11793 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11794 rewritten to discard all double spaces when KeepEmpty is off
11795 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11796 to only handle newlines but not fiddle with spaces and friends.
11798 * lyxfunc.C (MenuNew): when doing 'new from template', use
11799 template_path as default directory
11801 2001-06-23 The LyX Project <Asger>
11803 * Clean-up of header file includes all over
11804 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11806 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11808 * paragraph.h: renamed from lyxparagraph.h
11810 2001-06-23 Asger <lyx@violet.home.sad.it>
11812 * Buffer.h: Removed Buffer::resize
11813 * BufferList.h: Removed BufferList::resize
11814 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11815 the document lazily when we change the width, or the font settings.
11817 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11819 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11821 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11823 * buffer.h: remove out of date comment
11825 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11828 * screen.C: fix "theoretical" GC leak
11830 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11832 * LaTeX.C (scanAuxFile):
11833 (deplog): remove trailing \r when reading stream (useful under
11836 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11838 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11839 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11840 and BufferView::theLockingInset(Inset*), so should use them and not
11841 access bv_->text->the_locking_inset directly.
11843 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11845 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11848 * tex-defs.h: remove old unused file
11850 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11852 * BufferView_pimpl.C: fix typo, remove minibuffer message
11853 when buffer has loaded
11855 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11857 * lyxfunc.C (Dispatch): use stringstream
11858 (MenuNew): use stringstream
11859 (Open): use stringstream
11861 * importer.C (Import): use stringstream
11863 * bufferview_funcs.C (CurrentState): use stringstream
11865 * LaTeX.C (run): use stringstream
11867 * BufferView_pimpl.C (savePosition): use stringstream
11868 (restorePosition): use stringstream
11869 (MenuInsertLyXFile): use stringstream
11871 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11884 * vspace.C: removed // -*- C++ -*- as first line.
11887 * version.h: added // -*- C++ -*- as first line.
11889 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11891 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11893 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11896 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11898 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11901 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11903 * gettext.C: include LString.h even when --disable-nls is on.
11905 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11907 * converter.h (Get): changed argument type from int to
11908 FormatList::size_type to avoid unnecessary conversion.
11910 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11913 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11915 * gettext.h: include LString.h even when --disable-nls is on.
11917 2001-06-07 Juergen Vigna <jug@sad.it>
11919 * text.C (BreakAgain): subst spaces with tabs.
11921 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11922 (resizeInsetsLyXText): set force on resizeLyXText.
11924 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11926 * gettext.h (gettext_init):
11927 (locale_init): use a real definition instead of a macro
11929 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11931 * Bufferview_pimpl.C:
11933 * LColor.C: further lcolor tidies
11935 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11937 * BufferView_pimpl.C (updateScrollbar): simplify.
11939 * BufferView2.C: don't include insets/insetinfo.h, change
11940 prototype for insertInset and call the Pimpl version. let
11941 updateInset call Pimpl version.
11943 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11944 gotoInset to BufferView::Pimpl
11946 2001-06-01 Juergen Vigna <jug@sad.it>
11948 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11949 inside a LockingInset (is the update needed at all?).
11951 2001-05-31 Juergen Vigna <jug@sad.it>
11953 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11954 here not the old one otherwise how should we compare it afterwards
11957 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11962 * FontInfo.C: bring C functions into global namespace when
11965 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11967 * LString.h: make sure config.h has been loaded before LString.h.
11969 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11970 (one for each char read by EatLine!).
11972 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11975 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11977 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11978 to the same as the par we break from
11980 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11982 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11984 * MenuBackend.C (expand): also create menu entries for wide
11985 versions of the floats.
11987 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11989 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11991 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11992 frontends/Makefile.am
11998 * tabular.C (getTokenValue): add std::
12000 * tabular-old.C (getTokenValue): add std::
12001 (getTokenValue): ditto
12002 (getTokenValue): ditto
12004 * screen.C (ToggleSelection): adjust
12006 * lyxtext.h: put selection cursors inside a Selection struct.
12008 * lyxfunc.C (moveCursorUpdate): adjust
12010 * lyxfont.C (latexWriteStartChanges): add std::
12012 * lyxfind.C: adjust
12014 * font.h: delete with(char const *, LyXFont const &)
12016 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12018 * FontInfo.C (getFontname): add std::
12020 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12021 (workAreaButtonPress): adjust
12022 (tripleClick): adjust
12024 (moveCursorUpdate): adjust
12027 * BufferView2.C (gotoInset): adjust
12029 2001-05-30 Juergen Vigna <jug@sad.it>
12031 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12032 to check pspell I add this as default as I now have new pspell
12033 libraries and they seem to use this.
12035 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12037 * text2.C (CutSelection): make the cursor valid before the call to
12040 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12042 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12043 relied on 0 terminated strings and other horrors. Bug found due to
12044 the new assert in lyxstring!
12046 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12049 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12051 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12054 * lyxfunc.C (processKeySym): change method of getting to the
12057 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12058 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12059 * BufferView_pimpl.[Ch]: here as private methods.
12061 2001-05-28 Juergen Vigna <jug@sad.it>
12063 * text.C (SetHeightOfRow): added the update() call again as it is
12064 needed to initialize inset dimensions!
12066 2001-05-16 Juergen Vigna <jug@sad.it>
12068 * text2.C (SetCharFont): Add new function with BufferView * and
12069 bool toggleall parameters for setting insets internal fonts.
12070 (SetFont): Freeze the undo as we may change fonts in Insets and
12071 all this change should be inside only one Undo!
12073 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12074 setting font's in insets as for them we have the SetFont function!
12076 2001-05-15 Juergen Vigna <jug@sad.it>
12078 * text2.C (ClearSelection): to be sure we REALLY don't have any
12081 * tabular.C (TeXCellPreamble): fixed the left border problem for
12084 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12086 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12089 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12091 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12092 LFUN_BREAKPARAGRAPH.
12094 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12095 help test to "internal only", similar for LFUN_INSERT_URL
12097 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12098 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12099 auto_region_delete and deadkeys.
12101 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12104 * LColor.C: remove some dead entries, tidy a little
12106 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12108 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12110 (Dispatch): implement LFUN_ESCAPE
12112 * commandtags.h: add LFUN_ESCAPE
12114 * LyXAction.C (init): add entry for LFUN_ESCAPE
12116 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12117 Remove commented code.
12118 (insertNote): moved here
12119 (open_new_inset): moved here
12121 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12124 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12126 * kbmap.C (findbinding): clean it up and make it work correctly.
12128 * lyx_main.C (init): do not pass argc and argv as parameters
12130 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12132 * buffer.C: fix path for OS/2 & Win32
12136 * lyx_main.C: Added os:: class.
12138 * os2_defines.h: update
12140 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12142 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12143 better by trying again with reduced state.
12145 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12147 * lyxrc.C (read): print error about invalid key sequence only when
12148 debugging (because not all latinX keysyms are known to some X
12151 * kbsequence.C (getiso): add a few std:: qualifiers
12152 (getiso): comment out extra return statement.
12154 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12156 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12158 (Dispatch): enhance the accent inset a bit. (not perfect)
12160 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12162 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12164 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12166 * bufferlist.C (emergencyWrite): fix assert() call
12168 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12170 * text.C (InsertChar): Added trivial patch to only send the "you
12171 can not do multiple spaces this way" message once during a
12174 2001-05-08 Baruch Even <baruch@lyx.org>
12176 * Makefile.am: Changed order of libraries to get LyX to link properly
12177 with the gnome frontend.
12179 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12181 * LaTeXFeatures.h: add a std:: qualifier
12183 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12185 * paragraph.C (String): use stringstream
12187 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12189 * paragraph.C (writeFile): remove footflag arg
12191 * buffer.C (makeLaTeXFile): use stringstream
12192 (latexParagraphs): remove footnot gurba
12194 * LaTeXFeatures.C (getPackages): use stringstream
12195 (getMacros): likewise
12196 (getTClassPreamble): likewise
12197 (getFloatDefinitions): new method
12199 * paragraph.C (writeFile): reindent
12202 * WorkArea.h: revert the xpos + etc changes.
12204 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12206 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12208 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12209 (pasteSelection): likewise
12210 * text2.C (CreateUndo): likewise
12212 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12214 * minibuffer.C (peek_event): temporarily reduce the functionality
12215 of the minibuffer (to allow args on lfuns)
12217 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12218 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12220 * buffer.C (readInset): add compability reading of old float
12221 lists, add reading of new style float list.
12222 (readInset): avoid reevaluation of inscmd.getCmdName()
12223 (getLists): reindent
12225 * MenuBackend.C (MenuItem): implement parsing of
12226 md_floatlistinsert and md_floatinsert.
12227 (expand::LastFiles): move initalizaton of iterators out of loop,
12228 avoid reevaluation.
12229 (expand::Documents): introduce typdedef vector<string> Strings,
12231 (expand::ExportFormats): introduce typedef vector<Format const *>
12232 Formats, and use it.
12233 (expand): implement FloatListInsert and FloatInsert.
12235 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12236 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12237 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12239 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12241 (Dispatch::LFUN_FLOAT_LIST): implement
12243 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12245 * LaTeX.C (run): Fix problem with --export code.
12247 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12249 * BufferView.[Ch] (workarea): removed.
12250 (getClipboard) new method; wrapper for workarea()->getClipboard()
12252 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12255 * WorkArea.h (width, height, xpos, ypos): These methods all
12256 returned the dimensions of the work_area sub-area of WorkArea,
12257 resulting in a position error if the WorkArea were resized. Now
12258 return the dimensions of the entire WorkArea.
12260 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12262 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12264 * LaTeX.C (deplog): correct the syntax of regex reg1
12266 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12268 * undo.C: remove !NEW_INSETS cruft
12270 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12272 * text2.C: remove !NEW_INSETS cruft
12274 * text.C: remove !NEW_INSETS cruft
12276 * tabular.C: remove !NEW_INSETS cruft
12278 * spellchecker.C: remove !NEW_INSETS cruft
12280 * lyxtext.h: remove !NEW_INSETS cruft
12282 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12284 * lyxfunc.C: remove !NEW_INSETS cruft
12286 * lyxfind.C: remove !NEW_INSETS cruft
12288 * lyx_cb.C: remove !NEW_INSETS cruft
12290 * figureForm.C: remove !NEW_INSETS cruft
12292 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12294 * buffer.[Ch]: remove !NEW_INSETS cruft
12296 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12298 * CutAndPaste.C: remove !NEW_INSETS cruft
12300 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12302 * BufferView2.C: remove !NEW_INSETS cruft
12304 * BufferView.h: remove !NEW_INSETS cruft
12306 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12308 * Lsstream.h: include LString.h before the sstream headers to
12309 fix problem with gcc 2.95.3 and lyxstring
12311 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12313 * lyx_main.C: add using directives when needed for C functions
12314 declared in std:: namespace.
12316 2001-04-27 Juergen Vigna <jug@sad.it>
12318 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12319 (SetHeightOfRow): comment out the update call should not be needed!
12321 2001-04-13 Juergen Vigna <jug@sad.it>
12323 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12324 (LyXTabular): tried to minimize operator= operations (and realized
12325 hopfully Lars wish).
12327 2001-04-27 Juergen Vigna <jug@sad.it>
12329 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12331 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12333 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12335 * buffer.C (readInset): hack to make listof algorithm work
12337 * BufferView_pimpl.C: hack to make listof algorithm work
12339 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12341 * LyXAction.C: removed all !NEW_INSETS cruft
12342 (init): moved lfun_item in method
12344 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12346 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12348 * BufferView2.C (theLockingInset): white space.
12350 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12352 * minibuffer.C: include <iostream>
12354 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12356 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12358 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12360 * text.[Ch] (TransposeChars): new method
12362 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12364 * call message directly through LyXView instead of through LyXFunc
12365 * BufferView2.C: adjust
12366 * BufferView_pimpl.C: adjust
12367 * FontLoader.C: adjust
12369 * bufferview_funcs.C: adjust
12370 * converter.C: adjust
12371 * figureForm.C: adjust
12372 * importer.C: adjust
12374 * lyx_gui_misc.C: adjust
12375 * lyxfunc.C: adjust
12378 + more files in subdirs
12380 * lyxparagraph.h (size): move up int file
12383 * adjust all uses of Assert to lyx::Assert.
12385 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12386 lyxfunctional in namespace lyx
12387 * layout.C (hasLayout): ditto
12390 (delete_layout): ditto
12391 (NumberOfClass): ditto
12392 * converter.C (GetFormat): ditto
12397 * bufferlist.C (getFileNames): ditto
12398 (emergencyWriteAll): ditto
12401 * MenuBackend.C (hasSubmenu): ditto
12404 * BufferView_pimpl.C (getInsetByCode): ditto
12406 2001-04-18 Juergen Vigna <jug@sad.it>
12408 * vspace.C (asLatexString): fixed the 100% problem.
12410 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12412 * lyxfunc.C (Dispatch):
12414 * minibuffer.h: add a few std:: qualifiers
12416 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12418 * minibuffer.[Ch]: reimplement so that commands is initiated and
12419 run from lyxfunc, simplified som handling, and made the completion
12420 and history code for complete. wip.
12422 * lyxfunc.C (processKeySym): call message
12423 (miniDispatch): new temporary method
12424 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12425 (LFUN_MESSAGE): implement
12426 (LFUN_MESSAGE_PUSH): implement
12427 (LFUN_MESSAGE_POP): implement
12428 (initMiniBuffer): the initial/defualt minibuffer message.
12430 * lyxfont.[Ch]: inline some more getters
12432 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12434 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12436 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12437 (AutoSave): use LFUN_MESSAGE
12438 (Reconfigure): ditto
12440 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12442 * figureForm.C: use LFUN_MESSAGE
12444 * converter.C (runLaTeX): use LFUN_MESSAGE
12446 * bufferview_funcs.C: use LFUN_MESSAGE
12448 (changeDepth): ditto
12450 * bufferparams.h: use boost::
12452 * bufferlist.h: inherit privately from noncopyable
12454 * bufferlist.C (loadLyXFile): remove some commented code.
12456 * buffer.C (runChktex): use LFUN_MESSAGE
12458 * ShareContainer.h: inherit privately from noncopyable
12460 * ParagraphParameters.[hC] (depth): inline it.
12462 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12464 (message): new method
12465 (messagePush): ditto
12466 (messagePop): ditto
12467 (show): init minibuffer
12468 (showState): direct call
12470 * LaTeX.[Ch]: inherit privately from noncopyable
12471 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12472 instead of WriteStatus.
12474 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12476 * BufferView_pimpl.C (buffer): don't init minibuffer
12477 (workAreaButtonPress): use LFUN_MESSAGE
12478 (workAreaButtonRelease): ditto
12479 (savePosition): ditto
12480 (restorePosition): ditto
12481 (MenuInsertLyXFile): ditto
12482 (workAreaExpose): don't init minibuffer
12483 (update): remove commented code, simplify
12485 * BufferView2.C (openStuff): use LFUN_MESSAGE
12486 (toggleFloat): ditto
12489 (copyEnvironment): ditto
12490 (pasteEnvironment): ditto
12495 (updateInset): remove some commented code
12497 * lastfiles.h: inherit privately from noncopyable
12500 * lyx_main.h: ditto
12502 * lyxlex_pimpl.h: ditto
12504 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12505 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12506 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12508 * LyXAction.h: inherit privately from noncopyable, add methods
12509 func_begin, func_end, returning iterators to the func map.
12511 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12512 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12513 (func_begin): new method
12514 (func_end): new method
12516 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12518 (copySelection): ditto
12519 (pasteSelection): ditto
12521 * BufferView.C: whitespace change
12522 * BufferView.h: inherit privately from noncopyable
12524 2001-04-16 Allan Rae <rae@lyx.org>
12526 * tabular-old.C (l_getline):
12527 * spellchecker.C (sc_check_word):
12528 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12529 an unrecognised preprocessor directive. So ensure they're wrapped.
12531 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12533 * src/exporter.C (Export): Give an error message when path to file
12536 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12538 * LaTeX.C (deplog): Always check that foundfile exists.
12540 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12543 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12545 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12547 * tabular.[Ch] (getLabelList): implement new method
12549 * minibuffer.h: comment ouf setTiimer
12551 * minibuffer.C (ExecutingCB): constify res
12552 (peek_event): constify s
12553 (Set): constify ntext
12554 (Init): constify nicename
12556 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12558 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12559 (savePosition): use two params to Minibuffer::Set
12560 (restorePosition): ditto
12562 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12564 * lyx_main.C: include language.h
12566 * Makefile.am (lyx_main.o): add language.h
12568 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12574 * CutAndPaste.C: include gettext.h
12576 * lyxfont.h: remove old hack with ON and OFF.
12579 * lyxfont.h: do not include language.h...
12584 * bufferview_funcs.C:
12590 * paragraph.C: ... but do it here instead
12592 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12594 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12596 * tabular.C: small reformat
12598 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12601 (BreakParagraph): ditto
12602 (SetOnlyLayout): ditto
12605 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12608 * lastfiles.C: removed most using decl, add std:: where needed
12610 * buffer.C: ws changes
12612 * MenuBackend.C (class compare_format): put into anon namespace
12613 (expand): constify label, names, action, action2
12616 * text.C (SingleWidth): constify font
12617 (IsBoundary): constify rtl2
12618 (GetVisibleRow): constify ww
12620 * LaTeX.C (deplog): constify logfile
12622 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12624 (workAreaExpose): constify widthChange, heightChange
12626 * lyxrow.C (par): moved
12629 * lyxrow.h: as inlines here
12631 * lyxfont.h (shape): moved from lyxfont.C
12632 (emph): moved from lyxfont.C
12634 * lyxfont.C (LyXFont): use initialization list for all
12636 (shape): move to lyxfont.h as inline
12637 (emph): move to lyxfont.h as inline
12640 2001-04-04 Juergen Vigna <jug@sad.it>
12642 * vspace.C: had to include stdio.h for use of sscanf
12644 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12647 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12648 independent of xforms.
12650 2001-04-02 Juergen Vigna <jug@sad.it>
12652 * spellchecker.C: fixed namespace placing!
12654 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12656 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12657 the LyXParagraph * is 0.
12659 2001-03-29 Juergen Vigna <jug@sad.it>
12661 * vspace.C: added support for %, c%, p%, l%.
12662 (stringFromUnit): added helper function.
12663 (asLatexString): changed to give right results for the %-values.
12665 * buffer.C: convert the widthp in a width%.
12667 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12669 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12672 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12673 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12675 * lyx_cb.[Ch]: see above.
12677 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12681 * lyx.[Ch]: replaced by figure_form.[Ch].
12685 * lyxfunc.C: changed headers associated with above changes.
12687 2001-03-27 Juergen Vigna <jug@sad.it>
12689 * BufferView_pimpl.C: set the temporary cursor right!
12691 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12693 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12695 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12697 * LString.h: removed "using std::getline"!
12699 * BufferView_pimpl.C (Dispatch): changes due to changes in
12700 InsetInclude::Params.
12702 * buffer.C (tag_name): removed redundant break statements as they were
12703 producing lots of warnings with my compiler.
12705 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12707 * LString.h: add "using std::getline" when using the real <string>.
12709 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12711 * buffer.C: removed bitset usage.
12712 PAR_TAG moved to an anonymous name space.
12713 (tag_name): new funtion, also in the anonymous namespace.
12714 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12715 (makeDocBookFile): clean code. Completed transition from string arrays
12717 (SimpleDocBookOnePar): code clean.
12719 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12721 * tabular.C: add some comments.
12723 2001-03-22 Juergen Vigna <jug@sad.it>
12725 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12726 compatibility read a bit and fixed bug with minipage in different
12729 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12731 * buffer.C (pop_tag): removed.
12732 (push_tag): removed.
12733 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12734 array replaced with vector. Added support for CDATA sections.
12735 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12737 (makeDocBookFile): XML conformant declaration of CDATA section,
12738 fixed bug related to <emphasis> in the first paragraph char.
12739 (sgmlOpenTag): exclude empty tags.
12740 (sgmlCloseTag): ditto.
12742 * buffer.h (pop_tag): removed.
12743 (push_tag): removed.
12745 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12747 * language.h (Languages): added size_type and size().
12749 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12751 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12752 response on compability reading of minipages. One probliem is that
12753 the old usage of minipages was «flertydig»
12755 * several files here and in subdirs: don't use static at file
12756 scope use anon namespaces instead.
12758 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12760 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12761 LaTeX output. This is necessary for Literate document
12764 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12766 * buffer.C: insert hfill when needed.
12768 * tabular.C (l_getline): use string::erase, small whitespace change.
12770 * BufferView_pimpl.C: try the anon namespace.
12771 * WorkArea.C: ditto
12773 2001-03-16 Juergen Vigna <jug@sad.it>
12775 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12776 otherwise it won't open options-dialogs.
12778 * buffer.C: honor pextraWidth(p) on converting minipages.
12780 * tabular.C (l_getline): changed the functions to strip trailing \r.
12782 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12784 * BufferView_pimpl.C:
12785 * minibuffer..C: added "using SigC::slot" declaration.
12787 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12789 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12795 * paragraph.C: ditto
12797 * lyxtext.h: NO_PEXTRA
12799 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12801 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12802 * ParameterStruct.h: ditto
12803 * ParagraphParameters.h: ditto
12804 * lyxparagraph.h: ditto
12806 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12808 * buffer.C: add compability for minipage alignment.
12809 (latexParagraphs): remove unwanted pextra check.
12811 * several files: remove CXX_WORKING_NAMESPACES
12813 * buffer.C (pop_tag): tie is in namespace boost
12815 * BufferView.h: noncopyable is in namespace boost
12817 * lyx_main.h: ditto
12820 * lastfiles.h: ditto
12821 * bufferlist.h: ditto
12822 * ShareContainer.h: ditto
12824 * LyXAction.h: ditto
12827 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12829 * Merging changes from BRANCH_MVC back into HEAD.
12831 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12833 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12835 * BufferView_pimpl.C: change from intl.C
12839 * Makefile.am: move combox.*
12845 * intl.C: remove dialog (covered by prefs)
12847 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12849 * lyxfunc.C (Dispatch): removed redundant break statement.
12851 2001-03-14 Juergen Vigna <jug@sad.it>
12853 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12855 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12857 * buffer.C: add hack to fix compability reading of minipages.
12859 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12861 * buffer.C (getLists): Cleanup.
12863 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12865 * lyxfont.C (update): don't honor toggleall on font size.
12867 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12871 * Makefile.am: moved to frontends/xforms/
12875 * BufferView_pimpl.C: changes for moved mathpanel
12877 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12879 * gettext.h: fix gettext_init() in --disable-nls
12881 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12883 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12885 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12888 * lyx.h: strip external form
12890 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12892 * BufferView_pimpl.C: add comment, destroySplash()
12894 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12896 * BufferView_pimpl.C:
12900 * lyxfunc.C: use re-worked insetinclude
12902 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12904 * buffer.C: add using std::stringstream.
12906 * lyx_cb.C: readd using std::ios.
12908 * buffer.C: add using std::map.
12910 * BufferView_pimpl.C: add using std::vector.
12912 * ShareContainer.h: add std:: to swap.
12914 * buffer.h: add some typedefs
12915 * buffer.C (getLists): use them
12916 (getLists): renamed from getTocList.
12917 add a counter for the different float types and use it in the
12919 (getLists): use the same counter for the NEW_INSETS and the "non"
12922 * lyx_cb.h: remove unused items, includes, using etc.
12924 * ShareContainer.h: remove some commented code, add more comments
12925 and "documentation".
12927 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12929 * buffer.C (getTocList): make the list also when NEW_INSETS is
12932 * buffer.h: remove TocType
12934 * buffer.C (getTocList): change to return a map<string,
12935 vector<TocItem> >, implement for dynamic number of list.
12937 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12938 * text2.C (PasteSelection): adjust
12939 * CutAndPaste.C (pasteSelection): adjust
12941 * FloatList.C (FloatList): update from the new_insets branch.
12942 * Floating.[Ch]: ditto
12943 * LaTeXFeatures.C: ditto
12945 * lyxlex_pimpl.C: ditto
12947 * paragraph.C (Last): remove when NEW_INSETS is defined.
12949 * other file: changes because of the above.
12951 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12953 * lyxparagraph.h: rename next to next_, previous to previous_,
12954 make them private for NEW_INSETS. Rename Next() to next(),
12955 Previous() to previous().
12957 * other files: changes because of the above.
12959 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12962 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12965 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12967 * main.C (main): pass lyx_localedir to gettext_init().
12969 * gettext.h: remove locale_init and gettext_init macros
12971 * gettext.C (locale_init): new function
12972 (gettext_init): new function
12974 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12977 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12979 * Moved credits to frontends:
12980 * credits.[Ch]: removed
12981 * credits_form.[Ch]: removed
12982 * lyx_gui_misc.C: remove credits stuff
12985 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12987 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12989 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12990 unneeded destructor.
12992 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12993 a standalone pointer again.
12995 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12997 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13003 * ToolbarDefaults.C:
13012 * BufferView_pimpl.C: use new file dialog in GUII
13015 * lyx_cb.C: remove LayoutsCB to Toolbar
13017 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13019 * ShareContainer.h (get): add std:: qualifier
13021 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13023 * ShareContainer.h: define a proper ShareContainer::value_type
13024 type (and use typename to please compaq cxx)
13026 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13028 * lyxparagraph.h: move serveral local vars to
13029 ParameterStruct/ParagraphParameters., use ShareContainer in
13030 FontTable., make vars in FontTable private and add getter and
13033 * paragraph.C: changes because of the above.
13035 * lyxfont.h: remove copy constructor and copy assignment. (the
13036 default ones is ok), move number inside FontBits. move inlines to
13039 * lyxfont.C: add number to initializaton of statics, move several
13040 inlines here. constify several local vars. some whitespace
13041 cleanup. Dont hide outerscope variables.
13043 * Spacing.h: add two new constructors to match the set methods.
13045 * ShareContainer.h: new file, will perhaps be moved to support
13047 * ParameterStruct.h: new file
13049 * ParagraphParameters.h: new file
13051 * ParagraphParameters.C: new file
13053 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13054 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13056 * BufferView_pimpl.C: ParagraphParameter changes.
13057 * buffer.C: Likewise.
13058 * bufferview_funcs.C: Likewise.
13059 * text.C: Likewise.
13060 * text2.C: Likewise.
13062 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13064 * lyxfind.C (LyXReplace): do not redefine default argument in
13066 (IsStringInText): ditto
13067 (SearchForward): ditto
13068 (SearchBackward): ditto
13070 2001-03-06 Juergen Vigna <jug@sad.it>
13072 * lyxfind.C (IsStringInText): put parentes around expressions.
13074 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13076 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13078 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13080 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13082 * stl_string_fwd.h: add comment
13084 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13087 * tabular.C: remove unused DocBook methods
13093 killed DO_USE_DEFAULT_LANGUAGE
13095 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13097 * lyx_gui.C: do not include language.h.
13099 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13100 arguments in function implementation.
13102 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13104 * BufferView_pimpl.C: add <ctime>
13106 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13108 * BufferView_pimpl.C: add using std::find_if
13110 2001-02-27 José Matos <jamatos@fep.up.pt>
13112 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13115 2001-02-11 José Matos <jamatos@fep.up.pt>
13117 * buffer.C (makeDocBookFile): command styles now have a parameter as
13118 "title" by default.
13120 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13122 * layout_forms.[Ch]: removed
13123 * lyx_cb.[Ch]: out character
13124 * lyx_gui.C: out character
13125 * lyx_gui_misc.C: out character
13126 * bufferview_funcs.C: : out character,
13127 added toggleall as parameter in ToggleAndShow
13129 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13131 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13133 * text2.C (SetCurrentFont): Disable number property at boundary.
13135 2001-02-26 Juergen Vigna <jug@sad.it>
13137 * lyxfunc.C (getStatus): added a string argument override function so
13138 that this is correctly called from LyXFunc::Dispatch if it contains a
13139 do_not_use_argument which is used!
13140 (Dispatch): added check for "custom" export and call appropriate func.
13142 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13144 * lyxrc.C: Add language_command_local, language_use_babel and
13145 language_global_options.
13147 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13149 * buffer.C (makeLaTeXFile): Use language_use_babel and
13150 language_global_options.
13152 2001-02-23 Juergen Vigna <jug@sad.it>
13154 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13155 which works with LyXText and putted it inside BufferView. Here now we
13156 only call for that part the BufferView::Dispatch() function.
13158 * BufferView.C (Dispatch): added.
13160 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13161 functions which needs to use a LyXText over from LyXFunc.
13162 (MenuInsertLyXFile): added
13163 (getInsetByCode): added
13164 (moveCursorUpdate): added
13165 (static TEXT): added
13167 2001-02-22 Juergen Vigna <jug@sad.it>
13169 * BufferView_pimpl.C (update): call a status update to see if LyXText
13172 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13174 * vc-backend.C (revert): implement for CVS
13175 (getLog): implement for CVS
13177 2001-02-20 Juergen Vigna <jug@sad.it>
13179 * text2.C (ClearSelection): added BufferView param for inset_owner call
13181 * lyxfunc.C (TEXT): added this function and use it instead of
13182 directly owner->view()-text of getLyXText().
13184 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13186 * src/layout_forms.C: out preamble
13187 * src/layout_forms.h: out preamble
13188 * src/lyx_cb.C: out preamble
13189 * src/lyx_cb.h: out preamble
13190 * src/lyx_gui.C: out preamble
13191 * src/lyx_gui_misc.C: out preamble
13192 * src/lyxfunc.C: connect with guii preamble
13194 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13196 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13198 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13200 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13201 whether to run bibtex.
13203 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13205 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13207 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13209 * Makefile.am (lyx_SOURCES): removed bibforms.h
13211 * vspace.h: doxygen
13213 * text.C (GetVisibleRow): make several local vars const
13215 * tabular.C: small cleanup.
13217 * lyxserver.C (callback): use compare instead of strncmp
13219 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13220 inlines to after class or to paragraph.C
13222 * lyxfont.h: remove friend operator!=
13224 * converter.h: move friend bool operator< to non friend and after
13227 * combox.h: small cleanup
13229 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13230 to inlines after class def.
13232 * buffer.C (pop_tag): use string operations instead of strcmp
13234 * bmtable.c: doxygen, small cleanup
13236 * LaTeX.h: remove friend operator==
13238 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13250 * BufferView_pimpl.C:
13251 * BufferView.[Ch]: remove cruft
13253 2001-02-14 Juergen Vigna <jug@sad.it>
13255 * lyxfunc.C: removed #if 0 unused code
13257 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13259 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13261 * text2.C (SetSelection): added a BufferView * parameter
13263 2001-02-13 Juergen Vigna <jug@sad.it>
13265 * lyxfunc.C (Dispatch): fixed protected blank problem.
13266 * BufferView2.C (protectedBlank): added LyxText * parameter.
13268 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13269 (AppendColumn): same as above for column_info.
13271 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13272 (moveCursorUpdate): use a LyXText param for support of InsetText.
13274 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13275 (tripleClick): ditto
13277 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13279 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13281 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13283 * text2.C (SetSelection): set correct update status if inset_owner
13284 (ToggleFree): ditto
13286 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13288 * tabular.C: remove some commented code.
13290 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13292 * BufferView_pimpl.C: call hideSplash()
13294 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13297 * bibforms.h: remove
13300 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13301 add LFUN_CHILD_CREATE
13303 * counters.h: fix tiny typo
13308 * lyx.C: move splash to frontends/xforms/
13310 * lyx_gui_misc.C: move Include and Bibform to frontends
13312 * lyxvc.h: clarify comment
13314 * vspace.C: tiny housekeeping
13316 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13318 * text.C (PrepareToPrint): RTL Fix.
13320 * paragraph.C (GetUChar): New method.
13321 (String): Use GetUChar.
13323 * buffer.C (asciiParagraph): Use GetUChar.
13325 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13327 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13329 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13332 * buffer.C: rename to getLogName(), handle
13333 build log / latex log nicely
13335 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13338 * MenuBackend.h: remove support for reference menuitem type.
13340 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13342 * BufferView_pimpl.C: housekeeping
13343 * BufferView_pimpl.h:
13348 * minibuffer.h: move Timeout GUI-I
13350 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13352 * lyxrc.C (read): Update converters data-structures.
13354 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13356 * LaTeX.h (operator!=): add operator != for Aux_Info
13358 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13360 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13362 * LaTeXLog.C: deleted, useful code moved to Buffer
13365 * buffer.C: new function getLatexLogName()
13371 * lyxfunc.C: use frontends for LaTeX and VC logs
13373 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13375 * LaTeX.h: yet another std:: that Allan forgot.
13377 * Variables.C (set): renamed from isset(), because this clashes
13378 with some HP-UX macros (grr).
13380 2001-02-06 Allan Rae <rae@lyx.org>
13382 * LaTeX.h: Another bug fix. Missing std:: this time.
13384 2001-02-04 Allan Rae <rae@lyx.org>
13386 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13387 floats problem. I've left it commented out because it's not quite
13388 correct. It should also test that the current object is a table or
13389 figure inset. But I haven't gotten around to figuring out how to do
13390 that. I *think* it'll be something like: "table" == inset.type()
13392 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13395 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13397 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13398 all the citation/databases/styles in the auxilary file.
13399 (run): Rerun latex if there was a babel language error.
13401 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13403 * text.C (Backspace): Preserve the font when changing newline char
13405 (BreakParagraph): If the cursor is before a space, delete the space.
13407 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13409 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13411 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13412 new argument (code).
13413 (ChangeCitationsIfUnique): New method.
13415 * paragraph.C (GetPositionOfInset): Handle bibkey.
13417 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13419 * BufferView_pimpl.h: change type of Position::par_pos to
13420 LyXParagraph::size_type.
13422 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13424 * BufferView_pimpl.C (savePosition, restorePosition): Write
13425 messages to minibuffer.
13427 2001-01-28 José Matos <jamatos@fep.up.pt>
13429 * buffer.C (makeDocBookFile): adds support for document language.
13430 A silly restriction on the name of LatexCommand types where removed.
13431 Added support for CDATA sections, allows to chars unescaped, used
13432 among others in code, to avoid escape < and >.
13434 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13436 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13437 saved positions instrad of a stack. Furthermore, a position is
13438 stored using paragraph id/paragraph position.
13440 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13441 Remove LFUN_REF_BACK.
13443 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13445 * converter.C (dvipdfm_options): New method.
13447 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13449 * vspace.C (isValidLength): Fix for empty input string.
13451 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13453 * LyXAction.C (init): change description of LFUN_FIGURE to
13456 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13458 * LaTeX.C: add using directive
13460 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13462 * MenuBackend.C (expand): Fix the sorting of the formats.
13464 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13466 * lyx_main.C: tiny error message fix
13468 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13470 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13471 calling fl_initialize(). This fixes the problem with ',' as
13472 decimal separator in text files.
13474 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13476 * trans.C (process): Fix the keymap bug.
13478 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13480 * LaTeX.C (scanAuxFiles): New method. Provides support for
13481 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13482 (scanLogFile) Scan for "run BibTeX" messages.
13484 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13485 OT1 font encoding. Also, load the aecompl package if the ae
13488 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13490 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13492 * texrow.C (increasePos): turn two error messages into debug
13495 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13497 * LaTeX.C (scanAux): Handle the \@input macro.
13498 (runBibTeX): Use scanAux().
13500 * language.C (latex_options_): New field.
13502 * LaTeXFeatures.C (getMacros): Add language macros.
13504 * buffer.C (makeLaTeXFile): Small fix.
13506 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13508 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13510 * text2.C: add a using directive.
13512 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13517 * lyxfunc.C: kill LyXBell.
13519 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13521 * text.C (IsBoundary): Remove the error message
13523 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13525 * lyxrc.C (setDefaults): Correct initialization value for
13528 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13530 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13533 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13534 and GotoNextNote().
13536 * src/LyXAction.C: Added reference-next.
13538 * text.C (InsertChar): Use contains instead of strchr.
13540 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13542 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13544 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13545 alignment commands (when needed).
13547 * text.C (InsertChar): Add ':' to number separator chars.