1 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * dispatchresult.h: add a val setter
5 * cursor.C (dispatch): use a tempvar for data_[i]
7 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
9 * PosIterator.[Ch]: compile fix
11 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
13 * text.C (cursorPar): deactivate the cursor cache
15 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
17 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
19 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
21 * text3.C (dispatch): adjust for new DisptchResult semantics.
23 * lyxfunc.C (dispatch): handle update when return from
24 Cursor::dispatch, adjust for new DispatchResult semantics.
26 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
27 DispatchResult(true) mean to not update. Add class functions for
28 setting dispatched and update, as well as reading.
30 * cursor.C (dispatch): don't handle update here
32 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
34 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
37 * paragraph_funcs.C (readParToken): exception safety
39 * lyxvc.h: store the vcs pointer in a scoped_ptr
42 * lyxsocket.C (serverCallback): exception safety
44 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
46 * ispell.C (clone): make it return a auto_ptr
48 * factory.C (createInset): exception safety
49 (readInset): exception safety
51 * bufferlist.C (newBuffer): exception safety
53 * Thesaurus.C (Thesaurus): use initialization for aik_
55 * MenuBackend.C (expandToc): exception safety.
57 2003-11-03 André Pönitz <poenitz@gmx.net>
61 * bufferview_funcs.C: remove getInsetFromId()
64 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
70 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
72 * PosIterator.C (distance, advance): new
73 * bufferview_funcs.[Ch] (put_selection_at): new
74 * iterators.[Ch] (lockPath): new
76 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
78 * iterators.[Ch] (asPosIterator): added
79 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
80 * PosIterator.[Ch]: added
82 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
86 * cursor.C (dispatch):
87 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
89 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
90 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
91 contructor, add a class function dispatched. Remove operator>=
93 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
95 * debug.C: only use the default constructor for debugstream
98 * main.C (main): include debug.h and setup the lyxerr streambuf
101 2003-10-31 José Matos <jamatos@lyx.org>
103 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
105 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
106 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
107 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
108 * paragraph_pimpl.C (simpleTeXSpecialC):
109 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
110 add LatexRunParams argument.
112 * exporter.C (Export): change call accordingly.
114 * latexrunparams.h: add new member to take care of the other backends.
115 2003-10-30 José Matos <jamatos@lyx.org>
117 * buffer.C (makeLinuxDocFile, makeDocBookFile):
118 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
119 factorise code for paragraph output.
121 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
124 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
126 * text3.C (dispatch):
127 * lyxfunc.C (dispatch):
128 * cursor.C (dispatch):
129 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
131 * dispatchresult.h: make the dispatch_result_t ctor explicit
133 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
136 * buffer.C: small refactoring of docbook stuff
138 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
140 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
143 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
145 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
146 operator dispatch_result_t, and operators for == != and >=
148 * cursor.C (dispatch): adjust for operator dispatch_result_t
149 removal. comment out call to update
151 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
153 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
161 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
164 * dispatchresult.h: new file, DispatchResult broken out of
167 * Makefile.am (lyx_SOURCES): add dispatchresult.h
169 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
171 * text.C (rowBreakPoint): put a hack inside #if 0
173 2003-10-28 André Pönitz <poenitz@gmx.net>
180 * text2.C: general cleanup (lots of small stuff)
182 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
184 * text2.C (cursorEnd): simple fix to the "end key goes to one
185 before the end on last row" bug
187 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
189 * text.C (backspace): fix the "zombie characters"
191 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
193 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
195 2003-10-27 André Pönitz <poenitz@gmx.net>
197 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
199 * factory.C: handle new InsetPagebreak, InsetLine
201 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
202 and move handling into new InsetPagebreak, InsetLine
204 * BufferView_pimpl.C:
206 * ParagraphParameters.C:
219 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
228 * text3.C: remove lastPos uses in favour of Row::endpos
230 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
232 * undo.C (performUndoOrRedo): fix two crashes by setting a
233 cursor by hand and reordering some calls. Use bv->lockInset instead
234 of inset->edit because the latter loses cursor information
236 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
238 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
240 (rowBreakPoint): fix width. change point to point + 1.
243 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
246 * lyxfunc.C: fix (at least partly) the problems
247 with the Nav menu and headers inside branch insets
250 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
252 * paragraph.C (getChar): add strong asserts
254 * lyxrow_funcs.C (lastPos): remove hideous hack
256 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
257 (fill): adjust to that (avoid an infinite loop)
259 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
261 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
263 2003-10-23 André Pönitz <poenitz@gmx.net>
265 * RowList_fwd.h: change list<> to vector<> to gain speed
266 after suggestion from Alfredo
268 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
270 * lyxtext.h: move the bidi stuff from here...
273 * Bidi.[Ch]: ... to here
275 2003-10-23 André Pönitz <poenitz@gmx.net>
278 * text.C (isLastRow, isFirstRow): new functions
280 * paragraph.h: new width cache member
282 * rowpainter.C: replace RowList::iterator with Row & where possible
284 * lyxfunc.C: replace several view()->text with a single call
286 * toc.C: fix 'unused' warning
288 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
290 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
291 when woring with stream::pos_type
292 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
294 2003-10-22 André Pönitz <poenitz@gmx.net>
297 * text.C: use Row & instead of RowList::iterator
299 * lyxrow.h: rename end() to endpos()
305 2003-10-22 Angus Leeming <leeming@lyx.org>
307 * buffer.[Ch] (fully_loaded): new member function, returning true
308 only when the file has been loaded fully.
309 Used to prevent the premature generation of previews and by the
310 citation inset to prevent computation of the natbib-style label.
312 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
313 templates are all set up.
315 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
317 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
319 * text.C: fixed an "oops" in the "is a bit silly"
322 2003-10-21 André Pönitz <poenitz@gmx.net>
324 * FuncStatus.[Ch]: small stuff, whitespace
326 * lyxfont.[Ch]: operator<<() for debug reasons
330 * lyxtext.h: whitespace, spelling
332 * paragraph.C: naming of variables
335 * text2.C: small stuff
338 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
340 * text.C: (1) finish off the inset display() work;
341 (2) fix the "is a bit silly" bug (accessing char
344 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
346 * text.C: re-introduce display() for insets, fixing the
347 various bugs (stretch of line above, math inset
350 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
352 * text.C (rightMargin): remove spurious semicolon
354 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
357 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
359 * text3.C: fix one crash due to wrong cursor def
361 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
363 * vc-backend.C (scanMaster): make the regex static
365 * LaTeX.C (scanAuxFile): make the regexs static
367 * text3.C (doInsertInset, dispatch, dispatch):
368 * text2.C (cursorUp, cursorDown):
369 * text.C (selectNextWordToSpellcheck):
370 * BufferView_pimpl.C (dispatch):
371 * lyxfunc.C (dispatch): localDispatch -> dispatch
373 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
375 * lyxsocket.C: include <cerrno>
377 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
379 * lyxfunc.C (dispatch): remove textcache stuff
381 * bufferlist.C (release): remove textcache stuff
384 * TextCache.C: delete file
385 * TextCache.h: delete file
387 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
389 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
390 delete of the bv_->text.
391 (resizeCurrentBuffer): remove texcache stuff
392 (workAreaResize): ditto
394 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
396 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
399 2003-10-16 André Pönitz <poenitz@gmx.net>
406 * text3.C: speed up by storing y positions per paragraph plus per-row
407 offset instead of having a 'full' y position in the row.
409 2003-10-15 André Pönitz <poenitz@gmx.net>
413 * undo.[Ch]: make undo aware of inner insets
415 2003-10-14 Angus Leeming <leeming@lyx.org>
417 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
418 static member functions LyX::ref() and LyX::cref.
419 (lastfiles): new accessor functions for the new lastfiles_ member var.
420 (addLyXView, views_): add a new LyXView to the list of views_.
421 (updateInset): loop over all LyXViews to call their own updateInset
422 member function, returning a pointer to the Buffer owning the inset.
424 * BufferView_pimpl.C (loadLyXFile):
425 * MenuBackend.C (expandLastfiles):
426 * bufferlist.C (MenuWrite, QuitLyX):
427 lastfiles is no longer a global variable.
428 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
430 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
431 static function. Access through LyX::cref().emergencyCleanup().
433 2003-10-14 André Pönitz <poenitz@gmx.net>
435 * iterators.[Ch]: new direct access to innermost LyXText and Inset
437 * undo.[Ch]: restoring part of 'undo in insets'
440 * undo_funcs.[Ch]: merge with undo.[Ch]
442 * tabular.C: small cleansing stuff
444 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
446 * paragraph_funcs.C (readParToken): report unknown insets as error
447 boxes. Use the outer paragraph as location (also for unknown
450 * factory.C (readInset): do not abort on reading an unknown inset.
453 2003-10-13 Angus Leeming <leeming@lyx.org>
455 * lyx_main.C (LyX): remove call to setDisplayTranslator().
457 * lyxrc.C: displayTranslator is now a function,
458 declared in GraphicsTypes.h.
460 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
462 * format.C: new placeholder $$a to pass the socket address.
464 * bufferlist.[Ch]: new function getBufferFromTmp.
466 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
467 files in the temporary dir.
469 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
471 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
473 * Makefile.am: add lyxsocket.[Ch].
475 * lyx_main.C (error_handler): handle SIGPIPE.
477 2003-10-13 André Pönitz <poenitz@gmx.net>
479 * BufferView_pimpl.C:
484 * undo_funcs.[Ch]: use paroffset_type instead of
485 ParagraphList::iterators to prevent multiple conversion
486 (and get a more robust interface)
488 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
490 * lyxfunc.C (dispatch): RESULT -> dispatch_result
492 * text3.C (dispatch): ditto
494 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
496 * LaTeX.C (handleFoundFile): move the static to smaller scope,
497 move the onlyfile, use onlyfile instead of foundfile in a couple
500 * DepTable.C (update): flush the error stream a bit more
502 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
504 * lyxserver.C (callback): adjust
506 * lyxfunc.C (getStatus): add a missing brace in commented code
507 (ensureBufferClean): reindent
508 (dispatch): delete version taking a string
510 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
512 * LaTeX.C (deplog): move found file handlig from here...
513 (handleFoundFile): .. to new function here.
514 (deplog): make sure to discover several files mentioned on the
517 2003-10-10 André Pönitz <poenitz@gmx.net>
524 * text3.C: fix some of the tabular crashes
526 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
528 * MenuBackend.C (binding): put debug message into Debug::KBMAP
530 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
532 2003-10-09 André Pönitz <poenitz@gmx.net>
534 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
537 * BufferView_pimpl.C:
538 * bufferview_funcs.C:
549 * undo_funcs.C: adjust
551 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
553 * text2.C (incrementItemDepth): new function, use a backtracking
554 algorithm to discover the correct item depth.
555 (resetEnumCounterIfNeeded): new function, use a backtracking
556 algorithm to discover if counter reset is needed.
557 (setCounter): use them. Simplify a bit. Add different labels for
558 different item depths for itemize.
560 * paragraph.C (Paragraph): remove initialization of enumdepth
563 * paragraph.h: get rid of enumdepth, and use itemdepth both for
564 enumerate and itemize. Change the type of itemdepth to signed char.
566 2003-10-08 André Pönitz <poenitz@gmx.net>
568 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
573 * tabular.[Ch]: fix crash after 'row-insert'
575 2003-10-08 Angus Leeming <leeming@lyx.org>
577 Fix doxygen warnings.
579 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
580 Remove CutAndPaste:: prefix from header file declaration.
582 * LColor.h (fill): remove LColor:: prefix from declaration.
584 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
585 use lyx::depth_type rather than Paragraph::depth_type so that
586 header file and .C file match.
588 * converter.h (intToFormat): remove Converters:: prefix from declaration.
590 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
591 * aspell.C: \file aspell_local.C -> \file aspell.C
592 * gettext.C: \file gettext.C -> \file src/gettext.C
593 * gettext.h: \file gettext.h -> \file src/gettext.h
594 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
595 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
596 * text.C: \file text.C -> \file src/text.C
598 * toc.C: move comment so that doxygen is not confused.
600 2003-10-07 Angus Leeming <leeming@lyx.org>
602 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
604 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
607 * aspell_local.h: add forgotten std::string's.
609 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
616 * text3.C: The Box patch. Fancybox support, minipage, parbox
618 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
624 * ParagraphParameters.h:
634 * lyxtextclasslist.h:
638 * textcursor.h: add <string> and other small fixes to make Lars'
639 std::string patch compile with STLport.
641 2003-10-06 Angus Leeming <leeming@lyx.org>
643 * LColor.h: Add missing #include <string>.
645 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
647 * All most all file in all subdirs: Make <string> be the prefered
648 way of getting to std::string, add using declarations.
650 2003-10-06 André Pönitz <poenitz@gmx.net>
652 * metricsinfo.C: initialize LyXFont before changing attribute.
653 (fixes the 'math in \emph is upright' bug)
655 2003-10-06 André Pönitz <poenitz@gmx.net>
657 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
659 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
662 * paragraph_pimpl.C: Small fixes to build using STLport
664 2003-10-02 André Pönitz <poenitz@gmx.net>
667 * text3.C: move handling of LFUN_DEPTH *; fix #1360
669 2003-10-01 André Pönitz <poenitz@gmx.net>
671 * factory.C: assert early
673 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
675 * lyx_main.C: remove the global debug object
677 * debug.h: adjust for new debugstream
679 * debug.C: adjust for new debugstream and keep the global debug
682 2003-09-22 Angus Leeming <leeming@lyx.org>
684 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
685 of g++ which otherwise complain that the scoped_ptr destructor can't delete
686 an incomplete class LyXFont.
688 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
690 * factory.C: bug fix in branches
692 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
694 * lyxfunc.C (processKeySym): adjust
696 (dispatch): change arg name from ev to func, adjust
697 (sendDispatchMessage): ditto
699 * lyx_main.C (defaultKeyBindings): adjust keybindings
700 (deadKeyBindings): ditto
702 * kbsequence.C (addkey): return a FuncRequest
704 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
706 * kbmap.C (bind): take a FuncRequest as arg, adjust
709 (defkey): change to take a FuncRequest as arg, adjust
710 (findbinding): take a FuncRequest as arg, adjust.
712 * funcrequest.h (operator=): added
714 * funcrequest.C (FuncRequest): default kb_action changed from
715 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
717 * buffer.C (dispatch): simplify
718 (dispatch): adjust to take a FuncRequest as arg, adjust
720 * boost.C (assertion_failed): change assertion message slightly
722 * ToolbarBackend.C (read): simplify
724 * MenuBackend.C (binding): adjust call to findbinding, add a
725 message if no binding is found.
727 (expandToc): correct by adding a empty FuncRequest
729 * LyXAction.C: include <boost/assert.hpp>
730 (isPseudoAction): delete function
731 (LookupFunc): change name to...
732 (lookupFunc): this. change return type to FuncRequest.
733 (getActionName): take kb_action as arg, simplify
734 (funcHasFlag): add an assert, simplify.
736 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
738 * toc.C (action): return a FuncRequest, simplify
740 * lyxfunc.C (processKeySym): adjust
741 (getStatus): delete version that takes an int.
743 (dispatch): delete version that takes action as int
745 (sendDispatchMessage): simplify and adjust
747 * funcrequest.C (getArg): take unsigned int as arg
749 * ToolbarBackend.C (read): adjust
750 (add): delete version that takes func as a string.
751 (getIton): take a FuncRequest as arg
753 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
756 * MenuBackend.C (MenuItem): add a new construct that only takes a
757 Kind, simplify the constructor use for submenus.
759 (expandLastfiles): adjust
760 (expandDocuments): adjust
761 (expandFormats): adjust
762 (expandFloatListInsert): adjust
763 (expandFloatInsert): adjust
764 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
766 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
767 Remove class variables lyx_pseudo_map and lyx_arg_map
769 * LyXAction.C (searchActionArg): delete function
770 (getPseudoAction): delete function
771 (retrieveActionArg): delete function
772 (LookupFunc): make it return kb_action, simplify.
773 (getActionName): simplify
775 * factory.C (createInset): fix new bug
777 2003-09-19 Angus Leeming <leeming@lyx.org>
779 * CutAndPaste.C (pasteSelection): remove fudge used to set the
780 masterFilename_ parameter in the include inset.
782 * factory.C (createInset): changes due to the changes to InsetInclude.
784 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
786 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
788 2003-09-18 Angus Leeming <leeming@lyx.org>
791 * BufferView.C: pass the buffer when calling Inset::getLabelList,
792 Inset::fillWithBibKeys.
793 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
795 2003-09-18 Angus Leeming <leeming@lyx.org>
797 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
799 (ctor): pass and store a 'Buffer const &'
800 (buffer): new member function.
802 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
803 '*this' to the LaTeXFeatures ctor.
805 2003-09-18 Angus Leeming <leeming@lyx.org>
811 * text.C: rename EnumLColor as LColor_color.
813 2003-09-18 Angus Leeming <leeming@lyx.org>
815 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
816 remove #include "insets/insetbase.h" from cursor.h.
818 2003-09-18 Angus Leeming <leeming@lyx.org>
820 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
821 InsetOld_code to remove #include "inset.h".
823 * iterators.C: add #include "insets/inset.h"
825 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
827 * BufferView.C: remove more locking stuff that apparently doesn't
828 do anything sensible.
830 2003-09-16 André Pönitz <poenitz@gmx.net>
833 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
836 2003-09-16 Angus Leeming <leeming@lyx.org>
838 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
840 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
843 * paragraph.h: remove #include "lyxfont.h". Forward declare
846 2003-09-16 Angus Leeming <leeming@lyx.org>
848 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
849 of support/textutils.h.
850 (isWord): move the contents of support/textutils.h's IsWordChar here.
856 * text2.C: add #include "paragraph.h".
859 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
861 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
867 * LaTeX.C: use namespace alias for lyx::support::os
869 2003-09-16 Angus Leeming <leeming@lyx.org>
872 * bufferview_funcs.C:
877 * text.C: add #include "LColor.h".
879 2003-09-16 Angus Leeming <leeming@lyx.org>
881 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
882 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
884 Store the FontBits::color variable as an int rather than as an
885 LColor::colorso that we can move LColor.h out of the lyxfont.h header
888 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
889 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
890 string calls together.
892 * lyxrc.C: add #include "LColor.h".
894 2003-09-15 Angus Leeming <leeming@lyx.org>
896 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
899 2003-09-15 Angus Leeming <leeming@lyx.org>
901 * LColor.h: add an EnumLColor wrapper for LColor::color.
903 * lyxfont.[Ch] (color, setColor, realColor):
904 * lyxtext.h, text.C (backgroundColor):
905 pass EnumLColor args to/from the functions, rather than LColor::color
909 * lyxtext.h: forward declare EnumLColor.
911 * lyx_main.C: add #include "LColor.h".
913 2003-09-15 Angus Leeming <leeming@lyx.org>
915 * .cvsignore: add lyx-gtk.
917 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
922 * ParagraphParameters.C
936 * vc-backend.C: remove usage of STRCONV
938 2003-09-15 Angus Leeming <leeming@lyx.org>
940 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
941 explicitly define the color passed to the painter.
943 2003-09-15 Angus Leeming <leeming@lyx.org>
945 * bufferparams.C (BufferParams): reorder member initializers to avoid
948 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
950 * CutAndPaste.C (pasteSelection): remove an outdated #warning
951 * text.C (updateRowPositions): remove an unusual nop
953 2003-09-12 André Pönitz <poenitz@gmx.net>
955 * BufferView_pimpl.C:
964 * Counters.[Ch]: finish the 'automatic counters' job
966 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
968 * aspell.C: include <boost/assert.cpp> (compile fix)
970 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
972 * boost.C (assertion_failed): use lyx::support::abort instead of
975 2003-09-10 Angus Leeming <leeming@lyx.org>
977 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
978 with their _fwd progeny.
980 2003-09-09 Angus Leeming <leeming@lyx.org>
982 134 files throughtout the source tree: replace 'using namespace abc;'
983 directives with the appropriate 'using abc::xyz;' declarations.
985 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
987 * boost.C (emergencyCleanup): moved here from LAssert.c
988 (assertion_failed): new function, called by BOOST_ASSERT
990 * several files: change Assert to BOOST_ASSERT
992 2003-09-09 Angus Leeming <leeming@lyx.org>
994 * buffer.[Ch]: Add an Impl class and move Buffer's member
995 variables into it. As a result move several header files out of
998 Add header files to lots of .C files all over the tree as a result.
1000 2003-09-09 Angus Leeming <leeming@lyx.org>
1002 * buffer.[Ch]: make Buffer's member variables private. Add
1005 Lots of changes all over the tree as a result.
1007 2003-09-08 Angus Leeming <leeming@lyx.org>
1009 * graph.C: #include <config.h>.
1011 2003-09-08 Angus Leeming <leeming@lyx.org>
1015 * BufferView_pimpl.C:
1044 * toc.C: remove redundant using directives.
1046 2003-09-07 Angus Leeming <leeming@lyx.org>
1048 * LaTeXFeatures.h: remove #include "support/types.h".
1049 * ToolbarBackend.h: remove #include <algorithm>.
1050 * changes.h: remove #include <ctime>.
1051 * debug.h: remove #include <iosfwd>.
1052 * graph.h: remove #include "support/std_string.h".
1053 * lyx_main.h: remove #include <csignal>.
1054 * lyxlex_pimpl.h: remove #include <fstream>.
1055 * sgml.h: remove #include <algorithm>, <utility>.
1056 * toc.h: remove #include "support/std_ostream.h".
1057 Add #include <iosfwd>.
1059 2003-09-07 Angus Leeming <leeming@lyx.org>
1061 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1063 * converter.h: forward declare LatexRunParams.
1064 * encoding.h: remove #include "lyxrc.h".
1065 * lyxtext.h: remove #include "LColor.h".
1066 * lyxtextclass.h: remove #include "support/types.h".
1067 * trans.h: remove #include "tex-accent.h".
1068 * trans_mgr.h: remove #include "tex-accent.h".
1069 * insets/inset.h: remove #include "support/types.h", <vector>.
1070 * insets/insetcollapsable.h: remove #include "LColor.h".
1071 * insets/insetinclude.h: remove #include "dimension.h".
1072 * insets/insetlatexaccent.h: remove #include "dimension.h".
1073 * insets/insetoptarg.h:: remove #include "insettext.h".
1074 * insets/insettext.h: remove #include "dimension.h",
1075 <boost/shared_ptr.hpp>
1077 * insets/renderers.h: add #include "dimension.h".
1078 * insets/updatableinset.h: add #include "support/types.h".
1080 * many .C files: Associated changes.
1082 2003-09-06 Angus Leeming <leeming@lyx.org>
1084 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1085 one, inside testInvariant.
1087 * PrinterParams.C: new file.
1088 * PrinterParams.[Ch]: move the function bodies out of line.
1090 2003-09-06 Angus Leeming <leeming@lyx.org>
1092 * ParagraphParameters.h: forward declare ParameterStruct rather than
1093 including its header file.
1094 (depth): moved out-of-line.
1096 2003-09-06 Angus Leeming <leeming@lyx.org>
1098 * BufferView_pimpl.h:
1101 * lyxfunc.h: forward declare LyXKeySym rather than
1102 #include "frontends/LyXKeySym.h".
1104 * BufferView_pimpl.C:
1107 * lyxfunc.C: associated changes.
1109 2003-09-06 Angus Leeming <leeming@lyx.org>
1111 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1112 As a result, can remove the #include "insets/inset.h" from BufferView.h
1114 2003-09-06 Angus Leeming <leeming@lyx.org>
1116 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1117 As a result, can remove the #include "insets/inset.h" from BufferView.h
1119 2003-09-06 Angus Leeming <leeming@lyx.org>
1125 * bufferview_funcs.C:
1126 * BufferView_pimpl.C:
1131 * ParagraphParameters.C:
1136 * frontends/controllers/ControlDocument.C:
1137 * insets/insetcaption.C: rearrange the #includes into some sort of
1140 * buffer.h: remove #includes ErrorList.h, undo.h
1142 2003-09-06 Angus Leeming <leeming@lyx.org>
1144 * support/types.h: add a 'depth_type' typedef, used to store the
1145 nesting depth of a paragraph.
1148 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1149 defining explicitly.
1152 * paragraph_funcs.h:
1153 * ParagraphParameters.h:
1154 * sgml.h: use lyx::depth_type rather than Paragraph or
1155 ParameterStruct's depth_type.
1158 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1161 * BufferView_pimpl.C:
1163 * ParagraphParameters.C:
1166 * bufferview_funcs.C:
1173 * frontends/LyXView.C:
1174 * frontends/controllers/ControlDocument.C:
1175 * frontends/controllers/ControlErrorList.C:
1176 * insets/insetbibitem.C:
1177 * insets/insetbranch.C:
1178 * insets/insetcaption.C:
1179 * insets/insetcollapsable.C:
1180 * insets/insetenv.C:
1181 * insets/insetert.C:
1182 * insets/insetfloat.C:
1183 * insets/insetfoot.C:
1184 * insets/insetfootlike.C:
1185 * insets/insetnewline.C:
1186 * insets/insetquotes.C:
1187 * insets/insettabular.C:
1188 * insets/insettext.C:
1189 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1191 * frontends/controllers/ControlChanges.C: #include "changes.h".
1193 2003-09-06 Angus Leeming <leeming@lyx.org>
1195 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1196 than #including paragraph.h.
1199 * RowList.h: deleted. Superfluous.
1209 * insets/insettext.h: use ParagraphList_fwd.h rather than
1212 * paragraph.h: don't forward declare ParagraphList.
1215 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1216 rather than ParagraphList.h. paragraph.h is still needed for the
1217 Paragraph::depth_type parameters.
1219 * textcursor.h: enable it to compile stand-alone in light of the
1222 * bufferview_funcs.C:
1234 * frontends/controllers/ControlParagraph.C:
1235 * frontends/controllers/ControlTabular.C:
1236 * insets/insetmarginal.C:
1237 * insets/insetminipage.C:
1238 * insets/insetnote.C:
1239 * insets/insetoptarg.C: add header files needed to compile again.
1241 2003-09-06 Angus Leeming <leeming@lyx.org>
1243 * RowList_fwd.h: new file, forward-declaring Row rather than
1244 #including lyxrow.h.
1249 * insets/insettext.h: use it instead of RowList.h
1251 * bufferview_funcs.C:
1258 * text3.C: #include "RowList.h".
1260 2003-09-05 Angus Leeming <leeming@lyx.org>
1262 * factory.C (createInset):
1263 * vspace.C (c-tor): replace sscanf call with an istringstream.
1264 * ispell.C: re-add missing HP/UX headers.
1265 * lyxserver.C: re-add missing os2 headers.
1267 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1276 * text3.C: re-add missing system headers, needed for 2.95.2.
1278 2003-09-05 Angus Leeming <leeming@lyx.org>
1280 Changes most place everywhere due to the removal of using directives
1281 from support/std_sstream.h.
1283 2003-09-05 Angus Leeming <leeming@lyx.org>
1285 Replace LString.h with support/std_string.h,
1286 Lsstream.h with support/std_sstream.h,
1287 support/LIstream.h with support/std_istream.h,
1288 support/LOstream.h with support/std_ostream.h.
1290 Changes resulting throughout the tree.
1292 2003-09-05 Angus Leeming <leeming@lyx.org>
1294 * sgml.h: ensure that the header file can be compiled stand-alone.
1295 * *.C: strip out redundant #includes. (320 in total.)
1297 2003-09-04 Angus Leeming <leeming@lyx.org>
1299 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1300 here (from getPackages).
1302 * debug.[Ch]: add a new EXTERNAL tag.
1304 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1306 * text2.C (cursorEnd): simplify
1308 (getColumnNearX): adjust
1310 * text.C (computeBidiTables): adjust
1313 * rowpainter.C (paintChars): adjust
1314 (paintSelection): adjust
1315 (paintChangeBar): adjust
1318 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1320 (numberOfSeparators): adjust
1322 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1328 * text3.C: Restricts the mouse click functionality
1329 of insets like bibtex, include, toc and floatlist to the visible
1330 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1331 up the dialogs. Cursor has to be in front of the inset (i.e.
1332 start of row) for this to function.
1334 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1336 * bufferview_funcs.C (currentState): output row information
1338 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1340 * bufferview_funcs.C (currentState): output paragraph position
1342 2003-09-04 Angus Leeming <leeming@lyx.org>
1344 * FloatList.h: move out #include "Floating.h".
1345 * LaTeX.h: move out #include "DepTable.h".
1346 * LyXAction.h: move out #include "funcrequest.h".
1347 * buffer.h: move out #include "author.h", "iterators.h".
1348 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1349 * lyx_main.h: move out #include "errorlist.h".
1350 * lyxfunc.h: move out #include "FuncStatus.h".
1351 * lyxtext: move out #include "lyxcursor.h".
1352 * paragraph_pimpl.h: move out #include "counters.h".
1354 2003-09-03 Angus Leeming <leeming@lyx.org>
1356 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1357 preamble_snippets list, enabling us to add snippets to the preamble
1358 only if the snippet was not there already.
1360 2003-09-04 Angus Leeming <leeming@lyx.org>
1362 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1364 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1366 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1369 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1371 * BranchList.C: point fix, earlier forgotten
1373 2003-09-02 Angus Leeming <leeming@lyx.org>
1375 * box.C (contains): renamed from 'contained' after a fantastic
1378 2003-09-02 John Levon <levon@movementarian.org>
1384 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1386 2003-09-02 John Levon <levon@movementarian.org>
1388 * text2.C: simplification of cursorEnd(), including partial
1391 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1393 * buffer.C (readFile): add a space
1395 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1397 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1399 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1401 * buffer.C (readFile): new function, take a filename and a
1402 ParagraphList::iterator
1404 (readFile): adjust, make it private. don't use setStream, make
1405 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1406 always contain the filename.
1408 * BufferView.C (insertLyXFile): simplify and make it work for
1411 2003-08-30 John Levon <levon@movementarian.org>
1413 * Makefile.am: fix dist (from Kayvan)
1415 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1417 * most files: change to use const Buffer refs
1419 2003-08-27 André Pönitz <poenitz@gmx.net>
1421 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1422 on top of ownerPar().
1424 2003-08-27 John Levon <levon@movementarian.org>
1426 * funcrequest.C: properly initialise POD members
1428 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1430 * lyxtext.h (top_y): move top_y from here
1435 * BufferView_pimpl.[Ch]: to here
1436 * frontends/screen.C:
1437 * insets/insettabular.C:
1438 * insets/insettext.C: adjust
1439 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1441 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1444 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1446 2003-08-26 André Pönitz <poenitz@gmx.net>
1448 * paragraph_func.[Ch] (outerPar): new function
1451 * paragraph_funcs.C:
1452 * paragraph_funcs.h:
1453 * paragraph_pimpl.C:
1454 * text2.C: remove Inset::par_owner
1456 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1461 * text2.C: eliminates the needFullRow/display() stuff
1462 altogether, putting the logic in metrics/draw in the insets.
1464 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1466 * text2.C (redoParagraphInternal, redoParagraphs):
1467 * text.C (redoParagraph): add a call to updateRowPositions at the
1468 end of each 'metrics-like' call. Remove all others.
1469 (getRow): remove the 'y-computing' version.
1470 (getRowNearY): do not compute nor return the real y. Solve the
1471 'y < 0' problem and simplify.
1473 2003-08-22 Angus Leeming <leeming@lyx.org>
1475 * *.[Ch]: clean-up of licence and author blurbs.
1476 Also move config.h out of a few .h files and into a few .C files.
1478 2003-08-22 André Pönitz <poenitz@gmx.net>
1480 * lyxrow.[Ch]: add x_ and *fill_ members
1485 * text2.C: adjust/remove prepareToPrint() calls
1487 2003-08-22 André Pönitz <poenitz@gmx.net>
1489 * lyxrow.[Ch]: add end_ member
1491 * lyxrow_funcs.C: use LyXRow::end_
1493 * lyxtext.h (singleWidth): add LyXFont parameter
1496 * text2.C: adjust LyXText::singleWidth() calls
1498 * text.C (redoParagraph): simplify row breaking logic
1501 2003-08-19 André Pönitz <poenitz@gmx.net>
1503 * funcrequest.C: initialize button_ member
1506 * rowpainter.[Ch]: interface consolidation
1508 2003-08-18 André Pönitz <poenitz@gmx.net>
1511 * BufferView_pimpl.C:
1513 * paragraph_funcs.C:
1515 * text3.C: remove LyXScreen::draw() and fitCursor calls
1517 * BranchList.h: remove spurious semicolons
1519 * MenuBackend.C: fix branchlist related crash
1521 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1529 * bufferparams.[Ch]:
1533 * text3.C: implements the 'branch inset'
1534 idea. This allows the output of various versions of a document
1535 from a single source version, selectively outputing or suppressing
1536 output of parts of the text.
1537 This implementation contains a 'branch list editor' in a separate
1538 tab of the document settings dialog. Branches are user definable
1539 and have a "display colour" to distinguish them on-screen.
1541 ColorHandler was somewhat cleaned up.
1542 (1) make possible a dynamically growing LColor list by allowing
1543 the graphic context cache to grow along (vector);
1544 (2) eliminate an IMHO unnecessary step in colour allocation.
1546 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1548 * BufferView_pimpl.C: compile fix
1550 2003-08-15 André Pönitz <poenitz@gmx.net>
1552 * rowpainter.C: remove extra metrics calls
1554 * lyxtext.h: merge the two constructors into a single one,
1555 pass reference to owner's par list
1557 * BufferView_pimpl.C:
1561 2003-08-15 André Pönitz <poenitz@gmx.net>
1563 * lyxrow_funcs.[Ch]:
1566 * paragraph_funcs.C:
1571 * text_funcs.C: split LyXText::rowlist_ into individual
1572 Paragraph::rows_ chunks
1575 * BufferView_pimpl.[Ch]:
1578 * text3.C: remove toggleSelection()
1580 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1582 * bufferlist.C: beautify two alerts (shorter text of buttons)
1583 * buffer.C: Remove redundant ' ' from message
1585 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1586 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1587 rename VALIGN_CENTER to VALIGN_MIDDLE
1589 2003-08-11 André Pönitz <poenitz@gmx.net>
1591 * lyxtext.h (getPar):
1592 * text.C: new function
1594 2003-08-11 André Pönitz <poenitz@gmx.net>
1597 * tracer.[Ch]: remove unneeded files
1599 * InsetList.[Ch]: remove resizeInsetsLyXText()
1604 * text3.C: merge insertParagraphs() and appendParagraph()
1605 remove breakAgain(), update()
1607 * BufferView_pimpl.[Ch]:
1608 * bufferview_funcs.[Ch]:
1612 * tabular.C: adjust after text & InsetList changes.
1614 2003-08-08 André Pönitz <poenitz@gmx.net>
1616 * text.C (insertChar, backspace): replace rowlist fiddling
1617 with rebreak of full par
1620 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1621 checkParagraph, updateInset): removed
1623 2003-08-07 André Pönitz <poenitz@gmx.net>
1626 * text3.C: merge some LFUN handlers, remove dead code
1628 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1630 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1632 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1634 * text2.C (DEPM): fix part of bug 1255 and 1256
1636 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1638 * BufferView_pimpl.C (workAreaDispatch): change to use
1639 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1640 that are no mouse related.
1642 2003-08-05 André Pönitz <poenitz@gmx.net>
1645 * BufferView_pimpl.[Ch]:
1646 * bufferview_funcs.C:
1648 * text3.C: rip out "deep update"
1650 * textcursor.[Ch] (last_sel_cursor): remove unused member
1652 2003-08-04 André Pönitz <poenitz@gmx.net>
1655 * BufferView_pimpl.[Ch]:
1656 * ParagraphParameters.C:
1657 * bufferview_funcs.C:
1663 * text3.C: replace "complicated" BufferView::update(...) calls with
1666 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1668 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1670 * Makefile.am (lyx_SOURCES): add paper.h
1672 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1674 * Makefile.am: move things around so that both lyx-qt and
1675 lyx-xforms can be built (according to --with-frontend). Then lyx
1676 is a symbolic link to lyx-[firstfrontend]
1678 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1680 * Always use std::endl with lyxerr
1682 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1684 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1686 2003-08-01 André Pönitz <poenitz@gmx.net>
1689 * BufferView_pimpl.[Ch]:
1691 * text3.C: merge BufferView::repaint() and BufferView::update()
1693 2003-08-01 José Matos <jamatos@lyx.org>
1695 * buffer.[Ch]: file_format is no longer a buffer data element.
1697 2003-08-01 André Pönitz <poenitz@gmx.net>
1702 * text2.C: make redoParagraph more independent of current cursor
1704 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1706 * text2.C: remove unneeded members
1708 2003-07-30 André Pönitz <poenitz@gmx.net>
1710 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1712 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1713 create a single function...
1715 * paragraph_funcs.C (moveItem): ... here.
1718 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1720 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1722 * LColor.[Ch]: Add comment and greyedout logical colors.
1724 2003-07-30 André Pönitz <poenitz@gmx.net>
1726 * tabular.C: don't use Assert too heavily. This crashes where it
1729 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1731 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1732 is disabled (bug 1232)
1734 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1736 * factory.C: limited 'arg' scope
1738 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1740 * factory.C: fixed Note submenu issues
1742 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1744 * factory.C: submenu for Note/Comment/Greyedout
1746 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1749 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1751 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1754 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1755 greyedout. Patch provided by Jürgen Spitzmüller.
1757 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1759 * kbmap.C (read): fix error message when reading bind files
1761 2003-07-29 Angus Leeming <leeming@lyx.org>
1763 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1764 certainly does not do what it purports to do. I am doing it, and
1765 us, a favour by killing it.
1767 2003-07-28 José Matos <jamatos@lyx.org>
1769 * buffer.C (readBody, do_writeFile):
1770 * paragraph.C(readParagraph): \end_document replaces \the_end.
1772 2003-07-29 André Pönitz <poenitz@gmx.net>
1775 * BufferView_pimpl.[Ch]:
1779 * textcursor.[Ch]: remove toggleToggle & Co
1781 2003-07-28 José Matos <jamatos@fep.up.pt>
1783 * buffer.C (readParagraph):
1784 * params_func (readParToken, readParagraph):
1785 * paragraph.C (write): \layout -> \begin_layout.
1787 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1789 * lyxlex_pimpl.C (setFile): clean up slightly.
1791 * bufferparams.h: add compressed var
1793 * buffer_funcs.C (readFile): adjust for LyXLex change
1794 (newFile): ditto + simplify
1796 * buffer.C (writeFile): handle writing of compressed files
1798 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1799 Check if the file is compressed and set a bufferparm if so.
1801 * Makefile.am (lyx_LDADD): remove explicit -lz
1803 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1805 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1806 makeDocBookFile): put the real LyX version in the first line of
1810 * version.C.in: remove lyx_docversion
1812 * tabular.C (write_attribute): add a template-based version to
1813 write enums properly
1815 2003-07-28 André Pönitz <poenitz@gmx.net>
1820 * text3.C: use doubles again for x-coordinates. They are needed.
1822 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1824 * messages.C (getLocaleDir): use lyx_localedir()
1826 * lyxlex_pimpl.C (setFile): compress stuff
1828 * buffer.C (writeFile): add some compression stuff
1829 (do_writeFile): new func, dont call expliti close... will this
1832 * Makefile.am (lyx_LDADD): add -lz
1834 2003-07-28 José Matos <jamatos@fep.up.pt>
1836 * buffer.C: increment file format.
1837 * paragraph_funcs (readParagraph, readParToken):
1838 * paragraph.C (readParagraph): add \end_layout.
1840 2003-07-27 Angus Leeming <leeming@lyx.org>
1842 * Makefile.am: remove special casing for configure-time setting of
1843 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1845 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1846 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1848 2003-07-26 André Pönitz <poenitz@gmx.net>
1850 * paragraph_func.[Ch]:
1851 * paragraph.C (realizeFont): inline it whereever it is used
1856 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1859 2003-07-26 André Pönitz <poenitz@gmx.net>
1863 * text2.C: get rid of LyXText::need_break_row
1865 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1867 * toc.[Ch]: put namespace toc inside namespace lyx
1869 * MenuBackend.C (expandToc2): adjust for lyx::toc
1872 * lyxfunc.C (dispatch): adjust for lyx::find
1874 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1875 lyx::find instead. Reorganize a bit.
1876 (LyXReplace): rename to replace
1877 (LyXFind): rename to find
1879 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1882 2003-07-26 André Pönitz <poenitz@gmx.net>
1884 * text.C (setHeightOfRow): restrict scope of temporary variable
1886 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1887 code (never has been used?)
1889 2003-07-27 Asger Alstrup <alstrup@local>
1891 * text.C (fill): Optimise algorithm to exploit that we can reuse
1892 the LyXFont for many characters.
1893 (setHeightOfRow): Same thing.
1894 (rowBreakPoint): Same thing.
1896 2003-07-26 Asger Alstrup <alstrup@local>
1898 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1900 * text.C (singleWidth): Spurious font copying in hot-spot
1901 singleWidth avoided. Reorder tests for arabic for efficiency.
1903 * text.C (fill): handle empty paragraphs better.
1905 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1908 * encoding.h: add includes
1910 * lyxrc.C: remove reading of bind files
1912 * lyx_main.C (init): setup bindings and menus only if we have a
1915 * kbmap.C (read): new method. Do the actual reading of bind
1918 * converter.C (dvipdfm_options):
1921 (output): adapt PAPER_* enums.
1923 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1925 * bufferparams.h: remove paper-related enums from there
1927 * paper.h: New file. A trivial header file to hold paper-related
1928 enums. It should later expand to contain many paper-related
1931 * lyxrc.C: declare extern displayTranslator
1933 2003-07-27 José Matos <jamatos@fep.up.pt>
1935 * tabular.[Ch] (linuxdoc): add support for tables and figures
1938 2003-07-27 José Matos <jamatos@fep.up.pt>
1940 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1941 consistency in both functions.
1942 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1944 2003-07-26 Asger Alstrup <alstrup@local>
1946 * rowpainter.C (paintRows): Change algorithm to work directly on
1947 the insets rather than asking every character in the document
1948 whether its an inset.
1950 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1952 * buffer.C (openFileWrite): factorize some code
1954 2003-07-26 Angus Leeming <leeming@lyx.org>
1957 * lyx_main.[Ch]: replace occurances of system_tempdir with
1960 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1962 * rename Inset to InsetOld
1964 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1966 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1967 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1968 which I think is a bit clearer. EDIT is gone, since it was
1969 premature optimisation, and broken for mathed anyway.
1970 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1971 with cursor positioning in insets as well (math insets still do not
1972 work, but that's a different story anyway.) It mysteriously
1973 crashes sometimes with undo in the first paragraph, but I'm fairly
1974 confident that this is a compiler bug.
1976 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1978 * paragraph.C (Paragraph): adjust for new clone return type
1980 (copyIntoMinibuffer): ditto
1982 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1984 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1985 by not having a special case, and always doing a full rebreak of
1986 the document after undo.
1988 2003-07-23 Angus Leeming <leeming@lyx.org>
1990 * factory.C (createInset): InsetExternal::setParams now takes a
1993 2003-07-23 Angus Leeming <leeming@lyx.org>
1995 * factory.C (createInset): changed interface to the external and
1996 graphics mailers' string2params functions.
1998 2003-07-23 Angus Leeming <leeming@lyx.org>
2000 * factory.C (createInset): pass a
2001 Buffer const * parameter to InsetExternalMailer's string2params.
2003 2003-07-22 John Levon <levon@movementarian.org>
2005 * Thesaurus.h: include the right aiksaurus header
2007 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2009 * MenuBackend.C (expand): check menu shortcuts unconditionally
2011 2003-07-21 Angus Leeming <leeming@lyx.org>
2013 * factory.C (createInset): pass a
2014 buffer_path parameter to InsetGraphicsMailer's string2params.
2016 2003-07-21 Angus Leeming <leeming@lyx.org>
2018 * BufferView_pimpl.C (buffer):
2021 * lyxfunc.C (dispatch):
2022 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2023 rather than the grfx shortcut.
2025 2003-07-21 André Pönitz <poenitz@gmx.net>
2027 * rowpainter.C: remove unused variables
2030 * tabular_funcs.h: move to tabular.C
2031 * Makefile.am: adjust
2033 * tabular.[Ch]: basic optical cleaning
2035 * author.h: pass references, not values
2037 2003-07-18 André Pönitz <poenitz@gmx.net>
2045 * text3.C: two-phase drawing for InsetText and InsetTabular
2046 some float -> int changes.
2048 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2050 * lyx_main.C: fix the fix
2052 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2054 * lyx_main.C: fix a crash in batch mode if no files specified
2057 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2059 * format.[Ch] (papersize): moved to BufferParams
2060 * converter.[Ch] (dvips_options): moved to BufferParams
2061 (dvipdfm_options): moved to anon namespace
2062 * bufferparams.[Ch]: added above functions.
2064 2003-07-17 André Pönitz <poenitz@gmx.net>
2068 * text2.C: don't call inset->update() anymore
2070 * metricsinfo.[Ch]: add convenience constructor
2072 2003-07-16 André Pönitz <poenitz@gmx.net>
2077 * text2.C: replace the LyXCursor::irow_ member with
2078 on-demand computation of the value
2080 2003-07-16 John Levon <levon@movementarian.org>
2082 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2084 2003-07-15 André Pönitz <poenitz@gmx.net>
2087 * text2.C: remove no more needed refresh_row
2089 2003-07-15 André Pönitz <poenitz@gmx.net>
2094 * text3.C: refresh_status tristate -> need_update bool
2096 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2098 * lyxtext.h (init): remove reinit argument (act as if always true)
2099 * text2.C: adjust to that
2101 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2103 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2104 * text3.C: use it to delete selections in some cases
2105 (bugs 441, 673, 702, 954).
2107 2003-07-14 André Pönitz <poenitz@gmx.net>
2109 * rowpainter.[Ch]: reduce interface
2111 2003-07-14 André Pönitz <poenitz@gmx.net>
2113 * BufferView_pimpl.C:
2114 * text2.C: adjust after removing unused BufferView * argument
2116 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2118 * text2.C (init): fix a crash fired on resize
2120 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2122 * buffer.[Ch]: added new closing signal
2123 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2124 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2125 BufferView::Pimpl via the closing the signal
2127 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2129 * buffer.[Ch]: take out all bv-related from buffer
2131 * BufferView_pimpl.[Ch]: connect to new signals
2132 * CutAndPaste.C: removed useless asserts
2133 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2136 * lyxfunc.C: moved view-related funciontality from vc here
2137 * paragraph.C: removed outdated comments
2140 2003-07-10 André Pönitz <poenitz@gmx.net>
2142 * BufferView_pimpl.C:
2146 * text2.C: remove InsetText::InnerCache, clean up consequences
2148 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2150 * ispell.C: fix two typos in error messages
2152 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2154 * Extend Note inset to other forms of annotation like Comment
2155 and Greyedout. Right button click gives dialog.
2157 Files modified or added (+):
2161 * ControlNote.[Ch] +
2163 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2164 frontends/controllers
2168 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2170 * aspell.C: add missing namespace lyx::support
2172 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2174 * BufferView.[Ch] (newFile): Add
2175 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2176 * LaTeX.[Ch] (message): added this signal and use it
2177 * buffer.[Ch] (busy, message): added these signals and use them
2178 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2182 * importer.C: use buffer signals instead of direct bv calling
2183 * lyx_cb.[Ch] (ShowMessage): removed
2186 * paragraph_funcs.C:
2187 * text2.C: use buffer signals
2189 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2191 * introduce namespace lyx::graphics
2193 2003-07-02 André Pönitz <poenitz@gmx.net>
2195 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2197 2003-07-01 André Pönitz <poenitz@gmx.net>
2204 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2205 text*.C to text_func.C
2207 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2209 * introduce namespace lyx::support
2211 2003-06-30 André Pönitz <poenitz@gmx.net>
2216 * text.C: re-enable --with-included-string
2218 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2220 * textcursor.C: add <config.h>
2222 * text.C (getWord): remove const from word_location arg
2224 * lyxvc.C (getLogFile): fix const type order
2226 * lyxtext.h: remove const from word_location arg, add arg name
2228 * lyxlayout.h: currect type on labeltype.
2230 * importer.C: correct \file
2232 * converter.C (intToFormat): use std:: on ret val, ws changes
2234 * bufferlist.h: correct \file
2236 * buffer.C (makeLinuxDocFile): fix const type order
2237 (makeDocBookFile): ditto
2238 (fillWithBibKeys): use std:: on stdlib args.
2240 * CutAndPaste.C: fix authors.
2241 (availableSelections): use std:: on return vector
2243 2003-06-27 André Pönitz <poenitz@gmx.net>
2245 * BufferView_pimpl.C:
2246 * bufferview_funcs.C:
2254 * text3.C: remove LyXCursor::row_ member
2257 * text.C: rename fullRebreak() to partialRebreak() and implement
2258 a fullRebreak() that really bereks fully
2260 * textcursor.h: new struct for cursor-related data
2262 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2264 * lyx_main.C (LyX): get full path of document loaded on the
2267 2003-06-26 André Pönitz <poenitz@gmx.net>
2269 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2270 remove unused/broken operator>,<,>=.
2272 * text.C: remove only use of broken operator<= in an Assert().
2274 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2276 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2277 moved errorlist_.clear to showErrorList
2279 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2281 * converter.C (scanLog, runLaTeX):
2282 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2283 move the bv->showErrorList call to the callers
2284 * lyxfunc.C: i.e. here...
2286 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2287 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2288 namespace, the second to...
2289 * buffer_funcs (BufferFormat, parseErrors): added
2290 * errorlist.C (ErrorList(TeXErrors const &)): removed
2292 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2294 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2296 2003-06-24 "Garst R. Reese" <reese@isn.net>
2300 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2302 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2304 * version.C.in: change docversion to 1.4
2306 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2308 * buffer.C: fix a bug just introduced
2310 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2312 * buffer.[Ch]: added the parseError signal and use it, removed
2314 * BufferView.[Ch] (addError): moved to ...
2315 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2316 to the Buffer::parseError signal to catch (guess what) parse errors
2317 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2319 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2321 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2322 ability to create a buffer and to return an existing one from
2323 the list. Moved these functions to...
2324 * buffer_funcs.[Ch]: added
2325 * BufferView.[Ch] (loadLyXFile): added
2326 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2327 job removed from bufferlist::loadLyXFile.
2328 * buffer.C (setReadOnly): make it work without view
2329 (i.e added an if (users))
2331 2003-06-19 Angus Leeming <leeming@lyx.org>
2334 * LyXAction.C (init):
2335 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2336 with LFUN_DIALOG_SHOW <name> <data>.
2338 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2340 * CutAndPaste.C (availableSelections): small compilation fix for
2341 ancient (gcc 2.9x) compilers
2343 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2345 * text3.C (cursorNext): add tmp var
2347 * text2.C (updateCounters): for function calling out of for clause
2348 (replaceSelectionWithString): ditto
2349 (insertStringAsParagraphs): ditto
2350 (getColumnNearX): add tmp var
2351 (setCursorFromCoordinates): add tmp var
2352 (cursorDownParagraph): add tmp var
2353 (deleteEmptyParagraphMechanism): add tmp var
2355 * text.C (insertChar): add tmp var
2357 * rowpainter.C (paintDepthBar): add tmp var
2359 * CutAndPaste.C (availableSelections): potentially check all
2360 paragraphs in a cut to fill the shown strings.
2362 2003-06-18 André Pönitz <poenitz@gmx.net>
2364 * kbmap.[Ch]: use vector<> instead of list<>
2366 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2368 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2369 pasteSelection with index
2371 * text2.C (pasteSelection): modify, call pasteSelection with index
2373 * paragraph.C (asString): reimplement version with no interval to
2374 call the one with interval.
2376 * lyxtext.h: add index arg to pasteSelection
2378 * MenuBackend.C (MenuItem): handle PasteRecent
2379 (Menu::read::Menutags): add md_pasterecent
2381 (expandPasteRecent): new function
2384 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2386 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2388 (availableSelections): new function
2390 2003-06-17 Angus Leeming <leeming@lyx.org>
2392 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2394 2003-06-17 Angus Leeming <leeming@lyx.org>
2397 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2399 * lyxfunc.C (dispatch): invoke it.
2401 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2403 * iterators.C (operator++, ParPosition): reintroduce some
2404 const_cast for the benefit of older compilers.
2406 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2408 * text3.C (dispatch): do not modify clipboard when doing
2409 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2410 LFUN_DELETE_SKIP on a selection selection
2412 2003-06-16 André Pönitz <poenitz@gmx.net>
2418 * tabular.[Ch]: IU of clone() and getLabelList();
2420 2003-06-13 André Pönitz <poenitz@gmx.net>
2422 * tabular.h: compactification
2424 2003-06-12 André Pönitz <poenitz@gmx.net>
2428 * tabular_funcs.h: some renaming plus whitespace
2430 2003-06-12 André Pönitz <poenitz@gmx.net>
2433 * BufferView_pimpl.C:
2439 * toc.C: Return a Paragraph & for ParIterator::operator*()
2441 2003-06-11 John Levon <levon@movementarian.org>
2445 * ToolbarBackend.C: add "Toolbars" section and
2448 2003-06-10 Angus Leeming <leeming@lyx.org>
2451 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2453 * lyxfunc.C (dispatch): invoke it.
2455 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2457 * main.C: protect <ios> with HAVE_IOS
2458 (main): protect sync_with_stdio with HAVE_IOS
2460 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2462 * text2.C (cutSelection): adjust
2463 (pasteSelection): adjust
2465 * messages.C: handle get of empty string
2467 * main.C (main): use sync_with_stdio(false)
2469 * lyxfunc.C (dispatch): adjust
2471 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2472 (WriteAs): remove unneeded BufferView arg.
2474 * bufferparams.h: use correct types on papersize, papersize2 and
2477 * bufferparams.C (readToken): adjust for type
2478 (writeLaTeX): add missing cases to switch.
2480 * bufferlist.C (quitWriteBuffer): adjust
2483 * buffer.C (asciiParagraph): remove some commented code.
2485 * CutAndPaste.C: remove current_view extern variable.
2486 (cutSelection): add BufferParams arg.
2487 (eraseSelection): add BufferParams arg.
2488 (pasteSelection): add Buffer const & arg
2490 2003-06-07 John Levon <levon@movementarian.org>
2493 * paragraph_funcs.C:
2494 * paragraph_pimpl.C:
2498 * paragraph.C: allow InsetERT to freely space lines,
2499 and some consolidation of code
2501 2003-06-06 José Matos <jamatos@fep.up.pt>
2503 * buffer.C (makeDocBookFile): fix bug #821
2505 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2507 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2509 2003-06-04 Angus Leeming <leeming@lyx.org>
2511 * buffer.C: bump format to 224.
2513 2003-06-05 André Pönitz <poenitz@gmx.net>
2515 * text2.C (redoParagraphs): remove two const_cast<>
2517 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2519 * ParagraphList.h: remove last remnants of NO_STD_LIST
2521 2003-06-03 Angus Leeming <leeming@lyx.org>
2523 * factory.C (createInset): small change to the way InsetExternal's params
2526 2003-06-04 André Pönitz <poenitz@gmx.net>
2528 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2530 * paragraph_pimpl.h:
2531 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2533 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2535 * undo_funcs.C: make some simple cases of undo work again
2537 2003-06-03 John Levon <levon@movementarian.org>
2539 * ispell.C: HPUX doesn't have sys/select.h
2542 2003-06-03 John Levon <levon@movementarian.org>
2544 * CutAndPaste.C: update tabular and include inset
2549 * paragraph.C: remove owningBuffer(), don't pass Buffer
2552 * factory.C: insetGraphicsParams changed
2554 2003-06-02 John Levon <levon@movementarian.org>
2560 * text3.C: remove insetparent
2562 2003-06-02 John Levon <levon@movementarian.org>
2565 * buffer.C: fix inset_iterator.end(), move out of line
2568 2003-06-01 John Levon <levon@movementarian.org>
2570 * text3.C: use a proper cut/paste when doing inset
2571 insert (from Jürgen Spitzmüller)
2573 2003-06-01 John Levon <levon@movementarian.org>
2575 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2577 2003-05-30 André Pönitz <poenitz@gmx.net>
2579 * rowpainter.C: unify second drawing phase
2581 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2583 * trans_mgr.C: remove one case of current_view
2585 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2587 * paragraph_funcs.h: remove paragraph.h include
2589 * paragraph.h: delete NO_STD_LIST stuff
2591 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2593 * buffer.h: remove paragraph.h include
2595 * ParagraphList.C: delete file
2597 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2599 * toc.C (getTocList): adjust
2601 * paragraph_pimpl.C (validate): adjust
2603 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2605 * paragraph.C (Paragraph): adjust
2606 (getPositionOfInset): use const_iterator, adjust
2607 (bibitem): use const_iterator, adjust
2608 (setInsetOwner): adjust
2610 * iterators.C (operator++): adjust
2612 * InsetList.[Ch]: Replace selfmade iterator with standard
2613 vector::iterator also introduce const_iterator. Remove getPos,
2614 getInset and setInset from InsetTable. Adjust accordingly.
2616 * BufferView.C (lockInset): adjust
2617 (ChangeInsets): adjust
2619 * tabular.[Ch]: delete commented same_id functions
2621 2003-05-28 John Levon <levon@movementarian.org>
2623 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2625 2003-05-28 André Pönitz <poenitz@gmx.net>
2627 * metricsinfo.[Ch]: remove 'fullredraw' member
2629 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2631 * lyxtextclass.C (operator): remove caching.
2633 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2637 * text2.C (cursorBottom): adjust
2638 (setCounter): use ParagraphList::find, adjust
2640 * text.C (workWidth): use ParagraphList::find, adjust
2642 * lyxcursor.C (LyXCursor): adjust
2644 * buffer.C (inset_iterator): adjust
2646 * ParagraphList.h: make iterator(value_type) private, make
2647 ParagraphList a friend of iterator.
2649 * ParagraphList.C (find): new function
2651 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2653 2003-05-27 André Pönitz <poenitz@gmx.net>
2655 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2657 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2659 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2661 2003-05-26 John Levon <levon@movementarian.org>
2663 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2665 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2667 * remove same_id from function signatures, adjust.
2669 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2671 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2673 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2675 * paragraph.C (Paragraph): get rid of same_ids parameter
2677 * ParagraphList.C (insert): adjust
2680 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2682 * paragraph_funcs.C (breakParagraph): adjust
2683 (breakParagraphConservative): adjust
2685 * buffer.C (readParagraph): adjust
2687 * ParagraphList.C (insert): take a reference instead of a pointer
2690 * paragraph.[Ch] (id): new function
2692 * bufferlist.C (newFile): adjust
2694 * ParagraphList.C (ParagraphList): adjust
2696 (push_back): take a reference instead of a pointer.
2698 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2700 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2703 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2704 set else use old code.
2706 * ParagraphList.C: remove all NO_NEXT code and only compile this
2707 code of NO_STD_LIST is set.
2709 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2711 * BufferView_pimpl.C:
2721 * graphics/GraphicsConverter.C:
2722 * graphics/PreviewLoader.C: header adjustment
2724 2003-05-23 Angus Leeming <leeming@lyx.org>
2726 * LaTeXFeatures.[Ch] (useBabel): new method.
2727 * bufferparams.C (writeLaTeX): use it.
2729 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2731 * ParagraphList.h (set): remove unused function.
2733 2003-05-23 André Pönitz <poenitz@gmx.net>
2736 * BufferView_pimpl.C:
2740 * undo_funcs.C: setUndo reworked
2742 * iterators.[Ch]: add access to topmost ParagraphList
2744 * lyxtext.[Ch] (workWidth): add a const
2746 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2748 * texrow.[Ch] (increasePos): remove function
2749 * exporter.C (export): removed unused var and outdated comment
2751 2003-05-23 Angus Leeming <leeming@lyx.org>
2753 * latexrunparams.h: rename fragile as moving_arg.
2754 * paragraph.C (simpleTeXOnePar): ditto.
2755 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2757 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2759 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2761 (textUndoOrRedo): comment out a currently unused var.
2763 * paragraph.h (NO_NEXT): enable NO_NEXT
2765 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2767 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2769 * exporter.C (Export): adjust for removeAutoInsets removal.
2771 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2773 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2775 * BufferView.[Ch] (removeAutoInsets): delete function
2777 2003-05-22 Angus Leeming <leeming@lyx.org>
2779 * latexrunparams.h: add a free_spacing variable.
2781 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2782 to pass moving_arg, as the data is stored in runparams.fragile.
2784 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2785 to Inset::latexOptional or to simpleTeXOnePar.
2787 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2788 free_spacing arg to Inset::latexOptional.
2790 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2793 2003-05-22 Angus Leeming <leeming@lyx.org>
2795 * latexrunparams.h: add fragile and use_babel variables.
2797 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2798 * buffer.C (makeLaTeXFile): store this returned value in
2799 runparams.use_babel, thus passing it to the inset::latex methods.
2801 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2802 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2804 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2805 longer has a fragile arg, as it is stored in runparams.fragile.
2807 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2808 moving_arg parameter as the data is stored in runparams.fragile.
2810 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2811 a fragile parameter as the data is stored in runparams.fragile.
2813 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2815 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2817 2003-05-22 Angus Leeming <leeming@lyx.org>
2819 * latexrunparams.h: add a 'bool nice' which defaults to false.
2821 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2822 now encapsulated within runparams.
2824 * bufferlist.C (updateIncludedTeXfiles):
2825 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2827 2003-05-22 Angus Leeming <leeming@lyx.org>
2829 * latexrunparams.h: new file containing struct LatexRunParams.
2830 * Makefile.am: add new file.
2832 * LaTeX.[Ch] (c-tor, run):
2833 * buffer.[Ch] (makeLaTeXFile):
2834 * bufferlist.[Ch] (updateIncludedTeXfiles):
2835 * converter.C (convert, scanLog):
2836 * converter.[Ch] (runLaTeX):
2837 * exporter.C (Export):
2838 * paragraph.[Ch] (simpleTeXOnePar):
2839 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2840 * paragraph_funcs.[Ch] (latexParagraphs):
2841 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2842 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2843 pass around a LatexRunParams parameter.
2845 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2847 * paragraph.[Ch]: remove unused constructor
2849 * ParagraphList.C (erase): new function, taking two iterators
2851 2003-05-22 André Pönitz <poenitz@gmx.net>
2853 * undo_funcs.C: remove duplicated code
2855 * iterator.[Ch]: operator=
2857 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2859 * tabular.C (SetMultiColumn): ws changes
2861 * rowpainter.C (paintFirst): get rid of a ->previous
2863 * lyx_cb.C (getPossibleLabel): parlist simplification
2865 * BufferView.C (ChangeInsets): simplify slightly.
2867 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2869 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2870 * lfuns.h: new LFUN_SPACE
2871 * lyxfunc.C: protected space has a new lfun
2872 * paragraph_funcs.C: read new space insets
2874 * factory.C: handle new space insets
2876 2003-05-22 André Pönitz <poenitz@gmx.net>
2879 * BufferView_pimpl.C:
2882 * undo_funcs.C: return a ParIterator from getParFromID.
2884 * iterators.[Ch]: add two const's
2886 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2888 * toc.C (getTocList): adjust
2890 * iterators.[Ch]: rework for parlist
2892 * buffer.C (par_iterator_begin): adjust
2893 (par_iterator_end): adjust
2895 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2897 * BufferView.C (removeAutoInsets): adjust
2898 (ChangeInsets): adjust
2900 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2902 * text.C (top_y): fix bug 1110
2904 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2906 * errorlist.[Ch]: added
2909 * BufferView_pimpl.C:
2910 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2913 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2915 * Makefile.am: ensure that lyx is relinked upon changes to the
2916 various "convenience" libs.
2918 2003-05-20 Angus Leeming <leeming@lyx.org>
2920 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2921 files are compiled in alphabetical order again.
2923 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2925 2003-05-19 Angus Leeming <leeming@lyx.org>
2927 * gettext.[Ch]: remove "char const * _(char const *)".
2929 2003-05-19 André Pönitz <poenitz@gmx.net>
2931 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2940 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2942 2003-05-19 André Pönitz <poenitz@gmx.net>
2946 * lyxtextclass.[Ch]:
2948 * paragraph_funcs.[Ch]:
2950 * text3.C: more insetenv work
2952 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2954 * ParagraphParameters.C (params2string): small bug fixed
2956 2003-05-16 André Pönitz <poenitz@gmx.net>
2959 * bufferview_funcs.C: patch from Kornel Benko to prevent
2960 crash when _(...) is called twice in a statement
2962 2003-05-16 André Pönitz <poenitz@gmx.net>
2969 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2971 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2973 * lyx_main.C (init): remove spurious static_cast
2975 2003-05-14 André Pönitz <poenitz@gmx.net>
2977 * BufferView.C: fix format string
2979 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2981 * BufferView.[Ch] (insertErrors): removed
2982 * BufferView.[Ch] (showErrorList): added
2983 * buffer.C (runChkTeX):
2984 * converter.C (scanLog): call showErrorList instead of inserterrors
2986 2003-05-13 André Pönitz <poenitz@gmx.net>
2988 * BufferView_pimpl.C:
2990 * bufferview_func.C:
2997 * tabular_funcs.h: tostr() from its own header
2999 * ParagraphParameters.C:
3004 * text3.C: STRCONV()
3006 2003-05-12 André Pönitz <poenitz@gmx.net>
3009 * BufferView_pimpl.C:
3013 * ParagraphParameters.C:
3017 * bufferview_funcs.C:
3030 * paragraph_funcs.C:
3034 * text3.C: boost::format -> bformat all over the place
3037 2003-05-09 André Pönitz <poenitz@gmx.net>
3039 * LColor.[Ch]: Pimpl the #include <map> away
3041 2003-05-09 John Levon <levon@movementarian.org>
3043 * bufferlist.C: never remove emergency saves
3045 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3047 * Makefile.am: better lib building
3049 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3051 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3053 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3054 (simpleTeXSpecialChars): adjust
3055 (simpleTeXSpecialChars): adjust
3056 * paragraph.C (simpleTeXOnePar): adjust
3057 * buffer.C (makeLaTeXFile): adjust
3059 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3061 * text2.C (changeDepth): parlist cleanup
3062 (getColumnNearX): ditto
3064 * rowpainter.C (getLabelFont): parlist cleanup
3066 * bufferlist.C (newFile): parlist cleanup
3068 * CutAndPaste.C (eraseSelection): parlist cleanup
3070 * BufferView_pimpl.C (trackChanges): parlist cleanup
3073 * BufferView.C (lockInset): parlist cleanup.
3074 (ChangeInsets): ditto
3076 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3078 * CutAndPaste.h: Update file header.
3080 * CutAndPaste.C: Update file header.
3081 Store the parts cut out of the Document in a limited_stack.
3082 (copySelection): adjust
3083 (pasteSelection): new function, takes the index in the limited stack.
3084 (nrOfParagraphs): adjust
3085 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3086 simplify error inset insertion.
3087 (checkPastePossible): adjust
3089 2003-05-06 John Levon <levon@movementarian.org>
3091 * text2.C: don't cast wrap inset to float
3093 2003-05-05 André Pönitz <poenitz@gmx.net>
3096 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3098 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3099 few naked Paragraph *.
3101 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3103 * bufferparams.C: Output warning if a document with missing
3104 TeX document class is loaded
3105 * exporter.C: Disable TeX exports if the document class is missing
3108 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3109 isTeXClassAvailable()
3111 2003-05-03 John Levon <levon@movementarian.org>
3114 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3115 explicit cursor show/hide
3117 * BufferView_pimpl.h:
3118 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3119 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3121 * lyxfunc.C: hide cursor before dispatching.
3126 * text3.C: remove explicit cursor hides
3128 2003-05-02 André Pönitz <poenitz@gmx.net>
3130 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3133 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3136 * text2.C: tiny whitespace
3138 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3140 * undo_funcs.C: almost only ws changes.
3142 * ParagraphList.C (splice): just return if pl is empty.
3144 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3146 * ParagraphList.C (splice): new function.
3148 * CutAndPaste.C (pasteSelection): use it
3150 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3152 * CutAndPaste.C (pasteSelection): remove the last next and
3153 previous from this file.
3155 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3157 * CutAndPaste.C (pasteSelection): more clean up, user proper
3158 ParagraphList functions for pasteing.
3160 * ParagraphList.C (insert): new function, three arg insert
3162 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3164 * ParagraphList.C (insert): new function, three arg insert
3166 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3169 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3171 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3173 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3175 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3177 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3179 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3180 (copySelection): clean up a bit.
3181 (pasteSelection): use make_pair
3183 * ParagraphList.C (ParagraphList): implement copy constructor
3184 (operator=): implement, base on copy constructor.
3187 * paragraph.C (erase): return a bool
3189 * paragraph_pimpl.C (erasePos): remove function, move contents...
3190 (erase): ... here. Return a bool.
3191 (erase): call erase instead of erasePos.
3193 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3195 * ParagraphList.h: define PitPosPair
3196 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3197 ParagraphList, fix a bug on pasting multiple pars
3198 * text2.C: change interface to C&P
3200 2003-04-30 André Pönitz <poenitz@gmx.net>
3202 * undo_func.C: revert part of yesterday's patch 2
3204 2003-04-30 John Levon <levon@movementarian.org>
3206 * LColor.C: s/tabular/table/
3208 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3210 * text3.C (dispatch): do not convert iterator -> pointer
3211 * undo_funcs.C (setCursorParUndo): ditto
3212 * text_funcs.C (transposeChars): ditto
3214 * text2.C (setLayout): ws changes only
3216 * text.C (breakParagraph): do not convert iterator -> pointer
3218 (acceptChange): ditto
3219 (rejectChange): ditto
3224 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3227 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3229 * text3.C (gotoInset): YABG (yet another bad getChar)
3231 2003-04-29 André Pönitz <poenitz@gmx.net>
3233 * paragraph.h: make operator= private unimplemented as long as
3236 * ParagraphList.C: whitespace
3239 * paragraph_pimpl.[Ch]:
3240 * paragraph_funcs.C:
3242 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3245 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3247 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3249 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3250 * paragraph.[Ch] (erase):
3251 * paragraph_pimpl.[Ch] (erase): change return type and value
3252 * text2.C (cutSelection): some rework
3254 2003-04-28 John Levon <levon@movementarian.org>
3256 * bufferlist.C: changes for unsaved changes dialog
3258 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3260 * bufferlist.C (newFile): set language (messages_) for new
3263 * buffer.C (readFile): ws changes only.
3265 2003-04-28 André Pönitz <poenitz@gmx.net>
3270 * BufferView_pimpl.C:
3271 * BufferView.C: getParFromID related ParagraphList::iterator changes
3273 2003-04-28 André Pönitz <poenitz@gmx.net>
3275 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3278 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3280 * messages.C: remove one more localedir class variable.
3282 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3284 * messages.C (getLocaleDir): singleton generation function
3286 (Messages): add a default constructor.
3288 * main.C (main): do not setup localedir here, do not call
3291 * gettext.C (_): use it.
3292 (gettext_init): delete funciton
3294 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3296 * gettext.C (getLyXMessages): new singleton generating function.
3298 * buffer.C (updateDocLang): adjust
3300 * Makefile.am (messages.o): add target
3301 (main.o): remove target
3303 2003-04-27 John Levon <levon@movementarian.org>
3308 * lyxvc.C: specify cancel button in Alert::prompt
3310 2003-04-26 John Levon <levon@movementarian.org>
3315 * LyXAction.C: add LFUN_INSET_SETTINGS
3317 * lyxfunc.C: don't enable tabular-feature when there's
3318 just any locking inset
3320 2003-04-26 John Levon <levon@movementarian.org>
3322 * bufferlist.C: re-add Cancel to buffer close question
3324 * lyxfunc.C: fix import UI a bit
3326 2003-04-25 John Levon <levon@movementarian.org>
3328 * gettext.C: remove the broken asserts for now
3330 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3332 * messages.C: make case where setlocale cannot comply work better.
3334 * buffer.C (updateDocLang): new function
3335 (changeLanguage): use it
3338 * text2.C (setCounter): use B_ a bit.
3340 * lyxlayout.C (Read): be sure to trim the label strings.
3342 * messages.C (Messages): fix typo in comment
3344 * buffer.C (readFile): set message_ after file is loaded.
3345 (makeDocBookFile): remove double return
3346 (changeLanguage): reset message_ upon language change.
3347 (B_): new func, use this to get translated buffer strings.
3349 * main.C: add myself and Jean Marc as authors.
3351 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3353 * messages.[hC]: pimplify Messages, and three different pimpls to be
3354 used in different circumstances.
3356 * gettext.[Ch]: change for use with new message code.
3358 2003-04-24 André Pönitz <poenitz@gmx.net>
3360 * factory.C: support for eqref
3362 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3364 * messages.[Ch]: add missing char
3366 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3368 * messages.[Ch]: New files
3370 2003-04-18 John Levon <levon@movementarian.org>
3374 * BufferView_pimpl.C:
3378 * text2.C: remove layout-copy/paste (bug 778)
3380 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3382 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3384 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3386 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3387 if they succeed. Act accordingly.
3389 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3391 * text2.C (setCharFont): adjust
3392 (setCounter): adjust
3393 (insertStringAsLines): adjust
3395 * text.C (leftMargin): adjust
3396 (setHeightOfRow): adjust
3398 * rowpainter.C (paintFirst): adjust
3401 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3403 (isFirstInSequence): ditto
3404 (getEndLabel): ditto
3407 * paragraph.C (getParLanguage): comment out some hard stuff.
3409 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3411 (simpleDocBookOnePar): ditto
3412 (makeDocBookFile): use ParagraphList::iterator
3414 * CutAndPaste.C (pasteSelection): adjust
3416 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3418 * text2.C (getFont): adjust
3419 (getLayoutFont): adjust
3420 (getLabelFont): adjust
3422 * paragraph_funcs.C (TeXOnePar): adjust
3424 * buffer.C (simpleLinuxDocOnePar): adjust
3425 (simpleDocBookOnePar): adjust
3427 * CutAndPaste.C (pasteSelection): adjust
3429 * BufferView.C (getEncoding): adjust
3431 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3433 2003-04-16 John Levon <levon@movementarian.org>
3435 * lyxfind.C: use parlist stuff for search/changes
3437 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3439 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3441 * text2.C (deleteEmptyParagraphMechanism): adjust
3443 * text2.[Ch] (ownerParagraph): delete func (both of them
3445 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3447 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3449 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3451 * ParagraphList.C: prepare for NO_NEXT
3453 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3455 * text2.C (getFont): adjust
3456 (getLayoutFont): adjust
3457 (getLabelFont): adjust
3459 * paragraph.C (getFont): adjust
3460 (getLabelFont): adjust
3461 (getLayoutFont): adjust
3463 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3465 2003-04-15 John Levon <levon@movementarian.org>
3469 * lyx_main.C: handle Include in .ui files
3471 2003-04-15 John Levon <levon@movementarian.org>
3473 * MenuBackend.C: make the doc files length shorter
3476 * ToolbarBackend.C: handle toolbar placement flags,
3479 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3481 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3484 * paragraph_funcs.C (TeXOnePar): adjust
3486 * paragraph.C (getLabelFont): add outerfont arg, adjust
3487 (getLayoutFont): ditto
3488 (simpleTeXOnePar): adjust
3490 * paragraph_pimpl.C (realizeFont): delete func
3492 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3494 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3495 row argument, constify cur argument.
3497 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3499 * text2.C (getFont): adjust
3500 (getLayoutFont): adjust
3501 (getLabelFont): adjust
3503 * paragraph_funcs.C (TeXOnePar): adjust
3504 (outerFont): new func...
3505 (realizeFont): ...moved out from here, changed this to facilitate
3508 * paragraph.C (getFont): take outerfont as arg, adjust
3509 (simpleTeXOnePar): add outerfont arg, adjust
3511 * buffer.C (simpleLinuxDocOnePar): adjust
3512 (simpleDocBookOnePar): adjust
3514 * CutAndPaste.C (pasteSelection): adjust
3516 * BufferView.C (getEncoding): adjust
3518 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3520 * text2.C (setCharFont): adjust
3521 (setCounter): adjust
3523 * text.C (leftMargin): adjust
3524 (setHeightOfRow): adjust
3526 * rowpainter.C (paintFirst): adjust
3529 * paragraph_pimpl.C (realizeFont): adjust
3531 * paragraph.C (isFirstInSequence): move from here...
3532 * paragraph_funcs.C (isFirstInSequence): ...to here
3534 * paragraph.C (outerHook): move from here...
3535 * paragraph_funcs.C (outerHook): ...to here
3537 * paragraph.C (depthHook): move from here...
3538 * paragraph_funcs.C (depthHook): ...to here
3540 * paragraph.C (getEndLabel): move from here...
3541 * paragraph_funcs.C (getEndLabel): ...to here
3543 * text2.C (realizeFont): move from here...
3544 * paragraph_funcs.C (realizeFont): ...to here
3546 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3548 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3550 2003-04-14 Angus Leeming <leeming@lyx.org>
3552 * LColor.[Ch]: scrap LColor mathcursor.
3554 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3556 * lyxlex.[Ch] (text): delete function
3557 * trans.C (Load): adjust
3558 * paragraph_funcs.C (readParToken): adjust
3560 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3562 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3563 vector<char> instead of a char[].
3565 * lyxlex_pimpl.C (getString): adjust
3567 (lex): use getString
3571 * lyxlex.C (text): use pimpl_->getString()
3575 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3577 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3578 (makeFontEntriesLayoutSpecific): temp var for par.size()
3579 (setLayout): temp var for ownerParagraphs().end()
3580 (fullRebreak): temp var for rows().end()
3581 (selectionAsString): temp var for boost::next(startpit), realize
3582 that the while really is a regular for loop.
3583 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3584 setCursor in one place.
3585 (setParagraph): temp vr for ownerParagraphs().end()
3586 (updateCounters): make the while loop a for loop
3587 (cutSelection): temp var for ownerParagraphs().end()
3588 (updateInset): make the do {} while() a regular for loop
3589 (getCursorX): use temp vars
3590 (setCurrentFont): use temp vars
3591 (getColumnNearX): use temp vars
3593 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3595 * text.C (transformChar): use temp var for getChar
3596 (computeBidiTables): use temp var for row->par()
3597 (fill): move temp vars for row->par() and pit->layout() earlier in
3599 (labelFill): use temp var for row->par()
3600 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3601 asc and desc, realize that pit never changes and that firstpit is
3602 just a duplicate and not needed. Exchange rit->par() with pit in a
3604 (breakAgain): use a temp var for boost::next(rit)
3605 (breakAgainOneRow): ditto
3606 (breakParagraph): use a temp var for rows().begin()
3607 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3608 (cursorRightOneWord): use temp var for cursor.par() and
3609 cursor.pos(), remove usage of tmpcursor.
3610 (cursorLeftOneWord): use temp var for cursor.par() and
3611 cursor.pos() only set cur at end of function.
3613 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3615 * text.C, text2.C: exchange all usage of Paragraph::next with
3616 boost::next(ParagraphList::iterator)
3618 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3620 * text2.C (cursorTop): simplify implementation
3621 (cursorBottom): ditto
3622 (setParagraph): use ParagraphList::iterator
3623 (setCurrentFont): adjust
3624 (getColumnNearX): adjust
3625 (cursorRight): adjust
3626 (cursorLeft): remove usage of Paragraph::previous
3627 (cursorUpParagraph): ditto
3628 (deleteEmptyParagraphMechanism): slight cleanup
3630 * text.C (isBoundary): take a Paragraph const & instead of a
3632 (addressBreakPoint): ditto
3633 (leftMargin): remove usage of Paragraph::previous.
3634 (setHeightOfRow): ditto
3635 (cursorLeftOneWord): ditto
3636 (selectNextWordToSpellcheck): ditto
3639 (breakParagraph): remove one usage of Paragraph::next
3640 (redoParagraph): ditto
3641 (acceptChange): ditto
3642 (insertChar): adjust
3643 (rowBreakPoint): adjust
3645 * bufferview_funcs.C (toggleAndShow): adjust
3647 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3649 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3650 methods to access it.
3652 * text.C: Added updateRowPositions to compute all row positions.
3653 Make top_y and getRowNearY() to use the cached y position
3655 2003-04-11 John Levon <levon@movementarian.org>
3657 * text.C (rowBreakPoint): reintroduce the labelEnd
3658 checks, code copied from the row fill stuff. Deep voodoo.
3660 * text.C (fill): add a comment and debugging for the
3663 2003-04-11 John Levon <levon@movementarian.org>
3665 * text.C: make sure fullrow insets get wrapped to the next line,
3666 even when they're in a manual label
3668 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3670 * text2.C (insertParagraph): make it take ParagraphList::iterator
3672 (setLayout): make it return ParagraphList::iterator
3673 (redoParagraphs): ditto
3675 (checkParagraph): ditto
3677 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3679 * text2.C: adjust several funcs.
3680 (realizeFont): take a ParagraphList::iterator as arg.
3681 (getLayoutFont): ditto
3682 (getLabelFont): ditto
3683 (setCharFont): ditto
3685 * text.C: adjust several funcs.
3687 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3689 * text.C (selectNextWordToSpellcheck): don't accidentally
3692 2003-04-10 John Levon <levon@movementarian.org>
3694 * ToolbarBackend.C (getIcon): special handling for
3697 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3699 * text2.C (cursorRight): a getChar assert fixed
3701 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3703 * text2.C (getFont): change to take a ParagraphList::iterator
3704 instead of Paragraph*
3705 Adjust several functions.
3707 * text.C (transformChar): change to take a ParagraphList::iterator
3708 instead of Paragraph*
3709 (singleWidth): ditto
3710 Adjust several functions.
3712 * rowpainter.C: adjust several functions
3713 * rowpainter.h:store a ParagraphList::iterator and not a
3717 2003-04-09 John Levon <levon@movementarian.org>
3722 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3723 and the "help" bits as well
3725 2003-04-09 John Levon <levon@movementarian.org>
3728 * ToolbarBackend.C: allow multiple toolbars
3730 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3732 * undo_funcs.C (setCursorParUndo): adjust
3734 * text_funcs.C (transposeChars): adjust
3736 * text3.C (gotoNextInset): adjust
3739 * text2.C (setLayout): adjust
3740 (changeDepth): adjust
3742 (redoParagraphs): adjust
3743 (selectionAsString): adjust
3744 (setParagraph): adjust
3745 (insertInset): adjust
3746 (cutSelection): adjust
3747 (copySelection): adjust
3748 (pasteSelection): adjust
3749 (insertStringAsLines): adjust
3750 (updateInset): adjust
3751 (setCursor): change to take a ParagraphList::iterator parameter
3752 (setCursorIntern): change to take a ParagraphList::iterator parameter
3753 (setCurrentFont): adjust
3754 (cursorLeft): adjust
3755 (cursorRight): adjust
3756 (deleteEmptyParagraphMechanism): adjust
3758 * text.C (breakParagraph): adjust
3759 (insertChar): adjust
3760 (acceptChange): adjust
3761 (rejectChange): adjust
3762 (selectNextWordToSpellcheck): adjust
3763 (changeCase): adjust
3767 * lyxfind.C (SearchForward): adjust
3768 (SearchBackward): adjust
3769 (nextChange): adjust
3771 * lyxcursor.C (par): adjust
3773 * lyxcursor.h: store a ParagraphList::iterator instead of a
3776 * lyx_cb.C (getPossibleLabel): adjust
3778 * bufferview_funcs.C (toggleAndShow): adjust
3780 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3783 * BufferView.C (removeAutoInsets): adjust
3784 (lockedInsetStoreUndo): adjust
3786 2003-04-09 John Levon <levon@movementarian.org>
3788 * ToolbarBackend.C: try icon without argument
3789 if with argument fails
3791 2003-04-08 John Levon <levon@movementarian.org>
3794 * ToolbarBackend.C: add getIcon(), handle tooltip,
3795 and change from "Icon" to "Item".
3797 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3799 * BufferView.C (lockInset): another bad getchar crunched
3801 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3803 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3806 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3808 * lyxfind.C (searchForward, searchBackwards): bug 782
3810 2003-04-07 John Levon <levon@movementarian.org>
3812 * paragraph.C: remove dead comment
3814 * text.C: remove troublesome depth-fiddling code
3815 in leftMargin() and rightMargin() (bug 1017)
3817 * text.C: fix breaking of rows in nested lists
3820 * text2.C (updateCounters): fix up depth values
3823 2003-04-07 John Levon <levon@movementarian.org>
3825 * BufferView_pimpl.C: clear message when doc finishes resizing,
3826 and after a mouse event
3828 * lyxfunc.C: clear message after exiting inset
3830 2003-04-07 John Levon <levon@movementarian.org>
3832 * bufferview_funcs.C: show math status not outside
3833 status in the statusbar
3835 2003-04-07 John Levon <levon@movementarian.org>
3837 * lyxfunc.C: note status changed after a depth change
3839 2003-04-04 Angus Leeming <leeming@lyx.org>
3841 * LaTeX.h: move AuxInfo operator==, != out of line.
3842 Remove LaTeX virtual destructor; nothing derives from it.
3843 Move operator()() out of public area and rename it startscript().
3844 Change protected for private.
3846 2003-04-04 Angus Leeming <leeming@lyx.org>
3849 * text2.C: remove unneeded #includes.
3851 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3853 * text2.C (dEPM): fix the heigth of the next row
3855 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3857 * text.C: squashed an invalid getChar requester + some ws changes
3859 2003-04-03 John Levon <levon@movementarian.org>
3861 * bufferview_funcs.h:
3862 * bufferview_funcs.C:
3865 * text2.C: make getStatus work for the env depth lfuns
3867 2003-04-03 John Levon <levon@movementarian.org>
3869 * bufferview_funcs.h:
3870 * bufferview_funcs.C:
3873 * text2.C: parlistize decDepth(), by merging it with incDepth()
3875 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3877 * lyxrow.h: store a ParagraphList::iterator instead of a
3878 Paragraph* and adjust other class functions to suit.
3880 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3883 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3885 * text2.C (setCursor): do not anchor to cursor row for the time being
3887 2003-04-02 John Levon <levon@movementarian.org>
3894 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3896 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3898 * paragraph.h: make ParagraphList and ParagraphList::iterator
3899 friends of Paragraph.
3901 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3903 * ParagraphList.C: Use the private next_ and previous_ from
3906 2003-04-01 John Levon <levon@movementarian.org>
3910 * Makefile.am: rename, remove defaults gunk
3913 * MenuBackend.C: remove defaults gunk
3916 * Languages.C: remove defaults gunk
3919 * lyx_main.C: error out if files couldn't be found.
3921 2003-04-02 John Levon <levon@movementarian.org>
3923 * text2.C: make incDepth() use parlist
3925 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3927 * undo_funcs.C (firstUndoParagraph): adjust
3929 * text3.C (gotoInset): adjust
3930 (dispatch): adjust, and rewrite loop.
3932 * text2.C (init): adjust, and rewrite loop.
3933 (redoParagraphs): adjust
3934 (updateInset): adjust, and rewrite loop.
3935 (deleteEmptyParagraphMechanism): adjust
3937 * tabular.C (LyXTabular): adjust
3938 (SetMultiColumn): adjust
3941 * lyxtext.[Ch] (ownerParagraph): delete function
3942 (ownerParagraphs): new function returns a ParagraphList.
3944 * BufferView.C (removeAutoInsets): adjust
3945 (insertErrors): adjust
3946 (setCursorFromRow): adjust
3948 2003-04-01 Angus Leeming <leeming@lyx.org>
3950 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3953 2003-04-02 John Levon <levon@movementarian.org>
3959 * text_funcs.C: make transposeChars a free function
3961 * lyxrow_funcs.C: remove wrong comment
3963 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3966 * rowpainter.C: adjust
3971 * lyxrow_funcs. [Ch]: new files
3973 * lyxrow.[Ch]: remove next and previous pointers
3974 (next,previous): remove accessor functions
3975 (isParEnd): move to lyxrow_funcs
3976 (lastPos): move to lyxrow_funcs
3977 (nextRowIsAllInset): move to lyxrow_funcs
3978 (lastPrintablePos): move to lyxrow_funcs
3979 (numberOfSeparators): move to lyxrow_funcs
3980 (numberOfHfills): move to lyxrow_funcs
3981 (numberOfLabelHfills): move to lyxrow_funcs
3982 (hfillExpansion): move to lyxrow_funcs
3986 * bufferview_funcs.C (toggleAndShow): adjust
3988 * RowList.h: Remove class RowList from file leave just a
3991 * RowList.C: delete file
3993 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3996 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3998 * text3.C (cursorPrevious): adjust
3999 (cursorNext): adjust
4002 * text2.C (redoHeightOfParagraph): adjust
4003 (redoDrawingOfParagraph): adjust
4006 * text.C (breakParagraph): adjust
4007 (insertChar): adjust
4010 * rowpainter.C (RowPainter): adjust
4011 (leftMargin): simplify and adjust
4012 (most rowpainter functions): adjust.
4014 * rowpainter.h: store the row as RowList::iterator not as Row*
4016 * lyxcursor.C (row): taka RowList::iterator as arg
4019 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4022 2003-04-01 Angus Leeming <leeming@lyx.org>
4024 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4025 stuff like bool Bool.
4027 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4029 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4032 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4034 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4037 * lyxtext.h (rows): drop one version and leve a const variant that
4038 returns a RowList::iterator.
4040 2003-03-31 Angus Leeming <leeming@lyx.org>
4042 * text.C (fill): ensure that the signature is the same as that in the
4045 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4047 * text2.C (redoParagraphs): adjust
4048 (updateCounters): adjust
4049 (checkParagraph): adjust
4050 (getColumnNearX): adjust and reformat a bit.
4052 * text.C (top_y): adjust
4054 (leftMargin): adjust
4055 (prepareToPrint): adjust
4057 (getRowNearY): adjust
4059 * lyxtext.h: make rowlist_ mutable.
4061 * RowList.h: add const_iterator
4062 * RowList.C: adjust for RowList::const_iterator.
4064 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4067 2003-03-31 John Levon <levon@movementarian.org>
4070 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4072 * lyx_main.C: set default fonts from using lyx_gui funcs
4074 * exporter.C: pdf_mode moved from lyxrc
4077 * lyxfunc.C: changes from above
4079 2003-03-31 John Levon <levon@movementarian.org>
4081 * lyx_main.C: fix to the last fix
4083 2003-03-31 John Levon <levon@movementarian.org>
4085 * bufferlist.C: "Load original" -> "Load Original"
4091 * format.C: more Alert cleanups
4093 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4095 * text2.C (removeParagraph): make it take a RowList::iterator as
4097 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4098 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4100 * text.C (anchor_row): make it take a RowList::iterator as arg,
4102 (computeBidiTables): make it take a const reference to Row instead
4103 of Row pointer, adjust.
4104 (leftMargin): make it take a RowList::iterator as arg, adjust.
4105 (rowBreakPoint): adjust
4106 (breakAgainOneRow): make it take a RowList::iterator as arg,
4108 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4110 * bufferview_funcs.C (toggleAndShow): adjust
4112 2003-03-30 John Levon <levon@movementarian.org>
4116 * boost-inst.C: moved to support
4118 * several files: changes as a result
4120 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4122 * text2.C (LyXText): adjust.
4124 (removeRow): make it take a RowList::iterator as arg, adjust.
4125 (fullRebreak): adjust
4126 (deleteEmptyParagraphMechanism): adjust
4127 (clearPaint): adjust
4130 * text.C (top_y): adjust
4131 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4132 (breakAgain): make it take a RowList::iterator as arg, adjust.
4133 (breakParagraph): adjust
4134 (insertChar): adjust
4137 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4138 need_break_row, and refresh_row.
4140 * text3.C (dispatch): adjust
4142 * text2.C (checkParagraph): adjust
4144 (setCursorFromCoordinates): adjust
4146 * text.C (top_y): adjust
4148 (getRow): make it return a RowList::iterator, adjust
4149 (getRowNearY): make it return a RowList::iterator, adjust
4151 * text2.C (init): adjust
4152 (insertRow): remove function
4153 (insertParagraph): adjust
4154 (redoParagraphs): adjust
4155 (fullRebreak): adjust
4156 (updateCounters): adjust
4158 * text.C (top_y): rewrite to use RowList iterators.
4160 (setHeightOfRow): rewrite to sue RowList iterators.
4161 (appendParagraph): adjust
4162 (breakAgain): adjust
4163 (breakAgainOneRow): adjust
4164 (breakParagraph): adjust
4166 (getRowNearY): adjust, and remove commented code.
4168 * lyxtext.h (firstRow): delete function
4169 (lastRow): delete function
4170 (rows): new function (const and non-const versions.)
4171 (insertRow): delete function
4173 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4175 2003-03-29 John Levon <levon@movementarian.org>
4177 * BufferView_pimpl.C: always update scrollbar top
4178 because pasting text when we're anchored could mean we
4179 miss an update altogether
4181 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4183 * text2.C (init): use rowlist_.end() and not 0.
4184 (insertRow): change to take a RowList::iterator as arg, adjust
4186 (insertParagraph): change to take a RowList::iterator as arg,
4188 (redoParagraphs): remove some debug msgs.
4190 * text.C (appendParagraph): change to take a RowList::iterator
4191 arg, adjust for this.
4192 (breakAgain): add an assert
4193 (breakAgainOneRow): ditto
4195 2003-03-29 John Levon <levon@movementarian.org>
4197 * text2.C: do not clear selection after inc/decDepth
4200 2003-03-29 John Levon <levon@movementarian.org>
4203 * buffer.C: fix broken strerrors according to Lars
4205 2003-03-29 John Levon <levon@movementarian.org>
4207 * converters.C: more Alert cleanups
4209 2003-03-29 John Levon <levon@movementarian.org>
4211 * bufferview_funcs.C: remove pointless Alert
4213 * buffer.C: fix confusing error message when
4214 a template is chmoded 000
4216 2003-03-29 John Levon <levon@movementarian.org>
4220 * BufferView_pimpl.C: Alert fixes
4224 * tabular-old.C: remove unused table compat reading
4226 2003-03-29 John Levon <levon@movementarian.org>
4231 * lyx_cb.C: more Alert cleanups
4233 * lyxfunc.C: don't allow chktex if not latex document
4235 2003-03-29 John Levon <levon@movementarian.org>
4239 * buffer.C: warnings pushed down from support/,
4242 2003-03-29 John Levon <levon@movementarian.org>
4244 * lyxfunc.C: safety check for C-r (revert)
4246 2003-03-29 John Levon <levon@movementarian.org>
4249 * bufferlist.C: several UI fixes using Alert::prompt.
4250 Fix the pointless looping quit code. Fix stupid revert
4255 * lyx_cb.C: use Alert::prompt
4257 * lyx_main.C: remove a silly question
4259 * lyxfunc.C: remove a couple of silly questions,
4262 2003-03-28 John Levon <levon@movementarian.org>
4264 * text2.C: fix bug 974 (End on empty par)
4266 2003-03-28 John Levon <levon@movementarian.org>
4268 * BufferView_pimpl.C:
4270 * lfuns.h: remove do-nothing math greek lfuns
4272 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4274 * lyxgluelength.h (isValidGlueLength): add default arg on
4275 parameter 2. Remove default arg from friend in class.
4277 * lyxlength.h (isValidLength): add default arg on parameter 2.
4278 Remove default arg from friend in class.
4280 * text2.C (LyXText): adjust, initialize refresh_row.
4284 (insertParagraph): adjst
4285 (redoParagraphs): adjust
4286 (fullRebreak): adjust
4287 (updateCounters): adjust
4288 (deleteEmptyParagraphMechanism): first attempt at fixing a
4291 * text.C (top_y): adjust
4292 (setHeightOfRow): adjust
4294 (getRowNearY): adjust
4296 * lyxtext.h: include RowList.h
4297 (~LyXText): not needed anymore, deleted.
4298 (firstRow): modify for RowList
4299 (lastRow): new function
4300 Delete firstrow and lastrow class variables, add a Rowlist
4301 rowlist_ class variable.
4303 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4306 * RowList.C (insert): fix case where it == begin().
4308 2003-03-26 Angus Leeming <leeming@lyx.org>
4310 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4311 the thesaurus dialog.
4313 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4315 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4317 * RowList.[Ch]: new files
4319 * ParagraphList.C (erase): handle the case where it == begin
4322 2003-03-25 John Levon <levon@movementarian.org>
4326 * aspell.C: add new aspell support
4329 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4332 2003-03-25 Angus Leeming <leeming@lyx.org>
4335 * LyXAction.C (init): new LFUN_INSET_INSERT.
4337 * BufferView_pimpl.C (dispatch): split out part of the
4338 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4340 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4343 2003-03-25 Angus Leeming <leeming@lyx.org>
4345 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4347 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4350 * text3.C: remove useless row->height(0)
4352 2003-03-25 John Levon <levon@movementarian.org>
4356 * text3.C: rename the refreshing stuff to better names
4358 2003-03-24 John Levon <levon@movementarian.org>
4360 * BufferView_pimpl.h:
4361 * BufferView_pimpl.C: update layout choice on a mouse
4364 2003-03-23 John Levon <levon@movementarian.org>
4366 * Makefile.am: fix commandtags.h reference
4368 2003-03-22 John Levon <levon@movementarian.org>
4370 * BufferView_pimpl.C:
4375 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4377 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4380 * text.C: take the rtl methods out of line
4382 2003-03-21 André Pönitz <poenitz@gmx.net>
4384 * metricsinfo.[Ch]: new files containing structures to be passed around
4385 during the two-phase-drawing...
4387 2003-03-21 André Pönitz <poenitz@gmx.net>
4389 * lyxtextclass.C: read 'environment' tag.
4391 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4393 * text2.C (removeRow): fix bug 964
4395 2003-03-20 John Levon <levon@movementarian.org>
4399 * text2.C: paint cleanups. Inset::update() dropped font
4402 2003-03-19 John Levon <levon@movementarian.org>
4404 * lyxfunc.C: only fitcursor/markDirty if available()
4406 2003-03-19 John Levon <levon@movementarian.org>
4408 * commandtags.h: rename to ...
4410 * lfuns.h: ... this, and renumber / cleanup
4412 2003-03-19 John Levon <levon@movementarian.org>
4414 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4415 fit the cursor after an lfun
4419 * BufferView_pimpl.h:
4420 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4422 * LyXAction.C: layout-character should have ReadOnly
4424 * ParagraphParameters.C:
4426 * bufferview_funcs.C:
4433 * undo_funcs.C: changes from above
4435 2003-03-18 John Levon <levon@movementarian.org>
4437 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4438 remove it from update()
4440 * lyxfunc.C: update layout choice after an lfun
4442 * text3.C: remove extra updateLayoutChoice()s
4444 2003-03-18 John Levon <levon@movementarian.org>
4446 * text.C: top_y change means full repaint, fix
4447 a drawing bug with cursor movement
4449 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4453 * text2.C: anchor row on setCursor
4455 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4457 * lyxtext.h: remove almost all mutable keywords
4460 * text3.C: remove const keywords accordingly
4462 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4464 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4466 (TeXEnvironment): ditto
4469 2003-03-17 John Levon <levon@movementarian.org>
4471 * text.C (rowBreakPoint): remove attempt to fix displayed
4472 math insets inside a manual label
4474 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4476 * lyxtext.h: remove BufferView* as first arg from almost all class
4478 * other files: adjust.
4480 2003-03-17 John Levon <levon@movementarian.org>
4484 * text2.C: more paint cleanups
4486 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4489 * rowpainter.C: remove "smart" background painting code
4491 2003-03-16 John Levon <levon@movementarian.org>
4496 * text3.C: add helper functions for setting refresh_row/y
4498 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4500 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4501 newline inset which *can* get inserted in the pass_thru layouts.
4502 This is primarily for literate documents.
4504 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4506 * buffer.C: increment LYX_FORMAT to 223
4508 2003-03-14 André Pönitz <poenitz@gmx.net>
4510 * textclass.h: prepare for environment handling, ws changes
4511 * lyxlayout.C: read latexheader and latexfooter tags
4513 2003-03-14 John Levon <levon@movementarian.org>
4515 * text2.C: rewrite ::status() a bit
4517 2003-03-13 John Levon <levon@movementarian.org>
4519 * lyxtext.h: add some docs
4521 2003-03-13 John Levon <levon@movementarian.org>
4526 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4528 2003-03-13 John Levon <levon@movementarian.org>
4530 * text3.C: fix appendix redrawing
4532 2003-03-13 John Levon <levon@movementarian.org>
4534 * text.C (setHeightOfRow):
4536 * rowpainter.C: make appendix mark have the text
4537 "Appendix" so the user knows what it is
4540 * LColor.C: s/appendixline/appendix/ from above
4542 2003-03-13 John Levon <levon@movementarian.org>
4544 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4546 * text.C: fix a getChar(pos) bug properly
4548 2003-03-13 Angus Leeming <leeming@lyx.org>
4551 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4552 Probably only temporary. Let's see how things pan out.
4554 * BufferView.C (unlockInset):
4555 * BufferView_pimpl.C (fitCursor):
4556 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4558 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4559 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4561 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4562 new functions that convert ParagraphParameters to and from a string.
4564 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4565 BufferView::Pimpl's dispatch.
4566 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4568 2003-03-13 André Pönitz <poenitz@gmx.net>
4572 * factory.C: make it aware of InsetEnv
4574 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4576 * text2.C (setCursor): never ask for one past last
4577 (setCursor): add some debugging messages.
4579 * text.C (singleWidth): never ask for one past last
4580 (singleWidth): ditto
4582 (rightMargin): ditto
4583 (rowBreakPoint): ditto
4584 (setHeightOfRow): ditto
4585 (prepareToPrint): ditto
4587 * rowpainter.C (paintBackground): never ask for one past last
4588 (paintText): never ask for one past last
4590 * paragraph_pimpl.C (getChar): make the assert stricter, never
4591 allow the one past last pos to be taken
4593 * paragraph.C (getChar): ws changes only
4595 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4596 (numberOfSeparators): ditto
4597 (numberOfHfills): ditto
4599 2003-03-12 John Levon <levon@movementarian.org>
4605 * paragraph_funcs.C: fix per-buffer authorlists
4607 2003-03-12 John Levon <levon@movementarian.org>
4609 * text.C: fix newline in right address
4611 2003-03-12 Angus Leeming <leeming@lyx.org>
4613 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4614 duplicate those in LyXFunc::dispatch.
4618 * ToolbarDefaults.C:
4619 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4620 Add LFUN_FONTFREE_UPDATE.
4622 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4623 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4625 * bufferview_func.[Ch]: several new functions to facilliate
4626 transfer of data to and from the character dialog.
4628 2003-03-12 John Levon <levon@movementarian.org>
4633 * paragraph_funcs.C:
4634 * paragraph_pimpl.C:
4638 * text3.C: remove META_NEWLINE in favour of an inset
4641 * rowpainter.C: remove paintNewline (done by inset)
4643 2003-03-12 John Levon <levon@movementarian.org>
4645 * paragraph_pimpl.C: complain about bad getChar()s
4646 for a while at least
4648 2003-03-12 John Levon <levon@movementarian.org>
4651 * buffer.C: move paragraph read into a separate function,
4652 a little renaming to reflect that.
4655 * bufferparams.C: remove the author_ids map, not necessary now
4658 * factory.C: moved Buffer::readInset to here
4660 * paragraph_funcs.h:
4661 * paragraph_funcs.C: readParagraph free function moved from
4664 * tabular.C: name change
4666 2003-03-12 John Levon <levon@movementarian.org>
4669 * ParagraphParameters.C: move par params input to
4672 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4673 behave like a normal read from the stream wrt reading
4674 a line vs. a \\token
4676 2003-03-12 John Levon <levon@movementarian.org>
4679 * ParagraphParameters.h:
4680 * ParagraphParameters.C: move output code to a
4683 2003-03-12 John Levon <levon@movementarian.org>
4685 * BufferView.C (insertLyXFile):
4688 * tabular.C: use a parlist iterator for creating the
4691 2003-03-12 John Levon <levon@movementarian.org>
4693 * buffer.C: make current_change static local not
4696 2003-03-12 John Levon <levon@movementarian.org>
4698 * buffer.C: fix insertStringAsLines for change tracking
4700 2003-03-12 John Levon <levon@movementarian.org>
4707 * bufferparams.C: move author list into params. Rename some
4708 functions. Move the header reading into a separate token
4709 loop. Move the header token reading into BufferParams.
4711 2003-03-12 John Levon <levon@movementarian.org>
4713 * changes.C: put debug inside lyxerr.debugging() checks
4715 2003-03-11 André Pönitz <poenitz@gmx.net>
4717 * factory.C: make it aware of InsetHFill
4719 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4721 * buffer.C (latexParagraphs): move function from here...
4722 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4725 2003-03-10 Angus Leeming <leeming@lyx.org>
4727 * LyXAction.C (init): fix bug in poplating array with multiple entries
4728 with the same LFUN (spotted by JMarc).
4730 2003-03-10 John Levon <levon@movementarian.org>
4733 * text2.C: move getColumnNearX() near its
4736 2003-03-10 John Levon <levon@movementarian.org>
4738 * text.C: fix break before a minipage
4740 2003-03-10 John Levon <levon@movementarian.org>
4742 * text.C: fix the last commit
4744 2003-03-09 John Levon <levon@movementarian.org>
4748 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4749 bug 365 (don't break before insets unless needed). Don't
4750 return a value > last under any circumstances.
4752 2003-03-09 Angus Leeming <leeming@lyx.org>
4754 * BufferView_pimpl.C (trackChanges, dispatch): call
4755 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4757 2003-03-09 Angus Leeming <leeming@lyx.org>
4759 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4760 than Dialogs::showAboutlyx().
4762 2003-03-09 Angus Leeming <leeming@lyx.org>
4764 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4765 than Dialogs::showTabularCreate().
4767 2003-03-09 John Levon <levon@movementarian.org>
4771 * text2.C: 3rd arg to nextBreakPoint was always the same.
4774 2003-03-08 John Levon <levon@movementarian.org>
4781 * text2.C: Remove the "main" bit from the "main body"
4784 2003-03-08 John Levon <levon@movementarian.org>
4786 * text.C (leftMargin): The left margin of an empty
4787 manual label paragraph should not include the label width
4790 * text.C (prepareToPrint): don't attempt to measure hfills
4791 for empty manual label paragraphs - the answer should be 0
4793 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4795 * CutAndPaste.C: remove commented code and reindent.
4797 2003-03-08 John Levon <levon@movementarian.org>
4800 * lyxfunc.C: move reloadBuffer()
4803 * BufferView.C: to here
4805 * lyxvc.C: add comment
4808 * vc-backend.C: call bv->reload() to avoid
4809 getStatus() check on MENURELOAD
4811 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4813 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4814 to an old format .dep file.
4816 2003-03-07 Angus Leeming <leeming@lyx.org>
4818 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4819 when the LFUN_MOUSE_RELEASE should have been handled by
4820 inset->localDispatch.
4822 2003-03-07 Angus Leeming <leeming@lyx.org>
4824 * BufferView_pimpl.C (dispatch):
4825 * LyXAction.C (init):
4826 * ToolbarDefaults.C (init):
4828 * lyxfunc.C (getStatus):
4829 remove LFUN_INSET_GRAPHICS.
4831 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4833 2003-03-07 Angus Leeming <leeming@lyx.org>
4836 * LyXAction.C (init):
4837 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4839 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4842 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4844 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4845 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4847 2003-03-07 Angus Leeming <leeming@lyx.org>
4849 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4852 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4854 * ParagraphList.C (front): new function
4857 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4859 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4860 and top_row_offset_. removed var first_y.
4862 * text2.C (LyXText, removeRow):
4864 * BufferView_pimpl.C:
4865 use these methods instead of using first_y
4867 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4869 * text2.C (pasteSelection): adjust for checkPastePossible
4871 * CutAndPaste.C: remove Paragraph * buf and replace with
4872 ParagraphList paragraphs.
4873 (DeleteBuffer): delete
4874 (cutSelection): change the tc type to textclass_type
4875 (copySelection): change the tc type to textclass_type
4876 (copySelection): adjust for ParagraphList
4877 (pasteSelection): change the tc type to textclass_type
4878 (pasteSelection): adjust for Paragraphlist
4879 (nrOfParagraphs): simplify for ParagraphList
4880 (checkPastePossible): simplify for ParagraphList
4881 (checkPastePossible): remove unused arg
4883 * ParagraphList.C (insert): handle the case where there are no
4886 * CutAndPaste.h: make CutAndPaste a namespace.
4888 * text3.C (dispatch): adjust
4890 * text.C (breakParagraph): add a ParagraphList as arg
4892 * paragraph_funcs.C (breakParagraph): change to take a
4893 BufferParams and a ParagraphList as args.
4894 (breakParagraphConservative): ditto
4895 (mergeParagraph): ditto
4896 (TeXDeeper): add a ParagraphList arg
4897 (TeXEnvironment): ditto
4900 * buffer.C (readLyXformat2): adjust
4901 (insertStringAsLines): adjust
4902 (latexParagraphs): adjust
4904 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4905 (cutSelection): adjust
4906 (pasteSelection): adjust
4908 * BufferView_pimpl.C (insertInset): adjust
4910 2003-03-05 Angus Leeming <leeming@lyx.org>
4913 * LyXAction.C (init):
4914 * BufferView_pimpl.C (dispatch):
4915 * lyxfunc.C (getStatus):
4916 remove LFUN_CHILD_INSERT.
4918 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4920 2003-03-05 Angus Leeming <leeming@lyx.org>
4923 * LyXAction.C (init):
4924 * src/factory.C (createInset):
4925 * lyxfunc.C (getStatus):
4926 * text3.C (dispatch):
4927 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4929 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4931 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4933 * ParagraphList.C (insert): handle insert right before end()
4934 (erase): fix cases where it can be first or last paragraph.
4936 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4938 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4939 Paragraph::next and Paragraph::previous
4942 * text.C (breakParagraph): adjust
4944 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4945 BufferParams& as arg.
4946 (breakParagraph): use ParagraphList::insert
4947 (breakParagraphConservative): take a Buffer* instead of a
4948 BufferParams& as arg.
4949 (breakParagraphConservative): use ParagraphList::insert.
4951 * buffer.C (insertStringAsLines): un-const it
4952 (insertStringAsLines): adjust
4954 * ParagraphList.C (insert): new function
4956 * CutAndPaste.C (pasteSelection): adjust
4958 * text.C (backspace): adjust
4960 * tabular.C (SetMultiColumn): adjust
4962 * CutAndPaste.C (cutSelection): adjust
4963 (pasteSelection): adjust
4965 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4966 Buffer const * as arg
4968 * ParagraphList.C (erase): new function
4969 * paragraph_funcs.C (mergeParagraph): use it
4970 (mergeParagraph): make it take a Buffer* instead of a
4971 BufferParams* as arg
4973 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4975 (breakParagraphConservative): ditto
4977 * paragraph.h: remove the breakParagraph friend
4979 * paragraph.C (eraseIntern): new function
4980 (setChange): new function
4982 * paragraph_funcs.C (mergeParagraph): make it take a
4983 ParagraphList::iterator instead of a Paragraph *, adjust
4986 * paragraph.h: move an #endif so that the change tracking stuff
4987 also works in the NO_NEXT case.
4989 2003-03-04 Angus Leeming <leeming@lyx.org>
4992 * LyXAction.C: new LFUN_INSET_MODIFY.
4994 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4995 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4997 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4999 * several files: ws changes only
5001 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5002 (TeXEnvironment): ditto
5005 * buffer.C (makeLaTeXFile): adjust
5006 (latexParagraphs): make it take ParagraphList::iterator as args
5008 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5010 * buffer.C (latexParagraphs): adjust
5012 * paragraph.C (TeXOnePar): move function...
5013 (optArgInset): move function...
5014 (TeXEnvironment): move function...
5015 * paragraph_pimpl.C (TeXDeeper): move function...
5016 * paragraph_funcs.C: ...here
5018 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5020 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5022 * buffer.C (readInset): remove compability code for old Figure and
5025 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5027 * buffer.C: ws changes
5030 * BufferView_pimpl.C: ditto
5033 * bufferlist.h: ditto
5037 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5039 * converter.[Ch]: split into itself +
5042 * Makefile.am: += graph.[Ch] + format.[Ch]
5049 * lyxrc.C: added #include "format.h"
5051 2003-02-27 Angus Leeming <leeming@lyx.org>
5053 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5056 * factory.C (createInset): add "label" to the factory.
5058 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5059 string and do no more.
5061 2003-02-27 Angus Leeming <leeming@lyx.org>
5064 * LyXAction.C (init):
5065 * factory.C (createInset):
5066 * BufferView_pimpl.C (dispatch):
5067 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5069 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5071 * lyxfunc.C (dispatch):
5072 * text3.C (dispatch): pass name to params2string.
5074 2003-02-26 Angus Leeming <leeming@lyx.org>
5076 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5078 Rearrange the ~includes. Strip out the unnecessary ones.
5080 * factory.C (createInset): reformat.
5081 create new insets for the various LFUN_XYZ_APPLY lfuns.
5083 2003-02-26 John Levon <levon@movementarian.org>
5086 * lyxrow.C: add isParStart,isParEnd helpers
5088 * paragraph.h: make isInserted/DeletedText take refs
5090 * paragraph_funcs.h:
5091 * paragraph_funcs.C: remove #if 0'd code
5096 * text.C: use lyxrow helpers above.
5097 Move draw and paint routines to RowPainter.
5098 Make several methods use refs not pointers.
5099 Make backgroundColor() const.
5100 Add markChangeInDraw(), isInInset().
5101 Merge changeRegionCase into changeCase.
5102 Make workWidth() shouldn't-happen code into an Assert.
5105 * rowpainter.C: new class for painting a row.
5108 * vspace.C: make inPixels take a ref
5110 2003-02-26 Angus Leeming <leeming@lyx.org>
5112 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5115 2003-02-25 John Levon <levon@movementarian.org>
5117 * ispell.C: give the forked command a more accurate name
5119 2003-02-22 John Levon <levon@movementarian.org>
5122 * toc.C: make TocItem store an id not a Paragraph *
5125 2003-02-21 Angus Leeming <leeming@lyx.org>
5127 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5128 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5129 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5130 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5131 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5132 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5134 * BufferView_pimpl.C (dispatch):
5135 * LyXAction.C (init):
5136 * factory.C (createInset):
5137 * lyxfunc.C (getStatus, dispatch):
5138 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5140 2003-02-21 Angus Leeming <leeming@lyx.org>
5142 * BufferView_pimpl.C (MenuInsertLyXFile):
5143 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5144 * lyxfunc.C (menuNew, open, doImport):
5145 no longer pass a LyXView & to fileDlg.
5147 2003-02-21 Angus Leeming <leeming@lyx.org>
5149 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5150 * LyXAction.C: change, BIBKEY to BIBITEM.
5151 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5152 Change InsetBibKey to InsetBibitem.
5153 Change BIBKEY_CODE to BIBITEM_CODE.
5154 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5155 * factory.C: replace insetbib.h with insetbibitem.h.
5156 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5157 * paragraph.C: replace insetbib.h with insetbibitem.h.
5158 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5159 Change bibkey() to bibitem().
5160 * text.C: remove insetbib.h.
5161 * text2.C: replace insetbib.h with insetbibitem.h.
5162 change bibkey() to bibitem().
5163 * text3.C: remove insetbib.h.
5164 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5166 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5168 * lyxrc.C (output): enclose user email in quotes (in case there are
5171 2003-02-18 John Levon <levon@movementarian.org>
5173 * buffer.h: add std::
5175 2003-02-17 John Levon <levon@movementarian.org>
5181 * pspell.C: reworking. Especially in ispell, a large
5182 number of clean ups and bug fixes.
5184 * lyxfunc.C: fix revert to behave sensibly
5186 2003-02-17 André Pönitz <poenitz@gmx.net>
5189 * commandtags.h: new LFUN_INSERT_BIBKEY
5199 * paragraph_func.C: remove special bibkey handling
5201 2003-02-17 John Levon <levon@movementarian.org>
5203 * text.C (Delete): fix case where delete at the end of
5204 the very first paragraph would not merge the pars
5206 2003-02-17 John Levon <levon@movementarian.org>
5208 * lyxrow.C: fix lastPrintablePos()
5210 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5212 * bufferparams.C (writeLaTeX): add a std:here
5214 * buffer.C: and remove a using directive there
5216 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5218 * buffer.C (makeLaTeXFile): move the code that generates the
5221 * bufferparams.C (writeLaTeX): ... in this new method
5223 * LaTeXFeatures.C (getEncodingSet): make const
5224 (getLanguages): make const
5226 * MenuBackend.C (binding): returns the binding associated to this
5228 (add): sets the status of each item by calling getStatus. Adds
5230 (read): add support for OptSubMenu
5231 (expand): remove extra separator at the end of expanded menu
5233 2003-02-15 John Levon <levon@movementarian.org>
5236 * BufferView_pimpl.C:
5238 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5239 inset code that had no actual effect. Remove unneeded status
5242 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5244 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5247 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5249 * text.C (drawLengthMarker): also draw an arrow marker for
5250 symbolic lengths (medskip...)
5252 2003-02-14 John Levon <levon@movementarian.org>
5255 * tabular.C: better method names
5257 2003-02-14 John Levon <levon@movementarian.org>
5259 * BufferView_pimpl.C:
5264 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5265 it's a more accurate name. Remove some pointless uses.
5267 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5269 * text2.C (LyXText): change order of initilizers to shut off
5272 2003-02-14 John Levon <levon@movementarian.org>
5274 * buffer.C: use ParIterator for getParFromID()
5278 * paragraph_pimpl.h:
5279 * paragraph_pimpl.C: remove unused getParFromID()
5281 2003-02-14 John Levon <levon@movementarian.org>
5283 * buffer.C: remove some very old #if 0'd parse code
5285 2003-02-13 John Levon <levon@movementarian.org>
5289 * text2.C: move hfillExpansion(), numberOfSeparators(),
5290 rowLast(), rowLastPrintable(), numberofHfills(),
5291 numberOfLabelHfills() ...
5294 * lyxrow.C: ... to member functions here.
5299 * text.C: remove LyXText::beginningOfMainBody(), and call
5300 p->beginningOfMainBody() directly. Move the check for
5301 LABEL_MANUAL into the latter.
5308 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5314 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5315 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5317 2003-02-13 John Levon <levon@movementarian.org>
5319 * CutAndPaste.C: remove debug
5321 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5323 * paragraph.C (asString): remove two unused variables
5325 * lyxtextclass.C (readTitleType):
5327 (LyXTextClass): handle new members titletype_ and titlename_
5329 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5331 2003-02-09 John Levon <levon@movementarian.org>
5334 * buffer.C: replace hand-coded list with a map for the dep clean
5336 2003-02-08 John Levon <levon@movementarian.org>
5338 * LaTeX.C: consolidate code into showRunMessage() helper
5340 2003-02-08 John Levon <levon@movementarian.org>
5345 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5346 and pass the size in explicitly
5348 * BufferView_pimpl.h:
5349 * BufferView_pimpl.C:
5351 * BufferView.C: add getCurrentChange()
5353 * BufferView_pimpl.h:
5354 * BufferView_pimpl.C: handle change lfuns
5356 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5357 for changes. Mark pasted paragraphs as new.
5359 * support/lyxtime.h:
5360 * support/lyxtime.C:
5361 * DepTable.C: abstract time_t as lyx::time_type
5364 * LColor.C: add colours for new text, deleted text, changebars
5366 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5367 package use "usenames" option.
5371 * LyXAction.C: add change lfuns
5375 * author.C: author handling
5378 * buffer.C: add a per-buffer author list, with first entry as
5379 current author. Handle new .lyx tokens for change tracking. Output
5380 author list to .lyx file. Output dvipost stuff to .tex preamble.
5381 Bump lyx format to 222.
5384 * bufferlist.C: add setCurrentAuthor() to reset current author details
5388 * bufferparams.C: add param for tracking
5390 * bufferview_funcs.C: output change info in minibuffer
5394 * changes.C: add change-tracking structure
5397 * debug.C: add CHANGES debug flag
5400 * lyxfind.C: add code for finding the next change piece
5403 * lyxrc.C: add user_name and user_email
5406 * lyxrow.C: add a metric for the top of the text line
5409 * text.C: implement accept/rejectChange()
5412 * text.C: paint changebars. Paint new/deleted text in the chosen
5413 colours. Strike through deleted text.
5417 * paragraph_pimpl.h:
5418 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5419 in the current change to the insert functions. Rework erase to
5420 mark text as deleted, adding an eraseIntern() and a range-based
5421 erase(). Implement per-paragraph change lookup and
5424 * paragraph_funcs.C: Fixup paste for change tracking.
5426 * tabular.C: mark added row/columns as new.
5428 * text.C: fix rowLast() to never return -1. Don't allow
5429 spellchecking of deleted text. Track transpose changes. Don't
5430 allow paragraph break or merge where appropriate.
5432 * text2.C: leave cursor at end of selection after a cut.
5434 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5436 * text.C (getLengthMarkerHeight):
5437 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5438 visible on screen too.
5440 2003-02-07 John Levon <levon@movementarian.org>
5442 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5444 2003-02-05 Angus Leeming <leeming@lyx.org>
5446 * lyxserver.C (read_ready): revert my patch of 11 September last year
5447 as it sends PC cpu through the roof. Presumably this means that
5448 the lyxserver will no longer run on an Alpha...
5450 2003-01-30 Angus Leeming <leeming@lyx.org>
5452 * factory.C (createInset): create an InsetCommandParam of type "index"
5453 and use it to 'do the right thing'.
5455 * text2.C (getStringToIndex): ensure that cursor position is always
5456 reset to the reset_cursor position.
5458 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5460 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5463 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5467 * lyxfunc.C: Output messages with identical spelling, punctuation,
5470 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5472 * MenuBackend.C (expandFormats): List only viewable export formats
5475 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5478 * lyxfunc.C (getStatus): Make sure that formats other than
5479 "fax" can also be disabled
5481 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5483 * text3.C (dispatch): put the lfuns that insert insets in 3
5484 groups, and call doInsertInset with appropriate arguments.
5485 (doInsertInset): new function, that creates an inset and inserts
5486 it according to some boolean parameters.
5488 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5490 * buffer.C (readFile): remember to pass on 'par' when calling
5491 readFile recursively.
5493 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5495 * MenuBackend.C (expandFormats): add "..." to import formats.
5497 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5499 * paragraph.C (asString): Remove XForms RTL hacks.
5501 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5502 * buffer.C: fix typo
5504 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5506 * Makefile.am (LIBS): delete var
5507 (lyx_LDADD): add @LIBS@ here instead.
5509 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5511 * Clarify the meaning of "wheel mouse jump"
5513 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5515 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5518 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5520 * importer.C (Loaders): do not preallocate 3 elements in the
5521 vector, since one ends up with 6 elements otherwise
5523 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5525 * DepTable.C (write): write the file name as last element of the
5526 .dep file (because it may contain spaces)
5527 (read): read info in the right order
5529 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5531 * paragraph_pimpl.C (simpleTeXBlanks):
5532 (simpleTeXSpecialChars):
5533 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5535 * tabular.C (latex): add some missing case statements. Reindent.
5537 * MenuBackend.C (expandToc): remove unused variable.
5539 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5548 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5551 2003-01-05 John Levon <levon@movementarian.org>
5554 * BufferView.C: add getEncoding()
5557 * kbsequence.C: do not store last keypress
5560 * lyxfunc.C: store last keypress here instead. Pass encoding
5563 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5565 * lyx_main.C (init): remove annoying error message when following
5566 symbolic links (bug #780)
5568 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5570 * text.C (insertChar):
5571 * lyxrc.C (getDescription): remove extra spaces
5573 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5575 * lyxrc.C (getDescription): remove extra spaces
5577 2002-12-20 John Levon <levon@movementarian.org>
5579 * text3.C: hack fix for page up/down across tall rows
5581 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5583 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5586 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5588 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5589 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5590 thesaurus is not compiled in
5592 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5594 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5596 2002-12-16 Angus Leeming <leeming@lyx.org>
5599 * lyx_main.C (init): remove override_x_deadkeys stuff.
5601 2002-12-12 John Levon <levon@movementarian.org>
5603 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5604 insert. Only remove shift modifier under strict
5607 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5609 * MenuBackend.C (expandToc): fix crash.
5611 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5613 * MenuBackend.C (expandToc): gettext on float names.
5615 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5617 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5618 implement bool empty() [bug 490]
5620 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5622 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5624 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5626 * several files: ws changes
5628 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5630 * text2.C (setCounter): clean up a bit, use boost.format.
5631 (updateCounters): initialize par upon declaration.
5633 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5634 if the layout exists. We do not just store the layout any more.
5635 (SwitchLayoutsBetweenClasses): use boost.format
5637 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5639 * converter.C (convert): if from and to files are the same, use a
5640 temporary files as intermediary
5642 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5645 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5647 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5649 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5651 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5653 * tabular.C (asciiPrintCell): use string(size, char) instead of
5656 * sgml.C (openTag): fix order of arguments to string constructor
5659 * lyxfunc.C (dispatch): use boost.format
5661 * lots of files: change "c" -> 'c'
5663 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5665 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5667 2002-11-25 Angus Leeming <leeming@lyx.org>
5669 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5671 * lyx_main.C (init): compile fix.
5673 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5675 * lyx_cb.C (start): boost.formatify
5676 do not include <iostream>
5678 * lengthcommon.C: ws only
5680 * boost-inst.C,BoostFormat.h: add more explict instantations
5682 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5684 * lots of files: handle USE_BOOST_FORMAT
5686 2002-11-21 John Levon <levon@movementarian.org>
5688 * pspell.C: fix compile
5690 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5692 * lyxfunc.C (dispatch): use boost::format
5696 * lyxfont.C (stateText): use boost::format
5698 * lyx_main.C (LyX): use boost::format
5700 (queryUserLyXDir): ditto
5703 (typedef boost::function): use the recommened syntax.
5705 * importer.C (Import): use boost::format
5707 * debug.C (showLevel): use boost::format
5709 * converter.C (view): use boost::format
5714 * bufferview_funcs.C (currentState): use boost::format
5716 * bufferlist.C (emergencyWrite): use boost::format
5718 * buffer.C (readLyXformat2): use boost::format
5719 (parseSingleLyXformat2Token): ditto
5721 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5723 * LaTeX.C (run): use boost::format
5725 * Chktex.C (scanLogFile): use boost::format
5727 * BufferView_pimpl.C (savePosition): use boost::format
5728 (restorePosition): ditto
5729 (MenuInsertLyXFile): ditto
5731 * BoostFormat.h: help file for explicit instation.
5733 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5735 * tabular.C (latex): Support for block alignment in fixed width
5738 2002-11-17 John Levon <levon@movementarian.org>
5740 * BufferView_pimpl.C:
5742 * lyxfunc.C: split filedialog into open/save
5744 2002-11-08 Juergen Vigna <jug@sad.it>
5746 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5747 by my last patch (hopefully).
5749 2002-11-08 John Levon <levon@movementarian.org>
5758 * toc.C: ParConstIterator, and use it (from Lars)
5760 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5762 * lyxtextclass.[Ch]: revise and add doxygen comments
5764 2002-11-07 John Levon <levon@movementarian.org>
5766 * text.C: fix progress value for spellchecker
5768 * toc.C: fix navigate menu for insetwrap inside minipage
5770 * paragraph_funcs.C: added FIXME for suspect code
5772 2002-11-07 John Levon <levon@movementarian.org>
5774 * BufferView_pimpl.C: fix redrawing of insets
5777 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5779 * text2.C (updateCounters): fix bug 668
5781 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5783 * text3.C (dispatch): Do not make the buffer dirty when moving the
5786 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5788 * vc-backend.C: STRCONV
5791 * text2.C (setCounter): STRCONV
5793 * paragraph.C (asString): STRCONV
5795 * lyxlength.C (asString): STRCONV
5796 (asLatexString): ditto
5798 * lyxgluelength.C (asString): STRCONV
5799 (asLatexString): ditto
5801 * lyxfunc.C (dispatch): STRCONV
5804 * lyxfont.C (stateText): STRCONV
5806 * importer.C (Import): STRCONV
5808 * counters.C (labelItem): STRCONV
5809 (numberLabel): ditto
5810 (numberLabel): remove unused ostringstream o
5815 * bufferview_funcs.C (currentState): STRCONV
5817 * buffer.C (readFile): STRCONV
5818 (asciiParagraph): ditto
5819 (makeLaTeXFile): ditto
5821 * Spacing.C (writeEnvirBegin): STRCONV
5823 * LaTeXFeatures.C (getLanguages): STRCONV
5824 (getPackages): ditto
5826 (getBabelOptions): ditto
5827 (getTClassPreamble): ditto
5828 (getLyXSGMLEntities): ditto
5829 (getIncludedFiles): ditto
5833 (scanAuxFile): ditto
5836 * LString.h: add the STRCONV macros
5838 * BufferView_pimpl.C (savePosition): STRCONV
5839 (restorePosition): ditto
5840 (MenuInsertLyXFile): ditto
5842 * vc-backend.C (scanMaster): change from submatch[...] to
5845 * funcrequest.C: include config.h
5847 * factory.C: include config.h
5849 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5851 * box.C: include config.h
5853 * LaTeX.C (scanAuxFile): change from submatch[...] to
5857 2002-10-25 Angus Leeming <leeming@lyx.org>
5859 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5861 * ispell.[Ch] (setError): new method.
5862 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5863 Use setError() insetead of goto END.
5865 * lyx_cb.C (AutoSave): move out child process into new class
5868 2002-10-30 John Levon <levon@movementarian.org>
5870 * text3.C: make start appendix undoable
5872 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5874 * lyxlength.C (inPixels): Fix returned value.
5876 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5879 2002-10-24 Angus Leeming <leeming@lyx.org>
5881 * lyxgluelength.h: no need to forward declare BufferParams
5882 or BufferView, so don't.
5884 2002-10-21 John Levon <levon@movementarian.org>
5886 * BufferView.C: menuUndo ->undo, redo
5888 * BufferView.h: document, remove dead, make some methods private
5890 * paragraph_funcs.h:
5891 * paragraph_funcs.C:
5892 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5897 * sgml.C: move sgml open/close tag into sgml.C
5899 * bufferview_funcs.h: unused prototype
5902 * lyxfunc.C: remove unused
5905 * text.C: remove unused
5907 2002-10-21 John Levon <levon@movementarian.org>
5911 * BufferView_pimpl.h:
5912 * BufferView_pimpl.C: fix mouse wheel handling based on
5913 patch from Darren Freeman
5915 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5917 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5919 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5921 * lyxlength.C (inPixels): Fix hanfling of negative length.
5922 Fix LyXLength::MU case.
5924 2002-10-16 John Levon <levon@movementarian.org>
5926 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5928 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5930 * converter.C (view): add support for $$i (file name) and $$p
5931 (file path) for the viewer command. If $$i is not specified, then
5932 it is appended to the command (for compatibility with old syntax)
5934 2002-10-14 Juergen Vigna <jug@sad.it>
5936 * undo_funcs.C (textHandleUndo): alter the order in which the
5937 new undopar is added to the LyXText, as we have to set first
5938 the right prev/next and then add it as otherwise the rebuild of
5939 LyXText is not correct. Also reset the cursor to the right paragraph,
5940 with this IMO we could remove the hack in "redoParagraphs()".
5942 2002-10-09 Angus Leeming <leeming@lyx.org>
5944 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5945 to turn off an optimisation if a new inset is to be inserted.
5947 2002-10-11 André Pönitz <poenitz@gmx.net>
5949 * lyxtext.h: make some functions public to allow access
5950 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5952 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5954 * text3.C (dispatch): when changing layout, avoid an infinite loop
5957 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5959 * lyxrc.C (read): treat a viewer or converter command of "none" as
5962 * MenuBackend.C (expandFormats): for an update, also allow the
5963 formats that are not viewable
5965 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5966 script if it is newer than the lyxrc.defaults in user directory
5968 2002-10-07 André Pönitz <poenitz@gmx.net>
5970 * text.C: Vitaly Lipatov's small i18n fix
5972 2002-09-25 Angus Leeming <leeming@lyx.org>
5974 * ispell.h: doxygen fix.
5976 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5978 * buffer.h (readFile): Add a new argument to the method, to allow
5979 reading of old-format templates.
5981 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5983 * toc.C (getTocList): Get TOC from InsetWrap.
5985 2002-09-16 John Levon <levon@movementarian.org>
5987 * lyxfunc.C: check tabular for cut/copy too
5989 2002-09-12 John Levon <levon@movementarian.org>
5994 * factory.C: add header
5996 * paragraph_funcs.h:
5997 * paragraph_funcs.C: cleanup
5999 2002-09-11 John Levon <levon@movementarian.org>
6001 * PrinterParams.h: odd/even default to true
6003 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6005 * PrinterParams.h: update printer parameters for new xforms dialog
6007 2002-09-11 Angus Leeming <leeming@lyx.org>
6009 * lyxserver.C (read_ready): re-write to make it more transparent
6010 and to make it work in coherent fashion under Tru64 Unix.
6012 2002-09-11 André Pönitz <poenitz@gmx.net>
6016 * text3.C: implement LFUN_WORDSEL
6018 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6020 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6021 make floatlist_ a boost::shared_ptr<FloatList>
6023 * lyxtextclass.C: include FloatList.h
6024 (LyXTextClass): initialize floatlist_
6025 (TextClassTags): add TC_NOFLOAT
6026 (Read): match "nofloat" to TC_NOFLOAT and use it.
6027 (readFloat): modify call to floatlist_
6031 * FloatList.[Ch] (FloatList): remove commented out float
6033 (erase): new function
6035 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6037 * MenuBackend.C (expandToc): fix crash when there is no document
6040 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6042 * many files: Add insetwrap.
6044 2002-09-09 John Levon <levon@movementarian.org>
6046 * text2.C: remove confusing and awkward depth wraparound
6048 2002-09-09 John Levon <levon@movementarian.org>
6050 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6053 * buffer.C: remove getIncludeonlyList()
6056 * lyxfunc.C: remove headers
6058 2002-09-09 Juergen Vigna <jug@sad.it>
6060 * text.C (getColumnNearX): fix form Michael this is most
6061 probably a cut&paste bug.
6063 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6065 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6067 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6068 references, ws changes.
6070 * text2.C (init): update counters after init
6071 (insertParagraph): no need to set counter on idividual paragraphs.
6072 (setCounter): access the counters object in the textclass object
6073 on in the buffer object.
6074 (updateCounters): ditto
6076 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6077 shared_ptr<Counters> to avoid loading counters.h in all
6079 (LyXTextClass): initialize ctrs_
6080 (TextClassTags): add TC_COUNTER, and ...
6081 (Read): use it here.
6082 (CounterTags): new tags
6083 (readCounter): new function
6084 (counters): new funtion
6085 (defaultLayoutName): return a const reference
6087 * counters.C (Counters): remove contructor
6088 (newCounter): remove a couple of unneeded statements.
6089 (newCounter): simplify a bit.
6090 (numberLabel): some small formatting changes.
6092 * buffer.[Ch]: remove all traces of counters, move the Counters
6093 object to the LyXTextClass.
6095 2002-09-06 Alain Castera <castera@in2p3.fr>
6097 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6098 package to set the horizontal alignment on fixed width columns.
6101 * lyx_sty.h: added tabularnewline macro def.
6103 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6105 2002-09-06 John Levon <levon@movementarian.org>
6107 * LyXAction.C: tooltips for sub/superscript
6109 * MenuBackend.C: a bit more verbose
6111 * lyxfunc.C: tiny clean
6113 * undo_funcs.C: document undo_frozen
6115 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6117 * counters.C (Counters): add missing algorithm counter.
6119 * text2.C (setCounter): lookup the counter with layouts latexname
6120 instead of by section number.
6121 (setCounter): use a hackish way to lookup the correct enum
6123 a float name->type change
6124 reset enum couners with counter name directly instead of depth value.
6126 * counters.C (Counters): remove the push_backs, change to use the
6127 float type not the float name.
6128 (labelItem): remove unused string, float name->type change
6130 * counters.h: don't include vector, loose the enums and sects vectors
6132 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6134 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6135 (Read): add float->TC_FLOAT to textclassTags
6136 (Read): and handle it in the switch
6137 (readFloat): new function
6139 * FloatList.C (FloatList): comment out the hardcoded float
6142 * lyxlayout.h: ws change.
6144 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6146 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6148 2002-09-03 Angus Leeming <leeming@lyx.org>
6150 * BufferView_pimpl.h: qualified name is not allowed in member
6151 declaration: WorkArea & Pimpl::workarea() const;
6153 * factory.C: added using std::endl directive.
6155 * text3.C: added using std::find and std::vector directives.
6157 2002-08-29 André Pönitz <poenitz@gmx.net>
6160 * text2.C: remove unused member number_of_rows
6163 * BufferView2.C: remove file, move contents to...
6164 * BufferView.C: ... here
6166 * BufferView_pimpl.C:
6167 * factory.C: move more inset creation to factory
6169 * vspace.C: avoid direct usage of LyXText, ws changes
6172 don't provide direct access to WorkArea, use two simple
6173 acessors haveSelction() and workHeight() instead
6176 2002-08-29 John Levon <levon@movementarian.org>
6178 * BufferView_pimpl.C (dispatch): do not continue when
6181 2002-08-28 André Pönitz <poenitz@gmx.net>
6183 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6186 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6188 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6190 * buffer.C: increment LYX_FORMAT to 221
6192 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6193 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6195 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6197 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6199 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6201 * factory.C (createInset): use LyXTextClass::floats
6203 * MenuBackend.C (expandFloatListInsert):
6204 (expandFloatInsert):
6207 * text2.C (setCounter):
6209 * LaTeXFeatures.C (useFloat):
6210 (getFloatDefinitions):
6212 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6214 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6215 floatlist_, with accessor floats().
6217 * FloatList.h: remove global FloatList
6219 2002-08-26 André Pönitz <poenitz@gmx.net>
6221 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6225 * BufferView_pimpl.C:
6226 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6228 2002-08-25 John Levon <levon@movementarian.org>
6230 * LyXAction.C: fix margin note description
6232 2002-08-24 John Levon <levon@movementarian.org>
6236 * bufferview_funcs.C:
6238 * undo_funcs.C: cleanups
6240 * lyxfunc.C: disable CUT/COPY when no selection
6242 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6244 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6245 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6247 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6248 Add backward compatibility to "mono", "gray" and "no".
6250 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6252 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6253 (and file_format >= 200).
6255 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6257 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6259 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6261 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6263 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6265 * BufferView_pimpl.C:
6272 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6273 inset and code to make it work with the paragraph code. The inset
6274 can be anywhere in the paragraph, but will only do the expected
6275 thing in LaTeX if the layout file contains the parameter line
6277 (or more generally, a nonzero value) for that layout.
6279 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6281 * paragraph.h: remove the declaration of undefined counters class
6284 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6286 * text2.C (setCounter): fixed enumeration mis-count as reported by
6287 Dr. Richard Hawkins.
6289 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6291 * paragraph_funcs.h: remove some unneeded includes
6293 * text.C (backspace): pasteParagraph now in global scipe
6295 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6296 (pasteSelection): ditto
6298 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6299 * paragraph_funcs.C (pasteParagraph): ... here
6301 2002-08-20 André Pönitz <poenitz@gmx.net>
6303 * commandtags.h: new LFUNs for swapping/copying table row/colums
6306 * lyxfunc.C: support for new lfuns
6308 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6311 * buffer.[Ch]: remove NO_COMPABILITY stuff
6313 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6315 * boost.C (throw_exception): new file, with helper function for
6316 boost compiled without exceptions.
6321 * ParameterStruct.h:
6322 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6324 * bufferlist.C (emergencyWriteAll): use boost bind
6326 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6328 * text.C: include paragraph_funcs.h
6329 (breakParagraph): breakParagraph is now in global scope
6331 * paragraph_funcs.[Ch]: new files
6333 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6336 * buffer.C: include paragraph_funcs.h
6337 (insertStringAsLines): breakParagraph is now in global scope
6339 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6342 * CutAndPaste.C: include paragraph_funcs.h
6343 (cutSelection): breakParagraphConservative is now in global scope
6344 (pasteSelection): ditto
6346 * buffer.h: declare oprator== and operator!= for
6347 Buffer::inset_iterator
6349 * bufferlist.C (emergencyWrite): don't use fmt(...)
6351 * text3.C: add using std::endl
6353 * BufferView.C (moveCursorUpdate): remove default arg
6355 2002-08-20 André Pönitz <poenitz@gmx.net>
6357 * buffer.[Ch]: move inline functions to .C
6360 * BufferView_pimpl.C:
6362 * buffer.[Ch]: use improved inset_iterator
6365 * paragraph.[Ch]: write one paragraph at a time
6367 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6369 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6370 style if style is not specified.
6372 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6374 * text2.C (setCounter): when searching for right label for a
6375 caption, make sure to recurse to parent insets (so that a caption
6376 in a minipage in a figure float works) (bug #568)
6378 2002-08-20 André Pönitz <poenitz@gmx.net>
6380 * text3.C: new file for LyXText::dispatch() and helpers
6382 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6384 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6386 2002-08-19 André Pönitz <poenitz@gmx.net>
6389 * text.C: new LyXText::dispatch()
6391 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6393 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6395 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6397 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6400 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6402 * Makefile.am: use $(variables) instead of @substitutions@
6404 2002-08-15 André Pönitz <poenitz@gmx.net>
6407 * BufferView_pimpl.C: streamlining mathed <-> outer world
6411 * LyXAction.C: remove unused LFUN_MATH
6413 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6415 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6417 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6419 * paragraph.C (Paragraph): reformat a bit
6420 (cutIntoMinibuffer): use builtin InsetList function instad of
6424 * buffer.C: include boost/bind.hpp, add using std::for_each
6425 (writeFileAscii): use ParagraphList iterators
6426 (validate): use for_each for validate traversal of paragraphs
6427 (getBibkeyList): use ParagraphList iterators
6428 (resizeInsets): use for_each to resizeInsetsLyXText for all
6430 (getParFromID): use ParagraphList iterators
6432 * BufferView2.C (lockInset): use paragraph list and iterators
6434 2002-08-14 John Levon <levon@movementarian.org>
6436 * lyxserver.C: remove spurious xforms include
6438 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6440 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6442 2002-08-13 André Pönitz <poenitz@gmx.net>
6445 * lyxfunc.C: further cleaning
6447 2002-08-13 André Pönitz <poenitz@gmx.net>
6449 * funcrequest.h: new constructor
6451 * funcrequest.C: move stuff here from .h
6454 * BufferView_pimpl.C:
6457 * lyxfunc.C: subsequent changes
6459 * lyxfunc.h: new view() member function
6461 * lyxfunc.C: subsequent changes
6463 2002-08-13 Angus Leeming <leeming@lyx.org>
6466 * BufferView_pimpl.C:
6474 changes due to the changed LyXView interface that now returns references
6475 to member variables not pointers.
6477 2002-08-13 Angus Leeming <leeming@lyx.org>
6479 * WordLangTuple (word, lang_code): return references to strings,
6484 * lyxtext.h: forward-declare WordLangTuple.
6489 * text.C: #include "WordLangTuple.h".
6492 * text.C: (selectNextWordToSpellcheck): constify return type.
6494 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6500 * paragraph_pimpl.h:
6503 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6505 Made updateCounter always count from start of buffer, and removed
6506 second argument (par).
6507 Reverted floats number display to '#'. Perhaps I'll try again when the
6508 code base is sanitized a bit.
6510 2002-08-12 Angus Leeming <leeming@lyx.org>
6512 * buffer.[Ch] (getLabelList): constify.
6514 2002-08-07 André Pönitz <poenitz@gmx.net>
6516 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6518 * funcrequest.h: extension to keep mouse (x,y) position
6520 2002-08-12 Juergen Vigna <jug@sad.it>
6522 * BufferView2.C (insertErrors): forbid undo when inserting error
6525 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6527 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6529 * ParagraphList.[Ch]: new files
6531 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6533 * BufferView2.C (lockInset): ParagraphList changes
6536 * bufferlist.C: ditto
6540 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6542 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6543 unused class variable counter_,
6545 * paragraph.[Ch] (getFirstCounter): delete unused function
6547 * counters.C: include LAssert.h
6548 (reset): add a new function with no arg, change other version to
6549 not have def. arg and to not allow empty arg.
6551 * text2.C (setCounter): remove empty arg from call to Counters::reset
6553 2002-08-11 John Levon <levon@movementarian.org>
6555 * Makefile.am: add WordLangTuple.h
6557 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6559 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6560 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6562 * insets/insettext.C: InsetList changes
6564 * graphics/GraphicsSupport.C (operator()): InsetList changes
6566 * toc.C (getTocList): InsetList changes
6568 * paragraph_pimpl.[Ch]: InsetList changes
6570 * paragraph.[Ch]: InsetList changes
6572 * buffer.C (inset_iterator): InsetList changes
6573 (setParagraph): ditto
6574 * buffer.h (inset_iterator): ditto
6575 * iterators.C (operator++): ditto
6576 * iterators.h: ditto
6578 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6580 * InsetList.[Ch]: new files, most InsetList handling moved out of
6583 * BufferView2.C (removeAutoInsets): InsetList changes
6585 (ChangeInsets): ditto
6587 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6589 * paragraph_pimpl.h (empty): new function
6591 * paragraph.[Ch] (empty): new function
6593 * other files: use the new Paragraph::empty function
6595 2002-08-09 John Levon <levon@movementarian.org>
6597 * lyxtext.h: remove unused refresh_height
6599 2002-08-09 John Levon <levon@movementarian.org>
6606 * paragraph.C: move sgml char escaping out of paragraph
6609 * paragraph.C: remove id setter
6613 * paragraph_pimpl.C: remove dead tex_code_break_column
6615 * bufferview_funcs.C: small cleanup
6617 * lyxfunc.C: remove dead proto
6619 * lyxtext.h: make some stuff private. Remove some dead stuff.
6621 * lyxgluelength.C: make as[LyX]String() readable
6623 2002-08-08 John Levon <levon@movementarian.org>
6628 * ToolbarDefaults.C:
6631 * toc.C: lyxaction cleanup
6633 2002-08-08 John Levon <levon@movementarian.org>
6635 * BufferView2.C: small cleanup
6638 * lyxfind.C: move unnecessary header into the .C
6640 2002-08-08 John Levon <levon@movementarian.org>
6642 * funcrequest.h: just tedious nonsense
6645 * lyx_main.C: cleanups
6648 * vspace.C: remove dead header lyx_main.h
6650 2002-08-07 Angus Leeming <leeming@lyx.org>
6653 * paragraph_pimpl.h:
6654 Forward declare class Counters in paragraph.h by moving the ctrs member
6655 variable into Paragraph::Pimpl.
6656 (counters): new method, returning a reference to pimpl_->ctrs.
6658 * text2.C: ensuing changes.
6660 2002-08-07 John Levon <levon@movementarian.org>
6662 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6664 * BufferView_pimpl.C: announce X selection on double/triple
6667 * lyx_main.C: use correct bool in batch dispatch
6669 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6671 2002-08-07 André Pönitz <poenitz@gmx.net>
6673 * funcrequest.h: new class to wrap a kb_action and its argument
6676 * BufferView_pimpl[Ch]:
6680 * lyxrc.C: subsequent changes
6683 2002-08-07 John Levon <levon@movementarian.org>
6685 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6686 document options change.
6688 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6693 * makefile.am: move counters functionality over from
6694 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6696 2002-08-06 John Levon <levon@movementarian.org>
6698 * WordLangTuple.h: new file for word + language code tuple
6709 * BufferView2.C: use WordLangTuple
6712 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6714 2002-08-06 John Levon <levon@movementarian.org>
6716 * lyx_main.C: fix cmdline batch handling
6718 2002-08-06 André Pönitz <poenitz@gmx.net>
6720 * lyxrc.C: set default for show_banner to true
6722 2002-08-06 John Levon <levon@movementarian.org>
6724 * pspell.C: fix a crash, and allow new aspell to work
6726 2002-08-06 John Levon <levon@movementarian.org>
6729 * kbmap.C: small cleanup
6732 * vspace.C: add const
6734 2002-08-05 John Levon <levon@movementarian.org>
6736 * LyXAction.C: back to tabular-insert
6738 2002-08-04 John Levon <levon@movementarian.org>
6741 * BufferView.C: cosmetic change
6743 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6753 * BufferView2.C: purge all "Lyx" not "LyX" strings
6756 * lyxcursor.C: attempt to add some documentation
6761 * ToolbarDefaults.C:
6762 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6763 merge with LFUN_TABULAR_INSERT
6770 * pspell.C: split up i/pspell implementations into separate
6771 files, many cleanups
6773 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6775 * text2.C: some cleanup
6777 * lyxfunc.C: don't check for isp_command == "none" any more, it
6778 didn't make any sense
6780 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6785 * makefile.am: move counters functionality over
6786 from text2.C/paragraph.[Ch] to counters.[Ch], and
6788 2002-08-02 John Levon <levon@movementarian.org>
6790 * buffer.C: s/lyxconvert/lyx2lyx/
6792 2002-08-02 Angus Leeming <leeming@lyx.org>
6794 * lyxlex.C: revert John's change as it breaks reading of the user
6797 2002-08-02 Angus Leeming <leeming@lyx.org>
6799 * importer.C (Import):
6800 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6801 changes due to LyXView::view() now returning a boost::shared_ptr.
6803 2002-08-02 John Levon <levon@movementarian.org>
6805 * lyxlex.C: small cleanup
6807 2002-08-02 John Levon <levon@movementarian.org>
6809 * text2.C (status): small cleanup, no logic change
6811 2002-08-01 John Levon <levon@movementarian.org>
6814 * buffer.C (writeFile): don't output alerts, caller
6818 * lyx_cb.C: from above
6820 * lyxfunc.C: allow to open non-existent files
6822 2002-07-31 John Levon <levon@movementarian.org>
6824 * lyxserver.C: don't let incidental errors get
6827 2002-07-30 John Levon <levon@movementarian.org>
6829 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6831 2002-07-30 John Levon <levon@movementarian.org>
6834 * lyxserver.C: remove I/O callback too
6836 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6838 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6841 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6843 * many files: strip,frontStrip -> trim,ltrim,rtrim
6845 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6847 * PrinterParams.h: remove extern containsOnly, and include
6848 support/lstrings.h instead.
6850 * LaTeX.C (scanAuxFile): modify because of strip changes
6852 * buffer.C (makeLaTeXFile): ditto
6853 * bufferparams.C (writeFile): ditt
6854 * lyxfont.C (stateText): ditto
6855 * lyxserver.C (read_ready): ditto
6856 * vc-backend.C (scanMaster): ditto
6858 * BufferView_pimpl.h: ws changes
6860 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6862 2002-07-26 André Pönitz <poenitz@gmx.net>
6864 * kb_sequence.C: remove unnedred usings
6866 2002-07-26 Juergen Vigna <jug@sad.it>
6868 * lyxfind.C (LyXReplace): we have to check better if the returned
6869 text is not of theLockingInset()->getLockingInset().
6871 2002-07-25 Juergen Vigna <jug@sad.it>
6873 * lyxfind.C (LyXReplace): don't replace if we don't get the
6876 * undo_funcs.C (createUndo): remove debugging code.
6878 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6880 * buffer.C (parseSingleLyXformat2Token): Use default placement
6881 when reading old floats.
6883 * FloatList.C (FloatList): Change the default placement of figure
6884 and tables to "tbp".
6886 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6888 * MenuBackend.C: using std::max
6890 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6892 * MenuBackend.C (expandToc):
6893 (expandToc2): code moved from xforms menu frontend. It is now
6894 generic and TOCs are transparent to menu frontends.
6896 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6898 * toc.C (getTocList): protect against buf=0
6900 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6901 Menu as first parameter. Now, this calls itself recursively to
6902 expand a whole tree (this will be useful for TOC handling)
6903 (expandFloatInsert): remove 'wide' version of floats
6905 * MenuBackend.h (submenuname): returns the name of the submenu.
6906 (submenu): returns the submenu itself, provided it has been
6907 created by MenuBackend::expand
6909 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6911 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6912 insets which have noFontChange == true. (bug #172)
6914 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6916 * BufferView_pimpl.C: add connection objects and use them...
6919 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6921 * MenuBackend.C (expandLastfiles):
6924 (expandFloatListInsert):
6925 (expandFloatInsert):
6926 (expand): split expand in parts
6928 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6930 * lyx_gui.C: use lyx_gui::exit()
6932 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6934 * LyXAction.C: show the failing pseudo action
6936 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6938 * buffer.C (readFile): Run the lyxconvert script in order to read
6941 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6945 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6947 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6951 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6953 2002-07-22 Herbert Voss <voss@lyx.org>
6956 * lyxlength.[Ch]: add support for the vertical lengths
6958 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6960 * toc.[Ch]: std:: fixes
6962 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6964 * lyxrc.C: do not include lyx_main.h
6966 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6972 * BufferView2.C: include "lyxlex.h"
6975 * bufferparams.h: do not #include "lyxlex.h"
6977 * lyxtextclasslist.C (Add): remove method
6978 (classlist): renamed to classlist_
6980 * paragraph_pimpl.C:
6984 * bufferview_funcs.C:
6989 * toc.C (getTocList): use BufferParams::getLyXTextClass
6991 * toc.C (getTocList): use InsetFloat::addToToc
6993 * toc.[Ch]: new files, containing helper functions to handle table
6996 * lyxfunc.C (dispatch): no need to remove spaces around command
6998 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6999 first command of the sequence; it is not very clever, but I do not
7000 have a better idea, actually
7002 * LyXAction.C (LookupFunc): make sure to remove space at the
7003 beginning and end of the command
7005 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7007 * MenuBackend.C (getMenubar): new method: return the menubar of
7009 (read): treat differently reading of menu and menubar (in
7010 particular, the menubar has no name now)
7011 (Menu::menubar): remove
7013 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7016 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7018 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7019 a bibitem inset in a RTL paragraph.
7021 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7023 * paragraph_pimpl.C: constify
7025 * BufferView_pimpl.C:
7027 * lyxfunc.C: fix dispatch in a nicer way
7029 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7031 * lyxfunc.C (dispatch):
7032 * BufferView_pimpl.C:
7033 * BufferView_pimpl.h:
7035 * BufferView.h: rename Dispatch() to dispatch()
7037 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7039 * lyxlayout.C (Read): honor DependsOn tag
7041 * lyxlayout.[Ch] (depends_on): new method
7043 * version.C.in: update lyx_docversion
7045 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7047 * paragraph.C (validate): remove from here...
7048 * paragraph_pimpl.C (validate): ... and move here
7049 (isTextAt): make it const
7051 * buffer.C (getLists): ws cleanup
7053 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7055 * language.C (read): Use iso8859-1 encoding in latex_lang
7056 (this prevents LyX from crashing when using iso10646-1 encoding).
7058 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7060 * text2.C (toggleInset): if cursor is inside an inset, close the
7061 inset and leave cursor _after_ it
7063 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7065 * lyxfunc.C: move minibuffer completion handling out of here
7067 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7069 * BufferView_pimpl.C:
7070 * LaTeX.C: fix dispatch calls
7072 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7074 * text.C (drawChars): Fix Arabic text rendering.
7076 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7080 * lyxfunc.C: remove message-push/pop
7084 * lyxfunc.C: rationalise some code by removing verboseDispatch
7085 in favour of a bool argument to dispatch()
7087 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7089 * lyx_main.C (init): make sure to read symlinks as absolute paths
7091 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7094 * lyxfunc.C: no need for commandshortcut to be a member
7096 2002-07-15 André Pönitz <poenitz@gmx.net>
7098 * converter.C: add support for $$s (scripts from lib/scripts dir)
7099 * lyx_main.C: white space
7101 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7105 * lyxrc.C: remove second exit confirmation
7107 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7112 * BufferView_pimpl.h:
7113 * BufferView_pimpl.C:
7114 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7116 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7118 * MenuBackend.C (expand): add numeric shortcuts to document menu
7120 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7122 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7124 * lyxfont.C (setLyXFamily):
7131 * buffer.C (asciiParagraph): use ascii_lowercase
7133 2002-07-15 Mike Fabian <mfabian@suse.de>
7135 * lyxlex_pimpl.C (search_kw):
7136 * lyxlex.C (getLongString):
7137 * converter.h (operator<):
7138 * converter.C (operator<):
7139 * buffer.C (parseSingleLyXformat2Token):
7141 * ToolbarDefaults.C (read):
7142 * MenuBackend.C (checkShortcuts):
7144 * LColor.C (getFromGUIName):
7145 (getFromLyXName): use the compare_ascii_no_case instead of
7146 compare_no_case, because in turkish, 'i' is not the lowercase
7147 version of 'I', and thus turkish locale breaks parsing of tags.
7149 2002-07-16 Angus Leeming <leeming@lyx.org>
7151 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7152 now takes a Buffer const & argument.
7154 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7156 * BufferView.C (resize): check there's a buffer to resize
7158 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7160 * lyxfunc.C: remove dead code
7163 * lyxserver.C: use lyx_guii::set_read_callback
7165 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7167 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7168 an inset in a RTL paragraph.
7170 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7172 * lyxfunc.C: repaint after a font size update
7174 2002-07-15 André Pönitz <poenitz@gmx.net>
7176 * lyxlength.C: inBP should be able to return negative values
7178 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7180 * lyxfunc.C: use lyx_gui::update_fonts()
7182 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7184 * lyxfunc.C: use lyx_gui::update_color()
7186 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7192 * lyxrc.C: remove file->new asks for name option, and let
7193 buffer-new take an argument
7195 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7197 * BufferView_pimpl.C: remove unneeded extra repaint()
7199 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7201 * LyXAction.C: allow command-sequence with NoBuffer
7203 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7205 2002-07-10 Angus Leeming <leeming@lyx.org>
7207 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7209 2002-07-09 Angus Leeming <leeming@lyx.org>
7211 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7213 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7215 * lengthcommon.h: whitespace
7217 * lyxfunc.C: update scrollbar after goto paragraph
7219 * lyxtext.h: factor out page break drawing, and fix it so
7220 page break/added space paints as selected nicely
7222 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7224 * BufferView_pimpl.C: add FIXMEs, clean up a little
7226 2002-07-09 André Pönitz <poenitz@gmx.net>
7228 * lyxfont.[Ch]: support for wasy symbols
7230 2002-07-08 André Pönitz <poenitz@gmx.net>
7232 * BufferView_pimpl.C: apply John's patch for #93.
7234 2002-07-05 Angus Leeming <leeming@lyx.org>
7236 * BufferView_pimpl.C (buffer): generate previews if desired.
7238 * LColor.h: add "preview" to the color enum.
7240 * LColor.C (LColor): add a corresponding entry to the items array.
7242 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7245 2002-07-05 Angus Leeming <leeming@lyx.org>
7247 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7248 The body of the code is now in the method that is passed an ostream &
7249 rather than a file name.
7250 Pass an additional only_preamble parameter, useful for the forthcoming
7253 2002-07-03 André Pönitz <poenitz@gmx.net>
7255 * lyxfunc.C: simplify getStatus() a bit for math stuff
7257 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7259 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7261 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7263 * text.C (changeRegionCase): do not change case of all the
7264 document when region ends at paragraph end (bug #461)
7266 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7268 * paragraph.C (startTeXParParams):
7269 (endTeXParParams): add \protect when necessary
7271 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7273 * BufferView_pimpl.C (workAreaExpose): remove warning
7275 2002-06-27 Angus Leeming <leeming@lyx.org>
7277 * Makefile.am: add lyxlayout_ptr_fwd.h.
7279 2002-06-26 André Pönitz <poenitz@gmx.net>
7281 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7283 2002-06-25 Angus Leeming <leeming@lyx.org>
7285 * lyxfunc.C (dispatch): Comment out the call to
7286 grfx::GCache::changeDisplay. The method no longer exists now that the
7287 pixmap generation part of the graphics loader has been moved into
7290 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7292 * text2.C: layout as layout
7294 * text.C: layout as layout
7296 * tabular.C (OldFormatRead): layout as layout
7298 * paragraph_pimpl.C (TeXDeeper): layout as layout
7299 (realizeFont): layout as layout
7301 * paragraph.C (writeFile): layout as layout
7302 (validate): layout as layout
7303 (getFont): layout as layout
7304 (getLabelFont): layout as layout
7305 (getLayoutFont): layout as layout
7306 (breakParagraph): layout as layout
7307 (stripLeadingSpaces): layout as layout
7308 (getEndLabel): layout as layout
7309 (getMaxDepthAfter): layout as layout
7310 (applyLayout): layout as layout
7311 (TeXOnePar): layout as layout
7312 (simpleTeXOnePar): layout as layout
7313 (TeXEnvironment): layout as layout
7314 (layout): layout as layout
7315 (layout): layout as layout
7317 * lyxtextclass.C (compare_name): new functor to work with
7318 shared_ptr, layout as layout
7319 (Read): layout as layout
7320 (hasLayout): layout as layout
7321 (operator): layout as layout
7322 (delete_layout): layout as layout
7323 (defaultLayout): layout as layout
7325 * lyxlayout_ptr_fwd.h: new file
7327 * lyxlayout.C (Read): layout as layout
7329 * lyx_cb.C (MenuInsertLabel): layout as layout
7331 * bufferlist.C (newFile): layout as layout
7333 * buffer.C (readLyXformat2): layout as layout
7334 (parseSingleLyXformat2Token): layout as layout
7335 (insertStringAsLines): layout as layout
7336 (asciiParagraph): layout as layout
7337 (latexParagraphs): layout as layout
7338 (makeLinuxDocFile): layout as layout
7339 (simpleLinuxDocOnePar): layout as layout
7340 (makeDocBookFile): layout as layout
7341 (simpleDocBookOnePar): layout as layout
7342 (getLists): layout as layout
7344 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7346 * CutAndPaste.C (cutSelection): layout as layout
7347 (pasteSelection): layout as layout
7348 (SwitchLayoutsBetweenClasses): layout as layout
7350 * BufferView_pimpl.C (Dispatch): layout as layout
7351 (smartQuote): layout as layout
7353 * BufferView2.C (unlockInset): layout as layout
7355 2002-06-24 André Pönitz <poenitz@gmx.net>
7357 * lyxfunc.C: fix #487
7359 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7363 * lyxfunc.C: remove display_shortcuts, show_banner
7365 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7367 * Buffer_pimpl.C: oops, update on resize
7369 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7376 * BufferView.C: use repaint()
7378 * BufferView_pimpl.h:
7379 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7380 as it's a clearer description. Remove superfluous
7383 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7385 * text.C: fix bug 488. Not ideal, but getting
7386 getWord() to work properly for the insets that
7387 matter is more difficult ...
7389 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7391 * BufferView_pimpl.C:
7394 * lyxfunc.C: remove the six million index lyxfuncs to just
7395 one, and DTRT (bug 458)
7397 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7401 * BufferView_pimpl.h:
7402 * BufferView_pimpl.C: clean up resize() stuff,
7403 and unnecessary updateScreen()s
7405 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7409 * BufferView_pimpl.h:
7410 * BufferView_pimpl.C:
7413 * minibuffer.C: remove focus management of workarea,
7414 not needed. Use screen's greyOut()
7416 2002-06-17 Herbert Voss <voss@lyx.org>
7418 * converter.C: (convert) do not post a message, when converting
7419 fails, let the calling function decide what to do in this case
7421 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7423 * lyxfunc.C: tidy up a little
7425 2002-06-16 <alstrup@diku.dk>
7427 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7428 Got rid of FORMS_H_LOCATION include. Now we are
7431 2002-06-15 LyX Development team <lyx@rilke>
7433 * buffer.[Ch] (sgmlOpenTag):
7434 (sgmlCloseTag): Added support for avoiding pernicious mixed
7435 content. Return number of lines written.
7438 (makeDocBookFile): Fixed calls to sgml*Tag.
7439 Simple white space clean.
7441 (simpleDocBookOnePar): Simple white space clean.
7443 * tabular.[Ch] (docBook): Renamed to docbook and got another
7444 argument to related with the pernicious mixed content.
7446 (docbookRow): Fixed calls for docbook inset method.
7448 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7450 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7451 so it's X11 independent.
7455 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7457 2002-06-15 Lyx Development team <lyx@electronia>
7459 * intl.h: Renamed getTrans to getTransManager.
7461 2002-06-14 Angus Leeming <leeming@lyx.org>
7463 * Makefile.am: nuke forgotten stl_string_fwd.h.
7465 2002-06-12 Angus Leeming <leeming@lyx.org>
7467 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7469 2002-06-13 Angus Leeming <leeming@lyx.org>
7472 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7474 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7476 * kbmap.C (getiso): add support for cyrillic and greek
7478 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7482 * BufferView_pimpl.h:
7483 * BufferView_pimpl.C: move bogus scrolling logic
7486 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7489 * BufferView_pimpl.C: view->resize() change
7491 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7493 * BufferView_pimpl.C: topCursorVisible
7496 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7500 * lyx_gui.C: move to frontends/
7504 * lyx_main.C: changes from above
7506 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7513 * lyx_main.C: minor tidy
7515 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7517 * BufferView_pimpl.h:
7518 * BufferView_pimpl.C:
7520 * BufferView.C: make painter() const,
7523 * BufferView2.C: use screen() accessor
7526 * lyx_main.C: some minor cleanup
7528 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7530 * BufferView_pimpl.h:
7531 * BufferView_pimpl.C: remove enter/leaveView,
7534 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7539 * BufferView_pimpl.h:
7540 * BufferView_pimpl.C: only construct screen once,
7543 * lyxrc.C: remove pointless comment
7545 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7548 * BufferView.C: remove active() and belowMouse()
7550 * BufferView_pimpl.h:
7551 * BufferView_pimpl.C: use workarea() not workarea_,
7552 and make it use a scoped_ptr instead
7554 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7556 * lyx_gui.C: add debug message on BadWindow
7558 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7560 * sp_spell.C: fdopen is not part of the C++ standard.
7562 * paragraph.C (InsetIterator): use >= instead of ==
7564 2002-06-07 Angus Leeming <leeming@lyx.org>
7566 Fixes needed to compile with Compaq cxx 6.5.
7567 * BufferView_pimpl.C:
7574 * lyxtextclasslist.C:
7579 all c-library variables have been moved into namespace std. Wrap
7580 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7585 Add a using std::abs declaration.
7587 * kbmap.h (modifier_pair):
7588 * paragraph.h (InsetTable, InsetList):
7589 * lyxfont.h (FontBits):
7590 type definition made public.
7592 * bufferlist.C (emergencyWriteAll): the compiler complains that
7593 there is more than one possible lyx::class_fun template to choose from.
7594 I re-named the void specialisation as lyx::void_class_fun.
7596 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7598 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7599 the compiler is is unable to find tostr in write_attribute.
7601 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7603 * buffer.C (sgmlError): hide #warning
7605 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7607 * xtl/*: get rid of xtl, which is not in use anyway
7609 * LyXAction.C (init):
7610 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7611 were unimplemented xtl experimentation
7613 2002-06-04 André Pönitz <poenitz@gmx.net>
7615 * lyxfunc.C: disable array operation on simple formulae
7617 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7619 * converter.C: constify a bit
7621 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7623 * lyx_gui.C: check xforms version correctly
7625 2002-04-30 Herbert Voss <voss@lyx.org>
7627 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7630 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7632 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7633 attempt to register it with a VCS)
7635 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7637 * lyx_main.C (init): honor variables LYX_DIR_13x and
7640 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7644 * lyx_main.C: fix a crash on bad command line,
7645 and give a useful exit status on error
7647 * lyxfunc.C (doImport): allow -i lyx to work
7649 2002-03-30 André Pönitz <poenitz@gmx.net>
7651 * lyxfunc.C: mathed font changes
7653 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7668 * trans_mgr.h: srcdocs, and some minor cleanups
7670 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7672 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7673 call getFont all the time)
7675 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7677 * switch from SigC signals to boost::signals
7679 2002-05-29 André Pönitz <poenitz@gmx.net>
7681 * paragraph_pimpl.C (getChar): don't call size() too often...
7683 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7685 * paragraph_pimpl.C (insertChar): do not try to update tables when
7686 appending (pos == size())
7688 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7689 in order to reduce drastically the number of comparisons needed to
7690 parse a large document
7692 2002-05-29 André Pönitz <poenitz@gmx.net>
7698 * textclasslist.[Ch]:
7699 * sp_ispell.h: whitespace change
7701 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7703 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7704 lyxaction directly now.
7706 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7710 * lyxvc.C: remove unused headers
7712 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7719 * undo_funcs.C: some cleanups. Use shared_ptr
7720 and a template for the undo stacks.
7722 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7724 * BufferView_pimpl.h:
7725 * BufferView_pimpl.C:
7732 * text2.C: use key_state/mouse_state
7734 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7736 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7739 * chset.C: change include order
7740 (loadFile): use boost regex and get rid of LRegex and LSubstring
7742 * Makefile.am (BOOST_LIBS): new variable
7745 * LaTeX.C: change include order.
7746 (scanAuxFile): use boost regex and get rid of LRegex and
7750 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7755 * FontInfo.C: moved to frontends/xforms/
7758 * FontLoader.C: moved into frontends for GUIIzation
7763 * lyxfunc.C: changes from above
7765 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7767 * LColor.C: remove spurious X include
7769 * BufferView_pimpl.C:
7774 * text2.C: move font metrics to frontends/
7776 2002-05-24 Juergen Vigna <jug@sad.it>
7778 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7779 setting the undo_cursor.
7781 * ParagraphParameters.h: include local includes first.
7783 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7785 * BufferView_pimpl.C:
7786 * BufferView_pimpl.h:
7790 * screen.C: move WorkArea into frontends/
7796 * BufferView2.C: move LyXScreen into frontends/
7800 * lyx_gui.C: move lyxlookup into frontends/xforms/
7802 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7805 * BufferView_pimpl.C:
7815 * bufferview_funcs.C:
7828 * vc-backend.C: move LyX/XFormsView into frontends/
7830 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7842 * text2.C: move Painter to frontends/
7844 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7846 * buffer.C: comment out some some code that depend upon lyx_format
7849 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7850 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7852 * buffer.h (NO_COMPABILITY): turn off compability
7854 * ColorHandler.C: include scoped_array.hpp
7856 * font.C: Use more specific smart_ptr header.
7859 * ShareContainer.h: ditto
7863 * BufferView_pimpl.h: ditto
7864 * ColorHandler.h: ditto
7866 * kbmap.C (defkey): change call to shared_ptr::reset
7868 2002-05-21 Juergen Vigna <jug@sad.it>
7870 * buffer.C (insertErtContents): fix to insert ert asis if it is
7871 non empty. Skip it completely if it contains only whitespaces.
7873 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7875 * BufferView_pimpl.C:
7876 * BufferView2.C: clear selection on paste (bug 393)
7878 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7880 * DepTable.C: include ctime
7882 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7884 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7886 2002-05-14 Juergen Vigna <jug@sad.it>
7888 * text.C (breakParagraph): fixed function to honor the keepempty
7889 layout in the right maner and also to permit the right breaking
7890 algorithm on empty or non empyt keepempty paragraphs.
7892 * paragraph.C (breakParagraph): we have to check also if the par
7893 is really empty (!size()) for isempty otherwise we do the wrong
7896 2002-05-10 Juergen Vigna <jug@sad.it>
7898 * buffer.[Ch] : The following are only changes to the ert
7899 compatibility read reading old LaTeX layout and font stuff and
7900 convert it to ERTInsets.
7902 * buffer.h: added isErtInset().
7904 * buffer.C (struct ErtComp): add a fromlayout bool to check
7905 if we're inside a LaTeX layout.
7906 (isErtInset): new helper function.
7907 (insertErtContents): look for other ert insets before this one
7908 and insert the contents there, so that we don't have subsequent
7909 ERT insets with nothing between them. This way we create only one
7910 inset with multiple paragraphs. Also check if we don't insert only
7911 spaces ' ' as they are ignored anyway afterwards in the .tex file
7912 so if we have only spaces we will ignore this latex part in the
7914 (parseSingleLyXformat2Token \\layout): better compatibility when
7915 reading layout-latex stuff.
7916 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7918 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7919 stuff after reading the inset only get the information back from
7922 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7924 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7926 * LaTeXFeatures.C (getBabelOptions): New method.
7928 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7930 * BufferView_pimpl.C (Dispatch): work around missing argument for
7933 2002-05-08 Juergen Vigna <jug@sad.it>
7935 * text.C (leftMargin): handle paragraph leftindent.
7937 * paragraph.C (writeFile): write the new \\leftindent tag.
7938 (validate): handle leftindent code.
7939 (TeXEnvironment): handle paragraphleftindent code again.
7941 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7943 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7944 for paragrap_extra indent code and new token \\leftindent.
7945 (latexParagraphs): handle the leftindent as environment.
7947 * ParameterStruct.h: added leftindent support.
7949 * ParagraphParameters.C (leftIndent): added support functions for
7950 the paragraph left indent.
7952 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7955 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7957 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7960 * text.C (computeBidiTables): No bidi in insetERT.
7962 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7965 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7967 * version.C.in: pre 5
7969 2002-05-02 José Matos <jamatos@fep.up.pt>
7970 * buffer.C (makeDocBookFile): white space changes, add newline to
7972 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7974 * tabular.C (docBook): fix typo.
7976 2002-05-03 Juergen Vigna <jug@sad.it>
7978 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7979 change in LyXText as we can not be sure it was not freed.
7980 (drawOneRow): remove unused code.
7982 * text.C (drawInset): redo the calculation of the need_break_row as
7983 it could have a row which was already freed.
7984 (draw): look at the return value of drawInset and return false if
7985 it also returned false.
7986 (paintRowText): look at the return value of draw and return false if
7987 it also returned false.
7989 * lyxtext.h: added bool return type to drawInset() and draw() so that
7990 if we have a change in the row so that the rowbreak has to be redone
7991 we abort drawing as it will be called again.
7993 2002-05-02 Juergen Vigna <jug@sad.it>
7995 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7996 a change in the maintext also if we're inside an inset.
7997 (Dispatch): set the cursor again after a break line and after the
7998 screen has been updated as it could be we're in a different row.
8000 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8001 to set the cursor behind the pargraph with > size().
8002 (setCursor): check also for the same paragraph when checking where
8003 to put the cursor if we have a NFR inset.
8005 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8006 parts of layout read further up as it still was in the wrong
8009 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8011 * screen.C (drawFromTo): change sine fullRebreak always return
8014 * buffer.C (parseSingleLyXformat2Token): reindent some
8016 * BufferView_pimpl.C (update): change since fullRebreak always
8018 (Dispatch): git rid of the last hardcoded "Standard"s.
8020 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8022 * text2.[Ch] (fullRebreak): make it return void now that we always
8025 2002-04-30 Juergen Vigna <jug@sad.it>
8027 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8028 ert compatibility check for "latex" layout.
8030 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8032 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8033 minipages: use col% instead of p%, and also use the current font.
8034 (makeLaTeXFile): Fix use babel condition.
8035 (parseSingleLyXformat2Token): Correct font when reading old floats.
8037 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8039 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8040 inserting list of floats.
8042 2002-04-25 Herbert Voss <voss@lyx.org>
8044 * MenuBackend.C (expand): don't add the graphics extensions to the
8047 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8049 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8050 non-existing layout, do not complain if it was the default layout
8051 of the original class (bug #342)
8053 2002-04-24 Juergen Vigna <jug@sad.it>
8055 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8056 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8058 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8060 * buffer.C (getBibkeyList): If using \bibliography, return the
8061 option field with the reference itself. Enables us to provide natbib
8062 support when using \bibliography.
8064 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8066 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8068 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8069 natbib is provided by the LaTeX class.
8071 2002-04-23 Juergen Vigna <jug@sad.it>
8073 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8076 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8078 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8080 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8082 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8083 ensuremath around textordmasculine, textordfeminine and
8086 2002-04-19 Juergen Vigna <jug@sad.it>
8088 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8089 reinitializing the buffer otherwise row-dimensions may be wrong.
8090 (update): reset also the selection cursors if they do exits otherwise
8091 their x/y positions may be wrong.
8093 * text2.C (cursorDown): don't enter the inset if we came from a row
8094 above and are one row over the inset.
8096 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8097 really leaving an inset.
8099 2002-04-18 Juergen Vigna <jug@sad.it>
8101 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8102 of the selected paragraph does not have the selected layout also if
8105 * text2.C (setLayout): fixed bug which did not change last selected
8108 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8109 changed the read and substituted \\end_float with \\end_inset!
8111 * BufferView_pimpl.C (cursorPrevious):
8112 (cursorNext): fixed to make it work with rows heigher than the work
8113 area without moving the cursor only the draw of the row.
8114 (workAreaMotionNotify): fix jumping over high rows.
8116 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8118 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8121 2002-04-16 Juergen Vigna <jug@sad.it>
8123 * text2.C (setCursor): set also the irow().
8124 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8126 (cursorDown): support for locking an inset if the x_fix value goes
8127 inside it. That way I can transverse insets too with cursor up/down.
8129 * lyxrow.h: added irow helper function same as other (i) functions.
8131 * BufferView_pimpl.C (cursorPrevious):
8132 (cursorNext): fixed for insets!
8134 2002-04-15 Juergen Vigna <jug@sad.it>
8136 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8137 position otherwise it is wrong in some cases.
8139 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8140 inside the inset before the call.
8142 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8144 * buffer.[Ch] (getBibkeyList): make it const.
8146 2002-04-12 Juergen Vigna <jug@sad.it>
8148 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8150 * text2.C (getCursorX): new helper function
8151 (setCursor): compute also ix_
8152 (setCursorFromCoordinates): set also ix.
8154 * lyxcursor.h: added ix_ and helper functions.
8156 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8158 * buffer.C (insertStringAsLines): dont break paragraph if the this
8159 paragraph is inside an inset which does not permit it!
8161 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8162 also with no chars on this paragraph.
8163 (paintRowText): only paint stuff if it's inside the workarea!
8165 * paragraph.C (breakParagraph): honor keepempty flag and break the
8166 paragraph always below not above.
8168 * BufferView2.C (unlockInset): update the paragraph layout on inset
8169 unlock as we changed paragraph in such a case.
8171 * lyxfind.C (LyXFind): clear the former selection if not found!
8173 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8174 again called in insertChar().
8176 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8177 an inset which uses the whole row!
8178 (rightMargin): ditto.
8179 (insertChar): force a rebreak if we inserted an inset!
8181 2002-03-28 Herbert Voss <voss@lyx.org>
8183 * lyxlength.[Ch]: add inBP() to get the right PS-point
8184 units (BigPoint). With inPixels we have rounding errors
8186 2002-04-11 Juergen Vigna <jug@sad.it>
8188 * text2.C (setCursorFromCoordinates): set iy to the right value.
8189 (setCursor): add check if row->previous exists!
8191 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8192 an old float_type as this was the case in the old code!
8194 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8196 * BufferView2.C (showLockedInsetCursor): use iy
8197 (fitLockedInsetCursor): ditto
8199 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8200 locked insets as there we have the right value now.
8202 * lyxcursor.C: added iy_ variable and iy functions to set to the
8203 baseline of cursor-y of the locked inset.
8205 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8206 (setCursor): fixed for insets which need a full row.
8208 * text.C (rowLastPrintable): don't ignore the last space when before
8209 an inset which needs a full row.
8210 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8211 as last character of a row when before a inset which needs a full row.
8213 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8215 * version.C.in: update date
8217 * text2.C (fullRebreak): try to always return true and see what
8220 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8222 * MenuBackend.C (expand): use Floating::listName
8224 * FloatList.C (FloatList): add listName argument to the built-in
8227 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8228 text associated with the float.
8230 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8232 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8234 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8236 * ShareContainer.h: add a couple of missing typenames.
8238 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8240 * lyxrc.C (getDescription): use _() correctly rather than N_().
8242 2002-03-28 Herbert Voss <voss@lyx.org>
8244 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8245 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8247 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8249 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8250 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8252 2002-03-29 Juergen Vigna <jug@sad.it>
8254 * lyxfunc.C (dispatch): add a missing fitCursor call.
8256 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8257 it was scrolled by a cursor move, so return the bool status.
8259 * BufferView.C (fitCursor): return the bool flag also to the outside
8260 world as this is needed.
8262 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8264 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8265 call the edit() as it is not needed (and wrong) IMO.
8266 (workAreaButtonPress): set the screen_first variable before evt.
8267 unlock the inset as this may change screen_first and then we have
8268 a wrong y position for the click!
8270 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8272 * MenuBackend.C (expand): another translation that I missed
8274 2002-03-28 Juergen Vigna <jug@sad.it>
8276 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8278 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8280 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8282 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8284 * MenuBackend.C (expand): fix export/view/update when there is no
8287 2002-03-27 Herbert Voss <voss@lyx.org>
8289 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8292 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8294 * bufferview_funcs.C (currentState): only show paragraph number
8295 for is DEVEL_VERSION is set.
8297 * lyxfunc.C (dispatch): put warning in INFO channel
8299 * MenuBackend.C (expand): translate the name of floats
8301 * FloatList.C (FloatList): mark the float names for translation
8303 * converter.C (convert): use LibScriptSearch
8305 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8307 * MenuBackend.C (defaults): fix default menu (we might as well get
8310 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8312 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8315 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8317 * lyxvc.C: reorder includes.
8319 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8321 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8324 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8326 * CutAndPaste.C: change layouts earlier on paste
8327 to avoid crashing when calling getFont()
8329 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8331 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8334 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8336 * WorkArea.C: remove 'Pending' debug message.
8338 * most files: ws cleanup
8340 * buffer.[Ch]: ws changes
8342 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8344 2002-03-21 Juergen Vigna <jug@sad.it>
8346 * tabular.C (SetMultiColumn): collapse also the contents of the
8347 cells and set the last border right. Added a Buffer const * param.
8349 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8351 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8354 2002-03-19 Juergen Vigna <jug@sad.it>
8356 * text2.C (clearSelection): reset also xsel_cache.
8358 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8359 where it needs to be called (John tells us to do so too :)
8360 (selectionLost): reset sel_cache.
8362 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8364 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8366 * text2.C (setCursorIntern): put debuging code in INSETS channel
8368 2002-03-19 André Pönitz <poenitz@gmx.net>
8370 * lyxfunc.C: tiny whitespace change
8372 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8374 * ToolbarDefaults.C (init):
8375 * LyXAction.C (init):
8377 * BufferView_pimpl.C (Dispatch):
8378 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8380 2002-03-19 Allan Rae <rae@lyx.org>
8382 * exporter.C (Export): removeAutoInsets before doing anything else.
8383 While I've just introduced a dependency on BufferView this really is
8384 the best place to clean the buffer otherwise you need to cleanup in
8385 a dozen places before calling export or cleanup in a dozen functions
8388 * converter.C (runLaTeX):
8389 (scanLog): Better handling of removeAutoInsets and screen updates.
8391 * lyxfunc.C (dispatch): small whitespace changes
8393 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8395 * WorkArea.C (C_WorkAreaEvent): return a value.
8396 (event_cb): return 1 if we handled the event, 0 otherwise.
8398 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8400 2002-03-18 Juergen Vigna <jug@sad.it>
8402 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8403 (GetAdditionalWidth): ditto.
8407 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8408 inset if we're there actually (probably not used right now but this
8409 is the direction to go for unifying code).
8410 (paste): disable code to clear the selection.
8412 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8413 inside an InsetText and move the check further up as it is in the
8416 * text2.C (pasteSelection): set a selection over the pasted text.
8418 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8420 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8421 and libgraphics to build on Cygwin.
8423 2002-03-15 Juergen Vigna <jug@sad.it>
8425 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8426 inserting an Inset into the paragraph. I know this is not the best
8427 fix but we already use current_view in CutAndPaste so we will remove
8428 all of it's using at the same time.
8430 * buffer.C (sgmlError): deactivated function till it is rewritten in
8431 the right mode, now it can create problems.
8433 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8434 before accessing it.
8436 2002-03-14 Juergen Vigna <jug@sad.it>
8438 * undo_funcs.C (textHandleUndo): do the right thing when updating
8439 the inset after the undo/redo.
8441 * text2.C (setCursor): just some testcode for #44 not ready yet.
8443 * undo_funcs.C (textHandleUndo): set the next() and previous()
8444 pointers of the paragraph to 0 before deleting otherwise we have
8445 problems with the Paragraph::[destructor].
8447 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8448 on a paragraph insertion.
8450 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8452 * buffer.C (asciiParagraph): use += operator for char append to
8455 * paragraph.C (getFontSettings): compare >= not just >
8456 (highestFontInRange): ditto
8459 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8461 * paragraph.C: change several algorithm to be more appripriate for
8462 the problem domain. This is lookip in FontList and in the InsetList.
8464 2002-03-13 André Pönitz <poenitz@gmx.net>
8467 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8469 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8474 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8476 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8478 * Painter.C (display): anon helper function, adjust code for this
8480 (pixmap): remove function.
8482 * Painter.h: remove private display variable.
8484 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8486 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8488 * WorkArea.[Ch]: remove figinset_canvas cruft.
8490 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8492 * lyxtextclass.C (operator): add one item cache optimization.
8494 * bufferlist.h: doxy changes
8496 * bufferlist.C: ws changes
8498 * DepTable.[Ch] (ext_exist): place const in the right spot.
8500 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8502 (workAreaExpose): call resizeInsets when the with BufferView changes.
8503 (Dispatch): adjust for protectedBlank removal
8504 (specialChar): call updateInset if the insert went ok.
8506 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8507 specialChar instead.
8509 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8511 * BufferView.h: doxy change
8513 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8515 * lyxtextclass.C (operator[]): remove non-const version
8516 (defaultLayout): remove non-const version
8518 2002-03-12 Juergen Vigna <jug@sad.it>
8520 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8521 did resize the LyXText too.
8523 * buffer.C (readLyXformat2): set layout information on newly allocated
8526 * tabular.C (OldFormatRead): set layout information on the paragraph.
8528 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8530 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8532 2002-03-11 Juergen Vigna <jug@sad.it>
8534 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8536 (resizeCurrentBuffer): force also the insets to resize themselfes.
8537 (moveCursorUpdate): fixed up for InsetText.
8539 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8542 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8543 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8544 value of Dialogs::tooltipsEnabled().
8545 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8547 2002-03-08 Juergen Vigna <jug@sad.it>
8549 * BufferView_pimpl.C (updateInset): update inset inside inset also
8550 if it isn't inside theLockingInset().
8552 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8554 * buffer.C (asciiParagraph): redo some of the word and line length
8556 (getLists): look for Caption instead of caption.
8558 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8560 * buffer.C (Buffer): initialize niceFile to true
8563 (makeDocBookFile): make sure niceFile is true on exit
8565 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8567 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8569 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8571 * LyXSendto.C: remove.
8572 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8573 * lyx_gui.C: remove now-redundant comment.
8574 * ColorHandler.h: remove forward declaration of class WorkArea.
8575 * lyxfunc.C: remove #include "WorkArea.h".
8577 2002-03-07 Juergen Vigna <jug@sad.it>
8579 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8580 got moved away with the DEPM and also set the inset_owner always
8581 right which before could have been omitted.
8583 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8585 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8586 wanted layout is not found.
8588 2002-03-07 Juergen Vigna <jug@sad.it>
8590 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8592 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8594 * paragraph.C (breakParagraph): use default layout not layout of
8596 (Paragraph): clear ParagraphParameters.
8598 2002-03-06 Juergen Vigna <jug@sad.it>
8600 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8601 otherwise it would not be a valid lenght. Fixed a special case in
8602 the minipage compatibility read where we end the document with a
8605 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8606 was set as it could be 0 for InsetTexts first entry.
8608 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8610 * paragraph.C (writeFile): if layout is empty write out
8611 defaultLayoutName().
8613 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8614 file without named layout we set layout to defaultLayoutName().
8616 2002-03-06 Juergen Vigna <jug@sad.it>
8618 * CutAndPaste.C (copySelection): set layout for new paragraph.
8620 * text.C (prepareToPrint): leave ERT inset left aligned
8621 (leftMargin): don't indent paragraphs inside ERT insets
8623 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8625 * paragraph.C (breakParagraph): dont call clear do the work manually
8627 * paragraph.[Ch] (clear): remove function
8629 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8631 * paragraph.C (Paragraph): dont call clear, the work has already
8634 * lyxtextclass.C (operator): assert if n is empty
8636 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8637 work manually instead.
8639 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8641 * BufferView_pimpl.C: protect selectionLost against text == 0
8643 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8645 * text.C (breakParagraph): fix a setting layout to '0' problem.
8647 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8649 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8650 final location of file, for the included files, and graphics.
8652 2002-03-05 Juergen Vigna <jug@sad.it>
8654 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8656 2002-03-04 Juergen Vigna <jug@sad.it>
8658 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8660 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8661 last column of multicolumn cells.
8662 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8664 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8666 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8667 file if it doesn't go to a temporary file.
8669 * buffer.C (sgmlOpenTag):
8670 (sgmlCloseTag): remove extra newline insertion.
8672 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8674 * text.C (getRowNearY): comment out debug msg
8676 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8678 * text2.C: first -> first_y
8680 * text.C (getRowNearY): add some attemts at a possible
8681 optimization, not working.
8683 * tabular.[Ch]: add BufferParams to several function so that newly
8684 created paragraph can be initialized to he default layotu for the
8687 * tabular-old.C (ReadOld): add buf->params to call of Init
8689 * screen.C: rename text->first to text->first_y
8691 * paragraph.C (breakParagraph): always set layout in the broken
8694 * lyxtextclass.C (Read): remove lowercase
8697 (delete_layout): ditto
8699 * lyxtext.h: rename first -> first_y
8701 * lyxlayout.C (Read): remove lowercase
8704 (obsoleted_by): ditto
8706 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8708 * buffer.C (insertErtContents): add params are to InsetERT
8709 (parseSingleLyXformat2Token): add code to check if a paragraphs
8710 layout really exist.
8711 (parseSingleLyXformat2Token): add params to several inset
8713 (asciiParagraph): remove lowercase, do the layout comparisons with
8716 * BufferView_pimpl.C (cursorNext): first -> first_y
8717 (resizeCurrentBuffer): first -> first_y
8718 (updateScrollbar): first -> first_y
8719 (scrollCB): first -> first_y
8720 (workAreaMotionNotify): first -> first_y
8721 (workAreaButtonPress): first -> first_y
8722 (checkInsetHit): first -> first_y
8723 (cursorPrevious): first -> first_y
8724 (cursorNext): first -> first_y
8725 (Dispatch): add buffer_->params to severl inset contructors
8727 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8729 * lyxlayout.C (Read): remove some debug info that I forgot.
8731 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8732 clean up the code slightly.
8733 (makeLinuxDocFile): ditto
8734 (makeDocBookFile): ditto
8736 * text2.C: layout as string
8738 * text.C: layout as string
8740 * paragraph_pimpl.C: layout as string
8742 * paragraph.[Ch]: layout as string
8744 * lyxtextclasslist.[Ch]: layout as string
8746 * lyxtextclass.[Ch]: layout as string
8748 * lyxtext.h: layout as string
8750 * lyxlayout.[Ch]: layout as string
8752 * lyx_cb.C: layout as string
8754 * bufferview_funcs.C: layout as string
8756 * bufferparams.C: layout as string
8758 * buffer.C: layout as string
8760 * LyXView.[Ch]: layout as string
8762 * LaTeXFeatures.[Ch]: layout as string
8764 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8766 * BufferView_pimpl.C: change current_layout to string, remove
8771 (workAreaButtonRelease): layout as string
8773 * BufferView2.C (unlockInset): adjust
8775 * vspace.C (asLatexCommand): use an explict temp variable.
8777 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8779 * Makefile.am: use FRONTEND_*
8781 2002-03-01 Juergen Vigna <jug@sad.it>
8783 * tabular.C (SetWidthOfMulticolCell): changed to something better
8784 I hope but still work in progress.
8785 (recalculateMulticolumnsOfColumn): renamed function from
8786 recalculateMulticolCells as it is more appropriate now.
8787 (SetWidthOfCell): calculate multicols better.
8789 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8791 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8793 * lyxfunc.C (processKeySym): print sequence also if it is
8794 `deleted' (complete)
8796 * kbsequence.C (print): print sequence even if it is deleted
8797 (complete would be a better word, actually).
8799 * lyxfunc.C (dispatch): print complete options after a prefix key
8801 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8803 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8805 * text2.C (setCharFont): eliminate setCharFont code duplication.
8807 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8809 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8810 LFUN_TABULAR_FEATURE (bug #177)
8812 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8814 * Makefile.am: remove figure.h
8816 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8818 * Bufferview_pimpl.C:
8830 * text2.C: remove #include "lyx_gui_misc.h".
8832 * LaTeX.C: added #include <cstdio>
8834 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8836 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8837 that the paragraph following this one can have.
8839 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8841 * vspace.C (asLatexCommand): fix bogus gcc warning
8843 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8845 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8847 * text2.C (setLayout): get rid of redundant code
8849 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8851 * text2.C (incDepth): make sure depth cannot be increased beyond
8854 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8856 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8857 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8859 * PainterBase.h (image):
8860 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8863 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8867 * BufferView_pimpl.C:
8868 * BufferView_pimpl.h:
8888 * sp_spell.C: remove fig inset, and the crap house of
8889 cards that follows it
8891 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8897 * nt_defines.h: move .h into support/
8899 * vms_defines.h: remove
8901 * WorkArea.C: add space in debug output
8905 * buffer.C: add WITH_WARNINGS
8909 * bufferlist.C: s/retrive/retrieve/, add docs
8920 * lyxgui.C: add ID to X error handler
8922 * lyxtestclass.c: fix typo
8924 2002-02-26 Juergen Vigna <jug@sad.it>
8926 * tabular_funcs.C (write_attribute): changed so that some default
8927 attributes are not written at all.
8928 (getTokenValue): set default values before trying to read the
8929 value so we have the return value always set as default if we don't
8930 find the token we search for.
8932 * tabular.C (Write): write bools as bools not as strings!
8934 2002-02-22 Juergen Vigna <jug@sad.it>
8936 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8937 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8939 * text.C (leftMargin): don't add an indent for paragraphs inside
8940 tabular cells (fix #208).
8942 2002-02-21 José Matos <jamatos@fep.up.pt>
8944 * tabular.C (docBook): fixed support for long tables.
8946 2002-02-20 Juergen Vigna <jug@sad.it>
8948 * text2.C (getFont): get the drawing font of the Inset if this
8949 paragraph is inside an inset (only important for InsetERT for now).
8951 * buffer.C (insertErtContents): use new lanugage params in ERT
8954 * CutAndPaste.C: commenting out seemingly uneeded code.
8956 2002-02-19 Allan Rae <rae@lyx.org>
8958 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8959 Iterators might be simple to use but they also get invalidated.
8960 (removeAutoInsets): renamed saved cursor tracking variables and added
8961 some comments to clarify what everything does.
8963 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8970 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8971 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8974 * vc-backend.h: remove #include "support/syscall.h"
8978 * converter.C: rearrange #includes in Lars' approved fashion.
8980 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8981 forward declare class Timeout in the header file.
8983 * XFormsView.C: changes due to the above.
8985 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8988 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8989 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8991 2002-02-18 José Matos <jamatos@fep.up.pt>
8993 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8996 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8998 * a lot of small ws changes
8999 * add a lot of using std::XXX
9000 * use std construcs some places where approp.
9001 * use some exisint stuff from lyxfunctional where approp.
9002 * Make file changes to use partial linking (lets test this now...)
9004 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9008 remove #include "support/syscontr.h" as it's redundant. Always has been.
9016 change Systemcalls::System to Systemcalls::Wait and
9017 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9018 No change of functionality, just reflects the stripped down Systemcalls
9021 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9023 * debug.[Ch]: add a GRAPHICS type to the enum.
9025 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9027 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9029 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9032 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9034 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9035 match the changes below.
9037 * text2.C (toggleInset): if there is not editable inset at cursor
9038 position, try to see if cursor is _inside_ a collapsable inset
9041 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9043 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9044 document menu has a nice checkbox
9046 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9048 * lyxlength.C (asLatexString): change PW to output as percent of
9051 * lengthcommon.C: change '%' to 't%'
9053 * lyxfunc.C (dispatch): a few comments from Martin
9055 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9059 * BufferView_pimpl.h:
9060 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9063 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9065 * vspace.C (inPixels): fix compiler warning
9067 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9069 * lyxfunc.C (getStatus): fix status message for disabled commands.
9071 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9073 * BufferView_pimpl.C: fix crash on close buffer
9074 during selection (#227)
9076 2002-01-27 Herbert Voss <voss@lyx.org>
9078 * buffer.C: link old Figure to new graphic inset
9080 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9082 * FontLoader.C (getFontinfo): Change the latex font names in order
9083 to match the names of type1inst.
9085 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9087 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9089 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9092 (remove_files_with_extension): ditto
9093 (remove_file): ditto
9096 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9097 document is smaller than the work area height. Do not initialize
9098 static variables to 0.
9100 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9102 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9104 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9105 LFUN_LAYOUT_PARAGRAPHS.
9107 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9108 tabular. It is possible to provide a possible cell, which will
9109 typically be the actcell from the corresponding insettabular
9111 * lyxfunc.C (getStatus): small cleanup; disable
9112 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9115 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9117 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9119 * paragraph.C (startTeXParParams):
9120 (endTeXParParams): new methods. The LaTeX code to
9121 start/end paragraph formatting
9122 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9123 empty (fixes bug #200)
9125 * vspace.C (inPixels): adapt to the change below
9126 (inPixels): [later] more cleanups (remove unused variables)
9128 * lyxlength.C (inPixels): change to use a width and a height as
9131 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9133 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9134 Replaced with \paperwidth
9136 * DepTable.C (insert): add std:: qualifier
9138 2002-01-18 Allan Rae <rae@lyx.org>
9140 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9143 * text.C (drawInset): Turned out I didn't know enough about how
9144 rebreaking worked. This fixes most of the redraw problems. I see
9145 an occasional cursor trail when a line is broken now and the cursor
9146 placement can seem out by a few pixels also after a rebreak.
9148 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9150 * buffer.C (parseSingleLyXformat2Token): update because minipage
9151 width is now a LyXLength
9153 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9155 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9158 2002-01-17 Juergen Vigna <jug@sad.it>
9160 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9162 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9163 is set correctly and the inset is updated correctly.
9165 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9167 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9168 the beginning of the loop.
9170 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9172 * lyxrc.C: improve help for use_scalable_fonts
9174 2002-01-17 Allan Rae <rae@lyx.org>
9176 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9178 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9180 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9181 make sure to set their inset_owner to the right value (bug #171)
9183 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9186 * DepTable.C: Implement mtime checking to reduce time spent doing
9189 2002-01-16 Juergen Vigna <jug@sad.it>
9191 * tabular.C (GetAdditionalHeight): one of error fixed.
9193 * lyxrc.C (output): small fix in writing use_pspell.
9195 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9197 * sp_base.h: #include LString.h
9199 2002-01-16 Allan Rae <rae@lyx.org>
9201 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9202 Can someone check this please?
9204 * text.C (drawInset): It was possible that p.row would be removed by
9205 breakAgainOneRow upsetting a few other settings. There may be another
9206 small tweak possible by setting need_break_row = 0 when p.row has been
9207 removed but I don't know enough about the logic here.
9209 2002-01-15 Allan Rae <rae@lyx.org>
9211 * text.C (insertChar): removed conditional truism.
9213 * BufferView2.C (removeAutoInsets): More tweaks.
9214 cur_par_prev could be a stray pointer. Check for trailing empty line
9215 in case last line was cur_par and only had an error inset on it.
9217 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9219 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9222 * vc-backend.C (most methods):
9223 * exporter.C (Export):
9224 * converter.C (convert):
9226 * LyXSendto.C (SendtoApplyCB):
9227 * lyxfunc.C (dispatch):
9231 * lyx_cb.C (AutoSave):
9233 * BufferView_pimpl.C (MenuInsertLyXFile):
9234 * buffer.C (runChktex): use Buffer::filePath().
9236 * buffer.h: rename filename to filename_; rename filepath to
9237 filepath_ and make it private
9238 (filePath): new method
9240 * buffer.C (writeFile): use fileName()
9243 * lyx_main.C (init): fix starting of LyX when the binary is a
9244 link from so,ewhere else.
9246 * minibuffer.C: include <cctype> for isprint
9248 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9250 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9251 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9252 name clash with InsetCollapsable's width function.
9254 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9256 * lastfiles.C: include <iterator>
9258 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9260 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9263 * buffer.C (makeLaTeXFile): ditto.
9264 Also make loop operation more transparent.
9266 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9268 * ToolbarDefaults.C: remove trailing comma closing namespace.
9270 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9272 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9275 * trans.C (Load): comment out unused variable, allowed.
9277 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9279 * minibuffer.[Ch] (append_char): new method to recieve input from the
9280 drop-down completion browser. If a key was pressed, then recieve this
9281 char and append it to the existing string.
9282 (peek_event): modify the positioning data passed to the completion
9283 browser so that it can be placed above the minibuffer rather than below.
9284 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9286 * LyXAction.C (init): alloe error-next for readonly documents.
9288 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9291 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9293 * bufferlist.C (readFile): create the buffer _after_ checking that
9296 * lyxfunc.C (verboseDispatch): fix handling of arguments
9298 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9300 * lyxrc.C: use string::erase() instead of initializing to "".
9303 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9305 * BufferView_pimpl.h:
9306 * BufferView_pimpl.C:
9309 * text2.C: tell X when we have made a selection for copying
9311 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9313 * BufferView_pimpl.C (MenuInsertLyXFile):
9314 * lyxfunc.C (menuNew):
9316 (doImport): add shortcuts to directory buttons
9318 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9321 * lyxfunc.C (setStatusMessage):
9322 (getStatusMessage): new methods
9323 (getStatus):use setStatusMessage instead of setErrorMessage
9324 (dispatch): when function is disabled, set error message here
9325 [instead of in getStatus previously]
9327 * BufferView_pimpl.C (workAreaButtonRelease): update
9328 toolbar/menubar here too.
9330 2002-01-13 Allan Rae <rae@lyx.org>
9332 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9333 Now seems indestructible. Remaining task is to audit all other
9334 code affected by deleteEmptyParagraphMechanism. One small quirk
9335 left is that an empty document with an error in the preamble can
9336 be made to report an error but no error box appears. I don't know
9338 (removeAutoInsets): Improved comments.
9340 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9343 * Thesaurus.C: update for Aiksaurus 0.14
9345 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9347 * text2.C (firstParagraph): removed member function, all uses
9348 replaces with ownerParagraph
9349 (redoParagraphs): here
9351 (toggleAppendix): here
9352 * BufferView2.C (insertErrors): here
9353 (setCursorFromRow): here
9355 2002-01-13 Allan Rae <rae@lyx.org>
9357 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9358 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9359 There is still a way to segfault this although you may have to do this
9360 multiple times: Have an InsetERT with an unknown command in it.
9361 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9362 <down-arrow>, <Enter> again, View->DVI, BANG!
9364 * text2.C (setCursor):
9365 (deleteEmptyParagraphMechanism):
9366 * lyxtext.h (setCursor):
9367 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9368 Making use of the return value may help fix other bugs.
9370 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9372 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9374 * LyXView.C (updateMenubar): call MenuBar::update here
9375 (updateToolbar): but not here
9376 (showState): do not update toolbar/menubar
9378 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9379 should need to care about that.
9381 * lyxfunc.C (verboseDispatch): simplify a bit
9382 (getStatus): have a version which takes a pseudoaction, and
9383 another which requires a (kb_action,string).
9385 * LyXAction.C (retrieveActionArg): make it work also when action
9386 is not a pseudo-action.
9387 (getActionName): simplify a bit
9390 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9392 * lyxfunc.C (verboseDispatch): new families of methods with
9393 several ways to specify a command and a bool to indicate whether
9394 the command name and shortcut should be displayed in minibuffer
9395 (eventually, we could extend that to a finer bitmask like
9396 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9397 (dispatch): the pristine dispatch command which just, well,
9398 dispatchs! Note it still sets its result to minibuffer; I'm not
9401 * lyxfunc.h: remove setHintMessage
9403 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9405 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9407 * BufferView_pimpl.C (specialChar): delete new inset if we have
9408 not been able to insert it.
9410 * kbmap.C: revert to using int instead of kb_action, since all we
9411 are dealing with is pseudo-actions.
9413 * LyXAction.C (searchActionArg): change to return int instead of
9414 kb_action, since the result is a pseudoaction.
9416 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9418 * buffer.C (insertErtContents): Fix (partially) the font bug.
9420 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9422 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9423 as the other one is broken on my machine!
9425 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9428 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9430 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9432 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9433 reflect their actual use. Provide compatibility code for older lyxrc
9436 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9438 change names of popup font variables in line with the changes to lyxrc.C
9440 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9442 * buffer.C (asciiParagraph): avoid outputing a word twice after
9445 * lyxrc.C (getDescription): document that document_path and
9446 template_path can be empty.
9448 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9450 * LaTeXFeatures.C (getMacros):
9451 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9453 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9455 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9457 (getPackages): rename feature "floats" to "float". Use an array to
9458 iterate over 'simple' features (i.e. just a \usepackage). Add
9459 handling of "amsmath" (renamed from "amsstyle").
9461 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9463 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9466 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9468 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9469 FuncStaus::FuncStatus & FuncStaus::some_method().
9471 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9473 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9474 of the func_satus stuff. Edited and massaged in various ways by
9477 * lyxfunc.C (getStatus): use FuncStatus
9479 2002-01-08 Juergen Vigna <jug@sad.it>
9481 * text.C (nextBreakPoint): use function Inset::isChar().
9483 * paragraph.C (TeXOnePar): use function
9484 Inset::forceDefaultParagraphs.
9486 * buffer.C (latexParagraphs): use function
9487 Inset::forceDefaultParagraphs.
9489 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9491 * lyx_gui.C (init): set the style of the menu popups to
9492 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9494 2002-01-07 Juergen Vigna <jug@sad.it>
9496 * text.C (setHeightOfRow): small fix
9497 (prepareToPrint): don't look at alignment if we don't have the place
9500 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9502 * box.C: New file. Move the Box methods and functions out of box.h,
9503 following Lars' suggestion.
9505 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9507 * box.h: #include "support/LOstream.h", needed for inlined function.
9510 * lyxtextclasslist.C: added some using std declarations.
9512 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9514 * box.h: make signed dimensions to allow insets wider than
9515 the screen (bug #162)
9517 * BufferView_pimpl.C: add some insetHit debug
9519 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9521 * vc-backend.C: add FIXME
9523 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9525 * lyxfunc.C (getStatus): enable code for showing math font status
9528 2002-01-07 Juergen Vigna <jug@sad.it>
9530 * text.C (nextBreakPoint): removed debug output not needed anymore.
9532 2002-01-06 Juergen Vigna <jug@sad.it>
9534 * text.C (nextBreakPoint): fixed up this function we had this bug
9535 since ever but now hopefully we break row better.
9536 (insertChar): we have to check if an inset is the next char as it
9537 could now happen that a large inset is causing a break.
9539 2002-01-05 Juergen Vigna <jug@sad.it>
9541 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9542 if it doesn't like to be drawed.
9544 2002-01-04 Juergen Vigna <jug@sad.it>
9546 * BufferView2.C (lockInset): forgot to set a cursor.
9548 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9550 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9555 * form_maths_panel.C:
9556 * form_maths_panel.h:
9557 * form_maths_panel.fd: implemented sub- and super- buttons in math
9560 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9561 (or ^ space) to be used as in TeX (req'd by André).
9563 * lyxfunc.C: Allow ^ and _ again to be used both as
9564 super/subscript (mathed) and as themselves (in text).
9566 2002-01-03 Allan Rae <rae@lyx.org>
9568 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9569 "LyX" or the filename of the current buffer if it has one. This is a
9570 modified form of John Levon's patch.
9572 * XFormsView.C (setWindowTitle): also set icon title.
9574 * LyXView.h (setWindowTitle): signature changed.
9575 * XFormsView.h (setWindowTitle): ditto.
9577 2002-01-02 Juergen Vigna <jug@sad.it>
9579 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9581 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9583 * screen.C (topCursorVisible): introduce a temp var for
9584 text->cursor.row(), handle the case where this row is null. (kindo
9587 * text2.C (setCursor): add a couple of asserts.
9589 * paragraph.h (inset_iterator): add -> operator
9591 * paragraph.[Ch] (autoDeleteInsets): remove member function
9593 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9594 cursor pos correctly and handle inset deletion by itself.
9595 (insertErrors): move iterator declaration out of for expression
9597 * lyxtextclass.C: add <algorithm>
9599 * Makefile.am: added the new files to sources, removed layout.C
9601 * layout.C: removed file
9603 * layout.h: remove LYX_DUMMY_LAYOUT
9605 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9609 * lyxtextclass.[Ch]:
9610 * lyxtextclasslist.[Ch]: new files
9612 * include order changes to a lot of files, also changes because of
9615 2001-12-27 Juergen Vigna <jug@sad.it>
9617 * buffer.C (asciiParagraph): more fixes.
9619 * tabular.C (ascii): make ascii export support export of only the
9620 data separated by a column-delimiter.
9621 (ascii): better support for ascii export.
9623 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9625 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9627 * tabular_funcs.C: use a "using std::getline" instead of the
9628 previous fix from Angus (necessary for cxx + lyxstring)
9630 2001-12-24 Juergen Vigna <jug@sad.it>
9632 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9634 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9635 problems. First check a minipage also if we have some ert-contents
9636 (not only on par->size(), second set the right depth of the paragraph
9637 on the relink to the root-paragraph-list!
9639 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9640 which then did not anymore update the main paragraphs on undo/redo!
9642 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9644 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9645 code. Support all font-changing funcs (even those which are not in
9646 menu currently). Support for reporting font settings in
9647 mathed (disabled until Andre provides a function on mathed's side).
9649 * func_status.h (toggle): small helper function to set toggle
9652 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9654 * tabular_funcs.C: getline -> std::getline
9656 2001-12-21 Juergen Vigna <jug@sad.it>
9658 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9659 accessed and could be 0 (I couldn't generate this but it seems
9662 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9664 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9665 * tabular_funcs.h: here and include iosfwd
9667 2001-12-20 Juergen Vigna <jug@sad.it>
9669 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9670 inside inset but undo_par was.
9672 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9674 * Thesaurus.C: always include <config.h> in sources.
9678 * box.h: do not include <config.h> in header files
9680 * text.C (paintLastRow): remove unused variable
9682 * text.C (transformChar):
9684 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9687 * font.C (width): rewrite to use uppercase() instead of
9690 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9692 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9694 * lyxfind.C: clean up of find failure position change
9696 2001-12-20 Juergen Vigna <jug@sad.it>
9698 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9700 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9701 (TeXRow): added to LaTeX a single tabular row.
9702 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9703 (Latex): simplified and finally good LT-h/f support.
9704 (various_functions): just small adaptions for LT-h/f support.
9706 * tabular_funcs.[hC]: added and moved here all not classfunctions
9709 2001-12-19 Juergen Vigna <jug@sad.it>
9711 * tabular.[Ch]: better support for longtabular options (not finished
9714 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9716 * text.C (paintLastRow): use the label font instead of the font of
9717 the last character to compute the size of *_BOX. This makes more
9718 sense and avoids a crash with empty paragraphs.
9719 Use Painter::rectangle to draw EMPTY_BOX.
9721 2001-12-19 Juergen Vigna <jug@sad.it>
9723 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9724 the paragraphs if the replaced paragraph is not the first one!
9725 Tried to delete not used paragraphs but does not work yet so for
9726 now it's inside #ifdef's and by default off!
9728 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9730 * MenuBackend.C: include "lyx_main.h" instead of declaring
9731 lastfiles (actually was declared as LastFiles* instead of a
9734 2001-12-17 Juergen Vigna <jug@sad.it>
9736 * tabular.C (AppendColumn): applied John's fix
9738 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9742 * BufferView_pimpl.h:
9743 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9746 * box.h: new start of class for above
9748 * lyxfunc.C: ignore space-only minibuffer dispatches.
9749 Show the command name when it doesn't exist
9751 * minibuffer.C: don't add empty lines to the history
9753 * minibuffer.C: add a space on dropdown completion
9755 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9757 * text.C: fix line above/below drawing in insets
9759 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9761 * lyxlength.C (LyXLength): Initialize private variables.
9763 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9765 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9766 when inserting error insets.
9768 2001-12-13 Juergen Vigna <jug@sad.it>
9770 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9771 actually sometimes the before-paragraph.
9772 (setUndo): don't clear the redostack if we're not actually undoing!
9774 2001-12-06 Juergen Vigna <jug@sad.it>
9776 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9777 and fixed redoing of main paragraph, so we can use it now ;)
9779 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9781 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9783 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9786 2001-12-13 André Pönitz <poenitz@gmx.net>
9789 * undo_func.C: minor cleanup
9791 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9793 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9794 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9795 font in urw-fonts package which is marked as -urw-fontspecific and
9796 does not work (incidentally, changing the encoding in the
9797 fonts.dir of this package to -adobe-fontspecific fixes the
9800 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9801 is a crash when undoing first paragraph (Juergen, please take a
9802 look). THis does not mean the undo fix is wrong, just that it
9805 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9806 the (Paragraph*) version when needed instead of duplicating the
9809 * text.C (workWidth): use Inset::parOwner to find out where the
9810 inset has been inserted. This is a huge performance gain for large
9811 documents with lots of insets. If Inset::parOwner is not set, fall
9812 back on the brute force method
9814 * paragraph_pimpl.C (insertInset):
9815 * paragraph.C (Paragraph):
9816 (cutIntoMinibuffer): set parOwner of insets when
9817 inserting/removing them
9819 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9821 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9827 * mathed/formulabase.C:
9828 * mathed/math_cursor.[Ch]:
9829 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9832 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9834 * lyxlength.[Ch] (operator!=): new function
9836 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9838 * text.C (workWidth): use Inset::parOwner to find out where the
9839 inset has been inserted. This is a huge performance gain for large
9840 documents with lots of insets. If Inset::parOwner is not set, fall
9841 back on the brute force method
9843 * paragraph_pimpl.C (insertInset):
9844 * paragraph.C (Paragraph):
9845 (cutIntoMinibuffer): set parOwner of insets when
9846 inserting/removing them
9848 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9850 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9852 * tabular-old.C (getTokenValue):
9853 * tabular.C (getTokenValue):
9854 (write_attribute): new versions for LyXLength
9855 (everywhere): adjust the use of widths
9857 * tabular.h: change the type of widths from string to LyXLength
9859 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9861 * paragraph.C: fixed missing line number count when exporting
9862 Environments to LaTeX file
9864 * buffer.C: added informational message for checking line numbers.
9866 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9868 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9869 paragraph, do the 'double space' part, but not the 'empty
9872 * text.C (workWidth): small optimization
9873 (getLengthMarkerHeight): use minimal size for negative lengths.
9875 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9877 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9879 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9881 2001-12-11 André Pönitz <poenitz@gmx.net>
9884 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9886 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9888 * text2.C: keep selection on a setFont()
9890 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9892 * lyx_cb.C: another bv->text misuse, from insert label
9894 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9897 * kbsequence.C: re-instate nmodifier mask
9899 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9901 * lyx_main.h: make lyxGUI private.
9903 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9905 * lyxfind.C: place the cursor correctly on failed search
9907 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9909 * text.C (getLengthMarkerHeight): for small heights, the arrows
9910 are not always on top/bottom of the text
9911 (drawLengthMarker): smaller arrows; take the left margin in
9912 account; draw also vfills.
9914 (paintLastRow): remove special code for vfill and standard spaces,
9915 since everything is handled in drawLengthMarker now.
9917 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9919 * buffer.C (insertErtContents): try to handle font and language
9920 interaction a bit better.g
9922 * ColorHandler.C (updateColor): change the hash to cover the whole
9923 LColor enum, ws cleanup
9924 (getGCLinepars): ditto
9925 (getGCLinepars): only lookup in the linecache once.
9927 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9929 * iterators.C (operator++): Make the iterator more robust
9931 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9933 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9935 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9938 * text.C: better added space drawing
9940 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9943 * BufferView2.C: fix layout combo update on inset unlock
9945 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9947 * Makefile.am: don't compile unused files
9949 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9953 * LyXAction.C: remove old LFUN_LAYOUTNO
9955 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9957 * paragraph_pimpl.h:
9958 * paragraph_pimpl.C: isTextAt() doesn't need font param
9960 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9963 * lyxlex.C: little cleanup
9965 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9967 * BufferView_pimpl.C: fix insertAscii for insets
9969 2001-12-05 Juergen Vigna <jug@sad.it>
9971 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9972 set the right font on the "multi" paragraph paste!
9974 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9980 * lyxlength.C: remove out-commented code.
9996 * vc-backend.C: change "while(" to "while ("
9998 * lyxlength.[Ch]: add zero function to check if length is zero or
10000 * lyxgluelength.C: use it
10002 2001-12-05 Allan Rae <rae@lyx.org>
10004 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10005 Works for 2.95.3, from what I understand of Garst's reports this should
10006 work for other g++ versions. We're screwed if the abs(int) definition
10007 changed between bugfix releases of gcc.
10009 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10011 * text.C: fix chapter label offset !
10013 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10016 * text.C: fix hfill at end of line, clean up
10018 2001-12-04 Juergen Vigna <jug@sad.it>
10020 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10021 that we force an update of the inset and it's owners if neccessary.
10023 2001-12-03 Juergen Vigna <jug@sad.it>
10025 * text.C (rowLast): simplified code
10027 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10029 * lyxfunc.C: fix show options on timeout
10031 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10033 * screen.C (topCursorVisible): scroll half a page when the cursor
10034 reached top of bottom of screen
10036 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10038 * minibuffer.C: deactivate on loss of focus
10040 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10042 * vspace.[Ch] (operator!=): add operator.
10044 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10046 * BufferView_pimpl.C: refuse to open an inset when
10047 there's a selection.
10049 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10051 * BufferView_pimpl.C: allow to click on RHS of full row insets
10053 2001-11-30 Juergen Vigna <jug@sad.it>
10055 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10056 insets for undo reasons.
10058 2001-11-28 André Pönitz <poenitz@gmx.net>
10060 * vspace.[Ch]: cosmetical changes
10062 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10072 * kbsequence.C: part re-write of old kb code
10075 * WorkArea.C: remove Lgb_bug_find_hack
10077 2001-11-30 José Matos <jamatos@fep.up.pt>
10079 * buffer.C (makeDocBookFile): add a comment to point a hack.
10080 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10081 Fixed a double write of labels.
10083 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10086 * LaTeX.h Fixed bug in LaTeX class where it would not
10087 re-run latex if no depfiles were changed, but the .dvi was removed.
10089 2001-11-28 André Pönitz <poenitz@gmx.net>
10091 * all the files from the change on 2001/11/26:
10092 use lyx::layout_type instead of LyXTextClass::size_type
10093 use lyx::textclass_type instead of LyXTextClassList::size_type
10095 2001-11-29 Juergen Vigna <jug@sad.it>
10097 * text.C: added support for paragraph::isFreeSpacing()
10099 * buffer.C: same as above
10101 * paragraph.h: inserted isFreeSpacing() function to enable
10102 FreeSpacing inside InsetERT.
10104 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10105 of the paragraph's in the cut/copy buffer to 0!
10107 * text2.C (removeRow): remove the assert as it can!
10109 * lyxtext.h: added helper function firstRow returning firstrow and
10110 made firstrow private again.
10112 * BufferView2.C (lockInset): don't relock if we're already locked!
10114 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10115 the only paragraph.
10116 (removeRow): added Assert::(firstrow)
10118 * debug.C: forgot to add INSETTEXT here.
10120 2001-11-28 Juergen Vigna <jug@sad.it>
10122 * sp_spell.C (initialize): changed error text to more general
10123 spellchecker command use (not only ispell!)
10125 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10127 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10129 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10131 * vspace.C: initialise lyxgluelength on failure
10133 2001-11-28 Allan Rae <rae@lyx.org>
10135 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10136 declaration & definition that looks like a function declaration.
10138 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10140 * BufferView2.C (copy):
10141 (copyEnvironment): do not clear the selection when doing a copy.
10143 * text.C (paintFirstRow): compilation fix
10145 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10147 * tabular.C (Latex): correct line count when writing latex.
10149 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10151 * paragraph_pimpl.h:
10152 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10155 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10159 * LColor.C: change vfillline->added_space
10161 * text.C: add markers and text for added space
10163 * vspace.C: fix comment
10165 2001-11-28 André Pönitz <poenitz@gmx.net>
10167 * paragraph.C: whitespace changes
10168 * all the other files from the change on 2001/11/26:
10169 change *::pos_type into lyx::pos_type
10171 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10173 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10174 language of the document when inserting error insets.
10176 2001-11-26 André Pönitz <poenitz@gmx.net>
10178 * BufferView_pimpl.[Ch]:
10186 * paragraph_pimpl.[Ch]:
10189 * text2.C: reduce header dependencies, introduce type for positions
10191 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10193 * <various>: change to use Alert.h
10195 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10197 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10198 when encountering an unknown token.
10199 (readLyXformat2): Show an error message if there were unknown tokens.
10201 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10204 * BufferView_pimpl.C:
10208 * text2.C: use par->isInset()
10210 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10212 * paragraph_pimpl.h:
10213 * paragraph_pimpl.C: cleanup
10215 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10217 * text2.C (removeRow):
10218 * text.C (setHeightOfRow): remove useless (and costly) call to
10221 2001-11-20 Allan Rae <rae@lyx.org>
10223 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10224 Now need Inset*::checkInsertChar() to return true for appropriate
10225 cases so that the characters in the minibuffer will actually be
10228 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10230 * text.C: change the order of the includes.
10231 (workWidth): initialize it at once.
10232 (workWidth): make maxw unsigned
10233 (setHeightOfRow): remove unused variable (inset)
10234 (selectSelectedWord): remove unused variable (inset)
10235 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10237 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10239 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10240 server is not running.
10242 (closeConnection): add debug info when server is disabled.
10244 * ColorHandler.C (getGCForeground): send debug message to GUI
10247 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10249 * kbmap.C (bind): modify because return conventions of
10250 kb_sequence::parse have changed.
10252 * kbsequence.C (parse): only ignore spaces and not any stupid
10253 control character. This avoids tests like s[i] <= ' ', which are
10254 guaranteed to fail with 8bit characters and signed chars.
10255 Change return code to string::npos when there have been no error
10256 (0 was a bad idea when error is at first character)
10258 2001-11-14 José Matos <jamatos@fep.up.pt>
10261 * buffer.C (simpleDocBookOnePar): removed unused argument.
10263 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10265 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10266 insets which are part of a word. Paragraph::isLetter takes care of
10267 that now. Use Paragraph::isInset to identify insets.
10268 (selectSelectedWord): do not test for hyphenation break.
10270 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10271 that protected spaces are considered as spaces.
10273 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10276 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10279 * lyxserver.C: fix it. and small cleanup.
10281 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10283 * BufferView_pimpl.C: use inline helpers
10286 * LaTeXFeatures.C: fix typos
10289 * Spacing.C: move spacing_string into class
10291 * ToolbarDefaults.C: move stuff into namespace anon
10293 * layout.h: update enum
10295 * lyxfunc.C: use better debug
10297 * minibuffer.h: fix typo
10301 * WorkArea.C: add and use Debug::WORKAREA
10305 * text2.C: code re-organisation, inline helpers
10307 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10309 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10310 std::vector.empty().
10312 2001-11-09 Allan Rae <rae@lyx.org>
10314 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10315 '\n's after tables. Tabular and ERT inset work now makes this no
10318 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10321 * minibuffer.C: fix crash, improve drop-down completion
10323 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10326 * lyxserver.C: invalidate fd's when doing endPipe()
10328 2001-11-08 José Matos <jamatos@fep.up.pt>
10330 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10331 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10334 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10336 2001-11-07 José Matos <jamatos@fep.up.pt>
10339 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10342 * buffer.C (sgmlOpenTag):
10343 * buffer.C (sgmlCloseTag): removed debug info.
10345 * buffer.h (sgmlOpenTag):
10346 * buffer.h (sgmlCloseTag): made public.
10348 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10350 * buffer.C (saveParamsAsDefaults):
10351 * lyx_cb.C (MenuLayoutSave): remove
10353 * LyXAction.C (init):
10355 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10357 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10359 * buffer.C (setPaperStuff): removed from here...
10361 * bufferparams.C (setPaperStuff): ... and moved there.
10363 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10367 * XFormsView.C: add support for drop-down completion
10369 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10371 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10374 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10376 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10379 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10381 * lyx_main.C: change ref to known bugs
10383 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10385 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10386 to work around older babel problems.
10388 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10390 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10392 2001-10-24 Juergen Vigna <jug@sad.it>
10394 * tabular-old.C (ReadOld): below variable changes reflected.
10396 * tabular.[Ch]: added ltType struct for longtable header/footer
10397 defines and changed all instances where they are used. Added
10398 future support for double top/bottom rows.
10400 2001-10-24 José Matos <jamatos@fep.up.pt>
10402 * buffer.h (docbookHandleCaption):
10403 * buffer.C (docbookHandleCaption): removed unused function.
10404 (makeDocBookFile): moved docbook supported version to v4.1.
10406 2001-10-24 José Matos <jamatos@fep.up.pt>
10409 * tabular.C (docbookRow): new function to export docbook code of a row.
10410 (DocBook): now honors the longtable flags.
10412 2001-10-23 José Matos <jamatos@fep.up.pt>
10415 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10416 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10418 * buffer.C (makeLinuxDocFile):
10419 (makeDocBookFile): reworked the preamble, more clean, and with
10420 support for lyx defined entities. Changed the document declaration
10421 to be more XML friendly.
10423 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10424 if we need to output XML that should be done with a filter.
10426 2001-10-22 Juergen Vigna <jug@sad.it>
10428 * sp_pspell.h (class PSpell): add alive function needed in the
10429 controller to see if the spellchecker could be started.
10431 2001-10-22 Juergen Vigna <jug@sad.it>
10433 * buffer.C (insertStringAsLines): modify the font for inserting
10434 chars in certain conditions by calling checkInsertChar(font).
10436 2001-10-19 Juergen Vigna <jug@sad.it>
10438 * text.C (workWidth): use getRow instead of wrong algorithm.
10439 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10441 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10446 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10448 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10450 * text.C (workWidth): do not search for the exact row when
10451 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10452 optimization for big documents.
10454 2001-10-18 Juergen Vigna <jug@sad.it>
10456 * text.C (workWidth): new function with added Inset * parameter.
10458 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10460 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10462 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10463 change return type of getColumnNearX.
10466 * text.C (changeRegionCase): use uppercase/lowercase instead of
10469 (rightMargin): simplify code by factoring out the uses of
10474 (appendParagraph): use Paragraph::size_type
10476 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10478 * vspace.C (asLatexString): add a missing break
10480 2001-10-15 Herbert Voss <voss@perce.de>
10482 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10484 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10486 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10489 2001-10-10 André Pönitz <poenitz@gmx.net>
10491 * lyxfunc.C: removed greek_kb_flag.
10493 2001-10-10 Herbert Voss <voss@perce.de>
10495 * lyx_main.C: delete global string help_lyxdir.
10497 2001-10-09 Herbert Voss <voss@perce.de>
10499 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10501 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10503 * lyx_main.C: added global string help_lyxdir.
10505 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10507 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10509 * lyxrc.C (set_font_norm_type): support iso8859-4
10511 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10513 * LaTeX.C (deplog): add another regex for MikTeX
10515 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10517 * lyxrc.C (set_font_norm_type): support iso8859-3
10519 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10521 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10523 * LaTeXFeatures.C: remove special case of french and index
10525 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10526 before \begin{document}). This solves several incompatibilities.
10528 2001-10-03 Garst Reese <reese@isn.net>
10530 * lyx_cb.C: change CheckTex error msg.
10532 2001-10-03 José Matos <jamatos@fep.up.pt>
10534 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10536 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10538 * .cvsignore: update
10540 * lyx_main.C (commandLineVersionInfo): use new style version info.
10542 * buffer.C (writeFile):
10544 (makeLinuxDocFile):
10545 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10547 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10549 * version.h: update to use stuff in version.C
10551 * version.C.in: new file. Contains version information determined
10552 at compile time. This is a merging of version.h and
10555 2001-10-03 Juergen Vigna <jug@sad.it>
10557 * BufferView_pimpl.C (update): don't change "dirty" status in
10560 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10562 * WorkArea.C (c-tor): re-position version string slightly.
10564 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10566 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10567 revert to previous code.
10569 WorkArea.[Ch]: (show, destroySplash): methods removed.
10571 WorkArea.C: rework code so that it's an amalgam of the codes before and
10572 after the splash screen was moved to WorkArea.
10574 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10577 * vspace.C (inPixels):
10580 * buffer.C (insertStringAsLines):
10581 (asciiParagraph): fix types to be large enough
10583 * lyxlex_pimpl.h: change member status from short to int
10585 * layout.h: fix type of endlabeltype
10588 * kbsequence.C (parse): change return type to string::size_type
10590 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10593 * Bullet.C (bulletSize):
10594 (bulletEntry): do not use short ints as parameters
10596 * BufferView2.C (insertLyXFile): change a char to an int.
10598 * WorkArea.C (WorkArea): remove unneeded floats in computation
10600 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10602 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10604 * paragraph.C (asString): Do not ignore newline/hfill chars when
10605 copying to the clipboard.
10607 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10609 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10610 after a multi-line inset.
10612 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10614 * paragraph.C (validate): Set NeedLyXFootnoteCode
10616 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10618 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10619 and decrease-error to decrease.
10621 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10623 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10624 it more readable (should be equivalent)
10626 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10628 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10630 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10632 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10633 of a cursor (row, etc.) after a character has been deleted
10634 (deleteEmptyParagraphMechanism): call the method above on _all_
10635 cursors held by the LyXText when a double space has been
10638 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10640 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10642 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10644 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10645 background. Use greyOut() and the new show() methods to toggle between
10646 the foreground and background. Add code to remove the splash after
10647 its initial showing.
10649 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10650 (create_forms): no longer call Dialogs::showSplash.
10652 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10654 * .cvsignore: add version_info.h
10656 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10658 * version_info.h.in: new file
10660 * Makefile.am: add version_info.h.in
10662 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10663 version_info.h instead of VERSION_INFO
10665 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10667 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10668 The ERT inset now returns string().
10670 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10672 * lyxtext.h, text.C (selectNextWord): renamed as
10673 selectNextWordToSpellcheck.
10675 * text.C (selectNextWordToSpellcheck): Modified to not select
10676 words inside an ERT inset.
10678 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10680 * lyx_cb.C (MenuLayoutSave): change a bit the question
10682 * sp_base.h: include <sys/types.h>
10684 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10686 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10688 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10690 * several files: fix typos in user-visible strings
10692 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10694 * text2.C (pasteSelection): do not set the selection, since it
10695 will be cleared later. Actually, the intent was to fix the way the
10696 selection was set, but I figured rmoving the code was just as good.
10698 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10700 * FontLoader.C (available): Check if font is available without
10703 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10705 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10707 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10709 * lyxrc.[Ch]: added display_graphics variable and associated code.
10711 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10713 * bufferparams.C (hasClassDefaults): new method. Returns true if
10714 the buffer parameters correspond to known class defaults
10716 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10718 * XFormsView.C (show): set minimum size to the main window.
10720 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10722 * text2.C (copySelection):
10724 * lyxfind.C (LyXReplace):
10725 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10726 LyXText::selectionAsString.
10728 * paragraph.C (asString): add "label" argument to the second form
10730 * text2.C (selectionAsString): add "label" argument and pass it to
10731 Paragraph::asString.
10733 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10735 * lyx_main.C (commandLineHelp): remove version information
10737 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10739 * lyx_main.C: add -version commandline option
10741 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10743 * paragraph.h: make the optional constructor arg required instead.
10744 some modifications to other files because of this.
10746 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10748 * lyxserver.C (C_LyXComm_callback): make it static
10750 * lyx_main.C (error_handler): make it static
10752 * lyx_gui.C (LyX_XErrHandler): make it static
10754 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10756 * WorkArea.C: make the extern "C" methods static.
10758 * Makefile.am (lyx_LDADD): simplify
10760 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10762 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10763 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10765 * LyXAction.C (init):
10766 * lyxfunc.C (dispatch): associated code removal.
10768 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10770 * lyxfont.h (isSymbolFont): shut off warning
10772 * text.C (setHeightOfRow):
10773 (getVisibleRow): fix crash with empty paragraphs which have a
10776 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10778 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10781 2001-09-04 José Matos <jamatos@fep.up.pt>
10784 * tabular.C (docbook): rename docBook method to docbook.
10786 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10788 * Makefile.am: add dependencies to main.o.
10790 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10792 * FontLoader.C (available): Return false if !lyxrc.use_gui
10794 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10796 * FontInfo.C (query):
10797 * converter.C (view):
10798 * importer.C (Import):
10799 * exporter.C (Export): Can not -> cannot.
10801 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10803 * BufferView_pimpl.C: allow to create index inset even if
10806 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10808 * buffer.C (getLists): replace boost::tie code with an explicit pair
10809 as boost::tie can break some compilers.
10811 * iterators.h: Added a std:: declaration to the return type of
10814 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10816 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10819 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10821 * iterators.[Ch]: New files. Provide paragraph iterators.
10823 * buffer.C (changeLanguage): Use paragraph iterators.
10824 (isMultiLingual): ditto
10826 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10828 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10830 * FontLoader.C: Support for cmr font.
10832 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10834 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10835 (available): New method.
10837 * FontInfo.C (getFontname): Use scalable fonts even when
10838 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10841 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10843 * converter.C (Formats::view): reverted! Incorrect fix.
10845 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10847 * converter.C (Formats::view): only output the -paper option
10848 if the dvi viewer is xdvi, thereby fixing bug #233429.
10850 2001-08-23 Herbert Voss <voss@perce>
10852 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10854 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10856 * Spacing.h (Spacing): Set space to Default on in the default
10859 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10861 * vc-backend.h (RCS::versionString): add RCS to version
10862 (CVS::versionString): add CVS to version
10864 * vc-backend.C (scanMaster): do not add CVS to version.
10865 (scanMaster): do not add RCS to version
10867 * lyxvc.C (versionString): new method
10869 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10871 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10873 * Spacing.C (set): initialize fval
10875 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10877 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10880 2001-08-16 Juergen Vigna <jug@sad.it>
10882 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10884 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10886 * BufferView_pimpl.C:
10889 * text2.C: setParagraph takes linespacing now
10891 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10893 * LyxAction.C: add internal LFUN_CITATION_INSERT
10895 * LyXView.C: actually apply fix
10897 * bufferlist.C: fix open non-existent file
10899 * lyxfind.C: fix indentation
10901 * lyxfunc.C: remove unneeded assert, fix typo
10903 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10905 * MenuBackend.C: use "Floatname List"
10907 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10909 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10910 when converting LaTeX layout to insetERT.
10911 Generate a non-collapsed float when reading old float
10913 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10915 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10918 2001-08-13 Juergen Vigna <jug@sad.it>
10920 * text.C (fill): return 0 instead of 20 as this seems to be the more
10923 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10925 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10928 2001-08-13 Juergen Vigna <jug@sad.it>
10930 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10932 (SearchBackward): comment out the unlocking of the inset_owner this
10933 should not be needed!
10935 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10937 * Many files: Remove inherit_language, and add latex_language
10939 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10940 collapsible insets.
10942 2001-08-10 Juergen Vigna <jug@sad.it>
10944 * text.C (prepareToPrint): fixed hfill-width in draw!
10946 * BufferView2.C (selectLastWord): save the selection cursor as this
10947 now is cleared in the function LyXText::clearSelection!
10949 2001-08-08 Juergen Vigna <jug@sad.it>
10951 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10952 BACKSPACE type functions.
10954 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10955 is only cutted from the document but not put in the cut-buffer, where
10956 still the old stuff should be.
10958 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10960 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10962 * tabular.C (SetWidthOfCell): fixed special case where the width
10964 (LeftLine): handle '|' in align_special.
10966 (LeftAlreadyDrawed): ditto
10967 (SetWidthOfCell): ditto
10969 2001-08-07 Juergen Vigna <jug@sad.it>
10971 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10973 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10975 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10976 * lyxlex.[hC]: ditto
10978 2001-08-06 Juergen Vigna <jug@sad.it>
10980 * text.C (getVisibleRow): fix up row clearing a bit.
10982 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10984 * minibuffer.C: make sure the X server sees the changes in the input.
10986 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10988 * paragraph.C (getFont): split into...
10989 (getLabelFont): this
10990 (getLayoutFont): and this
10991 * paragraph_pimpl.C (realizeFont): calling this
10993 * text2.C (getFont): split into...
10994 (getLayoutFont): this
10995 (getLabelFont): and this
10996 (realizeFont): all three calling this
10998 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11001 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11003 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11005 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11007 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11008 layouts from the Quote inset insertion.
11010 2001-08-03 Juergen Vigna <jug@sad.it>
11012 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11014 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11015 only if status not is already CHANGED_IN_DRAW (second level).
11017 * text.C (draw): don't set the need_break_row when inside an
11020 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11022 * buffer.C (parseSingleLyXformat2Token): handle more latex
11025 * bufferview_funcs.[hC]: change function names to
11026 begin with small char, adjust other files.
11028 2001-08-02 André Pönitz <poenitz@gmx.net>
11031 BufferView_pimpl.C: remove broken special code for math-greek
11033 2001-08-02 Juergen Vigna <jug@sad.it>
11035 * BufferView_pimpl.C (update): redone this function so that we
11036 update the text again if there was a CHANGE_IN_DRAW.
11038 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11039 (drawFromTo): added a new internal bool which is used by draw() and
11041 (general): some cursor drawing problems fixed.
11043 2001-08-01 Juergen Vigna <jug@sad.it>
11045 * lyxfind.C (LyXFind): fixed
11046 (SearchForward): ditto
11047 (SearchBackward): ditto
11049 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11050 spurius drawing of the cursor in the main area.
11052 * text2.C (status): small fix which could lead to a segfault!
11053 (clearSelection): remove unneeded BufferView param.
11055 2001-08-01 André Pönitz <poenitz@gmx.net>
11057 * lyxfunc.C: small change due to changed mathed interface
11059 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11061 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11063 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11065 * lyxfunc.c: fail gracefully if file doesn't exist
11070 * BufferView_pimpl.C: IsDirWriteable() proto changed
11072 * LyXView.C: fix updateWindowTitle() to store the last title
11074 2001-07-31 Juergen Vigna <jug@sad.it>
11076 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11077 the font (wrong since using of Paragraph::highestFontInRange).
11079 * paragraph.C (highestFontInRange): added a default_size parameter.
11081 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11082 (setHeightOfRow): reformat
11084 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11086 * converter.[hC] + affected files: move to (inital-char)lowercase
11089 * ParagraphParameters.C (ParagraphParameters): remove commented code
11091 * PainterBase.[Ch]: remove commented code
11093 * LaTeXFeatures.h: add "bool floats" for float.sty
11095 * LaTeXFeatures.C (LaTeXFeatures): init floats
11096 (require): handle float
11097 (getPackages): do it with floats
11099 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11101 * BufferView_pimpl.C (Dispatch): improve handling of
11102 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11104 * commandtags.h: #include lyxfont.h here temporarily to avoid
11107 * bufferlist.h: include LString.h here.
11109 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11111 * text2.C (getStringToIndex): new method.
11113 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11115 * *: Reduced header file dependencies all over.
11117 2001-07-30 Baruch Even <baruch@lyx.org>
11119 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11121 2001-07-29 Baruch Even <baruch@lyx.org>
11123 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11125 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11127 * ParameterStruct.h (endif): add a default constructor to make
11128 sure that all variables is initialized.
11130 * ParagraphParameters.C (ParagraphParameters): adjust
11132 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11134 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11135 index; also, check that there is something to index, and that it
11136 does not span over several paragraphs.
11137 (doubleClick): use WHOLE_WORD_STRICT for double click.
11139 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11141 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11144 2001-07-26 Baruch Even <baruch@lyx.org>
11146 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11147 an InsetFig figure, backwards compatible reading of old figure code.
11149 2001-07-27 Juergen Vigna <jug@sad.it>
11151 * text2.C: font.realize function adaption.
11153 * text.C (draw): add a warnings lyxerr text if needed.
11155 * layout.C: font.realize function adaption.
11157 * language.C: add inherit_language and implement it's handlings
11159 * bufferview_funcs.C (StyleReset): remove language parameter from
11160 font creation (should be language_inherit now).
11162 * bufferparams.C (writeFile): handle ignore_language.
11164 * paragraph.C (getFontSettings): the language has to be resolved
11165 otherwise we have problems in LyXFont!
11167 * lyxfont.C (lyxWriteChanges): added document_language parameter
11168 (update): removed unneeded language parameter
11170 * paragraph.C (validate): fixed wrong output of color-package when
11171 using interface colors for certain fonts in certain environments,
11172 which should not seen as that on the final output.
11174 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11176 * BufferView_pimpl.C:
11181 * LyXAction.C: add thesaurus support
11184 * lyxfind.C: add "once" parameter, for thesaurus, to not
11185 move to the next match
11187 2001-07-26 Juergen Vigna <jug@sad.it>
11189 * lyxfont.C (realize): honor ignore_language too!
11192 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11194 * text.C (draw): one place more for ignore_language to not draw
11197 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11199 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11201 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11203 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11204 the minipage conversion problem.
11206 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11208 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11211 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11213 * BufferView.h: don't forward declare WorkArea
11215 * BufferView.C: don't include WorkArea.h
11217 2001-07-25 André Pönitz <poenitz@gmx.net>
11221 * lyxfunc.C: new LFUN 'math-space'
11223 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11225 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11227 * text2.C (toggleInset): call open/close
11229 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11231 * lyxfunc.C (dispatch): add debug for the disabled case
11233 * font.C (buttonText): make similar to rectText
11235 * buffer.C (readInset): comment out parsing of insetlist and
11238 * PainterBase.C (rectText): small correction
11240 * BufferView_pimpl.C: comment out insettheorem and insetlist
11241 * LyXAction.C: ditto
11242 * commandtags.h: ditto
11244 2001-07-24 Juergen Vigna <jug@sad.it>
11246 * text.C (draw): honor the ignore_language.
11248 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11250 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11252 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11255 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11257 * lyxtext.h: remove unused (and unimplemented) methods
11259 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11261 * text.C (getVisibleRow): honor background color
11264 * Painter.h: remove default color argument for fillRectangle
11266 * text.C (backgroundColor): new method
11268 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11270 * text.C (getVisibleRow): adjust
11272 * font.[Ch] (rectText): new method, metrics
11273 (buttonText): new method, metrics
11275 * PainterBase.[hC]: make rectText and buttonText always draw and take
11278 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11280 * ToolbarDefaults.C (read):
11281 * MenuBackend.C (read): allow escaping in all strings
11283 * BufferView_pimpl.C (insertAndEditInset): new method.
11284 (Dispatch): use insertAndEditInset whenever appropriate.
11286 * BufferView_pimpl.C (insertNote): removed
11288 * BufferView_pimpl.C (smartQuote): new method, moved from
11289 BufferView; if an insetquote cannot be inserted, insert a '"'
11292 * BufferView2.C: remove insertCorrectQuote();
11294 * lyxfunc.C (getStatus): Add support for all remaingin
11295 inset-insert lfuns.
11297 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11299 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11300 command (necessary to pass " as parameter of self-insert.
11302 * text.C (selectWordWhenUnderCursor):
11303 (selectWord): add word_location parameter
11304 (selectWordWhenUnderCursor): same + remove special code for word
11306 (selectNextWord): use kind() to guess type of insetspecialchar,
11309 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11310 (insertErtContents): create ert insets as collapsed.
11311 (readInset): better compatibility code for Info inset.
11313 2001-07-20 Juergen Vigna <jug@sad.it>
11315 * lyxfunc.C (dispatch): use always LyXFind now!
11317 * text2.C (init): add a reinit flag so that the LyXText can be
11318 reinited instead of deleted and reallocated (used in InsetText).
11320 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11326 2001-07-18 Juergen Vigna <jug@sad.it>
11328 * text.C (selectNextWord): handle insets inside inset by calling
11329 always the bv->text functions so that we can go up the_locking_inset!
11331 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11332 in strange locations when inside an inset!
11334 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11335 handling to include insets.
11337 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11339 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11341 * LyXAction.C (init):
11343 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11344 LIGATURE_BREAK, since the name is so stupid.
11346 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11348 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11351 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11353 * sp_form.[Ch]: remove.
11355 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11357 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11360 * src/buffer.C (readInset): ditto.
11362 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11364 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11365 menuSeparator(), endOfSentenceDot(), ldots() and
11366 hyphenationPoint(), which are therefore removed.
11367 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11369 * LyXAction.C (init):
11370 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11372 * paragraph.C (getWord): removed.
11374 * BufferView_pimpl.C (Dispatch): use last word or selection for
11375 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11377 * lyx_main.C (queryUserLyXDir): do not ask before creating
11378 user_dir, except if it has been named explicitely.
11380 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11382 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11383 a document of zero size.
11385 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11387 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11388 approriately in the c-tor and in require().
11389 (getPackages): output the appropriate LaTeX for natbib support.
11391 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11392 variables "use_natbib" and "use_numerical_citations" when reading the
11394 (readInset): read the various natbib cite commands.
11395 (validate): white-space change.
11397 * bufferparams.[Ch]: new variables "bool use_natbib" and
11398 "bool use_numerical_citations".
11399 (writeFile): output them in the LyX file.
11401 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11403 * lyxfunc.C (getStatus): add support for all the inset insertion
11406 * text2.C (insertInset):
11407 * paragraph.C (insetAllowed):
11408 * BufferView_pimpl.C (insertInset): update to take in account the
11409 renaming of insertInsetAllowed
11411 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11413 * text2.C (getInset): new method. returns inset at cursor position.
11415 * BufferView_pimpl.C (Dispatch): changes because of this.
11417 * LyXAction.C (init): rename open-stuff to inset-toggle.
11419 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11421 * text2.C (toggleInset): renamed from openStuff; use
11424 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11426 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11428 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11430 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11432 * buffer.C (readLyXformat2): Add filename to the error dialog
11434 2001-07-18 Juergen Vigna <jug@sad.it>
11436 * tabular.C (GetCellNumber): put an assert here instead of the check!
11438 2001-07-17 Juergen Vigna <jug@sad.it>
11440 * BufferView_pimpl.C (toggleSelection): adapted too.
11442 * text.C (selectNextWord): adapted for use with insets.
11443 (selectSelectedWord): ditto
11445 2001-07-17 Juergen Vigna <jug@sad.it>
11447 * sp_spell.C (PSpell): fix initialitation order.
11449 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11451 * paragraph.C: spacing
11453 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11455 * sp_spell.C: repair language selection for pspell
11457 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11459 * lyxfunc.h: change more methods to begin with lower char.
11461 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11463 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11464 for unknown layouts.
11466 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11468 * buffer.C (readLyXformat2): Generate an error dialog if there are
11471 2001-07-16 Juergen Vigna <jug@sad.it>
11473 * sp_spell.C: always compile ISpell part.
11475 * lyxrc.C: added use_pspell entry and it's handling.
11477 2001-07-13 Juergen Vigna <jug@sad.it>
11479 * sp_spell.C: removed double includes.
11481 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11483 Consistent use of Lsstream.h:
11484 * Lsstream.h: added using std::stringstream for consistencies sake.
11486 * buffer.C: removed using std::stringstream
11488 * lyxfont.C (stateText):
11489 * paragraph.C (asString):
11490 * text.C (selectNextWord, selectSelectedWord):
11491 * text2.C (setCounter):
11492 * vspace.C (asString, asLatexString):
11493 std::ostringstream -> ostringstream.
11495 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11497 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11498 * commandtags.h: add LFUN_HELP_ABOUTLYX
11499 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11501 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11503 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11505 * lyx_gui_misc.C: remove spellchecker
11506 * lyxfunc.C: showSpellchecker
11508 * sp_ispell.h: added
11509 * sp_pspell.h: added
11510 * sp_spell.C: added
11511 * sp_form.[Ch]: removed
11512 * spellchecker.[Ch]: removed
11514 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11516 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11518 (simpleTeXSpecialChars): Simply print the input character without
11519 any special translation if pass_thru is set.
11521 * layout.h: Added bool pass_thru to layout class for being able to
11522 implement pass through of a paragraph for Literate Programming.
11524 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11525 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11526 * layout.C (Read): add "passthru" to list of layout tags and add
11527 code to set the pass_thru boolean when it is read.
11529 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11531 * trans_decl.h: remove allowed from KmodInfo
11533 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11534 remove allowed code
11537 * paragraph_pimpl.C (erase): use boost::prior
11539 * Painter.C (text): use data() instead of c_str() when length is
11541 * WorkArea.C (putClipboard): ditto
11542 * font.h (width): ditto
11544 * BufferView2.C: use it-> instead of (*it). for iterators
11546 * paragraph_pimpl.C: ditto
11547 * paragraph.C: ditto
11548 * minibuffer.C: ditto
11549 * language.C: ditto
11551 * encoding.C: ditto
11552 * counters.C: ditto
11553 * converter.C: ditto
11555 * Variables.C: ditto
11556 * TextCache.C: ditto
11557 * MenuBackend.C: ditto
11558 * LyXAction.C: ditto
11560 * FloatList.C: ditto
11561 * DepTable.C: ditto
11562 * ColorHandler.C (LyXColorHandler): ditto
11564 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11566 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11568 * text2.C (openStuff): reintroduce this method (which had been
11569 nuked in NEW_INSETS frenzy).
11571 * lyxfunc.C (Dispatch): when an action has not been handled, use
11572 its name in the error message, not its number.
11574 * paragraph.C (inInset): change method name to begin with lowercase.
11577 * text2.C: updates because of this.
11579 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11581 * ToolbarDefaults.C (add): add spaces in error message
11583 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11585 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11586 (readLyXformat2): rename return_par to first_par, use lyxlex's
11587 pushToken and remove the manual push handling.
11588 (parseSingleLyXformat2Token): add another ert comp. variable:
11589 in_tabular, rename return_par to first_par. handle newlines better
11591 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11593 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11595 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11597 * text2.C (getParFromID): removed
11599 * buffer.C (getParFromID): new method moved form lyxtext.
11600 * BufferView2.C (insertErrors): adjust
11601 (setCursorFromRow): adjust
11602 * BufferView_pimpl.C (restorePosition): adjust
11603 * lyxfunc.C (Dispatch): adjust
11604 * undo_funcs.C (textUndo): adjust
11606 (textHandleUndo): adjust
11607 (textHandleUndo): adjust
11609 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11611 * buffer.C: up' the LYX_FORMAT
11613 * lyxfont.h: turn NO_LATEX on as default
11615 * buffer.C (insertErtContents): new methods of tex style compability.
11616 (parseSingleLyXformat2Token): use it several places.
11617 * tabular.C (OldFormatRead): and here
11619 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11621 * text2.C: remove some commented code.
11624 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11625 * trans.C: changes because of the above.
11627 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11629 * text2.C (setCounter): Fix counters bug with bibliography layout.
11631 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11633 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11634 own member functions
11635 (simpleTeXSpecialChars): ditto
11637 2001-07-06 Juergen Vigna <jug@sad.it>
11639 * a lot of files: changed the access to LyXText::status and the
11640 call of undo-functions.
11642 * undo.[Ch]: added a inset_id to the undo informations.
11644 * undo_funcs.[Ch]: added and moved here all undo functions.
11646 * lyxtext.h: give the status enum a weight, made status_ a private
11647 variable and made accessor functions for it, removed the whole bunch
11648 of undo-functions as they are now in their own file, make some
11649 functions publically available. Added function ownerParagraph with
11652 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11653 made InInset() a const function, added getParFromID() function.
11655 * buffer.[Ch]: added const version for inset_iterator functions,
11656 added getInsetFromID() function.
11658 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11659 changed undo functions for new version.
11661 2001-07-05 Juergen Vigna <jug@sad.it>
11663 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11664 unknow mechanism does not call the proper constructor but only this
11665 one also if I request the other!?
11667 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11669 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11671 * text2.C (LyXText): use initialization lists.
11673 * lyxtext.h (Selection): initialize set_ and mark_
11674 (init): remove method
11676 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11678 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11680 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11682 * screen.[Ch]: change method names to begin with lowercase
11684 * BufferView_pimpl.C (updateScrollbar): simplify further and
11685 hopefully make it a bit faster.
11687 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11689 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11690 calling directly xforms functions.
11692 * Painter.C (Painter):
11693 * lyx_cb.C (MenuWrite):
11694 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11697 * lyx_gui.C: remove bogus guiruntime extern declaration.
11699 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11701 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11703 (redoDrawingOfParagraph): ditto
11704 (redoParagraphs): ditto
11705 (cutSelection): don't create a object for CutAndPaste use the
11706 static method directly
11707 (pasteSelection): ditto
11709 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11712 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11714 * modifications to some other files because of this.
11716 * Makefile.am (lyx_SOURCES): add XFormsView
11718 * XFormsView.[Ch]: new files
11720 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11721 the main window. Move the gui dependent stuff to XFormsView
11723 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11725 * tabular.C (GetCellInset): update cur_cell also in the row/col
11726 version of this function.
11728 * lyxfunc.C: no need to include figure_form.h here.
11734 * lyxvc.C: no need to include forms.h here.
11736 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11738 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11740 * lyxfunc.C (Dispatch):
11742 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11743 constructor argument.
11745 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11747 * paragraph.C (Paragraph): dont't clear, and just set layout.
11748 (makeSameLayout): use params's copy contructor.
11750 * ParagraphParameters.[Ch] (makeSame): delete method
11752 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11754 * Variables.[Ch]: fix indentation, rename set to isSet
11756 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11758 * lyxfunc.C (Dispatch): fix typo
11760 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11762 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11765 * bufferlist.C: include assert.h for emergencyWrite().
11767 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11769 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11770 give up at last (bug #425202) !
11772 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11778 * spellchecker.C: strip spellchecker options and bring up
11779 preferences tab instead
11781 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11783 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11784 the istringstream constructor
11786 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11788 * paragraph.C (getLayout): fix return value
11790 * paragraph.h: do not declare getLayout as inline.
11792 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11794 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11796 * lyxcursor.h (operator<): new func
11797 (operator>): new func
11798 (operator>=): new func
11799 (operator<=): new func
11801 * text.C (changeCase): use selection.start and selection.end
11802 (changeRegionCase): require from to be <= to. Require par to be a
11805 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11807 2001-06-27 Juergen Vigna <jug@sad.it>
11809 * text.C (cursorLeftOneWord): changed to return the cursor and added
11810 overlay with BufferView * parameter which calls this one.
11812 (selectWord): use new getWord function.
11813 (changeCase): renamed from changeWordCase as and extended to work
11814 also on selections.
11816 * lyxtext.h: added enum word_location
11818 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11819 changeCase as this operates now also on selections.
11821 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11823 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11825 * many files: send debug output to Debug::INFO instead of
11828 * converter.C (View):
11830 (Move): send debug output to Debug::FILES instead of console.
11832 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11834 * lyxfunc.C (getStatus): use func_status
11836 * func_status.h: new header, describing the results of
11837 LyXFunc::getStatus;
11839 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11842 2001-06-25 The LyX Project <jug@sad.it>
11844 * buffer.C (sgmlOpenTag):
11846 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11848 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11850 * text2.C: remove some dead code
11852 * tabular.C (GetCellInset): store the last cell checked (gotten)
11854 * tabular.h: add the helper for the speedup
11856 * lyxtext.h: remove some dead code
11858 2001-06-26 The LyX Project <Asger>
11860 * paragraph.C: Change export to LaTeX of alignment to
11861 \begin{center} and family for better roundtrip work with reLyX.
11863 * Tune the math drawing a bit.
11865 2001-06-25 The LyX Project <Asger>
11867 * LColor.C (LColor): New color for math background. New color
11870 2001-06-25 The LyX Project <jug@sad.it>
11872 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11874 * lyxfunc.C (Open):
11875 * bufferlist.C (newFile): do not restrict to files ending with
11878 * BufferView_pimpl.C (MenuInsertLyXFile):
11880 2001-06-24 The LyX Project <jug@sad.it>
11882 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11885 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11887 * lyxtext.h: rename most methods to begin with a small char.
11888 Lots of changes because of this.
11890 * paragraph.C (Paragraph): do not call fitToSize
11891 (erase): call Pimpl::erase
11892 (insertChar): call Pimpl::insertChar
11893 (insertInset): call Pipl::insertInset
11894 (breakParagraph): do not call fitToSize
11895 (breakParagraphConservative): do not call fitToSize
11896 (fitToSize): remove method
11898 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11900 2001-06-24 The LyX Project <Asger>
11902 * Fix Qt compilation^2
11904 2001-06-24 The LyX Project <jug@sad.it>
11906 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11907 depthHook(getDepth()-1).
11910 * ParagraphParameters.h:
11911 * ParameterStruct.h: change type of depth to unsigned int ==
11912 depth_type. Many adaptations to other files before of that.
11914 2001-06-24 The LyX Project <Asger>
11916 * Fix Qt compilation.
11918 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11920 * paragraph.h: renamed several methods to begin with small letter.
11921 several changes to many parts of the code because of this.
11923 2001-06-23 The LyX Project <jug@sad.it>
11925 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11926 rewritten to discard all double spaces when KeepEmpty is off
11927 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11928 to only handle newlines but not fiddle with spaces and friends.
11930 * lyxfunc.C (MenuNew): when doing 'new from template', use
11931 template_path as default directory
11933 2001-06-23 The LyX Project <Asger>
11935 * Clean-up of header file includes all over
11936 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11938 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11940 * paragraph.h: renamed from lyxparagraph.h
11942 2001-06-23 Asger <lyx@violet.home.sad.it>
11944 * Buffer.h: Removed Buffer::resize
11945 * BufferList.h: Removed BufferList::resize
11946 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11947 the document lazily when we change the width, or the font settings.
11949 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11951 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11953 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11955 * buffer.h: remove out of date comment
11957 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11960 * screen.C: fix "theoretical" GC leak
11962 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11964 * LaTeX.C (scanAuxFile):
11965 (deplog): remove trailing \r when reading stream (useful under
11968 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11970 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11971 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11972 and BufferView::theLockingInset(Inset*), so should use them and not
11973 access bv_->text->the_locking_inset directly.
11975 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11977 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11980 * tex-defs.h: remove old unused file
11982 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11984 * BufferView_pimpl.C: fix typo, remove minibuffer message
11985 when buffer has loaded
11987 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11989 * lyxfunc.C (Dispatch): use stringstream
11990 (MenuNew): use stringstream
11991 (Open): use stringstream
11993 * importer.C (Import): use stringstream
11995 * bufferview_funcs.C (CurrentState): use stringstream
11997 * LaTeX.C (run): use stringstream
11999 * BufferView_pimpl.C (savePosition): use stringstream
12000 (restorePosition): use stringstream
12001 (MenuInsertLyXFile): use stringstream
12003 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12016 * vspace.C: removed // -*- C++ -*- as first line.
12019 * version.h: added // -*- C++ -*- as first line.
12021 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12023 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12025 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12028 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12030 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12033 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12035 * gettext.C: include LString.h even when --disable-nls is on.
12037 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12039 * converter.h (Get): changed argument type from int to
12040 FormatList::size_type to avoid unnecessary conversion.
12042 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12045 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12047 * gettext.h: include LString.h even when --disable-nls is on.
12049 2001-06-07 Juergen Vigna <jug@sad.it>
12051 * text.C (BreakAgain): subst spaces with tabs.
12053 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12054 (resizeInsetsLyXText): set force on resizeLyXText.
12056 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12058 * gettext.h (gettext_init):
12059 (locale_init): use a real definition instead of a macro
12061 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12063 * Bufferview_pimpl.C:
12065 * LColor.C: further lcolor tidies
12067 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12069 * BufferView_pimpl.C (updateScrollbar): simplify.
12071 * BufferView2.C: don't include insets/insetinfo.h, change
12072 prototype for insertInset and call the Pimpl version. let
12073 updateInset call Pimpl version.
12075 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12076 gotoInset to BufferView::Pimpl
12078 2001-06-01 Juergen Vigna <jug@sad.it>
12080 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12081 inside a LockingInset (is the update needed at all?).
12083 2001-05-31 Juergen Vigna <jug@sad.it>
12085 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12086 here not the old one otherwise how should we compare it afterwards
12089 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12094 * FontInfo.C: bring C functions into global namespace when
12097 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12099 * LString.h: make sure config.h has been loaded before LString.h.
12101 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12102 (one for each char read by EatLine!).
12104 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12107 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12109 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12110 to the same as the par we break from
12112 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12114 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12116 * MenuBackend.C (expand): also create menu entries for wide
12117 versions of the floats.
12119 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12121 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12123 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12124 frontends/Makefile.am
12130 * tabular.C (getTokenValue): add std::
12132 * tabular-old.C (getTokenValue): add std::
12133 (getTokenValue): ditto
12134 (getTokenValue): ditto
12136 * screen.C (ToggleSelection): adjust
12138 * lyxtext.h: put selection cursors inside a Selection struct.
12140 * lyxfunc.C (moveCursorUpdate): adjust
12142 * lyxfont.C (latexWriteStartChanges): add std::
12144 * lyxfind.C: adjust
12146 * font.h: delete with(char const *, LyXFont const &)
12148 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12150 * FontInfo.C (getFontname): add std::
12152 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12153 (workAreaButtonPress): adjust
12154 (tripleClick): adjust
12156 (moveCursorUpdate): adjust
12159 * BufferView2.C (gotoInset): adjust
12161 2001-05-30 Juergen Vigna <jug@sad.it>
12163 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12164 to check pspell I add this as default as I now have new pspell
12165 libraries and they seem to use this.
12167 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12169 * text2.C (CutSelection): make the cursor valid before the call to
12172 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12174 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12175 relied on 0 terminated strings and other horrors. Bug found due to
12176 the new assert in lyxstring!
12178 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12181 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12183 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12186 * lyxfunc.C (processKeySym): change method of getting to the
12189 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12190 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12191 * BufferView_pimpl.[Ch]: here as private methods.
12193 2001-05-28 Juergen Vigna <jug@sad.it>
12195 * text.C (SetHeightOfRow): added the update() call again as it is
12196 needed to initialize inset dimensions!
12198 2001-05-16 Juergen Vigna <jug@sad.it>
12200 * text2.C (SetCharFont): Add new function with BufferView * and
12201 bool toggleall parameters for setting insets internal fonts.
12202 (SetFont): Freeze the undo as we may change fonts in Insets and
12203 all this change should be inside only one Undo!
12205 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12206 setting font's in insets as for them we have the SetFont function!
12208 2001-05-15 Juergen Vigna <jug@sad.it>
12210 * text2.C (ClearSelection): to be sure we REALLY don't have any
12213 * tabular.C (TeXCellPreamble): fixed the left border problem for
12216 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12218 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12221 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12223 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12224 LFUN_BREAKPARAGRAPH.
12226 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12227 help test to "internal only", similar for LFUN_INSERT_URL
12229 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12230 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12231 auto_region_delete and deadkeys.
12233 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12236 * LColor.C: remove some dead entries, tidy a little
12238 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12240 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12242 (Dispatch): implement LFUN_ESCAPE
12244 * commandtags.h: add LFUN_ESCAPE
12246 * LyXAction.C (init): add entry for LFUN_ESCAPE
12248 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12249 Remove commented code.
12250 (insertNote): moved here
12251 (open_new_inset): moved here
12253 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12256 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12258 * kbmap.C (findbinding): clean it up and make it work correctly.
12260 * lyx_main.C (init): do not pass argc and argv as parameters
12262 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12264 * buffer.C: fix path for OS/2 & Win32
12268 * lyx_main.C: Added os:: class.
12270 * os2_defines.h: update
12272 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12274 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12275 better by trying again with reduced state.
12277 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12279 * lyxrc.C (read): print error about invalid key sequence only when
12280 debugging (because not all latinX keysyms are known to some X
12283 * kbsequence.C (getiso): add a few std:: qualifiers
12284 (getiso): comment out extra return statement.
12286 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12288 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12290 (Dispatch): enhance the accent inset a bit. (not perfect)
12292 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12294 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12296 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12298 * bufferlist.C (emergencyWrite): fix assert() call
12300 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12302 * text.C (InsertChar): Added trivial patch to only send the "you
12303 can not do multiple spaces this way" message once during a
12306 2001-05-08 Baruch Even <baruch@lyx.org>
12308 * Makefile.am: Changed order of libraries to get LyX to link properly
12309 with the gnome frontend.
12311 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12313 * LaTeXFeatures.h: add a std:: qualifier
12315 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12317 * paragraph.C (String): use stringstream
12319 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12321 * paragraph.C (writeFile): remove footflag arg
12323 * buffer.C (makeLaTeXFile): use stringstream
12324 (latexParagraphs): remove footnot gurba
12326 * LaTeXFeatures.C (getPackages): use stringstream
12327 (getMacros): likewise
12328 (getTClassPreamble): likewise
12329 (getFloatDefinitions): new method
12331 * paragraph.C (writeFile): reindent
12334 * WorkArea.h: revert the xpos + etc changes.
12336 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12338 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12340 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12341 (pasteSelection): likewise
12342 * text2.C (CreateUndo): likewise
12344 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12346 * minibuffer.C (peek_event): temporarily reduce the functionality
12347 of the minibuffer (to allow args on lfuns)
12349 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12350 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12352 * buffer.C (readInset): add compability reading of old float
12353 lists, add reading of new style float list.
12354 (readInset): avoid reevaluation of inscmd.getCmdName()
12355 (getLists): reindent
12357 * MenuBackend.C (MenuItem): implement parsing of
12358 md_floatlistinsert and md_floatinsert.
12359 (expand::LastFiles): move initalizaton of iterators out of loop,
12360 avoid reevaluation.
12361 (expand::Documents): introduce typdedef vector<string> Strings,
12363 (expand::ExportFormats): introduce typedef vector<Format const *>
12364 Formats, and use it.
12365 (expand): implement FloatListInsert and FloatInsert.
12367 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12368 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12369 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12371 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12373 (Dispatch::LFUN_FLOAT_LIST): implement
12375 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12377 * LaTeX.C (run): Fix problem with --export code.
12379 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12381 * BufferView.[Ch] (workarea): removed.
12382 (getClipboard) new method; wrapper for workarea()->getClipboard()
12384 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12387 * WorkArea.h (width, height, xpos, ypos): These methods all
12388 returned the dimensions of the work_area sub-area of WorkArea,
12389 resulting in a position error if the WorkArea were resized. Now
12390 return the dimensions of the entire WorkArea.
12392 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12394 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12396 * LaTeX.C (deplog): correct the syntax of regex reg1
12398 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12400 * undo.C: remove !NEW_INSETS cruft
12402 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12404 * text2.C: remove !NEW_INSETS cruft
12406 * text.C: remove !NEW_INSETS cruft
12408 * tabular.C: remove !NEW_INSETS cruft
12410 * spellchecker.C: remove !NEW_INSETS cruft
12412 * lyxtext.h: remove !NEW_INSETS cruft
12414 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12416 * lyxfunc.C: remove !NEW_INSETS cruft
12418 * lyxfind.C: remove !NEW_INSETS cruft
12420 * lyx_cb.C: remove !NEW_INSETS cruft
12422 * figureForm.C: remove !NEW_INSETS cruft
12424 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12426 * buffer.[Ch]: remove !NEW_INSETS cruft
12428 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12430 * CutAndPaste.C: remove !NEW_INSETS cruft
12432 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12434 * BufferView2.C: remove !NEW_INSETS cruft
12436 * BufferView.h: remove !NEW_INSETS cruft
12438 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12440 * Lsstream.h: include LString.h before the sstream headers to
12441 fix problem with gcc 2.95.3 and lyxstring
12443 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12445 * lyx_main.C: add using directives when needed for C functions
12446 declared in std:: namespace.
12448 2001-04-27 Juergen Vigna <jug@sad.it>
12450 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12451 (SetHeightOfRow): comment out the update call should not be needed!
12453 2001-04-13 Juergen Vigna <jug@sad.it>
12455 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12456 (LyXTabular): tried to minimize operator= operations (and realized
12457 hopfully Lars wish).
12459 2001-04-27 Juergen Vigna <jug@sad.it>
12461 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12463 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12465 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12467 * buffer.C (readInset): hack to make listof algorithm work
12469 * BufferView_pimpl.C: hack to make listof algorithm work
12471 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12473 * LyXAction.C: removed all !NEW_INSETS cruft
12474 (init): moved lfun_item in method
12476 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12478 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12480 * BufferView2.C (theLockingInset): white space.
12482 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12484 * minibuffer.C: include <iostream>
12486 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12488 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12490 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12492 * text.[Ch] (TransposeChars): new method
12494 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12496 * call message directly through LyXView instead of through LyXFunc
12497 * BufferView2.C: adjust
12498 * BufferView_pimpl.C: adjust
12499 * FontLoader.C: adjust
12501 * bufferview_funcs.C: adjust
12502 * converter.C: adjust
12503 * figureForm.C: adjust
12504 * importer.C: adjust
12506 * lyx_gui_misc.C: adjust
12507 * lyxfunc.C: adjust
12510 + more files in subdirs
12512 * lyxparagraph.h (size): move up int file
12515 * adjust all uses of Assert to lyx::Assert.
12517 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12518 lyxfunctional in namespace lyx
12519 * layout.C (hasLayout): ditto
12522 (delete_layout): ditto
12523 (NumberOfClass): ditto
12524 * converter.C (GetFormat): ditto
12529 * bufferlist.C (getFileNames): ditto
12530 (emergencyWriteAll): ditto
12533 * MenuBackend.C (hasSubmenu): ditto
12536 * BufferView_pimpl.C (getInsetByCode): ditto
12538 2001-04-18 Juergen Vigna <jug@sad.it>
12540 * vspace.C (asLatexString): fixed the 100% problem.
12542 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12544 * lyxfunc.C (Dispatch):
12546 * minibuffer.h: add a few std:: qualifiers
12548 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12550 * minibuffer.[Ch]: reimplement so that commands is initiated and
12551 run from lyxfunc, simplified som handling, and made the completion
12552 and history code for complete. wip.
12554 * lyxfunc.C (processKeySym): call message
12555 (miniDispatch): new temporary method
12556 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12557 (LFUN_MESSAGE): implement
12558 (LFUN_MESSAGE_PUSH): implement
12559 (LFUN_MESSAGE_POP): implement
12560 (initMiniBuffer): the initial/defualt minibuffer message.
12562 * lyxfont.[Ch]: inline some more getters
12564 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12566 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12568 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12569 (AutoSave): use LFUN_MESSAGE
12570 (Reconfigure): ditto
12572 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12574 * figureForm.C: use LFUN_MESSAGE
12576 * converter.C (runLaTeX): use LFUN_MESSAGE
12578 * bufferview_funcs.C: use LFUN_MESSAGE
12580 (changeDepth): ditto
12582 * bufferparams.h: use boost::
12584 * bufferlist.h: inherit privately from noncopyable
12586 * bufferlist.C (loadLyXFile): remove some commented code.
12588 * buffer.C (runChktex): use LFUN_MESSAGE
12590 * ShareContainer.h: inherit privately from noncopyable
12592 * ParagraphParameters.[hC] (depth): inline it.
12594 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12596 (message): new method
12597 (messagePush): ditto
12598 (messagePop): ditto
12599 (show): init minibuffer
12600 (showState): direct call
12602 * LaTeX.[Ch]: inherit privately from noncopyable
12603 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12604 instead of WriteStatus.
12606 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12608 * BufferView_pimpl.C (buffer): don't init minibuffer
12609 (workAreaButtonPress): use LFUN_MESSAGE
12610 (workAreaButtonRelease): ditto
12611 (savePosition): ditto
12612 (restorePosition): ditto
12613 (MenuInsertLyXFile): ditto
12614 (workAreaExpose): don't init minibuffer
12615 (update): remove commented code, simplify
12617 * BufferView2.C (openStuff): use LFUN_MESSAGE
12618 (toggleFloat): ditto
12621 (copyEnvironment): ditto
12622 (pasteEnvironment): ditto
12627 (updateInset): remove some commented code
12629 * lastfiles.h: inherit privately from noncopyable
12632 * lyx_main.h: ditto
12634 * lyxlex_pimpl.h: ditto
12636 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12637 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12638 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12640 * LyXAction.h: inherit privately from noncopyable, add methods
12641 func_begin, func_end, returning iterators to the func map.
12643 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12644 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12645 (func_begin): new method
12646 (func_end): new method
12648 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12650 (copySelection): ditto
12651 (pasteSelection): ditto
12653 * BufferView.C: whitespace change
12654 * BufferView.h: inherit privately from noncopyable
12656 2001-04-16 Allan Rae <rae@lyx.org>
12658 * tabular-old.C (l_getline):
12659 * spellchecker.C (sc_check_word):
12660 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12661 an unrecognised preprocessor directive. So ensure they're wrapped.
12663 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12665 * src/exporter.C (Export): Give an error message when path to file
12668 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12670 * LaTeX.C (deplog): Always check that foundfile exists.
12672 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12675 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12677 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12679 * tabular.[Ch] (getLabelList): implement new method
12681 * minibuffer.h: comment ouf setTiimer
12683 * minibuffer.C (ExecutingCB): constify res
12684 (peek_event): constify s
12685 (Set): constify ntext
12686 (Init): constify nicename
12688 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12690 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12691 (savePosition): use two params to Minibuffer::Set
12692 (restorePosition): ditto
12694 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12696 * lyx_main.C: include language.h
12698 * Makefile.am (lyx_main.o): add language.h
12700 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12706 * CutAndPaste.C: include gettext.h
12708 * lyxfont.h: remove old hack with ON and OFF.
12711 * lyxfont.h: do not include language.h...
12716 * bufferview_funcs.C:
12722 * paragraph.C: ... but do it here instead
12724 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12726 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12728 * tabular.C: small reformat
12730 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12733 (BreakParagraph): ditto
12734 (SetOnlyLayout): ditto
12737 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12740 * lastfiles.C: removed most using decl, add std:: where needed
12742 * buffer.C: ws changes
12744 * MenuBackend.C (class compare_format): put into anon namespace
12745 (expand): constify label, names, action, action2
12748 * text.C (SingleWidth): constify font
12749 (IsBoundary): constify rtl2
12750 (GetVisibleRow): constify ww
12752 * LaTeX.C (deplog): constify logfile
12754 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12756 (workAreaExpose): constify widthChange, heightChange
12758 * lyxrow.C (par): moved
12761 * lyxrow.h: as inlines here
12763 * lyxfont.h (shape): moved from lyxfont.C
12764 (emph): moved from lyxfont.C
12766 * lyxfont.C (LyXFont): use initialization list for all
12768 (shape): move to lyxfont.h as inline
12769 (emph): move to lyxfont.h as inline
12772 2001-04-04 Juergen Vigna <jug@sad.it>
12774 * vspace.C: had to include stdio.h for use of sscanf
12776 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12779 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12780 independent of xforms.
12782 2001-04-02 Juergen Vigna <jug@sad.it>
12784 * spellchecker.C: fixed namespace placing!
12786 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12788 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12789 the LyXParagraph * is 0.
12791 2001-03-29 Juergen Vigna <jug@sad.it>
12793 * vspace.C: added support for %, c%, p%, l%.
12794 (stringFromUnit): added helper function.
12795 (asLatexString): changed to give right results for the %-values.
12797 * buffer.C: convert the widthp in a width%.
12799 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12801 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12804 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12805 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12807 * lyx_cb.[Ch]: see above.
12809 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12813 * lyx.[Ch]: replaced by figure_form.[Ch].
12817 * lyxfunc.C: changed headers associated with above changes.
12819 2001-03-27 Juergen Vigna <jug@sad.it>
12821 * BufferView_pimpl.C: set the temporary cursor right!
12823 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12825 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12827 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12829 * LString.h: removed "using std::getline"!
12831 * BufferView_pimpl.C (Dispatch): changes due to changes in
12832 InsetInclude::Params.
12834 * buffer.C (tag_name): removed redundant break statements as they were
12835 producing lots of warnings with my compiler.
12837 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12839 * LString.h: add "using std::getline" when using the real <string>.
12841 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12843 * buffer.C: removed bitset usage.
12844 PAR_TAG moved to an anonymous name space.
12845 (tag_name): new funtion, also in the anonymous namespace.
12846 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12847 (makeDocBookFile): clean code. Completed transition from string arrays
12849 (SimpleDocBookOnePar): code clean.
12851 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12853 * tabular.C: add some comments.
12855 2001-03-22 Juergen Vigna <jug@sad.it>
12857 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12858 compatibility read a bit and fixed bug with minipage in different
12861 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12863 * buffer.C (pop_tag): removed.
12864 (push_tag): removed.
12865 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12866 array replaced with vector. Added support for CDATA sections.
12867 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12869 (makeDocBookFile): XML conformant declaration of CDATA section,
12870 fixed bug related to <emphasis> in the first paragraph char.
12871 (sgmlOpenTag): exclude empty tags.
12872 (sgmlCloseTag): ditto.
12874 * buffer.h (pop_tag): removed.
12875 (push_tag): removed.
12877 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12879 * language.h (Languages): added size_type and size().
12881 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12883 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12884 response on compability reading of minipages. One probliem is that
12885 the old usage of minipages was «flertydig»
12887 * several files here and in subdirs: don't use static at file
12888 scope use anon namespaces instead.
12890 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12892 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12893 LaTeX output. This is necessary for Literate document
12896 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12898 * buffer.C: insert hfill when needed.
12900 * tabular.C (l_getline): use string::erase, small whitespace change.
12902 * BufferView_pimpl.C: try the anon namespace.
12903 * WorkArea.C: ditto
12905 2001-03-16 Juergen Vigna <jug@sad.it>
12907 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12908 otherwise it won't open options-dialogs.
12910 * buffer.C: honor pextraWidth(p) on converting minipages.
12912 * tabular.C (l_getline): changed the functions to strip trailing \r.
12914 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12916 * BufferView_pimpl.C:
12917 * minibuffer..C: added "using SigC::slot" declaration.
12919 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12921 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12927 * paragraph.C: ditto
12929 * lyxtext.h: NO_PEXTRA
12931 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12933 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12934 * ParameterStruct.h: ditto
12935 * ParagraphParameters.h: ditto
12936 * lyxparagraph.h: ditto
12938 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12940 * buffer.C: add compability for minipage alignment.
12941 (latexParagraphs): remove unwanted pextra check.
12943 * several files: remove CXX_WORKING_NAMESPACES
12945 * buffer.C (pop_tag): tie is in namespace boost
12947 * BufferView.h: noncopyable is in namespace boost
12949 * lyx_main.h: ditto
12952 * lastfiles.h: ditto
12953 * bufferlist.h: ditto
12954 * ShareContainer.h: ditto
12956 * LyXAction.h: ditto
12959 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12961 * Merging changes from BRANCH_MVC back into HEAD.
12963 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12965 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12967 * BufferView_pimpl.C: change from intl.C
12971 * Makefile.am: move combox.*
12977 * intl.C: remove dialog (covered by prefs)
12979 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12981 * lyxfunc.C (Dispatch): removed redundant break statement.
12983 2001-03-14 Juergen Vigna <jug@sad.it>
12985 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12987 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12989 * buffer.C: add hack to fix compability reading of minipages.
12991 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12993 * buffer.C (getLists): Cleanup.
12995 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12997 * lyxfont.C (update): don't honor toggleall on font size.
12999 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13003 * Makefile.am: moved to frontends/xforms/
13007 * BufferView_pimpl.C: changes for moved mathpanel
13009 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13011 * gettext.h: fix gettext_init() in --disable-nls
13013 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13015 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13017 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13020 * lyx.h: strip external form
13022 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13024 * BufferView_pimpl.C: add comment, destroySplash()
13026 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13028 * BufferView_pimpl.C:
13032 * lyxfunc.C: use re-worked insetinclude
13034 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13036 * buffer.C: add using std::stringstream.
13038 * lyx_cb.C: readd using std::ios.
13040 * buffer.C: add using std::map.
13042 * BufferView_pimpl.C: add using std::vector.
13044 * ShareContainer.h: add std:: to swap.
13046 * buffer.h: add some typedefs
13047 * buffer.C (getLists): use them
13048 (getLists): renamed from getTocList.
13049 add a counter for the different float types and use it in the
13051 (getLists): use the same counter for the NEW_INSETS and the "non"
13054 * lyx_cb.h: remove unused items, includes, using etc.
13056 * ShareContainer.h: remove some commented code, add more comments
13057 and "documentation".
13059 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13061 * buffer.C (getTocList): make the list also when NEW_INSETS is
13064 * buffer.h: remove TocType
13066 * buffer.C (getTocList): change to return a map<string,
13067 vector<TocItem> >, implement for dynamic number of list.
13069 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13070 * text2.C (PasteSelection): adjust
13071 * CutAndPaste.C (pasteSelection): adjust
13073 * FloatList.C (FloatList): update from the new_insets branch.
13074 * Floating.[Ch]: ditto
13075 * LaTeXFeatures.C: ditto
13077 * lyxlex_pimpl.C: ditto
13079 * paragraph.C (Last): remove when NEW_INSETS is defined.
13081 * other file: changes because of the above.
13083 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13085 * lyxparagraph.h: rename next to next_, previous to previous_,
13086 make them private for NEW_INSETS. Rename Next() to next(),
13087 Previous() to previous().
13089 * other files: changes because of the above.
13091 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13094 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13097 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13099 * main.C (main): pass lyx_localedir to gettext_init().
13101 * gettext.h: remove locale_init and gettext_init macros
13103 * gettext.C (locale_init): new function
13104 (gettext_init): new function
13106 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13109 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13111 * Moved credits to frontends:
13112 * credits.[Ch]: removed
13113 * credits_form.[Ch]: removed
13114 * lyx_gui_misc.C: remove credits stuff
13117 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13119 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13121 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13122 unneeded destructor.
13124 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13125 a standalone pointer again.
13127 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13129 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13135 * ToolbarDefaults.C:
13144 * BufferView_pimpl.C: use new file dialog in GUII
13147 * lyx_cb.C: remove LayoutsCB to Toolbar
13149 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13151 * ShareContainer.h (get): add std:: qualifier
13153 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13155 * ShareContainer.h: define a proper ShareContainer::value_type
13156 type (and use typename to please compaq cxx)
13158 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13160 * lyxparagraph.h: move serveral local vars to
13161 ParameterStruct/ParagraphParameters., use ShareContainer in
13162 FontTable., make vars in FontTable private and add getter and
13165 * paragraph.C: changes because of the above.
13167 * lyxfont.h: remove copy constructor and copy assignment. (the
13168 default ones is ok), move number inside FontBits. move inlines to
13171 * lyxfont.C: add number to initializaton of statics, move several
13172 inlines here. constify several local vars. some whitespace
13173 cleanup. Dont hide outerscope variables.
13175 * Spacing.h: add two new constructors to match the set methods.
13177 * ShareContainer.h: new file, will perhaps be moved to support
13179 * ParameterStruct.h: new file
13181 * ParagraphParameters.h: new file
13183 * ParagraphParameters.C: new file
13185 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13186 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13188 * BufferView_pimpl.C: ParagraphParameter changes.
13189 * buffer.C: Likewise.
13190 * bufferview_funcs.C: Likewise.
13191 * text.C: Likewise.
13192 * text2.C: Likewise.
13194 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13196 * lyxfind.C (LyXReplace): do not redefine default argument in
13198 (IsStringInText): ditto
13199 (SearchForward): ditto
13200 (SearchBackward): ditto
13202 2001-03-06 Juergen Vigna <jug@sad.it>
13204 * lyxfind.C (IsStringInText): put parentes around expressions.
13206 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13208 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13210 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13212 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13214 * stl_string_fwd.h: add comment
13216 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13219 * tabular.C: remove unused DocBook methods
13225 killed DO_USE_DEFAULT_LANGUAGE
13227 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13229 * lyx_gui.C: do not include language.h.
13231 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13232 arguments in function implementation.
13234 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13236 * BufferView_pimpl.C: add <ctime>
13238 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13240 * BufferView_pimpl.C: add using std::find_if
13242 2001-02-27 José Matos <jamatos@fep.up.pt>
13244 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13247 2001-02-11 José Matos <jamatos@fep.up.pt>
13249 * buffer.C (makeDocBookFile): command styles now have a parameter as
13250 "title" by default.
13252 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13254 * layout_forms.[Ch]: removed
13255 * lyx_cb.[Ch]: out character
13256 * lyx_gui.C: out character
13257 * lyx_gui_misc.C: out character
13258 * bufferview_funcs.C: : out character,
13259 added toggleall as parameter in ToggleAndShow
13261 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13263 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13265 * text2.C (SetCurrentFont): Disable number property at boundary.
13267 2001-02-26 Juergen Vigna <jug@sad.it>
13269 * lyxfunc.C (getStatus): added a string argument override function so
13270 that this is correctly called from LyXFunc::Dispatch if it contains a
13271 do_not_use_argument which is used!
13272 (Dispatch): added check for "custom" export and call appropriate func.
13274 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13276 * lyxrc.C: Add language_command_local, language_use_babel and
13277 language_global_options.
13279 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13281 * buffer.C (makeLaTeXFile): Use language_use_babel and
13282 language_global_options.
13284 2001-02-23 Juergen Vigna <jug@sad.it>
13286 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13287 which works with LyXText and putted it inside BufferView. Here now we
13288 only call for that part the BufferView::Dispatch() function.
13290 * BufferView.C (Dispatch): added.
13292 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13293 functions which needs to use a LyXText over from LyXFunc.
13294 (MenuInsertLyXFile): added
13295 (getInsetByCode): added
13296 (moveCursorUpdate): added
13297 (static TEXT): added
13299 2001-02-22 Juergen Vigna <jug@sad.it>
13301 * BufferView_pimpl.C (update): call a status update to see if LyXText
13304 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13306 * vc-backend.C (revert): implement for CVS
13307 (getLog): implement for CVS
13309 2001-02-20 Juergen Vigna <jug@sad.it>
13311 * text2.C (ClearSelection): added BufferView param for inset_owner call
13313 * lyxfunc.C (TEXT): added this function and use it instead of
13314 directly owner->view()-text of getLyXText().
13316 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13318 * src/layout_forms.C: out preamble
13319 * src/layout_forms.h: out preamble
13320 * src/lyx_cb.C: out preamble
13321 * src/lyx_cb.h: out preamble
13322 * src/lyx_gui.C: out preamble
13323 * src/lyx_gui_misc.C: out preamble
13324 * src/lyxfunc.C: connect with guii preamble
13326 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13328 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13330 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13332 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13333 whether to run bibtex.
13335 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13337 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13339 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13341 * Makefile.am (lyx_SOURCES): removed bibforms.h
13343 * vspace.h: doxygen
13345 * text.C (GetVisibleRow): make several local vars const
13347 * tabular.C: small cleanup.
13349 * lyxserver.C (callback): use compare instead of strncmp
13351 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13352 inlines to after class or to paragraph.C
13354 * lyxfont.h: remove friend operator!=
13356 * converter.h: move friend bool operator< to non friend and after
13359 * combox.h: small cleanup
13361 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13362 to inlines after class def.
13364 * buffer.C (pop_tag): use string operations instead of strcmp
13366 * bmtable.c: doxygen, small cleanup
13368 * LaTeX.h: remove friend operator==
13370 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13382 * BufferView_pimpl.C:
13383 * BufferView.[Ch]: remove cruft
13385 2001-02-14 Juergen Vigna <jug@sad.it>
13387 * lyxfunc.C: removed #if 0 unused code
13389 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13391 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13393 * text2.C (SetSelection): added a BufferView * parameter
13395 2001-02-13 Juergen Vigna <jug@sad.it>
13397 * lyxfunc.C (Dispatch): fixed protected blank problem.
13398 * BufferView2.C (protectedBlank): added LyxText * parameter.
13400 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13401 (AppendColumn): same as above for column_info.
13403 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13404 (moveCursorUpdate): use a LyXText param for support of InsetText.
13406 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13407 (tripleClick): ditto
13409 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13411 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13413 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13415 * text2.C (SetSelection): set correct update status if inset_owner
13416 (ToggleFree): ditto
13418 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13420 * tabular.C: remove some commented code.
13422 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13424 * BufferView_pimpl.C: call hideSplash()
13426 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13429 * bibforms.h: remove
13432 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13433 add LFUN_CHILD_CREATE
13435 * counters.h: fix tiny typo
13440 * lyx.C: move splash to frontends/xforms/
13442 * lyx_gui_misc.C: move Include and Bibform to frontends
13444 * lyxvc.h: clarify comment
13446 * vspace.C: tiny housekeeping
13448 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13450 * text.C (PrepareToPrint): RTL Fix.
13452 * paragraph.C (GetUChar): New method.
13453 (String): Use GetUChar.
13455 * buffer.C (asciiParagraph): Use GetUChar.
13457 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13459 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13461 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13464 * buffer.C: rename to getLogName(), handle
13465 build log / latex log nicely
13467 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13470 * MenuBackend.h: remove support for reference menuitem type.
13472 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13474 * BufferView_pimpl.C: housekeeping
13475 * BufferView_pimpl.h:
13480 * minibuffer.h: move Timeout GUI-I
13482 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13484 * lyxrc.C (read): Update converters data-structures.
13486 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13488 * LaTeX.h (operator!=): add operator != for Aux_Info
13490 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13492 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13494 * LaTeXLog.C: deleted, useful code moved to Buffer
13497 * buffer.C: new function getLatexLogName()
13503 * lyxfunc.C: use frontends for LaTeX and VC logs
13505 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13507 * LaTeX.h: yet another std:: that Allan forgot.
13509 * Variables.C (set): renamed from isset(), because this clashes
13510 with some HP-UX macros (grr).
13512 2001-02-06 Allan Rae <rae@lyx.org>
13514 * LaTeX.h: Another bug fix. Missing std:: this time.
13516 2001-02-04 Allan Rae <rae@lyx.org>
13518 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13519 floats problem. I've left it commented out because it's not quite
13520 correct. It should also test that the current object is a table or
13521 figure inset. But I haven't gotten around to figuring out how to do
13522 that. I *think* it'll be something like: "table" == inset.type()
13524 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13527 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13529 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13530 all the citation/databases/styles in the auxilary file.
13531 (run): Rerun latex if there was a babel language error.
13533 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13535 * text.C (Backspace): Preserve the font when changing newline char
13537 (BreakParagraph): If the cursor is before a space, delete the space.
13539 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13541 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13543 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13544 new argument (code).
13545 (ChangeCitationsIfUnique): New method.
13547 * paragraph.C (GetPositionOfInset): Handle bibkey.
13549 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13551 * BufferView_pimpl.h: change type of Position::par_pos to
13552 LyXParagraph::size_type.
13554 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13556 * BufferView_pimpl.C (savePosition, restorePosition): Write
13557 messages to minibuffer.
13559 2001-01-28 José Matos <jamatos@fep.up.pt>
13561 * buffer.C (makeDocBookFile): adds support for document language.
13562 A silly restriction on the name of LatexCommand types where removed.
13563 Added support for CDATA sections, allows to chars unescaped, used
13564 among others in code, to avoid escape < and >.
13566 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13568 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13569 saved positions instrad of a stack. Furthermore, a position is
13570 stored using paragraph id/paragraph position.
13572 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13573 Remove LFUN_REF_BACK.
13575 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13577 * converter.C (dvipdfm_options): New method.
13579 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13581 * vspace.C (isValidLength): Fix for empty input string.
13583 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13585 * LyXAction.C (init): change description of LFUN_FIGURE to
13588 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13590 * LaTeX.C: add using directive
13592 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13594 * MenuBackend.C (expand): Fix the sorting of the formats.
13596 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13598 * lyx_main.C: tiny error message fix
13600 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13602 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13603 calling fl_initialize(). This fixes the problem with ',' as
13604 decimal separator in text files.
13606 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13608 * trans.C (process): Fix the keymap bug.
13610 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13612 * LaTeX.C (scanAuxFiles): New method. Provides support for
13613 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13614 (scanLogFile) Scan for "run BibTeX" messages.
13616 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13617 OT1 font encoding. Also, load the aecompl package if the ae
13620 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13622 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13624 * texrow.C (increasePos): turn two error messages into debug
13627 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13629 * LaTeX.C (scanAux): Handle the \@input macro.
13630 (runBibTeX): Use scanAux().
13632 * language.C (latex_options_): New field.
13634 * LaTeXFeatures.C (getMacros): Add language macros.
13636 * buffer.C (makeLaTeXFile): Small fix.
13638 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13640 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13642 * text2.C: add a using directive.
13644 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13649 * lyxfunc.C: kill LyXBell.
13651 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13653 * text.C (IsBoundary): Remove the error message
13655 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13657 * lyxrc.C (setDefaults): Correct initialization value for
13660 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13662 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13665 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13666 and GotoNextNote().
13668 * src/LyXAction.C: Added reference-next.
13670 * text.C (InsertChar): Use contains instead of strchr.
13672 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13674 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13676 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13677 alignment commands (when needed).
13679 * text.C (InsertChar): Add ':' to number separator chars.