1 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
6 2003-11-04 André Pönitz <poenitz@gmx.net>
8 * cursor.[Ch]: restructure
11 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
13 * iterators.[Ch] (asCursor): remove
15 * lfuns.h: remove LFUN_INSET_EDIT
21 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
23 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
25 * lyxfind.[Ch]: complete overhaul
28 * paragraph.[Ch] (insert): add
30 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
34 * text.C: remove dead spellcheck code
36 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
38 * dispatchresult.h: add a val setter
40 * cursor.C (dispatch): use a tempvar for data_[i]
42 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
44 * PosIterator.[Ch]: compile fix
46 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
48 * text.C (cursorPar): deactivate the cursor cache
50 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
52 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
54 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
56 * text3.C (dispatch): adjust for new DisptchResult semantics.
58 * lyxfunc.C (dispatch): handle update when return from
59 Cursor::dispatch, adjust for new DispatchResult semantics.
61 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
62 DispatchResult(true) mean to not update. Add class functions for
63 setting dispatched and update, as well as reading.
65 * cursor.C (dispatch): don't handle update here
67 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
69 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
72 * paragraph_funcs.C (readParToken): exception safety
74 * lyxvc.h: store the vcs pointer in a scoped_ptr
77 * lyxsocket.C (serverCallback): exception safety
79 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
81 * ispell.C (clone): make it return a auto_ptr
83 * factory.C (createInset): exception safety
84 (readInset): exception safety
86 * bufferlist.C (newBuffer): exception safety
88 * Thesaurus.C (Thesaurus): use initialization for aik_
90 * MenuBackend.C (expandToc): exception safety.
92 2003-11-03 André Pönitz <poenitz@gmx.net>
96 * bufferview_funcs.C: remove getInsetFromId()
99 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
105 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
107 * PosIterator.C (distance, advance): new
108 * bufferview_funcs.[Ch] (put_selection_at): new
109 * iterators.[Ch] (lockPath): new
111 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
113 * iterators.[Ch] (asPosIterator): added
114 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
115 * PosIterator.[Ch]: added
117 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
121 * cursor.C (dispatch):
122 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
124 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
125 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
126 contructor, add a class function dispatched. Remove operator>=
128 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
130 * debug.C: only use the default constructor for debugstream
133 * main.C (main): include debug.h and setup the lyxerr streambuf
136 2003-10-31 José Matos <jamatos@lyx.org>
138 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
140 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
141 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
142 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
143 * paragraph_pimpl.C (simpleTeXSpecialC):
144 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
145 add LatexRunParams argument.
147 * exporter.C (Export): change call accordingly.
149 * latexrunparams.h: add new member to take care of the other backends.
150 2003-10-30 José Matos <jamatos@lyx.org>
152 * buffer.C (makeLinuxDocFile, makeDocBookFile):
153 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
154 factorise code for paragraph output.
156 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
159 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
161 * text3.C (dispatch):
162 * lyxfunc.C (dispatch):
163 * cursor.C (dispatch):
164 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
166 * dispatchresult.h: make the dispatch_result_t ctor explicit
168 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
171 * buffer.C: small refactoring of docbook stuff
173 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
175 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
178 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
180 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
181 operator dispatch_result_t, and operators for == != and >=
183 * cursor.C (dispatch): adjust for operator dispatch_result_t
184 removal. comment out call to update
186 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
188 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
196 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
199 * dispatchresult.h: new file, DispatchResult broken out of
202 * Makefile.am (lyx_SOURCES): add dispatchresult.h
204 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
206 * text.C (rowBreakPoint): put a hack inside #if 0
208 2003-10-28 André Pönitz <poenitz@gmx.net>
215 * text2.C: general cleanup (lots of small stuff)
217 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
219 * text2.C (cursorEnd): simple fix to the "end key goes to one
220 before the end on last row" bug
222 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
224 * text.C (backspace): fix the "zombie characters"
226 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
228 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
230 2003-10-27 André Pönitz <poenitz@gmx.net>
232 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
234 * factory.C: handle new InsetPagebreak, InsetLine
236 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
237 and move handling into new InsetPagebreak, InsetLine
239 * BufferView_pimpl.C:
241 * ParagraphParameters.C:
254 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
263 * text3.C: remove lastPos uses in favour of Row::endpos
265 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
267 * undo.C (performUndoOrRedo): fix two crashes by setting a
268 cursor by hand and reordering some calls. Use bv->lockInset instead
269 of inset->edit because the latter loses cursor information
271 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
273 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
275 (rowBreakPoint): fix width. change point to point + 1.
278 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
281 * lyxfunc.C: fix (at least partly) the problems
282 with the Nav menu and headers inside branch insets
285 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
287 * paragraph.C (getChar): add strong asserts
289 * lyxrow_funcs.C (lastPos): remove hideous hack
291 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
292 (fill): adjust to that (avoid an infinite loop)
294 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
296 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
298 2003-10-23 André Pönitz <poenitz@gmx.net>
300 * RowList_fwd.h: change list<> to vector<> to gain speed
301 after suggestion from Alfredo
303 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
305 * lyxtext.h: move the bidi stuff from here...
308 * Bidi.[Ch]: ... to here
310 2003-10-23 André Pönitz <poenitz@gmx.net>
313 * text.C (isLastRow, isFirstRow): new functions
315 * paragraph.h: new width cache member
317 * rowpainter.C: replace RowList::iterator with Row & where possible
319 * lyxfunc.C: replace several view()->text with a single call
321 * toc.C: fix 'unused' warning
323 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
325 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
326 when woring with stream::pos_type
327 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
329 2003-10-22 André Pönitz <poenitz@gmx.net>
332 * text.C: use Row & instead of RowList::iterator
334 * lyxrow.h: rename end() to endpos()
340 2003-10-22 Angus Leeming <leeming@lyx.org>
342 * buffer.[Ch] (fully_loaded): new member function, returning true
343 only when the file has been loaded fully.
344 Used to prevent the premature generation of previews and by the
345 citation inset to prevent computation of the natbib-style label.
347 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
348 templates are all set up.
350 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
352 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
354 * text.C: fixed an "oops" in the "is a bit silly"
357 2003-10-21 André Pönitz <poenitz@gmx.net>
359 * FuncStatus.[Ch]: small stuff, whitespace
361 * lyxfont.[Ch]: operator<<() for debug reasons
365 * lyxtext.h: whitespace, spelling
367 * paragraph.C: naming of variables
370 * text2.C: small stuff
373 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
375 * text.C: (1) finish off the inset display() work;
376 (2) fix the "is a bit silly" bug (accessing char
379 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
381 * text.C: re-introduce display() for insets, fixing the
382 various bugs (stretch of line above, math inset
385 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
387 * text.C (rightMargin): remove spurious semicolon
389 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
392 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
394 * text3.C: fix one crash due to wrong cursor def
396 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
398 * vc-backend.C (scanMaster): make the regex static
400 * LaTeX.C (scanAuxFile): make the regexs static
402 * text3.C (doInsertInset, dispatch, dispatch):
403 * text2.C (cursorUp, cursorDown):
404 * text.C (selectNextWordToSpellcheck):
405 * BufferView_pimpl.C (dispatch):
406 * lyxfunc.C (dispatch): localDispatch -> dispatch
408 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
410 * lyxsocket.C: include <cerrno>
412 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
414 * lyxfunc.C (dispatch): remove textcache stuff
416 * bufferlist.C (release): remove textcache stuff
419 * TextCache.C: delete file
420 * TextCache.h: delete file
422 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
424 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
425 delete of the bv_->text.
426 (resizeCurrentBuffer): remove texcache stuff
427 (workAreaResize): ditto
429 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
431 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
434 2003-10-16 André Pönitz <poenitz@gmx.net>
441 * text3.C: speed up by storing y positions per paragraph plus per-row
442 offset instead of having a 'full' y position in the row.
444 2003-10-15 André Pönitz <poenitz@gmx.net>
448 * undo.[Ch]: make undo aware of inner insets
450 2003-10-14 Angus Leeming <leeming@lyx.org>
452 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
453 static member functions LyX::ref() and LyX::cref.
454 (lastfiles): new accessor functions for the new lastfiles_ member var.
455 (addLyXView, views_): add a new LyXView to the list of views_.
456 (updateInset): loop over all LyXViews to call their own updateInset
457 member function, returning a pointer to the Buffer owning the inset.
459 * BufferView_pimpl.C (loadLyXFile):
460 * MenuBackend.C (expandLastfiles):
461 * bufferlist.C (MenuWrite, QuitLyX):
462 lastfiles is no longer a global variable.
463 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
465 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
466 static function. Access through LyX::cref().emergencyCleanup().
468 2003-10-14 André Pönitz <poenitz@gmx.net>
470 * iterators.[Ch]: new direct access to innermost LyXText and Inset
472 * undo.[Ch]: restoring part of 'undo in insets'
475 * undo_funcs.[Ch]: merge with undo.[Ch]
477 * tabular.C: small cleansing stuff
479 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
481 * paragraph_funcs.C (readParToken): report unknown insets as error
482 boxes. Use the outer paragraph as location (also for unknown
485 * factory.C (readInset): do not abort on reading an unknown inset.
488 2003-10-13 Angus Leeming <leeming@lyx.org>
490 * lyx_main.C (LyX): remove call to setDisplayTranslator().
492 * lyxrc.C: displayTranslator is now a function,
493 declared in GraphicsTypes.h.
495 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
497 * format.C: new placeholder $$a to pass the socket address.
499 * bufferlist.[Ch]: new function getBufferFromTmp.
501 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
502 files in the temporary dir.
504 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
506 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
508 * Makefile.am: add lyxsocket.[Ch].
510 * lyx_main.C (error_handler): handle SIGPIPE.
512 2003-10-13 André Pönitz <poenitz@gmx.net>
514 * BufferView_pimpl.C:
519 * undo_funcs.[Ch]: use paroffset_type instead of
520 ParagraphList::iterators to prevent multiple conversion
521 (and get a more robust interface)
523 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
525 * lyxfunc.C (dispatch): RESULT -> dispatch_result
527 * text3.C (dispatch): ditto
529 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
531 * LaTeX.C (handleFoundFile): move the static to smaller scope,
532 move the onlyfile, use onlyfile instead of foundfile in a couple
535 * DepTable.C (update): flush the error stream a bit more
537 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
539 * lyxserver.C (callback): adjust
541 * lyxfunc.C (getStatus): add a missing brace in commented code
542 (ensureBufferClean): reindent
543 (dispatch): delete version taking a string
545 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
547 * LaTeX.C (deplog): move found file handlig from here...
548 (handleFoundFile): .. to new function here.
549 (deplog): make sure to discover several files mentioned on the
552 2003-10-10 André Pönitz <poenitz@gmx.net>
559 * text3.C: fix some of the tabular crashes
561 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
563 * MenuBackend.C (binding): put debug message into Debug::KBMAP
565 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
567 2003-10-09 André Pönitz <poenitz@gmx.net>
569 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
572 * BufferView_pimpl.C:
573 * bufferview_funcs.C:
584 * undo_funcs.C: adjust
586 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
588 * text2.C (incrementItemDepth): new function, use a backtracking
589 algorithm to discover the correct item depth.
590 (resetEnumCounterIfNeeded): new function, use a backtracking
591 algorithm to discover if counter reset is needed.
592 (setCounter): use them. Simplify a bit. Add different labels for
593 different item depths for itemize.
595 * paragraph.C (Paragraph): remove initialization of enumdepth
598 * paragraph.h: get rid of enumdepth, and use itemdepth both for
599 enumerate and itemize. Change the type of itemdepth to signed char.
601 2003-10-08 André Pönitz <poenitz@gmx.net>
603 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
608 * tabular.[Ch]: fix crash after 'row-insert'
610 2003-10-08 Angus Leeming <leeming@lyx.org>
612 Fix doxygen warnings.
614 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
615 Remove CutAndPaste:: prefix from header file declaration.
617 * LColor.h (fill): remove LColor:: prefix from declaration.
619 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
620 use lyx::depth_type rather than Paragraph::depth_type so that
621 header file and .C file match.
623 * converter.h (intToFormat): remove Converters:: prefix from declaration.
625 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
626 * aspell.C: \file aspell_local.C -> \file aspell.C
627 * gettext.C: \file gettext.C -> \file src/gettext.C
628 * gettext.h: \file gettext.h -> \file src/gettext.h
629 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
630 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
631 * text.C: \file text.C -> \file src/text.C
633 * toc.C: move comment so that doxygen is not confused.
635 2003-10-07 Angus Leeming <leeming@lyx.org>
637 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
639 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
642 * aspell_local.h: add forgotten std::string's.
644 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
651 * text3.C: The Box patch. Fancybox support, minipage, parbox
653 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
659 * ParagraphParameters.h:
669 * lyxtextclasslist.h:
673 * textcursor.h: add <string> and other small fixes to make Lars'
674 std::string patch compile with STLport.
676 2003-10-06 Angus Leeming <leeming@lyx.org>
678 * LColor.h: Add missing #include <string>.
680 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
682 * All most all file in all subdirs: Make <string> be the prefered
683 way of getting to std::string, add using declarations.
685 2003-10-06 André Pönitz <poenitz@gmx.net>
687 * metricsinfo.C: initialize LyXFont before changing attribute.
688 (fixes the 'math in \emph is upright' bug)
690 2003-10-06 André Pönitz <poenitz@gmx.net>
692 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
694 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
697 * paragraph_pimpl.C: Small fixes to build using STLport
699 2003-10-02 André Pönitz <poenitz@gmx.net>
702 * text3.C: move handling of LFUN_DEPTH *; fix #1360
704 2003-10-01 André Pönitz <poenitz@gmx.net>
706 * factory.C: assert early
708 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
710 * lyx_main.C: remove the global debug object
712 * debug.h: adjust for new debugstream
714 * debug.C: adjust for new debugstream and keep the global debug
717 2003-09-22 Angus Leeming <leeming@lyx.org>
719 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
720 of g++ which otherwise complain that the scoped_ptr destructor can't delete
721 an incomplete class LyXFont.
723 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
725 * factory.C: bug fix in branches
727 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
729 * lyxfunc.C (processKeySym): adjust
731 (dispatch): change arg name from ev to func, adjust
732 (sendDispatchMessage): ditto
734 * lyx_main.C (defaultKeyBindings): adjust keybindings
735 (deadKeyBindings): ditto
737 * kbsequence.C (addkey): return a FuncRequest
739 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
741 * kbmap.C (bind): take a FuncRequest as arg, adjust
744 (defkey): change to take a FuncRequest as arg, adjust
745 (findbinding): take a FuncRequest as arg, adjust.
747 * funcrequest.h (operator=): added
749 * funcrequest.C (FuncRequest): default kb_action changed from
750 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
752 * buffer.C (dispatch): simplify
753 (dispatch): adjust to take a FuncRequest as arg, adjust
755 * boost.C (assertion_failed): change assertion message slightly
757 * ToolbarBackend.C (read): simplify
759 * MenuBackend.C (binding): adjust call to findbinding, add a
760 message if no binding is found.
762 (expandToc): correct by adding a empty FuncRequest
764 * LyXAction.C: include <boost/assert.hpp>
765 (isPseudoAction): delete function
766 (LookupFunc): change name to...
767 (lookupFunc): this. change return type to FuncRequest.
768 (getActionName): take kb_action as arg, simplify
769 (funcHasFlag): add an assert, simplify.
771 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
773 * toc.C (action): return a FuncRequest, simplify
775 * lyxfunc.C (processKeySym): adjust
776 (getStatus): delete version that takes an int.
778 (dispatch): delete version that takes action as int
780 (sendDispatchMessage): simplify and adjust
782 * funcrequest.C (getArg): take unsigned int as arg
784 * ToolbarBackend.C (read): adjust
785 (add): delete version that takes func as a string.
786 (getIton): take a FuncRequest as arg
788 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
791 * MenuBackend.C (MenuItem): add a new construct that only takes a
792 Kind, simplify the constructor use for submenus.
794 (expandLastfiles): adjust
795 (expandDocuments): adjust
796 (expandFormats): adjust
797 (expandFloatListInsert): adjust
798 (expandFloatInsert): adjust
799 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
801 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
802 Remove class variables lyx_pseudo_map and lyx_arg_map
804 * LyXAction.C (searchActionArg): delete function
805 (getPseudoAction): delete function
806 (retrieveActionArg): delete function
807 (LookupFunc): make it return kb_action, simplify.
808 (getActionName): simplify
810 * factory.C (createInset): fix new bug
812 2003-09-19 Angus Leeming <leeming@lyx.org>
814 * CutAndPaste.C (pasteSelection): remove fudge used to set the
815 masterFilename_ parameter in the include inset.
817 * factory.C (createInset): changes due to the changes to InsetInclude.
819 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
821 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
823 2003-09-18 Angus Leeming <leeming@lyx.org>
826 * BufferView.C: pass the buffer when calling Inset::getLabelList,
827 Inset::fillWithBibKeys.
828 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
830 2003-09-18 Angus Leeming <leeming@lyx.org>
832 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
834 (ctor): pass and store a 'Buffer const &'
835 (buffer): new member function.
837 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
838 '*this' to the LaTeXFeatures ctor.
840 2003-09-18 Angus Leeming <leeming@lyx.org>
846 * text.C: rename EnumLColor as LColor_color.
848 2003-09-18 Angus Leeming <leeming@lyx.org>
850 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
851 remove #include "insets/insetbase.h" from cursor.h.
853 2003-09-18 Angus Leeming <leeming@lyx.org>
855 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
856 InsetOld_code to remove #include "inset.h".
858 * iterators.C: add #include "insets/inset.h"
860 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
862 * BufferView.C: remove more locking stuff that apparently doesn't
863 do anything sensible.
865 2003-09-16 André Pönitz <poenitz@gmx.net>
868 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
871 2003-09-16 Angus Leeming <leeming@lyx.org>
873 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
875 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
878 * paragraph.h: remove #include "lyxfont.h". Forward declare
881 2003-09-16 Angus Leeming <leeming@lyx.org>
883 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
884 of support/textutils.h.
885 (isWord): move the contents of support/textutils.h's IsWordChar here.
891 * text2.C: add #include "paragraph.h".
894 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
896 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
902 * LaTeX.C: use namespace alias for lyx::support::os
904 2003-09-16 Angus Leeming <leeming@lyx.org>
907 * bufferview_funcs.C:
912 * text.C: add #include "LColor.h".
914 2003-09-16 Angus Leeming <leeming@lyx.org>
916 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
917 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
919 Store the FontBits::color variable as an int rather than as an
920 LColor::colorso that we can move LColor.h out of the lyxfont.h header
923 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
924 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
925 string calls together.
927 * lyxrc.C: add #include "LColor.h".
929 2003-09-15 Angus Leeming <leeming@lyx.org>
931 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
934 2003-09-15 Angus Leeming <leeming@lyx.org>
936 * LColor.h: add an EnumLColor wrapper for LColor::color.
938 * lyxfont.[Ch] (color, setColor, realColor):
939 * lyxtext.h, text.C (backgroundColor):
940 pass EnumLColor args to/from the functions, rather than LColor::color
944 * lyxtext.h: forward declare EnumLColor.
946 * lyx_main.C: add #include "LColor.h".
948 2003-09-15 Angus Leeming <leeming@lyx.org>
950 * .cvsignore: add lyx-gtk.
952 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
957 * ParagraphParameters.C
971 * vc-backend.C: remove usage of STRCONV
973 2003-09-15 Angus Leeming <leeming@lyx.org>
975 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
976 explicitly define the color passed to the painter.
978 2003-09-15 Angus Leeming <leeming@lyx.org>
980 * bufferparams.C (BufferParams): reorder member initializers to avoid
983 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
985 * CutAndPaste.C (pasteSelection): remove an outdated #warning
986 * text.C (updateRowPositions): remove an unusual nop
988 2003-09-12 André Pönitz <poenitz@gmx.net>
990 * BufferView_pimpl.C:
999 * Counters.[Ch]: finish the 'automatic counters' job
1001 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1003 * aspell.C: include <boost/assert.cpp> (compile fix)
1005 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1007 * boost.C (assertion_failed): use lyx::support::abort instead of
1010 2003-09-10 Angus Leeming <leeming@lyx.org>
1012 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1013 with their _fwd progeny.
1015 2003-09-09 Angus Leeming <leeming@lyx.org>
1017 134 files throughtout the source tree: replace 'using namespace abc;'
1018 directives with the appropriate 'using abc::xyz;' declarations.
1020 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1022 * boost.C (emergencyCleanup): moved here from LAssert.c
1023 (assertion_failed): new function, called by BOOST_ASSERT
1025 * several files: change Assert to BOOST_ASSERT
1027 2003-09-09 Angus Leeming <leeming@lyx.org>
1029 * buffer.[Ch]: Add an Impl class and move Buffer's member
1030 variables into it. As a result move several header files out of
1033 Add header files to lots of .C files all over the tree as a result.
1035 2003-09-09 Angus Leeming <leeming@lyx.org>
1037 * buffer.[Ch]: make Buffer's member variables private. Add
1040 Lots of changes all over the tree as a result.
1042 2003-09-08 Angus Leeming <leeming@lyx.org>
1044 * graph.C: #include <config.h>.
1046 2003-09-08 Angus Leeming <leeming@lyx.org>
1050 * BufferView_pimpl.C:
1079 * toc.C: remove redundant using directives.
1081 2003-09-07 Angus Leeming <leeming@lyx.org>
1083 * LaTeXFeatures.h: remove #include "support/types.h".
1084 * ToolbarBackend.h: remove #include <algorithm>.
1085 * changes.h: remove #include <ctime>.
1086 * debug.h: remove #include <iosfwd>.
1087 * graph.h: remove #include "support/std_string.h".
1088 * lyx_main.h: remove #include <csignal>.
1089 * lyxlex_pimpl.h: remove #include <fstream>.
1090 * sgml.h: remove #include <algorithm>, <utility>.
1091 * toc.h: remove #include "support/std_ostream.h".
1092 Add #include <iosfwd>.
1094 2003-09-07 Angus Leeming <leeming@lyx.org>
1096 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1098 * converter.h: forward declare LatexRunParams.
1099 * encoding.h: remove #include "lyxrc.h".
1100 * lyxtext.h: remove #include "LColor.h".
1101 * lyxtextclass.h: remove #include "support/types.h".
1102 * trans.h: remove #include "tex-accent.h".
1103 * trans_mgr.h: remove #include "tex-accent.h".
1104 * insets/inset.h: remove #include "support/types.h", <vector>.
1105 * insets/insetcollapsable.h: remove #include "LColor.h".
1106 * insets/insetinclude.h: remove #include "dimension.h".
1107 * insets/insetlatexaccent.h: remove #include "dimension.h".
1108 * insets/insetoptarg.h:: remove #include "insettext.h".
1109 * insets/insettext.h: remove #include "dimension.h",
1110 <boost/shared_ptr.hpp>
1112 * insets/renderers.h: add #include "dimension.h".
1113 * insets/updatableinset.h: add #include "support/types.h".
1115 * many .C files: Associated changes.
1117 2003-09-06 Angus Leeming <leeming@lyx.org>
1119 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1120 one, inside testInvariant.
1122 * PrinterParams.C: new file.
1123 * PrinterParams.[Ch]: move the function bodies out of line.
1125 2003-09-06 Angus Leeming <leeming@lyx.org>
1127 * ParagraphParameters.h: forward declare ParameterStruct rather than
1128 including its header file.
1129 (depth): moved out-of-line.
1131 2003-09-06 Angus Leeming <leeming@lyx.org>
1133 * BufferView_pimpl.h:
1136 * lyxfunc.h: forward declare LyXKeySym rather than
1137 #include "frontends/LyXKeySym.h".
1139 * BufferView_pimpl.C:
1142 * lyxfunc.C: associated changes.
1144 2003-09-06 Angus Leeming <leeming@lyx.org>
1146 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1147 As a result, can remove the #include "insets/inset.h" from BufferView.h
1149 2003-09-06 Angus Leeming <leeming@lyx.org>
1151 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1152 As a result, can remove the #include "insets/inset.h" from BufferView.h
1154 2003-09-06 Angus Leeming <leeming@lyx.org>
1160 * bufferview_funcs.C:
1161 * BufferView_pimpl.C:
1166 * ParagraphParameters.C:
1171 * frontends/controllers/ControlDocument.C:
1172 * insets/insetcaption.C: rearrange the #includes into some sort of
1175 * buffer.h: remove #includes ErrorList.h, undo.h
1177 2003-09-06 Angus Leeming <leeming@lyx.org>
1179 * support/types.h: add a 'depth_type' typedef, used to store the
1180 nesting depth of a paragraph.
1183 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1184 defining explicitly.
1187 * paragraph_funcs.h:
1188 * ParagraphParameters.h:
1189 * sgml.h: use lyx::depth_type rather than Paragraph or
1190 ParameterStruct's depth_type.
1193 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1196 * BufferView_pimpl.C:
1198 * ParagraphParameters.C:
1201 * bufferview_funcs.C:
1208 * frontends/LyXView.C:
1209 * frontends/controllers/ControlDocument.C:
1210 * frontends/controllers/ControlErrorList.C:
1211 * insets/insetbibitem.C:
1212 * insets/insetbranch.C:
1213 * insets/insetcaption.C:
1214 * insets/insetcollapsable.C:
1215 * insets/insetenv.C:
1216 * insets/insetert.C:
1217 * insets/insetfloat.C:
1218 * insets/insetfoot.C:
1219 * insets/insetfootlike.C:
1220 * insets/insetnewline.C:
1221 * insets/insetquotes.C:
1222 * insets/insettabular.C:
1223 * insets/insettext.C:
1224 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1226 * frontends/controllers/ControlChanges.C: #include "changes.h".
1228 2003-09-06 Angus Leeming <leeming@lyx.org>
1230 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1231 than #including paragraph.h.
1234 * RowList.h: deleted. Superfluous.
1244 * insets/insettext.h: use ParagraphList_fwd.h rather than
1247 * paragraph.h: don't forward declare ParagraphList.
1250 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1251 rather than ParagraphList.h. paragraph.h is still needed for the
1252 Paragraph::depth_type parameters.
1254 * textcursor.h: enable it to compile stand-alone in light of the
1257 * bufferview_funcs.C:
1269 * frontends/controllers/ControlParagraph.C:
1270 * frontends/controllers/ControlTabular.C:
1271 * insets/insetmarginal.C:
1272 * insets/insetminipage.C:
1273 * insets/insetnote.C:
1274 * insets/insetoptarg.C: add header files needed to compile again.
1276 2003-09-06 Angus Leeming <leeming@lyx.org>
1278 * RowList_fwd.h: new file, forward-declaring Row rather than
1279 #including lyxrow.h.
1284 * insets/insettext.h: use it instead of RowList.h
1286 * bufferview_funcs.C:
1293 * text3.C: #include "RowList.h".
1295 2003-09-05 Angus Leeming <leeming@lyx.org>
1297 * factory.C (createInset):
1298 * vspace.C (c-tor): replace sscanf call with an istringstream.
1299 * ispell.C: re-add missing HP/UX headers.
1300 * lyxserver.C: re-add missing os2 headers.
1302 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1311 * text3.C: re-add missing system headers, needed for 2.95.2.
1313 2003-09-05 Angus Leeming <leeming@lyx.org>
1315 Changes most place everywhere due to the removal of using directives
1316 from support/std_sstream.h.
1318 2003-09-05 Angus Leeming <leeming@lyx.org>
1320 Replace LString.h with support/std_string.h,
1321 Lsstream.h with support/std_sstream.h,
1322 support/LIstream.h with support/std_istream.h,
1323 support/LOstream.h with support/std_ostream.h.
1325 Changes resulting throughout the tree.
1327 2003-09-05 Angus Leeming <leeming@lyx.org>
1329 * sgml.h: ensure that the header file can be compiled stand-alone.
1330 * *.C: strip out redundant #includes. (320 in total.)
1332 2003-09-04 Angus Leeming <leeming@lyx.org>
1334 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1335 here (from getPackages).
1337 * debug.[Ch]: add a new EXTERNAL tag.
1339 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1341 * text2.C (cursorEnd): simplify
1343 (getColumnNearX): adjust
1345 * text.C (computeBidiTables): adjust
1348 * rowpainter.C (paintChars): adjust
1349 (paintSelection): adjust
1350 (paintChangeBar): adjust
1353 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1355 (numberOfSeparators): adjust
1357 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1363 * text3.C: Restricts the mouse click functionality
1364 of insets like bibtex, include, toc and floatlist to the visible
1365 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1366 up the dialogs. Cursor has to be in front of the inset (i.e.
1367 start of row) for this to function.
1369 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1371 * bufferview_funcs.C (currentState): output row information
1373 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1375 * bufferview_funcs.C (currentState): output paragraph position
1377 2003-09-04 Angus Leeming <leeming@lyx.org>
1379 * FloatList.h: move out #include "Floating.h".
1380 * LaTeX.h: move out #include "DepTable.h".
1381 * LyXAction.h: move out #include "funcrequest.h".
1382 * buffer.h: move out #include "author.h", "iterators.h".
1383 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1384 * lyx_main.h: move out #include "errorlist.h".
1385 * lyxfunc.h: move out #include "FuncStatus.h".
1386 * lyxtext: move out #include "lyxcursor.h".
1387 * paragraph_pimpl.h: move out #include "counters.h".
1389 2003-09-03 Angus Leeming <leeming@lyx.org>
1391 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1392 preamble_snippets list, enabling us to add snippets to the preamble
1393 only if the snippet was not there already.
1395 2003-09-04 Angus Leeming <leeming@lyx.org>
1397 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1399 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1401 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1404 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1406 * BranchList.C: point fix, earlier forgotten
1408 2003-09-02 Angus Leeming <leeming@lyx.org>
1410 * box.C (contains): renamed from 'contained' after a fantastic
1413 2003-09-02 John Levon <levon@movementarian.org>
1419 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1421 2003-09-02 John Levon <levon@movementarian.org>
1423 * text2.C: simplification of cursorEnd(), including partial
1426 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1428 * buffer.C (readFile): add a space
1430 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1432 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1434 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1436 * buffer.C (readFile): new function, take a filename and a
1437 ParagraphList::iterator
1439 (readFile): adjust, make it private. don't use setStream, make
1440 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1441 always contain the filename.
1443 * BufferView.C (insertLyXFile): simplify and make it work for
1446 2003-08-30 John Levon <levon@movementarian.org>
1448 * Makefile.am: fix dist (from Kayvan)
1450 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1452 * most files: change to use const Buffer refs
1454 2003-08-27 André Pönitz <poenitz@gmx.net>
1456 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1457 on top of ownerPar().
1459 2003-08-27 John Levon <levon@movementarian.org>
1461 * funcrequest.C: properly initialise POD members
1463 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1465 * lyxtext.h (top_y): move top_y from here
1470 * BufferView_pimpl.[Ch]: to here
1471 * frontends/screen.C:
1472 * insets/insettabular.C:
1473 * insets/insettext.C: adjust
1474 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1476 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1479 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1481 2003-08-26 André Pönitz <poenitz@gmx.net>
1483 * paragraph_func.[Ch] (outerPar): new function
1486 * paragraph_funcs.C:
1487 * paragraph_funcs.h:
1488 * paragraph_pimpl.C:
1489 * text2.C: remove Inset::par_owner
1491 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1496 * text2.C: eliminates the needFullRow/display() stuff
1497 altogether, putting the logic in metrics/draw in the insets.
1499 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1501 * text2.C (redoParagraphInternal, redoParagraphs):
1502 * text.C (redoParagraph): add a call to updateRowPositions at the
1503 end of each 'metrics-like' call. Remove all others.
1504 (getRow): remove the 'y-computing' version.
1505 (getRowNearY): do not compute nor return the real y. Solve the
1506 'y < 0' problem and simplify.
1508 2003-08-22 Angus Leeming <leeming@lyx.org>
1510 * *.[Ch]: clean-up of licence and author blurbs.
1511 Also move config.h out of a few .h files and into a few .C files.
1513 2003-08-22 André Pönitz <poenitz@gmx.net>
1515 * lyxrow.[Ch]: add x_ and *fill_ members
1520 * text2.C: adjust/remove prepareToPrint() calls
1522 2003-08-22 André Pönitz <poenitz@gmx.net>
1524 * lyxrow.[Ch]: add end_ member
1526 * lyxrow_funcs.C: use LyXRow::end_
1528 * lyxtext.h (singleWidth): add LyXFont parameter
1531 * text2.C: adjust LyXText::singleWidth() calls
1533 * text.C (redoParagraph): simplify row breaking logic
1536 2003-08-19 André Pönitz <poenitz@gmx.net>
1538 * funcrequest.C: initialize button_ member
1541 * rowpainter.[Ch]: interface consolidation
1543 2003-08-18 André Pönitz <poenitz@gmx.net>
1546 * BufferView_pimpl.C:
1548 * paragraph_funcs.C:
1550 * text3.C: remove LyXScreen::draw() and fitCursor calls
1552 * BranchList.h: remove spurious semicolons
1554 * MenuBackend.C: fix branchlist related crash
1556 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1564 * bufferparams.[Ch]:
1568 * text3.C: implements the 'branch inset'
1569 idea. This allows the output of various versions of a document
1570 from a single source version, selectively outputing or suppressing
1571 output of parts of the text.
1572 This implementation contains a 'branch list editor' in a separate
1573 tab of the document settings dialog. Branches are user definable
1574 and have a "display colour" to distinguish them on-screen.
1576 ColorHandler was somewhat cleaned up.
1577 (1) make possible a dynamically growing LColor list by allowing
1578 the graphic context cache to grow along (vector);
1579 (2) eliminate an IMHO unnecessary step in colour allocation.
1581 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1583 * BufferView_pimpl.C: compile fix
1585 2003-08-15 André Pönitz <poenitz@gmx.net>
1587 * rowpainter.C: remove extra metrics calls
1589 * lyxtext.h: merge the two constructors into a single one,
1590 pass reference to owner's par list
1592 * BufferView_pimpl.C:
1596 2003-08-15 André Pönitz <poenitz@gmx.net>
1598 * lyxrow_funcs.[Ch]:
1601 * paragraph_funcs.C:
1606 * text_funcs.C: split LyXText::rowlist_ into individual
1607 Paragraph::rows_ chunks
1610 * BufferView_pimpl.[Ch]:
1613 * text3.C: remove toggleSelection()
1615 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1617 * bufferlist.C: beautify two alerts (shorter text of buttons)
1618 * buffer.C: Remove redundant ' ' from message
1620 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1621 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1622 rename VALIGN_CENTER to VALIGN_MIDDLE
1624 2003-08-11 André Pönitz <poenitz@gmx.net>
1626 * lyxtext.h (getPar):
1627 * text.C: new function
1629 2003-08-11 André Pönitz <poenitz@gmx.net>
1632 * tracer.[Ch]: remove unneeded files
1634 * InsetList.[Ch]: remove resizeInsetsLyXText()
1639 * text3.C: merge insertParagraphs() and appendParagraph()
1640 remove breakAgain(), update()
1642 * BufferView_pimpl.[Ch]:
1643 * bufferview_funcs.[Ch]:
1647 * tabular.C: adjust after text & InsetList changes.
1649 2003-08-08 André Pönitz <poenitz@gmx.net>
1651 * text.C (insertChar, backspace): replace rowlist fiddling
1652 with rebreak of full par
1655 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1656 checkParagraph, updateInset): removed
1658 2003-08-07 André Pönitz <poenitz@gmx.net>
1661 * text3.C: merge some LFUN handlers, remove dead code
1663 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1665 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1667 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1669 * text2.C (DEPM): fix part of bug 1255 and 1256
1671 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1673 * BufferView_pimpl.C (workAreaDispatch): change to use
1674 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1675 that are no mouse related.
1677 2003-08-05 André Pönitz <poenitz@gmx.net>
1680 * BufferView_pimpl.[Ch]:
1681 * bufferview_funcs.C:
1683 * text3.C: rip out "deep update"
1685 * textcursor.[Ch] (last_sel_cursor): remove unused member
1687 2003-08-04 André Pönitz <poenitz@gmx.net>
1690 * BufferView_pimpl.[Ch]:
1691 * ParagraphParameters.C:
1692 * bufferview_funcs.C:
1698 * text3.C: replace "complicated" BufferView::update(...) calls with
1701 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1703 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1705 * Makefile.am (lyx_SOURCES): add paper.h
1707 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1709 * Makefile.am: move things around so that both lyx-qt and
1710 lyx-xforms can be built (according to --with-frontend). Then lyx
1711 is a symbolic link to lyx-[firstfrontend]
1713 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1715 * Always use std::endl with lyxerr
1717 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1719 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1721 2003-08-01 André Pönitz <poenitz@gmx.net>
1724 * BufferView_pimpl.[Ch]:
1726 * text3.C: merge BufferView::repaint() and BufferView::update()
1728 2003-08-01 José Matos <jamatos@lyx.org>
1730 * buffer.[Ch]: file_format is no longer a buffer data element.
1732 2003-08-01 André Pönitz <poenitz@gmx.net>
1737 * text2.C: make redoParagraph more independent of current cursor
1739 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1741 * text2.C: remove unneeded members
1743 2003-07-30 André Pönitz <poenitz@gmx.net>
1745 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1747 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1748 create a single function...
1750 * paragraph_funcs.C (moveItem): ... here.
1753 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1755 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1757 * LColor.[Ch]: Add comment and greyedout logical colors.
1759 2003-07-30 André Pönitz <poenitz@gmx.net>
1761 * tabular.C: don't use Assert too heavily. This crashes where it
1764 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1766 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1767 is disabled (bug 1232)
1769 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1771 * factory.C: limited 'arg' scope
1773 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1775 * factory.C: fixed Note submenu issues
1777 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1779 * factory.C: submenu for Note/Comment/Greyedout
1781 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1784 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1786 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1789 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1790 greyedout. Patch provided by Jürgen Spitzmüller.
1792 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1794 * kbmap.C (read): fix error message when reading bind files
1796 2003-07-29 Angus Leeming <leeming@lyx.org>
1798 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1799 certainly does not do what it purports to do. I am doing it, and
1800 us, a favour by killing it.
1802 2003-07-28 José Matos <jamatos@lyx.org>
1804 * buffer.C (readBody, do_writeFile):
1805 * paragraph.C(readParagraph): \end_document replaces \the_end.
1807 2003-07-29 André Pönitz <poenitz@gmx.net>
1810 * BufferView_pimpl.[Ch]:
1814 * textcursor.[Ch]: remove toggleToggle & Co
1816 2003-07-28 José Matos <jamatos@fep.up.pt>
1818 * buffer.C (readParagraph):
1819 * params_func (readParToken, readParagraph):
1820 * paragraph.C (write): \layout -> \begin_layout.
1822 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1824 * lyxlex_pimpl.C (setFile): clean up slightly.
1826 * bufferparams.h: add compressed var
1828 * buffer_funcs.C (readFile): adjust for LyXLex change
1829 (newFile): ditto + simplify
1831 * buffer.C (writeFile): handle writing of compressed files
1833 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1834 Check if the file is compressed and set a bufferparm if so.
1836 * Makefile.am (lyx_LDADD): remove explicit -lz
1838 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1840 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1841 makeDocBookFile): put the real LyX version in the first line of
1845 * version.C.in: remove lyx_docversion
1847 * tabular.C (write_attribute): add a template-based version to
1848 write enums properly
1850 2003-07-28 André Pönitz <poenitz@gmx.net>
1855 * text3.C: use doubles again for x-coordinates. They are needed.
1857 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1859 * messages.C (getLocaleDir): use lyx_localedir()
1861 * lyxlex_pimpl.C (setFile): compress stuff
1863 * buffer.C (writeFile): add some compression stuff
1864 (do_writeFile): new func, dont call expliti close... will this
1867 * Makefile.am (lyx_LDADD): add -lz
1869 2003-07-28 José Matos <jamatos@fep.up.pt>
1871 * buffer.C: increment file format.
1872 * paragraph_funcs (readParagraph, readParToken):
1873 * paragraph.C (readParagraph): add \end_layout.
1875 2003-07-27 Angus Leeming <leeming@lyx.org>
1877 * Makefile.am: remove special casing for configure-time setting of
1878 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1880 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1881 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1883 2003-07-26 André Pönitz <poenitz@gmx.net>
1885 * paragraph_func.[Ch]:
1886 * paragraph.C (realizeFont): inline it whereever it is used
1891 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1894 2003-07-26 André Pönitz <poenitz@gmx.net>
1898 * text2.C: get rid of LyXText::need_break_row
1900 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1902 * toc.[Ch]: put namespace toc inside namespace lyx
1904 * MenuBackend.C (expandToc2): adjust for lyx::toc
1907 * lyxfunc.C (dispatch): adjust for lyx::find
1909 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1910 lyx::find instead. Reorganize a bit.
1911 (LyXReplace): rename to replace
1912 (LyXFind): rename to find
1914 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1917 2003-07-26 André Pönitz <poenitz@gmx.net>
1919 * text.C (setHeightOfRow): restrict scope of temporary variable
1921 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1922 code (never has been used?)
1924 2003-07-27 Asger Alstrup <alstrup@local>
1926 * text.C (fill): Optimise algorithm to exploit that we can reuse
1927 the LyXFont for many characters.
1928 (setHeightOfRow): Same thing.
1929 (rowBreakPoint): Same thing.
1931 2003-07-26 Asger Alstrup <alstrup@local>
1933 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1935 * text.C (singleWidth): Spurious font copying in hot-spot
1936 singleWidth avoided. Reorder tests for arabic for efficiency.
1938 * text.C (fill): handle empty paragraphs better.
1940 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1943 * encoding.h: add includes
1945 * lyxrc.C: remove reading of bind files
1947 * lyx_main.C (init): setup bindings and menus only if we have a
1950 * kbmap.C (read): new method. Do the actual reading of bind
1953 * converter.C (dvipdfm_options):
1956 (output): adapt PAPER_* enums.
1958 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1960 * bufferparams.h: remove paper-related enums from there
1962 * paper.h: New file. A trivial header file to hold paper-related
1963 enums. It should later expand to contain many paper-related
1966 * lyxrc.C: declare extern displayTranslator
1968 2003-07-27 José Matos <jamatos@fep.up.pt>
1970 * tabular.[Ch] (linuxdoc): add support for tables and figures
1973 2003-07-27 José Matos <jamatos@fep.up.pt>
1975 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1976 consistency in both functions.
1977 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1979 2003-07-26 Asger Alstrup <alstrup@local>
1981 * rowpainter.C (paintRows): Change algorithm to work directly on
1982 the insets rather than asking every character in the document
1983 whether its an inset.
1985 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1987 * buffer.C (openFileWrite): factorize some code
1989 2003-07-26 Angus Leeming <leeming@lyx.org>
1992 * lyx_main.[Ch]: replace occurances of system_tempdir with
1995 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1997 * rename Inset to InsetOld
1999 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2001 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2002 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2003 which I think is a bit clearer. EDIT is gone, since it was
2004 premature optimisation, and broken for mathed anyway.
2005 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2006 with cursor positioning in insets as well (math insets still do not
2007 work, but that's a different story anyway.) It mysteriously
2008 crashes sometimes with undo in the first paragraph, but I'm fairly
2009 confident that this is a compiler bug.
2011 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2013 * paragraph.C (Paragraph): adjust for new clone return type
2015 (copyIntoMinibuffer): ditto
2017 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2019 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2020 by not having a special case, and always doing a full rebreak of
2021 the document after undo.
2023 2003-07-23 Angus Leeming <leeming@lyx.org>
2025 * factory.C (createInset): InsetExternal::setParams now takes a
2028 2003-07-23 Angus Leeming <leeming@lyx.org>
2030 * factory.C (createInset): changed interface to the external and
2031 graphics mailers' string2params functions.
2033 2003-07-23 Angus Leeming <leeming@lyx.org>
2035 * factory.C (createInset): pass a
2036 Buffer const * parameter to InsetExternalMailer's string2params.
2038 2003-07-22 John Levon <levon@movementarian.org>
2040 * Thesaurus.h: include the right aiksaurus header
2042 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2044 * MenuBackend.C (expand): check menu shortcuts unconditionally
2046 2003-07-21 Angus Leeming <leeming@lyx.org>
2048 * factory.C (createInset): pass a
2049 buffer_path parameter to InsetGraphicsMailer's string2params.
2051 2003-07-21 Angus Leeming <leeming@lyx.org>
2053 * BufferView_pimpl.C (buffer):
2056 * lyxfunc.C (dispatch):
2057 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2058 rather than the grfx shortcut.
2060 2003-07-21 André Pönitz <poenitz@gmx.net>
2062 * rowpainter.C: remove unused variables
2065 * tabular_funcs.h: move to tabular.C
2066 * Makefile.am: adjust
2068 * tabular.[Ch]: basic optical cleaning
2070 * author.h: pass references, not values
2072 2003-07-18 André Pönitz <poenitz@gmx.net>
2080 * text3.C: two-phase drawing for InsetText and InsetTabular
2081 some float -> int changes.
2083 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2085 * lyx_main.C: fix the fix
2087 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2089 * lyx_main.C: fix a crash in batch mode if no files specified
2092 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2094 * format.[Ch] (papersize): moved to BufferParams
2095 * converter.[Ch] (dvips_options): moved to BufferParams
2096 (dvipdfm_options): moved to anon namespace
2097 * bufferparams.[Ch]: added above functions.
2099 2003-07-17 André Pönitz <poenitz@gmx.net>
2103 * text2.C: don't call inset->update() anymore
2105 * metricsinfo.[Ch]: add convenience constructor
2107 2003-07-16 André Pönitz <poenitz@gmx.net>
2112 * text2.C: replace the LyXCursor::irow_ member with
2113 on-demand computation of the value
2115 2003-07-16 John Levon <levon@movementarian.org>
2117 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2119 2003-07-15 André Pönitz <poenitz@gmx.net>
2122 * text2.C: remove no more needed refresh_row
2124 2003-07-15 André Pönitz <poenitz@gmx.net>
2129 * text3.C: refresh_status tristate -> need_update bool
2131 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2133 * lyxtext.h (init): remove reinit argument (act as if always true)
2134 * text2.C: adjust to that
2136 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2138 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2139 * text3.C: use it to delete selections in some cases
2140 (bugs 441, 673, 702, 954).
2142 2003-07-14 André Pönitz <poenitz@gmx.net>
2144 * rowpainter.[Ch]: reduce interface
2146 2003-07-14 André Pönitz <poenitz@gmx.net>
2148 * BufferView_pimpl.C:
2149 * text2.C: adjust after removing unused BufferView * argument
2151 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2153 * text2.C (init): fix a crash fired on resize
2155 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2157 * buffer.[Ch]: added new closing signal
2158 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2159 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2160 BufferView::Pimpl via the closing the signal
2162 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2164 * buffer.[Ch]: take out all bv-related from buffer
2166 * BufferView_pimpl.[Ch]: connect to new signals
2167 * CutAndPaste.C: removed useless asserts
2168 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2171 * lyxfunc.C: moved view-related funciontality from vc here
2172 * paragraph.C: removed outdated comments
2175 2003-07-10 André Pönitz <poenitz@gmx.net>
2177 * BufferView_pimpl.C:
2181 * text2.C: remove InsetText::InnerCache, clean up consequences
2183 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2185 * ispell.C: fix two typos in error messages
2187 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2189 * Extend Note inset to other forms of annotation like Comment
2190 and Greyedout. Right button click gives dialog.
2192 Files modified or added (+):
2196 * ControlNote.[Ch] +
2198 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2199 frontends/controllers
2203 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2205 * aspell.C: add missing namespace lyx::support
2207 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2209 * BufferView.[Ch] (newFile): Add
2210 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2211 * LaTeX.[Ch] (message): added this signal and use it
2212 * buffer.[Ch] (busy, message): added these signals and use them
2213 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2217 * importer.C: use buffer signals instead of direct bv calling
2218 * lyx_cb.[Ch] (ShowMessage): removed
2221 * paragraph_funcs.C:
2222 * text2.C: use buffer signals
2224 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2226 * introduce namespace lyx::graphics
2228 2003-07-02 André Pönitz <poenitz@gmx.net>
2230 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2232 2003-07-01 André Pönitz <poenitz@gmx.net>
2239 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2240 text*.C to text_func.C
2242 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2244 * introduce namespace lyx::support
2246 2003-06-30 André Pönitz <poenitz@gmx.net>
2251 * text.C: re-enable --with-included-string
2253 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2255 * textcursor.C: add <config.h>
2257 * text.C (getWord): remove const from word_location arg
2259 * lyxvc.C (getLogFile): fix const type order
2261 * lyxtext.h: remove const from word_location arg, add arg name
2263 * lyxlayout.h: currect type on labeltype.
2265 * importer.C: correct \file
2267 * converter.C (intToFormat): use std:: on ret val, ws changes
2269 * bufferlist.h: correct \file
2271 * buffer.C (makeLinuxDocFile): fix const type order
2272 (makeDocBookFile): ditto
2273 (fillWithBibKeys): use std:: on stdlib args.
2275 * CutAndPaste.C: fix authors.
2276 (availableSelections): use std:: on return vector
2278 2003-06-27 André Pönitz <poenitz@gmx.net>
2280 * BufferView_pimpl.C:
2281 * bufferview_funcs.C:
2289 * text3.C: remove LyXCursor::row_ member
2292 * text.C: rename fullRebreak() to partialRebreak() and implement
2293 a fullRebreak() that really bereks fully
2295 * textcursor.h: new struct for cursor-related data
2297 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2299 * lyx_main.C (LyX): get full path of document loaded on the
2302 2003-06-26 André Pönitz <poenitz@gmx.net>
2304 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2305 remove unused/broken operator>,<,>=.
2307 * text.C: remove only use of broken operator<= in an Assert().
2309 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2311 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2312 moved errorlist_.clear to showErrorList
2314 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2316 * converter.C (scanLog, runLaTeX):
2317 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2318 move the bv->showErrorList call to the callers
2319 * lyxfunc.C: i.e. here...
2321 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2322 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2323 namespace, the second to...
2324 * buffer_funcs (BufferFormat, parseErrors): added
2325 * errorlist.C (ErrorList(TeXErrors const &)): removed
2327 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2329 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2331 2003-06-24 "Garst R. Reese" <reese@isn.net>
2335 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2337 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2339 * version.C.in: change docversion to 1.4
2341 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2343 * buffer.C: fix a bug just introduced
2345 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2347 * buffer.[Ch]: added the parseError signal and use it, removed
2349 * BufferView.[Ch] (addError): moved to ...
2350 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2351 to the Buffer::parseError signal to catch (guess what) parse errors
2352 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2354 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2356 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2357 ability to create a buffer and to return an existing one from
2358 the list. Moved these functions to...
2359 * buffer_funcs.[Ch]: added
2360 * BufferView.[Ch] (loadLyXFile): added
2361 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2362 job removed from bufferlist::loadLyXFile.
2363 * buffer.C (setReadOnly): make it work without view
2364 (i.e added an if (users))
2366 2003-06-19 Angus Leeming <leeming@lyx.org>
2369 * LyXAction.C (init):
2370 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2371 with LFUN_DIALOG_SHOW <name> <data>.
2373 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2375 * CutAndPaste.C (availableSelections): small compilation fix for
2376 ancient (gcc 2.9x) compilers
2378 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2380 * text3.C (cursorNext): add tmp var
2382 * text2.C (updateCounters): for function calling out of for clause
2383 (replaceSelectionWithString): ditto
2384 (insertStringAsParagraphs): ditto
2385 (getColumnNearX): add tmp var
2386 (setCursorFromCoordinates): add tmp var
2387 (cursorDownParagraph): add tmp var
2388 (deleteEmptyParagraphMechanism): add tmp var
2390 * text.C (insertChar): add tmp var
2392 * rowpainter.C (paintDepthBar): add tmp var
2394 * CutAndPaste.C (availableSelections): potentially check all
2395 paragraphs in a cut to fill the shown strings.
2397 2003-06-18 André Pönitz <poenitz@gmx.net>
2399 * kbmap.[Ch]: use vector<> instead of list<>
2401 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2403 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2404 pasteSelection with index
2406 * text2.C (pasteSelection): modify, call pasteSelection with index
2408 * paragraph.C (asString): reimplement version with no interval to
2409 call the one with interval.
2411 * lyxtext.h: add index arg to pasteSelection
2413 * MenuBackend.C (MenuItem): handle PasteRecent
2414 (Menu::read::Menutags): add md_pasterecent
2416 (expandPasteRecent): new function
2419 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2421 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2423 (availableSelections): new function
2425 2003-06-17 Angus Leeming <leeming@lyx.org>
2427 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2429 2003-06-17 Angus Leeming <leeming@lyx.org>
2432 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2434 * lyxfunc.C (dispatch): invoke it.
2436 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2438 * iterators.C (operator++, ParPosition): reintroduce some
2439 const_cast for the benefit of older compilers.
2441 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2443 * text3.C (dispatch): do not modify clipboard when doing
2444 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2445 LFUN_DELETE_SKIP on a selection selection
2447 2003-06-16 André Pönitz <poenitz@gmx.net>
2453 * tabular.[Ch]: IU of clone() and getLabelList();
2455 2003-06-13 André Pönitz <poenitz@gmx.net>
2457 * tabular.h: compactification
2459 2003-06-12 André Pönitz <poenitz@gmx.net>
2463 * tabular_funcs.h: some renaming plus whitespace
2465 2003-06-12 André Pönitz <poenitz@gmx.net>
2468 * BufferView_pimpl.C:
2474 * toc.C: Return a Paragraph & for ParIterator::operator*()
2476 2003-06-11 John Levon <levon@movementarian.org>
2480 * ToolbarBackend.C: add "Toolbars" section and
2483 2003-06-10 Angus Leeming <leeming@lyx.org>
2486 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2488 * lyxfunc.C (dispatch): invoke it.
2490 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2492 * main.C: protect <ios> with HAVE_IOS
2493 (main): protect sync_with_stdio with HAVE_IOS
2495 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2497 * text2.C (cutSelection): adjust
2498 (pasteSelection): adjust
2500 * messages.C: handle get of empty string
2502 * main.C (main): use sync_with_stdio(false)
2504 * lyxfunc.C (dispatch): adjust
2506 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2507 (WriteAs): remove unneeded BufferView arg.
2509 * bufferparams.h: use correct types on papersize, papersize2 and
2512 * bufferparams.C (readToken): adjust for type
2513 (writeLaTeX): add missing cases to switch.
2515 * bufferlist.C (quitWriteBuffer): adjust
2518 * buffer.C (asciiParagraph): remove some commented code.
2520 * CutAndPaste.C: remove current_view extern variable.
2521 (cutSelection): add BufferParams arg.
2522 (eraseSelection): add BufferParams arg.
2523 (pasteSelection): add Buffer const & arg
2525 2003-06-07 John Levon <levon@movementarian.org>
2528 * paragraph_funcs.C:
2529 * paragraph_pimpl.C:
2533 * paragraph.C: allow InsetERT to freely space lines,
2534 and some consolidation of code
2536 2003-06-06 José Matos <jamatos@fep.up.pt>
2538 * buffer.C (makeDocBookFile): fix bug #821
2540 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2542 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2544 2003-06-04 Angus Leeming <leeming@lyx.org>
2546 * buffer.C: bump format to 224.
2548 2003-06-05 André Pönitz <poenitz@gmx.net>
2550 * text2.C (redoParagraphs): remove two const_cast<>
2552 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2554 * ParagraphList.h: remove last remnants of NO_STD_LIST
2556 2003-06-03 Angus Leeming <leeming@lyx.org>
2558 * factory.C (createInset): small change to the way InsetExternal's params
2561 2003-06-04 André Pönitz <poenitz@gmx.net>
2563 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2565 * paragraph_pimpl.h:
2566 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2568 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2570 * undo_funcs.C: make some simple cases of undo work again
2572 2003-06-03 John Levon <levon@movementarian.org>
2574 * ispell.C: HPUX doesn't have sys/select.h
2577 2003-06-03 John Levon <levon@movementarian.org>
2579 * CutAndPaste.C: update tabular and include inset
2584 * paragraph.C: remove owningBuffer(), don't pass Buffer
2587 * factory.C: insetGraphicsParams changed
2589 2003-06-02 John Levon <levon@movementarian.org>
2595 * text3.C: remove insetparent
2597 2003-06-02 John Levon <levon@movementarian.org>
2600 * buffer.C: fix inset_iterator.end(), move out of line
2603 2003-06-01 John Levon <levon@movementarian.org>
2605 * text3.C: use a proper cut/paste when doing inset
2606 insert (from Jürgen Spitzmüller)
2608 2003-06-01 John Levon <levon@movementarian.org>
2610 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2612 2003-05-30 André Pönitz <poenitz@gmx.net>
2614 * rowpainter.C: unify second drawing phase
2616 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2618 * trans_mgr.C: remove one case of current_view
2620 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2622 * paragraph_funcs.h: remove paragraph.h include
2624 * paragraph.h: delete NO_STD_LIST stuff
2626 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2628 * buffer.h: remove paragraph.h include
2630 * ParagraphList.C: delete file
2632 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2634 * toc.C (getTocList): adjust
2636 * paragraph_pimpl.C (validate): adjust
2638 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2640 * paragraph.C (Paragraph): adjust
2641 (getPositionOfInset): use const_iterator, adjust
2642 (bibitem): use const_iterator, adjust
2643 (setInsetOwner): adjust
2645 * iterators.C (operator++): adjust
2647 * InsetList.[Ch]: Replace selfmade iterator with standard
2648 vector::iterator also introduce const_iterator. Remove getPos,
2649 getInset and setInset from InsetTable. Adjust accordingly.
2651 * BufferView.C (lockInset): adjust
2652 (ChangeInsets): adjust
2654 * tabular.[Ch]: delete commented same_id functions
2656 2003-05-28 John Levon <levon@movementarian.org>
2658 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2660 2003-05-28 André Pönitz <poenitz@gmx.net>
2662 * metricsinfo.[Ch]: remove 'fullredraw' member
2664 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2666 * lyxtextclass.C (operator): remove caching.
2668 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2672 * text2.C (cursorBottom): adjust
2673 (setCounter): use ParagraphList::find, adjust
2675 * text.C (workWidth): use ParagraphList::find, adjust
2677 * lyxcursor.C (LyXCursor): adjust
2679 * buffer.C (inset_iterator): adjust
2681 * ParagraphList.h: make iterator(value_type) private, make
2682 ParagraphList a friend of iterator.
2684 * ParagraphList.C (find): new function
2686 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2688 2003-05-27 André Pönitz <poenitz@gmx.net>
2690 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2692 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2694 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2696 2003-05-26 John Levon <levon@movementarian.org>
2698 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2700 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2702 * remove same_id from function signatures, adjust.
2704 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2706 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2708 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2710 * paragraph.C (Paragraph): get rid of same_ids parameter
2712 * ParagraphList.C (insert): adjust
2715 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2717 * paragraph_funcs.C (breakParagraph): adjust
2718 (breakParagraphConservative): adjust
2720 * buffer.C (readParagraph): adjust
2722 * ParagraphList.C (insert): take a reference instead of a pointer
2725 * paragraph.[Ch] (id): new function
2727 * bufferlist.C (newFile): adjust
2729 * ParagraphList.C (ParagraphList): adjust
2731 (push_back): take a reference instead of a pointer.
2733 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2735 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2738 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2739 set else use old code.
2741 * ParagraphList.C: remove all NO_NEXT code and only compile this
2742 code of NO_STD_LIST is set.
2744 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2746 * BufferView_pimpl.C:
2756 * graphics/GraphicsConverter.C:
2757 * graphics/PreviewLoader.C: header adjustment
2759 2003-05-23 Angus Leeming <leeming@lyx.org>
2761 * LaTeXFeatures.[Ch] (useBabel): new method.
2762 * bufferparams.C (writeLaTeX): use it.
2764 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2766 * ParagraphList.h (set): remove unused function.
2768 2003-05-23 André Pönitz <poenitz@gmx.net>
2771 * BufferView_pimpl.C:
2775 * undo_funcs.C: setUndo reworked
2777 * iterators.[Ch]: add access to topmost ParagraphList
2779 * lyxtext.[Ch] (workWidth): add a const
2781 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2783 * texrow.[Ch] (increasePos): remove function
2784 * exporter.C (export): removed unused var and outdated comment
2786 2003-05-23 Angus Leeming <leeming@lyx.org>
2788 * latexrunparams.h: rename fragile as moving_arg.
2789 * paragraph.C (simpleTeXOnePar): ditto.
2790 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2792 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2794 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2796 (textUndoOrRedo): comment out a currently unused var.
2798 * paragraph.h (NO_NEXT): enable NO_NEXT
2800 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2802 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2804 * exporter.C (Export): adjust for removeAutoInsets removal.
2806 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2808 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2810 * BufferView.[Ch] (removeAutoInsets): delete function
2812 2003-05-22 Angus Leeming <leeming@lyx.org>
2814 * latexrunparams.h: add a free_spacing variable.
2816 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2817 to pass moving_arg, as the data is stored in runparams.fragile.
2819 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2820 to Inset::latexOptional or to simpleTeXOnePar.
2822 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2823 free_spacing arg to Inset::latexOptional.
2825 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2828 2003-05-22 Angus Leeming <leeming@lyx.org>
2830 * latexrunparams.h: add fragile and use_babel variables.
2832 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2833 * buffer.C (makeLaTeXFile): store this returned value in
2834 runparams.use_babel, thus passing it to the inset::latex methods.
2836 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2837 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2839 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2840 longer has a fragile arg, as it is stored in runparams.fragile.
2842 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2843 moving_arg parameter as the data is stored in runparams.fragile.
2845 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2846 a fragile parameter as the data is stored in runparams.fragile.
2848 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2850 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2852 2003-05-22 Angus Leeming <leeming@lyx.org>
2854 * latexrunparams.h: add a 'bool nice' which defaults to false.
2856 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2857 now encapsulated within runparams.
2859 * bufferlist.C (updateIncludedTeXfiles):
2860 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2862 2003-05-22 Angus Leeming <leeming@lyx.org>
2864 * latexrunparams.h: new file containing struct LatexRunParams.
2865 * Makefile.am: add new file.
2867 * LaTeX.[Ch] (c-tor, run):
2868 * buffer.[Ch] (makeLaTeXFile):
2869 * bufferlist.[Ch] (updateIncludedTeXfiles):
2870 * converter.C (convert, scanLog):
2871 * converter.[Ch] (runLaTeX):
2872 * exporter.C (Export):
2873 * paragraph.[Ch] (simpleTeXOnePar):
2874 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2875 * paragraph_funcs.[Ch] (latexParagraphs):
2876 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2877 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2878 pass around a LatexRunParams parameter.
2880 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2882 * paragraph.[Ch]: remove unused constructor
2884 * ParagraphList.C (erase): new function, taking two iterators
2886 2003-05-22 André Pönitz <poenitz@gmx.net>
2888 * undo_funcs.C: remove duplicated code
2890 * iterator.[Ch]: operator=
2892 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2894 * tabular.C (SetMultiColumn): ws changes
2896 * rowpainter.C (paintFirst): get rid of a ->previous
2898 * lyx_cb.C (getPossibleLabel): parlist simplification
2900 * BufferView.C (ChangeInsets): simplify slightly.
2902 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2904 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2905 * lfuns.h: new LFUN_SPACE
2906 * lyxfunc.C: protected space has a new lfun
2907 * paragraph_funcs.C: read new space insets
2909 * factory.C: handle new space insets
2911 2003-05-22 André Pönitz <poenitz@gmx.net>
2914 * BufferView_pimpl.C:
2917 * undo_funcs.C: return a ParIterator from getParFromID.
2919 * iterators.[Ch]: add two const's
2921 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2923 * toc.C (getTocList): adjust
2925 * iterators.[Ch]: rework for parlist
2927 * buffer.C (par_iterator_begin): adjust
2928 (par_iterator_end): adjust
2930 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2932 * BufferView.C (removeAutoInsets): adjust
2933 (ChangeInsets): adjust
2935 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2937 * text.C (top_y): fix bug 1110
2939 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2941 * errorlist.[Ch]: added
2944 * BufferView_pimpl.C:
2945 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2948 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2950 * Makefile.am: ensure that lyx is relinked upon changes to the
2951 various "convenience" libs.
2953 2003-05-20 Angus Leeming <leeming@lyx.org>
2955 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2956 files are compiled in alphabetical order again.
2958 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2960 2003-05-19 Angus Leeming <leeming@lyx.org>
2962 * gettext.[Ch]: remove "char const * _(char const *)".
2964 2003-05-19 André Pönitz <poenitz@gmx.net>
2966 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2975 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2977 2003-05-19 André Pönitz <poenitz@gmx.net>
2981 * lyxtextclass.[Ch]:
2983 * paragraph_funcs.[Ch]:
2985 * text3.C: more insetenv work
2987 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2989 * ParagraphParameters.C (params2string): small bug fixed
2991 2003-05-16 André Pönitz <poenitz@gmx.net>
2994 * bufferview_funcs.C: patch from Kornel Benko to prevent
2995 crash when _(...) is called twice in a statement
2997 2003-05-16 André Pönitz <poenitz@gmx.net>
3004 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3006 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3008 * lyx_main.C (init): remove spurious static_cast
3010 2003-05-14 André Pönitz <poenitz@gmx.net>
3012 * BufferView.C: fix format string
3014 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3016 * BufferView.[Ch] (insertErrors): removed
3017 * BufferView.[Ch] (showErrorList): added
3018 * buffer.C (runChkTeX):
3019 * converter.C (scanLog): call showErrorList instead of inserterrors
3021 2003-05-13 André Pönitz <poenitz@gmx.net>
3023 * BufferView_pimpl.C:
3025 * bufferview_func.C:
3032 * tabular_funcs.h: tostr() from its own header
3034 * ParagraphParameters.C:
3039 * text3.C: STRCONV()
3041 2003-05-12 André Pönitz <poenitz@gmx.net>
3044 * BufferView_pimpl.C:
3048 * ParagraphParameters.C:
3052 * bufferview_funcs.C:
3065 * paragraph_funcs.C:
3069 * text3.C: boost::format -> bformat all over the place
3072 2003-05-09 André Pönitz <poenitz@gmx.net>
3074 * LColor.[Ch]: Pimpl the #include <map> away
3076 2003-05-09 John Levon <levon@movementarian.org>
3078 * bufferlist.C: never remove emergency saves
3080 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3082 * Makefile.am: better lib building
3084 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3086 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3088 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3089 (simpleTeXSpecialChars): adjust
3090 (simpleTeXSpecialChars): adjust
3091 * paragraph.C (simpleTeXOnePar): adjust
3092 * buffer.C (makeLaTeXFile): adjust
3094 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3096 * text2.C (changeDepth): parlist cleanup
3097 (getColumnNearX): ditto
3099 * rowpainter.C (getLabelFont): parlist cleanup
3101 * bufferlist.C (newFile): parlist cleanup
3103 * CutAndPaste.C (eraseSelection): parlist cleanup
3105 * BufferView_pimpl.C (trackChanges): parlist cleanup
3108 * BufferView.C (lockInset): parlist cleanup.
3109 (ChangeInsets): ditto
3111 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3113 * CutAndPaste.h: Update file header.
3115 * CutAndPaste.C: Update file header.
3116 Store the parts cut out of the Document in a limited_stack.
3117 (copySelection): adjust
3118 (pasteSelection): new function, takes the index in the limited stack.
3119 (nrOfParagraphs): adjust
3120 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3121 simplify error inset insertion.
3122 (checkPastePossible): adjust
3124 2003-05-06 John Levon <levon@movementarian.org>
3126 * text2.C: don't cast wrap inset to float
3128 2003-05-05 André Pönitz <poenitz@gmx.net>
3131 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3133 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3134 few naked Paragraph *.
3136 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3138 * bufferparams.C: Output warning if a document with missing
3139 TeX document class is loaded
3140 * exporter.C: Disable TeX exports if the document class is missing
3143 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3144 isTeXClassAvailable()
3146 2003-05-03 John Levon <levon@movementarian.org>
3149 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3150 explicit cursor show/hide
3152 * BufferView_pimpl.h:
3153 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3154 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3156 * lyxfunc.C: hide cursor before dispatching.
3161 * text3.C: remove explicit cursor hides
3163 2003-05-02 André Pönitz <poenitz@gmx.net>
3165 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3168 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3171 * text2.C: tiny whitespace
3173 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3175 * undo_funcs.C: almost only ws changes.
3177 * ParagraphList.C (splice): just return if pl is empty.
3179 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3181 * ParagraphList.C (splice): new function.
3183 * CutAndPaste.C (pasteSelection): use it
3185 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3187 * CutAndPaste.C (pasteSelection): remove the last next and
3188 previous from this file.
3190 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3192 * CutAndPaste.C (pasteSelection): more clean up, user proper
3193 ParagraphList functions for pasteing.
3195 * ParagraphList.C (insert): new function, three arg insert
3197 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3199 * ParagraphList.C (insert): new function, three arg insert
3201 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3204 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3206 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3208 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3210 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3212 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3214 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3215 (copySelection): clean up a bit.
3216 (pasteSelection): use make_pair
3218 * ParagraphList.C (ParagraphList): implement copy constructor
3219 (operator=): implement, base on copy constructor.
3222 * paragraph.C (erase): return a bool
3224 * paragraph_pimpl.C (erasePos): remove function, move contents...
3225 (erase): ... here. Return a bool.
3226 (erase): call erase instead of erasePos.
3228 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3230 * ParagraphList.h: define PitPosPair
3231 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3232 ParagraphList, fix a bug on pasting multiple pars
3233 * text2.C: change interface to C&P
3235 2003-04-30 André Pönitz <poenitz@gmx.net>
3237 * undo_func.C: revert part of yesterday's patch 2
3239 2003-04-30 John Levon <levon@movementarian.org>
3241 * LColor.C: s/tabular/table/
3243 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3245 * text3.C (dispatch): do not convert iterator -> pointer
3246 * undo_funcs.C (setCursorParUndo): ditto
3247 * text_funcs.C (transposeChars): ditto
3249 * text2.C (setLayout): ws changes only
3251 * text.C (breakParagraph): do not convert iterator -> pointer
3253 (acceptChange): ditto
3254 (rejectChange): ditto
3259 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3262 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3264 * text3.C (gotoInset): YABG (yet another bad getChar)
3266 2003-04-29 André Pönitz <poenitz@gmx.net>
3268 * paragraph.h: make operator= private unimplemented as long as
3271 * ParagraphList.C: whitespace
3274 * paragraph_pimpl.[Ch]:
3275 * paragraph_funcs.C:
3277 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3280 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3282 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3284 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3285 * paragraph.[Ch] (erase):
3286 * paragraph_pimpl.[Ch] (erase): change return type and value
3287 * text2.C (cutSelection): some rework
3289 2003-04-28 John Levon <levon@movementarian.org>
3291 * bufferlist.C: changes for unsaved changes dialog
3293 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3295 * bufferlist.C (newFile): set language (messages_) for new
3298 * buffer.C (readFile): ws changes only.
3300 2003-04-28 André Pönitz <poenitz@gmx.net>
3305 * BufferView_pimpl.C:
3306 * BufferView.C: getParFromID related ParagraphList::iterator changes
3308 2003-04-28 André Pönitz <poenitz@gmx.net>
3310 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3313 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3315 * messages.C: remove one more localedir class variable.
3317 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3319 * messages.C (getLocaleDir): singleton generation function
3321 (Messages): add a default constructor.
3323 * main.C (main): do not setup localedir here, do not call
3326 * gettext.C (_): use it.
3327 (gettext_init): delete funciton
3329 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3331 * gettext.C (getLyXMessages): new singleton generating function.
3333 * buffer.C (updateDocLang): adjust
3335 * Makefile.am (messages.o): add target
3336 (main.o): remove target
3338 2003-04-27 John Levon <levon@movementarian.org>
3343 * lyxvc.C: specify cancel button in Alert::prompt
3345 2003-04-26 John Levon <levon@movementarian.org>
3350 * LyXAction.C: add LFUN_INSET_SETTINGS
3352 * lyxfunc.C: don't enable tabular-feature when there's
3353 just any locking inset
3355 2003-04-26 John Levon <levon@movementarian.org>
3357 * bufferlist.C: re-add Cancel to buffer close question
3359 * lyxfunc.C: fix import UI a bit
3361 2003-04-25 John Levon <levon@movementarian.org>
3363 * gettext.C: remove the broken asserts for now
3365 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3367 * messages.C: make case where setlocale cannot comply work better.
3369 * buffer.C (updateDocLang): new function
3370 (changeLanguage): use it
3373 * text2.C (setCounter): use B_ a bit.
3375 * lyxlayout.C (Read): be sure to trim the label strings.
3377 * messages.C (Messages): fix typo in comment
3379 * buffer.C (readFile): set message_ after file is loaded.
3380 (makeDocBookFile): remove double return
3381 (changeLanguage): reset message_ upon language change.
3382 (B_): new func, use this to get translated buffer strings.
3384 * main.C: add myself and Jean Marc as authors.
3386 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3388 * messages.[hC]: pimplify Messages, and three different pimpls to be
3389 used in different circumstances.
3391 * gettext.[Ch]: change for use with new message code.
3393 2003-04-24 André Pönitz <poenitz@gmx.net>
3395 * factory.C: support for eqref
3397 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3399 * messages.[Ch]: add missing char
3401 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3403 * messages.[Ch]: New files
3405 2003-04-18 John Levon <levon@movementarian.org>
3409 * BufferView_pimpl.C:
3413 * text2.C: remove layout-copy/paste (bug 778)
3415 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3417 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3419 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3421 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3422 if they succeed. Act accordingly.
3424 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3426 * text2.C (setCharFont): adjust
3427 (setCounter): adjust
3428 (insertStringAsLines): adjust
3430 * text.C (leftMargin): adjust
3431 (setHeightOfRow): adjust
3433 * rowpainter.C (paintFirst): adjust
3436 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3438 (isFirstInSequence): ditto
3439 (getEndLabel): ditto
3442 * paragraph.C (getParLanguage): comment out some hard stuff.
3444 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3446 (simpleDocBookOnePar): ditto
3447 (makeDocBookFile): use ParagraphList::iterator
3449 * CutAndPaste.C (pasteSelection): adjust
3451 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3453 * text2.C (getFont): adjust
3454 (getLayoutFont): adjust
3455 (getLabelFont): adjust
3457 * paragraph_funcs.C (TeXOnePar): adjust
3459 * buffer.C (simpleLinuxDocOnePar): adjust
3460 (simpleDocBookOnePar): adjust
3462 * CutAndPaste.C (pasteSelection): adjust
3464 * BufferView.C (getEncoding): adjust
3466 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3468 2003-04-16 John Levon <levon@movementarian.org>
3470 * lyxfind.C: use parlist stuff for search/changes
3472 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3474 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3476 * text2.C (deleteEmptyParagraphMechanism): adjust
3478 * text2.[Ch] (ownerParagraph): delete func (both of them
3480 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3482 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3484 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3486 * ParagraphList.C: prepare for NO_NEXT
3488 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3490 * text2.C (getFont): adjust
3491 (getLayoutFont): adjust
3492 (getLabelFont): adjust
3494 * paragraph.C (getFont): adjust
3495 (getLabelFont): adjust
3496 (getLayoutFont): adjust
3498 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3500 2003-04-15 John Levon <levon@movementarian.org>
3504 * lyx_main.C: handle Include in .ui files
3506 2003-04-15 John Levon <levon@movementarian.org>
3508 * MenuBackend.C: make the doc files length shorter
3511 * ToolbarBackend.C: handle toolbar placement flags,
3514 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3516 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3519 * paragraph_funcs.C (TeXOnePar): adjust
3521 * paragraph.C (getLabelFont): add outerfont arg, adjust
3522 (getLayoutFont): ditto
3523 (simpleTeXOnePar): adjust
3525 * paragraph_pimpl.C (realizeFont): delete func
3527 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3529 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3530 row argument, constify cur argument.
3532 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3534 * text2.C (getFont): adjust
3535 (getLayoutFont): adjust
3536 (getLabelFont): adjust
3538 * paragraph_funcs.C (TeXOnePar): adjust
3539 (outerFont): new func...
3540 (realizeFont): ...moved out from here, changed this to facilitate
3543 * paragraph.C (getFont): take outerfont as arg, adjust
3544 (simpleTeXOnePar): add outerfont arg, adjust
3546 * buffer.C (simpleLinuxDocOnePar): adjust
3547 (simpleDocBookOnePar): adjust
3549 * CutAndPaste.C (pasteSelection): adjust
3551 * BufferView.C (getEncoding): adjust
3553 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3555 * text2.C (setCharFont): adjust
3556 (setCounter): adjust
3558 * text.C (leftMargin): adjust
3559 (setHeightOfRow): adjust
3561 * rowpainter.C (paintFirst): adjust
3564 * paragraph_pimpl.C (realizeFont): adjust
3566 * paragraph.C (isFirstInSequence): move from here...
3567 * paragraph_funcs.C (isFirstInSequence): ...to here
3569 * paragraph.C (outerHook): move from here...
3570 * paragraph_funcs.C (outerHook): ...to here
3572 * paragraph.C (depthHook): move from here...
3573 * paragraph_funcs.C (depthHook): ...to here
3575 * paragraph.C (getEndLabel): move from here...
3576 * paragraph_funcs.C (getEndLabel): ...to here
3578 * text2.C (realizeFont): move from here...
3579 * paragraph_funcs.C (realizeFont): ...to here
3581 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3583 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3585 2003-04-14 Angus Leeming <leeming@lyx.org>
3587 * LColor.[Ch]: scrap LColor mathcursor.
3589 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3591 * lyxlex.[Ch] (text): delete function
3592 * trans.C (Load): adjust
3593 * paragraph_funcs.C (readParToken): adjust
3595 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3597 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3598 vector<char> instead of a char[].
3600 * lyxlex_pimpl.C (getString): adjust
3602 (lex): use getString
3606 * lyxlex.C (text): use pimpl_->getString()
3610 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3612 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3613 (makeFontEntriesLayoutSpecific): temp var for par.size()
3614 (setLayout): temp var for ownerParagraphs().end()
3615 (fullRebreak): temp var for rows().end()
3616 (selectionAsString): temp var for boost::next(startpit), realize
3617 that the while really is a regular for loop.
3618 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3619 setCursor in one place.
3620 (setParagraph): temp vr for ownerParagraphs().end()
3621 (updateCounters): make the while loop a for loop
3622 (cutSelection): temp var for ownerParagraphs().end()
3623 (updateInset): make the do {} while() a regular for loop
3624 (getCursorX): use temp vars
3625 (setCurrentFont): use temp vars
3626 (getColumnNearX): use temp vars
3628 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3630 * text.C (transformChar): use temp var for getChar
3631 (computeBidiTables): use temp var for row->par()
3632 (fill): move temp vars for row->par() and pit->layout() earlier in
3634 (labelFill): use temp var for row->par()
3635 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3636 asc and desc, realize that pit never changes and that firstpit is
3637 just a duplicate and not needed. Exchange rit->par() with pit in a
3639 (breakAgain): use a temp var for boost::next(rit)
3640 (breakAgainOneRow): ditto
3641 (breakParagraph): use a temp var for rows().begin()
3642 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3643 (cursorRightOneWord): use temp var for cursor.par() and
3644 cursor.pos(), remove usage of tmpcursor.
3645 (cursorLeftOneWord): use temp var for cursor.par() and
3646 cursor.pos() only set cur at end of function.
3648 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3650 * text.C, text2.C: exchange all usage of Paragraph::next with
3651 boost::next(ParagraphList::iterator)
3653 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3655 * text2.C (cursorTop): simplify implementation
3656 (cursorBottom): ditto
3657 (setParagraph): use ParagraphList::iterator
3658 (setCurrentFont): adjust
3659 (getColumnNearX): adjust
3660 (cursorRight): adjust
3661 (cursorLeft): remove usage of Paragraph::previous
3662 (cursorUpParagraph): ditto
3663 (deleteEmptyParagraphMechanism): slight cleanup
3665 * text.C (isBoundary): take a Paragraph const & instead of a
3667 (addressBreakPoint): ditto
3668 (leftMargin): remove usage of Paragraph::previous.
3669 (setHeightOfRow): ditto
3670 (cursorLeftOneWord): ditto
3671 (selectNextWordToSpellcheck): ditto
3674 (breakParagraph): remove one usage of Paragraph::next
3675 (redoParagraph): ditto
3676 (acceptChange): ditto
3677 (insertChar): adjust
3678 (rowBreakPoint): adjust
3680 * bufferview_funcs.C (toggleAndShow): adjust
3682 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3684 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3685 methods to access it.
3687 * text.C: Added updateRowPositions to compute all row positions.
3688 Make top_y and getRowNearY() to use the cached y position
3690 2003-04-11 John Levon <levon@movementarian.org>
3692 * text.C (rowBreakPoint): reintroduce the labelEnd
3693 checks, code copied from the row fill stuff. Deep voodoo.
3695 * text.C (fill): add a comment and debugging for the
3698 2003-04-11 John Levon <levon@movementarian.org>
3700 * text.C: make sure fullrow insets get wrapped to the next line,
3701 even when they're in a manual label
3703 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3705 * text2.C (insertParagraph): make it take ParagraphList::iterator
3707 (setLayout): make it return ParagraphList::iterator
3708 (redoParagraphs): ditto
3710 (checkParagraph): ditto
3712 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3714 * text2.C: adjust several funcs.
3715 (realizeFont): take a ParagraphList::iterator as arg.
3716 (getLayoutFont): ditto
3717 (getLabelFont): ditto
3718 (setCharFont): ditto
3720 * text.C: adjust several funcs.
3722 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3724 * text.C (selectNextWordToSpellcheck): don't accidentally
3727 2003-04-10 John Levon <levon@movementarian.org>
3729 * ToolbarBackend.C (getIcon): special handling for
3732 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3734 * text2.C (cursorRight): a getChar assert fixed
3736 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3738 * text2.C (getFont): change to take a ParagraphList::iterator
3739 instead of Paragraph*
3740 Adjust several functions.
3742 * text.C (transformChar): change to take a ParagraphList::iterator
3743 instead of Paragraph*
3744 (singleWidth): ditto
3745 Adjust several functions.
3747 * rowpainter.C: adjust several functions
3748 * rowpainter.h:store a ParagraphList::iterator and not a
3752 2003-04-09 John Levon <levon@movementarian.org>
3757 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3758 and the "help" bits as well
3760 2003-04-09 John Levon <levon@movementarian.org>
3763 * ToolbarBackend.C: allow multiple toolbars
3765 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3767 * undo_funcs.C (setCursorParUndo): adjust
3769 * text_funcs.C (transposeChars): adjust
3771 * text3.C (gotoNextInset): adjust
3774 * text2.C (setLayout): adjust
3775 (changeDepth): adjust
3777 (redoParagraphs): adjust
3778 (selectionAsString): adjust
3779 (setParagraph): adjust
3780 (insertInset): adjust
3781 (cutSelection): adjust
3782 (copySelection): adjust
3783 (pasteSelection): adjust
3784 (insertStringAsLines): adjust
3785 (updateInset): adjust
3786 (setCursor): change to take a ParagraphList::iterator parameter
3787 (setCursorIntern): change to take a ParagraphList::iterator parameter
3788 (setCurrentFont): adjust
3789 (cursorLeft): adjust
3790 (cursorRight): adjust
3791 (deleteEmptyParagraphMechanism): adjust
3793 * text.C (breakParagraph): adjust
3794 (insertChar): adjust
3795 (acceptChange): adjust
3796 (rejectChange): adjust
3797 (selectNextWordToSpellcheck): adjust
3798 (changeCase): adjust
3802 * lyxfind.C (SearchForward): adjust
3803 (SearchBackward): adjust
3804 (nextChange): adjust
3806 * lyxcursor.C (par): adjust
3808 * lyxcursor.h: store a ParagraphList::iterator instead of a
3811 * lyx_cb.C (getPossibleLabel): adjust
3813 * bufferview_funcs.C (toggleAndShow): adjust
3815 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3818 * BufferView.C (removeAutoInsets): adjust
3819 (lockedInsetStoreUndo): adjust
3821 2003-04-09 John Levon <levon@movementarian.org>
3823 * ToolbarBackend.C: try icon without argument
3824 if with argument fails
3826 2003-04-08 John Levon <levon@movementarian.org>
3829 * ToolbarBackend.C: add getIcon(), handle tooltip,
3830 and change from "Icon" to "Item".
3832 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3834 * BufferView.C (lockInset): another bad getchar crunched
3836 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3838 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3841 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3843 * lyxfind.C (searchForward, searchBackwards): bug 782
3845 2003-04-07 John Levon <levon@movementarian.org>
3847 * paragraph.C: remove dead comment
3849 * text.C: remove troublesome depth-fiddling code
3850 in leftMargin() and rightMargin() (bug 1017)
3852 * text.C: fix breaking of rows in nested lists
3855 * text2.C (updateCounters): fix up depth values
3858 2003-04-07 John Levon <levon@movementarian.org>
3860 * BufferView_pimpl.C: clear message when doc finishes resizing,
3861 and after a mouse event
3863 * lyxfunc.C: clear message after exiting inset
3865 2003-04-07 John Levon <levon@movementarian.org>
3867 * bufferview_funcs.C: show math status not outside
3868 status in the statusbar
3870 2003-04-07 John Levon <levon@movementarian.org>
3872 * lyxfunc.C: note status changed after a depth change
3874 2003-04-04 Angus Leeming <leeming@lyx.org>
3876 * LaTeX.h: move AuxInfo operator==, != out of line.
3877 Remove LaTeX virtual destructor; nothing derives from it.
3878 Move operator()() out of public area and rename it startscript().
3879 Change protected for private.
3881 2003-04-04 Angus Leeming <leeming@lyx.org>
3884 * text2.C: remove unneeded #includes.
3886 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3888 * text2.C (dEPM): fix the heigth of the next row
3890 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3892 * text.C: squashed an invalid getChar requester + some ws changes
3894 2003-04-03 John Levon <levon@movementarian.org>
3896 * bufferview_funcs.h:
3897 * bufferview_funcs.C:
3900 * text2.C: make getStatus work for the env depth lfuns
3902 2003-04-03 John Levon <levon@movementarian.org>
3904 * bufferview_funcs.h:
3905 * bufferview_funcs.C:
3908 * text2.C: parlistize decDepth(), by merging it with incDepth()
3910 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3912 * lyxrow.h: store a ParagraphList::iterator instead of a
3913 Paragraph* and adjust other class functions to suit.
3915 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3918 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3920 * text2.C (setCursor): do not anchor to cursor row for the time being
3922 2003-04-02 John Levon <levon@movementarian.org>
3929 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3931 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3933 * paragraph.h: make ParagraphList and ParagraphList::iterator
3934 friends of Paragraph.
3936 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3938 * ParagraphList.C: Use the private next_ and previous_ from
3941 2003-04-01 John Levon <levon@movementarian.org>
3945 * Makefile.am: rename, remove defaults gunk
3948 * MenuBackend.C: remove defaults gunk
3951 * Languages.C: remove defaults gunk
3954 * lyx_main.C: error out if files couldn't be found.
3956 2003-04-02 John Levon <levon@movementarian.org>
3958 * text2.C: make incDepth() use parlist
3960 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3962 * undo_funcs.C (firstUndoParagraph): adjust
3964 * text3.C (gotoInset): adjust
3965 (dispatch): adjust, and rewrite loop.
3967 * text2.C (init): adjust, and rewrite loop.
3968 (redoParagraphs): adjust
3969 (updateInset): adjust, and rewrite loop.
3970 (deleteEmptyParagraphMechanism): adjust
3972 * tabular.C (LyXTabular): adjust
3973 (SetMultiColumn): adjust
3976 * lyxtext.[Ch] (ownerParagraph): delete function
3977 (ownerParagraphs): new function returns a ParagraphList.
3979 * BufferView.C (removeAutoInsets): adjust
3980 (insertErrors): adjust
3981 (setCursorFromRow): adjust
3983 2003-04-01 Angus Leeming <leeming@lyx.org>
3985 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3988 2003-04-02 John Levon <levon@movementarian.org>
3994 * text_funcs.C: make transposeChars a free function
3996 * lyxrow_funcs.C: remove wrong comment
3998 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4001 * rowpainter.C: adjust
4006 * lyxrow_funcs. [Ch]: new files
4008 * lyxrow.[Ch]: remove next and previous pointers
4009 (next,previous): remove accessor functions
4010 (isParEnd): move to lyxrow_funcs
4011 (lastPos): move to lyxrow_funcs
4012 (nextRowIsAllInset): move to lyxrow_funcs
4013 (lastPrintablePos): move to lyxrow_funcs
4014 (numberOfSeparators): move to lyxrow_funcs
4015 (numberOfHfills): move to lyxrow_funcs
4016 (numberOfLabelHfills): move to lyxrow_funcs
4017 (hfillExpansion): move to lyxrow_funcs
4021 * bufferview_funcs.C (toggleAndShow): adjust
4023 * RowList.h: Remove class RowList from file leave just a
4026 * RowList.C: delete file
4028 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4031 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4033 * text3.C (cursorPrevious): adjust
4034 (cursorNext): adjust
4037 * text2.C (redoHeightOfParagraph): adjust
4038 (redoDrawingOfParagraph): adjust
4041 * text.C (breakParagraph): adjust
4042 (insertChar): adjust
4045 * rowpainter.C (RowPainter): adjust
4046 (leftMargin): simplify and adjust
4047 (most rowpainter functions): adjust.
4049 * rowpainter.h: store the row as RowList::iterator not as Row*
4051 * lyxcursor.C (row): taka RowList::iterator as arg
4054 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4057 2003-04-01 Angus Leeming <leeming@lyx.org>
4059 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4060 stuff like bool Bool.
4062 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4064 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4067 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4069 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4072 * lyxtext.h (rows): drop one version and leve a const variant that
4073 returns a RowList::iterator.
4075 2003-03-31 Angus Leeming <leeming@lyx.org>
4077 * text.C (fill): ensure that the signature is the same as that in the
4080 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4082 * text2.C (redoParagraphs): adjust
4083 (updateCounters): adjust
4084 (checkParagraph): adjust
4085 (getColumnNearX): adjust and reformat a bit.
4087 * text.C (top_y): adjust
4089 (leftMargin): adjust
4090 (prepareToPrint): adjust
4092 (getRowNearY): adjust
4094 * lyxtext.h: make rowlist_ mutable.
4096 * RowList.h: add const_iterator
4097 * RowList.C: adjust for RowList::const_iterator.
4099 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4102 2003-03-31 John Levon <levon@movementarian.org>
4105 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4107 * lyx_main.C: set default fonts from using lyx_gui funcs
4109 * exporter.C: pdf_mode moved from lyxrc
4112 * lyxfunc.C: changes from above
4114 2003-03-31 John Levon <levon@movementarian.org>
4116 * lyx_main.C: fix to the last fix
4118 2003-03-31 John Levon <levon@movementarian.org>
4120 * bufferlist.C: "Load original" -> "Load Original"
4126 * format.C: more Alert cleanups
4128 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4130 * text2.C (removeParagraph): make it take a RowList::iterator as
4132 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4133 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4135 * text.C (anchor_row): make it take a RowList::iterator as arg,
4137 (computeBidiTables): make it take a const reference to Row instead
4138 of Row pointer, adjust.
4139 (leftMargin): make it take a RowList::iterator as arg, adjust.
4140 (rowBreakPoint): adjust
4141 (breakAgainOneRow): make it take a RowList::iterator as arg,
4143 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4145 * bufferview_funcs.C (toggleAndShow): adjust
4147 2003-03-30 John Levon <levon@movementarian.org>
4151 * boost-inst.C: moved to support
4153 * several files: changes as a result
4155 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4157 * text2.C (LyXText): adjust.
4159 (removeRow): make it take a RowList::iterator as arg, adjust.
4160 (fullRebreak): adjust
4161 (deleteEmptyParagraphMechanism): adjust
4162 (clearPaint): adjust
4165 * text.C (top_y): adjust
4166 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4167 (breakAgain): make it take a RowList::iterator as arg, adjust.
4168 (breakParagraph): adjust
4169 (insertChar): adjust
4172 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4173 need_break_row, and refresh_row.
4175 * text3.C (dispatch): adjust
4177 * text2.C (checkParagraph): adjust
4179 (setCursorFromCoordinates): adjust
4181 * text.C (top_y): adjust
4183 (getRow): make it return a RowList::iterator, adjust
4184 (getRowNearY): make it return a RowList::iterator, adjust
4186 * text2.C (init): adjust
4187 (insertRow): remove function
4188 (insertParagraph): adjust
4189 (redoParagraphs): adjust
4190 (fullRebreak): adjust
4191 (updateCounters): adjust
4193 * text.C (top_y): rewrite to use RowList iterators.
4195 (setHeightOfRow): rewrite to sue RowList iterators.
4196 (appendParagraph): adjust
4197 (breakAgain): adjust
4198 (breakAgainOneRow): adjust
4199 (breakParagraph): adjust
4201 (getRowNearY): adjust, and remove commented code.
4203 * lyxtext.h (firstRow): delete function
4204 (lastRow): delete function
4205 (rows): new function (const and non-const versions.)
4206 (insertRow): delete function
4208 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4210 2003-03-29 John Levon <levon@movementarian.org>
4212 * BufferView_pimpl.C: always update scrollbar top
4213 because pasting text when we're anchored could mean we
4214 miss an update altogether
4216 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4218 * text2.C (init): use rowlist_.end() and not 0.
4219 (insertRow): change to take a RowList::iterator as arg, adjust
4221 (insertParagraph): change to take a RowList::iterator as arg,
4223 (redoParagraphs): remove some debug msgs.
4225 * text.C (appendParagraph): change to take a RowList::iterator
4226 arg, adjust for this.
4227 (breakAgain): add an assert
4228 (breakAgainOneRow): ditto
4230 2003-03-29 John Levon <levon@movementarian.org>
4232 * text2.C: do not clear selection after inc/decDepth
4235 2003-03-29 John Levon <levon@movementarian.org>
4238 * buffer.C: fix broken strerrors according to Lars
4240 2003-03-29 John Levon <levon@movementarian.org>
4242 * converters.C: more Alert cleanups
4244 2003-03-29 John Levon <levon@movementarian.org>
4246 * bufferview_funcs.C: remove pointless Alert
4248 * buffer.C: fix confusing error message when
4249 a template is chmoded 000
4251 2003-03-29 John Levon <levon@movementarian.org>
4255 * BufferView_pimpl.C: Alert fixes
4259 * tabular-old.C: remove unused table compat reading
4261 2003-03-29 John Levon <levon@movementarian.org>
4266 * lyx_cb.C: more Alert cleanups
4268 * lyxfunc.C: don't allow chktex if not latex document
4270 2003-03-29 John Levon <levon@movementarian.org>
4274 * buffer.C: warnings pushed down from support/,
4277 2003-03-29 John Levon <levon@movementarian.org>
4279 * lyxfunc.C: safety check for C-r (revert)
4281 2003-03-29 John Levon <levon@movementarian.org>
4284 * bufferlist.C: several UI fixes using Alert::prompt.
4285 Fix the pointless looping quit code. Fix stupid revert
4290 * lyx_cb.C: use Alert::prompt
4292 * lyx_main.C: remove a silly question
4294 * lyxfunc.C: remove a couple of silly questions,
4297 2003-03-28 John Levon <levon@movementarian.org>
4299 * text2.C: fix bug 974 (End on empty par)
4301 2003-03-28 John Levon <levon@movementarian.org>
4303 * BufferView_pimpl.C:
4305 * lfuns.h: remove do-nothing math greek lfuns
4307 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4309 * lyxgluelength.h (isValidGlueLength): add default arg on
4310 parameter 2. Remove default arg from friend in class.
4312 * lyxlength.h (isValidLength): add default arg on parameter 2.
4313 Remove default arg from friend in class.
4315 * text2.C (LyXText): adjust, initialize refresh_row.
4319 (insertParagraph): adjst
4320 (redoParagraphs): adjust
4321 (fullRebreak): adjust
4322 (updateCounters): adjust
4323 (deleteEmptyParagraphMechanism): first attempt at fixing a
4326 * text.C (top_y): adjust
4327 (setHeightOfRow): adjust
4329 (getRowNearY): adjust
4331 * lyxtext.h: include RowList.h
4332 (~LyXText): not needed anymore, deleted.
4333 (firstRow): modify for RowList
4334 (lastRow): new function
4335 Delete firstrow and lastrow class variables, add a Rowlist
4336 rowlist_ class variable.
4338 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4341 * RowList.C (insert): fix case where it == begin().
4343 2003-03-26 Angus Leeming <leeming@lyx.org>
4345 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4346 the thesaurus dialog.
4348 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4350 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4352 * RowList.[Ch]: new files
4354 * ParagraphList.C (erase): handle the case where it == begin
4357 2003-03-25 John Levon <levon@movementarian.org>
4361 * aspell.C: add new aspell support
4364 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4367 2003-03-25 Angus Leeming <leeming@lyx.org>
4370 * LyXAction.C (init): new LFUN_INSET_INSERT.
4372 * BufferView_pimpl.C (dispatch): split out part of the
4373 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4375 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4378 2003-03-25 Angus Leeming <leeming@lyx.org>
4380 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4382 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4385 * text3.C: remove useless row->height(0)
4387 2003-03-25 John Levon <levon@movementarian.org>
4391 * text3.C: rename the refreshing stuff to better names
4393 2003-03-24 John Levon <levon@movementarian.org>
4395 * BufferView_pimpl.h:
4396 * BufferView_pimpl.C: update layout choice on a mouse
4399 2003-03-23 John Levon <levon@movementarian.org>
4401 * Makefile.am: fix commandtags.h reference
4403 2003-03-22 John Levon <levon@movementarian.org>
4405 * BufferView_pimpl.C:
4410 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4412 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4415 * text.C: take the rtl methods out of line
4417 2003-03-21 André Pönitz <poenitz@gmx.net>
4419 * metricsinfo.[Ch]: new files containing structures to be passed around
4420 during the two-phase-drawing...
4422 2003-03-21 André Pönitz <poenitz@gmx.net>
4424 * lyxtextclass.C: read 'environment' tag.
4426 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4428 * text2.C (removeRow): fix bug 964
4430 2003-03-20 John Levon <levon@movementarian.org>
4434 * text2.C: paint cleanups. Inset::update() dropped font
4437 2003-03-19 John Levon <levon@movementarian.org>
4439 * lyxfunc.C: only fitcursor/markDirty if available()
4441 2003-03-19 John Levon <levon@movementarian.org>
4443 * commandtags.h: rename to ...
4445 * lfuns.h: ... this, and renumber / cleanup
4447 2003-03-19 John Levon <levon@movementarian.org>
4449 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4450 fit the cursor after an lfun
4454 * BufferView_pimpl.h:
4455 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4457 * LyXAction.C: layout-character should have ReadOnly
4459 * ParagraphParameters.C:
4461 * bufferview_funcs.C:
4468 * undo_funcs.C: changes from above
4470 2003-03-18 John Levon <levon@movementarian.org>
4472 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4473 remove it from update()
4475 * lyxfunc.C: update layout choice after an lfun
4477 * text3.C: remove extra updateLayoutChoice()s
4479 2003-03-18 John Levon <levon@movementarian.org>
4481 * text.C: top_y change means full repaint, fix
4482 a drawing bug with cursor movement
4484 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4488 * text2.C: anchor row on setCursor
4490 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4492 * lyxtext.h: remove almost all mutable keywords
4495 * text3.C: remove const keywords accordingly
4497 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4499 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4501 (TeXEnvironment): ditto
4504 2003-03-17 John Levon <levon@movementarian.org>
4506 * text.C (rowBreakPoint): remove attempt to fix displayed
4507 math insets inside a manual label
4509 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4511 * lyxtext.h: remove BufferView* as first arg from almost all class
4513 * other files: adjust.
4515 2003-03-17 John Levon <levon@movementarian.org>
4519 * text2.C: more paint cleanups
4521 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4524 * rowpainter.C: remove "smart" background painting code
4526 2003-03-16 John Levon <levon@movementarian.org>
4531 * text3.C: add helper functions for setting refresh_row/y
4533 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4535 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4536 newline inset which *can* get inserted in the pass_thru layouts.
4537 This is primarily for literate documents.
4539 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4541 * buffer.C: increment LYX_FORMAT to 223
4543 2003-03-14 André Pönitz <poenitz@gmx.net>
4545 * textclass.h: prepare for environment handling, ws changes
4546 * lyxlayout.C: read latexheader and latexfooter tags
4548 2003-03-14 John Levon <levon@movementarian.org>
4550 * text2.C: rewrite ::status() a bit
4552 2003-03-13 John Levon <levon@movementarian.org>
4554 * lyxtext.h: add some docs
4556 2003-03-13 John Levon <levon@movementarian.org>
4561 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4563 2003-03-13 John Levon <levon@movementarian.org>
4565 * text3.C: fix appendix redrawing
4567 2003-03-13 John Levon <levon@movementarian.org>
4569 * text.C (setHeightOfRow):
4571 * rowpainter.C: make appendix mark have the text
4572 "Appendix" so the user knows what it is
4575 * LColor.C: s/appendixline/appendix/ from above
4577 2003-03-13 John Levon <levon@movementarian.org>
4579 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4581 * text.C: fix a getChar(pos) bug properly
4583 2003-03-13 Angus Leeming <leeming@lyx.org>
4586 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4587 Probably only temporary. Let's see how things pan out.
4589 * BufferView.C (unlockInset):
4590 * BufferView_pimpl.C (fitCursor):
4591 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4593 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4594 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4596 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4597 new functions that convert ParagraphParameters to and from a string.
4599 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4600 BufferView::Pimpl's dispatch.
4601 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4603 2003-03-13 André Pönitz <poenitz@gmx.net>
4607 * factory.C: make it aware of InsetEnv
4609 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4611 * text2.C (setCursor): never ask for one past last
4612 (setCursor): add some debugging messages.
4614 * text.C (singleWidth): never ask for one past last
4615 (singleWidth): ditto
4617 (rightMargin): ditto
4618 (rowBreakPoint): ditto
4619 (setHeightOfRow): ditto
4620 (prepareToPrint): ditto
4622 * rowpainter.C (paintBackground): never ask for one past last
4623 (paintText): never ask for one past last
4625 * paragraph_pimpl.C (getChar): make the assert stricter, never
4626 allow the one past last pos to be taken
4628 * paragraph.C (getChar): ws changes only
4630 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4631 (numberOfSeparators): ditto
4632 (numberOfHfills): ditto
4634 2003-03-12 John Levon <levon@movementarian.org>
4640 * paragraph_funcs.C: fix per-buffer authorlists
4642 2003-03-12 John Levon <levon@movementarian.org>
4644 * text.C: fix newline in right address
4646 2003-03-12 Angus Leeming <leeming@lyx.org>
4648 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4649 duplicate those in LyXFunc::dispatch.
4653 * ToolbarDefaults.C:
4654 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4655 Add LFUN_FONTFREE_UPDATE.
4657 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4658 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4660 * bufferview_func.[Ch]: several new functions to facilliate
4661 transfer of data to and from the character dialog.
4663 2003-03-12 John Levon <levon@movementarian.org>
4668 * paragraph_funcs.C:
4669 * paragraph_pimpl.C:
4673 * text3.C: remove META_NEWLINE in favour of an inset
4676 * rowpainter.C: remove paintNewline (done by inset)
4678 2003-03-12 John Levon <levon@movementarian.org>
4680 * paragraph_pimpl.C: complain about bad getChar()s
4681 for a while at least
4683 2003-03-12 John Levon <levon@movementarian.org>
4686 * buffer.C: move paragraph read into a separate function,
4687 a little renaming to reflect that.
4690 * bufferparams.C: remove the author_ids map, not necessary now
4693 * factory.C: moved Buffer::readInset to here
4695 * paragraph_funcs.h:
4696 * paragraph_funcs.C: readParagraph free function moved from
4699 * tabular.C: name change
4701 2003-03-12 John Levon <levon@movementarian.org>
4704 * ParagraphParameters.C: move par params input to
4707 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4708 behave like a normal read from the stream wrt reading
4709 a line vs. a \\token
4711 2003-03-12 John Levon <levon@movementarian.org>
4714 * ParagraphParameters.h:
4715 * ParagraphParameters.C: move output code to a
4718 2003-03-12 John Levon <levon@movementarian.org>
4720 * BufferView.C (insertLyXFile):
4723 * tabular.C: use a parlist iterator for creating the
4726 2003-03-12 John Levon <levon@movementarian.org>
4728 * buffer.C: make current_change static local not
4731 2003-03-12 John Levon <levon@movementarian.org>
4733 * buffer.C: fix insertStringAsLines for change tracking
4735 2003-03-12 John Levon <levon@movementarian.org>
4742 * bufferparams.C: move author list into params. Rename some
4743 functions. Move the header reading into a separate token
4744 loop. Move the header token reading into BufferParams.
4746 2003-03-12 John Levon <levon@movementarian.org>
4748 * changes.C: put debug inside lyxerr.debugging() checks
4750 2003-03-11 André Pönitz <poenitz@gmx.net>
4752 * factory.C: make it aware of InsetHFill
4754 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4756 * buffer.C (latexParagraphs): move function from here...
4757 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4760 2003-03-10 Angus Leeming <leeming@lyx.org>
4762 * LyXAction.C (init): fix bug in poplating array with multiple entries
4763 with the same LFUN (spotted by JMarc).
4765 2003-03-10 John Levon <levon@movementarian.org>
4768 * text2.C: move getColumnNearX() near its
4771 2003-03-10 John Levon <levon@movementarian.org>
4773 * text.C: fix break before a minipage
4775 2003-03-10 John Levon <levon@movementarian.org>
4777 * text.C: fix the last commit
4779 2003-03-09 John Levon <levon@movementarian.org>
4783 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4784 bug 365 (don't break before insets unless needed). Don't
4785 return a value > last under any circumstances.
4787 2003-03-09 Angus Leeming <leeming@lyx.org>
4789 * BufferView_pimpl.C (trackChanges, dispatch): call
4790 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4792 2003-03-09 Angus Leeming <leeming@lyx.org>
4794 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4795 than Dialogs::showAboutlyx().
4797 2003-03-09 Angus Leeming <leeming@lyx.org>
4799 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4800 than Dialogs::showTabularCreate().
4802 2003-03-09 John Levon <levon@movementarian.org>
4806 * text2.C: 3rd arg to nextBreakPoint was always the same.
4809 2003-03-08 John Levon <levon@movementarian.org>
4816 * text2.C: Remove the "main" bit from the "main body"
4819 2003-03-08 John Levon <levon@movementarian.org>
4821 * text.C (leftMargin): The left margin of an empty
4822 manual label paragraph should not include the label width
4825 * text.C (prepareToPrint): don't attempt to measure hfills
4826 for empty manual label paragraphs - the answer should be 0
4828 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4830 * CutAndPaste.C: remove commented code and reindent.
4832 2003-03-08 John Levon <levon@movementarian.org>
4835 * lyxfunc.C: move reloadBuffer()
4838 * BufferView.C: to here
4840 * lyxvc.C: add comment
4843 * vc-backend.C: call bv->reload() to avoid
4844 getStatus() check on MENURELOAD
4846 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4848 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4849 to an old format .dep file.
4851 2003-03-07 Angus Leeming <leeming@lyx.org>
4853 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4854 when the LFUN_MOUSE_RELEASE should have been handled by
4855 inset->localDispatch.
4857 2003-03-07 Angus Leeming <leeming@lyx.org>
4859 * BufferView_pimpl.C (dispatch):
4860 * LyXAction.C (init):
4861 * ToolbarDefaults.C (init):
4863 * lyxfunc.C (getStatus):
4864 remove LFUN_INSET_GRAPHICS.
4866 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4868 2003-03-07 Angus Leeming <leeming@lyx.org>
4871 * LyXAction.C (init):
4872 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4874 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4877 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4879 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4880 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4882 2003-03-07 Angus Leeming <leeming@lyx.org>
4884 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4887 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4889 * ParagraphList.C (front): new function
4892 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4894 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4895 and top_row_offset_. removed var first_y.
4897 * text2.C (LyXText, removeRow):
4899 * BufferView_pimpl.C:
4900 use these methods instead of using first_y
4902 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4904 * text2.C (pasteSelection): adjust for checkPastePossible
4906 * CutAndPaste.C: remove Paragraph * buf and replace with
4907 ParagraphList paragraphs.
4908 (DeleteBuffer): delete
4909 (cutSelection): change the tc type to textclass_type
4910 (copySelection): change the tc type to textclass_type
4911 (copySelection): adjust for ParagraphList
4912 (pasteSelection): change the tc type to textclass_type
4913 (pasteSelection): adjust for Paragraphlist
4914 (nrOfParagraphs): simplify for ParagraphList
4915 (checkPastePossible): simplify for ParagraphList
4916 (checkPastePossible): remove unused arg
4918 * ParagraphList.C (insert): handle the case where there are no
4921 * CutAndPaste.h: make CutAndPaste a namespace.
4923 * text3.C (dispatch): adjust
4925 * text.C (breakParagraph): add a ParagraphList as arg
4927 * paragraph_funcs.C (breakParagraph): change to take a
4928 BufferParams and a ParagraphList as args.
4929 (breakParagraphConservative): ditto
4930 (mergeParagraph): ditto
4931 (TeXDeeper): add a ParagraphList arg
4932 (TeXEnvironment): ditto
4935 * buffer.C (readLyXformat2): adjust
4936 (insertStringAsLines): adjust
4937 (latexParagraphs): adjust
4939 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4940 (cutSelection): adjust
4941 (pasteSelection): adjust
4943 * BufferView_pimpl.C (insertInset): adjust
4945 2003-03-05 Angus Leeming <leeming@lyx.org>
4948 * LyXAction.C (init):
4949 * BufferView_pimpl.C (dispatch):
4950 * lyxfunc.C (getStatus):
4951 remove LFUN_CHILD_INSERT.
4953 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4955 2003-03-05 Angus Leeming <leeming@lyx.org>
4958 * LyXAction.C (init):
4959 * src/factory.C (createInset):
4960 * lyxfunc.C (getStatus):
4961 * text3.C (dispatch):
4962 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4964 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4966 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4968 * ParagraphList.C (insert): handle insert right before end()
4969 (erase): fix cases where it can be first or last paragraph.
4971 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4973 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4974 Paragraph::next and Paragraph::previous
4977 * text.C (breakParagraph): adjust
4979 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4980 BufferParams& as arg.
4981 (breakParagraph): use ParagraphList::insert
4982 (breakParagraphConservative): take a Buffer* instead of a
4983 BufferParams& as arg.
4984 (breakParagraphConservative): use ParagraphList::insert.
4986 * buffer.C (insertStringAsLines): un-const it
4987 (insertStringAsLines): adjust
4989 * ParagraphList.C (insert): new function
4991 * CutAndPaste.C (pasteSelection): adjust
4993 * text.C (backspace): adjust
4995 * tabular.C (SetMultiColumn): adjust
4997 * CutAndPaste.C (cutSelection): adjust
4998 (pasteSelection): adjust
5000 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5001 Buffer const * as arg
5003 * ParagraphList.C (erase): new function
5004 * paragraph_funcs.C (mergeParagraph): use it
5005 (mergeParagraph): make it take a Buffer* instead of a
5006 BufferParams* as arg
5008 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5010 (breakParagraphConservative): ditto
5012 * paragraph.h: remove the breakParagraph friend
5014 * paragraph.C (eraseIntern): new function
5015 (setChange): new function
5017 * paragraph_funcs.C (mergeParagraph): make it take a
5018 ParagraphList::iterator instead of a Paragraph *, adjust
5021 * paragraph.h: move an #endif so that the change tracking stuff
5022 also works in the NO_NEXT case.
5024 2003-03-04 Angus Leeming <leeming@lyx.org>
5027 * LyXAction.C: new LFUN_INSET_MODIFY.
5029 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5030 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5032 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5034 * several files: ws changes only
5036 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5037 (TeXEnvironment): ditto
5040 * buffer.C (makeLaTeXFile): adjust
5041 (latexParagraphs): make it take ParagraphList::iterator as args
5043 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5045 * buffer.C (latexParagraphs): adjust
5047 * paragraph.C (TeXOnePar): move function...
5048 (optArgInset): move function...
5049 (TeXEnvironment): move function...
5050 * paragraph_pimpl.C (TeXDeeper): move function...
5051 * paragraph_funcs.C: ...here
5053 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5055 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5057 * buffer.C (readInset): remove compability code for old Figure and
5060 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5062 * buffer.C: ws changes
5065 * BufferView_pimpl.C: ditto
5068 * bufferlist.h: ditto
5072 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5074 * converter.[Ch]: split into itself +
5077 * Makefile.am: += graph.[Ch] + format.[Ch]
5084 * lyxrc.C: added #include "format.h"
5086 2003-02-27 Angus Leeming <leeming@lyx.org>
5088 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5091 * factory.C (createInset): add "label" to the factory.
5093 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5094 string and do no more.
5096 2003-02-27 Angus Leeming <leeming@lyx.org>
5099 * LyXAction.C (init):
5100 * factory.C (createInset):
5101 * BufferView_pimpl.C (dispatch):
5102 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5104 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5106 * lyxfunc.C (dispatch):
5107 * text3.C (dispatch): pass name to params2string.
5109 2003-02-26 Angus Leeming <leeming@lyx.org>
5111 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5113 Rearrange the ~includes. Strip out the unnecessary ones.
5115 * factory.C (createInset): reformat.
5116 create new insets for the various LFUN_XYZ_APPLY lfuns.
5118 2003-02-26 John Levon <levon@movementarian.org>
5121 * lyxrow.C: add isParStart,isParEnd helpers
5123 * paragraph.h: make isInserted/DeletedText take refs
5125 * paragraph_funcs.h:
5126 * paragraph_funcs.C: remove #if 0'd code
5131 * text.C: use lyxrow helpers above.
5132 Move draw and paint routines to RowPainter.
5133 Make several methods use refs not pointers.
5134 Make backgroundColor() const.
5135 Add markChangeInDraw(), isInInset().
5136 Merge changeRegionCase into changeCase.
5137 Make workWidth() shouldn't-happen code into an Assert.
5140 * rowpainter.C: new class for painting a row.
5143 * vspace.C: make inPixels take a ref
5145 2003-02-26 Angus Leeming <leeming@lyx.org>
5147 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5150 2003-02-25 John Levon <levon@movementarian.org>
5152 * ispell.C: give the forked command a more accurate name
5154 2003-02-22 John Levon <levon@movementarian.org>
5157 * toc.C: make TocItem store an id not a Paragraph *
5160 2003-02-21 Angus Leeming <leeming@lyx.org>
5162 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5163 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5164 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5165 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5166 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5167 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5169 * BufferView_pimpl.C (dispatch):
5170 * LyXAction.C (init):
5171 * factory.C (createInset):
5172 * lyxfunc.C (getStatus, dispatch):
5173 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5175 2003-02-21 Angus Leeming <leeming@lyx.org>
5177 * BufferView_pimpl.C (MenuInsertLyXFile):
5178 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5179 * lyxfunc.C (menuNew, open, doImport):
5180 no longer pass a LyXView & to fileDlg.
5182 2003-02-21 Angus Leeming <leeming@lyx.org>
5184 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5185 * LyXAction.C: change, BIBKEY to BIBITEM.
5186 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5187 Change InsetBibKey to InsetBibitem.
5188 Change BIBKEY_CODE to BIBITEM_CODE.
5189 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5190 * factory.C: replace insetbib.h with insetbibitem.h.
5191 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5192 * paragraph.C: replace insetbib.h with insetbibitem.h.
5193 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5194 Change bibkey() to bibitem().
5195 * text.C: remove insetbib.h.
5196 * text2.C: replace insetbib.h with insetbibitem.h.
5197 change bibkey() to bibitem().
5198 * text3.C: remove insetbib.h.
5199 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5201 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5203 * lyxrc.C (output): enclose user email in quotes (in case there are
5206 2003-02-18 John Levon <levon@movementarian.org>
5208 * buffer.h: add std::
5210 2003-02-17 John Levon <levon@movementarian.org>
5216 * pspell.C: reworking. Especially in ispell, a large
5217 number of clean ups and bug fixes.
5219 * lyxfunc.C: fix revert to behave sensibly
5221 2003-02-17 André Pönitz <poenitz@gmx.net>
5224 * commandtags.h: new LFUN_INSERT_BIBKEY
5234 * paragraph_func.C: remove special bibkey handling
5236 2003-02-17 John Levon <levon@movementarian.org>
5238 * text.C (Delete): fix case where delete at the end of
5239 the very first paragraph would not merge the pars
5241 2003-02-17 John Levon <levon@movementarian.org>
5243 * lyxrow.C: fix lastPrintablePos()
5245 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5247 * bufferparams.C (writeLaTeX): add a std:here
5249 * buffer.C: and remove a using directive there
5251 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5253 * buffer.C (makeLaTeXFile): move the code that generates the
5256 * bufferparams.C (writeLaTeX): ... in this new method
5258 * LaTeXFeatures.C (getEncodingSet): make const
5259 (getLanguages): make const
5261 * MenuBackend.C (binding): returns the binding associated to this
5263 (add): sets the status of each item by calling getStatus. Adds
5265 (read): add support for OptSubMenu
5266 (expand): remove extra separator at the end of expanded menu
5268 2003-02-15 John Levon <levon@movementarian.org>
5271 * BufferView_pimpl.C:
5273 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5274 inset code that had no actual effect. Remove unneeded status
5277 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5279 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5282 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5284 * text.C (drawLengthMarker): also draw an arrow marker for
5285 symbolic lengths (medskip...)
5287 2003-02-14 John Levon <levon@movementarian.org>
5290 * tabular.C: better method names
5292 2003-02-14 John Levon <levon@movementarian.org>
5294 * BufferView_pimpl.C:
5299 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5300 it's a more accurate name. Remove some pointless uses.
5302 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5304 * text2.C (LyXText): change order of initilizers to shut off
5307 2003-02-14 John Levon <levon@movementarian.org>
5309 * buffer.C: use ParIterator for getParFromID()
5313 * paragraph_pimpl.h:
5314 * paragraph_pimpl.C: remove unused getParFromID()
5316 2003-02-14 John Levon <levon@movementarian.org>
5318 * buffer.C: remove some very old #if 0'd parse code
5320 2003-02-13 John Levon <levon@movementarian.org>
5324 * text2.C: move hfillExpansion(), numberOfSeparators(),
5325 rowLast(), rowLastPrintable(), numberofHfills(),
5326 numberOfLabelHfills() ...
5329 * lyxrow.C: ... to member functions here.
5334 * text.C: remove LyXText::beginningOfMainBody(), and call
5335 p->beginningOfMainBody() directly. Move the check for
5336 LABEL_MANUAL into the latter.
5343 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5349 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5350 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5352 2003-02-13 John Levon <levon@movementarian.org>
5354 * CutAndPaste.C: remove debug
5356 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5358 * paragraph.C (asString): remove two unused variables
5360 * lyxtextclass.C (readTitleType):
5362 (LyXTextClass): handle new members titletype_ and titlename_
5364 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5366 2003-02-09 John Levon <levon@movementarian.org>
5369 * buffer.C: replace hand-coded list with a map for the dep clean
5371 2003-02-08 John Levon <levon@movementarian.org>
5373 * LaTeX.C: consolidate code into showRunMessage() helper
5375 2003-02-08 John Levon <levon@movementarian.org>
5380 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5381 and pass the size in explicitly
5383 * BufferView_pimpl.h:
5384 * BufferView_pimpl.C:
5386 * BufferView.C: add getCurrentChange()
5388 * BufferView_pimpl.h:
5389 * BufferView_pimpl.C: handle change lfuns
5391 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5392 for changes. Mark pasted paragraphs as new.
5394 * support/lyxtime.h:
5395 * support/lyxtime.C:
5396 * DepTable.C: abstract time_t as lyx::time_type
5399 * LColor.C: add colours for new text, deleted text, changebars
5401 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5402 package use "usenames" option.
5406 * LyXAction.C: add change lfuns
5410 * author.C: author handling
5413 * buffer.C: add a per-buffer author list, with first entry as
5414 current author. Handle new .lyx tokens for change tracking. Output
5415 author list to .lyx file. Output dvipost stuff to .tex preamble.
5416 Bump lyx format to 222.
5419 * bufferlist.C: add setCurrentAuthor() to reset current author details
5423 * bufferparams.C: add param for tracking
5425 * bufferview_funcs.C: output change info in minibuffer
5429 * changes.C: add change-tracking structure
5432 * debug.C: add CHANGES debug flag
5435 * lyxfind.C: add code for finding the next change piece
5438 * lyxrc.C: add user_name and user_email
5441 * lyxrow.C: add a metric for the top of the text line
5444 * text.C: implement accept/rejectChange()
5447 * text.C: paint changebars. Paint new/deleted text in the chosen
5448 colours. Strike through deleted text.
5452 * paragraph_pimpl.h:
5453 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5454 in the current change to the insert functions. Rework erase to
5455 mark text as deleted, adding an eraseIntern() and a range-based
5456 erase(). Implement per-paragraph change lookup and
5459 * paragraph_funcs.C: Fixup paste for change tracking.
5461 * tabular.C: mark added row/columns as new.
5463 * text.C: fix rowLast() to never return -1. Don't allow
5464 spellchecking of deleted text. Track transpose changes. Don't
5465 allow paragraph break or merge where appropriate.
5467 * text2.C: leave cursor at end of selection after a cut.
5469 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5471 * text.C (getLengthMarkerHeight):
5472 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5473 visible on screen too.
5475 2003-02-07 John Levon <levon@movementarian.org>
5477 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5479 2003-02-05 Angus Leeming <leeming@lyx.org>
5481 * lyxserver.C (read_ready): revert my patch of 11 September last year
5482 as it sends PC cpu through the roof. Presumably this means that
5483 the lyxserver will no longer run on an Alpha...
5485 2003-01-30 Angus Leeming <leeming@lyx.org>
5487 * factory.C (createInset): create an InsetCommandParam of type "index"
5488 and use it to 'do the right thing'.
5490 * text2.C (getStringToIndex): ensure that cursor position is always
5491 reset to the reset_cursor position.
5493 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5495 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5498 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5502 * lyxfunc.C: Output messages with identical spelling, punctuation,
5505 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5507 * MenuBackend.C (expandFormats): List only viewable export formats
5510 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5513 * lyxfunc.C (getStatus): Make sure that formats other than
5514 "fax" can also be disabled
5516 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5518 * text3.C (dispatch): put the lfuns that insert insets in 3
5519 groups, and call doInsertInset with appropriate arguments.
5520 (doInsertInset): new function, that creates an inset and inserts
5521 it according to some boolean parameters.
5523 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5525 * buffer.C (readFile): remember to pass on 'par' when calling
5526 readFile recursively.
5528 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5530 * MenuBackend.C (expandFormats): add "..." to import formats.
5532 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5534 * paragraph.C (asString): Remove XForms RTL hacks.
5536 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5537 * buffer.C: fix typo
5539 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5541 * Makefile.am (LIBS): delete var
5542 (lyx_LDADD): add @LIBS@ here instead.
5544 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5546 * Clarify the meaning of "wheel mouse jump"
5548 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5550 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5553 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5555 * importer.C (Loaders): do not preallocate 3 elements in the
5556 vector, since one ends up with 6 elements otherwise
5558 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5560 * DepTable.C (write): write the file name as last element of the
5561 .dep file (because it may contain spaces)
5562 (read): read info in the right order
5564 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5566 * paragraph_pimpl.C (simpleTeXBlanks):
5567 (simpleTeXSpecialChars):
5568 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5570 * tabular.C (latex): add some missing case statements. Reindent.
5572 * MenuBackend.C (expandToc): remove unused variable.
5574 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5583 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5586 2003-01-05 John Levon <levon@movementarian.org>
5589 * BufferView.C: add getEncoding()
5592 * kbsequence.C: do not store last keypress
5595 * lyxfunc.C: store last keypress here instead. Pass encoding
5598 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5600 * lyx_main.C (init): remove annoying error message when following
5601 symbolic links (bug #780)
5603 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5605 * text.C (insertChar):
5606 * lyxrc.C (getDescription): remove extra spaces
5608 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5610 * lyxrc.C (getDescription): remove extra spaces
5612 2002-12-20 John Levon <levon@movementarian.org>
5614 * text3.C: hack fix for page up/down across tall rows
5616 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5618 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5621 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5623 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5624 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5625 thesaurus is not compiled in
5627 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5629 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5631 2002-12-16 Angus Leeming <leeming@lyx.org>
5634 * lyx_main.C (init): remove override_x_deadkeys stuff.
5636 2002-12-12 John Levon <levon@movementarian.org>
5638 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5639 insert. Only remove shift modifier under strict
5642 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5644 * MenuBackend.C (expandToc): fix crash.
5646 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5648 * MenuBackend.C (expandToc): gettext on float names.
5650 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5652 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5653 implement bool empty() [bug 490]
5655 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5657 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5659 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5661 * several files: ws changes
5663 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5665 * text2.C (setCounter): clean up a bit, use boost.format.
5666 (updateCounters): initialize par upon declaration.
5668 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5669 if the layout exists. We do not just store the layout any more.
5670 (SwitchLayoutsBetweenClasses): use boost.format
5672 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5674 * converter.C (convert): if from and to files are the same, use a
5675 temporary files as intermediary
5677 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5680 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5682 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5684 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5686 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5688 * tabular.C (asciiPrintCell): use string(size, char) instead of
5691 * sgml.C (openTag): fix order of arguments to string constructor
5694 * lyxfunc.C (dispatch): use boost.format
5696 * lots of files: change "c" -> 'c'
5698 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5700 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5702 2002-11-25 Angus Leeming <leeming@lyx.org>
5704 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5706 * lyx_main.C (init): compile fix.
5708 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5710 * lyx_cb.C (start): boost.formatify
5711 do not include <iostream>
5713 * lengthcommon.C: ws only
5715 * boost-inst.C,BoostFormat.h: add more explict instantations
5717 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5719 * lots of files: handle USE_BOOST_FORMAT
5721 2002-11-21 John Levon <levon@movementarian.org>
5723 * pspell.C: fix compile
5725 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5727 * lyxfunc.C (dispatch): use boost::format
5731 * lyxfont.C (stateText): use boost::format
5733 * lyx_main.C (LyX): use boost::format
5735 (queryUserLyXDir): ditto
5738 (typedef boost::function): use the recommened syntax.
5740 * importer.C (Import): use boost::format
5742 * debug.C (showLevel): use boost::format
5744 * converter.C (view): use boost::format
5749 * bufferview_funcs.C (currentState): use boost::format
5751 * bufferlist.C (emergencyWrite): use boost::format
5753 * buffer.C (readLyXformat2): use boost::format
5754 (parseSingleLyXformat2Token): ditto
5756 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5758 * LaTeX.C (run): use boost::format
5760 * Chktex.C (scanLogFile): use boost::format
5762 * BufferView_pimpl.C (savePosition): use boost::format
5763 (restorePosition): ditto
5764 (MenuInsertLyXFile): ditto
5766 * BoostFormat.h: help file for explicit instation.
5768 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5770 * tabular.C (latex): Support for block alignment in fixed width
5773 2002-11-17 John Levon <levon@movementarian.org>
5775 * BufferView_pimpl.C:
5777 * lyxfunc.C: split filedialog into open/save
5779 2002-11-08 Juergen Vigna <jug@sad.it>
5781 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5782 by my last patch (hopefully).
5784 2002-11-08 John Levon <levon@movementarian.org>
5793 * toc.C: ParConstIterator, and use it (from Lars)
5795 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5797 * lyxtextclass.[Ch]: revise and add doxygen comments
5799 2002-11-07 John Levon <levon@movementarian.org>
5801 * text.C: fix progress value for spellchecker
5803 * toc.C: fix navigate menu for insetwrap inside minipage
5805 * paragraph_funcs.C: added FIXME for suspect code
5807 2002-11-07 John Levon <levon@movementarian.org>
5809 * BufferView_pimpl.C: fix redrawing of insets
5812 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5814 * text2.C (updateCounters): fix bug 668
5816 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5818 * text3.C (dispatch): Do not make the buffer dirty when moving the
5821 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5823 * vc-backend.C: STRCONV
5826 * text2.C (setCounter): STRCONV
5828 * paragraph.C (asString): STRCONV
5830 * lyxlength.C (asString): STRCONV
5831 (asLatexString): ditto
5833 * lyxgluelength.C (asString): STRCONV
5834 (asLatexString): ditto
5836 * lyxfunc.C (dispatch): STRCONV
5839 * lyxfont.C (stateText): STRCONV
5841 * importer.C (Import): STRCONV
5843 * counters.C (labelItem): STRCONV
5844 (numberLabel): ditto
5845 (numberLabel): remove unused ostringstream o
5850 * bufferview_funcs.C (currentState): STRCONV
5852 * buffer.C (readFile): STRCONV
5853 (asciiParagraph): ditto
5854 (makeLaTeXFile): ditto
5856 * Spacing.C (writeEnvirBegin): STRCONV
5858 * LaTeXFeatures.C (getLanguages): STRCONV
5859 (getPackages): ditto
5861 (getBabelOptions): ditto
5862 (getTClassPreamble): ditto
5863 (getLyXSGMLEntities): ditto
5864 (getIncludedFiles): ditto
5868 (scanAuxFile): ditto
5871 * LString.h: add the STRCONV macros
5873 * BufferView_pimpl.C (savePosition): STRCONV
5874 (restorePosition): ditto
5875 (MenuInsertLyXFile): ditto
5877 * vc-backend.C (scanMaster): change from submatch[...] to
5880 * funcrequest.C: include config.h
5882 * factory.C: include config.h
5884 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5886 * box.C: include config.h
5888 * LaTeX.C (scanAuxFile): change from submatch[...] to
5892 2002-10-25 Angus Leeming <leeming@lyx.org>
5894 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5896 * ispell.[Ch] (setError): new method.
5897 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5898 Use setError() insetead of goto END.
5900 * lyx_cb.C (AutoSave): move out child process into new class
5903 2002-10-30 John Levon <levon@movementarian.org>
5905 * text3.C: make start appendix undoable
5907 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5909 * lyxlength.C (inPixels): Fix returned value.
5911 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5914 2002-10-24 Angus Leeming <leeming@lyx.org>
5916 * lyxgluelength.h: no need to forward declare BufferParams
5917 or BufferView, so don't.
5919 2002-10-21 John Levon <levon@movementarian.org>
5921 * BufferView.C: menuUndo ->undo, redo
5923 * BufferView.h: document, remove dead, make some methods private
5925 * paragraph_funcs.h:
5926 * paragraph_funcs.C:
5927 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5932 * sgml.C: move sgml open/close tag into sgml.C
5934 * bufferview_funcs.h: unused prototype
5937 * lyxfunc.C: remove unused
5940 * text.C: remove unused
5942 2002-10-21 John Levon <levon@movementarian.org>
5946 * BufferView_pimpl.h:
5947 * BufferView_pimpl.C: fix mouse wheel handling based on
5948 patch from Darren Freeman
5950 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5952 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5954 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5956 * lyxlength.C (inPixels): Fix hanfling of negative length.
5957 Fix LyXLength::MU case.
5959 2002-10-16 John Levon <levon@movementarian.org>
5961 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5963 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5965 * converter.C (view): add support for $$i (file name) and $$p
5966 (file path) for the viewer command. If $$i is not specified, then
5967 it is appended to the command (for compatibility with old syntax)
5969 2002-10-14 Juergen Vigna <jug@sad.it>
5971 * undo_funcs.C (textHandleUndo): alter the order in which the
5972 new undopar is added to the LyXText, as we have to set first
5973 the right prev/next and then add it as otherwise the rebuild of
5974 LyXText is not correct. Also reset the cursor to the right paragraph,
5975 with this IMO we could remove the hack in "redoParagraphs()".
5977 2002-10-09 Angus Leeming <leeming@lyx.org>
5979 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5980 to turn off an optimisation if a new inset is to be inserted.
5982 2002-10-11 André Pönitz <poenitz@gmx.net>
5984 * lyxtext.h: make some functions public to allow access
5985 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5987 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5989 * text3.C (dispatch): when changing layout, avoid an infinite loop
5992 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5994 * lyxrc.C (read): treat a viewer or converter command of "none" as
5997 * MenuBackend.C (expandFormats): for an update, also allow the
5998 formats that are not viewable
6000 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6001 script if it is newer than the lyxrc.defaults in user directory
6003 2002-10-07 André Pönitz <poenitz@gmx.net>
6005 * text.C: Vitaly Lipatov's small i18n fix
6007 2002-09-25 Angus Leeming <leeming@lyx.org>
6009 * ispell.h: doxygen fix.
6011 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6013 * buffer.h (readFile): Add a new argument to the method, to allow
6014 reading of old-format templates.
6016 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6018 * toc.C (getTocList): Get TOC from InsetWrap.
6020 2002-09-16 John Levon <levon@movementarian.org>
6022 * lyxfunc.C: check tabular for cut/copy too
6024 2002-09-12 John Levon <levon@movementarian.org>
6029 * factory.C: add header
6031 * paragraph_funcs.h:
6032 * paragraph_funcs.C: cleanup
6034 2002-09-11 John Levon <levon@movementarian.org>
6036 * PrinterParams.h: odd/even default to true
6038 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6040 * PrinterParams.h: update printer parameters for new xforms dialog
6042 2002-09-11 Angus Leeming <leeming@lyx.org>
6044 * lyxserver.C (read_ready): re-write to make it more transparent
6045 and to make it work in coherent fashion under Tru64 Unix.
6047 2002-09-11 André Pönitz <poenitz@gmx.net>
6051 * text3.C: implement LFUN_WORDSEL
6053 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6055 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6056 make floatlist_ a boost::shared_ptr<FloatList>
6058 * lyxtextclass.C: include FloatList.h
6059 (LyXTextClass): initialize floatlist_
6060 (TextClassTags): add TC_NOFLOAT
6061 (Read): match "nofloat" to TC_NOFLOAT and use it.
6062 (readFloat): modify call to floatlist_
6066 * FloatList.[Ch] (FloatList): remove commented out float
6068 (erase): new function
6070 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6072 * MenuBackend.C (expandToc): fix crash when there is no document
6075 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6077 * many files: Add insetwrap.
6079 2002-09-09 John Levon <levon@movementarian.org>
6081 * text2.C: remove confusing and awkward depth wraparound
6083 2002-09-09 John Levon <levon@movementarian.org>
6085 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6088 * buffer.C: remove getIncludeonlyList()
6091 * lyxfunc.C: remove headers
6093 2002-09-09 Juergen Vigna <jug@sad.it>
6095 * text.C (getColumnNearX): fix form Michael this is most
6096 probably a cut&paste bug.
6098 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6100 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6102 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6103 references, ws changes.
6105 * text2.C (init): update counters after init
6106 (insertParagraph): no need to set counter on idividual paragraphs.
6107 (setCounter): access the counters object in the textclass object
6108 on in the buffer object.
6109 (updateCounters): ditto
6111 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6112 shared_ptr<Counters> to avoid loading counters.h in all
6114 (LyXTextClass): initialize ctrs_
6115 (TextClassTags): add TC_COUNTER, and ...
6116 (Read): use it here.
6117 (CounterTags): new tags
6118 (readCounter): new function
6119 (counters): new funtion
6120 (defaultLayoutName): return a const reference
6122 * counters.C (Counters): remove contructor
6123 (newCounter): remove a couple of unneeded statements.
6124 (newCounter): simplify a bit.
6125 (numberLabel): some small formatting changes.
6127 * buffer.[Ch]: remove all traces of counters, move the Counters
6128 object to the LyXTextClass.
6130 2002-09-06 Alain Castera <castera@in2p3.fr>
6132 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6133 package to set the horizontal alignment on fixed width columns.
6136 * lyx_sty.h: added tabularnewline macro def.
6138 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6140 2002-09-06 John Levon <levon@movementarian.org>
6142 * LyXAction.C: tooltips for sub/superscript
6144 * MenuBackend.C: a bit more verbose
6146 * lyxfunc.C: tiny clean
6148 * undo_funcs.C: document undo_frozen
6150 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6152 * counters.C (Counters): add missing algorithm counter.
6154 * text2.C (setCounter): lookup the counter with layouts latexname
6155 instead of by section number.
6156 (setCounter): use a hackish way to lookup the correct enum
6158 a float name->type change
6159 reset enum couners with counter name directly instead of depth value.
6161 * counters.C (Counters): remove the push_backs, change to use the
6162 float type not the float name.
6163 (labelItem): remove unused string, float name->type change
6165 * counters.h: don't include vector, loose the enums and sects vectors
6167 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6169 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6170 (Read): add float->TC_FLOAT to textclassTags
6171 (Read): and handle it in the switch
6172 (readFloat): new function
6174 * FloatList.C (FloatList): comment out the hardcoded float
6177 * lyxlayout.h: ws change.
6179 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6181 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6183 2002-09-03 Angus Leeming <leeming@lyx.org>
6185 * BufferView_pimpl.h: qualified name is not allowed in member
6186 declaration: WorkArea & Pimpl::workarea() const;
6188 * factory.C: added using std::endl directive.
6190 * text3.C: added using std::find and std::vector directives.
6192 2002-08-29 André Pönitz <poenitz@gmx.net>
6195 * text2.C: remove unused member number_of_rows
6198 * BufferView2.C: remove file, move contents to...
6199 * BufferView.C: ... here
6201 * BufferView_pimpl.C:
6202 * factory.C: move more inset creation to factory
6204 * vspace.C: avoid direct usage of LyXText, ws changes
6207 don't provide direct access to WorkArea, use two simple
6208 acessors haveSelction() and workHeight() instead
6211 2002-08-29 John Levon <levon@movementarian.org>
6213 * BufferView_pimpl.C (dispatch): do not continue when
6216 2002-08-28 André Pönitz <poenitz@gmx.net>
6218 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6221 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6223 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6225 * buffer.C: increment LYX_FORMAT to 221
6227 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6228 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6230 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6232 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6234 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6236 * factory.C (createInset): use LyXTextClass::floats
6238 * MenuBackend.C (expandFloatListInsert):
6239 (expandFloatInsert):
6242 * text2.C (setCounter):
6244 * LaTeXFeatures.C (useFloat):
6245 (getFloatDefinitions):
6247 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6249 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6250 floatlist_, with accessor floats().
6252 * FloatList.h: remove global FloatList
6254 2002-08-26 André Pönitz <poenitz@gmx.net>
6256 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6260 * BufferView_pimpl.C:
6261 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6263 2002-08-25 John Levon <levon@movementarian.org>
6265 * LyXAction.C: fix margin note description
6267 2002-08-24 John Levon <levon@movementarian.org>
6271 * bufferview_funcs.C:
6273 * undo_funcs.C: cleanups
6275 * lyxfunc.C: disable CUT/COPY when no selection
6277 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6279 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6280 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6282 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6283 Add backward compatibility to "mono", "gray" and "no".
6285 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6287 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6288 (and file_format >= 200).
6290 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6292 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6294 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6296 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6298 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6300 * BufferView_pimpl.C:
6307 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6308 inset and code to make it work with the paragraph code. The inset
6309 can be anywhere in the paragraph, but will only do the expected
6310 thing in LaTeX if the layout file contains the parameter line
6312 (or more generally, a nonzero value) for that layout.
6314 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6316 * paragraph.h: remove the declaration of undefined counters class
6319 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6321 * text2.C (setCounter): fixed enumeration mis-count as reported by
6322 Dr. Richard Hawkins.
6324 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6326 * paragraph_funcs.h: remove some unneeded includes
6328 * text.C (backspace): pasteParagraph now in global scipe
6330 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6331 (pasteSelection): ditto
6333 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6334 * paragraph_funcs.C (pasteParagraph): ... here
6336 2002-08-20 André Pönitz <poenitz@gmx.net>
6338 * commandtags.h: new LFUNs for swapping/copying table row/colums
6341 * lyxfunc.C: support for new lfuns
6343 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6346 * buffer.[Ch]: remove NO_COMPABILITY stuff
6348 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6350 * boost.C (throw_exception): new file, with helper function for
6351 boost compiled without exceptions.
6356 * ParameterStruct.h:
6357 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6359 * bufferlist.C (emergencyWriteAll): use boost bind
6361 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6363 * text.C: include paragraph_funcs.h
6364 (breakParagraph): breakParagraph is now in global scope
6366 * paragraph_funcs.[Ch]: new files
6368 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6371 * buffer.C: include paragraph_funcs.h
6372 (insertStringAsLines): breakParagraph is now in global scope
6374 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6377 * CutAndPaste.C: include paragraph_funcs.h
6378 (cutSelection): breakParagraphConservative is now in global scope
6379 (pasteSelection): ditto
6381 * buffer.h: declare oprator== and operator!= for
6382 Buffer::inset_iterator
6384 * bufferlist.C (emergencyWrite): don't use fmt(...)
6386 * text3.C: add using std::endl
6388 * BufferView.C (moveCursorUpdate): remove default arg
6390 2002-08-20 André Pönitz <poenitz@gmx.net>
6392 * buffer.[Ch]: move inline functions to .C
6395 * BufferView_pimpl.C:
6397 * buffer.[Ch]: use improved inset_iterator
6400 * paragraph.[Ch]: write one paragraph at a time
6402 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6404 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6405 style if style is not specified.
6407 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6409 * text2.C (setCounter): when searching for right label for a
6410 caption, make sure to recurse to parent insets (so that a caption
6411 in a minipage in a figure float works) (bug #568)
6413 2002-08-20 André Pönitz <poenitz@gmx.net>
6415 * text3.C: new file for LyXText::dispatch() and helpers
6417 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6419 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6421 2002-08-19 André Pönitz <poenitz@gmx.net>
6424 * text.C: new LyXText::dispatch()
6426 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6428 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6430 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6432 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6435 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6437 * Makefile.am: use $(variables) instead of @substitutions@
6439 2002-08-15 André Pönitz <poenitz@gmx.net>
6442 * BufferView_pimpl.C: streamlining mathed <-> outer world
6446 * LyXAction.C: remove unused LFUN_MATH
6448 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6450 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6452 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6454 * paragraph.C (Paragraph): reformat a bit
6455 (cutIntoMinibuffer): use builtin InsetList function instad of
6459 * buffer.C: include boost/bind.hpp, add using std::for_each
6460 (writeFileAscii): use ParagraphList iterators
6461 (validate): use for_each for validate traversal of paragraphs
6462 (getBibkeyList): use ParagraphList iterators
6463 (resizeInsets): use for_each to resizeInsetsLyXText for all
6465 (getParFromID): use ParagraphList iterators
6467 * BufferView2.C (lockInset): use paragraph list and iterators
6469 2002-08-14 John Levon <levon@movementarian.org>
6471 * lyxserver.C: remove spurious xforms include
6473 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6475 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6477 2002-08-13 André Pönitz <poenitz@gmx.net>
6480 * lyxfunc.C: further cleaning
6482 2002-08-13 André Pönitz <poenitz@gmx.net>
6484 * funcrequest.h: new constructor
6486 * funcrequest.C: move stuff here from .h
6489 * BufferView_pimpl.C:
6492 * lyxfunc.C: subsequent changes
6494 * lyxfunc.h: new view() member function
6496 * lyxfunc.C: subsequent changes
6498 2002-08-13 Angus Leeming <leeming@lyx.org>
6501 * BufferView_pimpl.C:
6509 changes due to the changed LyXView interface that now returns references
6510 to member variables not pointers.
6512 2002-08-13 Angus Leeming <leeming@lyx.org>
6514 * WordLangTuple (word, lang_code): return references to strings,
6519 * lyxtext.h: forward-declare WordLangTuple.
6524 * text.C: #include "WordLangTuple.h".
6527 * text.C: (selectNextWordToSpellcheck): constify return type.
6529 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6535 * paragraph_pimpl.h:
6538 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6540 Made updateCounter always count from start of buffer, and removed
6541 second argument (par).
6542 Reverted floats number display to '#'. Perhaps I'll try again when the
6543 code base is sanitized a bit.
6545 2002-08-12 Angus Leeming <leeming@lyx.org>
6547 * buffer.[Ch] (getLabelList): constify.
6549 2002-08-07 André Pönitz <poenitz@gmx.net>
6551 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6553 * funcrequest.h: extension to keep mouse (x,y) position
6555 2002-08-12 Juergen Vigna <jug@sad.it>
6557 * BufferView2.C (insertErrors): forbid undo when inserting error
6560 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6562 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6564 * ParagraphList.[Ch]: new files
6566 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6568 * BufferView2.C (lockInset): ParagraphList changes
6571 * bufferlist.C: ditto
6575 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6577 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6578 unused class variable counter_,
6580 * paragraph.[Ch] (getFirstCounter): delete unused function
6582 * counters.C: include LAssert.h
6583 (reset): add a new function with no arg, change other version to
6584 not have def. arg and to not allow empty arg.
6586 * text2.C (setCounter): remove empty arg from call to Counters::reset
6588 2002-08-11 John Levon <levon@movementarian.org>
6590 * Makefile.am: add WordLangTuple.h
6592 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6594 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6595 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6597 * insets/insettext.C: InsetList changes
6599 * graphics/GraphicsSupport.C (operator()): InsetList changes
6601 * toc.C (getTocList): InsetList changes
6603 * paragraph_pimpl.[Ch]: InsetList changes
6605 * paragraph.[Ch]: InsetList changes
6607 * buffer.C (inset_iterator): InsetList changes
6608 (setParagraph): ditto
6609 * buffer.h (inset_iterator): ditto
6610 * iterators.C (operator++): ditto
6611 * iterators.h: ditto
6613 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6615 * InsetList.[Ch]: new files, most InsetList handling moved out of
6618 * BufferView2.C (removeAutoInsets): InsetList changes
6620 (ChangeInsets): ditto
6622 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6624 * paragraph_pimpl.h (empty): new function
6626 * paragraph.[Ch] (empty): new function
6628 * other files: use the new Paragraph::empty function
6630 2002-08-09 John Levon <levon@movementarian.org>
6632 * lyxtext.h: remove unused refresh_height
6634 2002-08-09 John Levon <levon@movementarian.org>
6641 * paragraph.C: move sgml char escaping out of paragraph
6644 * paragraph.C: remove id setter
6648 * paragraph_pimpl.C: remove dead tex_code_break_column
6650 * bufferview_funcs.C: small cleanup
6652 * lyxfunc.C: remove dead proto
6654 * lyxtext.h: make some stuff private. Remove some dead stuff.
6656 * lyxgluelength.C: make as[LyX]String() readable
6658 2002-08-08 John Levon <levon@movementarian.org>
6663 * ToolbarDefaults.C:
6666 * toc.C: lyxaction cleanup
6668 2002-08-08 John Levon <levon@movementarian.org>
6670 * BufferView2.C: small cleanup
6673 * lyxfind.C: move unnecessary header into the .C
6675 2002-08-08 John Levon <levon@movementarian.org>
6677 * funcrequest.h: just tedious nonsense
6680 * lyx_main.C: cleanups
6683 * vspace.C: remove dead header lyx_main.h
6685 2002-08-07 Angus Leeming <leeming@lyx.org>
6688 * paragraph_pimpl.h:
6689 Forward declare class Counters in paragraph.h by moving the ctrs member
6690 variable into Paragraph::Pimpl.
6691 (counters): new method, returning a reference to pimpl_->ctrs.
6693 * text2.C: ensuing changes.
6695 2002-08-07 John Levon <levon@movementarian.org>
6697 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6699 * BufferView_pimpl.C: announce X selection on double/triple
6702 * lyx_main.C: use correct bool in batch dispatch
6704 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6706 2002-08-07 André Pönitz <poenitz@gmx.net>
6708 * funcrequest.h: new class to wrap a kb_action and its argument
6711 * BufferView_pimpl[Ch]:
6715 * lyxrc.C: subsequent changes
6718 2002-08-07 John Levon <levon@movementarian.org>
6720 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6721 document options change.
6723 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6728 * makefile.am: move counters functionality over from
6729 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6731 2002-08-06 John Levon <levon@movementarian.org>
6733 * WordLangTuple.h: new file for word + language code tuple
6744 * BufferView2.C: use WordLangTuple
6747 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6749 2002-08-06 John Levon <levon@movementarian.org>
6751 * lyx_main.C: fix cmdline batch handling
6753 2002-08-06 André Pönitz <poenitz@gmx.net>
6755 * lyxrc.C: set default for show_banner to true
6757 2002-08-06 John Levon <levon@movementarian.org>
6759 * pspell.C: fix a crash, and allow new aspell to work
6761 2002-08-06 John Levon <levon@movementarian.org>
6764 * kbmap.C: small cleanup
6767 * vspace.C: add const
6769 2002-08-05 John Levon <levon@movementarian.org>
6771 * LyXAction.C: back to tabular-insert
6773 2002-08-04 John Levon <levon@movementarian.org>
6776 * BufferView.C: cosmetic change
6778 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6788 * BufferView2.C: purge all "Lyx" not "LyX" strings
6791 * lyxcursor.C: attempt to add some documentation
6796 * ToolbarDefaults.C:
6797 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6798 merge with LFUN_TABULAR_INSERT
6805 * pspell.C: split up i/pspell implementations into separate
6806 files, many cleanups
6808 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6810 * text2.C: some cleanup
6812 * lyxfunc.C: don't check for isp_command == "none" any more, it
6813 didn't make any sense
6815 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6820 * makefile.am: move counters functionality over
6821 from text2.C/paragraph.[Ch] to counters.[Ch], and
6823 2002-08-02 John Levon <levon@movementarian.org>
6825 * buffer.C: s/lyxconvert/lyx2lyx/
6827 2002-08-02 Angus Leeming <leeming@lyx.org>
6829 * lyxlex.C: revert John's change as it breaks reading of the user
6832 2002-08-02 Angus Leeming <leeming@lyx.org>
6834 * importer.C (Import):
6835 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6836 changes due to LyXView::view() now returning a boost::shared_ptr.
6838 2002-08-02 John Levon <levon@movementarian.org>
6840 * lyxlex.C: small cleanup
6842 2002-08-02 John Levon <levon@movementarian.org>
6844 * text2.C (status): small cleanup, no logic change
6846 2002-08-01 John Levon <levon@movementarian.org>
6849 * buffer.C (writeFile): don't output alerts, caller
6853 * lyx_cb.C: from above
6855 * lyxfunc.C: allow to open non-existent files
6857 2002-07-31 John Levon <levon@movementarian.org>
6859 * lyxserver.C: don't let incidental errors get
6862 2002-07-30 John Levon <levon@movementarian.org>
6864 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6866 2002-07-30 John Levon <levon@movementarian.org>
6869 * lyxserver.C: remove I/O callback too
6871 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6873 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6876 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6878 * many files: strip,frontStrip -> trim,ltrim,rtrim
6880 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6882 * PrinterParams.h: remove extern containsOnly, and include
6883 support/lstrings.h instead.
6885 * LaTeX.C (scanAuxFile): modify because of strip changes
6887 * buffer.C (makeLaTeXFile): ditto
6888 * bufferparams.C (writeFile): ditt
6889 * lyxfont.C (stateText): ditto
6890 * lyxserver.C (read_ready): ditto
6891 * vc-backend.C (scanMaster): ditto
6893 * BufferView_pimpl.h: ws changes
6895 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6897 2002-07-26 André Pönitz <poenitz@gmx.net>
6899 * kb_sequence.C: remove unnedred usings
6901 2002-07-26 Juergen Vigna <jug@sad.it>
6903 * lyxfind.C (LyXReplace): we have to check better if the returned
6904 text is not of theLockingInset()->getLockingInset().
6906 2002-07-25 Juergen Vigna <jug@sad.it>
6908 * lyxfind.C (LyXReplace): don't replace if we don't get the
6911 * undo_funcs.C (createUndo): remove debugging code.
6913 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6915 * buffer.C (parseSingleLyXformat2Token): Use default placement
6916 when reading old floats.
6918 * FloatList.C (FloatList): Change the default placement of figure
6919 and tables to "tbp".
6921 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6923 * MenuBackend.C: using std::max
6925 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6927 * MenuBackend.C (expandToc):
6928 (expandToc2): code moved from xforms menu frontend. It is now
6929 generic and TOCs are transparent to menu frontends.
6931 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6933 * toc.C (getTocList): protect against buf=0
6935 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6936 Menu as first parameter. Now, this calls itself recursively to
6937 expand a whole tree (this will be useful for TOC handling)
6938 (expandFloatInsert): remove 'wide' version of floats
6940 * MenuBackend.h (submenuname): returns the name of the submenu.
6941 (submenu): returns the submenu itself, provided it has been
6942 created by MenuBackend::expand
6944 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6946 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6947 insets which have noFontChange == true. (bug #172)
6949 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6951 * BufferView_pimpl.C: add connection objects and use them...
6954 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6956 * MenuBackend.C (expandLastfiles):
6959 (expandFloatListInsert):
6960 (expandFloatInsert):
6961 (expand): split expand in parts
6963 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6965 * lyx_gui.C: use lyx_gui::exit()
6967 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6969 * LyXAction.C: show the failing pseudo action
6971 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6973 * buffer.C (readFile): Run the lyxconvert script in order to read
6976 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6980 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6982 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6986 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6988 2002-07-22 Herbert Voss <voss@lyx.org>
6991 * lyxlength.[Ch]: add support for the vertical lengths
6993 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6995 * toc.[Ch]: std:: fixes
6997 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6999 * lyxrc.C: do not include lyx_main.h
7001 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7007 * BufferView2.C: include "lyxlex.h"
7010 * bufferparams.h: do not #include "lyxlex.h"
7012 * lyxtextclasslist.C (Add): remove method
7013 (classlist): renamed to classlist_
7015 * paragraph_pimpl.C:
7019 * bufferview_funcs.C:
7024 * toc.C (getTocList): use BufferParams::getLyXTextClass
7026 * toc.C (getTocList): use InsetFloat::addToToc
7028 * toc.[Ch]: new files, containing helper functions to handle table
7031 * lyxfunc.C (dispatch): no need to remove spaces around command
7033 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7034 first command of the sequence; it is not very clever, but I do not
7035 have a better idea, actually
7037 * LyXAction.C (LookupFunc): make sure to remove space at the
7038 beginning and end of the command
7040 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7042 * MenuBackend.C (getMenubar): new method: return the menubar of
7044 (read): treat differently reading of menu and menubar (in
7045 particular, the menubar has no name now)
7046 (Menu::menubar): remove
7048 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7051 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7053 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7054 a bibitem inset in a RTL paragraph.
7056 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7058 * paragraph_pimpl.C: constify
7060 * BufferView_pimpl.C:
7062 * lyxfunc.C: fix dispatch in a nicer way
7064 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7066 * lyxfunc.C (dispatch):
7067 * BufferView_pimpl.C:
7068 * BufferView_pimpl.h:
7070 * BufferView.h: rename Dispatch() to dispatch()
7072 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7074 * lyxlayout.C (Read): honor DependsOn tag
7076 * lyxlayout.[Ch] (depends_on): new method
7078 * version.C.in: update lyx_docversion
7080 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7082 * paragraph.C (validate): remove from here...
7083 * paragraph_pimpl.C (validate): ... and move here
7084 (isTextAt): make it const
7086 * buffer.C (getLists): ws cleanup
7088 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7090 * language.C (read): Use iso8859-1 encoding in latex_lang
7091 (this prevents LyX from crashing when using iso10646-1 encoding).
7093 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7095 * text2.C (toggleInset): if cursor is inside an inset, close the
7096 inset and leave cursor _after_ it
7098 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7100 * lyxfunc.C: move minibuffer completion handling out of here
7102 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7104 * BufferView_pimpl.C:
7105 * LaTeX.C: fix dispatch calls
7107 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7109 * text.C (drawChars): Fix Arabic text rendering.
7111 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7115 * lyxfunc.C: remove message-push/pop
7119 * lyxfunc.C: rationalise some code by removing verboseDispatch
7120 in favour of a bool argument to dispatch()
7122 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7124 * lyx_main.C (init): make sure to read symlinks as absolute paths
7126 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7129 * lyxfunc.C: no need for commandshortcut to be a member
7131 2002-07-15 André Pönitz <poenitz@gmx.net>
7133 * converter.C: add support for $$s (scripts from lib/scripts dir)
7134 * lyx_main.C: white space
7136 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7140 * lyxrc.C: remove second exit confirmation
7142 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7147 * BufferView_pimpl.h:
7148 * BufferView_pimpl.C:
7149 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7151 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7153 * MenuBackend.C (expand): add numeric shortcuts to document menu
7155 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7157 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7159 * lyxfont.C (setLyXFamily):
7166 * buffer.C (asciiParagraph): use ascii_lowercase
7168 2002-07-15 Mike Fabian <mfabian@suse.de>
7170 * lyxlex_pimpl.C (search_kw):
7171 * lyxlex.C (getLongString):
7172 * converter.h (operator<):
7173 * converter.C (operator<):
7174 * buffer.C (parseSingleLyXformat2Token):
7176 * ToolbarDefaults.C (read):
7177 * MenuBackend.C (checkShortcuts):
7179 * LColor.C (getFromGUIName):
7180 (getFromLyXName): use the compare_ascii_no_case instead of
7181 compare_no_case, because in turkish, 'i' is not the lowercase
7182 version of 'I', and thus turkish locale breaks parsing of tags.
7184 2002-07-16 Angus Leeming <leeming@lyx.org>
7186 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7187 now takes a Buffer const & argument.
7189 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7191 * BufferView.C (resize): check there's a buffer to resize
7193 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7195 * lyxfunc.C: remove dead code
7198 * lyxserver.C: use lyx_guii::set_read_callback
7200 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7202 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7203 an inset in a RTL paragraph.
7205 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7207 * lyxfunc.C: repaint after a font size update
7209 2002-07-15 André Pönitz <poenitz@gmx.net>
7211 * lyxlength.C: inBP should be able to return negative values
7213 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7215 * lyxfunc.C: use lyx_gui::update_fonts()
7217 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7219 * lyxfunc.C: use lyx_gui::update_color()
7221 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7227 * lyxrc.C: remove file->new asks for name option, and let
7228 buffer-new take an argument
7230 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7232 * BufferView_pimpl.C: remove unneeded extra repaint()
7234 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7236 * LyXAction.C: allow command-sequence with NoBuffer
7238 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7240 2002-07-10 Angus Leeming <leeming@lyx.org>
7242 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7244 2002-07-09 Angus Leeming <leeming@lyx.org>
7246 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7248 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7250 * lengthcommon.h: whitespace
7252 * lyxfunc.C: update scrollbar after goto paragraph
7254 * lyxtext.h: factor out page break drawing, and fix it so
7255 page break/added space paints as selected nicely
7257 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7259 * BufferView_pimpl.C: add FIXMEs, clean up a little
7261 2002-07-09 André Pönitz <poenitz@gmx.net>
7263 * lyxfont.[Ch]: support for wasy symbols
7265 2002-07-08 André Pönitz <poenitz@gmx.net>
7267 * BufferView_pimpl.C: apply John's patch for #93.
7269 2002-07-05 Angus Leeming <leeming@lyx.org>
7271 * BufferView_pimpl.C (buffer): generate previews if desired.
7273 * LColor.h: add "preview" to the color enum.
7275 * LColor.C (LColor): add a corresponding entry to the items array.
7277 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7280 2002-07-05 Angus Leeming <leeming@lyx.org>
7282 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7283 The body of the code is now in the method that is passed an ostream &
7284 rather than a file name.
7285 Pass an additional only_preamble parameter, useful for the forthcoming
7288 2002-07-03 André Pönitz <poenitz@gmx.net>
7290 * lyxfunc.C: simplify getStatus() a bit for math stuff
7292 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7294 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7296 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7298 * text.C (changeRegionCase): do not change case of all the
7299 document when region ends at paragraph end (bug #461)
7301 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7303 * paragraph.C (startTeXParParams):
7304 (endTeXParParams): add \protect when necessary
7306 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7308 * BufferView_pimpl.C (workAreaExpose): remove warning
7310 2002-06-27 Angus Leeming <leeming@lyx.org>
7312 * Makefile.am: add lyxlayout_ptr_fwd.h.
7314 2002-06-26 André Pönitz <poenitz@gmx.net>
7316 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7318 2002-06-25 Angus Leeming <leeming@lyx.org>
7320 * lyxfunc.C (dispatch): Comment out the call to
7321 grfx::GCache::changeDisplay. The method no longer exists now that the
7322 pixmap generation part of the graphics loader has been moved into
7325 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7327 * text2.C: layout as layout
7329 * text.C: layout as layout
7331 * tabular.C (OldFormatRead): layout as layout
7333 * paragraph_pimpl.C (TeXDeeper): layout as layout
7334 (realizeFont): layout as layout
7336 * paragraph.C (writeFile): layout as layout
7337 (validate): layout as layout
7338 (getFont): layout as layout
7339 (getLabelFont): layout as layout
7340 (getLayoutFont): layout as layout
7341 (breakParagraph): layout as layout
7342 (stripLeadingSpaces): layout as layout
7343 (getEndLabel): layout as layout
7344 (getMaxDepthAfter): layout as layout
7345 (applyLayout): layout as layout
7346 (TeXOnePar): layout as layout
7347 (simpleTeXOnePar): layout as layout
7348 (TeXEnvironment): layout as layout
7349 (layout): layout as layout
7350 (layout): layout as layout
7352 * lyxtextclass.C (compare_name): new functor to work with
7353 shared_ptr, layout as layout
7354 (Read): layout as layout
7355 (hasLayout): layout as layout
7356 (operator): layout as layout
7357 (delete_layout): layout as layout
7358 (defaultLayout): layout as layout
7360 * lyxlayout_ptr_fwd.h: new file
7362 * lyxlayout.C (Read): layout as layout
7364 * lyx_cb.C (MenuInsertLabel): layout as layout
7366 * bufferlist.C (newFile): layout as layout
7368 * buffer.C (readLyXformat2): layout as layout
7369 (parseSingleLyXformat2Token): layout as layout
7370 (insertStringAsLines): layout as layout
7371 (asciiParagraph): layout as layout
7372 (latexParagraphs): layout as layout
7373 (makeLinuxDocFile): layout as layout
7374 (simpleLinuxDocOnePar): layout as layout
7375 (makeDocBookFile): layout as layout
7376 (simpleDocBookOnePar): layout as layout
7377 (getLists): layout as layout
7379 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7381 * CutAndPaste.C (cutSelection): layout as layout
7382 (pasteSelection): layout as layout
7383 (SwitchLayoutsBetweenClasses): layout as layout
7385 * BufferView_pimpl.C (Dispatch): layout as layout
7386 (smartQuote): layout as layout
7388 * BufferView2.C (unlockInset): layout as layout
7390 2002-06-24 André Pönitz <poenitz@gmx.net>
7392 * lyxfunc.C: fix #487
7394 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7398 * lyxfunc.C: remove display_shortcuts, show_banner
7400 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7402 * Buffer_pimpl.C: oops, update on resize
7404 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7411 * BufferView.C: use repaint()
7413 * BufferView_pimpl.h:
7414 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7415 as it's a clearer description. Remove superfluous
7418 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7420 * text.C: fix bug 488. Not ideal, but getting
7421 getWord() to work properly for the insets that
7422 matter is more difficult ...
7424 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7426 * BufferView_pimpl.C:
7429 * lyxfunc.C: remove the six million index lyxfuncs to just
7430 one, and DTRT (bug 458)
7432 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7436 * BufferView_pimpl.h:
7437 * BufferView_pimpl.C: clean up resize() stuff,
7438 and unnecessary updateScreen()s
7440 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7444 * BufferView_pimpl.h:
7445 * BufferView_pimpl.C:
7448 * minibuffer.C: remove focus management of workarea,
7449 not needed. Use screen's greyOut()
7451 2002-06-17 Herbert Voss <voss@lyx.org>
7453 * converter.C: (convert) do not post a message, when converting
7454 fails, let the calling function decide what to do in this case
7456 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7458 * lyxfunc.C: tidy up a little
7460 2002-06-16 <alstrup@diku.dk>
7462 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7463 Got rid of FORMS_H_LOCATION include. Now we are
7466 2002-06-15 LyX Development team <lyx@rilke>
7468 * buffer.[Ch] (sgmlOpenTag):
7469 (sgmlCloseTag): Added support for avoiding pernicious mixed
7470 content. Return number of lines written.
7473 (makeDocBookFile): Fixed calls to sgml*Tag.
7474 Simple white space clean.
7476 (simpleDocBookOnePar): Simple white space clean.
7478 * tabular.[Ch] (docBook): Renamed to docbook and got another
7479 argument to related with the pernicious mixed content.
7481 (docbookRow): Fixed calls for docbook inset method.
7483 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7485 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7486 so it's X11 independent.
7490 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7492 2002-06-15 Lyx Development team <lyx@electronia>
7494 * intl.h: Renamed getTrans to getTransManager.
7496 2002-06-14 Angus Leeming <leeming@lyx.org>
7498 * Makefile.am: nuke forgotten stl_string_fwd.h.
7500 2002-06-12 Angus Leeming <leeming@lyx.org>
7502 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7504 2002-06-13 Angus Leeming <leeming@lyx.org>
7507 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7509 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7511 * kbmap.C (getiso): add support for cyrillic and greek
7513 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7517 * BufferView_pimpl.h:
7518 * BufferView_pimpl.C: move bogus scrolling logic
7521 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7524 * BufferView_pimpl.C: view->resize() change
7526 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7528 * BufferView_pimpl.C: topCursorVisible
7531 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7535 * lyx_gui.C: move to frontends/
7539 * lyx_main.C: changes from above
7541 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7548 * lyx_main.C: minor tidy
7550 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7552 * BufferView_pimpl.h:
7553 * BufferView_pimpl.C:
7555 * BufferView.C: make painter() const,
7558 * BufferView2.C: use screen() accessor
7561 * lyx_main.C: some minor cleanup
7563 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7565 * BufferView_pimpl.h:
7566 * BufferView_pimpl.C: remove enter/leaveView,
7569 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7574 * BufferView_pimpl.h:
7575 * BufferView_pimpl.C: only construct screen once,
7578 * lyxrc.C: remove pointless comment
7580 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7583 * BufferView.C: remove active() and belowMouse()
7585 * BufferView_pimpl.h:
7586 * BufferView_pimpl.C: use workarea() not workarea_,
7587 and make it use a scoped_ptr instead
7589 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7591 * lyx_gui.C: add debug message on BadWindow
7593 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7595 * sp_spell.C: fdopen is not part of the C++ standard.
7597 * paragraph.C (InsetIterator): use >= instead of ==
7599 2002-06-07 Angus Leeming <leeming@lyx.org>
7601 Fixes needed to compile with Compaq cxx 6.5.
7602 * BufferView_pimpl.C:
7609 * lyxtextclasslist.C:
7614 all c-library variables have been moved into namespace std. Wrap
7615 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7620 Add a using std::abs declaration.
7622 * kbmap.h (modifier_pair):
7623 * paragraph.h (InsetTable, InsetList):
7624 * lyxfont.h (FontBits):
7625 type definition made public.
7627 * bufferlist.C (emergencyWriteAll): the compiler complains that
7628 there is more than one possible lyx::class_fun template to choose from.
7629 I re-named the void specialisation as lyx::void_class_fun.
7631 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7633 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7634 the compiler is is unable to find tostr in write_attribute.
7636 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7638 * buffer.C (sgmlError): hide #warning
7640 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7642 * xtl/*: get rid of xtl, which is not in use anyway
7644 * LyXAction.C (init):
7645 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7646 were unimplemented xtl experimentation
7648 2002-06-04 André Pönitz <poenitz@gmx.net>
7650 * lyxfunc.C: disable array operation on simple formulae
7652 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7654 * converter.C: constify a bit
7656 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7658 * lyx_gui.C: check xforms version correctly
7660 2002-04-30 Herbert Voss <voss@lyx.org>
7662 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7665 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7667 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7668 attempt to register it with a VCS)
7670 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7672 * lyx_main.C (init): honor variables LYX_DIR_13x and
7675 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7679 * lyx_main.C: fix a crash on bad command line,
7680 and give a useful exit status on error
7682 * lyxfunc.C (doImport): allow -i lyx to work
7684 2002-03-30 André Pönitz <poenitz@gmx.net>
7686 * lyxfunc.C: mathed font changes
7688 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7703 * trans_mgr.h: srcdocs, and some minor cleanups
7705 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7707 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7708 call getFont all the time)
7710 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7712 * switch from SigC signals to boost::signals
7714 2002-05-29 André Pönitz <poenitz@gmx.net>
7716 * paragraph_pimpl.C (getChar): don't call size() too often...
7718 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7720 * paragraph_pimpl.C (insertChar): do not try to update tables when
7721 appending (pos == size())
7723 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7724 in order to reduce drastically the number of comparisons needed to
7725 parse a large document
7727 2002-05-29 André Pönitz <poenitz@gmx.net>
7733 * textclasslist.[Ch]:
7734 * sp_ispell.h: whitespace change
7736 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7738 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7739 lyxaction directly now.
7741 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7745 * lyxvc.C: remove unused headers
7747 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7754 * undo_funcs.C: some cleanups. Use shared_ptr
7755 and a template for the undo stacks.
7757 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7759 * BufferView_pimpl.h:
7760 * BufferView_pimpl.C:
7767 * text2.C: use key_state/mouse_state
7769 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7771 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7774 * chset.C: change include order
7775 (loadFile): use boost regex and get rid of LRegex and LSubstring
7777 * Makefile.am (BOOST_LIBS): new variable
7780 * LaTeX.C: change include order.
7781 (scanAuxFile): use boost regex and get rid of LRegex and
7785 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7790 * FontInfo.C: moved to frontends/xforms/
7793 * FontLoader.C: moved into frontends for GUIIzation
7798 * lyxfunc.C: changes from above
7800 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7802 * LColor.C: remove spurious X include
7804 * BufferView_pimpl.C:
7809 * text2.C: move font metrics to frontends/
7811 2002-05-24 Juergen Vigna <jug@sad.it>
7813 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7814 setting the undo_cursor.
7816 * ParagraphParameters.h: include local includes first.
7818 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7820 * BufferView_pimpl.C:
7821 * BufferView_pimpl.h:
7825 * screen.C: move WorkArea into frontends/
7831 * BufferView2.C: move LyXScreen into frontends/
7835 * lyx_gui.C: move lyxlookup into frontends/xforms/
7837 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7840 * BufferView_pimpl.C:
7850 * bufferview_funcs.C:
7863 * vc-backend.C: move LyX/XFormsView into frontends/
7865 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7877 * text2.C: move Painter to frontends/
7879 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7881 * buffer.C: comment out some some code that depend upon lyx_format
7884 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7885 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7887 * buffer.h (NO_COMPABILITY): turn off compability
7889 * ColorHandler.C: include scoped_array.hpp
7891 * font.C: Use more specific smart_ptr header.
7894 * ShareContainer.h: ditto
7898 * BufferView_pimpl.h: ditto
7899 * ColorHandler.h: ditto
7901 * kbmap.C (defkey): change call to shared_ptr::reset
7903 2002-05-21 Juergen Vigna <jug@sad.it>
7905 * buffer.C (insertErtContents): fix to insert ert asis if it is
7906 non empty. Skip it completely if it contains only whitespaces.
7908 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7910 * BufferView_pimpl.C:
7911 * BufferView2.C: clear selection on paste (bug 393)
7913 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7915 * DepTable.C: include ctime
7917 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7919 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7921 2002-05-14 Juergen Vigna <jug@sad.it>
7923 * text.C (breakParagraph): fixed function to honor the keepempty
7924 layout in the right maner and also to permit the right breaking
7925 algorithm on empty or non empyt keepempty paragraphs.
7927 * paragraph.C (breakParagraph): we have to check also if the par
7928 is really empty (!size()) for isempty otherwise we do the wrong
7931 2002-05-10 Juergen Vigna <jug@sad.it>
7933 * buffer.[Ch] : The following are only changes to the ert
7934 compatibility read reading old LaTeX layout and font stuff and
7935 convert it to ERTInsets.
7937 * buffer.h: added isErtInset().
7939 * buffer.C (struct ErtComp): add a fromlayout bool to check
7940 if we're inside a LaTeX layout.
7941 (isErtInset): new helper function.
7942 (insertErtContents): look for other ert insets before this one
7943 and insert the contents there, so that we don't have subsequent
7944 ERT insets with nothing between them. This way we create only one
7945 inset with multiple paragraphs. Also check if we don't insert only
7946 spaces ' ' as they are ignored anyway afterwards in the .tex file
7947 so if we have only spaces we will ignore this latex part in the
7949 (parseSingleLyXformat2Token \\layout): better compatibility when
7950 reading layout-latex stuff.
7951 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7953 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7954 stuff after reading the inset only get the information back from
7957 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7959 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7961 * LaTeXFeatures.C (getBabelOptions): New method.
7963 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7965 * BufferView_pimpl.C (Dispatch): work around missing argument for
7968 2002-05-08 Juergen Vigna <jug@sad.it>
7970 * text.C (leftMargin): handle paragraph leftindent.
7972 * paragraph.C (writeFile): write the new \\leftindent tag.
7973 (validate): handle leftindent code.
7974 (TeXEnvironment): handle paragraphleftindent code again.
7976 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7978 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7979 for paragrap_extra indent code and new token \\leftindent.
7980 (latexParagraphs): handle the leftindent as environment.
7982 * ParameterStruct.h: added leftindent support.
7984 * ParagraphParameters.C (leftIndent): added support functions for
7985 the paragraph left indent.
7987 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7990 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7992 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7995 * text.C (computeBidiTables): No bidi in insetERT.
7997 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8000 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8002 * version.C.in: pre 5
8004 2002-05-02 José Matos <jamatos@fep.up.pt>
8005 * buffer.C (makeDocBookFile): white space changes, add newline to
8007 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8009 * tabular.C (docBook): fix typo.
8011 2002-05-03 Juergen Vigna <jug@sad.it>
8013 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8014 change in LyXText as we can not be sure it was not freed.
8015 (drawOneRow): remove unused code.
8017 * text.C (drawInset): redo the calculation of the need_break_row as
8018 it could have a row which was already freed.
8019 (draw): look at the return value of drawInset and return false if
8020 it also returned false.
8021 (paintRowText): look at the return value of draw and return false if
8022 it also returned false.
8024 * lyxtext.h: added bool return type to drawInset() and draw() so that
8025 if we have a change in the row so that the rowbreak has to be redone
8026 we abort drawing as it will be called again.
8028 2002-05-02 Juergen Vigna <jug@sad.it>
8030 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8031 a change in the maintext also if we're inside an inset.
8032 (Dispatch): set the cursor again after a break line and after the
8033 screen has been updated as it could be we're in a different row.
8035 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8036 to set the cursor behind the pargraph with > size().
8037 (setCursor): check also for the same paragraph when checking where
8038 to put the cursor if we have a NFR inset.
8040 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8041 parts of layout read further up as it still was in the wrong
8044 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8046 * screen.C (drawFromTo): change sine fullRebreak always return
8049 * buffer.C (parseSingleLyXformat2Token): reindent some
8051 * BufferView_pimpl.C (update): change since fullRebreak always
8053 (Dispatch): git rid of the last hardcoded "Standard"s.
8055 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8057 * text2.[Ch] (fullRebreak): make it return void now that we always
8060 2002-04-30 Juergen Vigna <jug@sad.it>
8062 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8063 ert compatibility check for "latex" layout.
8065 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8067 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8068 minipages: use col% instead of p%, and also use the current font.
8069 (makeLaTeXFile): Fix use babel condition.
8070 (parseSingleLyXformat2Token): Correct font when reading old floats.
8072 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8074 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8075 inserting list of floats.
8077 2002-04-25 Herbert Voss <voss@lyx.org>
8079 * MenuBackend.C (expand): don't add the graphics extensions to the
8082 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8084 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8085 non-existing layout, do not complain if it was the default layout
8086 of the original class (bug #342)
8088 2002-04-24 Juergen Vigna <jug@sad.it>
8090 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8091 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8093 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8095 * buffer.C (getBibkeyList): If using \bibliography, return the
8096 option field with the reference itself. Enables us to provide natbib
8097 support when using \bibliography.
8099 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8101 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8103 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8104 natbib is provided by the LaTeX class.
8106 2002-04-23 Juergen Vigna <jug@sad.it>
8108 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8111 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8113 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8115 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8117 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8118 ensuremath around textordmasculine, textordfeminine and
8121 2002-04-19 Juergen Vigna <jug@sad.it>
8123 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8124 reinitializing the buffer otherwise row-dimensions may be wrong.
8125 (update): reset also the selection cursors if they do exits otherwise
8126 their x/y positions may be wrong.
8128 * text2.C (cursorDown): don't enter the inset if we came from a row
8129 above and are one row over the inset.
8131 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8132 really leaving an inset.
8134 2002-04-18 Juergen Vigna <jug@sad.it>
8136 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8137 of the selected paragraph does not have the selected layout also if
8140 * text2.C (setLayout): fixed bug which did not change last selected
8143 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8144 changed the read and substituted \\end_float with \\end_inset!
8146 * BufferView_pimpl.C (cursorPrevious):
8147 (cursorNext): fixed to make it work with rows heigher than the work
8148 area without moving the cursor only the draw of the row.
8149 (workAreaMotionNotify): fix jumping over high rows.
8151 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8153 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8156 2002-04-16 Juergen Vigna <jug@sad.it>
8158 * text2.C (setCursor): set also the irow().
8159 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8161 (cursorDown): support for locking an inset if the x_fix value goes
8162 inside it. That way I can transverse insets too with cursor up/down.
8164 * lyxrow.h: added irow helper function same as other (i) functions.
8166 * BufferView_pimpl.C (cursorPrevious):
8167 (cursorNext): fixed for insets!
8169 2002-04-15 Juergen Vigna <jug@sad.it>
8171 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8172 position otherwise it is wrong in some cases.
8174 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8175 inside the inset before the call.
8177 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8179 * buffer.[Ch] (getBibkeyList): make it const.
8181 2002-04-12 Juergen Vigna <jug@sad.it>
8183 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8185 * text2.C (getCursorX): new helper function
8186 (setCursor): compute also ix_
8187 (setCursorFromCoordinates): set also ix.
8189 * lyxcursor.h: added ix_ and helper functions.
8191 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8193 * buffer.C (insertStringAsLines): dont break paragraph if the this
8194 paragraph is inside an inset which does not permit it!
8196 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8197 also with no chars on this paragraph.
8198 (paintRowText): only paint stuff if it's inside the workarea!
8200 * paragraph.C (breakParagraph): honor keepempty flag and break the
8201 paragraph always below not above.
8203 * BufferView2.C (unlockInset): update the paragraph layout on inset
8204 unlock as we changed paragraph in such a case.
8206 * lyxfind.C (LyXFind): clear the former selection if not found!
8208 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8209 again called in insertChar().
8211 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8212 an inset which uses the whole row!
8213 (rightMargin): ditto.
8214 (insertChar): force a rebreak if we inserted an inset!
8216 2002-03-28 Herbert Voss <voss@lyx.org>
8218 * lyxlength.[Ch]: add inBP() to get the right PS-point
8219 units (BigPoint). With inPixels we have rounding errors
8221 2002-04-11 Juergen Vigna <jug@sad.it>
8223 * text2.C (setCursorFromCoordinates): set iy to the right value.
8224 (setCursor): add check if row->previous exists!
8226 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8227 an old float_type as this was the case in the old code!
8229 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8231 * BufferView2.C (showLockedInsetCursor): use iy
8232 (fitLockedInsetCursor): ditto
8234 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8235 locked insets as there we have the right value now.
8237 * lyxcursor.C: added iy_ variable and iy functions to set to the
8238 baseline of cursor-y of the locked inset.
8240 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8241 (setCursor): fixed for insets which need a full row.
8243 * text.C (rowLastPrintable): don't ignore the last space when before
8244 an inset which needs a full row.
8245 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8246 as last character of a row when before a inset which needs a full row.
8248 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8250 * version.C.in: update date
8252 * text2.C (fullRebreak): try to always return true and see what
8255 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8257 * MenuBackend.C (expand): use Floating::listName
8259 * FloatList.C (FloatList): add listName argument to the built-in
8262 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8263 text associated with the float.
8265 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8267 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8269 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8271 * ShareContainer.h: add a couple of missing typenames.
8273 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8275 * lyxrc.C (getDescription): use _() correctly rather than N_().
8277 2002-03-28 Herbert Voss <voss@lyx.org>
8279 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8280 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8282 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8284 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8285 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8287 2002-03-29 Juergen Vigna <jug@sad.it>
8289 * lyxfunc.C (dispatch): add a missing fitCursor call.
8291 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8292 it was scrolled by a cursor move, so return the bool status.
8294 * BufferView.C (fitCursor): return the bool flag also to the outside
8295 world as this is needed.
8297 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8299 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8300 call the edit() as it is not needed (and wrong) IMO.
8301 (workAreaButtonPress): set the screen_first variable before evt.
8302 unlock the inset as this may change screen_first and then we have
8303 a wrong y position for the click!
8305 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8307 * MenuBackend.C (expand): another translation that I missed
8309 2002-03-28 Juergen Vigna <jug@sad.it>
8311 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8313 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8315 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8317 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8319 * MenuBackend.C (expand): fix export/view/update when there is no
8322 2002-03-27 Herbert Voss <voss@lyx.org>
8324 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8327 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8329 * bufferview_funcs.C (currentState): only show paragraph number
8330 for is DEVEL_VERSION is set.
8332 * lyxfunc.C (dispatch): put warning in INFO channel
8334 * MenuBackend.C (expand): translate the name of floats
8336 * FloatList.C (FloatList): mark the float names for translation
8338 * converter.C (convert): use LibScriptSearch
8340 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8342 * MenuBackend.C (defaults): fix default menu (we might as well get
8345 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8347 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8350 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8352 * lyxvc.C: reorder includes.
8354 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8356 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8359 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8361 * CutAndPaste.C: change layouts earlier on paste
8362 to avoid crashing when calling getFont()
8364 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8366 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8369 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8371 * WorkArea.C: remove 'Pending' debug message.
8373 * most files: ws cleanup
8375 * buffer.[Ch]: ws changes
8377 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8379 2002-03-21 Juergen Vigna <jug@sad.it>
8381 * tabular.C (SetMultiColumn): collapse also the contents of the
8382 cells and set the last border right. Added a Buffer const * param.
8384 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8386 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8389 2002-03-19 Juergen Vigna <jug@sad.it>
8391 * text2.C (clearSelection): reset also xsel_cache.
8393 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8394 where it needs to be called (John tells us to do so too :)
8395 (selectionLost): reset sel_cache.
8397 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8399 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8401 * text2.C (setCursorIntern): put debuging code in INSETS channel
8403 2002-03-19 André Pönitz <poenitz@gmx.net>
8405 * lyxfunc.C: tiny whitespace change
8407 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8409 * ToolbarDefaults.C (init):
8410 * LyXAction.C (init):
8412 * BufferView_pimpl.C (Dispatch):
8413 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8415 2002-03-19 Allan Rae <rae@lyx.org>
8417 * exporter.C (Export): removeAutoInsets before doing anything else.
8418 While I've just introduced a dependency on BufferView this really is
8419 the best place to clean the buffer otherwise you need to cleanup in
8420 a dozen places before calling export or cleanup in a dozen functions
8423 * converter.C (runLaTeX):
8424 (scanLog): Better handling of removeAutoInsets and screen updates.
8426 * lyxfunc.C (dispatch): small whitespace changes
8428 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8430 * WorkArea.C (C_WorkAreaEvent): return a value.
8431 (event_cb): return 1 if we handled the event, 0 otherwise.
8433 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8435 2002-03-18 Juergen Vigna <jug@sad.it>
8437 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8438 (GetAdditionalWidth): ditto.
8442 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8443 inset if we're there actually (probably not used right now but this
8444 is the direction to go for unifying code).
8445 (paste): disable code to clear the selection.
8447 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8448 inside an InsetText and move the check further up as it is in the
8451 * text2.C (pasteSelection): set a selection over the pasted text.
8453 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8455 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8456 and libgraphics to build on Cygwin.
8458 2002-03-15 Juergen Vigna <jug@sad.it>
8460 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8461 inserting an Inset into the paragraph. I know this is not the best
8462 fix but we already use current_view in CutAndPaste so we will remove
8463 all of it's using at the same time.
8465 * buffer.C (sgmlError): deactivated function till it is rewritten in
8466 the right mode, now it can create problems.
8468 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8469 before accessing it.
8471 2002-03-14 Juergen Vigna <jug@sad.it>
8473 * undo_funcs.C (textHandleUndo): do the right thing when updating
8474 the inset after the undo/redo.
8476 * text2.C (setCursor): just some testcode for #44 not ready yet.
8478 * undo_funcs.C (textHandleUndo): set the next() and previous()
8479 pointers of the paragraph to 0 before deleting otherwise we have
8480 problems with the Paragraph::[destructor].
8482 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8483 on a paragraph insertion.
8485 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8487 * buffer.C (asciiParagraph): use += operator for char append to
8490 * paragraph.C (getFontSettings): compare >= not just >
8491 (highestFontInRange): ditto
8494 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8496 * paragraph.C: change several algorithm to be more appripriate for
8497 the problem domain. This is lookip in FontList and in the InsetList.
8499 2002-03-13 André Pönitz <poenitz@gmx.net>
8502 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8504 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8509 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8511 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8513 * Painter.C (display): anon helper function, adjust code for this
8515 (pixmap): remove function.
8517 * Painter.h: remove private display variable.
8519 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8521 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8523 * WorkArea.[Ch]: remove figinset_canvas cruft.
8525 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8527 * lyxtextclass.C (operator): add one item cache optimization.
8529 * bufferlist.h: doxy changes
8531 * bufferlist.C: ws changes
8533 * DepTable.[Ch] (ext_exist): place const in the right spot.
8535 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8537 (workAreaExpose): call resizeInsets when the with BufferView changes.
8538 (Dispatch): adjust for protectedBlank removal
8539 (specialChar): call updateInset if the insert went ok.
8541 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8542 specialChar instead.
8544 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8546 * BufferView.h: doxy change
8548 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8550 * lyxtextclass.C (operator[]): remove non-const version
8551 (defaultLayout): remove non-const version
8553 2002-03-12 Juergen Vigna <jug@sad.it>
8555 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8556 did resize the LyXText too.
8558 * buffer.C (readLyXformat2): set layout information on newly allocated
8561 * tabular.C (OldFormatRead): set layout information on the paragraph.
8563 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8565 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8567 2002-03-11 Juergen Vigna <jug@sad.it>
8569 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8571 (resizeCurrentBuffer): force also the insets to resize themselfes.
8572 (moveCursorUpdate): fixed up for InsetText.
8574 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8577 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8578 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8579 value of Dialogs::tooltipsEnabled().
8580 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8582 2002-03-08 Juergen Vigna <jug@sad.it>
8584 * BufferView_pimpl.C (updateInset): update inset inside inset also
8585 if it isn't inside theLockingInset().
8587 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8589 * buffer.C (asciiParagraph): redo some of the word and line length
8591 (getLists): look for Caption instead of caption.
8593 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8595 * buffer.C (Buffer): initialize niceFile to true
8598 (makeDocBookFile): make sure niceFile is true on exit
8600 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8602 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8604 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8606 * LyXSendto.C: remove.
8607 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8608 * lyx_gui.C: remove now-redundant comment.
8609 * ColorHandler.h: remove forward declaration of class WorkArea.
8610 * lyxfunc.C: remove #include "WorkArea.h".
8612 2002-03-07 Juergen Vigna <jug@sad.it>
8614 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8615 got moved away with the DEPM and also set the inset_owner always
8616 right which before could have been omitted.
8618 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8620 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8621 wanted layout is not found.
8623 2002-03-07 Juergen Vigna <jug@sad.it>
8625 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8627 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8629 * paragraph.C (breakParagraph): use default layout not layout of
8631 (Paragraph): clear ParagraphParameters.
8633 2002-03-06 Juergen Vigna <jug@sad.it>
8635 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8636 otherwise it would not be a valid lenght. Fixed a special case in
8637 the minipage compatibility read where we end the document with a
8640 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8641 was set as it could be 0 for InsetTexts first entry.
8643 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8645 * paragraph.C (writeFile): if layout is empty write out
8646 defaultLayoutName().
8648 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8649 file without named layout we set layout to defaultLayoutName().
8651 2002-03-06 Juergen Vigna <jug@sad.it>
8653 * CutAndPaste.C (copySelection): set layout for new paragraph.
8655 * text.C (prepareToPrint): leave ERT inset left aligned
8656 (leftMargin): don't indent paragraphs inside ERT insets
8658 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8660 * paragraph.C (breakParagraph): dont call clear do the work manually
8662 * paragraph.[Ch] (clear): remove function
8664 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8666 * paragraph.C (Paragraph): dont call clear, the work has already
8669 * lyxtextclass.C (operator): assert if n is empty
8671 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8672 work manually instead.
8674 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8676 * BufferView_pimpl.C: protect selectionLost against text == 0
8678 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8680 * text.C (breakParagraph): fix a setting layout to '0' problem.
8682 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8684 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8685 final location of file, for the included files, and graphics.
8687 2002-03-05 Juergen Vigna <jug@sad.it>
8689 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8691 2002-03-04 Juergen Vigna <jug@sad.it>
8693 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8695 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8696 last column of multicolumn cells.
8697 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8699 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8701 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8702 file if it doesn't go to a temporary file.
8704 * buffer.C (sgmlOpenTag):
8705 (sgmlCloseTag): remove extra newline insertion.
8707 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8709 * text.C (getRowNearY): comment out debug msg
8711 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8713 * text2.C: first -> first_y
8715 * text.C (getRowNearY): add some attemts at a possible
8716 optimization, not working.
8718 * tabular.[Ch]: add BufferParams to several function so that newly
8719 created paragraph can be initialized to he default layotu for the
8722 * tabular-old.C (ReadOld): add buf->params to call of Init
8724 * screen.C: rename text->first to text->first_y
8726 * paragraph.C (breakParagraph): always set layout in the broken
8729 * lyxtextclass.C (Read): remove lowercase
8732 (delete_layout): ditto
8734 * lyxtext.h: rename first -> first_y
8736 * lyxlayout.C (Read): remove lowercase
8739 (obsoleted_by): ditto
8741 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8743 * buffer.C (insertErtContents): add params are to InsetERT
8744 (parseSingleLyXformat2Token): add code to check if a paragraphs
8745 layout really exist.
8746 (parseSingleLyXformat2Token): add params to several inset
8748 (asciiParagraph): remove lowercase, do the layout comparisons with
8751 * BufferView_pimpl.C (cursorNext): first -> first_y
8752 (resizeCurrentBuffer): first -> first_y
8753 (updateScrollbar): first -> first_y
8754 (scrollCB): first -> first_y
8755 (workAreaMotionNotify): first -> first_y
8756 (workAreaButtonPress): first -> first_y
8757 (checkInsetHit): first -> first_y
8758 (cursorPrevious): first -> first_y
8759 (cursorNext): first -> first_y
8760 (Dispatch): add buffer_->params to severl inset contructors
8762 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8764 * lyxlayout.C (Read): remove some debug info that I forgot.
8766 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8767 clean up the code slightly.
8768 (makeLinuxDocFile): ditto
8769 (makeDocBookFile): ditto
8771 * text2.C: layout as string
8773 * text.C: layout as string
8775 * paragraph_pimpl.C: layout as string
8777 * paragraph.[Ch]: layout as string
8779 * lyxtextclasslist.[Ch]: layout as string
8781 * lyxtextclass.[Ch]: layout as string
8783 * lyxtext.h: layout as string
8785 * lyxlayout.[Ch]: layout as string
8787 * lyx_cb.C: layout as string
8789 * bufferview_funcs.C: layout as string
8791 * bufferparams.C: layout as string
8793 * buffer.C: layout as string
8795 * LyXView.[Ch]: layout as string
8797 * LaTeXFeatures.[Ch]: layout as string
8799 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8801 * BufferView_pimpl.C: change current_layout to string, remove
8806 (workAreaButtonRelease): layout as string
8808 * BufferView2.C (unlockInset): adjust
8810 * vspace.C (asLatexCommand): use an explict temp variable.
8812 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8814 * Makefile.am: use FRONTEND_*
8816 2002-03-01 Juergen Vigna <jug@sad.it>
8818 * tabular.C (SetWidthOfMulticolCell): changed to something better
8819 I hope but still work in progress.
8820 (recalculateMulticolumnsOfColumn): renamed function from
8821 recalculateMulticolCells as it is more appropriate now.
8822 (SetWidthOfCell): calculate multicols better.
8824 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8826 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8828 * lyxfunc.C (processKeySym): print sequence also if it is
8829 `deleted' (complete)
8831 * kbsequence.C (print): print sequence even if it is deleted
8832 (complete would be a better word, actually).
8834 * lyxfunc.C (dispatch): print complete options after a prefix key
8836 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8838 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8840 * text2.C (setCharFont): eliminate setCharFont code duplication.
8842 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8844 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8845 LFUN_TABULAR_FEATURE (bug #177)
8847 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8849 * Makefile.am: remove figure.h
8851 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8853 * Bufferview_pimpl.C:
8865 * text2.C: remove #include "lyx_gui_misc.h".
8867 * LaTeX.C: added #include <cstdio>
8869 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8871 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8872 that the paragraph following this one can have.
8874 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8876 * vspace.C (asLatexCommand): fix bogus gcc warning
8878 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8880 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8882 * text2.C (setLayout): get rid of redundant code
8884 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8886 * text2.C (incDepth): make sure depth cannot be increased beyond
8889 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8891 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8892 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8894 * PainterBase.h (image):
8895 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8898 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8902 * BufferView_pimpl.C:
8903 * BufferView_pimpl.h:
8923 * sp_spell.C: remove fig inset, and the crap house of
8924 cards that follows it
8926 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8932 * nt_defines.h: move .h into support/
8934 * vms_defines.h: remove
8936 * WorkArea.C: add space in debug output
8940 * buffer.C: add WITH_WARNINGS
8944 * bufferlist.C: s/retrive/retrieve/, add docs
8955 * lyxgui.C: add ID to X error handler
8957 * lyxtestclass.c: fix typo
8959 2002-02-26 Juergen Vigna <jug@sad.it>
8961 * tabular_funcs.C (write_attribute): changed so that some default
8962 attributes are not written at all.
8963 (getTokenValue): set default values before trying to read the
8964 value so we have the return value always set as default if we don't
8965 find the token we search for.
8967 * tabular.C (Write): write bools as bools not as strings!
8969 2002-02-22 Juergen Vigna <jug@sad.it>
8971 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8972 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8974 * text.C (leftMargin): don't add an indent for paragraphs inside
8975 tabular cells (fix #208).
8977 2002-02-21 José Matos <jamatos@fep.up.pt>
8979 * tabular.C (docBook): fixed support for long tables.
8981 2002-02-20 Juergen Vigna <jug@sad.it>
8983 * text2.C (getFont): get the drawing font of the Inset if this
8984 paragraph is inside an inset (only important for InsetERT for now).
8986 * buffer.C (insertErtContents): use new lanugage params in ERT
8989 * CutAndPaste.C: commenting out seemingly uneeded code.
8991 2002-02-19 Allan Rae <rae@lyx.org>
8993 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8994 Iterators might be simple to use but they also get invalidated.
8995 (removeAutoInsets): renamed saved cursor tracking variables and added
8996 some comments to clarify what everything does.
8998 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9005 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9006 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9009 * vc-backend.h: remove #include "support/syscall.h"
9013 * converter.C: rearrange #includes in Lars' approved fashion.
9015 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9016 forward declare class Timeout in the header file.
9018 * XFormsView.C: changes due to the above.
9020 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9023 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9024 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9026 2002-02-18 José Matos <jamatos@fep.up.pt>
9028 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9031 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9033 * a lot of small ws changes
9034 * add a lot of using std::XXX
9035 * use std construcs some places where approp.
9036 * use some exisint stuff from lyxfunctional where approp.
9037 * Make file changes to use partial linking (lets test this now...)
9039 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9043 remove #include "support/syscontr.h" as it's redundant. Always has been.
9051 change Systemcalls::System to Systemcalls::Wait and
9052 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9053 No change of functionality, just reflects the stripped down Systemcalls
9056 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9058 * debug.[Ch]: add a GRAPHICS type to the enum.
9060 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9062 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9064 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9067 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9069 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9070 match the changes below.
9072 * text2.C (toggleInset): if there is not editable inset at cursor
9073 position, try to see if cursor is _inside_ a collapsable inset
9076 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9078 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9079 document menu has a nice checkbox
9081 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9083 * lyxlength.C (asLatexString): change PW to output as percent of
9086 * lengthcommon.C: change '%' to 't%'
9088 * lyxfunc.C (dispatch): a few comments from Martin
9090 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9094 * BufferView_pimpl.h:
9095 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9098 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9100 * vspace.C (inPixels): fix compiler warning
9102 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9104 * lyxfunc.C (getStatus): fix status message for disabled commands.
9106 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9108 * BufferView_pimpl.C: fix crash on close buffer
9109 during selection (#227)
9111 2002-01-27 Herbert Voss <voss@lyx.org>
9113 * buffer.C: link old Figure to new graphic inset
9115 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9117 * FontLoader.C (getFontinfo): Change the latex font names in order
9118 to match the names of type1inst.
9120 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9122 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9124 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9127 (remove_files_with_extension): ditto
9128 (remove_file): ditto
9131 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9132 document is smaller than the work area height. Do not initialize
9133 static variables to 0.
9135 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9137 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9139 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9140 LFUN_LAYOUT_PARAGRAPHS.
9142 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9143 tabular. It is possible to provide a possible cell, which will
9144 typically be the actcell from the corresponding insettabular
9146 * lyxfunc.C (getStatus): small cleanup; disable
9147 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9150 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9152 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9154 * paragraph.C (startTeXParParams):
9155 (endTeXParParams): new methods. The LaTeX code to
9156 start/end paragraph formatting
9157 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9158 empty (fixes bug #200)
9160 * vspace.C (inPixels): adapt to the change below
9161 (inPixels): [later] more cleanups (remove unused variables)
9163 * lyxlength.C (inPixels): change to use a width and a height as
9166 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9168 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9169 Replaced with \paperwidth
9171 * DepTable.C (insert): add std:: qualifier
9173 2002-01-18 Allan Rae <rae@lyx.org>
9175 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9178 * text.C (drawInset): Turned out I didn't know enough about how
9179 rebreaking worked. This fixes most of the redraw problems. I see
9180 an occasional cursor trail when a line is broken now and the cursor
9181 placement can seem out by a few pixels also after a rebreak.
9183 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9185 * buffer.C (parseSingleLyXformat2Token): update because minipage
9186 width is now a LyXLength
9188 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9190 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9193 2002-01-17 Juergen Vigna <jug@sad.it>
9195 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9197 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9198 is set correctly and the inset is updated correctly.
9200 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9202 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9203 the beginning of the loop.
9205 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9207 * lyxrc.C: improve help for use_scalable_fonts
9209 2002-01-17 Allan Rae <rae@lyx.org>
9211 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9213 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9215 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9216 make sure to set their inset_owner to the right value (bug #171)
9218 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9221 * DepTable.C: Implement mtime checking to reduce time spent doing
9224 2002-01-16 Juergen Vigna <jug@sad.it>
9226 * tabular.C (GetAdditionalHeight): one of error fixed.
9228 * lyxrc.C (output): small fix in writing use_pspell.
9230 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9232 * sp_base.h: #include LString.h
9234 2002-01-16 Allan Rae <rae@lyx.org>
9236 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9237 Can someone check this please?
9239 * text.C (drawInset): It was possible that p.row would be removed by
9240 breakAgainOneRow upsetting a few other settings. There may be another
9241 small tweak possible by setting need_break_row = 0 when p.row has been
9242 removed but I don't know enough about the logic here.
9244 2002-01-15 Allan Rae <rae@lyx.org>
9246 * text.C (insertChar): removed conditional truism.
9248 * BufferView2.C (removeAutoInsets): More tweaks.
9249 cur_par_prev could be a stray pointer. Check for trailing empty line
9250 in case last line was cur_par and only had an error inset on it.
9252 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9254 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9257 * vc-backend.C (most methods):
9258 * exporter.C (Export):
9259 * converter.C (convert):
9261 * LyXSendto.C (SendtoApplyCB):
9262 * lyxfunc.C (dispatch):
9266 * lyx_cb.C (AutoSave):
9268 * BufferView_pimpl.C (MenuInsertLyXFile):
9269 * buffer.C (runChktex): use Buffer::filePath().
9271 * buffer.h: rename filename to filename_; rename filepath to
9272 filepath_ and make it private
9273 (filePath): new method
9275 * buffer.C (writeFile): use fileName()
9278 * lyx_main.C (init): fix starting of LyX when the binary is a
9279 link from so,ewhere else.
9281 * minibuffer.C: include <cctype> for isprint
9283 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9285 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9286 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9287 name clash with InsetCollapsable's width function.
9289 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9291 * lastfiles.C: include <iterator>
9293 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9295 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9298 * buffer.C (makeLaTeXFile): ditto.
9299 Also make loop operation more transparent.
9301 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9303 * ToolbarDefaults.C: remove trailing comma closing namespace.
9305 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9307 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9310 * trans.C (Load): comment out unused variable, allowed.
9312 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9314 * minibuffer.[Ch] (append_char): new method to recieve input from the
9315 drop-down completion browser. If a key was pressed, then recieve this
9316 char and append it to the existing string.
9317 (peek_event): modify the positioning data passed to the completion
9318 browser so that it can be placed above the minibuffer rather than below.
9319 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9321 * LyXAction.C (init): alloe error-next for readonly documents.
9323 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9326 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9328 * bufferlist.C (readFile): create the buffer _after_ checking that
9331 * lyxfunc.C (verboseDispatch): fix handling of arguments
9333 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9335 * lyxrc.C: use string::erase() instead of initializing to "".
9338 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9340 * BufferView_pimpl.h:
9341 * BufferView_pimpl.C:
9344 * text2.C: tell X when we have made a selection for copying
9346 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9348 * BufferView_pimpl.C (MenuInsertLyXFile):
9349 * lyxfunc.C (menuNew):
9351 (doImport): add shortcuts to directory buttons
9353 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9356 * lyxfunc.C (setStatusMessage):
9357 (getStatusMessage): new methods
9358 (getStatus):use setStatusMessage instead of setErrorMessage
9359 (dispatch): when function is disabled, set error message here
9360 [instead of in getStatus previously]
9362 * BufferView_pimpl.C (workAreaButtonRelease): update
9363 toolbar/menubar here too.
9365 2002-01-13 Allan Rae <rae@lyx.org>
9367 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9368 Now seems indestructible. Remaining task is to audit all other
9369 code affected by deleteEmptyParagraphMechanism. One small quirk
9370 left is that an empty document with an error in the preamble can
9371 be made to report an error but no error box appears. I don't know
9373 (removeAutoInsets): Improved comments.
9375 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9378 * Thesaurus.C: update for Aiksaurus 0.14
9380 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9382 * text2.C (firstParagraph): removed member function, all uses
9383 replaces with ownerParagraph
9384 (redoParagraphs): here
9386 (toggleAppendix): here
9387 * BufferView2.C (insertErrors): here
9388 (setCursorFromRow): here
9390 2002-01-13 Allan Rae <rae@lyx.org>
9392 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9393 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9394 There is still a way to segfault this although you may have to do this
9395 multiple times: Have an InsetERT with an unknown command in it.
9396 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9397 <down-arrow>, <Enter> again, View->DVI, BANG!
9399 * text2.C (setCursor):
9400 (deleteEmptyParagraphMechanism):
9401 * lyxtext.h (setCursor):
9402 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9403 Making use of the return value may help fix other bugs.
9405 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9407 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9409 * LyXView.C (updateMenubar): call MenuBar::update here
9410 (updateToolbar): but not here
9411 (showState): do not update toolbar/menubar
9413 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9414 should need to care about that.
9416 * lyxfunc.C (verboseDispatch): simplify a bit
9417 (getStatus): have a version which takes a pseudoaction, and
9418 another which requires a (kb_action,string).
9420 * LyXAction.C (retrieveActionArg): make it work also when action
9421 is not a pseudo-action.
9422 (getActionName): simplify a bit
9425 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9427 * lyxfunc.C (verboseDispatch): new families of methods with
9428 several ways to specify a command and a bool to indicate whether
9429 the command name and shortcut should be displayed in minibuffer
9430 (eventually, we could extend that to a finer bitmask like
9431 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9432 (dispatch): the pristine dispatch command which just, well,
9433 dispatchs! Note it still sets its result to minibuffer; I'm not
9436 * lyxfunc.h: remove setHintMessage
9438 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9440 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9442 * BufferView_pimpl.C (specialChar): delete new inset if we have
9443 not been able to insert it.
9445 * kbmap.C: revert to using int instead of kb_action, since all we
9446 are dealing with is pseudo-actions.
9448 * LyXAction.C (searchActionArg): change to return int instead of
9449 kb_action, since the result is a pseudoaction.
9451 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9453 * buffer.C (insertErtContents): Fix (partially) the font bug.
9455 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9457 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9458 as the other one is broken on my machine!
9460 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9463 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9465 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9467 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9468 reflect their actual use. Provide compatibility code for older lyxrc
9471 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9473 change names of popup font variables in line with the changes to lyxrc.C
9475 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9477 * buffer.C (asciiParagraph): avoid outputing a word twice after
9480 * lyxrc.C (getDescription): document that document_path and
9481 template_path can be empty.
9483 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9485 * LaTeXFeatures.C (getMacros):
9486 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9488 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9490 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9492 (getPackages): rename feature "floats" to "float". Use an array to
9493 iterate over 'simple' features (i.e. just a \usepackage). Add
9494 handling of "amsmath" (renamed from "amsstyle").
9496 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9498 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9501 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9503 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9504 FuncStaus::FuncStatus & FuncStaus::some_method().
9506 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9508 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9509 of the func_satus stuff. Edited and massaged in various ways by
9512 * lyxfunc.C (getStatus): use FuncStatus
9514 2002-01-08 Juergen Vigna <jug@sad.it>
9516 * text.C (nextBreakPoint): use function Inset::isChar().
9518 * paragraph.C (TeXOnePar): use function
9519 Inset::forceDefaultParagraphs.
9521 * buffer.C (latexParagraphs): use function
9522 Inset::forceDefaultParagraphs.
9524 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9526 * lyx_gui.C (init): set the style of the menu popups to
9527 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9529 2002-01-07 Juergen Vigna <jug@sad.it>
9531 * text.C (setHeightOfRow): small fix
9532 (prepareToPrint): don't look at alignment if we don't have the place
9535 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9537 * box.C: New file. Move the Box methods and functions out of box.h,
9538 following Lars' suggestion.
9540 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9542 * box.h: #include "support/LOstream.h", needed for inlined function.
9545 * lyxtextclasslist.C: added some using std declarations.
9547 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9549 * box.h: make signed dimensions to allow insets wider than
9550 the screen (bug #162)
9552 * BufferView_pimpl.C: add some insetHit debug
9554 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9556 * vc-backend.C: add FIXME
9558 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9560 * lyxfunc.C (getStatus): enable code for showing math font status
9563 2002-01-07 Juergen Vigna <jug@sad.it>
9565 * text.C (nextBreakPoint): removed debug output not needed anymore.
9567 2002-01-06 Juergen Vigna <jug@sad.it>
9569 * text.C (nextBreakPoint): fixed up this function we had this bug
9570 since ever but now hopefully we break row better.
9571 (insertChar): we have to check if an inset is the next char as it
9572 could now happen that a large inset is causing a break.
9574 2002-01-05 Juergen Vigna <jug@sad.it>
9576 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9577 if it doesn't like to be drawed.
9579 2002-01-04 Juergen Vigna <jug@sad.it>
9581 * BufferView2.C (lockInset): forgot to set a cursor.
9583 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9585 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9590 * form_maths_panel.C:
9591 * form_maths_panel.h:
9592 * form_maths_panel.fd: implemented sub- and super- buttons in math
9595 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9596 (or ^ space) to be used as in TeX (req'd by André).
9598 * lyxfunc.C: Allow ^ and _ again to be used both as
9599 super/subscript (mathed) and as themselves (in text).
9601 2002-01-03 Allan Rae <rae@lyx.org>
9603 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9604 "LyX" or the filename of the current buffer if it has one. This is a
9605 modified form of John Levon's patch.
9607 * XFormsView.C (setWindowTitle): also set icon title.
9609 * LyXView.h (setWindowTitle): signature changed.
9610 * XFormsView.h (setWindowTitle): ditto.
9612 2002-01-02 Juergen Vigna <jug@sad.it>
9614 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9616 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9618 * screen.C (topCursorVisible): introduce a temp var for
9619 text->cursor.row(), handle the case where this row is null. (kindo
9622 * text2.C (setCursor): add a couple of asserts.
9624 * paragraph.h (inset_iterator): add -> operator
9626 * paragraph.[Ch] (autoDeleteInsets): remove member function
9628 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9629 cursor pos correctly and handle inset deletion by itself.
9630 (insertErrors): move iterator declaration out of for expression
9632 * lyxtextclass.C: add <algorithm>
9634 * Makefile.am: added the new files to sources, removed layout.C
9636 * layout.C: removed file
9638 * layout.h: remove LYX_DUMMY_LAYOUT
9640 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9644 * lyxtextclass.[Ch]:
9645 * lyxtextclasslist.[Ch]: new files
9647 * include order changes to a lot of files, also changes because of
9650 2001-12-27 Juergen Vigna <jug@sad.it>
9652 * buffer.C (asciiParagraph): more fixes.
9654 * tabular.C (ascii): make ascii export support export of only the
9655 data separated by a column-delimiter.
9656 (ascii): better support for ascii export.
9658 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9660 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9662 * tabular_funcs.C: use a "using std::getline" instead of the
9663 previous fix from Angus (necessary for cxx + lyxstring)
9665 2001-12-24 Juergen Vigna <jug@sad.it>
9667 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9669 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9670 problems. First check a minipage also if we have some ert-contents
9671 (not only on par->size(), second set the right depth of the paragraph
9672 on the relink to the root-paragraph-list!
9674 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9675 which then did not anymore update the main paragraphs on undo/redo!
9677 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9679 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9680 code. Support all font-changing funcs (even those which are not in
9681 menu currently). Support for reporting font settings in
9682 mathed (disabled until Andre provides a function on mathed's side).
9684 * func_status.h (toggle): small helper function to set toggle
9687 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9689 * tabular_funcs.C: getline -> std::getline
9691 2001-12-21 Juergen Vigna <jug@sad.it>
9693 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9694 accessed and could be 0 (I couldn't generate this but it seems
9697 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9699 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9700 * tabular_funcs.h: here and include iosfwd
9702 2001-12-20 Juergen Vigna <jug@sad.it>
9704 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9705 inside inset but undo_par was.
9707 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9709 * Thesaurus.C: always include <config.h> in sources.
9713 * box.h: do not include <config.h> in header files
9715 * text.C (paintLastRow): remove unused variable
9717 * text.C (transformChar):
9719 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9722 * font.C (width): rewrite to use uppercase() instead of
9725 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9727 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9729 * lyxfind.C: clean up of find failure position change
9731 2001-12-20 Juergen Vigna <jug@sad.it>
9733 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9735 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9736 (TeXRow): added to LaTeX a single tabular row.
9737 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9738 (Latex): simplified and finally good LT-h/f support.
9739 (various_functions): just small adaptions for LT-h/f support.
9741 * tabular_funcs.[hC]: added and moved here all not classfunctions
9744 2001-12-19 Juergen Vigna <jug@sad.it>
9746 * tabular.[Ch]: better support for longtabular options (not finished
9749 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9751 * text.C (paintLastRow): use the label font instead of the font of
9752 the last character to compute the size of *_BOX. This makes more
9753 sense and avoids a crash with empty paragraphs.
9754 Use Painter::rectangle to draw EMPTY_BOX.
9756 2001-12-19 Juergen Vigna <jug@sad.it>
9758 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9759 the paragraphs if the replaced paragraph is not the first one!
9760 Tried to delete not used paragraphs but does not work yet so for
9761 now it's inside #ifdef's and by default off!
9763 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9765 * MenuBackend.C: include "lyx_main.h" instead of declaring
9766 lastfiles (actually was declared as LastFiles* instead of a
9769 2001-12-17 Juergen Vigna <jug@sad.it>
9771 * tabular.C (AppendColumn): applied John's fix
9773 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9777 * BufferView_pimpl.h:
9778 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9781 * box.h: new start of class for above
9783 * lyxfunc.C: ignore space-only minibuffer dispatches.
9784 Show the command name when it doesn't exist
9786 * minibuffer.C: don't add empty lines to the history
9788 * minibuffer.C: add a space on dropdown completion
9790 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9792 * text.C: fix line above/below drawing in insets
9794 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9796 * lyxlength.C (LyXLength): Initialize private variables.
9798 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9800 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9801 when inserting error insets.
9803 2001-12-13 Juergen Vigna <jug@sad.it>
9805 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9806 actually sometimes the before-paragraph.
9807 (setUndo): don't clear the redostack if we're not actually undoing!
9809 2001-12-06 Juergen Vigna <jug@sad.it>
9811 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9812 and fixed redoing of main paragraph, so we can use it now ;)
9814 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9816 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9818 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9821 2001-12-13 André Pönitz <poenitz@gmx.net>
9824 * undo_func.C: minor cleanup
9826 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9828 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9829 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9830 font in urw-fonts package which is marked as -urw-fontspecific and
9831 does not work (incidentally, changing the encoding in the
9832 fonts.dir of this package to -adobe-fontspecific fixes the
9835 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9836 is a crash when undoing first paragraph (Juergen, please take a
9837 look). THis does not mean the undo fix is wrong, just that it
9840 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9841 the (Paragraph*) version when needed instead of duplicating the
9844 * text.C (workWidth): use Inset::parOwner to find out where the
9845 inset has been inserted. This is a huge performance gain for large
9846 documents with lots of insets. If Inset::parOwner is not set, fall
9847 back on the brute force method
9849 * paragraph_pimpl.C (insertInset):
9850 * paragraph.C (Paragraph):
9851 (cutIntoMinibuffer): set parOwner of insets when
9852 inserting/removing them
9854 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9856 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9862 * mathed/formulabase.C:
9863 * mathed/math_cursor.[Ch]:
9864 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9867 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9869 * lyxlength.[Ch] (operator!=): new function
9871 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9873 * text.C (workWidth): use Inset::parOwner to find out where the
9874 inset has been inserted. This is a huge performance gain for large
9875 documents with lots of insets. If Inset::parOwner is not set, fall
9876 back on the brute force method
9878 * paragraph_pimpl.C (insertInset):
9879 * paragraph.C (Paragraph):
9880 (cutIntoMinibuffer): set parOwner of insets when
9881 inserting/removing them
9883 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9885 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9887 * tabular-old.C (getTokenValue):
9888 * tabular.C (getTokenValue):
9889 (write_attribute): new versions for LyXLength
9890 (everywhere): adjust the use of widths
9892 * tabular.h: change the type of widths from string to LyXLength
9894 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9896 * paragraph.C: fixed missing line number count when exporting
9897 Environments to LaTeX file
9899 * buffer.C: added informational message for checking line numbers.
9901 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9903 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9904 paragraph, do the 'double space' part, but not the 'empty
9907 * text.C (workWidth): small optimization
9908 (getLengthMarkerHeight): use minimal size for negative lengths.
9910 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9912 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9914 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9916 2001-12-11 André Pönitz <poenitz@gmx.net>
9919 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9921 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9923 * text2.C: keep selection on a setFont()
9925 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9927 * lyx_cb.C: another bv->text misuse, from insert label
9929 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9932 * kbsequence.C: re-instate nmodifier mask
9934 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9936 * lyx_main.h: make lyxGUI private.
9938 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9940 * lyxfind.C: place the cursor correctly on failed search
9942 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9944 * text.C (getLengthMarkerHeight): for small heights, the arrows
9945 are not always on top/bottom of the text
9946 (drawLengthMarker): smaller arrows; take the left margin in
9947 account; draw also vfills.
9949 (paintLastRow): remove special code for vfill and standard spaces,
9950 since everything is handled in drawLengthMarker now.
9952 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9954 * buffer.C (insertErtContents): try to handle font and language
9955 interaction a bit better.g
9957 * ColorHandler.C (updateColor): change the hash to cover the whole
9958 LColor enum, ws cleanup
9959 (getGCLinepars): ditto
9960 (getGCLinepars): only lookup in the linecache once.
9962 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9964 * iterators.C (operator++): Make the iterator more robust
9966 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9968 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9970 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9973 * text.C: better added space drawing
9975 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9978 * BufferView2.C: fix layout combo update on inset unlock
9980 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9982 * Makefile.am: don't compile unused files
9984 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9988 * LyXAction.C: remove old LFUN_LAYOUTNO
9990 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9992 * paragraph_pimpl.h:
9993 * paragraph_pimpl.C: isTextAt() doesn't need font param
9995 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9998 * lyxlex.C: little cleanup
10000 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10002 * BufferView_pimpl.C: fix insertAscii for insets
10004 2001-12-05 Juergen Vigna <jug@sad.it>
10006 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10007 set the right font on the "multi" paragraph paste!
10009 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10015 * lyxlength.C: remove out-commented code.
10017 * BufferView_pimpl:
10031 * vc-backend.C: change "while(" to "while ("
10033 * lyxlength.[Ch]: add zero function to check if length is zero or
10035 * lyxgluelength.C: use it
10037 2001-12-05 Allan Rae <rae@lyx.org>
10039 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10040 Works for 2.95.3, from what I understand of Garst's reports this should
10041 work for other g++ versions. We're screwed if the abs(int) definition
10042 changed between bugfix releases of gcc.
10044 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10046 * text.C: fix chapter label offset !
10048 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10051 * text.C: fix hfill at end of line, clean up
10053 2001-12-04 Juergen Vigna <jug@sad.it>
10055 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10056 that we force an update of the inset and it's owners if neccessary.
10058 2001-12-03 Juergen Vigna <jug@sad.it>
10060 * text.C (rowLast): simplified code
10062 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10064 * lyxfunc.C: fix show options on timeout
10066 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10068 * screen.C (topCursorVisible): scroll half a page when the cursor
10069 reached top of bottom of screen
10071 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10073 * minibuffer.C: deactivate on loss of focus
10075 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10077 * vspace.[Ch] (operator!=): add operator.
10079 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10081 * BufferView_pimpl.C: refuse to open an inset when
10082 there's a selection.
10084 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10086 * BufferView_pimpl.C: allow to click on RHS of full row insets
10088 2001-11-30 Juergen Vigna <jug@sad.it>
10090 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10091 insets for undo reasons.
10093 2001-11-28 André Pönitz <poenitz@gmx.net>
10095 * vspace.[Ch]: cosmetical changes
10097 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10107 * kbsequence.C: part re-write of old kb code
10110 * WorkArea.C: remove Lgb_bug_find_hack
10112 2001-11-30 José Matos <jamatos@fep.up.pt>
10114 * buffer.C (makeDocBookFile): add a comment to point a hack.
10115 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10116 Fixed a double write of labels.
10118 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10121 * LaTeX.h Fixed bug in LaTeX class where it would not
10122 re-run latex if no depfiles were changed, but the .dvi was removed.
10124 2001-11-28 André Pönitz <poenitz@gmx.net>
10126 * all the files from the change on 2001/11/26:
10127 use lyx::layout_type instead of LyXTextClass::size_type
10128 use lyx::textclass_type instead of LyXTextClassList::size_type
10130 2001-11-29 Juergen Vigna <jug@sad.it>
10132 * text.C: added support for paragraph::isFreeSpacing()
10134 * buffer.C: same as above
10136 * paragraph.h: inserted isFreeSpacing() function to enable
10137 FreeSpacing inside InsetERT.
10139 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10140 of the paragraph's in the cut/copy buffer to 0!
10142 * text2.C (removeRow): remove the assert as it can!
10144 * lyxtext.h: added helper function firstRow returning firstrow and
10145 made firstrow private again.
10147 * BufferView2.C (lockInset): don't relock if we're already locked!
10149 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10150 the only paragraph.
10151 (removeRow): added Assert::(firstrow)
10153 * debug.C: forgot to add INSETTEXT here.
10155 2001-11-28 Juergen Vigna <jug@sad.it>
10157 * sp_spell.C (initialize): changed error text to more general
10158 spellchecker command use (not only ispell!)
10160 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10162 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10164 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10166 * vspace.C: initialise lyxgluelength on failure
10168 2001-11-28 Allan Rae <rae@lyx.org>
10170 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10171 declaration & definition that looks like a function declaration.
10173 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10175 * BufferView2.C (copy):
10176 (copyEnvironment): do not clear the selection when doing a copy.
10178 * text.C (paintFirstRow): compilation fix
10180 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10182 * tabular.C (Latex): correct line count when writing latex.
10184 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10186 * paragraph_pimpl.h:
10187 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10190 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10194 * LColor.C: change vfillline->added_space
10196 * text.C: add markers and text for added space
10198 * vspace.C: fix comment
10200 2001-11-28 André Pönitz <poenitz@gmx.net>
10202 * paragraph.C: whitespace changes
10203 * all the other files from the change on 2001/11/26:
10204 change *::pos_type into lyx::pos_type
10206 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10208 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10209 language of the document when inserting error insets.
10211 2001-11-26 André Pönitz <poenitz@gmx.net>
10213 * BufferView_pimpl.[Ch]:
10221 * paragraph_pimpl.[Ch]:
10224 * text2.C: reduce header dependencies, introduce type for positions
10226 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10228 * <various>: change to use Alert.h
10230 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10232 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10233 when encountering an unknown token.
10234 (readLyXformat2): Show an error message if there were unknown tokens.
10236 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10239 * BufferView_pimpl.C:
10243 * text2.C: use par->isInset()
10245 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10247 * paragraph_pimpl.h:
10248 * paragraph_pimpl.C: cleanup
10250 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10252 * text2.C (removeRow):
10253 * text.C (setHeightOfRow): remove useless (and costly) call to
10256 2001-11-20 Allan Rae <rae@lyx.org>
10258 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10259 Now need Inset*::checkInsertChar() to return true for appropriate
10260 cases so that the characters in the minibuffer will actually be
10263 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10265 * text.C: change the order of the includes.
10266 (workWidth): initialize it at once.
10267 (workWidth): make maxw unsigned
10268 (setHeightOfRow): remove unused variable (inset)
10269 (selectSelectedWord): remove unused variable (inset)
10270 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10272 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10274 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10275 server is not running.
10277 (closeConnection): add debug info when server is disabled.
10279 * ColorHandler.C (getGCForeground): send debug message to GUI
10282 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10284 * kbmap.C (bind): modify because return conventions of
10285 kb_sequence::parse have changed.
10287 * kbsequence.C (parse): only ignore spaces and not any stupid
10288 control character. This avoids tests like s[i] <= ' ', which are
10289 guaranteed to fail with 8bit characters and signed chars.
10290 Change return code to string::npos when there have been no error
10291 (0 was a bad idea when error is at first character)
10293 2001-11-14 José Matos <jamatos@fep.up.pt>
10296 * buffer.C (simpleDocBookOnePar): removed unused argument.
10298 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10300 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10301 insets which are part of a word. Paragraph::isLetter takes care of
10302 that now. Use Paragraph::isInset to identify insets.
10303 (selectSelectedWord): do not test for hyphenation break.
10305 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10306 that protected spaces are considered as spaces.
10308 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10311 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10314 * lyxserver.C: fix it. and small cleanup.
10316 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10318 * BufferView_pimpl.C: use inline helpers
10321 * LaTeXFeatures.C: fix typos
10324 * Spacing.C: move spacing_string into class
10326 * ToolbarDefaults.C: move stuff into namespace anon
10328 * layout.h: update enum
10330 * lyxfunc.C: use better debug
10332 * minibuffer.h: fix typo
10336 * WorkArea.C: add and use Debug::WORKAREA
10340 * text2.C: code re-organisation, inline helpers
10342 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10344 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10345 std::vector.empty().
10347 2001-11-09 Allan Rae <rae@lyx.org>
10349 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10350 '\n's after tables. Tabular and ERT inset work now makes this no
10353 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10356 * minibuffer.C: fix crash, improve drop-down completion
10358 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10361 * lyxserver.C: invalidate fd's when doing endPipe()
10363 2001-11-08 José Matos <jamatos@fep.up.pt>
10365 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10366 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10369 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10371 2001-11-07 José Matos <jamatos@fep.up.pt>
10374 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10377 * buffer.C (sgmlOpenTag):
10378 * buffer.C (sgmlCloseTag): removed debug info.
10380 * buffer.h (sgmlOpenTag):
10381 * buffer.h (sgmlCloseTag): made public.
10383 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10385 * buffer.C (saveParamsAsDefaults):
10386 * lyx_cb.C (MenuLayoutSave): remove
10388 * LyXAction.C (init):
10390 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10392 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10394 * buffer.C (setPaperStuff): removed from here...
10396 * bufferparams.C (setPaperStuff): ... and moved there.
10398 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10402 * XFormsView.C: add support for drop-down completion
10404 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10406 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10409 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10411 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10414 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10416 * lyx_main.C: change ref to known bugs
10418 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10420 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10421 to work around older babel problems.
10423 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10425 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10427 2001-10-24 Juergen Vigna <jug@sad.it>
10429 * tabular-old.C (ReadOld): below variable changes reflected.
10431 * tabular.[Ch]: added ltType struct for longtable header/footer
10432 defines and changed all instances where they are used. Added
10433 future support for double top/bottom rows.
10435 2001-10-24 José Matos <jamatos@fep.up.pt>
10437 * buffer.h (docbookHandleCaption):
10438 * buffer.C (docbookHandleCaption): removed unused function.
10439 (makeDocBookFile): moved docbook supported version to v4.1.
10441 2001-10-24 José Matos <jamatos@fep.up.pt>
10444 * tabular.C (docbookRow): new function to export docbook code of a row.
10445 (DocBook): now honors the longtable flags.
10447 2001-10-23 José Matos <jamatos@fep.up.pt>
10450 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10451 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10453 * buffer.C (makeLinuxDocFile):
10454 (makeDocBookFile): reworked the preamble, more clean, and with
10455 support for lyx defined entities. Changed the document declaration
10456 to be more XML friendly.
10458 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10459 if we need to output XML that should be done with a filter.
10461 2001-10-22 Juergen Vigna <jug@sad.it>
10463 * sp_pspell.h (class PSpell): add alive function needed in the
10464 controller to see if the spellchecker could be started.
10466 2001-10-22 Juergen Vigna <jug@sad.it>
10468 * buffer.C (insertStringAsLines): modify the font for inserting
10469 chars in certain conditions by calling checkInsertChar(font).
10471 2001-10-19 Juergen Vigna <jug@sad.it>
10473 * text.C (workWidth): use getRow instead of wrong algorithm.
10474 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10476 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10481 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10483 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10485 * text.C (workWidth): do not search for the exact row when
10486 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10487 optimization for big documents.
10489 2001-10-18 Juergen Vigna <jug@sad.it>
10491 * text.C (workWidth): new function with added Inset * parameter.
10493 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10495 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10497 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10498 change return type of getColumnNearX.
10501 * text.C (changeRegionCase): use uppercase/lowercase instead of
10504 (rightMargin): simplify code by factoring out the uses of
10509 (appendParagraph): use Paragraph::size_type
10511 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10513 * vspace.C (asLatexString): add a missing break
10515 2001-10-15 Herbert Voss <voss@perce.de>
10517 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10519 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10521 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10524 2001-10-10 André Pönitz <poenitz@gmx.net>
10526 * lyxfunc.C: removed greek_kb_flag.
10528 2001-10-10 Herbert Voss <voss@perce.de>
10530 * lyx_main.C: delete global string help_lyxdir.
10532 2001-10-09 Herbert Voss <voss@perce.de>
10534 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10536 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10538 * lyx_main.C: added global string help_lyxdir.
10540 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10542 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10544 * lyxrc.C (set_font_norm_type): support iso8859-4
10546 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10548 * LaTeX.C (deplog): add another regex for MikTeX
10550 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10552 * lyxrc.C (set_font_norm_type): support iso8859-3
10554 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10556 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10558 * LaTeXFeatures.C: remove special case of french and index
10560 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10561 before \begin{document}). This solves several incompatibilities.
10563 2001-10-03 Garst Reese <reese@isn.net>
10565 * lyx_cb.C: change CheckTex error msg.
10567 2001-10-03 José Matos <jamatos@fep.up.pt>
10569 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10571 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10573 * .cvsignore: update
10575 * lyx_main.C (commandLineVersionInfo): use new style version info.
10577 * buffer.C (writeFile):
10579 (makeLinuxDocFile):
10580 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10582 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10584 * version.h: update to use stuff in version.C
10586 * version.C.in: new file. Contains version information determined
10587 at compile time. This is a merging of version.h and
10590 2001-10-03 Juergen Vigna <jug@sad.it>
10592 * BufferView_pimpl.C (update): don't change "dirty" status in
10595 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10597 * WorkArea.C (c-tor): re-position version string slightly.
10599 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10601 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10602 revert to previous code.
10604 WorkArea.[Ch]: (show, destroySplash): methods removed.
10606 WorkArea.C: rework code so that it's an amalgam of the codes before and
10607 after the splash screen was moved to WorkArea.
10609 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10612 * vspace.C (inPixels):
10615 * buffer.C (insertStringAsLines):
10616 (asciiParagraph): fix types to be large enough
10618 * lyxlex_pimpl.h: change member status from short to int
10620 * layout.h: fix type of endlabeltype
10623 * kbsequence.C (parse): change return type to string::size_type
10625 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10628 * Bullet.C (bulletSize):
10629 (bulletEntry): do not use short ints as parameters
10631 * BufferView2.C (insertLyXFile): change a char to an int.
10633 * WorkArea.C (WorkArea): remove unneeded floats in computation
10635 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10637 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10639 * paragraph.C (asString): Do not ignore newline/hfill chars when
10640 copying to the clipboard.
10642 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10644 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10645 after a multi-line inset.
10647 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10649 * paragraph.C (validate): Set NeedLyXFootnoteCode
10651 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10653 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10654 and decrease-error to decrease.
10656 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10658 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10659 it more readable (should be equivalent)
10661 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10663 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10665 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10667 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10668 of a cursor (row, etc.) after a character has been deleted
10669 (deleteEmptyParagraphMechanism): call the method above on _all_
10670 cursors held by the LyXText when a double space has been
10673 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10675 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10677 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10679 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10680 background. Use greyOut() and the new show() methods to toggle between
10681 the foreground and background. Add code to remove the splash after
10682 its initial showing.
10684 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10685 (create_forms): no longer call Dialogs::showSplash.
10687 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10689 * .cvsignore: add version_info.h
10691 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10693 * version_info.h.in: new file
10695 * Makefile.am: add version_info.h.in
10697 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10698 version_info.h instead of VERSION_INFO
10700 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10702 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10703 The ERT inset now returns string().
10705 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10707 * lyxtext.h, text.C (selectNextWord): renamed as
10708 selectNextWordToSpellcheck.
10710 * text.C (selectNextWordToSpellcheck): Modified to not select
10711 words inside an ERT inset.
10713 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10715 * lyx_cb.C (MenuLayoutSave): change a bit the question
10717 * sp_base.h: include <sys/types.h>
10719 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10721 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10723 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10725 * several files: fix typos in user-visible strings
10727 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10729 * text2.C (pasteSelection): do not set the selection, since it
10730 will be cleared later. Actually, the intent was to fix the way the
10731 selection was set, but I figured rmoving the code was just as good.
10733 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10735 * FontLoader.C (available): Check if font is available without
10738 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10740 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10742 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10744 * lyxrc.[Ch]: added display_graphics variable and associated code.
10746 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10748 * bufferparams.C (hasClassDefaults): new method. Returns true if
10749 the buffer parameters correspond to known class defaults
10751 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10753 * XFormsView.C (show): set minimum size to the main window.
10755 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10757 * text2.C (copySelection):
10759 * lyxfind.C (LyXReplace):
10760 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10761 LyXText::selectionAsString.
10763 * paragraph.C (asString): add "label" argument to the second form
10765 * text2.C (selectionAsString): add "label" argument and pass it to
10766 Paragraph::asString.
10768 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10770 * lyx_main.C (commandLineHelp): remove version information
10772 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10774 * lyx_main.C: add -version commandline option
10776 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10778 * paragraph.h: make the optional constructor arg required instead.
10779 some modifications to other files because of this.
10781 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10783 * lyxserver.C (C_LyXComm_callback): make it static
10785 * lyx_main.C (error_handler): make it static
10787 * lyx_gui.C (LyX_XErrHandler): make it static
10789 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10791 * WorkArea.C: make the extern "C" methods static.
10793 * Makefile.am (lyx_LDADD): simplify
10795 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10797 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10798 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10800 * LyXAction.C (init):
10801 * lyxfunc.C (dispatch): associated code removal.
10803 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10805 * lyxfont.h (isSymbolFont): shut off warning
10807 * text.C (setHeightOfRow):
10808 (getVisibleRow): fix crash with empty paragraphs which have a
10811 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10813 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10816 2001-09-04 José Matos <jamatos@fep.up.pt>
10819 * tabular.C (docbook): rename docBook method to docbook.
10821 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10823 * Makefile.am: add dependencies to main.o.
10825 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10827 * FontLoader.C (available): Return false if !lyxrc.use_gui
10829 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10831 * FontInfo.C (query):
10832 * converter.C (view):
10833 * importer.C (Import):
10834 * exporter.C (Export): Can not -> cannot.
10836 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10838 * BufferView_pimpl.C: allow to create index inset even if
10841 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10843 * buffer.C (getLists): replace boost::tie code with an explicit pair
10844 as boost::tie can break some compilers.
10846 * iterators.h: Added a std:: declaration to the return type of
10849 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10851 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10854 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10856 * iterators.[Ch]: New files. Provide paragraph iterators.
10858 * buffer.C (changeLanguage): Use paragraph iterators.
10859 (isMultiLingual): ditto
10861 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10863 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10865 * FontLoader.C: Support for cmr font.
10867 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10869 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10870 (available): New method.
10872 * FontInfo.C (getFontname): Use scalable fonts even when
10873 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10876 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10878 * converter.C (Formats::view): reverted! Incorrect fix.
10880 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10882 * converter.C (Formats::view): only output the -paper option
10883 if the dvi viewer is xdvi, thereby fixing bug #233429.
10885 2001-08-23 Herbert Voss <voss@perce>
10887 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10889 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10891 * Spacing.h (Spacing): Set space to Default on in the default
10894 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10896 * vc-backend.h (RCS::versionString): add RCS to version
10897 (CVS::versionString): add CVS to version
10899 * vc-backend.C (scanMaster): do not add CVS to version.
10900 (scanMaster): do not add RCS to version
10902 * lyxvc.C (versionString): new method
10904 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10906 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10908 * Spacing.C (set): initialize fval
10910 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10912 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10915 2001-08-16 Juergen Vigna <jug@sad.it>
10917 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10919 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10921 * BufferView_pimpl.C:
10924 * text2.C: setParagraph takes linespacing now
10926 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10928 * LyxAction.C: add internal LFUN_CITATION_INSERT
10930 * LyXView.C: actually apply fix
10932 * bufferlist.C: fix open non-existent file
10934 * lyxfind.C: fix indentation
10936 * lyxfunc.C: remove unneeded assert, fix typo
10938 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10940 * MenuBackend.C: use "Floatname List"
10942 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10944 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10945 when converting LaTeX layout to insetERT.
10946 Generate a non-collapsed float when reading old float
10948 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10950 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10953 2001-08-13 Juergen Vigna <jug@sad.it>
10955 * text.C (fill): return 0 instead of 20 as this seems to be the more
10958 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10960 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10963 2001-08-13 Juergen Vigna <jug@sad.it>
10965 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10967 (SearchBackward): comment out the unlocking of the inset_owner this
10968 should not be needed!
10970 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10972 * Many files: Remove inherit_language, and add latex_language
10974 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10975 collapsible insets.
10977 2001-08-10 Juergen Vigna <jug@sad.it>
10979 * text.C (prepareToPrint): fixed hfill-width in draw!
10981 * BufferView2.C (selectLastWord): save the selection cursor as this
10982 now is cleared in the function LyXText::clearSelection!
10984 2001-08-08 Juergen Vigna <jug@sad.it>
10986 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10987 BACKSPACE type functions.
10989 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10990 is only cutted from the document but not put in the cut-buffer, where
10991 still the old stuff should be.
10993 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10995 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10997 * tabular.C (SetWidthOfCell): fixed special case where the width
10999 (LeftLine): handle '|' in align_special.
11001 (LeftAlreadyDrawed): ditto
11002 (SetWidthOfCell): ditto
11004 2001-08-07 Juergen Vigna <jug@sad.it>
11006 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11008 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11010 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11011 * lyxlex.[hC]: ditto
11013 2001-08-06 Juergen Vigna <jug@sad.it>
11015 * text.C (getVisibleRow): fix up row clearing a bit.
11017 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11019 * minibuffer.C: make sure the X server sees the changes in the input.
11021 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11023 * paragraph.C (getFont): split into...
11024 (getLabelFont): this
11025 (getLayoutFont): and this
11026 * paragraph_pimpl.C (realizeFont): calling this
11028 * text2.C (getFont): split into...
11029 (getLayoutFont): this
11030 (getLabelFont): and this
11031 (realizeFont): all three calling this
11033 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11036 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11038 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11040 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11042 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11043 layouts from the Quote inset insertion.
11045 2001-08-03 Juergen Vigna <jug@sad.it>
11047 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11049 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11050 only if status not is already CHANGED_IN_DRAW (second level).
11052 * text.C (draw): don't set the need_break_row when inside an
11055 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11057 * buffer.C (parseSingleLyXformat2Token): handle more latex
11060 * bufferview_funcs.[hC]: change function names to
11061 begin with small char, adjust other files.
11063 2001-08-02 André Pönitz <poenitz@gmx.net>
11066 BufferView_pimpl.C: remove broken special code for math-greek
11068 2001-08-02 Juergen Vigna <jug@sad.it>
11070 * BufferView_pimpl.C (update): redone this function so that we
11071 update the text again if there was a CHANGE_IN_DRAW.
11073 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11074 (drawFromTo): added a new internal bool which is used by draw() and
11076 (general): some cursor drawing problems fixed.
11078 2001-08-01 Juergen Vigna <jug@sad.it>
11080 * lyxfind.C (LyXFind): fixed
11081 (SearchForward): ditto
11082 (SearchBackward): ditto
11084 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11085 spurius drawing of the cursor in the main area.
11087 * text2.C (status): small fix which could lead to a segfault!
11088 (clearSelection): remove unneeded BufferView param.
11090 2001-08-01 André Pönitz <poenitz@gmx.net>
11092 * lyxfunc.C: small change due to changed mathed interface
11094 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11096 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11098 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11100 * lyxfunc.c: fail gracefully if file doesn't exist
11105 * BufferView_pimpl.C: IsDirWriteable() proto changed
11107 * LyXView.C: fix updateWindowTitle() to store the last title
11109 2001-07-31 Juergen Vigna <jug@sad.it>
11111 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11112 the font (wrong since using of Paragraph::highestFontInRange).
11114 * paragraph.C (highestFontInRange): added a default_size parameter.
11116 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11117 (setHeightOfRow): reformat
11119 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11121 * converter.[hC] + affected files: move to (inital-char)lowercase
11124 * ParagraphParameters.C (ParagraphParameters): remove commented code
11126 * PainterBase.[Ch]: remove commented code
11128 * LaTeXFeatures.h: add "bool floats" for float.sty
11130 * LaTeXFeatures.C (LaTeXFeatures): init floats
11131 (require): handle float
11132 (getPackages): do it with floats
11134 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11136 * BufferView_pimpl.C (Dispatch): improve handling of
11137 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11139 * commandtags.h: #include lyxfont.h here temporarily to avoid
11142 * bufferlist.h: include LString.h here.
11144 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11146 * text2.C (getStringToIndex): new method.
11148 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11150 * *: Reduced header file dependencies all over.
11152 2001-07-30 Baruch Even <baruch@lyx.org>
11154 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11156 2001-07-29 Baruch Even <baruch@lyx.org>
11158 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11160 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11162 * ParameterStruct.h (endif): add a default constructor to make
11163 sure that all variables is initialized.
11165 * ParagraphParameters.C (ParagraphParameters): adjust
11167 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11169 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11170 index; also, check that there is something to index, and that it
11171 does not span over several paragraphs.
11172 (doubleClick): use WHOLE_WORD_STRICT for double click.
11174 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11176 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11179 2001-07-26 Baruch Even <baruch@lyx.org>
11181 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11182 an InsetFig figure, backwards compatible reading of old figure code.
11184 2001-07-27 Juergen Vigna <jug@sad.it>
11186 * text2.C: font.realize function adaption.
11188 * text.C (draw): add a warnings lyxerr text if needed.
11190 * layout.C: font.realize function adaption.
11192 * language.C: add inherit_language and implement it's handlings
11194 * bufferview_funcs.C (StyleReset): remove language parameter from
11195 font creation (should be language_inherit now).
11197 * bufferparams.C (writeFile): handle ignore_language.
11199 * paragraph.C (getFontSettings): the language has to be resolved
11200 otherwise we have problems in LyXFont!
11202 * lyxfont.C (lyxWriteChanges): added document_language parameter
11203 (update): removed unneeded language parameter
11205 * paragraph.C (validate): fixed wrong output of color-package when
11206 using interface colors for certain fonts in certain environments,
11207 which should not seen as that on the final output.
11209 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11211 * BufferView_pimpl.C:
11216 * LyXAction.C: add thesaurus support
11219 * lyxfind.C: add "once" parameter, for thesaurus, to not
11220 move to the next match
11222 2001-07-26 Juergen Vigna <jug@sad.it>
11224 * lyxfont.C (realize): honor ignore_language too!
11227 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11229 * text.C (draw): one place more for ignore_language to not draw
11232 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11234 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11236 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11238 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11239 the minipage conversion problem.
11241 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11243 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11246 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11248 * BufferView.h: don't forward declare WorkArea
11250 * BufferView.C: don't include WorkArea.h
11252 2001-07-25 André Pönitz <poenitz@gmx.net>
11256 * lyxfunc.C: new LFUN 'math-space'
11258 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11260 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11262 * text2.C (toggleInset): call open/close
11264 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11266 * lyxfunc.C (dispatch): add debug for the disabled case
11268 * font.C (buttonText): make similar to rectText
11270 * buffer.C (readInset): comment out parsing of insetlist and
11273 * PainterBase.C (rectText): small correction
11275 * BufferView_pimpl.C: comment out insettheorem and insetlist
11276 * LyXAction.C: ditto
11277 * commandtags.h: ditto
11279 2001-07-24 Juergen Vigna <jug@sad.it>
11281 * text.C (draw): honor the ignore_language.
11283 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11285 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11287 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11290 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11292 * lyxtext.h: remove unused (and unimplemented) methods
11294 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11296 * text.C (getVisibleRow): honor background color
11299 * Painter.h: remove default color argument for fillRectangle
11301 * text.C (backgroundColor): new method
11303 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11305 * text.C (getVisibleRow): adjust
11307 * font.[Ch] (rectText): new method, metrics
11308 (buttonText): new method, metrics
11310 * PainterBase.[hC]: make rectText and buttonText always draw and take
11313 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11315 * ToolbarDefaults.C (read):
11316 * MenuBackend.C (read): allow escaping in all strings
11318 * BufferView_pimpl.C (insertAndEditInset): new method.
11319 (Dispatch): use insertAndEditInset whenever appropriate.
11321 * BufferView_pimpl.C (insertNote): removed
11323 * BufferView_pimpl.C (smartQuote): new method, moved from
11324 BufferView; if an insetquote cannot be inserted, insert a '"'
11327 * BufferView2.C: remove insertCorrectQuote();
11329 * lyxfunc.C (getStatus): Add support for all remaingin
11330 inset-insert lfuns.
11332 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11334 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11335 command (necessary to pass " as parameter of self-insert.
11337 * text.C (selectWordWhenUnderCursor):
11338 (selectWord): add word_location parameter
11339 (selectWordWhenUnderCursor): same + remove special code for word
11341 (selectNextWord): use kind() to guess type of insetspecialchar,
11344 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11345 (insertErtContents): create ert insets as collapsed.
11346 (readInset): better compatibility code for Info inset.
11348 2001-07-20 Juergen Vigna <jug@sad.it>
11350 * lyxfunc.C (dispatch): use always LyXFind now!
11352 * text2.C (init): add a reinit flag so that the LyXText can be
11353 reinited instead of deleted and reallocated (used in InsetText).
11355 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11361 2001-07-18 Juergen Vigna <jug@sad.it>
11363 * text.C (selectNextWord): handle insets inside inset by calling
11364 always the bv->text functions so that we can go up the_locking_inset!
11366 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11367 in strange locations when inside an inset!
11369 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11370 handling to include insets.
11372 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11374 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11376 * LyXAction.C (init):
11378 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11379 LIGATURE_BREAK, since the name is so stupid.
11381 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11383 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11386 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11388 * sp_form.[Ch]: remove.
11390 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11392 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11395 * src/buffer.C (readInset): ditto.
11397 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11399 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11400 menuSeparator(), endOfSentenceDot(), ldots() and
11401 hyphenationPoint(), which are therefore removed.
11402 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11404 * LyXAction.C (init):
11405 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11407 * paragraph.C (getWord): removed.
11409 * BufferView_pimpl.C (Dispatch): use last word or selection for
11410 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11412 * lyx_main.C (queryUserLyXDir): do not ask before creating
11413 user_dir, except if it has been named explicitely.
11415 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11417 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11418 a document of zero size.
11420 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11422 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11423 approriately in the c-tor and in require().
11424 (getPackages): output the appropriate LaTeX for natbib support.
11426 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11427 variables "use_natbib" and "use_numerical_citations" when reading the
11429 (readInset): read the various natbib cite commands.
11430 (validate): white-space change.
11432 * bufferparams.[Ch]: new variables "bool use_natbib" and
11433 "bool use_numerical_citations".
11434 (writeFile): output them in the LyX file.
11436 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11438 * lyxfunc.C (getStatus): add support for all the inset insertion
11441 * text2.C (insertInset):
11442 * paragraph.C (insetAllowed):
11443 * BufferView_pimpl.C (insertInset): update to take in account the
11444 renaming of insertInsetAllowed
11446 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11448 * text2.C (getInset): new method. returns inset at cursor position.
11450 * BufferView_pimpl.C (Dispatch): changes because of this.
11452 * LyXAction.C (init): rename open-stuff to inset-toggle.
11454 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11456 * text2.C (toggleInset): renamed from openStuff; use
11459 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11461 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11463 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11465 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11467 * buffer.C (readLyXformat2): Add filename to the error dialog
11469 2001-07-18 Juergen Vigna <jug@sad.it>
11471 * tabular.C (GetCellNumber): put an assert here instead of the check!
11473 2001-07-17 Juergen Vigna <jug@sad.it>
11475 * BufferView_pimpl.C (toggleSelection): adapted too.
11477 * text.C (selectNextWord): adapted for use with insets.
11478 (selectSelectedWord): ditto
11480 2001-07-17 Juergen Vigna <jug@sad.it>
11482 * sp_spell.C (PSpell): fix initialitation order.
11484 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11486 * paragraph.C: spacing
11488 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11490 * sp_spell.C: repair language selection for pspell
11492 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11494 * lyxfunc.h: change more methods to begin with lower char.
11496 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11498 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11499 for unknown layouts.
11501 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11503 * buffer.C (readLyXformat2): Generate an error dialog if there are
11506 2001-07-16 Juergen Vigna <jug@sad.it>
11508 * sp_spell.C: always compile ISpell part.
11510 * lyxrc.C: added use_pspell entry and it's handling.
11512 2001-07-13 Juergen Vigna <jug@sad.it>
11514 * sp_spell.C: removed double includes.
11516 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11518 Consistent use of Lsstream.h:
11519 * Lsstream.h: added using std::stringstream for consistencies sake.
11521 * buffer.C: removed using std::stringstream
11523 * lyxfont.C (stateText):
11524 * paragraph.C (asString):
11525 * text.C (selectNextWord, selectSelectedWord):
11526 * text2.C (setCounter):
11527 * vspace.C (asString, asLatexString):
11528 std::ostringstream -> ostringstream.
11530 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11532 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11533 * commandtags.h: add LFUN_HELP_ABOUTLYX
11534 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11536 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11538 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11540 * lyx_gui_misc.C: remove spellchecker
11541 * lyxfunc.C: showSpellchecker
11543 * sp_ispell.h: added
11544 * sp_pspell.h: added
11545 * sp_spell.C: added
11546 * sp_form.[Ch]: removed
11547 * spellchecker.[Ch]: removed
11549 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11551 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11553 (simpleTeXSpecialChars): Simply print the input character without
11554 any special translation if pass_thru is set.
11556 * layout.h: Added bool pass_thru to layout class for being able to
11557 implement pass through of a paragraph for Literate Programming.
11559 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11560 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11561 * layout.C (Read): add "passthru" to list of layout tags and add
11562 code to set the pass_thru boolean when it is read.
11564 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11566 * trans_decl.h: remove allowed from KmodInfo
11568 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11569 remove allowed code
11572 * paragraph_pimpl.C (erase): use boost::prior
11574 * Painter.C (text): use data() instead of c_str() when length is
11576 * WorkArea.C (putClipboard): ditto
11577 * font.h (width): ditto
11579 * BufferView2.C: use it-> instead of (*it). for iterators
11581 * paragraph_pimpl.C: ditto
11582 * paragraph.C: ditto
11583 * minibuffer.C: ditto
11584 * language.C: ditto
11586 * encoding.C: ditto
11587 * counters.C: ditto
11588 * converter.C: ditto
11590 * Variables.C: ditto
11591 * TextCache.C: ditto
11592 * MenuBackend.C: ditto
11593 * LyXAction.C: ditto
11595 * FloatList.C: ditto
11596 * DepTable.C: ditto
11597 * ColorHandler.C (LyXColorHandler): ditto
11599 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11601 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11603 * text2.C (openStuff): reintroduce this method (which had been
11604 nuked in NEW_INSETS frenzy).
11606 * lyxfunc.C (Dispatch): when an action has not been handled, use
11607 its name in the error message, not its number.
11609 * paragraph.C (inInset): change method name to begin with lowercase.
11612 * text2.C: updates because of this.
11614 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11616 * ToolbarDefaults.C (add): add spaces in error message
11618 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11620 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11621 (readLyXformat2): rename return_par to first_par, use lyxlex's
11622 pushToken and remove the manual push handling.
11623 (parseSingleLyXformat2Token): add another ert comp. variable:
11624 in_tabular, rename return_par to first_par. handle newlines better
11626 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11628 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11630 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11632 * text2.C (getParFromID): removed
11634 * buffer.C (getParFromID): new method moved form lyxtext.
11635 * BufferView2.C (insertErrors): adjust
11636 (setCursorFromRow): adjust
11637 * BufferView_pimpl.C (restorePosition): adjust
11638 * lyxfunc.C (Dispatch): adjust
11639 * undo_funcs.C (textUndo): adjust
11641 (textHandleUndo): adjust
11642 (textHandleUndo): adjust
11644 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11646 * buffer.C: up' the LYX_FORMAT
11648 * lyxfont.h: turn NO_LATEX on as default
11650 * buffer.C (insertErtContents): new methods of tex style compability.
11651 (parseSingleLyXformat2Token): use it several places.
11652 * tabular.C (OldFormatRead): and here
11654 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11656 * text2.C: remove some commented code.
11659 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11660 * trans.C: changes because of the above.
11662 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11664 * text2.C (setCounter): Fix counters bug with bibliography layout.
11666 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11668 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11669 own member functions
11670 (simpleTeXSpecialChars): ditto
11672 2001-07-06 Juergen Vigna <jug@sad.it>
11674 * a lot of files: changed the access to LyXText::status and the
11675 call of undo-functions.
11677 * undo.[Ch]: added a inset_id to the undo informations.
11679 * undo_funcs.[Ch]: added and moved here all undo functions.
11681 * lyxtext.h: give the status enum a weight, made status_ a private
11682 variable and made accessor functions for it, removed the whole bunch
11683 of undo-functions as they are now in their own file, make some
11684 functions publically available. Added function ownerParagraph with
11687 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11688 made InInset() a const function, added getParFromID() function.
11690 * buffer.[Ch]: added const version for inset_iterator functions,
11691 added getInsetFromID() function.
11693 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11694 changed undo functions for new version.
11696 2001-07-05 Juergen Vigna <jug@sad.it>
11698 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11699 unknow mechanism does not call the proper constructor but only this
11700 one also if I request the other!?
11702 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11704 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11706 * text2.C (LyXText): use initialization lists.
11708 * lyxtext.h (Selection): initialize set_ and mark_
11709 (init): remove method
11711 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11713 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11715 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11717 * screen.[Ch]: change method names to begin with lowercase
11719 * BufferView_pimpl.C (updateScrollbar): simplify further and
11720 hopefully make it a bit faster.
11722 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11724 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11725 calling directly xforms functions.
11727 * Painter.C (Painter):
11728 * lyx_cb.C (MenuWrite):
11729 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11732 * lyx_gui.C: remove bogus guiruntime extern declaration.
11734 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11736 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11738 (redoDrawingOfParagraph): ditto
11739 (redoParagraphs): ditto
11740 (cutSelection): don't create a object for CutAndPaste use the
11741 static method directly
11742 (pasteSelection): ditto
11744 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11747 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11749 * modifications to some other files because of this.
11751 * Makefile.am (lyx_SOURCES): add XFormsView
11753 * XFormsView.[Ch]: new files
11755 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11756 the main window. Move the gui dependent stuff to XFormsView
11758 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11760 * tabular.C (GetCellInset): update cur_cell also in the row/col
11761 version of this function.
11763 * lyxfunc.C: no need to include figure_form.h here.
11769 * lyxvc.C: no need to include forms.h here.
11771 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11773 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11775 * lyxfunc.C (Dispatch):
11777 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11778 constructor argument.
11780 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11782 * paragraph.C (Paragraph): dont't clear, and just set layout.
11783 (makeSameLayout): use params's copy contructor.
11785 * ParagraphParameters.[Ch] (makeSame): delete method
11787 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11789 * Variables.[Ch]: fix indentation, rename set to isSet
11791 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11793 * lyxfunc.C (Dispatch): fix typo
11795 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11797 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11800 * bufferlist.C: include assert.h for emergencyWrite().
11802 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11804 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11805 give up at last (bug #425202) !
11807 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11813 * spellchecker.C: strip spellchecker options and bring up
11814 preferences tab instead
11816 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11818 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11819 the istringstream constructor
11821 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11823 * paragraph.C (getLayout): fix return value
11825 * paragraph.h: do not declare getLayout as inline.
11827 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11829 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11831 * lyxcursor.h (operator<): new func
11832 (operator>): new func
11833 (operator>=): new func
11834 (operator<=): new func
11836 * text.C (changeCase): use selection.start and selection.end
11837 (changeRegionCase): require from to be <= to. Require par to be a
11840 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11842 2001-06-27 Juergen Vigna <jug@sad.it>
11844 * text.C (cursorLeftOneWord): changed to return the cursor and added
11845 overlay with BufferView * parameter which calls this one.
11847 (selectWord): use new getWord function.
11848 (changeCase): renamed from changeWordCase as and extended to work
11849 also on selections.
11851 * lyxtext.h: added enum word_location
11853 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11854 changeCase as this operates now also on selections.
11856 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11858 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11860 * many files: send debug output to Debug::INFO instead of
11863 * converter.C (View):
11865 (Move): send debug output to Debug::FILES instead of console.
11867 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11869 * lyxfunc.C (getStatus): use func_status
11871 * func_status.h: new header, describing the results of
11872 LyXFunc::getStatus;
11874 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11877 2001-06-25 The LyX Project <jug@sad.it>
11879 * buffer.C (sgmlOpenTag):
11881 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11883 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11885 * text2.C: remove some dead code
11887 * tabular.C (GetCellInset): store the last cell checked (gotten)
11889 * tabular.h: add the helper for the speedup
11891 * lyxtext.h: remove some dead code
11893 2001-06-26 The LyX Project <Asger>
11895 * paragraph.C: Change export to LaTeX of alignment to
11896 \begin{center} and family for better roundtrip work with reLyX.
11898 * Tune the math drawing a bit.
11900 2001-06-25 The LyX Project <Asger>
11902 * LColor.C (LColor): New color for math background. New color
11905 2001-06-25 The LyX Project <jug@sad.it>
11907 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11909 * lyxfunc.C (Open):
11910 * bufferlist.C (newFile): do not restrict to files ending with
11913 * BufferView_pimpl.C (MenuInsertLyXFile):
11915 2001-06-24 The LyX Project <jug@sad.it>
11917 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11920 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11922 * lyxtext.h: rename most methods to begin with a small char.
11923 Lots of changes because of this.
11925 * paragraph.C (Paragraph): do not call fitToSize
11926 (erase): call Pimpl::erase
11927 (insertChar): call Pimpl::insertChar
11928 (insertInset): call Pipl::insertInset
11929 (breakParagraph): do not call fitToSize
11930 (breakParagraphConservative): do not call fitToSize
11931 (fitToSize): remove method
11933 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11935 2001-06-24 The LyX Project <Asger>
11937 * Fix Qt compilation^2
11939 2001-06-24 The LyX Project <jug@sad.it>
11941 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11942 depthHook(getDepth()-1).
11945 * ParagraphParameters.h:
11946 * ParameterStruct.h: change type of depth to unsigned int ==
11947 depth_type. Many adaptations to other files before of that.
11949 2001-06-24 The LyX Project <Asger>
11951 * Fix Qt compilation.
11953 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11955 * paragraph.h: renamed several methods to begin with small letter.
11956 several changes to many parts of the code because of this.
11958 2001-06-23 The LyX Project <jug@sad.it>
11960 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11961 rewritten to discard all double spaces when KeepEmpty is off
11962 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11963 to only handle newlines but not fiddle with spaces and friends.
11965 * lyxfunc.C (MenuNew): when doing 'new from template', use
11966 template_path as default directory
11968 2001-06-23 The LyX Project <Asger>
11970 * Clean-up of header file includes all over
11971 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11973 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11975 * paragraph.h: renamed from lyxparagraph.h
11977 2001-06-23 Asger <lyx@violet.home.sad.it>
11979 * Buffer.h: Removed Buffer::resize
11980 * BufferList.h: Removed BufferList::resize
11981 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11982 the document lazily when we change the width, or the font settings.
11984 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11986 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11988 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11990 * buffer.h: remove out of date comment
11992 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11995 * screen.C: fix "theoretical" GC leak
11997 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11999 * LaTeX.C (scanAuxFile):
12000 (deplog): remove trailing \r when reading stream (useful under
12003 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12005 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12006 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12007 and BufferView::theLockingInset(Inset*), so should use them and not
12008 access bv_->text->the_locking_inset directly.
12010 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12012 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12015 * tex-defs.h: remove old unused file
12017 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12019 * BufferView_pimpl.C: fix typo, remove minibuffer message
12020 when buffer has loaded
12022 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12024 * lyxfunc.C (Dispatch): use stringstream
12025 (MenuNew): use stringstream
12026 (Open): use stringstream
12028 * importer.C (Import): use stringstream
12030 * bufferview_funcs.C (CurrentState): use stringstream
12032 * LaTeX.C (run): use stringstream
12034 * BufferView_pimpl.C (savePosition): use stringstream
12035 (restorePosition): use stringstream
12036 (MenuInsertLyXFile): use stringstream
12038 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12051 * vspace.C: removed // -*- C++ -*- as first line.
12054 * version.h: added // -*- C++ -*- as first line.
12056 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12058 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12060 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12063 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12065 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12068 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12070 * gettext.C: include LString.h even when --disable-nls is on.
12072 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12074 * converter.h (Get): changed argument type from int to
12075 FormatList::size_type to avoid unnecessary conversion.
12077 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12080 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12082 * gettext.h: include LString.h even when --disable-nls is on.
12084 2001-06-07 Juergen Vigna <jug@sad.it>
12086 * text.C (BreakAgain): subst spaces with tabs.
12088 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12089 (resizeInsetsLyXText): set force on resizeLyXText.
12091 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12093 * gettext.h (gettext_init):
12094 (locale_init): use a real definition instead of a macro
12096 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12098 * Bufferview_pimpl.C:
12100 * LColor.C: further lcolor tidies
12102 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12104 * BufferView_pimpl.C (updateScrollbar): simplify.
12106 * BufferView2.C: don't include insets/insetinfo.h, change
12107 prototype for insertInset and call the Pimpl version. let
12108 updateInset call Pimpl version.
12110 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12111 gotoInset to BufferView::Pimpl
12113 2001-06-01 Juergen Vigna <jug@sad.it>
12115 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12116 inside a LockingInset (is the update needed at all?).
12118 2001-05-31 Juergen Vigna <jug@sad.it>
12120 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12121 here not the old one otherwise how should we compare it afterwards
12124 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12129 * FontInfo.C: bring C functions into global namespace when
12132 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12134 * LString.h: make sure config.h has been loaded before LString.h.
12136 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12137 (one for each char read by EatLine!).
12139 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12142 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12144 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12145 to the same as the par we break from
12147 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12149 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12151 * MenuBackend.C (expand): also create menu entries for wide
12152 versions of the floats.
12154 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12156 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12158 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12159 frontends/Makefile.am
12165 * tabular.C (getTokenValue): add std::
12167 * tabular-old.C (getTokenValue): add std::
12168 (getTokenValue): ditto
12169 (getTokenValue): ditto
12171 * screen.C (ToggleSelection): adjust
12173 * lyxtext.h: put selection cursors inside a Selection struct.
12175 * lyxfunc.C (moveCursorUpdate): adjust
12177 * lyxfont.C (latexWriteStartChanges): add std::
12179 * lyxfind.C: adjust
12181 * font.h: delete with(char const *, LyXFont const &)
12183 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12185 * FontInfo.C (getFontname): add std::
12187 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12188 (workAreaButtonPress): adjust
12189 (tripleClick): adjust
12191 (moveCursorUpdate): adjust
12194 * BufferView2.C (gotoInset): adjust
12196 2001-05-30 Juergen Vigna <jug@sad.it>
12198 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12199 to check pspell I add this as default as I now have new pspell
12200 libraries and they seem to use this.
12202 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12204 * text2.C (CutSelection): make the cursor valid before the call to
12207 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12209 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12210 relied on 0 terminated strings and other horrors. Bug found due to
12211 the new assert in lyxstring!
12213 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12216 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12218 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12221 * lyxfunc.C (processKeySym): change method of getting to the
12224 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12225 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12226 * BufferView_pimpl.[Ch]: here as private methods.
12228 2001-05-28 Juergen Vigna <jug@sad.it>
12230 * text.C (SetHeightOfRow): added the update() call again as it is
12231 needed to initialize inset dimensions!
12233 2001-05-16 Juergen Vigna <jug@sad.it>
12235 * text2.C (SetCharFont): Add new function with BufferView * and
12236 bool toggleall parameters for setting insets internal fonts.
12237 (SetFont): Freeze the undo as we may change fonts in Insets and
12238 all this change should be inside only one Undo!
12240 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12241 setting font's in insets as for them we have the SetFont function!
12243 2001-05-15 Juergen Vigna <jug@sad.it>
12245 * text2.C (ClearSelection): to be sure we REALLY don't have any
12248 * tabular.C (TeXCellPreamble): fixed the left border problem for
12251 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12253 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12256 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12258 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12259 LFUN_BREAKPARAGRAPH.
12261 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12262 help test to "internal only", similar for LFUN_INSERT_URL
12264 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12265 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12266 auto_region_delete and deadkeys.
12268 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12271 * LColor.C: remove some dead entries, tidy a little
12273 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12275 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12277 (Dispatch): implement LFUN_ESCAPE
12279 * commandtags.h: add LFUN_ESCAPE
12281 * LyXAction.C (init): add entry for LFUN_ESCAPE
12283 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12284 Remove commented code.
12285 (insertNote): moved here
12286 (open_new_inset): moved here
12288 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12291 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12293 * kbmap.C (findbinding): clean it up and make it work correctly.
12295 * lyx_main.C (init): do not pass argc and argv as parameters
12297 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12299 * buffer.C: fix path for OS/2 & Win32
12303 * lyx_main.C: Added os:: class.
12305 * os2_defines.h: update
12307 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12309 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12310 better by trying again with reduced state.
12312 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12314 * lyxrc.C (read): print error about invalid key sequence only when
12315 debugging (because not all latinX keysyms are known to some X
12318 * kbsequence.C (getiso): add a few std:: qualifiers
12319 (getiso): comment out extra return statement.
12321 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12323 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12325 (Dispatch): enhance the accent inset a bit. (not perfect)
12327 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12329 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12331 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12333 * bufferlist.C (emergencyWrite): fix assert() call
12335 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12337 * text.C (InsertChar): Added trivial patch to only send the "you
12338 can not do multiple spaces this way" message once during a
12341 2001-05-08 Baruch Even <baruch@lyx.org>
12343 * Makefile.am: Changed order of libraries to get LyX to link properly
12344 with the gnome frontend.
12346 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12348 * LaTeXFeatures.h: add a std:: qualifier
12350 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12352 * paragraph.C (String): use stringstream
12354 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12356 * paragraph.C (writeFile): remove footflag arg
12358 * buffer.C (makeLaTeXFile): use stringstream
12359 (latexParagraphs): remove footnot gurba
12361 * LaTeXFeatures.C (getPackages): use stringstream
12362 (getMacros): likewise
12363 (getTClassPreamble): likewise
12364 (getFloatDefinitions): new method
12366 * paragraph.C (writeFile): reindent
12369 * WorkArea.h: revert the xpos + etc changes.
12371 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12373 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12375 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12376 (pasteSelection): likewise
12377 * text2.C (CreateUndo): likewise
12379 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12381 * minibuffer.C (peek_event): temporarily reduce the functionality
12382 of the minibuffer (to allow args on lfuns)
12384 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12385 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12387 * buffer.C (readInset): add compability reading of old float
12388 lists, add reading of new style float list.
12389 (readInset): avoid reevaluation of inscmd.getCmdName()
12390 (getLists): reindent
12392 * MenuBackend.C (MenuItem): implement parsing of
12393 md_floatlistinsert and md_floatinsert.
12394 (expand::LastFiles): move initalizaton of iterators out of loop,
12395 avoid reevaluation.
12396 (expand::Documents): introduce typdedef vector<string> Strings,
12398 (expand::ExportFormats): introduce typedef vector<Format const *>
12399 Formats, and use it.
12400 (expand): implement FloatListInsert and FloatInsert.
12402 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12403 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12404 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12406 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12408 (Dispatch::LFUN_FLOAT_LIST): implement
12410 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12412 * LaTeX.C (run): Fix problem with --export code.
12414 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12416 * BufferView.[Ch] (workarea): removed.
12417 (getClipboard) new method; wrapper for workarea()->getClipboard()
12419 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12422 * WorkArea.h (width, height, xpos, ypos): These methods all
12423 returned the dimensions of the work_area sub-area of WorkArea,
12424 resulting in a position error if the WorkArea were resized. Now
12425 return the dimensions of the entire WorkArea.
12427 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12429 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12431 * LaTeX.C (deplog): correct the syntax of regex reg1
12433 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12435 * undo.C: remove !NEW_INSETS cruft
12437 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12439 * text2.C: remove !NEW_INSETS cruft
12441 * text.C: remove !NEW_INSETS cruft
12443 * tabular.C: remove !NEW_INSETS cruft
12445 * spellchecker.C: remove !NEW_INSETS cruft
12447 * lyxtext.h: remove !NEW_INSETS cruft
12449 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12451 * lyxfunc.C: remove !NEW_INSETS cruft
12453 * lyxfind.C: remove !NEW_INSETS cruft
12455 * lyx_cb.C: remove !NEW_INSETS cruft
12457 * figureForm.C: remove !NEW_INSETS cruft
12459 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12461 * buffer.[Ch]: remove !NEW_INSETS cruft
12463 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12465 * CutAndPaste.C: remove !NEW_INSETS cruft
12467 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12469 * BufferView2.C: remove !NEW_INSETS cruft
12471 * BufferView.h: remove !NEW_INSETS cruft
12473 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12475 * Lsstream.h: include LString.h before the sstream headers to
12476 fix problem with gcc 2.95.3 and lyxstring
12478 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12480 * lyx_main.C: add using directives when needed for C functions
12481 declared in std:: namespace.
12483 2001-04-27 Juergen Vigna <jug@sad.it>
12485 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12486 (SetHeightOfRow): comment out the update call should not be needed!
12488 2001-04-13 Juergen Vigna <jug@sad.it>
12490 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12491 (LyXTabular): tried to minimize operator= operations (and realized
12492 hopfully Lars wish).
12494 2001-04-27 Juergen Vigna <jug@sad.it>
12496 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12498 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12500 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12502 * buffer.C (readInset): hack to make listof algorithm work
12504 * BufferView_pimpl.C: hack to make listof algorithm work
12506 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12508 * LyXAction.C: removed all !NEW_INSETS cruft
12509 (init): moved lfun_item in method
12511 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12513 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12515 * BufferView2.C (theLockingInset): white space.
12517 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12519 * minibuffer.C: include <iostream>
12521 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12523 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12525 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12527 * text.[Ch] (TransposeChars): new method
12529 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12531 * call message directly through LyXView instead of through LyXFunc
12532 * BufferView2.C: adjust
12533 * BufferView_pimpl.C: adjust
12534 * FontLoader.C: adjust
12536 * bufferview_funcs.C: adjust
12537 * converter.C: adjust
12538 * figureForm.C: adjust
12539 * importer.C: adjust
12541 * lyx_gui_misc.C: adjust
12542 * lyxfunc.C: adjust
12545 + more files in subdirs
12547 * lyxparagraph.h (size): move up int file
12550 * adjust all uses of Assert to lyx::Assert.
12552 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12553 lyxfunctional in namespace lyx
12554 * layout.C (hasLayout): ditto
12557 (delete_layout): ditto
12558 (NumberOfClass): ditto
12559 * converter.C (GetFormat): ditto
12564 * bufferlist.C (getFileNames): ditto
12565 (emergencyWriteAll): ditto
12568 * MenuBackend.C (hasSubmenu): ditto
12571 * BufferView_pimpl.C (getInsetByCode): ditto
12573 2001-04-18 Juergen Vigna <jug@sad.it>
12575 * vspace.C (asLatexString): fixed the 100% problem.
12577 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12579 * lyxfunc.C (Dispatch):
12581 * minibuffer.h: add a few std:: qualifiers
12583 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12585 * minibuffer.[Ch]: reimplement so that commands is initiated and
12586 run from lyxfunc, simplified som handling, and made the completion
12587 and history code for complete. wip.
12589 * lyxfunc.C (processKeySym): call message
12590 (miniDispatch): new temporary method
12591 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12592 (LFUN_MESSAGE): implement
12593 (LFUN_MESSAGE_PUSH): implement
12594 (LFUN_MESSAGE_POP): implement
12595 (initMiniBuffer): the initial/defualt minibuffer message.
12597 * lyxfont.[Ch]: inline some more getters
12599 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12601 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12603 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12604 (AutoSave): use LFUN_MESSAGE
12605 (Reconfigure): ditto
12607 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12609 * figureForm.C: use LFUN_MESSAGE
12611 * converter.C (runLaTeX): use LFUN_MESSAGE
12613 * bufferview_funcs.C: use LFUN_MESSAGE
12615 (changeDepth): ditto
12617 * bufferparams.h: use boost::
12619 * bufferlist.h: inherit privately from noncopyable
12621 * bufferlist.C (loadLyXFile): remove some commented code.
12623 * buffer.C (runChktex): use LFUN_MESSAGE
12625 * ShareContainer.h: inherit privately from noncopyable
12627 * ParagraphParameters.[hC] (depth): inline it.
12629 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12631 (message): new method
12632 (messagePush): ditto
12633 (messagePop): ditto
12634 (show): init minibuffer
12635 (showState): direct call
12637 * LaTeX.[Ch]: inherit privately from noncopyable
12638 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12639 instead of WriteStatus.
12641 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12643 * BufferView_pimpl.C (buffer): don't init minibuffer
12644 (workAreaButtonPress): use LFUN_MESSAGE
12645 (workAreaButtonRelease): ditto
12646 (savePosition): ditto
12647 (restorePosition): ditto
12648 (MenuInsertLyXFile): ditto
12649 (workAreaExpose): don't init minibuffer
12650 (update): remove commented code, simplify
12652 * BufferView2.C (openStuff): use LFUN_MESSAGE
12653 (toggleFloat): ditto
12656 (copyEnvironment): ditto
12657 (pasteEnvironment): ditto
12662 (updateInset): remove some commented code
12664 * lastfiles.h: inherit privately from noncopyable
12667 * lyx_main.h: ditto
12669 * lyxlex_pimpl.h: ditto
12671 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12672 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12673 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12675 * LyXAction.h: inherit privately from noncopyable, add methods
12676 func_begin, func_end, returning iterators to the func map.
12678 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12679 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12680 (func_begin): new method
12681 (func_end): new method
12683 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12685 (copySelection): ditto
12686 (pasteSelection): ditto
12688 * BufferView.C: whitespace change
12689 * BufferView.h: inherit privately from noncopyable
12691 2001-04-16 Allan Rae <rae@lyx.org>
12693 * tabular-old.C (l_getline):
12694 * spellchecker.C (sc_check_word):
12695 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12696 an unrecognised preprocessor directive. So ensure they're wrapped.
12698 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12700 * src/exporter.C (Export): Give an error message when path to file
12703 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12705 * LaTeX.C (deplog): Always check that foundfile exists.
12707 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12710 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12712 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12714 * tabular.[Ch] (getLabelList): implement new method
12716 * minibuffer.h: comment ouf setTiimer
12718 * minibuffer.C (ExecutingCB): constify res
12719 (peek_event): constify s
12720 (Set): constify ntext
12721 (Init): constify nicename
12723 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12725 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12726 (savePosition): use two params to Minibuffer::Set
12727 (restorePosition): ditto
12729 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12731 * lyx_main.C: include language.h
12733 * Makefile.am (lyx_main.o): add language.h
12735 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12741 * CutAndPaste.C: include gettext.h
12743 * lyxfont.h: remove old hack with ON and OFF.
12746 * lyxfont.h: do not include language.h...
12751 * bufferview_funcs.C:
12757 * paragraph.C: ... but do it here instead
12759 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12761 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12763 * tabular.C: small reformat
12765 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12768 (BreakParagraph): ditto
12769 (SetOnlyLayout): ditto
12772 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12775 * lastfiles.C: removed most using decl, add std:: where needed
12777 * buffer.C: ws changes
12779 * MenuBackend.C (class compare_format): put into anon namespace
12780 (expand): constify label, names, action, action2
12783 * text.C (SingleWidth): constify font
12784 (IsBoundary): constify rtl2
12785 (GetVisibleRow): constify ww
12787 * LaTeX.C (deplog): constify logfile
12789 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12791 (workAreaExpose): constify widthChange, heightChange
12793 * lyxrow.C (par): moved
12796 * lyxrow.h: as inlines here
12798 * lyxfont.h (shape): moved from lyxfont.C
12799 (emph): moved from lyxfont.C
12801 * lyxfont.C (LyXFont): use initialization list for all
12803 (shape): move to lyxfont.h as inline
12804 (emph): move to lyxfont.h as inline
12807 2001-04-04 Juergen Vigna <jug@sad.it>
12809 * vspace.C: had to include stdio.h for use of sscanf
12811 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12814 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12815 independent of xforms.
12817 2001-04-02 Juergen Vigna <jug@sad.it>
12819 * spellchecker.C: fixed namespace placing!
12821 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12823 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12824 the LyXParagraph * is 0.
12826 2001-03-29 Juergen Vigna <jug@sad.it>
12828 * vspace.C: added support for %, c%, p%, l%.
12829 (stringFromUnit): added helper function.
12830 (asLatexString): changed to give right results for the %-values.
12832 * buffer.C: convert the widthp in a width%.
12834 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12836 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12839 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12840 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12842 * lyx_cb.[Ch]: see above.
12844 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12848 * lyx.[Ch]: replaced by figure_form.[Ch].
12852 * lyxfunc.C: changed headers associated with above changes.
12854 2001-03-27 Juergen Vigna <jug@sad.it>
12856 * BufferView_pimpl.C: set the temporary cursor right!
12858 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12860 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12862 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12864 * LString.h: removed "using std::getline"!
12866 * BufferView_pimpl.C (Dispatch): changes due to changes in
12867 InsetInclude::Params.
12869 * buffer.C (tag_name): removed redundant break statements as they were
12870 producing lots of warnings with my compiler.
12872 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12874 * LString.h: add "using std::getline" when using the real <string>.
12876 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12878 * buffer.C: removed bitset usage.
12879 PAR_TAG moved to an anonymous name space.
12880 (tag_name): new funtion, also in the anonymous namespace.
12881 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12882 (makeDocBookFile): clean code. Completed transition from string arrays
12884 (SimpleDocBookOnePar): code clean.
12886 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12888 * tabular.C: add some comments.
12890 2001-03-22 Juergen Vigna <jug@sad.it>
12892 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12893 compatibility read a bit and fixed bug with minipage in different
12896 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12898 * buffer.C (pop_tag): removed.
12899 (push_tag): removed.
12900 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12901 array replaced with vector. Added support for CDATA sections.
12902 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12904 (makeDocBookFile): XML conformant declaration of CDATA section,
12905 fixed bug related to <emphasis> in the first paragraph char.
12906 (sgmlOpenTag): exclude empty tags.
12907 (sgmlCloseTag): ditto.
12909 * buffer.h (pop_tag): removed.
12910 (push_tag): removed.
12912 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12914 * language.h (Languages): added size_type and size().
12916 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12918 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12919 response on compability reading of minipages. One probliem is that
12920 the old usage of minipages was «flertydig»
12922 * several files here and in subdirs: don't use static at file
12923 scope use anon namespaces instead.
12925 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12927 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12928 LaTeX output. This is necessary for Literate document
12931 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12933 * buffer.C: insert hfill when needed.
12935 * tabular.C (l_getline): use string::erase, small whitespace change.
12937 * BufferView_pimpl.C: try the anon namespace.
12938 * WorkArea.C: ditto
12940 2001-03-16 Juergen Vigna <jug@sad.it>
12942 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12943 otherwise it won't open options-dialogs.
12945 * buffer.C: honor pextraWidth(p) on converting minipages.
12947 * tabular.C (l_getline): changed the functions to strip trailing \r.
12949 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12951 * BufferView_pimpl.C:
12952 * minibuffer..C: added "using SigC::slot" declaration.
12954 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12956 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12962 * paragraph.C: ditto
12964 * lyxtext.h: NO_PEXTRA
12966 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12968 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12969 * ParameterStruct.h: ditto
12970 * ParagraphParameters.h: ditto
12971 * lyxparagraph.h: ditto
12973 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12975 * buffer.C: add compability for minipage alignment.
12976 (latexParagraphs): remove unwanted pextra check.
12978 * several files: remove CXX_WORKING_NAMESPACES
12980 * buffer.C (pop_tag): tie is in namespace boost
12982 * BufferView.h: noncopyable is in namespace boost
12984 * lyx_main.h: ditto
12987 * lastfiles.h: ditto
12988 * bufferlist.h: ditto
12989 * ShareContainer.h: ditto
12991 * LyXAction.h: ditto
12994 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12996 * Merging changes from BRANCH_MVC back into HEAD.
12998 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13000 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13002 * BufferView_pimpl.C: change from intl.C
13006 * Makefile.am: move combox.*
13012 * intl.C: remove dialog (covered by prefs)
13014 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13016 * lyxfunc.C (Dispatch): removed redundant break statement.
13018 2001-03-14 Juergen Vigna <jug@sad.it>
13020 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13022 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13024 * buffer.C: add hack to fix compability reading of minipages.
13026 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13028 * buffer.C (getLists): Cleanup.
13030 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13032 * lyxfont.C (update): don't honor toggleall on font size.
13034 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13038 * Makefile.am: moved to frontends/xforms/
13042 * BufferView_pimpl.C: changes for moved mathpanel
13044 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13046 * gettext.h: fix gettext_init() in --disable-nls
13048 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13050 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13052 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13055 * lyx.h: strip external form
13057 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13059 * BufferView_pimpl.C: add comment, destroySplash()
13061 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13063 * BufferView_pimpl.C:
13067 * lyxfunc.C: use re-worked insetinclude
13069 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13071 * buffer.C: add using std::stringstream.
13073 * lyx_cb.C: readd using std::ios.
13075 * buffer.C: add using std::map.
13077 * BufferView_pimpl.C: add using std::vector.
13079 * ShareContainer.h: add std:: to swap.
13081 * buffer.h: add some typedefs
13082 * buffer.C (getLists): use them
13083 (getLists): renamed from getTocList.
13084 add a counter for the different float types and use it in the
13086 (getLists): use the same counter for the NEW_INSETS and the "non"
13089 * lyx_cb.h: remove unused items, includes, using etc.
13091 * ShareContainer.h: remove some commented code, add more comments
13092 and "documentation".
13094 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13096 * buffer.C (getTocList): make the list also when NEW_INSETS is
13099 * buffer.h: remove TocType
13101 * buffer.C (getTocList): change to return a map<string,
13102 vector<TocItem> >, implement for dynamic number of list.
13104 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13105 * text2.C (PasteSelection): adjust
13106 * CutAndPaste.C (pasteSelection): adjust
13108 * FloatList.C (FloatList): update from the new_insets branch.
13109 * Floating.[Ch]: ditto
13110 * LaTeXFeatures.C: ditto
13112 * lyxlex_pimpl.C: ditto
13114 * paragraph.C (Last): remove when NEW_INSETS is defined.
13116 * other file: changes because of the above.
13118 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13120 * lyxparagraph.h: rename next to next_, previous to previous_,
13121 make them private for NEW_INSETS. Rename Next() to next(),
13122 Previous() to previous().
13124 * other files: changes because of the above.
13126 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13129 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13132 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13134 * main.C (main): pass lyx_localedir to gettext_init().
13136 * gettext.h: remove locale_init and gettext_init macros
13138 * gettext.C (locale_init): new function
13139 (gettext_init): new function
13141 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13144 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13146 * Moved credits to frontends:
13147 * credits.[Ch]: removed
13148 * credits_form.[Ch]: removed
13149 * lyx_gui_misc.C: remove credits stuff
13152 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13154 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13156 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13157 unneeded destructor.
13159 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13160 a standalone pointer again.
13162 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13164 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13170 * ToolbarDefaults.C:
13179 * BufferView_pimpl.C: use new file dialog in GUII
13182 * lyx_cb.C: remove LayoutsCB to Toolbar
13184 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13186 * ShareContainer.h (get): add std:: qualifier
13188 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13190 * ShareContainer.h: define a proper ShareContainer::value_type
13191 type (and use typename to please compaq cxx)
13193 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13195 * lyxparagraph.h: move serveral local vars to
13196 ParameterStruct/ParagraphParameters., use ShareContainer in
13197 FontTable., make vars in FontTable private and add getter and
13200 * paragraph.C: changes because of the above.
13202 * lyxfont.h: remove copy constructor and copy assignment. (the
13203 default ones is ok), move number inside FontBits. move inlines to
13206 * lyxfont.C: add number to initializaton of statics, move several
13207 inlines here. constify several local vars. some whitespace
13208 cleanup. Dont hide outerscope variables.
13210 * Spacing.h: add two new constructors to match the set methods.
13212 * ShareContainer.h: new file, will perhaps be moved to support
13214 * ParameterStruct.h: new file
13216 * ParagraphParameters.h: new file
13218 * ParagraphParameters.C: new file
13220 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13221 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13223 * BufferView_pimpl.C: ParagraphParameter changes.
13224 * buffer.C: Likewise.
13225 * bufferview_funcs.C: Likewise.
13226 * text.C: Likewise.
13227 * text2.C: Likewise.
13229 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13231 * lyxfind.C (LyXReplace): do not redefine default argument in
13233 (IsStringInText): ditto
13234 (SearchForward): ditto
13235 (SearchBackward): ditto
13237 2001-03-06 Juergen Vigna <jug@sad.it>
13239 * lyxfind.C (IsStringInText): put parentes around expressions.
13241 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13243 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13245 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13247 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13249 * stl_string_fwd.h: add comment
13251 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13254 * tabular.C: remove unused DocBook methods
13260 killed DO_USE_DEFAULT_LANGUAGE
13262 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13264 * lyx_gui.C: do not include language.h.
13266 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13267 arguments in function implementation.
13269 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13271 * BufferView_pimpl.C: add <ctime>
13273 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13275 * BufferView_pimpl.C: add using std::find_if
13277 2001-02-27 José Matos <jamatos@fep.up.pt>
13279 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13282 2001-02-11 José Matos <jamatos@fep.up.pt>
13284 * buffer.C (makeDocBookFile): command styles now have a parameter as
13285 "title" by default.
13287 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13289 * layout_forms.[Ch]: removed
13290 * lyx_cb.[Ch]: out character
13291 * lyx_gui.C: out character
13292 * lyx_gui_misc.C: out character
13293 * bufferview_funcs.C: : out character,
13294 added toggleall as parameter in ToggleAndShow
13296 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13298 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13300 * text2.C (SetCurrentFont): Disable number property at boundary.
13302 2001-02-26 Juergen Vigna <jug@sad.it>
13304 * lyxfunc.C (getStatus): added a string argument override function so
13305 that this is correctly called from LyXFunc::Dispatch if it contains a
13306 do_not_use_argument which is used!
13307 (Dispatch): added check for "custom" export and call appropriate func.
13309 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13311 * lyxrc.C: Add language_command_local, language_use_babel and
13312 language_global_options.
13314 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13316 * buffer.C (makeLaTeXFile): Use language_use_babel and
13317 language_global_options.
13319 2001-02-23 Juergen Vigna <jug@sad.it>
13321 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13322 which works with LyXText and putted it inside BufferView. Here now we
13323 only call for that part the BufferView::Dispatch() function.
13325 * BufferView.C (Dispatch): added.
13327 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13328 functions which needs to use a LyXText over from LyXFunc.
13329 (MenuInsertLyXFile): added
13330 (getInsetByCode): added
13331 (moveCursorUpdate): added
13332 (static TEXT): added
13334 2001-02-22 Juergen Vigna <jug@sad.it>
13336 * BufferView_pimpl.C (update): call a status update to see if LyXText
13339 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13341 * vc-backend.C (revert): implement for CVS
13342 (getLog): implement for CVS
13344 2001-02-20 Juergen Vigna <jug@sad.it>
13346 * text2.C (ClearSelection): added BufferView param for inset_owner call
13348 * lyxfunc.C (TEXT): added this function and use it instead of
13349 directly owner->view()-text of getLyXText().
13351 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13353 * src/layout_forms.C: out preamble
13354 * src/layout_forms.h: out preamble
13355 * src/lyx_cb.C: out preamble
13356 * src/lyx_cb.h: out preamble
13357 * src/lyx_gui.C: out preamble
13358 * src/lyx_gui_misc.C: out preamble
13359 * src/lyxfunc.C: connect with guii preamble
13361 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13363 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13365 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13367 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13368 whether to run bibtex.
13370 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13372 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13374 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13376 * Makefile.am (lyx_SOURCES): removed bibforms.h
13378 * vspace.h: doxygen
13380 * text.C (GetVisibleRow): make several local vars const
13382 * tabular.C: small cleanup.
13384 * lyxserver.C (callback): use compare instead of strncmp
13386 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13387 inlines to after class or to paragraph.C
13389 * lyxfont.h: remove friend operator!=
13391 * converter.h: move friend bool operator< to non friend and after
13394 * combox.h: small cleanup
13396 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13397 to inlines after class def.
13399 * buffer.C (pop_tag): use string operations instead of strcmp
13401 * bmtable.c: doxygen, small cleanup
13403 * LaTeX.h: remove friend operator==
13405 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13417 * BufferView_pimpl.C:
13418 * BufferView.[Ch]: remove cruft
13420 2001-02-14 Juergen Vigna <jug@sad.it>
13422 * lyxfunc.C: removed #if 0 unused code
13424 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13426 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13428 * text2.C (SetSelection): added a BufferView * parameter
13430 2001-02-13 Juergen Vigna <jug@sad.it>
13432 * lyxfunc.C (Dispatch): fixed protected blank problem.
13433 * BufferView2.C (protectedBlank): added LyxText * parameter.
13435 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13436 (AppendColumn): same as above for column_info.
13438 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13439 (moveCursorUpdate): use a LyXText param for support of InsetText.
13441 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13442 (tripleClick): ditto
13444 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13446 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13448 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13450 * text2.C (SetSelection): set correct update status if inset_owner
13451 (ToggleFree): ditto
13453 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13455 * tabular.C: remove some commented code.
13457 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13459 * BufferView_pimpl.C: call hideSplash()
13461 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13464 * bibforms.h: remove
13467 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13468 add LFUN_CHILD_CREATE
13470 * counters.h: fix tiny typo
13475 * lyx.C: move splash to frontends/xforms/
13477 * lyx_gui_misc.C: move Include and Bibform to frontends
13479 * lyxvc.h: clarify comment
13481 * vspace.C: tiny housekeeping
13483 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13485 * text.C (PrepareToPrint): RTL Fix.
13487 * paragraph.C (GetUChar): New method.
13488 (String): Use GetUChar.
13490 * buffer.C (asciiParagraph): Use GetUChar.
13492 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13494 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13496 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13499 * buffer.C: rename to getLogName(), handle
13500 build log / latex log nicely
13502 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13505 * MenuBackend.h: remove support for reference menuitem type.
13507 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13509 * BufferView_pimpl.C: housekeeping
13510 * BufferView_pimpl.h:
13515 * minibuffer.h: move Timeout GUI-I
13517 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13519 * lyxrc.C (read): Update converters data-structures.
13521 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13523 * LaTeX.h (operator!=): add operator != for Aux_Info
13525 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13527 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13529 * LaTeXLog.C: deleted, useful code moved to Buffer
13532 * buffer.C: new function getLatexLogName()
13538 * lyxfunc.C: use frontends for LaTeX and VC logs
13540 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13542 * LaTeX.h: yet another std:: that Allan forgot.
13544 * Variables.C (set): renamed from isset(), because this clashes
13545 with some HP-UX macros (grr).
13547 2001-02-06 Allan Rae <rae@lyx.org>
13549 * LaTeX.h: Another bug fix. Missing std:: this time.
13551 2001-02-04 Allan Rae <rae@lyx.org>
13553 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13554 floats problem. I've left it commented out because it's not quite
13555 correct. It should also test that the current object is a table or
13556 figure inset. But I haven't gotten around to figuring out how to do
13557 that. I *think* it'll be something like: "table" == inset.type()
13559 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13562 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13564 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13565 all the citation/databases/styles in the auxilary file.
13566 (run): Rerun latex if there was a babel language error.
13568 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13570 * text.C (Backspace): Preserve the font when changing newline char
13572 (BreakParagraph): If the cursor is before a space, delete the space.
13574 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13576 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13578 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13579 new argument (code).
13580 (ChangeCitationsIfUnique): New method.
13582 * paragraph.C (GetPositionOfInset): Handle bibkey.
13584 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13586 * BufferView_pimpl.h: change type of Position::par_pos to
13587 LyXParagraph::size_type.
13589 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13591 * BufferView_pimpl.C (savePosition, restorePosition): Write
13592 messages to minibuffer.
13594 2001-01-28 José Matos <jamatos@fep.up.pt>
13596 * buffer.C (makeDocBookFile): adds support for document language.
13597 A silly restriction on the name of LatexCommand types where removed.
13598 Added support for CDATA sections, allows to chars unescaped, used
13599 among others in code, to avoid escape < and >.
13601 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13603 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13604 saved positions instrad of a stack. Furthermore, a position is
13605 stored using paragraph id/paragraph position.
13607 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13608 Remove LFUN_REF_BACK.
13610 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13612 * converter.C (dvipdfm_options): New method.
13614 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13616 * vspace.C (isValidLength): Fix for empty input string.
13618 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13620 * LyXAction.C (init): change description of LFUN_FIGURE to
13623 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13625 * LaTeX.C: add using directive
13627 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13629 * MenuBackend.C (expand): Fix the sorting of the formats.
13631 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13633 * lyx_main.C: tiny error message fix
13635 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13637 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13638 calling fl_initialize(). This fixes the problem with ',' as
13639 decimal separator in text files.
13641 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13643 * trans.C (process): Fix the keymap bug.
13645 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13647 * LaTeX.C (scanAuxFiles): New method. Provides support for
13648 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13649 (scanLogFile) Scan for "run BibTeX" messages.
13651 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13652 OT1 font encoding. Also, load the aecompl package if the ae
13655 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13657 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13659 * texrow.C (increasePos): turn two error messages into debug
13662 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13664 * LaTeX.C (scanAux): Handle the \@input macro.
13665 (runBibTeX): Use scanAux().
13667 * language.C (latex_options_): New field.
13669 * LaTeXFeatures.C (getMacros): Add language macros.
13671 * buffer.C (makeLaTeXFile): Small fix.
13673 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13675 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13677 * text2.C: add a using directive.
13679 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13684 * lyxfunc.C: kill LyXBell.
13686 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13688 * text.C (IsBoundary): Remove the error message
13690 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13692 * lyxrc.C (setDefaults): Correct initialization value for
13695 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13697 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13700 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13701 and GotoNextNote().
13703 * src/LyXAction.C: Added reference-next.
13705 * text.C (InsertChar): Use contains instead of strchr.
13707 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13709 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13711 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13712 alignment commands (when needed).
13714 * text.C (InsertChar): Add ':' to number separator chars.