1 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
5 2003-11-24 André Pönitz <poenitz@gmx.net>
7 * rowpainter.C: simplification
9 * text2.C (updateCounters): remove call to redoParagraph on
10 changed labels as this is far too expensive.
12 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
14 * converter.C (convert): fix a crash: this function gets
15 called with buffer == 0 from importer code.
17 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
19 * text3.C (cursorPrevious): make sure that we do not compare
20 iterators form different containers.
23 * rowpainter.C (paintSelection): make sure that we do not compare
24 iterators from different containers.
26 * text3.C (dispatch): [PRIOR] make sure that we do not compare
27 iterators from different ParagraphList containers.
30 * text2.C (LyXText): change order of initialization slightly
31 (operator=): new function. copy all variables except cache_par_
32 (moveUp): make sure that we do not compare iterators from
33 different ParagraphList constainers.
36 * text.C (firstPar): new function
37 (lastPar): new function
38 (endPar): new function
40 * lyxtext.h: move things around and group public functions, public
41 variables, private functions, private variables
43 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
45 * factory.C: change call to InsetERT constructor to avoid
46 additional invocation of method status
47 * text2.C (toggleInset): remove redundant update() call
48 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
49 instead of a Bufferview pointer
51 2003-11-21 André Pönitz <poenitz@gmx.net>
53 * rowpainter.C: simplification
55 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
57 * text3.C (dispatch): make possible to extend a word/row selection
60 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
62 * lyxtext.h: x0_,y0_ -> xo_,yo_
63 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
64 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
65 * rowpainter.C (paintRows): paint full paragraphs
67 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
69 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
72 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
74 * lyxtext.h: add x0_, y0_
75 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
76 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
78 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
80 * text2.C (setCursorIntern): move the x_target update here *
81 * text3.C: change some bv() to true/false in calls to
82 cursorUp/Down/Right/Left
83 * cursor.C: use helper function.
85 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
87 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
88 * paragraph_funcs.[Ch]: correct comment
89 * rowpainter.C: do not paint selections away from bv->cursor()
90 Fix a long standing selection painting bug.
91 * text3.C: generalize mouse-selection code to LyXTexts other that
93 * textcursor.C: do not use y coords if we can use par offsets
95 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
97 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
98 cursor position after e.g. inset insert)
100 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
102 * lyxfind.C (replace): adjust to locking removal + some
105 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
107 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
110 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
113 * output_docbook.C: XML sanitation: new layout
114 parameters InnerTag and CommandDepth
116 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
118 * BufferView_pimpl.C:
120 * text3.C: Fix the insertion and modification of button-style
123 2003-11-13 André Pönitz <poenitz@gmx.net>
125 * InsetList.[Ch]: remove deleteLyXText
127 * paragraph.[Ch]: cache beginOfBody position
132 * text3.C: remove superfluous update() calls
136 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
138 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
139 * BufferView.C (fitLockedInsetCursor): remove
140 * cursor.[Ch] (getDim): add
141 * text.C (getRowNearY): add faster version
142 * text3.C: remove some update calls
144 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
156 * text3.C: The Character Style /XML short element patch.
158 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
161 * factory.C: Small step to solving 'unable to insert some insets'
164 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
166 * cursor.[Ch] (updatePos): new function for updating the y
167 position of the tip inset
168 * bufferview_funcs.C (put_selection_at):
169 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
171 2003-11-11 André Pönitz <poenitz@gmx.net>
173 * text.C: remove big comment on invalid Paragraph pointers as it is
176 2003-11-11 André Pönitz <poenitz@gmx.net>
178 * text_funcs.[Ch]: merge with ...
186 * Makefile.am: remove text_funcs.[Ch]
188 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
190 * cursor.C (getPos): return absolute cached y coord
192 * BufferView_pimpl.C (fitCursor): new simplistic code
193 (workAreaDispatch): add a fitCursor call
195 2003-11-10 André Pönitz <poenitz@gmx.net>
198 * BufferView_pimpl.[Ch]: merge update() and updateInset()
200 2003-11-10 André Pönitz <poenitz@gmx.net>
202 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
203 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
204 indicate that the cursor needs to leave an inset
206 * lyxtext.h: remove inset locking
208 * cursor.[Ch]: re-implement functionality provided by inset locking
211 * BufferView_pimpl.[Ch]:
213 * bufferview_funcs.[Ch]:
225 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
227 * PosIterator.[Ch]: replace the stack with a vector, add inset
229 * iterators.[C]: adjust
231 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
233 * lyxfind.C (replaceAll): mark the buffer dirty if something was
235 * paragraph_funcs.C (readParToken): put the correct id in the
236 error item, not the id of the top paragraph
238 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
240 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
241 * bufferview_funcs.C (put_selection_at): use the above
243 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
245 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
247 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
250 * output_plaintext.h:
252 * output_docbook.h: add #include statements
254 2003-11-05 José Matos <jamatos@lyx.org>
256 * output_docbook.[Ch]:
258 * output_linuxdoc.[Ch]:
259 * output_plaintext.[Ch]: New files for output formats.
260 * output.[Ch]: New file for helper functions.
263 * paragraph_funcs.[Ch]: output functions moved to new files.
265 * outputparams.h: rename of latexrunparams.h
273 * paragraph_funcs.[Ch]:
274 * paragraph_pimpl.[Ch]:
275 * tabular.[Ch]: rename ascii to plaintext
276 and LatexRunParams to OutputParams.
278 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
280 * iterators.[Ch] (text): require bv argument
281 * undo.C (recordUndo):
282 * lyxfunc.C (dispatch):
283 * bufferview_funcs.C (put_selection_at): adjust
285 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
287 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
289 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
291 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
294 2003-11-04 André Pönitz <poenitz@gmx.net>
296 * cursor.[Ch]: restructure
299 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
301 * iterators.[Ch] (asCursor): remove
303 * lfuns.h: remove LFUN_INSET_EDIT
309 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
311 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
313 * lyxfind.[Ch]: complete overhaul
314 * BufferView_pimpl.C:
316 * paragraph.[Ch] (insert): add
318 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
322 * text.C: remove dead spellcheck code
324 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
326 * dispatchresult.h: add a val setter
328 * cursor.C (dispatch): use a tempvar for data_[i]
330 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
332 * PosIterator.[Ch]: compile fix
334 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
336 * text.C (cursorPar): deactivate the cursor cache
338 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
340 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
342 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
344 * text3.C (dispatch): adjust for new DisptchResult semantics.
346 * lyxfunc.C (dispatch): handle update when return from
347 Cursor::dispatch, adjust for new DispatchResult semantics.
349 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
350 DispatchResult(true) mean to not update. Add class functions for
351 setting dispatched and update, as well as reading.
353 * cursor.C (dispatch): don't handle update here
355 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
357 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
358 * trans_mgr.C: adjust
360 * paragraph_funcs.C (readParToken): exception safety
362 * lyxvc.h: store the vcs pointer in a scoped_ptr
365 * lyxsocket.C (serverCallback): exception safety
367 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
369 * ispell.C (clone): make it return a auto_ptr
371 * factory.C (createInset): exception safety
372 (readInset): exception safety
374 * bufferlist.C (newBuffer): exception safety
376 * Thesaurus.C (Thesaurus): use initialization for aik_
378 * MenuBackend.C (expandToc): exception safety.
380 2003-11-03 André Pönitz <poenitz@gmx.net>
384 * bufferview_funcs.C: remove getInsetFromId()
387 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
393 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
395 * PosIterator.C (distance, advance): new
396 * bufferview_funcs.[Ch] (put_selection_at): new
397 * iterators.[Ch] (lockPath): new
399 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
401 * iterators.[Ch] (asPosIterator): added
402 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
403 * PosIterator.[Ch]: added
405 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
409 * cursor.C (dispatch):
410 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
412 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
413 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
414 contructor, add a class function dispatched. Remove operator>=
416 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
418 * debug.C: only use the default constructor for debugstream
421 * main.C (main): include debug.h and setup the lyxerr streambuf
424 2003-10-31 José Matos <jamatos@lyx.org>
426 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
428 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
429 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
430 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
431 * paragraph_pimpl.C (simpleTeXSpecialC):
432 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
433 add LatexRunParams argument.
435 * exporter.C (Export): change call accordingly.
437 * latexrunparams.h: add new member to take care of the other backends.
438 2003-10-30 José Matos <jamatos@lyx.org>
440 * buffer.C (makeLinuxDocFile, makeDocBookFile):
441 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
442 factorise code for paragraph output.
444 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
447 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
449 * text3.C (dispatch):
450 * lyxfunc.C (dispatch):
451 * cursor.C (dispatch):
452 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
454 * dispatchresult.h: make the dispatch_result_t ctor explicit
456 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
459 * buffer.C: small refactoring of docbook stuff
461 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
463 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
466 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
468 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
469 operator dispatch_result_t, and operators for == != and >=
471 * cursor.C (dispatch): adjust for operator dispatch_result_t
472 removal. comment out call to update
474 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
476 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
484 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
487 * dispatchresult.h: new file, DispatchResult broken out of
490 * Makefile.am (lyx_SOURCES): add dispatchresult.h
492 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
494 * text.C (rowBreakPoint): put a hack inside #if 0
496 2003-10-28 André Pönitz <poenitz@gmx.net>
503 * text2.C: general cleanup (lots of small stuff)
505 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
507 * text2.C (cursorEnd): simple fix to the "end key goes to one
508 before the end on last row" bug
510 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
512 * text.C (backspace): fix the "zombie characters"
514 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
516 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
518 2003-10-27 André Pönitz <poenitz@gmx.net>
520 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
522 * factory.C: handle new InsetPagebreak, InsetLine
524 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
525 and move handling into new InsetPagebreak, InsetLine
527 * BufferView_pimpl.C:
529 * ParagraphParameters.C:
542 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
551 * text3.C: remove lastPos uses in favour of Row::endpos
553 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
555 * undo.C (performUndoOrRedo): fix two crashes by setting a
556 cursor by hand and reordering some calls. Use bv->lockInset instead
557 of inset->edit because the latter loses cursor information
559 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
561 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
563 (rowBreakPoint): fix width. change point to point + 1.
566 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
569 * lyxfunc.C: fix (at least partly) the problems
570 with the Nav menu and headers inside branch insets
573 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
575 * paragraph.C (getChar): add strong asserts
577 * lyxrow_funcs.C (lastPos): remove hideous hack
579 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
580 (fill): adjust to that (avoid an infinite loop)
582 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
584 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
586 2003-10-23 André Pönitz <poenitz@gmx.net>
588 * RowList_fwd.h: change list<> to vector<> to gain speed
589 after suggestion from Alfredo
591 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
593 * lyxtext.h: move the bidi stuff from here...
596 * Bidi.[Ch]: ... to here
598 2003-10-23 André Pönitz <poenitz@gmx.net>
601 * text.C (isLastRow, isFirstRow): new functions
603 * paragraph.h: new width cache member
605 * rowpainter.C: replace RowList::iterator with Row & where possible
607 * lyxfunc.C: replace several view()->text with a single call
609 * toc.C: fix 'unused' warning
611 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
613 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
614 when woring with stream::pos_type
615 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
617 2003-10-22 André Pönitz <poenitz@gmx.net>
620 * text.C: use Row & instead of RowList::iterator
622 * lyxrow.h: rename end() to endpos()
628 2003-10-22 Angus Leeming <leeming@lyx.org>
630 * buffer.[Ch] (fully_loaded): new member function, returning true
631 only when the file has been loaded fully.
632 Used to prevent the premature generation of previews and by the
633 citation inset to prevent computation of the natbib-style label.
635 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
636 templates are all set up.
638 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
640 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
642 * text.C: fixed an "oops" in the "is a bit silly"
645 2003-10-21 André Pönitz <poenitz@gmx.net>
647 * FuncStatus.[Ch]: small stuff, whitespace
649 * lyxfont.[Ch]: operator<<() for debug reasons
653 * lyxtext.h: whitespace, spelling
655 * paragraph.C: naming of variables
658 * text2.C: small stuff
661 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
663 * text.C: (1) finish off the inset display() work;
664 (2) fix the "is a bit silly" bug (accessing char
667 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
669 * text.C: re-introduce display() for insets, fixing the
670 various bugs (stretch of line above, math inset
673 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
675 * text.C (rightMargin): remove spurious semicolon
677 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
680 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
682 * text3.C: fix one crash due to wrong cursor def
684 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
686 * vc-backend.C (scanMaster): make the regex static
688 * LaTeX.C (scanAuxFile): make the regexs static
690 * text3.C (doInsertInset, dispatch, dispatch):
691 * text2.C (cursorUp, cursorDown):
692 * text.C (selectNextWordToSpellcheck):
693 * BufferView_pimpl.C (dispatch):
694 * lyxfunc.C (dispatch): localDispatch -> dispatch
696 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
698 * lyxsocket.C: include <cerrno>
700 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
702 * lyxfunc.C (dispatch): remove textcache stuff
704 * bufferlist.C (release): remove textcache stuff
707 * TextCache.C: delete file
708 * TextCache.h: delete file
710 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
712 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
713 delete of the bv_->text.
714 (resizeCurrentBuffer): remove texcache stuff
715 (workAreaResize): ditto
717 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
719 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
722 2003-10-16 André Pönitz <poenitz@gmx.net>
729 * text3.C: speed up by storing y positions per paragraph plus per-row
730 offset instead of having a 'full' y position in the row.
732 2003-10-15 André Pönitz <poenitz@gmx.net>
736 * undo.[Ch]: make undo aware of inner insets
738 2003-10-14 Angus Leeming <leeming@lyx.org>
740 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
741 static member functions LyX::ref() and LyX::cref.
742 (lastfiles): new accessor functions for the new lastfiles_ member var.
743 (addLyXView, views_): add a new LyXView to the list of views_.
744 (updateInset): loop over all LyXViews to call their own updateInset
745 member function, returning a pointer to the Buffer owning the inset.
747 * BufferView_pimpl.C (loadLyXFile):
748 * MenuBackend.C (expandLastfiles):
749 * bufferlist.C (MenuWrite, QuitLyX):
750 lastfiles is no longer a global variable.
751 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
753 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
754 static function. Access through LyX::cref().emergencyCleanup().
756 2003-10-14 André Pönitz <poenitz@gmx.net>
758 * iterators.[Ch]: new direct access to innermost LyXText and Inset
760 * undo.[Ch]: restoring part of 'undo in insets'
763 * undo_funcs.[Ch]: merge with undo.[Ch]
765 * tabular.C: small cleansing stuff
767 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
769 * paragraph_funcs.C (readParToken): report unknown insets as error
770 boxes. Use the outer paragraph as location (also for unknown
773 * factory.C (readInset): do not abort on reading an unknown inset.
776 2003-10-13 Angus Leeming <leeming@lyx.org>
778 * lyx_main.C (LyX): remove call to setDisplayTranslator().
780 * lyxrc.C: displayTranslator is now a function,
781 declared in GraphicsTypes.h.
783 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
785 * format.C: new placeholder $$a to pass the socket address.
787 * bufferlist.[Ch]: new function getBufferFromTmp.
789 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
790 files in the temporary dir.
792 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
794 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
796 * Makefile.am: add lyxsocket.[Ch].
798 * lyx_main.C (error_handler): handle SIGPIPE.
800 2003-10-13 André Pönitz <poenitz@gmx.net>
802 * BufferView_pimpl.C:
807 * undo_funcs.[Ch]: use paroffset_type instead of
808 ParagraphList::iterators to prevent multiple conversion
809 (and get a more robust interface)
811 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
813 * lyxfunc.C (dispatch): RESULT -> dispatch_result
815 * text3.C (dispatch): ditto
817 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
819 * LaTeX.C (handleFoundFile): move the static to smaller scope,
820 move the onlyfile, use onlyfile instead of foundfile in a couple
823 * DepTable.C (update): flush the error stream a bit more
825 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
827 * lyxserver.C (callback): adjust
829 * lyxfunc.C (getStatus): add a missing brace in commented code
830 (ensureBufferClean): reindent
831 (dispatch): delete version taking a string
833 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
835 * LaTeX.C (deplog): move found file handlig from here...
836 (handleFoundFile): .. to new function here.
837 (deplog): make sure to discover several files mentioned on the
840 2003-10-10 André Pönitz <poenitz@gmx.net>
847 * text3.C: fix some of the tabular crashes
849 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
851 * MenuBackend.C (binding): put debug message into Debug::KBMAP
853 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
855 2003-10-09 André Pönitz <poenitz@gmx.net>
857 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
860 * BufferView_pimpl.C:
861 * bufferview_funcs.C:
872 * undo_funcs.C: adjust
874 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
876 * text2.C (incrementItemDepth): new function, use a backtracking
877 algorithm to discover the correct item depth.
878 (resetEnumCounterIfNeeded): new function, use a backtracking
879 algorithm to discover if counter reset is needed.
880 (setCounter): use them. Simplify a bit. Add different labels for
881 different item depths for itemize.
883 * paragraph.C (Paragraph): remove initialization of enumdepth
886 * paragraph.h: get rid of enumdepth, and use itemdepth both for
887 enumerate and itemize. Change the type of itemdepth to signed char.
889 2003-10-08 André Pönitz <poenitz@gmx.net>
891 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
896 * tabular.[Ch]: fix crash after 'row-insert'
898 2003-10-08 Angus Leeming <leeming@lyx.org>
900 Fix doxygen warnings.
902 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
903 Remove CutAndPaste:: prefix from header file declaration.
905 * LColor.h (fill): remove LColor:: prefix from declaration.
907 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
908 use lyx::depth_type rather than Paragraph::depth_type so that
909 header file and .C file match.
911 * converter.h (intToFormat): remove Converters:: prefix from declaration.
913 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
914 * aspell.C: \file aspell_local.C -> \file aspell.C
915 * gettext.C: \file gettext.C -> \file src/gettext.C
916 * gettext.h: \file gettext.h -> \file src/gettext.h
917 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
918 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
919 * text.C: \file text.C -> \file src/text.C
921 * toc.C: move comment so that doxygen is not confused.
923 2003-10-07 Angus Leeming <leeming@lyx.org>
925 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
927 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
930 * aspell_local.h: add forgotten std::string's.
932 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
939 * text3.C: The Box patch. Fancybox support, minipage, parbox
941 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
947 * ParagraphParameters.h:
957 * lyxtextclasslist.h:
961 * textcursor.h: add <string> and other small fixes to make Lars'
962 std::string patch compile with STLport.
964 2003-10-06 Angus Leeming <leeming@lyx.org>
966 * LColor.h: Add missing #include <string>.
968 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
970 * All most all file in all subdirs: Make <string> be the prefered
971 way of getting to std::string, add using declarations.
973 2003-10-06 André Pönitz <poenitz@gmx.net>
975 * metricsinfo.C: initialize LyXFont before changing attribute.
976 (fixes the 'math in \emph is upright' bug)
978 2003-10-06 André Pönitz <poenitz@gmx.net>
980 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
982 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
985 * paragraph_pimpl.C: Small fixes to build using STLport
987 2003-10-02 André Pönitz <poenitz@gmx.net>
990 * text3.C: move handling of LFUN_DEPTH *; fix #1360
992 2003-10-01 André Pönitz <poenitz@gmx.net>
994 * factory.C: assert early
996 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
998 * lyx_main.C: remove the global debug object
1000 * debug.h: adjust for new debugstream
1002 * debug.C: adjust for new debugstream and keep the global debug
1005 2003-09-22 Angus Leeming <leeming@lyx.org>
1007 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1008 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1009 an incomplete class LyXFont.
1011 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1013 * factory.C: bug fix in branches
1015 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1017 * lyxfunc.C (processKeySym): adjust
1019 (dispatch): change arg name from ev to func, adjust
1020 (sendDispatchMessage): ditto
1022 * lyx_main.C (defaultKeyBindings): adjust keybindings
1023 (deadKeyBindings): ditto
1025 * kbsequence.C (addkey): return a FuncRequest
1027 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1029 * kbmap.C (bind): take a FuncRequest as arg, adjust
1032 (defkey): change to take a FuncRequest as arg, adjust
1033 (findbinding): take a FuncRequest as arg, adjust.
1035 * funcrequest.h (operator=): added
1037 * funcrequest.C (FuncRequest): default kb_action changed from
1038 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1040 * buffer.C (dispatch): simplify
1041 (dispatch): adjust to take a FuncRequest as arg, adjust
1043 * boost.C (assertion_failed): change assertion message slightly
1045 * ToolbarBackend.C (read): simplify
1047 * MenuBackend.C (binding): adjust call to findbinding, add a
1048 message if no binding is found.
1050 (expandToc): correct by adding a empty FuncRequest
1052 * LyXAction.C: include <boost/assert.hpp>
1053 (isPseudoAction): delete function
1054 (LookupFunc): change name to...
1055 (lookupFunc): this. change return type to FuncRequest.
1056 (getActionName): take kb_action as arg, simplify
1057 (funcHasFlag): add an assert, simplify.
1059 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1061 * toc.C (action): return a FuncRequest, simplify
1063 * lyxfunc.C (processKeySym): adjust
1064 (getStatus): delete version that takes an int.
1066 (dispatch): delete version that takes action as int
1068 (sendDispatchMessage): simplify and adjust
1070 * funcrequest.C (getArg): take unsigned int as arg
1072 * ToolbarBackend.C (read): adjust
1073 (add): delete version that takes func as a string.
1074 (getIton): take a FuncRequest as arg
1076 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1079 * MenuBackend.C (MenuItem): add a new construct that only takes a
1080 Kind, simplify the constructor use for submenus.
1082 (expandLastfiles): adjust
1083 (expandDocuments): adjust
1084 (expandFormats): adjust
1085 (expandFloatListInsert): adjust
1086 (expandFloatInsert): adjust
1087 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1089 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1090 Remove class variables lyx_pseudo_map and lyx_arg_map
1092 * LyXAction.C (searchActionArg): delete function
1093 (getPseudoAction): delete function
1094 (retrieveActionArg): delete function
1095 (LookupFunc): make it return kb_action, simplify.
1096 (getActionName): simplify
1098 * factory.C (createInset): fix new bug
1100 2003-09-19 Angus Leeming <leeming@lyx.org>
1102 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1103 masterFilename_ parameter in the include inset.
1105 * factory.C (createInset): changes due to the changes to InsetInclude.
1107 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1109 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1111 2003-09-18 Angus Leeming <leeming@lyx.org>
1114 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1115 Inset::fillWithBibKeys.
1116 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1118 2003-09-18 Angus Leeming <leeming@lyx.org>
1120 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1122 (ctor): pass and store a 'Buffer const &'
1123 (buffer): new member function.
1125 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1126 '*this' to the LaTeXFeatures ctor.
1128 2003-09-18 Angus Leeming <leeming@lyx.org>
1134 * text.C: rename EnumLColor as LColor_color.
1136 2003-09-18 Angus Leeming <leeming@lyx.org>
1138 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1139 remove #include "insets/insetbase.h" from cursor.h.
1141 2003-09-18 Angus Leeming <leeming@lyx.org>
1143 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1144 InsetOld_code to remove #include "inset.h".
1146 * iterators.C: add #include "insets/inset.h"
1148 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1150 * BufferView.C: remove more locking stuff that apparently doesn't
1151 do anything sensible.
1153 2003-09-16 André Pönitz <poenitz@gmx.net>
1156 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1159 2003-09-16 Angus Leeming <leeming@lyx.org>
1161 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1163 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1166 * paragraph.h: remove #include "lyxfont.h". Forward declare
1169 2003-09-16 Angus Leeming <leeming@lyx.org>
1171 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1172 of support/textutils.h.
1173 (isWord): move the contents of support/textutils.h's IsWordChar here.
1179 * text2.C: add #include "paragraph.h".
1182 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1184 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1190 * LaTeX.C: use namespace alias for lyx::support::os
1192 2003-09-16 Angus Leeming <leeming@lyx.org>
1195 * bufferview_funcs.C:
1198 * paragraph_pimpl.C:
1200 * text.C: add #include "LColor.h".
1202 2003-09-16 Angus Leeming <leeming@lyx.org>
1204 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1205 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1207 Store the FontBits::color variable as an int rather than as an
1208 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1211 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1212 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1213 string calls together.
1215 * lyxrc.C: add #include "LColor.h".
1217 2003-09-15 Angus Leeming <leeming@lyx.org>
1219 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1222 2003-09-15 Angus Leeming <leeming@lyx.org>
1224 * LColor.h: add an EnumLColor wrapper for LColor::color.
1226 * lyxfont.[Ch] (color, setColor, realColor):
1227 * lyxtext.h, text.C (backgroundColor):
1228 pass EnumLColor args to/from the functions, rather than LColor::color
1232 * lyxtext.h: forward declare EnumLColor.
1234 * lyx_main.C: add #include "LColor.h".
1236 2003-09-15 Angus Leeming <leeming@lyx.org>
1238 * .cvsignore: add lyx-gtk.
1240 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1245 * ParagraphParameters.C
1249 * bufferview_funcs.C
1259 * vc-backend.C: remove usage of STRCONV
1261 2003-09-15 Angus Leeming <leeming@lyx.org>
1263 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1264 explicitly define the color passed to the painter.
1266 2003-09-15 Angus Leeming <leeming@lyx.org>
1268 * bufferparams.C (BufferParams): reorder member initializers to avoid
1271 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1273 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1274 * text.C (updateRowPositions): remove an unusual nop
1276 2003-09-12 André Pönitz <poenitz@gmx.net>
1278 * BufferView_pimpl.C:
1287 * Counters.[Ch]: finish the 'automatic counters' job
1289 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1291 * aspell.C: include <boost/assert.cpp> (compile fix)
1293 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1295 * boost.C (assertion_failed): use lyx::support::abort instead of
1298 2003-09-10 Angus Leeming <leeming@lyx.org>
1300 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1301 with their _fwd progeny.
1303 2003-09-09 Angus Leeming <leeming@lyx.org>
1305 134 files throughtout the source tree: replace 'using namespace abc;'
1306 directives with the appropriate 'using abc::xyz;' declarations.
1308 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1310 * boost.C (emergencyCleanup): moved here from LAssert.c
1311 (assertion_failed): new function, called by BOOST_ASSERT
1313 * several files: change Assert to BOOST_ASSERT
1315 2003-09-09 Angus Leeming <leeming@lyx.org>
1317 * buffer.[Ch]: Add an Impl class and move Buffer's member
1318 variables into it. As a result move several header files out of
1321 Add header files to lots of .C files all over the tree as a result.
1323 2003-09-09 Angus Leeming <leeming@lyx.org>
1325 * buffer.[Ch]: make Buffer's member variables private. Add
1328 Lots of changes all over the tree as a result.
1330 2003-09-08 Angus Leeming <leeming@lyx.org>
1332 * graph.C: #include <config.h>.
1334 2003-09-08 Angus Leeming <leeming@lyx.org>
1338 * BufferView_pimpl.C:
1367 * toc.C: remove redundant using directives.
1369 2003-09-07 Angus Leeming <leeming@lyx.org>
1371 * LaTeXFeatures.h: remove #include "support/types.h".
1372 * ToolbarBackend.h: remove #include <algorithm>.
1373 * changes.h: remove #include <ctime>.
1374 * debug.h: remove #include <iosfwd>.
1375 * graph.h: remove #include "support/std_string.h".
1376 * lyx_main.h: remove #include <csignal>.
1377 * lyxlex_pimpl.h: remove #include <fstream>.
1378 * sgml.h: remove #include <algorithm>, <utility>.
1379 * toc.h: remove #include "support/std_ostream.h".
1380 Add #include <iosfwd>.
1382 2003-09-07 Angus Leeming <leeming@lyx.org>
1384 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1386 * converter.h: forward declare LatexRunParams.
1387 * encoding.h: remove #include "lyxrc.h".
1388 * lyxtext.h: remove #include "LColor.h".
1389 * lyxtextclass.h: remove #include "support/types.h".
1390 * trans.h: remove #include "tex-accent.h".
1391 * trans_mgr.h: remove #include "tex-accent.h".
1392 * insets/inset.h: remove #include "support/types.h", <vector>.
1393 * insets/insetcollapsable.h: remove #include "LColor.h".
1394 * insets/insetinclude.h: remove #include "dimension.h".
1395 * insets/insetlatexaccent.h: remove #include "dimension.h".
1396 * insets/insetoptarg.h:: remove #include "insettext.h".
1397 * insets/insettext.h: remove #include "dimension.h",
1398 <boost/shared_ptr.hpp>
1400 * insets/renderers.h: add #include "dimension.h".
1401 * insets/updatableinset.h: add #include "support/types.h".
1403 * many .C files: Associated changes.
1405 2003-09-06 Angus Leeming <leeming@lyx.org>
1407 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1408 one, inside testInvariant.
1410 * PrinterParams.C: new file.
1411 * PrinterParams.[Ch]: move the function bodies out of line.
1413 2003-09-06 Angus Leeming <leeming@lyx.org>
1415 * ParagraphParameters.h: forward declare ParameterStruct rather than
1416 including its header file.
1417 (depth): moved out-of-line.
1419 2003-09-06 Angus Leeming <leeming@lyx.org>
1421 * BufferView_pimpl.h:
1424 * lyxfunc.h: forward declare LyXKeySym rather than
1425 #include "frontends/LyXKeySym.h".
1427 * BufferView_pimpl.C:
1430 * lyxfunc.C: associated changes.
1432 2003-09-06 Angus Leeming <leeming@lyx.org>
1434 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1435 As a result, can remove the #include "insets/inset.h" from BufferView.h
1437 2003-09-06 Angus Leeming <leeming@lyx.org>
1439 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1440 As a result, can remove the #include "insets/inset.h" from BufferView.h
1442 2003-09-06 Angus Leeming <leeming@lyx.org>
1448 * bufferview_funcs.C:
1449 * BufferView_pimpl.C:
1454 * ParagraphParameters.C:
1459 * frontends/controllers/ControlDocument.C:
1460 * insets/insetcaption.C: rearrange the #includes into some sort of
1463 * buffer.h: remove #includes ErrorList.h, undo.h
1465 2003-09-06 Angus Leeming <leeming@lyx.org>
1467 * support/types.h: add a 'depth_type' typedef, used to store the
1468 nesting depth of a paragraph.
1471 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1472 defining explicitly.
1475 * paragraph_funcs.h:
1476 * ParagraphParameters.h:
1477 * sgml.h: use lyx::depth_type rather than Paragraph or
1478 ParameterStruct's depth_type.
1481 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1484 * BufferView_pimpl.C:
1486 * ParagraphParameters.C:
1489 * bufferview_funcs.C:
1496 * frontends/LyXView.C:
1497 * frontends/controllers/ControlDocument.C:
1498 * frontends/controllers/ControlErrorList.C:
1499 * insets/insetbibitem.C:
1500 * insets/insetbranch.C:
1501 * insets/insetcaption.C:
1502 * insets/insetcollapsable.C:
1503 * insets/insetenv.C:
1504 * insets/insetert.C:
1505 * insets/insetfloat.C:
1506 * insets/insetfoot.C:
1507 * insets/insetfootlike.C:
1508 * insets/insetnewline.C:
1509 * insets/insetquotes.C:
1510 * insets/insettabular.C:
1511 * insets/insettext.C:
1512 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1514 * frontends/controllers/ControlChanges.C: #include "changes.h".
1516 2003-09-06 Angus Leeming <leeming@lyx.org>
1518 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1519 than #including paragraph.h.
1522 * RowList.h: deleted. Superfluous.
1532 * insets/insettext.h: use ParagraphList_fwd.h rather than
1535 * paragraph.h: don't forward declare ParagraphList.
1538 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1539 rather than ParagraphList.h. paragraph.h is still needed for the
1540 Paragraph::depth_type parameters.
1542 * textcursor.h: enable it to compile stand-alone in light of the
1545 * bufferview_funcs.C:
1557 * frontends/controllers/ControlParagraph.C:
1558 * frontends/controllers/ControlTabular.C:
1559 * insets/insetmarginal.C:
1560 * insets/insetminipage.C:
1561 * insets/insetnote.C:
1562 * insets/insetoptarg.C: add header files needed to compile again.
1564 2003-09-06 Angus Leeming <leeming@lyx.org>
1566 * RowList_fwd.h: new file, forward-declaring Row rather than
1567 #including lyxrow.h.
1572 * insets/insettext.h: use it instead of RowList.h
1574 * bufferview_funcs.C:
1581 * text3.C: #include "RowList.h".
1583 2003-09-05 Angus Leeming <leeming@lyx.org>
1585 * factory.C (createInset):
1586 * vspace.C (c-tor): replace sscanf call with an istringstream.
1587 * ispell.C: re-add missing HP/UX headers.
1588 * lyxserver.C: re-add missing os2 headers.
1590 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1599 * text3.C: re-add missing system headers, needed for 2.95.2.
1601 2003-09-05 Angus Leeming <leeming@lyx.org>
1603 Changes most place everywhere due to the removal of using directives
1604 from support/std_sstream.h.
1606 2003-09-05 Angus Leeming <leeming@lyx.org>
1608 Replace LString.h with support/std_string.h,
1609 Lsstream.h with support/std_sstream.h,
1610 support/LIstream.h with support/std_istream.h,
1611 support/LOstream.h with support/std_ostream.h.
1613 Changes resulting throughout the tree.
1615 2003-09-05 Angus Leeming <leeming@lyx.org>
1617 * sgml.h: ensure that the header file can be compiled stand-alone.
1618 * *.C: strip out redundant #includes. (320 in total.)
1620 2003-09-04 Angus Leeming <leeming@lyx.org>
1622 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1623 here (from getPackages).
1625 * debug.[Ch]: add a new EXTERNAL tag.
1627 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1629 * text2.C (cursorEnd): simplify
1631 (getColumnNearX): adjust
1633 * text.C (computeBidiTables): adjust
1636 * rowpainter.C (paintChars): adjust
1637 (paintSelection): adjust
1638 (paintChangeBar): adjust
1641 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1643 (numberOfSeparators): adjust
1645 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1651 * text3.C: Restricts the mouse click functionality
1652 of insets like bibtex, include, toc and floatlist to the visible
1653 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1654 up the dialogs. Cursor has to be in front of the inset (i.e.
1655 start of row) for this to function.
1657 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1659 * bufferview_funcs.C (currentState): output row information
1661 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1663 * bufferview_funcs.C (currentState): output paragraph position
1665 2003-09-04 Angus Leeming <leeming@lyx.org>
1667 * FloatList.h: move out #include "Floating.h".
1668 * LaTeX.h: move out #include "DepTable.h".
1669 * LyXAction.h: move out #include "funcrequest.h".
1670 * buffer.h: move out #include "author.h", "iterators.h".
1671 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1672 * lyx_main.h: move out #include "errorlist.h".
1673 * lyxfunc.h: move out #include "FuncStatus.h".
1674 * lyxtext: move out #include "lyxcursor.h".
1675 * paragraph_pimpl.h: move out #include "counters.h".
1677 2003-09-03 Angus Leeming <leeming@lyx.org>
1679 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1680 preamble_snippets list, enabling us to add snippets to the preamble
1681 only if the snippet was not there already.
1683 2003-09-04 Angus Leeming <leeming@lyx.org>
1685 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1687 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1689 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1692 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1694 * BranchList.C: point fix, earlier forgotten
1696 2003-09-02 Angus Leeming <leeming@lyx.org>
1698 * box.C (contains): renamed from 'contained' after a fantastic
1701 2003-09-02 John Levon <levon@movementarian.org>
1707 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1709 2003-09-02 John Levon <levon@movementarian.org>
1711 * text2.C: simplification of cursorEnd(), including partial
1714 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1716 * buffer.C (readFile): add a space
1718 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1720 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1722 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1724 * buffer.C (readFile): new function, take a filename and a
1725 ParagraphList::iterator
1727 (readFile): adjust, make it private. don't use setStream, make
1728 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1729 always contain the filename.
1731 * BufferView.C (insertLyXFile): simplify and make it work for
1734 2003-08-30 John Levon <levon@movementarian.org>
1736 * Makefile.am: fix dist (from Kayvan)
1738 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1740 * most files: change to use const Buffer refs
1742 2003-08-27 André Pönitz <poenitz@gmx.net>
1744 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1745 on top of ownerPar().
1747 2003-08-27 John Levon <levon@movementarian.org>
1749 * funcrequest.C: properly initialise POD members
1751 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1753 * lyxtext.h (top_y): move top_y from here
1758 * BufferView_pimpl.[Ch]: to here
1759 * frontends/screen.C:
1760 * insets/insettabular.C:
1761 * insets/insettext.C: adjust
1762 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1764 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1767 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1769 2003-08-26 André Pönitz <poenitz@gmx.net>
1771 * paragraph_func.[Ch] (outerPar): new function
1774 * paragraph_funcs.C:
1775 * paragraph_funcs.h:
1776 * paragraph_pimpl.C:
1777 * text2.C: remove Inset::par_owner
1779 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1784 * text2.C: eliminates the needFullRow/display() stuff
1785 altogether, putting the logic in metrics/draw in the insets.
1787 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1789 * text2.C (redoParagraphInternal, redoParagraphs):
1790 * text.C (redoParagraph): add a call to updateRowPositions at the
1791 end of each 'metrics-like' call. Remove all others.
1792 (getRow): remove the 'y-computing' version.
1793 (getRowNearY): do not compute nor return the real y. Solve the
1794 'y < 0' problem and simplify.
1796 2003-08-22 Angus Leeming <leeming@lyx.org>
1798 * *.[Ch]: clean-up of licence and author blurbs.
1799 Also move config.h out of a few .h files and into a few .C files.
1801 2003-08-22 André Pönitz <poenitz@gmx.net>
1803 * lyxrow.[Ch]: add x_ and *fill_ members
1808 * text2.C: adjust/remove prepareToPrint() calls
1810 2003-08-22 André Pönitz <poenitz@gmx.net>
1812 * lyxrow.[Ch]: add end_ member
1814 * lyxrow_funcs.C: use LyXRow::end_
1816 * lyxtext.h (singleWidth): add LyXFont parameter
1819 * text2.C: adjust LyXText::singleWidth() calls
1821 * text.C (redoParagraph): simplify row breaking logic
1824 2003-08-19 André Pönitz <poenitz@gmx.net>
1826 * funcrequest.C: initialize button_ member
1829 * rowpainter.[Ch]: interface consolidation
1831 2003-08-18 André Pönitz <poenitz@gmx.net>
1834 * BufferView_pimpl.C:
1836 * paragraph_funcs.C:
1838 * text3.C: remove LyXScreen::draw() and fitCursor calls
1840 * BranchList.h: remove spurious semicolons
1842 * MenuBackend.C: fix branchlist related crash
1844 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1852 * bufferparams.[Ch]:
1856 * text3.C: implements the 'branch inset'
1857 idea. This allows the output of various versions of a document
1858 from a single source version, selectively outputing or suppressing
1859 output of parts of the text.
1860 This implementation contains a 'branch list editor' in a separate
1861 tab of the document settings dialog. Branches are user definable
1862 and have a "display colour" to distinguish them on-screen.
1864 ColorHandler was somewhat cleaned up.
1865 (1) make possible a dynamically growing LColor list by allowing
1866 the graphic context cache to grow along (vector);
1867 (2) eliminate an IMHO unnecessary step in colour allocation.
1869 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
1871 * BufferView_pimpl.C: compile fix
1873 2003-08-15 André Pönitz <poenitz@gmx.net>
1875 * rowpainter.C: remove extra metrics calls
1877 * lyxtext.h: merge the two constructors into a single one,
1878 pass reference to owner's par list
1880 * BufferView_pimpl.C:
1884 2003-08-15 André Pönitz <poenitz@gmx.net>
1886 * lyxrow_funcs.[Ch]:
1889 * paragraph_funcs.C:
1894 * text_funcs.C: split LyXText::rowlist_ into individual
1895 Paragraph::rows_ chunks
1898 * BufferView_pimpl.[Ch]:
1901 * text3.C: remove toggleSelection()
1903 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1905 * bufferlist.C: beautify two alerts (shorter text of buttons)
1906 * buffer.C: Remove redundant ' ' from message
1908 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1909 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1910 rename VALIGN_CENTER to VALIGN_MIDDLE
1912 2003-08-11 André Pönitz <poenitz@gmx.net>
1914 * lyxtext.h (getPar):
1915 * text.C: new function
1917 2003-08-11 André Pönitz <poenitz@gmx.net>
1920 * tracer.[Ch]: remove unneeded files
1922 * InsetList.[Ch]: remove resizeInsetsLyXText()
1927 * text3.C: merge insertParagraphs() and appendParagraph()
1928 remove breakAgain(), update()
1930 * BufferView_pimpl.[Ch]:
1931 * bufferview_funcs.[Ch]:
1935 * tabular.C: adjust after text & InsetList changes.
1937 2003-08-08 André Pönitz <poenitz@gmx.net>
1939 * text.C (insertChar, backspace): replace rowlist fiddling
1940 with rebreak of full par
1943 * text.C (breakAgainOneRow, redoHeightOfParagraph,
1944 checkParagraph, updateInset): removed
1946 2003-08-07 André Pönitz <poenitz@gmx.net>
1949 * text3.C: merge some LFUN handlers, remove dead code
1951 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1953 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1955 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
1957 * text2.C (DEPM): fix part of bug 1255 and 1256
1959 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1961 * BufferView_pimpl.C (workAreaDispatch): change to use
1962 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1963 that are no mouse related.
1965 2003-08-05 André Pönitz <poenitz@gmx.net>
1968 * BufferView_pimpl.[Ch]:
1969 * bufferview_funcs.C:
1971 * text3.C: rip out "deep update"
1973 * textcursor.[Ch] (last_sel_cursor): remove unused member
1975 2003-08-04 André Pönitz <poenitz@gmx.net>
1978 * BufferView_pimpl.[Ch]:
1979 * ParagraphParameters.C:
1980 * bufferview_funcs.C:
1986 * text3.C: replace "complicated" BufferView::update(...) calls with
1989 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1991 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
1993 * Makefile.am (lyx_SOURCES): add paper.h
1995 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1997 * Makefile.am: move things around so that both lyx-qt and
1998 lyx-xforms can be built (according to --with-frontend). Then lyx
1999 is a symbolic link to lyx-[firstfrontend]
2001 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2003 * Always use std::endl with lyxerr
2005 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2007 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2009 2003-08-01 André Pönitz <poenitz@gmx.net>
2012 * BufferView_pimpl.[Ch]:
2014 * text3.C: merge BufferView::repaint() and BufferView::update()
2016 2003-08-01 José Matos <jamatos@lyx.org>
2018 * buffer.[Ch]: file_format is no longer a buffer data element.
2020 2003-08-01 André Pönitz <poenitz@gmx.net>
2025 * text2.C: make redoParagraph more independent of current cursor
2027 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2029 * text2.C: remove unneeded members
2031 2003-07-30 André Pönitz <poenitz@gmx.net>
2033 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2035 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2036 create a single function...
2038 * paragraph_funcs.C (moveItem): ... here.
2041 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2043 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2045 * LColor.[Ch]: Add comment and greyedout logical colors.
2047 2003-07-30 André Pönitz <poenitz@gmx.net>
2049 * tabular.C: don't use Assert too heavily. This crashes where it
2052 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2054 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2055 is disabled (bug 1232)
2057 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2059 * factory.C: limited 'arg' scope
2061 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2063 * factory.C: fixed Note submenu issues
2065 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2067 * factory.C: submenu for Note/Comment/Greyedout
2069 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2072 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2074 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2077 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2078 greyedout. Patch provided by Jürgen Spitzmüller.
2080 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2082 * kbmap.C (read): fix error message when reading bind files
2084 2003-07-29 Angus Leeming <leeming@lyx.org>
2086 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2087 certainly does not do what it purports to do. I am doing it, and
2088 us, a favour by killing it.
2090 2003-07-28 José Matos <jamatos@lyx.org>
2092 * buffer.C (readBody, do_writeFile):
2093 * paragraph.C(readParagraph): \end_document replaces \the_end.
2095 2003-07-29 André Pönitz <poenitz@gmx.net>
2098 * BufferView_pimpl.[Ch]:
2102 * textcursor.[Ch]: remove toggleToggle & Co
2104 2003-07-28 José Matos <jamatos@fep.up.pt>
2106 * buffer.C (readParagraph):
2107 * params_func (readParToken, readParagraph):
2108 * paragraph.C (write): \layout -> \begin_layout.
2110 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2112 * lyxlex_pimpl.C (setFile): clean up slightly.
2114 * bufferparams.h: add compressed var
2116 * buffer_funcs.C (readFile): adjust for LyXLex change
2117 (newFile): ditto + simplify
2119 * buffer.C (writeFile): handle writing of compressed files
2121 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2122 Check if the file is compressed and set a bufferparm if so.
2124 * Makefile.am (lyx_LDADD): remove explicit -lz
2126 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2128 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2129 makeDocBookFile): put the real LyX version in the first line of
2133 * version.C.in: remove lyx_docversion
2135 * tabular.C (write_attribute): add a template-based version to
2136 write enums properly
2138 2003-07-28 André Pönitz <poenitz@gmx.net>
2143 * text3.C: use doubles again for x-coordinates. They are needed.
2145 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2147 * messages.C (getLocaleDir): use lyx_localedir()
2149 * lyxlex_pimpl.C (setFile): compress stuff
2151 * buffer.C (writeFile): add some compression stuff
2152 (do_writeFile): new func, dont call expliti close... will this
2155 * Makefile.am (lyx_LDADD): add -lz
2157 2003-07-28 José Matos <jamatos@fep.up.pt>
2159 * buffer.C: increment file format.
2160 * paragraph_funcs (readParagraph, readParToken):
2161 * paragraph.C (readParagraph): add \end_layout.
2163 2003-07-27 Angus Leeming <leeming@lyx.org>
2165 * Makefile.am: remove special casing for configure-time setting of
2166 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2168 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2169 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2171 2003-07-26 André Pönitz <poenitz@gmx.net>
2173 * paragraph_func.[Ch]:
2174 * paragraph.C (realizeFont): inline it whereever it is used
2179 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2182 2003-07-26 André Pönitz <poenitz@gmx.net>
2186 * text2.C: get rid of LyXText::need_break_row
2188 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2190 * toc.[Ch]: put namespace toc inside namespace lyx
2192 * MenuBackend.C (expandToc2): adjust for lyx::toc
2195 * lyxfunc.C (dispatch): adjust for lyx::find
2197 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2198 lyx::find instead. Reorganize a bit.
2199 (LyXReplace): rename to replace
2200 (LyXFind): rename to find
2202 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2205 2003-07-26 André Pönitz <poenitz@gmx.net>
2207 * text.C (setHeightOfRow): restrict scope of temporary variable
2209 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2210 code (never has been used?)
2212 2003-07-27 Asger Alstrup <alstrup@local>
2214 * text.C (fill): Optimise algorithm to exploit that we can reuse
2215 the LyXFont for many characters.
2216 (setHeightOfRow): Same thing.
2217 (rowBreakPoint): Same thing.
2219 2003-07-26 Asger Alstrup <alstrup@local>
2221 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2223 * text.C (singleWidth): Spurious font copying in hot-spot
2224 singleWidth avoided. Reorder tests for arabic for efficiency.
2226 * text.C (fill): handle empty paragraphs better.
2228 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2231 * encoding.h: add includes
2233 * lyxrc.C: remove reading of bind files
2235 * lyx_main.C (init): setup bindings and menus only if we have a
2238 * kbmap.C (read): new method. Do the actual reading of bind
2241 * converter.C (dvipdfm_options):
2244 (output): adapt PAPER_* enums.
2246 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2248 * bufferparams.h: remove paper-related enums from there
2250 * paper.h: New file. A trivial header file to hold paper-related
2251 enums. It should later expand to contain many paper-related
2254 * lyxrc.C: declare extern displayTranslator
2256 2003-07-27 José Matos <jamatos@fep.up.pt>
2258 * tabular.[Ch] (linuxdoc): add support for tables and figures
2261 2003-07-27 José Matos <jamatos@fep.up.pt>
2263 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2264 consistency in both functions.
2265 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2267 2003-07-26 Asger Alstrup <alstrup@local>
2269 * rowpainter.C (paintRows): Change algorithm to work directly on
2270 the insets rather than asking every character in the document
2271 whether its an inset.
2273 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2275 * buffer.C (openFileWrite): factorize some code
2277 2003-07-26 Angus Leeming <leeming@lyx.org>
2280 * lyx_main.[Ch]: replace occurances of system_tempdir with
2283 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2285 * rename Inset to InsetOld
2287 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2289 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2290 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2291 which I think is a bit clearer. EDIT is gone, since it was
2292 premature optimisation, and broken for mathed anyway.
2293 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2294 with cursor positioning in insets as well (math insets still do not
2295 work, but that's a different story anyway.) It mysteriously
2296 crashes sometimes with undo in the first paragraph, but I'm fairly
2297 confident that this is a compiler bug.
2299 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2301 * paragraph.C (Paragraph): adjust for new clone return type
2303 (copyIntoMinibuffer): ditto
2305 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2307 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2308 by not having a special case, and always doing a full rebreak of
2309 the document after undo.
2311 2003-07-23 Angus Leeming <leeming@lyx.org>
2313 * factory.C (createInset): InsetExternal::setParams now takes a
2316 2003-07-23 Angus Leeming <leeming@lyx.org>
2318 * factory.C (createInset): changed interface to the external and
2319 graphics mailers' string2params functions.
2321 2003-07-23 Angus Leeming <leeming@lyx.org>
2323 * factory.C (createInset): pass a
2324 Buffer const * parameter to InsetExternalMailer's string2params.
2326 2003-07-22 John Levon <levon@movementarian.org>
2328 * Thesaurus.h: include the right aiksaurus header
2330 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2332 * MenuBackend.C (expand): check menu shortcuts unconditionally
2334 2003-07-21 Angus Leeming <leeming@lyx.org>
2336 * factory.C (createInset): pass a
2337 buffer_path parameter to InsetGraphicsMailer's string2params.
2339 2003-07-21 Angus Leeming <leeming@lyx.org>
2341 * BufferView_pimpl.C (buffer):
2344 * lyxfunc.C (dispatch):
2345 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2346 rather than the grfx shortcut.
2348 2003-07-21 André Pönitz <poenitz@gmx.net>
2350 * rowpainter.C: remove unused variables
2353 * tabular_funcs.h: move to tabular.C
2354 * Makefile.am: adjust
2356 * tabular.[Ch]: basic optical cleaning
2358 * author.h: pass references, not values
2360 2003-07-18 André Pönitz <poenitz@gmx.net>
2368 * text3.C: two-phase drawing for InsetText and InsetTabular
2369 some float -> int changes.
2371 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2373 * lyx_main.C: fix the fix
2375 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2377 * lyx_main.C: fix a crash in batch mode if no files specified
2380 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2382 * format.[Ch] (papersize): moved to BufferParams
2383 * converter.[Ch] (dvips_options): moved to BufferParams
2384 (dvipdfm_options): moved to anon namespace
2385 * bufferparams.[Ch]: added above functions.
2387 2003-07-17 André Pönitz <poenitz@gmx.net>
2391 * text2.C: don't call inset->update() anymore
2393 * metricsinfo.[Ch]: add convenience constructor
2395 2003-07-16 André Pönitz <poenitz@gmx.net>
2400 * text2.C: replace the LyXCursor::irow_ member with
2401 on-demand computation of the value
2403 2003-07-16 John Levon <levon@movementarian.org>
2405 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2407 2003-07-15 André Pönitz <poenitz@gmx.net>
2410 * text2.C: remove no more needed refresh_row
2412 2003-07-15 André Pönitz <poenitz@gmx.net>
2417 * text3.C: refresh_status tristate -> need_update bool
2419 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2421 * lyxtext.h (init): remove reinit argument (act as if always true)
2422 * text2.C: adjust to that
2424 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2426 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2427 * text3.C: use it to delete selections in some cases
2428 (bugs 441, 673, 702, 954).
2430 2003-07-14 André Pönitz <poenitz@gmx.net>
2432 * rowpainter.[Ch]: reduce interface
2434 2003-07-14 André Pönitz <poenitz@gmx.net>
2436 * BufferView_pimpl.C:
2437 * text2.C: adjust after removing unused BufferView * argument
2439 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2441 * text2.C (init): fix a crash fired on resize
2443 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2445 * buffer.[Ch]: added new closing signal
2446 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2447 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2448 BufferView::Pimpl via the closing the signal
2450 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2452 * buffer.[Ch]: take out all bv-related from buffer
2454 * BufferView_pimpl.[Ch]: connect to new signals
2455 * CutAndPaste.C: removed useless asserts
2456 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2459 * lyxfunc.C: moved view-related funciontality from vc here
2460 * paragraph.C: removed outdated comments
2463 2003-07-10 André Pönitz <poenitz@gmx.net>
2465 * BufferView_pimpl.C:
2469 * text2.C: remove InsetText::InnerCache, clean up consequences
2471 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2473 * ispell.C: fix two typos in error messages
2475 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2477 * Extend Note inset to other forms of annotation like Comment
2478 and Greyedout. Right button click gives dialog.
2480 Files modified or added (+):
2484 * ControlNote.[Ch] +
2486 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2487 frontends/controllers
2491 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2493 * aspell.C: add missing namespace lyx::support
2495 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2497 * BufferView.[Ch] (newFile): Add
2498 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2499 * LaTeX.[Ch] (message): added this signal and use it
2500 * buffer.[Ch] (busy, message): added these signals and use them
2501 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2505 * importer.C: use buffer signals instead of direct bv calling
2506 * lyx_cb.[Ch] (ShowMessage): removed
2509 * paragraph_funcs.C:
2510 * text2.C: use buffer signals
2512 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2514 * introduce namespace lyx::graphics
2516 2003-07-02 André Pönitz <poenitz@gmx.net>
2518 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2520 2003-07-01 André Pönitz <poenitz@gmx.net>
2527 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2528 text*.C to text_func.C
2530 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2532 * introduce namespace lyx::support
2534 2003-06-30 André Pönitz <poenitz@gmx.net>
2539 * text.C: re-enable --with-included-string
2541 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2543 * textcursor.C: add <config.h>
2545 * text.C (getWord): remove const from word_location arg
2547 * lyxvc.C (getLogFile): fix const type order
2549 * lyxtext.h: remove const from word_location arg, add arg name
2551 * lyxlayout.h: currect type on labeltype.
2553 * importer.C: correct \file
2555 * converter.C (intToFormat): use std:: on ret val, ws changes
2557 * bufferlist.h: correct \file
2559 * buffer.C (makeLinuxDocFile): fix const type order
2560 (makeDocBookFile): ditto
2561 (fillWithBibKeys): use std:: on stdlib args.
2563 * CutAndPaste.C: fix authors.
2564 (availableSelections): use std:: on return vector
2566 2003-06-27 André Pönitz <poenitz@gmx.net>
2568 * BufferView_pimpl.C:
2569 * bufferview_funcs.C:
2577 * text3.C: remove LyXCursor::row_ member
2580 * text.C: rename fullRebreak() to partialRebreak() and implement
2581 a fullRebreak() that really bereks fully
2583 * textcursor.h: new struct for cursor-related data
2585 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2587 * lyx_main.C (LyX): get full path of document loaded on the
2590 2003-06-26 André Pönitz <poenitz@gmx.net>
2592 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2593 remove unused/broken operator>,<,>=.
2595 * text.C: remove only use of broken operator<= in an Assert().
2597 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2599 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2600 moved errorlist_.clear to showErrorList
2602 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2604 * converter.C (scanLog, runLaTeX):
2605 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2606 move the bv->showErrorList call to the callers
2607 * lyxfunc.C: i.e. here...
2609 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2610 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2611 namespace, the second to...
2612 * buffer_funcs (BufferFormat, parseErrors): added
2613 * errorlist.C (ErrorList(TeXErrors const &)): removed
2615 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2617 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2619 2003-06-24 "Garst R. Reese" <reese@isn.net>
2623 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2625 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2627 * version.C.in: change docversion to 1.4
2629 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2631 * buffer.C: fix a bug just introduced
2633 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2635 * buffer.[Ch]: added the parseError signal and use it, removed
2637 * BufferView.[Ch] (addError): moved to ...
2638 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2639 to the Buffer::parseError signal to catch (guess what) parse errors
2640 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2642 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2644 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2645 ability to create a buffer and to return an existing one from
2646 the list. Moved these functions to...
2647 * buffer_funcs.[Ch]: added
2648 * BufferView.[Ch] (loadLyXFile): added
2649 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2650 job removed from bufferlist::loadLyXFile.
2651 * buffer.C (setReadOnly): make it work without view
2652 (i.e added an if (users))
2654 2003-06-19 Angus Leeming <leeming@lyx.org>
2657 * LyXAction.C (init):
2658 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2659 with LFUN_DIALOG_SHOW <name> <data>.
2661 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2663 * CutAndPaste.C (availableSelections): small compilation fix for
2664 ancient (gcc 2.9x) compilers
2666 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2668 * text3.C (cursorNext): add tmp var
2670 * text2.C (updateCounters): for function calling out of for clause
2671 (replaceSelectionWithString): ditto
2672 (insertStringAsParagraphs): ditto
2673 (getColumnNearX): add tmp var
2674 (setCursorFromCoordinates): add tmp var
2675 (cursorDownParagraph): add tmp var
2676 (deleteEmptyParagraphMechanism): add tmp var
2678 * text.C (insertChar): add tmp var
2680 * rowpainter.C (paintDepthBar): add tmp var
2682 * CutAndPaste.C (availableSelections): potentially check all
2683 paragraphs in a cut to fill the shown strings.
2685 2003-06-18 André Pönitz <poenitz@gmx.net>
2687 * kbmap.[Ch]: use vector<> instead of list<>
2689 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2691 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2692 pasteSelection with index
2694 * text2.C (pasteSelection): modify, call pasteSelection with index
2696 * paragraph.C (asString): reimplement version with no interval to
2697 call the one with interval.
2699 * lyxtext.h: add index arg to pasteSelection
2701 * MenuBackend.C (MenuItem): handle PasteRecent
2702 (Menu::read::Menutags): add md_pasterecent
2704 (expandPasteRecent): new function
2707 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2709 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2711 (availableSelections): new function
2713 2003-06-17 Angus Leeming <leeming@lyx.org>
2715 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2717 2003-06-17 Angus Leeming <leeming@lyx.org>
2720 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2722 * lyxfunc.C (dispatch): invoke it.
2724 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2726 * iterators.C (operator++, ParPosition): reintroduce some
2727 const_cast for the benefit of older compilers.
2729 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2731 * text3.C (dispatch): do not modify clipboard when doing
2732 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2733 LFUN_DELETE_SKIP on a selection selection
2735 2003-06-16 André Pönitz <poenitz@gmx.net>
2741 * tabular.[Ch]: IU of clone() and getLabelList();
2743 2003-06-13 André Pönitz <poenitz@gmx.net>
2745 * tabular.h: compactification
2747 2003-06-12 André Pönitz <poenitz@gmx.net>
2751 * tabular_funcs.h: some renaming plus whitespace
2753 2003-06-12 André Pönitz <poenitz@gmx.net>
2756 * BufferView_pimpl.C:
2762 * toc.C: Return a Paragraph & for ParIterator::operator*()
2764 2003-06-11 John Levon <levon@movementarian.org>
2768 * ToolbarBackend.C: add "Toolbars" section and
2771 2003-06-10 Angus Leeming <leeming@lyx.org>
2774 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2776 * lyxfunc.C (dispatch): invoke it.
2778 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2780 * main.C: protect <ios> with HAVE_IOS
2781 (main): protect sync_with_stdio with HAVE_IOS
2783 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2785 * text2.C (cutSelection): adjust
2786 (pasteSelection): adjust
2788 * messages.C: handle get of empty string
2790 * main.C (main): use sync_with_stdio(false)
2792 * lyxfunc.C (dispatch): adjust
2794 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2795 (WriteAs): remove unneeded BufferView arg.
2797 * bufferparams.h: use correct types on papersize, papersize2 and
2800 * bufferparams.C (readToken): adjust for type
2801 (writeLaTeX): add missing cases to switch.
2803 * bufferlist.C (quitWriteBuffer): adjust
2806 * buffer.C (asciiParagraph): remove some commented code.
2808 * CutAndPaste.C: remove current_view extern variable.
2809 (cutSelection): add BufferParams arg.
2810 (eraseSelection): add BufferParams arg.
2811 (pasteSelection): add Buffer const & arg
2813 2003-06-07 John Levon <levon@movementarian.org>
2816 * paragraph_funcs.C:
2817 * paragraph_pimpl.C:
2821 * paragraph.C: allow InsetERT to freely space lines,
2822 and some consolidation of code
2824 2003-06-06 José Matos <jamatos@fep.up.pt>
2826 * buffer.C (makeDocBookFile): fix bug #821
2828 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2830 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2832 2003-06-04 Angus Leeming <leeming@lyx.org>
2834 * buffer.C: bump format to 224.
2836 2003-06-05 André Pönitz <poenitz@gmx.net>
2838 * text2.C (redoParagraphs): remove two const_cast<>
2840 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2842 * ParagraphList.h: remove last remnants of NO_STD_LIST
2844 2003-06-03 Angus Leeming <leeming@lyx.org>
2846 * factory.C (createInset): small change to the way InsetExternal's params
2849 2003-06-04 André Pönitz <poenitz@gmx.net>
2851 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2853 * paragraph_pimpl.h:
2854 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2856 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2858 * undo_funcs.C: make some simple cases of undo work again
2860 2003-06-03 John Levon <levon@movementarian.org>
2862 * ispell.C: HPUX doesn't have sys/select.h
2865 2003-06-03 John Levon <levon@movementarian.org>
2867 * CutAndPaste.C: update tabular and include inset
2872 * paragraph.C: remove owningBuffer(), don't pass Buffer
2875 * factory.C: insetGraphicsParams changed
2877 2003-06-02 John Levon <levon@movementarian.org>
2883 * text3.C: remove insetparent
2885 2003-06-02 John Levon <levon@movementarian.org>
2888 * buffer.C: fix inset_iterator.end(), move out of line
2891 2003-06-01 John Levon <levon@movementarian.org>
2893 * text3.C: use a proper cut/paste when doing inset
2894 insert (from Jürgen Spitzmüller)
2896 2003-06-01 John Levon <levon@movementarian.org>
2898 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2900 2003-05-30 André Pönitz <poenitz@gmx.net>
2902 * rowpainter.C: unify second drawing phase
2904 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2906 * trans_mgr.C: remove one case of current_view
2908 * text2.C (cursorBottom): delete NO_STD_LIST stuff
2910 * paragraph_funcs.h: remove paragraph.h include
2912 * paragraph.h: delete NO_STD_LIST stuff
2914 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2916 * buffer.h: remove paragraph.h include
2918 * ParagraphList.C: delete file
2920 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2922 * toc.C (getTocList): adjust
2924 * paragraph_pimpl.C (validate): adjust
2926 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2928 * paragraph.C (Paragraph): adjust
2929 (getPositionOfInset): use const_iterator, adjust
2930 (bibitem): use const_iterator, adjust
2931 (setInsetOwner): adjust
2933 * iterators.C (operator++): adjust
2935 * InsetList.[Ch]: Replace selfmade iterator with standard
2936 vector::iterator also introduce const_iterator. Remove getPos,
2937 getInset and setInset from InsetTable. Adjust accordingly.
2939 * BufferView.C (lockInset): adjust
2940 (ChangeInsets): adjust
2942 * tabular.[Ch]: delete commented same_id functions
2944 2003-05-28 John Levon <levon@movementarian.org>
2946 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2948 2003-05-28 André Pönitz <poenitz@gmx.net>
2950 * metricsinfo.[Ch]: remove 'fullredraw' member
2952 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
2954 * lyxtextclass.C (operator): remove caching.
2956 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2960 * text2.C (cursorBottom): adjust
2961 (setCounter): use ParagraphList::find, adjust
2963 * text.C (workWidth): use ParagraphList::find, adjust
2965 * lyxcursor.C (LyXCursor): adjust
2967 * buffer.C (inset_iterator): adjust
2969 * ParagraphList.h: make iterator(value_type) private, make
2970 ParagraphList a friend of iterator.
2972 * ParagraphList.C (find): new function
2974 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2976 2003-05-27 André Pönitz <poenitz@gmx.net>
2978 * dimension.[Ch]: a -> asc, d -> des, w -> wid
2980 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2982 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2984 2003-05-26 John Levon <levon@movementarian.org>
2986 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2988 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2990 * remove same_id from function signatures, adjust.
2992 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2994 * undo_funcs.C (createUndo): use the id functions directly, adjust.
2996 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2998 * paragraph.C (Paragraph): get rid of same_ids parameter
3000 * ParagraphList.C (insert): adjust
3003 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3005 * paragraph_funcs.C (breakParagraph): adjust
3006 (breakParagraphConservative): adjust
3008 * buffer.C (readParagraph): adjust
3010 * ParagraphList.C (insert): take a reference instead of a pointer
3013 * paragraph.[Ch] (id): new function
3015 * bufferlist.C (newFile): adjust
3017 * ParagraphList.C (ParagraphList): adjust
3019 (push_back): take a reference instead of a pointer.
3021 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3023 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3026 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3027 set else use old code.
3029 * ParagraphList.C: remove all NO_NEXT code and only compile this
3030 code of NO_STD_LIST is set.
3032 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3034 * BufferView_pimpl.C:
3044 * graphics/GraphicsConverter.C:
3045 * graphics/PreviewLoader.C: header adjustment
3047 2003-05-23 Angus Leeming <leeming@lyx.org>
3049 * LaTeXFeatures.[Ch] (useBabel): new method.
3050 * bufferparams.C (writeLaTeX): use it.
3052 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3054 * ParagraphList.h (set): remove unused function.
3056 2003-05-23 André Pönitz <poenitz@gmx.net>
3059 * BufferView_pimpl.C:
3063 * undo_funcs.C: setUndo reworked
3065 * iterators.[Ch]: add access to topmost ParagraphList
3067 * lyxtext.[Ch] (workWidth): add a const
3069 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3071 * texrow.[Ch] (increasePos): remove function
3072 * exporter.C (export): removed unused var and outdated comment
3074 2003-05-23 Angus Leeming <leeming@lyx.org>
3076 * latexrunparams.h: rename fragile as moving_arg.
3077 * paragraph.C (simpleTeXOnePar): ditto.
3078 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3080 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3082 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3084 (textUndoOrRedo): comment out a currently unused var.
3086 * paragraph.h (NO_NEXT): enable NO_NEXT
3088 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3090 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3092 * exporter.C (Export): adjust for removeAutoInsets removal.
3094 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3096 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3098 * BufferView.[Ch] (removeAutoInsets): delete function
3100 2003-05-22 Angus Leeming <leeming@lyx.org>
3102 * latexrunparams.h: add a free_spacing variable.
3104 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3105 to pass moving_arg, as the data is stored in runparams.fragile.
3107 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3108 to Inset::latexOptional or to simpleTeXOnePar.
3110 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3111 free_spacing arg to Inset::latexOptional.
3113 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3116 2003-05-22 Angus Leeming <leeming@lyx.org>
3118 * latexrunparams.h: add fragile and use_babel variables.
3120 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3121 * buffer.C (makeLaTeXFile): store this returned value in
3122 runparams.use_babel, thus passing it to the inset::latex methods.
3124 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3125 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3127 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3128 longer has a fragile arg, as it is stored in runparams.fragile.
3130 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3131 moving_arg parameter as the data is stored in runparams.fragile.
3133 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3134 a fragile parameter as the data is stored in runparams.fragile.
3136 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3138 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3140 2003-05-22 Angus Leeming <leeming@lyx.org>
3142 * latexrunparams.h: add a 'bool nice' which defaults to false.
3144 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3145 now encapsulated within runparams.
3147 * bufferlist.C (updateIncludedTeXfiles):
3148 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3150 2003-05-22 Angus Leeming <leeming@lyx.org>
3152 * latexrunparams.h: new file containing struct LatexRunParams.
3153 * Makefile.am: add new file.
3155 * LaTeX.[Ch] (c-tor, run):
3156 * buffer.[Ch] (makeLaTeXFile):
3157 * bufferlist.[Ch] (updateIncludedTeXfiles):
3158 * converter.C (convert, scanLog):
3159 * converter.[Ch] (runLaTeX):
3160 * exporter.C (Export):
3161 * paragraph.[Ch] (simpleTeXOnePar):
3162 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3163 * paragraph_funcs.[Ch] (latexParagraphs):
3164 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3165 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3166 pass around a LatexRunParams parameter.
3168 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3170 * paragraph.[Ch]: remove unused constructor
3172 * ParagraphList.C (erase): new function, taking two iterators
3174 2003-05-22 André Pönitz <poenitz@gmx.net>
3176 * undo_funcs.C: remove duplicated code
3178 * iterator.[Ch]: operator=
3180 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3182 * tabular.C (SetMultiColumn): ws changes
3184 * rowpainter.C (paintFirst): get rid of a ->previous
3186 * lyx_cb.C (getPossibleLabel): parlist simplification
3188 * BufferView.C (ChangeInsets): simplify slightly.
3190 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3192 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3193 * lfuns.h: new LFUN_SPACE
3194 * lyxfunc.C: protected space has a new lfun
3195 * paragraph_funcs.C: read new space insets
3197 * factory.C: handle new space insets
3199 2003-05-22 André Pönitz <poenitz@gmx.net>
3202 * BufferView_pimpl.C:
3205 * undo_funcs.C: return a ParIterator from getParFromID.
3207 * iterators.[Ch]: add two const's
3209 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3211 * toc.C (getTocList): adjust
3213 * iterators.[Ch]: rework for parlist
3215 * buffer.C (par_iterator_begin): adjust
3216 (par_iterator_end): adjust
3218 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3220 * BufferView.C (removeAutoInsets): adjust
3221 (ChangeInsets): adjust
3223 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3225 * text.C (top_y): fix bug 1110
3227 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3229 * errorlist.[Ch]: added
3232 * BufferView_pimpl.C:
3233 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3236 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3238 * Makefile.am: ensure that lyx is relinked upon changes to the
3239 various "convenience" libs.
3241 2003-05-20 Angus Leeming <leeming@lyx.org>
3243 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3244 files are compiled in alphabetical order again.
3246 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3248 2003-05-19 Angus Leeming <leeming@lyx.org>
3250 * gettext.[Ch]: remove "char const * _(char const *)".
3252 2003-05-19 André Pönitz <poenitz@gmx.net>
3254 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3263 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3265 2003-05-19 André Pönitz <poenitz@gmx.net>
3269 * lyxtextclass.[Ch]:
3271 * paragraph_funcs.[Ch]:
3273 * text3.C: more insetenv work
3275 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3277 * ParagraphParameters.C (params2string): small bug fixed
3279 2003-05-16 André Pönitz <poenitz@gmx.net>
3282 * bufferview_funcs.C: patch from Kornel Benko to prevent
3283 crash when _(...) is called twice in a statement
3285 2003-05-16 André Pönitz <poenitz@gmx.net>
3292 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3294 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3296 * lyx_main.C (init): remove spurious static_cast
3298 2003-05-14 André Pönitz <poenitz@gmx.net>
3300 * BufferView.C: fix format string
3302 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3304 * BufferView.[Ch] (insertErrors): removed
3305 * BufferView.[Ch] (showErrorList): added
3306 * buffer.C (runChkTeX):
3307 * converter.C (scanLog): call showErrorList instead of inserterrors
3309 2003-05-13 André Pönitz <poenitz@gmx.net>
3311 * BufferView_pimpl.C:
3313 * bufferview_func.C:
3320 * tabular_funcs.h: tostr() from its own header
3322 * ParagraphParameters.C:
3327 * text3.C: STRCONV()
3329 2003-05-12 André Pönitz <poenitz@gmx.net>
3332 * BufferView_pimpl.C:
3336 * ParagraphParameters.C:
3340 * bufferview_funcs.C:
3353 * paragraph_funcs.C:
3357 * text3.C: boost::format -> bformat all over the place
3360 2003-05-09 André Pönitz <poenitz@gmx.net>
3362 * LColor.[Ch]: Pimpl the #include <map> away
3364 2003-05-09 John Levon <levon@movementarian.org>
3366 * bufferlist.C: never remove emergency saves
3368 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3370 * Makefile.am: better lib building
3372 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3374 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3376 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3377 (simpleTeXSpecialChars): adjust
3378 (simpleTeXSpecialChars): adjust
3379 * paragraph.C (simpleTeXOnePar): adjust
3380 * buffer.C (makeLaTeXFile): adjust
3382 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3384 * text2.C (changeDepth): parlist cleanup
3385 (getColumnNearX): ditto
3387 * rowpainter.C (getLabelFont): parlist cleanup
3389 * bufferlist.C (newFile): parlist cleanup
3391 * CutAndPaste.C (eraseSelection): parlist cleanup
3393 * BufferView_pimpl.C (trackChanges): parlist cleanup
3396 * BufferView.C (lockInset): parlist cleanup.
3397 (ChangeInsets): ditto
3399 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3401 * CutAndPaste.h: Update file header.
3403 * CutAndPaste.C: Update file header.
3404 Store the parts cut out of the Document in a limited_stack.
3405 (copySelection): adjust
3406 (pasteSelection): new function, takes the index in the limited stack.
3407 (nrOfParagraphs): adjust
3408 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3409 simplify error inset insertion.
3410 (checkPastePossible): adjust
3412 2003-05-06 John Levon <levon@movementarian.org>
3414 * text2.C: don't cast wrap inset to float
3416 2003-05-05 André Pönitz <poenitz@gmx.net>
3419 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3421 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3422 few naked Paragraph *.
3424 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3426 * bufferparams.C: Output warning if a document with missing
3427 TeX document class is loaded
3428 * exporter.C: Disable TeX exports if the document class is missing
3431 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3432 isTeXClassAvailable()
3434 2003-05-03 John Levon <levon@movementarian.org>
3437 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3438 explicit cursor show/hide
3440 * BufferView_pimpl.h:
3441 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3442 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3444 * lyxfunc.C: hide cursor before dispatching.
3449 * text3.C: remove explicit cursor hides
3451 2003-05-02 André Pönitz <poenitz@gmx.net>
3453 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3456 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3459 * text2.C: tiny whitespace
3461 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3463 * undo_funcs.C: almost only ws changes.
3465 * ParagraphList.C (splice): just return if pl is empty.
3467 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3469 * ParagraphList.C (splice): new function.
3471 * CutAndPaste.C (pasteSelection): use it
3473 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3475 * CutAndPaste.C (pasteSelection): remove the last next and
3476 previous from this file.
3478 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3480 * CutAndPaste.C (pasteSelection): more clean up, user proper
3481 ParagraphList functions for pasteing.
3483 * ParagraphList.C (insert): new function, three arg insert
3485 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3487 * ParagraphList.C (insert): new function, three arg insert
3489 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3492 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3494 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3496 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3498 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3500 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3502 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3503 (copySelection): clean up a bit.
3504 (pasteSelection): use make_pair
3506 * ParagraphList.C (ParagraphList): implement copy constructor
3507 (operator=): implement, base on copy constructor.
3510 * paragraph.C (erase): return a bool
3512 * paragraph_pimpl.C (erasePos): remove function, move contents...
3513 (erase): ... here. Return a bool.
3514 (erase): call erase instead of erasePos.
3516 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3518 * ParagraphList.h: define PitPosPair
3519 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3520 ParagraphList, fix a bug on pasting multiple pars
3521 * text2.C: change interface to C&P
3523 2003-04-30 André Pönitz <poenitz@gmx.net>
3525 * undo_func.C: revert part of yesterday's patch 2
3527 2003-04-30 John Levon <levon@movementarian.org>
3529 * LColor.C: s/tabular/table/
3531 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3533 * text3.C (dispatch): do not convert iterator -> pointer
3534 * undo_funcs.C (setCursorParUndo): ditto
3535 * text_funcs.C (transposeChars): ditto
3537 * text2.C (setLayout): ws changes only
3539 * text.C (breakParagraph): do not convert iterator -> pointer
3541 (acceptChange): ditto
3542 (rejectChange): ditto
3547 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3550 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3552 * text3.C (gotoInset): YABG (yet another bad getChar)
3554 2003-04-29 André Pönitz <poenitz@gmx.net>
3556 * paragraph.h: make operator= private unimplemented as long as
3559 * ParagraphList.C: whitespace
3562 * paragraph_pimpl.[Ch]:
3563 * paragraph_funcs.C:
3565 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3568 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3570 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3572 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3573 * paragraph.[Ch] (erase):
3574 * paragraph_pimpl.[Ch] (erase): change return type and value
3575 * text2.C (cutSelection): some rework
3577 2003-04-28 John Levon <levon@movementarian.org>
3579 * bufferlist.C: changes for unsaved changes dialog
3581 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3583 * bufferlist.C (newFile): set language (messages_) for new
3586 * buffer.C (readFile): ws changes only.
3588 2003-04-28 André Pönitz <poenitz@gmx.net>
3593 * BufferView_pimpl.C:
3594 * BufferView.C: getParFromID related ParagraphList::iterator changes
3596 2003-04-28 André Pönitz <poenitz@gmx.net>
3598 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3601 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3603 * messages.C: remove one more localedir class variable.
3605 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3607 * messages.C (getLocaleDir): singleton generation function
3609 (Messages): add a default constructor.
3611 * main.C (main): do not setup localedir here, do not call
3614 * gettext.C (_): use it.
3615 (gettext_init): delete funciton
3617 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3619 * gettext.C (getLyXMessages): new singleton generating function.
3621 * buffer.C (updateDocLang): adjust
3623 * Makefile.am (messages.o): add target
3624 (main.o): remove target
3626 2003-04-27 John Levon <levon@movementarian.org>
3631 * lyxvc.C: specify cancel button in Alert::prompt
3633 2003-04-26 John Levon <levon@movementarian.org>
3638 * LyXAction.C: add LFUN_INSET_SETTINGS
3640 * lyxfunc.C: don't enable tabular-feature when there's
3641 just any locking inset
3643 2003-04-26 John Levon <levon@movementarian.org>
3645 * bufferlist.C: re-add Cancel to buffer close question
3647 * lyxfunc.C: fix import UI a bit
3649 2003-04-25 John Levon <levon@movementarian.org>
3651 * gettext.C: remove the broken asserts for now
3653 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3655 * messages.C: make case where setlocale cannot comply work better.
3657 * buffer.C (updateDocLang): new function
3658 (changeLanguage): use it
3661 * text2.C (setCounter): use B_ a bit.
3663 * lyxlayout.C (Read): be sure to trim the label strings.
3665 * messages.C (Messages): fix typo in comment
3667 * buffer.C (readFile): set message_ after file is loaded.
3668 (makeDocBookFile): remove double return
3669 (changeLanguage): reset message_ upon language change.
3670 (B_): new func, use this to get translated buffer strings.
3672 * main.C: add myself and Jean Marc as authors.
3674 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3676 * messages.[hC]: pimplify Messages, and three different pimpls to be
3677 used in different circumstances.
3679 * gettext.[Ch]: change for use with new message code.
3681 2003-04-24 André Pönitz <poenitz@gmx.net>
3683 * factory.C: support for eqref
3685 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3687 * messages.[Ch]: add missing char
3689 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3691 * messages.[Ch]: New files
3693 2003-04-18 John Levon <levon@movementarian.org>
3697 * BufferView_pimpl.C:
3701 * text2.C: remove layout-copy/paste (bug 778)
3703 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3705 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3707 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3709 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3710 if they succeed. Act accordingly.
3712 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3714 * text2.C (setCharFont): adjust
3715 (setCounter): adjust
3716 (insertStringAsLines): adjust
3718 * text.C (leftMargin): adjust
3719 (setHeightOfRow): adjust
3721 * rowpainter.C (paintFirst): adjust
3724 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3726 (isFirstInSequence): ditto
3727 (getEndLabel): ditto
3730 * paragraph.C (getParLanguage): comment out some hard stuff.
3732 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3734 (simpleDocBookOnePar): ditto
3735 (makeDocBookFile): use ParagraphList::iterator
3737 * CutAndPaste.C (pasteSelection): adjust
3739 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3741 * text2.C (getFont): adjust
3742 (getLayoutFont): adjust
3743 (getLabelFont): adjust
3745 * paragraph_funcs.C (TeXOnePar): adjust
3747 * buffer.C (simpleLinuxDocOnePar): adjust
3748 (simpleDocBookOnePar): adjust
3750 * CutAndPaste.C (pasteSelection): adjust
3752 * BufferView.C (getEncoding): adjust
3754 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3756 2003-04-16 John Levon <levon@movementarian.org>
3758 * lyxfind.C: use parlist stuff for search/changes
3760 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3762 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3764 * text2.C (deleteEmptyParagraphMechanism): adjust
3766 * text2.[Ch] (ownerParagraph): delete func (both of them
3768 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3770 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3772 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3774 * ParagraphList.C: prepare for NO_NEXT
3776 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3778 * text2.C (getFont): adjust
3779 (getLayoutFont): adjust
3780 (getLabelFont): adjust
3782 * paragraph.C (getFont): adjust
3783 (getLabelFont): adjust
3784 (getLayoutFont): adjust
3786 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3788 2003-04-15 John Levon <levon@movementarian.org>
3792 * lyx_main.C: handle Include in .ui files
3794 2003-04-15 John Levon <levon@movementarian.org>
3796 * MenuBackend.C: make the doc files length shorter
3799 * ToolbarBackend.C: handle toolbar placement flags,
3802 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3804 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3807 * paragraph_funcs.C (TeXOnePar): adjust
3809 * paragraph.C (getLabelFont): add outerfont arg, adjust
3810 (getLayoutFont): ditto
3811 (simpleTeXOnePar): adjust
3813 * paragraph_pimpl.C (realizeFont): delete func
3815 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3817 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3818 row argument, constify cur argument.
3820 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3822 * text2.C (getFont): adjust
3823 (getLayoutFont): adjust
3824 (getLabelFont): adjust
3826 * paragraph_funcs.C (TeXOnePar): adjust
3827 (outerFont): new func...
3828 (realizeFont): ...moved out from here, changed this to facilitate
3831 * paragraph.C (getFont): take outerfont as arg, adjust
3832 (simpleTeXOnePar): add outerfont arg, adjust
3834 * buffer.C (simpleLinuxDocOnePar): adjust
3835 (simpleDocBookOnePar): adjust
3837 * CutAndPaste.C (pasteSelection): adjust
3839 * BufferView.C (getEncoding): adjust
3841 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3843 * text2.C (setCharFont): adjust
3844 (setCounter): adjust
3846 * text.C (leftMargin): adjust
3847 (setHeightOfRow): adjust
3849 * rowpainter.C (paintFirst): adjust
3852 * paragraph_pimpl.C (realizeFont): adjust
3854 * paragraph.C (isFirstInSequence): move from here...
3855 * paragraph_funcs.C (isFirstInSequence): ...to here
3857 * paragraph.C (outerHook): move from here...
3858 * paragraph_funcs.C (outerHook): ...to here
3860 * paragraph.C (depthHook): move from here...
3861 * paragraph_funcs.C (depthHook): ...to here
3863 * paragraph.C (getEndLabel): move from here...
3864 * paragraph_funcs.C (getEndLabel): ...to here
3866 * text2.C (realizeFont): move from here...
3867 * paragraph_funcs.C (realizeFont): ...to here
3869 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3871 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3873 2003-04-14 Angus Leeming <leeming@lyx.org>
3875 * LColor.[Ch]: scrap LColor mathcursor.
3877 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3879 * lyxlex.[Ch] (text): delete function
3880 * trans.C (Load): adjust
3881 * paragraph_funcs.C (readParToken): adjust
3883 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3885 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3886 vector<char> instead of a char[].
3888 * lyxlex_pimpl.C (getString): adjust
3890 (lex): use getString
3894 * lyxlex.C (text): use pimpl_->getString()
3898 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3900 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3901 (makeFontEntriesLayoutSpecific): temp var for par.size()
3902 (setLayout): temp var for ownerParagraphs().end()
3903 (fullRebreak): temp var for rows().end()
3904 (selectionAsString): temp var for boost::next(startpit), realize
3905 that the while really is a regular for loop.
3906 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3907 setCursor in one place.
3908 (setParagraph): temp vr for ownerParagraphs().end()
3909 (updateCounters): make the while loop a for loop
3910 (cutSelection): temp var for ownerParagraphs().end()
3911 (updateInset): make the do {} while() a regular for loop
3912 (getCursorX): use temp vars
3913 (setCurrentFont): use temp vars
3914 (getColumnNearX): use temp vars
3916 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3918 * text.C (transformChar): use temp var for getChar
3919 (computeBidiTables): use temp var for row->par()
3920 (fill): move temp vars for row->par() and pit->layout() earlier in
3922 (labelFill): use temp var for row->par()
3923 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3924 asc and desc, realize that pit never changes and that firstpit is
3925 just a duplicate and not needed. Exchange rit->par() with pit in a
3927 (breakAgain): use a temp var for boost::next(rit)
3928 (breakAgainOneRow): ditto
3929 (breakParagraph): use a temp var for rows().begin()
3930 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3931 (cursorRightOneWord): use temp var for cursor.par() and
3932 cursor.pos(), remove usage of tmpcursor.
3933 (cursorLeftOneWord): use temp var for cursor.par() and
3934 cursor.pos() only set cur at end of function.
3936 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3938 * text.C, text2.C: exchange all usage of Paragraph::next with
3939 boost::next(ParagraphList::iterator)
3941 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3943 * text2.C (cursorTop): simplify implementation
3944 (cursorBottom): ditto
3945 (setParagraph): use ParagraphList::iterator
3946 (setCurrentFont): adjust
3947 (getColumnNearX): adjust
3948 (cursorRight): adjust
3949 (cursorLeft): remove usage of Paragraph::previous
3950 (cursorUpParagraph): ditto
3951 (deleteEmptyParagraphMechanism): slight cleanup
3953 * text.C (isBoundary): take a Paragraph const & instead of a
3955 (addressBreakPoint): ditto
3956 (leftMargin): remove usage of Paragraph::previous.
3957 (setHeightOfRow): ditto
3958 (cursorLeftOneWord): ditto
3959 (selectNextWordToSpellcheck): ditto
3962 (breakParagraph): remove one usage of Paragraph::next
3963 (redoParagraph): ditto
3964 (acceptChange): ditto
3965 (insertChar): adjust
3966 (rowBreakPoint): adjust
3968 * bufferview_funcs.C (toggleAndShow): adjust
3970 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
3972 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3973 methods to access it.
3975 * text.C: Added updateRowPositions to compute all row positions.
3976 Make top_y and getRowNearY() to use the cached y position
3978 2003-04-11 John Levon <levon@movementarian.org>
3980 * text.C (rowBreakPoint): reintroduce the labelEnd
3981 checks, code copied from the row fill stuff. Deep voodoo.
3983 * text.C (fill): add a comment and debugging for the
3986 2003-04-11 John Levon <levon@movementarian.org>
3988 * text.C: make sure fullrow insets get wrapped to the next line,
3989 even when they're in a manual label
3991 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3993 * text2.C (insertParagraph): make it take ParagraphList::iterator
3995 (setLayout): make it return ParagraphList::iterator
3996 (redoParagraphs): ditto
3998 (checkParagraph): ditto
4000 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4002 * text2.C: adjust several funcs.
4003 (realizeFont): take a ParagraphList::iterator as arg.
4004 (getLayoutFont): ditto
4005 (getLabelFont): ditto
4006 (setCharFont): ditto
4008 * text.C: adjust several funcs.
4010 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4012 * text.C (selectNextWordToSpellcheck): don't accidentally
4015 2003-04-10 John Levon <levon@movementarian.org>
4017 * ToolbarBackend.C (getIcon): special handling for
4020 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4022 * text2.C (cursorRight): a getChar assert fixed
4024 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4026 * text2.C (getFont): change to take a ParagraphList::iterator
4027 instead of Paragraph*
4028 Adjust several functions.
4030 * text.C (transformChar): change to take a ParagraphList::iterator
4031 instead of Paragraph*
4032 (singleWidth): ditto
4033 Adjust several functions.
4035 * rowpainter.C: adjust several functions
4036 * rowpainter.h:store a ParagraphList::iterator and not a
4040 2003-04-09 John Levon <levon@movementarian.org>
4045 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4046 and the "help" bits as well
4048 2003-04-09 John Levon <levon@movementarian.org>
4051 * ToolbarBackend.C: allow multiple toolbars
4053 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4055 * undo_funcs.C (setCursorParUndo): adjust
4057 * text_funcs.C (transposeChars): adjust
4059 * text3.C (gotoNextInset): adjust
4062 * text2.C (setLayout): adjust
4063 (changeDepth): adjust
4065 (redoParagraphs): adjust
4066 (selectionAsString): adjust
4067 (setParagraph): adjust
4068 (insertInset): adjust
4069 (cutSelection): adjust
4070 (copySelection): adjust
4071 (pasteSelection): adjust
4072 (insertStringAsLines): adjust
4073 (updateInset): adjust
4074 (setCursor): change to take a ParagraphList::iterator parameter
4075 (setCursorIntern): change to take a ParagraphList::iterator parameter
4076 (setCurrentFont): adjust
4077 (cursorLeft): adjust
4078 (cursorRight): adjust
4079 (deleteEmptyParagraphMechanism): adjust
4081 * text.C (breakParagraph): adjust
4082 (insertChar): adjust
4083 (acceptChange): adjust
4084 (rejectChange): adjust
4085 (selectNextWordToSpellcheck): adjust
4086 (changeCase): adjust
4090 * lyxfind.C (SearchForward): adjust
4091 (SearchBackward): adjust
4092 (nextChange): adjust
4094 * lyxcursor.C (par): adjust
4096 * lyxcursor.h: store a ParagraphList::iterator instead of a
4099 * lyx_cb.C (getPossibleLabel): adjust
4101 * bufferview_funcs.C (toggleAndShow): adjust
4103 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4106 * BufferView.C (removeAutoInsets): adjust
4107 (lockedInsetStoreUndo): adjust
4109 2003-04-09 John Levon <levon@movementarian.org>
4111 * ToolbarBackend.C: try icon without argument
4112 if with argument fails
4114 2003-04-08 John Levon <levon@movementarian.org>
4117 * ToolbarBackend.C: add getIcon(), handle tooltip,
4118 and change from "Icon" to "Item".
4120 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4122 * BufferView.C (lockInset): another bad getchar crunched
4124 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4126 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4129 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4131 * lyxfind.C (searchForward, searchBackwards): bug 782
4133 2003-04-07 John Levon <levon@movementarian.org>
4135 * paragraph.C: remove dead comment
4137 * text.C: remove troublesome depth-fiddling code
4138 in leftMargin() and rightMargin() (bug 1017)
4140 * text.C: fix breaking of rows in nested lists
4143 * text2.C (updateCounters): fix up depth values
4146 2003-04-07 John Levon <levon@movementarian.org>
4148 * BufferView_pimpl.C: clear message when doc finishes resizing,
4149 and after a mouse event
4151 * lyxfunc.C: clear message after exiting inset
4153 2003-04-07 John Levon <levon@movementarian.org>
4155 * bufferview_funcs.C: show math status not outside
4156 status in the statusbar
4158 2003-04-07 John Levon <levon@movementarian.org>
4160 * lyxfunc.C: note status changed after a depth change
4162 2003-04-04 Angus Leeming <leeming@lyx.org>
4164 * LaTeX.h: move AuxInfo operator==, != out of line.
4165 Remove LaTeX virtual destructor; nothing derives from it.
4166 Move operator()() out of public area and rename it startscript().
4167 Change protected for private.
4169 2003-04-04 Angus Leeming <leeming@lyx.org>
4172 * text2.C: remove unneeded #includes.
4174 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4176 * text2.C (dEPM): fix the heigth of the next row
4178 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4180 * text.C: squashed an invalid getChar requester + some ws changes
4182 2003-04-03 John Levon <levon@movementarian.org>
4184 * bufferview_funcs.h:
4185 * bufferview_funcs.C:
4188 * text2.C: make getStatus work for the env depth lfuns
4190 2003-04-03 John Levon <levon@movementarian.org>
4192 * bufferview_funcs.h:
4193 * bufferview_funcs.C:
4196 * text2.C: parlistize decDepth(), by merging it with incDepth()
4198 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4200 * lyxrow.h: store a ParagraphList::iterator instead of a
4201 Paragraph* and adjust other class functions to suit.
4203 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4206 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4208 * text2.C (setCursor): do not anchor to cursor row for the time being
4210 2003-04-02 John Levon <levon@movementarian.org>
4217 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4219 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4221 * paragraph.h: make ParagraphList and ParagraphList::iterator
4222 friends of Paragraph.
4224 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4226 * ParagraphList.C: Use the private next_ and previous_ from
4229 2003-04-01 John Levon <levon@movementarian.org>
4233 * Makefile.am: rename, remove defaults gunk
4236 * MenuBackend.C: remove defaults gunk
4239 * Languages.C: remove defaults gunk
4242 * lyx_main.C: error out if files couldn't be found.
4244 2003-04-02 John Levon <levon@movementarian.org>
4246 * text2.C: make incDepth() use parlist
4248 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4250 * undo_funcs.C (firstUndoParagraph): adjust
4252 * text3.C (gotoInset): adjust
4253 (dispatch): adjust, and rewrite loop.
4255 * text2.C (init): adjust, and rewrite loop.
4256 (redoParagraphs): adjust
4257 (updateInset): adjust, and rewrite loop.
4258 (deleteEmptyParagraphMechanism): adjust
4260 * tabular.C (LyXTabular): adjust
4261 (SetMultiColumn): adjust
4264 * lyxtext.[Ch] (ownerParagraph): delete function
4265 (ownerParagraphs): new function returns a ParagraphList.
4267 * BufferView.C (removeAutoInsets): adjust
4268 (insertErrors): adjust
4269 (setCursorFromRow): adjust
4271 2003-04-01 Angus Leeming <leeming@lyx.org>
4273 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4276 2003-04-02 John Levon <levon@movementarian.org>
4282 * text_funcs.C: make transposeChars a free function
4284 * lyxrow_funcs.C: remove wrong comment
4286 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4289 * rowpainter.C: adjust
4294 * lyxrow_funcs. [Ch]: new files
4296 * lyxrow.[Ch]: remove next and previous pointers
4297 (next,previous): remove accessor functions
4298 (isParEnd): move to lyxrow_funcs
4299 (lastPos): move to lyxrow_funcs
4300 (nextRowIsAllInset): move to lyxrow_funcs
4301 (lastPrintablePos): move to lyxrow_funcs
4302 (numberOfSeparators): move to lyxrow_funcs
4303 (numberOfHfills): move to lyxrow_funcs
4304 (numberOfLabelHfills): move to lyxrow_funcs
4305 (hfillExpansion): move to lyxrow_funcs
4309 * bufferview_funcs.C (toggleAndShow): adjust
4311 * RowList.h: Remove class RowList from file leave just a
4314 * RowList.C: delete file
4316 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4319 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4321 * text3.C (cursorPrevious): adjust
4322 (cursorNext): adjust
4325 * text2.C (redoHeightOfParagraph): adjust
4326 (redoDrawingOfParagraph): adjust
4329 * text.C (breakParagraph): adjust
4330 (insertChar): adjust
4333 * rowpainter.C (RowPainter): adjust
4334 (leftMargin): simplify and adjust
4335 (most rowpainter functions): adjust.
4337 * rowpainter.h: store the row as RowList::iterator not as Row*
4339 * lyxcursor.C (row): taka RowList::iterator as arg
4342 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4345 2003-04-01 Angus Leeming <leeming@lyx.org>
4347 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4348 stuff like bool Bool.
4350 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4352 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4355 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4357 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4360 * lyxtext.h (rows): drop one version and leve a const variant that
4361 returns a RowList::iterator.
4363 2003-03-31 Angus Leeming <leeming@lyx.org>
4365 * text.C (fill): ensure that the signature is the same as that in the
4368 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4370 * text2.C (redoParagraphs): adjust
4371 (updateCounters): adjust
4372 (checkParagraph): adjust
4373 (getColumnNearX): adjust and reformat a bit.
4375 * text.C (top_y): adjust
4377 (leftMargin): adjust
4378 (prepareToPrint): adjust
4380 (getRowNearY): adjust
4382 * lyxtext.h: make rowlist_ mutable.
4384 * RowList.h: add const_iterator
4385 * RowList.C: adjust for RowList::const_iterator.
4387 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4390 2003-03-31 John Levon <levon@movementarian.org>
4393 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4395 * lyx_main.C: set default fonts from using lyx_gui funcs
4397 * exporter.C: pdf_mode moved from lyxrc
4400 * lyxfunc.C: changes from above
4402 2003-03-31 John Levon <levon@movementarian.org>
4404 * lyx_main.C: fix to the last fix
4406 2003-03-31 John Levon <levon@movementarian.org>
4408 * bufferlist.C: "Load original" -> "Load Original"
4414 * format.C: more Alert cleanups
4416 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4418 * text2.C (removeParagraph): make it take a RowList::iterator as
4420 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4421 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4423 * text.C (anchor_row): make it take a RowList::iterator as arg,
4425 (computeBidiTables): make it take a const reference to Row instead
4426 of Row pointer, adjust.
4427 (leftMargin): make it take a RowList::iterator as arg, adjust.
4428 (rowBreakPoint): adjust
4429 (breakAgainOneRow): make it take a RowList::iterator as arg,
4431 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4433 * bufferview_funcs.C (toggleAndShow): adjust
4435 2003-03-30 John Levon <levon@movementarian.org>
4439 * boost-inst.C: moved to support
4441 * several files: changes as a result
4443 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4445 * text2.C (LyXText): adjust.
4447 (removeRow): make it take a RowList::iterator as arg, adjust.
4448 (fullRebreak): adjust
4449 (deleteEmptyParagraphMechanism): adjust
4450 (clearPaint): adjust
4453 * text.C (top_y): adjust
4454 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4455 (breakAgain): make it take a RowList::iterator as arg, adjust.
4456 (breakParagraph): adjust
4457 (insertChar): adjust
4460 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4461 need_break_row, and refresh_row.
4463 * text3.C (dispatch): adjust
4465 * text2.C (checkParagraph): adjust
4467 (setCursorFromCoordinates): adjust
4469 * text.C (top_y): adjust
4471 (getRow): make it return a RowList::iterator, adjust
4472 (getRowNearY): make it return a RowList::iterator, adjust
4474 * text2.C (init): adjust
4475 (insertRow): remove function
4476 (insertParagraph): adjust
4477 (redoParagraphs): adjust
4478 (fullRebreak): adjust
4479 (updateCounters): adjust
4481 * text.C (top_y): rewrite to use RowList iterators.
4483 (setHeightOfRow): rewrite to sue RowList iterators.
4484 (appendParagraph): adjust
4485 (breakAgain): adjust
4486 (breakAgainOneRow): adjust
4487 (breakParagraph): adjust
4489 (getRowNearY): adjust, and remove commented code.
4491 * lyxtext.h (firstRow): delete function
4492 (lastRow): delete function
4493 (rows): new function (const and non-const versions.)
4494 (insertRow): delete function
4496 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4498 2003-03-29 John Levon <levon@movementarian.org>
4500 * BufferView_pimpl.C: always update scrollbar top
4501 because pasting text when we're anchored could mean we
4502 miss an update altogether
4504 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4506 * text2.C (init): use rowlist_.end() and not 0.
4507 (insertRow): change to take a RowList::iterator as arg, adjust
4509 (insertParagraph): change to take a RowList::iterator as arg,
4511 (redoParagraphs): remove some debug msgs.
4513 * text.C (appendParagraph): change to take a RowList::iterator
4514 arg, adjust for this.
4515 (breakAgain): add an assert
4516 (breakAgainOneRow): ditto
4518 2003-03-29 John Levon <levon@movementarian.org>
4520 * text2.C: do not clear selection after inc/decDepth
4523 2003-03-29 John Levon <levon@movementarian.org>
4526 * buffer.C: fix broken strerrors according to Lars
4528 2003-03-29 John Levon <levon@movementarian.org>
4530 * converters.C: more Alert cleanups
4532 2003-03-29 John Levon <levon@movementarian.org>
4534 * bufferview_funcs.C: remove pointless Alert
4536 * buffer.C: fix confusing error message when
4537 a template is chmoded 000
4539 2003-03-29 John Levon <levon@movementarian.org>
4543 * BufferView_pimpl.C: Alert fixes
4547 * tabular-old.C: remove unused table compat reading
4549 2003-03-29 John Levon <levon@movementarian.org>
4554 * lyx_cb.C: more Alert cleanups
4556 * lyxfunc.C: don't allow chktex if not latex document
4558 2003-03-29 John Levon <levon@movementarian.org>
4562 * buffer.C: warnings pushed down from support/,
4565 2003-03-29 John Levon <levon@movementarian.org>
4567 * lyxfunc.C: safety check for C-r (revert)
4569 2003-03-29 John Levon <levon@movementarian.org>
4572 * bufferlist.C: several UI fixes using Alert::prompt.
4573 Fix the pointless looping quit code. Fix stupid revert
4578 * lyx_cb.C: use Alert::prompt
4580 * lyx_main.C: remove a silly question
4582 * lyxfunc.C: remove a couple of silly questions,
4585 2003-03-28 John Levon <levon@movementarian.org>
4587 * text2.C: fix bug 974 (End on empty par)
4589 2003-03-28 John Levon <levon@movementarian.org>
4591 * BufferView_pimpl.C:
4593 * lfuns.h: remove do-nothing math greek lfuns
4595 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4597 * lyxgluelength.h (isValidGlueLength): add default arg on
4598 parameter 2. Remove default arg from friend in class.
4600 * lyxlength.h (isValidLength): add default arg on parameter 2.
4601 Remove default arg from friend in class.
4603 * text2.C (LyXText): adjust, initialize refresh_row.
4607 (insertParagraph): adjst
4608 (redoParagraphs): adjust
4609 (fullRebreak): adjust
4610 (updateCounters): adjust
4611 (deleteEmptyParagraphMechanism): first attempt at fixing a
4614 * text.C (top_y): adjust
4615 (setHeightOfRow): adjust
4617 (getRowNearY): adjust
4619 * lyxtext.h: include RowList.h
4620 (~LyXText): not needed anymore, deleted.
4621 (firstRow): modify for RowList
4622 (lastRow): new function
4623 Delete firstrow and lastrow class variables, add a Rowlist
4624 rowlist_ class variable.
4626 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4629 * RowList.C (insert): fix case where it == begin().
4631 2003-03-26 Angus Leeming <leeming@lyx.org>
4633 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4634 the thesaurus dialog.
4636 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4638 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4640 * RowList.[Ch]: new files
4642 * ParagraphList.C (erase): handle the case where it == begin
4645 2003-03-25 John Levon <levon@movementarian.org>
4649 * aspell.C: add new aspell support
4652 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4655 2003-03-25 Angus Leeming <leeming@lyx.org>
4658 * LyXAction.C (init): new LFUN_INSET_INSERT.
4660 * BufferView_pimpl.C (dispatch): split out part of the
4661 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4663 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4666 2003-03-25 Angus Leeming <leeming@lyx.org>
4668 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4670 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4673 * text3.C: remove useless row->height(0)
4675 2003-03-25 John Levon <levon@movementarian.org>
4679 * text3.C: rename the refreshing stuff to better names
4681 2003-03-24 John Levon <levon@movementarian.org>
4683 * BufferView_pimpl.h:
4684 * BufferView_pimpl.C: update layout choice on a mouse
4687 2003-03-23 John Levon <levon@movementarian.org>
4689 * Makefile.am: fix commandtags.h reference
4691 2003-03-22 John Levon <levon@movementarian.org>
4693 * BufferView_pimpl.C:
4698 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4700 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4703 * text.C: take the rtl methods out of line
4705 2003-03-21 André Pönitz <poenitz@gmx.net>
4707 * metricsinfo.[Ch]: new files containing structures to be passed around
4708 during the two-phase-drawing...
4710 2003-03-21 André Pönitz <poenitz@gmx.net>
4712 * lyxtextclass.C: read 'environment' tag.
4714 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4716 * text2.C (removeRow): fix bug 964
4718 2003-03-20 John Levon <levon@movementarian.org>
4722 * text2.C: paint cleanups. Inset::update() dropped font
4725 2003-03-19 John Levon <levon@movementarian.org>
4727 * lyxfunc.C: only fitcursor/markDirty if available()
4729 2003-03-19 John Levon <levon@movementarian.org>
4731 * commandtags.h: rename to ...
4733 * lfuns.h: ... this, and renumber / cleanup
4735 2003-03-19 John Levon <levon@movementarian.org>
4737 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4738 fit the cursor after an lfun
4742 * BufferView_pimpl.h:
4743 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4745 * LyXAction.C: layout-character should have ReadOnly
4747 * ParagraphParameters.C:
4749 * bufferview_funcs.C:
4756 * undo_funcs.C: changes from above
4758 2003-03-18 John Levon <levon@movementarian.org>
4760 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4761 remove it from update()
4763 * lyxfunc.C: update layout choice after an lfun
4765 * text3.C: remove extra updateLayoutChoice()s
4767 2003-03-18 John Levon <levon@movementarian.org>
4769 * text.C: top_y change means full repaint, fix
4770 a drawing bug with cursor movement
4772 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4776 * text2.C: anchor row on setCursor
4778 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4780 * lyxtext.h: remove almost all mutable keywords
4783 * text3.C: remove const keywords accordingly
4785 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4787 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4789 (TeXEnvironment): ditto
4792 2003-03-17 John Levon <levon@movementarian.org>
4794 * text.C (rowBreakPoint): remove attempt to fix displayed
4795 math insets inside a manual label
4797 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4799 * lyxtext.h: remove BufferView* as first arg from almost all class
4801 * other files: adjust.
4803 2003-03-17 John Levon <levon@movementarian.org>
4807 * text2.C: more paint cleanups
4809 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4812 * rowpainter.C: remove "smart" background painting code
4814 2003-03-16 John Levon <levon@movementarian.org>
4819 * text3.C: add helper functions for setting refresh_row/y
4821 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4823 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4824 newline inset which *can* get inserted in the pass_thru layouts.
4825 This is primarily for literate documents.
4827 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4829 * buffer.C: increment LYX_FORMAT to 223
4831 2003-03-14 André Pönitz <poenitz@gmx.net>
4833 * textclass.h: prepare for environment handling, ws changes
4834 * lyxlayout.C: read latexheader and latexfooter tags
4836 2003-03-14 John Levon <levon@movementarian.org>
4838 * text2.C: rewrite ::status() a bit
4840 2003-03-13 John Levon <levon@movementarian.org>
4842 * lyxtext.h: add some docs
4844 2003-03-13 John Levon <levon@movementarian.org>
4849 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4851 2003-03-13 John Levon <levon@movementarian.org>
4853 * text3.C: fix appendix redrawing
4855 2003-03-13 John Levon <levon@movementarian.org>
4857 * text.C (setHeightOfRow):
4859 * rowpainter.C: make appendix mark have the text
4860 "Appendix" so the user knows what it is
4863 * LColor.C: s/appendixline/appendix/ from above
4865 2003-03-13 John Levon <levon@movementarian.org>
4867 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4869 * text.C: fix a getChar(pos) bug properly
4871 2003-03-13 Angus Leeming <leeming@lyx.org>
4874 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4875 Probably only temporary. Let's see how things pan out.
4877 * BufferView.C (unlockInset):
4878 * BufferView_pimpl.C (fitCursor):
4879 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4881 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4882 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4884 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4885 new functions that convert ParagraphParameters to and from a string.
4887 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4888 BufferView::Pimpl's dispatch.
4889 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4891 2003-03-13 André Pönitz <poenitz@gmx.net>
4895 * factory.C: make it aware of InsetEnv
4897 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4899 * text2.C (setCursor): never ask for one past last
4900 (setCursor): add some debugging messages.
4902 * text.C (singleWidth): never ask for one past last
4903 (singleWidth): ditto
4905 (rightMargin): ditto
4906 (rowBreakPoint): ditto
4907 (setHeightOfRow): ditto
4908 (prepareToPrint): ditto
4910 * rowpainter.C (paintBackground): never ask for one past last
4911 (paintText): never ask for one past last
4913 * paragraph_pimpl.C (getChar): make the assert stricter, never
4914 allow the one past last pos to be taken
4916 * paragraph.C (getChar): ws changes only
4918 * lyxrow.C (nextRowIsAllInset): never ask for one past last
4919 (numberOfSeparators): ditto
4920 (numberOfHfills): ditto
4922 2003-03-12 John Levon <levon@movementarian.org>
4928 * paragraph_funcs.C: fix per-buffer authorlists
4930 2003-03-12 John Levon <levon@movementarian.org>
4932 * text.C: fix newline in right address
4934 2003-03-12 Angus Leeming <leeming@lyx.org>
4936 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4937 duplicate those in LyXFunc::dispatch.
4941 * ToolbarDefaults.C:
4942 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4943 Add LFUN_FONTFREE_UPDATE.
4945 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4946 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4948 * bufferview_func.[Ch]: several new functions to facilliate
4949 transfer of data to and from the character dialog.
4951 2003-03-12 John Levon <levon@movementarian.org>
4956 * paragraph_funcs.C:
4957 * paragraph_pimpl.C:
4961 * text3.C: remove META_NEWLINE in favour of an inset
4964 * rowpainter.C: remove paintNewline (done by inset)
4966 2003-03-12 John Levon <levon@movementarian.org>
4968 * paragraph_pimpl.C: complain about bad getChar()s
4969 for a while at least
4971 2003-03-12 John Levon <levon@movementarian.org>
4974 * buffer.C: move paragraph read into a separate function,
4975 a little renaming to reflect that.
4978 * bufferparams.C: remove the author_ids map, not necessary now
4981 * factory.C: moved Buffer::readInset to here
4983 * paragraph_funcs.h:
4984 * paragraph_funcs.C: readParagraph free function moved from
4987 * tabular.C: name change
4989 2003-03-12 John Levon <levon@movementarian.org>
4992 * ParagraphParameters.C: move par params input to
4995 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4996 behave like a normal read from the stream wrt reading
4997 a line vs. a \\token
4999 2003-03-12 John Levon <levon@movementarian.org>
5002 * ParagraphParameters.h:
5003 * ParagraphParameters.C: move output code to a
5006 2003-03-12 John Levon <levon@movementarian.org>
5008 * BufferView.C (insertLyXFile):
5011 * tabular.C: use a parlist iterator for creating the
5014 2003-03-12 John Levon <levon@movementarian.org>
5016 * buffer.C: make current_change static local not
5019 2003-03-12 John Levon <levon@movementarian.org>
5021 * buffer.C: fix insertStringAsLines for change tracking
5023 2003-03-12 John Levon <levon@movementarian.org>
5030 * bufferparams.C: move author list into params. Rename some
5031 functions. Move the header reading into a separate token
5032 loop. Move the header token reading into BufferParams.
5034 2003-03-12 John Levon <levon@movementarian.org>
5036 * changes.C: put debug inside lyxerr.debugging() checks
5038 2003-03-11 André Pönitz <poenitz@gmx.net>
5040 * factory.C: make it aware of InsetHFill
5042 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5044 * buffer.C (latexParagraphs): move function from here...
5045 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5048 2003-03-10 Angus Leeming <leeming@lyx.org>
5050 * LyXAction.C (init): fix bug in poplating array with multiple entries
5051 with the same LFUN (spotted by JMarc).
5053 2003-03-10 John Levon <levon@movementarian.org>
5056 * text2.C: move getColumnNearX() near its
5059 2003-03-10 John Levon <levon@movementarian.org>
5061 * text.C: fix break before a minipage
5063 2003-03-10 John Levon <levon@movementarian.org>
5065 * text.C: fix the last commit
5067 2003-03-09 John Levon <levon@movementarian.org>
5071 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5072 bug 365 (don't break before insets unless needed). Don't
5073 return a value > last under any circumstances.
5075 2003-03-09 Angus Leeming <leeming@lyx.org>
5077 * BufferView_pimpl.C (trackChanges, dispatch): call
5078 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5080 2003-03-09 Angus Leeming <leeming@lyx.org>
5082 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5083 than Dialogs::showAboutlyx().
5085 2003-03-09 Angus Leeming <leeming@lyx.org>
5087 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5088 than Dialogs::showTabularCreate().
5090 2003-03-09 John Levon <levon@movementarian.org>
5094 * text2.C: 3rd arg to nextBreakPoint was always the same.
5097 2003-03-08 John Levon <levon@movementarian.org>
5104 * text2.C: Remove the "main" bit from the "main body"
5107 2003-03-08 John Levon <levon@movementarian.org>
5109 * text.C (leftMargin): The left margin of an empty
5110 manual label paragraph should not include the label width
5113 * text.C (prepareToPrint): don't attempt to measure hfills
5114 for empty manual label paragraphs - the answer should be 0
5116 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5118 * CutAndPaste.C: remove commented code and reindent.
5120 2003-03-08 John Levon <levon@movementarian.org>
5123 * lyxfunc.C: move reloadBuffer()
5126 * BufferView.C: to here
5128 * lyxvc.C: add comment
5131 * vc-backend.C: call bv->reload() to avoid
5132 getStatus() check on MENURELOAD
5134 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5136 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5137 to an old format .dep file.
5139 2003-03-07 Angus Leeming <leeming@lyx.org>
5141 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5142 when the LFUN_MOUSE_RELEASE should have been handled by
5143 inset->localDispatch.
5145 2003-03-07 Angus Leeming <leeming@lyx.org>
5147 * BufferView_pimpl.C (dispatch):
5148 * LyXAction.C (init):
5149 * ToolbarDefaults.C (init):
5151 * lyxfunc.C (getStatus):
5152 remove LFUN_INSET_GRAPHICS.
5154 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5156 2003-03-07 Angus Leeming <leeming@lyx.org>
5159 * LyXAction.C (init):
5160 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5162 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5165 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5167 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5168 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5170 2003-03-07 Angus Leeming <leeming@lyx.org>
5172 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5175 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5177 * ParagraphList.C (front): new function
5180 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5182 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5183 and top_row_offset_. removed var first_y.
5185 * text2.C (LyXText, removeRow):
5187 * BufferView_pimpl.C:
5188 use these methods instead of using first_y
5190 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5192 * text2.C (pasteSelection): adjust for checkPastePossible
5194 * CutAndPaste.C: remove Paragraph * buf and replace with
5195 ParagraphList paragraphs.
5196 (DeleteBuffer): delete
5197 (cutSelection): change the tc type to textclass_type
5198 (copySelection): change the tc type to textclass_type
5199 (copySelection): adjust for ParagraphList
5200 (pasteSelection): change the tc type to textclass_type
5201 (pasteSelection): adjust for Paragraphlist
5202 (nrOfParagraphs): simplify for ParagraphList
5203 (checkPastePossible): simplify for ParagraphList
5204 (checkPastePossible): remove unused arg
5206 * ParagraphList.C (insert): handle the case where there are no
5209 * CutAndPaste.h: make CutAndPaste a namespace.
5211 * text3.C (dispatch): adjust
5213 * text.C (breakParagraph): add a ParagraphList as arg
5215 * paragraph_funcs.C (breakParagraph): change to take a
5216 BufferParams and a ParagraphList as args.
5217 (breakParagraphConservative): ditto
5218 (mergeParagraph): ditto
5219 (TeXDeeper): add a ParagraphList arg
5220 (TeXEnvironment): ditto
5223 * buffer.C (readLyXformat2): adjust
5224 (insertStringAsLines): adjust
5225 (latexParagraphs): adjust
5227 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5228 (cutSelection): adjust
5229 (pasteSelection): adjust
5231 * BufferView_pimpl.C (insertInset): adjust
5233 2003-03-05 Angus Leeming <leeming@lyx.org>
5236 * LyXAction.C (init):
5237 * BufferView_pimpl.C (dispatch):
5238 * lyxfunc.C (getStatus):
5239 remove LFUN_CHILD_INSERT.
5241 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5243 2003-03-05 Angus Leeming <leeming@lyx.org>
5246 * LyXAction.C (init):
5247 * src/factory.C (createInset):
5248 * lyxfunc.C (getStatus):
5249 * text3.C (dispatch):
5250 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5252 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5254 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5256 * ParagraphList.C (insert): handle insert right before end()
5257 (erase): fix cases where it can be first or last paragraph.
5259 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5261 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5262 Paragraph::next and Paragraph::previous
5265 * text.C (breakParagraph): adjust
5267 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5268 BufferParams& as arg.
5269 (breakParagraph): use ParagraphList::insert
5270 (breakParagraphConservative): take a Buffer* instead of a
5271 BufferParams& as arg.
5272 (breakParagraphConservative): use ParagraphList::insert.
5274 * buffer.C (insertStringAsLines): un-const it
5275 (insertStringAsLines): adjust
5277 * ParagraphList.C (insert): new function
5279 * CutAndPaste.C (pasteSelection): adjust
5281 * text.C (backspace): adjust
5283 * tabular.C (SetMultiColumn): adjust
5285 * CutAndPaste.C (cutSelection): adjust
5286 (pasteSelection): adjust
5288 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5289 Buffer const * as arg
5291 * ParagraphList.C (erase): new function
5292 * paragraph_funcs.C (mergeParagraph): use it
5293 (mergeParagraph): make it take a Buffer* instead of a
5294 BufferParams* as arg
5296 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5298 (breakParagraphConservative): ditto
5300 * paragraph.h: remove the breakParagraph friend
5302 * paragraph.C (eraseIntern): new function
5303 (setChange): new function
5305 * paragraph_funcs.C (mergeParagraph): make it take a
5306 ParagraphList::iterator instead of a Paragraph *, adjust
5309 * paragraph.h: move an #endif so that the change tracking stuff
5310 also works in the NO_NEXT case.
5312 2003-03-04 Angus Leeming <leeming@lyx.org>
5315 * LyXAction.C: new LFUN_INSET_MODIFY.
5317 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5318 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5320 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5322 * several files: ws changes only
5324 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5325 (TeXEnvironment): ditto
5328 * buffer.C (makeLaTeXFile): adjust
5329 (latexParagraphs): make it take ParagraphList::iterator as args
5331 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5333 * buffer.C (latexParagraphs): adjust
5335 * paragraph.C (TeXOnePar): move function...
5336 (optArgInset): move function...
5337 (TeXEnvironment): move function...
5338 * paragraph_pimpl.C (TeXDeeper): move function...
5339 * paragraph_funcs.C: ...here
5341 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5343 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5345 * buffer.C (readInset): remove compability code for old Figure and
5348 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5350 * buffer.C: ws changes
5353 * BufferView_pimpl.C: ditto
5356 * bufferlist.h: ditto
5360 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5362 * converter.[Ch]: split into itself +
5365 * Makefile.am: += graph.[Ch] + format.[Ch]
5372 * lyxrc.C: added #include "format.h"
5374 2003-02-27 Angus Leeming <leeming@lyx.org>
5376 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5379 * factory.C (createInset): add "label" to the factory.
5381 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5382 string and do no more.
5384 2003-02-27 Angus Leeming <leeming@lyx.org>
5387 * LyXAction.C (init):
5388 * factory.C (createInset):
5389 * BufferView_pimpl.C (dispatch):
5390 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5392 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5394 * lyxfunc.C (dispatch):
5395 * text3.C (dispatch): pass name to params2string.
5397 2003-02-26 Angus Leeming <leeming@lyx.org>
5399 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5401 Rearrange the ~includes. Strip out the unnecessary ones.
5403 * factory.C (createInset): reformat.
5404 create new insets for the various LFUN_XYZ_APPLY lfuns.
5406 2003-02-26 John Levon <levon@movementarian.org>
5409 * lyxrow.C: add isParStart,isParEnd helpers
5411 * paragraph.h: make isInserted/DeletedText take refs
5413 * paragraph_funcs.h:
5414 * paragraph_funcs.C: remove #if 0'd code
5419 * text.C: use lyxrow helpers above.
5420 Move draw and paint routines to RowPainter.
5421 Make several methods use refs not pointers.
5422 Make backgroundColor() const.
5423 Add markChangeInDraw(), isInInset().
5424 Merge changeRegionCase into changeCase.
5425 Make workWidth() shouldn't-happen code into an Assert.
5428 * rowpainter.C: new class for painting a row.
5431 * vspace.C: make inPixels take a ref
5433 2003-02-26 Angus Leeming <leeming@lyx.org>
5435 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5438 2003-02-25 John Levon <levon@movementarian.org>
5440 * ispell.C: give the forked command a more accurate name
5442 2003-02-22 John Levon <levon@movementarian.org>
5445 * toc.C: make TocItem store an id not a Paragraph *
5448 2003-02-21 Angus Leeming <leeming@lyx.org>
5450 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5451 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5452 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5453 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5454 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5455 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5457 * BufferView_pimpl.C (dispatch):
5458 * LyXAction.C (init):
5459 * factory.C (createInset):
5460 * lyxfunc.C (getStatus, dispatch):
5461 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5463 2003-02-21 Angus Leeming <leeming@lyx.org>
5465 * BufferView_pimpl.C (MenuInsertLyXFile):
5466 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5467 * lyxfunc.C (menuNew, open, doImport):
5468 no longer pass a LyXView & to fileDlg.
5470 2003-02-21 Angus Leeming <leeming@lyx.org>
5472 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5473 * LyXAction.C: change, BIBKEY to BIBITEM.
5474 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5475 Change InsetBibKey to InsetBibitem.
5476 Change BIBKEY_CODE to BIBITEM_CODE.
5477 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5478 * factory.C: replace insetbib.h with insetbibitem.h.
5479 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5480 * paragraph.C: replace insetbib.h with insetbibitem.h.
5481 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5482 Change bibkey() to bibitem().
5483 * text.C: remove insetbib.h.
5484 * text2.C: replace insetbib.h with insetbibitem.h.
5485 change bibkey() to bibitem().
5486 * text3.C: remove insetbib.h.
5487 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5489 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5491 * lyxrc.C (output): enclose user email in quotes (in case there are
5494 2003-02-18 John Levon <levon@movementarian.org>
5496 * buffer.h: add std::
5498 2003-02-17 John Levon <levon@movementarian.org>
5504 * pspell.C: reworking. Especially in ispell, a large
5505 number of clean ups and bug fixes.
5507 * lyxfunc.C: fix revert to behave sensibly
5509 2003-02-17 André Pönitz <poenitz@gmx.net>
5512 * commandtags.h: new LFUN_INSERT_BIBKEY
5522 * paragraph_func.C: remove special bibkey handling
5524 2003-02-17 John Levon <levon@movementarian.org>
5526 * text.C (Delete): fix case where delete at the end of
5527 the very first paragraph would not merge the pars
5529 2003-02-17 John Levon <levon@movementarian.org>
5531 * lyxrow.C: fix lastPrintablePos()
5533 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5535 * bufferparams.C (writeLaTeX): add a std:here
5537 * buffer.C: and remove a using directive there
5539 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5541 * buffer.C (makeLaTeXFile): move the code that generates the
5544 * bufferparams.C (writeLaTeX): ... in this new method
5546 * LaTeXFeatures.C (getEncodingSet): make const
5547 (getLanguages): make const
5549 * MenuBackend.C (binding): returns the binding associated to this
5551 (add): sets the status of each item by calling getStatus. Adds
5553 (read): add support for OptSubMenu
5554 (expand): remove extra separator at the end of expanded menu
5556 2003-02-15 John Levon <levon@movementarian.org>
5559 * BufferView_pimpl.C:
5561 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5562 inset code that had no actual effect. Remove unneeded status
5565 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5567 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5570 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5572 * text.C (drawLengthMarker): also draw an arrow marker for
5573 symbolic lengths (medskip...)
5575 2003-02-14 John Levon <levon@movementarian.org>
5578 * tabular.C: better method names
5580 2003-02-14 John Levon <levon@movementarian.org>
5582 * BufferView_pimpl.C:
5587 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5588 it's a more accurate name. Remove some pointless uses.
5590 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5592 * text2.C (LyXText): change order of initilizers to shut off
5595 2003-02-14 John Levon <levon@movementarian.org>
5597 * buffer.C: use ParIterator for getParFromID()
5601 * paragraph_pimpl.h:
5602 * paragraph_pimpl.C: remove unused getParFromID()
5604 2003-02-14 John Levon <levon@movementarian.org>
5606 * buffer.C: remove some very old #if 0'd parse code
5608 2003-02-13 John Levon <levon@movementarian.org>
5612 * text2.C: move hfillExpansion(), numberOfSeparators(),
5613 rowLast(), rowLastPrintable(), numberofHfills(),
5614 numberOfLabelHfills() ...
5617 * lyxrow.C: ... to member functions here.
5622 * text.C: remove LyXText::beginningOfMainBody(), and call
5623 p->beginningOfMainBody() directly. Move the check for
5624 LABEL_MANUAL into the latter.
5631 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5637 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5638 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5640 2003-02-13 John Levon <levon@movementarian.org>
5642 * CutAndPaste.C: remove debug
5644 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5646 * paragraph.C (asString): remove two unused variables
5648 * lyxtextclass.C (readTitleType):
5650 (LyXTextClass): handle new members titletype_ and titlename_
5652 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5654 2003-02-09 John Levon <levon@movementarian.org>
5657 * buffer.C: replace hand-coded list with a map for the dep clean
5659 2003-02-08 John Levon <levon@movementarian.org>
5661 * LaTeX.C: consolidate code into showRunMessage() helper
5663 2003-02-08 John Levon <levon@movementarian.org>
5668 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5669 and pass the size in explicitly
5671 * BufferView_pimpl.h:
5672 * BufferView_pimpl.C:
5674 * BufferView.C: add getCurrentChange()
5676 * BufferView_pimpl.h:
5677 * BufferView_pimpl.C: handle change lfuns
5679 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5680 for changes. Mark pasted paragraphs as new.
5682 * support/lyxtime.h:
5683 * support/lyxtime.C:
5684 * DepTable.C: abstract time_t as lyx::time_type
5687 * LColor.C: add colours for new text, deleted text, changebars
5689 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5690 package use "usenames" option.
5694 * LyXAction.C: add change lfuns
5698 * author.C: author handling
5701 * buffer.C: add a per-buffer author list, with first entry as
5702 current author. Handle new .lyx tokens for change tracking. Output
5703 author list to .lyx file. Output dvipost stuff to .tex preamble.
5704 Bump lyx format to 222.
5707 * bufferlist.C: add setCurrentAuthor() to reset current author details
5711 * bufferparams.C: add param for tracking
5713 * bufferview_funcs.C: output change info in minibuffer
5717 * changes.C: add change-tracking structure
5720 * debug.C: add CHANGES debug flag
5723 * lyxfind.C: add code for finding the next change piece
5726 * lyxrc.C: add user_name and user_email
5729 * lyxrow.C: add a metric for the top of the text line
5732 * text.C: implement accept/rejectChange()
5735 * text.C: paint changebars. Paint new/deleted text in the chosen
5736 colours. Strike through deleted text.
5740 * paragraph_pimpl.h:
5741 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5742 in the current change to the insert functions. Rework erase to
5743 mark text as deleted, adding an eraseIntern() and a range-based
5744 erase(). Implement per-paragraph change lookup and
5747 * paragraph_funcs.C: Fixup paste for change tracking.
5749 * tabular.C: mark added row/columns as new.
5751 * text.C: fix rowLast() to never return -1. Don't allow
5752 spellchecking of deleted text. Track transpose changes. Don't
5753 allow paragraph break or merge where appropriate.
5755 * text2.C: leave cursor at end of selection after a cut.
5757 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5759 * text.C (getLengthMarkerHeight):
5760 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5761 visible on screen too.
5763 2003-02-07 John Levon <levon@movementarian.org>
5765 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5767 2003-02-05 Angus Leeming <leeming@lyx.org>
5769 * lyxserver.C (read_ready): revert my patch of 11 September last year
5770 as it sends PC cpu through the roof. Presumably this means that
5771 the lyxserver will no longer run on an Alpha...
5773 2003-01-30 Angus Leeming <leeming@lyx.org>
5775 * factory.C (createInset): create an InsetCommandParam of type "index"
5776 and use it to 'do the right thing'.
5778 * text2.C (getStringToIndex): ensure that cursor position is always
5779 reset to the reset_cursor position.
5781 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5783 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5786 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5790 * lyxfunc.C: Output messages with identical spelling, punctuation,
5793 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5795 * MenuBackend.C (expandFormats): List only viewable export formats
5798 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5801 * lyxfunc.C (getStatus): Make sure that formats other than
5802 "fax" can also be disabled
5804 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5806 * text3.C (dispatch): put the lfuns that insert insets in 3
5807 groups, and call doInsertInset with appropriate arguments.
5808 (doInsertInset): new function, that creates an inset and inserts
5809 it according to some boolean parameters.
5811 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5813 * buffer.C (readFile): remember to pass on 'par' when calling
5814 readFile recursively.
5816 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5818 * MenuBackend.C (expandFormats): add "..." to import formats.
5820 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5822 * paragraph.C (asString): Remove XForms RTL hacks.
5824 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5825 * buffer.C: fix typo
5827 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5829 * Makefile.am (LIBS): delete var
5830 (lyx_LDADD): add @LIBS@ here instead.
5832 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5834 * Clarify the meaning of "wheel mouse jump"
5836 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5838 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5841 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5843 * importer.C (Loaders): do not preallocate 3 elements in the
5844 vector, since one ends up with 6 elements otherwise
5846 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5848 * DepTable.C (write): write the file name as last element of the
5849 .dep file (because it may contain spaces)
5850 (read): read info in the right order
5852 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5854 * paragraph_pimpl.C (simpleTeXBlanks):
5855 (simpleTeXSpecialChars):
5856 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5858 * tabular.C (latex): add some missing case statements. Reindent.
5860 * MenuBackend.C (expandToc): remove unused variable.
5862 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
5871 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5874 2003-01-05 John Levon <levon@movementarian.org>
5877 * BufferView.C: add getEncoding()
5880 * kbsequence.C: do not store last keypress
5883 * lyxfunc.C: store last keypress here instead. Pass encoding
5886 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5888 * lyx_main.C (init): remove annoying error message when following
5889 symbolic links (bug #780)
5891 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5893 * text.C (insertChar):
5894 * lyxrc.C (getDescription): remove extra spaces
5896 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5898 * lyxrc.C (getDescription): remove extra spaces
5900 2002-12-20 John Levon <levon@movementarian.org>
5902 * text3.C: hack fix for page up/down across tall rows
5904 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5906 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5909 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5911 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5912 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5913 thesaurus is not compiled in
5915 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
5917 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
5919 2002-12-16 Angus Leeming <leeming@lyx.org>
5922 * lyx_main.C (init): remove override_x_deadkeys stuff.
5924 2002-12-12 John Levon <levon@movementarian.org>
5926 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5927 insert. Only remove shift modifier under strict
5930 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5932 * MenuBackend.C (expandToc): fix crash.
5934 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5936 * MenuBackend.C (expandToc): gettext on float names.
5938 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5940 * lyxlength.[Ch]: set default unit to UNIT_NONE,
5941 implement bool empty() [bug 490]
5943 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5945 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5947 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5949 * several files: ws changes
5951 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5953 * text2.C (setCounter): clean up a bit, use boost.format.
5954 (updateCounters): initialize par upon declaration.
5956 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5957 if the layout exists. We do not just store the layout any more.
5958 (SwitchLayoutsBetweenClasses): use boost.format
5960 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5962 * converter.C (convert): if from and to files are the same, use a
5963 temporary files as intermediary
5965 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5968 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5970 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
5972 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5974 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5976 * tabular.C (asciiPrintCell): use string(size, char) instead of
5979 * sgml.C (openTag): fix order of arguments to string constructor
5982 * lyxfunc.C (dispatch): use boost.format
5984 * lots of files: change "c" -> 'c'
5986 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
5988 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5990 2002-11-25 Angus Leeming <leeming@lyx.org>
5992 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5994 * lyx_main.C (init): compile fix.
5996 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5998 * lyx_cb.C (start): boost.formatify
5999 do not include <iostream>
6001 * lengthcommon.C: ws only
6003 * boost-inst.C,BoostFormat.h: add more explict instantations
6005 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6007 * lots of files: handle USE_BOOST_FORMAT
6009 2002-11-21 John Levon <levon@movementarian.org>
6011 * pspell.C: fix compile
6013 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6015 * lyxfunc.C (dispatch): use boost::format
6019 * lyxfont.C (stateText): use boost::format
6021 * lyx_main.C (LyX): use boost::format
6023 (queryUserLyXDir): ditto
6026 (typedef boost::function): use the recommened syntax.
6028 * importer.C (Import): use boost::format
6030 * debug.C (showLevel): use boost::format
6032 * converter.C (view): use boost::format
6037 * bufferview_funcs.C (currentState): use boost::format
6039 * bufferlist.C (emergencyWrite): use boost::format
6041 * buffer.C (readLyXformat2): use boost::format
6042 (parseSingleLyXformat2Token): ditto
6044 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6046 * LaTeX.C (run): use boost::format
6048 * Chktex.C (scanLogFile): use boost::format
6050 * BufferView_pimpl.C (savePosition): use boost::format
6051 (restorePosition): ditto
6052 (MenuInsertLyXFile): ditto
6054 * BoostFormat.h: help file for explicit instation.
6056 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6058 * tabular.C (latex): Support for block alignment in fixed width
6061 2002-11-17 John Levon <levon@movementarian.org>
6063 * BufferView_pimpl.C:
6065 * lyxfunc.C: split filedialog into open/save
6067 2002-11-08 Juergen Vigna <jug@sad.it>
6069 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6070 by my last patch (hopefully).
6072 2002-11-08 John Levon <levon@movementarian.org>
6081 * toc.C: ParConstIterator, and use it (from Lars)
6083 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6085 * lyxtextclass.[Ch]: revise and add doxygen comments
6087 2002-11-07 John Levon <levon@movementarian.org>
6089 * text.C: fix progress value for spellchecker
6091 * toc.C: fix navigate menu for insetwrap inside minipage
6093 * paragraph_funcs.C: added FIXME for suspect code
6095 2002-11-07 John Levon <levon@movementarian.org>
6097 * BufferView_pimpl.C: fix redrawing of insets
6100 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6102 * text2.C (updateCounters): fix bug 668
6104 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6106 * text3.C (dispatch): Do not make the buffer dirty when moving the
6109 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6111 * vc-backend.C: STRCONV
6114 * text2.C (setCounter): STRCONV
6116 * paragraph.C (asString): STRCONV
6118 * lyxlength.C (asString): STRCONV
6119 (asLatexString): ditto
6121 * lyxgluelength.C (asString): STRCONV
6122 (asLatexString): ditto
6124 * lyxfunc.C (dispatch): STRCONV
6127 * lyxfont.C (stateText): STRCONV
6129 * importer.C (Import): STRCONV
6131 * counters.C (labelItem): STRCONV
6132 (numberLabel): ditto
6133 (numberLabel): remove unused ostringstream o
6138 * bufferview_funcs.C (currentState): STRCONV
6140 * buffer.C (readFile): STRCONV
6141 (asciiParagraph): ditto
6142 (makeLaTeXFile): ditto
6144 * Spacing.C (writeEnvirBegin): STRCONV
6146 * LaTeXFeatures.C (getLanguages): STRCONV
6147 (getPackages): ditto
6149 (getBabelOptions): ditto
6150 (getTClassPreamble): ditto
6151 (getLyXSGMLEntities): ditto
6152 (getIncludedFiles): ditto
6156 (scanAuxFile): ditto
6159 * LString.h: add the STRCONV macros
6161 * BufferView_pimpl.C (savePosition): STRCONV
6162 (restorePosition): ditto
6163 (MenuInsertLyXFile): ditto
6165 * vc-backend.C (scanMaster): change from submatch[...] to
6168 * funcrequest.C: include config.h
6170 * factory.C: include config.h
6172 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6174 * box.C: include config.h
6176 * LaTeX.C (scanAuxFile): change from submatch[...] to
6180 2002-10-25 Angus Leeming <leeming@lyx.org>
6182 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6184 * ispell.[Ch] (setError): new method.
6185 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6186 Use setError() insetead of goto END.
6188 * lyx_cb.C (AutoSave): move out child process into new class
6191 2002-10-30 John Levon <levon@movementarian.org>
6193 * text3.C: make start appendix undoable
6195 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6197 * lyxlength.C (inPixels): Fix returned value.
6199 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6202 2002-10-24 Angus Leeming <leeming@lyx.org>
6204 * lyxgluelength.h: no need to forward declare BufferParams
6205 or BufferView, so don't.
6207 2002-10-21 John Levon <levon@movementarian.org>
6209 * BufferView.C: menuUndo ->undo, redo
6211 * BufferView.h: document, remove dead, make some methods private
6213 * paragraph_funcs.h:
6214 * paragraph_funcs.C:
6215 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6220 * sgml.C: move sgml open/close tag into sgml.C
6222 * bufferview_funcs.h: unused prototype
6225 * lyxfunc.C: remove unused
6228 * text.C: remove unused
6230 2002-10-21 John Levon <levon@movementarian.org>
6234 * BufferView_pimpl.h:
6235 * BufferView_pimpl.C: fix mouse wheel handling based on
6236 patch from Darren Freeman
6238 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6240 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6242 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6244 * lyxlength.C (inPixels): Fix hanfling of negative length.
6245 Fix LyXLength::MU case.
6247 2002-10-16 John Levon <levon@movementarian.org>
6249 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6251 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6253 * converter.C (view): add support for $$i (file name) and $$p
6254 (file path) for the viewer command. If $$i is not specified, then
6255 it is appended to the command (for compatibility with old syntax)
6257 2002-10-14 Juergen Vigna <jug@sad.it>
6259 * undo_funcs.C (textHandleUndo): alter the order in which the
6260 new undopar is added to the LyXText, as we have to set first
6261 the right prev/next and then add it as otherwise the rebuild of
6262 LyXText is not correct. Also reset the cursor to the right paragraph,
6263 with this IMO we could remove the hack in "redoParagraphs()".
6265 2002-10-09 Angus Leeming <leeming@lyx.org>
6267 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6268 to turn off an optimisation if a new inset is to be inserted.
6270 2002-10-11 André Pönitz <poenitz@gmx.net>
6272 * lyxtext.h: make some functions public to allow access
6273 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6275 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6277 * text3.C (dispatch): when changing layout, avoid an infinite loop
6280 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6282 * lyxrc.C (read): treat a viewer or converter command of "none" as
6285 * MenuBackend.C (expandFormats): for an update, also allow the
6286 formats that are not viewable
6288 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6289 script if it is newer than the lyxrc.defaults in user directory
6291 2002-10-07 André Pönitz <poenitz@gmx.net>
6293 * text.C: Vitaly Lipatov's small i18n fix
6295 2002-09-25 Angus Leeming <leeming@lyx.org>
6297 * ispell.h: doxygen fix.
6299 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6301 * buffer.h (readFile): Add a new argument to the method, to allow
6302 reading of old-format templates.
6304 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6306 * toc.C (getTocList): Get TOC from InsetWrap.
6308 2002-09-16 John Levon <levon@movementarian.org>
6310 * lyxfunc.C: check tabular for cut/copy too
6312 2002-09-12 John Levon <levon@movementarian.org>
6317 * factory.C: add header
6319 * paragraph_funcs.h:
6320 * paragraph_funcs.C: cleanup
6322 2002-09-11 John Levon <levon@movementarian.org>
6324 * PrinterParams.h: odd/even default to true
6326 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6328 * PrinterParams.h: update printer parameters for new xforms dialog
6330 2002-09-11 Angus Leeming <leeming@lyx.org>
6332 * lyxserver.C (read_ready): re-write to make it more transparent
6333 and to make it work in coherent fashion under Tru64 Unix.
6335 2002-09-11 André Pönitz <poenitz@gmx.net>
6339 * text3.C: implement LFUN_WORDSEL
6341 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6343 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6344 make floatlist_ a boost::shared_ptr<FloatList>
6346 * lyxtextclass.C: include FloatList.h
6347 (LyXTextClass): initialize floatlist_
6348 (TextClassTags): add TC_NOFLOAT
6349 (Read): match "nofloat" to TC_NOFLOAT and use it.
6350 (readFloat): modify call to floatlist_
6354 * FloatList.[Ch] (FloatList): remove commented out float
6356 (erase): new function
6358 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6360 * MenuBackend.C (expandToc): fix crash when there is no document
6363 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6365 * many files: Add insetwrap.
6367 2002-09-09 John Levon <levon@movementarian.org>
6369 * text2.C: remove confusing and awkward depth wraparound
6371 2002-09-09 John Levon <levon@movementarian.org>
6373 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6376 * buffer.C: remove getIncludeonlyList()
6379 * lyxfunc.C: remove headers
6381 2002-09-09 Juergen Vigna <jug@sad.it>
6383 * text.C (getColumnNearX): fix form Michael this is most
6384 probably a cut&paste bug.
6386 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6388 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6390 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6391 references, ws changes.
6393 * text2.C (init): update counters after init
6394 (insertParagraph): no need to set counter on idividual paragraphs.
6395 (setCounter): access the counters object in the textclass object
6396 on in the buffer object.
6397 (updateCounters): ditto
6399 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6400 shared_ptr<Counters> to avoid loading counters.h in all
6402 (LyXTextClass): initialize ctrs_
6403 (TextClassTags): add TC_COUNTER, and ...
6404 (Read): use it here.
6405 (CounterTags): new tags
6406 (readCounter): new function
6407 (counters): new funtion
6408 (defaultLayoutName): return a const reference
6410 * counters.C (Counters): remove contructor
6411 (newCounter): remove a couple of unneeded statements.
6412 (newCounter): simplify a bit.
6413 (numberLabel): some small formatting changes.
6415 * buffer.[Ch]: remove all traces of counters, move the Counters
6416 object to the LyXTextClass.
6418 2002-09-06 Alain Castera <castera@in2p3.fr>
6420 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6421 package to set the horizontal alignment on fixed width columns.
6424 * lyx_sty.h: added tabularnewline macro def.
6426 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6428 2002-09-06 John Levon <levon@movementarian.org>
6430 * LyXAction.C: tooltips for sub/superscript
6432 * MenuBackend.C: a bit more verbose
6434 * lyxfunc.C: tiny clean
6436 * undo_funcs.C: document undo_frozen
6438 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6440 * counters.C (Counters): add missing algorithm counter.
6442 * text2.C (setCounter): lookup the counter with layouts latexname
6443 instead of by section number.
6444 (setCounter): use a hackish way to lookup the correct enum
6446 a float name->type change
6447 reset enum couners with counter name directly instead of depth value.
6449 * counters.C (Counters): remove the push_backs, change to use the
6450 float type not the float name.
6451 (labelItem): remove unused string, float name->type change
6453 * counters.h: don't include vector, loose the enums and sects vectors
6455 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6457 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6458 (Read): add float->TC_FLOAT to textclassTags
6459 (Read): and handle it in the switch
6460 (readFloat): new function
6462 * FloatList.C (FloatList): comment out the hardcoded float
6465 * lyxlayout.h: ws change.
6467 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6469 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6471 2002-09-03 Angus Leeming <leeming@lyx.org>
6473 * BufferView_pimpl.h: qualified name is not allowed in member
6474 declaration: WorkArea & Pimpl::workarea() const;
6476 * factory.C: added using std::endl directive.
6478 * text3.C: added using std::find and std::vector directives.
6480 2002-08-29 André Pönitz <poenitz@gmx.net>
6483 * text2.C: remove unused member number_of_rows
6486 * BufferView2.C: remove file, move contents to...
6487 * BufferView.C: ... here
6489 * BufferView_pimpl.C:
6490 * factory.C: move more inset creation to factory
6492 * vspace.C: avoid direct usage of LyXText, ws changes
6495 don't provide direct access to WorkArea, use two simple
6496 acessors haveSelction() and workHeight() instead
6499 2002-08-29 John Levon <levon@movementarian.org>
6501 * BufferView_pimpl.C (dispatch): do not continue when
6504 2002-08-28 André Pönitz <poenitz@gmx.net>
6506 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6509 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6511 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6513 * buffer.C: increment LYX_FORMAT to 221
6515 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6516 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6518 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6520 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6522 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6524 * factory.C (createInset): use LyXTextClass::floats
6526 * MenuBackend.C (expandFloatListInsert):
6527 (expandFloatInsert):
6530 * text2.C (setCounter):
6532 * LaTeXFeatures.C (useFloat):
6533 (getFloatDefinitions):
6535 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6537 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6538 floatlist_, with accessor floats().
6540 * FloatList.h: remove global FloatList
6542 2002-08-26 André Pönitz <poenitz@gmx.net>
6544 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6548 * BufferView_pimpl.C:
6549 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6551 2002-08-25 John Levon <levon@movementarian.org>
6553 * LyXAction.C: fix margin note description
6555 2002-08-24 John Levon <levon@movementarian.org>
6559 * bufferview_funcs.C:
6561 * undo_funcs.C: cleanups
6563 * lyxfunc.C: disable CUT/COPY when no selection
6565 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6567 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6568 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6570 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6571 Add backward compatibility to "mono", "gray" and "no".
6573 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6575 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6576 (and file_format >= 200).
6578 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6580 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6582 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6584 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6586 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6588 * BufferView_pimpl.C:
6595 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6596 inset and code to make it work with the paragraph code. The inset
6597 can be anywhere in the paragraph, but will only do the expected
6598 thing in LaTeX if the layout file contains the parameter line
6600 (or more generally, a nonzero value) for that layout.
6602 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6604 * paragraph.h: remove the declaration of undefined counters class
6607 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6609 * text2.C (setCounter): fixed enumeration mis-count as reported by
6610 Dr. Richard Hawkins.
6612 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6614 * paragraph_funcs.h: remove some unneeded includes
6616 * text.C (backspace): pasteParagraph now in global scipe
6618 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6619 (pasteSelection): ditto
6621 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6622 * paragraph_funcs.C (pasteParagraph): ... here
6624 2002-08-20 André Pönitz <poenitz@gmx.net>
6626 * commandtags.h: new LFUNs for swapping/copying table row/colums
6629 * lyxfunc.C: support for new lfuns
6631 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6634 * buffer.[Ch]: remove NO_COMPABILITY stuff
6636 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6638 * boost.C (throw_exception): new file, with helper function for
6639 boost compiled without exceptions.
6644 * ParameterStruct.h:
6645 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6647 * bufferlist.C (emergencyWriteAll): use boost bind
6649 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6651 * text.C: include paragraph_funcs.h
6652 (breakParagraph): breakParagraph is now in global scope
6654 * paragraph_funcs.[Ch]: new files
6656 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6659 * buffer.C: include paragraph_funcs.h
6660 (insertStringAsLines): breakParagraph is now in global scope
6662 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6665 * CutAndPaste.C: include paragraph_funcs.h
6666 (cutSelection): breakParagraphConservative is now in global scope
6667 (pasteSelection): ditto
6669 * buffer.h: declare oprator== and operator!= for
6670 Buffer::inset_iterator
6672 * bufferlist.C (emergencyWrite): don't use fmt(...)
6674 * text3.C: add using std::endl
6676 * BufferView.C (moveCursorUpdate): remove default arg
6678 2002-08-20 André Pönitz <poenitz@gmx.net>
6680 * buffer.[Ch]: move inline functions to .C
6683 * BufferView_pimpl.C:
6685 * buffer.[Ch]: use improved inset_iterator
6688 * paragraph.[Ch]: write one paragraph at a time
6690 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6692 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6693 style if style is not specified.
6695 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6697 * text2.C (setCounter): when searching for right label for a
6698 caption, make sure to recurse to parent insets (so that a caption
6699 in a minipage in a figure float works) (bug #568)
6701 2002-08-20 André Pönitz <poenitz@gmx.net>
6703 * text3.C: new file for LyXText::dispatch() and helpers
6705 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6707 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6709 2002-08-19 André Pönitz <poenitz@gmx.net>
6712 * text.C: new LyXText::dispatch()
6714 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6716 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6718 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6720 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6723 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6725 * Makefile.am: use $(variables) instead of @substitutions@
6727 2002-08-15 André Pönitz <poenitz@gmx.net>
6730 * BufferView_pimpl.C: streamlining mathed <-> outer world
6734 * LyXAction.C: remove unused LFUN_MATH
6736 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6738 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6740 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6742 * paragraph.C (Paragraph): reformat a bit
6743 (cutIntoMinibuffer): use builtin InsetList function instad of
6747 * buffer.C: include boost/bind.hpp, add using std::for_each
6748 (writeFileAscii): use ParagraphList iterators
6749 (validate): use for_each for validate traversal of paragraphs
6750 (getBibkeyList): use ParagraphList iterators
6751 (resizeInsets): use for_each to resizeInsetsLyXText for all
6753 (getParFromID): use ParagraphList iterators
6755 * BufferView2.C (lockInset): use paragraph list and iterators
6757 2002-08-14 John Levon <levon@movementarian.org>
6759 * lyxserver.C: remove spurious xforms include
6761 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6763 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6765 2002-08-13 André Pönitz <poenitz@gmx.net>
6768 * lyxfunc.C: further cleaning
6770 2002-08-13 André Pönitz <poenitz@gmx.net>
6772 * funcrequest.h: new constructor
6774 * funcrequest.C: move stuff here from .h
6777 * BufferView_pimpl.C:
6780 * lyxfunc.C: subsequent changes
6782 * lyxfunc.h: new view() member function
6784 * lyxfunc.C: subsequent changes
6786 2002-08-13 Angus Leeming <leeming@lyx.org>
6789 * BufferView_pimpl.C:
6797 changes due to the changed LyXView interface that now returns references
6798 to member variables not pointers.
6800 2002-08-13 Angus Leeming <leeming@lyx.org>
6802 * WordLangTuple (word, lang_code): return references to strings,
6807 * lyxtext.h: forward-declare WordLangTuple.
6812 * text.C: #include "WordLangTuple.h".
6815 * text.C: (selectNextWordToSpellcheck): constify return type.
6817 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6823 * paragraph_pimpl.h:
6826 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6828 Made updateCounter always count from start of buffer, and removed
6829 second argument (par).
6830 Reverted floats number display to '#'. Perhaps I'll try again when the
6831 code base is sanitized a bit.
6833 2002-08-12 Angus Leeming <leeming@lyx.org>
6835 * buffer.[Ch] (getLabelList): constify.
6837 2002-08-07 André Pönitz <poenitz@gmx.net>
6839 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6841 * funcrequest.h: extension to keep mouse (x,y) position
6843 2002-08-12 Juergen Vigna <jug@sad.it>
6845 * BufferView2.C (insertErrors): forbid undo when inserting error
6848 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6850 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6852 * ParagraphList.[Ch]: new files
6854 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6856 * BufferView2.C (lockInset): ParagraphList changes
6859 * bufferlist.C: ditto
6863 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6865 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6866 unused class variable counter_,
6868 * paragraph.[Ch] (getFirstCounter): delete unused function
6870 * counters.C: include LAssert.h
6871 (reset): add a new function with no arg, change other version to
6872 not have def. arg and to not allow empty arg.
6874 * text2.C (setCounter): remove empty arg from call to Counters::reset
6876 2002-08-11 John Levon <levon@movementarian.org>
6878 * Makefile.am: add WordLangTuple.h
6880 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6882 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6883 lyxfunc.C lyxlex_pimpl.C: ws changes only.
6885 * insets/insettext.C: InsetList changes
6887 * graphics/GraphicsSupport.C (operator()): InsetList changes
6889 * toc.C (getTocList): InsetList changes
6891 * paragraph_pimpl.[Ch]: InsetList changes
6893 * paragraph.[Ch]: InsetList changes
6895 * buffer.C (inset_iterator): InsetList changes
6896 (setParagraph): ditto
6897 * buffer.h (inset_iterator): ditto
6898 * iterators.C (operator++): ditto
6899 * iterators.h: ditto
6901 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6903 * InsetList.[Ch]: new files, most InsetList handling moved out of
6906 * BufferView2.C (removeAutoInsets): InsetList changes
6908 (ChangeInsets): ditto
6910 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6912 * paragraph_pimpl.h (empty): new function
6914 * paragraph.[Ch] (empty): new function
6916 * other files: use the new Paragraph::empty function
6918 2002-08-09 John Levon <levon@movementarian.org>
6920 * lyxtext.h: remove unused refresh_height
6922 2002-08-09 John Levon <levon@movementarian.org>
6929 * paragraph.C: move sgml char escaping out of paragraph
6932 * paragraph.C: remove id setter
6936 * paragraph_pimpl.C: remove dead tex_code_break_column
6938 * bufferview_funcs.C: small cleanup
6940 * lyxfunc.C: remove dead proto
6942 * lyxtext.h: make some stuff private. Remove some dead stuff.
6944 * lyxgluelength.C: make as[LyX]String() readable
6946 2002-08-08 John Levon <levon@movementarian.org>
6951 * ToolbarDefaults.C:
6954 * toc.C: lyxaction cleanup
6956 2002-08-08 John Levon <levon@movementarian.org>
6958 * BufferView2.C: small cleanup
6961 * lyxfind.C: move unnecessary header into the .C
6963 2002-08-08 John Levon <levon@movementarian.org>
6965 * funcrequest.h: just tedious nonsense
6968 * lyx_main.C: cleanups
6971 * vspace.C: remove dead header lyx_main.h
6973 2002-08-07 Angus Leeming <leeming@lyx.org>
6976 * paragraph_pimpl.h:
6977 Forward declare class Counters in paragraph.h by moving the ctrs member
6978 variable into Paragraph::Pimpl.
6979 (counters): new method, returning a reference to pimpl_->ctrs.
6981 * text2.C: ensuing changes.
6983 2002-08-07 John Levon <levon@movementarian.org>
6985 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6987 * BufferView_pimpl.C: announce X selection on double/triple
6990 * lyx_main.C: use correct bool in batch dispatch
6992 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6994 2002-08-07 André Pönitz <poenitz@gmx.net>
6996 * funcrequest.h: new class to wrap a kb_action and its argument
6999 * BufferView_pimpl[Ch]:
7003 * lyxrc.C: subsequent changes
7006 2002-08-07 John Levon <levon@movementarian.org>
7008 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7009 document options change.
7011 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7016 * makefile.am: move counters functionality over from
7017 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7019 2002-08-06 John Levon <levon@movementarian.org>
7021 * WordLangTuple.h: new file for word + language code tuple
7032 * BufferView2.C: use WordLangTuple
7035 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7037 2002-08-06 John Levon <levon@movementarian.org>
7039 * lyx_main.C: fix cmdline batch handling
7041 2002-08-06 André Pönitz <poenitz@gmx.net>
7043 * lyxrc.C: set default for show_banner to true
7045 2002-08-06 John Levon <levon@movementarian.org>
7047 * pspell.C: fix a crash, and allow new aspell to work
7049 2002-08-06 John Levon <levon@movementarian.org>
7052 * kbmap.C: small cleanup
7055 * vspace.C: add const
7057 2002-08-05 John Levon <levon@movementarian.org>
7059 * LyXAction.C: back to tabular-insert
7061 2002-08-04 John Levon <levon@movementarian.org>
7064 * BufferView.C: cosmetic change
7066 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7076 * BufferView2.C: purge all "Lyx" not "LyX" strings
7079 * lyxcursor.C: attempt to add some documentation
7084 * ToolbarDefaults.C:
7085 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7086 merge with LFUN_TABULAR_INSERT
7093 * pspell.C: split up i/pspell implementations into separate
7094 files, many cleanups
7096 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7098 * text2.C: some cleanup
7100 * lyxfunc.C: don't check for isp_command == "none" any more, it
7101 didn't make any sense
7103 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7108 * makefile.am: move counters functionality over
7109 from text2.C/paragraph.[Ch] to counters.[Ch], and
7111 2002-08-02 John Levon <levon@movementarian.org>
7113 * buffer.C: s/lyxconvert/lyx2lyx/
7115 2002-08-02 Angus Leeming <leeming@lyx.org>
7117 * lyxlex.C: revert John's change as it breaks reading of the user
7120 2002-08-02 Angus Leeming <leeming@lyx.org>
7122 * importer.C (Import):
7123 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7124 changes due to LyXView::view() now returning a boost::shared_ptr.
7126 2002-08-02 John Levon <levon@movementarian.org>
7128 * lyxlex.C: small cleanup
7130 2002-08-02 John Levon <levon@movementarian.org>
7132 * text2.C (status): small cleanup, no logic change
7134 2002-08-01 John Levon <levon@movementarian.org>
7137 * buffer.C (writeFile): don't output alerts, caller
7141 * lyx_cb.C: from above
7143 * lyxfunc.C: allow to open non-existent files
7145 2002-07-31 John Levon <levon@movementarian.org>
7147 * lyxserver.C: don't let incidental errors get
7150 2002-07-30 John Levon <levon@movementarian.org>
7152 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7154 2002-07-30 John Levon <levon@movementarian.org>
7157 * lyxserver.C: remove I/O callback too
7159 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7161 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7164 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7166 * many files: strip,frontStrip -> trim,ltrim,rtrim
7168 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7170 * PrinterParams.h: remove extern containsOnly, and include
7171 support/lstrings.h instead.
7173 * LaTeX.C (scanAuxFile): modify because of strip changes
7175 * buffer.C (makeLaTeXFile): ditto
7176 * bufferparams.C (writeFile): ditt
7177 * lyxfont.C (stateText): ditto
7178 * lyxserver.C (read_ready): ditto
7179 * vc-backend.C (scanMaster): ditto
7181 * BufferView_pimpl.h: ws changes
7183 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7185 2002-07-26 André Pönitz <poenitz@gmx.net>
7187 * kb_sequence.C: remove unnedred usings
7189 2002-07-26 Juergen Vigna <jug@sad.it>
7191 * lyxfind.C (LyXReplace): we have to check better if the returned
7192 text is not of theLockingInset()->getLockingInset().
7194 2002-07-25 Juergen Vigna <jug@sad.it>
7196 * lyxfind.C (LyXReplace): don't replace if we don't get the
7199 * undo_funcs.C (createUndo): remove debugging code.
7201 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7203 * buffer.C (parseSingleLyXformat2Token): Use default placement
7204 when reading old floats.
7206 * FloatList.C (FloatList): Change the default placement of figure
7207 and tables to "tbp".
7209 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7211 * MenuBackend.C: using std::max
7213 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7215 * MenuBackend.C (expandToc):
7216 (expandToc2): code moved from xforms menu frontend. It is now
7217 generic and TOCs are transparent to menu frontends.
7219 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7221 * toc.C (getTocList): protect against buf=0
7223 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7224 Menu as first parameter. Now, this calls itself recursively to
7225 expand a whole tree (this will be useful for TOC handling)
7226 (expandFloatInsert): remove 'wide' version of floats
7228 * MenuBackend.h (submenuname): returns the name of the submenu.
7229 (submenu): returns the submenu itself, provided it has been
7230 created by MenuBackend::expand
7232 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7234 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7235 insets which have noFontChange == true. (bug #172)
7237 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7239 * BufferView_pimpl.C: add connection objects and use them...
7242 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7244 * MenuBackend.C (expandLastfiles):
7247 (expandFloatListInsert):
7248 (expandFloatInsert):
7249 (expand): split expand in parts
7251 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7253 * lyx_gui.C: use lyx_gui::exit()
7255 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7257 * LyXAction.C: show the failing pseudo action
7259 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7261 * buffer.C (readFile): Run the lyxconvert script in order to read
7264 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7268 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7270 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7274 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7276 2002-07-22 Herbert Voss <voss@lyx.org>
7279 * lyxlength.[Ch]: add support for the vertical lengths
7281 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7283 * toc.[Ch]: std:: fixes
7285 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7287 * lyxrc.C: do not include lyx_main.h
7289 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7295 * BufferView2.C: include "lyxlex.h"
7298 * bufferparams.h: do not #include "lyxlex.h"
7300 * lyxtextclasslist.C (Add): remove method
7301 (classlist): renamed to classlist_
7303 * paragraph_pimpl.C:
7307 * bufferview_funcs.C:
7312 * toc.C (getTocList): use BufferParams::getLyXTextClass
7314 * toc.C (getTocList): use InsetFloat::addToToc
7316 * toc.[Ch]: new files, containing helper functions to handle table
7319 * lyxfunc.C (dispatch): no need to remove spaces around command
7321 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7322 first command of the sequence; it is not very clever, but I do not
7323 have a better idea, actually
7325 * LyXAction.C (LookupFunc): make sure to remove space at the
7326 beginning and end of the command
7328 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7330 * MenuBackend.C (getMenubar): new method: return the menubar of
7332 (read): treat differently reading of menu and menubar (in
7333 particular, the menubar has no name now)
7334 (Menu::menubar): remove
7336 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7339 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7341 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7342 a bibitem inset in a RTL paragraph.
7344 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7346 * paragraph_pimpl.C: constify
7348 * BufferView_pimpl.C:
7350 * lyxfunc.C: fix dispatch in a nicer way
7352 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7354 * lyxfunc.C (dispatch):
7355 * BufferView_pimpl.C:
7356 * BufferView_pimpl.h:
7358 * BufferView.h: rename Dispatch() to dispatch()
7360 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7362 * lyxlayout.C (Read): honor DependsOn tag
7364 * lyxlayout.[Ch] (depends_on): new method
7366 * version.C.in: update lyx_docversion
7368 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7370 * paragraph.C (validate): remove from here...
7371 * paragraph_pimpl.C (validate): ... and move here
7372 (isTextAt): make it const
7374 * buffer.C (getLists): ws cleanup
7376 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7378 * language.C (read): Use iso8859-1 encoding in latex_lang
7379 (this prevents LyX from crashing when using iso10646-1 encoding).
7381 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7383 * text2.C (toggleInset): if cursor is inside an inset, close the
7384 inset and leave cursor _after_ it
7386 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7388 * lyxfunc.C: move minibuffer completion handling out of here
7390 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7392 * BufferView_pimpl.C:
7393 * LaTeX.C: fix dispatch calls
7395 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7397 * text.C (drawChars): Fix Arabic text rendering.
7399 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7403 * lyxfunc.C: remove message-push/pop
7407 * lyxfunc.C: rationalise some code by removing verboseDispatch
7408 in favour of a bool argument to dispatch()
7410 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7412 * lyx_main.C (init): make sure to read symlinks as absolute paths
7414 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7417 * lyxfunc.C: no need for commandshortcut to be a member
7419 2002-07-15 André Pönitz <poenitz@gmx.net>
7421 * converter.C: add support for $$s (scripts from lib/scripts dir)
7422 * lyx_main.C: white space
7424 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7428 * lyxrc.C: remove second exit confirmation
7430 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7435 * BufferView_pimpl.h:
7436 * BufferView_pimpl.C:
7437 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7439 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7441 * MenuBackend.C (expand): add numeric shortcuts to document menu
7443 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7445 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7447 * lyxfont.C (setLyXFamily):
7454 * buffer.C (asciiParagraph): use ascii_lowercase
7456 2002-07-15 Mike Fabian <mfabian@suse.de>
7458 * lyxlex_pimpl.C (search_kw):
7459 * lyxlex.C (getLongString):
7460 * converter.h (operator<):
7461 * converter.C (operator<):
7462 * buffer.C (parseSingleLyXformat2Token):
7464 * ToolbarDefaults.C (read):
7465 * MenuBackend.C (checkShortcuts):
7467 * LColor.C (getFromGUIName):
7468 (getFromLyXName): use the compare_ascii_no_case instead of
7469 compare_no_case, because in turkish, 'i' is not the lowercase
7470 version of 'I', and thus turkish locale breaks parsing of tags.
7472 2002-07-16 Angus Leeming <leeming@lyx.org>
7474 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7475 now takes a Buffer const & argument.
7477 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7479 * BufferView.C (resize): check there's a buffer to resize
7481 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7483 * lyxfunc.C: remove dead code
7486 * lyxserver.C: use lyx_guii::set_read_callback
7488 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7490 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7491 an inset in a RTL paragraph.
7493 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7495 * lyxfunc.C: repaint after a font size update
7497 2002-07-15 André Pönitz <poenitz@gmx.net>
7499 * lyxlength.C: inBP should be able to return negative values
7501 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7503 * lyxfunc.C: use lyx_gui::update_fonts()
7505 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7507 * lyxfunc.C: use lyx_gui::update_color()
7509 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7515 * lyxrc.C: remove file->new asks for name option, and let
7516 buffer-new take an argument
7518 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7520 * BufferView_pimpl.C: remove unneeded extra repaint()
7522 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7524 * LyXAction.C: allow command-sequence with NoBuffer
7526 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7528 2002-07-10 Angus Leeming <leeming@lyx.org>
7530 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7532 2002-07-09 Angus Leeming <leeming@lyx.org>
7534 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7536 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7538 * lengthcommon.h: whitespace
7540 * lyxfunc.C: update scrollbar after goto paragraph
7542 * lyxtext.h: factor out page break drawing, and fix it so
7543 page break/added space paints as selected nicely
7545 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7547 * BufferView_pimpl.C: add FIXMEs, clean up a little
7549 2002-07-09 André Pönitz <poenitz@gmx.net>
7551 * lyxfont.[Ch]: support for wasy symbols
7553 2002-07-08 André Pönitz <poenitz@gmx.net>
7555 * BufferView_pimpl.C: apply John's patch for #93.
7557 2002-07-05 Angus Leeming <leeming@lyx.org>
7559 * BufferView_pimpl.C (buffer): generate previews if desired.
7561 * LColor.h: add "preview" to the color enum.
7563 * LColor.C (LColor): add a corresponding entry to the items array.
7565 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7568 2002-07-05 Angus Leeming <leeming@lyx.org>
7570 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7571 The body of the code is now in the method that is passed an ostream &
7572 rather than a file name.
7573 Pass an additional only_preamble parameter, useful for the forthcoming
7576 2002-07-03 André Pönitz <poenitz@gmx.net>
7578 * lyxfunc.C: simplify getStatus() a bit for math stuff
7580 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7582 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7584 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7586 * text.C (changeRegionCase): do not change case of all the
7587 document when region ends at paragraph end (bug #461)
7589 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7591 * paragraph.C (startTeXParParams):
7592 (endTeXParParams): add \protect when necessary
7594 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7596 * BufferView_pimpl.C (workAreaExpose): remove warning
7598 2002-06-27 Angus Leeming <leeming@lyx.org>
7600 * Makefile.am: add lyxlayout_ptr_fwd.h.
7602 2002-06-26 André Pönitz <poenitz@gmx.net>
7604 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7606 2002-06-25 Angus Leeming <leeming@lyx.org>
7608 * lyxfunc.C (dispatch): Comment out the call to
7609 grfx::GCache::changeDisplay. The method no longer exists now that the
7610 pixmap generation part of the graphics loader has been moved into
7613 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7615 * text2.C: layout as layout
7617 * text.C: layout as layout
7619 * tabular.C (OldFormatRead): layout as layout
7621 * paragraph_pimpl.C (TeXDeeper): layout as layout
7622 (realizeFont): layout as layout
7624 * paragraph.C (writeFile): layout as layout
7625 (validate): layout as layout
7626 (getFont): layout as layout
7627 (getLabelFont): layout as layout
7628 (getLayoutFont): layout as layout
7629 (breakParagraph): layout as layout
7630 (stripLeadingSpaces): layout as layout
7631 (getEndLabel): layout as layout
7632 (getMaxDepthAfter): layout as layout
7633 (applyLayout): layout as layout
7634 (TeXOnePar): layout as layout
7635 (simpleTeXOnePar): layout as layout
7636 (TeXEnvironment): layout as layout
7637 (layout): layout as layout
7638 (layout): layout as layout
7640 * lyxtextclass.C (compare_name): new functor to work with
7641 shared_ptr, layout as layout
7642 (Read): layout as layout
7643 (hasLayout): layout as layout
7644 (operator): layout as layout
7645 (delete_layout): layout as layout
7646 (defaultLayout): layout as layout
7648 * lyxlayout_ptr_fwd.h: new file
7650 * lyxlayout.C (Read): layout as layout
7652 * lyx_cb.C (MenuInsertLabel): layout as layout
7654 * bufferlist.C (newFile): layout as layout
7656 * buffer.C (readLyXformat2): layout as layout
7657 (parseSingleLyXformat2Token): layout as layout
7658 (insertStringAsLines): layout as layout
7659 (asciiParagraph): layout as layout
7660 (latexParagraphs): layout as layout
7661 (makeLinuxDocFile): layout as layout
7662 (simpleLinuxDocOnePar): layout as layout
7663 (makeDocBookFile): layout as layout
7664 (simpleDocBookOnePar): layout as layout
7665 (getLists): layout as layout
7667 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7669 * CutAndPaste.C (cutSelection): layout as layout
7670 (pasteSelection): layout as layout
7671 (SwitchLayoutsBetweenClasses): layout as layout
7673 * BufferView_pimpl.C (Dispatch): layout as layout
7674 (smartQuote): layout as layout
7676 * BufferView2.C (unlockInset): layout as layout
7678 2002-06-24 André Pönitz <poenitz@gmx.net>
7680 * lyxfunc.C: fix #487
7682 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7686 * lyxfunc.C: remove display_shortcuts, show_banner
7688 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7690 * Buffer_pimpl.C: oops, update on resize
7692 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7699 * BufferView.C: use repaint()
7701 * BufferView_pimpl.h:
7702 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7703 as it's a clearer description. Remove superfluous
7706 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7708 * text.C: fix bug 488. Not ideal, but getting
7709 getWord() to work properly for the insets that
7710 matter is more difficult ...
7712 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7714 * BufferView_pimpl.C:
7717 * lyxfunc.C: remove the six million index lyxfuncs to just
7718 one, and DTRT (bug 458)
7720 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7724 * BufferView_pimpl.h:
7725 * BufferView_pimpl.C: clean up resize() stuff,
7726 and unnecessary updateScreen()s
7728 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7732 * BufferView_pimpl.h:
7733 * BufferView_pimpl.C:
7736 * minibuffer.C: remove focus management of workarea,
7737 not needed. Use screen's greyOut()
7739 2002-06-17 Herbert Voss <voss@lyx.org>
7741 * converter.C: (convert) do not post a message, when converting
7742 fails, let the calling function decide what to do in this case
7744 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7746 * lyxfunc.C: tidy up a little
7748 2002-06-16 <alstrup@diku.dk>
7750 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7751 Got rid of FORMS_H_LOCATION include. Now we are
7754 2002-06-15 LyX Development team <lyx@rilke>
7756 * buffer.[Ch] (sgmlOpenTag):
7757 (sgmlCloseTag): Added support for avoiding pernicious mixed
7758 content. Return number of lines written.
7761 (makeDocBookFile): Fixed calls to sgml*Tag.
7762 Simple white space clean.
7764 (simpleDocBookOnePar): Simple white space clean.
7766 * tabular.[Ch] (docBook): Renamed to docbook and got another
7767 argument to related with the pernicious mixed content.
7769 (docbookRow): Fixed calls for docbook inset method.
7771 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7773 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7774 so it's X11 independent.
7778 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7780 2002-06-15 Lyx Development team <lyx@electronia>
7782 * intl.h: Renamed getTrans to getTransManager.
7784 2002-06-14 Angus Leeming <leeming@lyx.org>
7786 * Makefile.am: nuke forgotten stl_string_fwd.h.
7788 2002-06-12 Angus Leeming <leeming@lyx.org>
7790 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7792 2002-06-13 Angus Leeming <leeming@lyx.org>
7795 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7797 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7799 * kbmap.C (getiso): add support for cyrillic and greek
7801 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7805 * BufferView_pimpl.h:
7806 * BufferView_pimpl.C: move bogus scrolling logic
7809 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7812 * BufferView_pimpl.C: view->resize() change
7814 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7816 * BufferView_pimpl.C: topCursorVisible
7819 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7823 * lyx_gui.C: move to frontends/
7827 * lyx_main.C: changes from above
7829 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7836 * lyx_main.C: minor tidy
7838 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7840 * BufferView_pimpl.h:
7841 * BufferView_pimpl.C:
7843 * BufferView.C: make painter() const,
7846 * BufferView2.C: use screen() accessor
7849 * lyx_main.C: some minor cleanup
7851 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7853 * BufferView_pimpl.h:
7854 * BufferView_pimpl.C: remove enter/leaveView,
7857 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7862 * BufferView_pimpl.h:
7863 * BufferView_pimpl.C: only construct screen once,
7866 * lyxrc.C: remove pointless comment
7868 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7871 * BufferView.C: remove active() and belowMouse()
7873 * BufferView_pimpl.h:
7874 * BufferView_pimpl.C: use workarea() not workarea_,
7875 and make it use a scoped_ptr instead
7877 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
7879 * lyx_gui.C: add debug message on BadWindow
7881 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7883 * sp_spell.C: fdopen is not part of the C++ standard.
7885 * paragraph.C (InsetIterator): use >= instead of ==
7887 2002-06-07 Angus Leeming <leeming@lyx.org>
7889 Fixes needed to compile with Compaq cxx 6.5.
7890 * BufferView_pimpl.C:
7897 * lyxtextclasslist.C:
7902 all c-library variables have been moved into namespace std. Wrap
7903 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7908 Add a using std::abs declaration.
7910 * kbmap.h (modifier_pair):
7911 * paragraph.h (InsetTable, InsetList):
7912 * lyxfont.h (FontBits):
7913 type definition made public.
7915 * bufferlist.C (emergencyWriteAll): the compiler complains that
7916 there is more than one possible lyx::class_fun template to choose from.
7917 I re-named the void specialisation as lyx::void_class_fun.
7919 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7921 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7922 the compiler is is unable to find tostr in write_attribute.
7924 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7926 * buffer.C (sgmlError): hide #warning
7928 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7930 * xtl/*: get rid of xtl, which is not in use anyway
7932 * LyXAction.C (init):
7933 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7934 were unimplemented xtl experimentation
7936 2002-06-04 André Pönitz <poenitz@gmx.net>
7938 * lyxfunc.C: disable array operation on simple formulae
7940 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
7942 * converter.C: constify a bit
7944 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
7946 * lyx_gui.C: check xforms version correctly
7948 2002-04-30 Herbert Voss <voss@lyx.org>
7950 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7953 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
7955 * lyxvc.C: fix bug 416 (make sure buffer is saved before
7956 attempt to register it with a VCS)
7958 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7960 * lyx_main.C (init): honor variables LYX_DIR_13x and
7963 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7967 * lyx_main.C: fix a crash on bad command line,
7968 and give a useful exit status on error
7970 * lyxfunc.C (doImport): allow -i lyx to work
7972 2002-03-30 André Pönitz <poenitz@gmx.net>
7974 * lyxfunc.C: mathed font changes
7976 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
7991 * trans_mgr.h: srcdocs, and some minor cleanups
7993 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7995 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7996 call getFont all the time)
7998 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8000 * switch from SigC signals to boost::signals
8002 2002-05-29 André Pönitz <poenitz@gmx.net>
8004 * paragraph_pimpl.C (getChar): don't call size() too often...
8006 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8008 * paragraph_pimpl.C (insertChar): do not try to update tables when
8009 appending (pos == size())
8011 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8012 in order to reduce drastically the number of comparisons needed to
8013 parse a large document
8015 2002-05-29 André Pönitz <poenitz@gmx.net>
8021 * textclasslist.[Ch]:
8022 * sp_ispell.h: whitespace change
8024 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8026 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8027 lyxaction directly now.
8029 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8033 * lyxvc.C: remove unused headers
8035 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8042 * undo_funcs.C: some cleanups. Use shared_ptr
8043 and a template for the undo stacks.
8045 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8047 * BufferView_pimpl.h:
8048 * BufferView_pimpl.C:
8055 * text2.C: use key_state/mouse_state
8057 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8059 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8062 * chset.C: change include order
8063 (loadFile): use boost regex and get rid of LRegex and LSubstring
8065 * Makefile.am (BOOST_LIBS): new variable
8068 * LaTeX.C: change include order.
8069 (scanAuxFile): use boost regex and get rid of LRegex and
8073 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8078 * FontInfo.C: moved to frontends/xforms/
8081 * FontLoader.C: moved into frontends for GUIIzation
8086 * lyxfunc.C: changes from above
8088 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8090 * LColor.C: remove spurious X include
8092 * BufferView_pimpl.C:
8097 * text2.C: move font metrics to frontends/
8099 2002-05-24 Juergen Vigna <jug@sad.it>
8101 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8102 setting the undo_cursor.
8104 * ParagraphParameters.h: include local includes first.
8106 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8108 * BufferView_pimpl.C:
8109 * BufferView_pimpl.h:
8113 * screen.C: move WorkArea into frontends/
8119 * BufferView2.C: move LyXScreen into frontends/
8123 * lyx_gui.C: move lyxlookup into frontends/xforms/
8125 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8128 * BufferView_pimpl.C:
8138 * bufferview_funcs.C:
8151 * vc-backend.C: move LyX/XFormsView into frontends/
8153 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8165 * text2.C: move Painter to frontends/
8167 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8169 * buffer.C: comment out some some code that depend upon lyx_format
8172 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8173 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8175 * buffer.h (NO_COMPABILITY): turn off compability
8177 * ColorHandler.C: include scoped_array.hpp
8179 * font.C: Use more specific smart_ptr header.
8182 * ShareContainer.h: ditto
8186 * BufferView_pimpl.h: ditto
8187 * ColorHandler.h: ditto
8189 * kbmap.C (defkey): change call to shared_ptr::reset
8191 2002-05-21 Juergen Vigna <jug@sad.it>
8193 * buffer.C (insertErtContents): fix to insert ert asis if it is
8194 non empty. Skip it completely if it contains only whitespaces.
8196 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8198 * BufferView_pimpl.C:
8199 * BufferView2.C: clear selection on paste (bug 393)
8201 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8203 * DepTable.C: include ctime
8205 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8207 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8209 2002-05-14 Juergen Vigna <jug@sad.it>
8211 * text.C (breakParagraph): fixed function to honor the keepempty
8212 layout in the right maner and also to permit the right breaking
8213 algorithm on empty or non empyt keepempty paragraphs.
8215 * paragraph.C (breakParagraph): we have to check also if the par
8216 is really empty (!size()) for isempty otherwise we do the wrong
8219 2002-05-10 Juergen Vigna <jug@sad.it>
8221 * buffer.[Ch] : The following are only changes to the ert
8222 compatibility read reading old LaTeX layout and font stuff and
8223 convert it to ERTInsets.
8225 * buffer.h: added isErtInset().
8227 * buffer.C (struct ErtComp): add a fromlayout bool to check
8228 if we're inside a LaTeX layout.
8229 (isErtInset): new helper function.
8230 (insertErtContents): look for other ert insets before this one
8231 and insert the contents there, so that we don't have subsequent
8232 ERT insets with nothing between them. This way we create only one
8233 inset with multiple paragraphs. Also check if we don't insert only
8234 spaces ' ' as they are ignored anyway afterwards in the .tex file
8235 so if we have only spaces we will ignore this latex part in the
8237 (parseSingleLyXformat2Token \\layout): better compatibility when
8238 reading layout-latex stuff.
8239 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8241 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8242 stuff after reading the inset only get the information back from
8245 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8247 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8249 * LaTeXFeatures.C (getBabelOptions): New method.
8251 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8253 * BufferView_pimpl.C (Dispatch): work around missing argument for
8256 2002-05-08 Juergen Vigna <jug@sad.it>
8258 * text.C (leftMargin): handle paragraph leftindent.
8260 * paragraph.C (writeFile): write the new \\leftindent tag.
8261 (validate): handle leftindent code.
8262 (TeXEnvironment): handle paragraphleftindent code again.
8264 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8266 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8267 for paragrap_extra indent code and new token \\leftindent.
8268 (latexParagraphs): handle the leftindent as environment.
8270 * ParameterStruct.h: added leftindent support.
8272 * ParagraphParameters.C (leftIndent): added support functions for
8273 the paragraph left indent.
8275 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8278 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8280 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8283 * text.C (computeBidiTables): No bidi in insetERT.
8285 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8288 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8290 * version.C.in: pre 5
8292 2002-05-02 José Matos <jamatos@fep.up.pt>
8293 * buffer.C (makeDocBookFile): white space changes, add newline to
8295 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8297 * tabular.C (docBook): fix typo.
8299 2002-05-03 Juergen Vigna <jug@sad.it>
8301 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8302 change in LyXText as we can not be sure it was not freed.
8303 (drawOneRow): remove unused code.
8305 * text.C (drawInset): redo the calculation of the need_break_row as
8306 it could have a row which was already freed.
8307 (draw): look at the return value of drawInset and return false if
8308 it also returned false.
8309 (paintRowText): look at the return value of draw and return false if
8310 it also returned false.
8312 * lyxtext.h: added bool return type to drawInset() and draw() so that
8313 if we have a change in the row so that the rowbreak has to be redone
8314 we abort drawing as it will be called again.
8316 2002-05-02 Juergen Vigna <jug@sad.it>
8318 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8319 a change in the maintext also if we're inside an inset.
8320 (Dispatch): set the cursor again after a break line and after the
8321 screen has been updated as it could be we're in a different row.
8323 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8324 to set the cursor behind the pargraph with > size().
8325 (setCursor): check also for the same paragraph when checking where
8326 to put the cursor if we have a NFR inset.
8328 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8329 parts of layout read further up as it still was in the wrong
8332 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8334 * screen.C (drawFromTo): change sine fullRebreak always return
8337 * buffer.C (parseSingleLyXformat2Token): reindent some
8339 * BufferView_pimpl.C (update): change since fullRebreak always
8341 (Dispatch): git rid of the last hardcoded "Standard"s.
8343 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8345 * text2.[Ch] (fullRebreak): make it return void now that we always
8348 2002-04-30 Juergen Vigna <jug@sad.it>
8350 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8351 ert compatibility check for "latex" layout.
8353 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8355 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8356 minipages: use col% instead of p%, and also use the current font.
8357 (makeLaTeXFile): Fix use babel condition.
8358 (parseSingleLyXformat2Token): Correct font when reading old floats.
8360 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8362 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8363 inserting list of floats.
8365 2002-04-25 Herbert Voss <voss@lyx.org>
8367 * MenuBackend.C (expand): don't add the graphics extensions to the
8370 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8372 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8373 non-existing layout, do not complain if it was the default layout
8374 of the original class (bug #342)
8376 2002-04-24 Juergen Vigna <jug@sad.it>
8378 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8379 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8381 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8383 * buffer.C (getBibkeyList): If using \bibliography, return the
8384 option field with the reference itself. Enables us to provide natbib
8385 support when using \bibliography.
8387 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8389 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8391 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8392 natbib is provided by the LaTeX class.
8394 2002-04-23 Juergen Vigna <jug@sad.it>
8396 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8399 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8401 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8403 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8405 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8406 ensuremath around textordmasculine, textordfeminine and
8409 2002-04-19 Juergen Vigna <jug@sad.it>
8411 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8412 reinitializing the buffer otherwise row-dimensions may be wrong.
8413 (update): reset also the selection cursors if they do exits otherwise
8414 their x/y positions may be wrong.
8416 * text2.C (cursorDown): don't enter the inset if we came from a row
8417 above and are one row over the inset.
8419 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8420 really leaving an inset.
8422 2002-04-18 Juergen Vigna <jug@sad.it>
8424 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8425 of the selected paragraph does not have the selected layout also if
8428 * text2.C (setLayout): fixed bug which did not change last selected
8431 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8432 changed the read and substituted \\end_float with \\end_inset!
8434 * BufferView_pimpl.C (cursorPrevious):
8435 (cursorNext): fixed to make it work with rows heigher than the work
8436 area without moving the cursor only the draw of the row.
8437 (workAreaMotionNotify): fix jumping over high rows.
8439 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8441 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8444 2002-04-16 Juergen Vigna <jug@sad.it>
8446 * text2.C (setCursor): set also the irow().
8447 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8449 (cursorDown): support for locking an inset if the x_fix value goes
8450 inside it. That way I can transverse insets too with cursor up/down.
8452 * lyxrow.h: added irow helper function same as other (i) functions.
8454 * BufferView_pimpl.C (cursorPrevious):
8455 (cursorNext): fixed for insets!
8457 2002-04-15 Juergen Vigna <jug@sad.it>
8459 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8460 position otherwise it is wrong in some cases.
8462 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8463 inside the inset before the call.
8465 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8467 * buffer.[Ch] (getBibkeyList): make it const.
8469 2002-04-12 Juergen Vigna <jug@sad.it>
8471 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8473 * text2.C (getCursorX): new helper function
8474 (setCursor): compute also ix_
8475 (setCursorFromCoordinates): set also ix.
8477 * lyxcursor.h: added ix_ and helper functions.
8479 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8481 * buffer.C (insertStringAsLines): dont break paragraph if the this
8482 paragraph is inside an inset which does not permit it!
8484 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8485 also with no chars on this paragraph.
8486 (paintRowText): only paint stuff if it's inside the workarea!
8488 * paragraph.C (breakParagraph): honor keepempty flag and break the
8489 paragraph always below not above.
8491 * BufferView2.C (unlockInset): update the paragraph layout on inset
8492 unlock as we changed paragraph in such a case.
8494 * lyxfind.C (LyXFind): clear the former selection if not found!
8496 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8497 again called in insertChar().
8499 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8500 an inset which uses the whole row!
8501 (rightMargin): ditto.
8502 (insertChar): force a rebreak if we inserted an inset!
8504 2002-03-28 Herbert Voss <voss@lyx.org>
8506 * lyxlength.[Ch]: add inBP() to get the right PS-point
8507 units (BigPoint). With inPixels we have rounding errors
8509 2002-04-11 Juergen Vigna <jug@sad.it>
8511 * text2.C (setCursorFromCoordinates): set iy to the right value.
8512 (setCursor): add check if row->previous exists!
8514 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8515 an old float_type as this was the case in the old code!
8517 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8519 * BufferView2.C (showLockedInsetCursor): use iy
8520 (fitLockedInsetCursor): ditto
8522 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8523 locked insets as there we have the right value now.
8525 * lyxcursor.C: added iy_ variable and iy functions to set to the
8526 baseline of cursor-y of the locked inset.
8528 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8529 (setCursor): fixed for insets which need a full row.
8531 * text.C (rowLastPrintable): don't ignore the last space when before
8532 an inset which needs a full row.
8533 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8534 as last character of a row when before a inset which needs a full row.
8536 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8538 * version.C.in: update date
8540 * text2.C (fullRebreak): try to always return true and see what
8543 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8545 * MenuBackend.C (expand): use Floating::listName
8547 * FloatList.C (FloatList): add listName argument to the built-in
8550 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8551 text associated with the float.
8553 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8555 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8557 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8559 * ShareContainer.h: add a couple of missing typenames.
8561 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8563 * lyxrc.C (getDescription): use _() correctly rather than N_().
8565 2002-03-28 Herbert Voss <voss@lyx.org>
8567 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8568 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8570 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8572 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8573 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8575 2002-03-29 Juergen Vigna <jug@sad.it>
8577 * lyxfunc.C (dispatch): add a missing fitCursor call.
8579 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8580 it was scrolled by a cursor move, so return the bool status.
8582 * BufferView.C (fitCursor): return the bool flag also to the outside
8583 world as this is needed.
8585 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8587 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8588 call the edit() as it is not needed (and wrong) IMO.
8589 (workAreaButtonPress): set the screen_first variable before evt.
8590 unlock the inset as this may change screen_first and then we have
8591 a wrong y position for the click!
8593 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8595 * MenuBackend.C (expand): another translation that I missed
8597 2002-03-28 Juergen Vigna <jug@sad.it>
8599 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8601 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8603 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8605 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8607 * MenuBackend.C (expand): fix export/view/update when there is no
8610 2002-03-27 Herbert Voss <voss@lyx.org>
8612 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8615 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8617 * bufferview_funcs.C (currentState): only show paragraph number
8618 for is DEVEL_VERSION is set.
8620 * lyxfunc.C (dispatch): put warning in INFO channel
8622 * MenuBackend.C (expand): translate the name of floats
8624 * FloatList.C (FloatList): mark the float names for translation
8626 * converter.C (convert): use LibScriptSearch
8628 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8630 * MenuBackend.C (defaults): fix default menu (we might as well get
8633 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8635 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8638 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8640 * lyxvc.C: reorder includes.
8642 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8644 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8647 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8649 * CutAndPaste.C: change layouts earlier on paste
8650 to avoid crashing when calling getFont()
8652 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8654 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8657 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8659 * WorkArea.C: remove 'Pending' debug message.
8661 * most files: ws cleanup
8663 * buffer.[Ch]: ws changes
8665 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8667 2002-03-21 Juergen Vigna <jug@sad.it>
8669 * tabular.C (SetMultiColumn): collapse also the contents of the
8670 cells and set the last border right. Added a Buffer const * param.
8672 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8674 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8677 2002-03-19 Juergen Vigna <jug@sad.it>
8679 * text2.C (clearSelection): reset also xsel_cache.
8681 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8682 where it needs to be called (John tells us to do so too :)
8683 (selectionLost): reset sel_cache.
8685 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8687 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8689 * text2.C (setCursorIntern): put debuging code in INSETS channel
8691 2002-03-19 André Pönitz <poenitz@gmx.net>
8693 * lyxfunc.C: tiny whitespace change
8695 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8697 * ToolbarDefaults.C (init):
8698 * LyXAction.C (init):
8700 * BufferView_pimpl.C (Dispatch):
8701 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8703 2002-03-19 Allan Rae <rae@lyx.org>
8705 * exporter.C (Export): removeAutoInsets before doing anything else.
8706 While I've just introduced a dependency on BufferView this really is
8707 the best place to clean the buffer otherwise you need to cleanup in
8708 a dozen places before calling export or cleanup in a dozen functions
8711 * converter.C (runLaTeX):
8712 (scanLog): Better handling of removeAutoInsets and screen updates.
8714 * lyxfunc.C (dispatch): small whitespace changes
8716 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8718 * WorkArea.C (C_WorkAreaEvent): return a value.
8719 (event_cb): return 1 if we handled the event, 0 otherwise.
8721 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8723 2002-03-18 Juergen Vigna <jug@sad.it>
8725 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8726 (GetAdditionalWidth): ditto.
8730 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8731 inset if we're there actually (probably not used right now but this
8732 is the direction to go for unifying code).
8733 (paste): disable code to clear the selection.
8735 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8736 inside an InsetText and move the check further up as it is in the
8739 * text2.C (pasteSelection): set a selection over the pasted text.
8741 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8743 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8744 and libgraphics to build on Cygwin.
8746 2002-03-15 Juergen Vigna <jug@sad.it>
8748 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8749 inserting an Inset into the paragraph. I know this is not the best
8750 fix but we already use current_view in CutAndPaste so we will remove
8751 all of it's using at the same time.
8753 * buffer.C (sgmlError): deactivated function till it is rewritten in
8754 the right mode, now it can create problems.
8756 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8757 before accessing it.
8759 2002-03-14 Juergen Vigna <jug@sad.it>
8761 * undo_funcs.C (textHandleUndo): do the right thing when updating
8762 the inset after the undo/redo.
8764 * text2.C (setCursor): just some testcode for #44 not ready yet.
8766 * undo_funcs.C (textHandleUndo): set the next() and previous()
8767 pointers of the paragraph to 0 before deleting otherwise we have
8768 problems with the Paragraph::[destructor].
8770 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8771 on a paragraph insertion.
8773 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8775 * buffer.C (asciiParagraph): use += operator for char append to
8778 * paragraph.C (getFontSettings): compare >= not just >
8779 (highestFontInRange): ditto
8782 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8784 * paragraph.C: change several algorithm to be more appripriate for
8785 the problem domain. This is lookip in FontList and in the InsetList.
8787 2002-03-13 André Pönitz <poenitz@gmx.net>
8790 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8792 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8797 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8799 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8801 * Painter.C (display): anon helper function, adjust code for this
8803 (pixmap): remove function.
8805 * Painter.h: remove private display variable.
8807 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8809 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8811 * WorkArea.[Ch]: remove figinset_canvas cruft.
8813 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8815 * lyxtextclass.C (operator): add one item cache optimization.
8817 * bufferlist.h: doxy changes
8819 * bufferlist.C: ws changes
8821 * DepTable.[Ch] (ext_exist): place const in the right spot.
8823 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8825 (workAreaExpose): call resizeInsets when the with BufferView changes.
8826 (Dispatch): adjust for protectedBlank removal
8827 (specialChar): call updateInset if the insert went ok.
8829 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8830 specialChar instead.
8832 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8834 * BufferView.h: doxy change
8836 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8838 * lyxtextclass.C (operator[]): remove non-const version
8839 (defaultLayout): remove non-const version
8841 2002-03-12 Juergen Vigna <jug@sad.it>
8843 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8844 did resize the LyXText too.
8846 * buffer.C (readLyXformat2): set layout information on newly allocated
8849 * tabular.C (OldFormatRead): set layout information on the paragraph.
8851 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8853 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8855 2002-03-11 Juergen Vigna <jug@sad.it>
8857 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8859 (resizeCurrentBuffer): force also the insets to resize themselfes.
8860 (moveCursorUpdate): fixed up for InsetText.
8862 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
8865 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8866 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8867 value of Dialogs::tooltipsEnabled().
8868 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8870 2002-03-08 Juergen Vigna <jug@sad.it>
8872 * BufferView_pimpl.C (updateInset): update inset inside inset also
8873 if it isn't inside theLockingInset().
8875 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8877 * buffer.C (asciiParagraph): redo some of the word and line length
8879 (getLists): look for Caption instead of caption.
8881 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8883 * buffer.C (Buffer): initialize niceFile to true
8886 (makeDocBookFile): make sure niceFile is true on exit
8888 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8890 * buffer.C (makeLaTeXFile): escape ~ in \input@path
8892 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
8894 * LyXSendto.C: remove.
8895 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8896 * lyx_gui.C: remove now-redundant comment.
8897 * ColorHandler.h: remove forward declaration of class WorkArea.
8898 * lyxfunc.C: remove #include "WorkArea.h".
8900 2002-03-07 Juergen Vigna <jug@sad.it>
8902 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8903 got moved away with the DEPM and also set the inset_owner always
8904 right which before could have been omitted.
8906 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8908 * buffer.C (parseSingleLyXformat2Token): use default layout is the
8909 wanted layout is not found.
8911 2002-03-07 Juergen Vigna <jug@sad.it>
8913 * CutAndPaste.C (cutSelection): another layout settings forgotten.
8915 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8917 * paragraph.C (breakParagraph): use default layout not layout of
8919 (Paragraph): clear ParagraphParameters.
8921 2002-03-06 Juergen Vigna <jug@sad.it>
8923 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8924 otherwise it would not be a valid lenght. Fixed a special case in
8925 the minipage compatibility read where we end the document with a
8928 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8929 was set as it could be 0 for InsetTexts first entry.
8931 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8933 * paragraph.C (writeFile): if layout is empty write out
8934 defaultLayoutName().
8936 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8937 file without named layout we set layout to defaultLayoutName().
8939 2002-03-06 Juergen Vigna <jug@sad.it>
8941 * CutAndPaste.C (copySelection): set layout for new paragraph.
8943 * text.C (prepareToPrint): leave ERT inset left aligned
8944 (leftMargin): don't indent paragraphs inside ERT insets
8946 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8948 * paragraph.C (breakParagraph): dont call clear do the work manually
8950 * paragraph.[Ch] (clear): remove function
8952 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8954 * paragraph.C (Paragraph): dont call clear, the work has already
8957 * lyxtextclass.C (operator): assert if n is empty
8959 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8960 work manually instead.
8962 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
8964 * BufferView_pimpl.C: protect selectionLost against text == 0
8966 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8968 * text.C (breakParagraph): fix a setting layout to '0' problem.
8970 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8972 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8973 final location of file, for the included files, and graphics.
8975 2002-03-05 Juergen Vigna <jug@sad.it>
8977 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8979 2002-03-04 Juergen Vigna <jug@sad.it>
8981 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8983 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8984 last column of multicolumn cells.
8985 (SetWidthOfMulticolCell): recalculate NMC and real columns.
8987 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8989 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8990 file if it doesn't go to a temporary file.
8992 * buffer.C (sgmlOpenTag):
8993 (sgmlCloseTag): remove extra newline insertion.
8995 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8997 * text.C (getRowNearY): comment out debug msg
8999 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9001 * text2.C: first -> first_y
9003 * text.C (getRowNearY): add some attemts at a possible
9004 optimization, not working.
9006 * tabular.[Ch]: add BufferParams to several function so that newly
9007 created paragraph can be initialized to he default layotu for the
9010 * tabular-old.C (ReadOld): add buf->params to call of Init
9012 * screen.C: rename text->first to text->first_y
9014 * paragraph.C (breakParagraph): always set layout in the broken
9017 * lyxtextclass.C (Read): remove lowercase
9020 (delete_layout): ditto
9022 * lyxtext.h: rename first -> first_y
9024 * lyxlayout.C (Read): remove lowercase
9027 (obsoleted_by): ditto
9029 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9031 * buffer.C (insertErtContents): add params are to InsetERT
9032 (parseSingleLyXformat2Token): add code to check if a paragraphs
9033 layout really exist.
9034 (parseSingleLyXformat2Token): add params to several inset
9036 (asciiParagraph): remove lowercase, do the layout comparisons with
9039 * BufferView_pimpl.C (cursorNext): first -> first_y
9040 (resizeCurrentBuffer): first -> first_y
9041 (updateScrollbar): first -> first_y
9042 (scrollCB): first -> first_y
9043 (workAreaMotionNotify): first -> first_y
9044 (workAreaButtonPress): first -> first_y
9045 (checkInsetHit): first -> first_y
9046 (cursorPrevious): first -> first_y
9047 (cursorNext): first -> first_y
9048 (Dispatch): add buffer_->params to severl inset contructors
9050 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9052 * lyxlayout.C (Read): remove some debug info that I forgot.
9054 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9055 clean up the code slightly.
9056 (makeLinuxDocFile): ditto
9057 (makeDocBookFile): ditto
9059 * text2.C: layout as string
9061 * text.C: layout as string
9063 * paragraph_pimpl.C: layout as string
9065 * paragraph.[Ch]: layout as string
9067 * lyxtextclasslist.[Ch]: layout as string
9069 * lyxtextclass.[Ch]: layout as string
9071 * lyxtext.h: layout as string
9073 * lyxlayout.[Ch]: layout as string
9075 * lyx_cb.C: layout as string
9077 * bufferview_funcs.C: layout as string
9079 * bufferparams.C: layout as string
9081 * buffer.C: layout as string
9083 * LyXView.[Ch]: layout as string
9085 * LaTeXFeatures.[Ch]: layout as string
9087 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9089 * BufferView_pimpl.C: change current_layout to string, remove
9094 (workAreaButtonRelease): layout as string
9096 * BufferView2.C (unlockInset): adjust
9098 * vspace.C (asLatexCommand): use an explict temp variable.
9100 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9102 * Makefile.am: use FRONTEND_*
9104 2002-03-01 Juergen Vigna <jug@sad.it>
9106 * tabular.C (SetWidthOfMulticolCell): changed to something better
9107 I hope but still work in progress.
9108 (recalculateMulticolumnsOfColumn): renamed function from
9109 recalculateMulticolCells as it is more appropriate now.
9110 (SetWidthOfCell): calculate multicols better.
9112 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9114 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9116 * lyxfunc.C (processKeySym): print sequence also if it is
9117 `deleted' (complete)
9119 * kbsequence.C (print): print sequence even if it is deleted
9120 (complete would be a better word, actually).
9122 * lyxfunc.C (dispatch): print complete options after a prefix key
9124 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9126 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9128 * text2.C (setCharFont): eliminate setCharFont code duplication.
9130 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9132 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9133 LFUN_TABULAR_FEATURE (bug #177)
9135 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9137 * Makefile.am: remove figure.h
9139 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9141 * Bufferview_pimpl.C:
9153 * text2.C: remove #include "lyx_gui_misc.h".
9155 * LaTeX.C: added #include <cstdio>
9157 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9159 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9160 that the paragraph following this one can have.
9162 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9164 * vspace.C (asLatexCommand): fix bogus gcc warning
9166 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9168 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9170 * text2.C (setLayout): get rid of redundant code
9172 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9174 * text2.C (incDepth): make sure depth cannot be increased beyond
9177 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9179 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9180 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9182 * PainterBase.h (image):
9183 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9186 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9190 * BufferView_pimpl.C:
9191 * BufferView_pimpl.h:
9211 * sp_spell.C: remove fig inset, and the crap house of
9212 cards that follows it
9214 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9220 * nt_defines.h: move .h into support/
9222 * vms_defines.h: remove
9224 * WorkArea.C: add space in debug output
9228 * buffer.C: add WITH_WARNINGS
9232 * bufferlist.C: s/retrive/retrieve/, add docs
9243 * lyxgui.C: add ID to X error handler
9245 * lyxtestclass.c: fix typo
9247 2002-02-26 Juergen Vigna <jug@sad.it>
9249 * tabular_funcs.C (write_attribute): changed so that some default
9250 attributes are not written at all.
9251 (getTokenValue): set default values before trying to read the
9252 value so we have the return value always set as default if we don't
9253 find the token we search for.
9255 * tabular.C (Write): write bools as bools not as strings!
9257 2002-02-22 Juergen Vigna <jug@sad.it>
9259 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9260 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9262 * text.C (leftMargin): don't add an indent for paragraphs inside
9263 tabular cells (fix #208).
9265 2002-02-21 José Matos <jamatos@fep.up.pt>
9267 * tabular.C (docBook): fixed support for long tables.
9269 2002-02-20 Juergen Vigna <jug@sad.it>
9271 * text2.C (getFont): get the drawing font of the Inset if this
9272 paragraph is inside an inset (only important for InsetERT for now).
9274 * buffer.C (insertErtContents): use new lanugage params in ERT
9277 * CutAndPaste.C: commenting out seemingly uneeded code.
9279 2002-02-19 Allan Rae <rae@lyx.org>
9281 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9282 Iterators might be simple to use but they also get invalidated.
9283 (removeAutoInsets): renamed saved cursor tracking variables and added
9284 some comments to clarify what everything does.
9286 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9293 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9294 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9297 * vc-backend.h: remove #include "support/syscall.h"
9301 * converter.C: rearrange #includes in Lars' approved fashion.
9303 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9304 forward declare class Timeout in the header file.
9306 * XFormsView.C: changes due to the above.
9308 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9311 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9312 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9314 2002-02-18 José Matos <jamatos@fep.up.pt>
9316 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9319 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9321 * a lot of small ws changes
9322 * add a lot of using std::XXX
9323 * use std construcs some places where approp.
9324 * use some exisint stuff from lyxfunctional where approp.
9325 * Make file changes to use partial linking (lets test this now...)
9327 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9331 remove #include "support/syscontr.h" as it's redundant. Always has been.
9339 change Systemcalls::System to Systemcalls::Wait and
9340 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9341 No change of functionality, just reflects the stripped down Systemcalls
9344 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9346 * debug.[Ch]: add a GRAPHICS type to the enum.
9348 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9350 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9352 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9355 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9357 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9358 match the changes below.
9360 * text2.C (toggleInset): if there is not editable inset at cursor
9361 position, try to see if cursor is _inside_ a collapsable inset
9364 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9366 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9367 document menu has a nice checkbox
9369 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9371 * lyxlength.C (asLatexString): change PW to output as percent of
9374 * lengthcommon.C: change '%' to 't%'
9376 * lyxfunc.C (dispatch): a few comments from Martin
9378 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9382 * BufferView_pimpl.h:
9383 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9386 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9388 * vspace.C (inPixels): fix compiler warning
9390 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9392 * lyxfunc.C (getStatus): fix status message for disabled commands.
9394 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9396 * BufferView_pimpl.C: fix crash on close buffer
9397 during selection (#227)
9399 2002-01-27 Herbert Voss <voss@lyx.org>
9401 * buffer.C: link old Figure to new graphic inset
9403 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9405 * FontLoader.C (getFontinfo): Change the latex font names in order
9406 to match the names of type1inst.
9408 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9410 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9412 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9415 (remove_files_with_extension): ditto
9416 (remove_file): ditto
9419 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9420 document is smaller than the work area height. Do not initialize
9421 static variables to 0.
9423 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9425 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9427 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9428 LFUN_LAYOUT_PARAGRAPHS.
9430 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9431 tabular. It is possible to provide a possible cell, which will
9432 typically be the actcell from the corresponding insettabular
9434 * lyxfunc.C (getStatus): small cleanup; disable
9435 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9438 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9440 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9442 * paragraph.C (startTeXParParams):
9443 (endTeXParParams): new methods. The LaTeX code to
9444 start/end paragraph formatting
9445 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9446 empty (fixes bug #200)
9448 * vspace.C (inPixels): adapt to the change below
9449 (inPixels): [later] more cleanups (remove unused variables)
9451 * lyxlength.C (inPixels): change to use a width and a height as
9454 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9456 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9457 Replaced with \paperwidth
9459 * DepTable.C (insert): add std:: qualifier
9461 2002-01-18 Allan Rae <rae@lyx.org>
9463 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9466 * text.C (drawInset): Turned out I didn't know enough about how
9467 rebreaking worked. This fixes most of the redraw problems. I see
9468 an occasional cursor trail when a line is broken now and the cursor
9469 placement can seem out by a few pixels also after a rebreak.
9471 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9473 * buffer.C (parseSingleLyXformat2Token): update because minipage
9474 width is now a LyXLength
9476 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9478 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9481 2002-01-17 Juergen Vigna <jug@sad.it>
9483 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9485 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9486 is set correctly and the inset is updated correctly.
9488 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9490 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9491 the beginning of the loop.
9493 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9495 * lyxrc.C: improve help for use_scalable_fonts
9497 2002-01-17 Allan Rae <rae@lyx.org>
9499 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9501 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9503 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9504 make sure to set their inset_owner to the right value (bug #171)
9506 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9509 * DepTable.C: Implement mtime checking to reduce time spent doing
9512 2002-01-16 Juergen Vigna <jug@sad.it>
9514 * tabular.C (GetAdditionalHeight): one of error fixed.
9516 * lyxrc.C (output): small fix in writing use_pspell.
9518 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9520 * sp_base.h: #include LString.h
9522 2002-01-16 Allan Rae <rae@lyx.org>
9524 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9525 Can someone check this please?
9527 * text.C (drawInset): It was possible that p.row would be removed by
9528 breakAgainOneRow upsetting a few other settings. There may be another
9529 small tweak possible by setting need_break_row = 0 when p.row has been
9530 removed but I don't know enough about the logic here.
9532 2002-01-15 Allan Rae <rae@lyx.org>
9534 * text.C (insertChar): removed conditional truism.
9536 * BufferView2.C (removeAutoInsets): More tweaks.
9537 cur_par_prev could be a stray pointer. Check for trailing empty line
9538 in case last line was cur_par and only had an error inset on it.
9540 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9542 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9545 * vc-backend.C (most methods):
9546 * exporter.C (Export):
9547 * converter.C (convert):
9549 * LyXSendto.C (SendtoApplyCB):
9550 * lyxfunc.C (dispatch):
9554 * lyx_cb.C (AutoSave):
9556 * BufferView_pimpl.C (MenuInsertLyXFile):
9557 * buffer.C (runChktex): use Buffer::filePath().
9559 * buffer.h: rename filename to filename_; rename filepath to
9560 filepath_ and make it private
9561 (filePath): new method
9563 * buffer.C (writeFile): use fileName()
9566 * lyx_main.C (init): fix starting of LyX when the binary is a
9567 link from so,ewhere else.
9569 * minibuffer.C: include <cctype> for isprint
9571 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9573 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9574 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9575 name clash with InsetCollapsable's width function.
9577 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9579 * lastfiles.C: include <iterator>
9581 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9583 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9586 * buffer.C (makeLaTeXFile): ditto.
9587 Also make loop operation more transparent.
9589 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9591 * ToolbarDefaults.C: remove trailing comma closing namespace.
9593 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9595 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9598 * trans.C (Load): comment out unused variable, allowed.
9600 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9602 * minibuffer.[Ch] (append_char): new method to recieve input from the
9603 drop-down completion browser. If a key was pressed, then recieve this
9604 char and append it to the existing string.
9605 (peek_event): modify the positioning data passed to the completion
9606 browser so that it can be placed above the minibuffer rather than below.
9607 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9609 * LyXAction.C (init): alloe error-next for readonly documents.
9611 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9614 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9616 * bufferlist.C (readFile): create the buffer _after_ checking that
9619 * lyxfunc.C (verboseDispatch): fix handling of arguments
9621 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9623 * lyxrc.C: use string::erase() instead of initializing to "".
9626 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9628 * BufferView_pimpl.h:
9629 * BufferView_pimpl.C:
9632 * text2.C: tell X when we have made a selection for copying
9634 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9636 * BufferView_pimpl.C (MenuInsertLyXFile):
9637 * lyxfunc.C (menuNew):
9639 (doImport): add shortcuts to directory buttons
9641 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9644 * lyxfunc.C (setStatusMessage):
9645 (getStatusMessage): new methods
9646 (getStatus):use setStatusMessage instead of setErrorMessage
9647 (dispatch): when function is disabled, set error message here
9648 [instead of in getStatus previously]
9650 * BufferView_pimpl.C (workAreaButtonRelease): update
9651 toolbar/menubar here too.
9653 2002-01-13 Allan Rae <rae@lyx.org>
9655 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9656 Now seems indestructible. Remaining task is to audit all other
9657 code affected by deleteEmptyParagraphMechanism. One small quirk
9658 left is that an empty document with an error in the preamble can
9659 be made to report an error but no error box appears. I don't know
9661 (removeAutoInsets): Improved comments.
9663 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9666 * Thesaurus.C: update for Aiksaurus 0.14
9668 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9670 * text2.C (firstParagraph): removed member function, all uses
9671 replaces with ownerParagraph
9672 (redoParagraphs): here
9674 (toggleAppendix): here
9675 * BufferView2.C (insertErrors): here
9676 (setCursorFromRow): here
9678 2002-01-13 Allan Rae <rae@lyx.org>
9680 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9681 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9682 There is still a way to segfault this although you may have to do this
9683 multiple times: Have an InsetERT with an unknown command in it.
9684 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9685 <down-arrow>, <Enter> again, View->DVI, BANG!
9687 * text2.C (setCursor):
9688 (deleteEmptyParagraphMechanism):
9689 * lyxtext.h (setCursor):
9690 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9691 Making use of the return value may help fix other bugs.
9693 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9695 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9697 * LyXView.C (updateMenubar): call MenuBar::update here
9698 (updateToolbar): but not here
9699 (showState): do not update toolbar/menubar
9701 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9702 should need to care about that.
9704 * lyxfunc.C (verboseDispatch): simplify a bit
9705 (getStatus): have a version which takes a pseudoaction, and
9706 another which requires a (kb_action,string).
9708 * LyXAction.C (retrieveActionArg): make it work also when action
9709 is not a pseudo-action.
9710 (getActionName): simplify a bit
9713 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9715 * lyxfunc.C (verboseDispatch): new families of methods with
9716 several ways to specify a command and a bool to indicate whether
9717 the command name and shortcut should be displayed in minibuffer
9718 (eventually, we could extend that to a finer bitmask like
9719 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9720 (dispatch): the pristine dispatch command which just, well,
9721 dispatchs! Note it still sets its result to minibuffer; I'm not
9724 * lyxfunc.h: remove setHintMessage
9726 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9728 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9730 * BufferView_pimpl.C (specialChar): delete new inset if we have
9731 not been able to insert it.
9733 * kbmap.C: revert to using int instead of kb_action, since all we
9734 are dealing with is pseudo-actions.
9736 * LyXAction.C (searchActionArg): change to return int instead of
9737 kb_action, since the result is a pseudoaction.
9739 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9741 * buffer.C (insertErtContents): Fix (partially) the font bug.
9743 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9745 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9746 as the other one is broken on my machine!
9748 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9751 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9753 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9755 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9756 reflect their actual use. Provide compatibility code for older lyxrc
9759 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9761 change names of popup font variables in line with the changes to lyxrc.C
9763 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9765 * buffer.C (asciiParagraph): avoid outputing a word twice after
9768 * lyxrc.C (getDescription): document that document_path and
9769 template_path can be empty.
9771 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9773 * LaTeXFeatures.C (getMacros):
9774 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9776 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9778 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9780 (getPackages): rename feature "floats" to "float". Use an array to
9781 iterate over 'simple' features (i.e. just a \usepackage). Add
9782 handling of "amsmath" (renamed from "amsstyle").
9784 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9786 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9789 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9791 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9792 FuncStaus::FuncStatus & FuncStaus::some_method().
9794 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9796 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9797 of the func_satus stuff. Edited and massaged in various ways by
9800 * lyxfunc.C (getStatus): use FuncStatus
9802 2002-01-08 Juergen Vigna <jug@sad.it>
9804 * text.C (nextBreakPoint): use function Inset::isChar().
9806 * paragraph.C (TeXOnePar): use function
9807 Inset::forceDefaultParagraphs.
9809 * buffer.C (latexParagraphs): use function
9810 Inset::forceDefaultParagraphs.
9812 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9814 * lyx_gui.C (init): set the style of the menu popups to
9815 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9817 2002-01-07 Juergen Vigna <jug@sad.it>
9819 * text.C (setHeightOfRow): small fix
9820 (prepareToPrint): don't look at alignment if we don't have the place
9823 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9825 * box.C: New file. Move the Box methods and functions out of box.h,
9826 following Lars' suggestion.
9828 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9830 * box.h: #include "support/LOstream.h", needed for inlined function.
9833 * lyxtextclasslist.C: added some using std declarations.
9835 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9837 * box.h: make signed dimensions to allow insets wider than
9838 the screen (bug #162)
9840 * BufferView_pimpl.C: add some insetHit debug
9842 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9844 * vc-backend.C: add FIXME
9846 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9848 * lyxfunc.C (getStatus): enable code for showing math font status
9851 2002-01-07 Juergen Vigna <jug@sad.it>
9853 * text.C (nextBreakPoint): removed debug output not needed anymore.
9855 2002-01-06 Juergen Vigna <jug@sad.it>
9857 * text.C (nextBreakPoint): fixed up this function we had this bug
9858 since ever but now hopefully we break row better.
9859 (insertChar): we have to check if an inset is the next char as it
9860 could now happen that a large inset is causing a break.
9862 2002-01-05 Juergen Vigna <jug@sad.it>
9864 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9865 if it doesn't like to be drawed.
9867 2002-01-04 Juergen Vigna <jug@sad.it>
9869 * BufferView2.C (lockInset): forgot to set a cursor.
9871 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9873 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
9878 * form_maths_panel.C:
9879 * form_maths_panel.h:
9880 * form_maths_panel.fd: implemented sub- and super- buttons in math
9883 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9884 (or ^ space) to be used as in TeX (req'd by André).
9886 * lyxfunc.C: Allow ^ and _ again to be used both as
9887 super/subscript (mathed) and as themselves (in text).
9889 2002-01-03 Allan Rae <rae@lyx.org>
9891 * LyXView.C (updateWindowTitle): Setup a short icon title of either
9892 "LyX" or the filename of the current buffer if it has one. This is a
9893 modified form of John Levon's patch.
9895 * XFormsView.C (setWindowTitle): also set icon title.
9897 * LyXView.h (setWindowTitle): signature changed.
9898 * XFormsView.h (setWindowTitle): ditto.
9900 2002-01-02 Juergen Vigna <jug@sad.it>
9902 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9904 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9906 * screen.C (topCursorVisible): introduce a temp var for
9907 text->cursor.row(), handle the case where this row is null. (kindo
9910 * text2.C (setCursor): add a couple of asserts.
9912 * paragraph.h (inset_iterator): add -> operator
9914 * paragraph.[Ch] (autoDeleteInsets): remove member function
9916 * BufferView2.C (removeAutoInsets): rewrite to handle the old
9917 cursor pos correctly and handle inset deletion by itself.
9918 (insertErrors): move iterator declaration out of for expression
9920 * lyxtextclass.C: add <algorithm>
9922 * Makefile.am: added the new files to sources, removed layout.C
9924 * layout.C: removed file
9926 * layout.h: remove LYX_DUMMY_LAYOUT
9928 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9932 * lyxtextclass.[Ch]:
9933 * lyxtextclasslist.[Ch]: new files
9935 * include order changes to a lot of files, also changes because of
9938 2001-12-27 Juergen Vigna <jug@sad.it>
9940 * buffer.C (asciiParagraph): more fixes.
9942 * tabular.C (ascii): make ascii export support export of only the
9943 data separated by a column-delimiter.
9944 (ascii): better support for ascii export.
9946 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9948 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9950 * tabular_funcs.C: use a "using std::getline" instead of the
9951 previous fix from Angus (necessary for cxx + lyxstring)
9953 2001-12-24 Juergen Vigna <jug@sad.it>
9955 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9957 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9958 problems. First check a minipage also if we have some ert-contents
9959 (not only on par->size(), second set the right depth of the paragraph
9960 on the relink to the root-paragraph-list!
9962 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9963 which then did not anymore update the main paragraphs on undo/redo!
9965 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9967 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9968 code. Support all font-changing funcs (even those which are not in
9969 menu currently). Support for reporting font settings in
9970 mathed (disabled until Andre provides a function on mathed's side).
9972 * func_status.h (toggle): small helper function to set toggle
9975 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
9977 * tabular_funcs.C: getline -> std::getline
9979 2001-12-21 Juergen Vigna <jug@sad.it>
9981 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9982 accessed and could be 0 (I couldn't generate this but it seems
9985 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9987 * tabular_funcs.C: add LIstream.h, move write_attribute to..
9988 * tabular_funcs.h: here and include iosfwd
9990 2001-12-20 Juergen Vigna <jug@sad.it>
9992 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9993 inside inset but undo_par was.
9995 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9997 * Thesaurus.C: always include <config.h> in sources.
10001 * box.h: do not include <config.h> in header files
10003 * text.C (paintLastRow): remove unused variable
10005 * text.C (transformChar):
10007 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10009 * Painter.C (text):
10010 * font.C (width): rewrite to use uppercase() instead of
10013 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10015 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10017 * lyxfind.C: clean up of find failure position change
10019 2001-12-20 Juergen Vigna <jug@sad.it>
10021 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10023 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10024 (TeXRow): added to LaTeX a single tabular row.
10025 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10026 (Latex): simplified and finally good LT-h/f support.
10027 (various_functions): just small adaptions for LT-h/f support.
10029 * tabular_funcs.[hC]: added and moved here all not classfunctions
10032 2001-12-19 Juergen Vigna <jug@sad.it>
10034 * tabular.[Ch]: better support for longtabular options (not finished
10037 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10039 * text.C (paintLastRow): use the label font instead of the font of
10040 the last character to compute the size of *_BOX. This makes more
10041 sense and avoids a crash with empty paragraphs.
10042 Use Painter::rectangle to draw EMPTY_BOX.
10044 2001-12-19 Juergen Vigna <jug@sad.it>
10046 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10047 the paragraphs if the replaced paragraph is not the first one!
10048 Tried to delete not used paragraphs but does not work yet so for
10049 now it's inside #ifdef's and by default off!
10051 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10053 * MenuBackend.C: include "lyx_main.h" instead of declaring
10054 lastfiles (actually was declared as LastFiles* instead of a
10057 2001-12-17 Juergen Vigna <jug@sad.it>
10059 * tabular.C (AppendColumn): applied John's fix
10061 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10065 * BufferView_pimpl.h:
10066 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10069 * box.h: new start of class for above
10071 * lyxfunc.C: ignore space-only minibuffer dispatches.
10072 Show the command name when it doesn't exist
10074 * minibuffer.C: don't add empty lines to the history
10076 * minibuffer.C: add a space on dropdown completion
10078 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10080 * text.C: fix line above/below drawing in insets
10082 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10084 * lyxlength.C (LyXLength): Initialize private variables.
10086 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10088 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10089 when inserting error insets.
10091 2001-12-13 Juergen Vigna <jug@sad.it>
10093 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10094 actually sometimes the before-paragraph.
10095 (setUndo): don't clear the redostack if we're not actually undoing!
10097 2001-12-06 Juergen Vigna <jug@sad.it>
10099 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10100 and fixed redoing of main paragraph, so we can use it now ;)
10102 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10104 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10106 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10109 2001-12-13 André Pönitz <poenitz@gmx.net>
10112 * undo_func.C: minor cleanup
10114 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10116 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10117 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10118 font in urw-fonts package which is marked as -urw-fontspecific and
10119 does not work (incidentally, changing the encoding in the
10120 fonts.dir of this package to -adobe-fontspecific fixes the
10123 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10124 is a crash when undoing first paragraph (Juergen, please take a
10125 look). THis does not mean the undo fix is wrong, just that it
10128 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10129 the (Paragraph*) version when needed instead of duplicating the
10132 * text.C (workWidth): use Inset::parOwner to find out where the
10133 inset has been inserted. This is a huge performance gain for large
10134 documents with lots of insets. If Inset::parOwner is not set, fall
10135 back on the brute force method
10137 * paragraph_pimpl.C (insertInset):
10138 * paragraph.C (Paragraph):
10139 (cutIntoMinibuffer): set parOwner of insets when
10140 inserting/removing them
10142 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10144 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10150 * mathed/formulabase.C:
10151 * mathed/math_cursor.[Ch]:
10152 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10155 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10157 * lyxlength.[Ch] (operator!=): new function
10159 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10161 * text.C (workWidth): use Inset::parOwner to find out where the
10162 inset has been inserted. This is a huge performance gain for large
10163 documents with lots of insets. If Inset::parOwner is not set, fall
10164 back on the brute force method
10166 * paragraph_pimpl.C (insertInset):
10167 * paragraph.C (Paragraph):
10168 (cutIntoMinibuffer): set parOwner of insets when
10169 inserting/removing them
10171 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10173 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10175 * tabular-old.C (getTokenValue):
10176 * tabular.C (getTokenValue):
10177 (write_attribute): new versions for LyXLength
10178 (everywhere): adjust the use of widths
10180 * tabular.h: change the type of widths from string to LyXLength
10182 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10184 * paragraph.C: fixed missing line number count when exporting
10185 Environments to LaTeX file
10187 * buffer.C: added informational message for checking line numbers.
10189 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10191 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10192 paragraph, do the 'double space' part, but not the 'empty
10195 * text.C (workWidth): small optimization
10196 (getLengthMarkerHeight): use minimal size for negative lengths.
10198 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10200 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10202 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10204 2001-12-11 André Pönitz <poenitz@gmx.net>
10207 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10209 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10211 * text2.C: keep selection on a setFont()
10213 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10215 * lyx_cb.C: another bv->text misuse, from insert label
10217 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10220 * kbsequence.C: re-instate nmodifier mask
10222 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10224 * lyx_main.h: make lyxGUI private.
10226 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10228 * lyxfind.C: place the cursor correctly on failed search
10230 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10232 * text.C (getLengthMarkerHeight): for small heights, the arrows
10233 are not always on top/bottom of the text
10234 (drawLengthMarker): smaller arrows; take the left margin in
10235 account; draw also vfills.
10237 (paintLastRow): remove special code for vfill and standard spaces,
10238 since everything is handled in drawLengthMarker now.
10240 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10242 * buffer.C (insertErtContents): try to handle font and language
10243 interaction a bit better.g
10245 * ColorHandler.C (updateColor): change the hash to cover the whole
10246 LColor enum, ws cleanup
10247 (getGCLinepars): ditto
10248 (getGCLinepars): only lookup in the linecache once.
10250 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10252 * iterators.C (operator++): Make the iterator more robust
10254 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10256 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10258 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10261 * text.C: better added space drawing
10263 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10266 * BufferView2.C: fix layout combo update on inset unlock
10268 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10270 * Makefile.am: don't compile unused files
10272 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10276 * LyXAction.C: remove old LFUN_LAYOUTNO
10278 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10280 * paragraph_pimpl.h:
10281 * paragraph_pimpl.C: isTextAt() doesn't need font param
10283 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10286 * lyxlex.C: little cleanup
10288 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10290 * BufferView_pimpl.C: fix insertAscii for insets
10292 2001-12-05 Juergen Vigna <jug@sad.it>
10294 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10295 set the right font on the "multi" paragraph paste!
10297 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10303 * lyxlength.C: remove out-commented code.
10305 * BufferView_pimpl:
10319 * vc-backend.C: change "while(" to "while ("
10321 * lyxlength.[Ch]: add zero function to check if length is zero or
10323 * lyxgluelength.C: use it
10325 2001-12-05 Allan Rae <rae@lyx.org>
10327 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10328 Works for 2.95.3, from what I understand of Garst's reports this should
10329 work for other g++ versions. We're screwed if the abs(int) definition
10330 changed between bugfix releases of gcc.
10332 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10334 * text.C: fix chapter label offset !
10336 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10339 * text.C: fix hfill at end of line, clean up
10341 2001-12-04 Juergen Vigna <jug@sad.it>
10343 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10344 that we force an update of the inset and it's owners if neccessary.
10346 2001-12-03 Juergen Vigna <jug@sad.it>
10348 * text.C (rowLast): simplified code
10350 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10352 * lyxfunc.C: fix show options on timeout
10354 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10356 * screen.C (topCursorVisible): scroll half a page when the cursor
10357 reached top of bottom of screen
10359 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10361 * minibuffer.C: deactivate on loss of focus
10363 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10365 * vspace.[Ch] (operator!=): add operator.
10367 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10369 * BufferView_pimpl.C: refuse to open an inset when
10370 there's a selection.
10372 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10374 * BufferView_pimpl.C: allow to click on RHS of full row insets
10376 2001-11-30 Juergen Vigna <jug@sad.it>
10378 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10379 insets for undo reasons.
10381 2001-11-28 André Pönitz <poenitz@gmx.net>
10383 * vspace.[Ch]: cosmetical changes
10385 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10395 * kbsequence.C: part re-write of old kb code
10398 * WorkArea.C: remove Lgb_bug_find_hack
10400 2001-11-30 José Matos <jamatos@fep.up.pt>
10402 * buffer.C (makeDocBookFile): add a comment to point a hack.
10403 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10404 Fixed a double write of labels.
10406 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10409 * LaTeX.h Fixed bug in LaTeX class where it would not
10410 re-run latex if no depfiles were changed, but the .dvi was removed.
10412 2001-11-28 André Pönitz <poenitz@gmx.net>
10414 * all the files from the change on 2001/11/26:
10415 use lyx::layout_type instead of LyXTextClass::size_type
10416 use lyx::textclass_type instead of LyXTextClassList::size_type
10418 2001-11-29 Juergen Vigna <jug@sad.it>
10420 * text.C: added support for paragraph::isFreeSpacing()
10422 * buffer.C: same as above
10424 * paragraph.h: inserted isFreeSpacing() function to enable
10425 FreeSpacing inside InsetERT.
10427 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10428 of the paragraph's in the cut/copy buffer to 0!
10430 * text2.C (removeRow): remove the assert as it can!
10432 * lyxtext.h: added helper function firstRow returning firstrow and
10433 made firstrow private again.
10435 * BufferView2.C (lockInset): don't relock if we're already locked!
10437 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10438 the only paragraph.
10439 (removeRow): added Assert::(firstrow)
10441 * debug.C: forgot to add INSETTEXT here.
10443 2001-11-28 Juergen Vigna <jug@sad.it>
10445 * sp_spell.C (initialize): changed error text to more general
10446 spellchecker command use (not only ispell!)
10448 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10450 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10452 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10454 * vspace.C: initialise lyxgluelength on failure
10456 2001-11-28 Allan Rae <rae@lyx.org>
10458 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10459 declaration & definition that looks like a function declaration.
10461 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10463 * BufferView2.C (copy):
10464 (copyEnvironment): do not clear the selection when doing a copy.
10466 * text.C (paintFirstRow): compilation fix
10468 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10470 * tabular.C (Latex): correct line count when writing latex.
10472 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10474 * paragraph_pimpl.h:
10475 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10478 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10482 * LColor.C: change vfillline->added_space
10484 * text.C: add markers and text for added space
10486 * vspace.C: fix comment
10488 2001-11-28 André Pönitz <poenitz@gmx.net>
10490 * paragraph.C: whitespace changes
10491 * all the other files from the change on 2001/11/26:
10492 change *::pos_type into lyx::pos_type
10494 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10496 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10497 language of the document when inserting error insets.
10499 2001-11-26 André Pönitz <poenitz@gmx.net>
10501 * BufferView_pimpl.[Ch]:
10509 * paragraph_pimpl.[Ch]:
10512 * text2.C: reduce header dependencies, introduce type for positions
10514 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10516 * <various>: change to use Alert.h
10518 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10520 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10521 when encountering an unknown token.
10522 (readLyXformat2): Show an error message if there were unknown tokens.
10524 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10527 * BufferView_pimpl.C:
10531 * text2.C: use par->isInset()
10533 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10535 * paragraph_pimpl.h:
10536 * paragraph_pimpl.C: cleanup
10538 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10540 * text2.C (removeRow):
10541 * text.C (setHeightOfRow): remove useless (and costly) call to
10544 2001-11-20 Allan Rae <rae@lyx.org>
10546 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10547 Now need Inset*::checkInsertChar() to return true for appropriate
10548 cases so that the characters in the minibuffer will actually be
10551 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10553 * text.C: change the order of the includes.
10554 (workWidth): initialize it at once.
10555 (workWidth): make maxw unsigned
10556 (setHeightOfRow): remove unused variable (inset)
10557 (selectSelectedWord): remove unused variable (inset)
10558 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10560 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10562 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10563 server is not running.
10565 (closeConnection): add debug info when server is disabled.
10567 * ColorHandler.C (getGCForeground): send debug message to GUI
10570 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10572 * kbmap.C (bind): modify because return conventions of
10573 kb_sequence::parse have changed.
10575 * kbsequence.C (parse): only ignore spaces and not any stupid
10576 control character. This avoids tests like s[i] <= ' ', which are
10577 guaranteed to fail with 8bit characters and signed chars.
10578 Change return code to string::npos when there have been no error
10579 (0 was a bad idea when error is at first character)
10581 2001-11-14 José Matos <jamatos@fep.up.pt>
10584 * buffer.C (simpleDocBookOnePar): removed unused argument.
10586 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10588 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10589 insets which are part of a word. Paragraph::isLetter takes care of
10590 that now. Use Paragraph::isInset to identify insets.
10591 (selectSelectedWord): do not test for hyphenation break.
10593 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10594 that protected spaces are considered as spaces.
10596 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10599 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10602 * lyxserver.C: fix it. and small cleanup.
10604 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10606 * BufferView_pimpl.C: use inline helpers
10609 * LaTeXFeatures.C: fix typos
10612 * Spacing.C: move spacing_string into class
10614 * ToolbarDefaults.C: move stuff into namespace anon
10616 * layout.h: update enum
10618 * lyxfunc.C: use better debug
10620 * minibuffer.h: fix typo
10624 * WorkArea.C: add and use Debug::WORKAREA
10628 * text2.C: code re-organisation, inline helpers
10630 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10632 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10633 std::vector.empty().
10635 2001-11-09 Allan Rae <rae@lyx.org>
10637 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10638 '\n's after tables. Tabular and ERT inset work now makes this no
10641 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10644 * minibuffer.C: fix crash, improve drop-down completion
10646 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10649 * lyxserver.C: invalidate fd's when doing endPipe()
10651 2001-11-08 José Matos <jamatos@fep.up.pt>
10653 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10654 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10657 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10659 2001-11-07 José Matos <jamatos@fep.up.pt>
10662 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10665 * buffer.C (sgmlOpenTag):
10666 * buffer.C (sgmlCloseTag): removed debug info.
10668 * buffer.h (sgmlOpenTag):
10669 * buffer.h (sgmlCloseTag): made public.
10671 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10673 * buffer.C (saveParamsAsDefaults):
10674 * lyx_cb.C (MenuLayoutSave): remove
10676 * LyXAction.C (init):
10678 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10680 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10682 * buffer.C (setPaperStuff): removed from here...
10684 * bufferparams.C (setPaperStuff): ... and moved there.
10686 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10690 * XFormsView.C: add support for drop-down completion
10692 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10694 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10697 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10699 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10702 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10704 * lyx_main.C: change ref to known bugs
10706 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10708 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10709 to work around older babel problems.
10711 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10713 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10715 2001-10-24 Juergen Vigna <jug@sad.it>
10717 * tabular-old.C (ReadOld): below variable changes reflected.
10719 * tabular.[Ch]: added ltType struct for longtable header/footer
10720 defines and changed all instances where they are used. Added
10721 future support for double top/bottom rows.
10723 2001-10-24 José Matos <jamatos@fep.up.pt>
10725 * buffer.h (docbookHandleCaption):
10726 * buffer.C (docbookHandleCaption): removed unused function.
10727 (makeDocBookFile): moved docbook supported version to v4.1.
10729 2001-10-24 José Matos <jamatos@fep.up.pt>
10732 * tabular.C (docbookRow): new function to export docbook code of a row.
10733 (DocBook): now honors the longtable flags.
10735 2001-10-23 José Matos <jamatos@fep.up.pt>
10738 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10739 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10741 * buffer.C (makeLinuxDocFile):
10742 (makeDocBookFile): reworked the preamble, more clean, and with
10743 support for lyx defined entities. Changed the document declaration
10744 to be more XML friendly.
10746 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10747 if we need to output XML that should be done with a filter.
10749 2001-10-22 Juergen Vigna <jug@sad.it>
10751 * sp_pspell.h (class PSpell): add alive function needed in the
10752 controller to see if the spellchecker could be started.
10754 2001-10-22 Juergen Vigna <jug@sad.it>
10756 * buffer.C (insertStringAsLines): modify the font for inserting
10757 chars in certain conditions by calling checkInsertChar(font).
10759 2001-10-19 Juergen Vigna <jug@sad.it>
10761 * text.C (workWidth): use getRow instead of wrong algorithm.
10762 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10764 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10769 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10771 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10773 * text.C (workWidth): do not search for the exact row when
10774 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10775 optimization for big documents.
10777 2001-10-18 Juergen Vigna <jug@sad.it>
10779 * text.C (workWidth): new function with added Inset * parameter.
10781 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10783 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10785 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10786 change return type of getColumnNearX.
10789 * text.C (changeRegionCase): use uppercase/lowercase instead of
10792 (rightMargin): simplify code by factoring out the uses of
10797 (appendParagraph): use Paragraph::size_type
10799 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10801 * vspace.C (asLatexString): add a missing break
10803 2001-10-15 Herbert Voss <voss@perce.de>
10805 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10807 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10809 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10812 2001-10-10 André Pönitz <poenitz@gmx.net>
10814 * lyxfunc.C: removed greek_kb_flag.
10816 2001-10-10 Herbert Voss <voss@perce.de>
10818 * lyx_main.C: delete global string help_lyxdir.
10820 2001-10-09 Herbert Voss <voss@perce.de>
10822 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10824 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10826 * lyx_main.C: added global string help_lyxdir.
10828 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10830 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10832 * lyxrc.C (set_font_norm_type): support iso8859-4
10834 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10836 * LaTeX.C (deplog): add another regex for MikTeX
10838 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10840 * lyxrc.C (set_font_norm_type): support iso8859-3
10842 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10844 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10846 * LaTeXFeatures.C: remove special case of french and index
10848 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10849 before \begin{document}). This solves several incompatibilities.
10851 2001-10-03 Garst Reese <reese@isn.net>
10853 * lyx_cb.C: change CheckTex error msg.
10855 2001-10-03 José Matos <jamatos@fep.up.pt>
10857 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10859 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10861 * .cvsignore: update
10863 * lyx_main.C (commandLineVersionInfo): use new style version info.
10865 * buffer.C (writeFile):
10867 (makeLinuxDocFile):
10868 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10870 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10872 * version.h: update to use stuff in version.C
10874 * version.C.in: new file. Contains version information determined
10875 at compile time. This is a merging of version.h and
10878 2001-10-03 Juergen Vigna <jug@sad.it>
10880 * BufferView_pimpl.C (update): don't change "dirty" status in
10883 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
10885 * WorkArea.C (c-tor): re-position version string slightly.
10887 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
10889 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10890 revert to previous code.
10892 WorkArea.[Ch]: (show, destroySplash): methods removed.
10894 WorkArea.C: rework code so that it's an amalgam of the codes before and
10895 after the splash screen was moved to WorkArea.
10897 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10900 * vspace.C (inPixels):
10903 * buffer.C (insertStringAsLines):
10904 (asciiParagraph): fix types to be large enough
10906 * lyxlex_pimpl.h: change member status from short to int
10908 * layout.h: fix type of endlabeltype
10911 * kbsequence.C (parse): change return type to string::size_type
10913 * LaTeX.C (updateBibtexDependencies): comment out unneeded
10916 * Bullet.C (bulletSize):
10917 (bulletEntry): do not use short ints as parameters
10919 * BufferView2.C (insertLyXFile): change a char to an int.
10921 * WorkArea.C (WorkArea): remove unneeded floats in computation
10923 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
10925 * buffer.C (asciiParagraph): Treat '\\' as other chars.
10927 * paragraph.C (asString): Do not ignore newline/hfill chars when
10928 copying to the clipboard.
10930 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
10932 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10933 after a multi-line inset.
10935 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
10937 * paragraph.C (validate): Set NeedLyXFootnoteCode
10939 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10941 * lyxfont.C (LyXSizeNames): changed increase-error to increase
10942 and decrease-error to decrease.
10944 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10946 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10947 it more readable (should be equivalent)
10949 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
10951 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10953 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10955 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10956 of a cursor (row, etc.) after a character has been deleted
10957 (deleteEmptyParagraphMechanism): call the method above on _all_
10958 cursors held by the LyXText when a double space has been
10961 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
10963 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10965 (resizeCurrentBuff): remove code to destroy the old splash dialog.
10967 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10968 background. Use greyOut() and the new show() methods to toggle between
10969 the foreground and background. Add code to remove the splash after
10970 its initial showing.
10972 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10973 (create_forms): no longer call Dialogs::showSplash.
10975 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10977 * .cvsignore: add version_info.h
10979 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10981 * version_info.h.in: new file
10983 * Makefile.am: add version_info.h.in
10985 * lyx_main.C (commandLineVersionInfo): use version_info defined in
10986 version_info.h instead of VERSION_INFO
10988 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
10990 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10991 The ERT inset now returns string().
10993 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
10995 * lyxtext.h, text.C (selectNextWord): renamed as
10996 selectNextWordToSpellcheck.
10998 * text.C (selectNextWordToSpellcheck): Modified to not select
10999 words inside an ERT inset.
11001 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11003 * lyx_cb.C (MenuLayoutSave): change a bit the question
11005 * sp_base.h: include <sys/types.h>
11007 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11009 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11011 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11013 * several files: fix typos in user-visible strings
11015 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11017 * text2.C (pasteSelection): do not set the selection, since it
11018 will be cleared later. Actually, the intent was to fix the way the
11019 selection was set, but I figured rmoving the code was just as good.
11021 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11023 * FontLoader.C (available): Check if font is available without
11026 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11028 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11030 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11032 * lyxrc.[Ch]: added display_graphics variable and associated code.
11034 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11036 * bufferparams.C (hasClassDefaults): new method. Returns true if
11037 the buffer parameters correspond to known class defaults
11039 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11041 * XFormsView.C (show): set minimum size to the main window.
11043 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11045 * text2.C (copySelection):
11047 * lyxfind.C (LyXReplace):
11048 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11049 LyXText::selectionAsString.
11051 * paragraph.C (asString): add "label" argument to the second form
11053 * text2.C (selectionAsString): add "label" argument and pass it to
11054 Paragraph::asString.
11056 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11058 * lyx_main.C (commandLineHelp): remove version information
11060 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11062 * lyx_main.C: add -version commandline option
11064 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11066 * paragraph.h: make the optional constructor arg required instead.
11067 some modifications to other files because of this.
11069 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11071 * lyxserver.C (C_LyXComm_callback): make it static
11073 * lyx_main.C (error_handler): make it static
11075 * lyx_gui.C (LyX_XErrHandler): make it static
11077 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11079 * WorkArea.C: make the extern "C" methods static.
11081 * Makefile.am (lyx_LDADD): simplify
11083 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11085 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11086 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11088 * LyXAction.C (init):
11089 * lyxfunc.C (dispatch): associated code removal.
11091 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11093 * lyxfont.h (isSymbolFont): shut off warning
11095 * text.C (setHeightOfRow):
11096 (getVisibleRow): fix crash with empty paragraphs which have a
11099 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11101 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11104 2001-09-04 José Matos <jamatos@fep.up.pt>
11107 * tabular.C (docbook): rename docBook method to docbook.
11109 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11111 * Makefile.am: add dependencies to main.o.
11113 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11115 * FontLoader.C (available): Return false if !lyxrc.use_gui
11117 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11119 * FontInfo.C (query):
11120 * converter.C (view):
11121 * importer.C (Import):
11122 * exporter.C (Export): Can not -> cannot.
11124 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11126 * BufferView_pimpl.C: allow to create index inset even if
11129 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11131 * buffer.C (getLists): replace boost::tie code with an explicit pair
11132 as boost::tie can break some compilers.
11134 * iterators.h: Added a std:: declaration to the return type of
11137 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11139 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11142 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11144 * iterators.[Ch]: New files. Provide paragraph iterators.
11146 * buffer.C (changeLanguage): Use paragraph iterators.
11147 (isMultiLingual): ditto
11149 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11151 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11153 * FontLoader.C: Support for cmr font.
11155 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11157 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11158 (available): New method.
11160 * FontInfo.C (getFontname): Use scalable fonts even when
11161 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11164 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11166 * converter.C (Formats::view): reverted! Incorrect fix.
11168 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11170 * converter.C (Formats::view): only output the -paper option
11171 if the dvi viewer is xdvi, thereby fixing bug #233429.
11173 2001-08-23 Herbert Voss <voss@perce>
11175 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11177 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11179 * Spacing.h (Spacing): Set space to Default on in the default
11182 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11184 * vc-backend.h (RCS::versionString): add RCS to version
11185 (CVS::versionString): add CVS to version
11187 * vc-backend.C (scanMaster): do not add CVS to version.
11188 (scanMaster): do not add RCS to version
11190 * lyxvc.C (versionString): new method
11192 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11194 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11196 * Spacing.C (set): initialize fval
11198 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11200 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11203 2001-08-16 Juergen Vigna <jug@sad.it>
11205 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11207 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11209 * BufferView_pimpl.C:
11212 * text2.C: setParagraph takes linespacing now
11214 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11216 * LyxAction.C: add internal LFUN_CITATION_INSERT
11218 * LyXView.C: actually apply fix
11220 * bufferlist.C: fix open non-existent file
11222 * lyxfind.C: fix indentation
11224 * lyxfunc.C: remove unneeded assert, fix typo
11226 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11228 * MenuBackend.C: use "Floatname List"
11230 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11232 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11233 when converting LaTeX layout to insetERT.
11234 Generate a non-collapsed float when reading old float
11236 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11238 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11241 2001-08-13 Juergen Vigna <jug@sad.it>
11243 * text.C (fill): return 0 instead of 20 as this seems to be the more
11246 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11248 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11251 2001-08-13 Juergen Vigna <jug@sad.it>
11253 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11255 (SearchBackward): comment out the unlocking of the inset_owner this
11256 should not be needed!
11258 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11260 * Many files: Remove inherit_language, and add latex_language
11262 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11263 collapsible insets.
11265 2001-08-10 Juergen Vigna <jug@sad.it>
11267 * text.C (prepareToPrint): fixed hfill-width in draw!
11269 * BufferView2.C (selectLastWord): save the selection cursor as this
11270 now is cleared in the function LyXText::clearSelection!
11272 2001-08-08 Juergen Vigna <jug@sad.it>
11274 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11275 BACKSPACE type functions.
11277 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11278 is only cutted from the document but not put in the cut-buffer, where
11279 still the old stuff should be.
11281 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11283 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11285 * tabular.C (SetWidthOfCell): fixed special case where the width
11287 (LeftLine): handle '|' in align_special.
11289 (LeftAlreadyDrawed): ditto
11290 (SetWidthOfCell): ditto
11292 2001-08-07 Juergen Vigna <jug@sad.it>
11294 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11296 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11298 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11299 * lyxlex.[hC]: ditto
11301 2001-08-06 Juergen Vigna <jug@sad.it>
11303 * text.C (getVisibleRow): fix up row clearing a bit.
11305 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11307 * minibuffer.C: make sure the X server sees the changes in the input.
11309 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11311 * paragraph.C (getFont): split into...
11312 (getLabelFont): this
11313 (getLayoutFont): and this
11314 * paragraph_pimpl.C (realizeFont): calling this
11316 * text2.C (getFont): split into...
11317 (getLayoutFont): this
11318 (getLabelFont): and this
11319 (realizeFont): all three calling this
11321 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11324 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11326 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11328 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11330 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11331 layouts from the Quote inset insertion.
11333 2001-08-03 Juergen Vigna <jug@sad.it>
11335 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11337 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11338 only if status not is already CHANGED_IN_DRAW (second level).
11340 * text.C (draw): don't set the need_break_row when inside an
11343 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11345 * buffer.C (parseSingleLyXformat2Token): handle more latex
11348 * bufferview_funcs.[hC]: change function names to
11349 begin with small char, adjust other files.
11351 2001-08-02 André Pönitz <poenitz@gmx.net>
11354 BufferView_pimpl.C: remove broken special code for math-greek
11356 2001-08-02 Juergen Vigna <jug@sad.it>
11358 * BufferView_pimpl.C (update): redone this function so that we
11359 update the text again if there was a CHANGE_IN_DRAW.
11361 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11362 (drawFromTo): added a new internal bool which is used by draw() and
11364 (general): some cursor drawing problems fixed.
11366 2001-08-01 Juergen Vigna <jug@sad.it>
11368 * lyxfind.C (LyXFind): fixed
11369 (SearchForward): ditto
11370 (SearchBackward): ditto
11372 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11373 spurius drawing of the cursor in the main area.
11375 * text2.C (status): small fix which could lead to a segfault!
11376 (clearSelection): remove unneeded BufferView param.
11378 2001-08-01 André Pönitz <poenitz@gmx.net>
11380 * lyxfunc.C: small change due to changed mathed interface
11382 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11384 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11386 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11388 * lyxfunc.c: fail gracefully if file doesn't exist
11393 * BufferView_pimpl.C: IsDirWriteable() proto changed
11395 * LyXView.C: fix updateWindowTitle() to store the last title
11397 2001-07-31 Juergen Vigna <jug@sad.it>
11399 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11400 the font (wrong since using of Paragraph::highestFontInRange).
11402 * paragraph.C (highestFontInRange): added a default_size parameter.
11404 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11405 (setHeightOfRow): reformat
11407 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11409 * converter.[hC] + affected files: move to (inital-char)lowercase
11412 * ParagraphParameters.C (ParagraphParameters): remove commented code
11414 * PainterBase.[Ch]: remove commented code
11416 * LaTeXFeatures.h: add "bool floats" for float.sty
11418 * LaTeXFeatures.C (LaTeXFeatures): init floats
11419 (require): handle float
11420 (getPackages): do it with floats
11422 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11424 * BufferView_pimpl.C (Dispatch): improve handling of
11425 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11427 * commandtags.h: #include lyxfont.h here temporarily to avoid
11430 * bufferlist.h: include LString.h here.
11432 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11434 * text2.C (getStringToIndex): new method.
11436 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11438 * *: Reduced header file dependencies all over.
11440 2001-07-30 Baruch Even <baruch@lyx.org>
11442 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11444 2001-07-29 Baruch Even <baruch@lyx.org>
11446 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11448 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11450 * ParameterStruct.h (endif): add a default constructor to make
11451 sure that all variables is initialized.
11453 * ParagraphParameters.C (ParagraphParameters): adjust
11455 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11457 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11458 index; also, check that there is something to index, and that it
11459 does not span over several paragraphs.
11460 (doubleClick): use WHOLE_WORD_STRICT for double click.
11462 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11464 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11467 2001-07-26 Baruch Even <baruch@lyx.org>
11469 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11470 an InsetFig figure, backwards compatible reading of old figure code.
11472 2001-07-27 Juergen Vigna <jug@sad.it>
11474 * text2.C: font.realize function adaption.
11476 * text.C (draw): add a warnings lyxerr text if needed.
11478 * layout.C: font.realize function adaption.
11480 * language.C: add inherit_language and implement it's handlings
11482 * bufferview_funcs.C (StyleReset): remove language parameter from
11483 font creation (should be language_inherit now).
11485 * bufferparams.C (writeFile): handle ignore_language.
11487 * paragraph.C (getFontSettings): the language has to be resolved
11488 otherwise we have problems in LyXFont!
11490 * lyxfont.C (lyxWriteChanges): added document_language parameter
11491 (update): removed unneeded language parameter
11493 * paragraph.C (validate): fixed wrong output of color-package when
11494 using interface colors for certain fonts in certain environments,
11495 which should not seen as that on the final output.
11497 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11499 * BufferView_pimpl.C:
11504 * LyXAction.C: add thesaurus support
11507 * lyxfind.C: add "once" parameter, for thesaurus, to not
11508 move to the next match
11510 2001-07-26 Juergen Vigna <jug@sad.it>
11512 * lyxfont.C (realize): honor ignore_language too!
11515 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11517 * text.C (draw): one place more for ignore_language to not draw
11520 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11522 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11524 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11526 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11527 the minipage conversion problem.
11529 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11531 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11534 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11536 * BufferView.h: don't forward declare WorkArea
11538 * BufferView.C: don't include WorkArea.h
11540 2001-07-25 André Pönitz <poenitz@gmx.net>
11544 * lyxfunc.C: new LFUN 'math-space'
11546 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11548 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11550 * text2.C (toggleInset): call open/close
11552 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11554 * lyxfunc.C (dispatch): add debug for the disabled case
11556 * font.C (buttonText): make similar to rectText
11558 * buffer.C (readInset): comment out parsing of insetlist and
11561 * PainterBase.C (rectText): small correction
11563 * BufferView_pimpl.C: comment out insettheorem and insetlist
11564 * LyXAction.C: ditto
11565 * commandtags.h: ditto
11567 2001-07-24 Juergen Vigna <jug@sad.it>
11569 * text.C (draw): honor the ignore_language.
11571 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11573 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11575 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11578 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11580 * lyxtext.h: remove unused (and unimplemented) methods
11582 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11584 * text.C (getVisibleRow): honor background color
11587 * Painter.h: remove default color argument for fillRectangle
11589 * text.C (backgroundColor): new method
11591 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11593 * text.C (getVisibleRow): adjust
11595 * font.[Ch] (rectText): new method, metrics
11596 (buttonText): new method, metrics
11598 * PainterBase.[hC]: make rectText and buttonText always draw and take
11601 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11603 * ToolbarDefaults.C (read):
11604 * MenuBackend.C (read): allow escaping in all strings
11606 * BufferView_pimpl.C (insertAndEditInset): new method.
11607 (Dispatch): use insertAndEditInset whenever appropriate.
11609 * BufferView_pimpl.C (insertNote): removed
11611 * BufferView_pimpl.C (smartQuote): new method, moved from
11612 BufferView; if an insetquote cannot be inserted, insert a '"'
11615 * BufferView2.C: remove insertCorrectQuote();
11617 * lyxfunc.C (getStatus): Add support for all remaingin
11618 inset-insert lfuns.
11620 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11622 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11623 command (necessary to pass " as parameter of self-insert.
11625 * text.C (selectWordWhenUnderCursor):
11626 (selectWord): add word_location parameter
11627 (selectWordWhenUnderCursor): same + remove special code for word
11629 (selectNextWord): use kind() to guess type of insetspecialchar,
11632 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11633 (insertErtContents): create ert insets as collapsed.
11634 (readInset): better compatibility code for Info inset.
11636 2001-07-20 Juergen Vigna <jug@sad.it>
11638 * lyxfunc.C (dispatch): use always LyXFind now!
11640 * text2.C (init): add a reinit flag so that the LyXText can be
11641 reinited instead of deleted and reallocated (used in InsetText).
11643 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11649 2001-07-18 Juergen Vigna <jug@sad.it>
11651 * text.C (selectNextWord): handle insets inside inset by calling
11652 always the bv->text functions so that we can go up the_locking_inset!
11654 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11655 in strange locations when inside an inset!
11657 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11658 handling to include insets.
11660 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11662 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11664 * LyXAction.C (init):
11666 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11667 LIGATURE_BREAK, since the name is so stupid.
11669 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11671 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11674 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11676 * sp_form.[Ch]: remove.
11678 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11680 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11683 * src/buffer.C (readInset): ditto.
11685 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11687 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11688 menuSeparator(), endOfSentenceDot(), ldots() and
11689 hyphenationPoint(), which are therefore removed.
11690 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11692 * LyXAction.C (init):
11693 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11695 * paragraph.C (getWord): removed.
11697 * BufferView_pimpl.C (Dispatch): use last word or selection for
11698 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11700 * lyx_main.C (queryUserLyXDir): do not ask before creating
11701 user_dir, except if it has been named explicitely.
11703 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11705 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11706 a document of zero size.
11708 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11710 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11711 approriately in the c-tor and in require().
11712 (getPackages): output the appropriate LaTeX for natbib support.
11714 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11715 variables "use_natbib" and "use_numerical_citations" when reading the
11717 (readInset): read the various natbib cite commands.
11718 (validate): white-space change.
11720 * bufferparams.[Ch]: new variables "bool use_natbib" and
11721 "bool use_numerical_citations".
11722 (writeFile): output them in the LyX file.
11724 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11726 * lyxfunc.C (getStatus): add support for all the inset insertion
11729 * text2.C (insertInset):
11730 * paragraph.C (insetAllowed):
11731 * BufferView_pimpl.C (insertInset): update to take in account the
11732 renaming of insertInsetAllowed
11734 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11736 * text2.C (getInset): new method. returns inset at cursor position.
11738 * BufferView_pimpl.C (Dispatch): changes because of this.
11740 * LyXAction.C (init): rename open-stuff to inset-toggle.
11742 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11744 * text2.C (toggleInset): renamed from openStuff; use
11747 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11749 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11751 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11753 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11755 * buffer.C (readLyXformat2): Add filename to the error dialog
11757 2001-07-18 Juergen Vigna <jug@sad.it>
11759 * tabular.C (GetCellNumber): put an assert here instead of the check!
11761 2001-07-17 Juergen Vigna <jug@sad.it>
11763 * BufferView_pimpl.C (toggleSelection): adapted too.
11765 * text.C (selectNextWord): adapted for use with insets.
11766 (selectSelectedWord): ditto
11768 2001-07-17 Juergen Vigna <jug@sad.it>
11770 * sp_spell.C (PSpell): fix initialitation order.
11772 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11774 * paragraph.C: spacing
11776 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11778 * sp_spell.C: repair language selection for pspell
11780 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11782 * lyxfunc.h: change more methods to begin with lower char.
11784 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11786 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11787 for unknown layouts.
11789 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11791 * buffer.C (readLyXformat2): Generate an error dialog if there are
11794 2001-07-16 Juergen Vigna <jug@sad.it>
11796 * sp_spell.C: always compile ISpell part.
11798 * lyxrc.C: added use_pspell entry and it's handling.
11800 2001-07-13 Juergen Vigna <jug@sad.it>
11802 * sp_spell.C: removed double includes.
11804 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11806 Consistent use of Lsstream.h:
11807 * Lsstream.h: added using std::stringstream for consistencies sake.
11809 * buffer.C: removed using std::stringstream
11811 * lyxfont.C (stateText):
11812 * paragraph.C (asString):
11813 * text.C (selectNextWord, selectSelectedWord):
11814 * text2.C (setCounter):
11815 * vspace.C (asString, asLatexString):
11816 std::ostringstream -> ostringstream.
11818 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11820 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11821 * commandtags.h: add LFUN_HELP_ABOUTLYX
11822 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11824 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11826 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11828 * lyx_gui_misc.C: remove spellchecker
11829 * lyxfunc.C: showSpellchecker
11831 * sp_ispell.h: added
11832 * sp_pspell.h: added
11833 * sp_spell.C: added
11834 * sp_form.[Ch]: removed
11835 * spellchecker.[Ch]: removed
11837 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11839 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11841 (simpleTeXSpecialChars): Simply print the input character without
11842 any special translation if pass_thru is set.
11844 * layout.h: Added bool pass_thru to layout class for being able to
11845 implement pass through of a paragraph for Literate Programming.
11847 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11848 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11849 * layout.C (Read): add "passthru" to list of layout tags and add
11850 code to set the pass_thru boolean when it is read.
11852 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11854 * trans_decl.h: remove allowed from KmodInfo
11856 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11857 remove allowed code
11860 * paragraph_pimpl.C (erase): use boost::prior
11862 * Painter.C (text): use data() instead of c_str() when length is
11864 * WorkArea.C (putClipboard): ditto
11865 * font.h (width): ditto
11867 * BufferView2.C: use it-> instead of (*it). for iterators
11869 * paragraph_pimpl.C: ditto
11870 * paragraph.C: ditto
11871 * minibuffer.C: ditto
11872 * language.C: ditto
11874 * encoding.C: ditto
11875 * counters.C: ditto
11876 * converter.C: ditto
11878 * Variables.C: ditto
11879 * TextCache.C: ditto
11880 * MenuBackend.C: ditto
11881 * LyXAction.C: ditto
11883 * FloatList.C: ditto
11884 * DepTable.C: ditto
11885 * ColorHandler.C (LyXColorHandler): ditto
11887 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11889 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11891 * text2.C (openStuff): reintroduce this method (which had been
11892 nuked in NEW_INSETS frenzy).
11894 * lyxfunc.C (Dispatch): when an action has not been handled, use
11895 its name in the error message, not its number.
11897 * paragraph.C (inInset): change method name to begin with lowercase.
11900 * text2.C: updates because of this.
11902 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11904 * ToolbarDefaults.C (add): add spaces in error message
11906 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11908 * buffer.C (readLyXformat2): initialize the ert comp. variables.
11909 (readLyXformat2): rename return_par to first_par, use lyxlex's
11910 pushToken and remove the manual push handling.
11911 (parseSingleLyXformat2Token): add another ert comp. variable:
11912 in_tabular, rename return_par to first_par. handle newlines better
11914 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11916 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11918 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11920 * text2.C (getParFromID): removed
11922 * buffer.C (getParFromID): new method moved form lyxtext.
11923 * BufferView2.C (insertErrors): adjust
11924 (setCursorFromRow): adjust
11925 * BufferView_pimpl.C (restorePosition): adjust
11926 * lyxfunc.C (Dispatch): adjust
11927 * undo_funcs.C (textUndo): adjust
11929 (textHandleUndo): adjust
11930 (textHandleUndo): adjust
11932 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11934 * buffer.C: up' the LYX_FORMAT
11936 * lyxfont.h: turn NO_LATEX on as default
11938 * buffer.C (insertErtContents): new methods of tex style compability.
11939 (parseSingleLyXformat2Token): use it several places.
11940 * tabular.C (OldFormatRead): and here
11942 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11944 * text2.C: remove some commented code.
11947 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11948 * trans.C: changes because of the above.
11950 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
11952 * text2.C (setCounter): Fix counters bug with bibliography layout.
11954 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11956 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11957 own member functions
11958 (simpleTeXSpecialChars): ditto
11960 2001-07-06 Juergen Vigna <jug@sad.it>
11962 * a lot of files: changed the access to LyXText::status and the
11963 call of undo-functions.
11965 * undo.[Ch]: added a inset_id to the undo informations.
11967 * undo_funcs.[Ch]: added and moved here all undo functions.
11969 * lyxtext.h: give the status enum a weight, made status_ a private
11970 variable and made accessor functions for it, removed the whole bunch
11971 of undo-functions as they are now in their own file, make some
11972 functions publically available. Added function ownerParagraph with
11975 * paragraph.[Ch]: added "bool same_ids" to the constructor,
11976 made InInset() a const function, added getParFromID() function.
11978 * buffer.[Ch]: added const version for inset_iterator functions,
11979 added getInsetFromID() function.
11981 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11982 changed undo functions for new version.
11984 2001-07-05 Juergen Vigna <jug@sad.it>
11986 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11987 unknow mechanism does not call the proper constructor but only this
11988 one also if I request the other!?
11990 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11992 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11994 * text2.C (LyXText): use initialization lists.
11996 * lyxtext.h (Selection): initialize set_ and mark_
11997 (init): remove method
11999 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12001 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12003 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12005 * screen.[Ch]: change method names to begin with lowercase
12007 * BufferView_pimpl.C (updateScrollbar): simplify further and
12008 hopefully make it a bit faster.
12010 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12012 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12013 calling directly xforms functions.
12015 * Painter.C (Painter):
12016 * lyx_cb.C (MenuWrite):
12017 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12020 * lyx_gui.C: remove bogus guiruntime extern declaration.
12022 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12024 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12026 (redoDrawingOfParagraph): ditto
12027 (redoParagraphs): ditto
12028 (cutSelection): don't create a object for CutAndPaste use the
12029 static method directly
12030 (pasteSelection): ditto
12032 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12035 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12037 * modifications to some other files because of this.
12039 * Makefile.am (lyx_SOURCES): add XFormsView
12041 * XFormsView.[Ch]: new files
12043 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12044 the main window. Move the gui dependent stuff to XFormsView
12046 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12048 * tabular.C (GetCellInset): update cur_cell also in the row/col
12049 version of this function.
12051 * lyxfunc.C: no need to include figure_form.h here.
12057 * lyxvc.C: no need to include forms.h here.
12059 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12061 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12063 * lyxfunc.C (Dispatch):
12065 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12066 constructor argument.
12068 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12070 * paragraph.C (Paragraph): dont't clear, and just set layout.
12071 (makeSameLayout): use params's copy contructor.
12073 * ParagraphParameters.[Ch] (makeSame): delete method
12075 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12077 * Variables.[Ch]: fix indentation, rename set to isSet
12079 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12081 * lyxfunc.C (Dispatch): fix typo
12083 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12085 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12088 * bufferlist.C: include assert.h for emergencyWrite().
12090 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12092 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12093 give up at last (bug #425202) !
12095 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12101 * spellchecker.C: strip spellchecker options and bring up
12102 preferences tab instead
12104 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12106 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12107 the istringstream constructor
12109 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12111 * paragraph.C (getLayout): fix return value
12113 * paragraph.h: do not declare getLayout as inline.
12115 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12117 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12119 * lyxcursor.h (operator<): new func
12120 (operator>): new func
12121 (operator>=): new func
12122 (operator<=): new func
12124 * text.C (changeCase): use selection.start and selection.end
12125 (changeRegionCase): require from to be <= to. Require par to be a
12128 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12130 2001-06-27 Juergen Vigna <jug@sad.it>
12132 * text.C (cursorLeftOneWord): changed to return the cursor and added
12133 overlay with BufferView * parameter which calls this one.
12135 (selectWord): use new getWord function.
12136 (changeCase): renamed from changeWordCase as and extended to work
12137 also on selections.
12139 * lyxtext.h: added enum word_location
12141 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12142 changeCase as this operates now also on selections.
12144 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12146 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12148 * many files: send debug output to Debug::INFO instead of
12151 * converter.C (View):
12153 (Move): send debug output to Debug::FILES instead of console.
12155 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12157 * lyxfunc.C (getStatus): use func_status
12159 * func_status.h: new header, describing the results of
12160 LyXFunc::getStatus;
12162 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12165 2001-06-25 The LyX Project <jug@sad.it>
12167 * buffer.C (sgmlOpenTag):
12169 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12171 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12173 * text2.C: remove some dead code
12175 * tabular.C (GetCellInset): store the last cell checked (gotten)
12177 * tabular.h: add the helper for the speedup
12179 * lyxtext.h: remove some dead code
12181 2001-06-26 The LyX Project <Asger>
12183 * paragraph.C: Change export to LaTeX of alignment to
12184 \begin{center} and family for better roundtrip work with reLyX.
12186 * Tune the math drawing a bit.
12188 2001-06-25 The LyX Project <Asger>
12190 * LColor.C (LColor): New color for math background. New color
12193 2001-06-25 The LyX Project <jug@sad.it>
12195 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12197 * lyxfunc.C (Open):
12198 * bufferlist.C (newFile): do not restrict to files ending with
12201 * BufferView_pimpl.C (MenuInsertLyXFile):
12203 2001-06-24 The LyX Project <jug@sad.it>
12205 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12208 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12210 * lyxtext.h: rename most methods to begin with a small char.
12211 Lots of changes because of this.
12213 * paragraph.C (Paragraph): do not call fitToSize
12214 (erase): call Pimpl::erase
12215 (insertChar): call Pimpl::insertChar
12216 (insertInset): call Pipl::insertInset
12217 (breakParagraph): do not call fitToSize
12218 (breakParagraphConservative): do not call fitToSize
12219 (fitToSize): remove method
12221 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12223 2001-06-24 The LyX Project <Asger>
12225 * Fix Qt compilation^2
12227 2001-06-24 The LyX Project <jug@sad.it>
12229 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12230 depthHook(getDepth()-1).
12233 * ParagraphParameters.h:
12234 * ParameterStruct.h: change type of depth to unsigned int ==
12235 depth_type. Many adaptations to other files before of that.
12237 2001-06-24 The LyX Project <Asger>
12239 * Fix Qt compilation.
12241 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12243 * paragraph.h: renamed several methods to begin with small letter.
12244 several changes to many parts of the code because of this.
12246 2001-06-23 The LyX Project <jug@sad.it>
12248 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12249 rewritten to discard all double spaces when KeepEmpty is off
12250 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12251 to only handle newlines but not fiddle with spaces and friends.
12253 * lyxfunc.C (MenuNew): when doing 'new from template', use
12254 template_path as default directory
12256 2001-06-23 The LyX Project <Asger>
12258 * Clean-up of header file includes all over
12259 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12261 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12263 * paragraph.h: renamed from lyxparagraph.h
12265 2001-06-23 Asger <lyx@violet.home.sad.it>
12267 * Buffer.h: Removed Buffer::resize
12268 * BufferList.h: Removed BufferList::resize
12269 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12270 the document lazily when we change the width, or the font settings.
12272 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12274 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12276 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12278 * buffer.h: remove out of date comment
12280 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12283 * screen.C: fix "theoretical" GC leak
12285 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12287 * LaTeX.C (scanAuxFile):
12288 (deplog): remove trailing \r when reading stream (useful under
12291 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12293 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12294 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12295 and BufferView::theLockingInset(Inset*), so should use them and not
12296 access bv_->text->the_locking_inset directly.
12298 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12300 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12303 * tex-defs.h: remove old unused file
12305 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12307 * BufferView_pimpl.C: fix typo, remove minibuffer message
12308 when buffer has loaded
12310 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12312 * lyxfunc.C (Dispatch): use stringstream
12313 (MenuNew): use stringstream
12314 (Open): use stringstream
12316 * importer.C (Import): use stringstream
12318 * bufferview_funcs.C (CurrentState): use stringstream
12320 * LaTeX.C (run): use stringstream
12322 * BufferView_pimpl.C (savePosition): use stringstream
12323 (restorePosition): use stringstream
12324 (MenuInsertLyXFile): use stringstream
12326 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12339 * vspace.C: removed // -*- C++ -*- as first line.
12342 * version.h: added // -*- C++ -*- as first line.
12344 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12346 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12348 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12351 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12353 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12356 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12358 * gettext.C: include LString.h even when --disable-nls is on.
12360 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12362 * converter.h (Get): changed argument type from int to
12363 FormatList::size_type to avoid unnecessary conversion.
12365 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12368 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12370 * gettext.h: include LString.h even when --disable-nls is on.
12372 2001-06-07 Juergen Vigna <jug@sad.it>
12374 * text.C (BreakAgain): subst spaces with tabs.
12376 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12377 (resizeInsetsLyXText): set force on resizeLyXText.
12379 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12381 * gettext.h (gettext_init):
12382 (locale_init): use a real definition instead of a macro
12384 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12386 * Bufferview_pimpl.C:
12388 * LColor.C: further lcolor tidies
12390 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12392 * BufferView_pimpl.C (updateScrollbar): simplify.
12394 * BufferView2.C: don't include insets/insetinfo.h, change
12395 prototype for insertInset and call the Pimpl version. let
12396 updateInset call Pimpl version.
12398 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12399 gotoInset to BufferView::Pimpl
12401 2001-06-01 Juergen Vigna <jug@sad.it>
12403 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12404 inside a LockingInset (is the update needed at all?).
12406 2001-05-31 Juergen Vigna <jug@sad.it>
12408 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12409 here not the old one otherwise how should we compare it afterwards
12412 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12417 * FontInfo.C: bring C functions into global namespace when
12420 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12422 * LString.h: make sure config.h has been loaded before LString.h.
12424 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12425 (one for each char read by EatLine!).
12427 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12430 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12432 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12433 to the same as the par we break from
12435 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12437 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12439 * MenuBackend.C (expand): also create menu entries for wide
12440 versions of the floats.
12442 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12444 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12446 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12447 frontends/Makefile.am
12453 * tabular.C (getTokenValue): add std::
12455 * tabular-old.C (getTokenValue): add std::
12456 (getTokenValue): ditto
12457 (getTokenValue): ditto
12459 * screen.C (ToggleSelection): adjust
12461 * lyxtext.h: put selection cursors inside a Selection struct.
12463 * lyxfunc.C (moveCursorUpdate): adjust
12465 * lyxfont.C (latexWriteStartChanges): add std::
12467 * lyxfind.C: adjust
12469 * font.h: delete with(char const *, LyXFont const &)
12471 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12473 * FontInfo.C (getFontname): add std::
12475 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12476 (workAreaButtonPress): adjust
12477 (tripleClick): adjust
12479 (moveCursorUpdate): adjust
12482 * BufferView2.C (gotoInset): adjust
12484 2001-05-30 Juergen Vigna <jug@sad.it>
12486 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12487 to check pspell I add this as default as I now have new pspell
12488 libraries and they seem to use this.
12490 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12492 * text2.C (CutSelection): make the cursor valid before the call to
12495 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12497 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12498 relied on 0 terminated strings and other horrors. Bug found due to
12499 the new assert in lyxstring!
12501 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12504 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12506 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12509 * lyxfunc.C (processKeySym): change method of getting to the
12512 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12513 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12514 * BufferView_pimpl.[Ch]: here as private methods.
12516 2001-05-28 Juergen Vigna <jug@sad.it>
12518 * text.C (SetHeightOfRow): added the update() call again as it is
12519 needed to initialize inset dimensions!
12521 2001-05-16 Juergen Vigna <jug@sad.it>
12523 * text2.C (SetCharFont): Add new function with BufferView * and
12524 bool toggleall parameters for setting insets internal fonts.
12525 (SetFont): Freeze the undo as we may change fonts in Insets and
12526 all this change should be inside only one Undo!
12528 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12529 setting font's in insets as for them we have the SetFont function!
12531 2001-05-15 Juergen Vigna <jug@sad.it>
12533 * text2.C (ClearSelection): to be sure we REALLY don't have any
12536 * tabular.C (TeXCellPreamble): fixed the left border problem for
12539 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12541 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12544 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12546 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12547 LFUN_BREAKPARAGRAPH.
12549 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12550 help test to "internal only", similar for LFUN_INSERT_URL
12552 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12553 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12554 auto_region_delete and deadkeys.
12556 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12559 * LColor.C: remove some dead entries, tidy a little
12561 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12563 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12565 (Dispatch): implement LFUN_ESCAPE
12567 * commandtags.h: add LFUN_ESCAPE
12569 * LyXAction.C (init): add entry for LFUN_ESCAPE
12571 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12572 Remove commented code.
12573 (insertNote): moved here
12574 (open_new_inset): moved here
12576 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12579 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12581 * kbmap.C (findbinding): clean it up and make it work correctly.
12583 * lyx_main.C (init): do not pass argc and argv as parameters
12585 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12587 * buffer.C: fix path for OS/2 & Win32
12591 * lyx_main.C: Added os:: class.
12593 * os2_defines.h: update
12595 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12597 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12598 better by trying again with reduced state.
12600 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12602 * lyxrc.C (read): print error about invalid key sequence only when
12603 debugging (because not all latinX keysyms are known to some X
12606 * kbsequence.C (getiso): add a few std:: qualifiers
12607 (getiso): comment out extra return statement.
12609 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12611 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12613 (Dispatch): enhance the accent inset a bit. (not perfect)
12615 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12617 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12619 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12621 * bufferlist.C (emergencyWrite): fix assert() call
12623 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12625 * text.C (InsertChar): Added trivial patch to only send the "you
12626 can not do multiple spaces this way" message once during a
12629 2001-05-08 Baruch Even <baruch@lyx.org>
12631 * Makefile.am: Changed order of libraries to get LyX to link properly
12632 with the gnome frontend.
12634 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12636 * LaTeXFeatures.h: add a std:: qualifier
12638 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12640 * paragraph.C (String): use stringstream
12642 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12644 * paragraph.C (writeFile): remove footflag arg
12646 * buffer.C (makeLaTeXFile): use stringstream
12647 (latexParagraphs): remove footnot gurba
12649 * LaTeXFeatures.C (getPackages): use stringstream
12650 (getMacros): likewise
12651 (getTClassPreamble): likewise
12652 (getFloatDefinitions): new method
12654 * paragraph.C (writeFile): reindent
12657 * WorkArea.h: revert the xpos + etc changes.
12659 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12661 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12663 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12664 (pasteSelection): likewise
12665 * text2.C (CreateUndo): likewise
12667 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12669 * minibuffer.C (peek_event): temporarily reduce the functionality
12670 of the minibuffer (to allow args on lfuns)
12672 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12673 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12675 * buffer.C (readInset): add compability reading of old float
12676 lists, add reading of new style float list.
12677 (readInset): avoid reevaluation of inscmd.getCmdName()
12678 (getLists): reindent
12680 * MenuBackend.C (MenuItem): implement parsing of
12681 md_floatlistinsert and md_floatinsert.
12682 (expand::LastFiles): move initalizaton of iterators out of loop,
12683 avoid reevaluation.
12684 (expand::Documents): introduce typdedef vector<string> Strings,
12686 (expand::ExportFormats): introduce typedef vector<Format const *>
12687 Formats, and use it.
12688 (expand): implement FloatListInsert and FloatInsert.
12690 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12691 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12692 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12694 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12696 (Dispatch::LFUN_FLOAT_LIST): implement
12698 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12700 * LaTeX.C (run): Fix problem with --export code.
12702 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12704 * BufferView.[Ch] (workarea): removed.
12705 (getClipboard) new method; wrapper for workarea()->getClipboard()
12707 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12710 * WorkArea.h (width, height, xpos, ypos): These methods all
12711 returned the dimensions of the work_area sub-area of WorkArea,
12712 resulting in a position error if the WorkArea were resized. Now
12713 return the dimensions of the entire WorkArea.
12715 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12717 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12719 * LaTeX.C (deplog): correct the syntax of regex reg1
12721 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12723 * undo.C: remove !NEW_INSETS cruft
12725 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12727 * text2.C: remove !NEW_INSETS cruft
12729 * text.C: remove !NEW_INSETS cruft
12731 * tabular.C: remove !NEW_INSETS cruft
12733 * spellchecker.C: remove !NEW_INSETS cruft
12735 * lyxtext.h: remove !NEW_INSETS cruft
12737 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12739 * lyxfunc.C: remove !NEW_INSETS cruft
12741 * lyxfind.C: remove !NEW_INSETS cruft
12743 * lyx_cb.C: remove !NEW_INSETS cruft
12745 * figureForm.C: remove !NEW_INSETS cruft
12747 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12749 * buffer.[Ch]: remove !NEW_INSETS cruft
12751 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12753 * CutAndPaste.C: remove !NEW_INSETS cruft
12755 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12757 * BufferView2.C: remove !NEW_INSETS cruft
12759 * BufferView.h: remove !NEW_INSETS cruft
12761 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12763 * Lsstream.h: include LString.h before the sstream headers to
12764 fix problem with gcc 2.95.3 and lyxstring
12766 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12768 * lyx_main.C: add using directives when needed for C functions
12769 declared in std:: namespace.
12771 2001-04-27 Juergen Vigna <jug@sad.it>
12773 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12774 (SetHeightOfRow): comment out the update call should not be needed!
12776 2001-04-13 Juergen Vigna <jug@sad.it>
12778 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12779 (LyXTabular): tried to minimize operator= operations (and realized
12780 hopfully Lars wish).
12782 2001-04-27 Juergen Vigna <jug@sad.it>
12784 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12786 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12788 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12790 * buffer.C (readInset): hack to make listof algorithm work
12792 * BufferView_pimpl.C: hack to make listof algorithm work
12794 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12796 * LyXAction.C: removed all !NEW_INSETS cruft
12797 (init): moved lfun_item in method
12799 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12801 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12803 * BufferView2.C (theLockingInset): white space.
12805 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12807 * minibuffer.C: include <iostream>
12809 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12811 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12813 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12815 * text.[Ch] (TransposeChars): new method
12817 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12819 * call message directly through LyXView instead of through LyXFunc
12820 * BufferView2.C: adjust
12821 * BufferView_pimpl.C: adjust
12822 * FontLoader.C: adjust
12824 * bufferview_funcs.C: adjust
12825 * converter.C: adjust
12826 * figureForm.C: adjust
12827 * importer.C: adjust
12829 * lyx_gui_misc.C: adjust
12830 * lyxfunc.C: adjust
12833 + more files in subdirs
12835 * lyxparagraph.h (size): move up int file
12838 * adjust all uses of Assert to lyx::Assert.
12840 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12841 lyxfunctional in namespace lyx
12842 * layout.C (hasLayout): ditto
12845 (delete_layout): ditto
12846 (NumberOfClass): ditto
12847 * converter.C (GetFormat): ditto
12852 * bufferlist.C (getFileNames): ditto
12853 (emergencyWriteAll): ditto
12856 * MenuBackend.C (hasSubmenu): ditto
12859 * BufferView_pimpl.C (getInsetByCode): ditto
12861 2001-04-18 Juergen Vigna <jug@sad.it>
12863 * vspace.C (asLatexString): fixed the 100% problem.
12865 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12867 * lyxfunc.C (Dispatch):
12869 * minibuffer.h: add a few std:: qualifiers
12871 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12873 * minibuffer.[Ch]: reimplement so that commands is initiated and
12874 run from lyxfunc, simplified som handling, and made the completion
12875 and history code for complete. wip.
12877 * lyxfunc.C (processKeySym): call message
12878 (miniDispatch): new temporary method
12879 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12880 (LFUN_MESSAGE): implement
12881 (LFUN_MESSAGE_PUSH): implement
12882 (LFUN_MESSAGE_POP): implement
12883 (initMiniBuffer): the initial/defualt minibuffer message.
12885 * lyxfont.[Ch]: inline some more getters
12887 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12889 * lyx_gui_misc.[Ch] (WriteStatus): remove method
12891 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12892 (AutoSave): use LFUN_MESSAGE
12893 (Reconfigure): ditto
12895 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12897 * figureForm.C: use LFUN_MESSAGE
12899 * converter.C (runLaTeX): use LFUN_MESSAGE
12901 * bufferview_funcs.C: use LFUN_MESSAGE
12903 (changeDepth): ditto
12905 * bufferparams.h: use boost::
12907 * bufferlist.h: inherit privately from noncopyable
12909 * bufferlist.C (loadLyXFile): remove some commented code.
12911 * buffer.C (runChktex): use LFUN_MESSAGE
12913 * ShareContainer.h: inherit privately from noncopyable
12915 * ParagraphParameters.[hC] (depth): inline it.
12917 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12919 (message): new method
12920 (messagePush): ditto
12921 (messagePop): ditto
12922 (show): init minibuffer
12923 (showState): direct call
12925 * LaTeX.[Ch]: inherit privately from noncopyable
12926 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12927 instead of WriteStatus.
12929 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12931 * BufferView_pimpl.C (buffer): don't init minibuffer
12932 (workAreaButtonPress): use LFUN_MESSAGE
12933 (workAreaButtonRelease): ditto
12934 (savePosition): ditto
12935 (restorePosition): ditto
12936 (MenuInsertLyXFile): ditto
12937 (workAreaExpose): don't init minibuffer
12938 (update): remove commented code, simplify
12940 * BufferView2.C (openStuff): use LFUN_MESSAGE
12941 (toggleFloat): ditto
12944 (copyEnvironment): ditto
12945 (pasteEnvironment): ditto
12950 (updateInset): remove some commented code
12952 * lastfiles.h: inherit privately from noncopyable
12955 * lyx_main.h: ditto
12957 * lyxlex_pimpl.h: ditto
12959 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12960 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12961 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12963 * LyXAction.h: inherit privately from noncopyable, add methods
12964 func_begin, func_end, returning iterators to the func map.
12966 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12967 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12968 (func_begin): new method
12969 (func_end): new method
12971 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12973 (copySelection): ditto
12974 (pasteSelection): ditto
12976 * BufferView.C: whitespace change
12977 * BufferView.h: inherit privately from noncopyable
12979 2001-04-16 Allan Rae <rae@lyx.org>
12981 * tabular-old.C (l_getline):
12982 * spellchecker.C (sc_check_word):
12983 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12984 an unrecognised preprocessor directive. So ensure they're wrapped.
12986 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
12988 * src/exporter.C (Export): Give an error message when path to file
12991 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
12993 * LaTeX.C (deplog): Always check that foundfile exists.
12995 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12998 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13000 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13002 * tabular.[Ch] (getLabelList): implement new method
13004 * minibuffer.h: comment ouf setTiimer
13006 * minibuffer.C (ExecutingCB): constify res
13007 (peek_event): constify s
13008 (Set): constify ntext
13009 (Init): constify nicename
13011 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13013 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13014 (savePosition): use two params to Minibuffer::Set
13015 (restorePosition): ditto
13017 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13019 * lyx_main.C: include language.h
13021 * Makefile.am (lyx_main.o): add language.h
13023 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13029 * CutAndPaste.C: include gettext.h
13031 * lyxfont.h: remove old hack with ON and OFF.
13034 * lyxfont.h: do not include language.h...
13039 * bufferview_funcs.C:
13045 * paragraph.C: ... but do it here instead
13047 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13049 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13051 * tabular.C: small reformat
13053 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13056 (BreakParagraph): ditto
13057 (SetOnlyLayout): ditto
13060 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13063 * lastfiles.C: removed most using decl, add std:: where needed
13065 * buffer.C: ws changes
13067 * MenuBackend.C (class compare_format): put into anon namespace
13068 (expand): constify label, names, action, action2
13071 * text.C (SingleWidth): constify font
13072 (IsBoundary): constify rtl2
13073 (GetVisibleRow): constify ww
13075 * LaTeX.C (deplog): constify logfile
13077 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13079 (workAreaExpose): constify widthChange, heightChange
13081 * lyxrow.C (par): moved
13084 * lyxrow.h: as inlines here
13086 * lyxfont.h (shape): moved from lyxfont.C
13087 (emph): moved from lyxfont.C
13089 * lyxfont.C (LyXFont): use initialization list for all
13091 (shape): move to lyxfont.h as inline
13092 (emph): move to lyxfont.h as inline
13095 2001-04-04 Juergen Vigna <jug@sad.it>
13097 * vspace.C: had to include stdio.h for use of sscanf
13099 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13102 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13103 independent of xforms.
13105 2001-04-02 Juergen Vigna <jug@sad.it>
13107 * spellchecker.C: fixed namespace placing!
13109 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13111 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13112 the LyXParagraph * is 0.
13114 2001-03-29 Juergen Vigna <jug@sad.it>
13116 * vspace.C: added support for %, c%, p%, l%.
13117 (stringFromUnit): added helper function.
13118 (asLatexString): changed to give right results for the %-values.
13120 * buffer.C: convert the widthp in a width%.
13122 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13124 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13127 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13128 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13130 * lyx_cb.[Ch]: see above.
13132 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13136 * lyx.[Ch]: replaced by figure_form.[Ch].
13140 * lyxfunc.C: changed headers associated with above changes.
13142 2001-03-27 Juergen Vigna <jug@sad.it>
13144 * BufferView_pimpl.C: set the temporary cursor right!
13146 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13148 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13150 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13152 * LString.h: removed "using std::getline"!
13154 * BufferView_pimpl.C (Dispatch): changes due to changes in
13155 InsetInclude::Params.
13157 * buffer.C (tag_name): removed redundant break statements as they were
13158 producing lots of warnings with my compiler.
13160 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13162 * LString.h: add "using std::getline" when using the real <string>.
13164 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13166 * buffer.C: removed bitset usage.
13167 PAR_TAG moved to an anonymous name space.
13168 (tag_name): new funtion, also in the anonymous namespace.
13169 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13170 (makeDocBookFile): clean code. Completed transition from string arrays
13172 (SimpleDocBookOnePar): code clean.
13174 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13176 * tabular.C: add some comments.
13178 2001-03-22 Juergen Vigna <jug@sad.it>
13180 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13181 compatibility read a bit and fixed bug with minipage in different
13184 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13186 * buffer.C (pop_tag): removed.
13187 (push_tag): removed.
13188 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13189 array replaced with vector. Added support for CDATA sections.
13190 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13192 (makeDocBookFile): XML conformant declaration of CDATA section,
13193 fixed bug related to <emphasis> in the first paragraph char.
13194 (sgmlOpenTag): exclude empty tags.
13195 (sgmlCloseTag): ditto.
13197 * buffer.h (pop_tag): removed.
13198 (push_tag): removed.
13200 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13202 * language.h (Languages): added size_type and size().
13204 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13206 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13207 response on compability reading of minipages. One probliem is that
13208 the old usage of minipages was «flertydig»
13210 * several files here and in subdirs: don't use static at file
13211 scope use anon namespaces instead.
13213 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13215 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13216 LaTeX output. This is necessary for Literate document
13219 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13221 * buffer.C: insert hfill when needed.
13223 * tabular.C (l_getline): use string::erase, small whitespace change.
13225 * BufferView_pimpl.C: try the anon namespace.
13226 * WorkArea.C: ditto
13228 2001-03-16 Juergen Vigna <jug@sad.it>
13230 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13231 otherwise it won't open options-dialogs.
13233 * buffer.C: honor pextraWidth(p) on converting minipages.
13235 * tabular.C (l_getline): changed the functions to strip trailing \r.
13237 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13239 * BufferView_pimpl.C:
13240 * minibuffer..C: added "using SigC::slot" declaration.
13242 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13244 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13250 * paragraph.C: ditto
13252 * lyxtext.h: NO_PEXTRA
13254 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13256 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13257 * ParameterStruct.h: ditto
13258 * ParagraphParameters.h: ditto
13259 * lyxparagraph.h: ditto
13261 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13263 * buffer.C: add compability for minipage alignment.
13264 (latexParagraphs): remove unwanted pextra check.
13266 * several files: remove CXX_WORKING_NAMESPACES
13268 * buffer.C (pop_tag): tie is in namespace boost
13270 * BufferView.h: noncopyable is in namespace boost
13272 * lyx_main.h: ditto
13275 * lastfiles.h: ditto
13276 * bufferlist.h: ditto
13277 * ShareContainer.h: ditto
13279 * LyXAction.h: ditto
13282 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13284 * Merging changes from BRANCH_MVC back into HEAD.
13286 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13288 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13290 * BufferView_pimpl.C: change from intl.C
13294 * Makefile.am: move combox.*
13300 * intl.C: remove dialog (covered by prefs)
13302 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13304 * lyxfunc.C (Dispatch): removed redundant break statement.
13306 2001-03-14 Juergen Vigna <jug@sad.it>
13308 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13310 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13312 * buffer.C: add hack to fix compability reading of minipages.
13314 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13316 * buffer.C (getLists): Cleanup.
13318 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13320 * lyxfont.C (update): don't honor toggleall on font size.
13322 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13326 * Makefile.am: moved to frontends/xforms/
13330 * BufferView_pimpl.C: changes for moved mathpanel
13332 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13334 * gettext.h: fix gettext_init() in --disable-nls
13336 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13338 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13340 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13343 * lyx.h: strip external form
13345 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13347 * BufferView_pimpl.C: add comment, destroySplash()
13349 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13351 * BufferView_pimpl.C:
13355 * lyxfunc.C: use re-worked insetinclude
13357 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13359 * buffer.C: add using std::stringstream.
13361 * lyx_cb.C: readd using std::ios.
13363 * buffer.C: add using std::map.
13365 * BufferView_pimpl.C: add using std::vector.
13367 * ShareContainer.h: add std:: to swap.
13369 * buffer.h: add some typedefs
13370 * buffer.C (getLists): use them
13371 (getLists): renamed from getTocList.
13372 add a counter for the different float types and use it in the
13374 (getLists): use the same counter for the NEW_INSETS and the "non"
13377 * lyx_cb.h: remove unused items, includes, using etc.
13379 * ShareContainer.h: remove some commented code, add more comments
13380 and "documentation".
13382 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13384 * buffer.C (getTocList): make the list also when NEW_INSETS is
13387 * buffer.h: remove TocType
13389 * buffer.C (getTocList): change to return a map<string,
13390 vector<TocItem> >, implement for dynamic number of list.
13392 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13393 * text2.C (PasteSelection): adjust
13394 * CutAndPaste.C (pasteSelection): adjust
13396 * FloatList.C (FloatList): update from the new_insets branch.
13397 * Floating.[Ch]: ditto
13398 * LaTeXFeatures.C: ditto
13400 * lyxlex_pimpl.C: ditto
13402 * paragraph.C (Last): remove when NEW_INSETS is defined.
13404 * other file: changes because of the above.
13406 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13408 * lyxparagraph.h: rename next to next_, previous to previous_,
13409 make them private for NEW_INSETS. Rename Next() to next(),
13410 Previous() to previous().
13412 * other files: changes because of the above.
13414 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13417 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13420 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13422 * main.C (main): pass lyx_localedir to gettext_init().
13424 * gettext.h: remove locale_init and gettext_init macros
13426 * gettext.C (locale_init): new function
13427 (gettext_init): new function
13429 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13432 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13434 * Moved credits to frontends:
13435 * credits.[Ch]: removed
13436 * credits_form.[Ch]: removed
13437 * lyx_gui_misc.C: remove credits stuff
13440 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13442 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13444 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13445 unneeded destructor.
13447 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13448 a standalone pointer again.
13450 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13452 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13458 * ToolbarDefaults.C:
13467 * BufferView_pimpl.C: use new file dialog in GUII
13470 * lyx_cb.C: remove LayoutsCB to Toolbar
13472 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13474 * ShareContainer.h (get): add std:: qualifier
13476 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13478 * ShareContainer.h: define a proper ShareContainer::value_type
13479 type (and use typename to please compaq cxx)
13481 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13483 * lyxparagraph.h: move serveral local vars to
13484 ParameterStruct/ParagraphParameters., use ShareContainer in
13485 FontTable., make vars in FontTable private and add getter and
13488 * paragraph.C: changes because of the above.
13490 * lyxfont.h: remove copy constructor and copy assignment. (the
13491 default ones is ok), move number inside FontBits. move inlines to
13494 * lyxfont.C: add number to initializaton of statics, move several
13495 inlines here. constify several local vars. some whitespace
13496 cleanup. Dont hide outerscope variables.
13498 * Spacing.h: add two new constructors to match the set methods.
13500 * ShareContainer.h: new file, will perhaps be moved to support
13502 * ParameterStruct.h: new file
13504 * ParagraphParameters.h: new file
13506 * ParagraphParameters.C: new file
13508 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13509 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13511 * BufferView_pimpl.C: ParagraphParameter changes.
13512 * buffer.C: Likewise.
13513 * bufferview_funcs.C: Likewise.
13514 * text.C: Likewise.
13515 * text2.C: Likewise.
13517 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13519 * lyxfind.C (LyXReplace): do not redefine default argument in
13521 (IsStringInText): ditto
13522 (SearchForward): ditto
13523 (SearchBackward): ditto
13525 2001-03-06 Juergen Vigna <jug@sad.it>
13527 * lyxfind.C (IsStringInText): put parentes around expressions.
13529 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13531 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13533 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13535 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13537 * stl_string_fwd.h: add comment
13539 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13542 * tabular.C: remove unused DocBook methods
13548 killed DO_USE_DEFAULT_LANGUAGE
13550 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13552 * lyx_gui.C: do not include language.h.
13554 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13555 arguments in function implementation.
13557 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13559 * BufferView_pimpl.C: add <ctime>
13561 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13563 * BufferView_pimpl.C: add using std::find_if
13565 2001-02-27 José Matos <jamatos@fep.up.pt>
13567 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13570 2001-02-11 José Matos <jamatos@fep.up.pt>
13572 * buffer.C (makeDocBookFile): command styles now have a parameter as
13573 "title" by default.
13575 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13577 * layout_forms.[Ch]: removed
13578 * lyx_cb.[Ch]: out character
13579 * lyx_gui.C: out character
13580 * lyx_gui_misc.C: out character
13581 * bufferview_funcs.C: : out character,
13582 added toggleall as parameter in ToggleAndShow
13584 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13586 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13588 * text2.C (SetCurrentFont): Disable number property at boundary.
13590 2001-02-26 Juergen Vigna <jug@sad.it>
13592 * lyxfunc.C (getStatus): added a string argument override function so
13593 that this is correctly called from LyXFunc::Dispatch if it contains a
13594 do_not_use_argument which is used!
13595 (Dispatch): added check for "custom" export and call appropriate func.
13597 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13599 * lyxrc.C: Add language_command_local, language_use_babel and
13600 language_global_options.
13602 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13604 * buffer.C (makeLaTeXFile): Use language_use_babel and
13605 language_global_options.
13607 2001-02-23 Juergen Vigna <jug@sad.it>
13609 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13610 which works with LyXText and putted it inside BufferView. Here now we
13611 only call for that part the BufferView::Dispatch() function.
13613 * BufferView.C (Dispatch): added.
13615 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13616 functions which needs to use a LyXText over from LyXFunc.
13617 (MenuInsertLyXFile): added
13618 (getInsetByCode): added
13619 (moveCursorUpdate): added
13620 (static TEXT): added
13622 2001-02-22 Juergen Vigna <jug@sad.it>
13624 * BufferView_pimpl.C (update): call a status update to see if LyXText
13627 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13629 * vc-backend.C (revert): implement for CVS
13630 (getLog): implement for CVS
13632 2001-02-20 Juergen Vigna <jug@sad.it>
13634 * text2.C (ClearSelection): added BufferView param for inset_owner call
13636 * lyxfunc.C (TEXT): added this function and use it instead of
13637 directly owner->view()-text of getLyXText().
13639 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13641 * src/layout_forms.C: out preamble
13642 * src/layout_forms.h: out preamble
13643 * src/lyx_cb.C: out preamble
13644 * src/lyx_cb.h: out preamble
13645 * src/lyx_gui.C: out preamble
13646 * src/lyx_gui_misc.C: out preamble
13647 * src/lyxfunc.C: connect with guii preamble
13649 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13651 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13653 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13655 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13656 whether to run bibtex.
13658 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13660 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13662 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13664 * Makefile.am (lyx_SOURCES): removed bibforms.h
13666 * vspace.h: doxygen
13668 * text.C (GetVisibleRow): make several local vars const
13670 * tabular.C: small cleanup.
13672 * lyxserver.C (callback): use compare instead of strncmp
13674 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13675 inlines to after class or to paragraph.C
13677 * lyxfont.h: remove friend operator!=
13679 * converter.h: move friend bool operator< to non friend and after
13682 * combox.h: small cleanup
13684 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13685 to inlines after class def.
13687 * buffer.C (pop_tag): use string operations instead of strcmp
13689 * bmtable.c: doxygen, small cleanup
13691 * LaTeX.h: remove friend operator==
13693 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13705 * BufferView_pimpl.C:
13706 * BufferView.[Ch]: remove cruft
13708 2001-02-14 Juergen Vigna <jug@sad.it>
13710 * lyxfunc.C: removed #if 0 unused code
13712 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13714 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13716 * text2.C (SetSelection): added a BufferView * parameter
13718 2001-02-13 Juergen Vigna <jug@sad.it>
13720 * lyxfunc.C (Dispatch): fixed protected blank problem.
13721 * BufferView2.C (protectedBlank): added LyxText * parameter.
13723 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13724 (AppendColumn): same as above for column_info.
13726 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13727 (moveCursorUpdate): use a LyXText param for support of InsetText.
13729 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13730 (tripleClick): ditto
13732 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13734 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13736 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13738 * text2.C (SetSelection): set correct update status if inset_owner
13739 (ToggleFree): ditto
13741 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13743 * tabular.C: remove some commented code.
13745 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13747 * BufferView_pimpl.C: call hideSplash()
13749 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13752 * bibforms.h: remove
13755 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13756 add LFUN_CHILD_CREATE
13758 * counters.h: fix tiny typo
13763 * lyx.C: move splash to frontends/xforms/
13765 * lyx_gui_misc.C: move Include and Bibform to frontends
13767 * lyxvc.h: clarify comment
13769 * vspace.C: tiny housekeeping
13771 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13773 * text.C (PrepareToPrint): RTL Fix.
13775 * paragraph.C (GetUChar): New method.
13776 (String): Use GetUChar.
13778 * buffer.C (asciiParagraph): Use GetUChar.
13780 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13782 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13784 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13787 * buffer.C: rename to getLogName(), handle
13788 build log / latex log nicely
13790 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13793 * MenuBackend.h: remove support for reference menuitem type.
13795 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13797 * BufferView_pimpl.C: housekeeping
13798 * BufferView_pimpl.h:
13803 * minibuffer.h: move Timeout GUI-I
13805 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13807 * lyxrc.C (read): Update converters data-structures.
13809 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13811 * LaTeX.h (operator!=): add operator != for Aux_Info
13813 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13815 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13817 * LaTeXLog.C: deleted, useful code moved to Buffer
13820 * buffer.C: new function getLatexLogName()
13826 * lyxfunc.C: use frontends for LaTeX and VC logs
13828 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13830 * LaTeX.h: yet another std:: that Allan forgot.
13832 * Variables.C (set): renamed from isset(), because this clashes
13833 with some HP-UX macros (grr).
13835 2001-02-06 Allan Rae <rae@lyx.org>
13837 * LaTeX.h: Another bug fix. Missing std:: this time.
13839 2001-02-04 Allan Rae <rae@lyx.org>
13841 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13842 floats problem. I've left it commented out because it's not quite
13843 correct. It should also test that the current object is a table or
13844 figure inset. But I haven't gotten around to figuring out how to do
13845 that. I *think* it'll be something like: "table" == inset.type()
13847 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13850 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13852 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13853 all the citation/databases/styles in the auxilary file.
13854 (run): Rerun latex if there was a babel language error.
13856 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13858 * text.C (Backspace): Preserve the font when changing newline char
13860 (BreakParagraph): If the cursor is before a space, delete the space.
13862 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13864 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
13866 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13867 new argument (code).
13868 (ChangeCitationsIfUnique): New method.
13870 * paragraph.C (GetPositionOfInset): Handle bibkey.
13872 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13874 * BufferView_pimpl.h: change type of Position::par_pos to
13875 LyXParagraph::size_type.
13877 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
13879 * BufferView_pimpl.C (savePosition, restorePosition): Write
13880 messages to minibuffer.
13882 2001-01-28 José Matos <jamatos@fep.up.pt>
13884 * buffer.C (makeDocBookFile): adds support for document language.
13885 A silly restriction on the name of LatexCommand types where removed.
13886 Added support for CDATA sections, allows to chars unescaped, used
13887 among others in code, to avoid escape < and >.
13889 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13891 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13892 saved positions instrad of a stack. Furthermore, a position is
13893 stored using paragraph id/paragraph position.
13895 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13896 Remove LFUN_REF_BACK.
13898 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
13900 * converter.C (dvipdfm_options): New method.
13902 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
13904 * vspace.C (isValidLength): Fix for empty input string.
13906 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13908 * LyXAction.C (init): change description of LFUN_FIGURE to
13911 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13913 * LaTeX.C: add using directive
13915 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13917 * MenuBackend.C (expand): Fix the sorting of the formats.
13919 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
13921 * lyx_main.C: tiny error message fix
13923 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13925 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13926 calling fl_initialize(). This fixes the problem with ',' as
13927 decimal separator in text files.
13929 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
13931 * trans.C (process): Fix the keymap bug.
13933 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
13935 * LaTeX.C (scanAuxFiles): New method. Provides support for
13936 multiple bibliographies (when using the bibtopic/bibunits pacakges).
13937 (scanLogFile) Scan for "run BibTeX" messages.
13939 * buffer.C (makeLaTeXFile): Do not load the ae package when using
13940 OT1 font encoding. Also, load the aecompl package if the ae
13943 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13945 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13947 * texrow.C (increasePos): turn two error messages into debug
13950 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
13952 * LaTeX.C (scanAux): Handle the \@input macro.
13953 (runBibTeX): Use scanAux().
13955 * language.C (latex_options_): New field.
13957 * LaTeXFeatures.C (getMacros): Add language macros.
13959 * buffer.C (makeLaTeXFile): Small fix.
13961 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13963 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13965 * text2.C: add a using directive.
13967 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
13972 * lyxfunc.C: kill LyXBell.
13974 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
13976 * text.C (IsBoundary): Remove the error message
13978 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13980 * lyxrc.C (setDefaults): Correct initialization value for
13983 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
13985 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13988 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13989 and GotoNextNote().
13991 * src/LyXAction.C: Added reference-next.
13993 * text.C (InsertChar): Use contains instead of strchr.
13995 * lyx_cb.C (MenuInsertLabel): Enable default value code.
13997 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
13999 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14000 alignment commands (when needed).
14002 * text.C (InsertChar): Add ':' to number separator chars.