1 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3 * cursor.[Ch] (updatePos): new function for updating the y
4 position of the tip inset
5 * bufferview_funcs.C (put_selection_at):
6 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
8 2003-11-11 André Pönitz <poenitz@gmx.net>
10 * text.C: remove big comment on invalid Paragraph pointers as it is
13 2003-11-11 André Pönitz <poenitz@gmx.net>
15 * text_funcs.[Ch]: merge with ...
23 * Makefile.am: remove text_funcs.[Ch]
25 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
27 * cursor.C (getPos): return absolute cached y coord
29 * BufferView_pimpl.C (fitCursor): new simplistic code
30 (workAreaDispatch): add a fitCursor call
32 2003-11-10 André Pönitz <poenitz@gmx.net>
35 * BufferView_pimpl.[Ch]: merge update() and updateInset()
37 2003-11-10 André Pönitz <poenitz@gmx.net>
39 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
40 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
41 indicate that the cursor needs to leave an inset
43 * lyxtext.h: remove inset locking
45 * cursor.[Ch]: re-implement functionality provided by inset locking
48 * BufferView_pimpl.[Ch]:
50 * bufferview_funcs.[Ch]:
62 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
64 * PosIterator.[Ch]: replace the stack with a vector, add inset
66 * iterators.[C]: adjust
68 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
70 * lyxfind.C (replaceAll): mark the buffer dirty if something was
72 * paragraph_funcs.C (readParToken): put the correct id in the
73 error item, not the id of the top paragraph
75 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
77 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
78 * bufferview_funcs.C (put_selection_at): use the above
80 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
82 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
84 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
89 * output_docbook.h: add #include statements
91 2003-11-05 José Matos <jamatos@lyx.org>
93 * output_docbook.[Ch]:
95 * output_linuxdoc.[Ch]:
96 * output_plaintext.[Ch]: New files for output formats.
97 * output.[Ch]: New file for helper functions.
100 * paragraph_funcs.[Ch]: output functions moved to new files.
102 * outputparams.h: rename of latexrunparams.h
110 * paragraph_funcs.[Ch]:
111 * paragraph_pimpl.[Ch]:
112 * tabular.[Ch]: rename ascii to plaintext
113 and LatexRunParams to OutputParams.
115 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
117 * iterators.[Ch] (text): require bv argument
118 * undo.C (recordUndo):
119 * lyxfunc.C (dispatch):
120 * bufferview_funcs.C (put_selection_at): adjust
122 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
124 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
126 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
128 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
131 2003-11-04 André Pönitz <poenitz@gmx.net>
133 * cursor.[Ch]: restructure
136 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
138 * iterators.[Ch] (asCursor): remove
140 * lfuns.h: remove LFUN_INSET_EDIT
146 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
148 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
150 * lyxfind.[Ch]: complete overhaul
151 * BufferView_pimpl.C:
153 * paragraph.[Ch] (insert): add
155 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
159 * text.C: remove dead spellcheck code
161 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
163 * dispatchresult.h: add a val setter
165 * cursor.C (dispatch): use a tempvar for data_[i]
167 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
169 * PosIterator.[Ch]: compile fix
171 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
173 * text.C (cursorPar): deactivate the cursor cache
175 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
177 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
179 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
181 * text3.C (dispatch): adjust for new DisptchResult semantics.
183 * lyxfunc.C (dispatch): handle update when return from
184 Cursor::dispatch, adjust for new DispatchResult semantics.
186 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
187 DispatchResult(true) mean to not update. Add class functions for
188 setting dispatched and update, as well as reading.
190 * cursor.C (dispatch): don't handle update here
192 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
194 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
195 * trans_mgr.C: adjust
197 * paragraph_funcs.C (readParToken): exception safety
199 * lyxvc.h: store the vcs pointer in a scoped_ptr
202 * lyxsocket.C (serverCallback): exception safety
204 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
206 * ispell.C (clone): make it return a auto_ptr
208 * factory.C (createInset): exception safety
209 (readInset): exception safety
211 * bufferlist.C (newBuffer): exception safety
213 * Thesaurus.C (Thesaurus): use initialization for aik_
215 * MenuBackend.C (expandToc): exception safety.
217 2003-11-03 André Pönitz <poenitz@gmx.net>
221 * bufferview_funcs.C: remove getInsetFromId()
224 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
230 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
232 * PosIterator.C (distance, advance): new
233 * bufferview_funcs.[Ch] (put_selection_at): new
234 * iterators.[Ch] (lockPath): new
236 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
238 * iterators.[Ch] (asPosIterator): added
239 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
240 * PosIterator.[Ch]: added
242 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
246 * cursor.C (dispatch):
247 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
249 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
250 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
251 contructor, add a class function dispatched. Remove operator>=
253 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
255 * debug.C: only use the default constructor for debugstream
258 * main.C (main): include debug.h and setup the lyxerr streambuf
261 2003-10-31 José Matos <jamatos@lyx.org>
263 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
265 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
266 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
267 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
268 * paragraph_pimpl.C (simpleTeXSpecialC):
269 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
270 add LatexRunParams argument.
272 * exporter.C (Export): change call accordingly.
274 * latexrunparams.h: add new member to take care of the other backends.
275 2003-10-30 José Matos <jamatos@lyx.org>
277 * buffer.C (makeLinuxDocFile, makeDocBookFile):
278 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
279 factorise code for paragraph output.
281 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
284 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
286 * text3.C (dispatch):
287 * lyxfunc.C (dispatch):
288 * cursor.C (dispatch):
289 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
291 * dispatchresult.h: make the dispatch_result_t ctor explicit
293 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
296 * buffer.C: small refactoring of docbook stuff
298 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
300 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
303 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
305 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
306 operator dispatch_result_t, and operators for == != and >=
308 * cursor.C (dispatch): adjust for operator dispatch_result_t
309 removal. comment out call to update
311 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
313 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
321 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
324 * dispatchresult.h: new file, DispatchResult broken out of
327 * Makefile.am (lyx_SOURCES): add dispatchresult.h
329 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
331 * text.C (rowBreakPoint): put a hack inside #if 0
333 2003-10-28 André Pönitz <poenitz@gmx.net>
340 * text2.C: general cleanup (lots of small stuff)
342 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
344 * text2.C (cursorEnd): simple fix to the "end key goes to one
345 before the end on last row" bug
347 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
349 * text.C (backspace): fix the "zombie characters"
351 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
353 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
355 2003-10-27 André Pönitz <poenitz@gmx.net>
357 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
359 * factory.C: handle new InsetPagebreak, InsetLine
361 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
362 and move handling into new InsetPagebreak, InsetLine
364 * BufferView_pimpl.C:
366 * ParagraphParameters.C:
379 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
388 * text3.C: remove lastPos uses in favour of Row::endpos
390 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
392 * undo.C (performUndoOrRedo): fix two crashes by setting a
393 cursor by hand and reordering some calls. Use bv->lockInset instead
394 of inset->edit because the latter loses cursor information
396 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
398 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
400 (rowBreakPoint): fix width. change point to point + 1.
403 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
406 * lyxfunc.C: fix (at least partly) the problems
407 with the Nav menu and headers inside branch insets
410 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
412 * paragraph.C (getChar): add strong asserts
414 * lyxrow_funcs.C (lastPos): remove hideous hack
416 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
417 (fill): adjust to that (avoid an infinite loop)
419 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
421 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
423 2003-10-23 André Pönitz <poenitz@gmx.net>
425 * RowList_fwd.h: change list<> to vector<> to gain speed
426 after suggestion from Alfredo
428 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
430 * lyxtext.h: move the bidi stuff from here...
433 * Bidi.[Ch]: ... to here
435 2003-10-23 André Pönitz <poenitz@gmx.net>
438 * text.C (isLastRow, isFirstRow): new functions
440 * paragraph.h: new width cache member
442 * rowpainter.C: replace RowList::iterator with Row & where possible
444 * lyxfunc.C: replace several view()->text with a single call
446 * toc.C: fix 'unused' warning
448 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
450 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
451 when woring with stream::pos_type
452 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
454 2003-10-22 André Pönitz <poenitz@gmx.net>
457 * text.C: use Row & instead of RowList::iterator
459 * lyxrow.h: rename end() to endpos()
465 2003-10-22 Angus Leeming <leeming@lyx.org>
467 * buffer.[Ch] (fully_loaded): new member function, returning true
468 only when the file has been loaded fully.
469 Used to prevent the premature generation of previews and by the
470 citation inset to prevent computation of the natbib-style label.
472 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
473 templates are all set up.
475 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
477 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
479 * text.C: fixed an "oops" in the "is a bit silly"
482 2003-10-21 André Pönitz <poenitz@gmx.net>
484 * FuncStatus.[Ch]: small stuff, whitespace
486 * lyxfont.[Ch]: operator<<() for debug reasons
490 * lyxtext.h: whitespace, spelling
492 * paragraph.C: naming of variables
495 * text2.C: small stuff
498 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
500 * text.C: (1) finish off the inset display() work;
501 (2) fix the "is a bit silly" bug (accessing char
504 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
506 * text.C: re-introduce display() for insets, fixing the
507 various bugs (stretch of line above, math inset
510 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
512 * text.C (rightMargin): remove spurious semicolon
514 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
517 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
519 * text3.C: fix one crash due to wrong cursor def
521 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
523 * vc-backend.C (scanMaster): make the regex static
525 * LaTeX.C (scanAuxFile): make the regexs static
527 * text3.C (doInsertInset, dispatch, dispatch):
528 * text2.C (cursorUp, cursorDown):
529 * text.C (selectNextWordToSpellcheck):
530 * BufferView_pimpl.C (dispatch):
531 * lyxfunc.C (dispatch): localDispatch -> dispatch
533 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
535 * lyxsocket.C: include <cerrno>
537 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
539 * lyxfunc.C (dispatch): remove textcache stuff
541 * bufferlist.C (release): remove textcache stuff
544 * TextCache.C: delete file
545 * TextCache.h: delete file
547 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
549 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
550 delete of the bv_->text.
551 (resizeCurrentBuffer): remove texcache stuff
552 (workAreaResize): ditto
554 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
556 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
559 2003-10-16 André Pönitz <poenitz@gmx.net>
566 * text3.C: speed up by storing y positions per paragraph plus per-row
567 offset instead of having a 'full' y position in the row.
569 2003-10-15 André Pönitz <poenitz@gmx.net>
573 * undo.[Ch]: make undo aware of inner insets
575 2003-10-14 Angus Leeming <leeming@lyx.org>
577 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
578 static member functions LyX::ref() and LyX::cref.
579 (lastfiles): new accessor functions for the new lastfiles_ member var.
580 (addLyXView, views_): add a new LyXView to the list of views_.
581 (updateInset): loop over all LyXViews to call their own updateInset
582 member function, returning a pointer to the Buffer owning the inset.
584 * BufferView_pimpl.C (loadLyXFile):
585 * MenuBackend.C (expandLastfiles):
586 * bufferlist.C (MenuWrite, QuitLyX):
587 lastfiles is no longer a global variable.
588 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
590 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
591 static function. Access through LyX::cref().emergencyCleanup().
593 2003-10-14 André Pönitz <poenitz@gmx.net>
595 * iterators.[Ch]: new direct access to innermost LyXText and Inset
597 * undo.[Ch]: restoring part of 'undo in insets'
600 * undo_funcs.[Ch]: merge with undo.[Ch]
602 * tabular.C: small cleansing stuff
604 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
606 * paragraph_funcs.C (readParToken): report unknown insets as error
607 boxes. Use the outer paragraph as location (also for unknown
610 * factory.C (readInset): do not abort on reading an unknown inset.
613 2003-10-13 Angus Leeming <leeming@lyx.org>
615 * lyx_main.C (LyX): remove call to setDisplayTranslator().
617 * lyxrc.C: displayTranslator is now a function,
618 declared in GraphicsTypes.h.
620 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
622 * format.C: new placeholder $$a to pass the socket address.
624 * bufferlist.[Ch]: new function getBufferFromTmp.
626 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
627 files in the temporary dir.
629 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
631 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
633 * Makefile.am: add lyxsocket.[Ch].
635 * lyx_main.C (error_handler): handle SIGPIPE.
637 2003-10-13 André Pönitz <poenitz@gmx.net>
639 * BufferView_pimpl.C:
644 * undo_funcs.[Ch]: use paroffset_type instead of
645 ParagraphList::iterators to prevent multiple conversion
646 (and get a more robust interface)
648 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
650 * lyxfunc.C (dispatch): RESULT -> dispatch_result
652 * text3.C (dispatch): ditto
654 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
656 * LaTeX.C (handleFoundFile): move the static to smaller scope,
657 move the onlyfile, use onlyfile instead of foundfile in a couple
660 * DepTable.C (update): flush the error stream a bit more
662 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
664 * lyxserver.C (callback): adjust
666 * lyxfunc.C (getStatus): add a missing brace in commented code
667 (ensureBufferClean): reindent
668 (dispatch): delete version taking a string
670 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
672 * LaTeX.C (deplog): move found file handlig from here...
673 (handleFoundFile): .. to new function here.
674 (deplog): make sure to discover several files mentioned on the
677 2003-10-10 André Pönitz <poenitz@gmx.net>
684 * text3.C: fix some of the tabular crashes
686 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
688 * MenuBackend.C (binding): put debug message into Debug::KBMAP
690 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
692 2003-10-09 André Pönitz <poenitz@gmx.net>
694 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
697 * BufferView_pimpl.C:
698 * bufferview_funcs.C:
709 * undo_funcs.C: adjust
711 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
713 * text2.C (incrementItemDepth): new function, use a backtracking
714 algorithm to discover the correct item depth.
715 (resetEnumCounterIfNeeded): new function, use a backtracking
716 algorithm to discover if counter reset is needed.
717 (setCounter): use them. Simplify a bit. Add different labels for
718 different item depths for itemize.
720 * paragraph.C (Paragraph): remove initialization of enumdepth
723 * paragraph.h: get rid of enumdepth, and use itemdepth both for
724 enumerate and itemize. Change the type of itemdepth to signed char.
726 2003-10-08 André Pönitz <poenitz@gmx.net>
728 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
733 * tabular.[Ch]: fix crash after 'row-insert'
735 2003-10-08 Angus Leeming <leeming@lyx.org>
737 Fix doxygen warnings.
739 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
740 Remove CutAndPaste:: prefix from header file declaration.
742 * LColor.h (fill): remove LColor:: prefix from declaration.
744 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
745 use lyx::depth_type rather than Paragraph::depth_type so that
746 header file and .C file match.
748 * converter.h (intToFormat): remove Converters:: prefix from declaration.
750 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
751 * aspell.C: \file aspell_local.C -> \file aspell.C
752 * gettext.C: \file gettext.C -> \file src/gettext.C
753 * gettext.h: \file gettext.h -> \file src/gettext.h
754 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
755 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
756 * text.C: \file text.C -> \file src/text.C
758 * toc.C: move comment so that doxygen is not confused.
760 2003-10-07 Angus Leeming <leeming@lyx.org>
762 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
764 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
767 * aspell_local.h: add forgotten std::string's.
769 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
776 * text3.C: The Box patch. Fancybox support, minipage, parbox
778 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
784 * ParagraphParameters.h:
794 * lyxtextclasslist.h:
798 * textcursor.h: add <string> and other small fixes to make Lars'
799 std::string patch compile with STLport.
801 2003-10-06 Angus Leeming <leeming@lyx.org>
803 * LColor.h: Add missing #include <string>.
805 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
807 * All most all file in all subdirs: Make <string> be the prefered
808 way of getting to std::string, add using declarations.
810 2003-10-06 André Pönitz <poenitz@gmx.net>
812 * metricsinfo.C: initialize LyXFont before changing attribute.
813 (fixes the 'math in \emph is upright' bug)
815 2003-10-06 André Pönitz <poenitz@gmx.net>
817 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
819 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
822 * paragraph_pimpl.C: Small fixes to build using STLport
824 2003-10-02 André Pönitz <poenitz@gmx.net>
827 * text3.C: move handling of LFUN_DEPTH *; fix #1360
829 2003-10-01 André Pönitz <poenitz@gmx.net>
831 * factory.C: assert early
833 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
835 * lyx_main.C: remove the global debug object
837 * debug.h: adjust for new debugstream
839 * debug.C: adjust for new debugstream and keep the global debug
842 2003-09-22 Angus Leeming <leeming@lyx.org>
844 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
845 of g++ which otherwise complain that the scoped_ptr destructor can't delete
846 an incomplete class LyXFont.
848 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
850 * factory.C: bug fix in branches
852 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
854 * lyxfunc.C (processKeySym): adjust
856 (dispatch): change arg name from ev to func, adjust
857 (sendDispatchMessage): ditto
859 * lyx_main.C (defaultKeyBindings): adjust keybindings
860 (deadKeyBindings): ditto
862 * kbsequence.C (addkey): return a FuncRequest
864 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
866 * kbmap.C (bind): take a FuncRequest as arg, adjust
869 (defkey): change to take a FuncRequest as arg, adjust
870 (findbinding): take a FuncRequest as arg, adjust.
872 * funcrequest.h (operator=): added
874 * funcrequest.C (FuncRequest): default kb_action changed from
875 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
877 * buffer.C (dispatch): simplify
878 (dispatch): adjust to take a FuncRequest as arg, adjust
880 * boost.C (assertion_failed): change assertion message slightly
882 * ToolbarBackend.C (read): simplify
884 * MenuBackend.C (binding): adjust call to findbinding, add a
885 message if no binding is found.
887 (expandToc): correct by adding a empty FuncRequest
889 * LyXAction.C: include <boost/assert.hpp>
890 (isPseudoAction): delete function
891 (LookupFunc): change name to...
892 (lookupFunc): this. change return type to FuncRequest.
893 (getActionName): take kb_action as arg, simplify
894 (funcHasFlag): add an assert, simplify.
896 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
898 * toc.C (action): return a FuncRequest, simplify
900 * lyxfunc.C (processKeySym): adjust
901 (getStatus): delete version that takes an int.
903 (dispatch): delete version that takes action as int
905 (sendDispatchMessage): simplify and adjust
907 * funcrequest.C (getArg): take unsigned int as arg
909 * ToolbarBackend.C (read): adjust
910 (add): delete version that takes func as a string.
911 (getIton): take a FuncRequest as arg
913 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
916 * MenuBackend.C (MenuItem): add a new construct that only takes a
917 Kind, simplify the constructor use for submenus.
919 (expandLastfiles): adjust
920 (expandDocuments): adjust
921 (expandFormats): adjust
922 (expandFloatListInsert): adjust
923 (expandFloatInsert): adjust
924 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
926 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
927 Remove class variables lyx_pseudo_map and lyx_arg_map
929 * LyXAction.C (searchActionArg): delete function
930 (getPseudoAction): delete function
931 (retrieveActionArg): delete function
932 (LookupFunc): make it return kb_action, simplify.
933 (getActionName): simplify
935 * factory.C (createInset): fix new bug
937 2003-09-19 Angus Leeming <leeming@lyx.org>
939 * CutAndPaste.C (pasteSelection): remove fudge used to set the
940 masterFilename_ parameter in the include inset.
942 * factory.C (createInset): changes due to the changes to InsetInclude.
944 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
946 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
948 2003-09-18 Angus Leeming <leeming@lyx.org>
951 * BufferView.C: pass the buffer when calling Inset::getLabelList,
952 Inset::fillWithBibKeys.
953 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
955 2003-09-18 Angus Leeming <leeming@lyx.org>
957 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
959 (ctor): pass and store a 'Buffer const &'
960 (buffer): new member function.
962 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
963 '*this' to the LaTeXFeatures ctor.
965 2003-09-18 Angus Leeming <leeming@lyx.org>
971 * text.C: rename EnumLColor as LColor_color.
973 2003-09-18 Angus Leeming <leeming@lyx.org>
975 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
976 remove #include "insets/insetbase.h" from cursor.h.
978 2003-09-18 Angus Leeming <leeming@lyx.org>
980 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
981 InsetOld_code to remove #include "inset.h".
983 * iterators.C: add #include "insets/inset.h"
985 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
987 * BufferView.C: remove more locking stuff that apparently doesn't
988 do anything sensible.
990 2003-09-16 André Pönitz <poenitz@gmx.net>
993 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
996 2003-09-16 Angus Leeming <leeming@lyx.org>
998 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1000 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1003 * paragraph.h: remove #include "lyxfont.h". Forward declare
1006 2003-09-16 Angus Leeming <leeming@lyx.org>
1008 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1009 of support/textutils.h.
1010 (isWord): move the contents of support/textutils.h's IsWordChar here.
1016 * text2.C: add #include "paragraph.h".
1019 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1021 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1027 * LaTeX.C: use namespace alias for lyx::support::os
1029 2003-09-16 Angus Leeming <leeming@lyx.org>
1032 * bufferview_funcs.C:
1035 * paragraph_pimpl.C:
1037 * text.C: add #include "LColor.h".
1039 2003-09-16 Angus Leeming <leeming@lyx.org>
1041 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1042 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1044 Store the FontBits::color variable as an int rather than as an
1045 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1048 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1049 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1050 string calls together.
1052 * lyxrc.C: add #include "LColor.h".
1054 2003-09-15 Angus Leeming <leeming@lyx.org>
1056 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1059 2003-09-15 Angus Leeming <leeming@lyx.org>
1061 * LColor.h: add an EnumLColor wrapper for LColor::color.
1063 * lyxfont.[Ch] (color, setColor, realColor):
1064 * lyxtext.h, text.C (backgroundColor):
1065 pass EnumLColor args to/from the functions, rather than LColor::color
1069 * lyxtext.h: forward declare EnumLColor.
1071 * lyx_main.C: add #include "LColor.h".
1073 2003-09-15 Angus Leeming <leeming@lyx.org>
1075 * .cvsignore: add lyx-gtk.
1077 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1082 * ParagraphParameters.C
1086 * bufferview_funcs.C
1096 * vc-backend.C: remove usage of STRCONV
1098 2003-09-15 Angus Leeming <leeming@lyx.org>
1100 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1101 explicitly define the color passed to the painter.
1103 2003-09-15 Angus Leeming <leeming@lyx.org>
1105 * bufferparams.C (BufferParams): reorder member initializers to avoid
1108 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1110 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1111 * text.C (updateRowPositions): remove an unusual nop
1113 2003-09-12 André Pönitz <poenitz@gmx.net>
1115 * BufferView_pimpl.C:
1124 * Counters.[Ch]: finish the 'automatic counters' job
1126 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1128 * aspell.C: include <boost/assert.cpp> (compile fix)
1130 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1132 * boost.C (assertion_failed): use lyx::support::abort instead of
1135 2003-09-10 Angus Leeming <leeming@lyx.org>
1137 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1138 with their _fwd progeny.
1140 2003-09-09 Angus Leeming <leeming@lyx.org>
1142 134 files throughtout the source tree: replace 'using namespace abc;'
1143 directives with the appropriate 'using abc::xyz;' declarations.
1145 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1147 * boost.C (emergencyCleanup): moved here from LAssert.c
1148 (assertion_failed): new function, called by BOOST_ASSERT
1150 * several files: change Assert to BOOST_ASSERT
1152 2003-09-09 Angus Leeming <leeming@lyx.org>
1154 * buffer.[Ch]: Add an Impl class and move Buffer's member
1155 variables into it. As a result move several header files out of
1158 Add header files to lots of .C files all over the tree as a result.
1160 2003-09-09 Angus Leeming <leeming@lyx.org>
1162 * buffer.[Ch]: make Buffer's member variables private. Add
1165 Lots of changes all over the tree as a result.
1167 2003-09-08 Angus Leeming <leeming@lyx.org>
1169 * graph.C: #include <config.h>.
1171 2003-09-08 Angus Leeming <leeming@lyx.org>
1175 * BufferView_pimpl.C:
1204 * toc.C: remove redundant using directives.
1206 2003-09-07 Angus Leeming <leeming@lyx.org>
1208 * LaTeXFeatures.h: remove #include "support/types.h".
1209 * ToolbarBackend.h: remove #include <algorithm>.
1210 * changes.h: remove #include <ctime>.
1211 * debug.h: remove #include <iosfwd>.
1212 * graph.h: remove #include "support/std_string.h".
1213 * lyx_main.h: remove #include <csignal>.
1214 * lyxlex_pimpl.h: remove #include <fstream>.
1215 * sgml.h: remove #include <algorithm>, <utility>.
1216 * toc.h: remove #include "support/std_ostream.h".
1217 Add #include <iosfwd>.
1219 2003-09-07 Angus Leeming <leeming@lyx.org>
1221 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1223 * converter.h: forward declare LatexRunParams.
1224 * encoding.h: remove #include "lyxrc.h".
1225 * lyxtext.h: remove #include "LColor.h".
1226 * lyxtextclass.h: remove #include "support/types.h".
1227 * trans.h: remove #include "tex-accent.h".
1228 * trans_mgr.h: remove #include "tex-accent.h".
1229 * insets/inset.h: remove #include "support/types.h", <vector>.
1230 * insets/insetcollapsable.h: remove #include "LColor.h".
1231 * insets/insetinclude.h: remove #include "dimension.h".
1232 * insets/insetlatexaccent.h: remove #include "dimension.h".
1233 * insets/insetoptarg.h:: remove #include "insettext.h".
1234 * insets/insettext.h: remove #include "dimension.h",
1235 <boost/shared_ptr.hpp>
1237 * insets/renderers.h: add #include "dimension.h".
1238 * insets/updatableinset.h: add #include "support/types.h".
1240 * many .C files: Associated changes.
1242 2003-09-06 Angus Leeming <leeming@lyx.org>
1244 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1245 one, inside testInvariant.
1247 * PrinterParams.C: new file.
1248 * PrinterParams.[Ch]: move the function bodies out of line.
1250 2003-09-06 Angus Leeming <leeming@lyx.org>
1252 * ParagraphParameters.h: forward declare ParameterStruct rather than
1253 including its header file.
1254 (depth): moved out-of-line.
1256 2003-09-06 Angus Leeming <leeming@lyx.org>
1258 * BufferView_pimpl.h:
1261 * lyxfunc.h: forward declare LyXKeySym rather than
1262 #include "frontends/LyXKeySym.h".
1264 * BufferView_pimpl.C:
1267 * lyxfunc.C: associated changes.
1269 2003-09-06 Angus Leeming <leeming@lyx.org>
1271 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1272 As a result, can remove the #include "insets/inset.h" from BufferView.h
1274 2003-09-06 Angus Leeming <leeming@lyx.org>
1276 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1277 As a result, can remove the #include "insets/inset.h" from BufferView.h
1279 2003-09-06 Angus Leeming <leeming@lyx.org>
1285 * bufferview_funcs.C:
1286 * BufferView_pimpl.C:
1291 * ParagraphParameters.C:
1296 * frontends/controllers/ControlDocument.C:
1297 * insets/insetcaption.C: rearrange the #includes into some sort of
1300 * buffer.h: remove #includes ErrorList.h, undo.h
1302 2003-09-06 Angus Leeming <leeming@lyx.org>
1304 * support/types.h: add a 'depth_type' typedef, used to store the
1305 nesting depth of a paragraph.
1308 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1309 defining explicitly.
1312 * paragraph_funcs.h:
1313 * ParagraphParameters.h:
1314 * sgml.h: use lyx::depth_type rather than Paragraph or
1315 ParameterStruct's depth_type.
1318 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1321 * BufferView_pimpl.C:
1323 * ParagraphParameters.C:
1326 * bufferview_funcs.C:
1333 * frontends/LyXView.C:
1334 * frontends/controllers/ControlDocument.C:
1335 * frontends/controllers/ControlErrorList.C:
1336 * insets/insetbibitem.C:
1337 * insets/insetbranch.C:
1338 * insets/insetcaption.C:
1339 * insets/insetcollapsable.C:
1340 * insets/insetenv.C:
1341 * insets/insetert.C:
1342 * insets/insetfloat.C:
1343 * insets/insetfoot.C:
1344 * insets/insetfootlike.C:
1345 * insets/insetnewline.C:
1346 * insets/insetquotes.C:
1347 * insets/insettabular.C:
1348 * insets/insettext.C:
1349 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1351 * frontends/controllers/ControlChanges.C: #include "changes.h".
1353 2003-09-06 Angus Leeming <leeming@lyx.org>
1355 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1356 than #including paragraph.h.
1359 * RowList.h: deleted. Superfluous.
1369 * insets/insettext.h: use ParagraphList_fwd.h rather than
1372 * paragraph.h: don't forward declare ParagraphList.
1375 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1376 rather than ParagraphList.h. paragraph.h is still needed for the
1377 Paragraph::depth_type parameters.
1379 * textcursor.h: enable it to compile stand-alone in light of the
1382 * bufferview_funcs.C:
1394 * frontends/controllers/ControlParagraph.C:
1395 * frontends/controllers/ControlTabular.C:
1396 * insets/insetmarginal.C:
1397 * insets/insetminipage.C:
1398 * insets/insetnote.C:
1399 * insets/insetoptarg.C: add header files needed to compile again.
1401 2003-09-06 Angus Leeming <leeming@lyx.org>
1403 * RowList_fwd.h: new file, forward-declaring Row rather than
1404 #including lyxrow.h.
1409 * insets/insettext.h: use it instead of RowList.h
1411 * bufferview_funcs.C:
1418 * text3.C: #include "RowList.h".
1420 2003-09-05 Angus Leeming <leeming@lyx.org>
1422 * factory.C (createInset):
1423 * vspace.C (c-tor): replace sscanf call with an istringstream.
1424 * ispell.C: re-add missing HP/UX headers.
1425 * lyxserver.C: re-add missing os2 headers.
1427 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1436 * text3.C: re-add missing system headers, needed for 2.95.2.
1438 2003-09-05 Angus Leeming <leeming@lyx.org>
1440 Changes most place everywhere due to the removal of using directives
1441 from support/std_sstream.h.
1443 2003-09-05 Angus Leeming <leeming@lyx.org>
1445 Replace LString.h with support/std_string.h,
1446 Lsstream.h with support/std_sstream.h,
1447 support/LIstream.h with support/std_istream.h,
1448 support/LOstream.h with support/std_ostream.h.
1450 Changes resulting throughout the tree.
1452 2003-09-05 Angus Leeming <leeming@lyx.org>
1454 * sgml.h: ensure that the header file can be compiled stand-alone.
1455 * *.C: strip out redundant #includes. (320 in total.)
1457 2003-09-04 Angus Leeming <leeming@lyx.org>
1459 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1460 here (from getPackages).
1462 * debug.[Ch]: add a new EXTERNAL tag.
1464 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1466 * text2.C (cursorEnd): simplify
1468 (getColumnNearX): adjust
1470 * text.C (computeBidiTables): adjust
1473 * rowpainter.C (paintChars): adjust
1474 (paintSelection): adjust
1475 (paintChangeBar): adjust
1478 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1480 (numberOfSeparators): adjust
1482 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1488 * text3.C: Restricts the mouse click functionality
1489 of insets like bibtex, include, toc and floatlist to the visible
1490 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1491 up the dialogs. Cursor has to be in front of the inset (i.e.
1492 start of row) for this to function.
1494 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1496 * bufferview_funcs.C (currentState): output row information
1498 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1500 * bufferview_funcs.C (currentState): output paragraph position
1502 2003-09-04 Angus Leeming <leeming@lyx.org>
1504 * FloatList.h: move out #include "Floating.h".
1505 * LaTeX.h: move out #include "DepTable.h".
1506 * LyXAction.h: move out #include "funcrequest.h".
1507 * buffer.h: move out #include "author.h", "iterators.h".
1508 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1509 * lyx_main.h: move out #include "errorlist.h".
1510 * lyxfunc.h: move out #include "FuncStatus.h".
1511 * lyxtext: move out #include "lyxcursor.h".
1512 * paragraph_pimpl.h: move out #include "counters.h".
1514 2003-09-03 Angus Leeming <leeming@lyx.org>
1516 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1517 preamble_snippets list, enabling us to add snippets to the preamble
1518 only if the snippet was not there already.
1520 2003-09-04 Angus Leeming <leeming@lyx.org>
1522 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1524 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1526 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1529 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1531 * BranchList.C: point fix, earlier forgotten
1533 2003-09-02 Angus Leeming <leeming@lyx.org>
1535 * box.C (contains): renamed from 'contained' after a fantastic
1538 2003-09-02 John Levon <levon@movementarian.org>
1544 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1546 2003-09-02 John Levon <levon@movementarian.org>
1548 * text2.C: simplification of cursorEnd(), including partial
1551 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1553 * buffer.C (readFile): add a space
1555 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1557 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1559 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1561 * buffer.C (readFile): new function, take a filename and a
1562 ParagraphList::iterator
1564 (readFile): adjust, make it private. don't use setStream, make
1565 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1566 always contain the filename.
1568 * BufferView.C (insertLyXFile): simplify and make it work for
1571 2003-08-30 John Levon <levon@movementarian.org>
1573 * Makefile.am: fix dist (from Kayvan)
1575 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1577 * most files: change to use const Buffer refs
1579 2003-08-27 André Pönitz <poenitz@gmx.net>
1581 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1582 on top of ownerPar().
1584 2003-08-27 John Levon <levon@movementarian.org>
1586 * funcrequest.C: properly initialise POD members
1588 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1590 * lyxtext.h (top_y): move top_y from here
1595 * BufferView_pimpl.[Ch]: to here
1596 * frontends/screen.C:
1597 * insets/insettabular.C:
1598 * insets/insettext.C: adjust
1599 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1601 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1604 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1606 2003-08-26 André Pönitz <poenitz@gmx.net>
1608 * paragraph_func.[Ch] (outerPar): new function
1611 * paragraph_funcs.C:
1612 * paragraph_funcs.h:
1613 * paragraph_pimpl.C:
1614 * text2.C: remove Inset::par_owner
1616 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1621 * text2.C: eliminates the needFullRow/display() stuff
1622 altogether, putting the logic in metrics/draw in the insets.
1624 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1626 * text2.C (redoParagraphInternal, redoParagraphs):
1627 * text.C (redoParagraph): add a call to updateRowPositions at the
1628 end of each 'metrics-like' call. Remove all others.
1629 (getRow): remove the 'y-computing' version.
1630 (getRowNearY): do not compute nor return the real y. Solve the
1631 'y < 0' problem and simplify.
1633 2003-08-22 Angus Leeming <leeming@lyx.org>
1635 * *.[Ch]: clean-up of licence and author blurbs.
1636 Also move config.h out of a few .h files and into a few .C files.
1638 2003-08-22 André Pönitz <poenitz@gmx.net>
1640 * lyxrow.[Ch]: add x_ and *fill_ members
1645 * text2.C: adjust/remove prepareToPrint() calls
1647 2003-08-22 André Pönitz <poenitz@gmx.net>
1649 * lyxrow.[Ch]: add end_ member
1651 * lyxrow_funcs.C: use LyXRow::end_
1653 * lyxtext.h (singleWidth): add LyXFont parameter
1656 * text2.C: adjust LyXText::singleWidth() calls
1658 * text.C (redoParagraph): simplify row breaking logic
1661 2003-08-19 André Pönitz <poenitz@gmx.net>
1663 * funcrequest.C: initialize button_ member
1666 * rowpainter.[Ch]: interface consolidation
1668 2003-08-18 André Pönitz <poenitz@gmx.net>
1671 * BufferView_pimpl.C:
1673 * paragraph_funcs.C:
1675 * text3.C: remove LyXScreen::draw() and fitCursor calls
1677 * BranchList.h: remove spurious semicolons
1679 * MenuBackend.C: fix branchlist related crash
1681 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1689 * bufferparams.[Ch]:
1693 * text3.C: implements the 'branch inset'
1694 idea. This allows the output of various versions of a document
1695 from a single source version, selectively outputing or suppressing
1696 output of parts of the text.
1697 This implementation contains a 'branch list editor' in a separate
1698 tab of the document settings dialog. Branches are user definable
1699 and have a "display colour" to distinguish them on-screen.
1701 ColorHandler was somewhat cleaned up.
1702 (1) make possible a dynamically growing LColor list by allowing
1703 the graphic context cache to grow along (vector);
1704 (2) eliminate an IMHO unnecessary step in colour allocation.
1706 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1708 * BufferView_pimpl.C: compile fix
1710 2003-08-15 André Pönitz <poenitz@gmx.net>
1712 * rowpainter.C: remove extra metrics calls
1714 * lyxtext.h: merge the two constructors into a single one,
1715 pass reference to owner's par list
1717 * BufferView_pimpl.C:
1721 2003-08-15 André Pönitz <poenitz@gmx.net>
1723 * lyxrow_funcs.[Ch]:
1726 * paragraph_funcs.C:
1731 * text_funcs.C: split LyXText::rowlist_ into individual
1732 Paragraph::rows_ chunks
1735 * BufferView_pimpl.[Ch]:
1738 * text3.C: remove toggleSelection()
1740 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1742 * bufferlist.C: beautify two alerts (shorter text of buttons)
1743 * buffer.C: Remove redundant ' ' from message
1745 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1746 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1747 rename VALIGN_CENTER to VALIGN_MIDDLE
1749 2003-08-11 André Pönitz <poenitz@gmx.net>
1751 * lyxtext.h (getPar):
1752 * text.C: new function
1754 2003-08-11 André Pönitz <poenitz@gmx.net>
1757 * tracer.[Ch]: remove unneeded files
1759 * InsetList.[Ch]: remove resizeInsetsLyXText()
1764 * text3.C: merge insertParagraphs() and appendParagraph()
1765 remove breakAgain(), update()
1767 * BufferView_pimpl.[Ch]:
1768 * bufferview_funcs.[Ch]:
1772 * tabular.C: adjust after text & InsetList changes.
1774 2003-08-08 André Pönitz <poenitz@gmx.net>
1776 * text.C (insertChar, backspace): replace rowlist fiddling
1777 with rebreak of full par
1780 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1781 checkParagraph, updateInset): removed
1783 2003-08-07 André Pönitz <poenitz@gmx.net>
1786 * text3.C: merge some LFUN handlers, remove dead code
1788 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1790 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1792 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1794 * text2.C (DEPM): fix part of bug 1255 and 1256
1796 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1798 * BufferView_pimpl.C (workAreaDispatch): change to use
1799 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1800 that are no mouse related.
1802 2003-08-05 André Pönitz <poenitz@gmx.net>
1805 * BufferView_pimpl.[Ch]:
1806 * bufferview_funcs.C:
1808 * text3.C: rip out "deep update"
1810 * textcursor.[Ch] (last_sel_cursor): remove unused member
1812 2003-08-04 André Pönitz <poenitz@gmx.net>
1815 * BufferView_pimpl.[Ch]:
1816 * ParagraphParameters.C:
1817 * bufferview_funcs.C:
1823 * text3.C: replace "complicated" BufferView::update(...) calls with
1826 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1828 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1830 * Makefile.am (lyx_SOURCES): add paper.h
1832 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1834 * Makefile.am: move things around so that both lyx-qt and
1835 lyx-xforms can be built (according to --with-frontend). Then lyx
1836 is a symbolic link to lyx-[firstfrontend]
1838 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1840 * Always use std::endl with lyxerr
1842 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1844 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1846 2003-08-01 André Pönitz <poenitz@gmx.net>
1849 * BufferView_pimpl.[Ch]:
1851 * text3.C: merge BufferView::repaint() and BufferView::update()
1853 2003-08-01 José Matos <jamatos@lyx.org>
1855 * buffer.[Ch]: file_format is no longer a buffer data element.
1857 2003-08-01 André Pönitz <poenitz@gmx.net>
1862 * text2.C: make redoParagraph more independent of current cursor
1864 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1866 * text2.C: remove unneeded members
1868 2003-07-30 André Pönitz <poenitz@gmx.net>
1870 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1872 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1873 create a single function...
1875 * paragraph_funcs.C (moveItem): ... here.
1878 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1880 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1882 * LColor.[Ch]: Add comment and greyedout logical colors.
1884 2003-07-30 André Pönitz <poenitz@gmx.net>
1886 * tabular.C: don't use Assert too heavily. This crashes where it
1889 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
1891 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1892 is disabled (bug 1232)
1894 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1896 * factory.C: limited 'arg' scope
1898 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1900 * factory.C: fixed Note submenu issues
1902 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1904 * factory.C: submenu for Note/Comment/Greyedout
1906 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
1909 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1911 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1914 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1915 greyedout. Patch provided by Jürgen Spitzmüller.
1917 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1919 * kbmap.C (read): fix error message when reading bind files
1921 2003-07-29 Angus Leeming <leeming@lyx.org>
1923 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1924 certainly does not do what it purports to do. I am doing it, and
1925 us, a favour by killing it.
1927 2003-07-28 José Matos <jamatos@lyx.org>
1929 * buffer.C (readBody, do_writeFile):
1930 * paragraph.C(readParagraph): \end_document replaces \the_end.
1932 2003-07-29 André Pönitz <poenitz@gmx.net>
1935 * BufferView_pimpl.[Ch]:
1939 * textcursor.[Ch]: remove toggleToggle & Co
1941 2003-07-28 José Matos <jamatos@fep.up.pt>
1943 * buffer.C (readParagraph):
1944 * params_func (readParToken, readParagraph):
1945 * paragraph.C (write): \layout -> \begin_layout.
1947 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1949 * lyxlex_pimpl.C (setFile): clean up slightly.
1951 * bufferparams.h: add compressed var
1953 * buffer_funcs.C (readFile): adjust for LyXLex change
1954 (newFile): ditto + simplify
1956 * buffer.C (writeFile): handle writing of compressed files
1958 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1959 Check if the file is compressed and set a bufferparm if so.
1961 * Makefile.am (lyx_LDADD): remove explicit -lz
1963 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1965 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1966 makeDocBookFile): put the real LyX version in the first line of
1970 * version.C.in: remove lyx_docversion
1972 * tabular.C (write_attribute): add a template-based version to
1973 write enums properly
1975 2003-07-28 André Pönitz <poenitz@gmx.net>
1980 * text3.C: use doubles again for x-coordinates. They are needed.
1982 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1984 * messages.C (getLocaleDir): use lyx_localedir()
1986 * lyxlex_pimpl.C (setFile): compress stuff
1988 * buffer.C (writeFile): add some compression stuff
1989 (do_writeFile): new func, dont call expliti close... will this
1992 * Makefile.am (lyx_LDADD): add -lz
1994 2003-07-28 José Matos <jamatos@fep.up.pt>
1996 * buffer.C: increment file format.
1997 * paragraph_funcs (readParagraph, readParToken):
1998 * paragraph.C (readParagraph): add \end_layout.
2000 2003-07-27 Angus Leeming <leeming@lyx.org>
2002 * Makefile.am: remove special casing for configure-time setting of
2003 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2005 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2006 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2008 2003-07-26 André Pönitz <poenitz@gmx.net>
2010 * paragraph_func.[Ch]:
2011 * paragraph.C (realizeFont): inline it whereever it is used
2016 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2019 2003-07-26 André Pönitz <poenitz@gmx.net>
2023 * text2.C: get rid of LyXText::need_break_row
2025 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2027 * toc.[Ch]: put namespace toc inside namespace lyx
2029 * MenuBackend.C (expandToc2): adjust for lyx::toc
2032 * lyxfunc.C (dispatch): adjust for lyx::find
2034 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2035 lyx::find instead. Reorganize a bit.
2036 (LyXReplace): rename to replace
2037 (LyXFind): rename to find
2039 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2042 2003-07-26 André Pönitz <poenitz@gmx.net>
2044 * text.C (setHeightOfRow): restrict scope of temporary variable
2046 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2047 code (never has been used?)
2049 2003-07-27 Asger Alstrup <alstrup@local>
2051 * text.C (fill): Optimise algorithm to exploit that we can reuse
2052 the LyXFont for many characters.
2053 (setHeightOfRow): Same thing.
2054 (rowBreakPoint): Same thing.
2056 2003-07-26 Asger Alstrup <alstrup@local>
2058 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2060 * text.C (singleWidth): Spurious font copying in hot-spot
2061 singleWidth avoided. Reorder tests for arabic for efficiency.
2063 * text.C (fill): handle empty paragraphs better.
2065 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2068 * encoding.h: add includes
2070 * lyxrc.C: remove reading of bind files
2072 * lyx_main.C (init): setup bindings and menus only if we have a
2075 * kbmap.C (read): new method. Do the actual reading of bind
2078 * converter.C (dvipdfm_options):
2081 (output): adapt PAPER_* enums.
2083 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2085 * bufferparams.h: remove paper-related enums from there
2087 * paper.h: New file. A trivial header file to hold paper-related
2088 enums. It should later expand to contain many paper-related
2091 * lyxrc.C: declare extern displayTranslator
2093 2003-07-27 José Matos <jamatos@fep.up.pt>
2095 * tabular.[Ch] (linuxdoc): add support for tables and figures
2098 2003-07-27 José Matos <jamatos@fep.up.pt>
2100 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2101 consistency in both functions.
2102 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2104 2003-07-26 Asger Alstrup <alstrup@local>
2106 * rowpainter.C (paintRows): Change algorithm to work directly on
2107 the insets rather than asking every character in the document
2108 whether its an inset.
2110 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2112 * buffer.C (openFileWrite): factorize some code
2114 2003-07-26 Angus Leeming <leeming@lyx.org>
2117 * lyx_main.[Ch]: replace occurances of system_tempdir with
2120 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2122 * rename Inset to InsetOld
2124 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2126 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2127 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2128 which I think is a bit clearer. EDIT is gone, since it was
2129 premature optimisation, and broken for mathed anyway.
2130 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2131 with cursor positioning in insets as well (math insets still do not
2132 work, but that's a different story anyway.) It mysteriously
2133 crashes sometimes with undo in the first paragraph, but I'm fairly
2134 confident that this is a compiler bug.
2136 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2138 * paragraph.C (Paragraph): adjust for new clone return type
2140 (copyIntoMinibuffer): ditto
2142 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2144 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2145 by not having a special case, and always doing a full rebreak of
2146 the document after undo.
2148 2003-07-23 Angus Leeming <leeming@lyx.org>
2150 * factory.C (createInset): InsetExternal::setParams now takes a
2153 2003-07-23 Angus Leeming <leeming@lyx.org>
2155 * factory.C (createInset): changed interface to the external and
2156 graphics mailers' string2params functions.
2158 2003-07-23 Angus Leeming <leeming@lyx.org>
2160 * factory.C (createInset): pass a
2161 Buffer const * parameter to InsetExternalMailer's string2params.
2163 2003-07-22 John Levon <levon@movementarian.org>
2165 * Thesaurus.h: include the right aiksaurus header
2167 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2169 * MenuBackend.C (expand): check menu shortcuts unconditionally
2171 2003-07-21 Angus Leeming <leeming@lyx.org>
2173 * factory.C (createInset): pass a
2174 buffer_path parameter to InsetGraphicsMailer's string2params.
2176 2003-07-21 Angus Leeming <leeming@lyx.org>
2178 * BufferView_pimpl.C (buffer):
2181 * lyxfunc.C (dispatch):
2182 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2183 rather than the grfx shortcut.
2185 2003-07-21 André Pönitz <poenitz@gmx.net>
2187 * rowpainter.C: remove unused variables
2190 * tabular_funcs.h: move to tabular.C
2191 * Makefile.am: adjust
2193 * tabular.[Ch]: basic optical cleaning
2195 * author.h: pass references, not values
2197 2003-07-18 André Pönitz <poenitz@gmx.net>
2205 * text3.C: two-phase drawing for InsetText and InsetTabular
2206 some float -> int changes.
2208 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2210 * lyx_main.C: fix the fix
2212 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2214 * lyx_main.C: fix a crash in batch mode if no files specified
2217 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2219 * format.[Ch] (papersize): moved to BufferParams
2220 * converter.[Ch] (dvips_options): moved to BufferParams
2221 (dvipdfm_options): moved to anon namespace
2222 * bufferparams.[Ch]: added above functions.
2224 2003-07-17 André Pönitz <poenitz@gmx.net>
2228 * text2.C: don't call inset->update() anymore
2230 * metricsinfo.[Ch]: add convenience constructor
2232 2003-07-16 André Pönitz <poenitz@gmx.net>
2237 * text2.C: replace the LyXCursor::irow_ member with
2238 on-demand computation of the value
2240 2003-07-16 John Levon <levon@movementarian.org>
2242 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2244 2003-07-15 André Pönitz <poenitz@gmx.net>
2247 * text2.C: remove no more needed refresh_row
2249 2003-07-15 André Pönitz <poenitz@gmx.net>
2254 * text3.C: refresh_status tristate -> need_update bool
2256 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2258 * lyxtext.h (init): remove reinit argument (act as if always true)
2259 * text2.C: adjust to that
2261 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2263 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2264 * text3.C: use it to delete selections in some cases
2265 (bugs 441, 673, 702, 954).
2267 2003-07-14 André Pönitz <poenitz@gmx.net>
2269 * rowpainter.[Ch]: reduce interface
2271 2003-07-14 André Pönitz <poenitz@gmx.net>
2273 * BufferView_pimpl.C:
2274 * text2.C: adjust after removing unused BufferView * argument
2276 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2278 * text2.C (init): fix a crash fired on resize
2280 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2282 * buffer.[Ch]: added new closing signal
2283 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2284 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2285 BufferView::Pimpl via the closing the signal
2287 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2289 * buffer.[Ch]: take out all bv-related from buffer
2291 * BufferView_pimpl.[Ch]: connect to new signals
2292 * CutAndPaste.C: removed useless asserts
2293 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2296 * lyxfunc.C: moved view-related funciontality from vc here
2297 * paragraph.C: removed outdated comments
2300 2003-07-10 André Pönitz <poenitz@gmx.net>
2302 * BufferView_pimpl.C:
2306 * text2.C: remove InsetText::InnerCache, clean up consequences
2308 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2310 * ispell.C: fix two typos in error messages
2312 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2314 * Extend Note inset to other forms of annotation like Comment
2315 and Greyedout. Right button click gives dialog.
2317 Files modified or added (+):
2321 * ControlNote.[Ch] +
2323 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2324 frontends/controllers
2328 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2330 * aspell.C: add missing namespace lyx::support
2332 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2334 * BufferView.[Ch] (newFile): Add
2335 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2336 * LaTeX.[Ch] (message): added this signal and use it
2337 * buffer.[Ch] (busy, message): added these signals and use them
2338 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2342 * importer.C: use buffer signals instead of direct bv calling
2343 * lyx_cb.[Ch] (ShowMessage): removed
2346 * paragraph_funcs.C:
2347 * text2.C: use buffer signals
2349 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2351 * introduce namespace lyx::graphics
2353 2003-07-02 André Pönitz <poenitz@gmx.net>
2355 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2357 2003-07-01 André Pönitz <poenitz@gmx.net>
2364 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2365 text*.C to text_func.C
2367 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2369 * introduce namespace lyx::support
2371 2003-06-30 André Pönitz <poenitz@gmx.net>
2376 * text.C: re-enable --with-included-string
2378 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2380 * textcursor.C: add <config.h>
2382 * text.C (getWord): remove const from word_location arg
2384 * lyxvc.C (getLogFile): fix const type order
2386 * lyxtext.h: remove const from word_location arg, add arg name
2388 * lyxlayout.h: currect type on labeltype.
2390 * importer.C: correct \file
2392 * converter.C (intToFormat): use std:: on ret val, ws changes
2394 * bufferlist.h: correct \file
2396 * buffer.C (makeLinuxDocFile): fix const type order
2397 (makeDocBookFile): ditto
2398 (fillWithBibKeys): use std:: on stdlib args.
2400 * CutAndPaste.C: fix authors.
2401 (availableSelections): use std:: on return vector
2403 2003-06-27 André Pönitz <poenitz@gmx.net>
2405 * BufferView_pimpl.C:
2406 * bufferview_funcs.C:
2414 * text3.C: remove LyXCursor::row_ member
2417 * text.C: rename fullRebreak() to partialRebreak() and implement
2418 a fullRebreak() that really bereks fully
2420 * textcursor.h: new struct for cursor-related data
2422 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2424 * lyx_main.C (LyX): get full path of document loaded on the
2427 2003-06-26 André Pönitz <poenitz@gmx.net>
2429 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2430 remove unused/broken operator>,<,>=.
2432 * text.C: remove only use of broken operator<= in an Assert().
2434 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2436 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2437 moved errorlist_.clear to showErrorList
2439 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2441 * converter.C (scanLog, runLaTeX):
2442 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2443 move the bv->showErrorList call to the callers
2444 * lyxfunc.C: i.e. here...
2446 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2447 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2448 namespace, the second to...
2449 * buffer_funcs (BufferFormat, parseErrors): added
2450 * errorlist.C (ErrorList(TeXErrors const &)): removed
2452 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2454 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2456 2003-06-24 "Garst R. Reese" <reese@isn.net>
2460 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2462 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2464 * version.C.in: change docversion to 1.4
2466 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2468 * buffer.C: fix a bug just introduced
2470 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2472 * buffer.[Ch]: added the parseError signal and use it, removed
2474 * BufferView.[Ch] (addError): moved to ...
2475 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2476 to the Buffer::parseError signal to catch (guess what) parse errors
2477 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2479 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2481 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2482 ability to create a buffer and to return an existing one from
2483 the list. Moved these functions to...
2484 * buffer_funcs.[Ch]: added
2485 * BufferView.[Ch] (loadLyXFile): added
2486 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2487 job removed from bufferlist::loadLyXFile.
2488 * buffer.C (setReadOnly): make it work without view
2489 (i.e added an if (users))
2491 2003-06-19 Angus Leeming <leeming@lyx.org>
2494 * LyXAction.C (init):
2495 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2496 with LFUN_DIALOG_SHOW <name> <data>.
2498 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2500 * CutAndPaste.C (availableSelections): small compilation fix for
2501 ancient (gcc 2.9x) compilers
2503 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2505 * text3.C (cursorNext): add tmp var
2507 * text2.C (updateCounters): for function calling out of for clause
2508 (replaceSelectionWithString): ditto
2509 (insertStringAsParagraphs): ditto
2510 (getColumnNearX): add tmp var
2511 (setCursorFromCoordinates): add tmp var
2512 (cursorDownParagraph): add tmp var
2513 (deleteEmptyParagraphMechanism): add tmp var
2515 * text.C (insertChar): add tmp var
2517 * rowpainter.C (paintDepthBar): add tmp var
2519 * CutAndPaste.C (availableSelections): potentially check all
2520 paragraphs in a cut to fill the shown strings.
2522 2003-06-18 André Pönitz <poenitz@gmx.net>
2524 * kbmap.[Ch]: use vector<> instead of list<>
2526 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2528 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2529 pasteSelection with index
2531 * text2.C (pasteSelection): modify, call pasteSelection with index
2533 * paragraph.C (asString): reimplement version with no interval to
2534 call the one with interval.
2536 * lyxtext.h: add index arg to pasteSelection
2538 * MenuBackend.C (MenuItem): handle PasteRecent
2539 (Menu::read::Menutags): add md_pasterecent
2541 (expandPasteRecent): new function
2544 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2546 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2548 (availableSelections): new function
2550 2003-06-17 Angus Leeming <leeming@lyx.org>
2552 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2554 2003-06-17 Angus Leeming <leeming@lyx.org>
2557 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2559 * lyxfunc.C (dispatch): invoke it.
2561 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2563 * iterators.C (operator++, ParPosition): reintroduce some
2564 const_cast for the benefit of older compilers.
2566 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2568 * text3.C (dispatch): do not modify clipboard when doing
2569 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2570 LFUN_DELETE_SKIP on a selection selection
2572 2003-06-16 André Pönitz <poenitz@gmx.net>
2578 * tabular.[Ch]: IU of clone() and getLabelList();
2580 2003-06-13 André Pönitz <poenitz@gmx.net>
2582 * tabular.h: compactification
2584 2003-06-12 André Pönitz <poenitz@gmx.net>
2588 * tabular_funcs.h: some renaming plus whitespace
2590 2003-06-12 André Pönitz <poenitz@gmx.net>
2593 * BufferView_pimpl.C:
2599 * toc.C: Return a Paragraph & for ParIterator::operator*()
2601 2003-06-11 John Levon <levon@movementarian.org>
2605 * ToolbarBackend.C: add "Toolbars" section and
2608 2003-06-10 Angus Leeming <leeming@lyx.org>
2611 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2613 * lyxfunc.C (dispatch): invoke it.
2615 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2617 * main.C: protect <ios> with HAVE_IOS
2618 (main): protect sync_with_stdio with HAVE_IOS
2620 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2622 * text2.C (cutSelection): adjust
2623 (pasteSelection): adjust
2625 * messages.C: handle get of empty string
2627 * main.C (main): use sync_with_stdio(false)
2629 * lyxfunc.C (dispatch): adjust
2631 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2632 (WriteAs): remove unneeded BufferView arg.
2634 * bufferparams.h: use correct types on papersize, papersize2 and
2637 * bufferparams.C (readToken): adjust for type
2638 (writeLaTeX): add missing cases to switch.
2640 * bufferlist.C (quitWriteBuffer): adjust
2643 * buffer.C (asciiParagraph): remove some commented code.
2645 * CutAndPaste.C: remove current_view extern variable.
2646 (cutSelection): add BufferParams arg.
2647 (eraseSelection): add BufferParams arg.
2648 (pasteSelection): add Buffer const & arg
2650 2003-06-07 John Levon <levon@movementarian.org>
2653 * paragraph_funcs.C:
2654 * paragraph_pimpl.C:
2658 * paragraph.C: allow InsetERT to freely space lines,
2659 and some consolidation of code
2661 2003-06-06 José Matos <jamatos@fep.up.pt>
2663 * buffer.C (makeDocBookFile): fix bug #821
2665 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2667 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2669 2003-06-04 Angus Leeming <leeming@lyx.org>
2671 * buffer.C: bump format to 224.
2673 2003-06-05 André Pönitz <poenitz@gmx.net>
2675 * text2.C (redoParagraphs): remove two const_cast<>
2677 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2679 * ParagraphList.h: remove last remnants of NO_STD_LIST
2681 2003-06-03 Angus Leeming <leeming@lyx.org>
2683 * factory.C (createInset): small change to the way InsetExternal's params
2686 2003-06-04 André Pönitz <poenitz@gmx.net>
2688 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2690 * paragraph_pimpl.h:
2691 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2693 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2695 * undo_funcs.C: make some simple cases of undo work again
2697 2003-06-03 John Levon <levon@movementarian.org>
2699 * ispell.C: HPUX doesn't have sys/select.h
2702 2003-06-03 John Levon <levon@movementarian.org>
2704 * CutAndPaste.C: update tabular and include inset
2709 * paragraph.C: remove owningBuffer(), don't pass Buffer
2712 * factory.C: insetGraphicsParams changed
2714 2003-06-02 John Levon <levon@movementarian.org>
2720 * text3.C: remove insetparent
2722 2003-06-02 John Levon <levon@movementarian.org>
2725 * buffer.C: fix inset_iterator.end(), move out of line
2728 2003-06-01 John Levon <levon@movementarian.org>
2730 * text3.C: use a proper cut/paste when doing inset
2731 insert (from Jürgen Spitzmüller)
2733 2003-06-01 John Levon <levon@movementarian.org>
2735 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2737 2003-05-30 André Pönitz <poenitz@gmx.net>
2739 * rowpainter.C: unify second drawing phase
2741 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2743 * trans_mgr.C: remove one case of current_view
2745 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2747 * paragraph_funcs.h: remove paragraph.h include
2749 * paragraph.h: delete NO_STD_LIST stuff
2751 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2753 * buffer.h: remove paragraph.h include
2755 * ParagraphList.C: delete file
2757 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2759 * toc.C (getTocList): adjust
2761 * paragraph_pimpl.C (validate): adjust
2763 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2765 * paragraph.C (Paragraph): adjust
2766 (getPositionOfInset): use const_iterator, adjust
2767 (bibitem): use const_iterator, adjust
2768 (setInsetOwner): adjust
2770 * iterators.C (operator++): adjust
2772 * InsetList.[Ch]: Replace selfmade iterator with standard
2773 vector::iterator also introduce const_iterator. Remove getPos,
2774 getInset and setInset from InsetTable. Adjust accordingly.
2776 * BufferView.C (lockInset): adjust
2777 (ChangeInsets): adjust
2779 * tabular.[Ch]: delete commented same_id functions
2781 2003-05-28 John Levon <levon@movementarian.org>
2783 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2785 2003-05-28 André Pönitz <poenitz@gmx.net>
2787 * metricsinfo.[Ch]: remove 'fullredraw' member
2789 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2791 * lyxtextclass.C (operator): remove caching.
2793 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2797 * text2.C (cursorBottom): adjust
2798 (setCounter): use ParagraphList::find, adjust
2800 * text.C (workWidth): use ParagraphList::find, adjust
2802 * lyxcursor.C (LyXCursor): adjust
2804 * buffer.C (inset_iterator): adjust
2806 * ParagraphList.h: make iterator(value_type) private, make
2807 ParagraphList a friend of iterator.
2809 * ParagraphList.C (find): new function
2811 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2813 2003-05-27 André Pönitz <poenitz@gmx.net>
2815 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2817 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2819 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2821 2003-05-26 John Levon <levon@movementarian.org>
2823 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2825 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2827 * remove same_id from function signatures, adjust.
2829 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2831 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2833 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2835 * paragraph.C (Paragraph): get rid of same_ids parameter
2837 * ParagraphList.C (insert): adjust
2840 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2842 * paragraph_funcs.C (breakParagraph): adjust
2843 (breakParagraphConservative): adjust
2845 * buffer.C (readParagraph): adjust
2847 * ParagraphList.C (insert): take a reference instead of a pointer
2850 * paragraph.[Ch] (id): new function
2852 * bufferlist.C (newFile): adjust
2854 * ParagraphList.C (ParagraphList): adjust
2856 (push_back): take a reference instead of a pointer.
2858 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2860 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2863 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2864 set else use old code.
2866 * ParagraphList.C: remove all NO_NEXT code and only compile this
2867 code of NO_STD_LIST is set.
2869 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2871 * BufferView_pimpl.C:
2881 * graphics/GraphicsConverter.C:
2882 * graphics/PreviewLoader.C: header adjustment
2884 2003-05-23 Angus Leeming <leeming@lyx.org>
2886 * LaTeXFeatures.[Ch] (useBabel): new method.
2887 * bufferparams.C (writeLaTeX): use it.
2889 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2891 * ParagraphList.h (set): remove unused function.
2893 2003-05-23 André Pönitz <poenitz@gmx.net>
2896 * BufferView_pimpl.C:
2900 * undo_funcs.C: setUndo reworked
2902 * iterators.[Ch]: add access to topmost ParagraphList
2904 * lyxtext.[Ch] (workWidth): add a const
2906 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
2908 * texrow.[Ch] (increasePos): remove function
2909 * exporter.C (export): removed unused var and outdated comment
2911 2003-05-23 Angus Leeming <leeming@lyx.org>
2913 * latexrunparams.h: rename fragile as moving_arg.
2914 * paragraph.C (simpleTeXOnePar): ditto.
2915 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2917 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2919 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2921 (textUndoOrRedo): comment out a currently unused var.
2923 * paragraph.h (NO_NEXT): enable NO_NEXT
2925 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2927 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2929 * exporter.C (Export): adjust for removeAutoInsets removal.
2931 * buffer.C (runChktex): adjust for removeAutoInsets removal.
2933 * LyXAction.C (init): remove LFUN_REMOVEERRORS
2935 * BufferView.[Ch] (removeAutoInsets): delete function
2937 2003-05-22 Angus Leeming <leeming@lyx.org>
2939 * latexrunparams.h: add a free_spacing variable.
2941 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2942 to pass moving_arg, as the data is stored in runparams.fragile.
2944 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2945 to Inset::latexOptional or to simpleTeXOnePar.
2947 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2948 free_spacing arg to Inset::latexOptional.
2950 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2953 2003-05-22 Angus Leeming <leeming@lyx.org>
2955 * latexrunparams.h: add fragile and use_babel variables.
2957 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2958 * buffer.C (makeLaTeXFile): store this returned value in
2959 runparams.use_babel, thus passing it to the inset::latex methods.
2961 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2962 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2964 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2965 longer has a fragile arg, as it is stored in runparams.fragile.
2967 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2968 moving_arg parameter as the data is stored in runparams.fragile.
2970 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2971 a fragile parameter as the data is stored in runparams.fragile.
2973 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2975 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2977 2003-05-22 Angus Leeming <leeming@lyx.org>
2979 * latexrunparams.h: add a 'bool nice' which defaults to false.
2981 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2982 now encapsulated within runparams.
2984 * bufferlist.C (updateIncludedTeXfiles):
2985 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2987 2003-05-22 Angus Leeming <leeming@lyx.org>
2989 * latexrunparams.h: new file containing struct LatexRunParams.
2990 * Makefile.am: add new file.
2992 * LaTeX.[Ch] (c-tor, run):
2993 * buffer.[Ch] (makeLaTeXFile):
2994 * bufferlist.[Ch] (updateIncludedTeXfiles):
2995 * converter.C (convert, scanLog):
2996 * converter.[Ch] (runLaTeX):
2997 * exporter.C (Export):
2998 * paragraph.[Ch] (simpleTeXOnePar):
2999 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3000 * paragraph_funcs.[Ch] (latexParagraphs):
3001 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3002 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3003 pass around a LatexRunParams parameter.
3005 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3007 * paragraph.[Ch]: remove unused constructor
3009 * ParagraphList.C (erase): new function, taking two iterators
3011 2003-05-22 André Pönitz <poenitz@gmx.net>
3013 * undo_funcs.C: remove duplicated code
3015 * iterator.[Ch]: operator=
3017 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3019 * tabular.C (SetMultiColumn): ws changes
3021 * rowpainter.C (paintFirst): get rid of a ->previous
3023 * lyx_cb.C (getPossibleLabel): parlist simplification
3025 * BufferView.C (ChangeInsets): simplify slightly.
3027 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3029 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3030 * lfuns.h: new LFUN_SPACE
3031 * lyxfunc.C: protected space has a new lfun
3032 * paragraph_funcs.C: read new space insets
3034 * factory.C: handle new space insets
3036 2003-05-22 André Pönitz <poenitz@gmx.net>
3039 * BufferView_pimpl.C:
3042 * undo_funcs.C: return a ParIterator from getParFromID.
3044 * iterators.[Ch]: add two const's
3046 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3048 * toc.C (getTocList): adjust
3050 * iterators.[Ch]: rework for parlist
3052 * buffer.C (par_iterator_begin): adjust
3053 (par_iterator_end): adjust
3055 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3057 * BufferView.C (removeAutoInsets): adjust
3058 (ChangeInsets): adjust
3060 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3062 * text.C (top_y): fix bug 1110
3064 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3066 * errorlist.[Ch]: added
3069 * BufferView_pimpl.C:
3070 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3073 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3075 * Makefile.am: ensure that lyx is relinked upon changes to the
3076 various "convenience" libs.
3078 2003-05-20 Angus Leeming <leeming@lyx.org>
3080 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3081 files are compiled in alphabetical order again.
3083 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3085 2003-05-19 Angus Leeming <leeming@lyx.org>
3087 * gettext.[Ch]: remove "char const * _(char const *)".
3089 2003-05-19 André Pönitz <poenitz@gmx.net>
3091 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3100 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3102 2003-05-19 André Pönitz <poenitz@gmx.net>
3106 * lyxtextclass.[Ch]:
3108 * paragraph_funcs.[Ch]:
3110 * text3.C: more insetenv work
3112 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3114 * ParagraphParameters.C (params2string): small bug fixed
3116 2003-05-16 André Pönitz <poenitz@gmx.net>
3119 * bufferview_funcs.C: patch from Kornel Benko to prevent
3120 crash when _(...) is called twice in a statement
3122 2003-05-16 André Pönitz <poenitz@gmx.net>
3129 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3131 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3133 * lyx_main.C (init): remove spurious static_cast
3135 2003-05-14 André Pönitz <poenitz@gmx.net>
3137 * BufferView.C: fix format string
3139 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3141 * BufferView.[Ch] (insertErrors): removed
3142 * BufferView.[Ch] (showErrorList): added
3143 * buffer.C (runChkTeX):
3144 * converter.C (scanLog): call showErrorList instead of inserterrors
3146 2003-05-13 André Pönitz <poenitz@gmx.net>
3148 * BufferView_pimpl.C:
3150 * bufferview_func.C:
3157 * tabular_funcs.h: tostr() from its own header
3159 * ParagraphParameters.C:
3164 * text3.C: STRCONV()
3166 2003-05-12 André Pönitz <poenitz@gmx.net>
3169 * BufferView_pimpl.C:
3173 * ParagraphParameters.C:
3177 * bufferview_funcs.C:
3190 * paragraph_funcs.C:
3194 * text3.C: boost::format -> bformat all over the place
3197 2003-05-09 André Pönitz <poenitz@gmx.net>
3199 * LColor.[Ch]: Pimpl the #include <map> away
3201 2003-05-09 John Levon <levon@movementarian.org>
3203 * bufferlist.C: never remove emergency saves
3205 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3207 * Makefile.am: better lib building
3209 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3211 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3213 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3214 (simpleTeXSpecialChars): adjust
3215 (simpleTeXSpecialChars): adjust
3216 * paragraph.C (simpleTeXOnePar): adjust
3217 * buffer.C (makeLaTeXFile): adjust
3219 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3221 * text2.C (changeDepth): parlist cleanup
3222 (getColumnNearX): ditto
3224 * rowpainter.C (getLabelFont): parlist cleanup
3226 * bufferlist.C (newFile): parlist cleanup
3228 * CutAndPaste.C (eraseSelection): parlist cleanup
3230 * BufferView_pimpl.C (trackChanges): parlist cleanup
3233 * BufferView.C (lockInset): parlist cleanup.
3234 (ChangeInsets): ditto
3236 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3238 * CutAndPaste.h: Update file header.
3240 * CutAndPaste.C: Update file header.
3241 Store the parts cut out of the Document in a limited_stack.
3242 (copySelection): adjust
3243 (pasteSelection): new function, takes the index in the limited stack.
3244 (nrOfParagraphs): adjust
3245 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3246 simplify error inset insertion.
3247 (checkPastePossible): adjust
3249 2003-05-06 John Levon <levon@movementarian.org>
3251 * text2.C: don't cast wrap inset to float
3253 2003-05-05 André Pönitz <poenitz@gmx.net>
3256 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3258 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3259 few naked Paragraph *.
3261 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3263 * bufferparams.C: Output warning if a document with missing
3264 TeX document class is loaded
3265 * exporter.C: Disable TeX exports if the document class is missing
3268 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3269 isTeXClassAvailable()
3271 2003-05-03 John Levon <levon@movementarian.org>
3274 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3275 explicit cursor show/hide
3277 * BufferView_pimpl.h:
3278 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3279 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3281 * lyxfunc.C: hide cursor before dispatching.
3286 * text3.C: remove explicit cursor hides
3288 2003-05-02 André Pönitz <poenitz@gmx.net>
3290 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3293 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3296 * text2.C: tiny whitespace
3298 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3300 * undo_funcs.C: almost only ws changes.
3302 * ParagraphList.C (splice): just return if pl is empty.
3304 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3306 * ParagraphList.C (splice): new function.
3308 * CutAndPaste.C (pasteSelection): use it
3310 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3312 * CutAndPaste.C (pasteSelection): remove the last next and
3313 previous from this file.
3315 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3317 * CutAndPaste.C (pasteSelection): more clean up, user proper
3318 ParagraphList functions for pasteing.
3320 * ParagraphList.C (insert): new function, three arg insert
3322 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3324 * ParagraphList.C (insert): new function, three arg insert
3326 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3329 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3331 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3333 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3335 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3337 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3339 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3340 (copySelection): clean up a bit.
3341 (pasteSelection): use make_pair
3343 * ParagraphList.C (ParagraphList): implement copy constructor
3344 (operator=): implement, base on copy constructor.
3347 * paragraph.C (erase): return a bool
3349 * paragraph_pimpl.C (erasePos): remove function, move contents...
3350 (erase): ... here. Return a bool.
3351 (erase): call erase instead of erasePos.
3353 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3355 * ParagraphList.h: define PitPosPair
3356 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3357 ParagraphList, fix a bug on pasting multiple pars
3358 * text2.C: change interface to C&P
3360 2003-04-30 André Pönitz <poenitz@gmx.net>
3362 * undo_func.C: revert part of yesterday's patch 2
3364 2003-04-30 John Levon <levon@movementarian.org>
3366 * LColor.C: s/tabular/table/
3368 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3370 * text3.C (dispatch): do not convert iterator -> pointer
3371 * undo_funcs.C (setCursorParUndo): ditto
3372 * text_funcs.C (transposeChars): ditto
3374 * text2.C (setLayout): ws changes only
3376 * text.C (breakParagraph): do not convert iterator -> pointer
3378 (acceptChange): ditto
3379 (rejectChange): ditto
3384 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3387 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3389 * text3.C (gotoInset): YABG (yet another bad getChar)
3391 2003-04-29 André Pönitz <poenitz@gmx.net>
3393 * paragraph.h: make operator= private unimplemented as long as
3396 * ParagraphList.C: whitespace
3399 * paragraph_pimpl.[Ch]:
3400 * paragraph_funcs.C:
3402 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3405 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3407 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3409 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3410 * paragraph.[Ch] (erase):
3411 * paragraph_pimpl.[Ch] (erase): change return type and value
3412 * text2.C (cutSelection): some rework
3414 2003-04-28 John Levon <levon@movementarian.org>
3416 * bufferlist.C: changes for unsaved changes dialog
3418 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3420 * bufferlist.C (newFile): set language (messages_) for new
3423 * buffer.C (readFile): ws changes only.
3425 2003-04-28 André Pönitz <poenitz@gmx.net>
3430 * BufferView_pimpl.C:
3431 * BufferView.C: getParFromID related ParagraphList::iterator changes
3433 2003-04-28 André Pönitz <poenitz@gmx.net>
3435 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3438 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3440 * messages.C: remove one more localedir class variable.
3442 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3444 * messages.C (getLocaleDir): singleton generation function
3446 (Messages): add a default constructor.
3448 * main.C (main): do not setup localedir here, do not call
3451 * gettext.C (_): use it.
3452 (gettext_init): delete funciton
3454 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3456 * gettext.C (getLyXMessages): new singleton generating function.
3458 * buffer.C (updateDocLang): adjust
3460 * Makefile.am (messages.o): add target
3461 (main.o): remove target
3463 2003-04-27 John Levon <levon@movementarian.org>
3468 * lyxvc.C: specify cancel button in Alert::prompt
3470 2003-04-26 John Levon <levon@movementarian.org>
3475 * LyXAction.C: add LFUN_INSET_SETTINGS
3477 * lyxfunc.C: don't enable tabular-feature when there's
3478 just any locking inset
3480 2003-04-26 John Levon <levon@movementarian.org>
3482 * bufferlist.C: re-add Cancel to buffer close question
3484 * lyxfunc.C: fix import UI a bit
3486 2003-04-25 John Levon <levon@movementarian.org>
3488 * gettext.C: remove the broken asserts for now
3490 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3492 * messages.C: make case where setlocale cannot comply work better.
3494 * buffer.C (updateDocLang): new function
3495 (changeLanguage): use it
3498 * text2.C (setCounter): use B_ a bit.
3500 * lyxlayout.C (Read): be sure to trim the label strings.
3502 * messages.C (Messages): fix typo in comment
3504 * buffer.C (readFile): set message_ after file is loaded.
3505 (makeDocBookFile): remove double return
3506 (changeLanguage): reset message_ upon language change.
3507 (B_): new func, use this to get translated buffer strings.
3509 * main.C: add myself and Jean Marc as authors.
3511 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3513 * messages.[hC]: pimplify Messages, and three different pimpls to be
3514 used in different circumstances.
3516 * gettext.[Ch]: change for use with new message code.
3518 2003-04-24 André Pönitz <poenitz@gmx.net>
3520 * factory.C: support for eqref
3522 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3524 * messages.[Ch]: add missing char
3526 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3528 * messages.[Ch]: New files
3530 2003-04-18 John Levon <levon@movementarian.org>
3534 * BufferView_pimpl.C:
3538 * text2.C: remove layout-copy/paste (bug 778)
3540 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3542 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3544 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3546 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3547 if they succeed. Act accordingly.
3549 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3551 * text2.C (setCharFont): adjust
3552 (setCounter): adjust
3553 (insertStringAsLines): adjust
3555 * text.C (leftMargin): adjust
3556 (setHeightOfRow): adjust
3558 * rowpainter.C (paintFirst): adjust
3561 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3563 (isFirstInSequence): ditto
3564 (getEndLabel): ditto
3567 * paragraph.C (getParLanguage): comment out some hard stuff.
3569 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3571 (simpleDocBookOnePar): ditto
3572 (makeDocBookFile): use ParagraphList::iterator
3574 * CutAndPaste.C (pasteSelection): adjust
3576 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3578 * text2.C (getFont): adjust
3579 (getLayoutFont): adjust
3580 (getLabelFont): adjust
3582 * paragraph_funcs.C (TeXOnePar): adjust
3584 * buffer.C (simpleLinuxDocOnePar): adjust
3585 (simpleDocBookOnePar): adjust
3587 * CutAndPaste.C (pasteSelection): adjust
3589 * BufferView.C (getEncoding): adjust
3591 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3593 2003-04-16 John Levon <levon@movementarian.org>
3595 * lyxfind.C: use parlist stuff for search/changes
3597 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3599 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3601 * text2.C (deleteEmptyParagraphMechanism): adjust
3603 * text2.[Ch] (ownerParagraph): delete func (both of them
3605 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3607 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3609 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3611 * ParagraphList.C: prepare for NO_NEXT
3613 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3615 * text2.C (getFont): adjust
3616 (getLayoutFont): adjust
3617 (getLabelFont): adjust
3619 * paragraph.C (getFont): adjust
3620 (getLabelFont): adjust
3621 (getLayoutFont): adjust
3623 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3625 2003-04-15 John Levon <levon@movementarian.org>
3629 * lyx_main.C: handle Include in .ui files
3631 2003-04-15 John Levon <levon@movementarian.org>
3633 * MenuBackend.C: make the doc files length shorter
3636 * ToolbarBackend.C: handle toolbar placement flags,
3639 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3641 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3644 * paragraph_funcs.C (TeXOnePar): adjust
3646 * paragraph.C (getLabelFont): add outerfont arg, adjust
3647 (getLayoutFont): ditto
3648 (simpleTeXOnePar): adjust
3650 * paragraph_pimpl.C (realizeFont): delete func
3652 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3654 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3655 row argument, constify cur argument.
3657 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3659 * text2.C (getFont): adjust
3660 (getLayoutFont): adjust
3661 (getLabelFont): adjust
3663 * paragraph_funcs.C (TeXOnePar): adjust
3664 (outerFont): new func...
3665 (realizeFont): ...moved out from here, changed this to facilitate
3668 * paragraph.C (getFont): take outerfont as arg, adjust
3669 (simpleTeXOnePar): add outerfont arg, adjust
3671 * buffer.C (simpleLinuxDocOnePar): adjust
3672 (simpleDocBookOnePar): adjust
3674 * CutAndPaste.C (pasteSelection): adjust
3676 * BufferView.C (getEncoding): adjust
3678 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3680 * text2.C (setCharFont): adjust
3681 (setCounter): adjust
3683 * text.C (leftMargin): adjust
3684 (setHeightOfRow): adjust
3686 * rowpainter.C (paintFirst): adjust
3689 * paragraph_pimpl.C (realizeFont): adjust
3691 * paragraph.C (isFirstInSequence): move from here...
3692 * paragraph_funcs.C (isFirstInSequence): ...to here
3694 * paragraph.C (outerHook): move from here...
3695 * paragraph_funcs.C (outerHook): ...to here
3697 * paragraph.C (depthHook): move from here...
3698 * paragraph_funcs.C (depthHook): ...to here
3700 * paragraph.C (getEndLabel): move from here...
3701 * paragraph_funcs.C (getEndLabel): ...to here
3703 * text2.C (realizeFont): move from here...
3704 * paragraph_funcs.C (realizeFont): ...to here
3706 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3708 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3710 2003-04-14 Angus Leeming <leeming@lyx.org>
3712 * LColor.[Ch]: scrap LColor mathcursor.
3714 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3716 * lyxlex.[Ch] (text): delete function
3717 * trans.C (Load): adjust
3718 * paragraph_funcs.C (readParToken): adjust
3720 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3722 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3723 vector<char> instead of a char[].
3725 * lyxlex_pimpl.C (getString): adjust
3727 (lex): use getString
3731 * lyxlex.C (text): use pimpl_->getString()
3735 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3737 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3738 (makeFontEntriesLayoutSpecific): temp var for par.size()
3739 (setLayout): temp var for ownerParagraphs().end()
3740 (fullRebreak): temp var for rows().end()
3741 (selectionAsString): temp var for boost::next(startpit), realize
3742 that the while really is a regular for loop.
3743 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3744 setCursor in one place.
3745 (setParagraph): temp vr for ownerParagraphs().end()
3746 (updateCounters): make the while loop a for loop
3747 (cutSelection): temp var for ownerParagraphs().end()
3748 (updateInset): make the do {} while() a regular for loop
3749 (getCursorX): use temp vars
3750 (setCurrentFont): use temp vars
3751 (getColumnNearX): use temp vars
3753 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3755 * text.C (transformChar): use temp var for getChar
3756 (computeBidiTables): use temp var for row->par()
3757 (fill): move temp vars for row->par() and pit->layout() earlier in
3759 (labelFill): use temp var for row->par()
3760 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3761 asc and desc, realize that pit never changes and that firstpit is
3762 just a duplicate and not needed. Exchange rit->par() with pit in a
3764 (breakAgain): use a temp var for boost::next(rit)
3765 (breakAgainOneRow): ditto
3766 (breakParagraph): use a temp var for rows().begin()
3767 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3768 (cursorRightOneWord): use temp var for cursor.par() and
3769 cursor.pos(), remove usage of tmpcursor.
3770 (cursorLeftOneWord): use temp var for cursor.par() and
3771 cursor.pos() only set cur at end of function.
3773 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3775 * text.C, text2.C: exchange all usage of Paragraph::next with
3776 boost::next(ParagraphList::iterator)
3778 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3780 * text2.C (cursorTop): simplify implementation
3781 (cursorBottom): ditto
3782 (setParagraph): use ParagraphList::iterator
3783 (setCurrentFont): adjust
3784 (getColumnNearX): adjust
3785 (cursorRight): adjust
3786 (cursorLeft): remove usage of Paragraph::previous
3787 (cursorUpParagraph): ditto
3788 (deleteEmptyParagraphMechanism): slight cleanup
3790 * text.C (isBoundary): take a Paragraph const & instead of a
3792 (addressBreakPoint): ditto
3793 (leftMargin): remove usage of Paragraph::previous.
3794 (setHeightOfRow): ditto
3795 (cursorLeftOneWord): ditto
3796 (selectNextWordToSpellcheck): ditto
3799 (breakParagraph): remove one usage of Paragraph::next
3800 (redoParagraph): ditto
3801 (acceptChange): ditto
3802 (insertChar): adjust
3803 (rowBreakPoint): adjust
3805 * bufferview_funcs.C (toggleAndShow): adjust
3807 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3809 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3810 methods to access it.
3812 * text.C: Added updateRowPositions to compute all row positions.
3813 Make top_y and getRowNearY() to use the cached y position
3815 2003-04-11 John Levon <levon@movementarian.org>
3817 * text.C (rowBreakPoint): reintroduce the labelEnd
3818 checks, code copied from the row fill stuff. Deep voodoo.
3820 * text.C (fill): add a comment and debugging for the
3823 2003-04-11 John Levon <levon@movementarian.org>
3825 * text.C: make sure fullrow insets get wrapped to the next line,
3826 even when they're in a manual label
3828 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3830 * text2.C (insertParagraph): make it take ParagraphList::iterator
3832 (setLayout): make it return ParagraphList::iterator
3833 (redoParagraphs): ditto
3835 (checkParagraph): ditto
3837 * text.C (getRow): make getrow take ParagraphList::iterator as arg
3839 * text2.C: adjust several funcs.
3840 (realizeFont): take a ParagraphList::iterator as arg.
3841 (getLayoutFont): ditto
3842 (getLabelFont): ditto
3843 (setCharFont): ditto
3845 * text.C: adjust several funcs.
3847 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3849 * text.C (selectNextWordToSpellcheck): don't accidentally
3852 2003-04-10 John Levon <levon@movementarian.org>
3854 * ToolbarBackend.C (getIcon): special handling for
3857 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
3859 * text2.C (cursorRight): a getChar assert fixed
3861 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3863 * text2.C (getFont): change to take a ParagraphList::iterator
3864 instead of Paragraph*
3865 Adjust several functions.
3867 * text.C (transformChar): change to take a ParagraphList::iterator
3868 instead of Paragraph*
3869 (singleWidth): ditto
3870 Adjust several functions.
3872 * rowpainter.C: adjust several functions
3873 * rowpainter.h:store a ParagraphList::iterator and not a
3877 2003-04-09 John Levon <levon@movementarian.org>
3882 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3883 and the "help" bits as well
3885 2003-04-09 John Levon <levon@movementarian.org>
3888 * ToolbarBackend.C: allow multiple toolbars
3890 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3892 * undo_funcs.C (setCursorParUndo): adjust
3894 * text_funcs.C (transposeChars): adjust
3896 * text3.C (gotoNextInset): adjust
3899 * text2.C (setLayout): adjust
3900 (changeDepth): adjust
3902 (redoParagraphs): adjust
3903 (selectionAsString): adjust
3904 (setParagraph): adjust
3905 (insertInset): adjust
3906 (cutSelection): adjust
3907 (copySelection): adjust
3908 (pasteSelection): adjust
3909 (insertStringAsLines): adjust
3910 (updateInset): adjust
3911 (setCursor): change to take a ParagraphList::iterator parameter
3912 (setCursorIntern): change to take a ParagraphList::iterator parameter
3913 (setCurrentFont): adjust
3914 (cursorLeft): adjust
3915 (cursorRight): adjust
3916 (deleteEmptyParagraphMechanism): adjust
3918 * text.C (breakParagraph): adjust
3919 (insertChar): adjust
3920 (acceptChange): adjust
3921 (rejectChange): adjust
3922 (selectNextWordToSpellcheck): adjust
3923 (changeCase): adjust
3927 * lyxfind.C (SearchForward): adjust
3928 (SearchBackward): adjust
3929 (nextChange): adjust
3931 * lyxcursor.C (par): adjust
3933 * lyxcursor.h: store a ParagraphList::iterator instead of a
3936 * lyx_cb.C (getPossibleLabel): adjust
3938 * bufferview_funcs.C (toggleAndShow): adjust
3940 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3943 * BufferView.C (removeAutoInsets): adjust
3944 (lockedInsetStoreUndo): adjust
3946 2003-04-09 John Levon <levon@movementarian.org>
3948 * ToolbarBackend.C: try icon without argument
3949 if with argument fails
3951 2003-04-08 John Levon <levon@movementarian.org>
3954 * ToolbarBackend.C: add getIcon(), handle tooltip,
3955 and change from "Icon" to "Item".
3957 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3959 * BufferView.C (lockInset): another bad getchar crunched
3961 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3963 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3966 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3968 * lyxfind.C (searchForward, searchBackwards): bug 782
3970 2003-04-07 John Levon <levon@movementarian.org>
3972 * paragraph.C: remove dead comment
3974 * text.C: remove troublesome depth-fiddling code
3975 in leftMargin() and rightMargin() (bug 1017)
3977 * text.C: fix breaking of rows in nested lists
3980 * text2.C (updateCounters): fix up depth values
3983 2003-04-07 John Levon <levon@movementarian.org>
3985 * BufferView_pimpl.C: clear message when doc finishes resizing,
3986 and after a mouse event
3988 * lyxfunc.C: clear message after exiting inset
3990 2003-04-07 John Levon <levon@movementarian.org>
3992 * bufferview_funcs.C: show math status not outside
3993 status in the statusbar
3995 2003-04-07 John Levon <levon@movementarian.org>
3997 * lyxfunc.C: note status changed after a depth change
3999 2003-04-04 Angus Leeming <leeming@lyx.org>
4001 * LaTeX.h: move AuxInfo operator==, != out of line.
4002 Remove LaTeX virtual destructor; nothing derives from it.
4003 Move operator()() out of public area and rename it startscript().
4004 Change protected for private.
4006 2003-04-04 Angus Leeming <leeming@lyx.org>
4009 * text2.C: remove unneeded #includes.
4011 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4013 * text2.C (dEPM): fix the heigth of the next row
4015 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4017 * text.C: squashed an invalid getChar requester + some ws changes
4019 2003-04-03 John Levon <levon@movementarian.org>
4021 * bufferview_funcs.h:
4022 * bufferview_funcs.C:
4025 * text2.C: make getStatus work for the env depth lfuns
4027 2003-04-03 John Levon <levon@movementarian.org>
4029 * bufferview_funcs.h:
4030 * bufferview_funcs.C:
4033 * text2.C: parlistize decDepth(), by merging it with incDepth()
4035 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4037 * lyxrow.h: store a ParagraphList::iterator instead of a
4038 Paragraph* and adjust other class functions to suit.
4040 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4043 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4045 * text2.C (setCursor): do not anchor to cursor row for the time being
4047 2003-04-02 John Levon <levon@movementarian.org>
4054 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4056 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4058 * paragraph.h: make ParagraphList and ParagraphList::iterator
4059 friends of Paragraph.
4061 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4063 * ParagraphList.C: Use the private next_ and previous_ from
4066 2003-04-01 John Levon <levon@movementarian.org>
4070 * Makefile.am: rename, remove defaults gunk
4073 * MenuBackend.C: remove defaults gunk
4076 * Languages.C: remove defaults gunk
4079 * lyx_main.C: error out if files couldn't be found.
4081 2003-04-02 John Levon <levon@movementarian.org>
4083 * text2.C: make incDepth() use parlist
4085 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4087 * undo_funcs.C (firstUndoParagraph): adjust
4089 * text3.C (gotoInset): adjust
4090 (dispatch): adjust, and rewrite loop.
4092 * text2.C (init): adjust, and rewrite loop.
4093 (redoParagraphs): adjust
4094 (updateInset): adjust, and rewrite loop.
4095 (deleteEmptyParagraphMechanism): adjust
4097 * tabular.C (LyXTabular): adjust
4098 (SetMultiColumn): adjust
4101 * lyxtext.[Ch] (ownerParagraph): delete function
4102 (ownerParagraphs): new function returns a ParagraphList.
4104 * BufferView.C (removeAutoInsets): adjust
4105 (insertErrors): adjust
4106 (setCursorFromRow): adjust
4108 2003-04-01 Angus Leeming <leeming@lyx.org>
4110 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4113 2003-04-02 John Levon <levon@movementarian.org>
4119 * text_funcs.C: make transposeChars a free function
4121 * lyxrow_funcs.C: remove wrong comment
4123 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4126 * rowpainter.C: adjust
4131 * lyxrow_funcs. [Ch]: new files
4133 * lyxrow.[Ch]: remove next and previous pointers
4134 (next,previous): remove accessor functions
4135 (isParEnd): move to lyxrow_funcs
4136 (lastPos): move to lyxrow_funcs
4137 (nextRowIsAllInset): move to lyxrow_funcs
4138 (lastPrintablePos): move to lyxrow_funcs
4139 (numberOfSeparators): move to lyxrow_funcs
4140 (numberOfHfills): move to lyxrow_funcs
4141 (numberOfLabelHfills): move to lyxrow_funcs
4142 (hfillExpansion): move to lyxrow_funcs
4146 * bufferview_funcs.C (toggleAndShow): adjust
4148 * RowList.h: Remove class RowList from file leave just a
4151 * RowList.C: delete file
4153 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4156 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4158 * text3.C (cursorPrevious): adjust
4159 (cursorNext): adjust
4162 * text2.C (redoHeightOfParagraph): adjust
4163 (redoDrawingOfParagraph): adjust
4166 * text.C (breakParagraph): adjust
4167 (insertChar): adjust
4170 * rowpainter.C (RowPainter): adjust
4171 (leftMargin): simplify and adjust
4172 (most rowpainter functions): adjust.
4174 * rowpainter.h: store the row as RowList::iterator not as Row*
4176 * lyxcursor.C (row): taka RowList::iterator as arg
4179 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4182 2003-04-01 Angus Leeming <leeming@lyx.org>
4184 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4185 stuff like bool Bool.
4187 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4189 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4192 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4194 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4197 * lyxtext.h (rows): drop one version and leve a const variant that
4198 returns a RowList::iterator.
4200 2003-03-31 Angus Leeming <leeming@lyx.org>
4202 * text.C (fill): ensure that the signature is the same as that in the
4205 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4207 * text2.C (redoParagraphs): adjust
4208 (updateCounters): adjust
4209 (checkParagraph): adjust
4210 (getColumnNearX): adjust and reformat a bit.
4212 * text.C (top_y): adjust
4214 (leftMargin): adjust
4215 (prepareToPrint): adjust
4217 (getRowNearY): adjust
4219 * lyxtext.h: make rowlist_ mutable.
4221 * RowList.h: add const_iterator
4222 * RowList.C: adjust for RowList::const_iterator.
4224 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4227 2003-03-31 John Levon <levon@movementarian.org>
4230 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4232 * lyx_main.C: set default fonts from using lyx_gui funcs
4234 * exporter.C: pdf_mode moved from lyxrc
4237 * lyxfunc.C: changes from above
4239 2003-03-31 John Levon <levon@movementarian.org>
4241 * lyx_main.C: fix to the last fix
4243 2003-03-31 John Levon <levon@movementarian.org>
4245 * bufferlist.C: "Load original" -> "Load Original"
4251 * format.C: more Alert cleanups
4253 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4255 * text2.C (removeParagraph): make it take a RowList::iterator as
4257 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4258 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4260 * text.C (anchor_row): make it take a RowList::iterator as arg,
4262 (computeBidiTables): make it take a const reference to Row instead
4263 of Row pointer, adjust.
4264 (leftMargin): make it take a RowList::iterator as arg, adjust.
4265 (rowBreakPoint): adjust
4266 (breakAgainOneRow): make it take a RowList::iterator as arg,
4268 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4270 * bufferview_funcs.C (toggleAndShow): adjust
4272 2003-03-30 John Levon <levon@movementarian.org>
4276 * boost-inst.C: moved to support
4278 * several files: changes as a result
4280 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4282 * text2.C (LyXText): adjust.
4284 (removeRow): make it take a RowList::iterator as arg, adjust.
4285 (fullRebreak): adjust
4286 (deleteEmptyParagraphMechanism): adjust
4287 (clearPaint): adjust
4290 * text.C (top_y): adjust
4291 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4292 (breakAgain): make it take a RowList::iterator as arg, adjust.
4293 (breakParagraph): adjust
4294 (insertChar): adjust
4297 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4298 need_break_row, and refresh_row.
4300 * text3.C (dispatch): adjust
4302 * text2.C (checkParagraph): adjust
4304 (setCursorFromCoordinates): adjust
4306 * text.C (top_y): adjust
4308 (getRow): make it return a RowList::iterator, adjust
4309 (getRowNearY): make it return a RowList::iterator, adjust
4311 * text2.C (init): adjust
4312 (insertRow): remove function
4313 (insertParagraph): adjust
4314 (redoParagraphs): adjust
4315 (fullRebreak): adjust
4316 (updateCounters): adjust
4318 * text.C (top_y): rewrite to use RowList iterators.
4320 (setHeightOfRow): rewrite to sue RowList iterators.
4321 (appendParagraph): adjust
4322 (breakAgain): adjust
4323 (breakAgainOneRow): adjust
4324 (breakParagraph): adjust
4326 (getRowNearY): adjust, and remove commented code.
4328 * lyxtext.h (firstRow): delete function
4329 (lastRow): delete function
4330 (rows): new function (const and non-const versions.)
4331 (insertRow): delete function
4333 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4335 2003-03-29 John Levon <levon@movementarian.org>
4337 * BufferView_pimpl.C: always update scrollbar top
4338 because pasting text when we're anchored could mean we
4339 miss an update altogether
4341 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4343 * text2.C (init): use rowlist_.end() and not 0.
4344 (insertRow): change to take a RowList::iterator as arg, adjust
4346 (insertParagraph): change to take a RowList::iterator as arg,
4348 (redoParagraphs): remove some debug msgs.
4350 * text.C (appendParagraph): change to take a RowList::iterator
4351 arg, adjust for this.
4352 (breakAgain): add an assert
4353 (breakAgainOneRow): ditto
4355 2003-03-29 John Levon <levon@movementarian.org>
4357 * text2.C: do not clear selection after inc/decDepth
4360 2003-03-29 John Levon <levon@movementarian.org>
4363 * buffer.C: fix broken strerrors according to Lars
4365 2003-03-29 John Levon <levon@movementarian.org>
4367 * converters.C: more Alert cleanups
4369 2003-03-29 John Levon <levon@movementarian.org>
4371 * bufferview_funcs.C: remove pointless Alert
4373 * buffer.C: fix confusing error message when
4374 a template is chmoded 000
4376 2003-03-29 John Levon <levon@movementarian.org>
4380 * BufferView_pimpl.C: Alert fixes
4384 * tabular-old.C: remove unused table compat reading
4386 2003-03-29 John Levon <levon@movementarian.org>
4391 * lyx_cb.C: more Alert cleanups
4393 * lyxfunc.C: don't allow chktex if not latex document
4395 2003-03-29 John Levon <levon@movementarian.org>
4399 * buffer.C: warnings pushed down from support/,
4402 2003-03-29 John Levon <levon@movementarian.org>
4404 * lyxfunc.C: safety check for C-r (revert)
4406 2003-03-29 John Levon <levon@movementarian.org>
4409 * bufferlist.C: several UI fixes using Alert::prompt.
4410 Fix the pointless looping quit code. Fix stupid revert
4415 * lyx_cb.C: use Alert::prompt
4417 * lyx_main.C: remove a silly question
4419 * lyxfunc.C: remove a couple of silly questions,
4422 2003-03-28 John Levon <levon@movementarian.org>
4424 * text2.C: fix bug 974 (End on empty par)
4426 2003-03-28 John Levon <levon@movementarian.org>
4428 * BufferView_pimpl.C:
4430 * lfuns.h: remove do-nothing math greek lfuns
4432 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4434 * lyxgluelength.h (isValidGlueLength): add default arg on
4435 parameter 2. Remove default arg from friend in class.
4437 * lyxlength.h (isValidLength): add default arg on parameter 2.
4438 Remove default arg from friend in class.
4440 * text2.C (LyXText): adjust, initialize refresh_row.
4444 (insertParagraph): adjst
4445 (redoParagraphs): adjust
4446 (fullRebreak): adjust
4447 (updateCounters): adjust
4448 (deleteEmptyParagraphMechanism): first attempt at fixing a
4451 * text.C (top_y): adjust
4452 (setHeightOfRow): adjust
4454 (getRowNearY): adjust
4456 * lyxtext.h: include RowList.h
4457 (~LyXText): not needed anymore, deleted.
4458 (firstRow): modify for RowList
4459 (lastRow): new function
4460 Delete firstrow and lastrow class variables, add a Rowlist
4461 rowlist_ class variable.
4463 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4466 * RowList.C (insert): fix case where it == begin().
4468 2003-03-26 Angus Leeming <leeming@lyx.org>
4470 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4471 the thesaurus dialog.
4473 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4475 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4477 * RowList.[Ch]: new files
4479 * ParagraphList.C (erase): handle the case where it == begin
4482 2003-03-25 John Levon <levon@movementarian.org>
4486 * aspell.C: add new aspell support
4489 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4492 2003-03-25 Angus Leeming <leeming@lyx.org>
4495 * LyXAction.C (init): new LFUN_INSET_INSERT.
4497 * BufferView_pimpl.C (dispatch): split out part of the
4498 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4500 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4503 2003-03-25 Angus Leeming <leeming@lyx.org>
4505 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4507 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4510 * text3.C: remove useless row->height(0)
4512 2003-03-25 John Levon <levon@movementarian.org>
4516 * text3.C: rename the refreshing stuff to better names
4518 2003-03-24 John Levon <levon@movementarian.org>
4520 * BufferView_pimpl.h:
4521 * BufferView_pimpl.C: update layout choice on a mouse
4524 2003-03-23 John Levon <levon@movementarian.org>
4526 * Makefile.am: fix commandtags.h reference
4528 2003-03-22 John Levon <levon@movementarian.org>
4530 * BufferView_pimpl.C:
4535 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4537 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4540 * text.C: take the rtl methods out of line
4542 2003-03-21 André Pönitz <poenitz@gmx.net>
4544 * metricsinfo.[Ch]: new files containing structures to be passed around
4545 during the two-phase-drawing...
4547 2003-03-21 André Pönitz <poenitz@gmx.net>
4549 * lyxtextclass.C: read 'environment' tag.
4551 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4553 * text2.C (removeRow): fix bug 964
4555 2003-03-20 John Levon <levon@movementarian.org>
4559 * text2.C: paint cleanups. Inset::update() dropped font
4562 2003-03-19 John Levon <levon@movementarian.org>
4564 * lyxfunc.C: only fitcursor/markDirty if available()
4566 2003-03-19 John Levon <levon@movementarian.org>
4568 * commandtags.h: rename to ...
4570 * lfuns.h: ... this, and renumber / cleanup
4572 2003-03-19 John Levon <levon@movementarian.org>
4574 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4575 fit the cursor after an lfun
4579 * BufferView_pimpl.h:
4580 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4582 * LyXAction.C: layout-character should have ReadOnly
4584 * ParagraphParameters.C:
4586 * bufferview_funcs.C:
4593 * undo_funcs.C: changes from above
4595 2003-03-18 John Levon <levon@movementarian.org>
4597 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4598 remove it from update()
4600 * lyxfunc.C: update layout choice after an lfun
4602 * text3.C: remove extra updateLayoutChoice()s
4604 2003-03-18 John Levon <levon@movementarian.org>
4606 * text.C: top_y change means full repaint, fix
4607 a drawing bug with cursor movement
4609 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4613 * text2.C: anchor row on setCursor
4615 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4617 * lyxtext.h: remove almost all mutable keywords
4620 * text3.C: remove const keywords accordingly
4622 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4624 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4626 (TeXEnvironment): ditto
4629 2003-03-17 John Levon <levon@movementarian.org>
4631 * text.C (rowBreakPoint): remove attempt to fix displayed
4632 math insets inside a manual label
4634 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4636 * lyxtext.h: remove BufferView* as first arg from almost all class
4638 * other files: adjust.
4640 2003-03-17 John Levon <levon@movementarian.org>
4644 * text2.C: more paint cleanups
4646 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4649 * rowpainter.C: remove "smart" background painting code
4651 2003-03-16 John Levon <levon@movementarian.org>
4656 * text3.C: add helper functions for setting refresh_row/y
4658 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4660 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4661 newline inset which *can* get inserted in the pass_thru layouts.
4662 This is primarily for literate documents.
4664 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4666 * buffer.C: increment LYX_FORMAT to 223
4668 2003-03-14 André Pönitz <poenitz@gmx.net>
4670 * textclass.h: prepare for environment handling, ws changes
4671 * lyxlayout.C: read latexheader and latexfooter tags
4673 2003-03-14 John Levon <levon@movementarian.org>
4675 * text2.C: rewrite ::status() a bit
4677 2003-03-13 John Levon <levon@movementarian.org>
4679 * lyxtext.h: add some docs
4681 2003-03-13 John Levon <levon@movementarian.org>
4686 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4688 2003-03-13 John Levon <levon@movementarian.org>
4690 * text3.C: fix appendix redrawing
4692 2003-03-13 John Levon <levon@movementarian.org>
4694 * text.C (setHeightOfRow):
4696 * rowpainter.C: make appendix mark have the text
4697 "Appendix" so the user knows what it is
4700 * LColor.C: s/appendixline/appendix/ from above
4702 2003-03-13 John Levon <levon@movementarian.org>
4704 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4706 * text.C: fix a getChar(pos) bug properly
4708 2003-03-13 Angus Leeming <leeming@lyx.org>
4711 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4712 Probably only temporary. Let's see how things pan out.
4714 * BufferView.C (unlockInset):
4715 * BufferView_pimpl.C (fitCursor):
4716 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4718 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4719 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4721 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4722 new functions that convert ParagraphParameters to and from a string.
4724 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4725 BufferView::Pimpl's dispatch.
4726 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4728 2003-03-13 André Pönitz <poenitz@gmx.net>
4732 * factory.C: make it aware of InsetEnv
4734 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4736 * text2.C (setCursor): never ask for one past last
4737 (setCursor): add some debugging messages.
4739 * text.C (singleWidth): never ask for one past last
4740 (singleWidth): ditto
4742 (rightMargin): ditto
4743 (rowBreakPoint): ditto
4744 (setHeightOfRow): ditto
4745 (prepareToPrint): ditto
4747 * rowpainter.C (paintBackground): never ask for one past last
4748 (paintText): never ask for one past last
4750 * paragraph_pimpl.C (getChar): make the assert stricter, never
4751 allow the one past last pos to be taken
4753 * paragraph.C (getChar): ws changes only
4755 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4756 (numberOfSeparators): ditto
4757 (numberOfHfills): ditto
4759 2003-03-12 John Levon <levon@movementarian.org>
4765 * paragraph_funcs.C: fix per-buffer authorlists
4767 2003-03-12 John Levon <levon@movementarian.org>
4769 * text.C: fix newline in right address
4771 2003-03-12 Angus Leeming <leeming@lyx.org>
4773 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4774 duplicate those in LyXFunc::dispatch.
4778 * ToolbarDefaults.C:
4779 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4780 Add LFUN_FONTFREE_UPDATE.
4782 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4783 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4785 * bufferview_func.[Ch]: several new functions to facilliate
4786 transfer of data to and from the character dialog.
4788 2003-03-12 John Levon <levon@movementarian.org>
4793 * paragraph_funcs.C:
4794 * paragraph_pimpl.C:
4798 * text3.C: remove META_NEWLINE in favour of an inset
4801 * rowpainter.C: remove paintNewline (done by inset)
4803 2003-03-12 John Levon <levon@movementarian.org>
4805 * paragraph_pimpl.C: complain about bad getChar()s
4806 for a while at least
4808 2003-03-12 John Levon <levon@movementarian.org>
4811 * buffer.C: move paragraph read into a separate function,
4812 a little renaming to reflect that.
4815 * bufferparams.C: remove the author_ids map, not necessary now
4818 * factory.C: moved Buffer::readInset to here
4820 * paragraph_funcs.h:
4821 * paragraph_funcs.C: readParagraph free function moved from
4824 * tabular.C: name change
4826 2003-03-12 John Levon <levon@movementarian.org>
4829 * ParagraphParameters.C: move par params input to
4832 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4833 behave like a normal read from the stream wrt reading
4834 a line vs. a \\token
4836 2003-03-12 John Levon <levon@movementarian.org>
4839 * ParagraphParameters.h:
4840 * ParagraphParameters.C: move output code to a
4843 2003-03-12 John Levon <levon@movementarian.org>
4845 * BufferView.C (insertLyXFile):
4848 * tabular.C: use a parlist iterator for creating the
4851 2003-03-12 John Levon <levon@movementarian.org>
4853 * buffer.C: make current_change static local not
4856 2003-03-12 John Levon <levon@movementarian.org>
4858 * buffer.C: fix insertStringAsLines for change tracking
4860 2003-03-12 John Levon <levon@movementarian.org>
4867 * bufferparams.C: move author list into params. Rename some
4868 functions. Move the header reading into a separate token
4869 loop. Move the header token reading into BufferParams.
4871 2003-03-12 John Levon <levon@movementarian.org>
4873 * changes.C: put debug inside lyxerr.debugging() checks
4875 2003-03-11 André Pönitz <poenitz@gmx.net>
4877 * factory.C: make it aware of InsetHFill
4879 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4881 * buffer.C (latexParagraphs): move function from here...
4882 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4885 2003-03-10 Angus Leeming <leeming@lyx.org>
4887 * LyXAction.C (init): fix bug in poplating array with multiple entries
4888 with the same LFUN (spotted by JMarc).
4890 2003-03-10 John Levon <levon@movementarian.org>
4893 * text2.C: move getColumnNearX() near its
4896 2003-03-10 John Levon <levon@movementarian.org>
4898 * text.C: fix break before a minipage
4900 2003-03-10 John Levon <levon@movementarian.org>
4902 * text.C: fix the last commit
4904 2003-03-09 John Levon <levon@movementarian.org>
4908 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4909 bug 365 (don't break before insets unless needed). Don't
4910 return a value > last under any circumstances.
4912 2003-03-09 Angus Leeming <leeming@lyx.org>
4914 * BufferView_pimpl.C (trackChanges, dispatch): call
4915 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4917 2003-03-09 Angus Leeming <leeming@lyx.org>
4919 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4920 than Dialogs::showAboutlyx().
4922 2003-03-09 Angus Leeming <leeming@lyx.org>
4924 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4925 than Dialogs::showTabularCreate().
4927 2003-03-09 John Levon <levon@movementarian.org>
4931 * text2.C: 3rd arg to nextBreakPoint was always the same.
4934 2003-03-08 John Levon <levon@movementarian.org>
4941 * text2.C: Remove the "main" bit from the "main body"
4944 2003-03-08 John Levon <levon@movementarian.org>
4946 * text.C (leftMargin): The left margin of an empty
4947 manual label paragraph should not include the label width
4950 * text.C (prepareToPrint): don't attempt to measure hfills
4951 for empty manual label paragraphs - the answer should be 0
4953 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4955 * CutAndPaste.C: remove commented code and reindent.
4957 2003-03-08 John Levon <levon@movementarian.org>
4960 * lyxfunc.C: move reloadBuffer()
4963 * BufferView.C: to here
4965 * lyxvc.C: add comment
4968 * vc-backend.C: call bv->reload() to avoid
4969 getStatus() check on MENURELOAD
4971 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4973 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4974 to an old format .dep file.
4976 2003-03-07 Angus Leeming <leeming@lyx.org>
4978 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4979 when the LFUN_MOUSE_RELEASE should have been handled by
4980 inset->localDispatch.
4982 2003-03-07 Angus Leeming <leeming@lyx.org>
4984 * BufferView_pimpl.C (dispatch):
4985 * LyXAction.C (init):
4986 * ToolbarDefaults.C (init):
4988 * lyxfunc.C (getStatus):
4989 remove LFUN_INSET_GRAPHICS.
4991 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4993 2003-03-07 Angus Leeming <leeming@lyx.org>
4996 * LyXAction.C (init):
4997 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4999 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5002 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5004 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5005 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5007 2003-03-07 Angus Leeming <leeming@lyx.org>
5009 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5012 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5014 * ParagraphList.C (front): new function
5017 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5019 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5020 and top_row_offset_. removed var first_y.
5022 * text2.C (LyXText, removeRow):
5024 * BufferView_pimpl.C:
5025 use these methods instead of using first_y
5027 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5029 * text2.C (pasteSelection): adjust for checkPastePossible
5031 * CutAndPaste.C: remove Paragraph * buf and replace with
5032 ParagraphList paragraphs.
5033 (DeleteBuffer): delete
5034 (cutSelection): change the tc type to textclass_type
5035 (copySelection): change the tc type to textclass_type
5036 (copySelection): adjust for ParagraphList
5037 (pasteSelection): change the tc type to textclass_type
5038 (pasteSelection): adjust for Paragraphlist
5039 (nrOfParagraphs): simplify for ParagraphList
5040 (checkPastePossible): simplify for ParagraphList
5041 (checkPastePossible): remove unused arg
5043 * ParagraphList.C (insert): handle the case where there are no
5046 * CutAndPaste.h: make CutAndPaste a namespace.
5048 * text3.C (dispatch): adjust
5050 * text.C (breakParagraph): add a ParagraphList as arg
5052 * paragraph_funcs.C (breakParagraph): change to take a
5053 BufferParams and a ParagraphList as args.
5054 (breakParagraphConservative): ditto
5055 (mergeParagraph): ditto
5056 (TeXDeeper): add a ParagraphList arg
5057 (TeXEnvironment): ditto
5060 * buffer.C (readLyXformat2): adjust
5061 (insertStringAsLines): adjust
5062 (latexParagraphs): adjust
5064 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5065 (cutSelection): adjust
5066 (pasteSelection): adjust
5068 * BufferView_pimpl.C (insertInset): adjust
5070 2003-03-05 Angus Leeming <leeming@lyx.org>
5073 * LyXAction.C (init):
5074 * BufferView_pimpl.C (dispatch):
5075 * lyxfunc.C (getStatus):
5076 remove LFUN_CHILD_INSERT.
5078 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5080 2003-03-05 Angus Leeming <leeming@lyx.org>
5083 * LyXAction.C (init):
5084 * src/factory.C (createInset):
5085 * lyxfunc.C (getStatus):
5086 * text3.C (dispatch):
5087 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5089 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5091 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5093 * ParagraphList.C (insert): handle insert right before end()
5094 (erase): fix cases where it can be first or last paragraph.
5096 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5098 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5099 Paragraph::next and Paragraph::previous
5102 * text.C (breakParagraph): adjust
5104 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5105 BufferParams& as arg.
5106 (breakParagraph): use ParagraphList::insert
5107 (breakParagraphConservative): take a Buffer* instead of a
5108 BufferParams& as arg.
5109 (breakParagraphConservative): use ParagraphList::insert.
5111 * buffer.C (insertStringAsLines): un-const it
5112 (insertStringAsLines): adjust
5114 * ParagraphList.C (insert): new function
5116 * CutAndPaste.C (pasteSelection): adjust
5118 * text.C (backspace): adjust
5120 * tabular.C (SetMultiColumn): adjust
5122 * CutAndPaste.C (cutSelection): adjust
5123 (pasteSelection): adjust
5125 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5126 Buffer const * as arg
5128 * ParagraphList.C (erase): new function
5129 * paragraph_funcs.C (mergeParagraph): use it
5130 (mergeParagraph): make it take a Buffer* instead of a
5131 BufferParams* as arg
5133 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5135 (breakParagraphConservative): ditto
5137 * paragraph.h: remove the breakParagraph friend
5139 * paragraph.C (eraseIntern): new function
5140 (setChange): new function
5142 * paragraph_funcs.C (mergeParagraph): make it take a
5143 ParagraphList::iterator instead of a Paragraph *, adjust
5146 * paragraph.h: move an #endif so that the change tracking stuff
5147 also works in the NO_NEXT case.
5149 2003-03-04 Angus Leeming <leeming@lyx.org>
5152 * LyXAction.C: new LFUN_INSET_MODIFY.
5154 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5155 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5157 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5159 * several files: ws changes only
5161 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5162 (TeXEnvironment): ditto
5165 * buffer.C (makeLaTeXFile): adjust
5166 (latexParagraphs): make it take ParagraphList::iterator as args
5168 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5170 * buffer.C (latexParagraphs): adjust
5172 * paragraph.C (TeXOnePar): move function...
5173 (optArgInset): move function...
5174 (TeXEnvironment): move function...
5175 * paragraph_pimpl.C (TeXDeeper): move function...
5176 * paragraph_funcs.C: ...here
5178 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5180 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5182 * buffer.C (readInset): remove compability code for old Figure and
5185 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5187 * buffer.C: ws changes
5190 * BufferView_pimpl.C: ditto
5193 * bufferlist.h: ditto
5197 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5199 * converter.[Ch]: split into itself +
5202 * Makefile.am: += graph.[Ch] + format.[Ch]
5209 * lyxrc.C: added #include "format.h"
5211 2003-02-27 Angus Leeming <leeming@lyx.org>
5213 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5216 * factory.C (createInset): add "label" to the factory.
5218 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5219 string and do no more.
5221 2003-02-27 Angus Leeming <leeming@lyx.org>
5224 * LyXAction.C (init):
5225 * factory.C (createInset):
5226 * BufferView_pimpl.C (dispatch):
5227 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5229 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5231 * lyxfunc.C (dispatch):
5232 * text3.C (dispatch): pass name to params2string.
5234 2003-02-26 Angus Leeming <leeming@lyx.org>
5236 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5238 Rearrange the ~includes. Strip out the unnecessary ones.
5240 * factory.C (createInset): reformat.
5241 create new insets for the various LFUN_XYZ_APPLY lfuns.
5243 2003-02-26 John Levon <levon@movementarian.org>
5246 * lyxrow.C: add isParStart,isParEnd helpers
5248 * paragraph.h: make isInserted/DeletedText take refs
5250 * paragraph_funcs.h:
5251 * paragraph_funcs.C: remove #if 0'd code
5256 * text.C: use lyxrow helpers above.
5257 Move draw and paint routines to RowPainter.
5258 Make several methods use refs not pointers.
5259 Make backgroundColor() const.
5260 Add markChangeInDraw(), isInInset().
5261 Merge changeRegionCase into changeCase.
5262 Make workWidth() shouldn't-happen code into an Assert.
5265 * rowpainter.C: new class for painting a row.
5268 * vspace.C: make inPixels take a ref
5270 2003-02-26 Angus Leeming <leeming@lyx.org>
5272 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5275 2003-02-25 John Levon <levon@movementarian.org>
5277 * ispell.C: give the forked command a more accurate name
5279 2003-02-22 John Levon <levon@movementarian.org>
5282 * toc.C: make TocItem store an id not a Paragraph *
5285 2003-02-21 Angus Leeming <leeming@lyx.org>
5287 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5288 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5289 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5290 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5291 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5292 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5294 * BufferView_pimpl.C (dispatch):
5295 * LyXAction.C (init):
5296 * factory.C (createInset):
5297 * lyxfunc.C (getStatus, dispatch):
5298 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5300 2003-02-21 Angus Leeming <leeming@lyx.org>
5302 * BufferView_pimpl.C (MenuInsertLyXFile):
5303 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5304 * lyxfunc.C (menuNew, open, doImport):
5305 no longer pass a LyXView & to fileDlg.
5307 2003-02-21 Angus Leeming <leeming@lyx.org>
5309 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5310 * LyXAction.C: change, BIBKEY to BIBITEM.
5311 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5312 Change InsetBibKey to InsetBibitem.
5313 Change BIBKEY_CODE to BIBITEM_CODE.
5314 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5315 * factory.C: replace insetbib.h with insetbibitem.h.
5316 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5317 * paragraph.C: replace insetbib.h with insetbibitem.h.
5318 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5319 Change bibkey() to bibitem().
5320 * text.C: remove insetbib.h.
5321 * text2.C: replace insetbib.h with insetbibitem.h.
5322 change bibkey() to bibitem().
5323 * text3.C: remove insetbib.h.
5324 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5326 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5328 * lyxrc.C (output): enclose user email in quotes (in case there are
5331 2003-02-18 John Levon <levon@movementarian.org>
5333 * buffer.h: add std::
5335 2003-02-17 John Levon <levon@movementarian.org>
5341 * pspell.C: reworking. Especially in ispell, a large
5342 number of clean ups and bug fixes.
5344 * lyxfunc.C: fix revert to behave sensibly
5346 2003-02-17 André Pönitz <poenitz@gmx.net>
5349 * commandtags.h: new LFUN_INSERT_BIBKEY
5359 * paragraph_func.C: remove special bibkey handling
5361 2003-02-17 John Levon <levon@movementarian.org>
5363 * text.C (Delete): fix case where delete at the end of
5364 the very first paragraph would not merge the pars
5366 2003-02-17 John Levon <levon@movementarian.org>
5368 * lyxrow.C: fix lastPrintablePos()
5370 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5372 * bufferparams.C (writeLaTeX): add a std:here
5374 * buffer.C: and remove a using directive there
5376 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5378 * buffer.C (makeLaTeXFile): move the code that generates the
5381 * bufferparams.C (writeLaTeX): ... in this new method
5383 * LaTeXFeatures.C (getEncodingSet): make const
5384 (getLanguages): make const
5386 * MenuBackend.C (binding): returns the binding associated to this
5388 (add): sets the status of each item by calling getStatus. Adds
5390 (read): add support for OptSubMenu
5391 (expand): remove extra separator at the end of expanded menu
5393 2003-02-15 John Levon <levon@movementarian.org>
5396 * BufferView_pimpl.C:
5398 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5399 inset code that had no actual effect. Remove unneeded status
5402 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5404 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5407 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5409 * text.C (drawLengthMarker): also draw an arrow marker for
5410 symbolic lengths (medskip...)
5412 2003-02-14 John Levon <levon@movementarian.org>
5415 * tabular.C: better method names
5417 2003-02-14 John Levon <levon@movementarian.org>
5419 * BufferView_pimpl.C:
5424 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5425 it's a more accurate name. Remove some pointless uses.
5427 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5429 * text2.C (LyXText): change order of initilizers to shut off
5432 2003-02-14 John Levon <levon@movementarian.org>
5434 * buffer.C: use ParIterator for getParFromID()
5438 * paragraph_pimpl.h:
5439 * paragraph_pimpl.C: remove unused getParFromID()
5441 2003-02-14 John Levon <levon@movementarian.org>
5443 * buffer.C: remove some very old #if 0'd parse code
5445 2003-02-13 John Levon <levon@movementarian.org>
5449 * text2.C: move hfillExpansion(), numberOfSeparators(),
5450 rowLast(), rowLastPrintable(), numberofHfills(),
5451 numberOfLabelHfills() ...
5454 * lyxrow.C: ... to member functions here.
5459 * text.C: remove LyXText::beginningOfMainBody(), and call
5460 p->beginningOfMainBody() directly. Move the check for
5461 LABEL_MANUAL into the latter.
5468 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5474 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5475 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5477 2003-02-13 John Levon <levon@movementarian.org>
5479 * CutAndPaste.C: remove debug
5481 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5483 * paragraph.C (asString): remove two unused variables
5485 * lyxtextclass.C (readTitleType):
5487 (LyXTextClass): handle new members titletype_ and titlename_
5489 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5491 2003-02-09 John Levon <levon@movementarian.org>
5494 * buffer.C: replace hand-coded list with a map for the dep clean
5496 2003-02-08 John Levon <levon@movementarian.org>
5498 * LaTeX.C: consolidate code into showRunMessage() helper
5500 2003-02-08 John Levon <levon@movementarian.org>
5505 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5506 and pass the size in explicitly
5508 * BufferView_pimpl.h:
5509 * BufferView_pimpl.C:
5511 * BufferView.C: add getCurrentChange()
5513 * BufferView_pimpl.h:
5514 * BufferView_pimpl.C: handle change lfuns
5516 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5517 for changes. Mark pasted paragraphs as new.
5519 * support/lyxtime.h:
5520 * support/lyxtime.C:
5521 * DepTable.C: abstract time_t as lyx::time_type
5524 * LColor.C: add colours for new text, deleted text, changebars
5526 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5527 package use "usenames" option.
5531 * LyXAction.C: add change lfuns
5535 * author.C: author handling
5538 * buffer.C: add a per-buffer author list, with first entry as
5539 current author. Handle new .lyx tokens for change tracking. Output
5540 author list to .lyx file. Output dvipost stuff to .tex preamble.
5541 Bump lyx format to 222.
5544 * bufferlist.C: add setCurrentAuthor() to reset current author details
5548 * bufferparams.C: add param for tracking
5550 * bufferview_funcs.C: output change info in minibuffer
5554 * changes.C: add change-tracking structure
5557 * debug.C: add CHANGES debug flag
5560 * lyxfind.C: add code for finding the next change piece
5563 * lyxrc.C: add user_name and user_email
5566 * lyxrow.C: add a metric for the top of the text line
5569 * text.C: implement accept/rejectChange()
5572 * text.C: paint changebars. Paint new/deleted text in the chosen
5573 colours. Strike through deleted text.
5577 * paragraph_pimpl.h:
5578 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5579 in the current change to the insert functions. Rework erase to
5580 mark text as deleted, adding an eraseIntern() and a range-based
5581 erase(). Implement per-paragraph change lookup and
5584 * paragraph_funcs.C: Fixup paste for change tracking.
5586 * tabular.C: mark added row/columns as new.
5588 * text.C: fix rowLast() to never return -1. Don't allow
5589 spellchecking of deleted text. Track transpose changes. Don't
5590 allow paragraph break or merge where appropriate.
5592 * text2.C: leave cursor at end of selection after a cut.
5594 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5596 * text.C (getLengthMarkerHeight):
5597 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5598 visible on screen too.
5600 2003-02-07 John Levon <levon@movementarian.org>
5602 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5604 2003-02-05 Angus Leeming <leeming@lyx.org>
5606 * lyxserver.C (read_ready): revert my patch of 11 September last year
5607 as it sends PC cpu through the roof. Presumably this means that
5608 the lyxserver will no longer run on an Alpha...
5610 2003-01-30 Angus Leeming <leeming@lyx.org>
5612 * factory.C (createInset): create an InsetCommandParam of type "index"
5613 and use it to 'do the right thing'.
5615 * text2.C (getStringToIndex): ensure that cursor position is always
5616 reset to the reset_cursor position.
5618 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5620 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5623 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5627 * lyxfunc.C: Output messages with identical spelling, punctuation,
5630 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5632 * MenuBackend.C (expandFormats): List only viewable export formats
5635 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5638 * lyxfunc.C (getStatus): Make sure that formats other than
5639 "fax" can also be disabled
5641 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5643 * text3.C (dispatch): put the lfuns that insert insets in 3
5644 groups, and call doInsertInset with appropriate arguments.
5645 (doInsertInset): new function, that creates an inset and inserts
5646 it according to some boolean parameters.
5648 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5650 * buffer.C (readFile): remember to pass on 'par' when calling
5651 readFile recursively.
5653 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5655 * MenuBackend.C (expandFormats): add "..." to import formats.
5657 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5659 * paragraph.C (asString): Remove XForms RTL hacks.
5661 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5662 * buffer.C: fix typo
5664 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5666 * Makefile.am (LIBS): delete var
5667 (lyx_LDADD): add @LIBS@ here instead.
5669 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5671 * Clarify the meaning of "wheel mouse jump"
5673 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5675 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5678 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5680 * importer.C (Loaders): do not preallocate 3 elements in the
5681 vector, since one ends up with 6 elements otherwise
5683 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5685 * DepTable.C (write): write the file name as last element of the
5686 .dep file (because it may contain spaces)
5687 (read): read info in the right order
5689 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5691 * paragraph_pimpl.C (simpleTeXBlanks):
5692 (simpleTeXSpecialChars):
5693 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5695 * tabular.C (latex): add some missing case statements. Reindent.
5697 * MenuBackend.C (expandToc): remove unused variable.
5699 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5708 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5711 2003-01-05 John Levon <levon@movementarian.org>
5714 * BufferView.C: add getEncoding()
5717 * kbsequence.C: do not store last keypress
5720 * lyxfunc.C: store last keypress here instead. Pass encoding
5723 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5725 * lyx_main.C (init): remove annoying error message when following
5726 symbolic links (bug #780)
5728 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5730 * text.C (insertChar):
5731 * lyxrc.C (getDescription): remove extra spaces
5733 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5735 * lyxrc.C (getDescription): remove extra spaces
5737 2002-12-20 John Levon <levon@movementarian.org>
5739 * text3.C: hack fix for page up/down across tall rows
5741 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5743 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5746 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5748 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5749 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5750 thesaurus is not compiled in
5752 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5754 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5756 2002-12-16 Angus Leeming <leeming@lyx.org>
5759 * lyx_main.C (init): remove override_x_deadkeys stuff.
5761 2002-12-12 John Levon <levon@movementarian.org>
5763 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5764 insert. Only remove shift modifier under strict
5767 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5769 * MenuBackend.C (expandToc): fix crash.
5771 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5773 * MenuBackend.C (expandToc): gettext on float names.
5775 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5777 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5778 implement bool empty() [bug 490]
5780 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5782 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5784 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5786 * several files: ws changes
5788 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5790 * text2.C (setCounter): clean up a bit, use boost.format.
5791 (updateCounters): initialize par upon declaration.
5793 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5794 if the layout exists. We do not just store the layout any more.
5795 (SwitchLayoutsBetweenClasses): use boost.format
5797 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5799 * converter.C (convert): if from and to files are the same, use a
5800 temporary files as intermediary
5802 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5805 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5807 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5809 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5811 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5813 * tabular.C (asciiPrintCell): use string(size, char) instead of
5816 * sgml.C (openTag): fix order of arguments to string constructor
5819 * lyxfunc.C (dispatch): use boost.format
5821 * lots of files: change "c" -> 'c'
5823 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5825 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5827 2002-11-25 Angus Leeming <leeming@lyx.org>
5829 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5831 * lyx_main.C (init): compile fix.
5833 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5835 * lyx_cb.C (start): boost.formatify
5836 do not include <iostream>
5838 * lengthcommon.C: ws only
5840 * boost-inst.C,BoostFormat.h: add more explict instantations
5842 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5844 * lots of files: handle USE_BOOST_FORMAT
5846 2002-11-21 John Levon <levon@movementarian.org>
5848 * pspell.C: fix compile
5850 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5852 * lyxfunc.C (dispatch): use boost::format
5856 * lyxfont.C (stateText): use boost::format
5858 * lyx_main.C (LyX): use boost::format
5860 (queryUserLyXDir): ditto
5863 (typedef boost::function): use the recommened syntax.
5865 * importer.C (Import): use boost::format
5867 * debug.C (showLevel): use boost::format
5869 * converter.C (view): use boost::format
5874 * bufferview_funcs.C (currentState): use boost::format
5876 * bufferlist.C (emergencyWrite): use boost::format
5878 * buffer.C (readLyXformat2): use boost::format
5879 (parseSingleLyXformat2Token): ditto
5881 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5883 * LaTeX.C (run): use boost::format
5885 * Chktex.C (scanLogFile): use boost::format
5887 * BufferView_pimpl.C (savePosition): use boost::format
5888 (restorePosition): ditto
5889 (MenuInsertLyXFile): ditto
5891 * BoostFormat.h: help file for explicit instation.
5893 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
5895 * tabular.C (latex): Support for block alignment in fixed width
5898 2002-11-17 John Levon <levon@movementarian.org>
5900 * BufferView_pimpl.C:
5902 * lyxfunc.C: split filedialog into open/save
5904 2002-11-08 Juergen Vigna <jug@sad.it>
5906 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5907 by my last patch (hopefully).
5909 2002-11-08 John Levon <levon@movementarian.org>
5918 * toc.C: ParConstIterator, and use it (from Lars)
5920 2002-11-07 Ben Stanley <bds02@uow.edu.au>
5922 * lyxtextclass.[Ch]: revise and add doxygen comments
5924 2002-11-07 John Levon <levon@movementarian.org>
5926 * text.C: fix progress value for spellchecker
5928 * toc.C: fix navigate menu for insetwrap inside minipage
5930 * paragraph_funcs.C: added FIXME for suspect code
5932 2002-11-07 John Levon <levon@movementarian.org>
5934 * BufferView_pimpl.C: fix redrawing of insets
5937 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5939 * text2.C (updateCounters): fix bug 668
5941 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5943 * text3.C (dispatch): Do not make the buffer dirty when moving the
5946 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5948 * vc-backend.C: STRCONV
5951 * text2.C (setCounter): STRCONV
5953 * paragraph.C (asString): STRCONV
5955 * lyxlength.C (asString): STRCONV
5956 (asLatexString): ditto
5958 * lyxgluelength.C (asString): STRCONV
5959 (asLatexString): ditto
5961 * lyxfunc.C (dispatch): STRCONV
5964 * lyxfont.C (stateText): STRCONV
5966 * importer.C (Import): STRCONV
5968 * counters.C (labelItem): STRCONV
5969 (numberLabel): ditto
5970 (numberLabel): remove unused ostringstream o
5975 * bufferview_funcs.C (currentState): STRCONV
5977 * buffer.C (readFile): STRCONV
5978 (asciiParagraph): ditto
5979 (makeLaTeXFile): ditto
5981 * Spacing.C (writeEnvirBegin): STRCONV
5983 * LaTeXFeatures.C (getLanguages): STRCONV
5984 (getPackages): ditto
5986 (getBabelOptions): ditto
5987 (getTClassPreamble): ditto
5988 (getLyXSGMLEntities): ditto
5989 (getIncludedFiles): ditto
5993 (scanAuxFile): ditto
5996 * LString.h: add the STRCONV macros
5998 * BufferView_pimpl.C (savePosition): STRCONV
5999 (restorePosition): ditto
6000 (MenuInsertLyXFile): ditto
6002 * vc-backend.C (scanMaster): change from submatch[...] to
6005 * funcrequest.C: include config.h
6007 * factory.C: include config.h
6009 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6011 * box.C: include config.h
6013 * LaTeX.C (scanAuxFile): change from submatch[...] to
6017 2002-10-25 Angus Leeming <leeming@lyx.org>
6019 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6021 * ispell.[Ch] (setError): new method.
6022 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6023 Use setError() insetead of goto END.
6025 * lyx_cb.C (AutoSave): move out child process into new class
6028 2002-10-30 John Levon <levon@movementarian.org>
6030 * text3.C: make start appendix undoable
6032 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6034 * lyxlength.C (inPixels): Fix returned value.
6036 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6039 2002-10-24 Angus Leeming <leeming@lyx.org>
6041 * lyxgluelength.h: no need to forward declare BufferParams
6042 or BufferView, so don't.
6044 2002-10-21 John Levon <levon@movementarian.org>
6046 * BufferView.C: menuUndo ->undo, redo
6048 * BufferView.h: document, remove dead, make some methods private
6050 * paragraph_funcs.h:
6051 * paragraph_funcs.C:
6052 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6057 * sgml.C: move sgml open/close tag into sgml.C
6059 * bufferview_funcs.h: unused prototype
6062 * lyxfunc.C: remove unused
6065 * text.C: remove unused
6067 2002-10-21 John Levon <levon@movementarian.org>
6071 * BufferView_pimpl.h:
6072 * BufferView_pimpl.C: fix mouse wheel handling based on
6073 patch from Darren Freeman
6075 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6077 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6079 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6081 * lyxlength.C (inPixels): Fix hanfling of negative length.
6082 Fix LyXLength::MU case.
6084 2002-10-16 John Levon <levon@movementarian.org>
6086 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6088 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6090 * converter.C (view): add support for $$i (file name) and $$p
6091 (file path) for the viewer command. If $$i is not specified, then
6092 it is appended to the command (for compatibility with old syntax)
6094 2002-10-14 Juergen Vigna <jug@sad.it>
6096 * undo_funcs.C (textHandleUndo): alter the order in which the
6097 new undopar is added to the LyXText, as we have to set first
6098 the right prev/next and then add it as otherwise the rebuild of
6099 LyXText is not correct. Also reset the cursor to the right paragraph,
6100 with this IMO we could remove the hack in "redoParagraphs()".
6102 2002-10-09 Angus Leeming <leeming@lyx.org>
6104 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6105 to turn off an optimisation if a new inset is to be inserted.
6107 2002-10-11 André Pönitz <poenitz@gmx.net>
6109 * lyxtext.h: make some functions public to allow access
6110 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6112 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6114 * text3.C (dispatch): when changing layout, avoid an infinite loop
6117 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6119 * lyxrc.C (read): treat a viewer or converter command of "none" as
6122 * MenuBackend.C (expandFormats): for an update, also allow the
6123 formats that are not viewable
6125 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6126 script if it is newer than the lyxrc.defaults in user directory
6128 2002-10-07 André Pönitz <poenitz@gmx.net>
6130 * text.C: Vitaly Lipatov's small i18n fix
6132 2002-09-25 Angus Leeming <leeming@lyx.org>
6134 * ispell.h: doxygen fix.
6136 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6138 * buffer.h (readFile): Add a new argument to the method, to allow
6139 reading of old-format templates.
6141 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6143 * toc.C (getTocList): Get TOC from InsetWrap.
6145 2002-09-16 John Levon <levon@movementarian.org>
6147 * lyxfunc.C: check tabular for cut/copy too
6149 2002-09-12 John Levon <levon@movementarian.org>
6154 * factory.C: add header
6156 * paragraph_funcs.h:
6157 * paragraph_funcs.C: cleanup
6159 2002-09-11 John Levon <levon@movementarian.org>
6161 * PrinterParams.h: odd/even default to true
6163 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6165 * PrinterParams.h: update printer parameters for new xforms dialog
6167 2002-09-11 Angus Leeming <leeming@lyx.org>
6169 * lyxserver.C (read_ready): re-write to make it more transparent
6170 and to make it work in coherent fashion under Tru64 Unix.
6172 2002-09-11 André Pönitz <poenitz@gmx.net>
6176 * text3.C: implement LFUN_WORDSEL
6178 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6180 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6181 make floatlist_ a boost::shared_ptr<FloatList>
6183 * lyxtextclass.C: include FloatList.h
6184 (LyXTextClass): initialize floatlist_
6185 (TextClassTags): add TC_NOFLOAT
6186 (Read): match "nofloat" to TC_NOFLOAT and use it.
6187 (readFloat): modify call to floatlist_
6191 * FloatList.[Ch] (FloatList): remove commented out float
6193 (erase): new function
6195 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6197 * MenuBackend.C (expandToc): fix crash when there is no document
6200 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6202 * many files: Add insetwrap.
6204 2002-09-09 John Levon <levon@movementarian.org>
6206 * text2.C: remove confusing and awkward depth wraparound
6208 2002-09-09 John Levon <levon@movementarian.org>
6210 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6213 * buffer.C: remove getIncludeonlyList()
6216 * lyxfunc.C: remove headers
6218 2002-09-09 Juergen Vigna <jug@sad.it>
6220 * text.C (getColumnNearX): fix form Michael this is most
6221 probably a cut&paste bug.
6223 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6225 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6227 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6228 references, ws changes.
6230 * text2.C (init): update counters after init
6231 (insertParagraph): no need to set counter on idividual paragraphs.
6232 (setCounter): access the counters object in the textclass object
6233 on in the buffer object.
6234 (updateCounters): ditto
6236 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6237 shared_ptr<Counters> to avoid loading counters.h in all
6239 (LyXTextClass): initialize ctrs_
6240 (TextClassTags): add TC_COUNTER, and ...
6241 (Read): use it here.
6242 (CounterTags): new tags
6243 (readCounter): new function
6244 (counters): new funtion
6245 (defaultLayoutName): return a const reference
6247 * counters.C (Counters): remove contructor
6248 (newCounter): remove a couple of unneeded statements.
6249 (newCounter): simplify a bit.
6250 (numberLabel): some small formatting changes.
6252 * buffer.[Ch]: remove all traces of counters, move the Counters
6253 object to the LyXTextClass.
6255 2002-09-06 Alain Castera <castera@in2p3.fr>
6257 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6258 package to set the horizontal alignment on fixed width columns.
6261 * lyx_sty.h: added tabularnewline macro def.
6263 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6265 2002-09-06 John Levon <levon@movementarian.org>
6267 * LyXAction.C: tooltips for sub/superscript
6269 * MenuBackend.C: a bit more verbose
6271 * lyxfunc.C: tiny clean
6273 * undo_funcs.C: document undo_frozen
6275 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6277 * counters.C (Counters): add missing algorithm counter.
6279 * text2.C (setCounter): lookup the counter with layouts latexname
6280 instead of by section number.
6281 (setCounter): use a hackish way to lookup the correct enum
6283 a float name->type change
6284 reset enum couners with counter name directly instead of depth value.
6286 * counters.C (Counters): remove the push_backs, change to use the
6287 float type not the float name.
6288 (labelItem): remove unused string, float name->type change
6290 * counters.h: don't include vector, loose the enums and sects vectors
6292 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6294 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6295 (Read): add float->TC_FLOAT to textclassTags
6296 (Read): and handle it in the switch
6297 (readFloat): new function
6299 * FloatList.C (FloatList): comment out the hardcoded float
6302 * lyxlayout.h: ws change.
6304 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6306 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6308 2002-09-03 Angus Leeming <leeming@lyx.org>
6310 * BufferView_pimpl.h: qualified name is not allowed in member
6311 declaration: WorkArea & Pimpl::workarea() const;
6313 * factory.C: added using std::endl directive.
6315 * text3.C: added using std::find and std::vector directives.
6317 2002-08-29 André Pönitz <poenitz@gmx.net>
6320 * text2.C: remove unused member number_of_rows
6323 * BufferView2.C: remove file, move contents to...
6324 * BufferView.C: ... here
6326 * BufferView_pimpl.C:
6327 * factory.C: move more inset creation to factory
6329 * vspace.C: avoid direct usage of LyXText, ws changes
6332 don't provide direct access to WorkArea, use two simple
6333 acessors haveSelction() and workHeight() instead
6336 2002-08-29 John Levon <levon@movementarian.org>
6338 * BufferView_pimpl.C (dispatch): do not continue when
6341 2002-08-28 André Pönitz <poenitz@gmx.net>
6343 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6346 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6348 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6350 * buffer.C: increment LYX_FORMAT to 221
6352 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6353 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6355 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6357 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6359 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6361 * factory.C (createInset): use LyXTextClass::floats
6363 * MenuBackend.C (expandFloatListInsert):
6364 (expandFloatInsert):
6367 * text2.C (setCounter):
6369 * LaTeXFeatures.C (useFloat):
6370 (getFloatDefinitions):
6372 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6374 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6375 floatlist_, with accessor floats().
6377 * FloatList.h: remove global FloatList
6379 2002-08-26 André Pönitz <poenitz@gmx.net>
6381 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6385 * BufferView_pimpl.C:
6386 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6388 2002-08-25 John Levon <levon@movementarian.org>
6390 * LyXAction.C: fix margin note description
6392 2002-08-24 John Levon <levon@movementarian.org>
6396 * bufferview_funcs.C:
6398 * undo_funcs.C: cleanups
6400 * lyxfunc.C: disable CUT/COPY when no selection
6402 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6404 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6405 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6407 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6408 Add backward compatibility to "mono", "gray" and "no".
6410 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6412 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6413 (and file_format >= 200).
6415 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6417 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6419 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6421 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6423 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6425 * BufferView_pimpl.C:
6432 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6433 inset and code to make it work with the paragraph code. The inset
6434 can be anywhere in the paragraph, but will only do the expected
6435 thing in LaTeX if the layout file contains the parameter line
6437 (or more generally, a nonzero value) for that layout.
6439 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6441 * paragraph.h: remove the declaration of undefined counters class
6444 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6446 * text2.C (setCounter): fixed enumeration mis-count as reported by
6447 Dr. Richard Hawkins.
6449 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6451 * paragraph_funcs.h: remove some unneeded includes
6453 * text.C (backspace): pasteParagraph now in global scipe
6455 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6456 (pasteSelection): ditto
6458 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6459 * paragraph_funcs.C (pasteParagraph): ... here
6461 2002-08-20 André Pönitz <poenitz@gmx.net>
6463 * commandtags.h: new LFUNs for swapping/copying table row/colums
6466 * lyxfunc.C: support for new lfuns
6468 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6471 * buffer.[Ch]: remove NO_COMPABILITY stuff
6473 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6475 * boost.C (throw_exception): new file, with helper function for
6476 boost compiled without exceptions.
6481 * ParameterStruct.h:
6482 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6484 * bufferlist.C (emergencyWriteAll): use boost bind
6486 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6488 * text.C: include paragraph_funcs.h
6489 (breakParagraph): breakParagraph is now in global scope
6491 * paragraph_funcs.[Ch]: new files
6493 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6496 * buffer.C: include paragraph_funcs.h
6497 (insertStringAsLines): breakParagraph is now in global scope
6499 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6502 * CutAndPaste.C: include paragraph_funcs.h
6503 (cutSelection): breakParagraphConservative is now in global scope
6504 (pasteSelection): ditto
6506 * buffer.h: declare oprator== and operator!= for
6507 Buffer::inset_iterator
6509 * bufferlist.C (emergencyWrite): don't use fmt(...)
6511 * text3.C: add using std::endl
6513 * BufferView.C (moveCursorUpdate): remove default arg
6515 2002-08-20 André Pönitz <poenitz@gmx.net>
6517 * buffer.[Ch]: move inline functions to .C
6520 * BufferView_pimpl.C:
6522 * buffer.[Ch]: use improved inset_iterator
6525 * paragraph.[Ch]: write one paragraph at a time
6527 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6529 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6530 style if style is not specified.
6532 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6534 * text2.C (setCounter): when searching for right label for a
6535 caption, make sure to recurse to parent insets (so that a caption
6536 in a minipage in a figure float works) (bug #568)
6538 2002-08-20 André Pönitz <poenitz@gmx.net>
6540 * text3.C: new file for LyXText::dispatch() and helpers
6542 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6544 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6546 2002-08-19 André Pönitz <poenitz@gmx.net>
6549 * text.C: new LyXText::dispatch()
6551 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6553 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6555 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6557 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6560 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6562 * Makefile.am: use $(variables) instead of @substitutions@
6564 2002-08-15 André Pönitz <poenitz@gmx.net>
6567 * BufferView_pimpl.C: streamlining mathed <-> outer world
6571 * LyXAction.C: remove unused LFUN_MATH
6573 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6575 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6577 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6579 * paragraph.C (Paragraph): reformat a bit
6580 (cutIntoMinibuffer): use builtin InsetList function instad of
6584 * buffer.C: include boost/bind.hpp, add using std::for_each
6585 (writeFileAscii): use ParagraphList iterators
6586 (validate): use for_each for validate traversal of paragraphs
6587 (getBibkeyList): use ParagraphList iterators
6588 (resizeInsets): use for_each to resizeInsetsLyXText for all
6590 (getParFromID): use ParagraphList iterators
6592 * BufferView2.C (lockInset): use paragraph list and iterators
6594 2002-08-14 John Levon <levon@movementarian.org>
6596 * lyxserver.C: remove spurious xforms include
6598 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6600 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6602 2002-08-13 André Pönitz <poenitz@gmx.net>
6605 * lyxfunc.C: further cleaning
6607 2002-08-13 André Pönitz <poenitz@gmx.net>
6609 * funcrequest.h: new constructor
6611 * funcrequest.C: move stuff here from .h
6614 * BufferView_pimpl.C:
6617 * lyxfunc.C: subsequent changes
6619 * lyxfunc.h: new view() member function
6621 * lyxfunc.C: subsequent changes
6623 2002-08-13 Angus Leeming <leeming@lyx.org>
6626 * BufferView_pimpl.C:
6634 changes due to the changed LyXView interface that now returns references
6635 to member variables not pointers.
6637 2002-08-13 Angus Leeming <leeming@lyx.org>
6639 * WordLangTuple (word, lang_code): return references to strings,
6644 * lyxtext.h: forward-declare WordLangTuple.
6649 * text.C: #include "WordLangTuple.h".
6652 * text.C: (selectNextWordToSpellcheck): constify return type.
6654 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6660 * paragraph_pimpl.h:
6663 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6665 Made updateCounter always count from start of buffer, and removed
6666 second argument (par).
6667 Reverted floats number display to '#'. Perhaps I'll try again when the
6668 code base is sanitized a bit.
6670 2002-08-12 Angus Leeming <leeming@lyx.org>
6672 * buffer.[Ch] (getLabelList): constify.
6674 2002-08-07 André Pönitz <poenitz@gmx.net>
6676 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6678 * funcrequest.h: extension to keep mouse (x,y) position
6680 2002-08-12 Juergen Vigna <jug@sad.it>
6682 * BufferView2.C (insertErrors): forbid undo when inserting error
6685 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6687 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6689 * ParagraphList.[Ch]: new files
6691 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6693 * BufferView2.C (lockInset): ParagraphList changes
6696 * bufferlist.C: ditto
6700 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6702 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6703 unused class variable counter_,
6705 * paragraph.[Ch] (getFirstCounter): delete unused function
6707 * counters.C: include LAssert.h
6708 (reset): add a new function with no arg, change other version to
6709 not have def. arg and to not allow empty arg.
6711 * text2.C (setCounter): remove empty arg from call to Counters::reset
6713 2002-08-11 John Levon <levon@movementarian.org>
6715 * Makefile.am: add WordLangTuple.h
6717 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6719 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6720 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6722 * insets/insettext.C: InsetList changes
6724 * graphics/GraphicsSupport.C (operator()): InsetList changes
6726 * toc.C (getTocList): InsetList changes
6728 * paragraph_pimpl.[Ch]: InsetList changes
6730 * paragraph.[Ch]: InsetList changes
6732 * buffer.C (inset_iterator): InsetList changes
6733 (setParagraph): ditto
6734 * buffer.h (inset_iterator): ditto
6735 * iterators.C (operator++): ditto
6736 * iterators.h: ditto
6738 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6740 * InsetList.[Ch]: new files, most InsetList handling moved out of
6743 * BufferView2.C (removeAutoInsets): InsetList changes
6745 (ChangeInsets): ditto
6747 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6749 * paragraph_pimpl.h (empty): new function
6751 * paragraph.[Ch] (empty): new function
6753 * other files: use the new Paragraph::empty function
6755 2002-08-09 John Levon <levon@movementarian.org>
6757 * lyxtext.h: remove unused refresh_height
6759 2002-08-09 John Levon <levon@movementarian.org>
6766 * paragraph.C: move sgml char escaping out of paragraph
6769 * paragraph.C: remove id setter
6773 * paragraph_pimpl.C: remove dead tex_code_break_column
6775 * bufferview_funcs.C: small cleanup
6777 * lyxfunc.C: remove dead proto
6779 * lyxtext.h: make some stuff private. Remove some dead stuff.
6781 * lyxgluelength.C: make as[LyX]String() readable
6783 2002-08-08 John Levon <levon@movementarian.org>
6788 * ToolbarDefaults.C:
6791 * toc.C: lyxaction cleanup
6793 2002-08-08 John Levon <levon@movementarian.org>
6795 * BufferView2.C: small cleanup
6798 * lyxfind.C: move unnecessary header into the .C
6800 2002-08-08 John Levon <levon@movementarian.org>
6802 * funcrequest.h: just tedious nonsense
6805 * lyx_main.C: cleanups
6808 * vspace.C: remove dead header lyx_main.h
6810 2002-08-07 Angus Leeming <leeming@lyx.org>
6813 * paragraph_pimpl.h:
6814 Forward declare class Counters in paragraph.h by moving the ctrs member
6815 variable into Paragraph::Pimpl.
6816 (counters): new method, returning a reference to pimpl_->ctrs.
6818 * text2.C: ensuing changes.
6820 2002-08-07 John Levon <levon@movementarian.org>
6822 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6824 * BufferView_pimpl.C: announce X selection on double/triple
6827 * lyx_main.C: use correct bool in batch dispatch
6829 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6831 2002-08-07 André Pönitz <poenitz@gmx.net>
6833 * funcrequest.h: new class to wrap a kb_action and its argument
6836 * BufferView_pimpl[Ch]:
6840 * lyxrc.C: subsequent changes
6843 2002-08-07 John Levon <levon@movementarian.org>
6845 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6846 document options change.
6848 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6853 * makefile.am: move counters functionality over from
6854 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6856 2002-08-06 John Levon <levon@movementarian.org>
6858 * WordLangTuple.h: new file for word + language code tuple
6869 * BufferView2.C: use WordLangTuple
6872 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6874 2002-08-06 John Levon <levon@movementarian.org>
6876 * lyx_main.C: fix cmdline batch handling
6878 2002-08-06 André Pönitz <poenitz@gmx.net>
6880 * lyxrc.C: set default for show_banner to true
6882 2002-08-06 John Levon <levon@movementarian.org>
6884 * pspell.C: fix a crash, and allow new aspell to work
6886 2002-08-06 John Levon <levon@movementarian.org>
6889 * kbmap.C: small cleanup
6892 * vspace.C: add const
6894 2002-08-05 John Levon <levon@movementarian.org>
6896 * LyXAction.C: back to tabular-insert
6898 2002-08-04 John Levon <levon@movementarian.org>
6901 * BufferView.C: cosmetic change
6903 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6913 * BufferView2.C: purge all "Lyx" not "LyX" strings
6916 * lyxcursor.C: attempt to add some documentation
6921 * ToolbarDefaults.C:
6922 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6923 merge with LFUN_TABULAR_INSERT
6930 * pspell.C: split up i/pspell implementations into separate
6931 files, many cleanups
6933 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6935 * text2.C: some cleanup
6937 * lyxfunc.C: don't check for isp_command == "none" any more, it
6938 didn't make any sense
6940 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6945 * makefile.am: move counters functionality over
6946 from text2.C/paragraph.[Ch] to counters.[Ch], and
6948 2002-08-02 John Levon <levon@movementarian.org>
6950 * buffer.C: s/lyxconvert/lyx2lyx/
6952 2002-08-02 Angus Leeming <leeming@lyx.org>
6954 * lyxlex.C: revert John's change as it breaks reading of the user
6957 2002-08-02 Angus Leeming <leeming@lyx.org>
6959 * importer.C (Import):
6960 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6961 changes due to LyXView::view() now returning a boost::shared_ptr.
6963 2002-08-02 John Levon <levon@movementarian.org>
6965 * lyxlex.C: small cleanup
6967 2002-08-02 John Levon <levon@movementarian.org>
6969 * text2.C (status): small cleanup, no logic change
6971 2002-08-01 John Levon <levon@movementarian.org>
6974 * buffer.C (writeFile): don't output alerts, caller
6978 * lyx_cb.C: from above
6980 * lyxfunc.C: allow to open non-existent files
6982 2002-07-31 John Levon <levon@movementarian.org>
6984 * lyxserver.C: don't let incidental errors get
6987 2002-07-30 John Levon <levon@movementarian.org>
6989 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6991 2002-07-30 John Levon <levon@movementarian.org>
6994 * lyxserver.C: remove I/O callback too
6996 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6998 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7001 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7003 * many files: strip,frontStrip -> trim,ltrim,rtrim
7005 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7007 * PrinterParams.h: remove extern containsOnly, and include
7008 support/lstrings.h instead.
7010 * LaTeX.C (scanAuxFile): modify because of strip changes
7012 * buffer.C (makeLaTeXFile): ditto
7013 * bufferparams.C (writeFile): ditt
7014 * lyxfont.C (stateText): ditto
7015 * lyxserver.C (read_ready): ditto
7016 * vc-backend.C (scanMaster): ditto
7018 * BufferView_pimpl.h: ws changes
7020 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7022 2002-07-26 André Pönitz <poenitz@gmx.net>
7024 * kb_sequence.C: remove unnedred usings
7026 2002-07-26 Juergen Vigna <jug@sad.it>
7028 * lyxfind.C (LyXReplace): we have to check better if the returned
7029 text is not of theLockingInset()->getLockingInset().
7031 2002-07-25 Juergen Vigna <jug@sad.it>
7033 * lyxfind.C (LyXReplace): don't replace if we don't get the
7036 * undo_funcs.C (createUndo): remove debugging code.
7038 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7040 * buffer.C (parseSingleLyXformat2Token): Use default placement
7041 when reading old floats.
7043 * FloatList.C (FloatList): Change the default placement of figure
7044 and tables to "tbp".
7046 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7048 * MenuBackend.C: using std::max
7050 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7052 * MenuBackend.C (expandToc):
7053 (expandToc2): code moved from xforms menu frontend. It is now
7054 generic and TOCs are transparent to menu frontends.
7056 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7058 * toc.C (getTocList): protect against buf=0
7060 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7061 Menu as first parameter. Now, this calls itself recursively to
7062 expand a whole tree (this will be useful for TOC handling)
7063 (expandFloatInsert): remove 'wide' version of floats
7065 * MenuBackend.h (submenuname): returns the name of the submenu.
7066 (submenu): returns the submenu itself, provided it has been
7067 created by MenuBackend::expand
7069 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7071 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7072 insets which have noFontChange == true. (bug #172)
7074 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7076 * BufferView_pimpl.C: add connection objects and use them...
7079 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7081 * MenuBackend.C (expandLastfiles):
7084 (expandFloatListInsert):
7085 (expandFloatInsert):
7086 (expand): split expand in parts
7088 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7090 * lyx_gui.C: use lyx_gui::exit()
7092 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7094 * LyXAction.C: show the failing pseudo action
7096 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7098 * buffer.C (readFile): Run the lyxconvert script in order to read
7101 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7105 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7107 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7111 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7113 2002-07-22 Herbert Voss <voss@lyx.org>
7116 * lyxlength.[Ch]: add support for the vertical lengths
7118 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7120 * toc.[Ch]: std:: fixes
7122 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7124 * lyxrc.C: do not include lyx_main.h
7126 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7132 * BufferView2.C: include "lyxlex.h"
7135 * bufferparams.h: do not #include "lyxlex.h"
7137 * lyxtextclasslist.C (Add): remove method
7138 (classlist): renamed to classlist_
7140 * paragraph_pimpl.C:
7144 * bufferview_funcs.C:
7149 * toc.C (getTocList): use BufferParams::getLyXTextClass
7151 * toc.C (getTocList): use InsetFloat::addToToc
7153 * toc.[Ch]: new files, containing helper functions to handle table
7156 * lyxfunc.C (dispatch): no need to remove spaces around command
7158 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7159 first command of the sequence; it is not very clever, but I do not
7160 have a better idea, actually
7162 * LyXAction.C (LookupFunc): make sure to remove space at the
7163 beginning and end of the command
7165 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7167 * MenuBackend.C (getMenubar): new method: return the menubar of
7169 (read): treat differently reading of menu and menubar (in
7170 particular, the menubar has no name now)
7171 (Menu::menubar): remove
7173 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7176 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7178 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7179 a bibitem inset in a RTL paragraph.
7181 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7183 * paragraph_pimpl.C: constify
7185 * BufferView_pimpl.C:
7187 * lyxfunc.C: fix dispatch in a nicer way
7189 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7191 * lyxfunc.C (dispatch):
7192 * BufferView_pimpl.C:
7193 * BufferView_pimpl.h:
7195 * BufferView.h: rename Dispatch() to dispatch()
7197 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7199 * lyxlayout.C (Read): honor DependsOn tag
7201 * lyxlayout.[Ch] (depends_on): new method
7203 * version.C.in: update lyx_docversion
7205 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7207 * paragraph.C (validate): remove from here...
7208 * paragraph_pimpl.C (validate): ... and move here
7209 (isTextAt): make it const
7211 * buffer.C (getLists): ws cleanup
7213 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7215 * language.C (read): Use iso8859-1 encoding in latex_lang
7216 (this prevents LyX from crashing when using iso10646-1 encoding).
7218 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7220 * text2.C (toggleInset): if cursor is inside an inset, close the
7221 inset and leave cursor _after_ it
7223 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7225 * lyxfunc.C: move minibuffer completion handling out of here
7227 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7229 * BufferView_pimpl.C:
7230 * LaTeX.C: fix dispatch calls
7232 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7234 * text.C (drawChars): Fix Arabic text rendering.
7236 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7240 * lyxfunc.C: remove message-push/pop
7244 * lyxfunc.C: rationalise some code by removing verboseDispatch
7245 in favour of a bool argument to dispatch()
7247 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7249 * lyx_main.C (init): make sure to read symlinks as absolute paths
7251 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7254 * lyxfunc.C: no need for commandshortcut to be a member
7256 2002-07-15 André Pönitz <poenitz@gmx.net>
7258 * converter.C: add support for $$s (scripts from lib/scripts dir)
7259 * lyx_main.C: white space
7261 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7265 * lyxrc.C: remove second exit confirmation
7267 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7272 * BufferView_pimpl.h:
7273 * BufferView_pimpl.C:
7274 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7276 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7278 * MenuBackend.C (expand): add numeric shortcuts to document menu
7280 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7282 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7284 * lyxfont.C (setLyXFamily):
7291 * buffer.C (asciiParagraph): use ascii_lowercase
7293 2002-07-15 Mike Fabian <mfabian@suse.de>
7295 * lyxlex_pimpl.C (search_kw):
7296 * lyxlex.C (getLongString):
7297 * converter.h (operator<):
7298 * converter.C (operator<):
7299 * buffer.C (parseSingleLyXformat2Token):
7301 * ToolbarDefaults.C (read):
7302 * MenuBackend.C (checkShortcuts):
7304 * LColor.C (getFromGUIName):
7305 (getFromLyXName): use the compare_ascii_no_case instead of
7306 compare_no_case, because in turkish, 'i' is not the lowercase
7307 version of 'I', and thus turkish locale breaks parsing of tags.
7309 2002-07-16 Angus Leeming <leeming@lyx.org>
7311 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7312 now takes a Buffer const & argument.
7314 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7316 * BufferView.C (resize): check there's a buffer to resize
7318 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7320 * lyxfunc.C: remove dead code
7323 * lyxserver.C: use lyx_guii::set_read_callback
7325 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7327 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7328 an inset in a RTL paragraph.
7330 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7332 * lyxfunc.C: repaint after a font size update
7334 2002-07-15 André Pönitz <poenitz@gmx.net>
7336 * lyxlength.C: inBP should be able to return negative values
7338 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7340 * lyxfunc.C: use lyx_gui::update_fonts()
7342 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7344 * lyxfunc.C: use lyx_gui::update_color()
7346 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7352 * lyxrc.C: remove file->new asks for name option, and let
7353 buffer-new take an argument
7355 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7357 * BufferView_pimpl.C: remove unneeded extra repaint()
7359 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7361 * LyXAction.C: allow command-sequence with NoBuffer
7363 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7365 2002-07-10 Angus Leeming <leeming@lyx.org>
7367 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7369 2002-07-09 Angus Leeming <leeming@lyx.org>
7371 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7373 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7375 * lengthcommon.h: whitespace
7377 * lyxfunc.C: update scrollbar after goto paragraph
7379 * lyxtext.h: factor out page break drawing, and fix it so
7380 page break/added space paints as selected nicely
7382 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7384 * BufferView_pimpl.C: add FIXMEs, clean up a little
7386 2002-07-09 André Pönitz <poenitz@gmx.net>
7388 * lyxfont.[Ch]: support for wasy symbols
7390 2002-07-08 André Pönitz <poenitz@gmx.net>
7392 * BufferView_pimpl.C: apply John's patch for #93.
7394 2002-07-05 Angus Leeming <leeming@lyx.org>
7396 * BufferView_pimpl.C (buffer): generate previews if desired.
7398 * LColor.h: add "preview" to the color enum.
7400 * LColor.C (LColor): add a corresponding entry to the items array.
7402 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7405 2002-07-05 Angus Leeming <leeming@lyx.org>
7407 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7408 The body of the code is now in the method that is passed an ostream &
7409 rather than a file name.
7410 Pass an additional only_preamble parameter, useful for the forthcoming
7413 2002-07-03 André Pönitz <poenitz@gmx.net>
7415 * lyxfunc.C: simplify getStatus() a bit for math stuff
7417 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7419 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7421 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7423 * text.C (changeRegionCase): do not change case of all the
7424 document when region ends at paragraph end (bug #461)
7426 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7428 * paragraph.C (startTeXParParams):
7429 (endTeXParParams): add \protect when necessary
7431 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7433 * BufferView_pimpl.C (workAreaExpose): remove warning
7435 2002-06-27 Angus Leeming <leeming@lyx.org>
7437 * Makefile.am: add lyxlayout_ptr_fwd.h.
7439 2002-06-26 André Pönitz <poenitz@gmx.net>
7441 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7443 2002-06-25 Angus Leeming <leeming@lyx.org>
7445 * lyxfunc.C (dispatch): Comment out the call to
7446 grfx::GCache::changeDisplay. The method no longer exists now that the
7447 pixmap generation part of the graphics loader has been moved into
7450 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7452 * text2.C: layout as layout
7454 * text.C: layout as layout
7456 * tabular.C (OldFormatRead): layout as layout
7458 * paragraph_pimpl.C (TeXDeeper): layout as layout
7459 (realizeFont): layout as layout
7461 * paragraph.C (writeFile): layout as layout
7462 (validate): layout as layout
7463 (getFont): layout as layout
7464 (getLabelFont): layout as layout
7465 (getLayoutFont): layout as layout
7466 (breakParagraph): layout as layout
7467 (stripLeadingSpaces): layout as layout
7468 (getEndLabel): layout as layout
7469 (getMaxDepthAfter): layout as layout
7470 (applyLayout): layout as layout
7471 (TeXOnePar): layout as layout
7472 (simpleTeXOnePar): layout as layout
7473 (TeXEnvironment): layout as layout
7474 (layout): layout as layout
7475 (layout): layout as layout
7477 * lyxtextclass.C (compare_name): new functor to work with
7478 shared_ptr, layout as layout
7479 (Read): layout as layout
7480 (hasLayout): layout as layout
7481 (operator): layout as layout
7482 (delete_layout): layout as layout
7483 (defaultLayout): layout as layout
7485 * lyxlayout_ptr_fwd.h: new file
7487 * lyxlayout.C (Read): layout as layout
7489 * lyx_cb.C (MenuInsertLabel): layout as layout
7491 * bufferlist.C (newFile): layout as layout
7493 * buffer.C (readLyXformat2): layout as layout
7494 (parseSingleLyXformat2Token): layout as layout
7495 (insertStringAsLines): layout as layout
7496 (asciiParagraph): layout as layout
7497 (latexParagraphs): layout as layout
7498 (makeLinuxDocFile): layout as layout
7499 (simpleLinuxDocOnePar): layout as layout
7500 (makeDocBookFile): layout as layout
7501 (simpleDocBookOnePar): layout as layout
7502 (getLists): layout as layout
7504 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7506 * CutAndPaste.C (cutSelection): layout as layout
7507 (pasteSelection): layout as layout
7508 (SwitchLayoutsBetweenClasses): layout as layout
7510 * BufferView_pimpl.C (Dispatch): layout as layout
7511 (smartQuote): layout as layout
7513 * BufferView2.C (unlockInset): layout as layout
7515 2002-06-24 André Pönitz <poenitz@gmx.net>
7517 * lyxfunc.C: fix #487
7519 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7523 * lyxfunc.C: remove display_shortcuts, show_banner
7525 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7527 * Buffer_pimpl.C: oops, update on resize
7529 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7536 * BufferView.C: use repaint()
7538 * BufferView_pimpl.h:
7539 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7540 as it's a clearer description. Remove superfluous
7543 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7545 * text.C: fix bug 488. Not ideal, but getting
7546 getWord() to work properly for the insets that
7547 matter is more difficult ...
7549 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7551 * BufferView_pimpl.C:
7554 * lyxfunc.C: remove the six million index lyxfuncs to just
7555 one, and DTRT (bug 458)
7557 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7561 * BufferView_pimpl.h:
7562 * BufferView_pimpl.C: clean up resize() stuff,
7563 and unnecessary updateScreen()s
7565 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7569 * BufferView_pimpl.h:
7570 * BufferView_pimpl.C:
7573 * minibuffer.C: remove focus management of workarea,
7574 not needed. Use screen's greyOut()
7576 2002-06-17 Herbert Voss <voss@lyx.org>
7578 * converter.C: (convert) do not post a message, when converting
7579 fails, let the calling function decide what to do in this case
7581 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7583 * lyxfunc.C: tidy up a little
7585 2002-06-16 <alstrup@diku.dk>
7587 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7588 Got rid of FORMS_H_LOCATION include. Now we are
7591 2002-06-15 LyX Development team <lyx@rilke>
7593 * buffer.[Ch] (sgmlOpenTag):
7594 (sgmlCloseTag): Added support for avoiding pernicious mixed
7595 content. Return number of lines written.
7598 (makeDocBookFile): Fixed calls to sgml*Tag.
7599 Simple white space clean.
7601 (simpleDocBookOnePar): Simple white space clean.
7603 * tabular.[Ch] (docBook): Renamed to docbook and got another
7604 argument to related with the pernicious mixed content.
7606 (docbookRow): Fixed calls for docbook inset method.
7608 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7610 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7611 so it's X11 independent.
7615 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7617 2002-06-15 Lyx Development team <lyx@electronia>
7619 * intl.h: Renamed getTrans to getTransManager.
7621 2002-06-14 Angus Leeming <leeming@lyx.org>
7623 * Makefile.am: nuke forgotten stl_string_fwd.h.
7625 2002-06-12 Angus Leeming <leeming@lyx.org>
7627 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7629 2002-06-13 Angus Leeming <leeming@lyx.org>
7632 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7634 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7636 * kbmap.C (getiso): add support for cyrillic and greek
7638 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7642 * BufferView_pimpl.h:
7643 * BufferView_pimpl.C: move bogus scrolling logic
7646 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7649 * BufferView_pimpl.C: view->resize() change
7651 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7653 * BufferView_pimpl.C: topCursorVisible
7656 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7660 * lyx_gui.C: move to frontends/
7664 * lyx_main.C: changes from above
7666 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7673 * lyx_main.C: minor tidy
7675 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7677 * BufferView_pimpl.h:
7678 * BufferView_pimpl.C:
7680 * BufferView.C: make painter() const,
7683 * BufferView2.C: use screen() accessor
7686 * lyx_main.C: some minor cleanup
7688 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7690 * BufferView_pimpl.h:
7691 * BufferView_pimpl.C: remove enter/leaveView,
7694 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7699 * BufferView_pimpl.h:
7700 * BufferView_pimpl.C: only construct screen once,
7703 * lyxrc.C: remove pointless comment
7705 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7708 * BufferView.C: remove active() and belowMouse()
7710 * BufferView_pimpl.h:
7711 * BufferView_pimpl.C: use workarea() not workarea_,
7712 and make it use a scoped_ptr instead
7714 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7716 * lyx_gui.C: add debug message on BadWindow
7718 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7720 * sp_spell.C: fdopen is not part of the C++ standard.
7722 * paragraph.C (InsetIterator): use >= instead of ==
7724 2002-06-07 Angus Leeming <leeming@lyx.org>
7726 Fixes needed to compile with Compaq cxx 6.5.
7727 * BufferView_pimpl.C:
7734 * lyxtextclasslist.C:
7739 all c-library variables have been moved into namespace std. Wrap
7740 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7745 Add a using std::abs declaration.
7747 * kbmap.h (modifier_pair):
7748 * paragraph.h (InsetTable, InsetList):
7749 * lyxfont.h (FontBits):
7750 type definition made public.
7752 * bufferlist.C (emergencyWriteAll): the compiler complains that
7753 there is more than one possible lyx::class_fun template to choose from.
7754 I re-named the void specialisation as lyx::void_class_fun.
7756 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7758 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7759 the compiler is is unable to find tostr in write_attribute.
7761 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7763 * buffer.C (sgmlError): hide #warning
7765 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7767 * xtl/*: get rid of xtl, which is not in use anyway
7769 * LyXAction.C (init):
7770 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7771 were unimplemented xtl experimentation
7773 2002-06-04 André Pönitz <poenitz@gmx.net>
7775 * lyxfunc.C: disable array operation on simple formulae
7777 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7779 * converter.C: constify a bit
7781 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7783 * lyx_gui.C: check xforms version correctly
7785 2002-04-30 Herbert Voss <voss@lyx.org>
7787 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7790 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7792 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7793 attempt to register it with a VCS)
7795 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7797 * lyx_main.C (init): honor variables LYX_DIR_13x and
7800 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7804 * lyx_main.C: fix a crash on bad command line,
7805 and give a useful exit status on error
7807 * lyxfunc.C (doImport): allow -i lyx to work
7809 2002-03-30 André Pönitz <poenitz@gmx.net>
7811 * lyxfunc.C: mathed font changes
7813 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7828 * trans_mgr.h: srcdocs, and some minor cleanups
7830 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7832 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7833 call getFont all the time)
7835 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7837 * switch from SigC signals to boost::signals
7839 2002-05-29 André Pönitz <poenitz@gmx.net>
7841 * paragraph_pimpl.C (getChar): don't call size() too often...
7843 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7845 * paragraph_pimpl.C (insertChar): do not try to update tables when
7846 appending (pos == size())
7848 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7849 in order to reduce drastically the number of comparisons needed to
7850 parse a large document
7852 2002-05-29 André Pönitz <poenitz@gmx.net>
7858 * textclasslist.[Ch]:
7859 * sp_ispell.h: whitespace change
7861 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7863 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7864 lyxaction directly now.
7866 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
7870 * lyxvc.C: remove unused headers
7872 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7879 * undo_funcs.C: some cleanups. Use shared_ptr
7880 and a template for the undo stacks.
7882 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
7884 * BufferView_pimpl.h:
7885 * BufferView_pimpl.C:
7892 * text2.C: use key_state/mouse_state
7894 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7896 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7899 * chset.C: change include order
7900 (loadFile): use boost regex and get rid of LRegex and LSubstring
7902 * Makefile.am (BOOST_LIBS): new variable
7905 * LaTeX.C: change include order.
7906 (scanAuxFile): use boost regex and get rid of LRegex and
7910 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7915 * FontInfo.C: moved to frontends/xforms/
7918 * FontLoader.C: moved into frontends for GUIIzation
7923 * lyxfunc.C: changes from above
7925 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
7927 * LColor.C: remove spurious X include
7929 * BufferView_pimpl.C:
7934 * text2.C: move font metrics to frontends/
7936 2002-05-24 Juergen Vigna <jug@sad.it>
7938 * undo_funcs.C (textHandleUndo): fix the cursor selection after
7939 setting the undo_cursor.
7941 * ParagraphParameters.h: include local includes first.
7943 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7945 * BufferView_pimpl.C:
7946 * BufferView_pimpl.h:
7950 * screen.C: move WorkArea into frontends/
7956 * BufferView2.C: move LyXScreen into frontends/
7960 * lyx_gui.C: move lyxlookup into frontends/xforms/
7962 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7965 * BufferView_pimpl.C:
7975 * bufferview_funcs.C:
7988 * vc-backend.C: move LyX/XFormsView into frontends/
7990 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8002 * text2.C: move Painter to frontends/
8004 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8006 * buffer.C: comment out some some code that depend upon lyx_format
8009 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8010 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8012 * buffer.h (NO_COMPABILITY): turn off compability
8014 * ColorHandler.C: include scoped_array.hpp
8016 * font.C: Use more specific smart_ptr header.
8019 * ShareContainer.h: ditto
8023 * BufferView_pimpl.h: ditto
8024 * ColorHandler.h: ditto
8026 * kbmap.C (defkey): change call to shared_ptr::reset
8028 2002-05-21 Juergen Vigna <jug@sad.it>
8030 * buffer.C (insertErtContents): fix to insert ert asis if it is
8031 non empty. Skip it completely if it contains only whitespaces.
8033 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8035 * BufferView_pimpl.C:
8036 * BufferView2.C: clear selection on paste (bug 393)
8038 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8040 * DepTable.C: include ctime
8042 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8044 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8046 2002-05-14 Juergen Vigna <jug@sad.it>
8048 * text.C (breakParagraph): fixed function to honor the keepempty
8049 layout in the right maner and also to permit the right breaking
8050 algorithm on empty or non empyt keepempty paragraphs.
8052 * paragraph.C (breakParagraph): we have to check also if the par
8053 is really empty (!size()) for isempty otherwise we do the wrong
8056 2002-05-10 Juergen Vigna <jug@sad.it>
8058 * buffer.[Ch] : The following are only changes to the ert
8059 compatibility read reading old LaTeX layout and font stuff and
8060 convert it to ERTInsets.
8062 * buffer.h: added isErtInset().
8064 * buffer.C (struct ErtComp): add a fromlayout bool to check
8065 if we're inside a LaTeX layout.
8066 (isErtInset): new helper function.
8067 (insertErtContents): look for other ert insets before this one
8068 and insert the contents there, so that we don't have subsequent
8069 ERT insets with nothing between them. This way we create only one
8070 inset with multiple paragraphs. Also check if we don't insert only
8071 spaces ' ' as they are ignored anyway afterwards in the .tex file
8072 so if we have only spaces we will ignore this latex part in the
8074 (parseSingleLyXformat2Token \\layout): better compatibility when
8075 reading layout-latex stuff.
8076 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8078 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8079 stuff after reading the inset only get the information back from
8082 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8084 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8086 * LaTeXFeatures.C (getBabelOptions): New method.
8088 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8090 * BufferView_pimpl.C (Dispatch): work around missing argument for
8093 2002-05-08 Juergen Vigna <jug@sad.it>
8095 * text.C (leftMargin): handle paragraph leftindent.
8097 * paragraph.C (writeFile): write the new \\leftindent tag.
8098 (validate): handle leftindent code.
8099 (TeXEnvironment): handle paragraphleftindent code again.
8101 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8103 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8104 for paragrap_extra indent code and new token \\leftindent.
8105 (latexParagraphs): handle the leftindent as environment.
8107 * ParameterStruct.h: added leftindent support.
8109 * ParagraphParameters.C (leftIndent): added support functions for
8110 the paragraph left indent.
8112 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8115 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8117 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8120 * text.C (computeBidiTables): No bidi in insetERT.
8122 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8125 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8127 * version.C.in: pre 5
8129 2002-05-02 José Matos <jamatos@fep.up.pt>
8130 * buffer.C (makeDocBookFile): white space changes, add newline to
8132 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8134 * tabular.C (docBook): fix typo.
8136 2002-05-03 Juergen Vigna <jug@sad.it>
8138 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8139 change in LyXText as we can not be sure it was not freed.
8140 (drawOneRow): remove unused code.
8142 * text.C (drawInset): redo the calculation of the need_break_row as
8143 it could have a row which was already freed.
8144 (draw): look at the return value of drawInset and return false if
8145 it also returned false.
8146 (paintRowText): look at the return value of draw and return false if
8147 it also returned false.
8149 * lyxtext.h: added bool return type to drawInset() and draw() so that
8150 if we have a change in the row so that the rowbreak has to be redone
8151 we abort drawing as it will be called again.
8153 2002-05-02 Juergen Vigna <jug@sad.it>
8155 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8156 a change in the maintext also if we're inside an inset.
8157 (Dispatch): set the cursor again after a break line and after the
8158 screen has been updated as it could be we're in a different row.
8160 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8161 to set the cursor behind the pargraph with > size().
8162 (setCursor): check also for the same paragraph when checking where
8163 to put the cursor if we have a NFR inset.
8165 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8166 parts of layout read further up as it still was in the wrong
8169 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8171 * screen.C (drawFromTo): change sine fullRebreak always return
8174 * buffer.C (parseSingleLyXformat2Token): reindent some
8176 * BufferView_pimpl.C (update): change since fullRebreak always
8178 (Dispatch): git rid of the last hardcoded "Standard"s.
8180 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8182 * text2.[Ch] (fullRebreak): make it return void now that we always
8185 2002-04-30 Juergen Vigna <jug@sad.it>
8187 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8188 ert compatibility check for "latex" layout.
8190 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8192 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8193 minipages: use col% instead of p%, and also use the current font.
8194 (makeLaTeXFile): Fix use babel condition.
8195 (parseSingleLyXformat2Token): Correct font when reading old floats.
8197 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8199 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8200 inserting list of floats.
8202 2002-04-25 Herbert Voss <voss@lyx.org>
8204 * MenuBackend.C (expand): don't add the graphics extensions to the
8207 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8209 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8210 non-existing layout, do not complain if it was the default layout
8211 of the original class (bug #342)
8213 2002-04-24 Juergen Vigna <jug@sad.it>
8215 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8216 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8218 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8220 * buffer.C (getBibkeyList): If using \bibliography, return the
8221 option field with the reference itself. Enables us to provide natbib
8222 support when using \bibliography.
8224 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8226 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8228 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8229 natbib is provided by the LaTeX class.
8231 2002-04-23 Juergen Vigna <jug@sad.it>
8233 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8236 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8238 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8240 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8242 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8243 ensuremath around textordmasculine, textordfeminine and
8246 2002-04-19 Juergen Vigna <jug@sad.it>
8248 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8249 reinitializing the buffer otherwise row-dimensions may be wrong.
8250 (update): reset also the selection cursors if they do exits otherwise
8251 their x/y positions may be wrong.
8253 * text2.C (cursorDown): don't enter the inset if we came from a row
8254 above and are one row over the inset.
8256 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8257 really leaving an inset.
8259 2002-04-18 Juergen Vigna <jug@sad.it>
8261 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8262 of the selected paragraph does not have the selected layout also if
8265 * text2.C (setLayout): fixed bug which did not change last selected
8268 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8269 changed the read and substituted \\end_float with \\end_inset!
8271 * BufferView_pimpl.C (cursorPrevious):
8272 (cursorNext): fixed to make it work with rows heigher than the work
8273 area without moving the cursor only the draw of the row.
8274 (workAreaMotionNotify): fix jumping over high rows.
8276 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8278 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8281 2002-04-16 Juergen Vigna <jug@sad.it>
8283 * text2.C (setCursor): set also the irow().
8284 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8286 (cursorDown): support for locking an inset if the x_fix value goes
8287 inside it. That way I can transverse insets too with cursor up/down.
8289 * lyxrow.h: added irow helper function same as other (i) functions.
8291 * BufferView_pimpl.C (cursorPrevious):
8292 (cursorNext): fixed for insets!
8294 2002-04-15 Juergen Vigna <jug@sad.it>
8296 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8297 position otherwise it is wrong in some cases.
8299 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8300 inside the inset before the call.
8302 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8304 * buffer.[Ch] (getBibkeyList): make it const.
8306 2002-04-12 Juergen Vigna <jug@sad.it>
8308 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8310 * text2.C (getCursorX): new helper function
8311 (setCursor): compute also ix_
8312 (setCursorFromCoordinates): set also ix.
8314 * lyxcursor.h: added ix_ and helper functions.
8316 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8318 * buffer.C (insertStringAsLines): dont break paragraph if the this
8319 paragraph is inside an inset which does not permit it!
8321 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8322 also with no chars on this paragraph.
8323 (paintRowText): only paint stuff if it's inside the workarea!
8325 * paragraph.C (breakParagraph): honor keepempty flag and break the
8326 paragraph always below not above.
8328 * BufferView2.C (unlockInset): update the paragraph layout on inset
8329 unlock as we changed paragraph in such a case.
8331 * lyxfind.C (LyXFind): clear the former selection if not found!
8333 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8334 again called in insertChar().
8336 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8337 an inset which uses the whole row!
8338 (rightMargin): ditto.
8339 (insertChar): force a rebreak if we inserted an inset!
8341 2002-03-28 Herbert Voss <voss@lyx.org>
8343 * lyxlength.[Ch]: add inBP() to get the right PS-point
8344 units (BigPoint). With inPixels we have rounding errors
8346 2002-04-11 Juergen Vigna <jug@sad.it>
8348 * text2.C (setCursorFromCoordinates): set iy to the right value.
8349 (setCursor): add check if row->previous exists!
8351 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8352 an old float_type as this was the case in the old code!
8354 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8356 * BufferView2.C (showLockedInsetCursor): use iy
8357 (fitLockedInsetCursor): ditto
8359 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8360 locked insets as there we have the right value now.
8362 * lyxcursor.C: added iy_ variable and iy functions to set to the
8363 baseline of cursor-y of the locked inset.
8365 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8366 (setCursor): fixed for insets which need a full row.
8368 * text.C (rowLastPrintable): don't ignore the last space when before
8369 an inset which needs a full row.
8370 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8371 as last character of a row when before a inset which needs a full row.
8373 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8375 * version.C.in: update date
8377 * text2.C (fullRebreak): try to always return true and see what
8380 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8382 * MenuBackend.C (expand): use Floating::listName
8384 * FloatList.C (FloatList): add listName argument to the built-in
8387 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8388 text associated with the float.
8390 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8392 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8394 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8396 * ShareContainer.h: add a couple of missing typenames.
8398 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8400 * lyxrc.C (getDescription): use _() correctly rather than N_().
8402 2002-03-28 Herbert Voss <voss@lyx.org>
8404 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8405 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8407 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8409 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8410 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8412 2002-03-29 Juergen Vigna <jug@sad.it>
8414 * lyxfunc.C (dispatch): add a missing fitCursor call.
8416 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8417 it was scrolled by a cursor move, so return the bool status.
8419 * BufferView.C (fitCursor): return the bool flag also to the outside
8420 world as this is needed.
8422 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8424 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8425 call the edit() as it is not needed (and wrong) IMO.
8426 (workAreaButtonPress): set the screen_first variable before evt.
8427 unlock the inset as this may change screen_first and then we have
8428 a wrong y position for the click!
8430 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8432 * MenuBackend.C (expand): another translation that I missed
8434 2002-03-28 Juergen Vigna <jug@sad.it>
8436 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8438 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8440 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8442 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8444 * MenuBackend.C (expand): fix export/view/update when there is no
8447 2002-03-27 Herbert Voss <voss@lyx.org>
8449 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8452 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8454 * bufferview_funcs.C (currentState): only show paragraph number
8455 for is DEVEL_VERSION is set.
8457 * lyxfunc.C (dispatch): put warning in INFO channel
8459 * MenuBackend.C (expand): translate the name of floats
8461 * FloatList.C (FloatList): mark the float names for translation
8463 * converter.C (convert): use LibScriptSearch
8465 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8467 * MenuBackend.C (defaults): fix default menu (we might as well get
8470 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8472 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8475 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8477 * lyxvc.C: reorder includes.
8479 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8481 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8484 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8486 * CutAndPaste.C: change layouts earlier on paste
8487 to avoid crashing when calling getFont()
8489 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8491 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8494 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8496 * WorkArea.C: remove 'Pending' debug message.
8498 * most files: ws cleanup
8500 * buffer.[Ch]: ws changes
8502 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8504 2002-03-21 Juergen Vigna <jug@sad.it>
8506 * tabular.C (SetMultiColumn): collapse also the contents of the
8507 cells and set the last border right. Added a Buffer const * param.
8509 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8511 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8514 2002-03-19 Juergen Vigna <jug@sad.it>
8516 * text2.C (clearSelection): reset also xsel_cache.
8518 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8519 where it needs to be called (John tells us to do so too :)
8520 (selectionLost): reset sel_cache.
8522 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8524 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8526 * text2.C (setCursorIntern): put debuging code in INSETS channel
8528 2002-03-19 André Pönitz <poenitz@gmx.net>
8530 * lyxfunc.C: tiny whitespace change
8532 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8534 * ToolbarDefaults.C (init):
8535 * LyXAction.C (init):
8537 * BufferView_pimpl.C (Dispatch):
8538 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8540 2002-03-19 Allan Rae <rae@lyx.org>
8542 * exporter.C (Export): removeAutoInsets before doing anything else.
8543 While I've just introduced a dependency on BufferView this really is
8544 the best place to clean the buffer otherwise you need to cleanup in
8545 a dozen places before calling export or cleanup in a dozen functions
8548 * converter.C (runLaTeX):
8549 (scanLog): Better handling of removeAutoInsets and screen updates.
8551 * lyxfunc.C (dispatch): small whitespace changes
8553 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8555 * WorkArea.C (C_WorkAreaEvent): return a value.
8556 (event_cb): return 1 if we handled the event, 0 otherwise.
8558 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8560 2002-03-18 Juergen Vigna <jug@sad.it>
8562 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8563 (GetAdditionalWidth): ditto.
8567 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8568 inset if we're there actually (probably not used right now but this
8569 is the direction to go for unifying code).
8570 (paste): disable code to clear the selection.
8572 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8573 inside an InsetText and move the check further up as it is in the
8576 * text2.C (pasteSelection): set a selection over the pasted text.
8578 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8580 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8581 and libgraphics to build on Cygwin.
8583 2002-03-15 Juergen Vigna <jug@sad.it>
8585 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8586 inserting an Inset into the paragraph. I know this is not the best
8587 fix but we already use current_view in CutAndPaste so we will remove
8588 all of it's using at the same time.
8590 * buffer.C (sgmlError): deactivated function till it is rewritten in
8591 the right mode, now it can create problems.
8593 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8594 before accessing it.
8596 2002-03-14 Juergen Vigna <jug@sad.it>
8598 * undo_funcs.C (textHandleUndo): do the right thing when updating
8599 the inset after the undo/redo.
8601 * text2.C (setCursor): just some testcode for #44 not ready yet.
8603 * undo_funcs.C (textHandleUndo): set the next() and previous()
8604 pointers of the paragraph to 0 before deleting otherwise we have
8605 problems with the Paragraph::[destructor].
8607 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8608 on a paragraph insertion.
8610 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8612 * buffer.C (asciiParagraph): use += operator for char append to
8615 * paragraph.C (getFontSettings): compare >= not just >
8616 (highestFontInRange): ditto
8619 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8621 * paragraph.C: change several algorithm to be more appripriate for
8622 the problem domain. This is lookip in FontList and in the InsetList.
8624 2002-03-13 André Pönitz <poenitz@gmx.net>
8627 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8629 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8634 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8636 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8638 * Painter.C (display): anon helper function, adjust code for this
8640 (pixmap): remove function.
8642 * Painter.h: remove private display variable.
8644 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8646 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8648 * WorkArea.[Ch]: remove figinset_canvas cruft.
8650 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8652 * lyxtextclass.C (operator): add one item cache optimization.
8654 * bufferlist.h: doxy changes
8656 * bufferlist.C: ws changes
8658 * DepTable.[Ch] (ext_exist): place const in the right spot.
8660 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8662 (workAreaExpose): call resizeInsets when the with BufferView changes.
8663 (Dispatch): adjust for protectedBlank removal
8664 (specialChar): call updateInset if the insert went ok.
8666 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8667 specialChar instead.
8669 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8671 * BufferView.h: doxy change
8673 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8675 * lyxtextclass.C (operator[]): remove non-const version
8676 (defaultLayout): remove non-const version
8678 2002-03-12 Juergen Vigna <jug@sad.it>
8680 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8681 did resize the LyXText too.
8683 * buffer.C (readLyXformat2): set layout information on newly allocated
8686 * tabular.C (OldFormatRead): set layout information on the paragraph.
8688 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8690 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8692 2002-03-11 Juergen Vigna <jug@sad.it>
8694 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8696 (resizeCurrentBuffer): force also the insets to resize themselfes.
8697 (moveCursorUpdate): fixed up for InsetText.
8699 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8702 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8703 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8704 value of Dialogs::tooltipsEnabled().
8705 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8707 2002-03-08 Juergen Vigna <jug@sad.it>
8709 * BufferView_pimpl.C (updateInset): update inset inside inset also
8710 if it isn't inside theLockingInset().
8712 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8714 * buffer.C (asciiParagraph): redo some of the word and line length
8716 (getLists): look for Caption instead of caption.
8718 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8720 * buffer.C (Buffer): initialize niceFile to true
8723 (makeDocBookFile): make sure niceFile is true on exit
8725 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8727 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8729 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8731 * LyXSendto.C: remove.
8732 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8733 * lyx_gui.C: remove now-redundant comment.
8734 * ColorHandler.h: remove forward declaration of class WorkArea.
8735 * lyxfunc.C: remove #include "WorkArea.h".
8737 2002-03-07 Juergen Vigna <jug@sad.it>
8739 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8740 got moved away with the DEPM and also set the inset_owner always
8741 right which before could have been omitted.
8743 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8745 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8746 wanted layout is not found.
8748 2002-03-07 Juergen Vigna <jug@sad.it>
8750 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8752 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8754 * paragraph.C (breakParagraph): use default layout not layout of
8756 (Paragraph): clear ParagraphParameters.
8758 2002-03-06 Juergen Vigna <jug@sad.it>
8760 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8761 otherwise it would not be a valid lenght. Fixed a special case in
8762 the minipage compatibility read where we end the document with a
8765 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8766 was set as it could be 0 for InsetTexts first entry.
8768 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8770 * paragraph.C (writeFile): if layout is empty write out
8771 defaultLayoutName().
8773 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8774 file without named layout we set layout to defaultLayoutName().
8776 2002-03-06 Juergen Vigna <jug@sad.it>
8778 * CutAndPaste.C (copySelection): set layout for new paragraph.
8780 * text.C (prepareToPrint): leave ERT inset left aligned
8781 (leftMargin): don't indent paragraphs inside ERT insets
8783 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8785 * paragraph.C (breakParagraph): dont call clear do the work manually
8787 * paragraph.[Ch] (clear): remove function
8789 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8791 * paragraph.C (Paragraph): dont call clear, the work has already
8794 * lyxtextclass.C (operator): assert if n is empty
8796 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8797 work manually instead.
8799 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8801 * BufferView_pimpl.C: protect selectionLost against text == 0
8803 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8805 * text.C (breakParagraph): fix a setting layout to '0' problem.
8807 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8809 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8810 final location of file, for the included files, and graphics.
8812 2002-03-05 Juergen Vigna <jug@sad.it>
8814 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8816 2002-03-04 Juergen Vigna <jug@sad.it>
8818 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8820 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8821 last column of multicolumn cells.
8822 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8824 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8826 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8827 file if it doesn't go to a temporary file.
8829 * buffer.C (sgmlOpenTag):
8830 (sgmlCloseTag): remove extra newline insertion.
8832 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8834 * text.C (getRowNearY): comment out debug msg
8836 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8838 * text2.C: first -> first_y
8840 * text.C (getRowNearY): add some attemts at a possible
8841 optimization, not working.
8843 * tabular.[Ch]: add BufferParams to several function so that newly
8844 created paragraph can be initialized to he default layotu for the
8847 * tabular-old.C (ReadOld): add buf->params to call of Init
8849 * screen.C: rename text->first to text->first_y
8851 * paragraph.C (breakParagraph): always set layout in the broken
8854 * lyxtextclass.C (Read): remove lowercase
8857 (delete_layout): ditto
8859 * lyxtext.h: rename first -> first_y
8861 * lyxlayout.C (Read): remove lowercase
8864 (obsoleted_by): ditto
8866 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8868 * buffer.C (insertErtContents): add params are to InsetERT
8869 (parseSingleLyXformat2Token): add code to check if a paragraphs
8870 layout really exist.
8871 (parseSingleLyXformat2Token): add params to several inset
8873 (asciiParagraph): remove lowercase, do the layout comparisons with
8876 * BufferView_pimpl.C (cursorNext): first -> first_y
8877 (resizeCurrentBuffer): first -> first_y
8878 (updateScrollbar): first -> first_y
8879 (scrollCB): first -> first_y
8880 (workAreaMotionNotify): first -> first_y
8881 (workAreaButtonPress): first -> first_y
8882 (checkInsetHit): first -> first_y
8883 (cursorPrevious): first -> first_y
8884 (cursorNext): first -> first_y
8885 (Dispatch): add buffer_->params to severl inset contructors
8887 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8889 * lyxlayout.C (Read): remove some debug info that I forgot.
8891 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8892 clean up the code slightly.
8893 (makeLinuxDocFile): ditto
8894 (makeDocBookFile): ditto
8896 * text2.C: layout as string
8898 * text.C: layout as string
8900 * paragraph_pimpl.C: layout as string
8902 * paragraph.[Ch]: layout as string
8904 * lyxtextclasslist.[Ch]: layout as string
8906 * lyxtextclass.[Ch]: layout as string
8908 * lyxtext.h: layout as string
8910 * lyxlayout.[Ch]: layout as string
8912 * lyx_cb.C: layout as string
8914 * bufferview_funcs.C: layout as string
8916 * bufferparams.C: layout as string
8918 * buffer.C: layout as string
8920 * LyXView.[Ch]: layout as string
8922 * LaTeXFeatures.[Ch]: layout as string
8924 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8926 * BufferView_pimpl.C: change current_layout to string, remove
8931 (workAreaButtonRelease): layout as string
8933 * BufferView2.C (unlockInset): adjust
8935 * vspace.C (asLatexCommand): use an explict temp variable.
8937 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8939 * Makefile.am: use FRONTEND_*
8941 2002-03-01 Juergen Vigna <jug@sad.it>
8943 * tabular.C (SetWidthOfMulticolCell): changed to something better
8944 I hope but still work in progress.
8945 (recalculateMulticolumnsOfColumn): renamed function from
8946 recalculateMulticolCells as it is more appropriate now.
8947 (SetWidthOfCell): calculate multicols better.
8949 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8951 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8953 * lyxfunc.C (processKeySym): print sequence also if it is
8954 `deleted' (complete)
8956 * kbsequence.C (print): print sequence even if it is deleted
8957 (complete would be a better word, actually).
8959 * lyxfunc.C (dispatch): print complete options after a prefix key
8961 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8963 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8965 * text2.C (setCharFont): eliminate setCharFont code duplication.
8967 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8969 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8970 LFUN_TABULAR_FEATURE (bug #177)
8972 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8974 * Makefile.am: remove figure.h
8976 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8978 * Bufferview_pimpl.C:
8990 * text2.C: remove #include "lyx_gui_misc.h".
8992 * LaTeX.C: added #include <cstdio>
8994 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8996 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8997 that the paragraph following this one can have.
8999 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9001 * vspace.C (asLatexCommand): fix bogus gcc warning
9003 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9005 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9007 * text2.C (setLayout): get rid of redundant code
9009 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9011 * text2.C (incDepth): make sure depth cannot be increased beyond
9014 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9016 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9017 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9019 * PainterBase.h (image):
9020 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9023 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9027 * BufferView_pimpl.C:
9028 * BufferView_pimpl.h:
9048 * sp_spell.C: remove fig inset, and the crap house of
9049 cards that follows it
9051 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9057 * nt_defines.h: move .h into support/
9059 * vms_defines.h: remove
9061 * WorkArea.C: add space in debug output
9065 * buffer.C: add WITH_WARNINGS
9069 * bufferlist.C: s/retrive/retrieve/, add docs
9080 * lyxgui.C: add ID to X error handler
9082 * lyxtestclass.c: fix typo
9084 2002-02-26 Juergen Vigna <jug@sad.it>
9086 * tabular_funcs.C (write_attribute): changed so that some default
9087 attributes are not written at all.
9088 (getTokenValue): set default values before trying to read the
9089 value so we have the return value always set as default if we don't
9090 find the token we search for.
9092 * tabular.C (Write): write bools as bools not as strings!
9094 2002-02-22 Juergen Vigna <jug@sad.it>
9096 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9097 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9099 * text.C (leftMargin): don't add an indent for paragraphs inside
9100 tabular cells (fix #208).
9102 2002-02-21 José Matos <jamatos@fep.up.pt>
9104 * tabular.C (docBook): fixed support for long tables.
9106 2002-02-20 Juergen Vigna <jug@sad.it>
9108 * text2.C (getFont): get the drawing font of the Inset if this
9109 paragraph is inside an inset (only important for InsetERT for now).
9111 * buffer.C (insertErtContents): use new lanugage params in ERT
9114 * CutAndPaste.C: commenting out seemingly uneeded code.
9116 2002-02-19 Allan Rae <rae@lyx.org>
9118 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9119 Iterators might be simple to use but they also get invalidated.
9120 (removeAutoInsets): renamed saved cursor tracking variables and added
9121 some comments to clarify what everything does.
9123 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9130 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9131 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9134 * vc-backend.h: remove #include "support/syscall.h"
9138 * converter.C: rearrange #includes in Lars' approved fashion.
9140 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9141 forward declare class Timeout in the header file.
9143 * XFormsView.C: changes due to the above.
9145 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9148 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9149 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9151 2002-02-18 José Matos <jamatos@fep.up.pt>
9153 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9156 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9158 * a lot of small ws changes
9159 * add a lot of using std::XXX
9160 * use std construcs some places where approp.
9161 * use some exisint stuff from lyxfunctional where approp.
9162 * Make file changes to use partial linking (lets test this now...)
9164 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9168 remove #include "support/syscontr.h" as it's redundant. Always has been.
9176 change Systemcalls::System to Systemcalls::Wait and
9177 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9178 No change of functionality, just reflects the stripped down Systemcalls
9181 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9183 * debug.[Ch]: add a GRAPHICS type to the enum.
9185 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9187 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9189 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9192 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9194 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9195 match the changes below.
9197 * text2.C (toggleInset): if there is not editable inset at cursor
9198 position, try to see if cursor is _inside_ a collapsable inset
9201 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9203 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9204 document menu has a nice checkbox
9206 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9208 * lyxlength.C (asLatexString): change PW to output as percent of
9211 * lengthcommon.C: change '%' to 't%'
9213 * lyxfunc.C (dispatch): a few comments from Martin
9215 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9219 * BufferView_pimpl.h:
9220 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9223 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9225 * vspace.C (inPixels): fix compiler warning
9227 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9229 * lyxfunc.C (getStatus): fix status message for disabled commands.
9231 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9233 * BufferView_pimpl.C: fix crash on close buffer
9234 during selection (#227)
9236 2002-01-27 Herbert Voss <voss@lyx.org>
9238 * buffer.C: link old Figure to new graphic inset
9240 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9242 * FontLoader.C (getFontinfo): Change the latex font names in order
9243 to match the names of type1inst.
9245 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9247 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9249 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9252 (remove_files_with_extension): ditto
9253 (remove_file): ditto
9256 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9257 document is smaller than the work area height. Do not initialize
9258 static variables to 0.
9260 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9262 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9264 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9265 LFUN_LAYOUT_PARAGRAPHS.
9267 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9268 tabular. It is possible to provide a possible cell, which will
9269 typically be the actcell from the corresponding insettabular
9271 * lyxfunc.C (getStatus): small cleanup; disable
9272 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9275 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9277 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9279 * paragraph.C (startTeXParParams):
9280 (endTeXParParams): new methods. The LaTeX code to
9281 start/end paragraph formatting
9282 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9283 empty (fixes bug #200)
9285 * vspace.C (inPixels): adapt to the change below
9286 (inPixels): [later] more cleanups (remove unused variables)
9288 * lyxlength.C (inPixels): change to use a width and a height as
9291 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9293 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9294 Replaced with \paperwidth
9296 * DepTable.C (insert): add std:: qualifier
9298 2002-01-18 Allan Rae <rae@lyx.org>
9300 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9303 * text.C (drawInset): Turned out I didn't know enough about how
9304 rebreaking worked. This fixes most of the redraw problems. I see
9305 an occasional cursor trail when a line is broken now and the cursor
9306 placement can seem out by a few pixels also after a rebreak.
9308 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9310 * buffer.C (parseSingleLyXformat2Token): update because minipage
9311 width is now a LyXLength
9313 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9315 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9318 2002-01-17 Juergen Vigna <jug@sad.it>
9320 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9322 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9323 is set correctly and the inset is updated correctly.
9325 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9327 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9328 the beginning of the loop.
9330 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9332 * lyxrc.C: improve help for use_scalable_fonts
9334 2002-01-17 Allan Rae <rae@lyx.org>
9336 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9338 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9340 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9341 make sure to set their inset_owner to the right value (bug #171)
9343 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9346 * DepTable.C: Implement mtime checking to reduce time spent doing
9349 2002-01-16 Juergen Vigna <jug@sad.it>
9351 * tabular.C (GetAdditionalHeight): one of error fixed.
9353 * lyxrc.C (output): small fix in writing use_pspell.
9355 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9357 * sp_base.h: #include LString.h
9359 2002-01-16 Allan Rae <rae@lyx.org>
9361 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9362 Can someone check this please?
9364 * text.C (drawInset): It was possible that p.row would be removed by
9365 breakAgainOneRow upsetting a few other settings. There may be another
9366 small tweak possible by setting need_break_row = 0 when p.row has been
9367 removed but I don't know enough about the logic here.
9369 2002-01-15 Allan Rae <rae@lyx.org>
9371 * text.C (insertChar): removed conditional truism.
9373 * BufferView2.C (removeAutoInsets): More tweaks.
9374 cur_par_prev could be a stray pointer. Check for trailing empty line
9375 in case last line was cur_par and only had an error inset on it.
9377 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9379 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9382 * vc-backend.C (most methods):
9383 * exporter.C (Export):
9384 * converter.C (convert):
9386 * LyXSendto.C (SendtoApplyCB):
9387 * lyxfunc.C (dispatch):
9391 * lyx_cb.C (AutoSave):
9393 * BufferView_pimpl.C (MenuInsertLyXFile):
9394 * buffer.C (runChktex): use Buffer::filePath().
9396 * buffer.h: rename filename to filename_; rename filepath to
9397 filepath_ and make it private
9398 (filePath): new method
9400 * buffer.C (writeFile): use fileName()
9403 * lyx_main.C (init): fix starting of LyX when the binary is a
9404 link from so,ewhere else.
9406 * minibuffer.C: include <cctype> for isprint
9408 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9410 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9411 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9412 name clash with InsetCollapsable's width function.
9414 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9416 * lastfiles.C: include <iterator>
9418 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9420 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9423 * buffer.C (makeLaTeXFile): ditto.
9424 Also make loop operation more transparent.
9426 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9428 * ToolbarDefaults.C: remove trailing comma closing namespace.
9430 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9432 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9435 * trans.C (Load): comment out unused variable, allowed.
9437 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9439 * minibuffer.[Ch] (append_char): new method to recieve input from the
9440 drop-down completion browser. If a key was pressed, then recieve this
9441 char and append it to the existing string.
9442 (peek_event): modify the positioning data passed to the completion
9443 browser so that it can be placed above the minibuffer rather than below.
9444 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9446 * LyXAction.C (init): alloe error-next for readonly documents.
9448 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9451 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9453 * bufferlist.C (readFile): create the buffer _after_ checking that
9456 * lyxfunc.C (verboseDispatch): fix handling of arguments
9458 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9460 * lyxrc.C: use string::erase() instead of initializing to "".
9463 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9465 * BufferView_pimpl.h:
9466 * BufferView_pimpl.C:
9469 * text2.C: tell X when we have made a selection for copying
9471 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9473 * BufferView_pimpl.C (MenuInsertLyXFile):
9474 * lyxfunc.C (menuNew):
9476 (doImport): add shortcuts to directory buttons
9478 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9481 * lyxfunc.C (setStatusMessage):
9482 (getStatusMessage): new methods
9483 (getStatus):use setStatusMessage instead of setErrorMessage
9484 (dispatch): when function is disabled, set error message here
9485 [instead of in getStatus previously]
9487 * BufferView_pimpl.C (workAreaButtonRelease): update
9488 toolbar/menubar here too.
9490 2002-01-13 Allan Rae <rae@lyx.org>
9492 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9493 Now seems indestructible. Remaining task is to audit all other
9494 code affected by deleteEmptyParagraphMechanism. One small quirk
9495 left is that an empty document with an error in the preamble can
9496 be made to report an error but no error box appears. I don't know
9498 (removeAutoInsets): Improved comments.
9500 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9503 * Thesaurus.C: update for Aiksaurus 0.14
9505 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9507 * text2.C (firstParagraph): removed member function, all uses
9508 replaces with ownerParagraph
9509 (redoParagraphs): here
9511 (toggleAppendix): here
9512 * BufferView2.C (insertErrors): here
9513 (setCursorFromRow): here
9515 2002-01-13 Allan Rae <rae@lyx.org>
9517 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9518 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9519 There is still a way to segfault this although you may have to do this
9520 multiple times: Have an InsetERT with an unknown command in it.
9521 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9522 <down-arrow>, <Enter> again, View->DVI, BANG!
9524 * text2.C (setCursor):
9525 (deleteEmptyParagraphMechanism):
9526 * lyxtext.h (setCursor):
9527 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9528 Making use of the return value may help fix other bugs.
9530 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9532 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9534 * LyXView.C (updateMenubar): call MenuBar::update here
9535 (updateToolbar): but not here
9536 (showState): do not update toolbar/menubar
9538 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9539 should need to care about that.
9541 * lyxfunc.C (verboseDispatch): simplify a bit
9542 (getStatus): have a version which takes a pseudoaction, and
9543 another which requires a (kb_action,string).
9545 * LyXAction.C (retrieveActionArg): make it work also when action
9546 is not a pseudo-action.
9547 (getActionName): simplify a bit
9550 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9552 * lyxfunc.C (verboseDispatch): new families of methods with
9553 several ways to specify a command and a bool to indicate whether
9554 the command name and shortcut should be displayed in minibuffer
9555 (eventually, we could extend that to a finer bitmask like
9556 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9557 (dispatch): the pristine dispatch command which just, well,
9558 dispatchs! Note it still sets its result to minibuffer; I'm not
9561 * lyxfunc.h: remove setHintMessage
9563 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9565 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9567 * BufferView_pimpl.C (specialChar): delete new inset if we have
9568 not been able to insert it.
9570 * kbmap.C: revert to using int instead of kb_action, since all we
9571 are dealing with is pseudo-actions.
9573 * LyXAction.C (searchActionArg): change to return int instead of
9574 kb_action, since the result is a pseudoaction.
9576 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9578 * buffer.C (insertErtContents): Fix (partially) the font bug.
9580 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9582 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9583 as the other one is broken on my machine!
9585 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9588 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9590 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9592 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9593 reflect their actual use. Provide compatibility code for older lyxrc
9596 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9598 change names of popup font variables in line with the changes to lyxrc.C
9600 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9602 * buffer.C (asciiParagraph): avoid outputing a word twice after
9605 * lyxrc.C (getDescription): document that document_path and
9606 template_path can be empty.
9608 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9610 * LaTeXFeatures.C (getMacros):
9611 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9613 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9615 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9617 (getPackages): rename feature "floats" to "float". Use an array to
9618 iterate over 'simple' features (i.e. just a \usepackage). Add
9619 handling of "amsmath" (renamed from "amsstyle").
9621 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9623 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9626 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9628 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9629 FuncStaus::FuncStatus & FuncStaus::some_method().
9631 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9633 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9634 of the func_satus stuff. Edited and massaged in various ways by
9637 * lyxfunc.C (getStatus): use FuncStatus
9639 2002-01-08 Juergen Vigna <jug@sad.it>
9641 * text.C (nextBreakPoint): use function Inset::isChar().
9643 * paragraph.C (TeXOnePar): use function
9644 Inset::forceDefaultParagraphs.
9646 * buffer.C (latexParagraphs): use function
9647 Inset::forceDefaultParagraphs.
9649 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9651 * lyx_gui.C (init): set the style of the menu popups to
9652 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9654 2002-01-07 Juergen Vigna <jug@sad.it>
9656 * text.C (setHeightOfRow): small fix
9657 (prepareToPrint): don't look at alignment if we don't have the place
9660 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9662 * box.C: New file. Move the Box methods and functions out of box.h,
9663 following Lars' suggestion.
9665 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9667 * box.h: #include "support/LOstream.h", needed for inlined function.
9670 * lyxtextclasslist.C: added some using std declarations.
9672 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9674 * box.h: make signed dimensions to allow insets wider than
9675 the screen (bug #162)
9677 * BufferView_pimpl.C: add some insetHit debug
9679 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9681 * vc-backend.C: add FIXME
9683 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9685 * lyxfunc.C (getStatus): enable code for showing math font status
9688 2002-01-07 Juergen Vigna <jug@sad.it>
9690 * text.C (nextBreakPoint): removed debug output not needed anymore.
9692 2002-01-06 Juergen Vigna <jug@sad.it>
9694 * text.C (nextBreakPoint): fixed up this function we had this bug
9695 since ever but now hopefully we break row better.
9696 (insertChar): we have to check if an inset is the next char as it
9697 could now happen that a large inset is causing a break.
9699 2002-01-05 Juergen Vigna <jug@sad.it>
9701 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9702 if it doesn't like to be drawed.
9704 2002-01-04 Juergen Vigna <jug@sad.it>
9706 * BufferView2.C (lockInset): forgot to set a cursor.
9708 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9710 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9715 * form_maths_panel.C:
9716 * form_maths_panel.h:
9717 * form_maths_panel.fd: implemented sub- and super- buttons in math
9720 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9721 (or ^ space) to be used as in TeX (req'd by André).
9723 * lyxfunc.C: Allow ^ and _ again to be used both as
9724 super/subscript (mathed) and as themselves (in text).
9726 2002-01-03 Allan Rae <rae@lyx.org>
9728 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9729 "LyX" or the filename of the current buffer if it has one. This is a
9730 modified form of John Levon's patch.
9732 * XFormsView.C (setWindowTitle): also set icon title.
9734 * LyXView.h (setWindowTitle): signature changed.
9735 * XFormsView.h (setWindowTitle): ditto.
9737 2002-01-02 Juergen Vigna <jug@sad.it>
9739 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9741 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9743 * screen.C (topCursorVisible): introduce a temp var for
9744 text->cursor.row(), handle the case where this row is null. (kindo
9747 * text2.C (setCursor): add a couple of asserts.
9749 * paragraph.h (inset_iterator): add -> operator
9751 * paragraph.[Ch] (autoDeleteInsets): remove member function
9753 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9754 cursor pos correctly and handle inset deletion by itself.
9755 (insertErrors): move iterator declaration out of for expression
9757 * lyxtextclass.C: add <algorithm>
9759 * Makefile.am: added the new files to sources, removed layout.C
9761 * layout.C: removed file
9763 * layout.h: remove LYX_DUMMY_LAYOUT
9765 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9769 * lyxtextclass.[Ch]:
9770 * lyxtextclasslist.[Ch]: new files
9772 * include order changes to a lot of files, also changes because of
9775 2001-12-27 Juergen Vigna <jug@sad.it>
9777 * buffer.C (asciiParagraph): more fixes.
9779 * tabular.C (ascii): make ascii export support export of only the
9780 data separated by a column-delimiter.
9781 (ascii): better support for ascii export.
9783 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9785 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9787 * tabular_funcs.C: use a "using std::getline" instead of the
9788 previous fix from Angus (necessary for cxx + lyxstring)
9790 2001-12-24 Juergen Vigna <jug@sad.it>
9792 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9794 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9795 problems. First check a minipage also if we have some ert-contents
9796 (not only on par->size(), second set the right depth of the paragraph
9797 on the relink to the root-paragraph-list!
9799 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9800 which then did not anymore update the main paragraphs on undo/redo!
9802 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9804 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9805 code. Support all font-changing funcs (even those which are not in
9806 menu currently). Support for reporting font settings in
9807 mathed (disabled until Andre provides a function on mathed's side).
9809 * func_status.h (toggle): small helper function to set toggle
9812 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9814 * tabular_funcs.C: getline -> std::getline
9816 2001-12-21 Juergen Vigna <jug@sad.it>
9818 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9819 accessed and could be 0 (I couldn't generate this but it seems
9822 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9824 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9825 * tabular_funcs.h: here and include iosfwd
9827 2001-12-20 Juergen Vigna <jug@sad.it>
9829 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9830 inside inset but undo_par was.
9832 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9834 * Thesaurus.C: always include <config.h> in sources.
9838 * box.h: do not include <config.h> in header files
9840 * text.C (paintLastRow): remove unused variable
9842 * text.C (transformChar):
9844 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9847 * font.C (width): rewrite to use uppercase() instead of
9850 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9852 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
9854 * lyxfind.C: clean up of find failure position change
9856 2001-12-20 Juergen Vigna <jug@sad.it>
9858 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9860 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9861 (TeXRow): added to LaTeX a single tabular row.
9862 (TeXLongtableHeaderFooter): added to output LT-h/f data.
9863 (Latex): simplified and finally good LT-h/f support.
9864 (various_functions): just small adaptions for LT-h/f support.
9866 * tabular_funcs.[hC]: added and moved here all not classfunctions
9869 2001-12-19 Juergen Vigna <jug@sad.it>
9871 * tabular.[Ch]: better support for longtabular options (not finished
9874 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9876 * text.C (paintLastRow): use the label font instead of the font of
9877 the last character to compute the size of *_BOX. This makes more
9878 sense and avoids a crash with empty paragraphs.
9879 Use Painter::rectangle to draw EMPTY_BOX.
9881 2001-12-19 Juergen Vigna <jug@sad.it>
9883 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9884 the paragraphs if the replaced paragraph is not the first one!
9885 Tried to delete not used paragraphs but does not work yet so for
9886 now it's inside #ifdef's and by default off!
9888 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9890 * MenuBackend.C: include "lyx_main.h" instead of declaring
9891 lastfiles (actually was declared as LastFiles* instead of a
9894 2001-12-17 Juergen Vigna <jug@sad.it>
9896 * tabular.C (AppendColumn): applied John's fix
9898 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
9902 * BufferView_pimpl.h:
9903 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9906 * box.h: new start of class for above
9908 * lyxfunc.C: ignore space-only minibuffer dispatches.
9909 Show the command name when it doesn't exist
9911 * minibuffer.C: don't add empty lines to the history
9913 * minibuffer.C: add a space on dropdown completion
9915 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
9917 * text.C: fix line above/below drawing in insets
9919 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9921 * lyxlength.C (LyXLength): Initialize private variables.
9923 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
9925 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9926 when inserting error insets.
9928 2001-12-13 Juergen Vigna <jug@sad.it>
9930 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9931 actually sometimes the before-paragraph.
9932 (setUndo): don't clear the redostack if we're not actually undoing!
9934 2001-12-06 Juergen Vigna <jug@sad.it>
9936 * undo_funcs.C (textHandleUndo): well after John's hint I got here
9937 and fixed redoing of main paragraph, so we can use it now ;)
9939 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9941 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9943 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9946 2001-12-13 André Pönitz <poenitz@gmx.net>
9949 * undo_func.C: minor cleanup
9951 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9953 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9954 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9955 font in urw-fonts package which is marked as -urw-fontspecific and
9956 does not work (incidentally, changing the encoding in the
9957 fonts.dir of this package to -adobe-fontspecific fixes the
9960 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9961 is a crash when undoing first paragraph (Juergen, please take a
9962 look). THis does not mean the undo fix is wrong, just that it
9965 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9966 the (Paragraph*) version when needed instead of duplicating the
9969 * text.C (workWidth): use Inset::parOwner to find out where the
9970 inset has been inserted. This is a huge performance gain for large
9971 documents with lots of insets. If Inset::parOwner is not set, fall
9972 back on the brute force method
9974 * paragraph_pimpl.C (insertInset):
9975 * paragraph.C (Paragraph):
9976 (cutIntoMinibuffer): set parOwner of insets when
9977 inserting/removing them
9979 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9981 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9987 * mathed/formulabase.C:
9988 * mathed/math_cursor.[Ch]:
9989 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9992 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9994 * lyxlength.[Ch] (operator!=): new function
9996 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9998 * text.C (workWidth): use Inset::parOwner to find out where the
9999 inset has been inserted. This is a huge performance gain for large
10000 documents with lots of insets. If Inset::parOwner is not set, fall
10001 back on the brute force method
10003 * paragraph_pimpl.C (insertInset):
10004 * paragraph.C (Paragraph):
10005 (cutIntoMinibuffer): set parOwner of insets when
10006 inserting/removing them
10008 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10010 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10012 * tabular-old.C (getTokenValue):
10013 * tabular.C (getTokenValue):
10014 (write_attribute): new versions for LyXLength
10015 (everywhere): adjust the use of widths
10017 * tabular.h: change the type of widths from string to LyXLength
10019 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10021 * paragraph.C: fixed missing line number count when exporting
10022 Environments to LaTeX file
10024 * buffer.C: added informational message for checking line numbers.
10026 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10028 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10029 paragraph, do the 'double space' part, but not the 'empty
10032 * text.C (workWidth): small optimization
10033 (getLengthMarkerHeight): use minimal size for negative lengths.
10035 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10037 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10039 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10041 2001-12-11 André Pönitz <poenitz@gmx.net>
10044 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10046 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10048 * text2.C: keep selection on a setFont()
10050 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10052 * lyx_cb.C: another bv->text misuse, from insert label
10054 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10057 * kbsequence.C: re-instate nmodifier mask
10059 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10061 * lyx_main.h: make lyxGUI private.
10063 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10065 * lyxfind.C: place the cursor correctly on failed search
10067 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10069 * text.C (getLengthMarkerHeight): for small heights, the arrows
10070 are not always on top/bottom of the text
10071 (drawLengthMarker): smaller arrows; take the left margin in
10072 account; draw also vfills.
10074 (paintLastRow): remove special code for vfill and standard spaces,
10075 since everything is handled in drawLengthMarker now.
10077 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10079 * buffer.C (insertErtContents): try to handle font and language
10080 interaction a bit better.g
10082 * ColorHandler.C (updateColor): change the hash to cover the whole
10083 LColor enum, ws cleanup
10084 (getGCLinepars): ditto
10085 (getGCLinepars): only lookup in the linecache once.
10087 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10089 * iterators.C (operator++): Make the iterator more robust
10091 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10093 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10095 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10098 * text.C: better added space drawing
10100 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10103 * BufferView2.C: fix layout combo update on inset unlock
10105 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10107 * Makefile.am: don't compile unused files
10109 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10113 * LyXAction.C: remove old LFUN_LAYOUTNO
10115 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10117 * paragraph_pimpl.h:
10118 * paragraph_pimpl.C: isTextAt() doesn't need font param
10120 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10123 * lyxlex.C: little cleanup
10125 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10127 * BufferView_pimpl.C: fix insertAscii for insets
10129 2001-12-05 Juergen Vigna <jug@sad.it>
10131 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10132 set the right font on the "multi" paragraph paste!
10134 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10140 * lyxlength.C: remove out-commented code.
10142 * BufferView_pimpl:
10156 * vc-backend.C: change "while(" to "while ("
10158 * lyxlength.[Ch]: add zero function to check if length is zero or
10160 * lyxgluelength.C: use it
10162 2001-12-05 Allan Rae <rae@lyx.org>
10164 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10165 Works for 2.95.3, from what I understand of Garst's reports this should
10166 work for other g++ versions. We're screwed if the abs(int) definition
10167 changed between bugfix releases of gcc.
10169 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10171 * text.C: fix chapter label offset !
10173 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10176 * text.C: fix hfill at end of line, clean up
10178 2001-12-04 Juergen Vigna <jug@sad.it>
10180 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10181 that we force an update of the inset and it's owners if neccessary.
10183 2001-12-03 Juergen Vigna <jug@sad.it>
10185 * text.C (rowLast): simplified code
10187 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10189 * lyxfunc.C: fix show options on timeout
10191 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10193 * screen.C (topCursorVisible): scroll half a page when the cursor
10194 reached top of bottom of screen
10196 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10198 * minibuffer.C: deactivate on loss of focus
10200 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10202 * vspace.[Ch] (operator!=): add operator.
10204 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10206 * BufferView_pimpl.C: refuse to open an inset when
10207 there's a selection.
10209 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10211 * BufferView_pimpl.C: allow to click on RHS of full row insets
10213 2001-11-30 Juergen Vigna <jug@sad.it>
10215 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10216 insets for undo reasons.
10218 2001-11-28 André Pönitz <poenitz@gmx.net>
10220 * vspace.[Ch]: cosmetical changes
10222 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10232 * kbsequence.C: part re-write of old kb code
10235 * WorkArea.C: remove Lgb_bug_find_hack
10237 2001-11-30 José Matos <jamatos@fep.up.pt>
10239 * buffer.C (makeDocBookFile): add a comment to point a hack.
10240 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10241 Fixed a double write of labels.
10243 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10246 * LaTeX.h Fixed bug in LaTeX class where it would not
10247 re-run latex if no depfiles were changed, but the .dvi was removed.
10249 2001-11-28 André Pönitz <poenitz@gmx.net>
10251 * all the files from the change on 2001/11/26:
10252 use lyx::layout_type instead of LyXTextClass::size_type
10253 use lyx::textclass_type instead of LyXTextClassList::size_type
10255 2001-11-29 Juergen Vigna <jug@sad.it>
10257 * text.C: added support for paragraph::isFreeSpacing()
10259 * buffer.C: same as above
10261 * paragraph.h: inserted isFreeSpacing() function to enable
10262 FreeSpacing inside InsetERT.
10264 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10265 of the paragraph's in the cut/copy buffer to 0!
10267 * text2.C (removeRow): remove the assert as it can!
10269 * lyxtext.h: added helper function firstRow returning firstrow and
10270 made firstrow private again.
10272 * BufferView2.C (lockInset): don't relock if we're already locked!
10274 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10275 the only paragraph.
10276 (removeRow): added Assert::(firstrow)
10278 * debug.C: forgot to add INSETTEXT here.
10280 2001-11-28 Juergen Vigna <jug@sad.it>
10282 * sp_spell.C (initialize): changed error text to more general
10283 spellchecker command use (not only ispell!)
10285 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10287 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10289 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10291 * vspace.C: initialise lyxgluelength on failure
10293 2001-11-28 Allan Rae <rae@lyx.org>
10295 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10296 declaration & definition that looks like a function declaration.
10298 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10300 * BufferView2.C (copy):
10301 (copyEnvironment): do not clear the selection when doing a copy.
10303 * text.C (paintFirstRow): compilation fix
10305 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10307 * tabular.C (Latex): correct line count when writing latex.
10309 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10311 * paragraph_pimpl.h:
10312 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10315 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10319 * LColor.C: change vfillline->added_space
10321 * text.C: add markers and text for added space
10323 * vspace.C: fix comment
10325 2001-11-28 André Pönitz <poenitz@gmx.net>
10327 * paragraph.C: whitespace changes
10328 * all the other files from the change on 2001/11/26:
10329 change *::pos_type into lyx::pos_type
10331 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10333 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10334 language of the document when inserting error insets.
10336 2001-11-26 André Pönitz <poenitz@gmx.net>
10338 * BufferView_pimpl.[Ch]:
10346 * paragraph_pimpl.[Ch]:
10349 * text2.C: reduce header dependencies, introduce type for positions
10351 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10353 * <various>: change to use Alert.h
10355 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10357 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10358 when encountering an unknown token.
10359 (readLyXformat2): Show an error message if there were unknown tokens.
10361 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10364 * BufferView_pimpl.C:
10368 * text2.C: use par->isInset()
10370 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10372 * paragraph_pimpl.h:
10373 * paragraph_pimpl.C: cleanup
10375 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10377 * text2.C (removeRow):
10378 * text.C (setHeightOfRow): remove useless (and costly) call to
10381 2001-11-20 Allan Rae <rae@lyx.org>
10383 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10384 Now need Inset*::checkInsertChar() to return true for appropriate
10385 cases so that the characters in the minibuffer will actually be
10388 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10390 * text.C: change the order of the includes.
10391 (workWidth): initialize it at once.
10392 (workWidth): make maxw unsigned
10393 (setHeightOfRow): remove unused variable (inset)
10394 (selectSelectedWord): remove unused variable (inset)
10395 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10397 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10399 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10400 server is not running.
10402 (closeConnection): add debug info when server is disabled.
10404 * ColorHandler.C (getGCForeground): send debug message to GUI
10407 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10409 * kbmap.C (bind): modify because return conventions of
10410 kb_sequence::parse have changed.
10412 * kbsequence.C (parse): only ignore spaces and not any stupid
10413 control character. This avoids tests like s[i] <= ' ', which are
10414 guaranteed to fail with 8bit characters and signed chars.
10415 Change return code to string::npos when there have been no error
10416 (0 was a bad idea when error is at first character)
10418 2001-11-14 José Matos <jamatos@fep.up.pt>
10421 * buffer.C (simpleDocBookOnePar): removed unused argument.
10423 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10425 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10426 insets which are part of a word. Paragraph::isLetter takes care of
10427 that now. Use Paragraph::isInset to identify insets.
10428 (selectSelectedWord): do not test for hyphenation break.
10430 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10431 that protected spaces are considered as spaces.
10433 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10436 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10439 * lyxserver.C: fix it. and small cleanup.
10441 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10443 * BufferView_pimpl.C: use inline helpers
10446 * LaTeXFeatures.C: fix typos
10449 * Spacing.C: move spacing_string into class
10451 * ToolbarDefaults.C: move stuff into namespace anon
10453 * layout.h: update enum
10455 * lyxfunc.C: use better debug
10457 * minibuffer.h: fix typo
10461 * WorkArea.C: add and use Debug::WORKAREA
10465 * text2.C: code re-organisation, inline helpers
10467 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10469 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10470 std::vector.empty().
10472 2001-11-09 Allan Rae <rae@lyx.org>
10474 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10475 '\n's after tables. Tabular and ERT inset work now makes this no
10478 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10481 * minibuffer.C: fix crash, improve drop-down completion
10483 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10486 * lyxserver.C: invalidate fd's when doing endPipe()
10488 2001-11-08 José Matos <jamatos@fep.up.pt>
10490 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10491 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10494 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10496 2001-11-07 José Matos <jamatos@fep.up.pt>
10499 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10502 * buffer.C (sgmlOpenTag):
10503 * buffer.C (sgmlCloseTag): removed debug info.
10505 * buffer.h (sgmlOpenTag):
10506 * buffer.h (sgmlCloseTag): made public.
10508 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10510 * buffer.C (saveParamsAsDefaults):
10511 * lyx_cb.C (MenuLayoutSave): remove
10513 * LyXAction.C (init):
10515 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10517 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10519 * buffer.C (setPaperStuff): removed from here...
10521 * bufferparams.C (setPaperStuff): ... and moved there.
10523 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10527 * XFormsView.C: add support for drop-down completion
10529 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10531 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10534 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10536 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10539 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10541 * lyx_main.C: change ref to known bugs
10543 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10545 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10546 to work around older babel problems.
10548 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10550 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10552 2001-10-24 Juergen Vigna <jug@sad.it>
10554 * tabular-old.C (ReadOld): below variable changes reflected.
10556 * tabular.[Ch]: added ltType struct for longtable header/footer
10557 defines and changed all instances where they are used. Added
10558 future support for double top/bottom rows.
10560 2001-10-24 José Matos <jamatos@fep.up.pt>
10562 * buffer.h (docbookHandleCaption):
10563 * buffer.C (docbookHandleCaption): removed unused function.
10564 (makeDocBookFile): moved docbook supported version to v4.1.
10566 2001-10-24 José Matos <jamatos@fep.up.pt>
10569 * tabular.C (docbookRow): new function to export docbook code of a row.
10570 (DocBook): now honors the longtable flags.
10572 2001-10-23 José Matos <jamatos@fep.up.pt>
10575 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10576 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10578 * buffer.C (makeLinuxDocFile):
10579 (makeDocBookFile): reworked the preamble, more clean, and with
10580 support for lyx defined entities. Changed the document declaration
10581 to be more XML friendly.
10583 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10584 if we need to output XML that should be done with a filter.
10586 2001-10-22 Juergen Vigna <jug@sad.it>
10588 * sp_pspell.h (class PSpell): add alive function needed in the
10589 controller to see if the spellchecker could be started.
10591 2001-10-22 Juergen Vigna <jug@sad.it>
10593 * buffer.C (insertStringAsLines): modify the font for inserting
10594 chars in certain conditions by calling checkInsertChar(font).
10596 2001-10-19 Juergen Vigna <jug@sad.it>
10598 * text.C (workWidth): use getRow instead of wrong algorithm.
10599 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10601 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10606 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10608 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10610 * text.C (workWidth): do not search for the exact row when
10611 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10612 optimization for big documents.
10614 2001-10-18 Juergen Vigna <jug@sad.it>
10616 * text.C (workWidth): new function with added Inset * parameter.
10618 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10620 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10622 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10623 change return type of getColumnNearX.
10626 * text.C (changeRegionCase): use uppercase/lowercase instead of
10629 (rightMargin): simplify code by factoring out the uses of
10634 (appendParagraph): use Paragraph::size_type
10636 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10638 * vspace.C (asLatexString): add a missing break
10640 2001-10-15 Herbert Voss <voss@perce.de>
10642 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10644 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10646 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10649 2001-10-10 André Pönitz <poenitz@gmx.net>
10651 * lyxfunc.C: removed greek_kb_flag.
10653 2001-10-10 Herbert Voss <voss@perce.de>
10655 * lyx_main.C: delete global string help_lyxdir.
10657 2001-10-09 Herbert Voss <voss@perce.de>
10659 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10661 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10663 * lyx_main.C: added global string help_lyxdir.
10665 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10667 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10669 * lyxrc.C (set_font_norm_type): support iso8859-4
10671 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10673 * LaTeX.C (deplog): add another regex for MikTeX
10675 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10677 * lyxrc.C (set_font_norm_type): support iso8859-3
10679 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10681 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10683 * LaTeXFeatures.C: remove special case of french and index
10685 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10686 before \begin{document}). This solves several incompatibilities.
10688 2001-10-03 Garst Reese <reese@isn.net>
10690 * lyx_cb.C: change CheckTex error msg.
10692 2001-10-03 José Matos <jamatos@fep.up.pt>
10694 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10696 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10698 * .cvsignore: update
10700 * lyx_main.C (commandLineVersionInfo): use new style version info.
10702 * buffer.C (writeFile):
10704 (makeLinuxDocFile):
10705 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10707 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10709 * version.h: update to use stuff in version.C
10711 * version.C.in: new file. Contains version information determined
10712 at compile time. This is a merging of version.h and
10715 2001-10-03 Juergen Vigna <jug@sad.it>
10717 * BufferView_pimpl.C (update): don't change "dirty" status in
10720 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10722 * WorkArea.C (c-tor): re-position version string slightly.
10724 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10726 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10727 revert to previous code.
10729 WorkArea.[Ch]: (show, destroySplash): methods removed.
10731 WorkArea.C: rework code so that it's an amalgam of the codes before and
10732 after the splash screen was moved to WorkArea.
10734 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10737 * vspace.C (inPixels):
10740 * buffer.C (insertStringAsLines):
10741 (asciiParagraph): fix types to be large enough
10743 * lyxlex_pimpl.h: change member status from short to int
10745 * layout.h: fix type of endlabeltype
10748 * kbsequence.C (parse): change return type to string::size_type
10750 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10753 * Bullet.C (bulletSize):
10754 (bulletEntry): do not use short ints as parameters
10756 * BufferView2.C (insertLyXFile): change a char to an int.
10758 * WorkArea.C (WorkArea): remove unneeded floats in computation
10760 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10762 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10764 * paragraph.C (asString): Do not ignore newline/hfill chars when
10765 copying to the clipboard.
10767 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10769 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10770 after a multi-line inset.
10772 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10774 * paragraph.C (validate): Set NeedLyXFootnoteCode
10776 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10778 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10779 and decrease-error to decrease.
10781 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10783 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10784 it more readable (should be equivalent)
10786 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10788 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10790 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10792 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10793 of a cursor (row, etc.) after a character has been deleted
10794 (deleteEmptyParagraphMechanism): call the method above on _all_
10795 cursors held by the LyXText when a double space has been
10798 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10800 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10802 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10804 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10805 background. Use greyOut() and the new show() methods to toggle between
10806 the foreground and background. Add code to remove the splash after
10807 its initial showing.
10809 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10810 (create_forms): no longer call Dialogs::showSplash.
10812 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10814 * .cvsignore: add version_info.h
10816 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10818 * version_info.h.in: new file
10820 * Makefile.am: add version_info.h.in
10822 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10823 version_info.h instead of VERSION_INFO
10825 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10827 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10828 The ERT inset now returns string().
10830 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10832 * lyxtext.h, text.C (selectNextWord): renamed as
10833 selectNextWordToSpellcheck.
10835 * text.C (selectNextWordToSpellcheck): Modified to not select
10836 words inside an ERT inset.
10838 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10840 * lyx_cb.C (MenuLayoutSave): change a bit the question
10842 * sp_base.h: include <sys/types.h>
10844 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
10846 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10848 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
10850 * several files: fix typos in user-visible strings
10852 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10854 * text2.C (pasteSelection): do not set the selection, since it
10855 will be cleared later. Actually, the intent was to fix the way the
10856 selection was set, but I figured rmoving the code was just as good.
10858 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
10860 * FontLoader.C (available): Check if font is available without
10863 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10865 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10867 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
10869 * lyxrc.[Ch]: added display_graphics variable and associated code.
10871 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10873 * bufferparams.C (hasClassDefaults): new method. Returns true if
10874 the buffer parameters correspond to known class defaults
10876 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
10878 * XFormsView.C (show): set minimum size to the main window.
10880 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10882 * text2.C (copySelection):
10884 * lyxfind.C (LyXReplace):
10885 * BufferView_pimpl.C (Dispatch): pass the correct flag to
10886 LyXText::selectionAsString.
10888 * paragraph.C (asString): add "label" argument to the second form
10890 * text2.C (selectionAsString): add "label" argument and pass it to
10891 Paragraph::asString.
10893 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10895 * lyx_main.C (commandLineHelp): remove version information
10897 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
10899 * lyx_main.C: add -version commandline option
10901 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10903 * paragraph.h: make the optional constructor arg required instead.
10904 some modifications to other files because of this.
10906 * minibuffer.C (C_MiniBuffer_peek_event): make it static
10908 * lyxserver.C (C_LyXComm_callback): make it static
10910 * lyx_main.C (error_handler): make it static
10912 * lyx_gui.C (LyX_XErrHandler): make it static
10914 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10916 * WorkArea.C: make the extern "C" methods static.
10918 * Makefile.am (lyx_LDADD): simplify
10920 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10922 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10923 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10925 * LyXAction.C (init):
10926 * lyxfunc.C (dispatch): associated code removal.
10928 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10930 * lyxfont.h (isSymbolFont): shut off warning
10932 * text.C (setHeightOfRow):
10933 (getVisibleRow): fix crash with empty paragraphs which have a
10936 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
10938 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10941 2001-09-04 José Matos <jamatos@fep.up.pt>
10944 * tabular.C (docbook): rename docBook method to docbook.
10946 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10948 * Makefile.am: add dependencies to main.o.
10950 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10952 * FontLoader.C (available): Return false if !lyxrc.use_gui
10954 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10956 * FontInfo.C (query):
10957 * converter.C (view):
10958 * importer.C (Import):
10959 * exporter.C (Export): Can not -> cannot.
10961 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10963 * BufferView_pimpl.C: allow to create index inset even if
10966 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10968 * buffer.C (getLists): replace boost::tie code with an explicit pair
10969 as boost::tie can break some compilers.
10971 * iterators.h: Added a std:: declaration to the return type of
10974 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10976 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10979 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10981 * iterators.[Ch]: New files. Provide paragraph iterators.
10983 * buffer.C (changeLanguage): Use paragraph iterators.
10984 (isMultiLingual): ditto
10986 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10988 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10990 * FontLoader.C: Support for cmr font.
10992 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10994 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10995 (available): New method.
10997 * FontInfo.C (getFontname): Use scalable fonts even when
10998 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11001 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11003 * converter.C (Formats::view): reverted! Incorrect fix.
11005 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11007 * converter.C (Formats::view): only output the -paper option
11008 if the dvi viewer is xdvi, thereby fixing bug #233429.
11010 2001-08-23 Herbert Voss <voss@perce>
11012 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11014 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11016 * Spacing.h (Spacing): Set space to Default on in the default
11019 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11021 * vc-backend.h (RCS::versionString): add RCS to version
11022 (CVS::versionString): add CVS to version
11024 * vc-backend.C (scanMaster): do not add CVS to version.
11025 (scanMaster): do not add RCS to version
11027 * lyxvc.C (versionString): new method
11029 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11031 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11033 * Spacing.C (set): initialize fval
11035 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11037 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11040 2001-08-16 Juergen Vigna <jug@sad.it>
11042 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11044 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11046 * BufferView_pimpl.C:
11049 * text2.C: setParagraph takes linespacing now
11051 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11053 * LyxAction.C: add internal LFUN_CITATION_INSERT
11055 * LyXView.C: actually apply fix
11057 * bufferlist.C: fix open non-existent file
11059 * lyxfind.C: fix indentation
11061 * lyxfunc.C: remove unneeded assert, fix typo
11063 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11065 * MenuBackend.C: use "Floatname List"
11067 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11069 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11070 when converting LaTeX layout to insetERT.
11071 Generate a non-collapsed float when reading old float
11073 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11075 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11078 2001-08-13 Juergen Vigna <jug@sad.it>
11080 * text.C (fill): return 0 instead of 20 as this seems to be the more
11083 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11085 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11088 2001-08-13 Juergen Vigna <jug@sad.it>
11090 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11092 (SearchBackward): comment out the unlocking of the inset_owner this
11093 should not be needed!
11095 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11097 * Many files: Remove inherit_language, and add latex_language
11099 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11100 collapsible insets.
11102 2001-08-10 Juergen Vigna <jug@sad.it>
11104 * text.C (prepareToPrint): fixed hfill-width in draw!
11106 * BufferView2.C (selectLastWord): save the selection cursor as this
11107 now is cleared in the function LyXText::clearSelection!
11109 2001-08-08 Juergen Vigna <jug@sad.it>
11111 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11112 BACKSPACE type functions.
11114 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11115 is only cutted from the document but not put in the cut-buffer, where
11116 still the old stuff should be.
11118 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11120 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11122 * tabular.C (SetWidthOfCell): fixed special case where the width
11124 (LeftLine): handle '|' in align_special.
11126 (LeftAlreadyDrawed): ditto
11127 (SetWidthOfCell): ditto
11129 2001-08-07 Juergen Vigna <jug@sad.it>
11131 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11133 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11135 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11136 * lyxlex.[hC]: ditto
11138 2001-08-06 Juergen Vigna <jug@sad.it>
11140 * text.C (getVisibleRow): fix up row clearing a bit.
11142 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11144 * minibuffer.C: make sure the X server sees the changes in the input.
11146 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11148 * paragraph.C (getFont): split into...
11149 (getLabelFont): this
11150 (getLayoutFont): and this
11151 * paragraph_pimpl.C (realizeFont): calling this
11153 * text2.C (getFont): split into...
11154 (getLayoutFont): this
11155 (getLabelFont): and this
11156 (realizeFont): all three calling this
11158 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11161 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11163 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11165 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11167 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11168 layouts from the Quote inset insertion.
11170 2001-08-03 Juergen Vigna <jug@sad.it>
11172 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11174 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11175 only if status not is already CHANGED_IN_DRAW (second level).
11177 * text.C (draw): don't set the need_break_row when inside an
11180 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11182 * buffer.C (parseSingleLyXformat2Token): handle more latex
11185 * bufferview_funcs.[hC]: change function names to
11186 begin with small char, adjust other files.
11188 2001-08-02 André Pönitz <poenitz@gmx.net>
11191 BufferView_pimpl.C: remove broken special code for math-greek
11193 2001-08-02 Juergen Vigna <jug@sad.it>
11195 * BufferView_pimpl.C (update): redone this function so that we
11196 update the text again if there was a CHANGE_IN_DRAW.
11198 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11199 (drawFromTo): added a new internal bool which is used by draw() and
11201 (general): some cursor drawing problems fixed.
11203 2001-08-01 Juergen Vigna <jug@sad.it>
11205 * lyxfind.C (LyXFind): fixed
11206 (SearchForward): ditto
11207 (SearchBackward): ditto
11209 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11210 spurius drawing of the cursor in the main area.
11212 * text2.C (status): small fix which could lead to a segfault!
11213 (clearSelection): remove unneeded BufferView param.
11215 2001-08-01 André Pönitz <poenitz@gmx.net>
11217 * lyxfunc.C: small change due to changed mathed interface
11219 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11221 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11223 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11225 * lyxfunc.c: fail gracefully if file doesn't exist
11230 * BufferView_pimpl.C: IsDirWriteable() proto changed
11232 * LyXView.C: fix updateWindowTitle() to store the last title
11234 2001-07-31 Juergen Vigna <jug@sad.it>
11236 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11237 the font (wrong since using of Paragraph::highestFontInRange).
11239 * paragraph.C (highestFontInRange): added a default_size parameter.
11241 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11242 (setHeightOfRow): reformat
11244 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11246 * converter.[hC] + affected files: move to (inital-char)lowercase
11249 * ParagraphParameters.C (ParagraphParameters): remove commented code
11251 * PainterBase.[Ch]: remove commented code
11253 * LaTeXFeatures.h: add "bool floats" for float.sty
11255 * LaTeXFeatures.C (LaTeXFeatures): init floats
11256 (require): handle float
11257 (getPackages): do it with floats
11259 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11261 * BufferView_pimpl.C (Dispatch): improve handling of
11262 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11264 * commandtags.h: #include lyxfont.h here temporarily to avoid
11267 * bufferlist.h: include LString.h here.
11269 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11271 * text2.C (getStringToIndex): new method.
11273 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11275 * *: Reduced header file dependencies all over.
11277 2001-07-30 Baruch Even <baruch@lyx.org>
11279 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11281 2001-07-29 Baruch Even <baruch@lyx.org>
11283 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11285 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11287 * ParameterStruct.h (endif): add a default constructor to make
11288 sure that all variables is initialized.
11290 * ParagraphParameters.C (ParagraphParameters): adjust
11292 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11294 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11295 index; also, check that there is something to index, and that it
11296 does not span over several paragraphs.
11297 (doubleClick): use WHOLE_WORD_STRICT for double click.
11299 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11301 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11304 2001-07-26 Baruch Even <baruch@lyx.org>
11306 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11307 an InsetFig figure, backwards compatible reading of old figure code.
11309 2001-07-27 Juergen Vigna <jug@sad.it>
11311 * text2.C: font.realize function adaption.
11313 * text.C (draw): add a warnings lyxerr text if needed.
11315 * layout.C: font.realize function adaption.
11317 * language.C: add inherit_language and implement it's handlings
11319 * bufferview_funcs.C (StyleReset): remove language parameter from
11320 font creation (should be language_inherit now).
11322 * bufferparams.C (writeFile): handle ignore_language.
11324 * paragraph.C (getFontSettings): the language has to be resolved
11325 otherwise we have problems in LyXFont!
11327 * lyxfont.C (lyxWriteChanges): added document_language parameter
11328 (update): removed unneeded language parameter
11330 * paragraph.C (validate): fixed wrong output of color-package when
11331 using interface colors for certain fonts in certain environments,
11332 which should not seen as that on the final output.
11334 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11336 * BufferView_pimpl.C:
11341 * LyXAction.C: add thesaurus support
11344 * lyxfind.C: add "once" parameter, for thesaurus, to not
11345 move to the next match
11347 2001-07-26 Juergen Vigna <jug@sad.it>
11349 * lyxfont.C (realize): honor ignore_language too!
11352 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11354 * text.C (draw): one place more for ignore_language to not draw
11357 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11359 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11361 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11363 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11364 the minipage conversion problem.
11366 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11368 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11371 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11373 * BufferView.h: don't forward declare WorkArea
11375 * BufferView.C: don't include WorkArea.h
11377 2001-07-25 André Pönitz <poenitz@gmx.net>
11381 * lyxfunc.C: new LFUN 'math-space'
11383 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11385 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11387 * text2.C (toggleInset): call open/close
11389 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11391 * lyxfunc.C (dispatch): add debug for the disabled case
11393 * font.C (buttonText): make similar to rectText
11395 * buffer.C (readInset): comment out parsing of insetlist and
11398 * PainterBase.C (rectText): small correction
11400 * BufferView_pimpl.C: comment out insettheorem and insetlist
11401 * LyXAction.C: ditto
11402 * commandtags.h: ditto
11404 2001-07-24 Juergen Vigna <jug@sad.it>
11406 * text.C (draw): honor the ignore_language.
11408 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11410 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11412 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11415 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11417 * lyxtext.h: remove unused (and unimplemented) methods
11419 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11421 * text.C (getVisibleRow): honor background color
11424 * Painter.h: remove default color argument for fillRectangle
11426 * text.C (backgroundColor): new method
11428 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11430 * text.C (getVisibleRow): adjust
11432 * font.[Ch] (rectText): new method, metrics
11433 (buttonText): new method, metrics
11435 * PainterBase.[hC]: make rectText and buttonText always draw and take
11438 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11440 * ToolbarDefaults.C (read):
11441 * MenuBackend.C (read): allow escaping in all strings
11443 * BufferView_pimpl.C (insertAndEditInset): new method.
11444 (Dispatch): use insertAndEditInset whenever appropriate.
11446 * BufferView_pimpl.C (insertNote): removed
11448 * BufferView_pimpl.C (smartQuote): new method, moved from
11449 BufferView; if an insetquote cannot be inserted, insert a '"'
11452 * BufferView2.C: remove insertCorrectQuote();
11454 * lyxfunc.C (getStatus): Add support for all remaingin
11455 inset-insert lfuns.
11457 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11459 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11460 command (necessary to pass " as parameter of self-insert.
11462 * text.C (selectWordWhenUnderCursor):
11463 (selectWord): add word_location parameter
11464 (selectWordWhenUnderCursor): same + remove special code for word
11466 (selectNextWord): use kind() to guess type of insetspecialchar,
11469 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11470 (insertErtContents): create ert insets as collapsed.
11471 (readInset): better compatibility code for Info inset.
11473 2001-07-20 Juergen Vigna <jug@sad.it>
11475 * lyxfunc.C (dispatch): use always LyXFind now!
11477 * text2.C (init): add a reinit flag so that the LyXText can be
11478 reinited instead of deleted and reallocated (used in InsetText).
11480 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11486 2001-07-18 Juergen Vigna <jug@sad.it>
11488 * text.C (selectNextWord): handle insets inside inset by calling
11489 always the bv->text functions so that we can go up the_locking_inset!
11491 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11492 in strange locations when inside an inset!
11494 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11495 handling to include insets.
11497 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11499 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11501 * LyXAction.C (init):
11503 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11504 LIGATURE_BREAK, since the name is so stupid.
11506 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11508 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11511 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11513 * sp_form.[Ch]: remove.
11515 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11517 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11520 * src/buffer.C (readInset): ditto.
11522 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11524 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11525 menuSeparator(), endOfSentenceDot(), ldots() and
11526 hyphenationPoint(), which are therefore removed.
11527 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11529 * LyXAction.C (init):
11530 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11532 * paragraph.C (getWord): removed.
11534 * BufferView_pimpl.C (Dispatch): use last word or selection for
11535 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11537 * lyx_main.C (queryUserLyXDir): do not ask before creating
11538 user_dir, except if it has been named explicitely.
11540 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11542 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11543 a document of zero size.
11545 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11547 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11548 approriately in the c-tor and in require().
11549 (getPackages): output the appropriate LaTeX for natbib support.
11551 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11552 variables "use_natbib" and "use_numerical_citations" when reading the
11554 (readInset): read the various natbib cite commands.
11555 (validate): white-space change.
11557 * bufferparams.[Ch]: new variables "bool use_natbib" and
11558 "bool use_numerical_citations".
11559 (writeFile): output them in the LyX file.
11561 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11563 * lyxfunc.C (getStatus): add support for all the inset insertion
11566 * text2.C (insertInset):
11567 * paragraph.C (insetAllowed):
11568 * BufferView_pimpl.C (insertInset): update to take in account the
11569 renaming of insertInsetAllowed
11571 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11573 * text2.C (getInset): new method. returns inset at cursor position.
11575 * BufferView_pimpl.C (Dispatch): changes because of this.
11577 * LyXAction.C (init): rename open-stuff to inset-toggle.
11579 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11581 * text2.C (toggleInset): renamed from openStuff; use
11584 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11586 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11588 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11590 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11592 * buffer.C (readLyXformat2): Add filename to the error dialog
11594 2001-07-18 Juergen Vigna <jug@sad.it>
11596 * tabular.C (GetCellNumber): put an assert here instead of the check!
11598 2001-07-17 Juergen Vigna <jug@sad.it>
11600 * BufferView_pimpl.C (toggleSelection): adapted too.
11602 * text.C (selectNextWord): adapted for use with insets.
11603 (selectSelectedWord): ditto
11605 2001-07-17 Juergen Vigna <jug@sad.it>
11607 * sp_spell.C (PSpell): fix initialitation order.
11609 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11611 * paragraph.C: spacing
11613 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11615 * sp_spell.C: repair language selection for pspell
11617 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11619 * lyxfunc.h: change more methods to begin with lower char.
11621 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11623 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11624 for unknown layouts.
11626 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11628 * buffer.C (readLyXformat2): Generate an error dialog if there are
11631 2001-07-16 Juergen Vigna <jug@sad.it>
11633 * sp_spell.C: always compile ISpell part.
11635 * lyxrc.C: added use_pspell entry and it's handling.
11637 2001-07-13 Juergen Vigna <jug@sad.it>
11639 * sp_spell.C: removed double includes.
11641 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11643 Consistent use of Lsstream.h:
11644 * Lsstream.h: added using std::stringstream for consistencies sake.
11646 * buffer.C: removed using std::stringstream
11648 * lyxfont.C (stateText):
11649 * paragraph.C (asString):
11650 * text.C (selectNextWord, selectSelectedWord):
11651 * text2.C (setCounter):
11652 * vspace.C (asString, asLatexString):
11653 std::ostringstream -> ostringstream.
11655 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11657 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11658 * commandtags.h: add LFUN_HELP_ABOUTLYX
11659 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11661 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11663 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11665 * lyx_gui_misc.C: remove spellchecker
11666 * lyxfunc.C: showSpellchecker
11668 * sp_ispell.h: added
11669 * sp_pspell.h: added
11670 * sp_spell.C: added
11671 * sp_form.[Ch]: removed
11672 * spellchecker.[Ch]: removed
11674 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11676 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11678 (simpleTeXSpecialChars): Simply print the input character without
11679 any special translation if pass_thru is set.
11681 * layout.h: Added bool pass_thru to layout class for being able to
11682 implement pass through of a paragraph for Literate Programming.
11684 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11685 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11686 * layout.C (Read): add "passthru" to list of layout tags and add
11687 code to set the pass_thru boolean when it is read.
11689 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11691 * trans_decl.h: remove allowed from KmodInfo
11693 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11694 remove allowed code
11697 * paragraph_pimpl.C (erase): use boost::prior
11699 * Painter.C (text): use data() instead of c_str() when length is
11701 * WorkArea.C (putClipboard): ditto
11702 * font.h (width): ditto
11704 * BufferView2.C: use it-> instead of (*it). for iterators
11706 * paragraph_pimpl.C: ditto
11707 * paragraph.C: ditto
11708 * minibuffer.C: ditto
11709 * language.C: ditto
11711 * encoding.C: ditto
11712 * counters.C: ditto
11713 * converter.C: ditto
11715 * Variables.C: ditto
11716 * TextCache.C: ditto
11717 * MenuBackend.C: ditto
11718 * LyXAction.C: ditto
11720 * FloatList.C: ditto
11721 * DepTable.C: ditto
11722 * ColorHandler.C (LyXColorHandler): ditto
11724 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11726 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11728 * text2.C (openStuff): reintroduce this method (which had been
11729 nuked in NEW_INSETS frenzy).
11731 * lyxfunc.C (Dispatch): when an action has not been handled, use
11732 its name in the error message, not its number.
11734 * paragraph.C (inInset): change method name to begin with lowercase.
11737 * text2.C: updates because of this.
11739 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11741 * ToolbarDefaults.C (add): add spaces in error message
11743 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11745 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11746 (readLyXformat2): rename return_par to first_par, use lyxlex's
11747 pushToken and remove the manual push handling.
11748 (parseSingleLyXformat2Token): add another ert comp. variable:
11749 in_tabular, rename return_par to first_par. handle newlines better
11751 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11753 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11755 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11757 * text2.C (getParFromID): removed
11759 * buffer.C (getParFromID): new method moved form lyxtext.
11760 * BufferView2.C (insertErrors): adjust
11761 (setCursorFromRow): adjust
11762 * BufferView_pimpl.C (restorePosition): adjust
11763 * lyxfunc.C (Dispatch): adjust
11764 * undo_funcs.C (textUndo): adjust
11766 (textHandleUndo): adjust
11767 (textHandleUndo): adjust
11769 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11771 * buffer.C: up' the LYX_FORMAT
11773 * lyxfont.h: turn NO_LATEX on as default
11775 * buffer.C (insertErtContents): new methods of tex style compability.
11776 (parseSingleLyXformat2Token): use it several places.
11777 * tabular.C (OldFormatRead): and here
11779 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11781 * text2.C: remove some commented code.
11784 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11785 * trans.C: changes because of the above.
11787 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11789 * text2.C (setCounter): Fix counters bug with bibliography layout.
11791 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11793 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11794 own member functions
11795 (simpleTeXSpecialChars): ditto
11797 2001-07-06 Juergen Vigna <jug@sad.it>
11799 * a lot of files: changed the access to LyXText::status and the
11800 call of undo-functions.
11802 * undo.[Ch]: added a inset_id to the undo informations.
11804 * undo_funcs.[Ch]: added and moved here all undo functions.
11806 * lyxtext.h: give the status enum a weight, made status_ a private
11807 variable and made accessor functions for it, removed the whole bunch
11808 of undo-functions as they are now in their own file, make some
11809 functions publically available. Added function ownerParagraph with
11812 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11813 made InInset() a const function, added getParFromID() function.
11815 * buffer.[Ch]: added const version for inset_iterator functions,
11816 added getInsetFromID() function.
11818 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11819 changed undo functions for new version.
11821 2001-07-05 Juergen Vigna <jug@sad.it>
11823 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11824 unknow mechanism does not call the proper constructor but only this
11825 one also if I request the other!?
11827 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11829 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11831 * text2.C (LyXText): use initialization lists.
11833 * lyxtext.h (Selection): initialize set_ and mark_
11834 (init): remove method
11836 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
11838 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11840 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11842 * screen.[Ch]: change method names to begin with lowercase
11844 * BufferView_pimpl.C (updateScrollbar): simplify further and
11845 hopefully make it a bit faster.
11847 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11849 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11850 calling directly xforms functions.
11852 * Painter.C (Painter):
11853 * lyx_cb.C (MenuWrite):
11854 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11857 * lyx_gui.C: remove bogus guiruntime extern declaration.
11859 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11861 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11863 (redoDrawingOfParagraph): ditto
11864 (redoParagraphs): ditto
11865 (cutSelection): don't create a object for CutAndPaste use the
11866 static method directly
11867 (pasteSelection): ditto
11869 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11872 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11874 * modifications to some other files because of this.
11876 * Makefile.am (lyx_SOURCES): add XFormsView
11878 * XFormsView.[Ch]: new files
11880 * LyXView.[Ch]: make LyXView a base class for the gui handling for
11881 the main window. Move the gui dependent stuff to XFormsView
11883 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11885 * tabular.C (GetCellInset): update cur_cell also in the row/col
11886 version of this function.
11888 * lyxfunc.C: no need to include figure_form.h here.
11894 * lyxvc.C: no need to include forms.h here.
11896 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11898 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11900 * lyxfunc.C (Dispatch):
11902 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11903 constructor argument.
11905 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11907 * paragraph.C (Paragraph): dont't clear, and just set layout.
11908 (makeSameLayout): use params's copy contructor.
11910 * ParagraphParameters.[Ch] (makeSame): delete method
11912 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11914 * Variables.[Ch]: fix indentation, rename set to isSet
11916 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11918 * lyxfunc.C (Dispatch): fix typo
11920 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11922 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11925 * bufferlist.C: include assert.h for emergencyWrite().
11927 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11929 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11930 give up at last (bug #425202) !
11932 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
11938 * spellchecker.C: strip spellchecker options and bring up
11939 preferences tab instead
11941 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11943 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11944 the istringstream constructor
11946 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11948 * paragraph.C (getLayout): fix return value
11950 * paragraph.h: do not declare getLayout as inline.
11952 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11954 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11956 * lyxcursor.h (operator<): new func
11957 (operator>): new func
11958 (operator>=): new func
11959 (operator<=): new func
11961 * text.C (changeCase): use selection.start and selection.end
11962 (changeRegionCase): require from to be <= to. Require par to be a
11965 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11967 2001-06-27 Juergen Vigna <jug@sad.it>
11969 * text.C (cursorLeftOneWord): changed to return the cursor and added
11970 overlay with BufferView * parameter which calls this one.
11972 (selectWord): use new getWord function.
11973 (changeCase): renamed from changeWordCase as and extended to work
11974 also on selections.
11976 * lyxtext.h: added enum word_location
11978 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11979 changeCase as this operates now also on selections.
11981 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11983 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11985 * many files: send debug output to Debug::INFO instead of
11988 * converter.C (View):
11990 (Move): send debug output to Debug::FILES instead of console.
11992 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11994 * lyxfunc.C (getStatus): use func_status
11996 * func_status.h: new header, describing the results of
11997 LyXFunc::getStatus;
11999 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12002 2001-06-25 The LyX Project <jug@sad.it>
12004 * buffer.C (sgmlOpenTag):
12006 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12008 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12010 * text2.C: remove some dead code
12012 * tabular.C (GetCellInset): store the last cell checked (gotten)
12014 * tabular.h: add the helper for the speedup
12016 * lyxtext.h: remove some dead code
12018 2001-06-26 The LyX Project <Asger>
12020 * paragraph.C: Change export to LaTeX of alignment to
12021 \begin{center} and family for better roundtrip work with reLyX.
12023 * Tune the math drawing a bit.
12025 2001-06-25 The LyX Project <Asger>
12027 * LColor.C (LColor): New color for math background. New color
12030 2001-06-25 The LyX Project <jug@sad.it>
12032 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12034 * lyxfunc.C (Open):
12035 * bufferlist.C (newFile): do not restrict to files ending with
12038 * BufferView_pimpl.C (MenuInsertLyXFile):
12040 2001-06-24 The LyX Project <jug@sad.it>
12042 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12045 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12047 * lyxtext.h: rename most methods to begin with a small char.
12048 Lots of changes because of this.
12050 * paragraph.C (Paragraph): do not call fitToSize
12051 (erase): call Pimpl::erase
12052 (insertChar): call Pimpl::insertChar
12053 (insertInset): call Pipl::insertInset
12054 (breakParagraph): do not call fitToSize
12055 (breakParagraphConservative): do not call fitToSize
12056 (fitToSize): remove method
12058 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12060 2001-06-24 The LyX Project <Asger>
12062 * Fix Qt compilation^2
12064 2001-06-24 The LyX Project <jug@sad.it>
12066 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12067 depthHook(getDepth()-1).
12070 * ParagraphParameters.h:
12071 * ParameterStruct.h: change type of depth to unsigned int ==
12072 depth_type. Many adaptations to other files before of that.
12074 2001-06-24 The LyX Project <Asger>
12076 * Fix Qt compilation.
12078 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12080 * paragraph.h: renamed several methods to begin with small letter.
12081 several changes to many parts of the code because of this.
12083 2001-06-23 The LyX Project <jug@sad.it>
12085 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12086 rewritten to discard all double spaces when KeepEmpty is off
12087 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12088 to only handle newlines but not fiddle with spaces and friends.
12090 * lyxfunc.C (MenuNew): when doing 'new from template', use
12091 template_path as default directory
12093 2001-06-23 The LyX Project <Asger>
12095 * Clean-up of header file includes all over
12096 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12098 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12100 * paragraph.h: renamed from lyxparagraph.h
12102 2001-06-23 Asger <lyx@violet.home.sad.it>
12104 * Buffer.h: Removed Buffer::resize
12105 * BufferList.h: Removed BufferList::resize
12106 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12107 the document lazily when we change the width, or the font settings.
12109 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12111 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12113 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12115 * buffer.h: remove out of date comment
12117 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12120 * screen.C: fix "theoretical" GC leak
12122 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12124 * LaTeX.C (scanAuxFile):
12125 (deplog): remove trailing \r when reading stream (useful under
12128 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12130 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12131 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12132 and BufferView::theLockingInset(Inset*), so should use them and not
12133 access bv_->text->the_locking_inset directly.
12135 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12137 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12140 * tex-defs.h: remove old unused file
12142 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12144 * BufferView_pimpl.C: fix typo, remove minibuffer message
12145 when buffer has loaded
12147 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12149 * lyxfunc.C (Dispatch): use stringstream
12150 (MenuNew): use stringstream
12151 (Open): use stringstream
12153 * importer.C (Import): use stringstream
12155 * bufferview_funcs.C (CurrentState): use stringstream
12157 * LaTeX.C (run): use stringstream
12159 * BufferView_pimpl.C (savePosition): use stringstream
12160 (restorePosition): use stringstream
12161 (MenuInsertLyXFile): use stringstream
12163 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12176 * vspace.C: removed // -*- C++ -*- as first line.
12179 * version.h: added // -*- C++ -*- as first line.
12181 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12183 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12185 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12188 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12190 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12193 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12195 * gettext.C: include LString.h even when --disable-nls is on.
12197 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12199 * converter.h (Get): changed argument type from int to
12200 FormatList::size_type to avoid unnecessary conversion.
12202 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12205 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12207 * gettext.h: include LString.h even when --disable-nls is on.
12209 2001-06-07 Juergen Vigna <jug@sad.it>
12211 * text.C (BreakAgain): subst spaces with tabs.
12213 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12214 (resizeInsetsLyXText): set force on resizeLyXText.
12216 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12218 * gettext.h (gettext_init):
12219 (locale_init): use a real definition instead of a macro
12221 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12223 * Bufferview_pimpl.C:
12225 * LColor.C: further lcolor tidies
12227 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12229 * BufferView_pimpl.C (updateScrollbar): simplify.
12231 * BufferView2.C: don't include insets/insetinfo.h, change
12232 prototype for insertInset and call the Pimpl version. let
12233 updateInset call Pimpl version.
12235 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12236 gotoInset to BufferView::Pimpl
12238 2001-06-01 Juergen Vigna <jug@sad.it>
12240 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12241 inside a LockingInset (is the update needed at all?).
12243 2001-05-31 Juergen Vigna <jug@sad.it>
12245 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12246 here not the old one otherwise how should we compare it afterwards
12249 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12254 * FontInfo.C: bring C functions into global namespace when
12257 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12259 * LString.h: make sure config.h has been loaded before LString.h.
12261 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12262 (one for each char read by EatLine!).
12264 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12267 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12269 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12270 to the same as the par we break from
12272 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12274 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12276 * MenuBackend.C (expand): also create menu entries for wide
12277 versions of the floats.
12279 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12281 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12283 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12284 frontends/Makefile.am
12290 * tabular.C (getTokenValue): add std::
12292 * tabular-old.C (getTokenValue): add std::
12293 (getTokenValue): ditto
12294 (getTokenValue): ditto
12296 * screen.C (ToggleSelection): adjust
12298 * lyxtext.h: put selection cursors inside a Selection struct.
12300 * lyxfunc.C (moveCursorUpdate): adjust
12302 * lyxfont.C (latexWriteStartChanges): add std::
12304 * lyxfind.C: adjust
12306 * font.h: delete with(char const *, LyXFont const &)
12308 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12310 * FontInfo.C (getFontname): add std::
12312 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12313 (workAreaButtonPress): adjust
12314 (tripleClick): adjust
12316 (moveCursorUpdate): adjust
12319 * BufferView2.C (gotoInset): adjust
12321 2001-05-30 Juergen Vigna <jug@sad.it>
12323 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12324 to check pspell I add this as default as I now have new pspell
12325 libraries and they seem to use this.
12327 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12329 * text2.C (CutSelection): make the cursor valid before the call to
12332 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12334 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12335 relied on 0 terminated strings and other horrors. Bug found due to
12336 the new assert in lyxstring!
12338 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12341 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12343 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12346 * lyxfunc.C (processKeySym): change method of getting to the
12349 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12350 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12351 * BufferView_pimpl.[Ch]: here as private methods.
12353 2001-05-28 Juergen Vigna <jug@sad.it>
12355 * text.C (SetHeightOfRow): added the update() call again as it is
12356 needed to initialize inset dimensions!
12358 2001-05-16 Juergen Vigna <jug@sad.it>
12360 * text2.C (SetCharFont): Add new function with BufferView * and
12361 bool toggleall parameters for setting insets internal fonts.
12362 (SetFont): Freeze the undo as we may change fonts in Insets and
12363 all this change should be inside only one Undo!
12365 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12366 setting font's in insets as for them we have the SetFont function!
12368 2001-05-15 Juergen Vigna <jug@sad.it>
12370 * text2.C (ClearSelection): to be sure we REALLY don't have any
12373 * tabular.C (TeXCellPreamble): fixed the left border problem for
12376 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12378 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12381 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12383 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12384 LFUN_BREAKPARAGRAPH.
12386 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12387 help test to "internal only", similar for LFUN_INSERT_URL
12389 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12390 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12391 auto_region_delete and deadkeys.
12393 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12396 * LColor.C: remove some dead entries, tidy a little
12398 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12400 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12402 (Dispatch): implement LFUN_ESCAPE
12404 * commandtags.h: add LFUN_ESCAPE
12406 * LyXAction.C (init): add entry for LFUN_ESCAPE
12408 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12409 Remove commented code.
12410 (insertNote): moved here
12411 (open_new_inset): moved here
12413 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12416 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12418 * kbmap.C (findbinding): clean it up and make it work correctly.
12420 * lyx_main.C (init): do not pass argc and argv as parameters
12422 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12424 * buffer.C: fix path for OS/2 & Win32
12428 * lyx_main.C: Added os:: class.
12430 * os2_defines.h: update
12432 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12434 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12435 better by trying again with reduced state.
12437 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12439 * lyxrc.C (read): print error about invalid key sequence only when
12440 debugging (because not all latinX keysyms are known to some X
12443 * kbsequence.C (getiso): add a few std:: qualifiers
12444 (getiso): comment out extra return statement.
12446 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12448 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12450 (Dispatch): enhance the accent inset a bit. (not perfect)
12452 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12454 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12456 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12458 * bufferlist.C (emergencyWrite): fix assert() call
12460 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12462 * text.C (InsertChar): Added trivial patch to only send the "you
12463 can not do multiple spaces this way" message once during a
12466 2001-05-08 Baruch Even <baruch@lyx.org>
12468 * Makefile.am: Changed order of libraries to get LyX to link properly
12469 with the gnome frontend.
12471 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12473 * LaTeXFeatures.h: add a std:: qualifier
12475 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12477 * paragraph.C (String): use stringstream
12479 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12481 * paragraph.C (writeFile): remove footflag arg
12483 * buffer.C (makeLaTeXFile): use stringstream
12484 (latexParagraphs): remove footnot gurba
12486 * LaTeXFeatures.C (getPackages): use stringstream
12487 (getMacros): likewise
12488 (getTClassPreamble): likewise
12489 (getFloatDefinitions): new method
12491 * paragraph.C (writeFile): reindent
12494 * WorkArea.h: revert the xpos + etc changes.
12496 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12498 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12500 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12501 (pasteSelection): likewise
12502 * text2.C (CreateUndo): likewise
12504 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12506 * minibuffer.C (peek_event): temporarily reduce the functionality
12507 of the minibuffer (to allow args on lfuns)
12509 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12510 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12512 * buffer.C (readInset): add compability reading of old float
12513 lists, add reading of new style float list.
12514 (readInset): avoid reevaluation of inscmd.getCmdName()
12515 (getLists): reindent
12517 * MenuBackend.C (MenuItem): implement parsing of
12518 md_floatlistinsert and md_floatinsert.
12519 (expand::LastFiles): move initalizaton of iterators out of loop,
12520 avoid reevaluation.
12521 (expand::Documents): introduce typdedef vector<string> Strings,
12523 (expand::ExportFormats): introduce typedef vector<Format const *>
12524 Formats, and use it.
12525 (expand): implement FloatListInsert and FloatInsert.
12527 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12528 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12529 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12531 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12533 (Dispatch::LFUN_FLOAT_LIST): implement
12535 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12537 * LaTeX.C (run): Fix problem with --export code.
12539 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12541 * BufferView.[Ch] (workarea): removed.
12542 (getClipboard) new method; wrapper for workarea()->getClipboard()
12544 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12547 * WorkArea.h (width, height, xpos, ypos): These methods all
12548 returned the dimensions of the work_area sub-area of WorkArea,
12549 resulting in a position error if the WorkArea were resized. Now
12550 return the dimensions of the entire WorkArea.
12552 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12554 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12556 * LaTeX.C (deplog): correct the syntax of regex reg1
12558 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12560 * undo.C: remove !NEW_INSETS cruft
12562 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12564 * text2.C: remove !NEW_INSETS cruft
12566 * text.C: remove !NEW_INSETS cruft
12568 * tabular.C: remove !NEW_INSETS cruft
12570 * spellchecker.C: remove !NEW_INSETS cruft
12572 * lyxtext.h: remove !NEW_INSETS cruft
12574 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12576 * lyxfunc.C: remove !NEW_INSETS cruft
12578 * lyxfind.C: remove !NEW_INSETS cruft
12580 * lyx_cb.C: remove !NEW_INSETS cruft
12582 * figureForm.C: remove !NEW_INSETS cruft
12584 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12586 * buffer.[Ch]: remove !NEW_INSETS cruft
12588 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12590 * CutAndPaste.C: remove !NEW_INSETS cruft
12592 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12594 * BufferView2.C: remove !NEW_INSETS cruft
12596 * BufferView.h: remove !NEW_INSETS cruft
12598 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12600 * Lsstream.h: include LString.h before the sstream headers to
12601 fix problem with gcc 2.95.3 and lyxstring
12603 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12605 * lyx_main.C: add using directives when needed for C functions
12606 declared in std:: namespace.
12608 2001-04-27 Juergen Vigna <jug@sad.it>
12610 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12611 (SetHeightOfRow): comment out the update call should not be needed!
12613 2001-04-13 Juergen Vigna <jug@sad.it>
12615 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12616 (LyXTabular): tried to minimize operator= operations (and realized
12617 hopfully Lars wish).
12619 2001-04-27 Juergen Vigna <jug@sad.it>
12621 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12623 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12625 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12627 * buffer.C (readInset): hack to make listof algorithm work
12629 * BufferView_pimpl.C: hack to make listof algorithm work
12631 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12633 * LyXAction.C: removed all !NEW_INSETS cruft
12634 (init): moved lfun_item in method
12636 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12638 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12640 * BufferView2.C (theLockingInset): white space.
12642 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12644 * minibuffer.C: include <iostream>
12646 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12648 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12650 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12652 * text.[Ch] (TransposeChars): new method
12654 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12656 * call message directly through LyXView instead of through LyXFunc
12657 * BufferView2.C: adjust
12658 * BufferView_pimpl.C: adjust
12659 * FontLoader.C: adjust
12661 * bufferview_funcs.C: adjust
12662 * converter.C: adjust
12663 * figureForm.C: adjust
12664 * importer.C: adjust
12666 * lyx_gui_misc.C: adjust
12667 * lyxfunc.C: adjust
12670 + more files in subdirs
12672 * lyxparagraph.h (size): move up int file
12675 * adjust all uses of Assert to lyx::Assert.
12677 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12678 lyxfunctional in namespace lyx
12679 * layout.C (hasLayout): ditto
12682 (delete_layout): ditto
12683 (NumberOfClass): ditto
12684 * converter.C (GetFormat): ditto
12689 * bufferlist.C (getFileNames): ditto
12690 (emergencyWriteAll): ditto
12693 * MenuBackend.C (hasSubmenu): ditto
12696 * BufferView_pimpl.C (getInsetByCode): ditto
12698 2001-04-18 Juergen Vigna <jug@sad.it>
12700 * vspace.C (asLatexString): fixed the 100% problem.
12702 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12704 * lyxfunc.C (Dispatch):
12706 * minibuffer.h: add a few std:: qualifiers
12708 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12710 * minibuffer.[Ch]: reimplement so that commands is initiated and
12711 run from lyxfunc, simplified som handling, and made the completion
12712 and history code for complete. wip.
12714 * lyxfunc.C (processKeySym): call message
12715 (miniDispatch): new temporary method
12716 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12717 (LFUN_MESSAGE): implement
12718 (LFUN_MESSAGE_PUSH): implement
12719 (LFUN_MESSAGE_POP): implement
12720 (initMiniBuffer): the initial/defualt minibuffer message.
12722 * lyxfont.[Ch]: inline some more getters
12724 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12726 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12728 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12729 (AutoSave): use LFUN_MESSAGE
12730 (Reconfigure): ditto
12732 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12734 * figureForm.C: use LFUN_MESSAGE
12736 * converter.C (runLaTeX): use LFUN_MESSAGE
12738 * bufferview_funcs.C: use LFUN_MESSAGE
12740 (changeDepth): ditto
12742 * bufferparams.h: use boost::
12744 * bufferlist.h: inherit privately from noncopyable
12746 * bufferlist.C (loadLyXFile): remove some commented code.
12748 * buffer.C (runChktex): use LFUN_MESSAGE
12750 * ShareContainer.h: inherit privately from noncopyable
12752 * ParagraphParameters.[hC] (depth): inline it.
12754 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12756 (message): new method
12757 (messagePush): ditto
12758 (messagePop): ditto
12759 (show): init minibuffer
12760 (showState): direct call
12762 * LaTeX.[Ch]: inherit privately from noncopyable
12763 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12764 instead of WriteStatus.
12766 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12768 * BufferView_pimpl.C (buffer): don't init minibuffer
12769 (workAreaButtonPress): use LFUN_MESSAGE
12770 (workAreaButtonRelease): ditto
12771 (savePosition): ditto
12772 (restorePosition): ditto
12773 (MenuInsertLyXFile): ditto
12774 (workAreaExpose): don't init minibuffer
12775 (update): remove commented code, simplify
12777 * BufferView2.C (openStuff): use LFUN_MESSAGE
12778 (toggleFloat): ditto
12781 (copyEnvironment): ditto
12782 (pasteEnvironment): ditto
12787 (updateInset): remove some commented code
12789 * lastfiles.h: inherit privately from noncopyable
12792 * lyx_main.h: ditto
12794 * lyxlex_pimpl.h: ditto
12796 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12797 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12798 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12800 * LyXAction.h: inherit privately from noncopyable, add methods
12801 func_begin, func_end, returning iterators to the func map.
12803 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12804 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12805 (func_begin): new method
12806 (func_end): new method
12808 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12810 (copySelection): ditto
12811 (pasteSelection): ditto
12813 * BufferView.C: whitespace change
12814 * BufferView.h: inherit privately from noncopyable
12816 2001-04-16 Allan Rae <rae@lyx.org>
12818 * tabular-old.C (l_getline):
12819 * spellchecker.C (sc_check_word):
12820 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12821 an unrecognised preprocessor directive. So ensure they're wrapped.
12823 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12825 * src/exporter.C (Export): Give an error message when path to file
12828 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12830 * LaTeX.C (deplog): Always check that foundfile exists.
12832 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12835 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12837 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12839 * tabular.[Ch] (getLabelList): implement new method
12841 * minibuffer.h: comment ouf setTiimer
12843 * minibuffer.C (ExecutingCB): constify res
12844 (peek_event): constify s
12845 (Set): constify ntext
12846 (Init): constify nicename
12848 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12850 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12851 (savePosition): use two params to Minibuffer::Set
12852 (restorePosition): ditto
12854 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12856 * lyx_main.C: include language.h
12858 * Makefile.am (lyx_main.o): add language.h
12860 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12866 * CutAndPaste.C: include gettext.h
12868 * lyxfont.h: remove old hack with ON and OFF.
12871 * lyxfont.h: do not include language.h...
12876 * bufferview_funcs.C:
12882 * paragraph.C: ... but do it here instead
12884 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12886 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12888 * tabular.C: small reformat
12890 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12893 (BreakParagraph): ditto
12894 (SetOnlyLayout): ditto
12897 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12900 * lastfiles.C: removed most using decl, add std:: where needed
12902 * buffer.C: ws changes
12904 * MenuBackend.C (class compare_format): put into anon namespace
12905 (expand): constify label, names, action, action2
12908 * text.C (SingleWidth): constify font
12909 (IsBoundary): constify rtl2
12910 (GetVisibleRow): constify ww
12912 * LaTeX.C (deplog): constify logfile
12914 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12916 (workAreaExpose): constify widthChange, heightChange
12918 * lyxrow.C (par): moved
12921 * lyxrow.h: as inlines here
12923 * lyxfont.h (shape): moved from lyxfont.C
12924 (emph): moved from lyxfont.C
12926 * lyxfont.C (LyXFont): use initialization list for all
12928 (shape): move to lyxfont.h as inline
12929 (emph): move to lyxfont.h as inline
12932 2001-04-04 Juergen Vigna <jug@sad.it>
12934 * vspace.C: had to include stdio.h for use of sscanf
12936 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
12939 * BufferView_pimpl.h: remove xforms cruft. Both classes are
12940 independent of xforms.
12942 2001-04-02 Juergen Vigna <jug@sad.it>
12944 * spellchecker.C: fixed namespace placing!
12946 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12948 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12949 the LyXParagraph * is 0.
12951 2001-03-29 Juergen Vigna <jug@sad.it>
12953 * vspace.C: added support for %, c%, p%, l%.
12954 (stringFromUnit): added helper function.
12955 (asLatexString): changed to give right results for the %-values.
12957 * buffer.C: convert the widthp in a width%.
12959 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12961 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12964 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12965 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12967 * lyx_cb.[Ch]: see above.
12969 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12973 * lyx.[Ch]: replaced by figure_form.[Ch].
12977 * lyxfunc.C: changed headers associated with above changes.
12979 2001-03-27 Juergen Vigna <jug@sad.it>
12981 * BufferView_pimpl.C: set the temporary cursor right!
12983 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12985 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12987 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12989 * LString.h: removed "using std::getline"!
12991 * BufferView_pimpl.C (Dispatch): changes due to changes in
12992 InsetInclude::Params.
12994 * buffer.C (tag_name): removed redundant break statements as they were
12995 producing lots of warnings with my compiler.
12997 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12999 * LString.h: add "using std::getline" when using the real <string>.
13001 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13003 * buffer.C: removed bitset usage.
13004 PAR_TAG moved to an anonymous name space.
13005 (tag_name): new funtion, also in the anonymous namespace.
13006 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13007 (makeDocBookFile): clean code. Completed transition from string arrays
13009 (SimpleDocBookOnePar): code clean.
13011 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13013 * tabular.C: add some comments.
13015 2001-03-22 Juergen Vigna <jug@sad.it>
13017 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13018 compatibility read a bit and fixed bug with minipage in different
13021 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13023 * buffer.C (pop_tag): removed.
13024 (push_tag): removed.
13025 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13026 array replaced with vector. Added support for CDATA sections.
13027 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13029 (makeDocBookFile): XML conformant declaration of CDATA section,
13030 fixed bug related to <emphasis> in the first paragraph char.
13031 (sgmlOpenTag): exclude empty tags.
13032 (sgmlCloseTag): ditto.
13034 * buffer.h (pop_tag): removed.
13035 (push_tag): removed.
13037 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13039 * language.h (Languages): added size_type and size().
13041 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13043 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13044 response on compability reading of minipages. One probliem is that
13045 the old usage of minipages was «flertydig»
13047 * several files here and in subdirs: don't use static at file
13048 scope use anon namespaces instead.
13050 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13052 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13053 LaTeX output. This is necessary for Literate document
13056 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13058 * buffer.C: insert hfill when needed.
13060 * tabular.C (l_getline): use string::erase, small whitespace change.
13062 * BufferView_pimpl.C: try the anon namespace.
13063 * WorkArea.C: ditto
13065 2001-03-16 Juergen Vigna <jug@sad.it>
13067 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13068 otherwise it won't open options-dialogs.
13070 * buffer.C: honor pextraWidth(p) on converting minipages.
13072 * tabular.C (l_getline): changed the functions to strip trailing \r.
13074 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13076 * BufferView_pimpl.C:
13077 * minibuffer..C: added "using SigC::slot" declaration.
13079 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13081 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13087 * paragraph.C: ditto
13089 * lyxtext.h: NO_PEXTRA
13091 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13093 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13094 * ParameterStruct.h: ditto
13095 * ParagraphParameters.h: ditto
13096 * lyxparagraph.h: ditto
13098 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13100 * buffer.C: add compability for minipage alignment.
13101 (latexParagraphs): remove unwanted pextra check.
13103 * several files: remove CXX_WORKING_NAMESPACES
13105 * buffer.C (pop_tag): tie is in namespace boost
13107 * BufferView.h: noncopyable is in namespace boost
13109 * lyx_main.h: ditto
13112 * lastfiles.h: ditto
13113 * bufferlist.h: ditto
13114 * ShareContainer.h: ditto
13116 * LyXAction.h: ditto
13119 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13121 * Merging changes from BRANCH_MVC back into HEAD.
13123 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13125 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13127 * BufferView_pimpl.C: change from intl.C
13131 * Makefile.am: move combox.*
13137 * intl.C: remove dialog (covered by prefs)
13139 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13141 * lyxfunc.C (Dispatch): removed redundant break statement.
13143 2001-03-14 Juergen Vigna <jug@sad.it>
13145 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13147 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13149 * buffer.C: add hack to fix compability reading of minipages.
13151 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13153 * buffer.C (getLists): Cleanup.
13155 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13157 * lyxfont.C (update): don't honor toggleall on font size.
13159 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13163 * Makefile.am: moved to frontends/xforms/
13167 * BufferView_pimpl.C: changes for moved mathpanel
13169 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13171 * gettext.h: fix gettext_init() in --disable-nls
13173 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13175 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13177 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13180 * lyx.h: strip external form
13182 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13184 * BufferView_pimpl.C: add comment, destroySplash()
13186 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13188 * BufferView_pimpl.C:
13192 * lyxfunc.C: use re-worked insetinclude
13194 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13196 * buffer.C: add using std::stringstream.
13198 * lyx_cb.C: readd using std::ios.
13200 * buffer.C: add using std::map.
13202 * BufferView_pimpl.C: add using std::vector.
13204 * ShareContainer.h: add std:: to swap.
13206 * buffer.h: add some typedefs
13207 * buffer.C (getLists): use them
13208 (getLists): renamed from getTocList.
13209 add a counter for the different float types and use it in the
13211 (getLists): use the same counter for the NEW_INSETS and the "non"
13214 * lyx_cb.h: remove unused items, includes, using etc.
13216 * ShareContainer.h: remove some commented code, add more comments
13217 and "documentation".
13219 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13221 * buffer.C (getTocList): make the list also when NEW_INSETS is
13224 * buffer.h: remove TocType
13226 * buffer.C (getTocList): change to return a map<string,
13227 vector<TocItem> >, implement for dynamic number of list.
13229 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13230 * text2.C (PasteSelection): adjust
13231 * CutAndPaste.C (pasteSelection): adjust
13233 * FloatList.C (FloatList): update from the new_insets branch.
13234 * Floating.[Ch]: ditto
13235 * LaTeXFeatures.C: ditto
13237 * lyxlex_pimpl.C: ditto
13239 * paragraph.C (Last): remove when NEW_INSETS is defined.
13241 * other file: changes because of the above.
13243 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13245 * lyxparagraph.h: rename next to next_, previous to previous_,
13246 make them private for NEW_INSETS. Rename Next() to next(),
13247 Previous() to previous().
13249 * other files: changes because of the above.
13251 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13254 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13257 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13259 * main.C (main): pass lyx_localedir to gettext_init().
13261 * gettext.h: remove locale_init and gettext_init macros
13263 * gettext.C (locale_init): new function
13264 (gettext_init): new function
13266 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13269 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13271 * Moved credits to frontends:
13272 * credits.[Ch]: removed
13273 * credits_form.[Ch]: removed
13274 * lyx_gui_misc.C: remove credits stuff
13277 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13279 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13281 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13282 unneeded destructor.
13284 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13285 a standalone pointer again.
13287 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13289 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13295 * ToolbarDefaults.C:
13304 * BufferView_pimpl.C: use new file dialog in GUII
13307 * lyx_cb.C: remove LayoutsCB to Toolbar
13309 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13311 * ShareContainer.h (get): add std:: qualifier
13313 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13315 * ShareContainer.h: define a proper ShareContainer::value_type
13316 type (and use typename to please compaq cxx)
13318 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13320 * lyxparagraph.h: move serveral local vars to
13321 ParameterStruct/ParagraphParameters., use ShareContainer in
13322 FontTable., make vars in FontTable private and add getter and
13325 * paragraph.C: changes because of the above.
13327 * lyxfont.h: remove copy constructor and copy assignment. (the
13328 default ones is ok), move number inside FontBits. move inlines to
13331 * lyxfont.C: add number to initializaton of statics, move several
13332 inlines here. constify several local vars. some whitespace
13333 cleanup. Dont hide outerscope variables.
13335 * Spacing.h: add two new constructors to match the set methods.
13337 * ShareContainer.h: new file, will perhaps be moved to support
13339 * ParameterStruct.h: new file
13341 * ParagraphParameters.h: new file
13343 * ParagraphParameters.C: new file
13345 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13346 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13348 * BufferView_pimpl.C: ParagraphParameter changes.
13349 * buffer.C: Likewise.
13350 * bufferview_funcs.C: Likewise.
13351 * text.C: Likewise.
13352 * text2.C: Likewise.
13354 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13356 * lyxfind.C (LyXReplace): do not redefine default argument in
13358 (IsStringInText): ditto
13359 (SearchForward): ditto
13360 (SearchBackward): ditto
13362 2001-03-06 Juergen Vigna <jug@sad.it>
13364 * lyxfind.C (IsStringInText): put parentes around expressions.
13366 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13368 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13370 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13372 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13374 * stl_string_fwd.h: add comment
13376 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13379 * tabular.C: remove unused DocBook methods
13385 killed DO_USE_DEFAULT_LANGUAGE
13387 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13389 * lyx_gui.C: do not include language.h.
13391 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13392 arguments in function implementation.
13394 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13396 * BufferView_pimpl.C: add <ctime>
13398 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13400 * BufferView_pimpl.C: add using std::find_if
13402 2001-02-27 José Matos <jamatos@fep.up.pt>
13404 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13407 2001-02-11 José Matos <jamatos@fep.up.pt>
13409 * buffer.C (makeDocBookFile): command styles now have a parameter as
13410 "title" by default.
13412 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13414 * layout_forms.[Ch]: removed
13415 * lyx_cb.[Ch]: out character
13416 * lyx_gui.C: out character
13417 * lyx_gui_misc.C: out character
13418 * bufferview_funcs.C: : out character,
13419 added toggleall as parameter in ToggleAndShow
13421 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13423 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13425 * text2.C (SetCurrentFont): Disable number property at boundary.
13427 2001-02-26 Juergen Vigna <jug@sad.it>
13429 * lyxfunc.C (getStatus): added a string argument override function so
13430 that this is correctly called from LyXFunc::Dispatch if it contains a
13431 do_not_use_argument which is used!
13432 (Dispatch): added check for "custom" export and call appropriate func.
13434 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13436 * lyxrc.C: Add language_command_local, language_use_babel and
13437 language_global_options.
13439 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13441 * buffer.C (makeLaTeXFile): Use language_use_babel and
13442 language_global_options.
13444 2001-02-23 Juergen Vigna <jug@sad.it>
13446 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13447 which works with LyXText and putted it inside BufferView. Here now we
13448 only call for that part the BufferView::Dispatch() function.
13450 * BufferView.C (Dispatch): added.
13452 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13453 functions which needs to use a LyXText over from LyXFunc.
13454 (MenuInsertLyXFile): added
13455 (getInsetByCode): added
13456 (moveCursorUpdate): added
13457 (static TEXT): added
13459 2001-02-22 Juergen Vigna <jug@sad.it>
13461 * BufferView_pimpl.C (update): call a status update to see if LyXText
13464 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13466 * vc-backend.C (revert): implement for CVS
13467 (getLog): implement for CVS
13469 2001-02-20 Juergen Vigna <jug@sad.it>
13471 * text2.C (ClearSelection): added BufferView param for inset_owner call
13473 * lyxfunc.C (TEXT): added this function and use it instead of
13474 directly owner->view()-text of getLyXText().
13476 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13478 * src/layout_forms.C: out preamble
13479 * src/layout_forms.h: out preamble
13480 * src/lyx_cb.C: out preamble
13481 * src/lyx_cb.h: out preamble
13482 * src/lyx_gui.C: out preamble
13483 * src/lyx_gui_misc.C: out preamble
13484 * src/lyxfunc.C: connect with guii preamble
13486 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13488 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13490 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13492 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13493 whether to run bibtex.
13495 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13497 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13499 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13501 * Makefile.am (lyx_SOURCES): removed bibforms.h
13503 * vspace.h: doxygen
13505 * text.C (GetVisibleRow): make several local vars const
13507 * tabular.C: small cleanup.
13509 * lyxserver.C (callback): use compare instead of strncmp
13511 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13512 inlines to after class or to paragraph.C
13514 * lyxfont.h: remove friend operator!=
13516 * converter.h: move friend bool operator< to non friend and after
13519 * combox.h: small cleanup
13521 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13522 to inlines after class def.
13524 * buffer.C (pop_tag): use string operations instead of strcmp
13526 * bmtable.c: doxygen, small cleanup
13528 * LaTeX.h: remove friend operator==
13530 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13542 * BufferView_pimpl.C:
13543 * BufferView.[Ch]: remove cruft
13545 2001-02-14 Juergen Vigna <jug@sad.it>
13547 * lyxfunc.C: removed #if 0 unused code
13549 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13551 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13553 * text2.C (SetSelection): added a BufferView * parameter
13555 2001-02-13 Juergen Vigna <jug@sad.it>
13557 * lyxfunc.C (Dispatch): fixed protected blank problem.
13558 * BufferView2.C (protectedBlank): added LyxText * parameter.
13560 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13561 (AppendColumn): same as above for column_info.
13563 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13564 (moveCursorUpdate): use a LyXText param for support of InsetText.
13566 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13567 (tripleClick): ditto
13569 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13571 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13573 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13575 * text2.C (SetSelection): set correct update status if inset_owner
13576 (ToggleFree): ditto
13578 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13580 * tabular.C: remove some commented code.
13582 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13584 * BufferView_pimpl.C: call hideSplash()
13586 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13589 * bibforms.h: remove
13592 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13593 add LFUN_CHILD_CREATE
13595 * counters.h: fix tiny typo
13600 * lyx.C: move splash to frontends/xforms/
13602 * lyx_gui_misc.C: move Include and Bibform to frontends
13604 * lyxvc.h: clarify comment
13606 * vspace.C: tiny housekeeping
13608 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13610 * text.C (PrepareToPrint): RTL Fix.
13612 * paragraph.C (GetUChar): New method.
13613 (String): Use GetUChar.
13615 * buffer.C (asciiParagraph): Use GetUChar.
13617 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13619 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13621 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13624 * buffer.C: rename to getLogName(), handle
13625 build log / latex log nicely
13627 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13630 * MenuBackend.h: remove support for reference menuitem type.
13632 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13634 * BufferView_pimpl.C: housekeeping
13635 * BufferView_pimpl.h:
13640 * minibuffer.h: move Timeout GUI-I
13642 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13644 * lyxrc.C (read): Update converters data-structures.
13646 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13648 * LaTeX.h (operator!=): add operator != for Aux_Info
13650 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13652 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13654 * LaTeXLog.C: deleted, useful code moved to Buffer
13657 * buffer.C: new function getLatexLogName()
13663 * lyxfunc.C: use frontends for LaTeX and VC logs
13665 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13667 * LaTeX.h: yet another std:: that Allan forgot.
13669 * Variables.C (set): renamed from isset(), because this clashes
13670 with some HP-UX macros (grr).
13672 2001-02-06 Allan Rae <rae@lyx.org>
13674 * LaTeX.h: Another bug fix. Missing std:: this time.
13676 2001-02-04 Allan Rae <rae@lyx.org>
13678 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13679 floats problem. I've left it commented out because it's not quite
13680 correct. It should also test that the current object is a table or
13681 figure inset. But I haven't gotten around to figuring out how to do
13682 that. I *think* it'll be something like: "table" == inset.type()
13684 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13687 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13689 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13690 all the citation/databases/styles in the auxilary file.
13691 (run): Rerun latex if there was a babel language error.
13693 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13695 * text.C (Backspace): Preserve the font when changing newline char
13697 (BreakParagraph): If the cursor is before a space, delete the space.
13699 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13701 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13703 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13704 new argument (code).
13705 (ChangeCitationsIfUnique): New method.
13707 * paragraph.C (GetPositionOfInset): Handle bibkey.
13709 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13711 * BufferView_pimpl.h: change type of Position::par_pos to
13712 LyXParagraph::size_type.
13714 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13716 * BufferView_pimpl.C (savePosition, restorePosition): Write
13717 messages to minibuffer.
13719 2001-01-28 José Matos <jamatos@fep.up.pt>
13721 * buffer.C (makeDocBookFile): adds support for document language.
13722 A silly restriction on the name of LatexCommand types where removed.
13723 Added support for CDATA sections, allows to chars unescaped, used
13724 among others in code, to avoid escape < and >.
13726 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13728 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13729 saved positions instrad of a stack. Furthermore, a position is
13730 stored using paragraph id/paragraph position.
13732 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13733 Remove LFUN_REF_BACK.
13735 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13737 * converter.C (dvipdfm_options): New method.
13739 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13741 * vspace.C (isValidLength): Fix for empty input string.
13743 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13745 * LyXAction.C (init): change description of LFUN_FIGURE to
13748 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13750 * LaTeX.C: add using directive
13752 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13754 * MenuBackend.C (expand): Fix the sorting of the formats.
13756 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13758 * lyx_main.C: tiny error message fix
13760 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13762 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13763 calling fl_initialize(). This fixes the problem with ',' as
13764 decimal separator in text files.
13766 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13768 * trans.C (process): Fix the keymap bug.
13770 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13772 * LaTeX.C (scanAuxFiles): New method. Provides support for
13773 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13774 (scanLogFile) Scan for "run BibTeX" messages.
13776 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13777 OT1 font encoding. Also, load the aecompl package if the ae
13780 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13782 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13784 * texrow.C (increasePos): turn two error messages into debug
13787 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13789 * LaTeX.C (scanAux): Handle the \@input macro.
13790 (runBibTeX): Use scanAux().
13792 * language.C (latex_options_): New field.
13794 * LaTeXFeatures.C (getMacros): Add language macros.
13796 * buffer.C (makeLaTeXFile): Small fix.
13798 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13800 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13802 * text2.C: add a using directive.
13804 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13809 * lyxfunc.C: kill LyXBell.
13811 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13813 * text.C (IsBoundary): Remove the error message
13815 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13817 * lyxrc.C (setDefaults): Correct initialization value for
13820 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13822 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13825 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13826 and GotoNextNote().
13828 * src/LyXAction.C: Added reference-next.
13830 * text.C (InsertChar): Use contains instead of strchr.
13832 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13834 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13836 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13837 alignment commands (when needed).
13839 * text.C (InsertChar): Add ':' to number separator chars.