2 2003-11-11 André Pönitz <poenitz@gmx.net>
4 * text.C: remove big comment on invalid Paragraph pointers as it is
7 2003-11-11 André Pönitz <poenitz@gmx.net>
9 * text_funcs.[Ch]: merge with ...
17 * Makefile.am: remove text_funcs.[Ch]
19 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
21 * cursor.C (getPos): return absolute cached y coord
23 * BufferView_pimpl.C (fitCursor): new simplistic code
24 (workAreaDispatch): add a fitCursor call
26 2003-11-10 André Pönitz <poenitz@gmx.net>
29 * BufferView_pimpl.[Ch]: merge update() and updateInset()
31 2003-11-10 André Pönitz <poenitz@gmx.net>
33 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
34 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
35 indicate that the cursor needs to leave an inset
37 * lyxtext.h: remove inset locking
39 * cursor.[Ch]: re-implement functionality provided by inset locking
42 * BufferView_pimpl.[Ch]:
44 * bufferview_funcs.[Ch]:
56 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
58 * PosIterator.[Ch]: replace the stack with a vector, add inset
60 * iterators.[C]: adjust
62 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
64 * lyxfind.C (replaceAll): mark the buffer dirty if something was
66 * paragraph_funcs.C (readParToken): put the correct id in the
67 error item, not the id of the top paragraph
69 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
71 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
72 * bufferview_funcs.C (put_selection_at): use the above
74 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
76 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
78 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
83 * output_docbook.h: add #include statements
85 2003-11-05 José Matos <jamatos@lyx.org>
87 * output_docbook.[Ch]:
89 * output_linuxdoc.[Ch]:
90 * output_plaintext.[Ch]: New files for output formats.
91 * output.[Ch]: New file for helper functions.
94 * paragraph_funcs.[Ch]: output functions moved to new files.
96 * outputparams.h: rename of latexrunparams.h
104 * paragraph_funcs.[Ch]:
105 * paragraph_pimpl.[Ch]:
106 * tabular.[Ch]: rename ascii to plaintext
107 and LatexRunParams to OutputParams.
109 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
111 * iterators.[Ch] (text): require bv argument
112 * undo.C (recordUndo):
113 * lyxfunc.C (dispatch):
114 * bufferview_funcs.C (put_selection_at): adjust
116 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
118 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
120 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
122 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
125 2003-11-04 André Pönitz <poenitz@gmx.net>
127 * cursor.[Ch]: restructure
130 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
132 * iterators.[Ch] (asCursor): remove
134 * lfuns.h: remove LFUN_INSET_EDIT
140 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
142 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
144 * lyxfind.[Ch]: complete overhaul
145 * BufferView_pimpl.C:
147 * paragraph.[Ch] (insert): add
149 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
153 * text.C: remove dead spellcheck code
155 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
157 * dispatchresult.h: add a val setter
159 * cursor.C (dispatch): use a tempvar for data_[i]
161 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
163 * PosIterator.[Ch]: compile fix
165 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
167 * text.C (cursorPar): deactivate the cursor cache
169 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
171 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
173 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
175 * text3.C (dispatch): adjust for new DisptchResult semantics.
177 * lyxfunc.C (dispatch): handle update when return from
178 Cursor::dispatch, adjust for new DispatchResult semantics.
180 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
181 DispatchResult(true) mean to not update. Add class functions for
182 setting dispatched and update, as well as reading.
184 * cursor.C (dispatch): don't handle update here
186 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
188 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
189 * trans_mgr.C: adjust
191 * paragraph_funcs.C (readParToken): exception safety
193 * lyxvc.h: store the vcs pointer in a scoped_ptr
196 * lyxsocket.C (serverCallback): exception safety
198 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
200 * ispell.C (clone): make it return a auto_ptr
202 * factory.C (createInset): exception safety
203 (readInset): exception safety
205 * bufferlist.C (newBuffer): exception safety
207 * Thesaurus.C (Thesaurus): use initialization for aik_
209 * MenuBackend.C (expandToc): exception safety.
211 2003-11-03 André Pönitz <poenitz@gmx.net>
215 * bufferview_funcs.C: remove getInsetFromId()
218 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
224 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
226 * PosIterator.C (distance, advance): new
227 * bufferview_funcs.[Ch] (put_selection_at): new
228 * iterators.[Ch] (lockPath): new
230 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
232 * iterators.[Ch] (asPosIterator): added
233 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
234 * PosIterator.[Ch]: added
236 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
240 * cursor.C (dispatch):
241 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
243 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
244 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
245 contructor, add a class function dispatched. Remove operator>=
247 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
249 * debug.C: only use the default constructor for debugstream
252 * main.C (main): include debug.h and setup the lyxerr streambuf
255 2003-10-31 José Matos <jamatos@lyx.org>
257 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
259 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
260 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
261 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
262 * paragraph_pimpl.C (simpleTeXSpecialC):
263 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
264 add LatexRunParams argument.
266 * exporter.C (Export): change call accordingly.
268 * latexrunparams.h: add new member to take care of the other backends.
269 2003-10-30 José Matos <jamatos@lyx.org>
271 * buffer.C (makeLinuxDocFile, makeDocBookFile):
272 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
273 factorise code for paragraph output.
275 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
278 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
280 * text3.C (dispatch):
281 * lyxfunc.C (dispatch):
282 * cursor.C (dispatch):
283 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
285 * dispatchresult.h: make the dispatch_result_t ctor explicit
287 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
290 * buffer.C: small refactoring of docbook stuff
292 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
294 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
297 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
299 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
300 operator dispatch_result_t, and operators for == != and >=
302 * cursor.C (dispatch): adjust for operator dispatch_result_t
303 removal. comment out call to update
305 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
307 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
315 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
318 * dispatchresult.h: new file, DispatchResult broken out of
321 * Makefile.am (lyx_SOURCES): add dispatchresult.h
323 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
325 * text.C (rowBreakPoint): put a hack inside #if 0
327 2003-10-28 André Pönitz <poenitz@gmx.net>
334 * text2.C: general cleanup (lots of small stuff)
336 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
338 * text2.C (cursorEnd): simple fix to the "end key goes to one
339 before the end on last row" bug
341 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
343 * text.C (backspace): fix the "zombie characters"
345 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
347 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
349 2003-10-27 André Pönitz <poenitz@gmx.net>
351 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
353 * factory.C: handle new InsetPagebreak, InsetLine
355 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
356 and move handling into new InsetPagebreak, InsetLine
358 * BufferView_pimpl.C:
360 * ParagraphParameters.C:
373 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
382 * text3.C: remove lastPos uses in favour of Row::endpos
384 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
386 * undo.C (performUndoOrRedo): fix two crashes by setting a
387 cursor by hand and reordering some calls. Use bv->lockInset instead
388 of inset->edit because the latter loses cursor information
390 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
392 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
394 (rowBreakPoint): fix width. change point to point + 1.
397 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
400 * lyxfunc.C: fix (at least partly) the problems
401 with the Nav menu and headers inside branch insets
404 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
406 * paragraph.C (getChar): add strong asserts
408 * lyxrow_funcs.C (lastPos): remove hideous hack
410 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
411 (fill): adjust to that (avoid an infinite loop)
413 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
415 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
417 2003-10-23 André Pönitz <poenitz@gmx.net>
419 * RowList_fwd.h: change list<> to vector<> to gain speed
420 after suggestion from Alfredo
422 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
424 * lyxtext.h: move the bidi stuff from here...
427 * Bidi.[Ch]: ... to here
429 2003-10-23 André Pönitz <poenitz@gmx.net>
432 * text.C (isLastRow, isFirstRow): new functions
434 * paragraph.h: new width cache member
436 * rowpainter.C: replace RowList::iterator with Row & where possible
438 * lyxfunc.C: replace several view()->text with a single call
440 * toc.C: fix 'unused' warning
442 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
444 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
445 when woring with stream::pos_type
446 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
448 2003-10-22 André Pönitz <poenitz@gmx.net>
451 * text.C: use Row & instead of RowList::iterator
453 * lyxrow.h: rename end() to endpos()
459 2003-10-22 Angus Leeming <leeming@lyx.org>
461 * buffer.[Ch] (fully_loaded): new member function, returning true
462 only when the file has been loaded fully.
463 Used to prevent the premature generation of previews and by the
464 citation inset to prevent computation of the natbib-style label.
466 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
467 templates are all set up.
469 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
471 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
473 * text.C: fixed an "oops" in the "is a bit silly"
476 2003-10-21 André Pönitz <poenitz@gmx.net>
478 * FuncStatus.[Ch]: small stuff, whitespace
480 * lyxfont.[Ch]: operator<<() for debug reasons
484 * lyxtext.h: whitespace, spelling
486 * paragraph.C: naming of variables
489 * text2.C: small stuff
492 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
494 * text.C: (1) finish off the inset display() work;
495 (2) fix the "is a bit silly" bug (accessing char
498 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
500 * text.C: re-introduce display() for insets, fixing the
501 various bugs (stretch of line above, math inset
504 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
506 * text.C (rightMargin): remove spurious semicolon
508 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
511 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
513 * text3.C: fix one crash due to wrong cursor def
515 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
517 * vc-backend.C (scanMaster): make the regex static
519 * LaTeX.C (scanAuxFile): make the regexs static
521 * text3.C (doInsertInset, dispatch, dispatch):
522 * text2.C (cursorUp, cursorDown):
523 * text.C (selectNextWordToSpellcheck):
524 * BufferView_pimpl.C (dispatch):
525 * lyxfunc.C (dispatch): localDispatch -> dispatch
527 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
529 * lyxsocket.C: include <cerrno>
531 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
533 * lyxfunc.C (dispatch): remove textcache stuff
535 * bufferlist.C (release): remove textcache stuff
538 * TextCache.C: delete file
539 * TextCache.h: delete file
541 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
543 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
544 delete of the bv_->text.
545 (resizeCurrentBuffer): remove texcache stuff
546 (workAreaResize): ditto
548 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
550 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
553 2003-10-16 André Pönitz <poenitz@gmx.net>
560 * text3.C: speed up by storing y positions per paragraph plus per-row
561 offset instead of having a 'full' y position in the row.
563 2003-10-15 André Pönitz <poenitz@gmx.net>
567 * undo.[Ch]: make undo aware of inner insets
569 2003-10-14 Angus Leeming <leeming@lyx.org>
571 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
572 static member functions LyX::ref() and LyX::cref.
573 (lastfiles): new accessor functions for the new lastfiles_ member var.
574 (addLyXView, views_): add a new LyXView to the list of views_.
575 (updateInset): loop over all LyXViews to call their own updateInset
576 member function, returning a pointer to the Buffer owning the inset.
578 * BufferView_pimpl.C (loadLyXFile):
579 * MenuBackend.C (expandLastfiles):
580 * bufferlist.C (MenuWrite, QuitLyX):
581 lastfiles is no longer a global variable.
582 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
584 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
585 static function. Access through LyX::cref().emergencyCleanup().
587 2003-10-14 André Pönitz <poenitz@gmx.net>
589 * iterators.[Ch]: new direct access to innermost LyXText and Inset
591 * undo.[Ch]: restoring part of 'undo in insets'
594 * undo_funcs.[Ch]: merge with undo.[Ch]
596 * tabular.C: small cleansing stuff
598 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
600 * paragraph_funcs.C (readParToken): report unknown insets as error
601 boxes. Use the outer paragraph as location (also for unknown
604 * factory.C (readInset): do not abort on reading an unknown inset.
607 2003-10-13 Angus Leeming <leeming@lyx.org>
609 * lyx_main.C (LyX): remove call to setDisplayTranslator().
611 * lyxrc.C: displayTranslator is now a function,
612 declared in GraphicsTypes.h.
614 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
616 * format.C: new placeholder $$a to pass the socket address.
618 * bufferlist.[Ch]: new function getBufferFromTmp.
620 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
621 files in the temporary dir.
623 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
625 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
627 * Makefile.am: add lyxsocket.[Ch].
629 * lyx_main.C (error_handler): handle SIGPIPE.
631 2003-10-13 André Pönitz <poenitz@gmx.net>
633 * BufferView_pimpl.C:
638 * undo_funcs.[Ch]: use paroffset_type instead of
639 ParagraphList::iterators to prevent multiple conversion
640 (and get a more robust interface)
642 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
644 * lyxfunc.C (dispatch): RESULT -> dispatch_result
646 * text3.C (dispatch): ditto
648 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
650 * LaTeX.C (handleFoundFile): move the static to smaller scope,
651 move the onlyfile, use onlyfile instead of foundfile in a couple
654 * DepTable.C (update): flush the error stream a bit more
656 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
658 * lyxserver.C (callback): adjust
660 * lyxfunc.C (getStatus): add a missing brace in commented code
661 (ensureBufferClean): reindent
662 (dispatch): delete version taking a string
664 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
666 * LaTeX.C (deplog): move found file handlig from here...
667 (handleFoundFile): .. to new function here.
668 (deplog): make sure to discover several files mentioned on the
671 2003-10-10 André Pönitz <poenitz@gmx.net>
678 * text3.C: fix some of the tabular crashes
680 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
682 * MenuBackend.C (binding): put debug message into Debug::KBMAP
684 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
686 2003-10-09 André Pönitz <poenitz@gmx.net>
688 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
691 * BufferView_pimpl.C:
692 * bufferview_funcs.C:
703 * undo_funcs.C: adjust
705 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
707 * text2.C (incrementItemDepth): new function, use a backtracking
708 algorithm to discover the correct item depth.
709 (resetEnumCounterIfNeeded): new function, use a backtracking
710 algorithm to discover if counter reset is needed.
711 (setCounter): use them. Simplify a bit. Add different labels for
712 different item depths for itemize.
714 * paragraph.C (Paragraph): remove initialization of enumdepth
717 * paragraph.h: get rid of enumdepth, and use itemdepth both for
718 enumerate and itemize. Change the type of itemdepth to signed char.
720 2003-10-08 André Pönitz <poenitz@gmx.net>
722 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
727 * tabular.[Ch]: fix crash after 'row-insert'
729 2003-10-08 Angus Leeming <leeming@lyx.org>
731 Fix doxygen warnings.
733 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
734 Remove CutAndPaste:: prefix from header file declaration.
736 * LColor.h (fill): remove LColor:: prefix from declaration.
738 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
739 use lyx::depth_type rather than Paragraph::depth_type so that
740 header file and .C file match.
742 * converter.h (intToFormat): remove Converters:: prefix from declaration.
744 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
745 * aspell.C: \file aspell_local.C -> \file aspell.C
746 * gettext.C: \file gettext.C -> \file src/gettext.C
747 * gettext.h: \file gettext.h -> \file src/gettext.h
748 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
749 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
750 * text.C: \file text.C -> \file src/text.C
752 * toc.C: move comment so that doxygen is not confused.
754 2003-10-07 Angus Leeming <leeming@lyx.org>
756 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
758 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
761 * aspell_local.h: add forgotten std::string's.
763 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
770 * text3.C: The Box patch. Fancybox support, minipage, parbox
772 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
778 * ParagraphParameters.h:
788 * lyxtextclasslist.h:
792 * textcursor.h: add <string> and other small fixes to make Lars'
793 std::string patch compile with STLport.
795 2003-10-06 Angus Leeming <leeming@lyx.org>
797 * LColor.h: Add missing #include <string>.
799 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
801 * All most all file in all subdirs: Make <string> be the prefered
802 way of getting to std::string, add using declarations.
804 2003-10-06 André Pönitz <poenitz@gmx.net>
806 * metricsinfo.C: initialize LyXFont before changing attribute.
807 (fixes the 'math in \emph is upright' bug)
809 2003-10-06 André Pönitz <poenitz@gmx.net>
811 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
813 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
816 * paragraph_pimpl.C: Small fixes to build using STLport
818 2003-10-02 André Pönitz <poenitz@gmx.net>
821 * text3.C: move handling of LFUN_DEPTH *; fix #1360
823 2003-10-01 André Pönitz <poenitz@gmx.net>
825 * factory.C: assert early
827 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
829 * lyx_main.C: remove the global debug object
831 * debug.h: adjust for new debugstream
833 * debug.C: adjust for new debugstream and keep the global debug
836 2003-09-22 Angus Leeming <leeming@lyx.org>
838 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
839 of g++ which otherwise complain that the scoped_ptr destructor can't delete
840 an incomplete class LyXFont.
842 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
844 * factory.C: bug fix in branches
846 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
848 * lyxfunc.C (processKeySym): adjust
850 (dispatch): change arg name from ev to func, adjust
851 (sendDispatchMessage): ditto
853 * lyx_main.C (defaultKeyBindings): adjust keybindings
854 (deadKeyBindings): ditto
856 * kbsequence.C (addkey): return a FuncRequest
858 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
860 * kbmap.C (bind): take a FuncRequest as arg, adjust
863 (defkey): change to take a FuncRequest as arg, adjust
864 (findbinding): take a FuncRequest as arg, adjust.
866 * funcrequest.h (operator=): added
868 * funcrequest.C (FuncRequest): default kb_action changed from
869 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
871 * buffer.C (dispatch): simplify
872 (dispatch): adjust to take a FuncRequest as arg, adjust
874 * boost.C (assertion_failed): change assertion message slightly
876 * ToolbarBackend.C (read): simplify
878 * MenuBackend.C (binding): adjust call to findbinding, add a
879 message if no binding is found.
881 (expandToc): correct by adding a empty FuncRequest
883 * LyXAction.C: include <boost/assert.hpp>
884 (isPseudoAction): delete function
885 (LookupFunc): change name to...
886 (lookupFunc): this. change return type to FuncRequest.
887 (getActionName): take kb_action as arg, simplify
888 (funcHasFlag): add an assert, simplify.
890 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
892 * toc.C (action): return a FuncRequest, simplify
894 * lyxfunc.C (processKeySym): adjust
895 (getStatus): delete version that takes an int.
897 (dispatch): delete version that takes action as int
899 (sendDispatchMessage): simplify and adjust
901 * funcrequest.C (getArg): take unsigned int as arg
903 * ToolbarBackend.C (read): adjust
904 (add): delete version that takes func as a string.
905 (getIton): take a FuncRequest as arg
907 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
910 * MenuBackend.C (MenuItem): add a new construct that only takes a
911 Kind, simplify the constructor use for submenus.
913 (expandLastfiles): adjust
914 (expandDocuments): adjust
915 (expandFormats): adjust
916 (expandFloatListInsert): adjust
917 (expandFloatInsert): adjust
918 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
920 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
921 Remove class variables lyx_pseudo_map and lyx_arg_map
923 * LyXAction.C (searchActionArg): delete function
924 (getPseudoAction): delete function
925 (retrieveActionArg): delete function
926 (LookupFunc): make it return kb_action, simplify.
927 (getActionName): simplify
929 * factory.C (createInset): fix new bug
931 2003-09-19 Angus Leeming <leeming@lyx.org>
933 * CutAndPaste.C (pasteSelection): remove fudge used to set the
934 masterFilename_ parameter in the include inset.
936 * factory.C (createInset): changes due to the changes to InsetInclude.
938 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
940 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
942 2003-09-18 Angus Leeming <leeming@lyx.org>
945 * BufferView.C: pass the buffer when calling Inset::getLabelList,
946 Inset::fillWithBibKeys.
947 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
949 2003-09-18 Angus Leeming <leeming@lyx.org>
951 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
953 (ctor): pass and store a 'Buffer const &'
954 (buffer): new member function.
956 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
957 '*this' to the LaTeXFeatures ctor.
959 2003-09-18 Angus Leeming <leeming@lyx.org>
965 * text.C: rename EnumLColor as LColor_color.
967 2003-09-18 Angus Leeming <leeming@lyx.org>
969 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
970 remove #include "insets/insetbase.h" from cursor.h.
972 2003-09-18 Angus Leeming <leeming@lyx.org>
974 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
975 InsetOld_code to remove #include "inset.h".
977 * iterators.C: add #include "insets/inset.h"
979 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
981 * BufferView.C: remove more locking stuff that apparently doesn't
982 do anything sensible.
984 2003-09-16 André Pönitz <poenitz@gmx.net>
987 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
990 2003-09-16 Angus Leeming <leeming@lyx.org>
992 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
994 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
997 * paragraph.h: remove #include "lyxfont.h". Forward declare
1000 2003-09-16 Angus Leeming <leeming@lyx.org>
1002 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1003 of support/textutils.h.
1004 (isWord): move the contents of support/textutils.h's IsWordChar here.
1010 * text2.C: add #include "paragraph.h".
1013 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1015 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1021 * LaTeX.C: use namespace alias for lyx::support::os
1023 2003-09-16 Angus Leeming <leeming@lyx.org>
1026 * bufferview_funcs.C:
1029 * paragraph_pimpl.C:
1031 * text.C: add #include "LColor.h".
1033 2003-09-16 Angus Leeming <leeming@lyx.org>
1035 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1036 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1038 Store the FontBits::color variable as an int rather than as an
1039 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1042 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1043 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1044 string calls together.
1046 * lyxrc.C: add #include "LColor.h".
1048 2003-09-15 Angus Leeming <leeming@lyx.org>
1050 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1053 2003-09-15 Angus Leeming <leeming@lyx.org>
1055 * LColor.h: add an EnumLColor wrapper for LColor::color.
1057 * lyxfont.[Ch] (color, setColor, realColor):
1058 * lyxtext.h, text.C (backgroundColor):
1059 pass EnumLColor args to/from the functions, rather than LColor::color
1063 * lyxtext.h: forward declare EnumLColor.
1065 * lyx_main.C: add #include "LColor.h".
1067 2003-09-15 Angus Leeming <leeming@lyx.org>
1069 * .cvsignore: add lyx-gtk.
1071 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1076 * ParagraphParameters.C
1080 * bufferview_funcs.C
1090 * vc-backend.C: remove usage of STRCONV
1092 2003-09-15 Angus Leeming <leeming@lyx.org>
1094 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1095 explicitly define the color passed to the painter.
1097 2003-09-15 Angus Leeming <leeming@lyx.org>
1099 * bufferparams.C (BufferParams): reorder member initializers to avoid
1102 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1104 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1105 * text.C (updateRowPositions): remove an unusual nop
1107 2003-09-12 André Pönitz <poenitz@gmx.net>
1109 * BufferView_pimpl.C:
1118 * Counters.[Ch]: finish the 'automatic counters' job
1120 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1122 * aspell.C: include <boost/assert.cpp> (compile fix)
1124 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1126 * boost.C (assertion_failed): use lyx::support::abort instead of
1129 2003-09-10 Angus Leeming <leeming@lyx.org>
1131 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1132 with their _fwd progeny.
1134 2003-09-09 Angus Leeming <leeming@lyx.org>
1136 134 files throughtout the source tree: replace 'using namespace abc;'
1137 directives with the appropriate 'using abc::xyz;' declarations.
1139 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1141 * boost.C (emergencyCleanup): moved here from LAssert.c
1142 (assertion_failed): new function, called by BOOST_ASSERT
1144 * several files: change Assert to BOOST_ASSERT
1146 2003-09-09 Angus Leeming <leeming@lyx.org>
1148 * buffer.[Ch]: Add an Impl class and move Buffer's member
1149 variables into it. As a result move several header files out of
1152 Add header files to lots of .C files all over the tree as a result.
1154 2003-09-09 Angus Leeming <leeming@lyx.org>
1156 * buffer.[Ch]: make Buffer's member variables private. Add
1159 Lots of changes all over the tree as a result.
1161 2003-09-08 Angus Leeming <leeming@lyx.org>
1163 * graph.C: #include <config.h>.
1165 2003-09-08 Angus Leeming <leeming@lyx.org>
1169 * BufferView_pimpl.C:
1198 * toc.C: remove redundant using directives.
1200 2003-09-07 Angus Leeming <leeming@lyx.org>
1202 * LaTeXFeatures.h: remove #include "support/types.h".
1203 * ToolbarBackend.h: remove #include <algorithm>.
1204 * changes.h: remove #include <ctime>.
1205 * debug.h: remove #include <iosfwd>.
1206 * graph.h: remove #include "support/std_string.h".
1207 * lyx_main.h: remove #include <csignal>.
1208 * lyxlex_pimpl.h: remove #include <fstream>.
1209 * sgml.h: remove #include <algorithm>, <utility>.
1210 * toc.h: remove #include "support/std_ostream.h".
1211 Add #include <iosfwd>.
1213 2003-09-07 Angus Leeming <leeming@lyx.org>
1215 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1217 * converter.h: forward declare LatexRunParams.
1218 * encoding.h: remove #include "lyxrc.h".
1219 * lyxtext.h: remove #include "LColor.h".
1220 * lyxtextclass.h: remove #include "support/types.h".
1221 * trans.h: remove #include "tex-accent.h".
1222 * trans_mgr.h: remove #include "tex-accent.h".
1223 * insets/inset.h: remove #include "support/types.h", <vector>.
1224 * insets/insetcollapsable.h: remove #include "LColor.h".
1225 * insets/insetinclude.h: remove #include "dimension.h".
1226 * insets/insetlatexaccent.h: remove #include "dimension.h".
1227 * insets/insetoptarg.h:: remove #include "insettext.h".
1228 * insets/insettext.h: remove #include "dimension.h",
1229 <boost/shared_ptr.hpp>
1231 * insets/renderers.h: add #include "dimension.h".
1232 * insets/updatableinset.h: add #include "support/types.h".
1234 * many .C files: Associated changes.
1236 2003-09-06 Angus Leeming <leeming@lyx.org>
1238 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1239 one, inside testInvariant.
1241 * PrinterParams.C: new file.
1242 * PrinterParams.[Ch]: move the function bodies out of line.
1244 2003-09-06 Angus Leeming <leeming@lyx.org>
1246 * ParagraphParameters.h: forward declare ParameterStruct rather than
1247 including its header file.
1248 (depth): moved out-of-line.
1250 2003-09-06 Angus Leeming <leeming@lyx.org>
1252 * BufferView_pimpl.h:
1255 * lyxfunc.h: forward declare LyXKeySym rather than
1256 #include "frontends/LyXKeySym.h".
1258 * BufferView_pimpl.C:
1261 * lyxfunc.C: associated changes.
1263 2003-09-06 Angus Leeming <leeming@lyx.org>
1265 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1266 As a result, can remove the #include "insets/inset.h" from BufferView.h
1268 2003-09-06 Angus Leeming <leeming@lyx.org>
1270 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1271 As a result, can remove the #include "insets/inset.h" from BufferView.h
1273 2003-09-06 Angus Leeming <leeming@lyx.org>
1279 * bufferview_funcs.C:
1280 * BufferView_pimpl.C:
1285 * ParagraphParameters.C:
1290 * frontends/controllers/ControlDocument.C:
1291 * insets/insetcaption.C: rearrange the #includes into some sort of
1294 * buffer.h: remove #includes ErrorList.h, undo.h
1296 2003-09-06 Angus Leeming <leeming@lyx.org>
1298 * support/types.h: add a 'depth_type' typedef, used to store the
1299 nesting depth of a paragraph.
1302 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1303 defining explicitly.
1306 * paragraph_funcs.h:
1307 * ParagraphParameters.h:
1308 * sgml.h: use lyx::depth_type rather than Paragraph or
1309 ParameterStruct's depth_type.
1312 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1315 * BufferView_pimpl.C:
1317 * ParagraphParameters.C:
1320 * bufferview_funcs.C:
1327 * frontends/LyXView.C:
1328 * frontends/controllers/ControlDocument.C:
1329 * frontends/controllers/ControlErrorList.C:
1330 * insets/insetbibitem.C:
1331 * insets/insetbranch.C:
1332 * insets/insetcaption.C:
1333 * insets/insetcollapsable.C:
1334 * insets/insetenv.C:
1335 * insets/insetert.C:
1336 * insets/insetfloat.C:
1337 * insets/insetfoot.C:
1338 * insets/insetfootlike.C:
1339 * insets/insetnewline.C:
1340 * insets/insetquotes.C:
1341 * insets/insettabular.C:
1342 * insets/insettext.C:
1343 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1345 * frontends/controllers/ControlChanges.C: #include "changes.h".
1347 2003-09-06 Angus Leeming <leeming@lyx.org>
1349 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1350 than #including paragraph.h.
1353 * RowList.h: deleted. Superfluous.
1363 * insets/insettext.h: use ParagraphList_fwd.h rather than
1366 * paragraph.h: don't forward declare ParagraphList.
1369 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1370 rather than ParagraphList.h. paragraph.h is still needed for the
1371 Paragraph::depth_type parameters.
1373 * textcursor.h: enable it to compile stand-alone in light of the
1376 * bufferview_funcs.C:
1388 * frontends/controllers/ControlParagraph.C:
1389 * frontends/controllers/ControlTabular.C:
1390 * insets/insetmarginal.C:
1391 * insets/insetminipage.C:
1392 * insets/insetnote.C:
1393 * insets/insetoptarg.C: add header files needed to compile again.
1395 2003-09-06 Angus Leeming <leeming@lyx.org>
1397 * RowList_fwd.h: new file, forward-declaring Row rather than
1398 #including lyxrow.h.
1403 * insets/insettext.h: use it instead of RowList.h
1405 * bufferview_funcs.C:
1412 * text3.C: #include "RowList.h".
1414 2003-09-05 Angus Leeming <leeming@lyx.org>
1416 * factory.C (createInset):
1417 * vspace.C (c-tor): replace sscanf call with an istringstream.
1418 * ispell.C: re-add missing HP/UX headers.
1419 * lyxserver.C: re-add missing os2 headers.
1421 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1430 * text3.C: re-add missing system headers, needed for 2.95.2.
1432 2003-09-05 Angus Leeming <leeming@lyx.org>
1434 Changes most place everywhere due to the removal of using directives
1435 from support/std_sstream.h.
1437 2003-09-05 Angus Leeming <leeming@lyx.org>
1439 Replace LString.h with support/std_string.h,
1440 Lsstream.h with support/std_sstream.h,
1441 support/LIstream.h with support/std_istream.h,
1442 support/LOstream.h with support/std_ostream.h.
1444 Changes resulting throughout the tree.
1446 2003-09-05 Angus Leeming <leeming@lyx.org>
1448 * sgml.h: ensure that the header file can be compiled stand-alone.
1449 * *.C: strip out redundant #includes. (320 in total.)
1451 2003-09-04 Angus Leeming <leeming@lyx.org>
1453 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1454 here (from getPackages).
1456 * debug.[Ch]: add a new EXTERNAL tag.
1458 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1460 * text2.C (cursorEnd): simplify
1462 (getColumnNearX): adjust
1464 * text.C (computeBidiTables): adjust
1467 * rowpainter.C (paintChars): adjust
1468 (paintSelection): adjust
1469 (paintChangeBar): adjust
1472 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1474 (numberOfSeparators): adjust
1476 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1482 * text3.C: Restricts the mouse click functionality
1483 of insets like bibtex, include, toc and floatlist to the visible
1484 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1485 up the dialogs. Cursor has to be in front of the inset (i.e.
1486 start of row) for this to function.
1488 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1490 * bufferview_funcs.C (currentState): output row information
1492 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1494 * bufferview_funcs.C (currentState): output paragraph position
1496 2003-09-04 Angus Leeming <leeming@lyx.org>
1498 * FloatList.h: move out #include "Floating.h".
1499 * LaTeX.h: move out #include "DepTable.h".
1500 * LyXAction.h: move out #include "funcrequest.h".
1501 * buffer.h: move out #include "author.h", "iterators.h".
1502 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1503 * lyx_main.h: move out #include "errorlist.h".
1504 * lyxfunc.h: move out #include "FuncStatus.h".
1505 * lyxtext: move out #include "lyxcursor.h".
1506 * paragraph_pimpl.h: move out #include "counters.h".
1508 2003-09-03 Angus Leeming <leeming@lyx.org>
1510 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1511 preamble_snippets list, enabling us to add snippets to the preamble
1512 only if the snippet was not there already.
1514 2003-09-04 Angus Leeming <leeming@lyx.org>
1516 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1518 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1520 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1523 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1525 * BranchList.C: point fix, earlier forgotten
1527 2003-09-02 Angus Leeming <leeming@lyx.org>
1529 * box.C (contains): renamed from 'contained' after a fantastic
1532 2003-09-02 John Levon <levon@movementarian.org>
1538 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1540 2003-09-02 John Levon <levon@movementarian.org>
1542 * text2.C: simplification of cursorEnd(), including partial
1545 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1547 * buffer.C (readFile): add a space
1549 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1551 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1553 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1555 * buffer.C (readFile): new function, take a filename and a
1556 ParagraphList::iterator
1558 (readFile): adjust, make it private. don't use setStream, make
1559 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1560 always contain the filename.
1562 * BufferView.C (insertLyXFile): simplify and make it work for
1565 2003-08-30 John Levon <levon@movementarian.org>
1567 * Makefile.am: fix dist (from Kayvan)
1569 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1571 * most files: change to use const Buffer refs
1573 2003-08-27 André Pönitz <poenitz@gmx.net>
1575 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1576 on top of ownerPar().
1578 2003-08-27 John Levon <levon@movementarian.org>
1580 * funcrequest.C: properly initialise POD members
1582 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1584 * lyxtext.h (top_y): move top_y from here
1589 * BufferView_pimpl.[Ch]: to here
1590 * frontends/screen.C:
1591 * insets/insettabular.C:
1592 * insets/insettext.C: adjust
1593 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1595 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1598 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1600 2003-08-26 André Pönitz <poenitz@gmx.net>
1602 * paragraph_func.[Ch] (outerPar): new function
1605 * paragraph_funcs.C:
1606 * paragraph_funcs.h:
1607 * paragraph_pimpl.C:
1608 * text2.C: remove Inset::par_owner
1610 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1615 * text2.C: eliminates the needFullRow/display() stuff
1616 altogether, putting the logic in metrics/draw in the insets.
1618 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1620 * text2.C (redoParagraphInternal, redoParagraphs):
1621 * text.C (redoParagraph): add a call to updateRowPositions at the
1622 end of each 'metrics-like' call. Remove all others.
1623 (getRow): remove the 'y-computing' version.
1624 (getRowNearY): do not compute nor return the real y. Solve the
1625 'y < 0' problem and simplify.
1627 2003-08-22 Angus Leeming <leeming@lyx.org>
1629 * *.[Ch]: clean-up of licence and author blurbs.
1630 Also move config.h out of a few .h files and into a few .C files.
1632 2003-08-22 André Pönitz <poenitz@gmx.net>
1634 * lyxrow.[Ch]: add x_ and *fill_ members
1639 * text2.C: adjust/remove prepareToPrint() calls
1641 2003-08-22 André Pönitz <poenitz@gmx.net>
1643 * lyxrow.[Ch]: add end_ member
1645 * lyxrow_funcs.C: use LyXRow::end_
1647 * lyxtext.h (singleWidth): add LyXFont parameter
1650 * text2.C: adjust LyXText::singleWidth() calls
1652 * text.C (redoParagraph): simplify row breaking logic
1655 2003-08-19 André Pönitz <poenitz@gmx.net>
1657 * funcrequest.C: initialize button_ member
1660 * rowpainter.[Ch]: interface consolidation
1662 2003-08-18 André Pönitz <poenitz@gmx.net>
1665 * BufferView_pimpl.C:
1667 * paragraph_funcs.C:
1669 * text3.C: remove LyXScreen::draw() and fitCursor calls
1671 * BranchList.h: remove spurious semicolons
1673 * MenuBackend.C: fix branchlist related crash
1675 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1683 * bufferparams.[Ch]:
1687 * text3.C: implements the 'branch inset'
1688 idea. This allows the output of various versions of a document
1689 from a single source version, selectively outputing or suppressing
1690 output of parts of the text.
1691 This implementation contains a 'branch list editor' in a separate
1692 tab of the document settings dialog. Branches are user definable
1693 and have a "display colour" to distinguish them on-screen.
1695 ColorHandler was somewhat cleaned up.
1696 (1) make possible a dynamically growing LColor list by allowing
1697 the graphic context cache to grow along (vector);
1698 (2) eliminate an IMHO unnecessary step in colour allocation.
1700 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1702 * BufferView_pimpl.C: compile fix
1704 2003-08-15 André Pönitz <poenitz@gmx.net>
1706 * rowpainter.C: remove extra metrics calls
1708 * lyxtext.h: merge the two constructors into a single one,
1709 pass reference to owner's par list
1711 * BufferView_pimpl.C:
1715 2003-08-15 André Pönitz <poenitz@gmx.net>
1717 * lyxrow_funcs.[Ch]:
1720 * paragraph_funcs.C:
1725 * text_funcs.C: split LyXText::rowlist_ into individual
1726 Paragraph::rows_ chunks
1729 * BufferView_pimpl.[Ch]:
1732 * text3.C: remove toggleSelection()
1734 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1736 * bufferlist.C: beautify two alerts (shorter text of buttons)
1737 * buffer.C: Remove redundant ' ' from message
1739 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1740 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1741 rename VALIGN_CENTER to VALIGN_MIDDLE
1743 2003-08-11 André Pönitz <poenitz@gmx.net>
1745 * lyxtext.h (getPar):
1746 * text.C: new function
1748 2003-08-11 André Pönitz <poenitz@gmx.net>
1751 * tracer.[Ch]: remove unneeded files
1753 * InsetList.[Ch]: remove resizeInsetsLyXText()
1758 * text3.C: merge insertParagraphs() and appendParagraph()
1759 remove breakAgain(), update()
1761 * BufferView_pimpl.[Ch]:
1762 * bufferview_funcs.[Ch]:
1766 * tabular.C: adjust after text & InsetList changes.
1768 2003-08-08 André Pönitz <poenitz@gmx.net>
1770 * text.C (insertChar, backspace): replace rowlist fiddling
1771 with rebreak of full par
1774 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1775 checkParagraph, updateInset): removed
1777 2003-08-07 André Pönitz <poenitz@gmx.net>
1780 * text3.C: merge some LFUN handlers, remove dead code
1782 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1784 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1786 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1788 * text2.C (DEPM): fix part of bug 1255 and 1256
1790 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1792 * BufferView_pimpl.C (workAreaDispatch): change to use
1793 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1794 that are no mouse related.
1796 2003-08-05 André Pönitz <poenitz@gmx.net>
1799 * BufferView_pimpl.[Ch]:
1800 * bufferview_funcs.C:
1802 * text3.C: rip out "deep update"
1804 * textcursor.[Ch] (last_sel_cursor): remove unused member
1806 2003-08-04 André Pönitz <poenitz@gmx.net>
1809 * BufferView_pimpl.[Ch]:
1810 * ParagraphParameters.C:
1811 * bufferview_funcs.C:
1817 * text3.C: replace "complicated" BufferView::update(...) calls with
1820 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1822 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1824 * Makefile.am (lyx_SOURCES): add paper.h
1826 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1828 * Makefile.am: move things around so that both lyx-qt and
1829 lyx-xforms can be built (according to --with-frontend). Then lyx
1830 is a symbolic link to lyx-[firstfrontend]
1832 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1834 * Always use std::endl with lyxerr
1836 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1838 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1840 2003-08-01 André Pönitz <poenitz@gmx.net>
1843 * BufferView_pimpl.[Ch]:
1845 * text3.C: merge BufferView::repaint() and BufferView::update()
1847 2003-08-01 José Matos <jamatos@lyx.org>
1849 * buffer.[Ch]: file_format is no longer a buffer data element.
1851 2003-08-01 André Pönitz <poenitz@gmx.net>
1856 * text2.C: make redoParagraph more independent of current cursor
1858 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1860 * text2.C: remove unneeded members
1862 2003-07-30 André Pönitz <poenitz@gmx.net>
1864 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1866 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1867 create a single function...
1869 * paragraph_funcs.C (moveItem): ... here.
1872 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1874 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1876 * LColor.[Ch]: Add comment and greyedout logical colors.
1878 2003-07-30 André Pönitz <poenitz@gmx.net>
1880 * tabular.C: don't use Assert too heavily. This crashes where it
1883 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1885 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1886 is disabled (bug 1232)
1888 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1890 * factory.C: limited 'arg' scope
1892 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1894 * factory.C: fixed Note submenu issues
1896 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1898 * factory.C: submenu for Note/Comment/Greyedout
1900 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1903 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1905 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1908 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1909 greyedout. Patch provided by Jürgen Spitzmüller.
1911 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1913 * kbmap.C (read): fix error message when reading bind files
1915 2003-07-29 Angus Leeming <leeming@lyx.org>
1917 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1918 certainly does not do what it purports to do. I am doing it, and
1919 us, a favour by killing it.
1921 2003-07-28 José Matos <jamatos@lyx.org>
1923 * buffer.C (readBody, do_writeFile):
1924 * paragraph.C(readParagraph): \end_document replaces \the_end.
1926 2003-07-29 André Pönitz <poenitz@gmx.net>
1929 * BufferView_pimpl.[Ch]:
1933 * textcursor.[Ch]: remove toggleToggle & Co
1935 2003-07-28 José Matos <jamatos@fep.up.pt>
1937 * buffer.C (readParagraph):
1938 * params_func (readParToken, readParagraph):
1939 * paragraph.C (write): \layout -> \begin_layout.
1941 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1943 * lyxlex_pimpl.C (setFile): clean up slightly.
1945 * bufferparams.h: add compressed var
1947 * buffer_funcs.C (readFile): adjust for LyXLex change
1948 (newFile): ditto + simplify
1950 * buffer.C (writeFile): handle writing of compressed files
1952 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1953 Check if the file is compressed and set a bufferparm if so.
1955 * Makefile.am (lyx_LDADD): remove explicit -lz
1957 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1959 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1960 makeDocBookFile): put the real LyX version in the first line of
1964 * version.C.in: remove lyx_docversion
1966 * tabular.C (write_attribute): add a template-based version to
1967 write enums properly
1969 2003-07-28 André Pönitz <poenitz@gmx.net>
1974 * text3.C: use doubles again for x-coordinates. They are needed.
1976 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1978 * messages.C (getLocaleDir): use lyx_localedir()
1980 * lyxlex_pimpl.C (setFile): compress stuff
1982 * buffer.C (writeFile): add some compression stuff
1983 (do_writeFile): new func, dont call expliti close... will this
1986 * Makefile.am (lyx_LDADD): add -lz
1988 2003-07-28 José Matos <jamatos@fep.up.pt>
1990 * buffer.C: increment file format.
1991 * paragraph_funcs (readParagraph, readParToken):
1992 * paragraph.C (readParagraph): add \end_layout.
1994 2003-07-27 Angus Leeming <leeming@lyx.org>
1996 * Makefile.am: remove special casing for configure-time setting of
1997 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1999 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2000 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2002 2003-07-26 André Pönitz <poenitz@gmx.net>
2004 * paragraph_func.[Ch]:
2005 * paragraph.C (realizeFont): inline it whereever it is used
2010 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2013 2003-07-26 André Pönitz <poenitz@gmx.net>
2017 * text2.C: get rid of LyXText::need_break_row
2019 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2021 * toc.[Ch]: put namespace toc inside namespace lyx
2023 * MenuBackend.C (expandToc2): adjust for lyx::toc
2026 * lyxfunc.C (dispatch): adjust for lyx::find
2028 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2029 lyx::find instead. Reorganize a bit.
2030 (LyXReplace): rename to replace
2031 (LyXFind): rename to find
2033 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2036 2003-07-26 André Pönitz <poenitz@gmx.net>
2038 * text.C (setHeightOfRow): restrict scope of temporary variable
2040 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2041 code (never has been used?)
2043 2003-07-27 Asger Alstrup <alstrup@local>
2045 * text.C (fill): Optimise algorithm to exploit that we can reuse
2046 the LyXFont for many characters.
2047 (setHeightOfRow): Same thing.
2048 (rowBreakPoint): Same thing.
2050 2003-07-26 Asger Alstrup <alstrup@local>
2052 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2054 * text.C (singleWidth): Spurious font copying in hot-spot
2055 singleWidth avoided. Reorder tests for arabic for efficiency.
2057 * text.C (fill): handle empty paragraphs better.
2059 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2062 * encoding.h: add includes
2064 * lyxrc.C: remove reading of bind files
2066 * lyx_main.C (init): setup bindings and menus only if we have a
2069 * kbmap.C (read): new method. Do the actual reading of bind
2072 * converter.C (dvipdfm_options):
2075 (output): adapt PAPER_* enums.
2077 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2079 * bufferparams.h: remove paper-related enums from there
2081 * paper.h: New file. A trivial header file to hold paper-related
2082 enums. It should later expand to contain many paper-related
2085 * lyxrc.C: declare extern displayTranslator
2087 2003-07-27 José Matos <jamatos@fep.up.pt>
2089 * tabular.[Ch] (linuxdoc): add support for tables and figures
2092 2003-07-27 José Matos <jamatos@fep.up.pt>
2094 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2095 consistency in both functions.
2096 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2098 2003-07-26 Asger Alstrup <alstrup@local>
2100 * rowpainter.C (paintRows): Change algorithm to work directly on
2101 the insets rather than asking every character in the document
2102 whether its an inset.
2104 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2106 * buffer.C (openFileWrite): factorize some code
2108 2003-07-26 Angus Leeming <leeming@lyx.org>
2111 * lyx_main.[Ch]: replace occurances of system_tempdir with
2114 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2116 * rename Inset to InsetOld
2118 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2120 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2121 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2122 which I think is a bit clearer. EDIT is gone, since it was
2123 premature optimisation, and broken for mathed anyway.
2124 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2125 with cursor positioning in insets as well (math insets still do not
2126 work, but that's a different story anyway.) It mysteriously
2127 crashes sometimes with undo in the first paragraph, but I'm fairly
2128 confident that this is a compiler bug.
2130 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2132 * paragraph.C (Paragraph): adjust for new clone return type
2134 (copyIntoMinibuffer): ditto
2136 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2138 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2139 by not having a special case, and always doing a full rebreak of
2140 the document after undo.
2142 2003-07-23 Angus Leeming <leeming@lyx.org>
2144 * factory.C (createInset): InsetExternal::setParams now takes a
2147 2003-07-23 Angus Leeming <leeming@lyx.org>
2149 * factory.C (createInset): changed interface to the external and
2150 graphics mailers' string2params functions.
2152 2003-07-23 Angus Leeming <leeming@lyx.org>
2154 * factory.C (createInset): pass a
2155 Buffer const * parameter to InsetExternalMailer's string2params.
2157 2003-07-22 John Levon <levon@movementarian.org>
2159 * Thesaurus.h: include the right aiksaurus header
2161 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2163 * MenuBackend.C (expand): check menu shortcuts unconditionally
2165 2003-07-21 Angus Leeming <leeming@lyx.org>
2167 * factory.C (createInset): pass a
2168 buffer_path parameter to InsetGraphicsMailer's string2params.
2170 2003-07-21 Angus Leeming <leeming@lyx.org>
2172 * BufferView_pimpl.C (buffer):
2175 * lyxfunc.C (dispatch):
2176 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2177 rather than the grfx shortcut.
2179 2003-07-21 André Pönitz <poenitz@gmx.net>
2181 * rowpainter.C: remove unused variables
2184 * tabular_funcs.h: move to tabular.C
2185 * Makefile.am: adjust
2187 * tabular.[Ch]: basic optical cleaning
2189 * author.h: pass references, not values
2191 2003-07-18 André Pönitz <poenitz@gmx.net>
2199 * text3.C: two-phase drawing for InsetText and InsetTabular
2200 some float -> int changes.
2202 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2204 * lyx_main.C: fix the fix
2206 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2208 * lyx_main.C: fix a crash in batch mode if no files specified
2211 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2213 * format.[Ch] (papersize): moved to BufferParams
2214 * converter.[Ch] (dvips_options): moved to BufferParams
2215 (dvipdfm_options): moved to anon namespace
2216 * bufferparams.[Ch]: added above functions.
2218 2003-07-17 André Pönitz <poenitz@gmx.net>
2222 * text2.C: don't call inset->update() anymore
2224 * metricsinfo.[Ch]: add convenience constructor
2226 2003-07-16 André Pönitz <poenitz@gmx.net>
2231 * text2.C: replace the LyXCursor::irow_ member with
2232 on-demand computation of the value
2234 2003-07-16 John Levon <levon@movementarian.org>
2236 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2238 2003-07-15 André Pönitz <poenitz@gmx.net>
2241 * text2.C: remove no more needed refresh_row
2243 2003-07-15 André Pönitz <poenitz@gmx.net>
2248 * text3.C: refresh_status tristate -> need_update bool
2250 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2252 * lyxtext.h (init): remove reinit argument (act as if always true)
2253 * text2.C: adjust to that
2255 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2257 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2258 * text3.C: use it to delete selections in some cases
2259 (bugs 441, 673, 702, 954).
2261 2003-07-14 André Pönitz <poenitz@gmx.net>
2263 * rowpainter.[Ch]: reduce interface
2265 2003-07-14 André Pönitz <poenitz@gmx.net>
2267 * BufferView_pimpl.C:
2268 * text2.C: adjust after removing unused BufferView * argument
2270 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2272 * text2.C (init): fix a crash fired on resize
2274 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2276 * buffer.[Ch]: added new closing signal
2277 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2278 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2279 BufferView::Pimpl via the closing the signal
2281 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2283 * buffer.[Ch]: take out all bv-related from buffer
2285 * BufferView_pimpl.[Ch]: connect to new signals
2286 * CutAndPaste.C: removed useless asserts
2287 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2290 * lyxfunc.C: moved view-related funciontality from vc here
2291 * paragraph.C: removed outdated comments
2294 2003-07-10 André Pönitz <poenitz@gmx.net>
2296 * BufferView_pimpl.C:
2300 * text2.C: remove InsetText::InnerCache, clean up consequences
2302 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2304 * ispell.C: fix two typos in error messages
2306 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2308 * Extend Note inset to other forms of annotation like Comment
2309 and Greyedout. Right button click gives dialog.
2311 Files modified or added (+):
2315 * ControlNote.[Ch] +
2317 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2318 frontends/controllers
2322 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2324 * aspell.C: add missing namespace lyx::support
2326 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2328 * BufferView.[Ch] (newFile): Add
2329 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2330 * LaTeX.[Ch] (message): added this signal and use it
2331 * buffer.[Ch] (busy, message): added these signals and use them
2332 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2336 * importer.C: use buffer signals instead of direct bv calling
2337 * lyx_cb.[Ch] (ShowMessage): removed
2340 * paragraph_funcs.C:
2341 * text2.C: use buffer signals
2343 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2345 * introduce namespace lyx::graphics
2347 2003-07-02 André Pönitz <poenitz@gmx.net>
2349 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2351 2003-07-01 André Pönitz <poenitz@gmx.net>
2358 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2359 text*.C to text_func.C
2361 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2363 * introduce namespace lyx::support
2365 2003-06-30 André Pönitz <poenitz@gmx.net>
2370 * text.C: re-enable --with-included-string
2372 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2374 * textcursor.C: add <config.h>
2376 * text.C (getWord): remove const from word_location arg
2378 * lyxvc.C (getLogFile): fix const type order
2380 * lyxtext.h: remove const from word_location arg, add arg name
2382 * lyxlayout.h: currect type on labeltype.
2384 * importer.C: correct \file
2386 * converter.C (intToFormat): use std:: on ret val, ws changes
2388 * bufferlist.h: correct \file
2390 * buffer.C (makeLinuxDocFile): fix const type order
2391 (makeDocBookFile): ditto
2392 (fillWithBibKeys): use std:: on stdlib args.
2394 * CutAndPaste.C: fix authors.
2395 (availableSelections): use std:: on return vector
2397 2003-06-27 André Pönitz <poenitz@gmx.net>
2399 * BufferView_pimpl.C:
2400 * bufferview_funcs.C:
2408 * text3.C: remove LyXCursor::row_ member
2411 * text.C: rename fullRebreak() to partialRebreak() and implement
2412 a fullRebreak() that really bereks fully
2414 * textcursor.h: new struct for cursor-related data
2416 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2418 * lyx_main.C (LyX): get full path of document loaded on the
2421 2003-06-26 André Pönitz <poenitz@gmx.net>
2423 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2424 remove unused/broken operator>,<,>=.
2426 * text.C: remove only use of broken operator<= in an Assert().
2428 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2430 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2431 moved errorlist_.clear to showErrorList
2433 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2435 * converter.C (scanLog, runLaTeX):
2436 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2437 move the bv->showErrorList call to the callers
2438 * lyxfunc.C: i.e. here...
2440 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2441 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2442 namespace, the second to...
2443 * buffer_funcs (BufferFormat, parseErrors): added
2444 * errorlist.C (ErrorList(TeXErrors const &)): removed
2446 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2448 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2450 2003-06-24 "Garst R. Reese" <reese@isn.net>
2454 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2456 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2458 * version.C.in: change docversion to 1.4
2460 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2462 * buffer.C: fix a bug just introduced
2464 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2466 * buffer.[Ch]: added the parseError signal and use it, removed
2468 * BufferView.[Ch] (addError): moved to ...
2469 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2470 to the Buffer::parseError signal to catch (guess what) parse errors
2471 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2473 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2475 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2476 ability to create a buffer and to return an existing one from
2477 the list. Moved these functions to...
2478 * buffer_funcs.[Ch]: added
2479 * BufferView.[Ch] (loadLyXFile): added
2480 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2481 job removed from bufferlist::loadLyXFile.
2482 * buffer.C (setReadOnly): make it work without view
2483 (i.e added an if (users))
2485 2003-06-19 Angus Leeming <leeming@lyx.org>
2488 * LyXAction.C (init):
2489 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2490 with LFUN_DIALOG_SHOW <name> <data>.
2492 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2494 * CutAndPaste.C (availableSelections): small compilation fix for
2495 ancient (gcc 2.9x) compilers
2497 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2499 * text3.C (cursorNext): add tmp var
2501 * text2.C (updateCounters): for function calling out of for clause
2502 (replaceSelectionWithString): ditto
2503 (insertStringAsParagraphs): ditto
2504 (getColumnNearX): add tmp var
2505 (setCursorFromCoordinates): add tmp var
2506 (cursorDownParagraph): add tmp var
2507 (deleteEmptyParagraphMechanism): add tmp var
2509 * text.C (insertChar): add tmp var
2511 * rowpainter.C (paintDepthBar): add tmp var
2513 * CutAndPaste.C (availableSelections): potentially check all
2514 paragraphs in a cut to fill the shown strings.
2516 2003-06-18 André Pönitz <poenitz@gmx.net>
2518 * kbmap.[Ch]: use vector<> instead of list<>
2520 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2522 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2523 pasteSelection with index
2525 * text2.C (pasteSelection): modify, call pasteSelection with index
2527 * paragraph.C (asString): reimplement version with no interval to
2528 call the one with interval.
2530 * lyxtext.h: add index arg to pasteSelection
2532 * MenuBackend.C (MenuItem): handle PasteRecent
2533 (Menu::read::Menutags): add md_pasterecent
2535 (expandPasteRecent): new function
2538 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2540 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2542 (availableSelections): new function
2544 2003-06-17 Angus Leeming <leeming@lyx.org>
2546 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2548 2003-06-17 Angus Leeming <leeming@lyx.org>
2551 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2553 * lyxfunc.C (dispatch): invoke it.
2555 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2557 * iterators.C (operator++, ParPosition): reintroduce some
2558 const_cast for the benefit of older compilers.
2560 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2562 * text3.C (dispatch): do not modify clipboard when doing
2563 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2564 LFUN_DELETE_SKIP on a selection selection
2566 2003-06-16 André Pönitz <poenitz@gmx.net>
2572 * tabular.[Ch]: IU of clone() and getLabelList();
2574 2003-06-13 André Pönitz <poenitz@gmx.net>
2576 * tabular.h: compactification
2578 2003-06-12 André Pönitz <poenitz@gmx.net>
2582 * tabular_funcs.h: some renaming plus whitespace
2584 2003-06-12 André Pönitz <poenitz@gmx.net>
2587 * BufferView_pimpl.C:
2593 * toc.C: Return a Paragraph & for ParIterator::operator*()
2595 2003-06-11 John Levon <levon@movementarian.org>
2599 * ToolbarBackend.C: add "Toolbars" section and
2602 2003-06-10 Angus Leeming <leeming@lyx.org>
2605 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2607 * lyxfunc.C (dispatch): invoke it.
2609 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2611 * main.C: protect <ios> with HAVE_IOS
2612 (main): protect sync_with_stdio with HAVE_IOS
2614 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2616 * text2.C (cutSelection): adjust
2617 (pasteSelection): adjust
2619 * messages.C: handle get of empty string
2621 * main.C (main): use sync_with_stdio(false)
2623 * lyxfunc.C (dispatch): adjust
2625 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2626 (WriteAs): remove unneeded BufferView arg.
2628 * bufferparams.h: use correct types on papersize, papersize2 and
2631 * bufferparams.C (readToken): adjust for type
2632 (writeLaTeX): add missing cases to switch.
2634 * bufferlist.C (quitWriteBuffer): adjust
2637 * buffer.C (asciiParagraph): remove some commented code.
2639 * CutAndPaste.C: remove current_view extern variable.
2640 (cutSelection): add BufferParams arg.
2641 (eraseSelection): add BufferParams arg.
2642 (pasteSelection): add Buffer const & arg
2644 2003-06-07 John Levon <levon@movementarian.org>
2647 * paragraph_funcs.C:
2648 * paragraph_pimpl.C:
2652 * paragraph.C: allow InsetERT to freely space lines,
2653 and some consolidation of code
2655 2003-06-06 José Matos <jamatos@fep.up.pt>
2657 * buffer.C (makeDocBookFile): fix bug #821
2659 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2661 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2663 2003-06-04 Angus Leeming <leeming@lyx.org>
2665 * buffer.C: bump format to 224.
2667 2003-06-05 André Pönitz <poenitz@gmx.net>
2669 * text2.C (redoParagraphs): remove two const_cast<>
2671 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2673 * ParagraphList.h: remove last remnants of NO_STD_LIST
2675 2003-06-03 Angus Leeming <leeming@lyx.org>
2677 * factory.C (createInset): small change to the way InsetExternal's params
2680 2003-06-04 André Pönitz <poenitz@gmx.net>
2682 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2684 * paragraph_pimpl.h:
2685 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2687 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2689 * undo_funcs.C: make some simple cases of undo work again
2691 2003-06-03 John Levon <levon@movementarian.org>
2693 * ispell.C: HPUX doesn't have sys/select.h
2696 2003-06-03 John Levon <levon@movementarian.org>
2698 * CutAndPaste.C: update tabular and include inset
2703 * paragraph.C: remove owningBuffer(), don't pass Buffer
2706 * factory.C: insetGraphicsParams changed
2708 2003-06-02 John Levon <levon@movementarian.org>
2714 * text3.C: remove insetparent
2716 2003-06-02 John Levon <levon@movementarian.org>
2719 * buffer.C: fix inset_iterator.end(), move out of line
2722 2003-06-01 John Levon <levon@movementarian.org>
2724 * text3.C: use a proper cut/paste when doing inset
2725 insert (from Jürgen Spitzmüller)
2727 2003-06-01 John Levon <levon@movementarian.org>
2729 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2731 2003-05-30 André Pönitz <poenitz@gmx.net>
2733 * rowpainter.C: unify second drawing phase
2735 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2737 * trans_mgr.C: remove one case of current_view
2739 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2741 * paragraph_funcs.h: remove paragraph.h include
2743 * paragraph.h: delete NO_STD_LIST stuff
2745 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2747 * buffer.h: remove paragraph.h include
2749 * ParagraphList.C: delete file
2751 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2753 * toc.C (getTocList): adjust
2755 * paragraph_pimpl.C (validate): adjust
2757 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2759 * paragraph.C (Paragraph): adjust
2760 (getPositionOfInset): use const_iterator, adjust
2761 (bibitem): use const_iterator, adjust
2762 (setInsetOwner): adjust
2764 * iterators.C (operator++): adjust
2766 * InsetList.[Ch]: Replace selfmade iterator with standard
2767 vector::iterator also introduce const_iterator. Remove getPos,
2768 getInset and setInset from InsetTable. Adjust accordingly.
2770 * BufferView.C (lockInset): adjust
2771 (ChangeInsets): adjust
2773 * tabular.[Ch]: delete commented same_id functions
2775 2003-05-28 John Levon <levon@movementarian.org>
2777 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2779 2003-05-28 André Pönitz <poenitz@gmx.net>
2781 * metricsinfo.[Ch]: remove 'fullredraw' member
2783 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2785 * lyxtextclass.C (operator): remove caching.
2787 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2791 * text2.C (cursorBottom): adjust
2792 (setCounter): use ParagraphList::find, adjust
2794 * text.C (workWidth): use ParagraphList::find, adjust
2796 * lyxcursor.C (LyXCursor): adjust
2798 * buffer.C (inset_iterator): adjust
2800 * ParagraphList.h: make iterator(value_type) private, make
2801 ParagraphList a friend of iterator.
2803 * ParagraphList.C (find): new function
2805 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2807 2003-05-27 André Pönitz <poenitz@gmx.net>
2809 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2811 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2813 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2815 2003-05-26 John Levon <levon@movementarian.org>
2817 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2819 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2821 * remove same_id from function signatures, adjust.
2823 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2825 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2827 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2829 * paragraph.C (Paragraph): get rid of same_ids parameter
2831 * ParagraphList.C (insert): adjust
2834 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2836 * paragraph_funcs.C (breakParagraph): adjust
2837 (breakParagraphConservative): adjust
2839 * buffer.C (readParagraph): adjust
2841 * ParagraphList.C (insert): take a reference instead of a pointer
2844 * paragraph.[Ch] (id): new function
2846 * bufferlist.C (newFile): adjust
2848 * ParagraphList.C (ParagraphList): adjust
2850 (push_back): take a reference instead of a pointer.
2852 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2854 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2857 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2858 set else use old code.
2860 * ParagraphList.C: remove all NO_NEXT code and only compile this
2861 code of NO_STD_LIST is set.
2863 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2865 * BufferView_pimpl.C:
2875 * graphics/GraphicsConverter.C:
2876 * graphics/PreviewLoader.C: header adjustment
2878 2003-05-23 Angus Leeming <leeming@lyx.org>
2880 * LaTeXFeatures.[Ch] (useBabel): new method.
2881 * bufferparams.C (writeLaTeX): use it.
2883 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2885 * ParagraphList.h (set): remove unused function.
2887 2003-05-23 André Pönitz <poenitz@gmx.net>
2890 * BufferView_pimpl.C:
2894 * undo_funcs.C: setUndo reworked
2896 * iterators.[Ch]: add access to topmost ParagraphList
2898 * lyxtext.[Ch] (workWidth): add a const
2900 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2902 * texrow.[Ch] (increasePos): remove function
2903 * exporter.C (export): removed unused var and outdated comment
2905 2003-05-23 Angus Leeming <leeming@lyx.org>
2907 * latexrunparams.h: rename fragile as moving_arg.
2908 * paragraph.C (simpleTeXOnePar): ditto.
2909 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2911 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2913 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2915 (textUndoOrRedo): comment out a currently unused var.
2917 * paragraph.h (NO_NEXT): enable NO_NEXT
2919 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2921 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2923 * exporter.C (Export): adjust for removeAutoInsets removal.
2925 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2927 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2929 * BufferView.[Ch] (removeAutoInsets): delete function
2931 2003-05-22 Angus Leeming <leeming@lyx.org>
2933 * latexrunparams.h: add a free_spacing variable.
2935 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2936 to pass moving_arg, as the data is stored in runparams.fragile.
2938 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2939 to Inset::latexOptional or to simpleTeXOnePar.
2941 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2942 free_spacing arg to Inset::latexOptional.
2944 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2947 2003-05-22 Angus Leeming <leeming@lyx.org>
2949 * latexrunparams.h: add fragile and use_babel variables.
2951 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2952 * buffer.C (makeLaTeXFile): store this returned value in
2953 runparams.use_babel, thus passing it to the inset::latex methods.
2955 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2956 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2958 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2959 longer has a fragile arg, as it is stored in runparams.fragile.
2961 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2962 moving_arg parameter as the data is stored in runparams.fragile.
2964 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2965 a fragile parameter as the data is stored in runparams.fragile.
2967 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2969 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2971 2003-05-22 Angus Leeming <leeming@lyx.org>
2973 * latexrunparams.h: add a 'bool nice' which defaults to false.
2975 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2976 now encapsulated within runparams.
2978 * bufferlist.C (updateIncludedTeXfiles):
2979 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2981 2003-05-22 Angus Leeming <leeming@lyx.org>
2983 * latexrunparams.h: new file containing struct LatexRunParams.
2984 * Makefile.am: add new file.
2986 * LaTeX.[Ch] (c-tor, run):
2987 * buffer.[Ch] (makeLaTeXFile):
2988 * bufferlist.[Ch] (updateIncludedTeXfiles):
2989 * converter.C (convert, scanLog):
2990 * converter.[Ch] (runLaTeX):
2991 * exporter.C (Export):
2992 * paragraph.[Ch] (simpleTeXOnePar):
2993 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2994 * paragraph_funcs.[Ch] (latexParagraphs):
2995 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2996 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2997 pass around a LatexRunParams parameter.
2999 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3001 * paragraph.[Ch]: remove unused constructor
3003 * ParagraphList.C (erase): new function, taking two iterators
3005 2003-05-22 André Pönitz <poenitz@gmx.net>
3007 * undo_funcs.C: remove duplicated code
3009 * iterator.[Ch]: operator=
3011 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3013 * tabular.C (SetMultiColumn): ws changes
3015 * rowpainter.C (paintFirst): get rid of a ->previous
3017 * lyx_cb.C (getPossibleLabel): parlist simplification
3019 * BufferView.C (ChangeInsets): simplify slightly.
3021 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3023 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3024 * lfuns.h: new LFUN_SPACE
3025 * lyxfunc.C: protected space has a new lfun
3026 * paragraph_funcs.C: read new space insets
3028 * factory.C: handle new space insets
3030 2003-05-22 André Pönitz <poenitz@gmx.net>
3033 * BufferView_pimpl.C:
3036 * undo_funcs.C: return a ParIterator from getParFromID.
3038 * iterators.[Ch]: add two const's
3040 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3042 * toc.C (getTocList): adjust
3044 * iterators.[Ch]: rework for parlist
3046 * buffer.C (par_iterator_begin): adjust
3047 (par_iterator_end): adjust
3049 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3051 * BufferView.C (removeAutoInsets): adjust
3052 (ChangeInsets): adjust
3054 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3056 * text.C (top_y): fix bug 1110
3058 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3060 * errorlist.[Ch]: added
3063 * BufferView_pimpl.C:
3064 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3067 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3069 * Makefile.am: ensure that lyx is relinked upon changes to the
3070 various "convenience" libs.
3072 2003-05-20 Angus Leeming <leeming@lyx.org>
3074 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3075 files are compiled in alphabetical order again.
3077 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3079 2003-05-19 Angus Leeming <leeming@lyx.org>
3081 * gettext.[Ch]: remove "char const * _(char const *)".
3083 2003-05-19 André Pönitz <poenitz@gmx.net>
3085 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3094 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3096 2003-05-19 André Pönitz <poenitz@gmx.net>
3100 * lyxtextclass.[Ch]:
3102 * paragraph_funcs.[Ch]:
3104 * text3.C: more insetenv work
3106 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3108 * ParagraphParameters.C (params2string): small bug fixed
3110 2003-05-16 André Pönitz <poenitz@gmx.net>
3113 * bufferview_funcs.C: patch from Kornel Benko to prevent
3114 crash when _(...) is called twice in a statement
3116 2003-05-16 André Pönitz <poenitz@gmx.net>
3123 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3125 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3127 * lyx_main.C (init): remove spurious static_cast
3129 2003-05-14 André Pönitz <poenitz@gmx.net>
3131 * BufferView.C: fix format string
3133 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3135 * BufferView.[Ch] (insertErrors): removed
3136 * BufferView.[Ch] (showErrorList): added
3137 * buffer.C (runChkTeX):
3138 * converter.C (scanLog): call showErrorList instead of inserterrors
3140 2003-05-13 André Pönitz <poenitz@gmx.net>
3142 * BufferView_pimpl.C:
3144 * bufferview_func.C:
3151 * tabular_funcs.h: tostr() from its own header
3153 * ParagraphParameters.C:
3158 * text3.C: STRCONV()
3160 2003-05-12 André Pönitz <poenitz@gmx.net>
3163 * BufferView_pimpl.C:
3167 * ParagraphParameters.C:
3171 * bufferview_funcs.C:
3184 * paragraph_funcs.C:
3188 * text3.C: boost::format -> bformat all over the place
3191 2003-05-09 André Pönitz <poenitz@gmx.net>
3193 * LColor.[Ch]: Pimpl the #include <map> away
3195 2003-05-09 John Levon <levon@movementarian.org>
3197 * bufferlist.C: never remove emergency saves
3199 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3201 * Makefile.am: better lib building
3203 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3205 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3207 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3208 (simpleTeXSpecialChars): adjust
3209 (simpleTeXSpecialChars): adjust
3210 * paragraph.C (simpleTeXOnePar): adjust
3211 * buffer.C (makeLaTeXFile): adjust
3213 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3215 * text2.C (changeDepth): parlist cleanup
3216 (getColumnNearX): ditto
3218 * rowpainter.C (getLabelFont): parlist cleanup
3220 * bufferlist.C (newFile): parlist cleanup
3222 * CutAndPaste.C (eraseSelection): parlist cleanup
3224 * BufferView_pimpl.C (trackChanges): parlist cleanup
3227 * BufferView.C (lockInset): parlist cleanup.
3228 (ChangeInsets): ditto
3230 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3232 * CutAndPaste.h: Update file header.
3234 * CutAndPaste.C: Update file header.
3235 Store the parts cut out of the Document in a limited_stack.
3236 (copySelection): adjust
3237 (pasteSelection): new function, takes the index in the limited stack.
3238 (nrOfParagraphs): adjust
3239 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3240 simplify error inset insertion.
3241 (checkPastePossible): adjust
3243 2003-05-06 John Levon <levon@movementarian.org>
3245 * text2.C: don't cast wrap inset to float
3247 2003-05-05 André Pönitz <poenitz@gmx.net>
3250 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3252 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3253 few naked Paragraph *.
3255 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3257 * bufferparams.C: Output warning if a document with missing
3258 TeX document class is loaded
3259 * exporter.C: Disable TeX exports if the document class is missing
3262 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3263 isTeXClassAvailable()
3265 2003-05-03 John Levon <levon@movementarian.org>
3268 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3269 explicit cursor show/hide
3271 * BufferView_pimpl.h:
3272 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3273 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3275 * lyxfunc.C: hide cursor before dispatching.
3280 * text3.C: remove explicit cursor hides
3282 2003-05-02 André Pönitz <poenitz@gmx.net>
3284 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3287 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3290 * text2.C: tiny whitespace
3292 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3294 * undo_funcs.C: almost only ws changes.
3296 * ParagraphList.C (splice): just return if pl is empty.
3298 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3300 * ParagraphList.C (splice): new function.
3302 * CutAndPaste.C (pasteSelection): use it
3304 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3306 * CutAndPaste.C (pasteSelection): remove the last next and
3307 previous from this file.
3309 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3311 * CutAndPaste.C (pasteSelection): more clean up, user proper
3312 ParagraphList functions for pasteing.
3314 * ParagraphList.C (insert): new function, three arg insert
3316 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3318 * ParagraphList.C (insert): new function, three arg insert
3320 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3323 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3325 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3327 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3329 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3331 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3333 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3334 (copySelection): clean up a bit.
3335 (pasteSelection): use make_pair
3337 * ParagraphList.C (ParagraphList): implement copy constructor
3338 (operator=): implement, base on copy constructor.
3341 * paragraph.C (erase): return a bool
3343 * paragraph_pimpl.C (erasePos): remove function, move contents...
3344 (erase): ... here. Return a bool.
3345 (erase): call erase instead of erasePos.
3347 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3349 * ParagraphList.h: define PitPosPair
3350 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3351 ParagraphList, fix a bug on pasting multiple pars
3352 * text2.C: change interface to C&P
3354 2003-04-30 André Pönitz <poenitz@gmx.net>
3356 * undo_func.C: revert part of yesterday's patch 2
3358 2003-04-30 John Levon <levon@movementarian.org>
3360 * LColor.C: s/tabular/table/
3362 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3364 * text3.C (dispatch): do not convert iterator -> pointer
3365 * undo_funcs.C (setCursorParUndo): ditto
3366 * text_funcs.C (transposeChars): ditto
3368 * text2.C (setLayout): ws changes only
3370 * text.C (breakParagraph): do not convert iterator -> pointer
3372 (acceptChange): ditto
3373 (rejectChange): ditto
3378 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3381 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3383 * text3.C (gotoInset): YABG (yet another bad getChar)
3385 2003-04-29 André Pönitz <poenitz@gmx.net>
3387 * paragraph.h: make operator= private unimplemented as long as
3390 * ParagraphList.C: whitespace
3393 * paragraph_pimpl.[Ch]:
3394 * paragraph_funcs.C:
3396 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3399 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3401 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3403 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3404 * paragraph.[Ch] (erase):
3405 * paragraph_pimpl.[Ch] (erase): change return type and value
3406 * text2.C (cutSelection): some rework
3408 2003-04-28 John Levon <levon@movementarian.org>
3410 * bufferlist.C: changes for unsaved changes dialog
3412 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3414 * bufferlist.C (newFile): set language (messages_) for new
3417 * buffer.C (readFile): ws changes only.
3419 2003-04-28 André Pönitz <poenitz@gmx.net>
3424 * BufferView_pimpl.C:
3425 * BufferView.C: getParFromID related ParagraphList::iterator changes
3427 2003-04-28 André Pönitz <poenitz@gmx.net>
3429 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3432 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3434 * messages.C: remove one more localedir class variable.
3436 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3438 * messages.C (getLocaleDir): singleton generation function
3440 (Messages): add a default constructor.
3442 * main.C (main): do not setup localedir here, do not call
3445 * gettext.C (_): use it.
3446 (gettext_init): delete funciton
3448 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3450 * gettext.C (getLyXMessages): new singleton generating function.
3452 * buffer.C (updateDocLang): adjust
3454 * Makefile.am (messages.o): add target
3455 (main.o): remove target
3457 2003-04-27 John Levon <levon@movementarian.org>
3462 * lyxvc.C: specify cancel button in Alert::prompt
3464 2003-04-26 John Levon <levon@movementarian.org>
3469 * LyXAction.C: add LFUN_INSET_SETTINGS
3471 * lyxfunc.C: don't enable tabular-feature when there's
3472 just any locking inset
3474 2003-04-26 John Levon <levon@movementarian.org>
3476 * bufferlist.C: re-add Cancel to buffer close question
3478 * lyxfunc.C: fix import UI a bit
3480 2003-04-25 John Levon <levon@movementarian.org>
3482 * gettext.C: remove the broken asserts for now
3484 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3486 * messages.C: make case where setlocale cannot comply work better.
3488 * buffer.C (updateDocLang): new function
3489 (changeLanguage): use it
3492 * text2.C (setCounter): use B_ a bit.
3494 * lyxlayout.C (Read): be sure to trim the label strings.
3496 * messages.C (Messages): fix typo in comment
3498 * buffer.C (readFile): set message_ after file is loaded.
3499 (makeDocBookFile): remove double return
3500 (changeLanguage): reset message_ upon language change.
3501 (B_): new func, use this to get translated buffer strings.
3503 * main.C: add myself and Jean Marc as authors.
3505 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3507 * messages.[hC]: pimplify Messages, and three different pimpls to be
3508 used in different circumstances.
3510 * gettext.[Ch]: change for use with new message code.
3512 2003-04-24 André Pönitz <poenitz@gmx.net>
3514 * factory.C: support for eqref
3516 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3518 * messages.[Ch]: add missing char
3520 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3522 * messages.[Ch]: New files
3524 2003-04-18 John Levon <levon@movementarian.org>
3528 * BufferView_pimpl.C:
3532 * text2.C: remove layout-copy/paste (bug 778)
3534 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3536 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3538 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3540 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3541 if they succeed. Act accordingly.
3543 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3545 * text2.C (setCharFont): adjust
3546 (setCounter): adjust
3547 (insertStringAsLines): adjust
3549 * text.C (leftMargin): adjust
3550 (setHeightOfRow): adjust
3552 * rowpainter.C (paintFirst): adjust
3555 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3557 (isFirstInSequence): ditto
3558 (getEndLabel): ditto
3561 * paragraph.C (getParLanguage): comment out some hard stuff.
3563 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3565 (simpleDocBookOnePar): ditto
3566 (makeDocBookFile): use ParagraphList::iterator
3568 * CutAndPaste.C (pasteSelection): adjust
3570 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3572 * text2.C (getFont): adjust
3573 (getLayoutFont): adjust
3574 (getLabelFont): adjust
3576 * paragraph_funcs.C (TeXOnePar): adjust
3578 * buffer.C (simpleLinuxDocOnePar): adjust
3579 (simpleDocBookOnePar): adjust
3581 * CutAndPaste.C (pasteSelection): adjust
3583 * BufferView.C (getEncoding): adjust
3585 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3587 2003-04-16 John Levon <levon@movementarian.org>
3589 * lyxfind.C: use parlist stuff for search/changes
3591 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3593 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3595 * text2.C (deleteEmptyParagraphMechanism): adjust
3597 * text2.[Ch] (ownerParagraph): delete func (both of them
3599 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3601 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3603 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3605 * ParagraphList.C: prepare for NO_NEXT
3607 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3609 * text2.C (getFont): adjust
3610 (getLayoutFont): adjust
3611 (getLabelFont): adjust
3613 * paragraph.C (getFont): adjust
3614 (getLabelFont): adjust
3615 (getLayoutFont): adjust
3617 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3619 2003-04-15 John Levon <levon@movementarian.org>
3623 * lyx_main.C: handle Include in .ui files
3625 2003-04-15 John Levon <levon@movementarian.org>
3627 * MenuBackend.C: make the doc files length shorter
3630 * ToolbarBackend.C: handle toolbar placement flags,
3633 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3635 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3638 * paragraph_funcs.C (TeXOnePar): adjust
3640 * paragraph.C (getLabelFont): add outerfont arg, adjust
3641 (getLayoutFont): ditto
3642 (simpleTeXOnePar): adjust
3644 * paragraph_pimpl.C (realizeFont): delete func
3646 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3648 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3649 row argument, constify cur argument.
3651 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3653 * text2.C (getFont): adjust
3654 (getLayoutFont): adjust
3655 (getLabelFont): adjust
3657 * paragraph_funcs.C (TeXOnePar): adjust
3658 (outerFont): new func...
3659 (realizeFont): ...moved out from here, changed this to facilitate
3662 * paragraph.C (getFont): take outerfont as arg, adjust
3663 (simpleTeXOnePar): add outerfont arg, adjust
3665 * buffer.C (simpleLinuxDocOnePar): adjust
3666 (simpleDocBookOnePar): adjust
3668 * CutAndPaste.C (pasteSelection): adjust
3670 * BufferView.C (getEncoding): adjust
3672 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3674 * text2.C (setCharFont): adjust
3675 (setCounter): adjust
3677 * text.C (leftMargin): adjust
3678 (setHeightOfRow): adjust
3680 * rowpainter.C (paintFirst): adjust
3683 * paragraph_pimpl.C (realizeFont): adjust
3685 * paragraph.C (isFirstInSequence): move from here...
3686 * paragraph_funcs.C (isFirstInSequence): ...to here
3688 * paragraph.C (outerHook): move from here...
3689 * paragraph_funcs.C (outerHook): ...to here
3691 * paragraph.C (depthHook): move from here...
3692 * paragraph_funcs.C (depthHook): ...to here
3694 * paragraph.C (getEndLabel): move from here...
3695 * paragraph_funcs.C (getEndLabel): ...to here
3697 * text2.C (realizeFont): move from here...
3698 * paragraph_funcs.C (realizeFont): ...to here
3700 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3702 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3704 2003-04-14 Angus Leeming <leeming@lyx.org>
3706 * LColor.[Ch]: scrap LColor mathcursor.
3708 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3710 * lyxlex.[Ch] (text): delete function
3711 * trans.C (Load): adjust
3712 * paragraph_funcs.C (readParToken): adjust
3714 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3716 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3717 vector<char> instead of a char[].
3719 * lyxlex_pimpl.C (getString): adjust
3721 (lex): use getString
3725 * lyxlex.C (text): use pimpl_->getString()
3729 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3731 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3732 (makeFontEntriesLayoutSpecific): temp var for par.size()
3733 (setLayout): temp var for ownerParagraphs().end()
3734 (fullRebreak): temp var for rows().end()
3735 (selectionAsString): temp var for boost::next(startpit), realize
3736 that the while really is a regular for loop.
3737 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3738 setCursor in one place.
3739 (setParagraph): temp vr for ownerParagraphs().end()
3740 (updateCounters): make the while loop a for loop
3741 (cutSelection): temp var for ownerParagraphs().end()
3742 (updateInset): make the do {} while() a regular for loop
3743 (getCursorX): use temp vars
3744 (setCurrentFont): use temp vars
3745 (getColumnNearX): use temp vars
3747 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3749 * text.C (transformChar): use temp var for getChar
3750 (computeBidiTables): use temp var for row->par()
3751 (fill): move temp vars for row->par() and pit->layout() earlier in
3753 (labelFill): use temp var for row->par()
3754 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3755 asc and desc, realize that pit never changes and that firstpit is
3756 just a duplicate and not needed. Exchange rit->par() with pit in a
3758 (breakAgain): use a temp var for boost::next(rit)
3759 (breakAgainOneRow): ditto
3760 (breakParagraph): use a temp var for rows().begin()
3761 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3762 (cursorRightOneWord): use temp var for cursor.par() and
3763 cursor.pos(), remove usage of tmpcursor.
3764 (cursorLeftOneWord): use temp var for cursor.par() and
3765 cursor.pos() only set cur at end of function.
3767 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3769 * text.C, text2.C: exchange all usage of Paragraph::next with
3770 boost::next(ParagraphList::iterator)
3772 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3774 * text2.C (cursorTop): simplify implementation
3775 (cursorBottom): ditto
3776 (setParagraph): use ParagraphList::iterator
3777 (setCurrentFont): adjust
3778 (getColumnNearX): adjust
3779 (cursorRight): adjust
3780 (cursorLeft): remove usage of Paragraph::previous
3781 (cursorUpParagraph): ditto
3782 (deleteEmptyParagraphMechanism): slight cleanup
3784 * text.C (isBoundary): take a Paragraph const & instead of a
3786 (addressBreakPoint): ditto
3787 (leftMargin): remove usage of Paragraph::previous.
3788 (setHeightOfRow): ditto
3789 (cursorLeftOneWord): ditto
3790 (selectNextWordToSpellcheck): ditto
3793 (breakParagraph): remove one usage of Paragraph::next
3794 (redoParagraph): ditto
3795 (acceptChange): ditto
3796 (insertChar): adjust
3797 (rowBreakPoint): adjust
3799 * bufferview_funcs.C (toggleAndShow): adjust
3801 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3803 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3804 methods to access it.
3806 * text.C: Added updateRowPositions to compute all row positions.
3807 Make top_y and getRowNearY() to use the cached y position
3809 2003-04-11 John Levon <levon@movementarian.org>
3811 * text.C (rowBreakPoint): reintroduce the labelEnd
3812 checks, code copied from the row fill stuff. Deep voodoo.
3814 * text.C (fill): add a comment and debugging for the
3817 2003-04-11 John Levon <levon@movementarian.org>
3819 * text.C: make sure fullrow insets get wrapped to the next line,
3820 even when they're in a manual label
3822 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3824 * text2.C (insertParagraph): make it take ParagraphList::iterator
3826 (setLayout): make it return ParagraphList::iterator
3827 (redoParagraphs): ditto
3829 (checkParagraph): ditto
3831 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3833 * text2.C: adjust several funcs.
3834 (realizeFont): take a ParagraphList::iterator as arg.
3835 (getLayoutFont): ditto
3836 (getLabelFont): ditto
3837 (setCharFont): ditto
3839 * text.C: adjust several funcs.
3841 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3843 * text.C (selectNextWordToSpellcheck): don't accidentally
3846 2003-04-10 John Levon <levon@movementarian.org>
3848 * ToolbarBackend.C (getIcon): special handling for
3851 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3853 * text2.C (cursorRight): a getChar assert fixed
3855 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3857 * text2.C (getFont): change to take a ParagraphList::iterator
3858 instead of Paragraph*
3859 Adjust several functions.
3861 * text.C (transformChar): change to take a ParagraphList::iterator
3862 instead of Paragraph*
3863 (singleWidth): ditto
3864 Adjust several functions.
3866 * rowpainter.C: adjust several functions
3867 * rowpainter.h:store a ParagraphList::iterator and not a
3871 2003-04-09 John Levon <levon@movementarian.org>
3876 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3877 and the "help" bits as well
3879 2003-04-09 John Levon <levon@movementarian.org>
3882 * ToolbarBackend.C: allow multiple toolbars
3884 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3886 * undo_funcs.C (setCursorParUndo): adjust
3888 * text_funcs.C (transposeChars): adjust
3890 * text3.C (gotoNextInset): adjust
3893 * text2.C (setLayout): adjust
3894 (changeDepth): adjust
3896 (redoParagraphs): adjust
3897 (selectionAsString): adjust
3898 (setParagraph): adjust
3899 (insertInset): adjust
3900 (cutSelection): adjust
3901 (copySelection): adjust
3902 (pasteSelection): adjust
3903 (insertStringAsLines): adjust
3904 (updateInset): adjust
3905 (setCursor): change to take a ParagraphList::iterator parameter
3906 (setCursorIntern): change to take a ParagraphList::iterator parameter
3907 (setCurrentFont): adjust
3908 (cursorLeft): adjust
3909 (cursorRight): adjust
3910 (deleteEmptyParagraphMechanism): adjust
3912 * text.C (breakParagraph): adjust
3913 (insertChar): adjust
3914 (acceptChange): adjust
3915 (rejectChange): adjust
3916 (selectNextWordToSpellcheck): adjust
3917 (changeCase): adjust
3921 * lyxfind.C (SearchForward): adjust
3922 (SearchBackward): adjust
3923 (nextChange): adjust
3925 * lyxcursor.C (par): adjust
3927 * lyxcursor.h: store a ParagraphList::iterator instead of a
3930 * lyx_cb.C (getPossibleLabel): adjust
3932 * bufferview_funcs.C (toggleAndShow): adjust
3934 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3937 * BufferView.C (removeAutoInsets): adjust
3938 (lockedInsetStoreUndo): adjust
3940 2003-04-09 John Levon <levon@movementarian.org>
3942 * ToolbarBackend.C: try icon without argument
3943 if with argument fails
3945 2003-04-08 John Levon <levon@movementarian.org>
3948 * ToolbarBackend.C: add getIcon(), handle tooltip,
3949 and change from "Icon" to "Item".
3951 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3953 * BufferView.C (lockInset): another bad getchar crunched
3955 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3957 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3960 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3962 * lyxfind.C (searchForward, searchBackwards): bug 782
3964 2003-04-07 John Levon <levon@movementarian.org>
3966 * paragraph.C: remove dead comment
3968 * text.C: remove troublesome depth-fiddling code
3969 in leftMargin() and rightMargin() (bug 1017)
3971 * text.C: fix breaking of rows in nested lists
3974 * text2.C (updateCounters): fix up depth values
3977 2003-04-07 John Levon <levon@movementarian.org>
3979 * BufferView_pimpl.C: clear message when doc finishes resizing,
3980 and after a mouse event
3982 * lyxfunc.C: clear message after exiting inset
3984 2003-04-07 John Levon <levon@movementarian.org>
3986 * bufferview_funcs.C: show math status not outside
3987 status in the statusbar
3989 2003-04-07 John Levon <levon@movementarian.org>
3991 * lyxfunc.C: note status changed after a depth change
3993 2003-04-04 Angus Leeming <leeming@lyx.org>
3995 * LaTeX.h: move AuxInfo operator==, != out of line.
3996 Remove LaTeX virtual destructor; nothing derives from it.
3997 Move operator()() out of public area and rename it startscript().
3998 Change protected for private.
4000 2003-04-04 Angus Leeming <leeming@lyx.org>
4003 * text2.C: remove unneeded #includes.
4005 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4007 * text2.C (dEPM): fix the heigth of the next row
4009 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4011 * text.C: squashed an invalid getChar requester + some ws changes
4013 2003-04-03 John Levon <levon@movementarian.org>
4015 * bufferview_funcs.h:
4016 * bufferview_funcs.C:
4019 * text2.C: make getStatus work for the env depth lfuns
4021 2003-04-03 John Levon <levon@movementarian.org>
4023 * bufferview_funcs.h:
4024 * bufferview_funcs.C:
4027 * text2.C: parlistize decDepth(), by merging it with incDepth()
4029 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4031 * lyxrow.h: store a ParagraphList::iterator instead of a
4032 Paragraph* and adjust other class functions to suit.
4034 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4037 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4039 * text2.C (setCursor): do not anchor to cursor row for the time being
4041 2003-04-02 John Levon <levon@movementarian.org>
4048 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4050 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4052 * paragraph.h: make ParagraphList and ParagraphList::iterator
4053 friends of Paragraph.
4055 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4057 * ParagraphList.C: Use the private next_ and previous_ from
4060 2003-04-01 John Levon <levon@movementarian.org>
4064 * Makefile.am: rename, remove defaults gunk
4067 * MenuBackend.C: remove defaults gunk
4070 * Languages.C: remove defaults gunk
4073 * lyx_main.C: error out if files couldn't be found.
4075 2003-04-02 John Levon <levon@movementarian.org>
4077 * text2.C: make incDepth() use parlist
4079 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4081 * undo_funcs.C (firstUndoParagraph): adjust
4083 * text3.C (gotoInset): adjust
4084 (dispatch): adjust, and rewrite loop.
4086 * text2.C (init): adjust, and rewrite loop.
4087 (redoParagraphs): adjust
4088 (updateInset): adjust, and rewrite loop.
4089 (deleteEmptyParagraphMechanism): adjust
4091 * tabular.C (LyXTabular): adjust
4092 (SetMultiColumn): adjust
4095 * lyxtext.[Ch] (ownerParagraph): delete function
4096 (ownerParagraphs): new function returns a ParagraphList.
4098 * BufferView.C (removeAutoInsets): adjust
4099 (insertErrors): adjust
4100 (setCursorFromRow): adjust
4102 2003-04-01 Angus Leeming <leeming@lyx.org>
4104 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4107 2003-04-02 John Levon <levon@movementarian.org>
4113 * text_funcs.C: make transposeChars a free function
4115 * lyxrow_funcs.C: remove wrong comment
4117 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4120 * rowpainter.C: adjust
4125 * lyxrow_funcs. [Ch]: new files
4127 * lyxrow.[Ch]: remove next and previous pointers
4128 (next,previous): remove accessor functions
4129 (isParEnd): move to lyxrow_funcs
4130 (lastPos): move to lyxrow_funcs
4131 (nextRowIsAllInset): move to lyxrow_funcs
4132 (lastPrintablePos): move to lyxrow_funcs
4133 (numberOfSeparators): move to lyxrow_funcs
4134 (numberOfHfills): move to lyxrow_funcs
4135 (numberOfLabelHfills): move to lyxrow_funcs
4136 (hfillExpansion): move to lyxrow_funcs
4140 * bufferview_funcs.C (toggleAndShow): adjust
4142 * RowList.h: Remove class RowList from file leave just a
4145 * RowList.C: delete file
4147 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4150 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4152 * text3.C (cursorPrevious): adjust
4153 (cursorNext): adjust
4156 * text2.C (redoHeightOfParagraph): adjust
4157 (redoDrawingOfParagraph): adjust
4160 * text.C (breakParagraph): adjust
4161 (insertChar): adjust
4164 * rowpainter.C (RowPainter): adjust
4165 (leftMargin): simplify and adjust
4166 (most rowpainter functions): adjust.
4168 * rowpainter.h: store the row as RowList::iterator not as Row*
4170 * lyxcursor.C (row): taka RowList::iterator as arg
4173 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4176 2003-04-01 Angus Leeming <leeming@lyx.org>
4178 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4179 stuff like bool Bool.
4181 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4183 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4186 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4188 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4191 * lyxtext.h (rows): drop one version and leve a const variant that
4192 returns a RowList::iterator.
4194 2003-03-31 Angus Leeming <leeming@lyx.org>
4196 * text.C (fill): ensure that the signature is the same as that in the
4199 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4201 * text2.C (redoParagraphs): adjust
4202 (updateCounters): adjust
4203 (checkParagraph): adjust
4204 (getColumnNearX): adjust and reformat a bit.
4206 * text.C (top_y): adjust
4208 (leftMargin): adjust
4209 (prepareToPrint): adjust
4211 (getRowNearY): adjust
4213 * lyxtext.h: make rowlist_ mutable.
4215 * RowList.h: add const_iterator
4216 * RowList.C: adjust for RowList::const_iterator.
4218 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4221 2003-03-31 John Levon <levon@movementarian.org>
4224 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4226 * lyx_main.C: set default fonts from using lyx_gui funcs
4228 * exporter.C: pdf_mode moved from lyxrc
4231 * lyxfunc.C: changes from above
4233 2003-03-31 John Levon <levon@movementarian.org>
4235 * lyx_main.C: fix to the last fix
4237 2003-03-31 John Levon <levon@movementarian.org>
4239 * bufferlist.C: "Load original" -> "Load Original"
4245 * format.C: more Alert cleanups
4247 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4249 * text2.C (removeParagraph): make it take a RowList::iterator as
4251 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4252 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4254 * text.C (anchor_row): make it take a RowList::iterator as arg,
4256 (computeBidiTables): make it take a const reference to Row instead
4257 of Row pointer, adjust.
4258 (leftMargin): make it take a RowList::iterator as arg, adjust.
4259 (rowBreakPoint): adjust
4260 (breakAgainOneRow): make it take a RowList::iterator as arg,
4262 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4264 * bufferview_funcs.C (toggleAndShow): adjust
4266 2003-03-30 John Levon <levon@movementarian.org>
4270 * boost-inst.C: moved to support
4272 * several files: changes as a result
4274 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4276 * text2.C (LyXText): adjust.
4278 (removeRow): make it take a RowList::iterator as arg, adjust.
4279 (fullRebreak): adjust
4280 (deleteEmptyParagraphMechanism): adjust
4281 (clearPaint): adjust
4284 * text.C (top_y): adjust
4285 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4286 (breakAgain): make it take a RowList::iterator as arg, adjust.
4287 (breakParagraph): adjust
4288 (insertChar): adjust
4291 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4292 need_break_row, and refresh_row.
4294 * text3.C (dispatch): adjust
4296 * text2.C (checkParagraph): adjust
4298 (setCursorFromCoordinates): adjust
4300 * text.C (top_y): adjust
4302 (getRow): make it return a RowList::iterator, adjust
4303 (getRowNearY): make it return a RowList::iterator, adjust
4305 * text2.C (init): adjust
4306 (insertRow): remove function
4307 (insertParagraph): adjust
4308 (redoParagraphs): adjust
4309 (fullRebreak): adjust
4310 (updateCounters): adjust
4312 * text.C (top_y): rewrite to use RowList iterators.
4314 (setHeightOfRow): rewrite to sue RowList iterators.
4315 (appendParagraph): adjust
4316 (breakAgain): adjust
4317 (breakAgainOneRow): adjust
4318 (breakParagraph): adjust
4320 (getRowNearY): adjust, and remove commented code.
4322 * lyxtext.h (firstRow): delete function
4323 (lastRow): delete function
4324 (rows): new function (const and non-const versions.)
4325 (insertRow): delete function
4327 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4329 2003-03-29 John Levon <levon@movementarian.org>
4331 * BufferView_pimpl.C: always update scrollbar top
4332 because pasting text when we're anchored could mean we
4333 miss an update altogether
4335 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4337 * text2.C (init): use rowlist_.end() and not 0.
4338 (insertRow): change to take a RowList::iterator as arg, adjust
4340 (insertParagraph): change to take a RowList::iterator as arg,
4342 (redoParagraphs): remove some debug msgs.
4344 * text.C (appendParagraph): change to take a RowList::iterator
4345 arg, adjust for this.
4346 (breakAgain): add an assert
4347 (breakAgainOneRow): ditto
4349 2003-03-29 John Levon <levon@movementarian.org>
4351 * text2.C: do not clear selection after inc/decDepth
4354 2003-03-29 John Levon <levon@movementarian.org>
4357 * buffer.C: fix broken strerrors according to Lars
4359 2003-03-29 John Levon <levon@movementarian.org>
4361 * converters.C: more Alert cleanups
4363 2003-03-29 John Levon <levon@movementarian.org>
4365 * bufferview_funcs.C: remove pointless Alert
4367 * buffer.C: fix confusing error message when
4368 a template is chmoded 000
4370 2003-03-29 John Levon <levon@movementarian.org>
4374 * BufferView_pimpl.C: Alert fixes
4378 * tabular-old.C: remove unused table compat reading
4380 2003-03-29 John Levon <levon@movementarian.org>
4385 * lyx_cb.C: more Alert cleanups
4387 * lyxfunc.C: don't allow chktex if not latex document
4389 2003-03-29 John Levon <levon@movementarian.org>
4393 * buffer.C: warnings pushed down from support/,
4396 2003-03-29 John Levon <levon@movementarian.org>
4398 * lyxfunc.C: safety check for C-r (revert)
4400 2003-03-29 John Levon <levon@movementarian.org>
4403 * bufferlist.C: several UI fixes using Alert::prompt.
4404 Fix the pointless looping quit code. Fix stupid revert
4409 * lyx_cb.C: use Alert::prompt
4411 * lyx_main.C: remove a silly question
4413 * lyxfunc.C: remove a couple of silly questions,
4416 2003-03-28 John Levon <levon@movementarian.org>
4418 * text2.C: fix bug 974 (End on empty par)
4420 2003-03-28 John Levon <levon@movementarian.org>
4422 * BufferView_pimpl.C:
4424 * lfuns.h: remove do-nothing math greek lfuns
4426 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4428 * lyxgluelength.h (isValidGlueLength): add default arg on
4429 parameter 2. Remove default arg from friend in class.
4431 * lyxlength.h (isValidLength): add default arg on parameter 2.
4432 Remove default arg from friend in class.
4434 * text2.C (LyXText): adjust, initialize refresh_row.
4438 (insertParagraph): adjst
4439 (redoParagraphs): adjust
4440 (fullRebreak): adjust
4441 (updateCounters): adjust
4442 (deleteEmptyParagraphMechanism): first attempt at fixing a
4445 * text.C (top_y): adjust
4446 (setHeightOfRow): adjust
4448 (getRowNearY): adjust
4450 * lyxtext.h: include RowList.h
4451 (~LyXText): not needed anymore, deleted.
4452 (firstRow): modify for RowList
4453 (lastRow): new function
4454 Delete firstrow and lastrow class variables, add a Rowlist
4455 rowlist_ class variable.
4457 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4460 * RowList.C (insert): fix case where it == begin().
4462 2003-03-26 Angus Leeming <leeming@lyx.org>
4464 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4465 the thesaurus dialog.
4467 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4469 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4471 * RowList.[Ch]: new files
4473 * ParagraphList.C (erase): handle the case where it == begin
4476 2003-03-25 John Levon <levon@movementarian.org>
4480 * aspell.C: add new aspell support
4483 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4486 2003-03-25 Angus Leeming <leeming@lyx.org>
4489 * LyXAction.C (init): new LFUN_INSET_INSERT.
4491 * BufferView_pimpl.C (dispatch): split out part of the
4492 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4494 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4497 2003-03-25 Angus Leeming <leeming@lyx.org>
4499 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4501 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4504 * text3.C: remove useless row->height(0)
4506 2003-03-25 John Levon <levon@movementarian.org>
4510 * text3.C: rename the refreshing stuff to better names
4512 2003-03-24 John Levon <levon@movementarian.org>
4514 * BufferView_pimpl.h:
4515 * BufferView_pimpl.C: update layout choice on a mouse
4518 2003-03-23 John Levon <levon@movementarian.org>
4520 * Makefile.am: fix commandtags.h reference
4522 2003-03-22 John Levon <levon@movementarian.org>
4524 * BufferView_pimpl.C:
4529 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4531 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4534 * text.C: take the rtl methods out of line
4536 2003-03-21 André Pönitz <poenitz@gmx.net>
4538 * metricsinfo.[Ch]: new files containing structures to be passed around
4539 during the two-phase-drawing...
4541 2003-03-21 André Pönitz <poenitz@gmx.net>
4543 * lyxtextclass.C: read 'environment' tag.
4545 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4547 * text2.C (removeRow): fix bug 964
4549 2003-03-20 John Levon <levon@movementarian.org>
4553 * text2.C: paint cleanups. Inset::update() dropped font
4556 2003-03-19 John Levon <levon@movementarian.org>
4558 * lyxfunc.C: only fitcursor/markDirty if available()
4560 2003-03-19 John Levon <levon@movementarian.org>
4562 * commandtags.h: rename to ...
4564 * lfuns.h: ... this, and renumber / cleanup
4566 2003-03-19 John Levon <levon@movementarian.org>
4568 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4569 fit the cursor after an lfun
4573 * BufferView_pimpl.h:
4574 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4576 * LyXAction.C: layout-character should have ReadOnly
4578 * ParagraphParameters.C:
4580 * bufferview_funcs.C:
4587 * undo_funcs.C: changes from above
4589 2003-03-18 John Levon <levon@movementarian.org>
4591 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4592 remove it from update()
4594 * lyxfunc.C: update layout choice after an lfun
4596 * text3.C: remove extra updateLayoutChoice()s
4598 2003-03-18 John Levon <levon@movementarian.org>
4600 * text.C: top_y change means full repaint, fix
4601 a drawing bug with cursor movement
4603 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4607 * text2.C: anchor row on setCursor
4609 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4611 * lyxtext.h: remove almost all mutable keywords
4614 * text3.C: remove const keywords accordingly
4616 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4618 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4620 (TeXEnvironment): ditto
4623 2003-03-17 John Levon <levon@movementarian.org>
4625 * text.C (rowBreakPoint): remove attempt to fix displayed
4626 math insets inside a manual label
4628 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4630 * lyxtext.h: remove BufferView* as first arg from almost all class
4632 * other files: adjust.
4634 2003-03-17 John Levon <levon@movementarian.org>
4638 * text2.C: more paint cleanups
4640 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4643 * rowpainter.C: remove "smart" background painting code
4645 2003-03-16 John Levon <levon@movementarian.org>
4650 * text3.C: add helper functions for setting refresh_row/y
4652 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4654 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4655 newline inset which *can* get inserted in the pass_thru layouts.
4656 This is primarily for literate documents.
4658 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4660 * buffer.C: increment LYX_FORMAT to 223
4662 2003-03-14 André Pönitz <poenitz@gmx.net>
4664 * textclass.h: prepare for environment handling, ws changes
4665 * lyxlayout.C: read latexheader and latexfooter tags
4667 2003-03-14 John Levon <levon@movementarian.org>
4669 * text2.C: rewrite ::status() a bit
4671 2003-03-13 John Levon <levon@movementarian.org>
4673 * lyxtext.h: add some docs
4675 2003-03-13 John Levon <levon@movementarian.org>
4680 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4682 2003-03-13 John Levon <levon@movementarian.org>
4684 * text3.C: fix appendix redrawing
4686 2003-03-13 John Levon <levon@movementarian.org>
4688 * text.C (setHeightOfRow):
4690 * rowpainter.C: make appendix mark have the text
4691 "Appendix" so the user knows what it is
4694 * LColor.C: s/appendixline/appendix/ from above
4696 2003-03-13 John Levon <levon@movementarian.org>
4698 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4700 * text.C: fix a getChar(pos) bug properly
4702 2003-03-13 Angus Leeming <leeming@lyx.org>
4705 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4706 Probably only temporary. Let's see how things pan out.
4708 * BufferView.C (unlockInset):
4709 * BufferView_pimpl.C (fitCursor):
4710 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4712 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4713 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4715 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4716 new functions that convert ParagraphParameters to and from a string.
4718 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4719 BufferView::Pimpl's dispatch.
4720 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4722 2003-03-13 André Pönitz <poenitz@gmx.net>
4726 * factory.C: make it aware of InsetEnv
4728 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4730 * text2.C (setCursor): never ask for one past last
4731 (setCursor): add some debugging messages.
4733 * text.C (singleWidth): never ask for one past last
4734 (singleWidth): ditto
4736 (rightMargin): ditto
4737 (rowBreakPoint): ditto
4738 (setHeightOfRow): ditto
4739 (prepareToPrint): ditto
4741 * rowpainter.C (paintBackground): never ask for one past last
4742 (paintText): never ask for one past last
4744 * paragraph_pimpl.C (getChar): make the assert stricter, never
4745 allow the one past last pos to be taken
4747 * paragraph.C (getChar): ws changes only
4749 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4750 (numberOfSeparators): ditto
4751 (numberOfHfills): ditto
4753 2003-03-12 John Levon <levon@movementarian.org>
4759 * paragraph_funcs.C: fix per-buffer authorlists
4761 2003-03-12 John Levon <levon@movementarian.org>
4763 * text.C: fix newline in right address
4765 2003-03-12 Angus Leeming <leeming@lyx.org>
4767 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4768 duplicate those in LyXFunc::dispatch.
4772 * ToolbarDefaults.C:
4773 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4774 Add LFUN_FONTFREE_UPDATE.
4776 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4777 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4779 * bufferview_func.[Ch]: several new functions to facilliate
4780 transfer of data to and from the character dialog.
4782 2003-03-12 John Levon <levon@movementarian.org>
4787 * paragraph_funcs.C:
4788 * paragraph_pimpl.C:
4792 * text3.C: remove META_NEWLINE in favour of an inset
4795 * rowpainter.C: remove paintNewline (done by inset)
4797 2003-03-12 John Levon <levon@movementarian.org>
4799 * paragraph_pimpl.C: complain about bad getChar()s
4800 for a while at least
4802 2003-03-12 John Levon <levon@movementarian.org>
4805 * buffer.C: move paragraph read into a separate function,
4806 a little renaming to reflect that.
4809 * bufferparams.C: remove the author_ids map, not necessary now
4812 * factory.C: moved Buffer::readInset to here
4814 * paragraph_funcs.h:
4815 * paragraph_funcs.C: readParagraph free function moved from
4818 * tabular.C: name change
4820 2003-03-12 John Levon <levon@movementarian.org>
4823 * ParagraphParameters.C: move par params input to
4826 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4827 behave like a normal read from the stream wrt reading
4828 a line vs. a \\token
4830 2003-03-12 John Levon <levon@movementarian.org>
4833 * ParagraphParameters.h:
4834 * ParagraphParameters.C: move output code to a
4837 2003-03-12 John Levon <levon@movementarian.org>
4839 * BufferView.C (insertLyXFile):
4842 * tabular.C: use a parlist iterator for creating the
4845 2003-03-12 John Levon <levon@movementarian.org>
4847 * buffer.C: make current_change static local not
4850 2003-03-12 John Levon <levon@movementarian.org>
4852 * buffer.C: fix insertStringAsLines for change tracking
4854 2003-03-12 John Levon <levon@movementarian.org>
4861 * bufferparams.C: move author list into params. Rename some
4862 functions. Move the header reading into a separate token
4863 loop. Move the header token reading into BufferParams.
4865 2003-03-12 John Levon <levon@movementarian.org>
4867 * changes.C: put debug inside lyxerr.debugging() checks
4869 2003-03-11 André Pönitz <poenitz@gmx.net>
4871 * factory.C: make it aware of InsetHFill
4873 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4875 * buffer.C (latexParagraphs): move function from here...
4876 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4879 2003-03-10 Angus Leeming <leeming@lyx.org>
4881 * LyXAction.C (init): fix bug in poplating array with multiple entries
4882 with the same LFUN (spotted by JMarc).
4884 2003-03-10 John Levon <levon@movementarian.org>
4887 * text2.C: move getColumnNearX() near its
4890 2003-03-10 John Levon <levon@movementarian.org>
4892 * text.C: fix break before a minipage
4894 2003-03-10 John Levon <levon@movementarian.org>
4896 * text.C: fix the last commit
4898 2003-03-09 John Levon <levon@movementarian.org>
4902 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4903 bug 365 (don't break before insets unless needed). Don't
4904 return a value > last under any circumstances.
4906 2003-03-09 Angus Leeming <leeming@lyx.org>
4908 * BufferView_pimpl.C (trackChanges, dispatch): call
4909 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4911 2003-03-09 Angus Leeming <leeming@lyx.org>
4913 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4914 than Dialogs::showAboutlyx().
4916 2003-03-09 Angus Leeming <leeming@lyx.org>
4918 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4919 than Dialogs::showTabularCreate().
4921 2003-03-09 John Levon <levon@movementarian.org>
4925 * text2.C: 3rd arg to nextBreakPoint was always the same.
4928 2003-03-08 John Levon <levon@movementarian.org>
4935 * text2.C: Remove the "main" bit from the "main body"
4938 2003-03-08 John Levon <levon@movementarian.org>
4940 * text.C (leftMargin): The left margin of an empty
4941 manual label paragraph should not include the label width
4944 * text.C (prepareToPrint): don't attempt to measure hfills
4945 for empty manual label paragraphs - the answer should be 0
4947 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4949 * CutAndPaste.C: remove commented code and reindent.
4951 2003-03-08 John Levon <levon@movementarian.org>
4954 * lyxfunc.C: move reloadBuffer()
4957 * BufferView.C: to here
4959 * lyxvc.C: add comment
4962 * vc-backend.C: call bv->reload() to avoid
4963 getStatus() check on MENURELOAD
4965 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4967 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4968 to an old format .dep file.
4970 2003-03-07 Angus Leeming <leeming@lyx.org>
4972 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4973 when the LFUN_MOUSE_RELEASE should have been handled by
4974 inset->localDispatch.
4976 2003-03-07 Angus Leeming <leeming@lyx.org>
4978 * BufferView_pimpl.C (dispatch):
4979 * LyXAction.C (init):
4980 * ToolbarDefaults.C (init):
4982 * lyxfunc.C (getStatus):
4983 remove LFUN_INSET_GRAPHICS.
4985 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4987 2003-03-07 Angus Leeming <leeming@lyx.org>
4990 * LyXAction.C (init):
4991 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4993 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4996 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4998 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4999 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5001 2003-03-07 Angus Leeming <leeming@lyx.org>
5003 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5006 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5008 * ParagraphList.C (front): new function
5011 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5013 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5014 and top_row_offset_. removed var first_y.
5016 * text2.C (LyXText, removeRow):
5018 * BufferView_pimpl.C:
5019 use these methods instead of using first_y
5021 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5023 * text2.C (pasteSelection): adjust for checkPastePossible
5025 * CutAndPaste.C: remove Paragraph * buf and replace with
5026 ParagraphList paragraphs.
5027 (DeleteBuffer): delete
5028 (cutSelection): change the tc type to textclass_type
5029 (copySelection): change the tc type to textclass_type
5030 (copySelection): adjust for ParagraphList
5031 (pasteSelection): change the tc type to textclass_type
5032 (pasteSelection): adjust for Paragraphlist
5033 (nrOfParagraphs): simplify for ParagraphList
5034 (checkPastePossible): simplify for ParagraphList
5035 (checkPastePossible): remove unused arg
5037 * ParagraphList.C (insert): handle the case where there are no
5040 * CutAndPaste.h: make CutAndPaste a namespace.
5042 * text3.C (dispatch): adjust
5044 * text.C (breakParagraph): add a ParagraphList as arg
5046 * paragraph_funcs.C (breakParagraph): change to take a
5047 BufferParams and a ParagraphList as args.
5048 (breakParagraphConservative): ditto
5049 (mergeParagraph): ditto
5050 (TeXDeeper): add a ParagraphList arg
5051 (TeXEnvironment): ditto
5054 * buffer.C (readLyXformat2): adjust
5055 (insertStringAsLines): adjust
5056 (latexParagraphs): adjust
5058 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5059 (cutSelection): adjust
5060 (pasteSelection): adjust
5062 * BufferView_pimpl.C (insertInset): adjust
5064 2003-03-05 Angus Leeming <leeming@lyx.org>
5067 * LyXAction.C (init):
5068 * BufferView_pimpl.C (dispatch):
5069 * lyxfunc.C (getStatus):
5070 remove LFUN_CHILD_INSERT.
5072 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5074 2003-03-05 Angus Leeming <leeming@lyx.org>
5077 * LyXAction.C (init):
5078 * src/factory.C (createInset):
5079 * lyxfunc.C (getStatus):
5080 * text3.C (dispatch):
5081 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5083 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5085 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5087 * ParagraphList.C (insert): handle insert right before end()
5088 (erase): fix cases where it can be first or last paragraph.
5090 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5092 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5093 Paragraph::next and Paragraph::previous
5096 * text.C (breakParagraph): adjust
5098 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5099 BufferParams& as arg.
5100 (breakParagraph): use ParagraphList::insert
5101 (breakParagraphConservative): take a Buffer* instead of a
5102 BufferParams& as arg.
5103 (breakParagraphConservative): use ParagraphList::insert.
5105 * buffer.C (insertStringAsLines): un-const it
5106 (insertStringAsLines): adjust
5108 * ParagraphList.C (insert): new function
5110 * CutAndPaste.C (pasteSelection): adjust
5112 * text.C (backspace): adjust
5114 * tabular.C (SetMultiColumn): adjust
5116 * CutAndPaste.C (cutSelection): adjust
5117 (pasteSelection): adjust
5119 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5120 Buffer const * as arg
5122 * ParagraphList.C (erase): new function
5123 * paragraph_funcs.C (mergeParagraph): use it
5124 (mergeParagraph): make it take a Buffer* instead of a
5125 BufferParams* as arg
5127 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5129 (breakParagraphConservative): ditto
5131 * paragraph.h: remove the breakParagraph friend
5133 * paragraph.C (eraseIntern): new function
5134 (setChange): new function
5136 * paragraph_funcs.C (mergeParagraph): make it take a
5137 ParagraphList::iterator instead of a Paragraph *, adjust
5140 * paragraph.h: move an #endif so that the change tracking stuff
5141 also works in the NO_NEXT case.
5143 2003-03-04 Angus Leeming <leeming@lyx.org>
5146 * LyXAction.C: new LFUN_INSET_MODIFY.
5148 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5149 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5151 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5153 * several files: ws changes only
5155 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5156 (TeXEnvironment): ditto
5159 * buffer.C (makeLaTeXFile): adjust
5160 (latexParagraphs): make it take ParagraphList::iterator as args
5162 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5164 * buffer.C (latexParagraphs): adjust
5166 * paragraph.C (TeXOnePar): move function...
5167 (optArgInset): move function...
5168 (TeXEnvironment): move function...
5169 * paragraph_pimpl.C (TeXDeeper): move function...
5170 * paragraph_funcs.C: ...here
5172 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5174 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5176 * buffer.C (readInset): remove compability code for old Figure and
5179 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5181 * buffer.C: ws changes
5184 * BufferView_pimpl.C: ditto
5187 * bufferlist.h: ditto
5191 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5193 * converter.[Ch]: split into itself +
5196 * Makefile.am: += graph.[Ch] + format.[Ch]
5203 * lyxrc.C: added #include "format.h"
5205 2003-02-27 Angus Leeming <leeming@lyx.org>
5207 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5210 * factory.C (createInset): add "label" to the factory.
5212 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5213 string and do no more.
5215 2003-02-27 Angus Leeming <leeming@lyx.org>
5218 * LyXAction.C (init):
5219 * factory.C (createInset):
5220 * BufferView_pimpl.C (dispatch):
5221 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5223 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5225 * lyxfunc.C (dispatch):
5226 * text3.C (dispatch): pass name to params2string.
5228 2003-02-26 Angus Leeming <leeming@lyx.org>
5230 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5232 Rearrange the ~includes. Strip out the unnecessary ones.
5234 * factory.C (createInset): reformat.
5235 create new insets for the various LFUN_XYZ_APPLY lfuns.
5237 2003-02-26 John Levon <levon@movementarian.org>
5240 * lyxrow.C: add isParStart,isParEnd helpers
5242 * paragraph.h: make isInserted/DeletedText take refs
5244 * paragraph_funcs.h:
5245 * paragraph_funcs.C: remove #if 0'd code
5250 * text.C: use lyxrow helpers above.
5251 Move draw and paint routines to RowPainter.
5252 Make several methods use refs not pointers.
5253 Make backgroundColor() const.
5254 Add markChangeInDraw(), isInInset().
5255 Merge changeRegionCase into changeCase.
5256 Make workWidth() shouldn't-happen code into an Assert.
5259 * rowpainter.C: new class for painting a row.
5262 * vspace.C: make inPixels take a ref
5264 2003-02-26 Angus Leeming <leeming@lyx.org>
5266 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5269 2003-02-25 John Levon <levon@movementarian.org>
5271 * ispell.C: give the forked command a more accurate name
5273 2003-02-22 John Levon <levon@movementarian.org>
5276 * toc.C: make TocItem store an id not a Paragraph *
5279 2003-02-21 Angus Leeming <leeming@lyx.org>
5281 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5282 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5283 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5284 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5285 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5286 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5288 * BufferView_pimpl.C (dispatch):
5289 * LyXAction.C (init):
5290 * factory.C (createInset):
5291 * lyxfunc.C (getStatus, dispatch):
5292 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5294 2003-02-21 Angus Leeming <leeming@lyx.org>
5296 * BufferView_pimpl.C (MenuInsertLyXFile):
5297 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5298 * lyxfunc.C (menuNew, open, doImport):
5299 no longer pass a LyXView & to fileDlg.
5301 2003-02-21 Angus Leeming <leeming@lyx.org>
5303 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5304 * LyXAction.C: change, BIBKEY to BIBITEM.
5305 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5306 Change InsetBibKey to InsetBibitem.
5307 Change BIBKEY_CODE to BIBITEM_CODE.
5308 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5309 * factory.C: replace insetbib.h with insetbibitem.h.
5310 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5311 * paragraph.C: replace insetbib.h with insetbibitem.h.
5312 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5313 Change bibkey() to bibitem().
5314 * text.C: remove insetbib.h.
5315 * text2.C: replace insetbib.h with insetbibitem.h.
5316 change bibkey() to bibitem().
5317 * text3.C: remove insetbib.h.
5318 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5320 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5322 * lyxrc.C (output): enclose user email in quotes (in case there are
5325 2003-02-18 John Levon <levon@movementarian.org>
5327 * buffer.h: add std::
5329 2003-02-17 John Levon <levon@movementarian.org>
5335 * pspell.C: reworking. Especially in ispell, a large
5336 number of clean ups and bug fixes.
5338 * lyxfunc.C: fix revert to behave sensibly
5340 2003-02-17 André Pönitz <poenitz@gmx.net>
5343 * commandtags.h: new LFUN_INSERT_BIBKEY
5353 * paragraph_func.C: remove special bibkey handling
5355 2003-02-17 John Levon <levon@movementarian.org>
5357 * text.C (Delete): fix case where delete at the end of
5358 the very first paragraph would not merge the pars
5360 2003-02-17 John Levon <levon@movementarian.org>
5362 * lyxrow.C: fix lastPrintablePos()
5364 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5366 * bufferparams.C (writeLaTeX): add a std:here
5368 * buffer.C: and remove a using directive there
5370 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5372 * buffer.C (makeLaTeXFile): move the code that generates the
5375 * bufferparams.C (writeLaTeX): ... in this new method
5377 * LaTeXFeatures.C (getEncodingSet): make const
5378 (getLanguages): make const
5380 * MenuBackend.C (binding): returns the binding associated to this
5382 (add): sets the status of each item by calling getStatus. Adds
5384 (read): add support for OptSubMenu
5385 (expand): remove extra separator at the end of expanded menu
5387 2003-02-15 John Levon <levon@movementarian.org>
5390 * BufferView_pimpl.C:
5392 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5393 inset code that had no actual effect. Remove unneeded status
5396 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5398 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5401 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5403 * text.C (drawLengthMarker): also draw an arrow marker for
5404 symbolic lengths (medskip...)
5406 2003-02-14 John Levon <levon@movementarian.org>
5409 * tabular.C: better method names
5411 2003-02-14 John Levon <levon@movementarian.org>
5413 * BufferView_pimpl.C:
5418 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5419 it's a more accurate name. Remove some pointless uses.
5421 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5423 * text2.C (LyXText): change order of initilizers to shut off
5426 2003-02-14 John Levon <levon@movementarian.org>
5428 * buffer.C: use ParIterator for getParFromID()
5432 * paragraph_pimpl.h:
5433 * paragraph_pimpl.C: remove unused getParFromID()
5435 2003-02-14 John Levon <levon@movementarian.org>
5437 * buffer.C: remove some very old #if 0'd parse code
5439 2003-02-13 John Levon <levon@movementarian.org>
5443 * text2.C: move hfillExpansion(), numberOfSeparators(),
5444 rowLast(), rowLastPrintable(), numberofHfills(),
5445 numberOfLabelHfills() ...
5448 * lyxrow.C: ... to member functions here.
5453 * text.C: remove LyXText::beginningOfMainBody(), and call
5454 p->beginningOfMainBody() directly. Move the check for
5455 LABEL_MANUAL into the latter.
5462 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5468 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5469 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5471 2003-02-13 John Levon <levon@movementarian.org>
5473 * CutAndPaste.C: remove debug
5475 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5477 * paragraph.C (asString): remove two unused variables
5479 * lyxtextclass.C (readTitleType):
5481 (LyXTextClass): handle new members titletype_ and titlename_
5483 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5485 2003-02-09 John Levon <levon@movementarian.org>
5488 * buffer.C: replace hand-coded list with a map for the dep clean
5490 2003-02-08 John Levon <levon@movementarian.org>
5492 * LaTeX.C: consolidate code into showRunMessage() helper
5494 2003-02-08 John Levon <levon@movementarian.org>
5499 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5500 and pass the size in explicitly
5502 * BufferView_pimpl.h:
5503 * BufferView_pimpl.C:
5505 * BufferView.C: add getCurrentChange()
5507 * BufferView_pimpl.h:
5508 * BufferView_pimpl.C: handle change lfuns
5510 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5511 for changes. Mark pasted paragraphs as new.
5513 * support/lyxtime.h:
5514 * support/lyxtime.C:
5515 * DepTable.C: abstract time_t as lyx::time_type
5518 * LColor.C: add colours for new text, deleted text, changebars
5520 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5521 package use "usenames" option.
5525 * LyXAction.C: add change lfuns
5529 * author.C: author handling
5532 * buffer.C: add a per-buffer author list, with first entry as
5533 current author. Handle new .lyx tokens for change tracking. Output
5534 author list to .lyx file. Output dvipost stuff to .tex preamble.
5535 Bump lyx format to 222.
5538 * bufferlist.C: add setCurrentAuthor() to reset current author details
5542 * bufferparams.C: add param for tracking
5544 * bufferview_funcs.C: output change info in minibuffer
5548 * changes.C: add change-tracking structure
5551 * debug.C: add CHANGES debug flag
5554 * lyxfind.C: add code for finding the next change piece
5557 * lyxrc.C: add user_name and user_email
5560 * lyxrow.C: add a metric for the top of the text line
5563 * text.C: implement accept/rejectChange()
5566 * text.C: paint changebars. Paint new/deleted text in the chosen
5567 colours. Strike through deleted text.
5571 * paragraph_pimpl.h:
5572 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5573 in the current change to the insert functions. Rework erase to
5574 mark text as deleted, adding an eraseIntern() and a range-based
5575 erase(). Implement per-paragraph change lookup and
5578 * paragraph_funcs.C: Fixup paste for change tracking.
5580 * tabular.C: mark added row/columns as new.
5582 * text.C: fix rowLast() to never return -1. Don't allow
5583 spellchecking of deleted text. Track transpose changes. Don't
5584 allow paragraph break or merge where appropriate.
5586 * text2.C: leave cursor at end of selection after a cut.
5588 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5590 * text.C (getLengthMarkerHeight):
5591 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5592 visible on screen too.
5594 2003-02-07 John Levon <levon@movementarian.org>
5596 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5598 2003-02-05 Angus Leeming <leeming@lyx.org>
5600 * lyxserver.C (read_ready): revert my patch of 11 September last year
5601 as it sends PC cpu through the roof. Presumably this means that
5602 the lyxserver will no longer run on an Alpha...
5604 2003-01-30 Angus Leeming <leeming@lyx.org>
5606 * factory.C (createInset): create an InsetCommandParam of type "index"
5607 and use it to 'do the right thing'.
5609 * text2.C (getStringToIndex): ensure that cursor position is always
5610 reset to the reset_cursor position.
5612 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5614 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5617 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5621 * lyxfunc.C: Output messages with identical spelling, punctuation,
5624 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5626 * MenuBackend.C (expandFormats): List only viewable export formats
5629 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5632 * lyxfunc.C (getStatus): Make sure that formats other than
5633 "fax" can also be disabled
5635 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5637 * text3.C (dispatch): put the lfuns that insert insets in 3
5638 groups, and call doInsertInset with appropriate arguments.
5639 (doInsertInset): new function, that creates an inset and inserts
5640 it according to some boolean parameters.
5642 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5644 * buffer.C (readFile): remember to pass on 'par' when calling
5645 readFile recursively.
5647 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5649 * MenuBackend.C (expandFormats): add "..." to import formats.
5651 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5653 * paragraph.C (asString): Remove XForms RTL hacks.
5655 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5656 * buffer.C: fix typo
5658 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5660 * Makefile.am (LIBS): delete var
5661 (lyx_LDADD): add @LIBS@ here instead.
5663 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5665 * Clarify the meaning of "wheel mouse jump"
5667 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5669 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5672 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5674 * importer.C (Loaders): do not preallocate 3 elements in the
5675 vector, since one ends up with 6 elements otherwise
5677 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5679 * DepTable.C (write): write the file name as last element of the
5680 .dep file (because it may contain spaces)
5681 (read): read info in the right order
5683 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5685 * paragraph_pimpl.C (simpleTeXBlanks):
5686 (simpleTeXSpecialChars):
5687 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5689 * tabular.C (latex): add some missing case statements. Reindent.
5691 * MenuBackend.C (expandToc): remove unused variable.
5693 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5702 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5705 2003-01-05 John Levon <levon@movementarian.org>
5708 * BufferView.C: add getEncoding()
5711 * kbsequence.C: do not store last keypress
5714 * lyxfunc.C: store last keypress here instead. Pass encoding
5717 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5719 * lyx_main.C (init): remove annoying error message when following
5720 symbolic links (bug #780)
5722 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5724 * text.C (insertChar):
5725 * lyxrc.C (getDescription): remove extra spaces
5727 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5729 * lyxrc.C (getDescription): remove extra spaces
5731 2002-12-20 John Levon <levon@movementarian.org>
5733 * text3.C: hack fix for page up/down across tall rows
5735 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5737 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5740 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5742 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5743 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5744 thesaurus is not compiled in
5746 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5748 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5750 2002-12-16 Angus Leeming <leeming@lyx.org>
5753 * lyx_main.C (init): remove override_x_deadkeys stuff.
5755 2002-12-12 John Levon <levon@movementarian.org>
5757 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5758 insert. Only remove shift modifier under strict
5761 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5763 * MenuBackend.C (expandToc): fix crash.
5765 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5767 * MenuBackend.C (expandToc): gettext on float names.
5769 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5771 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5772 implement bool empty() [bug 490]
5774 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5776 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5778 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5780 * several files: ws changes
5782 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5784 * text2.C (setCounter): clean up a bit, use boost.format.
5785 (updateCounters): initialize par upon declaration.
5787 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5788 if the layout exists. We do not just store the layout any more.
5789 (SwitchLayoutsBetweenClasses): use boost.format
5791 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5793 * converter.C (convert): if from and to files are the same, use a
5794 temporary files as intermediary
5796 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5799 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5801 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5803 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5805 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5807 * tabular.C (asciiPrintCell): use string(size, char) instead of
5810 * sgml.C (openTag): fix order of arguments to string constructor
5813 * lyxfunc.C (dispatch): use boost.format
5815 * lots of files: change "c" -> 'c'
5817 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5819 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5821 2002-11-25 Angus Leeming <leeming@lyx.org>
5823 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5825 * lyx_main.C (init): compile fix.
5827 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5829 * lyx_cb.C (start): boost.formatify
5830 do not include <iostream>
5832 * lengthcommon.C: ws only
5834 * boost-inst.C,BoostFormat.h: add more explict instantations
5836 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5838 * lots of files: handle USE_BOOST_FORMAT
5840 2002-11-21 John Levon <levon@movementarian.org>
5842 * pspell.C: fix compile
5844 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5846 * lyxfunc.C (dispatch): use boost::format
5850 * lyxfont.C (stateText): use boost::format
5852 * lyx_main.C (LyX): use boost::format
5854 (queryUserLyXDir): ditto
5857 (typedef boost::function): use the recommened syntax.
5859 * importer.C (Import): use boost::format
5861 * debug.C (showLevel): use boost::format
5863 * converter.C (view): use boost::format
5868 * bufferview_funcs.C (currentState): use boost::format
5870 * bufferlist.C (emergencyWrite): use boost::format
5872 * buffer.C (readLyXformat2): use boost::format
5873 (parseSingleLyXformat2Token): ditto
5875 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5877 * LaTeX.C (run): use boost::format
5879 * Chktex.C (scanLogFile): use boost::format
5881 * BufferView_pimpl.C (savePosition): use boost::format
5882 (restorePosition): ditto
5883 (MenuInsertLyXFile): ditto
5885 * BoostFormat.h: help file for explicit instation.
5887 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5889 * tabular.C (latex): Support for block alignment in fixed width
5892 2002-11-17 John Levon <levon@movementarian.org>
5894 * BufferView_pimpl.C:
5896 * lyxfunc.C: split filedialog into open/save
5898 2002-11-08 Juergen Vigna <jug@sad.it>
5900 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5901 by my last patch (hopefully).
5903 2002-11-08 John Levon <levon@movementarian.org>
5912 * toc.C: ParConstIterator, and use it (from Lars)
5914 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5916 * lyxtextclass.[Ch]: revise and add doxygen comments
5918 2002-11-07 John Levon <levon@movementarian.org>
5920 * text.C: fix progress value for spellchecker
5922 * toc.C: fix navigate menu for insetwrap inside minipage
5924 * paragraph_funcs.C: added FIXME for suspect code
5926 2002-11-07 John Levon <levon@movementarian.org>
5928 * BufferView_pimpl.C: fix redrawing of insets
5931 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5933 * text2.C (updateCounters): fix bug 668
5935 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5937 * text3.C (dispatch): Do not make the buffer dirty when moving the
5940 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5942 * vc-backend.C: STRCONV
5945 * text2.C (setCounter): STRCONV
5947 * paragraph.C (asString): STRCONV
5949 * lyxlength.C (asString): STRCONV
5950 (asLatexString): ditto
5952 * lyxgluelength.C (asString): STRCONV
5953 (asLatexString): ditto
5955 * lyxfunc.C (dispatch): STRCONV
5958 * lyxfont.C (stateText): STRCONV
5960 * importer.C (Import): STRCONV
5962 * counters.C (labelItem): STRCONV
5963 (numberLabel): ditto
5964 (numberLabel): remove unused ostringstream o
5969 * bufferview_funcs.C (currentState): STRCONV
5971 * buffer.C (readFile): STRCONV
5972 (asciiParagraph): ditto
5973 (makeLaTeXFile): ditto
5975 * Spacing.C (writeEnvirBegin): STRCONV
5977 * LaTeXFeatures.C (getLanguages): STRCONV
5978 (getPackages): ditto
5980 (getBabelOptions): ditto
5981 (getTClassPreamble): ditto
5982 (getLyXSGMLEntities): ditto
5983 (getIncludedFiles): ditto
5987 (scanAuxFile): ditto
5990 * LString.h: add the STRCONV macros
5992 * BufferView_pimpl.C (savePosition): STRCONV
5993 (restorePosition): ditto
5994 (MenuInsertLyXFile): ditto
5996 * vc-backend.C (scanMaster): change from submatch[...] to
5999 * funcrequest.C: include config.h
6001 * factory.C: include config.h
6003 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6005 * box.C: include config.h
6007 * LaTeX.C (scanAuxFile): change from submatch[...] to
6011 2002-10-25 Angus Leeming <leeming@lyx.org>
6013 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6015 * ispell.[Ch] (setError): new method.
6016 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6017 Use setError() insetead of goto END.
6019 * lyx_cb.C (AutoSave): move out child process into new class
6022 2002-10-30 John Levon <levon@movementarian.org>
6024 * text3.C: make start appendix undoable
6026 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6028 * lyxlength.C (inPixels): Fix returned value.
6030 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6033 2002-10-24 Angus Leeming <leeming@lyx.org>
6035 * lyxgluelength.h: no need to forward declare BufferParams
6036 or BufferView, so don't.
6038 2002-10-21 John Levon <levon@movementarian.org>
6040 * BufferView.C: menuUndo ->undo, redo
6042 * BufferView.h: document, remove dead, make some methods private
6044 * paragraph_funcs.h:
6045 * paragraph_funcs.C:
6046 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6051 * sgml.C: move sgml open/close tag into sgml.C
6053 * bufferview_funcs.h: unused prototype
6056 * lyxfunc.C: remove unused
6059 * text.C: remove unused
6061 2002-10-21 John Levon <levon@movementarian.org>
6065 * BufferView_pimpl.h:
6066 * BufferView_pimpl.C: fix mouse wheel handling based on
6067 patch from Darren Freeman
6069 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6071 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6073 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6075 * lyxlength.C (inPixels): Fix hanfling of negative length.
6076 Fix LyXLength::MU case.
6078 2002-10-16 John Levon <levon@movementarian.org>
6080 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6082 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6084 * converter.C (view): add support for $$i (file name) and $$p
6085 (file path) for the viewer command. If $$i is not specified, then
6086 it is appended to the command (for compatibility with old syntax)
6088 2002-10-14 Juergen Vigna <jug@sad.it>
6090 * undo_funcs.C (textHandleUndo): alter the order in which the
6091 new undopar is added to the LyXText, as we have to set first
6092 the right prev/next and then add it as otherwise the rebuild of
6093 LyXText is not correct. Also reset the cursor to the right paragraph,
6094 with this IMO we could remove the hack in "redoParagraphs()".
6096 2002-10-09 Angus Leeming <leeming@lyx.org>
6098 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6099 to turn off an optimisation if a new inset is to be inserted.
6101 2002-10-11 André Pönitz <poenitz@gmx.net>
6103 * lyxtext.h: make some functions public to allow access
6104 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6106 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6108 * text3.C (dispatch): when changing layout, avoid an infinite loop
6111 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6113 * lyxrc.C (read): treat a viewer or converter command of "none" as
6116 * MenuBackend.C (expandFormats): for an update, also allow the
6117 formats that are not viewable
6119 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6120 script if it is newer than the lyxrc.defaults in user directory
6122 2002-10-07 André Pönitz <poenitz@gmx.net>
6124 * text.C: Vitaly Lipatov's small i18n fix
6126 2002-09-25 Angus Leeming <leeming@lyx.org>
6128 * ispell.h: doxygen fix.
6130 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6132 * buffer.h (readFile): Add a new argument to the method, to allow
6133 reading of old-format templates.
6135 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6137 * toc.C (getTocList): Get TOC from InsetWrap.
6139 2002-09-16 John Levon <levon@movementarian.org>
6141 * lyxfunc.C: check tabular for cut/copy too
6143 2002-09-12 John Levon <levon@movementarian.org>
6148 * factory.C: add header
6150 * paragraph_funcs.h:
6151 * paragraph_funcs.C: cleanup
6153 2002-09-11 John Levon <levon@movementarian.org>
6155 * PrinterParams.h: odd/even default to true
6157 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6159 * PrinterParams.h: update printer parameters for new xforms dialog
6161 2002-09-11 Angus Leeming <leeming@lyx.org>
6163 * lyxserver.C (read_ready): re-write to make it more transparent
6164 and to make it work in coherent fashion under Tru64 Unix.
6166 2002-09-11 André Pönitz <poenitz@gmx.net>
6170 * text3.C: implement LFUN_WORDSEL
6172 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6174 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6175 make floatlist_ a boost::shared_ptr<FloatList>
6177 * lyxtextclass.C: include FloatList.h
6178 (LyXTextClass): initialize floatlist_
6179 (TextClassTags): add TC_NOFLOAT
6180 (Read): match "nofloat" to TC_NOFLOAT and use it.
6181 (readFloat): modify call to floatlist_
6185 * FloatList.[Ch] (FloatList): remove commented out float
6187 (erase): new function
6189 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6191 * MenuBackend.C (expandToc): fix crash when there is no document
6194 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6196 * many files: Add insetwrap.
6198 2002-09-09 John Levon <levon@movementarian.org>
6200 * text2.C: remove confusing and awkward depth wraparound
6202 2002-09-09 John Levon <levon@movementarian.org>
6204 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6207 * buffer.C: remove getIncludeonlyList()
6210 * lyxfunc.C: remove headers
6212 2002-09-09 Juergen Vigna <jug@sad.it>
6214 * text.C (getColumnNearX): fix form Michael this is most
6215 probably a cut&paste bug.
6217 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6219 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6221 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6222 references, ws changes.
6224 * text2.C (init): update counters after init
6225 (insertParagraph): no need to set counter on idividual paragraphs.
6226 (setCounter): access the counters object in the textclass object
6227 on in the buffer object.
6228 (updateCounters): ditto
6230 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6231 shared_ptr<Counters> to avoid loading counters.h in all
6233 (LyXTextClass): initialize ctrs_
6234 (TextClassTags): add TC_COUNTER, and ...
6235 (Read): use it here.
6236 (CounterTags): new tags
6237 (readCounter): new function
6238 (counters): new funtion
6239 (defaultLayoutName): return a const reference
6241 * counters.C (Counters): remove contructor
6242 (newCounter): remove a couple of unneeded statements.
6243 (newCounter): simplify a bit.
6244 (numberLabel): some small formatting changes.
6246 * buffer.[Ch]: remove all traces of counters, move the Counters
6247 object to the LyXTextClass.
6249 2002-09-06 Alain Castera <castera@in2p3.fr>
6251 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6252 package to set the horizontal alignment on fixed width columns.
6255 * lyx_sty.h: added tabularnewline macro def.
6257 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6259 2002-09-06 John Levon <levon@movementarian.org>
6261 * LyXAction.C: tooltips for sub/superscript
6263 * MenuBackend.C: a bit more verbose
6265 * lyxfunc.C: tiny clean
6267 * undo_funcs.C: document undo_frozen
6269 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6271 * counters.C (Counters): add missing algorithm counter.
6273 * text2.C (setCounter): lookup the counter with layouts latexname
6274 instead of by section number.
6275 (setCounter): use a hackish way to lookup the correct enum
6277 a float name->type change
6278 reset enum couners with counter name directly instead of depth value.
6280 * counters.C (Counters): remove the push_backs, change to use the
6281 float type not the float name.
6282 (labelItem): remove unused string, float name->type change
6284 * counters.h: don't include vector, loose the enums and sects vectors
6286 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6288 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6289 (Read): add float->TC_FLOAT to textclassTags
6290 (Read): and handle it in the switch
6291 (readFloat): new function
6293 * FloatList.C (FloatList): comment out the hardcoded float
6296 * lyxlayout.h: ws change.
6298 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6300 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6302 2002-09-03 Angus Leeming <leeming@lyx.org>
6304 * BufferView_pimpl.h: qualified name is not allowed in member
6305 declaration: WorkArea & Pimpl::workarea() const;
6307 * factory.C: added using std::endl directive.
6309 * text3.C: added using std::find and std::vector directives.
6311 2002-08-29 André Pönitz <poenitz@gmx.net>
6314 * text2.C: remove unused member number_of_rows
6317 * BufferView2.C: remove file, move contents to...
6318 * BufferView.C: ... here
6320 * BufferView_pimpl.C:
6321 * factory.C: move more inset creation to factory
6323 * vspace.C: avoid direct usage of LyXText, ws changes
6326 don't provide direct access to WorkArea, use two simple
6327 acessors haveSelction() and workHeight() instead
6330 2002-08-29 John Levon <levon@movementarian.org>
6332 * BufferView_pimpl.C (dispatch): do not continue when
6335 2002-08-28 André Pönitz <poenitz@gmx.net>
6337 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6340 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6342 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6344 * buffer.C: increment LYX_FORMAT to 221
6346 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6347 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6349 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6351 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6353 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6355 * factory.C (createInset): use LyXTextClass::floats
6357 * MenuBackend.C (expandFloatListInsert):
6358 (expandFloatInsert):
6361 * text2.C (setCounter):
6363 * LaTeXFeatures.C (useFloat):
6364 (getFloatDefinitions):
6366 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6368 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6369 floatlist_, with accessor floats().
6371 * FloatList.h: remove global FloatList
6373 2002-08-26 André Pönitz <poenitz@gmx.net>
6375 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6379 * BufferView_pimpl.C:
6380 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6382 2002-08-25 John Levon <levon@movementarian.org>
6384 * LyXAction.C: fix margin note description
6386 2002-08-24 John Levon <levon@movementarian.org>
6390 * bufferview_funcs.C:
6392 * undo_funcs.C: cleanups
6394 * lyxfunc.C: disable CUT/COPY when no selection
6396 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6398 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6399 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6401 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6402 Add backward compatibility to "mono", "gray" and "no".
6404 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6406 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6407 (and file_format >= 200).
6409 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6411 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6413 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6415 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6417 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6419 * BufferView_pimpl.C:
6426 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6427 inset and code to make it work with the paragraph code. The inset
6428 can be anywhere in the paragraph, but will only do the expected
6429 thing in LaTeX if the layout file contains the parameter line
6431 (or more generally, a nonzero value) for that layout.
6433 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6435 * paragraph.h: remove the declaration of undefined counters class
6438 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6440 * text2.C (setCounter): fixed enumeration mis-count as reported by
6441 Dr. Richard Hawkins.
6443 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6445 * paragraph_funcs.h: remove some unneeded includes
6447 * text.C (backspace): pasteParagraph now in global scipe
6449 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6450 (pasteSelection): ditto
6452 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6453 * paragraph_funcs.C (pasteParagraph): ... here
6455 2002-08-20 André Pönitz <poenitz@gmx.net>
6457 * commandtags.h: new LFUNs for swapping/copying table row/colums
6460 * lyxfunc.C: support for new lfuns
6462 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6465 * buffer.[Ch]: remove NO_COMPABILITY stuff
6467 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6469 * boost.C (throw_exception): new file, with helper function for
6470 boost compiled without exceptions.
6475 * ParameterStruct.h:
6476 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6478 * bufferlist.C (emergencyWriteAll): use boost bind
6480 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6482 * text.C: include paragraph_funcs.h
6483 (breakParagraph): breakParagraph is now in global scope
6485 * paragraph_funcs.[Ch]: new files
6487 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6490 * buffer.C: include paragraph_funcs.h
6491 (insertStringAsLines): breakParagraph is now in global scope
6493 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6496 * CutAndPaste.C: include paragraph_funcs.h
6497 (cutSelection): breakParagraphConservative is now in global scope
6498 (pasteSelection): ditto
6500 * buffer.h: declare oprator== and operator!= for
6501 Buffer::inset_iterator
6503 * bufferlist.C (emergencyWrite): don't use fmt(...)
6505 * text3.C: add using std::endl
6507 * BufferView.C (moveCursorUpdate): remove default arg
6509 2002-08-20 André Pönitz <poenitz@gmx.net>
6511 * buffer.[Ch]: move inline functions to .C
6514 * BufferView_pimpl.C:
6516 * buffer.[Ch]: use improved inset_iterator
6519 * paragraph.[Ch]: write one paragraph at a time
6521 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6523 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6524 style if style is not specified.
6526 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6528 * text2.C (setCounter): when searching for right label for a
6529 caption, make sure to recurse to parent insets (so that a caption
6530 in a minipage in a figure float works) (bug #568)
6532 2002-08-20 André Pönitz <poenitz@gmx.net>
6534 * text3.C: new file for LyXText::dispatch() and helpers
6536 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6538 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6540 2002-08-19 André Pönitz <poenitz@gmx.net>
6543 * text.C: new LyXText::dispatch()
6545 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6547 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6549 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6551 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6554 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6556 * Makefile.am: use $(variables) instead of @substitutions@
6558 2002-08-15 André Pönitz <poenitz@gmx.net>
6561 * BufferView_pimpl.C: streamlining mathed <-> outer world
6565 * LyXAction.C: remove unused LFUN_MATH
6567 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6569 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6571 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6573 * paragraph.C (Paragraph): reformat a bit
6574 (cutIntoMinibuffer): use builtin InsetList function instad of
6578 * buffer.C: include boost/bind.hpp, add using std::for_each
6579 (writeFileAscii): use ParagraphList iterators
6580 (validate): use for_each for validate traversal of paragraphs
6581 (getBibkeyList): use ParagraphList iterators
6582 (resizeInsets): use for_each to resizeInsetsLyXText for all
6584 (getParFromID): use ParagraphList iterators
6586 * BufferView2.C (lockInset): use paragraph list and iterators
6588 2002-08-14 John Levon <levon@movementarian.org>
6590 * lyxserver.C: remove spurious xforms include
6592 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6594 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6596 2002-08-13 André Pönitz <poenitz@gmx.net>
6599 * lyxfunc.C: further cleaning
6601 2002-08-13 André Pönitz <poenitz@gmx.net>
6603 * funcrequest.h: new constructor
6605 * funcrequest.C: move stuff here from .h
6608 * BufferView_pimpl.C:
6611 * lyxfunc.C: subsequent changes
6613 * lyxfunc.h: new view() member function
6615 * lyxfunc.C: subsequent changes
6617 2002-08-13 Angus Leeming <leeming@lyx.org>
6620 * BufferView_pimpl.C:
6628 changes due to the changed LyXView interface that now returns references
6629 to member variables not pointers.
6631 2002-08-13 Angus Leeming <leeming@lyx.org>
6633 * WordLangTuple (word, lang_code): return references to strings,
6638 * lyxtext.h: forward-declare WordLangTuple.
6643 * text.C: #include "WordLangTuple.h".
6646 * text.C: (selectNextWordToSpellcheck): constify return type.
6648 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6654 * paragraph_pimpl.h:
6657 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6659 Made updateCounter always count from start of buffer, and removed
6660 second argument (par).
6661 Reverted floats number display to '#'. Perhaps I'll try again when the
6662 code base is sanitized a bit.
6664 2002-08-12 Angus Leeming <leeming@lyx.org>
6666 * buffer.[Ch] (getLabelList): constify.
6668 2002-08-07 André Pönitz <poenitz@gmx.net>
6670 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6672 * funcrequest.h: extension to keep mouse (x,y) position
6674 2002-08-12 Juergen Vigna <jug@sad.it>
6676 * BufferView2.C (insertErrors): forbid undo when inserting error
6679 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6681 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6683 * ParagraphList.[Ch]: new files
6685 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6687 * BufferView2.C (lockInset): ParagraphList changes
6690 * bufferlist.C: ditto
6694 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6696 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6697 unused class variable counter_,
6699 * paragraph.[Ch] (getFirstCounter): delete unused function
6701 * counters.C: include LAssert.h
6702 (reset): add a new function with no arg, change other version to
6703 not have def. arg and to not allow empty arg.
6705 * text2.C (setCounter): remove empty arg from call to Counters::reset
6707 2002-08-11 John Levon <levon@movementarian.org>
6709 * Makefile.am: add WordLangTuple.h
6711 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6713 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6714 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6716 * insets/insettext.C: InsetList changes
6718 * graphics/GraphicsSupport.C (operator()): InsetList changes
6720 * toc.C (getTocList): InsetList changes
6722 * paragraph_pimpl.[Ch]: InsetList changes
6724 * paragraph.[Ch]: InsetList changes
6726 * buffer.C (inset_iterator): InsetList changes
6727 (setParagraph): ditto
6728 * buffer.h (inset_iterator): ditto
6729 * iterators.C (operator++): ditto
6730 * iterators.h: ditto
6732 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6734 * InsetList.[Ch]: new files, most InsetList handling moved out of
6737 * BufferView2.C (removeAutoInsets): InsetList changes
6739 (ChangeInsets): ditto
6741 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6743 * paragraph_pimpl.h (empty): new function
6745 * paragraph.[Ch] (empty): new function
6747 * other files: use the new Paragraph::empty function
6749 2002-08-09 John Levon <levon@movementarian.org>
6751 * lyxtext.h: remove unused refresh_height
6753 2002-08-09 John Levon <levon@movementarian.org>
6760 * paragraph.C: move sgml char escaping out of paragraph
6763 * paragraph.C: remove id setter
6767 * paragraph_pimpl.C: remove dead tex_code_break_column
6769 * bufferview_funcs.C: small cleanup
6771 * lyxfunc.C: remove dead proto
6773 * lyxtext.h: make some stuff private. Remove some dead stuff.
6775 * lyxgluelength.C: make as[LyX]String() readable
6777 2002-08-08 John Levon <levon@movementarian.org>
6782 * ToolbarDefaults.C:
6785 * toc.C: lyxaction cleanup
6787 2002-08-08 John Levon <levon@movementarian.org>
6789 * BufferView2.C: small cleanup
6792 * lyxfind.C: move unnecessary header into the .C
6794 2002-08-08 John Levon <levon@movementarian.org>
6796 * funcrequest.h: just tedious nonsense
6799 * lyx_main.C: cleanups
6802 * vspace.C: remove dead header lyx_main.h
6804 2002-08-07 Angus Leeming <leeming@lyx.org>
6807 * paragraph_pimpl.h:
6808 Forward declare class Counters in paragraph.h by moving the ctrs member
6809 variable into Paragraph::Pimpl.
6810 (counters): new method, returning a reference to pimpl_->ctrs.
6812 * text2.C: ensuing changes.
6814 2002-08-07 John Levon <levon@movementarian.org>
6816 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6818 * BufferView_pimpl.C: announce X selection on double/triple
6821 * lyx_main.C: use correct bool in batch dispatch
6823 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6825 2002-08-07 André Pönitz <poenitz@gmx.net>
6827 * funcrequest.h: new class to wrap a kb_action and its argument
6830 * BufferView_pimpl[Ch]:
6834 * lyxrc.C: subsequent changes
6837 2002-08-07 John Levon <levon@movementarian.org>
6839 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6840 document options change.
6842 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6847 * makefile.am: move counters functionality over from
6848 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6850 2002-08-06 John Levon <levon@movementarian.org>
6852 * WordLangTuple.h: new file for word + language code tuple
6863 * BufferView2.C: use WordLangTuple
6866 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6868 2002-08-06 John Levon <levon@movementarian.org>
6870 * lyx_main.C: fix cmdline batch handling
6872 2002-08-06 André Pönitz <poenitz@gmx.net>
6874 * lyxrc.C: set default for show_banner to true
6876 2002-08-06 John Levon <levon@movementarian.org>
6878 * pspell.C: fix a crash, and allow new aspell to work
6880 2002-08-06 John Levon <levon@movementarian.org>
6883 * kbmap.C: small cleanup
6886 * vspace.C: add const
6888 2002-08-05 John Levon <levon@movementarian.org>
6890 * LyXAction.C: back to tabular-insert
6892 2002-08-04 John Levon <levon@movementarian.org>
6895 * BufferView.C: cosmetic change
6897 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6907 * BufferView2.C: purge all "Lyx" not "LyX" strings
6910 * lyxcursor.C: attempt to add some documentation
6915 * ToolbarDefaults.C:
6916 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6917 merge with LFUN_TABULAR_INSERT
6924 * pspell.C: split up i/pspell implementations into separate
6925 files, many cleanups
6927 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6929 * text2.C: some cleanup
6931 * lyxfunc.C: don't check for isp_command == "none" any more, it
6932 didn't make any sense
6934 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6939 * makefile.am: move counters functionality over
6940 from text2.C/paragraph.[Ch] to counters.[Ch], and
6942 2002-08-02 John Levon <levon@movementarian.org>
6944 * buffer.C: s/lyxconvert/lyx2lyx/
6946 2002-08-02 Angus Leeming <leeming@lyx.org>
6948 * lyxlex.C: revert John's change as it breaks reading of the user
6951 2002-08-02 Angus Leeming <leeming@lyx.org>
6953 * importer.C (Import):
6954 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6955 changes due to LyXView::view() now returning a boost::shared_ptr.
6957 2002-08-02 John Levon <levon@movementarian.org>
6959 * lyxlex.C: small cleanup
6961 2002-08-02 John Levon <levon@movementarian.org>
6963 * text2.C (status): small cleanup, no logic change
6965 2002-08-01 John Levon <levon@movementarian.org>
6968 * buffer.C (writeFile): don't output alerts, caller
6972 * lyx_cb.C: from above
6974 * lyxfunc.C: allow to open non-existent files
6976 2002-07-31 John Levon <levon@movementarian.org>
6978 * lyxserver.C: don't let incidental errors get
6981 2002-07-30 John Levon <levon@movementarian.org>
6983 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6985 2002-07-30 John Levon <levon@movementarian.org>
6988 * lyxserver.C: remove I/O callback too
6990 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6992 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6995 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6997 * many files: strip,frontStrip -> trim,ltrim,rtrim
6999 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7001 * PrinterParams.h: remove extern containsOnly, and include
7002 support/lstrings.h instead.
7004 * LaTeX.C (scanAuxFile): modify because of strip changes
7006 * buffer.C (makeLaTeXFile): ditto
7007 * bufferparams.C (writeFile): ditt
7008 * lyxfont.C (stateText): ditto
7009 * lyxserver.C (read_ready): ditto
7010 * vc-backend.C (scanMaster): ditto
7012 * BufferView_pimpl.h: ws changes
7014 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7016 2002-07-26 André Pönitz <poenitz@gmx.net>
7018 * kb_sequence.C: remove unnedred usings
7020 2002-07-26 Juergen Vigna <jug@sad.it>
7022 * lyxfind.C (LyXReplace): we have to check better if the returned
7023 text is not of theLockingInset()->getLockingInset().
7025 2002-07-25 Juergen Vigna <jug@sad.it>
7027 * lyxfind.C (LyXReplace): don't replace if we don't get the
7030 * undo_funcs.C (createUndo): remove debugging code.
7032 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7034 * buffer.C (parseSingleLyXformat2Token): Use default placement
7035 when reading old floats.
7037 * FloatList.C (FloatList): Change the default placement of figure
7038 and tables to "tbp".
7040 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7042 * MenuBackend.C: using std::max
7044 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7046 * MenuBackend.C (expandToc):
7047 (expandToc2): code moved from xforms menu frontend. It is now
7048 generic and TOCs are transparent to menu frontends.
7050 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7052 * toc.C (getTocList): protect against buf=0
7054 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7055 Menu as first parameter. Now, this calls itself recursively to
7056 expand a whole tree (this will be useful for TOC handling)
7057 (expandFloatInsert): remove 'wide' version of floats
7059 * MenuBackend.h (submenuname): returns the name of the submenu.
7060 (submenu): returns the submenu itself, provided it has been
7061 created by MenuBackend::expand
7063 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7065 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7066 insets which have noFontChange == true. (bug #172)
7068 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7070 * BufferView_pimpl.C: add connection objects and use them...
7073 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7075 * MenuBackend.C (expandLastfiles):
7078 (expandFloatListInsert):
7079 (expandFloatInsert):
7080 (expand): split expand in parts
7082 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7084 * lyx_gui.C: use lyx_gui::exit()
7086 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7088 * LyXAction.C: show the failing pseudo action
7090 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7092 * buffer.C (readFile): Run the lyxconvert script in order to read
7095 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7099 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7101 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7105 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7107 2002-07-22 Herbert Voss <voss@lyx.org>
7110 * lyxlength.[Ch]: add support for the vertical lengths
7112 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7114 * toc.[Ch]: std:: fixes
7116 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7118 * lyxrc.C: do not include lyx_main.h
7120 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7126 * BufferView2.C: include "lyxlex.h"
7129 * bufferparams.h: do not #include "lyxlex.h"
7131 * lyxtextclasslist.C (Add): remove method
7132 (classlist): renamed to classlist_
7134 * paragraph_pimpl.C:
7138 * bufferview_funcs.C:
7143 * toc.C (getTocList): use BufferParams::getLyXTextClass
7145 * toc.C (getTocList): use InsetFloat::addToToc
7147 * toc.[Ch]: new files, containing helper functions to handle table
7150 * lyxfunc.C (dispatch): no need to remove spaces around command
7152 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7153 first command of the sequence; it is not very clever, but I do not
7154 have a better idea, actually
7156 * LyXAction.C (LookupFunc): make sure to remove space at the
7157 beginning and end of the command
7159 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7161 * MenuBackend.C (getMenubar): new method: return the menubar of
7163 (read): treat differently reading of menu and menubar (in
7164 particular, the menubar has no name now)
7165 (Menu::menubar): remove
7167 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7170 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7172 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7173 a bibitem inset in a RTL paragraph.
7175 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7177 * paragraph_pimpl.C: constify
7179 * BufferView_pimpl.C:
7181 * lyxfunc.C: fix dispatch in a nicer way
7183 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7185 * lyxfunc.C (dispatch):
7186 * BufferView_pimpl.C:
7187 * BufferView_pimpl.h:
7189 * BufferView.h: rename Dispatch() to dispatch()
7191 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7193 * lyxlayout.C (Read): honor DependsOn tag
7195 * lyxlayout.[Ch] (depends_on): new method
7197 * version.C.in: update lyx_docversion
7199 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7201 * paragraph.C (validate): remove from here...
7202 * paragraph_pimpl.C (validate): ... and move here
7203 (isTextAt): make it const
7205 * buffer.C (getLists): ws cleanup
7207 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7209 * language.C (read): Use iso8859-1 encoding in latex_lang
7210 (this prevents LyX from crashing when using iso10646-1 encoding).
7212 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7214 * text2.C (toggleInset): if cursor is inside an inset, close the
7215 inset and leave cursor _after_ it
7217 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7219 * lyxfunc.C: move minibuffer completion handling out of here
7221 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7223 * BufferView_pimpl.C:
7224 * LaTeX.C: fix dispatch calls
7226 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7228 * text.C (drawChars): Fix Arabic text rendering.
7230 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7234 * lyxfunc.C: remove message-push/pop
7238 * lyxfunc.C: rationalise some code by removing verboseDispatch
7239 in favour of a bool argument to dispatch()
7241 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7243 * lyx_main.C (init): make sure to read symlinks as absolute paths
7245 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7248 * lyxfunc.C: no need for commandshortcut to be a member
7250 2002-07-15 André Pönitz <poenitz@gmx.net>
7252 * converter.C: add support for $$s (scripts from lib/scripts dir)
7253 * lyx_main.C: white space
7255 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7259 * lyxrc.C: remove second exit confirmation
7261 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7266 * BufferView_pimpl.h:
7267 * BufferView_pimpl.C:
7268 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7270 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7272 * MenuBackend.C (expand): add numeric shortcuts to document menu
7274 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7276 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7278 * lyxfont.C (setLyXFamily):
7285 * buffer.C (asciiParagraph): use ascii_lowercase
7287 2002-07-15 Mike Fabian <mfabian@suse.de>
7289 * lyxlex_pimpl.C (search_kw):
7290 * lyxlex.C (getLongString):
7291 * converter.h (operator<):
7292 * converter.C (operator<):
7293 * buffer.C (parseSingleLyXformat2Token):
7295 * ToolbarDefaults.C (read):
7296 * MenuBackend.C (checkShortcuts):
7298 * LColor.C (getFromGUIName):
7299 (getFromLyXName): use the compare_ascii_no_case instead of
7300 compare_no_case, because in turkish, 'i' is not the lowercase
7301 version of 'I', and thus turkish locale breaks parsing of tags.
7303 2002-07-16 Angus Leeming <leeming@lyx.org>
7305 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7306 now takes a Buffer const & argument.
7308 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7310 * BufferView.C (resize): check there's a buffer to resize
7312 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7314 * lyxfunc.C: remove dead code
7317 * lyxserver.C: use lyx_guii::set_read_callback
7319 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7321 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7322 an inset in a RTL paragraph.
7324 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7326 * lyxfunc.C: repaint after a font size update
7328 2002-07-15 André Pönitz <poenitz@gmx.net>
7330 * lyxlength.C: inBP should be able to return negative values
7332 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7334 * lyxfunc.C: use lyx_gui::update_fonts()
7336 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7338 * lyxfunc.C: use lyx_gui::update_color()
7340 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7346 * lyxrc.C: remove file->new asks for name option, and let
7347 buffer-new take an argument
7349 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7351 * BufferView_pimpl.C: remove unneeded extra repaint()
7353 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7355 * LyXAction.C: allow command-sequence with NoBuffer
7357 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7359 2002-07-10 Angus Leeming <leeming@lyx.org>
7361 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7363 2002-07-09 Angus Leeming <leeming@lyx.org>
7365 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7367 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7369 * lengthcommon.h: whitespace
7371 * lyxfunc.C: update scrollbar after goto paragraph
7373 * lyxtext.h: factor out page break drawing, and fix it so
7374 page break/added space paints as selected nicely
7376 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7378 * BufferView_pimpl.C: add FIXMEs, clean up a little
7380 2002-07-09 André Pönitz <poenitz@gmx.net>
7382 * lyxfont.[Ch]: support for wasy symbols
7384 2002-07-08 André Pönitz <poenitz@gmx.net>
7386 * BufferView_pimpl.C: apply John's patch for #93.
7388 2002-07-05 Angus Leeming <leeming@lyx.org>
7390 * BufferView_pimpl.C (buffer): generate previews if desired.
7392 * LColor.h: add "preview" to the color enum.
7394 * LColor.C (LColor): add a corresponding entry to the items array.
7396 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7399 2002-07-05 Angus Leeming <leeming@lyx.org>
7401 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7402 The body of the code is now in the method that is passed an ostream &
7403 rather than a file name.
7404 Pass an additional only_preamble parameter, useful for the forthcoming
7407 2002-07-03 André Pönitz <poenitz@gmx.net>
7409 * lyxfunc.C: simplify getStatus() a bit for math stuff
7411 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7413 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7415 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7417 * text.C (changeRegionCase): do not change case of all the
7418 document when region ends at paragraph end (bug #461)
7420 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7422 * paragraph.C (startTeXParParams):
7423 (endTeXParParams): add \protect when necessary
7425 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7427 * BufferView_pimpl.C (workAreaExpose): remove warning
7429 2002-06-27 Angus Leeming <leeming@lyx.org>
7431 * Makefile.am: add lyxlayout_ptr_fwd.h.
7433 2002-06-26 André Pönitz <poenitz@gmx.net>
7435 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7437 2002-06-25 Angus Leeming <leeming@lyx.org>
7439 * lyxfunc.C (dispatch): Comment out the call to
7440 grfx::GCache::changeDisplay. The method no longer exists now that the
7441 pixmap generation part of the graphics loader has been moved into
7444 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7446 * text2.C: layout as layout
7448 * text.C: layout as layout
7450 * tabular.C (OldFormatRead): layout as layout
7452 * paragraph_pimpl.C (TeXDeeper): layout as layout
7453 (realizeFont): layout as layout
7455 * paragraph.C (writeFile): layout as layout
7456 (validate): layout as layout
7457 (getFont): layout as layout
7458 (getLabelFont): layout as layout
7459 (getLayoutFont): layout as layout
7460 (breakParagraph): layout as layout
7461 (stripLeadingSpaces): layout as layout
7462 (getEndLabel): layout as layout
7463 (getMaxDepthAfter): layout as layout
7464 (applyLayout): layout as layout
7465 (TeXOnePar): layout as layout
7466 (simpleTeXOnePar): layout as layout
7467 (TeXEnvironment): layout as layout
7468 (layout): layout as layout
7469 (layout): layout as layout
7471 * lyxtextclass.C (compare_name): new functor to work with
7472 shared_ptr, layout as layout
7473 (Read): layout as layout
7474 (hasLayout): layout as layout
7475 (operator): layout as layout
7476 (delete_layout): layout as layout
7477 (defaultLayout): layout as layout
7479 * lyxlayout_ptr_fwd.h: new file
7481 * lyxlayout.C (Read): layout as layout
7483 * lyx_cb.C (MenuInsertLabel): layout as layout
7485 * bufferlist.C (newFile): layout as layout
7487 * buffer.C (readLyXformat2): layout as layout
7488 (parseSingleLyXformat2Token): layout as layout
7489 (insertStringAsLines): layout as layout
7490 (asciiParagraph): layout as layout
7491 (latexParagraphs): layout as layout
7492 (makeLinuxDocFile): layout as layout
7493 (simpleLinuxDocOnePar): layout as layout
7494 (makeDocBookFile): layout as layout
7495 (simpleDocBookOnePar): layout as layout
7496 (getLists): layout as layout
7498 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7500 * CutAndPaste.C (cutSelection): layout as layout
7501 (pasteSelection): layout as layout
7502 (SwitchLayoutsBetweenClasses): layout as layout
7504 * BufferView_pimpl.C (Dispatch): layout as layout
7505 (smartQuote): layout as layout
7507 * BufferView2.C (unlockInset): layout as layout
7509 2002-06-24 André Pönitz <poenitz@gmx.net>
7511 * lyxfunc.C: fix #487
7513 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7517 * lyxfunc.C: remove display_shortcuts, show_banner
7519 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7521 * Buffer_pimpl.C: oops, update on resize
7523 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7530 * BufferView.C: use repaint()
7532 * BufferView_pimpl.h:
7533 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7534 as it's a clearer description. Remove superfluous
7537 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7539 * text.C: fix bug 488. Not ideal, but getting
7540 getWord() to work properly for the insets that
7541 matter is more difficult ...
7543 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7545 * BufferView_pimpl.C:
7548 * lyxfunc.C: remove the six million index lyxfuncs to just
7549 one, and DTRT (bug 458)
7551 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7555 * BufferView_pimpl.h:
7556 * BufferView_pimpl.C: clean up resize() stuff,
7557 and unnecessary updateScreen()s
7559 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7563 * BufferView_pimpl.h:
7564 * BufferView_pimpl.C:
7567 * minibuffer.C: remove focus management of workarea,
7568 not needed. Use screen's greyOut()
7570 2002-06-17 Herbert Voss <voss@lyx.org>
7572 * converter.C: (convert) do not post a message, when converting
7573 fails, let the calling function decide what to do in this case
7575 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7577 * lyxfunc.C: tidy up a little
7579 2002-06-16 <alstrup@diku.dk>
7581 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7582 Got rid of FORMS_H_LOCATION include. Now we are
7585 2002-06-15 LyX Development team <lyx@rilke>
7587 * buffer.[Ch] (sgmlOpenTag):
7588 (sgmlCloseTag): Added support for avoiding pernicious mixed
7589 content. Return number of lines written.
7592 (makeDocBookFile): Fixed calls to sgml*Tag.
7593 Simple white space clean.
7595 (simpleDocBookOnePar): Simple white space clean.
7597 * tabular.[Ch] (docBook): Renamed to docbook and got another
7598 argument to related with the pernicious mixed content.
7600 (docbookRow): Fixed calls for docbook inset method.
7602 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7604 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7605 so it's X11 independent.
7609 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7611 2002-06-15 Lyx Development team <lyx@electronia>
7613 * intl.h: Renamed getTrans to getTransManager.
7615 2002-06-14 Angus Leeming <leeming@lyx.org>
7617 * Makefile.am: nuke forgotten stl_string_fwd.h.
7619 2002-06-12 Angus Leeming <leeming@lyx.org>
7621 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7623 2002-06-13 Angus Leeming <leeming@lyx.org>
7626 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7628 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7630 * kbmap.C (getiso): add support for cyrillic and greek
7632 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7636 * BufferView_pimpl.h:
7637 * BufferView_pimpl.C: move bogus scrolling logic
7640 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7643 * BufferView_pimpl.C: view->resize() change
7645 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7647 * BufferView_pimpl.C: topCursorVisible
7650 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7654 * lyx_gui.C: move to frontends/
7658 * lyx_main.C: changes from above
7660 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7667 * lyx_main.C: minor tidy
7669 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7671 * BufferView_pimpl.h:
7672 * BufferView_pimpl.C:
7674 * BufferView.C: make painter() const,
7677 * BufferView2.C: use screen() accessor
7680 * lyx_main.C: some minor cleanup
7682 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7684 * BufferView_pimpl.h:
7685 * BufferView_pimpl.C: remove enter/leaveView,
7688 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7693 * BufferView_pimpl.h:
7694 * BufferView_pimpl.C: only construct screen once,
7697 * lyxrc.C: remove pointless comment
7699 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7702 * BufferView.C: remove active() and belowMouse()
7704 * BufferView_pimpl.h:
7705 * BufferView_pimpl.C: use workarea() not workarea_,
7706 and make it use a scoped_ptr instead
7708 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7710 * lyx_gui.C: add debug message on BadWindow
7712 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7714 * sp_spell.C: fdopen is not part of the C++ standard.
7716 * paragraph.C (InsetIterator): use >= instead of ==
7718 2002-06-07 Angus Leeming <leeming@lyx.org>
7720 Fixes needed to compile with Compaq cxx 6.5.
7721 * BufferView_pimpl.C:
7728 * lyxtextclasslist.C:
7733 all c-library variables have been moved into namespace std. Wrap
7734 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7739 Add a using std::abs declaration.
7741 * kbmap.h (modifier_pair):
7742 * paragraph.h (InsetTable, InsetList):
7743 * lyxfont.h (FontBits):
7744 type definition made public.
7746 * bufferlist.C (emergencyWriteAll): the compiler complains that
7747 there is more than one possible lyx::class_fun template to choose from.
7748 I re-named the void specialisation as lyx::void_class_fun.
7750 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7752 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7753 the compiler is is unable to find tostr in write_attribute.
7755 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7757 * buffer.C (sgmlError): hide #warning
7759 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7761 * xtl/*: get rid of xtl, which is not in use anyway
7763 * LyXAction.C (init):
7764 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7765 were unimplemented xtl experimentation
7767 2002-06-04 André Pönitz <poenitz@gmx.net>
7769 * lyxfunc.C: disable array operation on simple formulae
7771 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7773 * converter.C: constify a bit
7775 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7777 * lyx_gui.C: check xforms version correctly
7779 2002-04-30 Herbert Voss <voss@lyx.org>
7781 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7784 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7786 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7787 attempt to register it with a VCS)
7789 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7791 * lyx_main.C (init): honor variables LYX_DIR_13x and
7794 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7798 * lyx_main.C: fix a crash on bad command line,
7799 and give a useful exit status on error
7801 * lyxfunc.C (doImport): allow -i lyx to work
7803 2002-03-30 André Pönitz <poenitz@gmx.net>
7805 * lyxfunc.C: mathed font changes
7807 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7822 * trans_mgr.h: srcdocs, and some minor cleanups
7824 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7826 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7827 call getFont all the time)
7829 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7831 * switch from SigC signals to boost::signals
7833 2002-05-29 André Pönitz <poenitz@gmx.net>
7835 * paragraph_pimpl.C (getChar): don't call size() too often...
7837 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7839 * paragraph_pimpl.C (insertChar): do not try to update tables when
7840 appending (pos == size())
7842 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7843 in order to reduce drastically the number of comparisons needed to
7844 parse a large document
7846 2002-05-29 André Pönitz <poenitz@gmx.net>
7852 * textclasslist.[Ch]:
7853 * sp_ispell.h: whitespace change
7855 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7857 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7858 lyxaction directly now.
7860 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7864 * lyxvc.C: remove unused headers
7866 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7873 * undo_funcs.C: some cleanups. Use shared_ptr
7874 and a template for the undo stacks.
7876 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7878 * BufferView_pimpl.h:
7879 * BufferView_pimpl.C:
7886 * text2.C: use key_state/mouse_state
7888 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7890 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7893 * chset.C: change include order
7894 (loadFile): use boost regex and get rid of LRegex and LSubstring
7896 * Makefile.am (BOOST_LIBS): new variable
7899 * LaTeX.C: change include order.
7900 (scanAuxFile): use boost regex and get rid of LRegex and
7904 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7909 * FontInfo.C: moved to frontends/xforms/
7912 * FontLoader.C: moved into frontends for GUIIzation
7917 * lyxfunc.C: changes from above
7919 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7921 * LColor.C: remove spurious X include
7923 * BufferView_pimpl.C:
7928 * text2.C: move font metrics to frontends/
7930 2002-05-24 Juergen Vigna <jug@sad.it>
7932 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7933 setting the undo_cursor.
7935 * ParagraphParameters.h: include local includes first.
7937 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7939 * BufferView_pimpl.C:
7940 * BufferView_pimpl.h:
7944 * screen.C: move WorkArea into frontends/
7950 * BufferView2.C: move LyXScreen into frontends/
7954 * lyx_gui.C: move lyxlookup into frontends/xforms/
7956 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7959 * BufferView_pimpl.C:
7969 * bufferview_funcs.C:
7982 * vc-backend.C: move LyX/XFormsView into frontends/
7984 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7996 * text2.C: move Painter to frontends/
7998 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8000 * buffer.C: comment out some some code that depend upon lyx_format
8003 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8004 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8006 * buffer.h (NO_COMPABILITY): turn off compability
8008 * ColorHandler.C: include scoped_array.hpp
8010 * font.C: Use more specific smart_ptr header.
8013 * ShareContainer.h: ditto
8017 * BufferView_pimpl.h: ditto
8018 * ColorHandler.h: ditto
8020 * kbmap.C (defkey): change call to shared_ptr::reset
8022 2002-05-21 Juergen Vigna <jug@sad.it>
8024 * buffer.C (insertErtContents): fix to insert ert asis if it is
8025 non empty. Skip it completely if it contains only whitespaces.
8027 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8029 * BufferView_pimpl.C:
8030 * BufferView2.C: clear selection on paste (bug 393)
8032 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8034 * DepTable.C: include ctime
8036 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8038 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8040 2002-05-14 Juergen Vigna <jug@sad.it>
8042 * text.C (breakParagraph): fixed function to honor the keepempty
8043 layout in the right maner and also to permit the right breaking
8044 algorithm on empty or non empyt keepempty paragraphs.
8046 * paragraph.C (breakParagraph): we have to check also if the par
8047 is really empty (!size()) for isempty otherwise we do the wrong
8050 2002-05-10 Juergen Vigna <jug@sad.it>
8052 * buffer.[Ch] : The following are only changes to the ert
8053 compatibility read reading old LaTeX layout and font stuff and
8054 convert it to ERTInsets.
8056 * buffer.h: added isErtInset().
8058 * buffer.C (struct ErtComp): add a fromlayout bool to check
8059 if we're inside a LaTeX layout.
8060 (isErtInset): new helper function.
8061 (insertErtContents): look for other ert insets before this one
8062 and insert the contents there, so that we don't have subsequent
8063 ERT insets with nothing between them. This way we create only one
8064 inset with multiple paragraphs. Also check if we don't insert only
8065 spaces ' ' as they are ignored anyway afterwards in the .tex file
8066 so if we have only spaces we will ignore this latex part in the
8068 (parseSingleLyXformat2Token \\layout): better compatibility when
8069 reading layout-latex stuff.
8070 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8072 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8073 stuff after reading the inset only get the information back from
8076 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8078 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8080 * LaTeXFeatures.C (getBabelOptions): New method.
8082 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8084 * BufferView_pimpl.C (Dispatch): work around missing argument for
8087 2002-05-08 Juergen Vigna <jug@sad.it>
8089 * text.C (leftMargin): handle paragraph leftindent.
8091 * paragraph.C (writeFile): write the new \\leftindent tag.
8092 (validate): handle leftindent code.
8093 (TeXEnvironment): handle paragraphleftindent code again.
8095 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8097 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8098 for paragrap_extra indent code and new token \\leftindent.
8099 (latexParagraphs): handle the leftindent as environment.
8101 * ParameterStruct.h: added leftindent support.
8103 * ParagraphParameters.C (leftIndent): added support functions for
8104 the paragraph left indent.
8106 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8109 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8111 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8114 * text.C (computeBidiTables): No bidi in insetERT.
8116 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8119 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8121 * version.C.in: pre 5
8123 2002-05-02 José Matos <jamatos@fep.up.pt>
8124 * buffer.C (makeDocBookFile): white space changes, add newline to
8126 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8128 * tabular.C (docBook): fix typo.
8130 2002-05-03 Juergen Vigna <jug@sad.it>
8132 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8133 change in LyXText as we can not be sure it was not freed.
8134 (drawOneRow): remove unused code.
8136 * text.C (drawInset): redo the calculation of the need_break_row as
8137 it could have a row which was already freed.
8138 (draw): look at the return value of drawInset and return false if
8139 it also returned false.
8140 (paintRowText): look at the return value of draw and return false if
8141 it also returned false.
8143 * lyxtext.h: added bool return type to drawInset() and draw() so that
8144 if we have a change in the row so that the rowbreak has to be redone
8145 we abort drawing as it will be called again.
8147 2002-05-02 Juergen Vigna <jug@sad.it>
8149 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8150 a change in the maintext also if we're inside an inset.
8151 (Dispatch): set the cursor again after a break line and after the
8152 screen has been updated as it could be we're in a different row.
8154 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8155 to set the cursor behind the pargraph with > size().
8156 (setCursor): check also for the same paragraph when checking where
8157 to put the cursor if we have a NFR inset.
8159 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8160 parts of layout read further up as it still was in the wrong
8163 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8165 * screen.C (drawFromTo): change sine fullRebreak always return
8168 * buffer.C (parseSingleLyXformat2Token): reindent some
8170 * BufferView_pimpl.C (update): change since fullRebreak always
8172 (Dispatch): git rid of the last hardcoded "Standard"s.
8174 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8176 * text2.[Ch] (fullRebreak): make it return void now that we always
8179 2002-04-30 Juergen Vigna <jug@sad.it>
8181 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8182 ert compatibility check for "latex" layout.
8184 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8186 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8187 minipages: use col% instead of p%, and also use the current font.
8188 (makeLaTeXFile): Fix use babel condition.
8189 (parseSingleLyXformat2Token): Correct font when reading old floats.
8191 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8193 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8194 inserting list of floats.
8196 2002-04-25 Herbert Voss <voss@lyx.org>
8198 * MenuBackend.C (expand): don't add the graphics extensions to the
8201 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8203 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8204 non-existing layout, do not complain if it was the default layout
8205 of the original class (bug #342)
8207 2002-04-24 Juergen Vigna <jug@sad.it>
8209 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8210 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8212 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8214 * buffer.C (getBibkeyList): If using \bibliography, return the
8215 option field with the reference itself. Enables us to provide natbib
8216 support when using \bibliography.
8218 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8220 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8222 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8223 natbib is provided by the LaTeX class.
8225 2002-04-23 Juergen Vigna <jug@sad.it>
8227 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8230 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8232 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8234 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8236 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8237 ensuremath around textordmasculine, textordfeminine and
8240 2002-04-19 Juergen Vigna <jug@sad.it>
8242 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8243 reinitializing the buffer otherwise row-dimensions may be wrong.
8244 (update): reset also the selection cursors if they do exits otherwise
8245 their x/y positions may be wrong.
8247 * text2.C (cursorDown): don't enter the inset if we came from a row
8248 above and are one row over the inset.
8250 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8251 really leaving an inset.
8253 2002-04-18 Juergen Vigna <jug@sad.it>
8255 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8256 of the selected paragraph does not have the selected layout also if
8259 * text2.C (setLayout): fixed bug which did not change last selected
8262 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8263 changed the read and substituted \\end_float with \\end_inset!
8265 * BufferView_pimpl.C (cursorPrevious):
8266 (cursorNext): fixed to make it work with rows heigher than the work
8267 area without moving the cursor only the draw of the row.
8268 (workAreaMotionNotify): fix jumping over high rows.
8270 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8272 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8275 2002-04-16 Juergen Vigna <jug@sad.it>
8277 * text2.C (setCursor): set also the irow().
8278 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8280 (cursorDown): support for locking an inset if the x_fix value goes
8281 inside it. That way I can transverse insets too with cursor up/down.
8283 * lyxrow.h: added irow helper function same as other (i) functions.
8285 * BufferView_pimpl.C (cursorPrevious):
8286 (cursorNext): fixed for insets!
8288 2002-04-15 Juergen Vigna <jug@sad.it>
8290 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8291 position otherwise it is wrong in some cases.
8293 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8294 inside the inset before the call.
8296 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8298 * buffer.[Ch] (getBibkeyList): make it const.
8300 2002-04-12 Juergen Vigna <jug@sad.it>
8302 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8304 * text2.C (getCursorX): new helper function
8305 (setCursor): compute also ix_
8306 (setCursorFromCoordinates): set also ix.
8308 * lyxcursor.h: added ix_ and helper functions.
8310 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8312 * buffer.C (insertStringAsLines): dont break paragraph if the this
8313 paragraph is inside an inset which does not permit it!
8315 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8316 also with no chars on this paragraph.
8317 (paintRowText): only paint stuff if it's inside the workarea!
8319 * paragraph.C (breakParagraph): honor keepempty flag and break the
8320 paragraph always below not above.
8322 * BufferView2.C (unlockInset): update the paragraph layout on inset
8323 unlock as we changed paragraph in such a case.
8325 * lyxfind.C (LyXFind): clear the former selection if not found!
8327 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8328 again called in insertChar().
8330 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8331 an inset which uses the whole row!
8332 (rightMargin): ditto.
8333 (insertChar): force a rebreak if we inserted an inset!
8335 2002-03-28 Herbert Voss <voss@lyx.org>
8337 * lyxlength.[Ch]: add inBP() to get the right PS-point
8338 units (BigPoint). With inPixels we have rounding errors
8340 2002-04-11 Juergen Vigna <jug@sad.it>
8342 * text2.C (setCursorFromCoordinates): set iy to the right value.
8343 (setCursor): add check if row->previous exists!
8345 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8346 an old float_type as this was the case in the old code!
8348 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8350 * BufferView2.C (showLockedInsetCursor): use iy
8351 (fitLockedInsetCursor): ditto
8353 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8354 locked insets as there we have the right value now.
8356 * lyxcursor.C: added iy_ variable and iy functions to set to the
8357 baseline of cursor-y of the locked inset.
8359 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8360 (setCursor): fixed for insets which need a full row.
8362 * text.C (rowLastPrintable): don't ignore the last space when before
8363 an inset which needs a full row.
8364 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8365 as last character of a row when before a inset which needs a full row.
8367 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8369 * version.C.in: update date
8371 * text2.C (fullRebreak): try to always return true and see what
8374 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8376 * MenuBackend.C (expand): use Floating::listName
8378 * FloatList.C (FloatList): add listName argument to the built-in
8381 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8382 text associated with the float.
8384 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8386 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8388 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8390 * ShareContainer.h: add a couple of missing typenames.
8392 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8394 * lyxrc.C (getDescription): use _() correctly rather than N_().
8396 2002-03-28 Herbert Voss <voss@lyx.org>
8398 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8399 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8401 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8403 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8404 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8406 2002-03-29 Juergen Vigna <jug@sad.it>
8408 * lyxfunc.C (dispatch): add a missing fitCursor call.
8410 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8411 it was scrolled by a cursor move, so return the bool status.
8413 * BufferView.C (fitCursor): return the bool flag also to the outside
8414 world as this is needed.
8416 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8418 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8419 call the edit() as it is not needed (and wrong) IMO.
8420 (workAreaButtonPress): set the screen_first variable before evt.
8421 unlock the inset as this may change screen_first and then we have
8422 a wrong y position for the click!
8424 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8426 * MenuBackend.C (expand): another translation that I missed
8428 2002-03-28 Juergen Vigna <jug@sad.it>
8430 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8432 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8434 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8436 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8438 * MenuBackend.C (expand): fix export/view/update when there is no
8441 2002-03-27 Herbert Voss <voss@lyx.org>
8443 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8446 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8448 * bufferview_funcs.C (currentState): only show paragraph number
8449 for is DEVEL_VERSION is set.
8451 * lyxfunc.C (dispatch): put warning in INFO channel
8453 * MenuBackend.C (expand): translate the name of floats
8455 * FloatList.C (FloatList): mark the float names for translation
8457 * converter.C (convert): use LibScriptSearch
8459 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8461 * MenuBackend.C (defaults): fix default menu (we might as well get
8464 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8466 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8469 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8471 * lyxvc.C: reorder includes.
8473 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8475 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8478 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8480 * CutAndPaste.C: change layouts earlier on paste
8481 to avoid crashing when calling getFont()
8483 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8485 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8488 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8490 * WorkArea.C: remove 'Pending' debug message.
8492 * most files: ws cleanup
8494 * buffer.[Ch]: ws changes
8496 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8498 2002-03-21 Juergen Vigna <jug@sad.it>
8500 * tabular.C (SetMultiColumn): collapse also the contents of the
8501 cells and set the last border right. Added a Buffer const * param.
8503 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8505 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8508 2002-03-19 Juergen Vigna <jug@sad.it>
8510 * text2.C (clearSelection): reset also xsel_cache.
8512 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8513 where it needs to be called (John tells us to do so too :)
8514 (selectionLost): reset sel_cache.
8516 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8518 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8520 * text2.C (setCursorIntern): put debuging code in INSETS channel
8522 2002-03-19 André Pönitz <poenitz@gmx.net>
8524 * lyxfunc.C: tiny whitespace change
8526 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8528 * ToolbarDefaults.C (init):
8529 * LyXAction.C (init):
8531 * BufferView_pimpl.C (Dispatch):
8532 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8534 2002-03-19 Allan Rae <rae@lyx.org>
8536 * exporter.C (Export): removeAutoInsets before doing anything else.
8537 While I've just introduced a dependency on BufferView this really is
8538 the best place to clean the buffer otherwise you need to cleanup in
8539 a dozen places before calling export or cleanup in a dozen functions
8542 * converter.C (runLaTeX):
8543 (scanLog): Better handling of removeAutoInsets and screen updates.
8545 * lyxfunc.C (dispatch): small whitespace changes
8547 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8549 * WorkArea.C (C_WorkAreaEvent): return a value.
8550 (event_cb): return 1 if we handled the event, 0 otherwise.
8552 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8554 2002-03-18 Juergen Vigna <jug@sad.it>
8556 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8557 (GetAdditionalWidth): ditto.
8561 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8562 inset if we're there actually (probably not used right now but this
8563 is the direction to go for unifying code).
8564 (paste): disable code to clear the selection.
8566 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8567 inside an InsetText and move the check further up as it is in the
8570 * text2.C (pasteSelection): set a selection over the pasted text.
8572 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8574 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8575 and libgraphics to build on Cygwin.
8577 2002-03-15 Juergen Vigna <jug@sad.it>
8579 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8580 inserting an Inset into the paragraph. I know this is not the best
8581 fix but we already use current_view in CutAndPaste so we will remove
8582 all of it's using at the same time.
8584 * buffer.C (sgmlError): deactivated function till it is rewritten in
8585 the right mode, now it can create problems.
8587 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8588 before accessing it.
8590 2002-03-14 Juergen Vigna <jug@sad.it>
8592 * undo_funcs.C (textHandleUndo): do the right thing when updating
8593 the inset after the undo/redo.
8595 * text2.C (setCursor): just some testcode for #44 not ready yet.
8597 * undo_funcs.C (textHandleUndo): set the next() and previous()
8598 pointers of the paragraph to 0 before deleting otherwise we have
8599 problems with the Paragraph::[destructor].
8601 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8602 on a paragraph insertion.
8604 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8606 * buffer.C (asciiParagraph): use += operator for char append to
8609 * paragraph.C (getFontSettings): compare >= not just >
8610 (highestFontInRange): ditto
8613 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8615 * paragraph.C: change several algorithm to be more appripriate for
8616 the problem domain. This is lookip in FontList and in the InsetList.
8618 2002-03-13 André Pönitz <poenitz@gmx.net>
8621 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8623 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8628 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8630 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8632 * Painter.C (display): anon helper function, adjust code for this
8634 (pixmap): remove function.
8636 * Painter.h: remove private display variable.
8638 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8640 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8642 * WorkArea.[Ch]: remove figinset_canvas cruft.
8644 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8646 * lyxtextclass.C (operator): add one item cache optimization.
8648 * bufferlist.h: doxy changes
8650 * bufferlist.C: ws changes
8652 * DepTable.[Ch] (ext_exist): place const in the right spot.
8654 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8656 (workAreaExpose): call resizeInsets when the with BufferView changes.
8657 (Dispatch): adjust for protectedBlank removal
8658 (specialChar): call updateInset if the insert went ok.
8660 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8661 specialChar instead.
8663 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8665 * BufferView.h: doxy change
8667 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8669 * lyxtextclass.C (operator[]): remove non-const version
8670 (defaultLayout): remove non-const version
8672 2002-03-12 Juergen Vigna <jug@sad.it>
8674 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8675 did resize the LyXText too.
8677 * buffer.C (readLyXformat2): set layout information on newly allocated
8680 * tabular.C (OldFormatRead): set layout information on the paragraph.
8682 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8684 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8686 2002-03-11 Juergen Vigna <jug@sad.it>
8688 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8690 (resizeCurrentBuffer): force also the insets to resize themselfes.
8691 (moveCursorUpdate): fixed up for InsetText.
8693 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8696 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8697 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8698 value of Dialogs::tooltipsEnabled().
8699 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8701 2002-03-08 Juergen Vigna <jug@sad.it>
8703 * BufferView_pimpl.C (updateInset): update inset inside inset also
8704 if it isn't inside theLockingInset().
8706 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8708 * buffer.C (asciiParagraph): redo some of the word and line length
8710 (getLists): look for Caption instead of caption.
8712 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8714 * buffer.C (Buffer): initialize niceFile to true
8717 (makeDocBookFile): make sure niceFile is true on exit
8719 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8721 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8723 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8725 * LyXSendto.C: remove.
8726 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8727 * lyx_gui.C: remove now-redundant comment.
8728 * ColorHandler.h: remove forward declaration of class WorkArea.
8729 * lyxfunc.C: remove #include "WorkArea.h".
8731 2002-03-07 Juergen Vigna <jug@sad.it>
8733 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8734 got moved away with the DEPM and also set the inset_owner always
8735 right which before could have been omitted.
8737 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8739 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8740 wanted layout is not found.
8742 2002-03-07 Juergen Vigna <jug@sad.it>
8744 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8746 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8748 * paragraph.C (breakParagraph): use default layout not layout of
8750 (Paragraph): clear ParagraphParameters.
8752 2002-03-06 Juergen Vigna <jug@sad.it>
8754 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8755 otherwise it would not be a valid lenght. Fixed a special case in
8756 the minipage compatibility read where we end the document with a
8759 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8760 was set as it could be 0 for InsetTexts first entry.
8762 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8764 * paragraph.C (writeFile): if layout is empty write out
8765 defaultLayoutName().
8767 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8768 file without named layout we set layout to defaultLayoutName().
8770 2002-03-06 Juergen Vigna <jug@sad.it>
8772 * CutAndPaste.C (copySelection): set layout for new paragraph.
8774 * text.C (prepareToPrint): leave ERT inset left aligned
8775 (leftMargin): don't indent paragraphs inside ERT insets
8777 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8779 * paragraph.C (breakParagraph): dont call clear do the work manually
8781 * paragraph.[Ch] (clear): remove function
8783 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8785 * paragraph.C (Paragraph): dont call clear, the work has already
8788 * lyxtextclass.C (operator): assert if n is empty
8790 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8791 work manually instead.
8793 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8795 * BufferView_pimpl.C: protect selectionLost against text == 0
8797 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8799 * text.C (breakParagraph): fix a setting layout to '0' problem.
8801 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8803 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8804 final location of file, for the included files, and graphics.
8806 2002-03-05 Juergen Vigna <jug@sad.it>
8808 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8810 2002-03-04 Juergen Vigna <jug@sad.it>
8812 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8814 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8815 last column of multicolumn cells.
8816 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8818 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8820 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8821 file if it doesn't go to a temporary file.
8823 * buffer.C (sgmlOpenTag):
8824 (sgmlCloseTag): remove extra newline insertion.
8826 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8828 * text.C (getRowNearY): comment out debug msg
8830 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8832 * text2.C: first -> first_y
8834 * text.C (getRowNearY): add some attemts at a possible
8835 optimization, not working.
8837 * tabular.[Ch]: add BufferParams to several function so that newly
8838 created paragraph can be initialized to he default layotu for the
8841 * tabular-old.C (ReadOld): add buf->params to call of Init
8843 * screen.C: rename text->first to text->first_y
8845 * paragraph.C (breakParagraph): always set layout in the broken
8848 * lyxtextclass.C (Read): remove lowercase
8851 (delete_layout): ditto
8853 * lyxtext.h: rename first -> first_y
8855 * lyxlayout.C (Read): remove lowercase
8858 (obsoleted_by): ditto
8860 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8862 * buffer.C (insertErtContents): add params are to InsetERT
8863 (parseSingleLyXformat2Token): add code to check if a paragraphs
8864 layout really exist.
8865 (parseSingleLyXformat2Token): add params to several inset
8867 (asciiParagraph): remove lowercase, do the layout comparisons with
8870 * BufferView_pimpl.C (cursorNext): first -> first_y
8871 (resizeCurrentBuffer): first -> first_y
8872 (updateScrollbar): first -> first_y
8873 (scrollCB): first -> first_y
8874 (workAreaMotionNotify): first -> first_y
8875 (workAreaButtonPress): first -> first_y
8876 (checkInsetHit): first -> first_y
8877 (cursorPrevious): first -> first_y
8878 (cursorNext): first -> first_y
8879 (Dispatch): add buffer_->params to severl inset contructors
8881 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8883 * lyxlayout.C (Read): remove some debug info that I forgot.
8885 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8886 clean up the code slightly.
8887 (makeLinuxDocFile): ditto
8888 (makeDocBookFile): ditto
8890 * text2.C: layout as string
8892 * text.C: layout as string
8894 * paragraph_pimpl.C: layout as string
8896 * paragraph.[Ch]: layout as string
8898 * lyxtextclasslist.[Ch]: layout as string
8900 * lyxtextclass.[Ch]: layout as string
8902 * lyxtext.h: layout as string
8904 * lyxlayout.[Ch]: layout as string
8906 * lyx_cb.C: layout as string
8908 * bufferview_funcs.C: layout as string
8910 * bufferparams.C: layout as string
8912 * buffer.C: layout as string
8914 * LyXView.[Ch]: layout as string
8916 * LaTeXFeatures.[Ch]: layout as string
8918 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8920 * BufferView_pimpl.C: change current_layout to string, remove
8925 (workAreaButtonRelease): layout as string
8927 * BufferView2.C (unlockInset): adjust
8929 * vspace.C (asLatexCommand): use an explict temp variable.
8931 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8933 * Makefile.am: use FRONTEND_*
8935 2002-03-01 Juergen Vigna <jug@sad.it>
8937 * tabular.C (SetWidthOfMulticolCell): changed to something better
8938 I hope but still work in progress.
8939 (recalculateMulticolumnsOfColumn): renamed function from
8940 recalculateMulticolCells as it is more appropriate now.
8941 (SetWidthOfCell): calculate multicols better.
8943 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8945 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8947 * lyxfunc.C (processKeySym): print sequence also if it is
8948 `deleted' (complete)
8950 * kbsequence.C (print): print sequence even if it is deleted
8951 (complete would be a better word, actually).
8953 * lyxfunc.C (dispatch): print complete options after a prefix key
8955 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8957 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8959 * text2.C (setCharFont): eliminate setCharFont code duplication.
8961 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8963 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8964 LFUN_TABULAR_FEATURE (bug #177)
8966 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8968 * Makefile.am: remove figure.h
8970 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8972 * Bufferview_pimpl.C:
8984 * text2.C: remove #include "lyx_gui_misc.h".
8986 * LaTeX.C: added #include <cstdio>
8988 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8990 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8991 that the paragraph following this one can have.
8993 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8995 * vspace.C (asLatexCommand): fix bogus gcc warning
8997 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8999 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9001 * text2.C (setLayout): get rid of redundant code
9003 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9005 * text2.C (incDepth): make sure depth cannot be increased beyond
9008 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9010 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9011 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9013 * PainterBase.h (image):
9014 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9017 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9021 * BufferView_pimpl.C:
9022 * BufferView_pimpl.h:
9042 * sp_spell.C: remove fig inset, and the crap house of
9043 cards that follows it
9045 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9051 * nt_defines.h: move .h into support/
9053 * vms_defines.h: remove
9055 * WorkArea.C: add space in debug output
9059 * buffer.C: add WITH_WARNINGS
9063 * bufferlist.C: s/retrive/retrieve/, add docs
9074 * lyxgui.C: add ID to X error handler
9076 * lyxtestclass.c: fix typo
9078 2002-02-26 Juergen Vigna <jug@sad.it>
9080 * tabular_funcs.C (write_attribute): changed so that some default
9081 attributes are not written at all.
9082 (getTokenValue): set default values before trying to read the
9083 value so we have the return value always set as default if we don't
9084 find the token we search for.
9086 * tabular.C (Write): write bools as bools not as strings!
9088 2002-02-22 Juergen Vigna <jug@sad.it>
9090 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9091 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9093 * text.C (leftMargin): don't add an indent for paragraphs inside
9094 tabular cells (fix #208).
9096 2002-02-21 José Matos <jamatos@fep.up.pt>
9098 * tabular.C (docBook): fixed support for long tables.
9100 2002-02-20 Juergen Vigna <jug@sad.it>
9102 * text2.C (getFont): get the drawing font of the Inset if this
9103 paragraph is inside an inset (only important for InsetERT for now).
9105 * buffer.C (insertErtContents): use new lanugage params in ERT
9108 * CutAndPaste.C: commenting out seemingly uneeded code.
9110 2002-02-19 Allan Rae <rae@lyx.org>
9112 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9113 Iterators might be simple to use but they also get invalidated.
9114 (removeAutoInsets): renamed saved cursor tracking variables and added
9115 some comments to clarify what everything does.
9117 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9124 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9125 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9128 * vc-backend.h: remove #include "support/syscall.h"
9132 * converter.C: rearrange #includes in Lars' approved fashion.
9134 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9135 forward declare class Timeout in the header file.
9137 * XFormsView.C: changes due to the above.
9139 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9142 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9143 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9145 2002-02-18 José Matos <jamatos@fep.up.pt>
9147 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9150 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9152 * a lot of small ws changes
9153 * add a lot of using std::XXX
9154 * use std construcs some places where approp.
9155 * use some exisint stuff from lyxfunctional where approp.
9156 * Make file changes to use partial linking (lets test this now...)
9158 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9162 remove #include "support/syscontr.h" as it's redundant. Always has been.
9170 change Systemcalls::System to Systemcalls::Wait and
9171 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9172 No change of functionality, just reflects the stripped down Systemcalls
9175 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9177 * debug.[Ch]: add a GRAPHICS type to the enum.
9179 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9181 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9183 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9186 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9188 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9189 match the changes below.
9191 * text2.C (toggleInset): if there is not editable inset at cursor
9192 position, try to see if cursor is _inside_ a collapsable inset
9195 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9197 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9198 document menu has a nice checkbox
9200 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9202 * lyxlength.C (asLatexString): change PW to output as percent of
9205 * lengthcommon.C: change '%' to 't%'
9207 * lyxfunc.C (dispatch): a few comments from Martin
9209 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9213 * BufferView_pimpl.h:
9214 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9217 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9219 * vspace.C (inPixels): fix compiler warning
9221 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9223 * lyxfunc.C (getStatus): fix status message for disabled commands.
9225 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9227 * BufferView_pimpl.C: fix crash on close buffer
9228 during selection (#227)
9230 2002-01-27 Herbert Voss <voss@lyx.org>
9232 * buffer.C: link old Figure to new graphic inset
9234 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9236 * FontLoader.C (getFontinfo): Change the latex font names in order
9237 to match the names of type1inst.
9239 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9241 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9243 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9246 (remove_files_with_extension): ditto
9247 (remove_file): ditto
9250 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9251 document is smaller than the work area height. Do not initialize
9252 static variables to 0.
9254 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9256 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9258 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9259 LFUN_LAYOUT_PARAGRAPHS.
9261 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9262 tabular. It is possible to provide a possible cell, which will
9263 typically be the actcell from the corresponding insettabular
9265 * lyxfunc.C (getStatus): small cleanup; disable
9266 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9269 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9271 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9273 * paragraph.C (startTeXParParams):
9274 (endTeXParParams): new methods. The LaTeX code to
9275 start/end paragraph formatting
9276 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9277 empty (fixes bug #200)
9279 * vspace.C (inPixels): adapt to the change below
9280 (inPixels): [later] more cleanups (remove unused variables)
9282 * lyxlength.C (inPixels): change to use a width and a height as
9285 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9287 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9288 Replaced with \paperwidth
9290 * DepTable.C (insert): add std:: qualifier
9292 2002-01-18 Allan Rae <rae@lyx.org>
9294 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9297 * text.C (drawInset): Turned out I didn't know enough about how
9298 rebreaking worked. This fixes most of the redraw problems. I see
9299 an occasional cursor trail when a line is broken now and the cursor
9300 placement can seem out by a few pixels also after a rebreak.
9302 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9304 * buffer.C (parseSingleLyXformat2Token): update because minipage
9305 width is now a LyXLength
9307 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9309 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9312 2002-01-17 Juergen Vigna <jug@sad.it>
9314 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9316 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9317 is set correctly and the inset is updated correctly.
9319 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9321 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9322 the beginning of the loop.
9324 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9326 * lyxrc.C: improve help for use_scalable_fonts
9328 2002-01-17 Allan Rae <rae@lyx.org>
9330 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9332 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9334 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9335 make sure to set their inset_owner to the right value (bug #171)
9337 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9340 * DepTable.C: Implement mtime checking to reduce time spent doing
9343 2002-01-16 Juergen Vigna <jug@sad.it>
9345 * tabular.C (GetAdditionalHeight): one of error fixed.
9347 * lyxrc.C (output): small fix in writing use_pspell.
9349 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9351 * sp_base.h: #include LString.h
9353 2002-01-16 Allan Rae <rae@lyx.org>
9355 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9356 Can someone check this please?
9358 * text.C (drawInset): It was possible that p.row would be removed by
9359 breakAgainOneRow upsetting a few other settings. There may be another
9360 small tweak possible by setting need_break_row = 0 when p.row has been
9361 removed but I don't know enough about the logic here.
9363 2002-01-15 Allan Rae <rae@lyx.org>
9365 * text.C (insertChar): removed conditional truism.
9367 * BufferView2.C (removeAutoInsets): More tweaks.
9368 cur_par_prev could be a stray pointer. Check for trailing empty line
9369 in case last line was cur_par and only had an error inset on it.
9371 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9373 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9376 * vc-backend.C (most methods):
9377 * exporter.C (Export):
9378 * converter.C (convert):
9380 * LyXSendto.C (SendtoApplyCB):
9381 * lyxfunc.C (dispatch):
9385 * lyx_cb.C (AutoSave):
9387 * BufferView_pimpl.C (MenuInsertLyXFile):
9388 * buffer.C (runChktex): use Buffer::filePath().
9390 * buffer.h: rename filename to filename_; rename filepath to
9391 filepath_ and make it private
9392 (filePath): new method
9394 * buffer.C (writeFile): use fileName()
9397 * lyx_main.C (init): fix starting of LyX when the binary is a
9398 link from so,ewhere else.
9400 * minibuffer.C: include <cctype> for isprint
9402 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9404 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9405 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9406 name clash with InsetCollapsable's width function.
9408 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9410 * lastfiles.C: include <iterator>
9412 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9414 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9417 * buffer.C (makeLaTeXFile): ditto.
9418 Also make loop operation more transparent.
9420 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9422 * ToolbarDefaults.C: remove trailing comma closing namespace.
9424 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9426 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9429 * trans.C (Load): comment out unused variable, allowed.
9431 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9433 * minibuffer.[Ch] (append_char): new method to recieve input from the
9434 drop-down completion browser. If a key was pressed, then recieve this
9435 char and append it to the existing string.
9436 (peek_event): modify the positioning data passed to the completion
9437 browser so that it can be placed above the minibuffer rather than below.
9438 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9440 * LyXAction.C (init): alloe error-next for readonly documents.
9442 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9445 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9447 * bufferlist.C (readFile): create the buffer _after_ checking that
9450 * lyxfunc.C (verboseDispatch): fix handling of arguments
9452 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9454 * lyxrc.C: use string::erase() instead of initializing to "".
9457 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9459 * BufferView_pimpl.h:
9460 * BufferView_pimpl.C:
9463 * text2.C: tell X when we have made a selection for copying
9465 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9467 * BufferView_pimpl.C (MenuInsertLyXFile):
9468 * lyxfunc.C (menuNew):
9470 (doImport): add shortcuts to directory buttons
9472 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9475 * lyxfunc.C (setStatusMessage):
9476 (getStatusMessage): new methods
9477 (getStatus):use setStatusMessage instead of setErrorMessage
9478 (dispatch): when function is disabled, set error message here
9479 [instead of in getStatus previously]
9481 * BufferView_pimpl.C (workAreaButtonRelease): update
9482 toolbar/menubar here too.
9484 2002-01-13 Allan Rae <rae@lyx.org>
9486 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9487 Now seems indestructible. Remaining task is to audit all other
9488 code affected by deleteEmptyParagraphMechanism. One small quirk
9489 left is that an empty document with an error in the preamble can
9490 be made to report an error but no error box appears. I don't know
9492 (removeAutoInsets): Improved comments.
9494 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9497 * Thesaurus.C: update for Aiksaurus 0.14
9499 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9501 * text2.C (firstParagraph): removed member function, all uses
9502 replaces with ownerParagraph
9503 (redoParagraphs): here
9505 (toggleAppendix): here
9506 * BufferView2.C (insertErrors): here
9507 (setCursorFromRow): here
9509 2002-01-13 Allan Rae <rae@lyx.org>
9511 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9512 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9513 There is still a way to segfault this although you may have to do this
9514 multiple times: Have an InsetERT with an unknown command in it.
9515 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9516 <down-arrow>, <Enter> again, View->DVI, BANG!
9518 * text2.C (setCursor):
9519 (deleteEmptyParagraphMechanism):
9520 * lyxtext.h (setCursor):
9521 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9522 Making use of the return value may help fix other bugs.
9524 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9526 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9528 * LyXView.C (updateMenubar): call MenuBar::update here
9529 (updateToolbar): but not here
9530 (showState): do not update toolbar/menubar
9532 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9533 should need to care about that.
9535 * lyxfunc.C (verboseDispatch): simplify a bit
9536 (getStatus): have a version which takes a pseudoaction, and
9537 another which requires a (kb_action,string).
9539 * LyXAction.C (retrieveActionArg): make it work also when action
9540 is not a pseudo-action.
9541 (getActionName): simplify a bit
9544 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9546 * lyxfunc.C (verboseDispatch): new families of methods with
9547 several ways to specify a command and a bool to indicate whether
9548 the command name and shortcut should be displayed in minibuffer
9549 (eventually, we could extend that to a finer bitmask like
9550 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9551 (dispatch): the pristine dispatch command which just, well,
9552 dispatchs! Note it still sets its result to minibuffer; I'm not
9555 * lyxfunc.h: remove setHintMessage
9557 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9559 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9561 * BufferView_pimpl.C (specialChar): delete new inset if we have
9562 not been able to insert it.
9564 * kbmap.C: revert to using int instead of kb_action, since all we
9565 are dealing with is pseudo-actions.
9567 * LyXAction.C (searchActionArg): change to return int instead of
9568 kb_action, since the result is a pseudoaction.
9570 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9572 * buffer.C (insertErtContents): Fix (partially) the font bug.
9574 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9576 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9577 as the other one is broken on my machine!
9579 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9582 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9584 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9586 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9587 reflect their actual use. Provide compatibility code for older lyxrc
9590 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9592 change names of popup font variables in line with the changes to lyxrc.C
9594 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9596 * buffer.C (asciiParagraph): avoid outputing a word twice after
9599 * lyxrc.C (getDescription): document that document_path and
9600 template_path can be empty.
9602 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9604 * LaTeXFeatures.C (getMacros):
9605 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9607 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9609 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9611 (getPackages): rename feature "floats" to "float". Use an array to
9612 iterate over 'simple' features (i.e. just a \usepackage). Add
9613 handling of "amsmath" (renamed from "amsstyle").
9615 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9617 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9620 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9622 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9623 FuncStaus::FuncStatus & FuncStaus::some_method().
9625 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9627 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9628 of the func_satus stuff. Edited and massaged in various ways by
9631 * lyxfunc.C (getStatus): use FuncStatus
9633 2002-01-08 Juergen Vigna <jug@sad.it>
9635 * text.C (nextBreakPoint): use function Inset::isChar().
9637 * paragraph.C (TeXOnePar): use function
9638 Inset::forceDefaultParagraphs.
9640 * buffer.C (latexParagraphs): use function
9641 Inset::forceDefaultParagraphs.
9643 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9645 * lyx_gui.C (init): set the style of the menu popups to
9646 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9648 2002-01-07 Juergen Vigna <jug@sad.it>
9650 * text.C (setHeightOfRow): small fix
9651 (prepareToPrint): don't look at alignment if we don't have the place
9654 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9656 * box.C: New file. Move the Box methods and functions out of box.h,
9657 following Lars' suggestion.
9659 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9661 * box.h: #include "support/LOstream.h", needed for inlined function.
9664 * lyxtextclasslist.C: added some using std declarations.
9666 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9668 * box.h: make signed dimensions to allow insets wider than
9669 the screen (bug #162)
9671 * BufferView_pimpl.C: add some insetHit debug
9673 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9675 * vc-backend.C: add FIXME
9677 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9679 * lyxfunc.C (getStatus): enable code for showing math font status
9682 2002-01-07 Juergen Vigna <jug@sad.it>
9684 * text.C (nextBreakPoint): removed debug output not needed anymore.
9686 2002-01-06 Juergen Vigna <jug@sad.it>
9688 * text.C (nextBreakPoint): fixed up this function we had this bug
9689 since ever but now hopefully we break row better.
9690 (insertChar): we have to check if an inset is the next char as it
9691 could now happen that a large inset is causing a break.
9693 2002-01-05 Juergen Vigna <jug@sad.it>
9695 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9696 if it doesn't like to be drawed.
9698 2002-01-04 Juergen Vigna <jug@sad.it>
9700 * BufferView2.C (lockInset): forgot to set a cursor.
9702 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9704 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9709 * form_maths_panel.C:
9710 * form_maths_panel.h:
9711 * form_maths_panel.fd: implemented sub- and super- buttons in math
9714 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9715 (or ^ space) to be used as in TeX (req'd by André).
9717 * lyxfunc.C: Allow ^ and _ again to be used both as
9718 super/subscript (mathed) and as themselves (in text).
9720 2002-01-03 Allan Rae <rae@lyx.org>
9722 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9723 "LyX" or the filename of the current buffer if it has one. This is a
9724 modified form of John Levon's patch.
9726 * XFormsView.C (setWindowTitle): also set icon title.
9728 * LyXView.h (setWindowTitle): signature changed.
9729 * XFormsView.h (setWindowTitle): ditto.
9731 2002-01-02 Juergen Vigna <jug@sad.it>
9733 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9735 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9737 * screen.C (topCursorVisible): introduce a temp var for
9738 text->cursor.row(), handle the case where this row is null. (kindo
9741 * text2.C (setCursor): add a couple of asserts.
9743 * paragraph.h (inset_iterator): add -> operator
9745 * paragraph.[Ch] (autoDeleteInsets): remove member function
9747 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9748 cursor pos correctly and handle inset deletion by itself.
9749 (insertErrors): move iterator declaration out of for expression
9751 * lyxtextclass.C: add <algorithm>
9753 * Makefile.am: added the new files to sources, removed layout.C
9755 * layout.C: removed file
9757 * layout.h: remove LYX_DUMMY_LAYOUT
9759 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9763 * lyxtextclass.[Ch]:
9764 * lyxtextclasslist.[Ch]: new files
9766 * include order changes to a lot of files, also changes because of
9769 2001-12-27 Juergen Vigna <jug@sad.it>
9771 * buffer.C (asciiParagraph): more fixes.
9773 * tabular.C (ascii): make ascii export support export of only the
9774 data separated by a column-delimiter.
9775 (ascii): better support for ascii export.
9777 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9779 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9781 * tabular_funcs.C: use a "using std::getline" instead of the
9782 previous fix from Angus (necessary for cxx + lyxstring)
9784 2001-12-24 Juergen Vigna <jug@sad.it>
9786 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9788 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9789 problems. First check a minipage also if we have some ert-contents
9790 (not only on par->size(), second set the right depth of the paragraph
9791 on the relink to the root-paragraph-list!
9793 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9794 which then did not anymore update the main paragraphs on undo/redo!
9796 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9798 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9799 code. Support all font-changing funcs (even those which are not in
9800 menu currently). Support for reporting font settings in
9801 mathed (disabled until Andre provides a function on mathed's side).
9803 * func_status.h (toggle): small helper function to set toggle
9806 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9808 * tabular_funcs.C: getline -> std::getline
9810 2001-12-21 Juergen Vigna <jug@sad.it>
9812 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9813 accessed and could be 0 (I couldn't generate this but it seems
9816 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9818 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9819 * tabular_funcs.h: here and include iosfwd
9821 2001-12-20 Juergen Vigna <jug@sad.it>
9823 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9824 inside inset but undo_par was.
9826 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9828 * Thesaurus.C: always include <config.h> in sources.
9832 * box.h: do not include <config.h> in header files
9834 * text.C (paintLastRow): remove unused variable
9836 * text.C (transformChar):
9838 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9841 * font.C (width): rewrite to use uppercase() instead of
9844 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9846 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9848 * lyxfind.C: clean up of find failure position change
9850 2001-12-20 Juergen Vigna <jug@sad.it>
9852 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9854 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9855 (TeXRow): added to LaTeX a single tabular row.
9856 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9857 (Latex): simplified and finally good LT-h/f support.
9858 (various_functions): just small adaptions for LT-h/f support.
9860 * tabular_funcs.[hC]: added and moved here all not classfunctions
9863 2001-12-19 Juergen Vigna <jug@sad.it>
9865 * tabular.[Ch]: better support for longtabular options (not finished
9868 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9870 * text.C (paintLastRow): use the label font instead of the font of
9871 the last character to compute the size of *_BOX. This makes more
9872 sense and avoids a crash with empty paragraphs.
9873 Use Painter::rectangle to draw EMPTY_BOX.
9875 2001-12-19 Juergen Vigna <jug@sad.it>
9877 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9878 the paragraphs if the replaced paragraph is not the first one!
9879 Tried to delete not used paragraphs but does not work yet so for
9880 now it's inside #ifdef's and by default off!
9882 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9884 * MenuBackend.C: include "lyx_main.h" instead of declaring
9885 lastfiles (actually was declared as LastFiles* instead of a
9888 2001-12-17 Juergen Vigna <jug@sad.it>
9890 * tabular.C (AppendColumn): applied John's fix
9892 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9896 * BufferView_pimpl.h:
9897 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9900 * box.h: new start of class for above
9902 * lyxfunc.C: ignore space-only minibuffer dispatches.
9903 Show the command name when it doesn't exist
9905 * minibuffer.C: don't add empty lines to the history
9907 * minibuffer.C: add a space on dropdown completion
9909 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9911 * text.C: fix line above/below drawing in insets
9913 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9915 * lyxlength.C (LyXLength): Initialize private variables.
9917 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9919 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9920 when inserting error insets.
9922 2001-12-13 Juergen Vigna <jug@sad.it>
9924 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9925 actually sometimes the before-paragraph.
9926 (setUndo): don't clear the redostack if we're not actually undoing!
9928 2001-12-06 Juergen Vigna <jug@sad.it>
9930 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9931 and fixed redoing of main paragraph, so we can use it now ;)
9933 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9935 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9937 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9940 2001-12-13 André Pönitz <poenitz@gmx.net>
9943 * undo_func.C: minor cleanup
9945 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9947 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9948 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9949 font in urw-fonts package which is marked as -urw-fontspecific and
9950 does not work (incidentally, changing the encoding in the
9951 fonts.dir of this package to -adobe-fontspecific fixes the
9954 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9955 is a crash when undoing first paragraph (Juergen, please take a
9956 look). THis does not mean the undo fix is wrong, just that it
9959 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9960 the (Paragraph*) version when needed instead of duplicating the
9963 * text.C (workWidth): use Inset::parOwner to find out where the
9964 inset has been inserted. This is a huge performance gain for large
9965 documents with lots of insets. If Inset::parOwner is not set, fall
9966 back on the brute force method
9968 * paragraph_pimpl.C (insertInset):
9969 * paragraph.C (Paragraph):
9970 (cutIntoMinibuffer): set parOwner of insets when
9971 inserting/removing them
9973 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9975 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9981 * mathed/formulabase.C:
9982 * mathed/math_cursor.[Ch]:
9983 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9986 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9988 * lyxlength.[Ch] (operator!=): new function
9990 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9992 * text.C (workWidth): use Inset::parOwner to find out where the
9993 inset has been inserted. This is a huge performance gain for large
9994 documents with lots of insets. If Inset::parOwner is not set, fall
9995 back on the brute force method
9997 * paragraph_pimpl.C (insertInset):
9998 * paragraph.C (Paragraph):
9999 (cutIntoMinibuffer): set parOwner of insets when
10000 inserting/removing them
10002 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10004 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10006 * tabular-old.C (getTokenValue):
10007 * tabular.C (getTokenValue):
10008 (write_attribute): new versions for LyXLength
10009 (everywhere): adjust the use of widths
10011 * tabular.h: change the type of widths from string to LyXLength
10013 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10015 * paragraph.C: fixed missing line number count when exporting
10016 Environments to LaTeX file
10018 * buffer.C: added informational message for checking line numbers.
10020 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10022 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10023 paragraph, do the 'double space' part, but not the 'empty
10026 * text.C (workWidth): small optimization
10027 (getLengthMarkerHeight): use minimal size for negative lengths.
10029 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10031 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10033 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10035 2001-12-11 André Pönitz <poenitz@gmx.net>
10038 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10040 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10042 * text2.C: keep selection on a setFont()
10044 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10046 * lyx_cb.C: another bv->text misuse, from insert label
10048 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10051 * kbsequence.C: re-instate nmodifier mask
10053 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10055 * lyx_main.h: make lyxGUI private.
10057 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10059 * lyxfind.C: place the cursor correctly on failed search
10061 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10063 * text.C (getLengthMarkerHeight): for small heights, the arrows
10064 are not always on top/bottom of the text
10065 (drawLengthMarker): smaller arrows; take the left margin in
10066 account; draw also vfills.
10068 (paintLastRow): remove special code for vfill and standard spaces,
10069 since everything is handled in drawLengthMarker now.
10071 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10073 * buffer.C (insertErtContents): try to handle font and language
10074 interaction a bit better.g
10076 * ColorHandler.C (updateColor): change the hash to cover the whole
10077 LColor enum, ws cleanup
10078 (getGCLinepars): ditto
10079 (getGCLinepars): only lookup in the linecache once.
10081 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10083 * iterators.C (operator++): Make the iterator more robust
10085 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10087 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10089 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10092 * text.C: better added space drawing
10094 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10097 * BufferView2.C: fix layout combo update on inset unlock
10099 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10101 * Makefile.am: don't compile unused files
10103 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10107 * LyXAction.C: remove old LFUN_LAYOUTNO
10109 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10111 * paragraph_pimpl.h:
10112 * paragraph_pimpl.C: isTextAt() doesn't need font param
10114 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10117 * lyxlex.C: little cleanup
10119 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10121 * BufferView_pimpl.C: fix insertAscii for insets
10123 2001-12-05 Juergen Vigna <jug@sad.it>
10125 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10126 set the right font on the "multi" paragraph paste!
10128 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10134 * lyxlength.C: remove out-commented code.
10136 * BufferView_pimpl:
10150 * vc-backend.C: change "while(" to "while ("
10152 * lyxlength.[Ch]: add zero function to check if length is zero or
10154 * lyxgluelength.C: use it
10156 2001-12-05 Allan Rae <rae@lyx.org>
10158 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10159 Works for 2.95.3, from what I understand of Garst's reports this should
10160 work for other g++ versions. We're screwed if the abs(int) definition
10161 changed between bugfix releases of gcc.
10163 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10165 * text.C: fix chapter label offset !
10167 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10170 * text.C: fix hfill at end of line, clean up
10172 2001-12-04 Juergen Vigna <jug@sad.it>
10174 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10175 that we force an update of the inset and it's owners if neccessary.
10177 2001-12-03 Juergen Vigna <jug@sad.it>
10179 * text.C (rowLast): simplified code
10181 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10183 * lyxfunc.C: fix show options on timeout
10185 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10187 * screen.C (topCursorVisible): scroll half a page when the cursor
10188 reached top of bottom of screen
10190 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10192 * minibuffer.C: deactivate on loss of focus
10194 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10196 * vspace.[Ch] (operator!=): add operator.
10198 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10200 * BufferView_pimpl.C: refuse to open an inset when
10201 there's a selection.
10203 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10205 * BufferView_pimpl.C: allow to click on RHS of full row insets
10207 2001-11-30 Juergen Vigna <jug@sad.it>
10209 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10210 insets for undo reasons.
10212 2001-11-28 André Pönitz <poenitz@gmx.net>
10214 * vspace.[Ch]: cosmetical changes
10216 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10226 * kbsequence.C: part re-write of old kb code
10229 * WorkArea.C: remove Lgb_bug_find_hack
10231 2001-11-30 José Matos <jamatos@fep.up.pt>
10233 * buffer.C (makeDocBookFile): add a comment to point a hack.
10234 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10235 Fixed a double write of labels.
10237 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10240 * LaTeX.h Fixed bug in LaTeX class where it would not
10241 re-run latex if no depfiles were changed, but the .dvi was removed.
10243 2001-11-28 André Pönitz <poenitz@gmx.net>
10245 * all the files from the change on 2001/11/26:
10246 use lyx::layout_type instead of LyXTextClass::size_type
10247 use lyx::textclass_type instead of LyXTextClassList::size_type
10249 2001-11-29 Juergen Vigna <jug@sad.it>
10251 * text.C: added support for paragraph::isFreeSpacing()
10253 * buffer.C: same as above
10255 * paragraph.h: inserted isFreeSpacing() function to enable
10256 FreeSpacing inside InsetERT.
10258 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10259 of the paragraph's in the cut/copy buffer to 0!
10261 * text2.C (removeRow): remove the assert as it can!
10263 * lyxtext.h: added helper function firstRow returning firstrow and
10264 made firstrow private again.
10266 * BufferView2.C (lockInset): don't relock if we're already locked!
10268 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10269 the only paragraph.
10270 (removeRow): added Assert::(firstrow)
10272 * debug.C: forgot to add INSETTEXT here.
10274 2001-11-28 Juergen Vigna <jug@sad.it>
10276 * sp_spell.C (initialize): changed error text to more general
10277 spellchecker command use (not only ispell!)
10279 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10281 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10283 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10285 * vspace.C: initialise lyxgluelength on failure
10287 2001-11-28 Allan Rae <rae@lyx.org>
10289 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10290 declaration & definition that looks like a function declaration.
10292 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10294 * BufferView2.C (copy):
10295 (copyEnvironment): do not clear the selection when doing a copy.
10297 * text.C (paintFirstRow): compilation fix
10299 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10301 * tabular.C (Latex): correct line count when writing latex.
10303 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10305 * paragraph_pimpl.h:
10306 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10309 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10313 * LColor.C: change vfillline->added_space
10315 * text.C: add markers and text for added space
10317 * vspace.C: fix comment
10319 2001-11-28 André Pönitz <poenitz@gmx.net>
10321 * paragraph.C: whitespace changes
10322 * all the other files from the change on 2001/11/26:
10323 change *::pos_type into lyx::pos_type
10325 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10327 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10328 language of the document when inserting error insets.
10330 2001-11-26 André Pönitz <poenitz@gmx.net>
10332 * BufferView_pimpl.[Ch]:
10340 * paragraph_pimpl.[Ch]:
10343 * text2.C: reduce header dependencies, introduce type for positions
10345 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10347 * <various>: change to use Alert.h
10349 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10351 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10352 when encountering an unknown token.
10353 (readLyXformat2): Show an error message if there were unknown tokens.
10355 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10358 * BufferView_pimpl.C:
10362 * text2.C: use par->isInset()
10364 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10366 * paragraph_pimpl.h:
10367 * paragraph_pimpl.C: cleanup
10369 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10371 * text2.C (removeRow):
10372 * text.C (setHeightOfRow): remove useless (and costly) call to
10375 2001-11-20 Allan Rae <rae@lyx.org>
10377 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10378 Now need Inset*::checkInsertChar() to return true for appropriate
10379 cases so that the characters in the minibuffer will actually be
10382 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10384 * text.C: change the order of the includes.
10385 (workWidth): initialize it at once.
10386 (workWidth): make maxw unsigned
10387 (setHeightOfRow): remove unused variable (inset)
10388 (selectSelectedWord): remove unused variable (inset)
10389 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10391 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10393 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10394 server is not running.
10396 (closeConnection): add debug info when server is disabled.
10398 * ColorHandler.C (getGCForeground): send debug message to GUI
10401 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10403 * kbmap.C (bind): modify because return conventions of
10404 kb_sequence::parse have changed.
10406 * kbsequence.C (parse): only ignore spaces and not any stupid
10407 control character. This avoids tests like s[i] <= ' ', which are
10408 guaranteed to fail with 8bit characters and signed chars.
10409 Change return code to string::npos when there have been no error
10410 (0 was a bad idea when error is at first character)
10412 2001-11-14 José Matos <jamatos@fep.up.pt>
10415 * buffer.C (simpleDocBookOnePar): removed unused argument.
10417 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10419 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10420 insets which are part of a word. Paragraph::isLetter takes care of
10421 that now. Use Paragraph::isInset to identify insets.
10422 (selectSelectedWord): do not test for hyphenation break.
10424 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10425 that protected spaces are considered as spaces.
10427 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10430 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10433 * lyxserver.C: fix it. and small cleanup.
10435 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10437 * BufferView_pimpl.C: use inline helpers
10440 * LaTeXFeatures.C: fix typos
10443 * Spacing.C: move spacing_string into class
10445 * ToolbarDefaults.C: move stuff into namespace anon
10447 * layout.h: update enum
10449 * lyxfunc.C: use better debug
10451 * minibuffer.h: fix typo
10455 * WorkArea.C: add and use Debug::WORKAREA
10459 * text2.C: code re-organisation, inline helpers
10461 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10463 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10464 std::vector.empty().
10466 2001-11-09 Allan Rae <rae@lyx.org>
10468 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10469 '\n's after tables. Tabular and ERT inset work now makes this no
10472 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10475 * minibuffer.C: fix crash, improve drop-down completion
10477 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10480 * lyxserver.C: invalidate fd's when doing endPipe()
10482 2001-11-08 José Matos <jamatos@fep.up.pt>
10484 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10485 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10488 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10490 2001-11-07 José Matos <jamatos@fep.up.pt>
10493 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10496 * buffer.C (sgmlOpenTag):
10497 * buffer.C (sgmlCloseTag): removed debug info.
10499 * buffer.h (sgmlOpenTag):
10500 * buffer.h (sgmlCloseTag): made public.
10502 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10504 * buffer.C (saveParamsAsDefaults):
10505 * lyx_cb.C (MenuLayoutSave): remove
10507 * LyXAction.C (init):
10509 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10511 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10513 * buffer.C (setPaperStuff): removed from here...
10515 * bufferparams.C (setPaperStuff): ... and moved there.
10517 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10521 * XFormsView.C: add support for drop-down completion
10523 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10525 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10528 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10530 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10533 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10535 * lyx_main.C: change ref to known bugs
10537 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10539 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10540 to work around older babel problems.
10542 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10544 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10546 2001-10-24 Juergen Vigna <jug@sad.it>
10548 * tabular-old.C (ReadOld): below variable changes reflected.
10550 * tabular.[Ch]: added ltType struct for longtable header/footer
10551 defines and changed all instances where they are used. Added
10552 future support for double top/bottom rows.
10554 2001-10-24 José Matos <jamatos@fep.up.pt>
10556 * buffer.h (docbookHandleCaption):
10557 * buffer.C (docbookHandleCaption): removed unused function.
10558 (makeDocBookFile): moved docbook supported version to v4.1.
10560 2001-10-24 José Matos <jamatos@fep.up.pt>
10563 * tabular.C (docbookRow): new function to export docbook code of a row.
10564 (DocBook): now honors the longtable flags.
10566 2001-10-23 José Matos <jamatos@fep.up.pt>
10569 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10570 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10572 * buffer.C (makeLinuxDocFile):
10573 (makeDocBookFile): reworked the preamble, more clean, and with
10574 support for lyx defined entities. Changed the document declaration
10575 to be more XML friendly.
10577 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10578 if we need to output XML that should be done with a filter.
10580 2001-10-22 Juergen Vigna <jug@sad.it>
10582 * sp_pspell.h (class PSpell): add alive function needed in the
10583 controller to see if the spellchecker could be started.
10585 2001-10-22 Juergen Vigna <jug@sad.it>
10587 * buffer.C (insertStringAsLines): modify the font for inserting
10588 chars in certain conditions by calling checkInsertChar(font).
10590 2001-10-19 Juergen Vigna <jug@sad.it>
10592 * text.C (workWidth): use getRow instead of wrong algorithm.
10593 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10595 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10600 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10602 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10604 * text.C (workWidth): do not search for the exact row when
10605 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10606 optimization for big documents.
10608 2001-10-18 Juergen Vigna <jug@sad.it>
10610 * text.C (workWidth): new function with added Inset * parameter.
10612 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10614 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10616 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10617 change return type of getColumnNearX.
10620 * text.C (changeRegionCase): use uppercase/lowercase instead of
10623 (rightMargin): simplify code by factoring out the uses of
10628 (appendParagraph): use Paragraph::size_type
10630 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10632 * vspace.C (asLatexString): add a missing break
10634 2001-10-15 Herbert Voss <voss@perce.de>
10636 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10638 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10640 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10643 2001-10-10 André Pönitz <poenitz@gmx.net>
10645 * lyxfunc.C: removed greek_kb_flag.
10647 2001-10-10 Herbert Voss <voss@perce.de>
10649 * lyx_main.C: delete global string help_lyxdir.
10651 2001-10-09 Herbert Voss <voss@perce.de>
10653 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10655 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10657 * lyx_main.C: added global string help_lyxdir.
10659 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10661 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10663 * lyxrc.C (set_font_norm_type): support iso8859-4
10665 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10667 * LaTeX.C (deplog): add another regex for MikTeX
10669 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10671 * lyxrc.C (set_font_norm_type): support iso8859-3
10673 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10675 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10677 * LaTeXFeatures.C: remove special case of french and index
10679 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10680 before \begin{document}). This solves several incompatibilities.
10682 2001-10-03 Garst Reese <reese@isn.net>
10684 * lyx_cb.C: change CheckTex error msg.
10686 2001-10-03 José Matos <jamatos@fep.up.pt>
10688 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10690 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10692 * .cvsignore: update
10694 * lyx_main.C (commandLineVersionInfo): use new style version info.
10696 * buffer.C (writeFile):
10698 (makeLinuxDocFile):
10699 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10701 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10703 * version.h: update to use stuff in version.C
10705 * version.C.in: new file. Contains version information determined
10706 at compile time. This is a merging of version.h and
10709 2001-10-03 Juergen Vigna <jug@sad.it>
10711 * BufferView_pimpl.C (update): don't change "dirty" status in
10714 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10716 * WorkArea.C (c-tor): re-position version string slightly.
10718 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10720 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10721 revert to previous code.
10723 WorkArea.[Ch]: (show, destroySplash): methods removed.
10725 WorkArea.C: rework code so that it's an amalgam of the codes before and
10726 after the splash screen was moved to WorkArea.
10728 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10731 * vspace.C (inPixels):
10734 * buffer.C (insertStringAsLines):
10735 (asciiParagraph): fix types to be large enough
10737 * lyxlex_pimpl.h: change member status from short to int
10739 * layout.h: fix type of endlabeltype
10742 * kbsequence.C (parse): change return type to string::size_type
10744 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10747 * Bullet.C (bulletSize):
10748 (bulletEntry): do not use short ints as parameters
10750 * BufferView2.C (insertLyXFile): change a char to an int.
10752 * WorkArea.C (WorkArea): remove unneeded floats in computation
10754 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10756 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10758 * paragraph.C (asString): Do not ignore newline/hfill chars when
10759 copying to the clipboard.
10761 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10763 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10764 after a multi-line inset.
10766 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10768 * paragraph.C (validate): Set NeedLyXFootnoteCode
10770 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10772 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10773 and decrease-error to decrease.
10775 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10777 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10778 it more readable (should be equivalent)
10780 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10782 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10784 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10786 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10787 of a cursor (row, etc.) after a character has been deleted
10788 (deleteEmptyParagraphMechanism): call the method above on _all_
10789 cursors held by the LyXText when a double space has been
10792 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10794 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10796 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10798 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10799 background. Use greyOut() and the new show() methods to toggle between
10800 the foreground and background. Add code to remove the splash after
10801 its initial showing.
10803 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10804 (create_forms): no longer call Dialogs::showSplash.
10806 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10808 * .cvsignore: add version_info.h
10810 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10812 * version_info.h.in: new file
10814 * Makefile.am: add version_info.h.in
10816 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10817 version_info.h instead of VERSION_INFO
10819 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10821 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10822 The ERT inset now returns string().
10824 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10826 * lyxtext.h, text.C (selectNextWord): renamed as
10827 selectNextWordToSpellcheck.
10829 * text.C (selectNextWordToSpellcheck): Modified to not select
10830 words inside an ERT inset.
10832 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10834 * lyx_cb.C (MenuLayoutSave): change a bit the question
10836 * sp_base.h: include <sys/types.h>
10838 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10840 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10842 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10844 * several files: fix typos in user-visible strings
10846 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10848 * text2.C (pasteSelection): do not set the selection, since it
10849 will be cleared later. Actually, the intent was to fix the way the
10850 selection was set, but I figured rmoving the code was just as good.
10852 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10854 * FontLoader.C (available): Check if font is available without
10857 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10859 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10861 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10863 * lyxrc.[Ch]: added display_graphics variable and associated code.
10865 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10867 * bufferparams.C (hasClassDefaults): new method. Returns true if
10868 the buffer parameters correspond to known class defaults
10870 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10872 * XFormsView.C (show): set minimum size to the main window.
10874 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10876 * text2.C (copySelection):
10878 * lyxfind.C (LyXReplace):
10879 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10880 LyXText::selectionAsString.
10882 * paragraph.C (asString): add "label" argument to the second form
10884 * text2.C (selectionAsString): add "label" argument and pass it to
10885 Paragraph::asString.
10887 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10889 * lyx_main.C (commandLineHelp): remove version information
10891 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10893 * lyx_main.C: add -version commandline option
10895 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10897 * paragraph.h: make the optional constructor arg required instead.
10898 some modifications to other files because of this.
10900 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10902 * lyxserver.C (C_LyXComm_callback): make it static
10904 * lyx_main.C (error_handler): make it static
10906 * lyx_gui.C (LyX_XErrHandler): make it static
10908 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10910 * WorkArea.C: make the extern "C" methods static.
10912 * Makefile.am (lyx_LDADD): simplify
10914 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10916 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10917 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10919 * LyXAction.C (init):
10920 * lyxfunc.C (dispatch): associated code removal.
10922 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10924 * lyxfont.h (isSymbolFont): shut off warning
10926 * text.C (setHeightOfRow):
10927 (getVisibleRow): fix crash with empty paragraphs which have a
10930 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10932 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10935 2001-09-04 José Matos <jamatos@fep.up.pt>
10938 * tabular.C (docbook): rename docBook method to docbook.
10940 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10942 * Makefile.am: add dependencies to main.o.
10944 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10946 * FontLoader.C (available): Return false if !lyxrc.use_gui
10948 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10950 * FontInfo.C (query):
10951 * converter.C (view):
10952 * importer.C (Import):
10953 * exporter.C (Export): Can not -> cannot.
10955 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10957 * BufferView_pimpl.C: allow to create index inset even if
10960 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10962 * buffer.C (getLists): replace boost::tie code with an explicit pair
10963 as boost::tie can break some compilers.
10965 * iterators.h: Added a std:: declaration to the return type of
10968 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10970 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10973 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10975 * iterators.[Ch]: New files. Provide paragraph iterators.
10977 * buffer.C (changeLanguage): Use paragraph iterators.
10978 (isMultiLingual): ditto
10980 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10982 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10984 * FontLoader.C: Support for cmr font.
10986 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10988 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10989 (available): New method.
10991 * FontInfo.C (getFontname): Use scalable fonts even when
10992 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10995 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10997 * converter.C (Formats::view): reverted! Incorrect fix.
10999 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11001 * converter.C (Formats::view): only output the -paper option
11002 if the dvi viewer is xdvi, thereby fixing bug #233429.
11004 2001-08-23 Herbert Voss <voss@perce>
11006 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11008 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11010 * Spacing.h (Spacing): Set space to Default on in the default
11013 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11015 * vc-backend.h (RCS::versionString): add RCS to version
11016 (CVS::versionString): add CVS to version
11018 * vc-backend.C (scanMaster): do not add CVS to version.
11019 (scanMaster): do not add RCS to version
11021 * lyxvc.C (versionString): new method
11023 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11025 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11027 * Spacing.C (set): initialize fval
11029 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11031 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11034 2001-08-16 Juergen Vigna <jug@sad.it>
11036 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11038 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11040 * BufferView_pimpl.C:
11043 * text2.C: setParagraph takes linespacing now
11045 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11047 * LyxAction.C: add internal LFUN_CITATION_INSERT
11049 * LyXView.C: actually apply fix
11051 * bufferlist.C: fix open non-existent file
11053 * lyxfind.C: fix indentation
11055 * lyxfunc.C: remove unneeded assert, fix typo
11057 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11059 * MenuBackend.C: use "Floatname List"
11061 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11063 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11064 when converting LaTeX layout to insetERT.
11065 Generate a non-collapsed float when reading old float
11067 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11069 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11072 2001-08-13 Juergen Vigna <jug@sad.it>
11074 * text.C (fill): return 0 instead of 20 as this seems to be the more
11077 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11079 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11082 2001-08-13 Juergen Vigna <jug@sad.it>
11084 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11086 (SearchBackward): comment out the unlocking of the inset_owner this
11087 should not be needed!
11089 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11091 * Many files: Remove inherit_language, and add latex_language
11093 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11094 collapsible insets.
11096 2001-08-10 Juergen Vigna <jug@sad.it>
11098 * text.C (prepareToPrint): fixed hfill-width in draw!
11100 * BufferView2.C (selectLastWord): save the selection cursor as this
11101 now is cleared in the function LyXText::clearSelection!
11103 2001-08-08 Juergen Vigna <jug@sad.it>
11105 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11106 BACKSPACE type functions.
11108 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11109 is only cutted from the document but not put in the cut-buffer, where
11110 still the old stuff should be.
11112 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11114 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11116 * tabular.C (SetWidthOfCell): fixed special case where the width
11118 (LeftLine): handle '|' in align_special.
11120 (LeftAlreadyDrawed): ditto
11121 (SetWidthOfCell): ditto
11123 2001-08-07 Juergen Vigna <jug@sad.it>
11125 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11127 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11129 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11130 * lyxlex.[hC]: ditto
11132 2001-08-06 Juergen Vigna <jug@sad.it>
11134 * text.C (getVisibleRow): fix up row clearing a bit.
11136 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11138 * minibuffer.C: make sure the X server sees the changes in the input.
11140 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11142 * paragraph.C (getFont): split into...
11143 (getLabelFont): this
11144 (getLayoutFont): and this
11145 * paragraph_pimpl.C (realizeFont): calling this
11147 * text2.C (getFont): split into...
11148 (getLayoutFont): this
11149 (getLabelFont): and this
11150 (realizeFont): all three calling this
11152 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11155 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11157 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11159 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11161 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11162 layouts from the Quote inset insertion.
11164 2001-08-03 Juergen Vigna <jug@sad.it>
11166 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11168 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11169 only if status not is already CHANGED_IN_DRAW (second level).
11171 * text.C (draw): don't set the need_break_row when inside an
11174 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11176 * buffer.C (parseSingleLyXformat2Token): handle more latex
11179 * bufferview_funcs.[hC]: change function names to
11180 begin with small char, adjust other files.
11182 2001-08-02 André Pönitz <poenitz@gmx.net>
11185 BufferView_pimpl.C: remove broken special code for math-greek
11187 2001-08-02 Juergen Vigna <jug@sad.it>
11189 * BufferView_pimpl.C (update): redone this function so that we
11190 update the text again if there was a CHANGE_IN_DRAW.
11192 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11193 (drawFromTo): added a new internal bool which is used by draw() and
11195 (general): some cursor drawing problems fixed.
11197 2001-08-01 Juergen Vigna <jug@sad.it>
11199 * lyxfind.C (LyXFind): fixed
11200 (SearchForward): ditto
11201 (SearchBackward): ditto
11203 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11204 spurius drawing of the cursor in the main area.
11206 * text2.C (status): small fix which could lead to a segfault!
11207 (clearSelection): remove unneeded BufferView param.
11209 2001-08-01 André Pönitz <poenitz@gmx.net>
11211 * lyxfunc.C: small change due to changed mathed interface
11213 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11215 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11217 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11219 * lyxfunc.c: fail gracefully if file doesn't exist
11224 * BufferView_pimpl.C: IsDirWriteable() proto changed
11226 * LyXView.C: fix updateWindowTitle() to store the last title
11228 2001-07-31 Juergen Vigna <jug@sad.it>
11230 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11231 the font (wrong since using of Paragraph::highestFontInRange).
11233 * paragraph.C (highestFontInRange): added a default_size parameter.
11235 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11236 (setHeightOfRow): reformat
11238 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11240 * converter.[hC] + affected files: move to (inital-char)lowercase
11243 * ParagraphParameters.C (ParagraphParameters): remove commented code
11245 * PainterBase.[Ch]: remove commented code
11247 * LaTeXFeatures.h: add "bool floats" for float.sty
11249 * LaTeXFeatures.C (LaTeXFeatures): init floats
11250 (require): handle float
11251 (getPackages): do it with floats
11253 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11255 * BufferView_pimpl.C (Dispatch): improve handling of
11256 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11258 * commandtags.h: #include lyxfont.h here temporarily to avoid
11261 * bufferlist.h: include LString.h here.
11263 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11265 * text2.C (getStringToIndex): new method.
11267 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11269 * *: Reduced header file dependencies all over.
11271 2001-07-30 Baruch Even <baruch@lyx.org>
11273 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11275 2001-07-29 Baruch Even <baruch@lyx.org>
11277 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11279 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11281 * ParameterStruct.h (endif): add a default constructor to make
11282 sure that all variables is initialized.
11284 * ParagraphParameters.C (ParagraphParameters): adjust
11286 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11288 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11289 index; also, check that there is something to index, and that it
11290 does not span over several paragraphs.
11291 (doubleClick): use WHOLE_WORD_STRICT for double click.
11293 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11295 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11298 2001-07-26 Baruch Even <baruch@lyx.org>
11300 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11301 an InsetFig figure, backwards compatible reading of old figure code.
11303 2001-07-27 Juergen Vigna <jug@sad.it>
11305 * text2.C: font.realize function adaption.
11307 * text.C (draw): add a warnings lyxerr text if needed.
11309 * layout.C: font.realize function adaption.
11311 * language.C: add inherit_language and implement it's handlings
11313 * bufferview_funcs.C (StyleReset): remove language parameter from
11314 font creation (should be language_inherit now).
11316 * bufferparams.C (writeFile): handle ignore_language.
11318 * paragraph.C (getFontSettings): the language has to be resolved
11319 otherwise we have problems in LyXFont!
11321 * lyxfont.C (lyxWriteChanges): added document_language parameter
11322 (update): removed unneeded language parameter
11324 * paragraph.C (validate): fixed wrong output of color-package when
11325 using interface colors for certain fonts in certain environments,
11326 which should not seen as that on the final output.
11328 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11330 * BufferView_pimpl.C:
11335 * LyXAction.C: add thesaurus support
11338 * lyxfind.C: add "once" parameter, for thesaurus, to not
11339 move to the next match
11341 2001-07-26 Juergen Vigna <jug@sad.it>
11343 * lyxfont.C (realize): honor ignore_language too!
11346 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11348 * text.C (draw): one place more for ignore_language to not draw
11351 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11353 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11355 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11357 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11358 the minipage conversion problem.
11360 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11362 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11365 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11367 * BufferView.h: don't forward declare WorkArea
11369 * BufferView.C: don't include WorkArea.h
11371 2001-07-25 André Pönitz <poenitz@gmx.net>
11375 * lyxfunc.C: new LFUN 'math-space'
11377 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11379 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11381 * text2.C (toggleInset): call open/close
11383 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11385 * lyxfunc.C (dispatch): add debug for the disabled case
11387 * font.C (buttonText): make similar to rectText
11389 * buffer.C (readInset): comment out parsing of insetlist and
11392 * PainterBase.C (rectText): small correction
11394 * BufferView_pimpl.C: comment out insettheorem and insetlist
11395 * LyXAction.C: ditto
11396 * commandtags.h: ditto
11398 2001-07-24 Juergen Vigna <jug@sad.it>
11400 * text.C (draw): honor the ignore_language.
11402 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11404 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11406 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11409 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11411 * lyxtext.h: remove unused (and unimplemented) methods
11413 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11415 * text.C (getVisibleRow): honor background color
11418 * Painter.h: remove default color argument for fillRectangle
11420 * text.C (backgroundColor): new method
11422 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11424 * text.C (getVisibleRow): adjust
11426 * font.[Ch] (rectText): new method, metrics
11427 (buttonText): new method, metrics
11429 * PainterBase.[hC]: make rectText and buttonText always draw and take
11432 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11434 * ToolbarDefaults.C (read):
11435 * MenuBackend.C (read): allow escaping in all strings
11437 * BufferView_pimpl.C (insertAndEditInset): new method.
11438 (Dispatch): use insertAndEditInset whenever appropriate.
11440 * BufferView_pimpl.C (insertNote): removed
11442 * BufferView_pimpl.C (smartQuote): new method, moved from
11443 BufferView; if an insetquote cannot be inserted, insert a '"'
11446 * BufferView2.C: remove insertCorrectQuote();
11448 * lyxfunc.C (getStatus): Add support for all remaingin
11449 inset-insert lfuns.
11451 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11453 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11454 command (necessary to pass " as parameter of self-insert.
11456 * text.C (selectWordWhenUnderCursor):
11457 (selectWord): add word_location parameter
11458 (selectWordWhenUnderCursor): same + remove special code for word
11460 (selectNextWord): use kind() to guess type of insetspecialchar,
11463 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11464 (insertErtContents): create ert insets as collapsed.
11465 (readInset): better compatibility code for Info inset.
11467 2001-07-20 Juergen Vigna <jug@sad.it>
11469 * lyxfunc.C (dispatch): use always LyXFind now!
11471 * text2.C (init): add a reinit flag so that the LyXText can be
11472 reinited instead of deleted and reallocated (used in InsetText).
11474 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11480 2001-07-18 Juergen Vigna <jug@sad.it>
11482 * text.C (selectNextWord): handle insets inside inset by calling
11483 always the bv->text functions so that we can go up the_locking_inset!
11485 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11486 in strange locations when inside an inset!
11488 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11489 handling to include insets.
11491 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11493 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11495 * LyXAction.C (init):
11497 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11498 LIGATURE_BREAK, since the name is so stupid.
11500 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11502 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11505 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11507 * sp_form.[Ch]: remove.
11509 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11511 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11514 * src/buffer.C (readInset): ditto.
11516 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11518 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11519 menuSeparator(), endOfSentenceDot(), ldots() and
11520 hyphenationPoint(), which are therefore removed.
11521 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11523 * LyXAction.C (init):
11524 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11526 * paragraph.C (getWord): removed.
11528 * BufferView_pimpl.C (Dispatch): use last word or selection for
11529 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11531 * lyx_main.C (queryUserLyXDir): do not ask before creating
11532 user_dir, except if it has been named explicitely.
11534 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11536 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11537 a document of zero size.
11539 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11541 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11542 approriately in the c-tor and in require().
11543 (getPackages): output the appropriate LaTeX for natbib support.
11545 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11546 variables "use_natbib" and "use_numerical_citations" when reading the
11548 (readInset): read the various natbib cite commands.
11549 (validate): white-space change.
11551 * bufferparams.[Ch]: new variables "bool use_natbib" and
11552 "bool use_numerical_citations".
11553 (writeFile): output them in the LyX file.
11555 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11557 * lyxfunc.C (getStatus): add support for all the inset insertion
11560 * text2.C (insertInset):
11561 * paragraph.C (insetAllowed):
11562 * BufferView_pimpl.C (insertInset): update to take in account the
11563 renaming of insertInsetAllowed
11565 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11567 * text2.C (getInset): new method. returns inset at cursor position.
11569 * BufferView_pimpl.C (Dispatch): changes because of this.
11571 * LyXAction.C (init): rename open-stuff to inset-toggle.
11573 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11575 * text2.C (toggleInset): renamed from openStuff; use
11578 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11580 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11582 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11584 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11586 * buffer.C (readLyXformat2): Add filename to the error dialog
11588 2001-07-18 Juergen Vigna <jug@sad.it>
11590 * tabular.C (GetCellNumber): put an assert here instead of the check!
11592 2001-07-17 Juergen Vigna <jug@sad.it>
11594 * BufferView_pimpl.C (toggleSelection): adapted too.
11596 * text.C (selectNextWord): adapted for use with insets.
11597 (selectSelectedWord): ditto
11599 2001-07-17 Juergen Vigna <jug@sad.it>
11601 * sp_spell.C (PSpell): fix initialitation order.
11603 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11605 * paragraph.C: spacing
11607 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11609 * sp_spell.C: repair language selection for pspell
11611 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11613 * lyxfunc.h: change more methods to begin with lower char.
11615 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11617 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11618 for unknown layouts.
11620 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11622 * buffer.C (readLyXformat2): Generate an error dialog if there are
11625 2001-07-16 Juergen Vigna <jug@sad.it>
11627 * sp_spell.C: always compile ISpell part.
11629 * lyxrc.C: added use_pspell entry and it's handling.
11631 2001-07-13 Juergen Vigna <jug@sad.it>
11633 * sp_spell.C: removed double includes.
11635 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11637 Consistent use of Lsstream.h:
11638 * Lsstream.h: added using std::stringstream for consistencies sake.
11640 * buffer.C: removed using std::stringstream
11642 * lyxfont.C (stateText):
11643 * paragraph.C (asString):
11644 * text.C (selectNextWord, selectSelectedWord):
11645 * text2.C (setCounter):
11646 * vspace.C (asString, asLatexString):
11647 std::ostringstream -> ostringstream.
11649 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11651 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11652 * commandtags.h: add LFUN_HELP_ABOUTLYX
11653 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11655 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11657 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11659 * lyx_gui_misc.C: remove spellchecker
11660 * lyxfunc.C: showSpellchecker
11662 * sp_ispell.h: added
11663 * sp_pspell.h: added
11664 * sp_spell.C: added
11665 * sp_form.[Ch]: removed
11666 * spellchecker.[Ch]: removed
11668 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11670 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11672 (simpleTeXSpecialChars): Simply print the input character without
11673 any special translation if pass_thru is set.
11675 * layout.h: Added bool pass_thru to layout class for being able to
11676 implement pass through of a paragraph for Literate Programming.
11678 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11679 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11680 * layout.C (Read): add "passthru" to list of layout tags and add
11681 code to set the pass_thru boolean when it is read.
11683 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11685 * trans_decl.h: remove allowed from KmodInfo
11687 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11688 remove allowed code
11691 * paragraph_pimpl.C (erase): use boost::prior
11693 * Painter.C (text): use data() instead of c_str() when length is
11695 * WorkArea.C (putClipboard): ditto
11696 * font.h (width): ditto
11698 * BufferView2.C: use it-> instead of (*it). for iterators
11700 * paragraph_pimpl.C: ditto
11701 * paragraph.C: ditto
11702 * minibuffer.C: ditto
11703 * language.C: ditto
11705 * encoding.C: ditto
11706 * counters.C: ditto
11707 * converter.C: ditto
11709 * Variables.C: ditto
11710 * TextCache.C: ditto
11711 * MenuBackend.C: ditto
11712 * LyXAction.C: ditto
11714 * FloatList.C: ditto
11715 * DepTable.C: ditto
11716 * ColorHandler.C (LyXColorHandler): ditto
11718 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11720 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11722 * text2.C (openStuff): reintroduce this method (which had been
11723 nuked in NEW_INSETS frenzy).
11725 * lyxfunc.C (Dispatch): when an action has not been handled, use
11726 its name in the error message, not its number.
11728 * paragraph.C (inInset): change method name to begin with lowercase.
11731 * text2.C: updates because of this.
11733 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11735 * ToolbarDefaults.C (add): add spaces in error message
11737 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11739 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11740 (readLyXformat2): rename return_par to first_par, use lyxlex's
11741 pushToken and remove the manual push handling.
11742 (parseSingleLyXformat2Token): add another ert comp. variable:
11743 in_tabular, rename return_par to first_par. handle newlines better
11745 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11747 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11749 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11751 * text2.C (getParFromID): removed
11753 * buffer.C (getParFromID): new method moved form lyxtext.
11754 * BufferView2.C (insertErrors): adjust
11755 (setCursorFromRow): adjust
11756 * BufferView_pimpl.C (restorePosition): adjust
11757 * lyxfunc.C (Dispatch): adjust
11758 * undo_funcs.C (textUndo): adjust
11760 (textHandleUndo): adjust
11761 (textHandleUndo): adjust
11763 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11765 * buffer.C: up' the LYX_FORMAT
11767 * lyxfont.h: turn NO_LATEX on as default
11769 * buffer.C (insertErtContents): new methods of tex style compability.
11770 (parseSingleLyXformat2Token): use it several places.
11771 * tabular.C (OldFormatRead): and here
11773 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11775 * text2.C: remove some commented code.
11778 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11779 * trans.C: changes because of the above.
11781 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11783 * text2.C (setCounter): Fix counters bug with bibliography layout.
11785 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11787 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11788 own member functions
11789 (simpleTeXSpecialChars): ditto
11791 2001-07-06 Juergen Vigna <jug@sad.it>
11793 * a lot of files: changed the access to LyXText::status and the
11794 call of undo-functions.
11796 * undo.[Ch]: added a inset_id to the undo informations.
11798 * undo_funcs.[Ch]: added and moved here all undo functions.
11800 * lyxtext.h: give the status enum a weight, made status_ a private
11801 variable and made accessor functions for it, removed the whole bunch
11802 of undo-functions as they are now in their own file, make some
11803 functions publically available. Added function ownerParagraph with
11806 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11807 made InInset() a const function, added getParFromID() function.
11809 * buffer.[Ch]: added const version for inset_iterator functions,
11810 added getInsetFromID() function.
11812 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11813 changed undo functions for new version.
11815 2001-07-05 Juergen Vigna <jug@sad.it>
11817 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11818 unknow mechanism does not call the proper constructor but only this
11819 one also if I request the other!?
11821 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11823 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11825 * text2.C (LyXText): use initialization lists.
11827 * lyxtext.h (Selection): initialize set_ and mark_
11828 (init): remove method
11830 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11832 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11834 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11836 * screen.[Ch]: change method names to begin with lowercase
11838 * BufferView_pimpl.C (updateScrollbar): simplify further and
11839 hopefully make it a bit faster.
11841 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11843 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11844 calling directly xforms functions.
11846 * Painter.C (Painter):
11847 * lyx_cb.C (MenuWrite):
11848 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11851 * lyx_gui.C: remove bogus guiruntime extern declaration.
11853 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11855 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11857 (redoDrawingOfParagraph): ditto
11858 (redoParagraphs): ditto
11859 (cutSelection): don't create a object for CutAndPaste use the
11860 static method directly
11861 (pasteSelection): ditto
11863 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11866 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11868 * modifications to some other files because of this.
11870 * Makefile.am (lyx_SOURCES): add XFormsView
11872 * XFormsView.[Ch]: new files
11874 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11875 the main window. Move the gui dependent stuff to XFormsView
11877 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11879 * tabular.C (GetCellInset): update cur_cell also in the row/col
11880 version of this function.
11882 * lyxfunc.C: no need to include figure_form.h here.
11888 * lyxvc.C: no need to include forms.h here.
11890 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11892 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11894 * lyxfunc.C (Dispatch):
11896 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11897 constructor argument.
11899 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11901 * paragraph.C (Paragraph): dont't clear, and just set layout.
11902 (makeSameLayout): use params's copy contructor.
11904 * ParagraphParameters.[Ch] (makeSame): delete method
11906 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11908 * Variables.[Ch]: fix indentation, rename set to isSet
11910 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11912 * lyxfunc.C (Dispatch): fix typo
11914 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11916 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11919 * bufferlist.C: include assert.h for emergencyWrite().
11921 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11923 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11924 give up at last (bug #425202) !
11926 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11932 * spellchecker.C: strip spellchecker options and bring up
11933 preferences tab instead
11935 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11937 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11938 the istringstream constructor
11940 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11942 * paragraph.C (getLayout): fix return value
11944 * paragraph.h: do not declare getLayout as inline.
11946 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11948 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11950 * lyxcursor.h (operator<): new func
11951 (operator>): new func
11952 (operator>=): new func
11953 (operator<=): new func
11955 * text.C (changeCase): use selection.start and selection.end
11956 (changeRegionCase): require from to be <= to. Require par to be a
11959 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11961 2001-06-27 Juergen Vigna <jug@sad.it>
11963 * text.C (cursorLeftOneWord): changed to return the cursor and added
11964 overlay with BufferView * parameter which calls this one.
11966 (selectWord): use new getWord function.
11967 (changeCase): renamed from changeWordCase as and extended to work
11968 also on selections.
11970 * lyxtext.h: added enum word_location
11972 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11973 changeCase as this operates now also on selections.
11975 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11977 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11979 * many files: send debug output to Debug::INFO instead of
11982 * converter.C (View):
11984 (Move): send debug output to Debug::FILES instead of console.
11986 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11988 * lyxfunc.C (getStatus): use func_status
11990 * func_status.h: new header, describing the results of
11991 LyXFunc::getStatus;
11993 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11996 2001-06-25 The LyX Project <jug@sad.it>
11998 * buffer.C (sgmlOpenTag):
12000 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12002 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12004 * text2.C: remove some dead code
12006 * tabular.C (GetCellInset): store the last cell checked (gotten)
12008 * tabular.h: add the helper for the speedup
12010 * lyxtext.h: remove some dead code
12012 2001-06-26 The LyX Project <Asger>
12014 * paragraph.C: Change export to LaTeX of alignment to
12015 \begin{center} and family for better roundtrip work with reLyX.
12017 * Tune the math drawing a bit.
12019 2001-06-25 The LyX Project <Asger>
12021 * LColor.C (LColor): New color for math background. New color
12024 2001-06-25 The LyX Project <jug@sad.it>
12026 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12028 * lyxfunc.C (Open):
12029 * bufferlist.C (newFile): do not restrict to files ending with
12032 * BufferView_pimpl.C (MenuInsertLyXFile):
12034 2001-06-24 The LyX Project <jug@sad.it>
12036 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12039 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12041 * lyxtext.h: rename most methods to begin with a small char.
12042 Lots of changes because of this.
12044 * paragraph.C (Paragraph): do not call fitToSize
12045 (erase): call Pimpl::erase
12046 (insertChar): call Pimpl::insertChar
12047 (insertInset): call Pipl::insertInset
12048 (breakParagraph): do not call fitToSize
12049 (breakParagraphConservative): do not call fitToSize
12050 (fitToSize): remove method
12052 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12054 2001-06-24 The LyX Project <Asger>
12056 * Fix Qt compilation^2
12058 2001-06-24 The LyX Project <jug@sad.it>
12060 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12061 depthHook(getDepth()-1).
12064 * ParagraphParameters.h:
12065 * ParameterStruct.h: change type of depth to unsigned int ==
12066 depth_type. Many adaptations to other files before of that.
12068 2001-06-24 The LyX Project <Asger>
12070 * Fix Qt compilation.
12072 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12074 * paragraph.h: renamed several methods to begin with small letter.
12075 several changes to many parts of the code because of this.
12077 2001-06-23 The LyX Project <jug@sad.it>
12079 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12080 rewritten to discard all double spaces when KeepEmpty is off
12081 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12082 to only handle newlines but not fiddle with spaces and friends.
12084 * lyxfunc.C (MenuNew): when doing 'new from template', use
12085 template_path as default directory
12087 2001-06-23 The LyX Project <Asger>
12089 * Clean-up of header file includes all over
12090 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12092 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12094 * paragraph.h: renamed from lyxparagraph.h
12096 2001-06-23 Asger <lyx@violet.home.sad.it>
12098 * Buffer.h: Removed Buffer::resize
12099 * BufferList.h: Removed BufferList::resize
12100 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12101 the document lazily when we change the width, or the font settings.
12103 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12105 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12107 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12109 * buffer.h: remove out of date comment
12111 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12114 * screen.C: fix "theoretical" GC leak
12116 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12118 * LaTeX.C (scanAuxFile):
12119 (deplog): remove trailing \r when reading stream (useful under
12122 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12124 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12125 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12126 and BufferView::theLockingInset(Inset*), so should use them and not
12127 access bv_->text->the_locking_inset directly.
12129 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12131 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12134 * tex-defs.h: remove old unused file
12136 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12138 * BufferView_pimpl.C: fix typo, remove minibuffer message
12139 when buffer has loaded
12141 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12143 * lyxfunc.C (Dispatch): use stringstream
12144 (MenuNew): use stringstream
12145 (Open): use stringstream
12147 * importer.C (Import): use stringstream
12149 * bufferview_funcs.C (CurrentState): use stringstream
12151 * LaTeX.C (run): use stringstream
12153 * BufferView_pimpl.C (savePosition): use stringstream
12154 (restorePosition): use stringstream
12155 (MenuInsertLyXFile): use stringstream
12157 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12170 * vspace.C: removed // -*- C++ -*- as first line.
12173 * version.h: added // -*- C++ -*- as first line.
12175 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12177 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12179 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12182 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12184 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12187 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12189 * gettext.C: include LString.h even when --disable-nls is on.
12191 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12193 * converter.h (Get): changed argument type from int to
12194 FormatList::size_type to avoid unnecessary conversion.
12196 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12199 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12201 * gettext.h: include LString.h even when --disable-nls is on.
12203 2001-06-07 Juergen Vigna <jug@sad.it>
12205 * text.C (BreakAgain): subst spaces with tabs.
12207 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12208 (resizeInsetsLyXText): set force on resizeLyXText.
12210 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12212 * gettext.h (gettext_init):
12213 (locale_init): use a real definition instead of a macro
12215 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12217 * Bufferview_pimpl.C:
12219 * LColor.C: further lcolor tidies
12221 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12223 * BufferView_pimpl.C (updateScrollbar): simplify.
12225 * BufferView2.C: don't include insets/insetinfo.h, change
12226 prototype for insertInset and call the Pimpl version. let
12227 updateInset call Pimpl version.
12229 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12230 gotoInset to BufferView::Pimpl
12232 2001-06-01 Juergen Vigna <jug@sad.it>
12234 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12235 inside a LockingInset (is the update needed at all?).
12237 2001-05-31 Juergen Vigna <jug@sad.it>
12239 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12240 here not the old one otherwise how should we compare it afterwards
12243 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12248 * FontInfo.C: bring C functions into global namespace when
12251 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12253 * LString.h: make sure config.h has been loaded before LString.h.
12255 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12256 (one for each char read by EatLine!).
12258 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12261 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12263 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12264 to the same as the par we break from
12266 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12268 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12270 * MenuBackend.C (expand): also create menu entries for wide
12271 versions of the floats.
12273 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12275 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12277 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12278 frontends/Makefile.am
12284 * tabular.C (getTokenValue): add std::
12286 * tabular-old.C (getTokenValue): add std::
12287 (getTokenValue): ditto
12288 (getTokenValue): ditto
12290 * screen.C (ToggleSelection): adjust
12292 * lyxtext.h: put selection cursors inside a Selection struct.
12294 * lyxfunc.C (moveCursorUpdate): adjust
12296 * lyxfont.C (latexWriteStartChanges): add std::
12298 * lyxfind.C: adjust
12300 * font.h: delete with(char const *, LyXFont const &)
12302 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12304 * FontInfo.C (getFontname): add std::
12306 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12307 (workAreaButtonPress): adjust
12308 (tripleClick): adjust
12310 (moveCursorUpdate): adjust
12313 * BufferView2.C (gotoInset): adjust
12315 2001-05-30 Juergen Vigna <jug@sad.it>
12317 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12318 to check pspell I add this as default as I now have new pspell
12319 libraries and they seem to use this.
12321 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12323 * text2.C (CutSelection): make the cursor valid before the call to
12326 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12328 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12329 relied on 0 terminated strings and other horrors. Bug found due to
12330 the new assert in lyxstring!
12332 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12335 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12337 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12340 * lyxfunc.C (processKeySym): change method of getting to the
12343 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12344 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12345 * BufferView_pimpl.[Ch]: here as private methods.
12347 2001-05-28 Juergen Vigna <jug@sad.it>
12349 * text.C (SetHeightOfRow): added the update() call again as it is
12350 needed to initialize inset dimensions!
12352 2001-05-16 Juergen Vigna <jug@sad.it>
12354 * text2.C (SetCharFont): Add new function with BufferView * and
12355 bool toggleall parameters for setting insets internal fonts.
12356 (SetFont): Freeze the undo as we may change fonts in Insets and
12357 all this change should be inside only one Undo!
12359 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12360 setting font's in insets as for them we have the SetFont function!
12362 2001-05-15 Juergen Vigna <jug@sad.it>
12364 * text2.C (ClearSelection): to be sure we REALLY don't have any
12367 * tabular.C (TeXCellPreamble): fixed the left border problem for
12370 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12372 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12375 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12377 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12378 LFUN_BREAKPARAGRAPH.
12380 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12381 help test to "internal only", similar for LFUN_INSERT_URL
12383 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12384 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12385 auto_region_delete and deadkeys.
12387 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12390 * LColor.C: remove some dead entries, tidy a little
12392 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12394 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12396 (Dispatch): implement LFUN_ESCAPE
12398 * commandtags.h: add LFUN_ESCAPE
12400 * LyXAction.C (init): add entry for LFUN_ESCAPE
12402 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12403 Remove commented code.
12404 (insertNote): moved here
12405 (open_new_inset): moved here
12407 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12410 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12412 * kbmap.C (findbinding): clean it up and make it work correctly.
12414 * lyx_main.C (init): do not pass argc and argv as parameters
12416 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12418 * buffer.C: fix path for OS/2 & Win32
12422 * lyx_main.C: Added os:: class.
12424 * os2_defines.h: update
12426 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12428 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12429 better by trying again with reduced state.
12431 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12433 * lyxrc.C (read): print error about invalid key sequence only when
12434 debugging (because not all latinX keysyms are known to some X
12437 * kbsequence.C (getiso): add a few std:: qualifiers
12438 (getiso): comment out extra return statement.
12440 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12442 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12444 (Dispatch): enhance the accent inset a bit. (not perfect)
12446 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12448 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12450 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12452 * bufferlist.C (emergencyWrite): fix assert() call
12454 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12456 * text.C (InsertChar): Added trivial patch to only send the "you
12457 can not do multiple spaces this way" message once during a
12460 2001-05-08 Baruch Even <baruch@lyx.org>
12462 * Makefile.am: Changed order of libraries to get LyX to link properly
12463 with the gnome frontend.
12465 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12467 * LaTeXFeatures.h: add a std:: qualifier
12469 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12471 * paragraph.C (String): use stringstream
12473 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12475 * paragraph.C (writeFile): remove footflag arg
12477 * buffer.C (makeLaTeXFile): use stringstream
12478 (latexParagraphs): remove footnot gurba
12480 * LaTeXFeatures.C (getPackages): use stringstream
12481 (getMacros): likewise
12482 (getTClassPreamble): likewise
12483 (getFloatDefinitions): new method
12485 * paragraph.C (writeFile): reindent
12488 * WorkArea.h: revert the xpos + etc changes.
12490 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12492 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12494 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12495 (pasteSelection): likewise
12496 * text2.C (CreateUndo): likewise
12498 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12500 * minibuffer.C (peek_event): temporarily reduce the functionality
12501 of the minibuffer (to allow args on lfuns)
12503 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12504 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12506 * buffer.C (readInset): add compability reading of old float
12507 lists, add reading of new style float list.
12508 (readInset): avoid reevaluation of inscmd.getCmdName()
12509 (getLists): reindent
12511 * MenuBackend.C (MenuItem): implement parsing of
12512 md_floatlistinsert and md_floatinsert.
12513 (expand::LastFiles): move initalizaton of iterators out of loop,
12514 avoid reevaluation.
12515 (expand::Documents): introduce typdedef vector<string> Strings,
12517 (expand::ExportFormats): introduce typedef vector<Format const *>
12518 Formats, and use it.
12519 (expand): implement FloatListInsert and FloatInsert.
12521 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12522 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12523 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12525 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12527 (Dispatch::LFUN_FLOAT_LIST): implement
12529 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12531 * LaTeX.C (run): Fix problem with --export code.
12533 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12535 * BufferView.[Ch] (workarea): removed.
12536 (getClipboard) new method; wrapper for workarea()->getClipboard()
12538 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12541 * WorkArea.h (width, height, xpos, ypos): These methods all
12542 returned the dimensions of the work_area sub-area of WorkArea,
12543 resulting in a position error if the WorkArea were resized. Now
12544 return the dimensions of the entire WorkArea.
12546 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12548 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12550 * LaTeX.C (deplog): correct the syntax of regex reg1
12552 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12554 * undo.C: remove !NEW_INSETS cruft
12556 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12558 * text2.C: remove !NEW_INSETS cruft
12560 * text.C: remove !NEW_INSETS cruft
12562 * tabular.C: remove !NEW_INSETS cruft
12564 * spellchecker.C: remove !NEW_INSETS cruft
12566 * lyxtext.h: remove !NEW_INSETS cruft
12568 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12570 * lyxfunc.C: remove !NEW_INSETS cruft
12572 * lyxfind.C: remove !NEW_INSETS cruft
12574 * lyx_cb.C: remove !NEW_INSETS cruft
12576 * figureForm.C: remove !NEW_INSETS cruft
12578 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12580 * buffer.[Ch]: remove !NEW_INSETS cruft
12582 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12584 * CutAndPaste.C: remove !NEW_INSETS cruft
12586 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12588 * BufferView2.C: remove !NEW_INSETS cruft
12590 * BufferView.h: remove !NEW_INSETS cruft
12592 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12594 * Lsstream.h: include LString.h before the sstream headers to
12595 fix problem with gcc 2.95.3 and lyxstring
12597 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12599 * lyx_main.C: add using directives when needed for C functions
12600 declared in std:: namespace.
12602 2001-04-27 Juergen Vigna <jug@sad.it>
12604 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12605 (SetHeightOfRow): comment out the update call should not be needed!
12607 2001-04-13 Juergen Vigna <jug@sad.it>
12609 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12610 (LyXTabular): tried to minimize operator= operations (and realized
12611 hopfully Lars wish).
12613 2001-04-27 Juergen Vigna <jug@sad.it>
12615 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12617 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12619 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12621 * buffer.C (readInset): hack to make listof algorithm work
12623 * BufferView_pimpl.C: hack to make listof algorithm work
12625 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12627 * LyXAction.C: removed all !NEW_INSETS cruft
12628 (init): moved lfun_item in method
12630 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12632 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12634 * BufferView2.C (theLockingInset): white space.
12636 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12638 * minibuffer.C: include <iostream>
12640 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12642 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12644 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12646 * text.[Ch] (TransposeChars): new method
12648 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12650 * call message directly through LyXView instead of through LyXFunc
12651 * BufferView2.C: adjust
12652 * BufferView_pimpl.C: adjust
12653 * FontLoader.C: adjust
12655 * bufferview_funcs.C: adjust
12656 * converter.C: adjust
12657 * figureForm.C: adjust
12658 * importer.C: adjust
12660 * lyx_gui_misc.C: adjust
12661 * lyxfunc.C: adjust
12664 + more files in subdirs
12666 * lyxparagraph.h (size): move up int file
12669 * adjust all uses of Assert to lyx::Assert.
12671 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12672 lyxfunctional in namespace lyx
12673 * layout.C (hasLayout): ditto
12676 (delete_layout): ditto
12677 (NumberOfClass): ditto
12678 * converter.C (GetFormat): ditto
12683 * bufferlist.C (getFileNames): ditto
12684 (emergencyWriteAll): ditto
12687 * MenuBackend.C (hasSubmenu): ditto
12690 * BufferView_pimpl.C (getInsetByCode): ditto
12692 2001-04-18 Juergen Vigna <jug@sad.it>
12694 * vspace.C (asLatexString): fixed the 100% problem.
12696 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12698 * lyxfunc.C (Dispatch):
12700 * minibuffer.h: add a few std:: qualifiers
12702 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12704 * minibuffer.[Ch]: reimplement so that commands is initiated and
12705 run from lyxfunc, simplified som handling, and made the completion
12706 and history code for complete. wip.
12708 * lyxfunc.C (processKeySym): call message
12709 (miniDispatch): new temporary method
12710 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12711 (LFUN_MESSAGE): implement
12712 (LFUN_MESSAGE_PUSH): implement
12713 (LFUN_MESSAGE_POP): implement
12714 (initMiniBuffer): the initial/defualt minibuffer message.
12716 * lyxfont.[Ch]: inline some more getters
12718 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12720 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12722 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12723 (AutoSave): use LFUN_MESSAGE
12724 (Reconfigure): ditto
12726 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12728 * figureForm.C: use LFUN_MESSAGE
12730 * converter.C (runLaTeX): use LFUN_MESSAGE
12732 * bufferview_funcs.C: use LFUN_MESSAGE
12734 (changeDepth): ditto
12736 * bufferparams.h: use boost::
12738 * bufferlist.h: inherit privately from noncopyable
12740 * bufferlist.C (loadLyXFile): remove some commented code.
12742 * buffer.C (runChktex): use LFUN_MESSAGE
12744 * ShareContainer.h: inherit privately from noncopyable
12746 * ParagraphParameters.[hC] (depth): inline it.
12748 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12750 (message): new method
12751 (messagePush): ditto
12752 (messagePop): ditto
12753 (show): init minibuffer
12754 (showState): direct call
12756 * LaTeX.[Ch]: inherit privately from noncopyable
12757 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12758 instead of WriteStatus.
12760 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12762 * BufferView_pimpl.C (buffer): don't init minibuffer
12763 (workAreaButtonPress): use LFUN_MESSAGE
12764 (workAreaButtonRelease): ditto
12765 (savePosition): ditto
12766 (restorePosition): ditto
12767 (MenuInsertLyXFile): ditto
12768 (workAreaExpose): don't init minibuffer
12769 (update): remove commented code, simplify
12771 * BufferView2.C (openStuff): use LFUN_MESSAGE
12772 (toggleFloat): ditto
12775 (copyEnvironment): ditto
12776 (pasteEnvironment): ditto
12781 (updateInset): remove some commented code
12783 * lastfiles.h: inherit privately from noncopyable
12786 * lyx_main.h: ditto
12788 * lyxlex_pimpl.h: ditto
12790 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12791 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12792 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12794 * LyXAction.h: inherit privately from noncopyable, add methods
12795 func_begin, func_end, returning iterators to the func map.
12797 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12798 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12799 (func_begin): new method
12800 (func_end): new method
12802 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12804 (copySelection): ditto
12805 (pasteSelection): ditto
12807 * BufferView.C: whitespace change
12808 * BufferView.h: inherit privately from noncopyable
12810 2001-04-16 Allan Rae <rae@lyx.org>
12812 * tabular-old.C (l_getline):
12813 * spellchecker.C (sc_check_word):
12814 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12815 an unrecognised preprocessor directive. So ensure they're wrapped.
12817 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12819 * src/exporter.C (Export): Give an error message when path to file
12822 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12824 * LaTeX.C (deplog): Always check that foundfile exists.
12826 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12829 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12831 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12833 * tabular.[Ch] (getLabelList): implement new method
12835 * minibuffer.h: comment ouf setTiimer
12837 * minibuffer.C (ExecutingCB): constify res
12838 (peek_event): constify s
12839 (Set): constify ntext
12840 (Init): constify nicename
12842 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12844 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12845 (savePosition): use two params to Minibuffer::Set
12846 (restorePosition): ditto
12848 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12850 * lyx_main.C: include language.h
12852 * Makefile.am (lyx_main.o): add language.h
12854 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12860 * CutAndPaste.C: include gettext.h
12862 * lyxfont.h: remove old hack with ON and OFF.
12865 * lyxfont.h: do not include language.h...
12870 * bufferview_funcs.C:
12876 * paragraph.C: ... but do it here instead
12878 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12880 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12882 * tabular.C: small reformat
12884 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12887 (BreakParagraph): ditto
12888 (SetOnlyLayout): ditto
12891 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12894 * lastfiles.C: removed most using decl, add std:: where needed
12896 * buffer.C: ws changes
12898 * MenuBackend.C (class compare_format): put into anon namespace
12899 (expand): constify label, names, action, action2
12902 * text.C (SingleWidth): constify font
12903 (IsBoundary): constify rtl2
12904 (GetVisibleRow): constify ww
12906 * LaTeX.C (deplog): constify logfile
12908 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12910 (workAreaExpose): constify widthChange, heightChange
12912 * lyxrow.C (par): moved
12915 * lyxrow.h: as inlines here
12917 * lyxfont.h (shape): moved from lyxfont.C
12918 (emph): moved from lyxfont.C
12920 * lyxfont.C (LyXFont): use initialization list for all
12922 (shape): move to lyxfont.h as inline
12923 (emph): move to lyxfont.h as inline
12926 2001-04-04 Juergen Vigna <jug@sad.it>
12928 * vspace.C: had to include stdio.h for use of sscanf
12930 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12933 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12934 independent of xforms.
12936 2001-04-02 Juergen Vigna <jug@sad.it>
12938 * spellchecker.C: fixed namespace placing!
12940 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12942 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12943 the LyXParagraph * is 0.
12945 2001-03-29 Juergen Vigna <jug@sad.it>
12947 * vspace.C: added support for %, c%, p%, l%.
12948 (stringFromUnit): added helper function.
12949 (asLatexString): changed to give right results for the %-values.
12951 * buffer.C: convert the widthp in a width%.
12953 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12955 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12958 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12959 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12961 * lyx_cb.[Ch]: see above.
12963 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12967 * lyx.[Ch]: replaced by figure_form.[Ch].
12971 * lyxfunc.C: changed headers associated with above changes.
12973 2001-03-27 Juergen Vigna <jug@sad.it>
12975 * BufferView_pimpl.C: set the temporary cursor right!
12977 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12979 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12981 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12983 * LString.h: removed "using std::getline"!
12985 * BufferView_pimpl.C (Dispatch): changes due to changes in
12986 InsetInclude::Params.
12988 * buffer.C (tag_name): removed redundant break statements as they were
12989 producing lots of warnings with my compiler.
12991 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12993 * LString.h: add "using std::getline" when using the real <string>.
12995 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12997 * buffer.C: removed bitset usage.
12998 PAR_TAG moved to an anonymous name space.
12999 (tag_name): new funtion, also in the anonymous namespace.
13000 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13001 (makeDocBookFile): clean code. Completed transition from string arrays
13003 (SimpleDocBookOnePar): code clean.
13005 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13007 * tabular.C: add some comments.
13009 2001-03-22 Juergen Vigna <jug@sad.it>
13011 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13012 compatibility read a bit and fixed bug with minipage in different
13015 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13017 * buffer.C (pop_tag): removed.
13018 (push_tag): removed.
13019 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13020 array replaced with vector. Added support for CDATA sections.
13021 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13023 (makeDocBookFile): XML conformant declaration of CDATA section,
13024 fixed bug related to <emphasis> in the first paragraph char.
13025 (sgmlOpenTag): exclude empty tags.
13026 (sgmlCloseTag): ditto.
13028 * buffer.h (pop_tag): removed.
13029 (push_tag): removed.
13031 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13033 * language.h (Languages): added size_type and size().
13035 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13037 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13038 response on compability reading of minipages. One probliem is that
13039 the old usage of minipages was «flertydig»
13041 * several files here and in subdirs: don't use static at file
13042 scope use anon namespaces instead.
13044 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13046 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13047 LaTeX output. This is necessary for Literate document
13050 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13052 * buffer.C: insert hfill when needed.
13054 * tabular.C (l_getline): use string::erase, small whitespace change.
13056 * BufferView_pimpl.C: try the anon namespace.
13057 * WorkArea.C: ditto
13059 2001-03-16 Juergen Vigna <jug@sad.it>
13061 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13062 otherwise it won't open options-dialogs.
13064 * buffer.C: honor pextraWidth(p) on converting minipages.
13066 * tabular.C (l_getline): changed the functions to strip trailing \r.
13068 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13070 * BufferView_pimpl.C:
13071 * minibuffer..C: added "using SigC::slot" declaration.
13073 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13075 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13081 * paragraph.C: ditto
13083 * lyxtext.h: NO_PEXTRA
13085 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13087 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13088 * ParameterStruct.h: ditto
13089 * ParagraphParameters.h: ditto
13090 * lyxparagraph.h: ditto
13092 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13094 * buffer.C: add compability for minipage alignment.
13095 (latexParagraphs): remove unwanted pextra check.
13097 * several files: remove CXX_WORKING_NAMESPACES
13099 * buffer.C (pop_tag): tie is in namespace boost
13101 * BufferView.h: noncopyable is in namespace boost
13103 * lyx_main.h: ditto
13106 * lastfiles.h: ditto
13107 * bufferlist.h: ditto
13108 * ShareContainer.h: ditto
13110 * LyXAction.h: ditto
13113 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13115 * Merging changes from BRANCH_MVC back into HEAD.
13117 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13119 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13121 * BufferView_pimpl.C: change from intl.C
13125 * Makefile.am: move combox.*
13131 * intl.C: remove dialog (covered by prefs)
13133 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13135 * lyxfunc.C (Dispatch): removed redundant break statement.
13137 2001-03-14 Juergen Vigna <jug@sad.it>
13139 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13141 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13143 * buffer.C: add hack to fix compability reading of minipages.
13145 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13147 * buffer.C (getLists): Cleanup.
13149 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13151 * lyxfont.C (update): don't honor toggleall on font size.
13153 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13157 * Makefile.am: moved to frontends/xforms/
13161 * BufferView_pimpl.C: changes for moved mathpanel
13163 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13165 * gettext.h: fix gettext_init() in --disable-nls
13167 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13169 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13171 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13174 * lyx.h: strip external form
13176 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13178 * BufferView_pimpl.C: add comment, destroySplash()
13180 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13182 * BufferView_pimpl.C:
13186 * lyxfunc.C: use re-worked insetinclude
13188 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13190 * buffer.C: add using std::stringstream.
13192 * lyx_cb.C: readd using std::ios.
13194 * buffer.C: add using std::map.
13196 * BufferView_pimpl.C: add using std::vector.
13198 * ShareContainer.h: add std:: to swap.
13200 * buffer.h: add some typedefs
13201 * buffer.C (getLists): use them
13202 (getLists): renamed from getTocList.
13203 add a counter for the different float types and use it in the
13205 (getLists): use the same counter for the NEW_INSETS and the "non"
13208 * lyx_cb.h: remove unused items, includes, using etc.
13210 * ShareContainer.h: remove some commented code, add more comments
13211 and "documentation".
13213 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13215 * buffer.C (getTocList): make the list also when NEW_INSETS is
13218 * buffer.h: remove TocType
13220 * buffer.C (getTocList): change to return a map<string,
13221 vector<TocItem> >, implement for dynamic number of list.
13223 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13224 * text2.C (PasteSelection): adjust
13225 * CutAndPaste.C (pasteSelection): adjust
13227 * FloatList.C (FloatList): update from the new_insets branch.
13228 * Floating.[Ch]: ditto
13229 * LaTeXFeatures.C: ditto
13231 * lyxlex_pimpl.C: ditto
13233 * paragraph.C (Last): remove when NEW_INSETS is defined.
13235 * other file: changes because of the above.
13237 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13239 * lyxparagraph.h: rename next to next_, previous to previous_,
13240 make them private for NEW_INSETS. Rename Next() to next(),
13241 Previous() to previous().
13243 * other files: changes because of the above.
13245 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13248 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13251 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13253 * main.C (main): pass lyx_localedir to gettext_init().
13255 * gettext.h: remove locale_init and gettext_init macros
13257 * gettext.C (locale_init): new function
13258 (gettext_init): new function
13260 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13263 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13265 * Moved credits to frontends:
13266 * credits.[Ch]: removed
13267 * credits_form.[Ch]: removed
13268 * lyx_gui_misc.C: remove credits stuff
13271 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13273 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13275 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13276 unneeded destructor.
13278 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13279 a standalone pointer again.
13281 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13283 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13289 * ToolbarDefaults.C:
13298 * BufferView_pimpl.C: use new file dialog in GUII
13301 * lyx_cb.C: remove LayoutsCB to Toolbar
13303 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13305 * ShareContainer.h (get): add std:: qualifier
13307 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13309 * ShareContainer.h: define a proper ShareContainer::value_type
13310 type (and use typename to please compaq cxx)
13312 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13314 * lyxparagraph.h: move serveral local vars to
13315 ParameterStruct/ParagraphParameters., use ShareContainer in
13316 FontTable., make vars in FontTable private and add getter and
13319 * paragraph.C: changes because of the above.
13321 * lyxfont.h: remove copy constructor and copy assignment. (the
13322 default ones is ok), move number inside FontBits. move inlines to
13325 * lyxfont.C: add number to initializaton of statics, move several
13326 inlines here. constify several local vars. some whitespace
13327 cleanup. Dont hide outerscope variables.
13329 * Spacing.h: add two new constructors to match the set methods.
13331 * ShareContainer.h: new file, will perhaps be moved to support
13333 * ParameterStruct.h: new file
13335 * ParagraphParameters.h: new file
13337 * ParagraphParameters.C: new file
13339 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13340 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13342 * BufferView_pimpl.C: ParagraphParameter changes.
13343 * buffer.C: Likewise.
13344 * bufferview_funcs.C: Likewise.
13345 * text.C: Likewise.
13346 * text2.C: Likewise.
13348 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13350 * lyxfind.C (LyXReplace): do not redefine default argument in
13352 (IsStringInText): ditto
13353 (SearchForward): ditto
13354 (SearchBackward): ditto
13356 2001-03-06 Juergen Vigna <jug@sad.it>
13358 * lyxfind.C (IsStringInText): put parentes around expressions.
13360 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13362 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13364 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13366 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13368 * stl_string_fwd.h: add comment
13370 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13373 * tabular.C: remove unused DocBook methods
13379 killed DO_USE_DEFAULT_LANGUAGE
13381 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13383 * lyx_gui.C: do not include language.h.
13385 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13386 arguments in function implementation.
13388 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13390 * BufferView_pimpl.C: add <ctime>
13392 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13394 * BufferView_pimpl.C: add using std::find_if
13396 2001-02-27 José Matos <jamatos@fep.up.pt>
13398 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13401 2001-02-11 José Matos <jamatos@fep.up.pt>
13403 * buffer.C (makeDocBookFile): command styles now have a parameter as
13404 "title" by default.
13406 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13408 * layout_forms.[Ch]: removed
13409 * lyx_cb.[Ch]: out character
13410 * lyx_gui.C: out character
13411 * lyx_gui_misc.C: out character
13412 * bufferview_funcs.C: : out character,
13413 added toggleall as parameter in ToggleAndShow
13415 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13417 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13419 * text2.C (SetCurrentFont): Disable number property at boundary.
13421 2001-02-26 Juergen Vigna <jug@sad.it>
13423 * lyxfunc.C (getStatus): added a string argument override function so
13424 that this is correctly called from LyXFunc::Dispatch if it contains a
13425 do_not_use_argument which is used!
13426 (Dispatch): added check for "custom" export and call appropriate func.
13428 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13430 * lyxrc.C: Add language_command_local, language_use_babel and
13431 language_global_options.
13433 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13435 * buffer.C (makeLaTeXFile): Use language_use_babel and
13436 language_global_options.
13438 2001-02-23 Juergen Vigna <jug@sad.it>
13440 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13441 which works with LyXText and putted it inside BufferView. Here now we
13442 only call for that part the BufferView::Dispatch() function.
13444 * BufferView.C (Dispatch): added.
13446 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13447 functions which needs to use a LyXText over from LyXFunc.
13448 (MenuInsertLyXFile): added
13449 (getInsetByCode): added
13450 (moveCursorUpdate): added
13451 (static TEXT): added
13453 2001-02-22 Juergen Vigna <jug@sad.it>
13455 * BufferView_pimpl.C (update): call a status update to see if LyXText
13458 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13460 * vc-backend.C (revert): implement for CVS
13461 (getLog): implement for CVS
13463 2001-02-20 Juergen Vigna <jug@sad.it>
13465 * text2.C (ClearSelection): added BufferView param for inset_owner call
13467 * lyxfunc.C (TEXT): added this function and use it instead of
13468 directly owner->view()-text of getLyXText().
13470 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13472 * src/layout_forms.C: out preamble
13473 * src/layout_forms.h: out preamble
13474 * src/lyx_cb.C: out preamble
13475 * src/lyx_cb.h: out preamble
13476 * src/lyx_gui.C: out preamble
13477 * src/lyx_gui_misc.C: out preamble
13478 * src/lyxfunc.C: connect with guii preamble
13480 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13482 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13484 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13486 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13487 whether to run bibtex.
13489 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13491 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13493 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13495 * Makefile.am (lyx_SOURCES): removed bibforms.h
13497 * vspace.h: doxygen
13499 * text.C (GetVisibleRow): make several local vars const
13501 * tabular.C: small cleanup.
13503 * lyxserver.C (callback): use compare instead of strncmp
13505 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13506 inlines to after class or to paragraph.C
13508 * lyxfont.h: remove friend operator!=
13510 * converter.h: move friend bool operator< to non friend and after
13513 * combox.h: small cleanup
13515 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13516 to inlines after class def.
13518 * buffer.C (pop_tag): use string operations instead of strcmp
13520 * bmtable.c: doxygen, small cleanup
13522 * LaTeX.h: remove friend operator==
13524 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13536 * BufferView_pimpl.C:
13537 * BufferView.[Ch]: remove cruft
13539 2001-02-14 Juergen Vigna <jug@sad.it>
13541 * lyxfunc.C: removed #if 0 unused code
13543 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13545 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13547 * text2.C (SetSelection): added a BufferView * parameter
13549 2001-02-13 Juergen Vigna <jug@sad.it>
13551 * lyxfunc.C (Dispatch): fixed protected blank problem.
13552 * BufferView2.C (protectedBlank): added LyxText * parameter.
13554 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13555 (AppendColumn): same as above for column_info.
13557 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13558 (moveCursorUpdate): use a LyXText param for support of InsetText.
13560 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13561 (tripleClick): ditto
13563 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13565 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13567 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13569 * text2.C (SetSelection): set correct update status if inset_owner
13570 (ToggleFree): ditto
13572 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13574 * tabular.C: remove some commented code.
13576 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13578 * BufferView_pimpl.C: call hideSplash()
13580 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13583 * bibforms.h: remove
13586 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13587 add LFUN_CHILD_CREATE
13589 * counters.h: fix tiny typo
13594 * lyx.C: move splash to frontends/xforms/
13596 * lyx_gui_misc.C: move Include and Bibform to frontends
13598 * lyxvc.h: clarify comment
13600 * vspace.C: tiny housekeeping
13602 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13604 * text.C (PrepareToPrint): RTL Fix.
13606 * paragraph.C (GetUChar): New method.
13607 (String): Use GetUChar.
13609 * buffer.C (asciiParagraph): Use GetUChar.
13611 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13613 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13615 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13618 * buffer.C: rename to getLogName(), handle
13619 build log / latex log nicely
13621 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13624 * MenuBackend.h: remove support for reference menuitem type.
13626 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13628 * BufferView_pimpl.C: housekeeping
13629 * BufferView_pimpl.h:
13634 * minibuffer.h: move Timeout GUI-I
13636 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13638 * lyxrc.C (read): Update converters data-structures.
13640 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13642 * LaTeX.h (operator!=): add operator != for Aux_Info
13644 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13646 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13648 * LaTeXLog.C: deleted, useful code moved to Buffer
13651 * buffer.C: new function getLatexLogName()
13657 * lyxfunc.C: use frontends for LaTeX and VC logs
13659 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13661 * LaTeX.h: yet another std:: that Allan forgot.
13663 * Variables.C (set): renamed from isset(), because this clashes
13664 with some HP-UX macros (grr).
13666 2001-02-06 Allan Rae <rae@lyx.org>
13668 * LaTeX.h: Another bug fix. Missing std:: this time.
13670 2001-02-04 Allan Rae <rae@lyx.org>
13672 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13673 floats problem. I've left it commented out because it's not quite
13674 correct. It should also test that the current object is a table or
13675 figure inset. But I haven't gotten around to figuring out how to do
13676 that. I *think* it'll be something like: "table" == inset.type()
13678 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13681 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13683 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13684 all the citation/databases/styles in the auxilary file.
13685 (run): Rerun latex if there was a babel language error.
13687 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13689 * text.C (Backspace): Preserve the font when changing newline char
13691 (BreakParagraph): If the cursor is before a space, delete the space.
13693 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13695 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13697 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13698 new argument (code).
13699 (ChangeCitationsIfUnique): New method.
13701 * paragraph.C (GetPositionOfInset): Handle bibkey.
13703 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13705 * BufferView_pimpl.h: change type of Position::par_pos to
13706 LyXParagraph::size_type.
13708 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13710 * BufferView_pimpl.C (savePosition, restorePosition): Write
13711 messages to minibuffer.
13713 2001-01-28 José Matos <jamatos@fep.up.pt>
13715 * buffer.C (makeDocBookFile): adds support for document language.
13716 A silly restriction on the name of LatexCommand types where removed.
13717 Added support for CDATA sections, allows to chars unescaped, used
13718 among others in code, to avoid escape < and >.
13720 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13722 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13723 saved positions instrad of a stack. Furthermore, a position is
13724 stored using paragraph id/paragraph position.
13726 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13727 Remove LFUN_REF_BACK.
13729 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13731 * converter.C (dvipdfm_options): New method.
13733 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13735 * vspace.C (isValidLength): Fix for empty input string.
13737 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13739 * LyXAction.C (init): change description of LFUN_FIGURE to
13742 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13744 * LaTeX.C: add using directive
13746 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13748 * MenuBackend.C (expand): Fix the sorting of the formats.
13750 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13752 * lyx_main.C: tiny error message fix
13754 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13756 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13757 calling fl_initialize(). This fixes the problem with ',' as
13758 decimal separator in text files.
13760 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13762 * trans.C (process): Fix the keymap bug.
13764 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13766 * LaTeX.C (scanAuxFiles): New method. Provides support for
13767 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13768 (scanLogFile) Scan for "run BibTeX" messages.
13770 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13771 OT1 font encoding. Also, load the aecompl package if the ae
13774 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13776 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13778 * texrow.C (increasePos): turn two error messages into debug
13781 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13783 * LaTeX.C (scanAux): Handle the \@input macro.
13784 (runBibTeX): Use scanAux().
13786 * language.C (latex_options_): New field.
13788 * LaTeXFeatures.C (getMacros): Add language macros.
13790 * buffer.C (makeLaTeXFile): Small fix.
13792 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13794 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13796 * text2.C: add a using directive.
13798 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13803 * lyxfunc.C: kill LyXBell.
13805 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13807 * text.C (IsBoundary): Remove the error message
13809 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13811 * lyxrc.C (setDefaults): Correct initialization value for
13814 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13816 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13819 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13820 and GotoNextNote().
13822 * src/LyXAction.C: Added reference-next.
13824 * text.C (InsertChar): Use contains instead of strchr.
13826 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13828 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13830 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13831 alignment commands (when needed).
13833 * text.C (InsertChar): Add ':' to number separator chars.