1 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4 * output_docbook.C: XML sanitation: new layout
5 parameters InnerTag and CommandDepth
7 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
11 * text3.C: Fix the insertion and modification of button-style
14 2003-11-13 André Pönitz <poenitz@gmx.net>
16 * InsetList.[Ch]: remove deleteLyXText
18 * paragraph.[Ch]: cache beginOfBody position
23 * text3.C: remove superfluous update() calls
27 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
29 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
30 * BufferView.C (fitLockedInsetCursor): remove
31 * cursor.[Ch] (getDim): add
32 * text.C (getRowNearY): add faster version
33 * text3.C: remove some update calls
35 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
47 * text3.C: The Character Style /XML short element patch.
49 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
52 * factory.C: Small step to solving 'unable to insert some insets'
55 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
57 * cursor.[Ch] (updatePos): new function for updating the y
58 position of the tip inset
59 * bufferview_funcs.C (put_selection_at):
60 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
62 2003-11-11 André Pönitz <poenitz@gmx.net>
64 * text.C: remove big comment on invalid Paragraph pointers as it is
67 2003-11-11 André Pönitz <poenitz@gmx.net>
69 * text_funcs.[Ch]: merge with ...
77 * Makefile.am: remove text_funcs.[Ch]
79 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
81 * cursor.C (getPos): return absolute cached y coord
83 * BufferView_pimpl.C (fitCursor): new simplistic code
84 (workAreaDispatch): add a fitCursor call
86 2003-11-10 André Pönitz <poenitz@gmx.net>
89 * BufferView_pimpl.[Ch]: merge update() and updateInset()
91 2003-11-10 André Pönitz <poenitz@gmx.net>
93 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
94 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
95 indicate that the cursor needs to leave an inset
97 * lyxtext.h: remove inset locking
99 * cursor.[Ch]: re-implement functionality provided by inset locking
102 * BufferView_pimpl.[Ch]:
104 * bufferview_funcs.[Ch]:
116 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
118 * PosIterator.[Ch]: replace the stack with a vector, add inset
120 * iterators.[C]: adjust
122 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
124 * lyxfind.C (replaceAll): mark the buffer dirty if something was
126 * paragraph_funcs.C (readParToken): put the correct id in the
127 error item, not the id of the top paragraph
129 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
131 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
132 * bufferview_funcs.C (put_selection_at): use the above
134 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
136 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
138 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
141 * output_plaintext.h:
143 * output_docbook.h: add #include statements
145 2003-11-05 José Matos <jamatos@lyx.org>
147 * output_docbook.[Ch]:
149 * output_linuxdoc.[Ch]:
150 * output_plaintext.[Ch]: New files for output formats.
151 * output.[Ch]: New file for helper functions.
154 * paragraph_funcs.[Ch]: output functions moved to new files.
156 * outputparams.h: rename of latexrunparams.h
164 * paragraph_funcs.[Ch]:
165 * paragraph_pimpl.[Ch]:
166 * tabular.[Ch]: rename ascii to plaintext
167 and LatexRunParams to OutputParams.
169 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
171 * iterators.[Ch] (text): require bv argument
172 * undo.C (recordUndo):
173 * lyxfunc.C (dispatch):
174 * bufferview_funcs.C (put_selection_at): adjust
176 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
178 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
180 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
182 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
185 2003-11-04 André Pönitz <poenitz@gmx.net>
187 * cursor.[Ch]: restructure
190 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
192 * iterators.[Ch] (asCursor): remove
194 * lfuns.h: remove LFUN_INSET_EDIT
200 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
202 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
204 * lyxfind.[Ch]: complete overhaul
205 * BufferView_pimpl.C:
207 * paragraph.[Ch] (insert): add
209 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
213 * text.C: remove dead spellcheck code
215 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
217 * dispatchresult.h: add a val setter
219 * cursor.C (dispatch): use a tempvar for data_[i]
221 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
223 * PosIterator.[Ch]: compile fix
225 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
227 * text.C (cursorPar): deactivate the cursor cache
229 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
231 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
233 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
235 * text3.C (dispatch): adjust for new DisptchResult semantics.
237 * lyxfunc.C (dispatch): handle update when return from
238 Cursor::dispatch, adjust for new DispatchResult semantics.
240 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
241 DispatchResult(true) mean to not update. Add class functions for
242 setting dispatched and update, as well as reading.
244 * cursor.C (dispatch): don't handle update here
246 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
248 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
249 * trans_mgr.C: adjust
251 * paragraph_funcs.C (readParToken): exception safety
253 * lyxvc.h: store the vcs pointer in a scoped_ptr
256 * lyxsocket.C (serverCallback): exception safety
258 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
260 * ispell.C (clone): make it return a auto_ptr
262 * factory.C (createInset): exception safety
263 (readInset): exception safety
265 * bufferlist.C (newBuffer): exception safety
267 * Thesaurus.C (Thesaurus): use initialization for aik_
269 * MenuBackend.C (expandToc): exception safety.
271 2003-11-03 André Pönitz <poenitz@gmx.net>
275 * bufferview_funcs.C: remove getInsetFromId()
278 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
284 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
286 * PosIterator.C (distance, advance): new
287 * bufferview_funcs.[Ch] (put_selection_at): new
288 * iterators.[Ch] (lockPath): new
290 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
292 * iterators.[Ch] (asPosIterator): added
293 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
294 * PosIterator.[Ch]: added
296 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
300 * cursor.C (dispatch):
301 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
303 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
304 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
305 contructor, add a class function dispatched. Remove operator>=
307 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
309 * debug.C: only use the default constructor for debugstream
312 * main.C (main): include debug.h and setup the lyxerr streambuf
315 2003-10-31 José Matos <jamatos@lyx.org>
317 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
319 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
320 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
321 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
322 * paragraph_pimpl.C (simpleTeXSpecialC):
323 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
324 add LatexRunParams argument.
326 * exporter.C (Export): change call accordingly.
328 * latexrunparams.h: add new member to take care of the other backends.
329 2003-10-30 José Matos <jamatos@lyx.org>
331 * buffer.C (makeLinuxDocFile, makeDocBookFile):
332 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
333 factorise code for paragraph output.
335 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
338 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
340 * text3.C (dispatch):
341 * lyxfunc.C (dispatch):
342 * cursor.C (dispatch):
343 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
345 * dispatchresult.h: make the dispatch_result_t ctor explicit
347 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
350 * buffer.C: small refactoring of docbook stuff
352 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
354 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
357 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
359 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
360 operator dispatch_result_t, and operators for == != and >=
362 * cursor.C (dispatch): adjust for operator dispatch_result_t
363 removal. comment out call to update
365 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
367 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
375 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
378 * dispatchresult.h: new file, DispatchResult broken out of
381 * Makefile.am (lyx_SOURCES): add dispatchresult.h
383 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
385 * text.C (rowBreakPoint): put a hack inside #if 0
387 2003-10-28 André Pönitz <poenitz@gmx.net>
394 * text2.C: general cleanup (lots of small stuff)
396 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
398 * text2.C (cursorEnd): simple fix to the "end key goes to one
399 before the end on last row" bug
401 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
403 * text.C (backspace): fix the "zombie characters"
405 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
407 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
409 2003-10-27 André Pönitz <poenitz@gmx.net>
411 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
413 * factory.C: handle new InsetPagebreak, InsetLine
415 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
416 and move handling into new InsetPagebreak, InsetLine
418 * BufferView_pimpl.C:
420 * ParagraphParameters.C:
433 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
442 * text3.C: remove lastPos uses in favour of Row::endpos
444 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
446 * undo.C (performUndoOrRedo): fix two crashes by setting a
447 cursor by hand and reordering some calls. Use bv->lockInset instead
448 of inset->edit because the latter loses cursor information
450 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
452 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
454 (rowBreakPoint): fix width. change point to point + 1.
457 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
460 * lyxfunc.C: fix (at least partly) the problems
461 with the Nav menu and headers inside branch insets
464 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
466 * paragraph.C (getChar): add strong asserts
468 * lyxrow_funcs.C (lastPos): remove hideous hack
470 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
471 (fill): adjust to that (avoid an infinite loop)
473 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
475 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
477 2003-10-23 André Pönitz <poenitz@gmx.net>
479 * RowList_fwd.h: change list<> to vector<> to gain speed
480 after suggestion from Alfredo
482 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
484 * lyxtext.h: move the bidi stuff from here...
487 * Bidi.[Ch]: ... to here
489 2003-10-23 André Pönitz <poenitz@gmx.net>
492 * text.C (isLastRow, isFirstRow): new functions
494 * paragraph.h: new width cache member
496 * rowpainter.C: replace RowList::iterator with Row & where possible
498 * lyxfunc.C: replace several view()->text with a single call
500 * toc.C: fix 'unused' warning
502 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
504 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
505 when woring with stream::pos_type
506 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
508 2003-10-22 André Pönitz <poenitz@gmx.net>
511 * text.C: use Row & instead of RowList::iterator
513 * lyxrow.h: rename end() to endpos()
519 2003-10-22 Angus Leeming <leeming@lyx.org>
521 * buffer.[Ch] (fully_loaded): new member function, returning true
522 only when the file has been loaded fully.
523 Used to prevent the premature generation of previews and by the
524 citation inset to prevent computation of the natbib-style label.
526 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
527 templates are all set up.
529 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
531 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
533 * text.C: fixed an "oops" in the "is a bit silly"
536 2003-10-21 André Pönitz <poenitz@gmx.net>
538 * FuncStatus.[Ch]: small stuff, whitespace
540 * lyxfont.[Ch]: operator<<() for debug reasons
544 * lyxtext.h: whitespace, spelling
546 * paragraph.C: naming of variables
549 * text2.C: small stuff
552 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
554 * text.C: (1) finish off the inset display() work;
555 (2) fix the "is a bit silly" bug (accessing char
558 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
560 * text.C: re-introduce display() for insets, fixing the
561 various bugs (stretch of line above, math inset
564 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
566 * text.C (rightMargin): remove spurious semicolon
568 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
571 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
573 * text3.C: fix one crash due to wrong cursor def
575 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
577 * vc-backend.C (scanMaster): make the regex static
579 * LaTeX.C (scanAuxFile): make the regexs static
581 * text3.C (doInsertInset, dispatch, dispatch):
582 * text2.C (cursorUp, cursorDown):
583 * text.C (selectNextWordToSpellcheck):
584 * BufferView_pimpl.C (dispatch):
585 * lyxfunc.C (dispatch): localDispatch -> dispatch
587 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
589 * lyxsocket.C: include <cerrno>
591 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
593 * lyxfunc.C (dispatch): remove textcache stuff
595 * bufferlist.C (release): remove textcache stuff
598 * TextCache.C: delete file
599 * TextCache.h: delete file
601 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
603 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
604 delete of the bv_->text.
605 (resizeCurrentBuffer): remove texcache stuff
606 (workAreaResize): ditto
608 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
610 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
613 2003-10-16 André Pönitz <poenitz@gmx.net>
620 * text3.C: speed up by storing y positions per paragraph plus per-row
621 offset instead of having a 'full' y position in the row.
623 2003-10-15 André Pönitz <poenitz@gmx.net>
627 * undo.[Ch]: make undo aware of inner insets
629 2003-10-14 Angus Leeming <leeming@lyx.org>
631 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
632 static member functions LyX::ref() and LyX::cref.
633 (lastfiles): new accessor functions for the new lastfiles_ member var.
634 (addLyXView, views_): add a new LyXView to the list of views_.
635 (updateInset): loop over all LyXViews to call their own updateInset
636 member function, returning a pointer to the Buffer owning the inset.
638 * BufferView_pimpl.C (loadLyXFile):
639 * MenuBackend.C (expandLastfiles):
640 * bufferlist.C (MenuWrite, QuitLyX):
641 lastfiles is no longer a global variable.
642 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
644 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
645 static function. Access through LyX::cref().emergencyCleanup().
647 2003-10-14 André Pönitz <poenitz@gmx.net>
649 * iterators.[Ch]: new direct access to innermost LyXText and Inset
651 * undo.[Ch]: restoring part of 'undo in insets'
654 * undo_funcs.[Ch]: merge with undo.[Ch]
656 * tabular.C: small cleansing stuff
658 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
660 * paragraph_funcs.C (readParToken): report unknown insets as error
661 boxes. Use the outer paragraph as location (also for unknown
664 * factory.C (readInset): do not abort on reading an unknown inset.
667 2003-10-13 Angus Leeming <leeming@lyx.org>
669 * lyx_main.C (LyX): remove call to setDisplayTranslator().
671 * lyxrc.C: displayTranslator is now a function,
672 declared in GraphicsTypes.h.
674 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
676 * format.C: new placeholder $$a to pass the socket address.
678 * bufferlist.[Ch]: new function getBufferFromTmp.
680 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
681 files in the temporary dir.
683 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
685 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
687 * Makefile.am: add lyxsocket.[Ch].
689 * lyx_main.C (error_handler): handle SIGPIPE.
691 2003-10-13 André Pönitz <poenitz@gmx.net>
693 * BufferView_pimpl.C:
698 * undo_funcs.[Ch]: use paroffset_type instead of
699 ParagraphList::iterators to prevent multiple conversion
700 (and get a more robust interface)
702 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
704 * lyxfunc.C (dispatch): RESULT -> dispatch_result
706 * text3.C (dispatch): ditto
708 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
710 * LaTeX.C (handleFoundFile): move the static to smaller scope,
711 move the onlyfile, use onlyfile instead of foundfile in a couple
714 * DepTable.C (update): flush the error stream a bit more
716 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
718 * lyxserver.C (callback): adjust
720 * lyxfunc.C (getStatus): add a missing brace in commented code
721 (ensureBufferClean): reindent
722 (dispatch): delete version taking a string
724 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
726 * LaTeX.C (deplog): move found file handlig from here...
727 (handleFoundFile): .. to new function here.
728 (deplog): make sure to discover several files mentioned on the
731 2003-10-10 André Pönitz <poenitz@gmx.net>
738 * text3.C: fix some of the tabular crashes
740 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
742 * MenuBackend.C (binding): put debug message into Debug::KBMAP
744 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
746 2003-10-09 André Pönitz <poenitz@gmx.net>
748 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
751 * BufferView_pimpl.C:
752 * bufferview_funcs.C:
763 * undo_funcs.C: adjust
765 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
767 * text2.C (incrementItemDepth): new function, use a backtracking
768 algorithm to discover the correct item depth.
769 (resetEnumCounterIfNeeded): new function, use a backtracking
770 algorithm to discover if counter reset is needed.
771 (setCounter): use them. Simplify a bit. Add different labels for
772 different item depths for itemize.
774 * paragraph.C (Paragraph): remove initialization of enumdepth
777 * paragraph.h: get rid of enumdepth, and use itemdepth both for
778 enumerate and itemize. Change the type of itemdepth to signed char.
780 2003-10-08 André Pönitz <poenitz@gmx.net>
782 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
787 * tabular.[Ch]: fix crash after 'row-insert'
789 2003-10-08 Angus Leeming <leeming@lyx.org>
791 Fix doxygen warnings.
793 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
794 Remove CutAndPaste:: prefix from header file declaration.
796 * LColor.h (fill): remove LColor:: prefix from declaration.
798 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
799 use lyx::depth_type rather than Paragraph::depth_type so that
800 header file and .C file match.
802 * converter.h (intToFormat): remove Converters:: prefix from declaration.
804 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
805 * aspell.C: \file aspell_local.C -> \file aspell.C
806 * gettext.C: \file gettext.C -> \file src/gettext.C
807 * gettext.h: \file gettext.h -> \file src/gettext.h
808 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
809 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
810 * text.C: \file text.C -> \file src/text.C
812 * toc.C: move comment so that doxygen is not confused.
814 2003-10-07 Angus Leeming <leeming@lyx.org>
816 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
818 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
821 * aspell_local.h: add forgotten std::string's.
823 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
830 * text3.C: The Box patch. Fancybox support, minipage, parbox
832 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
838 * ParagraphParameters.h:
848 * lyxtextclasslist.h:
852 * textcursor.h: add <string> and other small fixes to make Lars'
853 std::string patch compile with STLport.
855 2003-10-06 Angus Leeming <leeming@lyx.org>
857 * LColor.h: Add missing #include <string>.
859 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
861 * All most all file in all subdirs: Make <string> be the prefered
862 way of getting to std::string, add using declarations.
864 2003-10-06 André Pönitz <poenitz@gmx.net>
866 * metricsinfo.C: initialize LyXFont before changing attribute.
867 (fixes the 'math in \emph is upright' bug)
869 2003-10-06 André Pönitz <poenitz@gmx.net>
871 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
873 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
876 * paragraph_pimpl.C: Small fixes to build using STLport
878 2003-10-02 André Pönitz <poenitz@gmx.net>
881 * text3.C: move handling of LFUN_DEPTH *; fix #1360
883 2003-10-01 André Pönitz <poenitz@gmx.net>
885 * factory.C: assert early
887 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
889 * lyx_main.C: remove the global debug object
891 * debug.h: adjust for new debugstream
893 * debug.C: adjust for new debugstream and keep the global debug
896 2003-09-22 Angus Leeming <leeming@lyx.org>
898 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
899 of g++ which otherwise complain that the scoped_ptr destructor can't delete
900 an incomplete class LyXFont.
902 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
904 * factory.C: bug fix in branches
906 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
908 * lyxfunc.C (processKeySym): adjust
910 (dispatch): change arg name from ev to func, adjust
911 (sendDispatchMessage): ditto
913 * lyx_main.C (defaultKeyBindings): adjust keybindings
914 (deadKeyBindings): ditto
916 * kbsequence.C (addkey): return a FuncRequest
918 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
920 * kbmap.C (bind): take a FuncRequest as arg, adjust
923 (defkey): change to take a FuncRequest as arg, adjust
924 (findbinding): take a FuncRequest as arg, adjust.
926 * funcrequest.h (operator=): added
928 * funcrequest.C (FuncRequest): default kb_action changed from
929 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
931 * buffer.C (dispatch): simplify
932 (dispatch): adjust to take a FuncRequest as arg, adjust
934 * boost.C (assertion_failed): change assertion message slightly
936 * ToolbarBackend.C (read): simplify
938 * MenuBackend.C (binding): adjust call to findbinding, add a
939 message if no binding is found.
941 (expandToc): correct by adding a empty FuncRequest
943 * LyXAction.C: include <boost/assert.hpp>
944 (isPseudoAction): delete function
945 (LookupFunc): change name to...
946 (lookupFunc): this. change return type to FuncRequest.
947 (getActionName): take kb_action as arg, simplify
948 (funcHasFlag): add an assert, simplify.
950 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
952 * toc.C (action): return a FuncRequest, simplify
954 * lyxfunc.C (processKeySym): adjust
955 (getStatus): delete version that takes an int.
957 (dispatch): delete version that takes action as int
959 (sendDispatchMessage): simplify and adjust
961 * funcrequest.C (getArg): take unsigned int as arg
963 * ToolbarBackend.C (read): adjust
964 (add): delete version that takes func as a string.
965 (getIton): take a FuncRequest as arg
967 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
970 * MenuBackend.C (MenuItem): add a new construct that only takes a
971 Kind, simplify the constructor use for submenus.
973 (expandLastfiles): adjust
974 (expandDocuments): adjust
975 (expandFormats): adjust
976 (expandFloatListInsert): adjust
977 (expandFloatInsert): adjust
978 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
980 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
981 Remove class variables lyx_pseudo_map and lyx_arg_map
983 * LyXAction.C (searchActionArg): delete function
984 (getPseudoAction): delete function
985 (retrieveActionArg): delete function
986 (LookupFunc): make it return kb_action, simplify.
987 (getActionName): simplify
989 * factory.C (createInset): fix new bug
991 2003-09-19 Angus Leeming <leeming@lyx.org>
993 * CutAndPaste.C (pasteSelection): remove fudge used to set the
994 masterFilename_ parameter in the include inset.
996 * factory.C (createInset): changes due to the changes to InsetInclude.
998 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1000 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1002 2003-09-18 Angus Leeming <leeming@lyx.org>
1005 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1006 Inset::fillWithBibKeys.
1007 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1009 2003-09-18 Angus Leeming <leeming@lyx.org>
1011 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1013 (ctor): pass and store a 'Buffer const &'
1014 (buffer): new member function.
1016 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1017 '*this' to the LaTeXFeatures ctor.
1019 2003-09-18 Angus Leeming <leeming@lyx.org>
1025 * text.C: rename EnumLColor as LColor_color.
1027 2003-09-18 Angus Leeming <leeming@lyx.org>
1029 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1030 remove #include "insets/insetbase.h" from cursor.h.
1032 2003-09-18 Angus Leeming <leeming@lyx.org>
1034 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1035 InsetOld_code to remove #include "inset.h".
1037 * iterators.C: add #include "insets/inset.h"
1039 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1041 * BufferView.C: remove more locking stuff that apparently doesn't
1042 do anything sensible.
1044 2003-09-16 André Pönitz <poenitz@gmx.net>
1047 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1050 2003-09-16 Angus Leeming <leeming@lyx.org>
1052 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1054 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1057 * paragraph.h: remove #include "lyxfont.h". Forward declare
1060 2003-09-16 Angus Leeming <leeming@lyx.org>
1062 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1063 of support/textutils.h.
1064 (isWord): move the contents of support/textutils.h's IsWordChar here.
1070 * text2.C: add #include "paragraph.h".
1073 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1075 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1081 * LaTeX.C: use namespace alias for lyx::support::os
1083 2003-09-16 Angus Leeming <leeming@lyx.org>
1086 * bufferview_funcs.C:
1089 * paragraph_pimpl.C:
1091 * text.C: add #include "LColor.h".
1093 2003-09-16 Angus Leeming <leeming@lyx.org>
1095 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1096 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1098 Store the FontBits::color variable as an int rather than as an
1099 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1102 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1103 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1104 string calls together.
1106 * lyxrc.C: add #include "LColor.h".
1108 2003-09-15 Angus Leeming <leeming@lyx.org>
1110 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1113 2003-09-15 Angus Leeming <leeming@lyx.org>
1115 * LColor.h: add an EnumLColor wrapper for LColor::color.
1117 * lyxfont.[Ch] (color, setColor, realColor):
1118 * lyxtext.h, text.C (backgroundColor):
1119 pass EnumLColor args to/from the functions, rather than LColor::color
1123 * lyxtext.h: forward declare EnumLColor.
1125 * lyx_main.C: add #include "LColor.h".
1127 2003-09-15 Angus Leeming <leeming@lyx.org>
1129 * .cvsignore: add lyx-gtk.
1131 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1136 * ParagraphParameters.C
1140 * bufferview_funcs.C
1150 * vc-backend.C: remove usage of STRCONV
1152 2003-09-15 Angus Leeming <leeming@lyx.org>
1154 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1155 explicitly define the color passed to the painter.
1157 2003-09-15 Angus Leeming <leeming@lyx.org>
1159 * bufferparams.C (BufferParams): reorder member initializers to avoid
1162 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1164 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1165 * text.C (updateRowPositions): remove an unusual nop
1167 2003-09-12 André Pönitz <poenitz@gmx.net>
1169 * BufferView_pimpl.C:
1178 * Counters.[Ch]: finish the 'automatic counters' job
1180 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1182 * aspell.C: include <boost/assert.cpp> (compile fix)
1184 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1186 * boost.C (assertion_failed): use lyx::support::abort instead of
1189 2003-09-10 Angus Leeming <leeming@lyx.org>
1191 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1192 with their _fwd progeny.
1194 2003-09-09 Angus Leeming <leeming@lyx.org>
1196 134 files throughtout the source tree: replace 'using namespace abc;'
1197 directives with the appropriate 'using abc::xyz;' declarations.
1199 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1201 * boost.C (emergencyCleanup): moved here from LAssert.c
1202 (assertion_failed): new function, called by BOOST_ASSERT
1204 * several files: change Assert to BOOST_ASSERT
1206 2003-09-09 Angus Leeming <leeming@lyx.org>
1208 * buffer.[Ch]: Add an Impl class and move Buffer's member
1209 variables into it. As a result move several header files out of
1212 Add header files to lots of .C files all over the tree as a result.
1214 2003-09-09 Angus Leeming <leeming@lyx.org>
1216 * buffer.[Ch]: make Buffer's member variables private. Add
1219 Lots of changes all over the tree as a result.
1221 2003-09-08 Angus Leeming <leeming@lyx.org>
1223 * graph.C: #include <config.h>.
1225 2003-09-08 Angus Leeming <leeming@lyx.org>
1229 * BufferView_pimpl.C:
1258 * toc.C: remove redundant using directives.
1260 2003-09-07 Angus Leeming <leeming@lyx.org>
1262 * LaTeXFeatures.h: remove #include "support/types.h".
1263 * ToolbarBackend.h: remove #include <algorithm>.
1264 * changes.h: remove #include <ctime>.
1265 * debug.h: remove #include <iosfwd>.
1266 * graph.h: remove #include "support/std_string.h".
1267 * lyx_main.h: remove #include <csignal>.
1268 * lyxlex_pimpl.h: remove #include <fstream>.
1269 * sgml.h: remove #include <algorithm>, <utility>.
1270 * toc.h: remove #include "support/std_ostream.h".
1271 Add #include <iosfwd>.
1273 2003-09-07 Angus Leeming <leeming@lyx.org>
1275 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1277 * converter.h: forward declare LatexRunParams.
1278 * encoding.h: remove #include "lyxrc.h".
1279 * lyxtext.h: remove #include "LColor.h".
1280 * lyxtextclass.h: remove #include "support/types.h".
1281 * trans.h: remove #include "tex-accent.h".
1282 * trans_mgr.h: remove #include "tex-accent.h".
1283 * insets/inset.h: remove #include "support/types.h", <vector>.
1284 * insets/insetcollapsable.h: remove #include "LColor.h".
1285 * insets/insetinclude.h: remove #include "dimension.h".
1286 * insets/insetlatexaccent.h: remove #include "dimension.h".
1287 * insets/insetoptarg.h:: remove #include "insettext.h".
1288 * insets/insettext.h: remove #include "dimension.h",
1289 <boost/shared_ptr.hpp>
1291 * insets/renderers.h: add #include "dimension.h".
1292 * insets/updatableinset.h: add #include "support/types.h".
1294 * many .C files: Associated changes.
1296 2003-09-06 Angus Leeming <leeming@lyx.org>
1298 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1299 one, inside testInvariant.
1301 * PrinterParams.C: new file.
1302 * PrinterParams.[Ch]: move the function bodies out of line.
1304 2003-09-06 Angus Leeming <leeming@lyx.org>
1306 * ParagraphParameters.h: forward declare ParameterStruct rather than
1307 including its header file.
1308 (depth): moved out-of-line.
1310 2003-09-06 Angus Leeming <leeming@lyx.org>
1312 * BufferView_pimpl.h:
1315 * lyxfunc.h: forward declare LyXKeySym rather than
1316 #include "frontends/LyXKeySym.h".
1318 * BufferView_pimpl.C:
1321 * lyxfunc.C: associated changes.
1323 2003-09-06 Angus Leeming <leeming@lyx.org>
1325 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1326 As a result, can remove the #include "insets/inset.h" from BufferView.h
1328 2003-09-06 Angus Leeming <leeming@lyx.org>
1330 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1331 As a result, can remove the #include "insets/inset.h" from BufferView.h
1333 2003-09-06 Angus Leeming <leeming@lyx.org>
1339 * bufferview_funcs.C:
1340 * BufferView_pimpl.C:
1345 * ParagraphParameters.C:
1350 * frontends/controllers/ControlDocument.C:
1351 * insets/insetcaption.C: rearrange the #includes into some sort of
1354 * buffer.h: remove #includes ErrorList.h, undo.h
1356 2003-09-06 Angus Leeming <leeming@lyx.org>
1358 * support/types.h: add a 'depth_type' typedef, used to store the
1359 nesting depth of a paragraph.
1362 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1363 defining explicitly.
1366 * paragraph_funcs.h:
1367 * ParagraphParameters.h:
1368 * sgml.h: use lyx::depth_type rather than Paragraph or
1369 ParameterStruct's depth_type.
1372 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1375 * BufferView_pimpl.C:
1377 * ParagraphParameters.C:
1380 * bufferview_funcs.C:
1387 * frontends/LyXView.C:
1388 * frontends/controllers/ControlDocument.C:
1389 * frontends/controllers/ControlErrorList.C:
1390 * insets/insetbibitem.C:
1391 * insets/insetbranch.C:
1392 * insets/insetcaption.C:
1393 * insets/insetcollapsable.C:
1394 * insets/insetenv.C:
1395 * insets/insetert.C:
1396 * insets/insetfloat.C:
1397 * insets/insetfoot.C:
1398 * insets/insetfootlike.C:
1399 * insets/insetnewline.C:
1400 * insets/insetquotes.C:
1401 * insets/insettabular.C:
1402 * insets/insettext.C:
1403 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1405 * frontends/controllers/ControlChanges.C: #include "changes.h".
1407 2003-09-06 Angus Leeming <leeming@lyx.org>
1409 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1410 than #including paragraph.h.
1413 * RowList.h: deleted. Superfluous.
1423 * insets/insettext.h: use ParagraphList_fwd.h rather than
1426 * paragraph.h: don't forward declare ParagraphList.
1429 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1430 rather than ParagraphList.h. paragraph.h is still needed for the
1431 Paragraph::depth_type parameters.
1433 * textcursor.h: enable it to compile stand-alone in light of the
1436 * bufferview_funcs.C:
1448 * frontends/controllers/ControlParagraph.C:
1449 * frontends/controllers/ControlTabular.C:
1450 * insets/insetmarginal.C:
1451 * insets/insetminipage.C:
1452 * insets/insetnote.C:
1453 * insets/insetoptarg.C: add header files needed to compile again.
1455 2003-09-06 Angus Leeming <leeming@lyx.org>
1457 * RowList_fwd.h: new file, forward-declaring Row rather than
1458 #including lyxrow.h.
1463 * insets/insettext.h: use it instead of RowList.h
1465 * bufferview_funcs.C:
1472 * text3.C: #include "RowList.h".
1474 2003-09-05 Angus Leeming <leeming@lyx.org>
1476 * factory.C (createInset):
1477 * vspace.C (c-tor): replace sscanf call with an istringstream.
1478 * ispell.C: re-add missing HP/UX headers.
1479 * lyxserver.C: re-add missing os2 headers.
1481 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1490 * text3.C: re-add missing system headers, needed for 2.95.2.
1492 2003-09-05 Angus Leeming <leeming@lyx.org>
1494 Changes most place everywhere due to the removal of using directives
1495 from support/std_sstream.h.
1497 2003-09-05 Angus Leeming <leeming@lyx.org>
1499 Replace LString.h with support/std_string.h,
1500 Lsstream.h with support/std_sstream.h,
1501 support/LIstream.h with support/std_istream.h,
1502 support/LOstream.h with support/std_ostream.h.
1504 Changes resulting throughout the tree.
1506 2003-09-05 Angus Leeming <leeming@lyx.org>
1508 * sgml.h: ensure that the header file can be compiled stand-alone.
1509 * *.C: strip out redundant #includes. (320 in total.)
1511 2003-09-04 Angus Leeming <leeming@lyx.org>
1513 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1514 here (from getPackages).
1516 * debug.[Ch]: add a new EXTERNAL tag.
1518 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1520 * text2.C (cursorEnd): simplify
1522 (getColumnNearX): adjust
1524 * text.C (computeBidiTables): adjust
1527 * rowpainter.C (paintChars): adjust
1528 (paintSelection): adjust
1529 (paintChangeBar): adjust
1532 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1534 (numberOfSeparators): adjust
1536 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1542 * text3.C: Restricts the mouse click functionality
1543 of insets like bibtex, include, toc and floatlist to the visible
1544 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1545 up the dialogs. Cursor has to be in front of the inset (i.e.
1546 start of row) for this to function.
1548 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1550 * bufferview_funcs.C (currentState): output row information
1552 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1554 * bufferview_funcs.C (currentState): output paragraph position
1556 2003-09-04 Angus Leeming <leeming@lyx.org>
1558 * FloatList.h: move out #include "Floating.h".
1559 * LaTeX.h: move out #include "DepTable.h".
1560 * LyXAction.h: move out #include "funcrequest.h".
1561 * buffer.h: move out #include "author.h", "iterators.h".
1562 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1563 * lyx_main.h: move out #include "errorlist.h".
1564 * lyxfunc.h: move out #include "FuncStatus.h".
1565 * lyxtext: move out #include "lyxcursor.h".
1566 * paragraph_pimpl.h: move out #include "counters.h".
1568 2003-09-03 Angus Leeming <leeming@lyx.org>
1570 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1571 preamble_snippets list, enabling us to add snippets to the preamble
1572 only if the snippet was not there already.
1574 2003-09-04 Angus Leeming <leeming@lyx.org>
1576 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1578 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1580 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1583 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1585 * BranchList.C: point fix, earlier forgotten
1587 2003-09-02 Angus Leeming <leeming@lyx.org>
1589 * box.C (contains): renamed from 'contained' after a fantastic
1592 2003-09-02 John Levon <levon@movementarian.org>
1598 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1600 2003-09-02 John Levon <levon@movementarian.org>
1602 * text2.C: simplification of cursorEnd(), including partial
1605 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1607 * buffer.C (readFile): add a space
1609 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1611 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1613 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1615 * buffer.C (readFile): new function, take a filename and a
1616 ParagraphList::iterator
1618 (readFile): adjust, make it private. don't use setStream, make
1619 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1620 always contain the filename.
1622 * BufferView.C (insertLyXFile): simplify and make it work for
1625 2003-08-30 John Levon <levon@movementarian.org>
1627 * Makefile.am: fix dist (from Kayvan)
1629 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1631 * most files: change to use const Buffer refs
1633 2003-08-27 André Pönitz <poenitz@gmx.net>
1635 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1636 on top of ownerPar().
1638 2003-08-27 John Levon <levon@movementarian.org>
1640 * funcrequest.C: properly initialise POD members
1642 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1644 * lyxtext.h (top_y): move top_y from here
1649 * BufferView_pimpl.[Ch]: to here
1650 * frontends/screen.C:
1651 * insets/insettabular.C:
1652 * insets/insettext.C: adjust
1653 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1655 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1658 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1660 2003-08-26 André Pönitz <poenitz@gmx.net>
1662 * paragraph_func.[Ch] (outerPar): new function
1665 * paragraph_funcs.C:
1666 * paragraph_funcs.h:
1667 * paragraph_pimpl.C:
1668 * text2.C: remove Inset::par_owner
1670 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1675 * text2.C: eliminates the needFullRow/display() stuff
1676 altogether, putting the logic in metrics/draw in the insets.
1678 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1680 * text2.C (redoParagraphInternal, redoParagraphs):
1681 * text.C (redoParagraph): add a call to updateRowPositions at the
1682 end of each 'metrics-like' call. Remove all others.
1683 (getRow): remove the 'y-computing' version.
1684 (getRowNearY): do not compute nor return the real y. Solve the
1685 'y < 0' problem and simplify.
1687 2003-08-22 Angus Leeming <leeming@lyx.org>
1689 * *.[Ch]: clean-up of licence and author blurbs.
1690 Also move config.h out of a few .h files and into a few .C files.
1692 2003-08-22 André Pönitz <poenitz@gmx.net>
1694 * lyxrow.[Ch]: add x_ and *fill_ members
1699 * text2.C: adjust/remove prepareToPrint() calls
1701 2003-08-22 André Pönitz <poenitz@gmx.net>
1703 * lyxrow.[Ch]: add end_ member
1705 * lyxrow_funcs.C: use LyXRow::end_
1707 * lyxtext.h (singleWidth): add LyXFont parameter
1710 * text2.C: adjust LyXText::singleWidth() calls
1712 * text.C (redoParagraph): simplify row breaking logic
1715 2003-08-19 André Pönitz <poenitz@gmx.net>
1717 * funcrequest.C: initialize button_ member
1720 * rowpainter.[Ch]: interface consolidation
1722 2003-08-18 André Pönitz <poenitz@gmx.net>
1725 * BufferView_pimpl.C:
1727 * paragraph_funcs.C:
1729 * text3.C: remove LyXScreen::draw() and fitCursor calls
1731 * BranchList.h: remove spurious semicolons
1733 * MenuBackend.C: fix branchlist related crash
1735 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1743 * bufferparams.[Ch]:
1747 * text3.C: implements the 'branch inset'
1748 idea. This allows the output of various versions of a document
1749 from a single source version, selectively outputing or suppressing
1750 output of parts of the text.
1751 This implementation contains a 'branch list editor' in a separate
1752 tab of the document settings dialog. Branches are user definable
1753 and have a "display colour" to distinguish them on-screen.
1755 ColorHandler was somewhat cleaned up.
1756 (1) make possible a dynamically growing LColor list by allowing
1757 the graphic context cache to grow along (vector);
1758 (2) eliminate an IMHO unnecessary step in colour allocation.
1760 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1762 * BufferView_pimpl.C: compile fix
1764 2003-08-15 André Pönitz <poenitz@gmx.net>
1766 * rowpainter.C: remove extra metrics calls
1768 * lyxtext.h: merge the two constructors into a single one,
1769 pass reference to owner's par list
1771 * BufferView_pimpl.C:
1775 2003-08-15 André Pönitz <poenitz@gmx.net>
1777 * lyxrow_funcs.[Ch]:
1780 * paragraph_funcs.C:
1785 * text_funcs.C: split LyXText::rowlist_ into individual
1786 Paragraph::rows_ chunks
1789 * BufferView_pimpl.[Ch]:
1792 * text3.C: remove toggleSelection()
1794 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1796 * bufferlist.C: beautify two alerts (shorter text of buttons)
1797 * buffer.C: Remove redundant ' ' from message
1799 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1800 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1801 rename VALIGN_CENTER to VALIGN_MIDDLE
1803 2003-08-11 André Pönitz <poenitz@gmx.net>
1805 * lyxtext.h (getPar):
1806 * text.C: new function
1808 2003-08-11 André Pönitz <poenitz@gmx.net>
1811 * tracer.[Ch]: remove unneeded files
1813 * InsetList.[Ch]: remove resizeInsetsLyXText()
1818 * text3.C: merge insertParagraphs() and appendParagraph()
1819 remove breakAgain(), update()
1821 * BufferView_pimpl.[Ch]:
1822 * bufferview_funcs.[Ch]:
1826 * tabular.C: adjust after text & InsetList changes.
1828 2003-08-08 André Pönitz <poenitz@gmx.net>
1830 * text.C (insertChar, backspace): replace rowlist fiddling
1831 with rebreak of full par
1834 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1835 checkParagraph, updateInset): removed
1837 2003-08-07 André Pönitz <poenitz@gmx.net>
1840 * text3.C: merge some LFUN handlers, remove dead code
1842 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1844 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1846 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1848 * text2.C (DEPM): fix part of bug 1255 and 1256
1850 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1852 * BufferView_pimpl.C (workAreaDispatch): change to use
1853 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1854 that are no mouse related.
1856 2003-08-05 André Pönitz <poenitz@gmx.net>
1859 * BufferView_pimpl.[Ch]:
1860 * bufferview_funcs.C:
1862 * text3.C: rip out "deep update"
1864 * textcursor.[Ch] (last_sel_cursor): remove unused member
1866 2003-08-04 André Pönitz <poenitz@gmx.net>
1869 * BufferView_pimpl.[Ch]:
1870 * ParagraphParameters.C:
1871 * bufferview_funcs.C:
1877 * text3.C: replace "complicated" BufferView::update(...) calls with
1880 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1882 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1884 * Makefile.am (lyx_SOURCES): add paper.h
1886 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1888 * Makefile.am: move things around so that both lyx-qt and
1889 lyx-xforms can be built (according to --with-frontend). Then lyx
1890 is a symbolic link to lyx-[firstfrontend]
1892 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1894 * Always use std::endl with lyxerr
1896 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1898 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1900 2003-08-01 André Pönitz <poenitz@gmx.net>
1903 * BufferView_pimpl.[Ch]:
1905 * text3.C: merge BufferView::repaint() and BufferView::update()
1907 2003-08-01 José Matos <jamatos@lyx.org>
1909 * buffer.[Ch]: file_format is no longer a buffer data element.
1911 2003-08-01 André Pönitz <poenitz@gmx.net>
1916 * text2.C: make redoParagraph more independent of current cursor
1918 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1920 * text2.C: remove unneeded members
1922 2003-07-30 André Pönitz <poenitz@gmx.net>
1924 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1926 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1927 create a single function...
1929 * paragraph_funcs.C (moveItem): ... here.
1932 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1934 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1936 * LColor.[Ch]: Add comment and greyedout logical colors.
1938 2003-07-30 André Pönitz <poenitz@gmx.net>
1940 * tabular.C: don't use Assert too heavily. This crashes where it
1943 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1945 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1946 is disabled (bug 1232)
1948 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1950 * factory.C: limited 'arg' scope
1952 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1954 * factory.C: fixed Note submenu issues
1956 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1958 * factory.C: submenu for Note/Comment/Greyedout
1960 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1963 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1965 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1968 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1969 greyedout. Patch provided by Jürgen Spitzmüller.
1971 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1973 * kbmap.C (read): fix error message when reading bind files
1975 2003-07-29 Angus Leeming <leeming@lyx.org>
1977 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1978 certainly does not do what it purports to do. I am doing it, and
1979 us, a favour by killing it.
1981 2003-07-28 José Matos <jamatos@lyx.org>
1983 * buffer.C (readBody, do_writeFile):
1984 * paragraph.C(readParagraph): \end_document replaces \the_end.
1986 2003-07-29 André Pönitz <poenitz@gmx.net>
1989 * BufferView_pimpl.[Ch]:
1993 * textcursor.[Ch]: remove toggleToggle & Co
1995 2003-07-28 José Matos <jamatos@fep.up.pt>
1997 * buffer.C (readParagraph):
1998 * params_func (readParToken, readParagraph):
1999 * paragraph.C (write): \layout -> \begin_layout.
2001 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2003 * lyxlex_pimpl.C (setFile): clean up slightly.
2005 * bufferparams.h: add compressed var
2007 * buffer_funcs.C (readFile): adjust for LyXLex change
2008 (newFile): ditto + simplify
2010 * buffer.C (writeFile): handle writing of compressed files
2012 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2013 Check if the file is compressed and set a bufferparm if so.
2015 * Makefile.am (lyx_LDADD): remove explicit -lz
2017 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2019 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2020 makeDocBookFile): put the real LyX version in the first line of
2024 * version.C.in: remove lyx_docversion
2026 * tabular.C (write_attribute): add a template-based version to
2027 write enums properly
2029 2003-07-28 André Pönitz <poenitz@gmx.net>
2034 * text3.C: use doubles again for x-coordinates. They are needed.
2036 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2038 * messages.C (getLocaleDir): use lyx_localedir()
2040 * lyxlex_pimpl.C (setFile): compress stuff
2042 * buffer.C (writeFile): add some compression stuff
2043 (do_writeFile): new func, dont call expliti close... will this
2046 * Makefile.am (lyx_LDADD): add -lz
2048 2003-07-28 José Matos <jamatos@fep.up.pt>
2050 * buffer.C: increment file format.
2051 * paragraph_funcs (readParagraph, readParToken):
2052 * paragraph.C (readParagraph): add \end_layout.
2054 2003-07-27 Angus Leeming <leeming@lyx.org>
2056 * Makefile.am: remove special casing for configure-time setting of
2057 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2059 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2060 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2062 2003-07-26 André Pönitz <poenitz@gmx.net>
2064 * paragraph_func.[Ch]:
2065 * paragraph.C (realizeFont): inline it whereever it is used
2070 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2073 2003-07-26 André Pönitz <poenitz@gmx.net>
2077 * text2.C: get rid of LyXText::need_break_row
2079 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2081 * toc.[Ch]: put namespace toc inside namespace lyx
2083 * MenuBackend.C (expandToc2): adjust for lyx::toc
2086 * lyxfunc.C (dispatch): adjust for lyx::find
2088 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2089 lyx::find instead. Reorganize a bit.
2090 (LyXReplace): rename to replace
2091 (LyXFind): rename to find
2093 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2096 2003-07-26 André Pönitz <poenitz@gmx.net>
2098 * text.C (setHeightOfRow): restrict scope of temporary variable
2100 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2101 code (never has been used?)
2103 2003-07-27 Asger Alstrup <alstrup@local>
2105 * text.C (fill): Optimise algorithm to exploit that we can reuse
2106 the LyXFont for many characters.
2107 (setHeightOfRow): Same thing.
2108 (rowBreakPoint): Same thing.
2110 2003-07-26 Asger Alstrup <alstrup@local>
2112 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2114 * text.C (singleWidth): Spurious font copying in hot-spot
2115 singleWidth avoided. Reorder tests for arabic for efficiency.
2117 * text.C (fill): handle empty paragraphs better.
2119 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2122 * encoding.h: add includes
2124 * lyxrc.C: remove reading of bind files
2126 * lyx_main.C (init): setup bindings and menus only if we have a
2129 * kbmap.C (read): new method. Do the actual reading of bind
2132 * converter.C (dvipdfm_options):
2135 (output): adapt PAPER_* enums.
2137 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2139 * bufferparams.h: remove paper-related enums from there
2141 * paper.h: New file. A trivial header file to hold paper-related
2142 enums. It should later expand to contain many paper-related
2145 * lyxrc.C: declare extern displayTranslator
2147 2003-07-27 José Matos <jamatos@fep.up.pt>
2149 * tabular.[Ch] (linuxdoc): add support for tables and figures
2152 2003-07-27 José Matos <jamatos@fep.up.pt>
2154 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2155 consistency in both functions.
2156 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2158 2003-07-26 Asger Alstrup <alstrup@local>
2160 * rowpainter.C (paintRows): Change algorithm to work directly on
2161 the insets rather than asking every character in the document
2162 whether its an inset.
2164 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2166 * buffer.C (openFileWrite): factorize some code
2168 2003-07-26 Angus Leeming <leeming@lyx.org>
2171 * lyx_main.[Ch]: replace occurances of system_tempdir with
2174 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2176 * rename Inset to InsetOld
2178 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2180 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2181 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2182 which I think is a bit clearer. EDIT is gone, since it was
2183 premature optimisation, and broken for mathed anyway.
2184 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2185 with cursor positioning in insets as well (math insets still do not
2186 work, but that's a different story anyway.) It mysteriously
2187 crashes sometimes with undo in the first paragraph, but I'm fairly
2188 confident that this is a compiler bug.
2190 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2192 * paragraph.C (Paragraph): adjust for new clone return type
2194 (copyIntoMinibuffer): ditto
2196 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2198 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2199 by not having a special case, and always doing a full rebreak of
2200 the document after undo.
2202 2003-07-23 Angus Leeming <leeming@lyx.org>
2204 * factory.C (createInset): InsetExternal::setParams now takes a
2207 2003-07-23 Angus Leeming <leeming@lyx.org>
2209 * factory.C (createInset): changed interface to the external and
2210 graphics mailers' string2params functions.
2212 2003-07-23 Angus Leeming <leeming@lyx.org>
2214 * factory.C (createInset): pass a
2215 Buffer const * parameter to InsetExternalMailer's string2params.
2217 2003-07-22 John Levon <levon@movementarian.org>
2219 * Thesaurus.h: include the right aiksaurus header
2221 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2223 * MenuBackend.C (expand): check menu shortcuts unconditionally
2225 2003-07-21 Angus Leeming <leeming@lyx.org>
2227 * factory.C (createInset): pass a
2228 buffer_path parameter to InsetGraphicsMailer's string2params.
2230 2003-07-21 Angus Leeming <leeming@lyx.org>
2232 * BufferView_pimpl.C (buffer):
2235 * lyxfunc.C (dispatch):
2236 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2237 rather than the grfx shortcut.
2239 2003-07-21 André Pönitz <poenitz@gmx.net>
2241 * rowpainter.C: remove unused variables
2244 * tabular_funcs.h: move to tabular.C
2245 * Makefile.am: adjust
2247 * tabular.[Ch]: basic optical cleaning
2249 * author.h: pass references, not values
2251 2003-07-18 André Pönitz <poenitz@gmx.net>
2259 * text3.C: two-phase drawing for InsetText and InsetTabular
2260 some float -> int changes.
2262 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2264 * lyx_main.C: fix the fix
2266 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2268 * lyx_main.C: fix a crash in batch mode if no files specified
2271 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2273 * format.[Ch] (papersize): moved to BufferParams
2274 * converter.[Ch] (dvips_options): moved to BufferParams
2275 (dvipdfm_options): moved to anon namespace
2276 * bufferparams.[Ch]: added above functions.
2278 2003-07-17 André Pönitz <poenitz@gmx.net>
2282 * text2.C: don't call inset->update() anymore
2284 * metricsinfo.[Ch]: add convenience constructor
2286 2003-07-16 André Pönitz <poenitz@gmx.net>
2291 * text2.C: replace the LyXCursor::irow_ member with
2292 on-demand computation of the value
2294 2003-07-16 John Levon <levon@movementarian.org>
2296 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2298 2003-07-15 André Pönitz <poenitz@gmx.net>
2301 * text2.C: remove no more needed refresh_row
2303 2003-07-15 André Pönitz <poenitz@gmx.net>
2308 * text3.C: refresh_status tristate -> need_update bool
2310 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2312 * lyxtext.h (init): remove reinit argument (act as if always true)
2313 * text2.C: adjust to that
2315 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2317 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2318 * text3.C: use it to delete selections in some cases
2319 (bugs 441, 673, 702, 954).
2321 2003-07-14 André Pönitz <poenitz@gmx.net>
2323 * rowpainter.[Ch]: reduce interface
2325 2003-07-14 André Pönitz <poenitz@gmx.net>
2327 * BufferView_pimpl.C:
2328 * text2.C: adjust after removing unused BufferView * argument
2330 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2332 * text2.C (init): fix a crash fired on resize
2334 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2336 * buffer.[Ch]: added new closing signal
2337 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2338 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2339 BufferView::Pimpl via the closing the signal
2341 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2343 * buffer.[Ch]: take out all bv-related from buffer
2345 * BufferView_pimpl.[Ch]: connect to new signals
2346 * CutAndPaste.C: removed useless asserts
2347 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2350 * lyxfunc.C: moved view-related funciontality from vc here
2351 * paragraph.C: removed outdated comments
2354 2003-07-10 André Pönitz <poenitz@gmx.net>
2356 * BufferView_pimpl.C:
2360 * text2.C: remove InsetText::InnerCache, clean up consequences
2362 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2364 * ispell.C: fix two typos in error messages
2366 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2368 * Extend Note inset to other forms of annotation like Comment
2369 and Greyedout. Right button click gives dialog.
2371 Files modified or added (+):
2375 * ControlNote.[Ch] +
2377 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2378 frontends/controllers
2382 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2384 * aspell.C: add missing namespace lyx::support
2386 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2388 * BufferView.[Ch] (newFile): Add
2389 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2390 * LaTeX.[Ch] (message): added this signal and use it
2391 * buffer.[Ch] (busy, message): added these signals and use them
2392 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2396 * importer.C: use buffer signals instead of direct bv calling
2397 * lyx_cb.[Ch] (ShowMessage): removed
2400 * paragraph_funcs.C:
2401 * text2.C: use buffer signals
2403 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2405 * introduce namespace lyx::graphics
2407 2003-07-02 André Pönitz <poenitz@gmx.net>
2409 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2411 2003-07-01 André Pönitz <poenitz@gmx.net>
2418 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2419 text*.C to text_func.C
2421 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2423 * introduce namespace lyx::support
2425 2003-06-30 André Pönitz <poenitz@gmx.net>
2430 * text.C: re-enable --with-included-string
2432 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2434 * textcursor.C: add <config.h>
2436 * text.C (getWord): remove const from word_location arg
2438 * lyxvc.C (getLogFile): fix const type order
2440 * lyxtext.h: remove const from word_location arg, add arg name
2442 * lyxlayout.h: currect type on labeltype.
2444 * importer.C: correct \file
2446 * converter.C (intToFormat): use std:: on ret val, ws changes
2448 * bufferlist.h: correct \file
2450 * buffer.C (makeLinuxDocFile): fix const type order
2451 (makeDocBookFile): ditto
2452 (fillWithBibKeys): use std:: on stdlib args.
2454 * CutAndPaste.C: fix authors.
2455 (availableSelections): use std:: on return vector
2457 2003-06-27 André Pönitz <poenitz@gmx.net>
2459 * BufferView_pimpl.C:
2460 * bufferview_funcs.C:
2468 * text3.C: remove LyXCursor::row_ member
2471 * text.C: rename fullRebreak() to partialRebreak() and implement
2472 a fullRebreak() that really bereks fully
2474 * textcursor.h: new struct for cursor-related data
2476 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2478 * lyx_main.C (LyX): get full path of document loaded on the
2481 2003-06-26 André Pönitz <poenitz@gmx.net>
2483 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2484 remove unused/broken operator>,<,>=.
2486 * text.C: remove only use of broken operator<= in an Assert().
2488 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2490 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2491 moved errorlist_.clear to showErrorList
2493 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2495 * converter.C (scanLog, runLaTeX):
2496 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2497 move the bv->showErrorList call to the callers
2498 * lyxfunc.C: i.e. here...
2500 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2501 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2502 namespace, the second to...
2503 * buffer_funcs (BufferFormat, parseErrors): added
2504 * errorlist.C (ErrorList(TeXErrors const &)): removed
2506 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2508 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2510 2003-06-24 "Garst R. Reese" <reese@isn.net>
2514 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2516 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2518 * version.C.in: change docversion to 1.4
2520 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2522 * buffer.C: fix a bug just introduced
2524 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2526 * buffer.[Ch]: added the parseError signal and use it, removed
2528 * BufferView.[Ch] (addError): moved to ...
2529 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2530 to the Buffer::parseError signal to catch (guess what) parse errors
2531 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2533 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2535 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2536 ability to create a buffer and to return an existing one from
2537 the list. Moved these functions to...
2538 * buffer_funcs.[Ch]: added
2539 * BufferView.[Ch] (loadLyXFile): added
2540 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2541 job removed from bufferlist::loadLyXFile.
2542 * buffer.C (setReadOnly): make it work without view
2543 (i.e added an if (users))
2545 2003-06-19 Angus Leeming <leeming@lyx.org>
2548 * LyXAction.C (init):
2549 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2550 with LFUN_DIALOG_SHOW <name> <data>.
2552 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2554 * CutAndPaste.C (availableSelections): small compilation fix for
2555 ancient (gcc 2.9x) compilers
2557 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2559 * text3.C (cursorNext): add tmp var
2561 * text2.C (updateCounters): for function calling out of for clause
2562 (replaceSelectionWithString): ditto
2563 (insertStringAsParagraphs): ditto
2564 (getColumnNearX): add tmp var
2565 (setCursorFromCoordinates): add tmp var
2566 (cursorDownParagraph): add tmp var
2567 (deleteEmptyParagraphMechanism): add tmp var
2569 * text.C (insertChar): add tmp var
2571 * rowpainter.C (paintDepthBar): add tmp var
2573 * CutAndPaste.C (availableSelections): potentially check all
2574 paragraphs in a cut to fill the shown strings.
2576 2003-06-18 André Pönitz <poenitz@gmx.net>
2578 * kbmap.[Ch]: use vector<> instead of list<>
2580 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2582 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2583 pasteSelection with index
2585 * text2.C (pasteSelection): modify, call pasteSelection with index
2587 * paragraph.C (asString): reimplement version with no interval to
2588 call the one with interval.
2590 * lyxtext.h: add index arg to pasteSelection
2592 * MenuBackend.C (MenuItem): handle PasteRecent
2593 (Menu::read::Menutags): add md_pasterecent
2595 (expandPasteRecent): new function
2598 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2600 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2602 (availableSelections): new function
2604 2003-06-17 Angus Leeming <leeming@lyx.org>
2606 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2608 2003-06-17 Angus Leeming <leeming@lyx.org>
2611 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2613 * lyxfunc.C (dispatch): invoke it.
2615 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2617 * iterators.C (operator++, ParPosition): reintroduce some
2618 const_cast for the benefit of older compilers.
2620 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2622 * text3.C (dispatch): do not modify clipboard when doing
2623 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2624 LFUN_DELETE_SKIP on a selection selection
2626 2003-06-16 André Pönitz <poenitz@gmx.net>
2632 * tabular.[Ch]: IU of clone() and getLabelList();
2634 2003-06-13 André Pönitz <poenitz@gmx.net>
2636 * tabular.h: compactification
2638 2003-06-12 André Pönitz <poenitz@gmx.net>
2642 * tabular_funcs.h: some renaming plus whitespace
2644 2003-06-12 André Pönitz <poenitz@gmx.net>
2647 * BufferView_pimpl.C:
2653 * toc.C: Return a Paragraph & for ParIterator::operator*()
2655 2003-06-11 John Levon <levon@movementarian.org>
2659 * ToolbarBackend.C: add "Toolbars" section and
2662 2003-06-10 Angus Leeming <leeming@lyx.org>
2665 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2667 * lyxfunc.C (dispatch): invoke it.
2669 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2671 * main.C: protect <ios> with HAVE_IOS
2672 (main): protect sync_with_stdio with HAVE_IOS
2674 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2676 * text2.C (cutSelection): adjust
2677 (pasteSelection): adjust
2679 * messages.C: handle get of empty string
2681 * main.C (main): use sync_with_stdio(false)
2683 * lyxfunc.C (dispatch): adjust
2685 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2686 (WriteAs): remove unneeded BufferView arg.
2688 * bufferparams.h: use correct types on papersize, papersize2 and
2691 * bufferparams.C (readToken): adjust for type
2692 (writeLaTeX): add missing cases to switch.
2694 * bufferlist.C (quitWriteBuffer): adjust
2697 * buffer.C (asciiParagraph): remove some commented code.
2699 * CutAndPaste.C: remove current_view extern variable.
2700 (cutSelection): add BufferParams arg.
2701 (eraseSelection): add BufferParams arg.
2702 (pasteSelection): add Buffer const & arg
2704 2003-06-07 John Levon <levon@movementarian.org>
2707 * paragraph_funcs.C:
2708 * paragraph_pimpl.C:
2712 * paragraph.C: allow InsetERT to freely space lines,
2713 and some consolidation of code
2715 2003-06-06 José Matos <jamatos@fep.up.pt>
2717 * buffer.C (makeDocBookFile): fix bug #821
2719 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2721 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2723 2003-06-04 Angus Leeming <leeming@lyx.org>
2725 * buffer.C: bump format to 224.
2727 2003-06-05 André Pönitz <poenitz@gmx.net>
2729 * text2.C (redoParagraphs): remove two const_cast<>
2731 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2733 * ParagraphList.h: remove last remnants of NO_STD_LIST
2735 2003-06-03 Angus Leeming <leeming@lyx.org>
2737 * factory.C (createInset): small change to the way InsetExternal's params
2740 2003-06-04 André Pönitz <poenitz@gmx.net>
2742 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2744 * paragraph_pimpl.h:
2745 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2747 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2749 * undo_funcs.C: make some simple cases of undo work again
2751 2003-06-03 John Levon <levon@movementarian.org>
2753 * ispell.C: HPUX doesn't have sys/select.h
2756 2003-06-03 John Levon <levon@movementarian.org>
2758 * CutAndPaste.C: update tabular and include inset
2763 * paragraph.C: remove owningBuffer(), don't pass Buffer
2766 * factory.C: insetGraphicsParams changed
2768 2003-06-02 John Levon <levon@movementarian.org>
2774 * text3.C: remove insetparent
2776 2003-06-02 John Levon <levon@movementarian.org>
2779 * buffer.C: fix inset_iterator.end(), move out of line
2782 2003-06-01 John Levon <levon@movementarian.org>
2784 * text3.C: use a proper cut/paste when doing inset
2785 insert (from Jürgen Spitzmüller)
2787 2003-06-01 John Levon <levon@movementarian.org>
2789 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2791 2003-05-30 André Pönitz <poenitz@gmx.net>
2793 * rowpainter.C: unify second drawing phase
2795 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2797 * trans_mgr.C: remove one case of current_view
2799 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2801 * paragraph_funcs.h: remove paragraph.h include
2803 * paragraph.h: delete NO_STD_LIST stuff
2805 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2807 * buffer.h: remove paragraph.h include
2809 * ParagraphList.C: delete file
2811 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2813 * toc.C (getTocList): adjust
2815 * paragraph_pimpl.C (validate): adjust
2817 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2819 * paragraph.C (Paragraph): adjust
2820 (getPositionOfInset): use const_iterator, adjust
2821 (bibitem): use const_iterator, adjust
2822 (setInsetOwner): adjust
2824 * iterators.C (operator++): adjust
2826 * InsetList.[Ch]: Replace selfmade iterator with standard
2827 vector::iterator also introduce const_iterator. Remove getPos,
2828 getInset and setInset from InsetTable. Adjust accordingly.
2830 * BufferView.C (lockInset): adjust
2831 (ChangeInsets): adjust
2833 * tabular.[Ch]: delete commented same_id functions
2835 2003-05-28 John Levon <levon@movementarian.org>
2837 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2839 2003-05-28 André Pönitz <poenitz@gmx.net>
2841 * metricsinfo.[Ch]: remove 'fullredraw' member
2843 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2845 * lyxtextclass.C (operator): remove caching.
2847 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2851 * text2.C (cursorBottom): adjust
2852 (setCounter): use ParagraphList::find, adjust
2854 * text.C (workWidth): use ParagraphList::find, adjust
2856 * lyxcursor.C (LyXCursor): adjust
2858 * buffer.C (inset_iterator): adjust
2860 * ParagraphList.h: make iterator(value_type) private, make
2861 ParagraphList a friend of iterator.
2863 * ParagraphList.C (find): new function
2865 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2867 2003-05-27 André Pönitz <poenitz@gmx.net>
2869 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2871 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2873 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2875 2003-05-26 John Levon <levon@movementarian.org>
2877 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2879 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2881 * remove same_id from function signatures, adjust.
2883 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2885 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2887 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2889 * paragraph.C (Paragraph): get rid of same_ids parameter
2891 * ParagraphList.C (insert): adjust
2894 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2896 * paragraph_funcs.C (breakParagraph): adjust
2897 (breakParagraphConservative): adjust
2899 * buffer.C (readParagraph): adjust
2901 * ParagraphList.C (insert): take a reference instead of a pointer
2904 * paragraph.[Ch] (id): new function
2906 * bufferlist.C (newFile): adjust
2908 * ParagraphList.C (ParagraphList): adjust
2910 (push_back): take a reference instead of a pointer.
2912 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2914 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2917 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2918 set else use old code.
2920 * ParagraphList.C: remove all NO_NEXT code and only compile this
2921 code of NO_STD_LIST is set.
2923 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2925 * BufferView_pimpl.C:
2935 * graphics/GraphicsConverter.C:
2936 * graphics/PreviewLoader.C: header adjustment
2938 2003-05-23 Angus Leeming <leeming@lyx.org>
2940 * LaTeXFeatures.[Ch] (useBabel): new method.
2941 * bufferparams.C (writeLaTeX): use it.
2943 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2945 * ParagraphList.h (set): remove unused function.
2947 2003-05-23 André Pönitz <poenitz@gmx.net>
2950 * BufferView_pimpl.C:
2954 * undo_funcs.C: setUndo reworked
2956 * iterators.[Ch]: add access to topmost ParagraphList
2958 * lyxtext.[Ch] (workWidth): add a const
2960 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2962 * texrow.[Ch] (increasePos): remove function
2963 * exporter.C (export): removed unused var and outdated comment
2965 2003-05-23 Angus Leeming <leeming@lyx.org>
2967 * latexrunparams.h: rename fragile as moving_arg.
2968 * paragraph.C (simpleTeXOnePar): ditto.
2969 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2971 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2973 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2975 (textUndoOrRedo): comment out a currently unused var.
2977 * paragraph.h (NO_NEXT): enable NO_NEXT
2979 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2981 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2983 * exporter.C (Export): adjust for removeAutoInsets removal.
2985 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2987 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2989 * BufferView.[Ch] (removeAutoInsets): delete function
2991 2003-05-22 Angus Leeming <leeming@lyx.org>
2993 * latexrunparams.h: add a free_spacing variable.
2995 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2996 to pass moving_arg, as the data is stored in runparams.fragile.
2998 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2999 to Inset::latexOptional or to simpleTeXOnePar.
3001 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3002 free_spacing arg to Inset::latexOptional.
3004 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3007 2003-05-22 Angus Leeming <leeming@lyx.org>
3009 * latexrunparams.h: add fragile and use_babel variables.
3011 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3012 * buffer.C (makeLaTeXFile): store this returned value in
3013 runparams.use_babel, thus passing it to the inset::latex methods.
3015 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3016 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3018 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3019 longer has a fragile arg, as it is stored in runparams.fragile.
3021 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3022 moving_arg parameter as the data is stored in runparams.fragile.
3024 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3025 a fragile parameter as the data is stored in runparams.fragile.
3027 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3029 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3031 2003-05-22 Angus Leeming <leeming@lyx.org>
3033 * latexrunparams.h: add a 'bool nice' which defaults to false.
3035 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3036 now encapsulated within runparams.
3038 * bufferlist.C (updateIncludedTeXfiles):
3039 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3041 2003-05-22 Angus Leeming <leeming@lyx.org>
3043 * latexrunparams.h: new file containing struct LatexRunParams.
3044 * Makefile.am: add new file.
3046 * LaTeX.[Ch] (c-tor, run):
3047 * buffer.[Ch] (makeLaTeXFile):
3048 * bufferlist.[Ch] (updateIncludedTeXfiles):
3049 * converter.C (convert, scanLog):
3050 * converter.[Ch] (runLaTeX):
3051 * exporter.C (Export):
3052 * paragraph.[Ch] (simpleTeXOnePar):
3053 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3054 * paragraph_funcs.[Ch] (latexParagraphs):
3055 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3056 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3057 pass around a LatexRunParams parameter.
3059 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3061 * paragraph.[Ch]: remove unused constructor
3063 * ParagraphList.C (erase): new function, taking two iterators
3065 2003-05-22 André Pönitz <poenitz@gmx.net>
3067 * undo_funcs.C: remove duplicated code
3069 * iterator.[Ch]: operator=
3071 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3073 * tabular.C (SetMultiColumn): ws changes
3075 * rowpainter.C (paintFirst): get rid of a ->previous
3077 * lyx_cb.C (getPossibleLabel): parlist simplification
3079 * BufferView.C (ChangeInsets): simplify slightly.
3081 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3083 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3084 * lfuns.h: new LFUN_SPACE
3085 * lyxfunc.C: protected space has a new lfun
3086 * paragraph_funcs.C: read new space insets
3088 * factory.C: handle new space insets
3090 2003-05-22 André Pönitz <poenitz@gmx.net>
3093 * BufferView_pimpl.C:
3096 * undo_funcs.C: return a ParIterator from getParFromID.
3098 * iterators.[Ch]: add two const's
3100 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3102 * toc.C (getTocList): adjust
3104 * iterators.[Ch]: rework for parlist
3106 * buffer.C (par_iterator_begin): adjust
3107 (par_iterator_end): adjust
3109 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3111 * BufferView.C (removeAutoInsets): adjust
3112 (ChangeInsets): adjust
3114 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3116 * text.C (top_y): fix bug 1110
3118 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3120 * errorlist.[Ch]: added
3123 * BufferView_pimpl.C:
3124 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3127 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3129 * Makefile.am: ensure that lyx is relinked upon changes to the
3130 various "convenience" libs.
3132 2003-05-20 Angus Leeming <leeming@lyx.org>
3134 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3135 files are compiled in alphabetical order again.
3137 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3139 2003-05-19 Angus Leeming <leeming@lyx.org>
3141 * gettext.[Ch]: remove "char const * _(char const *)".
3143 2003-05-19 André Pönitz <poenitz@gmx.net>
3145 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3154 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3156 2003-05-19 André Pönitz <poenitz@gmx.net>
3160 * lyxtextclass.[Ch]:
3162 * paragraph_funcs.[Ch]:
3164 * text3.C: more insetenv work
3166 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3168 * ParagraphParameters.C (params2string): small bug fixed
3170 2003-05-16 André Pönitz <poenitz@gmx.net>
3173 * bufferview_funcs.C: patch from Kornel Benko to prevent
3174 crash when _(...) is called twice in a statement
3176 2003-05-16 André Pönitz <poenitz@gmx.net>
3183 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3185 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3187 * lyx_main.C (init): remove spurious static_cast
3189 2003-05-14 André Pönitz <poenitz@gmx.net>
3191 * BufferView.C: fix format string
3193 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3195 * BufferView.[Ch] (insertErrors): removed
3196 * BufferView.[Ch] (showErrorList): added
3197 * buffer.C (runChkTeX):
3198 * converter.C (scanLog): call showErrorList instead of inserterrors
3200 2003-05-13 André Pönitz <poenitz@gmx.net>
3202 * BufferView_pimpl.C:
3204 * bufferview_func.C:
3211 * tabular_funcs.h: tostr() from its own header
3213 * ParagraphParameters.C:
3218 * text3.C: STRCONV()
3220 2003-05-12 André Pönitz <poenitz@gmx.net>
3223 * BufferView_pimpl.C:
3227 * ParagraphParameters.C:
3231 * bufferview_funcs.C:
3244 * paragraph_funcs.C:
3248 * text3.C: boost::format -> bformat all over the place
3251 2003-05-09 André Pönitz <poenitz@gmx.net>
3253 * LColor.[Ch]: Pimpl the #include <map> away
3255 2003-05-09 John Levon <levon@movementarian.org>
3257 * bufferlist.C: never remove emergency saves
3259 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3261 * Makefile.am: better lib building
3263 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3265 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3267 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3268 (simpleTeXSpecialChars): adjust
3269 (simpleTeXSpecialChars): adjust
3270 * paragraph.C (simpleTeXOnePar): adjust
3271 * buffer.C (makeLaTeXFile): adjust
3273 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3275 * text2.C (changeDepth): parlist cleanup
3276 (getColumnNearX): ditto
3278 * rowpainter.C (getLabelFont): parlist cleanup
3280 * bufferlist.C (newFile): parlist cleanup
3282 * CutAndPaste.C (eraseSelection): parlist cleanup
3284 * BufferView_pimpl.C (trackChanges): parlist cleanup
3287 * BufferView.C (lockInset): parlist cleanup.
3288 (ChangeInsets): ditto
3290 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3292 * CutAndPaste.h: Update file header.
3294 * CutAndPaste.C: Update file header.
3295 Store the parts cut out of the Document in a limited_stack.
3296 (copySelection): adjust
3297 (pasteSelection): new function, takes the index in the limited stack.
3298 (nrOfParagraphs): adjust
3299 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3300 simplify error inset insertion.
3301 (checkPastePossible): adjust
3303 2003-05-06 John Levon <levon@movementarian.org>
3305 * text2.C: don't cast wrap inset to float
3307 2003-05-05 André Pönitz <poenitz@gmx.net>
3310 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3312 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3313 few naked Paragraph *.
3315 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3317 * bufferparams.C: Output warning if a document with missing
3318 TeX document class is loaded
3319 * exporter.C: Disable TeX exports if the document class is missing
3322 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3323 isTeXClassAvailable()
3325 2003-05-03 John Levon <levon@movementarian.org>
3328 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3329 explicit cursor show/hide
3331 * BufferView_pimpl.h:
3332 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3333 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3335 * lyxfunc.C: hide cursor before dispatching.
3340 * text3.C: remove explicit cursor hides
3342 2003-05-02 André Pönitz <poenitz@gmx.net>
3344 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3347 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3350 * text2.C: tiny whitespace
3352 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3354 * undo_funcs.C: almost only ws changes.
3356 * ParagraphList.C (splice): just return if pl is empty.
3358 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3360 * ParagraphList.C (splice): new function.
3362 * CutAndPaste.C (pasteSelection): use it
3364 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3366 * CutAndPaste.C (pasteSelection): remove the last next and
3367 previous from this file.
3369 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3371 * CutAndPaste.C (pasteSelection): more clean up, user proper
3372 ParagraphList functions for pasteing.
3374 * ParagraphList.C (insert): new function, three arg insert
3376 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3378 * ParagraphList.C (insert): new function, three arg insert
3380 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3383 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3385 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3387 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3389 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3391 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3393 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3394 (copySelection): clean up a bit.
3395 (pasteSelection): use make_pair
3397 * ParagraphList.C (ParagraphList): implement copy constructor
3398 (operator=): implement, base on copy constructor.
3401 * paragraph.C (erase): return a bool
3403 * paragraph_pimpl.C (erasePos): remove function, move contents...
3404 (erase): ... here. Return a bool.
3405 (erase): call erase instead of erasePos.
3407 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3409 * ParagraphList.h: define PitPosPair
3410 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3411 ParagraphList, fix a bug on pasting multiple pars
3412 * text2.C: change interface to C&P
3414 2003-04-30 André Pönitz <poenitz@gmx.net>
3416 * undo_func.C: revert part of yesterday's patch 2
3418 2003-04-30 John Levon <levon@movementarian.org>
3420 * LColor.C: s/tabular/table/
3422 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3424 * text3.C (dispatch): do not convert iterator -> pointer
3425 * undo_funcs.C (setCursorParUndo): ditto
3426 * text_funcs.C (transposeChars): ditto
3428 * text2.C (setLayout): ws changes only
3430 * text.C (breakParagraph): do not convert iterator -> pointer
3432 (acceptChange): ditto
3433 (rejectChange): ditto
3438 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3441 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3443 * text3.C (gotoInset): YABG (yet another bad getChar)
3445 2003-04-29 André Pönitz <poenitz@gmx.net>
3447 * paragraph.h: make operator= private unimplemented as long as
3450 * ParagraphList.C: whitespace
3453 * paragraph_pimpl.[Ch]:
3454 * paragraph_funcs.C:
3456 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3459 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3461 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3463 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3464 * paragraph.[Ch] (erase):
3465 * paragraph_pimpl.[Ch] (erase): change return type and value
3466 * text2.C (cutSelection): some rework
3468 2003-04-28 John Levon <levon@movementarian.org>
3470 * bufferlist.C: changes for unsaved changes dialog
3472 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3474 * bufferlist.C (newFile): set language (messages_) for new
3477 * buffer.C (readFile): ws changes only.
3479 2003-04-28 André Pönitz <poenitz@gmx.net>
3484 * BufferView_pimpl.C:
3485 * BufferView.C: getParFromID related ParagraphList::iterator changes
3487 2003-04-28 André Pönitz <poenitz@gmx.net>
3489 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3492 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3494 * messages.C: remove one more localedir class variable.
3496 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3498 * messages.C (getLocaleDir): singleton generation function
3500 (Messages): add a default constructor.
3502 * main.C (main): do not setup localedir here, do not call
3505 * gettext.C (_): use it.
3506 (gettext_init): delete funciton
3508 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3510 * gettext.C (getLyXMessages): new singleton generating function.
3512 * buffer.C (updateDocLang): adjust
3514 * Makefile.am (messages.o): add target
3515 (main.o): remove target
3517 2003-04-27 John Levon <levon@movementarian.org>
3522 * lyxvc.C: specify cancel button in Alert::prompt
3524 2003-04-26 John Levon <levon@movementarian.org>
3529 * LyXAction.C: add LFUN_INSET_SETTINGS
3531 * lyxfunc.C: don't enable tabular-feature when there's
3532 just any locking inset
3534 2003-04-26 John Levon <levon@movementarian.org>
3536 * bufferlist.C: re-add Cancel to buffer close question
3538 * lyxfunc.C: fix import UI a bit
3540 2003-04-25 John Levon <levon@movementarian.org>
3542 * gettext.C: remove the broken asserts for now
3544 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3546 * messages.C: make case where setlocale cannot comply work better.
3548 * buffer.C (updateDocLang): new function
3549 (changeLanguage): use it
3552 * text2.C (setCounter): use B_ a bit.
3554 * lyxlayout.C (Read): be sure to trim the label strings.
3556 * messages.C (Messages): fix typo in comment
3558 * buffer.C (readFile): set message_ after file is loaded.
3559 (makeDocBookFile): remove double return
3560 (changeLanguage): reset message_ upon language change.
3561 (B_): new func, use this to get translated buffer strings.
3563 * main.C: add myself and Jean Marc as authors.
3565 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3567 * messages.[hC]: pimplify Messages, and three different pimpls to be
3568 used in different circumstances.
3570 * gettext.[Ch]: change for use with new message code.
3572 2003-04-24 André Pönitz <poenitz@gmx.net>
3574 * factory.C: support for eqref
3576 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3578 * messages.[Ch]: add missing char
3580 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3582 * messages.[Ch]: New files
3584 2003-04-18 John Levon <levon@movementarian.org>
3588 * BufferView_pimpl.C:
3592 * text2.C: remove layout-copy/paste (bug 778)
3594 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3596 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3598 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3600 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3601 if they succeed. Act accordingly.
3603 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3605 * text2.C (setCharFont): adjust
3606 (setCounter): adjust
3607 (insertStringAsLines): adjust
3609 * text.C (leftMargin): adjust
3610 (setHeightOfRow): adjust
3612 * rowpainter.C (paintFirst): adjust
3615 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3617 (isFirstInSequence): ditto
3618 (getEndLabel): ditto
3621 * paragraph.C (getParLanguage): comment out some hard stuff.
3623 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3625 (simpleDocBookOnePar): ditto
3626 (makeDocBookFile): use ParagraphList::iterator
3628 * CutAndPaste.C (pasteSelection): adjust
3630 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3632 * text2.C (getFont): adjust
3633 (getLayoutFont): adjust
3634 (getLabelFont): adjust
3636 * paragraph_funcs.C (TeXOnePar): adjust
3638 * buffer.C (simpleLinuxDocOnePar): adjust
3639 (simpleDocBookOnePar): adjust
3641 * CutAndPaste.C (pasteSelection): adjust
3643 * BufferView.C (getEncoding): adjust
3645 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3647 2003-04-16 John Levon <levon@movementarian.org>
3649 * lyxfind.C: use parlist stuff for search/changes
3651 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3653 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3655 * text2.C (deleteEmptyParagraphMechanism): adjust
3657 * text2.[Ch] (ownerParagraph): delete func (both of them
3659 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3661 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3663 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3665 * ParagraphList.C: prepare for NO_NEXT
3667 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3669 * text2.C (getFont): adjust
3670 (getLayoutFont): adjust
3671 (getLabelFont): adjust
3673 * paragraph.C (getFont): adjust
3674 (getLabelFont): adjust
3675 (getLayoutFont): adjust
3677 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3679 2003-04-15 John Levon <levon@movementarian.org>
3683 * lyx_main.C: handle Include in .ui files
3685 2003-04-15 John Levon <levon@movementarian.org>
3687 * MenuBackend.C: make the doc files length shorter
3690 * ToolbarBackend.C: handle toolbar placement flags,
3693 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3695 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3698 * paragraph_funcs.C (TeXOnePar): adjust
3700 * paragraph.C (getLabelFont): add outerfont arg, adjust
3701 (getLayoutFont): ditto
3702 (simpleTeXOnePar): adjust
3704 * paragraph_pimpl.C (realizeFont): delete func
3706 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3708 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3709 row argument, constify cur argument.
3711 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3713 * text2.C (getFont): adjust
3714 (getLayoutFont): adjust
3715 (getLabelFont): adjust
3717 * paragraph_funcs.C (TeXOnePar): adjust
3718 (outerFont): new func...
3719 (realizeFont): ...moved out from here, changed this to facilitate
3722 * paragraph.C (getFont): take outerfont as arg, adjust
3723 (simpleTeXOnePar): add outerfont arg, adjust
3725 * buffer.C (simpleLinuxDocOnePar): adjust
3726 (simpleDocBookOnePar): adjust
3728 * CutAndPaste.C (pasteSelection): adjust
3730 * BufferView.C (getEncoding): adjust
3732 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3734 * text2.C (setCharFont): adjust
3735 (setCounter): adjust
3737 * text.C (leftMargin): adjust
3738 (setHeightOfRow): adjust
3740 * rowpainter.C (paintFirst): adjust
3743 * paragraph_pimpl.C (realizeFont): adjust
3745 * paragraph.C (isFirstInSequence): move from here...
3746 * paragraph_funcs.C (isFirstInSequence): ...to here
3748 * paragraph.C (outerHook): move from here...
3749 * paragraph_funcs.C (outerHook): ...to here
3751 * paragraph.C (depthHook): move from here...
3752 * paragraph_funcs.C (depthHook): ...to here
3754 * paragraph.C (getEndLabel): move from here...
3755 * paragraph_funcs.C (getEndLabel): ...to here
3757 * text2.C (realizeFont): move from here...
3758 * paragraph_funcs.C (realizeFont): ...to here
3760 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3762 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3764 2003-04-14 Angus Leeming <leeming@lyx.org>
3766 * LColor.[Ch]: scrap LColor mathcursor.
3768 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3770 * lyxlex.[Ch] (text): delete function
3771 * trans.C (Load): adjust
3772 * paragraph_funcs.C (readParToken): adjust
3774 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3776 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3777 vector<char> instead of a char[].
3779 * lyxlex_pimpl.C (getString): adjust
3781 (lex): use getString
3785 * lyxlex.C (text): use pimpl_->getString()
3789 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3791 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3792 (makeFontEntriesLayoutSpecific): temp var for par.size()
3793 (setLayout): temp var for ownerParagraphs().end()
3794 (fullRebreak): temp var for rows().end()
3795 (selectionAsString): temp var for boost::next(startpit), realize
3796 that the while really is a regular for loop.
3797 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3798 setCursor in one place.
3799 (setParagraph): temp vr for ownerParagraphs().end()
3800 (updateCounters): make the while loop a for loop
3801 (cutSelection): temp var for ownerParagraphs().end()
3802 (updateInset): make the do {} while() a regular for loop
3803 (getCursorX): use temp vars
3804 (setCurrentFont): use temp vars
3805 (getColumnNearX): use temp vars
3807 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3809 * text.C (transformChar): use temp var for getChar
3810 (computeBidiTables): use temp var for row->par()
3811 (fill): move temp vars for row->par() and pit->layout() earlier in
3813 (labelFill): use temp var for row->par()
3814 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3815 asc and desc, realize that pit never changes and that firstpit is
3816 just a duplicate and not needed. Exchange rit->par() with pit in a
3818 (breakAgain): use a temp var for boost::next(rit)
3819 (breakAgainOneRow): ditto
3820 (breakParagraph): use a temp var for rows().begin()
3821 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3822 (cursorRightOneWord): use temp var for cursor.par() and
3823 cursor.pos(), remove usage of tmpcursor.
3824 (cursorLeftOneWord): use temp var for cursor.par() and
3825 cursor.pos() only set cur at end of function.
3827 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3829 * text.C, text2.C: exchange all usage of Paragraph::next with
3830 boost::next(ParagraphList::iterator)
3832 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3834 * text2.C (cursorTop): simplify implementation
3835 (cursorBottom): ditto
3836 (setParagraph): use ParagraphList::iterator
3837 (setCurrentFont): adjust
3838 (getColumnNearX): adjust
3839 (cursorRight): adjust
3840 (cursorLeft): remove usage of Paragraph::previous
3841 (cursorUpParagraph): ditto
3842 (deleteEmptyParagraphMechanism): slight cleanup
3844 * text.C (isBoundary): take a Paragraph const & instead of a
3846 (addressBreakPoint): ditto
3847 (leftMargin): remove usage of Paragraph::previous.
3848 (setHeightOfRow): ditto
3849 (cursorLeftOneWord): ditto
3850 (selectNextWordToSpellcheck): ditto
3853 (breakParagraph): remove one usage of Paragraph::next
3854 (redoParagraph): ditto
3855 (acceptChange): ditto
3856 (insertChar): adjust
3857 (rowBreakPoint): adjust
3859 * bufferview_funcs.C (toggleAndShow): adjust
3861 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3863 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3864 methods to access it.
3866 * text.C: Added updateRowPositions to compute all row positions.
3867 Make top_y and getRowNearY() to use the cached y position
3869 2003-04-11 John Levon <levon@movementarian.org>
3871 * text.C (rowBreakPoint): reintroduce the labelEnd
3872 checks, code copied from the row fill stuff. Deep voodoo.
3874 * text.C (fill): add a comment and debugging for the
3877 2003-04-11 John Levon <levon@movementarian.org>
3879 * text.C: make sure fullrow insets get wrapped to the next line,
3880 even when they're in a manual label
3882 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3884 * text2.C (insertParagraph): make it take ParagraphList::iterator
3886 (setLayout): make it return ParagraphList::iterator
3887 (redoParagraphs): ditto
3889 (checkParagraph): ditto
3891 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3893 * text2.C: adjust several funcs.
3894 (realizeFont): take a ParagraphList::iterator as arg.
3895 (getLayoutFont): ditto
3896 (getLabelFont): ditto
3897 (setCharFont): ditto
3899 * text.C: adjust several funcs.
3901 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3903 * text.C (selectNextWordToSpellcheck): don't accidentally
3906 2003-04-10 John Levon <levon@movementarian.org>
3908 * ToolbarBackend.C (getIcon): special handling for
3911 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3913 * text2.C (cursorRight): a getChar assert fixed
3915 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3917 * text2.C (getFont): change to take a ParagraphList::iterator
3918 instead of Paragraph*
3919 Adjust several functions.
3921 * text.C (transformChar): change to take a ParagraphList::iterator
3922 instead of Paragraph*
3923 (singleWidth): ditto
3924 Adjust several functions.
3926 * rowpainter.C: adjust several functions
3927 * rowpainter.h:store a ParagraphList::iterator and not a
3931 2003-04-09 John Levon <levon@movementarian.org>
3936 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3937 and the "help" bits as well
3939 2003-04-09 John Levon <levon@movementarian.org>
3942 * ToolbarBackend.C: allow multiple toolbars
3944 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3946 * undo_funcs.C (setCursorParUndo): adjust
3948 * text_funcs.C (transposeChars): adjust
3950 * text3.C (gotoNextInset): adjust
3953 * text2.C (setLayout): adjust
3954 (changeDepth): adjust
3956 (redoParagraphs): adjust
3957 (selectionAsString): adjust
3958 (setParagraph): adjust
3959 (insertInset): adjust
3960 (cutSelection): adjust
3961 (copySelection): adjust
3962 (pasteSelection): adjust
3963 (insertStringAsLines): adjust
3964 (updateInset): adjust
3965 (setCursor): change to take a ParagraphList::iterator parameter
3966 (setCursorIntern): change to take a ParagraphList::iterator parameter
3967 (setCurrentFont): adjust
3968 (cursorLeft): adjust
3969 (cursorRight): adjust
3970 (deleteEmptyParagraphMechanism): adjust
3972 * text.C (breakParagraph): adjust
3973 (insertChar): adjust
3974 (acceptChange): adjust
3975 (rejectChange): adjust
3976 (selectNextWordToSpellcheck): adjust
3977 (changeCase): adjust
3981 * lyxfind.C (SearchForward): adjust
3982 (SearchBackward): adjust
3983 (nextChange): adjust
3985 * lyxcursor.C (par): adjust
3987 * lyxcursor.h: store a ParagraphList::iterator instead of a
3990 * lyx_cb.C (getPossibleLabel): adjust
3992 * bufferview_funcs.C (toggleAndShow): adjust
3994 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3997 * BufferView.C (removeAutoInsets): adjust
3998 (lockedInsetStoreUndo): adjust
4000 2003-04-09 John Levon <levon@movementarian.org>
4002 * ToolbarBackend.C: try icon without argument
4003 if with argument fails
4005 2003-04-08 John Levon <levon@movementarian.org>
4008 * ToolbarBackend.C: add getIcon(), handle tooltip,
4009 and change from "Icon" to "Item".
4011 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4013 * BufferView.C (lockInset): another bad getchar crunched
4015 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4017 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4020 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4022 * lyxfind.C (searchForward, searchBackwards): bug 782
4024 2003-04-07 John Levon <levon@movementarian.org>
4026 * paragraph.C: remove dead comment
4028 * text.C: remove troublesome depth-fiddling code
4029 in leftMargin() and rightMargin() (bug 1017)
4031 * text.C: fix breaking of rows in nested lists
4034 * text2.C (updateCounters): fix up depth values
4037 2003-04-07 John Levon <levon@movementarian.org>
4039 * BufferView_pimpl.C: clear message when doc finishes resizing,
4040 and after a mouse event
4042 * lyxfunc.C: clear message after exiting inset
4044 2003-04-07 John Levon <levon@movementarian.org>
4046 * bufferview_funcs.C: show math status not outside
4047 status in the statusbar
4049 2003-04-07 John Levon <levon@movementarian.org>
4051 * lyxfunc.C: note status changed after a depth change
4053 2003-04-04 Angus Leeming <leeming@lyx.org>
4055 * LaTeX.h: move AuxInfo operator==, != out of line.
4056 Remove LaTeX virtual destructor; nothing derives from it.
4057 Move operator()() out of public area and rename it startscript().
4058 Change protected for private.
4060 2003-04-04 Angus Leeming <leeming@lyx.org>
4063 * text2.C: remove unneeded #includes.
4065 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4067 * text2.C (dEPM): fix the heigth of the next row
4069 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4071 * text.C: squashed an invalid getChar requester + some ws changes
4073 2003-04-03 John Levon <levon@movementarian.org>
4075 * bufferview_funcs.h:
4076 * bufferview_funcs.C:
4079 * text2.C: make getStatus work for the env depth lfuns
4081 2003-04-03 John Levon <levon@movementarian.org>
4083 * bufferview_funcs.h:
4084 * bufferview_funcs.C:
4087 * text2.C: parlistize decDepth(), by merging it with incDepth()
4089 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4091 * lyxrow.h: store a ParagraphList::iterator instead of a
4092 Paragraph* and adjust other class functions to suit.
4094 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4097 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4099 * text2.C (setCursor): do not anchor to cursor row for the time being
4101 2003-04-02 John Levon <levon@movementarian.org>
4108 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4110 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4112 * paragraph.h: make ParagraphList and ParagraphList::iterator
4113 friends of Paragraph.
4115 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4117 * ParagraphList.C: Use the private next_ and previous_ from
4120 2003-04-01 John Levon <levon@movementarian.org>
4124 * Makefile.am: rename, remove defaults gunk
4127 * MenuBackend.C: remove defaults gunk
4130 * Languages.C: remove defaults gunk
4133 * lyx_main.C: error out if files couldn't be found.
4135 2003-04-02 John Levon <levon@movementarian.org>
4137 * text2.C: make incDepth() use parlist
4139 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4141 * undo_funcs.C (firstUndoParagraph): adjust
4143 * text3.C (gotoInset): adjust
4144 (dispatch): adjust, and rewrite loop.
4146 * text2.C (init): adjust, and rewrite loop.
4147 (redoParagraphs): adjust
4148 (updateInset): adjust, and rewrite loop.
4149 (deleteEmptyParagraphMechanism): adjust
4151 * tabular.C (LyXTabular): adjust
4152 (SetMultiColumn): adjust
4155 * lyxtext.[Ch] (ownerParagraph): delete function
4156 (ownerParagraphs): new function returns a ParagraphList.
4158 * BufferView.C (removeAutoInsets): adjust
4159 (insertErrors): adjust
4160 (setCursorFromRow): adjust
4162 2003-04-01 Angus Leeming <leeming@lyx.org>
4164 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4167 2003-04-02 John Levon <levon@movementarian.org>
4173 * text_funcs.C: make transposeChars a free function
4175 * lyxrow_funcs.C: remove wrong comment
4177 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4180 * rowpainter.C: adjust
4185 * lyxrow_funcs. [Ch]: new files
4187 * lyxrow.[Ch]: remove next and previous pointers
4188 (next,previous): remove accessor functions
4189 (isParEnd): move to lyxrow_funcs
4190 (lastPos): move to lyxrow_funcs
4191 (nextRowIsAllInset): move to lyxrow_funcs
4192 (lastPrintablePos): move to lyxrow_funcs
4193 (numberOfSeparators): move to lyxrow_funcs
4194 (numberOfHfills): move to lyxrow_funcs
4195 (numberOfLabelHfills): move to lyxrow_funcs
4196 (hfillExpansion): move to lyxrow_funcs
4200 * bufferview_funcs.C (toggleAndShow): adjust
4202 * RowList.h: Remove class RowList from file leave just a
4205 * RowList.C: delete file
4207 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4210 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4212 * text3.C (cursorPrevious): adjust
4213 (cursorNext): adjust
4216 * text2.C (redoHeightOfParagraph): adjust
4217 (redoDrawingOfParagraph): adjust
4220 * text.C (breakParagraph): adjust
4221 (insertChar): adjust
4224 * rowpainter.C (RowPainter): adjust
4225 (leftMargin): simplify and adjust
4226 (most rowpainter functions): adjust.
4228 * rowpainter.h: store the row as RowList::iterator not as Row*
4230 * lyxcursor.C (row): taka RowList::iterator as arg
4233 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4236 2003-04-01 Angus Leeming <leeming@lyx.org>
4238 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4239 stuff like bool Bool.
4241 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4243 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4246 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4248 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4251 * lyxtext.h (rows): drop one version and leve a const variant that
4252 returns a RowList::iterator.
4254 2003-03-31 Angus Leeming <leeming@lyx.org>
4256 * text.C (fill): ensure that the signature is the same as that in the
4259 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4261 * text2.C (redoParagraphs): adjust
4262 (updateCounters): adjust
4263 (checkParagraph): adjust
4264 (getColumnNearX): adjust and reformat a bit.
4266 * text.C (top_y): adjust
4268 (leftMargin): adjust
4269 (prepareToPrint): adjust
4271 (getRowNearY): adjust
4273 * lyxtext.h: make rowlist_ mutable.
4275 * RowList.h: add const_iterator
4276 * RowList.C: adjust for RowList::const_iterator.
4278 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4281 2003-03-31 John Levon <levon@movementarian.org>
4284 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4286 * lyx_main.C: set default fonts from using lyx_gui funcs
4288 * exporter.C: pdf_mode moved from lyxrc
4291 * lyxfunc.C: changes from above
4293 2003-03-31 John Levon <levon@movementarian.org>
4295 * lyx_main.C: fix to the last fix
4297 2003-03-31 John Levon <levon@movementarian.org>
4299 * bufferlist.C: "Load original" -> "Load Original"
4305 * format.C: more Alert cleanups
4307 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4309 * text2.C (removeParagraph): make it take a RowList::iterator as
4311 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4312 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4314 * text.C (anchor_row): make it take a RowList::iterator as arg,
4316 (computeBidiTables): make it take a const reference to Row instead
4317 of Row pointer, adjust.
4318 (leftMargin): make it take a RowList::iterator as arg, adjust.
4319 (rowBreakPoint): adjust
4320 (breakAgainOneRow): make it take a RowList::iterator as arg,
4322 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4324 * bufferview_funcs.C (toggleAndShow): adjust
4326 2003-03-30 John Levon <levon@movementarian.org>
4330 * boost-inst.C: moved to support
4332 * several files: changes as a result
4334 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4336 * text2.C (LyXText): adjust.
4338 (removeRow): make it take a RowList::iterator as arg, adjust.
4339 (fullRebreak): adjust
4340 (deleteEmptyParagraphMechanism): adjust
4341 (clearPaint): adjust
4344 * text.C (top_y): adjust
4345 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4346 (breakAgain): make it take a RowList::iterator as arg, adjust.
4347 (breakParagraph): adjust
4348 (insertChar): adjust
4351 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4352 need_break_row, and refresh_row.
4354 * text3.C (dispatch): adjust
4356 * text2.C (checkParagraph): adjust
4358 (setCursorFromCoordinates): adjust
4360 * text.C (top_y): adjust
4362 (getRow): make it return a RowList::iterator, adjust
4363 (getRowNearY): make it return a RowList::iterator, adjust
4365 * text2.C (init): adjust
4366 (insertRow): remove function
4367 (insertParagraph): adjust
4368 (redoParagraphs): adjust
4369 (fullRebreak): adjust
4370 (updateCounters): adjust
4372 * text.C (top_y): rewrite to use RowList iterators.
4374 (setHeightOfRow): rewrite to sue RowList iterators.
4375 (appendParagraph): adjust
4376 (breakAgain): adjust
4377 (breakAgainOneRow): adjust
4378 (breakParagraph): adjust
4380 (getRowNearY): adjust, and remove commented code.
4382 * lyxtext.h (firstRow): delete function
4383 (lastRow): delete function
4384 (rows): new function (const and non-const versions.)
4385 (insertRow): delete function
4387 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4389 2003-03-29 John Levon <levon@movementarian.org>
4391 * BufferView_pimpl.C: always update scrollbar top
4392 because pasting text when we're anchored could mean we
4393 miss an update altogether
4395 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4397 * text2.C (init): use rowlist_.end() and not 0.
4398 (insertRow): change to take a RowList::iterator as arg, adjust
4400 (insertParagraph): change to take a RowList::iterator as arg,
4402 (redoParagraphs): remove some debug msgs.
4404 * text.C (appendParagraph): change to take a RowList::iterator
4405 arg, adjust for this.
4406 (breakAgain): add an assert
4407 (breakAgainOneRow): ditto
4409 2003-03-29 John Levon <levon@movementarian.org>
4411 * text2.C: do not clear selection after inc/decDepth
4414 2003-03-29 John Levon <levon@movementarian.org>
4417 * buffer.C: fix broken strerrors according to Lars
4419 2003-03-29 John Levon <levon@movementarian.org>
4421 * converters.C: more Alert cleanups
4423 2003-03-29 John Levon <levon@movementarian.org>
4425 * bufferview_funcs.C: remove pointless Alert
4427 * buffer.C: fix confusing error message when
4428 a template is chmoded 000
4430 2003-03-29 John Levon <levon@movementarian.org>
4434 * BufferView_pimpl.C: Alert fixes
4438 * tabular-old.C: remove unused table compat reading
4440 2003-03-29 John Levon <levon@movementarian.org>
4445 * lyx_cb.C: more Alert cleanups
4447 * lyxfunc.C: don't allow chktex if not latex document
4449 2003-03-29 John Levon <levon@movementarian.org>
4453 * buffer.C: warnings pushed down from support/,
4456 2003-03-29 John Levon <levon@movementarian.org>
4458 * lyxfunc.C: safety check for C-r (revert)
4460 2003-03-29 John Levon <levon@movementarian.org>
4463 * bufferlist.C: several UI fixes using Alert::prompt.
4464 Fix the pointless looping quit code. Fix stupid revert
4469 * lyx_cb.C: use Alert::prompt
4471 * lyx_main.C: remove a silly question
4473 * lyxfunc.C: remove a couple of silly questions,
4476 2003-03-28 John Levon <levon@movementarian.org>
4478 * text2.C: fix bug 974 (End on empty par)
4480 2003-03-28 John Levon <levon@movementarian.org>
4482 * BufferView_pimpl.C:
4484 * lfuns.h: remove do-nothing math greek lfuns
4486 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4488 * lyxgluelength.h (isValidGlueLength): add default arg on
4489 parameter 2. Remove default arg from friend in class.
4491 * lyxlength.h (isValidLength): add default arg on parameter 2.
4492 Remove default arg from friend in class.
4494 * text2.C (LyXText): adjust, initialize refresh_row.
4498 (insertParagraph): adjst
4499 (redoParagraphs): adjust
4500 (fullRebreak): adjust
4501 (updateCounters): adjust
4502 (deleteEmptyParagraphMechanism): first attempt at fixing a
4505 * text.C (top_y): adjust
4506 (setHeightOfRow): adjust
4508 (getRowNearY): adjust
4510 * lyxtext.h: include RowList.h
4511 (~LyXText): not needed anymore, deleted.
4512 (firstRow): modify for RowList
4513 (lastRow): new function
4514 Delete firstrow and lastrow class variables, add a Rowlist
4515 rowlist_ class variable.
4517 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4520 * RowList.C (insert): fix case where it == begin().
4522 2003-03-26 Angus Leeming <leeming@lyx.org>
4524 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4525 the thesaurus dialog.
4527 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4529 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4531 * RowList.[Ch]: new files
4533 * ParagraphList.C (erase): handle the case where it == begin
4536 2003-03-25 John Levon <levon@movementarian.org>
4540 * aspell.C: add new aspell support
4543 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4546 2003-03-25 Angus Leeming <leeming@lyx.org>
4549 * LyXAction.C (init): new LFUN_INSET_INSERT.
4551 * BufferView_pimpl.C (dispatch): split out part of the
4552 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4554 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4557 2003-03-25 Angus Leeming <leeming@lyx.org>
4559 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4561 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4564 * text3.C: remove useless row->height(0)
4566 2003-03-25 John Levon <levon@movementarian.org>
4570 * text3.C: rename the refreshing stuff to better names
4572 2003-03-24 John Levon <levon@movementarian.org>
4574 * BufferView_pimpl.h:
4575 * BufferView_pimpl.C: update layout choice on a mouse
4578 2003-03-23 John Levon <levon@movementarian.org>
4580 * Makefile.am: fix commandtags.h reference
4582 2003-03-22 John Levon <levon@movementarian.org>
4584 * BufferView_pimpl.C:
4589 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4591 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4594 * text.C: take the rtl methods out of line
4596 2003-03-21 André Pönitz <poenitz@gmx.net>
4598 * metricsinfo.[Ch]: new files containing structures to be passed around
4599 during the two-phase-drawing...
4601 2003-03-21 André Pönitz <poenitz@gmx.net>
4603 * lyxtextclass.C: read 'environment' tag.
4605 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4607 * text2.C (removeRow): fix bug 964
4609 2003-03-20 John Levon <levon@movementarian.org>
4613 * text2.C: paint cleanups. Inset::update() dropped font
4616 2003-03-19 John Levon <levon@movementarian.org>
4618 * lyxfunc.C: only fitcursor/markDirty if available()
4620 2003-03-19 John Levon <levon@movementarian.org>
4622 * commandtags.h: rename to ...
4624 * lfuns.h: ... this, and renumber / cleanup
4626 2003-03-19 John Levon <levon@movementarian.org>
4628 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4629 fit the cursor after an lfun
4633 * BufferView_pimpl.h:
4634 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4636 * LyXAction.C: layout-character should have ReadOnly
4638 * ParagraphParameters.C:
4640 * bufferview_funcs.C:
4647 * undo_funcs.C: changes from above
4649 2003-03-18 John Levon <levon@movementarian.org>
4651 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4652 remove it from update()
4654 * lyxfunc.C: update layout choice after an lfun
4656 * text3.C: remove extra updateLayoutChoice()s
4658 2003-03-18 John Levon <levon@movementarian.org>
4660 * text.C: top_y change means full repaint, fix
4661 a drawing bug with cursor movement
4663 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4667 * text2.C: anchor row on setCursor
4669 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4671 * lyxtext.h: remove almost all mutable keywords
4674 * text3.C: remove const keywords accordingly
4676 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4678 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4680 (TeXEnvironment): ditto
4683 2003-03-17 John Levon <levon@movementarian.org>
4685 * text.C (rowBreakPoint): remove attempt to fix displayed
4686 math insets inside a manual label
4688 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4690 * lyxtext.h: remove BufferView* as first arg from almost all class
4692 * other files: adjust.
4694 2003-03-17 John Levon <levon@movementarian.org>
4698 * text2.C: more paint cleanups
4700 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4703 * rowpainter.C: remove "smart" background painting code
4705 2003-03-16 John Levon <levon@movementarian.org>
4710 * text3.C: add helper functions for setting refresh_row/y
4712 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4714 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4715 newline inset which *can* get inserted in the pass_thru layouts.
4716 This is primarily for literate documents.
4718 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4720 * buffer.C: increment LYX_FORMAT to 223
4722 2003-03-14 André Pönitz <poenitz@gmx.net>
4724 * textclass.h: prepare for environment handling, ws changes
4725 * lyxlayout.C: read latexheader and latexfooter tags
4727 2003-03-14 John Levon <levon@movementarian.org>
4729 * text2.C: rewrite ::status() a bit
4731 2003-03-13 John Levon <levon@movementarian.org>
4733 * lyxtext.h: add some docs
4735 2003-03-13 John Levon <levon@movementarian.org>
4740 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4742 2003-03-13 John Levon <levon@movementarian.org>
4744 * text3.C: fix appendix redrawing
4746 2003-03-13 John Levon <levon@movementarian.org>
4748 * text.C (setHeightOfRow):
4750 * rowpainter.C: make appendix mark have the text
4751 "Appendix" so the user knows what it is
4754 * LColor.C: s/appendixline/appendix/ from above
4756 2003-03-13 John Levon <levon@movementarian.org>
4758 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4760 * text.C: fix a getChar(pos) bug properly
4762 2003-03-13 Angus Leeming <leeming@lyx.org>
4765 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4766 Probably only temporary. Let's see how things pan out.
4768 * BufferView.C (unlockInset):
4769 * BufferView_pimpl.C (fitCursor):
4770 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4772 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4773 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4775 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4776 new functions that convert ParagraphParameters to and from a string.
4778 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4779 BufferView::Pimpl's dispatch.
4780 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4782 2003-03-13 André Pönitz <poenitz@gmx.net>
4786 * factory.C: make it aware of InsetEnv
4788 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4790 * text2.C (setCursor): never ask for one past last
4791 (setCursor): add some debugging messages.
4793 * text.C (singleWidth): never ask for one past last
4794 (singleWidth): ditto
4796 (rightMargin): ditto
4797 (rowBreakPoint): ditto
4798 (setHeightOfRow): ditto
4799 (prepareToPrint): ditto
4801 * rowpainter.C (paintBackground): never ask for one past last
4802 (paintText): never ask for one past last
4804 * paragraph_pimpl.C (getChar): make the assert stricter, never
4805 allow the one past last pos to be taken
4807 * paragraph.C (getChar): ws changes only
4809 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4810 (numberOfSeparators): ditto
4811 (numberOfHfills): ditto
4813 2003-03-12 John Levon <levon@movementarian.org>
4819 * paragraph_funcs.C: fix per-buffer authorlists
4821 2003-03-12 John Levon <levon@movementarian.org>
4823 * text.C: fix newline in right address
4825 2003-03-12 Angus Leeming <leeming@lyx.org>
4827 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4828 duplicate those in LyXFunc::dispatch.
4832 * ToolbarDefaults.C:
4833 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4834 Add LFUN_FONTFREE_UPDATE.
4836 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4837 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4839 * bufferview_func.[Ch]: several new functions to facilliate
4840 transfer of data to and from the character dialog.
4842 2003-03-12 John Levon <levon@movementarian.org>
4847 * paragraph_funcs.C:
4848 * paragraph_pimpl.C:
4852 * text3.C: remove META_NEWLINE in favour of an inset
4855 * rowpainter.C: remove paintNewline (done by inset)
4857 2003-03-12 John Levon <levon@movementarian.org>
4859 * paragraph_pimpl.C: complain about bad getChar()s
4860 for a while at least
4862 2003-03-12 John Levon <levon@movementarian.org>
4865 * buffer.C: move paragraph read into a separate function,
4866 a little renaming to reflect that.
4869 * bufferparams.C: remove the author_ids map, not necessary now
4872 * factory.C: moved Buffer::readInset to here
4874 * paragraph_funcs.h:
4875 * paragraph_funcs.C: readParagraph free function moved from
4878 * tabular.C: name change
4880 2003-03-12 John Levon <levon@movementarian.org>
4883 * ParagraphParameters.C: move par params input to
4886 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4887 behave like a normal read from the stream wrt reading
4888 a line vs. a \\token
4890 2003-03-12 John Levon <levon@movementarian.org>
4893 * ParagraphParameters.h:
4894 * ParagraphParameters.C: move output code to a
4897 2003-03-12 John Levon <levon@movementarian.org>
4899 * BufferView.C (insertLyXFile):
4902 * tabular.C: use a parlist iterator for creating the
4905 2003-03-12 John Levon <levon@movementarian.org>
4907 * buffer.C: make current_change static local not
4910 2003-03-12 John Levon <levon@movementarian.org>
4912 * buffer.C: fix insertStringAsLines for change tracking
4914 2003-03-12 John Levon <levon@movementarian.org>
4921 * bufferparams.C: move author list into params. Rename some
4922 functions. Move the header reading into a separate token
4923 loop. Move the header token reading into BufferParams.
4925 2003-03-12 John Levon <levon@movementarian.org>
4927 * changes.C: put debug inside lyxerr.debugging() checks
4929 2003-03-11 André Pönitz <poenitz@gmx.net>
4931 * factory.C: make it aware of InsetHFill
4933 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4935 * buffer.C (latexParagraphs): move function from here...
4936 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4939 2003-03-10 Angus Leeming <leeming@lyx.org>
4941 * LyXAction.C (init): fix bug in poplating array with multiple entries
4942 with the same LFUN (spotted by JMarc).
4944 2003-03-10 John Levon <levon@movementarian.org>
4947 * text2.C: move getColumnNearX() near its
4950 2003-03-10 John Levon <levon@movementarian.org>
4952 * text.C: fix break before a minipage
4954 2003-03-10 John Levon <levon@movementarian.org>
4956 * text.C: fix the last commit
4958 2003-03-09 John Levon <levon@movementarian.org>
4962 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4963 bug 365 (don't break before insets unless needed). Don't
4964 return a value > last under any circumstances.
4966 2003-03-09 Angus Leeming <leeming@lyx.org>
4968 * BufferView_pimpl.C (trackChanges, dispatch): call
4969 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4971 2003-03-09 Angus Leeming <leeming@lyx.org>
4973 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4974 than Dialogs::showAboutlyx().
4976 2003-03-09 Angus Leeming <leeming@lyx.org>
4978 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4979 than Dialogs::showTabularCreate().
4981 2003-03-09 John Levon <levon@movementarian.org>
4985 * text2.C: 3rd arg to nextBreakPoint was always the same.
4988 2003-03-08 John Levon <levon@movementarian.org>
4995 * text2.C: Remove the "main" bit from the "main body"
4998 2003-03-08 John Levon <levon@movementarian.org>
5000 * text.C (leftMargin): The left margin of an empty
5001 manual label paragraph should not include the label width
5004 * text.C (prepareToPrint): don't attempt to measure hfills
5005 for empty manual label paragraphs - the answer should be 0
5007 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5009 * CutAndPaste.C: remove commented code and reindent.
5011 2003-03-08 John Levon <levon@movementarian.org>
5014 * lyxfunc.C: move reloadBuffer()
5017 * BufferView.C: to here
5019 * lyxvc.C: add comment
5022 * vc-backend.C: call bv->reload() to avoid
5023 getStatus() check on MENURELOAD
5025 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5027 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5028 to an old format .dep file.
5030 2003-03-07 Angus Leeming <leeming@lyx.org>
5032 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5033 when the LFUN_MOUSE_RELEASE should have been handled by
5034 inset->localDispatch.
5036 2003-03-07 Angus Leeming <leeming@lyx.org>
5038 * BufferView_pimpl.C (dispatch):
5039 * LyXAction.C (init):
5040 * ToolbarDefaults.C (init):
5042 * lyxfunc.C (getStatus):
5043 remove LFUN_INSET_GRAPHICS.
5045 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5047 2003-03-07 Angus Leeming <leeming@lyx.org>
5050 * LyXAction.C (init):
5051 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5053 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5056 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5058 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5059 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5061 2003-03-07 Angus Leeming <leeming@lyx.org>
5063 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5066 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5068 * ParagraphList.C (front): new function
5071 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5073 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5074 and top_row_offset_. removed var first_y.
5076 * text2.C (LyXText, removeRow):
5078 * BufferView_pimpl.C:
5079 use these methods instead of using first_y
5081 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5083 * text2.C (pasteSelection): adjust for checkPastePossible
5085 * CutAndPaste.C: remove Paragraph * buf and replace with
5086 ParagraphList paragraphs.
5087 (DeleteBuffer): delete
5088 (cutSelection): change the tc type to textclass_type
5089 (copySelection): change the tc type to textclass_type
5090 (copySelection): adjust for ParagraphList
5091 (pasteSelection): change the tc type to textclass_type
5092 (pasteSelection): adjust for Paragraphlist
5093 (nrOfParagraphs): simplify for ParagraphList
5094 (checkPastePossible): simplify for ParagraphList
5095 (checkPastePossible): remove unused arg
5097 * ParagraphList.C (insert): handle the case where there are no
5100 * CutAndPaste.h: make CutAndPaste a namespace.
5102 * text3.C (dispatch): adjust
5104 * text.C (breakParagraph): add a ParagraphList as arg
5106 * paragraph_funcs.C (breakParagraph): change to take a
5107 BufferParams and a ParagraphList as args.
5108 (breakParagraphConservative): ditto
5109 (mergeParagraph): ditto
5110 (TeXDeeper): add a ParagraphList arg
5111 (TeXEnvironment): ditto
5114 * buffer.C (readLyXformat2): adjust
5115 (insertStringAsLines): adjust
5116 (latexParagraphs): adjust
5118 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5119 (cutSelection): adjust
5120 (pasteSelection): adjust
5122 * BufferView_pimpl.C (insertInset): adjust
5124 2003-03-05 Angus Leeming <leeming@lyx.org>
5127 * LyXAction.C (init):
5128 * BufferView_pimpl.C (dispatch):
5129 * lyxfunc.C (getStatus):
5130 remove LFUN_CHILD_INSERT.
5132 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5134 2003-03-05 Angus Leeming <leeming@lyx.org>
5137 * LyXAction.C (init):
5138 * src/factory.C (createInset):
5139 * lyxfunc.C (getStatus):
5140 * text3.C (dispatch):
5141 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5143 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5145 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5147 * ParagraphList.C (insert): handle insert right before end()
5148 (erase): fix cases where it can be first or last paragraph.
5150 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5152 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5153 Paragraph::next and Paragraph::previous
5156 * text.C (breakParagraph): adjust
5158 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5159 BufferParams& as arg.
5160 (breakParagraph): use ParagraphList::insert
5161 (breakParagraphConservative): take a Buffer* instead of a
5162 BufferParams& as arg.
5163 (breakParagraphConservative): use ParagraphList::insert.
5165 * buffer.C (insertStringAsLines): un-const it
5166 (insertStringAsLines): adjust
5168 * ParagraphList.C (insert): new function
5170 * CutAndPaste.C (pasteSelection): adjust
5172 * text.C (backspace): adjust
5174 * tabular.C (SetMultiColumn): adjust
5176 * CutAndPaste.C (cutSelection): adjust
5177 (pasteSelection): adjust
5179 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5180 Buffer const * as arg
5182 * ParagraphList.C (erase): new function
5183 * paragraph_funcs.C (mergeParagraph): use it
5184 (mergeParagraph): make it take a Buffer* instead of a
5185 BufferParams* as arg
5187 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5189 (breakParagraphConservative): ditto
5191 * paragraph.h: remove the breakParagraph friend
5193 * paragraph.C (eraseIntern): new function
5194 (setChange): new function
5196 * paragraph_funcs.C (mergeParagraph): make it take a
5197 ParagraphList::iterator instead of a Paragraph *, adjust
5200 * paragraph.h: move an #endif so that the change tracking stuff
5201 also works in the NO_NEXT case.
5203 2003-03-04 Angus Leeming <leeming@lyx.org>
5206 * LyXAction.C: new LFUN_INSET_MODIFY.
5208 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5209 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5211 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5213 * several files: ws changes only
5215 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5216 (TeXEnvironment): ditto
5219 * buffer.C (makeLaTeXFile): adjust
5220 (latexParagraphs): make it take ParagraphList::iterator as args
5222 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5224 * buffer.C (latexParagraphs): adjust
5226 * paragraph.C (TeXOnePar): move function...
5227 (optArgInset): move function...
5228 (TeXEnvironment): move function...
5229 * paragraph_pimpl.C (TeXDeeper): move function...
5230 * paragraph_funcs.C: ...here
5232 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5234 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5236 * buffer.C (readInset): remove compability code for old Figure and
5239 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5241 * buffer.C: ws changes
5244 * BufferView_pimpl.C: ditto
5247 * bufferlist.h: ditto
5251 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5253 * converter.[Ch]: split into itself +
5256 * Makefile.am: += graph.[Ch] + format.[Ch]
5263 * lyxrc.C: added #include "format.h"
5265 2003-02-27 Angus Leeming <leeming@lyx.org>
5267 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5270 * factory.C (createInset): add "label" to the factory.
5272 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5273 string and do no more.
5275 2003-02-27 Angus Leeming <leeming@lyx.org>
5278 * LyXAction.C (init):
5279 * factory.C (createInset):
5280 * BufferView_pimpl.C (dispatch):
5281 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5283 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5285 * lyxfunc.C (dispatch):
5286 * text3.C (dispatch): pass name to params2string.
5288 2003-02-26 Angus Leeming <leeming@lyx.org>
5290 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5292 Rearrange the ~includes. Strip out the unnecessary ones.
5294 * factory.C (createInset): reformat.
5295 create new insets for the various LFUN_XYZ_APPLY lfuns.
5297 2003-02-26 John Levon <levon@movementarian.org>
5300 * lyxrow.C: add isParStart,isParEnd helpers
5302 * paragraph.h: make isInserted/DeletedText take refs
5304 * paragraph_funcs.h:
5305 * paragraph_funcs.C: remove #if 0'd code
5310 * text.C: use lyxrow helpers above.
5311 Move draw and paint routines to RowPainter.
5312 Make several methods use refs not pointers.
5313 Make backgroundColor() const.
5314 Add markChangeInDraw(), isInInset().
5315 Merge changeRegionCase into changeCase.
5316 Make workWidth() shouldn't-happen code into an Assert.
5319 * rowpainter.C: new class for painting a row.
5322 * vspace.C: make inPixels take a ref
5324 2003-02-26 Angus Leeming <leeming@lyx.org>
5326 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5329 2003-02-25 John Levon <levon@movementarian.org>
5331 * ispell.C: give the forked command a more accurate name
5333 2003-02-22 John Levon <levon@movementarian.org>
5336 * toc.C: make TocItem store an id not a Paragraph *
5339 2003-02-21 Angus Leeming <leeming@lyx.org>
5341 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5342 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5343 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5344 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5345 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5346 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5348 * BufferView_pimpl.C (dispatch):
5349 * LyXAction.C (init):
5350 * factory.C (createInset):
5351 * lyxfunc.C (getStatus, dispatch):
5352 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5354 2003-02-21 Angus Leeming <leeming@lyx.org>
5356 * BufferView_pimpl.C (MenuInsertLyXFile):
5357 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5358 * lyxfunc.C (menuNew, open, doImport):
5359 no longer pass a LyXView & to fileDlg.
5361 2003-02-21 Angus Leeming <leeming@lyx.org>
5363 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5364 * LyXAction.C: change, BIBKEY to BIBITEM.
5365 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5366 Change InsetBibKey to InsetBibitem.
5367 Change BIBKEY_CODE to BIBITEM_CODE.
5368 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5369 * factory.C: replace insetbib.h with insetbibitem.h.
5370 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5371 * paragraph.C: replace insetbib.h with insetbibitem.h.
5372 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5373 Change bibkey() to bibitem().
5374 * text.C: remove insetbib.h.
5375 * text2.C: replace insetbib.h with insetbibitem.h.
5376 change bibkey() to bibitem().
5377 * text3.C: remove insetbib.h.
5378 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5380 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5382 * lyxrc.C (output): enclose user email in quotes (in case there are
5385 2003-02-18 John Levon <levon@movementarian.org>
5387 * buffer.h: add std::
5389 2003-02-17 John Levon <levon@movementarian.org>
5395 * pspell.C: reworking. Especially in ispell, a large
5396 number of clean ups and bug fixes.
5398 * lyxfunc.C: fix revert to behave sensibly
5400 2003-02-17 André Pönitz <poenitz@gmx.net>
5403 * commandtags.h: new LFUN_INSERT_BIBKEY
5413 * paragraph_func.C: remove special bibkey handling
5415 2003-02-17 John Levon <levon@movementarian.org>
5417 * text.C (Delete): fix case where delete at the end of
5418 the very first paragraph would not merge the pars
5420 2003-02-17 John Levon <levon@movementarian.org>
5422 * lyxrow.C: fix lastPrintablePos()
5424 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5426 * bufferparams.C (writeLaTeX): add a std:here
5428 * buffer.C: and remove a using directive there
5430 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5432 * buffer.C (makeLaTeXFile): move the code that generates the
5435 * bufferparams.C (writeLaTeX): ... in this new method
5437 * LaTeXFeatures.C (getEncodingSet): make const
5438 (getLanguages): make const
5440 * MenuBackend.C (binding): returns the binding associated to this
5442 (add): sets the status of each item by calling getStatus. Adds
5444 (read): add support for OptSubMenu
5445 (expand): remove extra separator at the end of expanded menu
5447 2003-02-15 John Levon <levon@movementarian.org>
5450 * BufferView_pimpl.C:
5452 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5453 inset code that had no actual effect. Remove unneeded status
5456 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5458 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5461 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5463 * text.C (drawLengthMarker): also draw an arrow marker for
5464 symbolic lengths (medskip...)
5466 2003-02-14 John Levon <levon@movementarian.org>
5469 * tabular.C: better method names
5471 2003-02-14 John Levon <levon@movementarian.org>
5473 * BufferView_pimpl.C:
5478 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5479 it's a more accurate name. Remove some pointless uses.
5481 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5483 * text2.C (LyXText): change order of initilizers to shut off
5486 2003-02-14 John Levon <levon@movementarian.org>
5488 * buffer.C: use ParIterator for getParFromID()
5492 * paragraph_pimpl.h:
5493 * paragraph_pimpl.C: remove unused getParFromID()
5495 2003-02-14 John Levon <levon@movementarian.org>
5497 * buffer.C: remove some very old #if 0'd parse code
5499 2003-02-13 John Levon <levon@movementarian.org>
5503 * text2.C: move hfillExpansion(), numberOfSeparators(),
5504 rowLast(), rowLastPrintable(), numberofHfills(),
5505 numberOfLabelHfills() ...
5508 * lyxrow.C: ... to member functions here.
5513 * text.C: remove LyXText::beginningOfMainBody(), and call
5514 p->beginningOfMainBody() directly. Move the check for
5515 LABEL_MANUAL into the latter.
5522 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5528 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5529 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5531 2003-02-13 John Levon <levon@movementarian.org>
5533 * CutAndPaste.C: remove debug
5535 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5537 * paragraph.C (asString): remove two unused variables
5539 * lyxtextclass.C (readTitleType):
5541 (LyXTextClass): handle new members titletype_ and titlename_
5543 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5545 2003-02-09 John Levon <levon@movementarian.org>
5548 * buffer.C: replace hand-coded list with a map for the dep clean
5550 2003-02-08 John Levon <levon@movementarian.org>
5552 * LaTeX.C: consolidate code into showRunMessage() helper
5554 2003-02-08 John Levon <levon@movementarian.org>
5559 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5560 and pass the size in explicitly
5562 * BufferView_pimpl.h:
5563 * BufferView_pimpl.C:
5565 * BufferView.C: add getCurrentChange()
5567 * BufferView_pimpl.h:
5568 * BufferView_pimpl.C: handle change lfuns
5570 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5571 for changes. Mark pasted paragraphs as new.
5573 * support/lyxtime.h:
5574 * support/lyxtime.C:
5575 * DepTable.C: abstract time_t as lyx::time_type
5578 * LColor.C: add colours for new text, deleted text, changebars
5580 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5581 package use "usenames" option.
5585 * LyXAction.C: add change lfuns
5589 * author.C: author handling
5592 * buffer.C: add a per-buffer author list, with first entry as
5593 current author. Handle new .lyx tokens for change tracking. Output
5594 author list to .lyx file. Output dvipost stuff to .tex preamble.
5595 Bump lyx format to 222.
5598 * bufferlist.C: add setCurrentAuthor() to reset current author details
5602 * bufferparams.C: add param for tracking
5604 * bufferview_funcs.C: output change info in minibuffer
5608 * changes.C: add change-tracking structure
5611 * debug.C: add CHANGES debug flag
5614 * lyxfind.C: add code for finding the next change piece
5617 * lyxrc.C: add user_name and user_email
5620 * lyxrow.C: add a metric for the top of the text line
5623 * text.C: implement accept/rejectChange()
5626 * text.C: paint changebars. Paint new/deleted text in the chosen
5627 colours. Strike through deleted text.
5631 * paragraph_pimpl.h:
5632 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5633 in the current change to the insert functions. Rework erase to
5634 mark text as deleted, adding an eraseIntern() and a range-based
5635 erase(). Implement per-paragraph change lookup and
5638 * paragraph_funcs.C: Fixup paste for change tracking.
5640 * tabular.C: mark added row/columns as new.
5642 * text.C: fix rowLast() to never return -1. Don't allow
5643 spellchecking of deleted text. Track transpose changes. Don't
5644 allow paragraph break or merge where appropriate.
5646 * text2.C: leave cursor at end of selection after a cut.
5648 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5650 * text.C (getLengthMarkerHeight):
5651 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5652 visible on screen too.
5654 2003-02-07 John Levon <levon@movementarian.org>
5656 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5658 2003-02-05 Angus Leeming <leeming@lyx.org>
5660 * lyxserver.C (read_ready): revert my patch of 11 September last year
5661 as it sends PC cpu through the roof. Presumably this means that
5662 the lyxserver will no longer run on an Alpha...
5664 2003-01-30 Angus Leeming <leeming@lyx.org>
5666 * factory.C (createInset): create an InsetCommandParam of type "index"
5667 and use it to 'do the right thing'.
5669 * text2.C (getStringToIndex): ensure that cursor position is always
5670 reset to the reset_cursor position.
5672 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5674 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5677 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5681 * lyxfunc.C: Output messages with identical spelling, punctuation,
5684 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5686 * MenuBackend.C (expandFormats): List only viewable export formats
5689 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5692 * lyxfunc.C (getStatus): Make sure that formats other than
5693 "fax" can also be disabled
5695 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5697 * text3.C (dispatch): put the lfuns that insert insets in 3
5698 groups, and call doInsertInset with appropriate arguments.
5699 (doInsertInset): new function, that creates an inset and inserts
5700 it according to some boolean parameters.
5702 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5704 * buffer.C (readFile): remember to pass on 'par' when calling
5705 readFile recursively.
5707 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5709 * MenuBackend.C (expandFormats): add "..." to import formats.
5711 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5713 * paragraph.C (asString): Remove XForms RTL hacks.
5715 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5716 * buffer.C: fix typo
5718 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5720 * Makefile.am (LIBS): delete var
5721 (lyx_LDADD): add @LIBS@ here instead.
5723 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5725 * Clarify the meaning of "wheel mouse jump"
5727 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5729 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5732 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5734 * importer.C (Loaders): do not preallocate 3 elements in the
5735 vector, since one ends up with 6 elements otherwise
5737 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5739 * DepTable.C (write): write the file name as last element of the
5740 .dep file (because it may contain spaces)
5741 (read): read info in the right order
5743 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5745 * paragraph_pimpl.C (simpleTeXBlanks):
5746 (simpleTeXSpecialChars):
5747 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5749 * tabular.C (latex): add some missing case statements. Reindent.
5751 * MenuBackend.C (expandToc): remove unused variable.
5753 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5762 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5765 2003-01-05 John Levon <levon@movementarian.org>
5768 * BufferView.C: add getEncoding()
5771 * kbsequence.C: do not store last keypress
5774 * lyxfunc.C: store last keypress here instead. Pass encoding
5777 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5779 * lyx_main.C (init): remove annoying error message when following
5780 symbolic links (bug #780)
5782 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5784 * text.C (insertChar):
5785 * lyxrc.C (getDescription): remove extra spaces
5787 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5789 * lyxrc.C (getDescription): remove extra spaces
5791 2002-12-20 John Levon <levon@movementarian.org>
5793 * text3.C: hack fix for page up/down across tall rows
5795 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5797 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5800 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5802 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5803 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5804 thesaurus is not compiled in
5806 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5808 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5810 2002-12-16 Angus Leeming <leeming@lyx.org>
5813 * lyx_main.C (init): remove override_x_deadkeys stuff.
5815 2002-12-12 John Levon <levon@movementarian.org>
5817 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5818 insert. Only remove shift modifier under strict
5821 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5823 * MenuBackend.C (expandToc): fix crash.
5825 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5827 * MenuBackend.C (expandToc): gettext on float names.
5829 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5831 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5832 implement bool empty() [bug 490]
5834 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5836 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5838 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5840 * several files: ws changes
5842 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5844 * text2.C (setCounter): clean up a bit, use boost.format.
5845 (updateCounters): initialize par upon declaration.
5847 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5848 if the layout exists. We do not just store the layout any more.
5849 (SwitchLayoutsBetweenClasses): use boost.format
5851 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5853 * converter.C (convert): if from and to files are the same, use a
5854 temporary files as intermediary
5856 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5859 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5861 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5863 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5865 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5867 * tabular.C (asciiPrintCell): use string(size, char) instead of
5870 * sgml.C (openTag): fix order of arguments to string constructor
5873 * lyxfunc.C (dispatch): use boost.format
5875 * lots of files: change "c" -> 'c'
5877 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5879 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5881 2002-11-25 Angus Leeming <leeming@lyx.org>
5883 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5885 * lyx_main.C (init): compile fix.
5887 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5889 * lyx_cb.C (start): boost.formatify
5890 do not include <iostream>
5892 * lengthcommon.C: ws only
5894 * boost-inst.C,BoostFormat.h: add more explict instantations
5896 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5898 * lots of files: handle USE_BOOST_FORMAT
5900 2002-11-21 John Levon <levon@movementarian.org>
5902 * pspell.C: fix compile
5904 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5906 * lyxfunc.C (dispatch): use boost::format
5910 * lyxfont.C (stateText): use boost::format
5912 * lyx_main.C (LyX): use boost::format
5914 (queryUserLyXDir): ditto
5917 (typedef boost::function): use the recommened syntax.
5919 * importer.C (Import): use boost::format
5921 * debug.C (showLevel): use boost::format
5923 * converter.C (view): use boost::format
5928 * bufferview_funcs.C (currentState): use boost::format
5930 * bufferlist.C (emergencyWrite): use boost::format
5932 * buffer.C (readLyXformat2): use boost::format
5933 (parseSingleLyXformat2Token): ditto
5935 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5937 * LaTeX.C (run): use boost::format
5939 * Chktex.C (scanLogFile): use boost::format
5941 * BufferView_pimpl.C (savePosition): use boost::format
5942 (restorePosition): ditto
5943 (MenuInsertLyXFile): ditto
5945 * BoostFormat.h: help file for explicit instation.
5947 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5949 * tabular.C (latex): Support for block alignment in fixed width
5952 2002-11-17 John Levon <levon@movementarian.org>
5954 * BufferView_pimpl.C:
5956 * lyxfunc.C: split filedialog into open/save
5958 2002-11-08 Juergen Vigna <jug@sad.it>
5960 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5961 by my last patch (hopefully).
5963 2002-11-08 John Levon <levon@movementarian.org>
5972 * toc.C: ParConstIterator, and use it (from Lars)
5974 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5976 * lyxtextclass.[Ch]: revise and add doxygen comments
5978 2002-11-07 John Levon <levon@movementarian.org>
5980 * text.C: fix progress value for spellchecker
5982 * toc.C: fix navigate menu for insetwrap inside minipage
5984 * paragraph_funcs.C: added FIXME for suspect code
5986 2002-11-07 John Levon <levon@movementarian.org>
5988 * BufferView_pimpl.C: fix redrawing of insets
5991 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5993 * text2.C (updateCounters): fix bug 668
5995 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5997 * text3.C (dispatch): Do not make the buffer dirty when moving the
6000 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6002 * vc-backend.C: STRCONV
6005 * text2.C (setCounter): STRCONV
6007 * paragraph.C (asString): STRCONV
6009 * lyxlength.C (asString): STRCONV
6010 (asLatexString): ditto
6012 * lyxgluelength.C (asString): STRCONV
6013 (asLatexString): ditto
6015 * lyxfunc.C (dispatch): STRCONV
6018 * lyxfont.C (stateText): STRCONV
6020 * importer.C (Import): STRCONV
6022 * counters.C (labelItem): STRCONV
6023 (numberLabel): ditto
6024 (numberLabel): remove unused ostringstream o
6029 * bufferview_funcs.C (currentState): STRCONV
6031 * buffer.C (readFile): STRCONV
6032 (asciiParagraph): ditto
6033 (makeLaTeXFile): ditto
6035 * Spacing.C (writeEnvirBegin): STRCONV
6037 * LaTeXFeatures.C (getLanguages): STRCONV
6038 (getPackages): ditto
6040 (getBabelOptions): ditto
6041 (getTClassPreamble): ditto
6042 (getLyXSGMLEntities): ditto
6043 (getIncludedFiles): ditto
6047 (scanAuxFile): ditto
6050 * LString.h: add the STRCONV macros
6052 * BufferView_pimpl.C (savePosition): STRCONV
6053 (restorePosition): ditto
6054 (MenuInsertLyXFile): ditto
6056 * vc-backend.C (scanMaster): change from submatch[...] to
6059 * funcrequest.C: include config.h
6061 * factory.C: include config.h
6063 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6065 * box.C: include config.h
6067 * LaTeX.C (scanAuxFile): change from submatch[...] to
6071 2002-10-25 Angus Leeming <leeming@lyx.org>
6073 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6075 * ispell.[Ch] (setError): new method.
6076 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6077 Use setError() insetead of goto END.
6079 * lyx_cb.C (AutoSave): move out child process into new class
6082 2002-10-30 John Levon <levon@movementarian.org>
6084 * text3.C: make start appendix undoable
6086 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6088 * lyxlength.C (inPixels): Fix returned value.
6090 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6093 2002-10-24 Angus Leeming <leeming@lyx.org>
6095 * lyxgluelength.h: no need to forward declare BufferParams
6096 or BufferView, so don't.
6098 2002-10-21 John Levon <levon@movementarian.org>
6100 * BufferView.C: menuUndo ->undo, redo
6102 * BufferView.h: document, remove dead, make some methods private
6104 * paragraph_funcs.h:
6105 * paragraph_funcs.C:
6106 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6111 * sgml.C: move sgml open/close tag into sgml.C
6113 * bufferview_funcs.h: unused prototype
6116 * lyxfunc.C: remove unused
6119 * text.C: remove unused
6121 2002-10-21 John Levon <levon@movementarian.org>
6125 * BufferView_pimpl.h:
6126 * BufferView_pimpl.C: fix mouse wheel handling based on
6127 patch from Darren Freeman
6129 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6131 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6133 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6135 * lyxlength.C (inPixels): Fix hanfling of negative length.
6136 Fix LyXLength::MU case.
6138 2002-10-16 John Levon <levon@movementarian.org>
6140 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6142 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6144 * converter.C (view): add support for $$i (file name) and $$p
6145 (file path) for the viewer command. If $$i is not specified, then
6146 it is appended to the command (for compatibility with old syntax)
6148 2002-10-14 Juergen Vigna <jug@sad.it>
6150 * undo_funcs.C (textHandleUndo): alter the order in which the
6151 new undopar is added to the LyXText, as we have to set first
6152 the right prev/next and then add it as otherwise the rebuild of
6153 LyXText is not correct. Also reset the cursor to the right paragraph,
6154 with this IMO we could remove the hack in "redoParagraphs()".
6156 2002-10-09 Angus Leeming <leeming@lyx.org>
6158 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6159 to turn off an optimisation if a new inset is to be inserted.
6161 2002-10-11 André Pönitz <poenitz@gmx.net>
6163 * lyxtext.h: make some functions public to allow access
6164 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6166 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6168 * text3.C (dispatch): when changing layout, avoid an infinite loop
6171 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6173 * lyxrc.C (read): treat a viewer or converter command of "none" as
6176 * MenuBackend.C (expandFormats): for an update, also allow the
6177 formats that are not viewable
6179 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6180 script if it is newer than the lyxrc.defaults in user directory
6182 2002-10-07 André Pönitz <poenitz@gmx.net>
6184 * text.C: Vitaly Lipatov's small i18n fix
6186 2002-09-25 Angus Leeming <leeming@lyx.org>
6188 * ispell.h: doxygen fix.
6190 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6192 * buffer.h (readFile): Add a new argument to the method, to allow
6193 reading of old-format templates.
6195 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6197 * toc.C (getTocList): Get TOC from InsetWrap.
6199 2002-09-16 John Levon <levon@movementarian.org>
6201 * lyxfunc.C: check tabular for cut/copy too
6203 2002-09-12 John Levon <levon@movementarian.org>
6208 * factory.C: add header
6210 * paragraph_funcs.h:
6211 * paragraph_funcs.C: cleanup
6213 2002-09-11 John Levon <levon@movementarian.org>
6215 * PrinterParams.h: odd/even default to true
6217 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6219 * PrinterParams.h: update printer parameters for new xforms dialog
6221 2002-09-11 Angus Leeming <leeming@lyx.org>
6223 * lyxserver.C (read_ready): re-write to make it more transparent
6224 and to make it work in coherent fashion under Tru64 Unix.
6226 2002-09-11 André Pönitz <poenitz@gmx.net>
6230 * text3.C: implement LFUN_WORDSEL
6232 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6234 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6235 make floatlist_ a boost::shared_ptr<FloatList>
6237 * lyxtextclass.C: include FloatList.h
6238 (LyXTextClass): initialize floatlist_
6239 (TextClassTags): add TC_NOFLOAT
6240 (Read): match "nofloat" to TC_NOFLOAT and use it.
6241 (readFloat): modify call to floatlist_
6245 * FloatList.[Ch] (FloatList): remove commented out float
6247 (erase): new function
6249 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6251 * MenuBackend.C (expandToc): fix crash when there is no document
6254 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6256 * many files: Add insetwrap.
6258 2002-09-09 John Levon <levon@movementarian.org>
6260 * text2.C: remove confusing and awkward depth wraparound
6262 2002-09-09 John Levon <levon@movementarian.org>
6264 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6267 * buffer.C: remove getIncludeonlyList()
6270 * lyxfunc.C: remove headers
6272 2002-09-09 Juergen Vigna <jug@sad.it>
6274 * text.C (getColumnNearX): fix form Michael this is most
6275 probably a cut&paste bug.
6277 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6279 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6281 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6282 references, ws changes.
6284 * text2.C (init): update counters after init
6285 (insertParagraph): no need to set counter on idividual paragraphs.
6286 (setCounter): access the counters object in the textclass object
6287 on in the buffer object.
6288 (updateCounters): ditto
6290 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6291 shared_ptr<Counters> to avoid loading counters.h in all
6293 (LyXTextClass): initialize ctrs_
6294 (TextClassTags): add TC_COUNTER, and ...
6295 (Read): use it here.
6296 (CounterTags): new tags
6297 (readCounter): new function
6298 (counters): new funtion
6299 (defaultLayoutName): return a const reference
6301 * counters.C (Counters): remove contructor
6302 (newCounter): remove a couple of unneeded statements.
6303 (newCounter): simplify a bit.
6304 (numberLabel): some small formatting changes.
6306 * buffer.[Ch]: remove all traces of counters, move the Counters
6307 object to the LyXTextClass.
6309 2002-09-06 Alain Castera <castera@in2p3.fr>
6311 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6312 package to set the horizontal alignment on fixed width columns.
6315 * lyx_sty.h: added tabularnewline macro def.
6317 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6319 2002-09-06 John Levon <levon@movementarian.org>
6321 * LyXAction.C: tooltips for sub/superscript
6323 * MenuBackend.C: a bit more verbose
6325 * lyxfunc.C: tiny clean
6327 * undo_funcs.C: document undo_frozen
6329 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6331 * counters.C (Counters): add missing algorithm counter.
6333 * text2.C (setCounter): lookup the counter with layouts latexname
6334 instead of by section number.
6335 (setCounter): use a hackish way to lookup the correct enum
6337 a float name->type change
6338 reset enum couners with counter name directly instead of depth value.
6340 * counters.C (Counters): remove the push_backs, change to use the
6341 float type not the float name.
6342 (labelItem): remove unused string, float name->type change
6344 * counters.h: don't include vector, loose the enums and sects vectors
6346 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6348 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6349 (Read): add float->TC_FLOAT to textclassTags
6350 (Read): and handle it in the switch
6351 (readFloat): new function
6353 * FloatList.C (FloatList): comment out the hardcoded float
6356 * lyxlayout.h: ws change.
6358 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6360 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6362 2002-09-03 Angus Leeming <leeming@lyx.org>
6364 * BufferView_pimpl.h: qualified name is not allowed in member
6365 declaration: WorkArea & Pimpl::workarea() const;
6367 * factory.C: added using std::endl directive.
6369 * text3.C: added using std::find and std::vector directives.
6371 2002-08-29 André Pönitz <poenitz@gmx.net>
6374 * text2.C: remove unused member number_of_rows
6377 * BufferView2.C: remove file, move contents to...
6378 * BufferView.C: ... here
6380 * BufferView_pimpl.C:
6381 * factory.C: move more inset creation to factory
6383 * vspace.C: avoid direct usage of LyXText, ws changes
6386 don't provide direct access to WorkArea, use two simple
6387 acessors haveSelction() and workHeight() instead
6390 2002-08-29 John Levon <levon@movementarian.org>
6392 * BufferView_pimpl.C (dispatch): do not continue when
6395 2002-08-28 André Pönitz <poenitz@gmx.net>
6397 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6400 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6402 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6404 * buffer.C: increment LYX_FORMAT to 221
6406 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6407 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6409 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6411 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6413 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6415 * factory.C (createInset): use LyXTextClass::floats
6417 * MenuBackend.C (expandFloatListInsert):
6418 (expandFloatInsert):
6421 * text2.C (setCounter):
6423 * LaTeXFeatures.C (useFloat):
6424 (getFloatDefinitions):
6426 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6428 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6429 floatlist_, with accessor floats().
6431 * FloatList.h: remove global FloatList
6433 2002-08-26 André Pönitz <poenitz@gmx.net>
6435 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6439 * BufferView_pimpl.C:
6440 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6442 2002-08-25 John Levon <levon@movementarian.org>
6444 * LyXAction.C: fix margin note description
6446 2002-08-24 John Levon <levon@movementarian.org>
6450 * bufferview_funcs.C:
6452 * undo_funcs.C: cleanups
6454 * lyxfunc.C: disable CUT/COPY when no selection
6456 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6458 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6459 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6461 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6462 Add backward compatibility to "mono", "gray" and "no".
6464 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6466 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6467 (and file_format >= 200).
6469 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6471 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6473 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6475 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6477 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6479 * BufferView_pimpl.C:
6486 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6487 inset and code to make it work with the paragraph code. The inset
6488 can be anywhere in the paragraph, but will only do the expected
6489 thing in LaTeX if the layout file contains the parameter line
6491 (or more generally, a nonzero value) for that layout.
6493 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6495 * paragraph.h: remove the declaration of undefined counters class
6498 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6500 * text2.C (setCounter): fixed enumeration mis-count as reported by
6501 Dr. Richard Hawkins.
6503 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6505 * paragraph_funcs.h: remove some unneeded includes
6507 * text.C (backspace): pasteParagraph now in global scipe
6509 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6510 (pasteSelection): ditto
6512 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6513 * paragraph_funcs.C (pasteParagraph): ... here
6515 2002-08-20 André Pönitz <poenitz@gmx.net>
6517 * commandtags.h: new LFUNs for swapping/copying table row/colums
6520 * lyxfunc.C: support for new lfuns
6522 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6525 * buffer.[Ch]: remove NO_COMPABILITY stuff
6527 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6529 * boost.C (throw_exception): new file, with helper function for
6530 boost compiled without exceptions.
6535 * ParameterStruct.h:
6536 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6538 * bufferlist.C (emergencyWriteAll): use boost bind
6540 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6542 * text.C: include paragraph_funcs.h
6543 (breakParagraph): breakParagraph is now in global scope
6545 * paragraph_funcs.[Ch]: new files
6547 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6550 * buffer.C: include paragraph_funcs.h
6551 (insertStringAsLines): breakParagraph is now in global scope
6553 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6556 * CutAndPaste.C: include paragraph_funcs.h
6557 (cutSelection): breakParagraphConservative is now in global scope
6558 (pasteSelection): ditto
6560 * buffer.h: declare oprator== and operator!= for
6561 Buffer::inset_iterator
6563 * bufferlist.C (emergencyWrite): don't use fmt(...)
6565 * text3.C: add using std::endl
6567 * BufferView.C (moveCursorUpdate): remove default arg
6569 2002-08-20 André Pönitz <poenitz@gmx.net>
6571 * buffer.[Ch]: move inline functions to .C
6574 * BufferView_pimpl.C:
6576 * buffer.[Ch]: use improved inset_iterator
6579 * paragraph.[Ch]: write one paragraph at a time
6581 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6583 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6584 style if style is not specified.
6586 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6588 * text2.C (setCounter): when searching for right label for a
6589 caption, make sure to recurse to parent insets (so that a caption
6590 in a minipage in a figure float works) (bug #568)
6592 2002-08-20 André Pönitz <poenitz@gmx.net>
6594 * text3.C: new file for LyXText::dispatch() and helpers
6596 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6598 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6600 2002-08-19 André Pönitz <poenitz@gmx.net>
6603 * text.C: new LyXText::dispatch()
6605 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6607 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6609 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6611 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6614 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6616 * Makefile.am: use $(variables) instead of @substitutions@
6618 2002-08-15 André Pönitz <poenitz@gmx.net>
6621 * BufferView_pimpl.C: streamlining mathed <-> outer world
6625 * LyXAction.C: remove unused LFUN_MATH
6627 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6629 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6631 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6633 * paragraph.C (Paragraph): reformat a bit
6634 (cutIntoMinibuffer): use builtin InsetList function instad of
6638 * buffer.C: include boost/bind.hpp, add using std::for_each
6639 (writeFileAscii): use ParagraphList iterators
6640 (validate): use for_each for validate traversal of paragraphs
6641 (getBibkeyList): use ParagraphList iterators
6642 (resizeInsets): use for_each to resizeInsetsLyXText for all
6644 (getParFromID): use ParagraphList iterators
6646 * BufferView2.C (lockInset): use paragraph list and iterators
6648 2002-08-14 John Levon <levon@movementarian.org>
6650 * lyxserver.C: remove spurious xforms include
6652 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6654 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6656 2002-08-13 André Pönitz <poenitz@gmx.net>
6659 * lyxfunc.C: further cleaning
6661 2002-08-13 André Pönitz <poenitz@gmx.net>
6663 * funcrequest.h: new constructor
6665 * funcrequest.C: move stuff here from .h
6668 * BufferView_pimpl.C:
6671 * lyxfunc.C: subsequent changes
6673 * lyxfunc.h: new view() member function
6675 * lyxfunc.C: subsequent changes
6677 2002-08-13 Angus Leeming <leeming@lyx.org>
6680 * BufferView_pimpl.C:
6688 changes due to the changed LyXView interface that now returns references
6689 to member variables not pointers.
6691 2002-08-13 Angus Leeming <leeming@lyx.org>
6693 * WordLangTuple (word, lang_code): return references to strings,
6698 * lyxtext.h: forward-declare WordLangTuple.
6703 * text.C: #include "WordLangTuple.h".
6706 * text.C: (selectNextWordToSpellcheck): constify return type.
6708 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6714 * paragraph_pimpl.h:
6717 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6719 Made updateCounter always count from start of buffer, and removed
6720 second argument (par).
6721 Reverted floats number display to '#'. Perhaps I'll try again when the
6722 code base is sanitized a bit.
6724 2002-08-12 Angus Leeming <leeming@lyx.org>
6726 * buffer.[Ch] (getLabelList): constify.
6728 2002-08-07 André Pönitz <poenitz@gmx.net>
6730 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6732 * funcrequest.h: extension to keep mouse (x,y) position
6734 2002-08-12 Juergen Vigna <jug@sad.it>
6736 * BufferView2.C (insertErrors): forbid undo when inserting error
6739 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6741 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6743 * ParagraphList.[Ch]: new files
6745 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6747 * BufferView2.C (lockInset): ParagraphList changes
6750 * bufferlist.C: ditto
6754 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6756 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6757 unused class variable counter_,
6759 * paragraph.[Ch] (getFirstCounter): delete unused function
6761 * counters.C: include LAssert.h
6762 (reset): add a new function with no arg, change other version to
6763 not have def. arg and to not allow empty arg.
6765 * text2.C (setCounter): remove empty arg from call to Counters::reset
6767 2002-08-11 John Levon <levon@movementarian.org>
6769 * Makefile.am: add WordLangTuple.h
6771 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6773 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6774 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6776 * insets/insettext.C: InsetList changes
6778 * graphics/GraphicsSupport.C (operator()): InsetList changes
6780 * toc.C (getTocList): InsetList changes
6782 * paragraph_pimpl.[Ch]: InsetList changes
6784 * paragraph.[Ch]: InsetList changes
6786 * buffer.C (inset_iterator): InsetList changes
6787 (setParagraph): ditto
6788 * buffer.h (inset_iterator): ditto
6789 * iterators.C (operator++): ditto
6790 * iterators.h: ditto
6792 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6794 * InsetList.[Ch]: new files, most InsetList handling moved out of
6797 * BufferView2.C (removeAutoInsets): InsetList changes
6799 (ChangeInsets): ditto
6801 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6803 * paragraph_pimpl.h (empty): new function
6805 * paragraph.[Ch] (empty): new function
6807 * other files: use the new Paragraph::empty function
6809 2002-08-09 John Levon <levon@movementarian.org>
6811 * lyxtext.h: remove unused refresh_height
6813 2002-08-09 John Levon <levon@movementarian.org>
6820 * paragraph.C: move sgml char escaping out of paragraph
6823 * paragraph.C: remove id setter
6827 * paragraph_pimpl.C: remove dead tex_code_break_column
6829 * bufferview_funcs.C: small cleanup
6831 * lyxfunc.C: remove dead proto
6833 * lyxtext.h: make some stuff private. Remove some dead stuff.
6835 * lyxgluelength.C: make as[LyX]String() readable
6837 2002-08-08 John Levon <levon@movementarian.org>
6842 * ToolbarDefaults.C:
6845 * toc.C: lyxaction cleanup
6847 2002-08-08 John Levon <levon@movementarian.org>
6849 * BufferView2.C: small cleanup
6852 * lyxfind.C: move unnecessary header into the .C
6854 2002-08-08 John Levon <levon@movementarian.org>
6856 * funcrequest.h: just tedious nonsense
6859 * lyx_main.C: cleanups
6862 * vspace.C: remove dead header lyx_main.h
6864 2002-08-07 Angus Leeming <leeming@lyx.org>
6867 * paragraph_pimpl.h:
6868 Forward declare class Counters in paragraph.h by moving the ctrs member
6869 variable into Paragraph::Pimpl.
6870 (counters): new method, returning a reference to pimpl_->ctrs.
6872 * text2.C: ensuing changes.
6874 2002-08-07 John Levon <levon@movementarian.org>
6876 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6878 * BufferView_pimpl.C: announce X selection on double/triple
6881 * lyx_main.C: use correct bool in batch dispatch
6883 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6885 2002-08-07 André Pönitz <poenitz@gmx.net>
6887 * funcrequest.h: new class to wrap a kb_action and its argument
6890 * BufferView_pimpl[Ch]:
6894 * lyxrc.C: subsequent changes
6897 2002-08-07 John Levon <levon@movementarian.org>
6899 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6900 document options change.
6902 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6907 * makefile.am: move counters functionality over from
6908 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6910 2002-08-06 John Levon <levon@movementarian.org>
6912 * WordLangTuple.h: new file for word + language code tuple
6923 * BufferView2.C: use WordLangTuple
6926 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6928 2002-08-06 John Levon <levon@movementarian.org>
6930 * lyx_main.C: fix cmdline batch handling
6932 2002-08-06 André Pönitz <poenitz@gmx.net>
6934 * lyxrc.C: set default for show_banner to true
6936 2002-08-06 John Levon <levon@movementarian.org>
6938 * pspell.C: fix a crash, and allow new aspell to work
6940 2002-08-06 John Levon <levon@movementarian.org>
6943 * kbmap.C: small cleanup
6946 * vspace.C: add const
6948 2002-08-05 John Levon <levon@movementarian.org>
6950 * LyXAction.C: back to tabular-insert
6952 2002-08-04 John Levon <levon@movementarian.org>
6955 * BufferView.C: cosmetic change
6957 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6967 * BufferView2.C: purge all "Lyx" not "LyX" strings
6970 * lyxcursor.C: attempt to add some documentation
6975 * ToolbarDefaults.C:
6976 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6977 merge with LFUN_TABULAR_INSERT
6984 * pspell.C: split up i/pspell implementations into separate
6985 files, many cleanups
6987 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6989 * text2.C: some cleanup
6991 * lyxfunc.C: don't check for isp_command == "none" any more, it
6992 didn't make any sense
6994 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6999 * makefile.am: move counters functionality over
7000 from text2.C/paragraph.[Ch] to counters.[Ch], and
7002 2002-08-02 John Levon <levon@movementarian.org>
7004 * buffer.C: s/lyxconvert/lyx2lyx/
7006 2002-08-02 Angus Leeming <leeming@lyx.org>
7008 * lyxlex.C: revert John's change as it breaks reading of the user
7011 2002-08-02 Angus Leeming <leeming@lyx.org>
7013 * importer.C (Import):
7014 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7015 changes due to LyXView::view() now returning a boost::shared_ptr.
7017 2002-08-02 John Levon <levon@movementarian.org>
7019 * lyxlex.C: small cleanup
7021 2002-08-02 John Levon <levon@movementarian.org>
7023 * text2.C (status): small cleanup, no logic change
7025 2002-08-01 John Levon <levon@movementarian.org>
7028 * buffer.C (writeFile): don't output alerts, caller
7032 * lyx_cb.C: from above
7034 * lyxfunc.C: allow to open non-existent files
7036 2002-07-31 John Levon <levon@movementarian.org>
7038 * lyxserver.C: don't let incidental errors get
7041 2002-07-30 John Levon <levon@movementarian.org>
7043 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7045 2002-07-30 John Levon <levon@movementarian.org>
7048 * lyxserver.C: remove I/O callback too
7050 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7052 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7055 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7057 * many files: strip,frontStrip -> trim,ltrim,rtrim
7059 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7061 * PrinterParams.h: remove extern containsOnly, and include
7062 support/lstrings.h instead.
7064 * LaTeX.C (scanAuxFile): modify because of strip changes
7066 * buffer.C (makeLaTeXFile): ditto
7067 * bufferparams.C (writeFile): ditt
7068 * lyxfont.C (stateText): ditto
7069 * lyxserver.C (read_ready): ditto
7070 * vc-backend.C (scanMaster): ditto
7072 * BufferView_pimpl.h: ws changes
7074 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7076 2002-07-26 André Pönitz <poenitz@gmx.net>
7078 * kb_sequence.C: remove unnedred usings
7080 2002-07-26 Juergen Vigna <jug@sad.it>
7082 * lyxfind.C (LyXReplace): we have to check better if the returned
7083 text is not of theLockingInset()->getLockingInset().
7085 2002-07-25 Juergen Vigna <jug@sad.it>
7087 * lyxfind.C (LyXReplace): don't replace if we don't get the
7090 * undo_funcs.C (createUndo): remove debugging code.
7092 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7094 * buffer.C (parseSingleLyXformat2Token): Use default placement
7095 when reading old floats.
7097 * FloatList.C (FloatList): Change the default placement of figure
7098 and tables to "tbp".
7100 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7102 * MenuBackend.C: using std::max
7104 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7106 * MenuBackend.C (expandToc):
7107 (expandToc2): code moved from xforms menu frontend. It is now
7108 generic and TOCs are transparent to menu frontends.
7110 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7112 * toc.C (getTocList): protect against buf=0
7114 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7115 Menu as first parameter. Now, this calls itself recursively to
7116 expand a whole tree (this will be useful for TOC handling)
7117 (expandFloatInsert): remove 'wide' version of floats
7119 * MenuBackend.h (submenuname): returns the name of the submenu.
7120 (submenu): returns the submenu itself, provided it has been
7121 created by MenuBackend::expand
7123 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7125 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7126 insets which have noFontChange == true. (bug #172)
7128 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7130 * BufferView_pimpl.C: add connection objects and use them...
7133 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7135 * MenuBackend.C (expandLastfiles):
7138 (expandFloatListInsert):
7139 (expandFloatInsert):
7140 (expand): split expand in parts
7142 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7144 * lyx_gui.C: use lyx_gui::exit()
7146 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7148 * LyXAction.C: show the failing pseudo action
7150 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7152 * buffer.C (readFile): Run the lyxconvert script in order to read
7155 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7159 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7161 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7165 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7167 2002-07-22 Herbert Voss <voss@lyx.org>
7170 * lyxlength.[Ch]: add support for the vertical lengths
7172 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7174 * toc.[Ch]: std:: fixes
7176 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7178 * lyxrc.C: do not include lyx_main.h
7180 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7186 * BufferView2.C: include "lyxlex.h"
7189 * bufferparams.h: do not #include "lyxlex.h"
7191 * lyxtextclasslist.C (Add): remove method
7192 (classlist): renamed to classlist_
7194 * paragraph_pimpl.C:
7198 * bufferview_funcs.C:
7203 * toc.C (getTocList): use BufferParams::getLyXTextClass
7205 * toc.C (getTocList): use InsetFloat::addToToc
7207 * toc.[Ch]: new files, containing helper functions to handle table
7210 * lyxfunc.C (dispatch): no need to remove spaces around command
7212 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7213 first command of the sequence; it is not very clever, but I do not
7214 have a better idea, actually
7216 * LyXAction.C (LookupFunc): make sure to remove space at the
7217 beginning and end of the command
7219 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7221 * MenuBackend.C (getMenubar): new method: return the menubar of
7223 (read): treat differently reading of menu and menubar (in
7224 particular, the menubar has no name now)
7225 (Menu::menubar): remove
7227 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7230 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7232 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7233 a bibitem inset in a RTL paragraph.
7235 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7237 * paragraph_pimpl.C: constify
7239 * BufferView_pimpl.C:
7241 * lyxfunc.C: fix dispatch in a nicer way
7243 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7245 * lyxfunc.C (dispatch):
7246 * BufferView_pimpl.C:
7247 * BufferView_pimpl.h:
7249 * BufferView.h: rename Dispatch() to dispatch()
7251 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7253 * lyxlayout.C (Read): honor DependsOn tag
7255 * lyxlayout.[Ch] (depends_on): new method
7257 * version.C.in: update lyx_docversion
7259 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7261 * paragraph.C (validate): remove from here...
7262 * paragraph_pimpl.C (validate): ... and move here
7263 (isTextAt): make it const
7265 * buffer.C (getLists): ws cleanup
7267 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7269 * language.C (read): Use iso8859-1 encoding in latex_lang
7270 (this prevents LyX from crashing when using iso10646-1 encoding).
7272 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7274 * text2.C (toggleInset): if cursor is inside an inset, close the
7275 inset and leave cursor _after_ it
7277 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7279 * lyxfunc.C: move minibuffer completion handling out of here
7281 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7283 * BufferView_pimpl.C:
7284 * LaTeX.C: fix dispatch calls
7286 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7288 * text.C (drawChars): Fix Arabic text rendering.
7290 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7294 * lyxfunc.C: remove message-push/pop
7298 * lyxfunc.C: rationalise some code by removing verboseDispatch
7299 in favour of a bool argument to dispatch()
7301 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7303 * lyx_main.C (init): make sure to read symlinks as absolute paths
7305 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7308 * lyxfunc.C: no need for commandshortcut to be a member
7310 2002-07-15 André Pönitz <poenitz@gmx.net>
7312 * converter.C: add support for $$s (scripts from lib/scripts dir)
7313 * lyx_main.C: white space
7315 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7319 * lyxrc.C: remove second exit confirmation
7321 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7326 * BufferView_pimpl.h:
7327 * BufferView_pimpl.C:
7328 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7330 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7332 * MenuBackend.C (expand): add numeric shortcuts to document menu
7334 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7336 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7338 * lyxfont.C (setLyXFamily):
7345 * buffer.C (asciiParagraph): use ascii_lowercase
7347 2002-07-15 Mike Fabian <mfabian@suse.de>
7349 * lyxlex_pimpl.C (search_kw):
7350 * lyxlex.C (getLongString):
7351 * converter.h (operator<):
7352 * converter.C (operator<):
7353 * buffer.C (parseSingleLyXformat2Token):
7355 * ToolbarDefaults.C (read):
7356 * MenuBackend.C (checkShortcuts):
7358 * LColor.C (getFromGUIName):
7359 (getFromLyXName): use the compare_ascii_no_case instead of
7360 compare_no_case, because in turkish, 'i' is not the lowercase
7361 version of 'I', and thus turkish locale breaks parsing of tags.
7363 2002-07-16 Angus Leeming <leeming@lyx.org>
7365 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7366 now takes a Buffer const & argument.
7368 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7370 * BufferView.C (resize): check there's a buffer to resize
7372 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7374 * lyxfunc.C: remove dead code
7377 * lyxserver.C: use lyx_guii::set_read_callback
7379 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7381 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7382 an inset in a RTL paragraph.
7384 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7386 * lyxfunc.C: repaint after a font size update
7388 2002-07-15 André Pönitz <poenitz@gmx.net>
7390 * lyxlength.C: inBP should be able to return negative values
7392 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7394 * lyxfunc.C: use lyx_gui::update_fonts()
7396 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7398 * lyxfunc.C: use lyx_gui::update_color()
7400 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7406 * lyxrc.C: remove file->new asks for name option, and let
7407 buffer-new take an argument
7409 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7411 * BufferView_pimpl.C: remove unneeded extra repaint()
7413 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7415 * LyXAction.C: allow command-sequence with NoBuffer
7417 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7419 2002-07-10 Angus Leeming <leeming@lyx.org>
7421 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7423 2002-07-09 Angus Leeming <leeming@lyx.org>
7425 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7427 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7429 * lengthcommon.h: whitespace
7431 * lyxfunc.C: update scrollbar after goto paragraph
7433 * lyxtext.h: factor out page break drawing, and fix it so
7434 page break/added space paints as selected nicely
7436 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7438 * BufferView_pimpl.C: add FIXMEs, clean up a little
7440 2002-07-09 André Pönitz <poenitz@gmx.net>
7442 * lyxfont.[Ch]: support for wasy symbols
7444 2002-07-08 André Pönitz <poenitz@gmx.net>
7446 * BufferView_pimpl.C: apply John's patch for #93.
7448 2002-07-05 Angus Leeming <leeming@lyx.org>
7450 * BufferView_pimpl.C (buffer): generate previews if desired.
7452 * LColor.h: add "preview" to the color enum.
7454 * LColor.C (LColor): add a corresponding entry to the items array.
7456 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7459 2002-07-05 Angus Leeming <leeming@lyx.org>
7461 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7462 The body of the code is now in the method that is passed an ostream &
7463 rather than a file name.
7464 Pass an additional only_preamble parameter, useful for the forthcoming
7467 2002-07-03 André Pönitz <poenitz@gmx.net>
7469 * lyxfunc.C: simplify getStatus() a bit for math stuff
7471 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7473 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7475 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7477 * text.C (changeRegionCase): do not change case of all the
7478 document when region ends at paragraph end (bug #461)
7480 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7482 * paragraph.C (startTeXParParams):
7483 (endTeXParParams): add \protect when necessary
7485 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7487 * BufferView_pimpl.C (workAreaExpose): remove warning
7489 2002-06-27 Angus Leeming <leeming@lyx.org>
7491 * Makefile.am: add lyxlayout_ptr_fwd.h.
7493 2002-06-26 André Pönitz <poenitz@gmx.net>
7495 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7497 2002-06-25 Angus Leeming <leeming@lyx.org>
7499 * lyxfunc.C (dispatch): Comment out the call to
7500 grfx::GCache::changeDisplay. The method no longer exists now that the
7501 pixmap generation part of the graphics loader has been moved into
7504 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7506 * text2.C: layout as layout
7508 * text.C: layout as layout
7510 * tabular.C (OldFormatRead): layout as layout
7512 * paragraph_pimpl.C (TeXDeeper): layout as layout
7513 (realizeFont): layout as layout
7515 * paragraph.C (writeFile): layout as layout
7516 (validate): layout as layout
7517 (getFont): layout as layout
7518 (getLabelFont): layout as layout
7519 (getLayoutFont): layout as layout
7520 (breakParagraph): layout as layout
7521 (stripLeadingSpaces): layout as layout
7522 (getEndLabel): layout as layout
7523 (getMaxDepthAfter): layout as layout
7524 (applyLayout): layout as layout
7525 (TeXOnePar): layout as layout
7526 (simpleTeXOnePar): layout as layout
7527 (TeXEnvironment): layout as layout
7528 (layout): layout as layout
7529 (layout): layout as layout
7531 * lyxtextclass.C (compare_name): new functor to work with
7532 shared_ptr, layout as layout
7533 (Read): layout as layout
7534 (hasLayout): layout as layout
7535 (operator): layout as layout
7536 (delete_layout): layout as layout
7537 (defaultLayout): layout as layout
7539 * lyxlayout_ptr_fwd.h: new file
7541 * lyxlayout.C (Read): layout as layout
7543 * lyx_cb.C (MenuInsertLabel): layout as layout
7545 * bufferlist.C (newFile): layout as layout
7547 * buffer.C (readLyXformat2): layout as layout
7548 (parseSingleLyXformat2Token): layout as layout
7549 (insertStringAsLines): layout as layout
7550 (asciiParagraph): layout as layout
7551 (latexParagraphs): layout as layout
7552 (makeLinuxDocFile): layout as layout
7553 (simpleLinuxDocOnePar): layout as layout
7554 (makeDocBookFile): layout as layout
7555 (simpleDocBookOnePar): layout as layout
7556 (getLists): layout as layout
7558 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7560 * CutAndPaste.C (cutSelection): layout as layout
7561 (pasteSelection): layout as layout
7562 (SwitchLayoutsBetweenClasses): layout as layout
7564 * BufferView_pimpl.C (Dispatch): layout as layout
7565 (smartQuote): layout as layout
7567 * BufferView2.C (unlockInset): layout as layout
7569 2002-06-24 André Pönitz <poenitz@gmx.net>
7571 * lyxfunc.C: fix #487
7573 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7577 * lyxfunc.C: remove display_shortcuts, show_banner
7579 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7581 * Buffer_pimpl.C: oops, update on resize
7583 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7590 * BufferView.C: use repaint()
7592 * BufferView_pimpl.h:
7593 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7594 as it's a clearer description. Remove superfluous
7597 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7599 * text.C: fix bug 488. Not ideal, but getting
7600 getWord() to work properly for the insets that
7601 matter is more difficult ...
7603 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7605 * BufferView_pimpl.C:
7608 * lyxfunc.C: remove the six million index lyxfuncs to just
7609 one, and DTRT (bug 458)
7611 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7615 * BufferView_pimpl.h:
7616 * BufferView_pimpl.C: clean up resize() stuff,
7617 and unnecessary updateScreen()s
7619 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7623 * BufferView_pimpl.h:
7624 * BufferView_pimpl.C:
7627 * minibuffer.C: remove focus management of workarea,
7628 not needed. Use screen's greyOut()
7630 2002-06-17 Herbert Voss <voss@lyx.org>
7632 * converter.C: (convert) do not post a message, when converting
7633 fails, let the calling function decide what to do in this case
7635 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7637 * lyxfunc.C: tidy up a little
7639 2002-06-16 <alstrup@diku.dk>
7641 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7642 Got rid of FORMS_H_LOCATION include. Now we are
7645 2002-06-15 LyX Development team <lyx@rilke>
7647 * buffer.[Ch] (sgmlOpenTag):
7648 (sgmlCloseTag): Added support for avoiding pernicious mixed
7649 content. Return number of lines written.
7652 (makeDocBookFile): Fixed calls to sgml*Tag.
7653 Simple white space clean.
7655 (simpleDocBookOnePar): Simple white space clean.
7657 * tabular.[Ch] (docBook): Renamed to docbook and got another
7658 argument to related with the pernicious mixed content.
7660 (docbookRow): Fixed calls for docbook inset method.
7662 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7664 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7665 so it's X11 independent.
7669 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7671 2002-06-15 Lyx Development team <lyx@electronia>
7673 * intl.h: Renamed getTrans to getTransManager.
7675 2002-06-14 Angus Leeming <leeming@lyx.org>
7677 * Makefile.am: nuke forgotten stl_string_fwd.h.
7679 2002-06-12 Angus Leeming <leeming@lyx.org>
7681 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7683 2002-06-13 Angus Leeming <leeming@lyx.org>
7686 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7688 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7690 * kbmap.C (getiso): add support for cyrillic and greek
7692 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7696 * BufferView_pimpl.h:
7697 * BufferView_pimpl.C: move bogus scrolling logic
7700 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7703 * BufferView_pimpl.C: view->resize() change
7705 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7707 * BufferView_pimpl.C: topCursorVisible
7710 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7714 * lyx_gui.C: move to frontends/
7718 * lyx_main.C: changes from above
7720 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7727 * lyx_main.C: minor tidy
7729 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7731 * BufferView_pimpl.h:
7732 * BufferView_pimpl.C:
7734 * BufferView.C: make painter() const,
7737 * BufferView2.C: use screen() accessor
7740 * lyx_main.C: some minor cleanup
7742 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7744 * BufferView_pimpl.h:
7745 * BufferView_pimpl.C: remove enter/leaveView,
7748 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7753 * BufferView_pimpl.h:
7754 * BufferView_pimpl.C: only construct screen once,
7757 * lyxrc.C: remove pointless comment
7759 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7762 * BufferView.C: remove active() and belowMouse()
7764 * BufferView_pimpl.h:
7765 * BufferView_pimpl.C: use workarea() not workarea_,
7766 and make it use a scoped_ptr instead
7768 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7770 * lyx_gui.C: add debug message on BadWindow
7772 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7774 * sp_spell.C: fdopen is not part of the C++ standard.
7776 * paragraph.C (InsetIterator): use >= instead of ==
7778 2002-06-07 Angus Leeming <leeming@lyx.org>
7780 Fixes needed to compile with Compaq cxx 6.5.
7781 * BufferView_pimpl.C:
7788 * lyxtextclasslist.C:
7793 all c-library variables have been moved into namespace std. Wrap
7794 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7799 Add a using std::abs declaration.
7801 * kbmap.h (modifier_pair):
7802 * paragraph.h (InsetTable, InsetList):
7803 * lyxfont.h (FontBits):
7804 type definition made public.
7806 * bufferlist.C (emergencyWriteAll): the compiler complains that
7807 there is more than one possible lyx::class_fun template to choose from.
7808 I re-named the void specialisation as lyx::void_class_fun.
7810 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7812 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7813 the compiler is is unable to find tostr in write_attribute.
7815 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7817 * buffer.C (sgmlError): hide #warning
7819 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7821 * xtl/*: get rid of xtl, which is not in use anyway
7823 * LyXAction.C (init):
7824 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7825 were unimplemented xtl experimentation
7827 2002-06-04 André Pönitz <poenitz@gmx.net>
7829 * lyxfunc.C: disable array operation on simple formulae
7831 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7833 * converter.C: constify a bit
7835 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7837 * lyx_gui.C: check xforms version correctly
7839 2002-04-30 Herbert Voss <voss@lyx.org>
7841 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7844 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7846 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7847 attempt to register it with a VCS)
7849 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7851 * lyx_main.C (init): honor variables LYX_DIR_13x and
7854 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7858 * lyx_main.C: fix a crash on bad command line,
7859 and give a useful exit status on error
7861 * lyxfunc.C (doImport): allow -i lyx to work
7863 2002-03-30 André Pönitz <poenitz@gmx.net>
7865 * lyxfunc.C: mathed font changes
7867 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7882 * trans_mgr.h: srcdocs, and some minor cleanups
7884 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7886 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7887 call getFont all the time)
7889 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7891 * switch from SigC signals to boost::signals
7893 2002-05-29 André Pönitz <poenitz@gmx.net>
7895 * paragraph_pimpl.C (getChar): don't call size() too often...
7897 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7899 * paragraph_pimpl.C (insertChar): do not try to update tables when
7900 appending (pos == size())
7902 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7903 in order to reduce drastically the number of comparisons needed to
7904 parse a large document
7906 2002-05-29 André Pönitz <poenitz@gmx.net>
7912 * textclasslist.[Ch]:
7913 * sp_ispell.h: whitespace change
7915 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7917 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7918 lyxaction directly now.
7920 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7924 * lyxvc.C: remove unused headers
7926 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7933 * undo_funcs.C: some cleanups. Use shared_ptr
7934 and a template for the undo stacks.
7936 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7938 * BufferView_pimpl.h:
7939 * BufferView_pimpl.C:
7946 * text2.C: use key_state/mouse_state
7948 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7950 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7953 * chset.C: change include order
7954 (loadFile): use boost regex and get rid of LRegex and LSubstring
7956 * Makefile.am (BOOST_LIBS): new variable
7959 * LaTeX.C: change include order.
7960 (scanAuxFile): use boost regex and get rid of LRegex and
7964 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7969 * FontInfo.C: moved to frontends/xforms/
7972 * FontLoader.C: moved into frontends for GUIIzation
7977 * lyxfunc.C: changes from above
7979 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7981 * LColor.C: remove spurious X include
7983 * BufferView_pimpl.C:
7988 * text2.C: move font metrics to frontends/
7990 2002-05-24 Juergen Vigna <jug@sad.it>
7992 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7993 setting the undo_cursor.
7995 * ParagraphParameters.h: include local includes first.
7997 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7999 * BufferView_pimpl.C:
8000 * BufferView_pimpl.h:
8004 * screen.C: move WorkArea into frontends/
8010 * BufferView2.C: move LyXScreen into frontends/
8014 * lyx_gui.C: move lyxlookup into frontends/xforms/
8016 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8019 * BufferView_pimpl.C:
8029 * bufferview_funcs.C:
8042 * vc-backend.C: move LyX/XFormsView into frontends/
8044 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8056 * text2.C: move Painter to frontends/
8058 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8060 * buffer.C: comment out some some code that depend upon lyx_format
8063 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8064 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8066 * buffer.h (NO_COMPABILITY): turn off compability
8068 * ColorHandler.C: include scoped_array.hpp
8070 * font.C: Use more specific smart_ptr header.
8073 * ShareContainer.h: ditto
8077 * BufferView_pimpl.h: ditto
8078 * ColorHandler.h: ditto
8080 * kbmap.C (defkey): change call to shared_ptr::reset
8082 2002-05-21 Juergen Vigna <jug@sad.it>
8084 * buffer.C (insertErtContents): fix to insert ert asis if it is
8085 non empty. Skip it completely if it contains only whitespaces.
8087 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8089 * BufferView_pimpl.C:
8090 * BufferView2.C: clear selection on paste (bug 393)
8092 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8094 * DepTable.C: include ctime
8096 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8098 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8100 2002-05-14 Juergen Vigna <jug@sad.it>
8102 * text.C (breakParagraph): fixed function to honor the keepempty
8103 layout in the right maner and also to permit the right breaking
8104 algorithm on empty or non empyt keepempty paragraphs.
8106 * paragraph.C (breakParagraph): we have to check also if the par
8107 is really empty (!size()) for isempty otherwise we do the wrong
8110 2002-05-10 Juergen Vigna <jug@sad.it>
8112 * buffer.[Ch] : The following are only changes to the ert
8113 compatibility read reading old LaTeX layout and font stuff and
8114 convert it to ERTInsets.
8116 * buffer.h: added isErtInset().
8118 * buffer.C (struct ErtComp): add a fromlayout bool to check
8119 if we're inside a LaTeX layout.
8120 (isErtInset): new helper function.
8121 (insertErtContents): look for other ert insets before this one
8122 and insert the contents there, so that we don't have subsequent
8123 ERT insets with nothing between them. This way we create only one
8124 inset with multiple paragraphs. Also check if we don't insert only
8125 spaces ' ' as they are ignored anyway afterwards in the .tex file
8126 so if we have only spaces we will ignore this latex part in the
8128 (parseSingleLyXformat2Token \\layout): better compatibility when
8129 reading layout-latex stuff.
8130 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8132 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8133 stuff after reading the inset only get the information back from
8136 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8138 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8140 * LaTeXFeatures.C (getBabelOptions): New method.
8142 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8144 * BufferView_pimpl.C (Dispatch): work around missing argument for
8147 2002-05-08 Juergen Vigna <jug@sad.it>
8149 * text.C (leftMargin): handle paragraph leftindent.
8151 * paragraph.C (writeFile): write the new \\leftindent tag.
8152 (validate): handle leftindent code.
8153 (TeXEnvironment): handle paragraphleftindent code again.
8155 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8157 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8158 for paragrap_extra indent code and new token \\leftindent.
8159 (latexParagraphs): handle the leftindent as environment.
8161 * ParameterStruct.h: added leftindent support.
8163 * ParagraphParameters.C (leftIndent): added support functions for
8164 the paragraph left indent.
8166 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8169 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8171 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8174 * text.C (computeBidiTables): No bidi in insetERT.
8176 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8179 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8181 * version.C.in: pre 5
8183 2002-05-02 José Matos <jamatos@fep.up.pt>
8184 * buffer.C (makeDocBookFile): white space changes, add newline to
8186 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8188 * tabular.C (docBook): fix typo.
8190 2002-05-03 Juergen Vigna <jug@sad.it>
8192 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8193 change in LyXText as we can not be sure it was not freed.
8194 (drawOneRow): remove unused code.
8196 * text.C (drawInset): redo the calculation of the need_break_row as
8197 it could have a row which was already freed.
8198 (draw): look at the return value of drawInset and return false if
8199 it also returned false.
8200 (paintRowText): look at the return value of draw and return false if
8201 it also returned false.
8203 * lyxtext.h: added bool return type to drawInset() and draw() so that
8204 if we have a change in the row so that the rowbreak has to be redone
8205 we abort drawing as it will be called again.
8207 2002-05-02 Juergen Vigna <jug@sad.it>
8209 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8210 a change in the maintext also if we're inside an inset.
8211 (Dispatch): set the cursor again after a break line and after the
8212 screen has been updated as it could be we're in a different row.
8214 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8215 to set the cursor behind the pargraph with > size().
8216 (setCursor): check also for the same paragraph when checking where
8217 to put the cursor if we have a NFR inset.
8219 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8220 parts of layout read further up as it still was in the wrong
8223 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8225 * screen.C (drawFromTo): change sine fullRebreak always return
8228 * buffer.C (parseSingleLyXformat2Token): reindent some
8230 * BufferView_pimpl.C (update): change since fullRebreak always
8232 (Dispatch): git rid of the last hardcoded "Standard"s.
8234 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8236 * text2.[Ch] (fullRebreak): make it return void now that we always
8239 2002-04-30 Juergen Vigna <jug@sad.it>
8241 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8242 ert compatibility check for "latex" layout.
8244 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8246 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8247 minipages: use col% instead of p%, and also use the current font.
8248 (makeLaTeXFile): Fix use babel condition.
8249 (parseSingleLyXformat2Token): Correct font when reading old floats.
8251 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8253 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8254 inserting list of floats.
8256 2002-04-25 Herbert Voss <voss@lyx.org>
8258 * MenuBackend.C (expand): don't add the graphics extensions to the
8261 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8263 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8264 non-existing layout, do not complain if it was the default layout
8265 of the original class (bug #342)
8267 2002-04-24 Juergen Vigna <jug@sad.it>
8269 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8270 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8272 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8274 * buffer.C (getBibkeyList): If using \bibliography, return the
8275 option field with the reference itself. Enables us to provide natbib
8276 support when using \bibliography.
8278 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8280 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8282 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8283 natbib is provided by the LaTeX class.
8285 2002-04-23 Juergen Vigna <jug@sad.it>
8287 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8290 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8292 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8294 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8296 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8297 ensuremath around textordmasculine, textordfeminine and
8300 2002-04-19 Juergen Vigna <jug@sad.it>
8302 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8303 reinitializing the buffer otherwise row-dimensions may be wrong.
8304 (update): reset also the selection cursors if they do exits otherwise
8305 their x/y positions may be wrong.
8307 * text2.C (cursorDown): don't enter the inset if we came from a row
8308 above and are one row over the inset.
8310 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8311 really leaving an inset.
8313 2002-04-18 Juergen Vigna <jug@sad.it>
8315 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8316 of the selected paragraph does not have the selected layout also if
8319 * text2.C (setLayout): fixed bug which did not change last selected
8322 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8323 changed the read and substituted \\end_float with \\end_inset!
8325 * BufferView_pimpl.C (cursorPrevious):
8326 (cursorNext): fixed to make it work with rows heigher than the work
8327 area without moving the cursor only the draw of the row.
8328 (workAreaMotionNotify): fix jumping over high rows.
8330 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8332 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8335 2002-04-16 Juergen Vigna <jug@sad.it>
8337 * text2.C (setCursor): set also the irow().
8338 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8340 (cursorDown): support for locking an inset if the x_fix value goes
8341 inside it. That way I can transverse insets too with cursor up/down.
8343 * lyxrow.h: added irow helper function same as other (i) functions.
8345 * BufferView_pimpl.C (cursorPrevious):
8346 (cursorNext): fixed for insets!
8348 2002-04-15 Juergen Vigna <jug@sad.it>
8350 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8351 position otherwise it is wrong in some cases.
8353 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8354 inside the inset before the call.
8356 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8358 * buffer.[Ch] (getBibkeyList): make it const.
8360 2002-04-12 Juergen Vigna <jug@sad.it>
8362 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8364 * text2.C (getCursorX): new helper function
8365 (setCursor): compute also ix_
8366 (setCursorFromCoordinates): set also ix.
8368 * lyxcursor.h: added ix_ and helper functions.
8370 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8372 * buffer.C (insertStringAsLines): dont break paragraph if the this
8373 paragraph is inside an inset which does not permit it!
8375 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8376 also with no chars on this paragraph.
8377 (paintRowText): only paint stuff if it's inside the workarea!
8379 * paragraph.C (breakParagraph): honor keepempty flag and break the
8380 paragraph always below not above.
8382 * BufferView2.C (unlockInset): update the paragraph layout on inset
8383 unlock as we changed paragraph in such a case.
8385 * lyxfind.C (LyXFind): clear the former selection if not found!
8387 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8388 again called in insertChar().
8390 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8391 an inset which uses the whole row!
8392 (rightMargin): ditto.
8393 (insertChar): force a rebreak if we inserted an inset!
8395 2002-03-28 Herbert Voss <voss@lyx.org>
8397 * lyxlength.[Ch]: add inBP() to get the right PS-point
8398 units (BigPoint). With inPixels we have rounding errors
8400 2002-04-11 Juergen Vigna <jug@sad.it>
8402 * text2.C (setCursorFromCoordinates): set iy to the right value.
8403 (setCursor): add check if row->previous exists!
8405 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8406 an old float_type as this was the case in the old code!
8408 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8410 * BufferView2.C (showLockedInsetCursor): use iy
8411 (fitLockedInsetCursor): ditto
8413 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8414 locked insets as there we have the right value now.
8416 * lyxcursor.C: added iy_ variable and iy functions to set to the
8417 baseline of cursor-y of the locked inset.
8419 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8420 (setCursor): fixed for insets which need a full row.
8422 * text.C (rowLastPrintable): don't ignore the last space when before
8423 an inset which needs a full row.
8424 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8425 as last character of a row when before a inset which needs a full row.
8427 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8429 * version.C.in: update date
8431 * text2.C (fullRebreak): try to always return true and see what
8434 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8436 * MenuBackend.C (expand): use Floating::listName
8438 * FloatList.C (FloatList): add listName argument to the built-in
8441 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8442 text associated with the float.
8444 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8446 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8448 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8450 * ShareContainer.h: add a couple of missing typenames.
8452 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8454 * lyxrc.C (getDescription): use _() correctly rather than N_().
8456 2002-03-28 Herbert Voss <voss@lyx.org>
8458 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8459 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8461 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8463 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8464 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8466 2002-03-29 Juergen Vigna <jug@sad.it>
8468 * lyxfunc.C (dispatch): add a missing fitCursor call.
8470 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8471 it was scrolled by a cursor move, so return the bool status.
8473 * BufferView.C (fitCursor): return the bool flag also to the outside
8474 world as this is needed.
8476 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8478 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8479 call the edit() as it is not needed (and wrong) IMO.
8480 (workAreaButtonPress): set the screen_first variable before evt.
8481 unlock the inset as this may change screen_first and then we have
8482 a wrong y position for the click!
8484 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8486 * MenuBackend.C (expand): another translation that I missed
8488 2002-03-28 Juergen Vigna <jug@sad.it>
8490 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8492 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8494 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8496 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8498 * MenuBackend.C (expand): fix export/view/update when there is no
8501 2002-03-27 Herbert Voss <voss@lyx.org>
8503 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8506 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8508 * bufferview_funcs.C (currentState): only show paragraph number
8509 for is DEVEL_VERSION is set.
8511 * lyxfunc.C (dispatch): put warning in INFO channel
8513 * MenuBackend.C (expand): translate the name of floats
8515 * FloatList.C (FloatList): mark the float names for translation
8517 * converter.C (convert): use LibScriptSearch
8519 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8521 * MenuBackend.C (defaults): fix default menu (we might as well get
8524 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8526 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8529 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8531 * lyxvc.C: reorder includes.
8533 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8535 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8538 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8540 * CutAndPaste.C: change layouts earlier on paste
8541 to avoid crashing when calling getFont()
8543 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8545 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8548 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8550 * WorkArea.C: remove 'Pending' debug message.
8552 * most files: ws cleanup
8554 * buffer.[Ch]: ws changes
8556 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8558 2002-03-21 Juergen Vigna <jug@sad.it>
8560 * tabular.C (SetMultiColumn): collapse also the contents of the
8561 cells and set the last border right. Added a Buffer const * param.
8563 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8565 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8568 2002-03-19 Juergen Vigna <jug@sad.it>
8570 * text2.C (clearSelection): reset also xsel_cache.
8572 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8573 where it needs to be called (John tells us to do so too :)
8574 (selectionLost): reset sel_cache.
8576 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8578 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8580 * text2.C (setCursorIntern): put debuging code in INSETS channel
8582 2002-03-19 André Pönitz <poenitz@gmx.net>
8584 * lyxfunc.C: tiny whitespace change
8586 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8588 * ToolbarDefaults.C (init):
8589 * LyXAction.C (init):
8591 * BufferView_pimpl.C (Dispatch):
8592 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8594 2002-03-19 Allan Rae <rae@lyx.org>
8596 * exporter.C (Export): removeAutoInsets before doing anything else.
8597 While I've just introduced a dependency on BufferView this really is
8598 the best place to clean the buffer otherwise you need to cleanup in
8599 a dozen places before calling export or cleanup in a dozen functions
8602 * converter.C (runLaTeX):
8603 (scanLog): Better handling of removeAutoInsets and screen updates.
8605 * lyxfunc.C (dispatch): small whitespace changes
8607 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8609 * WorkArea.C (C_WorkAreaEvent): return a value.
8610 (event_cb): return 1 if we handled the event, 0 otherwise.
8612 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8614 2002-03-18 Juergen Vigna <jug@sad.it>
8616 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8617 (GetAdditionalWidth): ditto.
8621 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8622 inset if we're there actually (probably not used right now but this
8623 is the direction to go for unifying code).
8624 (paste): disable code to clear the selection.
8626 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8627 inside an InsetText and move the check further up as it is in the
8630 * text2.C (pasteSelection): set a selection over the pasted text.
8632 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8634 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8635 and libgraphics to build on Cygwin.
8637 2002-03-15 Juergen Vigna <jug@sad.it>
8639 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8640 inserting an Inset into the paragraph. I know this is not the best
8641 fix but we already use current_view in CutAndPaste so we will remove
8642 all of it's using at the same time.
8644 * buffer.C (sgmlError): deactivated function till it is rewritten in
8645 the right mode, now it can create problems.
8647 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8648 before accessing it.
8650 2002-03-14 Juergen Vigna <jug@sad.it>
8652 * undo_funcs.C (textHandleUndo): do the right thing when updating
8653 the inset after the undo/redo.
8655 * text2.C (setCursor): just some testcode for #44 not ready yet.
8657 * undo_funcs.C (textHandleUndo): set the next() and previous()
8658 pointers of the paragraph to 0 before deleting otherwise we have
8659 problems with the Paragraph::[destructor].
8661 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8662 on a paragraph insertion.
8664 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8666 * buffer.C (asciiParagraph): use += operator for char append to
8669 * paragraph.C (getFontSettings): compare >= not just >
8670 (highestFontInRange): ditto
8673 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8675 * paragraph.C: change several algorithm to be more appripriate for
8676 the problem domain. This is lookip in FontList and in the InsetList.
8678 2002-03-13 André Pönitz <poenitz@gmx.net>
8681 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8683 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8688 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8690 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8692 * Painter.C (display): anon helper function, adjust code for this
8694 (pixmap): remove function.
8696 * Painter.h: remove private display variable.
8698 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8700 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8702 * WorkArea.[Ch]: remove figinset_canvas cruft.
8704 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8706 * lyxtextclass.C (operator): add one item cache optimization.
8708 * bufferlist.h: doxy changes
8710 * bufferlist.C: ws changes
8712 * DepTable.[Ch] (ext_exist): place const in the right spot.
8714 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8716 (workAreaExpose): call resizeInsets when the with BufferView changes.
8717 (Dispatch): adjust for protectedBlank removal
8718 (specialChar): call updateInset if the insert went ok.
8720 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8721 specialChar instead.
8723 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8725 * BufferView.h: doxy change
8727 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8729 * lyxtextclass.C (operator[]): remove non-const version
8730 (defaultLayout): remove non-const version
8732 2002-03-12 Juergen Vigna <jug@sad.it>
8734 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8735 did resize the LyXText too.
8737 * buffer.C (readLyXformat2): set layout information on newly allocated
8740 * tabular.C (OldFormatRead): set layout information on the paragraph.
8742 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8744 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8746 2002-03-11 Juergen Vigna <jug@sad.it>
8748 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8750 (resizeCurrentBuffer): force also the insets to resize themselfes.
8751 (moveCursorUpdate): fixed up for InsetText.
8753 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8756 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8757 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8758 value of Dialogs::tooltipsEnabled().
8759 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8761 2002-03-08 Juergen Vigna <jug@sad.it>
8763 * BufferView_pimpl.C (updateInset): update inset inside inset also
8764 if it isn't inside theLockingInset().
8766 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8768 * buffer.C (asciiParagraph): redo some of the word and line length
8770 (getLists): look for Caption instead of caption.
8772 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8774 * buffer.C (Buffer): initialize niceFile to true
8777 (makeDocBookFile): make sure niceFile is true on exit
8779 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8781 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8783 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8785 * LyXSendto.C: remove.
8786 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8787 * lyx_gui.C: remove now-redundant comment.
8788 * ColorHandler.h: remove forward declaration of class WorkArea.
8789 * lyxfunc.C: remove #include "WorkArea.h".
8791 2002-03-07 Juergen Vigna <jug@sad.it>
8793 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8794 got moved away with the DEPM and also set the inset_owner always
8795 right which before could have been omitted.
8797 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8799 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8800 wanted layout is not found.
8802 2002-03-07 Juergen Vigna <jug@sad.it>
8804 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8806 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8808 * paragraph.C (breakParagraph): use default layout not layout of
8810 (Paragraph): clear ParagraphParameters.
8812 2002-03-06 Juergen Vigna <jug@sad.it>
8814 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8815 otherwise it would not be a valid lenght. Fixed a special case in
8816 the minipage compatibility read where we end the document with a
8819 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8820 was set as it could be 0 for InsetTexts first entry.
8822 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8824 * paragraph.C (writeFile): if layout is empty write out
8825 defaultLayoutName().
8827 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8828 file without named layout we set layout to defaultLayoutName().
8830 2002-03-06 Juergen Vigna <jug@sad.it>
8832 * CutAndPaste.C (copySelection): set layout for new paragraph.
8834 * text.C (prepareToPrint): leave ERT inset left aligned
8835 (leftMargin): don't indent paragraphs inside ERT insets
8837 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8839 * paragraph.C (breakParagraph): dont call clear do the work manually
8841 * paragraph.[Ch] (clear): remove function
8843 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8845 * paragraph.C (Paragraph): dont call clear, the work has already
8848 * lyxtextclass.C (operator): assert if n is empty
8850 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8851 work manually instead.
8853 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8855 * BufferView_pimpl.C: protect selectionLost against text == 0
8857 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8859 * text.C (breakParagraph): fix a setting layout to '0' problem.
8861 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8863 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8864 final location of file, for the included files, and graphics.
8866 2002-03-05 Juergen Vigna <jug@sad.it>
8868 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8870 2002-03-04 Juergen Vigna <jug@sad.it>
8872 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8874 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8875 last column of multicolumn cells.
8876 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8878 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8880 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8881 file if it doesn't go to a temporary file.
8883 * buffer.C (sgmlOpenTag):
8884 (sgmlCloseTag): remove extra newline insertion.
8886 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8888 * text.C (getRowNearY): comment out debug msg
8890 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8892 * text2.C: first -> first_y
8894 * text.C (getRowNearY): add some attemts at a possible
8895 optimization, not working.
8897 * tabular.[Ch]: add BufferParams to several function so that newly
8898 created paragraph can be initialized to he default layotu for the
8901 * tabular-old.C (ReadOld): add buf->params to call of Init
8903 * screen.C: rename text->first to text->first_y
8905 * paragraph.C (breakParagraph): always set layout in the broken
8908 * lyxtextclass.C (Read): remove lowercase
8911 (delete_layout): ditto
8913 * lyxtext.h: rename first -> first_y
8915 * lyxlayout.C (Read): remove lowercase
8918 (obsoleted_by): ditto
8920 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8922 * buffer.C (insertErtContents): add params are to InsetERT
8923 (parseSingleLyXformat2Token): add code to check if a paragraphs
8924 layout really exist.
8925 (parseSingleLyXformat2Token): add params to several inset
8927 (asciiParagraph): remove lowercase, do the layout comparisons with
8930 * BufferView_pimpl.C (cursorNext): first -> first_y
8931 (resizeCurrentBuffer): first -> first_y
8932 (updateScrollbar): first -> first_y
8933 (scrollCB): first -> first_y
8934 (workAreaMotionNotify): first -> first_y
8935 (workAreaButtonPress): first -> first_y
8936 (checkInsetHit): first -> first_y
8937 (cursorPrevious): first -> first_y
8938 (cursorNext): first -> first_y
8939 (Dispatch): add buffer_->params to severl inset contructors
8941 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8943 * lyxlayout.C (Read): remove some debug info that I forgot.
8945 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8946 clean up the code slightly.
8947 (makeLinuxDocFile): ditto
8948 (makeDocBookFile): ditto
8950 * text2.C: layout as string
8952 * text.C: layout as string
8954 * paragraph_pimpl.C: layout as string
8956 * paragraph.[Ch]: layout as string
8958 * lyxtextclasslist.[Ch]: layout as string
8960 * lyxtextclass.[Ch]: layout as string
8962 * lyxtext.h: layout as string
8964 * lyxlayout.[Ch]: layout as string
8966 * lyx_cb.C: layout as string
8968 * bufferview_funcs.C: layout as string
8970 * bufferparams.C: layout as string
8972 * buffer.C: layout as string
8974 * LyXView.[Ch]: layout as string
8976 * LaTeXFeatures.[Ch]: layout as string
8978 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8980 * BufferView_pimpl.C: change current_layout to string, remove
8985 (workAreaButtonRelease): layout as string
8987 * BufferView2.C (unlockInset): adjust
8989 * vspace.C (asLatexCommand): use an explict temp variable.
8991 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8993 * Makefile.am: use FRONTEND_*
8995 2002-03-01 Juergen Vigna <jug@sad.it>
8997 * tabular.C (SetWidthOfMulticolCell): changed to something better
8998 I hope but still work in progress.
8999 (recalculateMulticolumnsOfColumn): renamed function from
9000 recalculateMulticolCells as it is more appropriate now.
9001 (SetWidthOfCell): calculate multicols better.
9003 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9005 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9007 * lyxfunc.C (processKeySym): print sequence also if it is
9008 `deleted' (complete)
9010 * kbsequence.C (print): print sequence even if it is deleted
9011 (complete would be a better word, actually).
9013 * lyxfunc.C (dispatch): print complete options after a prefix key
9015 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9017 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9019 * text2.C (setCharFont): eliminate setCharFont code duplication.
9021 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9023 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9024 LFUN_TABULAR_FEATURE (bug #177)
9026 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9028 * Makefile.am: remove figure.h
9030 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9032 * Bufferview_pimpl.C:
9044 * text2.C: remove #include "lyx_gui_misc.h".
9046 * LaTeX.C: added #include <cstdio>
9048 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9050 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9051 that the paragraph following this one can have.
9053 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9055 * vspace.C (asLatexCommand): fix bogus gcc warning
9057 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9059 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9061 * text2.C (setLayout): get rid of redundant code
9063 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9065 * text2.C (incDepth): make sure depth cannot be increased beyond
9068 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9070 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9071 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9073 * PainterBase.h (image):
9074 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9077 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9081 * BufferView_pimpl.C:
9082 * BufferView_pimpl.h:
9102 * sp_spell.C: remove fig inset, and the crap house of
9103 cards that follows it
9105 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9111 * nt_defines.h: move .h into support/
9113 * vms_defines.h: remove
9115 * WorkArea.C: add space in debug output
9119 * buffer.C: add WITH_WARNINGS
9123 * bufferlist.C: s/retrive/retrieve/, add docs
9134 * lyxgui.C: add ID to X error handler
9136 * lyxtestclass.c: fix typo
9138 2002-02-26 Juergen Vigna <jug@sad.it>
9140 * tabular_funcs.C (write_attribute): changed so that some default
9141 attributes are not written at all.
9142 (getTokenValue): set default values before trying to read the
9143 value so we have the return value always set as default if we don't
9144 find the token we search for.
9146 * tabular.C (Write): write bools as bools not as strings!
9148 2002-02-22 Juergen Vigna <jug@sad.it>
9150 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9151 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9153 * text.C (leftMargin): don't add an indent for paragraphs inside
9154 tabular cells (fix #208).
9156 2002-02-21 José Matos <jamatos@fep.up.pt>
9158 * tabular.C (docBook): fixed support for long tables.
9160 2002-02-20 Juergen Vigna <jug@sad.it>
9162 * text2.C (getFont): get the drawing font of the Inset if this
9163 paragraph is inside an inset (only important for InsetERT for now).
9165 * buffer.C (insertErtContents): use new lanugage params in ERT
9168 * CutAndPaste.C: commenting out seemingly uneeded code.
9170 2002-02-19 Allan Rae <rae@lyx.org>
9172 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9173 Iterators might be simple to use but they also get invalidated.
9174 (removeAutoInsets): renamed saved cursor tracking variables and added
9175 some comments to clarify what everything does.
9177 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9184 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9185 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9188 * vc-backend.h: remove #include "support/syscall.h"
9192 * converter.C: rearrange #includes in Lars' approved fashion.
9194 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9195 forward declare class Timeout in the header file.
9197 * XFormsView.C: changes due to the above.
9199 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9202 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9203 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9205 2002-02-18 José Matos <jamatos@fep.up.pt>
9207 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9210 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9212 * a lot of small ws changes
9213 * add a lot of using std::XXX
9214 * use std construcs some places where approp.
9215 * use some exisint stuff from lyxfunctional where approp.
9216 * Make file changes to use partial linking (lets test this now...)
9218 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9222 remove #include "support/syscontr.h" as it's redundant. Always has been.
9230 change Systemcalls::System to Systemcalls::Wait and
9231 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9232 No change of functionality, just reflects the stripped down Systemcalls
9235 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9237 * debug.[Ch]: add a GRAPHICS type to the enum.
9239 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9241 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9243 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9246 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9248 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9249 match the changes below.
9251 * text2.C (toggleInset): if there is not editable inset at cursor
9252 position, try to see if cursor is _inside_ a collapsable inset
9255 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9257 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9258 document menu has a nice checkbox
9260 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9262 * lyxlength.C (asLatexString): change PW to output as percent of
9265 * lengthcommon.C: change '%' to 't%'
9267 * lyxfunc.C (dispatch): a few comments from Martin
9269 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9273 * BufferView_pimpl.h:
9274 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9277 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9279 * vspace.C (inPixels): fix compiler warning
9281 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9283 * lyxfunc.C (getStatus): fix status message for disabled commands.
9285 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9287 * BufferView_pimpl.C: fix crash on close buffer
9288 during selection (#227)
9290 2002-01-27 Herbert Voss <voss@lyx.org>
9292 * buffer.C: link old Figure to new graphic inset
9294 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9296 * FontLoader.C (getFontinfo): Change the latex font names in order
9297 to match the names of type1inst.
9299 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9301 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9303 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9306 (remove_files_with_extension): ditto
9307 (remove_file): ditto
9310 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9311 document is smaller than the work area height. Do not initialize
9312 static variables to 0.
9314 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9316 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9318 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9319 LFUN_LAYOUT_PARAGRAPHS.
9321 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9322 tabular. It is possible to provide a possible cell, which will
9323 typically be the actcell from the corresponding insettabular
9325 * lyxfunc.C (getStatus): small cleanup; disable
9326 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9329 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9331 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9333 * paragraph.C (startTeXParParams):
9334 (endTeXParParams): new methods. The LaTeX code to
9335 start/end paragraph formatting
9336 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9337 empty (fixes bug #200)
9339 * vspace.C (inPixels): adapt to the change below
9340 (inPixels): [later] more cleanups (remove unused variables)
9342 * lyxlength.C (inPixels): change to use a width and a height as
9345 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9347 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9348 Replaced with \paperwidth
9350 * DepTable.C (insert): add std:: qualifier
9352 2002-01-18 Allan Rae <rae@lyx.org>
9354 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9357 * text.C (drawInset): Turned out I didn't know enough about how
9358 rebreaking worked. This fixes most of the redraw problems. I see
9359 an occasional cursor trail when a line is broken now and the cursor
9360 placement can seem out by a few pixels also after a rebreak.
9362 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9364 * buffer.C (parseSingleLyXformat2Token): update because minipage
9365 width is now a LyXLength
9367 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9369 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9372 2002-01-17 Juergen Vigna <jug@sad.it>
9374 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9376 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9377 is set correctly and the inset is updated correctly.
9379 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9381 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9382 the beginning of the loop.
9384 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9386 * lyxrc.C: improve help for use_scalable_fonts
9388 2002-01-17 Allan Rae <rae@lyx.org>
9390 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9392 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9394 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9395 make sure to set their inset_owner to the right value (bug #171)
9397 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9400 * DepTable.C: Implement mtime checking to reduce time spent doing
9403 2002-01-16 Juergen Vigna <jug@sad.it>
9405 * tabular.C (GetAdditionalHeight): one of error fixed.
9407 * lyxrc.C (output): small fix in writing use_pspell.
9409 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9411 * sp_base.h: #include LString.h
9413 2002-01-16 Allan Rae <rae@lyx.org>
9415 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9416 Can someone check this please?
9418 * text.C (drawInset): It was possible that p.row would be removed by
9419 breakAgainOneRow upsetting a few other settings. There may be another
9420 small tweak possible by setting need_break_row = 0 when p.row has been
9421 removed but I don't know enough about the logic here.
9423 2002-01-15 Allan Rae <rae@lyx.org>
9425 * text.C (insertChar): removed conditional truism.
9427 * BufferView2.C (removeAutoInsets): More tweaks.
9428 cur_par_prev could be a stray pointer. Check for trailing empty line
9429 in case last line was cur_par and only had an error inset on it.
9431 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9433 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9436 * vc-backend.C (most methods):
9437 * exporter.C (Export):
9438 * converter.C (convert):
9440 * LyXSendto.C (SendtoApplyCB):
9441 * lyxfunc.C (dispatch):
9445 * lyx_cb.C (AutoSave):
9447 * BufferView_pimpl.C (MenuInsertLyXFile):
9448 * buffer.C (runChktex): use Buffer::filePath().
9450 * buffer.h: rename filename to filename_; rename filepath to
9451 filepath_ and make it private
9452 (filePath): new method
9454 * buffer.C (writeFile): use fileName()
9457 * lyx_main.C (init): fix starting of LyX when the binary is a
9458 link from so,ewhere else.
9460 * minibuffer.C: include <cctype> for isprint
9462 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9464 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9465 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9466 name clash with InsetCollapsable's width function.
9468 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9470 * lastfiles.C: include <iterator>
9472 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9474 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9477 * buffer.C (makeLaTeXFile): ditto.
9478 Also make loop operation more transparent.
9480 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9482 * ToolbarDefaults.C: remove trailing comma closing namespace.
9484 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9486 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9489 * trans.C (Load): comment out unused variable, allowed.
9491 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9493 * minibuffer.[Ch] (append_char): new method to recieve input from the
9494 drop-down completion browser. If a key was pressed, then recieve this
9495 char and append it to the existing string.
9496 (peek_event): modify the positioning data passed to the completion
9497 browser so that it can be placed above the minibuffer rather than below.
9498 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9500 * LyXAction.C (init): alloe error-next for readonly documents.
9502 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9505 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9507 * bufferlist.C (readFile): create the buffer _after_ checking that
9510 * lyxfunc.C (verboseDispatch): fix handling of arguments
9512 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9514 * lyxrc.C: use string::erase() instead of initializing to "".
9517 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9519 * BufferView_pimpl.h:
9520 * BufferView_pimpl.C:
9523 * text2.C: tell X when we have made a selection for copying
9525 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9527 * BufferView_pimpl.C (MenuInsertLyXFile):
9528 * lyxfunc.C (menuNew):
9530 (doImport): add shortcuts to directory buttons
9532 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9535 * lyxfunc.C (setStatusMessage):
9536 (getStatusMessage): new methods
9537 (getStatus):use setStatusMessage instead of setErrorMessage
9538 (dispatch): when function is disabled, set error message here
9539 [instead of in getStatus previously]
9541 * BufferView_pimpl.C (workAreaButtonRelease): update
9542 toolbar/menubar here too.
9544 2002-01-13 Allan Rae <rae@lyx.org>
9546 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9547 Now seems indestructible. Remaining task is to audit all other
9548 code affected by deleteEmptyParagraphMechanism. One small quirk
9549 left is that an empty document with an error in the preamble can
9550 be made to report an error but no error box appears. I don't know
9552 (removeAutoInsets): Improved comments.
9554 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9557 * Thesaurus.C: update for Aiksaurus 0.14
9559 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9561 * text2.C (firstParagraph): removed member function, all uses
9562 replaces with ownerParagraph
9563 (redoParagraphs): here
9565 (toggleAppendix): here
9566 * BufferView2.C (insertErrors): here
9567 (setCursorFromRow): here
9569 2002-01-13 Allan Rae <rae@lyx.org>
9571 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9572 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9573 There is still a way to segfault this although you may have to do this
9574 multiple times: Have an InsetERT with an unknown command in it.
9575 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9576 <down-arrow>, <Enter> again, View->DVI, BANG!
9578 * text2.C (setCursor):
9579 (deleteEmptyParagraphMechanism):
9580 * lyxtext.h (setCursor):
9581 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9582 Making use of the return value may help fix other bugs.
9584 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9586 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9588 * LyXView.C (updateMenubar): call MenuBar::update here
9589 (updateToolbar): but not here
9590 (showState): do not update toolbar/menubar
9592 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9593 should need to care about that.
9595 * lyxfunc.C (verboseDispatch): simplify a bit
9596 (getStatus): have a version which takes a pseudoaction, and
9597 another which requires a (kb_action,string).
9599 * LyXAction.C (retrieveActionArg): make it work also when action
9600 is not a pseudo-action.
9601 (getActionName): simplify a bit
9604 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9606 * lyxfunc.C (verboseDispatch): new families of methods with
9607 several ways to specify a command and a bool to indicate whether
9608 the command name and shortcut should be displayed in minibuffer
9609 (eventually, we could extend that to a finer bitmask like
9610 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9611 (dispatch): the pristine dispatch command which just, well,
9612 dispatchs! Note it still sets its result to minibuffer; I'm not
9615 * lyxfunc.h: remove setHintMessage
9617 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9619 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9621 * BufferView_pimpl.C (specialChar): delete new inset if we have
9622 not been able to insert it.
9624 * kbmap.C: revert to using int instead of kb_action, since all we
9625 are dealing with is pseudo-actions.
9627 * LyXAction.C (searchActionArg): change to return int instead of
9628 kb_action, since the result is a pseudoaction.
9630 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9632 * buffer.C (insertErtContents): Fix (partially) the font bug.
9634 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9636 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9637 as the other one is broken on my machine!
9639 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9642 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9644 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9646 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9647 reflect their actual use. Provide compatibility code for older lyxrc
9650 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9652 change names of popup font variables in line with the changes to lyxrc.C
9654 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9656 * buffer.C (asciiParagraph): avoid outputing a word twice after
9659 * lyxrc.C (getDescription): document that document_path and
9660 template_path can be empty.
9662 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9664 * LaTeXFeatures.C (getMacros):
9665 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9667 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9669 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9671 (getPackages): rename feature "floats" to "float". Use an array to
9672 iterate over 'simple' features (i.e. just a \usepackage). Add
9673 handling of "amsmath" (renamed from "amsstyle").
9675 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9677 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9680 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9682 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9683 FuncStaus::FuncStatus & FuncStaus::some_method().
9685 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9687 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9688 of the func_satus stuff. Edited and massaged in various ways by
9691 * lyxfunc.C (getStatus): use FuncStatus
9693 2002-01-08 Juergen Vigna <jug@sad.it>
9695 * text.C (nextBreakPoint): use function Inset::isChar().
9697 * paragraph.C (TeXOnePar): use function
9698 Inset::forceDefaultParagraphs.
9700 * buffer.C (latexParagraphs): use function
9701 Inset::forceDefaultParagraphs.
9703 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9705 * lyx_gui.C (init): set the style of the menu popups to
9706 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9708 2002-01-07 Juergen Vigna <jug@sad.it>
9710 * text.C (setHeightOfRow): small fix
9711 (prepareToPrint): don't look at alignment if we don't have the place
9714 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9716 * box.C: New file. Move the Box methods and functions out of box.h,
9717 following Lars' suggestion.
9719 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9721 * box.h: #include "support/LOstream.h", needed for inlined function.
9724 * lyxtextclasslist.C: added some using std declarations.
9726 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9728 * box.h: make signed dimensions to allow insets wider than
9729 the screen (bug #162)
9731 * BufferView_pimpl.C: add some insetHit debug
9733 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9735 * vc-backend.C: add FIXME
9737 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9739 * lyxfunc.C (getStatus): enable code for showing math font status
9742 2002-01-07 Juergen Vigna <jug@sad.it>
9744 * text.C (nextBreakPoint): removed debug output not needed anymore.
9746 2002-01-06 Juergen Vigna <jug@sad.it>
9748 * text.C (nextBreakPoint): fixed up this function we had this bug
9749 since ever but now hopefully we break row better.
9750 (insertChar): we have to check if an inset is the next char as it
9751 could now happen that a large inset is causing a break.
9753 2002-01-05 Juergen Vigna <jug@sad.it>
9755 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9756 if it doesn't like to be drawed.
9758 2002-01-04 Juergen Vigna <jug@sad.it>
9760 * BufferView2.C (lockInset): forgot to set a cursor.
9762 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9764 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9769 * form_maths_panel.C:
9770 * form_maths_panel.h:
9771 * form_maths_panel.fd: implemented sub- and super- buttons in math
9774 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9775 (or ^ space) to be used as in TeX (req'd by André).
9777 * lyxfunc.C: Allow ^ and _ again to be used both as
9778 super/subscript (mathed) and as themselves (in text).
9780 2002-01-03 Allan Rae <rae@lyx.org>
9782 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9783 "LyX" or the filename of the current buffer if it has one. This is a
9784 modified form of John Levon's patch.
9786 * XFormsView.C (setWindowTitle): also set icon title.
9788 * LyXView.h (setWindowTitle): signature changed.
9789 * XFormsView.h (setWindowTitle): ditto.
9791 2002-01-02 Juergen Vigna <jug@sad.it>
9793 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9795 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9797 * screen.C (topCursorVisible): introduce a temp var for
9798 text->cursor.row(), handle the case where this row is null. (kindo
9801 * text2.C (setCursor): add a couple of asserts.
9803 * paragraph.h (inset_iterator): add -> operator
9805 * paragraph.[Ch] (autoDeleteInsets): remove member function
9807 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9808 cursor pos correctly and handle inset deletion by itself.
9809 (insertErrors): move iterator declaration out of for expression
9811 * lyxtextclass.C: add <algorithm>
9813 * Makefile.am: added the new files to sources, removed layout.C
9815 * layout.C: removed file
9817 * layout.h: remove LYX_DUMMY_LAYOUT
9819 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9823 * lyxtextclass.[Ch]:
9824 * lyxtextclasslist.[Ch]: new files
9826 * include order changes to a lot of files, also changes because of
9829 2001-12-27 Juergen Vigna <jug@sad.it>
9831 * buffer.C (asciiParagraph): more fixes.
9833 * tabular.C (ascii): make ascii export support export of only the
9834 data separated by a column-delimiter.
9835 (ascii): better support for ascii export.
9837 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9839 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9841 * tabular_funcs.C: use a "using std::getline" instead of the
9842 previous fix from Angus (necessary for cxx + lyxstring)
9844 2001-12-24 Juergen Vigna <jug@sad.it>
9846 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9848 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9849 problems. First check a minipage also if we have some ert-contents
9850 (not only on par->size(), second set the right depth of the paragraph
9851 on the relink to the root-paragraph-list!
9853 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9854 which then did not anymore update the main paragraphs on undo/redo!
9856 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9858 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9859 code. Support all font-changing funcs (even those which are not in
9860 menu currently). Support for reporting font settings in
9861 mathed (disabled until Andre provides a function on mathed's side).
9863 * func_status.h (toggle): small helper function to set toggle
9866 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9868 * tabular_funcs.C: getline -> std::getline
9870 2001-12-21 Juergen Vigna <jug@sad.it>
9872 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9873 accessed and could be 0 (I couldn't generate this but it seems
9876 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9878 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9879 * tabular_funcs.h: here and include iosfwd
9881 2001-12-20 Juergen Vigna <jug@sad.it>
9883 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9884 inside inset but undo_par was.
9886 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9888 * Thesaurus.C: always include <config.h> in sources.
9892 * box.h: do not include <config.h> in header files
9894 * text.C (paintLastRow): remove unused variable
9896 * text.C (transformChar):
9898 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9901 * font.C (width): rewrite to use uppercase() instead of
9904 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9906 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9908 * lyxfind.C: clean up of find failure position change
9910 2001-12-20 Juergen Vigna <jug@sad.it>
9912 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9914 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9915 (TeXRow): added to LaTeX a single tabular row.
9916 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9917 (Latex): simplified and finally good LT-h/f support.
9918 (various_functions): just small adaptions for LT-h/f support.
9920 * tabular_funcs.[hC]: added and moved here all not classfunctions
9923 2001-12-19 Juergen Vigna <jug@sad.it>
9925 * tabular.[Ch]: better support for longtabular options (not finished
9928 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9930 * text.C (paintLastRow): use the label font instead of the font of
9931 the last character to compute the size of *_BOX. This makes more
9932 sense and avoids a crash with empty paragraphs.
9933 Use Painter::rectangle to draw EMPTY_BOX.
9935 2001-12-19 Juergen Vigna <jug@sad.it>
9937 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9938 the paragraphs if the replaced paragraph is not the first one!
9939 Tried to delete not used paragraphs but does not work yet so for
9940 now it's inside #ifdef's and by default off!
9942 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9944 * MenuBackend.C: include "lyx_main.h" instead of declaring
9945 lastfiles (actually was declared as LastFiles* instead of a
9948 2001-12-17 Juergen Vigna <jug@sad.it>
9950 * tabular.C (AppendColumn): applied John's fix
9952 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9956 * BufferView_pimpl.h:
9957 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9960 * box.h: new start of class for above
9962 * lyxfunc.C: ignore space-only minibuffer dispatches.
9963 Show the command name when it doesn't exist
9965 * minibuffer.C: don't add empty lines to the history
9967 * minibuffer.C: add a space on dropdown completion
9969 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9971 * text.C: fix line above/below drawing in insets
9973 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9975 * lyxlength.C (LyXLength): Initialize private variables.
9977 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9979 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9980 when inserting error insets.
9982 2001-12-13 Juergen Vigna <jug@sad.it>
9984 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9985 actually sometimes the before-paragraph.
9986 (setUndo): don't clear the redostack if we're not actually undoing!
9988 2001-12-06 Juergen Vigna <jug@sad.it>
9990 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9991 and fixed redoing of main paragraph, so we can use it now ;)
9993 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9995 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9997 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10000 2001-12-13 André Pönitz <poenitz@gmx.net>
10003 * undo_func.C: minor cleanup
10005 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10007 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10008 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10009 font in urw-fonts package which is marked as -urw-fontspecific and
10010 does not work (incidentally, changing the encoding in the
10011 fonts.dir of this package to -adobe-fontspecific fixes the
10014 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10015 is a crash when undoing first paragraph (Juergen, please take a
10016 look). THis does not mean the undo fix is wrong, just that it
10019 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10020 the (Paragraph*) version when needed instead of duplicating the
10023 * text.C (workWidth): use Inset::parOwner to find out where the
10024 inset has been inserted. This is a huge performance gain for large
10025 documents with lots of insets. If Inset::parOwner is not set, fall
10026 back on the brute force method
10028 * paragraph_pimpl.C (insertInset):
10029 * paragraph.C (Paragraph):
10030 (cutIntoMinibuffer): set parOwner of insets when
10031 inserting/removing them
10033 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10035 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10041 * mathed/formulabase.C:
10042 * mathed/math_cursor.[Ch]:
10043 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10046 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10048 * lyxlength.[Ch] (operator!=): new function
10050 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10052 * text.C (workWidth): use Inset::parOwner to find out where the
10053 inset has been inserted. This is a huge performance gain for large
10054 documents with lots of insets. If Inset::parOwner is not set, fall
10055 back on the brute force method
10057 * paragraph_pimpl.C (insertInset):
10058 * paragraph.C (Paragraph):
10059 (cutIntoMinibuffer): set parOwner of insets when
10060 inserting/removing them
10062 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10064 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10066 * tabular-old.C (getTokenValue):
10067 * tabular.C (getTokenValue):
10068 (write_attribute): new versions for LyXLength
10069 (everywhere): adjust the use of widths
10071 * tabular.h: change the type of widths from string to LyXLength
10073 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10075 * paragraph.C: fixed missing line number count when exporting
10076 Environments to LaTeX file
10078 * buffer.C: added informational message for checking line numbers.
10080 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10082 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10083 paragraph, do the 'double space' part, but not the 'empty
10086 * text.C (workWidth): small optimization
10087 (getLengthMarkerHeight): use minimal size for negative lengths.
10089 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10091 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10093 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10095 2001-12-11 André Pönitz <poenitz@gmx.net>
10098 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10100 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10102 * text2.C: keep selection on a setFont()
10104 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10106 * lyx_cb.C: another bv->text misuse, from insert label
10108 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10111 * kbsequence.C: re-instate nmodifier mask
10113 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10115 * lyx_main.h: make lyxGUI private.
10117 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10119 * lyxfind.C: place the cursor correctly on failed search
10121 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10123 * text.C (getLengthMarkerHeight): for small heights, the arrows
10124 are not always on top/bottom of the text
10125 (drawLengthMarker): smaller arrows; take the left margin in
10126 account; draw also vfills.
10128 (paintLastRow): remove special code for vfill and standard spaces,
10129 since everything is handled in drawLengthMarker now.
10131 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10133 * buffer.C (insertErtContents): try to handle font and language
10134 interaction a bit better.g
10136 * ColorHandler.C (updateColor): change the hash to cover the whole
10137 LColor enum, ws cleanup
10138 (getGCLinepars): ditto
10139 (getGCLinepars): only lookup in the linecache once.
10141 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10143 * iterators.C (operator++): Make the iterator more robust
10145 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10147 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10149 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10152 * text.C: better added space drawing
10154 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10157 * BufferView2.C: fix layout combo update on inset unlock
10159 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10161 * Makefile.am: don't compile unused files
10163 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10167 * LyXAction.C: remove old LFUN_LAYOUTNO
10169 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10171 * paragraph_pimpl.h:
10172 * paragraph_pimpl.C: isTextAt() doesn't need font param
10174 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10177 * lyxlex.C: little cleanup
10179 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10181 * BufferView_pimpl.C: fix insertAscii for insets
10183 2001-12-05 Juergen Vigna <jug@sad.it>
10185 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10186 set the right font on the "multi" paragraph paste!
10188 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10194 * lyxlength.C: remove out-commented code.
10196 * BufferView_pimpl:
10210 * vc-backend.C: change "while(" to "while ("
10212 * lyxlength.[Ch]: add zero function to check if length is zero or
10214 * lyxgluelength.C: use it
10216 2001-12-05 Allan Rae <rae@lyx.org>
10218 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10219 Works for 2.95.3, from what I understand of Garst's reports this should
10220 work for other g++ versions. We're screwed if the abs(int) definition
10221 changed between bugfix releases of gcc.
10223 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10225 * text.C: fix chapter label offset !
10227 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10230 * text.C: fix hfill at end of line, clean up
10232 2001-12-04 Juergen Vigna <jug@sad.it>
10234 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10235 that we force an update of the inset and it's owners if neccessary.
10237 2001-12-03 Juergen Vigna <jug@sad.it>
10239 * text.C (rowLast): simplified code
10241 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10243 * lyxfunc.C: fix show options on timeout
10245 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10247 * screen.C (topCursorVisible): scroll half a page when the cursor
10248 reached top of bottom of screen
10250 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10252 * minibuffer.C: deactivate on loss of focus
10254 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10256 * vspace.[Ch] (operator!=): add operator.
10258 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10260 * BufferView_pimpl.C: refuse to open an inset when
10261 there's a selection.
10263 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10265 * BufferView_pimpl.C: allow to click on RHS of full row insets
10267 2001-11-30 Juergen Vigna <jug@sad.it>
10269 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10270 insets for undo reasons.
10272 2001-11-28 André Pönitz <poenitz@gmx.net>
10274 * vspace.[Ch]: cosmetical changes
10276 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10286 * kbsequence.C: part re-write of old kb code
10289 * WorkArea.C: remove Lgb_bug_find_hack
10291 2001-11-30 José Matos <jamatos@fep.up.pt>
10293 * buffer.C (makeDocBookFile): add a comment to point a hack.
10294 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10295 Fixed a double write of labels.
10297 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10300 * LaTeX.h Fixed bug in LaTeX class where it would not
10301 re-run latex if no depfiles were changed, but the .dvi was removed.
10303 2001-11-28 André Pönitz <poenitz@gmx.net>
10305 * all the files from the change on 2001/11/26:
10306 use lyx::layout_type instead of LyXTextClass::size_type
10307 use lyx::textclass_type instead of LyXTextClassList::size_type
10309 2001-11-29 Juergen Vigna <jug@sad.it>
10311 * text.C: added support for paragraph::isFreeSpacing()
10313 * buffer.C: same as above
10315 * paragraph.h: inserted isFreeSpacing() function to enable
10316 FreeSpacing inside InsetERT.
10318 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10319 of the paragraph's in the cut/copy buffer to 0!
10321 * text2.C (removeRow): remove the assert as it can!
10323 * lyxtext.h: added helper function firstRow returning firstrow and
10324 made firstrow private again.
10326 * BufferView2.C (lockInset): don't relock if we're already locked!
10328 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10329 the only paragraph.
10330 (removeRow): added Assert::(firstrow)
10332 * debug.C: forgot to add INSETTEXT here.
10334 2001-11-28 Juergen Vigna <jug@sad.it>
10336 * sp_spell.C (initialize): changed error text to more general
10337 spellchecker command use (not only ispell!)
10339 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10341 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10343 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10345 * vspace.C: initialise lyxgluelength on failure
10347 2001-11-28 Allan Rae <rae@lyx.org>
10349 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10350 declaration & definition that looks like a function declaration.
10352 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10354 * BufferView2.C (copy):
10355 (copyEnvironment): do not clear the selection when doing a copy.
10357 * text.C (paintFirstRow): compilation fix
10359 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10361 * tabular.C (Latex): correct line count when writing latex.
10363 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10365 * paragraph_pimpl.h:
10366 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10369 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10373 * LColor.C: change vfillline->added_space
10375 * text.C: add markers and text for added space
10377 * vspace.C: fix comment
10379 2001-11-28 André Pönitz <poenitz@gmx.net>
10381 * paragraph.C: whitespace changes
10382 * all the other files from the change on 2001/11/26:
10383 change *::pos_type into lyx::pos_type
10385 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10387 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10388 language of the document when inserting error insets.
10390 2001-11-26 André Pönitz <poenitz@gmx.net>
10392 * BufferView_pimpl.[Ch]:
10400 * paragraph_pimpl.[Ch]:
10403 * text2.C: reduce header dependencies, introduce type for positions
10405 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10407 * <various>: change to use Alert.h
10409 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10411 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10412 when encountering an unknown token.
10413 (readLyXformat2): Show an error message if there were unknown tokens.
10415 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10418 * BufferView_pimpl.C:
10422 * text2.C: use par->isInset()
10424 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10426 * paragraph_pimpl.h:
10427 * paragraph_pimpl.C: cleanup
10429 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10431 * text2.C (removeRow):
10432 * text.C (setHeightOfRow): remove useless (and costly) call to
10435 2001-11-20 Allan Rae <rae@lyx.org>
10437 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10438 Now need Inset*::checkInsertChar() to return true for appropriate
10439 cases so that the characters in the minibuffer will actually be
10442 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10444 * text.C: change the order of the includes.
10445 (workWidth): initialize it at once.
10446 (workWidth): make maxw unsigned
10447 (setHeightOfRow): remove unused variable (inset)
10448 (selectSelectedWord): remove unused variable (inset)
10449 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10451 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10453 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10454 server is not running.
10456 (closeConnection): add debug info when server is disabled.
10458 * ColorHandler.C (getGCForeground): send debug message to GUI
10461 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10463 * kbmap.C (bind): modify because return conventions of
10464 kb_sequence::parse have changed.
10466 * kbsequence.C (parse): only ignore spaces and not any stupid
10467 control character. This avoids tests like s[i] <= ' ', which are
10468 guaranteed to fail with 8bit characters and signed chars.
10469 Change return code to string::npos when there have been no error
10470 (0 was a bad idea when error is at first character)
10472 2001-11-14 José Matos <jamatos@fep.up.pt>
10475 * buffer.C (simpleDocBookOnePar): removed unused argument.
10477 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10479 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10480 insets which are part of a word. Paragraph::isLetter takes care of
10481 that now. Use Paragraph::isInset to identify insets.
10482 (selectSelectedWord): do not test for hyphenation break.
10484 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10485 that protected spaces are considered as spaces.
10487 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10490 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10493 * lyxserver.C: fix it. and small cleanup.
10495 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10497 * BufferView_pimpl.C: use inline helpers
10500 * LaTeXFeatures.C: fix typos
10503 * Spacing.C: move spacing_string into class
10505 * ToolbarDefaults.C: move stuff into namespace anon
10507 * layout.h: update enum
10509 * lyxfunc.C: use better debug
10511 * minibuffer.h: fix typo
10515 * WorkArea.C: add and use Debug::WORKAREA
10519 * text2.C: code re-organisation, inline helpers
10521 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10523 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10524 std::vector.empty().
10526 2001-11-09 Allan Rae <rae@lyx.org>
10528 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10529 '\n's after tables. Tabular and ERT inset work now makes this no
10532 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10535 * minibuffer.C: fix crash, improve drop-down completion
10537 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10540 * lyxserver.C: invalidate fd's when doing endPipe()
10542 2001-11-08 José Matos <jamatos@fep.up.pt>
10544 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10545 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10548 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10550 2001-11-07 José Matos <jamatos@fep.up.pt>
10553 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10556 * buffer.C (sgmlOpenTag):
10557 * buffer.C (sgmlCloseTag): removed debug info.
10559 * buffer.h (sgmlOpenTag):
10560 * buffer.h (sgmlCloseTag): made public.
10562 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10564 * buffer.C (saveParamsAsDefaults):
10565 * lyx_cb.C (MenuLayoutSave): remove
10567 * LyXAction.C (init):
10569 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10571 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10573 * buffer.C (setPaperStuff): removed from here...
10575 * bufferparams.C (setPaperStuff): ... and moved there.
10577 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10581 * XFormsView.C: add support for drop-down completion
10583 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10585 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10588 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10590 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10593 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10595 * lyx_main.C: change ref to known bugs
10597 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10599 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10600 to work around older babel problems.
10602 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10604 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10606 2001-10-24 Juergen Vigna <jug@sad.it>
10608 * tabular-old.C (ReadOld): below variable changes reflected.
10610 * tabular.[Ch]: added ltType struct for longtable header/footer
10611 defines and changed all instances where they are used. Added
10612 future support for double top/bottom rows.
10614 2001-10-24 José Matos <jamatos@fep.up.pt>
10616 * buffer.h (docbookHandleCaption):
10617 * buffer.C (docbookHandleCaption): removed unused function.
10618 (makeDocBookFile): moved docbook supported version to v4.1.
10620 2001-10-24 José Matos <jamatos@fep.up.pt>
10623 * tabular.C (docbookRow): new function to export docbook code of a row.
10624 (DocBook): now honors the longtable flags.
10626 2001-10-23 José Matos <jamatos@fep.up.pt>
10629 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10630 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10632 * buffer.C (makeLinuxDocFile):
10633 (makeDocBookFile): reworked the preamble, more clean, and with
10634 support for lyx defined entities. Changed the document declaration
10635 to be more XML friendly.
10637 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10638 if we need to output XML that should be done with a filter.
10640 2001-10-22 Juergen Vigna <jug@sad.it>
10642 * sp_pspell.h (class PSpell): add alive function needed in the
10643 controller to see if the spellchecker could be started.
10645 2001-10-22 Juergen Vigna <jug@sad.it>
10647 * buffer.C (insertStringAsLines): modify the font for inserting
10648 chars in certain conditions by calling checkInsertChar(font).
10650 2001-10-19 Juergen Vigna <jug@sad.it>
10652 * text.C (workWidth): use getRow instead of wrong algorithm.
10653 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10655 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10660 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10662 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10664 * text.C (workWidth): do not search for the exact row when
10665 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10666 optimization for big documents.
10668 2001-10-18 Juergen Vigna <jug@sad.it>
10670 * text.C (workWidth): new function with added Inset * parameter.
10672 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10674 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10676 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10677 change return type of getColumnNearX.
10680 * text.C (changeRegionCase): use uppercase/lowercase instead of
10683 (rightMargin): simplify code by factoring out the uses of
10688 (appendParagraph): use Paragraph::size_type
10690 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10692 * vspace.C (asLatexString): add a missing break
10694 2001-10-15 Herbert Voss <voss@perce.de>
10696 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10698 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10700 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10703 2001-10-10 André Pönitz <poenitz@gmx.net>
10705 * lyxfunc.C: removed greek_kb_flag.
10707 2001-10-10 Herbert Voss <voss@perce.de>
10709 * lyx_main.C: delete global string help_lyxdir.
10711 2001-10-09 Herbert Voss <voss@perce.de>
10713 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10715 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10717 * lyx_main.C: added global string help_lyxdir.
10719 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10721 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10723 * lyxrc.C (set_font_norm_type): support iso8859-4
10725 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10727 * LaTeX.C (deplog): add another regex for MikTeX
10729 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10731 * lyxrc.C (set_font_norm_type): support iso8859-3
10733 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10735 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10737 * LaTeXFeatures.C: remove special case of french and index
10739 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10740 before \begin{document}). This solves several incompatibilities.
10742 2001-10-03 Garst Reese <reese@isn.net>
10744 * lyx_cb.C: change CheckTex error msg.
10746 2001-10-03 José Matos <jamatos@fep.up.pt>
10748 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10750 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10752 * .cvsignore: update
10754 * lyx_main.C (commandLineVersionInfo): use new style version info.
10756 * buffer.C (writeFile):
10758 (makeLinuxDocFile):
10759 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10761 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10763 * version.h: update to use stuff in version.C
10765 * version.C.in: new file. Contains version information determined
10766 at compile time. This is a merging of version.h and
10769 2001-10-03 Juergen Vigna <jug@sad.it>
10771 * BufferView_pimpl.C (update): don't change "dirty" status in
10774 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10776 * WorkArea.C (c-tor): re-position version string slightly.
10778 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10780 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10781 revert to previous code.
10783 WorkArea.[Ch]: (show, destroySplash): methods removed.
10785 WorkArea.C: rework code so that it's an amalgam of the codes before and
10786 after the splash screen was moved to WorkArea.
10788 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10791 * vspace.C (inPixels):
10794 * buffer.C (insertStringAsLines):
10795 (asciiParagraph): fix types to be large enough
10797 * lyxlex_pimpl.h: change member status from short to int
10799 * layout.h: fix type of endlabeltype
10802 * kbsequence.C (parse): change return type to string::size_type
10804 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10807 * Bullet.C (bulletSize):
10808 (bulletEntry): do not use short ints as parameters
10810 * BufferView2.C (insertLyXFile): change a char to an int.
10812 * WorkArea.C (WorkArea): remove unneeded floats in computation
10814 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10816 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10818 * paragraph.C (asString): Do not ignore newline/hfill chars when
10819 copying to the clipboard.
10821 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10823 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10824 after a multi-line inset.
10826 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10828 * paragraph.C (validate): Set NeedLyXFootnoteCode
10830 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10832 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10833 and decrease-error to decrease.
10835 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10837 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10838 it more readable (should be equivalent)
10840 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10842 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10844 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10846 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10847 of a cursor (row, etc.) after a character has been deleted
10848 (deleteEmptyParagraphMechanism): call the method above on _all_
10849 cursors held by the LyXText when a double space has been
10852 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10854 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10856 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10858 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10859 background. Use greyOut() and the new show() methods to toggle between
10860 the foreground and background. Add code to remove the splash after
10861 its initial showing.
10863 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10864 (create_forms): no longer call Dialogs::showSplash.
10866 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10868 * .cvsignore: add version_info.h
10870 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10872 * version_info.h.in: new file
10874 * Makefile.am: add version_info.h.in
10876 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10877 version_info.h instead of VERSION_INFO
10879 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10881 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10882 The ERT inset now returns string().
10884 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10886 * lyxtext.h, text.C (selectNextWord): renamed as
10887 selectNextWordToSpellcheck.
10889 * text.C (selectNextWordToSpellcheck): Modified to not select
10890 words inside an ERT inset.
10892 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10894 * lyx_cb.C (MenuLayoutSave): change a bit the question
10896 * sp_base.h: include <sys/types.h>
10898 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10900 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10902 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10904 * several files: fix typos in user-visible strings
10906 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10908 * text2.C (pasteSelection): do not set the selection, since it
10909 will be cleared later. Actually, the intent was to fix the way the
10910 selection was set, but I figured rmoving the code was just as good.
10912 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10914 * FontLoader.C (available): Check if font is available without
10917 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10919 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10921 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10923 * lyxrc.[Ch]: added display_graphics variable and associated code.
10925 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10927 * bufferparams.C (hasClassDefaults): new method. Returns true if
10928 the buffer parameters correspond to known class defaults
10930 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10932 * XFormsView.C (show): set minimum size to the main window.
10934 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10936 * text2.C (copySelection):
10938 * lyxfind.C (LyXReplace):
10939 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10940 LyXText::selectionAsString.
10942 * paragraph.C (asString): add "label" argument to the second form
10944 * text2.C (selectionAsString): add "label" argument and pass it to
10945 Paragraph::asString.
10947 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10949 * lyx_main.C (commandLineHelp): remove version information
10951 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10953 * lyx_main.C: add -version commandline option
10955 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10957 * paragraph.h: make the optional constructor arg required instead.
10958 some modifications to other files because of this.
10960 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10962 * lyxserver.C (C_LyXComm_callback): make it static
10964 * lyx_main.C (error_handler): make it static
10966 * lyx_gui.C (LyX_XErrHandler): make it static
10968 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10970 * WorkArea.C: make the extern "C" methods static.
10972 * Makefile.am (lyx_LDADD): simplify
10974 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10976 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10977 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10979 * LyXAction.C (init):
10980 * lyxfunc.C (dispatch): associated code removal.
10982 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10984 * lyxfont.h (isSymbolFont): shut off warning
10986 * text.C (setHeightOfRow):
10987 (getVisibleRow): fix crash with empty paragraphs which have a
10990 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10992 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10995 2001-09-04 José Matos <jamatos@fep.up.pt>
10998 * tabular.C (docbook): rename docBook method to docbook.
11000 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11002 * Makefile.am: add dependencies to main.o.
11004 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11006 * FontLoader.C (available): Return false if !lyxrc.use_gui
11008 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11010 * FontInfo.C (query):
11011 * converter.C (view):
11012 * importer.C (Import):
11013 * exporter.C (Export): Can not -> cannot.
11015 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11017 * BufferView_pimpl.C: allow to create index inset even if
11020 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11022 * buffer.C (getLists): replace boost::tie code with an explicit pair
11023 as boost::tie can break some compilers.
11025 * iterators.h: Added a std:: declaration to the return type of
11028 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11030 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11033 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11035 * iterators.[Ch]: New files. Provide paragraph iterators.
11037 * buffer.C (changeLanguage): Use paragraph iterators.
11038 (isMultiLingual): ditto
11040 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11042 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11044 * FontLoader.C: Support for cmr font.
11046 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11048 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11049 (available): New method.
11051 * FontInfo.C (getFontname): Use scalable fonts even when
11052 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11055 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11057 * converter.C (Formats::view): reverted! Incorrect fix.
11059 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11061 * converter.C (Formats::view): only output the -paper option
11062 if the dvi viewer is xdvi, thereby fixing bug #233429.
11064 2001-08-23 Herbert Voss <voss@perce>
11066 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11068 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11070 * Spacing.h (Spacing): Set space to Default on in the default
11073 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11075 * vc-backend.h (RCS::versionString): add RCS to version
11076 (CVS::versionString): add CVS to version
11078 * vc-backend.C (scanMaster): do not add CVS to version.
11079 (scanMaster): do not add RCS to version
11081 * lyxvc.C (versionString): new method
11083 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11085 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11087 * Spacing.C (set): initialize fval
11089 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11091 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11094 2001-08-16 Juergen Vigna <jug@sad.it>
11096 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11098 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11100 * BufferView_pimpl.C:
11103 * text2.C: setParagraph takes linespacing now
11105 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11107 * LyxAction.C: add internal LFUN_CITATION_INSERT
11109 * LyXView.C: actually apply fix
11111 * bufferlist.C: fix open non-existent file
11113 * lyxfind.C: fix indentation
11115 * lyxfunc.C: remove unneeded assert, fix typo
11117 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11119 * MenuBackend.C: use "Floatname List"
11121 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11123 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11124 when converting LaTeX layout to insetERT.
11125 Generate a non-collapsed float when reading old float
11127 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11129 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11132 2001-08-13 Juergen Vigna <jug@sad.it>
11134 * text.C (fill): return 0 instead of 20 as this seems to be the more
11137 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11139 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11142 2001-08-13 Juergen Vigna <jug@sad.it>
11144 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11146 (SearchBackward): comment out the unlocking of the inset_owner this
11147 should not be needed!
11149 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11151 * Many files: Remove inherit_language, and add latex_language
11153 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11154 collapsible insets.
11156 2001-08-10 Juergen Vigna <jug@sad.it>
11158 * text.C (prepareToPrint): fixed hfill-width in draw!
11160 * BufferView2.C (selectLastWord): save the selection cursor as this
11161 now is cleared in the function LyXText::clearSelection!
11163 2001-08-08 Juergen Vigna <jug@sad.it>
11165 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11166 BACKSPACE type functions.
11168 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11169 is only cutted from the document but not put in the cut-buffer, where
11170 still the old stuff should be.
11172 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11174 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11176 * tabular.C (SetWidthOfCell): fixed special case where the width
11178 (LeftLine): handle '|' in align_special.
11180 (LeftAlreadyDrawed): ditto
11181 (SetWidthOfCell): ditto
11183 2001-08-07 Juergen Vigna <jug@sad.it>
11185 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11187 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11189 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11190 * lyxlex.[hC]: ditto
11192 2001-08-06 Juergen Vigna <jug@sad.it>
11194 * text.C (getVisibleRow): fix up row clearing a bit.
11196 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11198 * minibuffer.C: make sure the X server sees the changes in the input.
11200 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11202 * paragraph.C (getFont): split into...
11203 (getLabelFont): this
11204 (getLayoutFont): and this
11205 * paragraph_pimpl.C (realizeFont): calling this
11207 * text2.C (getFont): split into...
11208 (getLayoutFont): this
11209 (getLabelFont): and this
11210 (realizeFont): all three calling this
11212 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11215 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11217 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11219 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11221 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11222 layouts from the Quote inset insertion.
11224 2001-08-03 Juergen Vigna <jug@sad.it>
11226 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11228 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11229 only if status not is already CHANGED_IN_DRAW (second level).
11231 * text.C (draw): don't set the need_break_row when inside an
11234 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11236 * buffer.C (parseSingleLyXformat2Token): handle more latex
11239 * bufferview_funcs.[hC]: change function names to
11240 begin with small char, adjust other files.
11242 2001-08-02 André Pönitz <poenitz@gmx.net>
11245 BufferView_pimpl.C: remove broken special code for math-greek
11247 2001-08-02 Juergen Vigna <jug@sad.it>
11249 * BufferView_pimpl.C (update): redone this function so that we
11250 update the text again if there was a CHANGE_IN_DRAW.
11252 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11253 (drawFromTo): added a new internal bool which is used by draw() and
11255 (general): some cursor drawing problems fixed.
11257 2001-08-01 Juergen Vigna <jug@sad.it>
11259 * lyxfind.C (LyXFind): fixed
11260 (SearchForward): ditto
11261 (SearchBackward): ditto
11263 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11264 spurius drawing of the cursor in the main area.
11266 * text2.C (status): small fix which could lead to a segfault!
11267 (clearSelection): remove unneeded BufferView param.
11269 2001-08-01 André Pönitz <poenitz@gmx.net>
11271 * lyxfunc.C: small change due to changed mathed interface
11273 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11275 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11277 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11279 * lyxfunc.c: fail gracefully if file doesn't exist
11284 * BufferView_pimpl.C: IsDirWriteable() proto changed
11286 * LyXView.C: fix updateWindowTitle() to store the last title
11288 2001-07-31 Juergen Vigna <jug@sad.it>
11290 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11291 the font (wrong since using of Paragraph::highestFontInRange).
11293 * paragraph.C (highestFontInRange): added a default_size parameter.
11295 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11296 (setHeightOfRow): reformat
11298 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11300 * converter.[hC] + affected files: move to (inital-char)lowercase
11303 * ParagraphParameters.C (ParagraphParameters): remove commented code
11305 * PainterBase.[Ch]: remove commented code
11307 * LaTeXFeatures.h: add "bool floats" for float.sty
11309 * LaTeXFeatures.C (LaTeXFeatures): init floats
11310 (require): handle float
11311 (getPackages): do it with floats
11313 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11315 * BufferView_pimpl.C (Dispatch): improve handling of
11316 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11318 * commandtags.h: #include lyxfont.h here temporarily to avoid
11321 * bufferlist.h: include LString.h here.
11323 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11325 * text2.C (getStringToIndex): new method.
11327 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11329 * *: Reduced header file dependencies all over.
11331 2001-07-30 Baruch Even <baruch@lyx.org>
11333 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11335 2001-07-29 Baruch Even <baruch@lyx.org>
11337 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11339 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11341 * ParameterStruct.h (endif): add a default constructor to make
11342 sure that all variables is initialized.
11344 * ParagraphParameters.C (ParagraphParameters): adjust
11346 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11348 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11349 index; also, check that there is something to index, and that it
11350 does not span over several paragraphs.
11351 (doubleClick): use WHOLE_WORD_STRICT for double click.
11353 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11355 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11358 2001-07-26 Baruch Even <baruch@lyx.org>
11360 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11361 an InsetFig figure, backwards compatible reading of old figure code.
11363 2001-07-27 Juergen Vigna <jug@sad.it>
11365 * text2.C: font.realize function adaption.
11367 * text.C (draw): add a warnings lyxerr text if needed.
11369 * layout.C: font.realize function adaption.
11371 * language.C: add inherit_language and implement it's handlings
11373 * bufferview_funcs.C (StyleReset): remove language parameter from
11374 font creation (should be language_inherit now).
11376 * bufferparams.C (writeFile): handle ignore_language.
11378 * paragraph.C (getFontSettings): the language has to be resolved
11379 otherwise we have problems in LyXFont!
11381 * lyxfont.C (lyxWriteChanges): added document_language parameter
11382 (update): removed unneeded language parameter
11384 * paragraph.C (validate): fixed wrong output of color-package when
11385 using interface colors for certain fonts in certain environments,
11386 which should not seen as that on the final output.
11388 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11390 * BufferView_pimpl.C:
11395 * LyXAction.C: add thesaurus support
11398 * lyxfind.C: add "once" parameter, for thesaurus, to not
11399 move to the next match
11401 2001-07-26 Juergen Vigna <jug@sad.it>
11403 * lyxfont.C (realize): honor ignore_language too!
11406 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11408 * text.C (draw): one place more for ignore_language to not draw
11411 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11413 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11415 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11417 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11418 the minipage conversion problem.
11420 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11422 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11425 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11427 * BufferView.h: don't forward declare WorkArea
11429 * BufferView.C: don't include WorkArea.h
11431 2001-07-25 André Pönitz <poenitz@gmx.net>
11435 * lyxfunc.C: new LFUN 'math-space'
11437 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11439 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11441 * text2.C (toggleInset): call open/close
11443 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11445 * lyxfunc.C (dispatch): add debug for the disabled case
11447 * font.C (buttonText): make similar to rectText
11449 * buffer.C (readInset): comment out parsing of insetlist and
11452 * PainterBase.C (rectText): small correction
11454 * BufferView_pimpl.C: comment out insettheorem and insetlist
11455 * LyXAction.C: ditto
11456 * commandtags.h: ditto
11458 2001-07-24 Juergen Vigna <jug@sad.it>
11460 * text.C (draw): honor the ignore_language.
11462 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11464 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11466 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11469 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11471 * lyxtext.h: remove unused (and unimplemented) methods
11473 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11475 * text.C (getVisibleRow): honor background color
11478 * Painter.h: remove default color argument for fillRectangle
11480 * text.C (backgroundColor): new method
11482 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11484 * text.C (getVisibleRow): adjust
11486 * font.[Ch] (rectText): new method, metrics
11487 (buttonText): new method, metrics
11489 * PainterBase.[hC]: make rectText and buttonText always draw and take
11492 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11494 * ToolbarDefaults.C (read):
11495 * MenuBackend.C (read): allow escaping in all strings
11497 * BufferView_pimpl.C (insertAndEditInset): new method.
11498 (Dispatch): use insertAndEditInset whenever appropriate.
11500 * BufferView_pimpl.C (insertNote): removed
11502 * BufferView_pimpl.C (smartQuote): new method, moved from
11503 BufferView; if an insetquote cannot be inserted, insert a '"'
11506 * BufferView2.C: remove insertCorrectQuote();
11508 * lyxfunc.C (getStatus): Add support for all remaingin
11509 inset-insert lfuns.
11511 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11513 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11514 command (necessary to pass " as parameter of self-insert.
11516 * text.C (selectWordWhenUnderCursor):
11517 (selectWord): add word_location parameter
11518 (selectWordWhenUnderCursor): same + remove special code for word
11520 (selectNextWord): use kind() to guess type of insetspecialchar,
11523 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11524 (insertErtContents): create ert insets as collapsed.
11525 (readInset): better compatibility code for Info inset.
11527 2001-07-20 Juergen Vigna <jug@sad.it>
11529 * lyxfunc.C (dispatch): use always LyXFind now!
11531 * text2.C (init): add a reinit flag so that the LyXText can be
11532 reinited instead of deleted and reallocated (used in InsetText).
11534 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11540 2001-07-18 Juergen Vigna <jug@sad.it>
11542 * text.C (selectNextWord): handle insets inside inset by calling
11543 always the bv->text functions so that we can go up the_locking_inset!
11545 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11546 in strange locations when inside an inset!
11548 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11549 handling to include insets.
11551 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11553 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11555 * LyXAction.C (init):
11557 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11558 LIGATURE_BREAK, since the name is so stupid.
11560 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11562 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11565 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11567 * sp_form.[Ch]: remove.
11569 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11571 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11574 * src/buffer.C (readInset): ditto.
11576 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11578 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11579 menuSeparator(), endOfSentenceDot(), ldots() and
11580 hyphenationPoint(), which are therefore removed.
11581 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11583 * LyXAction.C (init):
11584 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11586 * paragraph.C (getWord): removed.
11588 * BufferView_pimpl.C (Dispatch): use last word or selection for
11589 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11591 * lyx_main.C (queryUserLyXDir): do not ask before creating
11592 user_dir, except if it has been named explicitely.
11594 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11596 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11597 a document of zero size.
11599 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11601 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11602 approriately in the c-tor and in require().
11603 (getPackages): output the appropriate LaTeX for natbib support.
11605 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11606 variables "use_natbib" and "use_numerical_citations" when reading the
11608 (readInset): read the various natbib cite commands.
11609 (validate): white-space change.
11611 * bufferparams.[Ch]: new variables "bool use_natbib" and
11612 "bool use_numerical_citations".
11613 (writeFile): output them in the LyX file.
11615 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11617 * lyxfunc.C (getStatus): add support for all the inset insertion
11620 * text2.C (insertInset):
11621 * paragraph.C (insetAllowed):
11622 * BufferView_pimpl.C (insertInset): update to take in account the
11623 renaming of insertInsetAllowed
11625 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11627 * text2.C (getInset): new method. returns inset at cursor position.
11629 * BufferView_pimpl.C (Dispatch): changes because of this.
11631 * LyXAction.C (init): rename open-stuff to inset-toggle.
11633 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11635 * text2.C (toggleInset): renamed from openStuff; use
11638 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11640 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11642 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11644 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11646 * buffer.C (readLyXformat2): Add filename to the error dialog
11648 2001-07-18 Juergen Vigna <jug@sad.it>
11650 * tabular.C (GetCellNumber): put an assert here instead of the check!
11652 2001-07-17 Juergen Vigna <jug@sad.it>
11654 * BufferView_pimpl.C (toggleSelection): adapted too.
11656 * text.C (selectNextWord): adapted for use with insets.
11657 (selectSelectedWord): ditto
11659 2001-07-17 Juergen Vigna <jug@sad.it>
11661 * sp_spell.C (PSpell): fix initialitation order.
11663 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11665 * paragraph.C: spacing
11667 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11669 * sp_spell.C: repair language selection for pspell
11671 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11673 * lyxfunc.h: change more methods to begin with lower char.
11675 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11677 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11678 for unknown layouts.
11680 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11682 * buffer.C (readLyXformat2): Generate an error dialog if there are
11685 2001-07-16 Juergen Vigna <jug@sad.it>
11687 * sp_spell.C: always compile ISpell part.
11689 * lyxrc.C: added use_pspell entry and it's handling.
11691 2001-07-13 Juergen Vigna <jug@sad.it>
11693 * sp_spell.C: removed double includes.
11695 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11697 Consistent use of Lsstream.h:
11698 * Lsstream.h: added using std::stringstream for consistencies sake.
11700 * buffer.C: removed using std::stringstream
11702 * lyxfont.C (stateText):
11703 * paragraph.C (asString):
11704 * text.C (selectNextWord, selectSelectedWord):
11705 * text2.C (setCounter):
11706 * vspace.C (asString, asLatexString):
11707 std::ostringstream -> ostringstream.
11709 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11711 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11712 * commandtags.h: add LFUN_HELP_ABOUTLYX
11713 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11715 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11717 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11719 * lyx_gui_misc.C: remove spellchecker
11720 * lyxfunc.C: showSpellchecker
11722 * sp_ispell.h: added
11723 * sp_pspell.h: added
11724 * sp_spell.C: added
11725 * sp_form.[Ch]: removed
11726 * spellchecker.[Ch]: removed
11728 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11730 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11732 (simpleTeXSpecialChars): Simply print the input character without
11733 any special translation if pass_thru is set.
11735 * layout.h: Added bool pass_thru to layout class for being able to
11736 implement pass through of a paragraph for Literate Programming.
11738 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11739 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11740 * layout.C (Read): add "passthru" to list of layout tags and add
11741 code to set the pass_thru boolean when it is read.
11743 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11745 * trans_decl.h: remove allowed from KmodInfo
11747 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11748 remove allowed code
11751 * paragraph_pimpl.C (erase): use boost::prior
11753 * Painter.C (text): use data() instead of c_str() when length is
11755 * WorkArea.C (putClipboard): ditto
11756 * font.h (width): ditto
11758 * BufferView2.C: use it-> instead of (*it). for iterators
11760 * paragraph_pimpl.C: ditto
11761 * paragraph.C: ditto
11762 * minibuffer.C: ditto
11763 * language.C: ditto
11765 * encoding.C: ditto
11766 * counters.C: ditto
11767 * converter.C: ditto
11769 * Variables.C: ditto
11770 * TextCache.C: ditto
11771 * MenuBackend.C: ditto
11772 * LyXAction.C: ditto
11774 * FloatList.C: ditto
11775 * DepTable.C: ditto
11776 * ColorHandler.C (LyXColorHandler): ditto
11778 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11780 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11782 * text2.C (openStuff): reintroduce this method (which had been
11783 nuked in NEW_INSETS frenzy).
11785 * lyxfunc.C (Dispatch): when an action has not been handled, use
11786 its name in the error message, not its number.
11788 * paragraph.C (inInset): change method name to begin with lowercase.
11791 * text2.C: updates because of this.
11793 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11795 * ToolbarDefaults.C (add): add spaces in error message
11797 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11799 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11800 (readLyXformat2): rename return_par to first_par, use lyxlex's
11801 pushToken and remove the manual push handling.
11802 (parseSingleLyXformat2Token): add another ert comp. variable:
11803 in_tabular, rename return_par to first_par. handle newlines better
11805 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11807 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11809 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11811 * text2.C (getParFromID): removed
11813 * buffer.C (getParFromID): new method moved form lyxtext.
11814 * BufferView2.C (insertErrors): adjust
11815 (setCursorFromRow): adjust
11816 * BufferView_pimpl.C (restorePosition): adjust
11817 * lyxfunc.C (Dispatch): adjust
11818 * undo_funcs.C (textUndo): adjust
11820 (textHandleUndo): adjust
11821 (textHandleUndo): adjust
11823 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11825 * buffer.C: up' the LYX_FORMAT
11827 * lyxfont.h: turn NO_LATEX on as default
11829 * buffer.C (insertErtContents): new methods of tex style compability.
11830 (parseSingleLyXformat2Token): use it several places.
11831 * tabular.C (OldFormatRead): and here
11833 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11835 * text2.C: remove some commented code.
11838 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11839 * trans.C: changes because of the above.
11841 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11843 * text2.C (setCounter): Fix counters bug with bibliography layout.
11845 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11847 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11848 own member functions
11849 (simpleTeXSpecialChars): ditto
11851 2001-07-06 Juergen Vigna <jug@sad.it>
11853 * a lot of files: changed the access to LyXText::status and the
11854 call of undo-functions.
11856 * undo.[Ch]: added a inset_id to the undo informations.
11858 * undo_funcs.[Ch]: added and moved here all undo functions.
11860 * lyxtext.h: give the status enum a weight, made status_ a private
11861 variable and made accessor functions for it, removed the whole bunch
11862 of undo-functions as they are now in their own file, make some
11863 functions publically available. Added function ownerParagraph with
11866 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11867 made InInset() a const function, added getParFromID() function.
11869 * buffer.[Ch]: added const version for inset_iterator functions,
11870 added getInsetFromID() function.
11872 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11873 changed undo functions for new version.
11875 2001-07-05 Juergen Vigna <jug@sad.it>
11877 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11878 unknow mechanism does not call the proper constructor but only this
11879 one also if I request the other!?
11881 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11883 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11885 * text2.C (LyXText): use initialization lists.
11887 * lyxtext.h (Selection): initialize set_ and mark_
11888 (init): remove method
11890 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11892 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11894 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11896 * screen.[Ch]: change method names to begin with lowercase
11898 * BufferView_pimpl.C (updateScrollbar): simplify further and
11899 hopefully make it a bit faster.
11901 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11903 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11904 calling directly xforms functions.
11906 * Painter.C (Painter):
11907 * lyx_cb.C (MenuWrite):
11908 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11911 * lyx_gui.C: remove bogus guiruntime extern declaration.
11913 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11915 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11917 (redoDrawingOfParagraph): ditto
11918 (redoParagraphs): ditto
11919 (cutSelection): don't create a object for CutAndPaste use the
11920 static method directly
11921 (pasteSelection): ditto
11923 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11926 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11928 * modifications to some other files because of this.
11930 * Makefile.am (lyx_SOURCES): add XFormsView
11932 * XFormsView.[Ch]: new files
11934 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11935 the main window. Move the gui dependent stuff to XFormsView
11937 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11939 * tabular.C (GetCellInset): update cur_cell also in the row/col
11940 version of this function.
11942 * lyxfunc.C: no need to include figure_form.h here.
11948 * lyxvc.C: no need to include forms.h here.
11950 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11952 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11954 * lyxfunc.C (Dispatch):
11956 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11957 constructor argument.
11959 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11961 * paragraph.C (Paragraph): dont't clear, and just set layout.
11962 (makeSameLayout): use params's copy contructor.
11964 * ParagraphParameters.[Ch] (makeSame): delete method
11966 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11968 * Variables.[Ch]: fix indentation, rename set to isSet
11970 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11972 * lyxfunc.C (Dispatch): fix typo
11974 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11976 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11979 * bufferlist.C: include assert.h for emergencyWrite().
11981 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11983 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11984 give up at last (bug #425202) !
11986 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11992 * spellchecker.C: strip spellchecker options and bring up
11993 preferences tab instead
11995 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11997 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11998 the istringstream constructor
12000 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12002 * paragraph.C (getLayout): fix return value
12004 * paragraph.h: do not declare getLayout as inline.
12006 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12008 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12010 * lyxcursor.h (operator<): new func
12011 (operator>): new func
12012 (operator>=): new func
12013 (operator<=): new func
12015 * text.C (changeCase): use selection.start and selection.end
12016 (changeRegionCase): require from to be <= to. Require par to be a
12019 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12021 2001-06-27 Juergen Vigna <jug@sad.it>
12023 * text.C (cursorLeftOneWord): changed to return the cursor and added
12024 overlay with BufferView * parameter which calls this one.
12026 (selectWord): use new getWord function.
12027 (changeCase): renamed from changeWordCase as and extended to work
12028 also on selections.
12030 * lyxtext.h: added enum word_location
12032 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12033 changeCase as this operates now also on selections.
12035 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12037 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12039 * many files: send debug output to Debug::INFO instead of
12042 * converter.C (View):
12044 (Move): send debug output to Debug::FILES instead of console.
12046 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12048 * lyxfunc.C (getStatus): use func_status
12050 * func_status.h: new header, describing the results of
12051 LyXFunc::getStatus;
12053 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12056 2001-06-25 The LyX Project <jug@sad.it>
12058 * buffer.C (sgmlOpenTag):
12060 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12062 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12064 * text2.C: remove some dead code
12066 * tabular.C (GetCellInset): store the last cell checked (gotten)
12068 * tabular.h: add the helper for the speedup
12070 * lyxtext.h: remove some dead code
12072 2001-06-26 The LyX Project <Asger>
12074 * paragraph.C: Change export to LaTeX of alignment to
12075 \begin{center} and family for better roundtrip work with reLyX.
12077 * Tune the math drawing a bit.
12079 2001-06-25 The LyX Project <Asger>
12081 * LColor.C (LColor): New color for math background. New color
12084 2001-06-25 The LyX Project <jug@sad.it>
12086 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12088 * lyxfunc.C (Open):
12089 * bufferlist.C (newFile): do not restrict to files ending with
12092 * BufferView_pimpl.C (MenuInsertLyXFile):
12094 2001-06-24 The LyX Project <jug@sad.it>
12096 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12099 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12101 * lyxtext.h: rename most methods to begin with a small char.
12102 Lots of changes because of this.
12104 * paragraph.C (Paragraph): do not call fitToSize
12105 (erase): call Pimpl::erase
12106 (insertChar): call Pimpl::insertChar
12107 (insertInset): call Pipl::insertInset
12108 (breakParagraph): do not call fitToSize
12109 (breakParagraphConservative): do not call fitToSize
12110 (fitToSize): remove method
12112 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12114 2001-06-24 The LyX Project <Asger>
12116 * Fix Qt compilation^2
12118 2001-06-24 The LyX Project <jug@sad.it>
12120 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12121 depthHook(getDepth()-1).
12124 * ParagraphParameters.h:
12125 * ParameterStruct.h: change type of depth to unsigned int ==
12126 depth_type. Many adaptations to other files before of that.
12128 2001-06-24 The LyX Project <Asger>
12130 * Fix Qt compilation.
12132 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12134 * paragraph.h: renamed several methods to begin with small letter.
12135 several changes to many parts of the code because of this.
12137 2001-06-23 The LyX Project <jug@sad.it>
12139 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12140 rewritten to discard all double spaces when KeepEmpty is off
12141 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12142 to only handle newlines but not fiddle with spaces and friends.
12144 * lyxfunc.C (MenuNew): when doing 'new from template', use
12145 template_path as default directory
12147 2001-06-23 The LyX Project <Asger>
12149 * Clean-up of header file includes all over
12150 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12152 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12154 * paragraph.h: renamed from lyxparagraph.h
12156 2001-06-23 Asger <lyx@violet.home.sad.it>
12158 * Buffer.h: Removed Buffer::resize
12159 * BufferList.h: Removed BufferList::resize
12160 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12161 the document lazily when we change the width, or the font settings.
12163 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12165 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12167 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12169 * buffer.h: remove out of date comment
12171 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12174 * screen.C: fix "theoretical" GC leak
12176 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12178 * LaTeX.C (scanAuxFile):
12179 (deplog): remove trailing \r when reading stream (useful under
12182 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12184 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12185 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12186 and BufferView::theLockingInset(Inset*), so should use them and not
12187 access bv_->text->the_locking_inset directly.
12189 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12191 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12194 * tex-defs.h: remove old unused file
12196 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12198 * BufferView_pimpl.C: fix typo, remove minibuffer message
12199 when buffer has loaded
12201 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12203 * lyxfunc.C (Dispatch): use stringstream
12204 (MenuNew): use stringstream
12205 (Open): use stringstream
12207 * importer.C (Import): use stringstream
12209 * bufferview_funcs.C (CurrentState): use stringstream
12211 * LaTeX.C (run): use stringstream
12213 * BufferView_pimpl.C (savePosition): use stringstream
12214 (restorePosition): use stringstream
12215 (MenuInsertLyXFile): use stringstream
12217 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12230 * vspace.C: removed // -*- C++ -*- as first line.
12233 * version.h: added // -*- C++ -*- as first line.
12235 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12237 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12239 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12242 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12244 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12247 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12249 * gettext.C: include LString.h even when --disable-nls is on.
12251 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12253 * converter.h (Get): changed argument type from int to
12254 FormatList::size_type to avoid unnecessary conversion.
12256 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12259 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12261 * gettext.h: include LString.h even when --disable-nls is on.
12263 2001-06-07 Juergen Vigna <jug@sad.it>
12265 * text.C (BreakAgain): subst spaces with tabs.
12267 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12268 (resizeInsetsLyXText): set force on resizeLyXText.
12270 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12272 * gettext.h (gettext_init):
12273 (locale_init): use a real definition instead of a macro
12275 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12277 * Bufferview_pimpl.C:
12279 * LColor.C: further lcolor tidies
12281 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12283 * BufferView_pimpl.C (updateScrollbar): simplify.
12285 * BufferView2.C: don't include insets/insetinfo.h, change
12286 prototype for insertInset and call the Pimpl version. let
12287 updateInset call Pimpl version.
12289 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12290 gotoInset to BufferView::Pimpl
12292 2001-06-01 Juergen Vigna <jug@sad.it>
12294 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12295 inside a LockingInset (is the update needed at all?).
12297 2001-05-31 Juergen Vigna <jug@sad.it>
12299 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12300 here not the old one otherwise how should we compare it afterwards
12303 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12308 * FontInfo.C: bring C functions into global namespace when
12311 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12313 * LString.h: make sure config.h has been loaded before LString.h.
12315 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12316 (one for each char read by EatLine!).
12318 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12321 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12323 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12324 to the same as the par we break from
12326 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12328 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12330 * MenuBackend.C (expand): also create menu entries for wide
12331 versions of the floats.
12333 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12335 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12337 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12338 frontends/Makefile.am
12344 * tabular.C (getTokenValue): add std::
12346 * tabular-old.C (getTokenValue): add std::
12347 (getTokenValue): ditto
12348 (getTokenValue): ditto
12350 * screen.C (ToggleSelection): adjust
12352 * lyxtext.h: put selection cursors inside a Selection struct.
12354 * lyxfunc.C (moveCursorUpdate): adjust
12356 * lyxfont.C (latexWriteStartChanges): add std::
12358 * lyxfind.C: adjust
12360 * font.h: delete with(char const *, LyXFont const &)
12362 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12364 * FontInfo.C (getFontname): add std::
12366 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12367 (workAreaButtonPress): adjust
12368 (tripleClick): adjust
12370 (moveCursorUpdate): adjust
12373 * BufferView2.C (gotoInset): adjust
12375 2001-05-30 Juergen Vigna <jug@sad.it>
12377 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12378 to check pspell I add this as default as I now have new pspell
12379 libraries and they seem to use this.
12381 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12383 * text2.C (CutSelection): make the cursor valid before the call to
12386 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12388 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12389 relied on 0 terminated strings and other horrors. Bug found due to
12390 the new assert in lyxstring!
12392 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12395 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12397 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12400 * lyxfunc.C (processKeySym): change method of getting to the
12403 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12404 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12405 * BufferView_pimpl.[Ch]: here as private methods.
12407 2001-05-28 Juergen Vigna <jug@sad.it>
12409 * text.C (SetHeightOfRow): added the update() call again as it is
12410 needed to initialize inset dimensions!
12412 2001-05-16 Juergen Vigna <jug@sad.it>
12414 * text2.C (SetCharFont): Add new function with BufferView * and
12415 bool toggleall parameters for setting insets internal fonts.
12416 (SetFont): Freeze the undo as we may change fonts in Insets and
12417 all this change should be inside only one Undo!
12419 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12420 setting font's in insets as for them we have the SetFont function!
12422 2001-05-15 Juergen Vigna <jug@sad.it>
12424 * text2.C (ClearSelection): to be sure we REALLY don't have any
12427 * tabular.C (TeXCellPreamble): fixed the left border problem for
12430 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12432 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12435 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12437 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12438 LFUN_BREAKPARAGRAPH.
12440 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12441 help test to "internal only", similar for LFUN_INSERT_URL
12443 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12444 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12445 auto_region_delete and deadkeys.
12447 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12450 * LColor.C: remove some dead entries, tidy a little
12452 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12454 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12456 (Dispatch): implement LFUN_ESCAPE
12458 * commandtags.h: add LFUN_ESCAPE
12460 * LyXAction.C (init): add entry for LFUN_ESCAPE
12462 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12463 Remove commented code.
12464 (insertNote): moved here
12465 (open_new_inset): moved here
12467 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12470 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12472 * kbmap.C (findbinding): clean it up and make it work correctly.
12474 * lyx_main.C (init): do not pass argc and argv as parameters
12476 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12478 * buffer.C: fix path for OS/2 & Win32
12482 * lyx_main.C: Added os:: class.
12484 * os2_defines.h: update
12486 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12488 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12489 better by trying again with reduced state.
12491 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12493 * lyxrc.C (read): print error about invalid key sequence only when
12494 debugging (because not all latinX keysyms are known to some X
12497 * kbsequence.C (getiso): add a few std:: qualifiers
12498 (getiso): comment out extra return statement.
12500 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12502 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12504 (Dispatch): enhance the accent inset a bit. (not perfect)
12506 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12508 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12510 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12512 * bufferlist.C (emergencyWrite): fix assert() call
12514 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12516 * text.C (InsertChar): Added trivial patch to only send the "you
12517 can not do multiple spaces this way" message once during a
12520 2001-05-08 Baruch Even <baruch@lyx.org>
12522 * Makefile.am: Changed order of libraries to get LyX to link properly
12523 with the gnome frontend.
12525 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12527 * LaTeXFeatures.h: add a std:: qualifier
12529 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12531 * paragraph.C (String): use stringstream
12533 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12535 * paragraph.C (writeFile): remove footflag arg
12537 * buffer.C (makeLaTeXFile): use stringstream
12538 (latexParagraphs): remove footnot gurba
12540 * LaTeXFeatures.C (getPackages): use stringstream
12541 (getMacros): likewise
12542 (getTClassPreamble): likewise
12543 (getFloatDefinitions): new method
12545 * paragraph.C (writeFile): reindent
12548 * WorkArea.h: revert the xpos + etc changes.
12550 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12552 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12554 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12555 (pasteSelection): likewise
12556 * text2.C (CreateUndo): likewise
12558 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12560 * minibuffer.C (peek_event): temporarily reduce the functionality
12561 of the minibuffer (to allow args on lfuns)
12563 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12564 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12566 * buffer.C (readInset): add compability reading of old float
12567 lists, add reading of new style float list.
12568 (readInset): avoid reevaluation of inscmd.getCmdName()
12569 (getLists): reindent
12571 * MenuBackend.C (MenuItem): implement parsing of
12572 md_floatlistinsert and md_floatinsert.
12573 (expand::LastFiles): move initalizaton of iterators out of loop,
12574 avoid reevaluation.
12575 (expand::Documents): introduce typdedef vector<string> Strings,
12577 (expand::ExportFormats): introduce typedef vector<Format const *>
12578 Formats, and use it.
12579 (expand): implement FloatListInsert and FloatInsert.
12581 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12582 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12583 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12585 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12587 (Dispatch::LFUN_FLOAT_LIST): implement
12589 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12591 * LaTeX.C (run): Fix problem with --export code.
12593 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12595 * BufferView.[Ch] (workarea): removed.
12596 (getClipboard) new method; wrapper for workarea()->getClipboard()
12598 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12601 * WorkArea.h (width, height, xpos, ypos): These methods all
12602 returned the dimensions of the work_area sub-area of WorkArea,
12603 resulting in a position error if the WorkArea were resized. Now
12604 return the dimensions of the entire WorkArea.
12606 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12608 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12610 * LaTeX.C (deplog): correct the syntax of regex reg1
12612 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12614 * undo.C: remove !NEW_INSETS cruft
12616 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12618 * text2.C: remove !NEW_INSETS cruft
12620 * text.C: remove !NEW_INSETS cruft
12622 * tabular.C: remove !NEW_INSETS cruft
12624 * spellchecker.C: remove !NEW_INSETS cruft
12626 * lyxtext.h: remove !NEW_INSETS cruft
12628 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12630 * lyxfunc.C: remove !NEW_INSETS cruft
12632 * lyxfind.C: remove !NEW_INSETS cruft
12634 * lyx_cb.C: remove !NEW_INSETS cruft
12636 * figureForm.C: remove !NEW_INSETS cruft
12638 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12640 * buffer.[Ch]: remove !NEW_INSETS cruft
12642 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12644 * CutAndPaste.C: remove !NEW_INSETS cruft
12646 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12648 * BufferView2.C: remove !NEW_INSETS cruft
12650 * BufferView.h: remove !NEW_INSETS cruft
12652 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12654 * Lsstream.h: include LString.h before the sstream headers to
12655 fix problem with gcc 2.95.3 and lyxstring
12657 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12659 * lyx_main.C: add using directives when needed for C functions
12660 declared in std:: namespace.
12662 2001-04-27 Juergen Vigna <jug@sad.it>
12664 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12665 (SetHeightOfRow): comment out the update call should not be needed!
12667 2001-04-13 Juergen Vigna <jug@sad.it>
12669 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12670 (LyXTabular): tried to minimize operator= operations (and realized
12671 hopfully Lars wish).
12673 2001-04-27 Juergen Vigna <jug@sad.it>
12675 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12677 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12679 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12681 * buffer.C (readInset): hack to make listof algorithm work
12683 * BufferView_pimpl.C: hack to make listof algorithm work
12685 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12687 * LyXAction.C: removed all !NEW_INSETS cruft
12688 (init): moved lfun_item in method
12690 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12692 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12694 * BufferView2.C (theLockingInset): white space.
12696 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12698 * minibuffer.C: include <iostream>
12700 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12702 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12704 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12706 * text.[Ch] (TransposeChars): new method
12708 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12710 * call message directly through LyXView instead of through LyXFunc
12711 * BufferView2.C: adjust
12712 * BufferView_pimpl.C: adjust
12713 * FontLoader.C: adjust
12715 * bufferview_funcs.C: adjust
12716 * converter.C: adjust
12717 * figureForm.C: adjust
12718 * importer.C: adjust
12720 * lyx_gui_misc.C: adjust
12721 * lyxfunc.C: adjust
12724 + more files in subdirs
12726 * lyxparagraph.h (size): move up int file
12729 * adjust all uses of Assert to lyx::Assert.
12731 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12732 lyxfunctional in namespace lyx
12733 * layout.C (hasLayout): ditto
12736 (delete_layout): ditto
12737 (NumberOfClass): ditto
12738 * converter.C (GetFormat): ditto
12743 * bufferlist.C (getFileNames): ditto
12744 (emergencyWriteAll): ditto
12747 * MenuBackend.C (hasSubmenu): ditto
12750 * BufferView_pimpl.C (getInsetByCode): ditto
12752 2001-04-18 Juergen Vigna <jug@sad.it>
12754 * vspace.C (asLatexString): fixed the 100% problem.
12756 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12758 * lyxfunc.C (Dispatch):
12760 * minibuffer.h: add a few std:: qualifiers
12762 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12764 * minibuffer.[Ch]: reimplement so that commands is initiated and
12765 run from lyxfunc, simplified som handling, and made the completion
12766 and history code for complete. wip.
12768 * lyxfunc.C (processKeySym): call message
12769 (miniDispatch): new temporary method
12770 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12771 (LFUN_MESSAGE): implement
12772 (LFUN_MESSAGE_PUSH): implement
12773 (LFUN_MESSAGE_POP): implement
12774 (initMiniBuffer): the initial/defualt minibuffer message.
12776 * lyxfont.[Ch]: inline some more getters
12778 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12780 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12782 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12783 (AutoSave): use LFUN_MESSAGE
12784 (Reconfigure): ditto
12786 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12788 * figureForm.C: use LFUN_MESSAGE
12790 * converter.C (runLaTeX): use LFUN_MESSAGE
12792 * bufferview_funcs.C: use LFUN_MESSAGE
12794 (changeDepth): ditto
12796 * bufferparams.h: use boost::
12798 * bufferlist.h: inherit privately from noncopyable
12800 * bufferlist.C (loadLyXFile): remove some commented code.
12802 * buffer.C (runChktex): use LFUN_MESSAGE
12804 * ShareContainer.h: inherit privately from noncopyable
12806 * ParagraphParameters.[hC] (depth): inline it.
12808 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12810 (message): new method
12811 (messagePush): ditto
12812 (messagePop): ditto
12813 (show): init minibuffer
12814 (showState): direct call
12816 * LaTeX.[Ch]: inherit privately from noncopyable
12817 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12818 instead of WriteStatus.
12820 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12822 * BufferView_pimpl.C (buffer): don't init minibuffer
12823 (workAreaButtonPress): use LFUN_MESSAGE
12824 (workAreaButtonRelease): ditto
12825 (savePosition): ditto
12826 (restorePosition): ditto
12827 (MenuInsertLyXFile): ditto
12828 (workAreaExpose): don't init minibuffer
12829 (update): remove commented code, simplify
12831 * BufferView2.C (openStuff): use LFUN_MESSAGE
12832 (toggleFloat): ditto
12835 (copyEnvironment): ditto
12836 (pasteEnvironment): ditto
12841 (updateInset): remove some commented code
12843 * lastfiles.h: inherit privately from noncopyable
12846 * lyx_main.h: ditto
12848 * lyxlex_pimpl.h: ditto
12850 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12851 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12852 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12854 * LyXAction.h: inherit privately from noncopyable, add methods
12855 func_begin, func_end, returning iterators to the func map.
12857 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12858 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12859 (func_begin): new method
12860 (func_end): new method
12862 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12864 (copySelection): ditto
12865 (pasteSelection): ditto
12867 * BufferView.C: whitespace change
12868 * BufferView.h: inherit privately from noncopyable
12870 2001-04-16 Allan Rae <rae@lyx.org>
12872 * tabular-old.C (l_getline):
12873 * spellchecker.C (sc_check_word):
12874 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12875 an unrecognised preprocessor directive. So ensure they're wrapped.
12877 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12879 * src/exporter.C (Export): Give an error message when path to file
12882 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12884 * LaTeX.C (deplog): Always check that foundfile exists.
12886 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12889 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12891 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12893 * tabular.[Ch] (getLabelList): implement new method
12895 * minibuffer.h: comment ouf setTiimer
12897 * minibuffer.C (ExecutingCB): constify res
12898 (peek_event): constify s
12899 (Set): constify ntext
12900 (Init): constify nicename
12902 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12904 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12905 (savePosition): use two params to Minibuffer::Set
12906 (restorePosition): ditto
12908 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12910 * lyx_main.C: include language.h
12912 * Makefile.am (lyx_main.o): add language.h
12914 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12920 * CutAndPaste.C: include gettext.h
12922 * lyxfont.h: remove old hack with ON and OFF.
12925 * lyxfont.h: do not include language.h...
12930 * bufferview_funcs.C:
12936 * paragraph.C: ... but do it here instead
12938 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12940 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12942 * tabular.C: small reformat
12944 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12947 (BreakParagraph): ditto
12948 (SetOnlyLayout): ditto
12951 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12954 * lastfiles.C: removed most using decl, add std:: where needed
12956 * buffer.C: ws changes
12958 * MenuBackend.C (class compare_format): put into anon namespace
12959 (expand): constify label, names, action, action2
12962 * text.C (SingleWidth): constify font
12963 (IsBoundary): constify rtl2
12964 (GetVisibleRow): constify ww
12966 * LaTeX.C (deplog): constify logfile
12968 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12970 (workAreaExpose): constify widthChange, heightChange
12972 * lyxrow.C (par): moved
12975 * lyxrow.h: as inlines here
12977 * lyxfont.h (shape): moved from lyxfont.C
12978 (emph): moved from lyxfont.C
12980 * lyxfont.C (LyXFont): use initialization list for all
12982 (shape): move to lyxfont.h as inline
12983 (emph): move to lyxfont.h as inline
12986 2001-04-04 Juergen Vigna <jug@sad.it>
12988 * vspace.C: had to include stdio.h for use of sscanf
12990 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12993 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12994 independent of xforms.
12996 2001-04-02 Juergen Vigna <jug@sad.it>
12998 * spellchecker.C: fixed namespace placing!
13000 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13002 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13003 the LyXParagraph * is 0.
13005 2001-03-29 Juergen Vigna <jug@sad.it>
13007 * vspace.C: added support for %, c%, p%, l%.
13008 (stringFromUnit): added helper function.
13009 (asLatexString): changed to give right results for the %-values.
13011 * buffer.C: convert the widthp in a width%.
13013 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13015 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13018 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13019 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13021 * lyx_cb.[Ch]: see above.
13023 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13027 * lyx.[Ch]: replaced by figure_form.[Ch].
13031 * lyxfunc.C: changed headers associated with above changes.
13033 2001-03-27 Juergen Vigna <jug@sad.it>
13035 * BufferView_pimpl.C: set the temporary cursor right!
13037 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13039 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13041 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13043 * LString.h: removed "using std::getline"!
13045 * BufferView_pimpl.C (Dispatch): changes due to changes in
13046 InsetInclude::Params.
13048 * buffer.C (tag_name): removed redundant break statements as they were
13049 producing lots of warnings with my compiler.
13051 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13053 * LString.h: add "using std::getline" when using the real <string>.
13055 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13057 * buffer.C: removed bitset usage.
13058 PAR_TAG moved to an anonymous name space.
13059 (tag_name): new funtion, also in the anonymous namespace.
13060 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13061 (makeDocBookFile): clean code. Completed transition from string arrays
13063 (SimpleDocBookOnePar): code clean.
13065 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13067 * tabular.C: add some comments.
13069 2001-03-22 Juergen Vigna <jug@sad.it>
13071 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13072 compatibility read a bit and fixed bug with minipage in different
13075 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13077 * buffer.C (pop_tag): removed.
13078 (push_tag): removed.
13079 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13080 array replaced with vector. Added support for CDATA sections.
13081 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13083 (makeDocBookFile): XML conformant declaration of CDATA section,
13084 fixed bug related to <emphasis> in the first paragraph char.
13085 (sgmlOpenTag): exclude empty tags.
13086 (sgmlCloseTag): ditto.
13088 * buffer.h (pop_tag): removed.
13089 (push_tag): removed.
13091 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13093 * language.h (Languages): added size_type and size().
13095 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13097 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13098 response on compability reading of minipages. One probliem is that
13099 the old usage of minipages was «flertydig»
13101 * several files here and in subdirs: don't use static at file
13102 scope use anon namespaces instead.
13104 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13106 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13107 LaTeX output. This is necessary for Literate document
13110 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13112 * buffer.C: insert hfill when needed.
13114 * tabular.C (l_getline): use string::erase, small whitespace change.
13116 * BufferView_pimpl.C: try the anon namespace.
13117 * WorkArea.C: ditto
13119 2001-03-16 Juergen Vigna <jug@sad.it>
13121 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13122 otherwise it won't open options-dialogs.
13124 * buffer.C: honor pextraWidth(p) on converting minipages.
13126 * tabular.C (l_getline): changed the functions to strip trailing \r.
13128 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13130 * BufferView_pimpl.C:
13131 * minibuffer..C: added "using SigC::slot" declaration.
13133 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13135 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13141 * paragraph.C: ditto
13143 * lyxtext.h: NO_PEXTRA
13145 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13147 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13148 * ParameterStruct.h: ditto
13149 * ParagraphParameters.h: ditto
13150 * lyxparagraph.h: ditto
13152 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13154 * buffer.C: add compability for minipage alignment.
13155 (latexParagraphs): remove unwanted pextra check.
13157 * several files: remove CXX_WORKING_NAMESPACES
13159 * buffer.C (pop_tag): tie is in namespace boost
13161 * BufferView.h: noncopyable is in namespace boost
13163 * lyx_main.h: ditto
13166 * lastfiles.h: ditto
13167 * bufferlist.h: ditto
13168 * ShareContainer.h: ditto
13170 * LyXAction.h: ditto
13173 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13175 * Merging changes from BRANCH_MVC back into HEAD.
13177 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13179 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13181 * BufferView_pimpl.C: change from intl.C
13185 * Makefile.am: move combox.*
13191 * intl.C: remove dialog (covered by prefs)
13193 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13195 * lyxfunc.C (Dispatch): removed redundant break statement.
13197 2001-03-14 Juergen Vigna <jug@sad.it>
13199 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13201 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13203 * buffer.C: add hack to fix compability reading of minipages.
13205 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13207 * buffer.C (getLists): Cleanup.
13209 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13211 * lyxfont.C (update): don't honor toggleall on font size.
13213 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13217 * Makefile.am: moved to frontends/xforms/
13221 * BufferView_pimpl.C: changes for moved mathpanel
13223 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13225 * gettext.h: fix gettext_init() in --disable-nls
13227 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13229 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13231 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13234 * lyx.h: strip external form
13236 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13238 * BufferView_pimpl.C: add comment, destroySplash()
13240 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13242 * BufferView_pimpl.C:
13246 * lyxfunc.C: use re-worked insetinclude
13248 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13250 * buffer.C: add using std::stringstream.
13252 * lyx_cb.C: readd using std::ios.
13254 * buffer.C: add using std::map.
13256 * BufferView_pimpl.C: add using std::vector.
13258 * ShareContainer.h: add std:: to swap.
13260 * buffer.h: add some typedefs
13261 * buffer.C (getLists): use them
13262 (getLists): renamed from getTocList.
13263 add a counter for the different float types and use it in the
13265 (getLists): use the same counter for the NEW_INSETS and the "non"
13268 * lyx_cb.h: remove unused items, includes, using etc.
13270 * ShareContainer.h: remove some commented code, add more comments
13271 and "documentation".
13273 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13275 * buffer.C (getTocList): make the list also when NEW_INSETS is
13278 * buffer.h: remove TocType
13280 * buffer.C (getTocList): change to return a map<string,
13281 vector<TocItem> >, implement for dynamic number of list.
13283 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13284 * text2.C (PasteSelection): adjust
13285 * CutAndPaste.C (pasteSelection): adjust
13287 * FloatList.C (FloatList): update from the new_insets branch.
13288 * Floating.[Ch]: ditto
13289 * LaTeXFeatures.C: ditto
13291 * lyxlex_pimpl.C: ditto
13293 * paragraph.C (Last): remove when NEW_INSETS is defined.
13295 * other file: changes because of the above.
13297 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13299 * lyxparagraph.h: rename next to next_, previous to previous_,
13300 make them private for NEW_INSETS. Rename Next() to next(),
13301 Previous() to previous().
13303 * other files: changes because of the above.
13305 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13308 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13311 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13313 * main.C (main): pass lyx_localedir to gettext_init().
13315 * gettext.h: remove locale_init and gettext_init macros
13317 * gettext.C (locale_init): new function
13318 (gettext_init): new function
13320 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13323 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13325 * Moved credits to frontends:
13326 * credits.[Ch]: removed
13327 * credits_form.[Ch]: removed
13328 * lyx_gui_misc.C: remove credits stuff
13331 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13333 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13335 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13336 unneeded destructor.
13338 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13339 a standalone pointer again.
13341 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13343 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13349 * ToolbarDefaults.C:
13358 * BufferView_pimpl.C: use new file dialog in GUII
13361 * lyx_cb.C: remove LayoutsCB to Toolbar
13363 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13365 * ShareContainer.h (get): add std:: qualifier
13367 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13369 * ShareContainer.h: define a proper ShareContainer::value_type
13370 type (and use typename to please compaq cxx)
13372 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13374 * lyxparagraph.h: move serveral local vars to
13375 ParameterStruct/ParagraphParameters., use ShareContainer in
13376 FontTable., make vars in FontTable private and add getter and
13379 * paragraph.C: changes because of the above.
13381 * lyxfont.h: remove copy constructor and copy assignment. (the
13382 default ones is ok), move number inside FontBits. move inlines to
13385 * lyxfont.C: add number to initializaton of statics, move several
13386 inlines here. constify several local vars. some whitespace
13387 cleanup. Dont hide outerscope variables.
13389 * Spacing.h: add two new constructors to match the set methods.
13391 * ShareContainer.h: new file, will perhaps be moved to support
13393 * ParameterStruct.h: new file
13395 * ParagraphParameters.h: new file
13397 * ParagraphParameters.C: new file
13399 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13400 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13402 * BufferView_pimpl.C: ParagraphParameter changes.
13403 * buffer.C: Likewise.
13404 * bufferview_funcs.C: Likewise.
13405 * text.C: Likewise.
13406 * text2.C: Likewise.
13408 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13410 * lyxfind.C (LyXReplace): do not redefine default argument in
13412 (IsStringInText): ditto
13413 (SearchForward): ditto
13414 (SearchBackward): ditto
13416 2001-03-06 Juergen Vigna <jug@sad.it>
13418 * lyxfind.C (IsStringInText): put parentes around expressions.
13420 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13422 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13424 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13426 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13428 * stl_string_fwd.h: add comment
13430 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13433 * tabular.C: remove unused DocBook methods
13439 killed DO_USE_DEFAULT_LANGUAGE
13441 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13443 * lyx_gui.C: do not include language.h.
13445 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13446 arguments in function implementation.
13448 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13450 * BufferView_pimpl.C: add <ctime>
13452 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13454 * BufferView_pimpl.C: add using std::find_if
13456 2001-02-27 José Matos <jamatos@fep.up.pt>
13458 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13461 2001-02-11 José Matos <jamatos@fep.up.pt>
13463 * buffer.C (makeDocBookFile): command styles now have a parameter as
13464 "title" by default.
13466 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13468 * layout_forms.[Ch]: removed
13469 * lyx_cb.[Ch]: out character
13470 * lyx_gui.C: out character
13471 * lyx_gui_misc.C: out character
13472 * bufferview_funcs.C: : out character,
13473 added toggleall as parameter in ToggleAndShow
13475 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13477 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13479 * text2.C (SetCurrentFont): Disable number property at boundary.
13481 2001-02-26 Juergen Vigna <jug@sad.it>
13483 * lyxfunc.C (getStatus): added a string argument override function so
13484 that this is correctly called from LyXFunc::Dispatch if it contains a
13485 do_not_use_argument which is used!
13486 (Dispatch): added check for "custom" export and call appropriate func.
13488 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13490 * lyxrc.C: Add language_command_local, language_use_babel and
13491 language_global_options.
13493 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13495 * buffer.C (makeLaTeXFile): Use language_use_babel and
13496 language_global_options.
13498 2001-02-23 Juergen Vigna <jug@sad.it>
13500 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13501 which works with LyXText and putted it inside BufferView. Here now we
13502 only call for that part the BufferView::Dispatch() function.
13504 * BufferView.C (Dispatch): added.
13506 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13507 functions which needs to use a LyXText over from LyXFunc.
13508 (MenuInsertLyXFile): added
13509 (getInsetByCode): added
13510 (moveCursorUpdate): added
13511 (static TEXT): added
13513 2001-02-22 Juergen Vigna <jug@sad.it>
13515 * BufferView_pimpl.C (update): call a status update to see if LyXText
13518 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13520 * vc-backend.C (revert): implement for CVS
13521 (getLog): implement for CVS
13523 2001-02-20 Juergen Vigna <jug@sad.it>
13525 * text2.C (ClearSelection): added BufferView param for inset_owner call
13527 * lyxfunc.C (TEXT): added this function and use it instead of
13528 directly owner->view()-text of getLyXText().
13530 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13532 * src/layout_forms.C: out preamble
13533 * src/layout_forms.h: out preamble
13534 * src/lyx_cb.C: out preamble
13535 * src/lyx_cb.h: out preamble
13536 * src/lyx_gui.C: out preamble
13537 * src/lyx_gui_misc.C: out preamble
13538 * src/lyxfunc.C: connect with guii preamble
13540 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13542 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13544 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13546 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13547 whether to run bibtex.
13549 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13551 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13553 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13555 * Makefile.am (lyx_SOURCES): removed bibforms.h
13557 * vspace.h: doxygen
13559 * text.C (GetVisibleRow): make several local vars const
13561 * tabular.C: small cleanup.
13563 * lyxserver.C (callback): use compare instead of strncmp
13565 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13566 inlines to after class or to paragraph.C
13568 * lyxfont.h: remove friend operator!=
13570 * converter.h: move friend bool operator< to non friend and after
13573 * combox.h: small cleanup
13575 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13576 to inlines after class def.
13578 * buffer.C (pop_tag): use string operations instead of strcmp
13580 * bmtable.c: doxygen, small cleanup
13582 * LaTeX.h: remove friend operator==
13584 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13596 * BufferView_pimpl.C:
13597 * BufferView.[Ch]: remove cruft
13599 2001-02-14 Juergen Vigna <jug@sad.it>
13601 * lyxfunc.C: removed #if 0 unused code
13603 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13605 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13607 * text2.C (SetSelection): added a BufferView * parameter
13609 2001-02-13 Juergen Vigna <jug@sad.it>
13611 * lyxfunc.C (Dispatch): fixed protected blank problem.
13612 * BufferView2.C (protectedBlank): added LyxText * parameter.
13614 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13615 (AppendColumn): same as above for column_info.
13617 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13618 (moveCursorUpdate): use a LyXText param for support of InsetText.
13620 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13621 (tripleClick): ditto
13623 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13625 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13627 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13629 * text2.C (SetSelection): set correct update status if inset_owner
13630 (ToggleFree): ditto
13632 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13634 * tabular.C: remove some commented code.
13636 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13638 * BufferView_pimpl.C: call hideSplash()
13640 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13643 * bibforms.h: remove
13646 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13647 add LFUN_CHILD_CREATE
13649 * counters.h: fix tiny typo
13654 * lyx.C: move splash to frontends/xforms/
13656 * lyx_gui_misc.C: move Include and Bibform to frontends
13658 * lyxvc.h: clarify comment
13660 * vspace.C: tiny housekeeping
13662 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13664 * text.C (PrepareToPrint): RTL Fix.
13666 * paragraph.C (GetUChar): New method.
13667 (String): Use GetUChar.
13669 * buffer.C (asciiParagraph): Use GetUChar.
13671 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13673 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13675 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13678 * buffer.C: rename to getLogName(), handle
13679 build log / latex log nicely
13681 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13684 * MenuBackend.h: remove support for reference menuitem type.
13686 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13688 * BufferView_pimpl.C: housekeeping
13689 * BufferView_pimpl.h:
13694 * minibuffer.h: move Timeout GUI-I
13696 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13698 * lyxrc.C (read): Update converters data-structures.
13700 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13702 * LaTeX.h (operator!=): add operator != for Aux_Info
13704 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13706 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13708 * LaTeXLog.C: deleted, useful code moved to Buffer
13711 * buffer.C: new function getLatexLogName()
13717 * lyxfunc.C: use frontends for LaTeX and VC logs
13719 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13721 * LaTeX.h: yet another std:: that Allan forgot.
13723 * Variables.C (set): renamed from isset(), because this clashes
13724 with some HP-UX macros (grr).
13726 2001-02-06 Allan Rae <rae@lyx.org>
13728 * LaTeX.h: Another bug fix. Missing std:: this time.
13730 2001-02-04 Allan Rae <rae@lyx.org>
13732 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13733 floats problem. I've left it commented out because it's not quite
13734 correct. It should also test that the current object is a table or
13735 figure inset. But I haven't gotten around to figuring out how to do
13736 that. I *think* it'll be something like: "table" == inset.type()
13738 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13741 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13743 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13744 all the citation/databases/styles in the auxilary file.
13745 (run): Rerun latex if there was a babel language error.
13747 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13749 * text.C (Backspace): Preserve the font when changing newline char
13751 (BreakParagraph): If the cursor is before a space, delete the space.
13753 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13755 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13757 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13758 new argument (code).
13759 (ChangeCitationsIfUnique): New method.
13761 * paragraph.C (GetPositionOfInset): Handle bibkey.
13763 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13765 * BufferView_pimpl.h: change type of Position::par_pos to
13766 LyXParagraph::size_type.
13768 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13770 * BufferView_pimpl.C (savePosition, restorePosition): Write
13771 messages to minibuffer.
13773 2001-01-28 José Matos <jamatos@fep.up.pt>
13775 * buffer.C (makeDocBookFile): adds support for document language.
13776 A silly restriction on the name of LatexCommand types where removed.
13777 Added support for CDATA sections, allows to chars unescaped, used
13778 among others in code, to avoid escape < and >.
13780 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13782 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13783 saved positions instrad of a stack. Furthermore, a position is
13784 stored using paragraph id/paragraph position.
13786 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13787 Remove LFUN_REF_BACK.
13789 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13791 * converter.C (dvipdfm_options): New method.
13793 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13795 * vspace.C (isValidLength): Fix for empty input string.
13797 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13799 * LyXAction.C (init): change description of LFUN_FIGURE to
13802 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13804 * LaTeX.C: add using directive
13806 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13808 * MenuBackend.C (expand): Fix the sorting of the formats.
13810 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13812 * lyx_main.C: tiny error message fix
13814 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13816 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13817 calling fl_initialize(). This fixes the problem with ',' as
13818 decimal separator in text files.
13820 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13822 * trans.C (process): Fix the keymap bug.
13824 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13826 * LaTeX.C (scanAuxFiles): New method. Provides support for
13827 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13828 (scanLogFile) Scan for "run BibTeX" messages.
13830 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13831 OT1 font encoding. Also, load the aecompl package if the ae
13834 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13836 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13838 * texrow.C (increasePos): turn two error messages into debug
13841 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13843 * LaTeX.C (scanAux): Handle the \@input macro.
13844 (runBibTeX): Use scanAux().
13846 * language.C (latex_options_): New field.
13848 * LaTeXFeatures.C (getMacros): Add language macros.
13850 * buffer.C (makeLaTeXFile): Small fix.
13852 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13854 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13856 * text2.C: add a using directive.
13858 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13863 * lyxfunc.C: kill LyXBell.
13865 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13867 * text.C (IsBoundary): Remove the error message
13869 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13871 * lyxrc.C (setDefaults): Correct initialization value for
13874 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13876 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13879 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13880 and GotoNextNote().
13882 * src/LyXAction.C: Added reference-next.
13884 * text.C (InsertChar): Use contains instead of strchr.
13886 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13888 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13890 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13891 alignment commands (when needed).
13893 * text.C (InsertChar): Add ':' to number separator chars.