1 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3 * output_docbook.C: moving LatexParam functionality into
6 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8 * buffer.C: increment format to 229.
10 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
13 * lyx_sty.[Ch]: remove minipageindent_def
19 * text3.C: remove LFUN_INSET_MINIPAGE
21 2003-12-28 Angus Leeming <leeming@lyx.org>
23 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
25 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
27 * text2.C (setParagraph): fix off-by-one crash
29 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
31 * output_docbook.C: header stuff for AGU
33 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
35 * text2.C (redoCursor): remove
38 * BufferView_pimpl.C: remove calls to redoCursor and
39 setCursor(cursor.par(), cursor.pos()) all around
41 2003-12-15 Angus Leeming <leeming@lyx.org>
43 * buffer.C: up the format to 228.
45 2003-12-15 André Pönitz <poenitz@gmx.net>
47 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
61 2003-12-15 Angus Leeming <leeming@lyx.org>
63 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
64 than getFromGUIName to manipulate the color.
66 2003-12-14 Angus Leeming <leeming@lyx.org>
68 * BranchList.[Ch]: minimize the API.
69 (Branch::getBranch, getColor): now return a 'const &'.
70 (Branch::setSelected) now returns a bool set to true if the
71 selection status changes.
72 (BranchList::clear, size, getColor, setColor, setSelected,
73 allBranches, allSelected, separator): removed.
74 (BranchList::find): new functions, returning the Branch with
76 (BranchList::add, remove): return a bool indicating that
77 the operation was successful.
79 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
80 new InsetBranch::isBranchSlected member function.
82 * LColor.[Ch]: mimimize the API.
83 (fill): renamed as addColor and made private.
84 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
85 versions of these functions taking a string arg have been removed.
87 * bufferparams.C (readToken):
88 * lyxfunc.C (dispatch):
89 * lyxrc.C (read): changes due to the altered BranchList and
92 * factory.C (createInset, readInset): changes due to altered
95 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
98 * lyxfunc.C: remove insetminipage. "minipage-insert"
99 now produces a frameless minipage box inset.
101 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
103 * textcursor.[Ch] (selStart,selEnd): add new methods
104 remove selection::start, end, use LyXCursor::operator<
105 * lyxcursor.[Ch] (operator<): add
106 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
107 * BufferView.[Ch] (unsetXSel): add
108 * text2.C (clearSelection): use unsetXSel,adjust
111 * rowpainter.C: adjust
112 * bufferview_funcs.C (put_selection_at): adjust
114 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
116 * BufferView_pimpl.C: small coord. correction
118 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
120 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
121 dragging over the splash screen.
123 2003-12-11 Angus Leeming <leeming@lyx.org>
125 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
126 as it is now handled in LyXText::dispatch.
128 * text3.C (doInsertInset): remove a level of nesting.
130 2003-12-11 Angus Leeming <leeming@lyx.org>
132 * factory.C (createInset): changes due to the changed interface to
133 InsetCommandMailer::string2params.
135 2003-12-10 Angus Leeming <leeming@lyx.org>
137 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
138 'dialog-show-new-inset <inset name>'
140 2003-12-10 Angus Leeming <leeming@lyx.org>
142 * buffer.C: up the format to 227.
144 * factory.C: the box inset is now identified simply by 'Box'.
146 2003-12-10 Angus Leeming <leeming@lyx.org>
148 * buffer.C: up the format to 226.
150 * factory.C: the note inset is now identified simply by 'Note'.
152 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
154 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
155 when a pit is enough. Standarize a couple of loops.
157 2003-12-05 Angus Leeming <leeming@lyx.org>
159 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
160 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
161 data to the re-worked "log" dialog.
163 2003-12-03 André Pönitz <poenitz@gmx.net>
171 * text2.C: use Inset::getText instead of Inset::getParagraph
173 2003-12-03 André Pönitz <poenitz@gmx.net>
177 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
178 InsetText::read() as LyXText::read()
180 2003-12-02 Angus Leeming <leeming@lyx.org>
182 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
183 type. Add a comment in the implementation that the function uses
184 the stream's bad() function rather than fail() as the std::streams
187 2003-12-02 André Pönitz <poenitz@gmx.net>
189 * lyxlex.[Ch]: make interface more similar to std::stream
191 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
193 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
195 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
197 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
199 * vspace.[Ch]: remove VSpace::NONE
201 2003-12-01 André Pönitz <poenitz@gmx.net>
204 * lyxtext.h: move ParagraphList member to LyXText
205 rename LyXText::ownerParagraphs to LyXText::paragraph
208 * bufferview_funcs.C:
218 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
220 * undo.C: fix cursor positioning
222 2003-12-01 John Levon <levon@movementarian.org>
224 * BufferView_pimpl.C: fix a crash on exit with
227 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
229 * BranchList.C: fix setSelected() method.
231 2003-11-28 André Pönitz <poenitz@gmx.net>
233 * ParagraphParameters.[Ch]:
234 * ParameterStruct.h: remove space above/below from Paragraph to
237 * BufferView_pimpl.C:
249 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
251 * factory.C: Syntax change for CharStyles
253 2003-11-28 André Pönitz <poenitz@gmx.net>
258 * buffer.[Ch]: move LyXText member
260 2003-11-28 André Pönitz <poenitz@gmx.net>
262 * BufferView.[Ch]: make LyXText * text a private member
264 * BufferView_pimpl.C:
275 * output_plaintext.C: cleanup
277 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
280 * lyxtextclass.[Ch]: parametrize SGML document header
282 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
285 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
288 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
290 * text2.C (setFont): rework using PosIterator (no more recursive)
291 (setCharFont): no more needed
292 (setLayout): no more selection cursors fiddling (done by redoCursor)
293 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
294 destroy remaining ones)
296 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
298 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
300 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
303 * text3.C: adjust + re-allow multi par depth changes
304 * textcursor.C: simplify a bit
306 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
312 * src/output_docbook.C:
313 * src/output_latex.C:
318 * src/text2.C: Introducing a number of tags parametrizing various
319 XML formats that we may want to support
321 2003-11-25 André Pönitz <poenitz@gmx.net>
323 * InsetList.[Ch] (begein, end): inline as suggested by profiler
325 * lyxtext.h (leftMargin/rightMargin): simplify interface
332 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
334 * lyxfunc.C (dispatch): propogate the bibtex databases from the
335 master file to any child files. Fixes bug 546.
337 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
339 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
341 2003-11-24 André Pönitz <poenitz@gmx.net>
343 * rowpainter.C: simplification
345 * text2.C (updateCounters): remove call to redoParagraph on
346 changed labels as this is far too expensive.
348 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
350 * converter.C (convert): fix a crash: this function gets
351 called with buffer == 0 from importer code.
353 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
355 * text3.C (cursorPrevious): make sure that we do not compare
356 iterators form different containers.
359 * rowpainter.C (paintSelection): make sure that we do not compare
360 iterators from different containers.
362 * text3.C (dispatch): [PRIOR] make sure that we do not compare
363 iterators from different ParagraphList containers.
366 * text2.C (LyXText): change order of initialization slightly
367 (operator=): new function. copy all variables except cache_par_
368 (moveUp): make sure that we do not compare iterators from
369 different ParagraphList constainers.
372 * text.C (firstPar): new function
373 (lastPar): new function
374 (endPar): new function
376 * lyxtext.h: move things around and group public functions, public
377 variables, private functions, private variables
379 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
381 * factory.C: change call to InsetERT constructor to avoid
382 additional invocation of method status
383 * text2.C (toggleInset): remove redundant update() call
384 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
385 instead of a Bufferview pointer
387 2003-11-21 André Pönitz <poenitz@gmx.net>
389 * rowpainter.C: simplification
391 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
393 * text3.C (dispatch): make possible to extend a word/row selection
396 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
398 * lyxtext.h: x0_,y0_ -> xo_,yo_
399 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
400 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
401 * rowpainter.C (paintRows): paint full paragraphs
403 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
405 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
408 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
410 * lyxtext.h: add x0_, y0_
411 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
412 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
414 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
416 * text2.C (setCursorIntern): move the x_target update here *
417 * text3.C: change some bv() to true/false in calls to
418 cursorUp/Down/Right/Left
419 * cursor.C: use helper function.
421 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
423 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
424 * paragraph_funcs.[Ch]: correct comment
425 * rowpainter.C: do not paint selections away from bv->cursor()
426 Fix a long standing selection painting bug.
427 * text3.C: generalize mouse-selection code to LyXTexts other that
429 * textcursor.C: do not use y coords if we can use par offsets
431 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
433 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
434 cursor position after e.g. inset insert)
436 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
438 * lyxfind.C (replace): adjust to locking removal + some
441 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
443 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
446 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
449 * output_docbook.C: XML sanitation: new layout
450 parameters InnerTag and CommandDepth
452 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
454 * BufferView_pimpl.C:
456 * text3.C: Fix the insertion and modification of button-style
459 2003-11-13 André Pönitz <poenitz@gmx.net>
461 * InsetList.[Ch]: remove deleteLyXText
463 * paragraph.[Ch]: cache beginOfBody position
468 * text3.C: remove superfluous update() calls
472 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
474 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
475 * BufferView.C (fitLockedInsetCursor): remove
476 * cursor.[Ch] (getDim): add
477 * text.C (getRowNearY): add faster version
478 * text3.C: remove some update calls
480 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
492 * text3.C: The Character Style /XML short element patch.
494 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
497 * factory.C: Small step to solving 'unable to insert some insets'
500 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
502 * cursor.[Ch] (updatePos): new function for updating the y
503 position of the tip inset
504 * bufferview_funcs.C (put_selection_at):
505 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
507 2003-11-11 André Pönitz <poenitz@gmx.net>
509 * text.C: remove big comment on invalid Paragraph pointers as it is
512 2003-11-11 André Pönitz <poenitz@gmx.net>
514 * text_funcs.[Ch]: merge with ...
522 * Makefile.am: remove text_funcs.[Ch]
524 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
526 * cursor.C (getPos): return absolute cached y coord
528 * BufferView_pimpl.C (fitCursor): new simplistic code
529 (workAreaDispatch): add a fitCursor call
531 2003-11-10 André Pönitz <poenitz@gmx.net>
534 * BufferView_pimpl.[Ch]: merge update() and updateInset()
536 2003-11-10 André Pönitz <poenitz@gmx.net>
538 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
539 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
540 indicate that the cursor needs to leave an inset
542 * lyxtext.h: remove inset locking
544 * cursor.[Ch]: re-implement functionality provided by inset locking
547 * BufferView_pimpl.[Ch]:
549 * bufferview_funcs.[Ch]:
561 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
563 * PosIterator.[Ch]: replace the stack with a vector, add inset
565 * iterators.[C]: adjust
567 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
569 * lyxfind.C (replaceAll): mark the buffer dirty if something was
571 * paragraph_funcs.C (readParToken): put the correct id in the
572 error item, not the id of the top paragraph
574 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
576 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
577 * bufferview_funcs.C (put_selection_at): use the above
579 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
581 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
583 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
586 * output_plaintext.h:
588 * output_docbook.h: add #include statements
590 2003-11-05 José Matos <jamatos@lyx.org>
592 * output_docbook.[Ch]:
594 * output_linuxdoc.[Ch]:
595 * output_plaintext.[Ch]: New files for output formats.
596 * output.[Ch]: New file for helper functions.
599 * paragraph_funcs.[Ch]: output functions moved to new files.
601 * outputparams.h: rename of latexrunparams.h
609 * paragraph_funcs.[Ch]:
610 * paragraph_pimpl.[Ch]:
611 * tabular.[Ch]: rename ascii to plaintext
612 and LatexRunParams to OutputParams.
614 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
616 * iterators.[Ch] (text): require bv argument
617 * undo.C (recordUndo):
618 * lyxfunc.C (dispatch):
619 * bufferview_funcs.C (put_selection_at): adjust
621 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
623 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
625 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
627 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
630 2003-11-04 André Pönitz <poenitz@gmx.net>
632 * cursor.[Ch]: restructure
635 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
637 * iterators.[Ch] (asCursor): remove
639 * lfuns.h: remove LFUN_INSET_EDIT
645 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
647 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
649 * lyxfind.[Ch]: complete overhaul
650 * BufferView_pimpl.C:
652 * paragraph.[Ch] (insert): add
654 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
658 * text.C: remove dead spellcheck code
660 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
662 * dispatchresult.h: add a val setter
664 * cursor.C (dispatch): use a tempvar for data_[i]
666 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
668 * PosIterator.[Ch]: compile fix
670 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
672 * text.C (cursorPar): deactivate the cursor cache
674 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
676 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
678 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
680 * text3.C (dispatch): adjust for new DisptchResult semantics.
682 * lyxfunc.C (dispatch): handle update when return from
683 Cursor::dispatch, adjust for new DispatchResult semantics.
685 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
686 DispatchResult(true) mean to not update. Add class functions for
687 setting dispatched and update, as well as reading.
689 * cursor.C (dispatch): don't handle update here
691 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
693 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
694 * trans_mgr.C: adjust
696 * paragraph_funcs.C (readParToken): exception safety
698 * lyxvc.h: store the vcs pointer in a scoped_ptr
701 * lyxsocket.C (serverCallback): exception safety
703 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
705 * ispell.C (clone): make it return a auto_ptr
707 * factory.C (createInset): exception safety
708 (readInset): exception safety
710 * bufferlist.C (newBuffer): exception safety
712 * Thesaurus.C (Thesaurus): use initialization for aik_
714 * MenuBackend.C (expandToc): exception safety.
716 2003-11-03 André Pönitz <poenitz@gmx.net>
720 * bufferview_funcs.C: remove getInsetFromId()
723 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
729 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
731 * PosIterator.C (distance, advance): new
732 * bufferview_funcs.[Ch] (put_selection_at): new
733 * iterators.[Ch] (lockPath): new
735 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
737 * iterators.[Ch] (asPosIterator): added
738 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
739 * PosIterator.[Ch]: added
741 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
745 * cursor.C (dispatch):
746 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
748 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
749 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
750 contructor, add a class function dispatched. Remove operator>=
752 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
754 * debug.C: only use the default constructor for debugstream
757 * main.C (main): include debug.h and setup the lyxerr streambuf
760 2003-10-31 José Matos <jamatos@lyx.org>
762 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
764 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
765 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
766 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
767 * paragraph_pimpl.C (simpleTeXSpecialC):
768 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
769 add LatexRunParams argument.
771 * exporter.C (Export): change call accordingly.
773 * latexrunparams.h: add new member to take care of the other backends.
774 2003-10-30 José Matos <jamatos@lyx.org>
776 * buffer.C (makeLinuxDocFile, makeDocBookFile):
777 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
778 factorise code for paragraph output.
780 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
783 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
785 * text3.C (dispatch):
786 * lyxfunc.C (dispatch):
787 * cursor.C (dispatch):
788 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
790 * dispatchresult.h: make the dispatch_result_t ctor explicit
792 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
795 * buffer.C: small refactoring of docbook stuff
797 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
799 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
802 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
804 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
805 operator dispatch_result_t, and operators for == != and >=
807 * cursor.C (dispatch): adjust for operator dispatch_result_t
808 removal. comment out call to update
810 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
812 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
820 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
823 * dispatchresult.h: new file, DispatchResult broken out of
826 * Makefile.am (lyx_SOURCES): add dispatchresult.h
828 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
830 * text.C (rowBreakPoint): put a hack inside #if 0
832 2003-10-28 André Pönitz <poenitz@gmx.net>
839 * text2.C: general cleanup (lots of small stuff)
841 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
843 * text2.C (cursorEnd): simple fix to the "end key goes to one
844 before the end on last row" bug
846 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
848 * text.C (backspace): fix the "zombie characters"
850 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
852 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
854 2003-10-27 André Pönitz <poenitz@gmx.net>
856 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
858 * factory.C: handle new InsetPagebreak, InsetLine
860 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
861 and move handling into new InsetPagebreak, InsetLine
863 * BufferView_pimpl.C:
865 * ParagraphParameters.C:
878 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
887 * text3.C: remove lastPos uses in favour of Row::endpos
889 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
891 * undo.C (performUndoOrRedo): fix two crashes by setting a
892 cursor by hand and reordering some calls. Use bv->lockInset instead
893 of inset->edit because the latter loses cursor information
895 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
897 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
899 (rowBreakPoint): fix width. change point to point + 1.
902 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
905 * lyxfunc.C: fix (at least partly) the problems
906 with the Nav menu and headers inside branch insets
909 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
911 * paragraph.C (getChar): add strong asserts
913 * lyxrow_funcs.C (lastPos): remove hideous hack
915 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
916 (fill): adjust to that (avoid an infinite loop)
918 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
920 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
922 2003-10-23 André Pönitz <poenitz@gmx.net>
924 * RowList_fwd.h: change list<> to vector<> to gain speed
925 after suggestion from Alfredo
927 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
929 * lyxtext.h: move the bidi stuff from here...
932 * Bidi.[Ch]: ... to here
934 2003-10-23 André Pönitz <poenitz@gmx.net>
937 * text.C (isLastRow, isFirstRow): new functions
939 * paragraph.h: new width cache member
941 * rowpainter.C: replace RowList::iterator with Row & where possible
943 * lyxfunc.C: replace several view()->text with a single call
945 * toc.C: fix 'unused' warning
947 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
949 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
950 when woring with stream::pos_type
951 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
953 2003-10-22 André Pönitz <poenitz@gmx.net>
956 * text.C: use Row & instead of RowList::iterator
958 * lyxrow.h: rename end() to endpos()
964 2003-10-22 Angus Leeming <leeming@lyx.org>
966 * buffer.[Ch] (fully_loaded): new member function, returning true
967 only when the file has been loaded fully.
968 Used to prevent the premature generation of previews and by the
969 citation inset to prevent computation of the natbib-style label.
971 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
972 templates are all set up.
974 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
976 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
978 * text.C: fixed an "oops" in the "is a bit silly"
981 2003-10-21 André Pönitz <poenitz@gmx.net>
983 * FuncStatus.[Ch]: small stuff, whitespace
985 * lyxfont.[Ch]: operator<<() for debug reasons
989 * lyxtext.h: whitespace, spelling
991 * paragraph.C: naming of variables
994 * text2.C: small stuff
997 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
999 * text.C: (1) finish off the inset display() work;
1000 (2) fix the "is a bit silly" bug (accessing char
1003 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1005 * text.C: re-introduce display() for insets, fixing the
1006 various bugs (stretch of line above, math inset
1009 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1011 * text.C (rightMargin): remove spurious semicolon
1013 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1016 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1018 * text3.C: fix one crash due to wrong cursor def
1020 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1022 * vc-backend.C (scanMaster): make the regex static
1024 * LaTeX.C (scanAuxFile): make the regexs static
1026 * text3.C (doInsertInset, dispatch, dispatch):
1027 * text2.C (cursorUp, cursorDown):
1028 * text.C (selectNextWordToSpellcheck):
1029 * BufferView_pimpl.C (dispatch):
1030 * lyxfunc.C (dispatch): localDispatch -> dispatch
1032 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1034 * lyxsocket.C: include <cerrno>
1036 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1038 * lyxfunc.C (dispatch): remove textcache stuff
1040 * bufferlist.C (release): remove textcache stuff
1043 * TextCache.C: delete file
1044 * TextCache.h: delete file
1046 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1048 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1049 delete of the bv_->text.
1050 (resizeCurrentBuffer): remove texcache stuff
1051 (workAreaResize): ditto
1053 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1055 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1058 2003-10-16 André Pönitz <poenitz@gmx.net>
1065 * text3.C: speed up by storing y positions per paragraph plus per-row
1066 offset instead of having a 'full' y position in the row.
1068 2003-10-15 André Pönitz <poenitz@gmx.net>
1072 * undo.[Ch]: make undo aware of inner insets
1074 2003-10-14 Angus Leeming <leeming@lyx.org>
1076 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1077 static member functions LyX::ref() and LyX::cref.
1078 (lastfiles): new accessor functions for the new lastfiles_ member var.
1079 (addLyXView, views_): add a new LyXView to the list of views_.
1080 (updateInset): loop over all LyXViews to call their own updateInset
1081 member function, returning a pointer to the Buffer owning the inset.
1083 * BufferView_pimpl.C (loadLyXFile):
1084 * MenuBackend.C (expandLastfiles):
1085 * bufferlist.C (MenuWrite, QuitLyX):
1086 lastfiles is no longer a global variable.
1087 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1089 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1090 static function. Access through LyX::cref().emergencyCleanup().
1092 2003-10-14 André Pönitz <poenitz@gmx.net>
1094 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1096 * undo.[Ch]: restoring part of 'undo in insets'
1099 * undo_funcs.[Ch]: merge with undo.[Ch]
1101 * tabular.C: small cleansing stuff
1103 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1105 * paragraph_funcs.C (readParToken): report unknown insets as error
1106 boxes. Use the outer paragraph as location (also for unknown
1109 * factory.C (readInset): do not abort on reading an unknown inset.
1110 Eat it and return 0.
1112 2003-10-13 Angus Leeming <leeming@lyx.org>
1114 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1116 * lyxrc.C: displayTranslator is now a function,
1117 declared in GraphicsTypes.h.
1119 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1121 * format.C: new placeholder $$a to pass the socket address.
1123 * bufferlist.[Ch]: new function getBufferFromTmp.
1125 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1126 files in the temporary dir.
1128 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1130 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1132 * Makefile.am: add lyxsocket.[Ch].
1134 * lyx_main.C (error_handler): handle SIGPIPE.
1136 2003-10-13 André Pönitz <poenitz@gmx.net>
1138 * BufferView_pimpl.C:
1143 * undo_funcs.[Ch]: use paroffset_type instead of
1144 ParagraphList::iterators to prevent multiple conversion
1145 (and get a more robust interface)
1147 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1149 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1151 * text3.C (dispatch): ditto
1153 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1155 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1156 move the onlyfile, use onlyfile instead of foundfile in a couple
1159 * DepTable.C (update): flush the error stream a bit more
1161 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1163 * lyxserver.C (callback): adjust
1165 * lyxfunc.C (getStatus): add a missing brace in commented code
1166 (ensureBufferClean): reindent
1167 (dispatch): delete version taking a string
1169 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1171 * LaTeX.C (deplog): move found file handlig from here...
1172 (handleFoundFile): .. to new function here.
1173 (deplog): make sure to discover several files mentioned on the
1176 2003-10-10 André Pönitz <poenitz@gmx.net>
1183 * text3.C: fix some of the tabular crashes
1185 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1187 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1189 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1191 2003-10-09 André Pönitz <poenitz@gmx.net>
1193 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1196 * BufferView_pimpl.C:
1197 * bufferview_funcs.C:
1208 * undo_funcs.C: adjust
1210 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1212 * text2.C (incrementItemDepth): new function, use a backtracking
1213 algorithm to discover the correct item depth.
1214 (resetEnumCounterIfNeeded): new function, use a backtracking
1215 algorithm to discover if counter reset is needed.
1216 (setCounter): use them. Simplify a bit. Add different labels for
1217 different item depths for itemize.
1219 * paragraph.C (Paragraph): remove initialization of enumdepth
1222 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1223 enumerate and itemize. Change the type of itemdepth to signed char.
1225 2003-10-08 André Pönitz <poenitz@gmx.net>
1227 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1232 * tabular.[Ch]: fix crash after 'row-insert'
1234 2003-10-08 Angus Leeming <leeming@lyx.org>
1236 Fix doxygen warnings.
1238 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1239 Remove CutAndPaste:: prefix from header file declaration.
1241 * LColor.h (fill): remove LColor:: prefix from declaration.
1243 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1244 use lyx::depth_type rather than Paragraph::depth_type so that
1245 header file and .C file match.
1247 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1249 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1250 * aspell.C: \file aspell_local.C -> \file aspell.C
1251 * gettext.C: \file gettext.C -> \file src/gettext.C
1252 * gettext.h: \file gettext.h -> \file src/gettext.h
1253 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1254 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1255 * text.C: \file text.C -> \file src/text.C
1257 * toc.C: move comment so that doxygen is not confused.
1259 2003-10-07 Angus Leeming <leeming@lyx.org>
1261 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1263 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1266 * aspell_local.h: add forgotten std::string's.
1268 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1275 * text3.C: The Box patch. Fancybox support, minipage, parbox
1277 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1283 * ParagraphParameters.h:
1293 * lyxtextclasslist.h:
1296 * paragraph_pimpl.C:
1297 * textcursor.h: add <string> and other small fixes to make Lars'
1298 std::string patch compile with STLport.
1300 2003-10-06 Angus Leeming <leeming@lyx.org>
1302 * LColor.h: Add missing #include <string>.
1304 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1306 * All most all file in all subdirs: Make <string> be the prefered
1307 way of getting to std::string, add using declarations.
1309 2003-10-06 André Pönitz <poenitz@gmx.net>
1311 * metricsinfo.C: initialize LyXFont before changing attribute.
1312 (fixes the 'math in \emph is upright' bug)
1314 2003-10-06 André Pönitz <poenitz@gmx.net>
1316 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1318 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1321 * paragraph_pimpl.C: Small fixes to build using STLport
1323 2003-10-02 André Pönitz <poenitz@gmx.net>
1326 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1328 2003-10-01 André Pönitz <poenitz@gmx.net>
1330 * factory.C: assert early
1332 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1334 * lyx_main.C: remove the global debug object
1336 * debug.h: adjust for new debugstream
1338 * debug.C: adjust for new debugstream and keep the global debug
1341 2003-09-22 Angus Leeming <leeming@lyx.org>
1343 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1344 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1345 an incomplete class LyXFont.
1347 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1349 * factory.C: bug fix in branches
1351 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1353 * lyxfunc.C (processKeySym): adjust
1355 (dispatch): change arg name from ev to func, adjust
1356 (sendDispatchMessage): ditto
1358 * lyx_main.C (defaultKeyBindings): adjust keybindings
1359 (deadKeyBindings): ditto
1361 * kbsequence.C (addkey): return a FuncRequest
1363 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1365 * kbmap.C (bind): take a FuncRequest as arg, adjust
1368 (defkey): change to take a FuncRequest as arg, adjust
1369 (findbinding): take a FuncRequest as arg, adjust.
1371 * funcrequest.h (operator=): added
1373 * funcrequest.C (FuncRequest): default kb_action changed from
1374 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1376 * buffer.C (dispatch): simplify
1377 (dispatch): adjust to take a FuncRequest as arg, adjust
1379 * boost.C (assertion_failed): change assertion message slightly
1381 * ToolbarBackend.C (read): simplify
1383 * MenuBackend.C (binding): adjust call to findbinding, add a
1384 message if no binding is found.
1386 (expandToc): correct by adding a empty FuncRequest
1388 * LyXAction.C: include <boost/assert.hpp>
1389 (isPseudoAction): delete function
1390 (LookupFunc): change name to...
1391 (lookupFunc): this. change return type to FuncRequest.
1392 (getActionName): take kb_action as arg, simplify
1393 (funcHasFlag): add an assert, simplify.
1395 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1397 * toc.C (action): return a FuncRequest, simplify
1399 * lyxfunc.C (processKeySym): adjust
1400 (getStatus): delete version that takes an int.
1402 (dispatch): delete version that takes action as int
1404 (sendDispatchMessage): simplify and adjust
1406 * funcrequest.C (getArg): take unsigned int as arg
1408 * ToolbarBackend.C (read): adjust
1409 (add): delete version that takes func as a string.
1410 (getIton): take a FuncRequest as arg
1412 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1415 * MenuBackend.C (MenuItem): add a new construct that only takes a
1416 Kind, simplify the constructor use for submenus.
1418 (expandLastfiles): adjust
1419 (expandDocuments): adjust
1420 (expandFormats): adjust
1421 (expandFloatListInsert): adjust
1422 (expandFloatInsert): adjust
1423 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1425 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1426 Remove class variables lyx_pseudo_map and lyx_arg_map
1428 * LyXAction.C (searchActionArg): delete function
1429 (getPseudoAction): delete function
1430 (retrieveActionArg): delete function
1431 (LookupFunc): make it return kb_action, simplify.
1432 (getActionName): simplify
1434 * factory.C (createInset): fix new bug
1436 2003-09-19 Angus Leeming <leeming@lyx.org>
1438 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1439 masterFilename_ parameter in the include inset.
1441 * factory.C (createInset): changes due to the changes to InsetInclude.
1443 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1445 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1447 2003-09-18 Angus Leeming <leeming@lyx.org>
1450 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1451 Inset::fillWithBibKeys.
1452 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1454 2003-09-18 Angus Leeming <leeming@lyx.org>
1456 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1458 (ctor): pass and store a 'Buffer const &'
1459 (buffer): new member function.
1461 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1462 '*this' to the LaTeXFeatures ctor.
1464 2003-09-18 Angus Leeming <leeming@lyx.org>
1470 * text.C: rename EnumLColor as LColor_color.
1472 2003-09-18 Angus Leeming <leeming@lyx.org>
1474 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1475 remove #include "insets/insetbase.h" from cursor.h.
1477 2003-09-18 Angus Leeming <leeming@lyx.org>
1479 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1480 InsetOld_code to remove #include "inset.h".
1482 * iterators.C: add #include "insets/inset.h"
1484 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1486 * BufferView.C: remove more locking stuff that apparently doesn't
1487 do anything sensible.
1489 2003-09-16 André Pönitz <poenitz@gmx.net>
1492 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1495 2003-09-16 Angus Leeming <leeming@lyx.org>
1497 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1499 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1502 * paragraph.h: remove #include "lyxfont.h". Forward declare
1505 2003-09-16 Angus Leeming <leeming@lyx.org>
1507 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1508 of support/textutils.h.
1509 (isWord): move the contents of support/textutils.h's IsWordChar here.
1515 * text2.C: add #include "paragraph.h".
1518 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1520 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1526 * LaTeX.C: use namespace alias for lyx::support::os
1528 2003-09-16 Angus Leeming <leeming@lyx.org>
1531 * bufferview_funcs.C:
1534 * paragraph_pimpl.C:
1536 * text.C: add #include "LColor.h".
1538 2003-09-16 Angus Leeming <leeming@lyx.org>
1540 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1541 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1543 Store the FontBits::color variable as an int rather than as an
1544 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1547 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1548 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1549 string calls together.
1551 * lyxrc.C: add #include "LColor.h".
1553 2003-09-15 Angus Leeming <leeming@lyx.org>
1555 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1558 2003-09-15 Angus Leeming <leeming@lyx.org>
1560 * LColor.h: add an EnumLColor wrapper for LColor::color.
1562 * lyxfont.[Ch] (color, setColor, realColor):
1563 * lyxtext.h, text.C (backgroundColor):
1564 pass EnumLColor args to/from the functions, rather than LColor::color
1568 * lyxtext.h: forward declare EnumLColor.
1570 * lyx_main.C: add #include "LColor.h".
1572 2003-09-15 Angus Leeming <leeming@lyx.org>
1574 * .cvsignore: add lyx-gtk.
1576 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1581 * ParagraphParameters.C
1585 * bufferview_funcs.C
1595 * vc-backend.C: remove usage of STRCONV
1597 2003-09-15 Angus Leeming <leeming@lyx.org>
1599 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1600 explicitly define the color passed to the painter.
1602 2003-09-15 Angus Leeming <leeming@lyx.org>
1604 * bufferparams.C (BufferParams): reorder member initializers to avoid
1607 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1609 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1610 * text.C (updateRowPositions): remove an unusual nop
1612 2003-09-12 André Pönitz <poenitz@gmx.net>
1614 * BufferView_pimpl.C:
1623 * Counters.[Ch]: finish the 'automatic counters' job
1625 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1627 * aspell.C: include <boost/assert.cpp> (compile fix)
1629 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1631 * boost.C (assertion_failed): use lyx::support::abort instead of
1634 2003-09-10 Angus Leeming <leeming@lyx.org>
1636 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1637 with their _fwd progeny.
1639 2003-09-09 Angus Leeming <leeming@lyx.org>
1641 134 files throughtout the source tree: replace 'using namespace abc;'
1642 directives with the appropriate 'using abc::xyz;' declarations.
1644 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1646 * boost.C (emergencyCleanup): moved here from LAssert.c
1647 (assertion_failed): new function, called by BOOST_ASSERT
1649 * several files: change Assert to BOOST_ASSERT
1651 2003-09-09 Angus Leeming <leeming@lyx.org>
1653 * buffer.[Ch]: Add an Impl class and move Buffer's member
1654 variables into it. As a result move several header files out of
1657 Add header files to lots of .C files all over the tree as a result.
1659 2003-09-09 Angus Leeming <leeming@lyx.org>
1661 * buffer.[Ch]: make Buffer's member variables private. Add
1664 Lots of changes all over the tree as a result.
1666 2003-09-08 Angus Leeming <leeming@lyx.org>
1668 * graph.C: #include <config.h>.
1670 2003-09-08 Angus Leeming <leeming@lyx.org>
1674 * BufferView_pimpl.C:
1703 * toc.C: remove redundant using directives.
1705 2003-09-07 Angus Leeming <leeming@lyx.org>
1707 * LaTeXFeatures.h: remove #include "support/types.h".
1708 * ToolbarBackend.h: remove #include <algorithm>.
1709 * changes.h: remove #include <ctime>.
1710 * debug.h: remove #include <iosfwd>.
1711 * graph.h: remove #include "support/std_string.h".
1712 * lyx_main.h: remove #include <csignal>.
1713 * lyxlex_pimpl.h: remove #include <fstream>.
1714 * sgml.h: remove #include <algorithm>, <utility>.
1715 * toc.h: remove #include "support/std_ostream.h".
1716 Add #include <iosfwd>.
1718 2003-09-07 Angus Leeming <leeming@lyx.org>
1720 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1722 * converter.h: forward declare LatexRunParams.
1723 * encoding.h: remove #include "lyxrc.h".
1724 * lyxtext.h: remove #include "LColor.h".
1725 * lyxtextclass.h: remove #include "support/types.h".
1726 * trans.h: remove #include "tex-accent.h".
1727 * trans_mgr.h: remove #include "tex-accent.h".
1728 * insets/inset.h: remove #include "support/types.h", <vector>.
1729 * insets/insetcollapsable.h: remove #include "LColor.h".
1730 * insets/insetinclude.h: remove #include "dimension.h".
1731 * insets/insetlatexaccent.h: remove #include "dimension.h".
1732 * insets/insetoptarg.h:: remove #include "insettext.h".
1733 * insets/insettext.h: remove #include "dimension.h",
1734 <boost/shared_ptr.hpp>
1736 * insets/renderers.h: add #include "dimension.h".
1737 * insets/updatableinset.h: add #include "support/types.h".
1739 * many .C files: Associated changes.
1741 2003-09-06 Angus Leeming <leeming@lyx.org>
1743 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1744 one, inside testInvariant.
1746 * PrinterParams.C: new file.
1747 * PrinterParams.[Ch]: move the function bodies out of line.
1749 2003-09-06 Angus Leeming <leeming@lyx.org>
1751 * ParagraphParameters.h: forward declare ParameterStruct rather than
1752 including its header file.
1753 (depth): moved out-of-line.
1755 2003-09-06 Angus Leeming <leeming@lyx.org>
1757 * BufferView_pimpl.h:
1760 * lyxfunc.h: forward declare LyXKeySym rather than
1761 #include "frontends/LyXKeySym.h".
1763 * BufferView_pimpl.C:
1766 * lyxfunc.C: associated changes.
1768 2003-09-06 Angus Leeming <leeming@lyx.org>
1770 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1771 As a result, can remove the #include "insets/inset.h" from BufferView.h
1773 2003-09-06 Angus Leeming <leeming@lyx.org>
1775 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1776 As a result, can remove the #include "insets/inset.h" from BufferView.h
1778 2003-09-06 Angus Leeming <leeming@lyx.org>
1784 * bufferview_funcs.C:
1785 * BufferView_pimpl.C:
1790 * ParagraphParameters.C:
1795 * frontends/controllers/ControlDocument.C:
1796 * insets/insetcaption.C: rearrange the #includes into some sort of
1799 * buffer.h: remove #includes ErrorList.h, undo.h
1801 2003-09-06 Angus Leeming <leeming@lyx.org>
1803 * support/types.h: add a 'depth_type' typedef, used to store the
1804 nesting depth of a paragraph.
1807 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1808 defining explicitly.
1811 * paragraph_funcs.h:
1812 * ParagraphParameters.h:
1813 * sgml.h: use lyx::depth_type rather than Paragraph or
1814 ParameterStruct's depth_type.
1817 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1820 * BufferView_pimpl.C:
1822 * ParagraphParameters.C:
1825 * bufferview_funcs.C:
1832 * frontends/LyXView.C:
1833 * frontends/controllers/ControlDocument.C:
1834 * frontends/controllers/ControlErrorList.C:
1835 * insets/insetbibitem.C:
1836 * insets/insetbranch.C:
1837 * insets/insetcaption.C:
1838 * insets/insetcollapsable.C:
1839 * insets/insetenv.C:
1840 * insets/insetert.C:
1841 * insets/insetfloat.C:
1842 * insets/insetfoot.C:
1843 * insets/insetfootlike.C:
1844 * insets/insetnewline.C:
1845 * insets/insetquotes.C:
1846 * insets/insettabular.C:
1847 * insets/insettext.C:
1848 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1850 * frontends/controllers/ControlChanges.C: #include "changes.h".
1852 2003-09-06 Angus Leeming <leeming@lyx.org>
1854 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1855 than #including paragraph.h.
1858 * RowList.h: deleted. Superfluous.
1868 * insets/insettext.h: use ParagraphList_fwd.h rather than
1871 * paragraph.h: don't forward declare ParagraphList.
1874 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1875 rather than ParagraphList.h. paragraph.h is still needed for the
1876 Paragraph::depth_type parameters.
1878 * textcursor.h: enable it to compile stand-alone in light of the
1881 * bufferview_funcs.C:
1893 * frontends/controllers/ControlParagraph.C:
1894 * frontends/controllers/ControlTabular.C:
1895 * insets/insetmarginal.C:
1896 * insets/insetminipage.C:
1897 * insets/insetnote.C:
1898 * insets/insetoptarg.C: add header files needed to compile again.
1900 2003-09-06 Angus Leeming <leeming@lyx.org>
1902 * RowList_fwd.h: new file, forward-declaring Row rather than
1903 #including lyxrow.h.
1908 * insets/insettext.h: use it instead of RowList.h
1910 * bufferview_funcs.C:
1917 * text3.C: #include "RowList.h".
1919 2003-09-05 Angus Leeming <leeming@lyx.org>
1921 * factory.C (createInset):
1922 * vspace.C (c-tor): replace sscanf call with an istringstream.
1923 * ispell.C: re-add missing HP/UX headers.
1924 * lyxserver.C: re-add missing os2 headers.
1926 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1935 * text3.C: re-add missing system headers, needed for 2.95.2.
1937 2003-09-05 Angus Leeming <leeming@lyx.org>
1939 Changes most place everywhere due to the removal of using directives
1940 from support/std_sstream.h.
1942 2003-09-05 Angus Leeming <leeming@lyx.org>
1944 Replace LString.h with support/std_string.h,
1945 Lsstream.h with support/std_sstream.h,
1946 support/LIstream.h with support/std_istream.h,
1947 support/LOstream.h with support/std_ostream.h.
1949 Changes resulting throughout the tree.
1951 2003-09-05 Angus Leeming <leeming@lyx.org>
1953 * sgml.h: ensure that the header file can be compiled stand-alone.
1954 * *.C: strip out redundant #includes. (320 in total.)
1956 2003-09-04 Angus Leeming <leeming@lyx.org>
1958 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1959 here (from getPackages).
1961 * debug.[Ch]: add a new EXTERNAL tag.
1963 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1965 * text2.C (cursorEnd): simplify
1967 (getColumnNearX): adjust
1969 * text.C (computeBidiTables): adjust
1972 * rowpainter.C (paintChars): adjust
1973 (paintSelection): adjust
1974 (paintChangeBar): adjust
1977 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1979 (numberOfSeparators): adjust
1981 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1987 * text3.C: Restricts the mouse click functionality
1988 of insets like bibtex, include, toc and floatlist to the visible
1989 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1990 up the dialogs. Cursor has to be in front of the inset (i.e.
1991 start of row) for this to function.
1993 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1995 * bufferview_funcs.C (currentState): output row information
1997 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1999 * bufferview_funcs.C (currentState): output paragraph position
2001 2003-09-04 Angus Leeming <leeming@lyx.org>
2003 * FloatList.h: move out #include "Floating.h".
2004 * LaTeX.h: move out #include "DepTable.h".
2005 * LyXAction.h: move out #include "funcrequest.h".
2006 * buffer.h: move out #include "author.h", "iterators.h".
2007 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2008 * lyx_main.h: move out #include "errorlist.h".
2009 * lyxfunc.h: move out #include "FuncStatus.h".
2010 * lyxtext: move out #include "lyxcursor.h".
2011 * paragraph_pimpl.h: move out #include "counters.h".
2013 2003-09-03 Angus Leeming <leeming@lyx.org>
2015 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2016 preamble_snippets list, enabling us to add snippets to the preamble
2017 only if the snippet was not there already.
2019 2003-09-04 Angus Leeming <leeming@lyx.org>
2021 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2023 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2025 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2028 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2030 * BranchList.C: point fix, earlier forgotten
2032 2003-09-02 Angus Leeming <leeming@lyx.org>
2034 * box.C (contains): renamed from 'contained' after a fantastic
2037 2003-09-02 John Levon <levon@movementarian.org>
2043 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2045 2003-09-02 John Levon <levon@movementarian.org>
2047 * text2.C: simplification of cursorEnd(), including partial
2050 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2052 * buffer.C (readFile): add a space
2054 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2056 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2058 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2060 * buffer.C (readFile): new function, take a filename and a
2061 ParagraphList::iterator
2063 (readFile): adjust, make it private. don't use setStream, make
2064 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2065 always contain the filename.
2067 * BufferView.C (insertLyXFile): simplify and make it work for
2070 2003-08-30 John Levon <levon@movementarian.org>
2072 * Makefile.am: fix dist (from Kayvan)
2074 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2076 * most files: change to use const Buffer refs
2078 2003-08-27 André Pönitz <poenitz@gmx.net>
2080 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2081 on top of ownerPar().
2083 2003-08-27 John Levon <levon@movementarian.org>
2085 * funcrequest.C: properly initialise POD members
2087 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2089 * lyxtext.h (top_y): move top_y from here
2094 * BufferView_pimpl.[Ch]: to here
2095 * frontends/screen.C:
2096 * insets/insettabular.C:
2097 * insets/insettext.C: adjust
2098 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2100 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2103 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2105 2003-08-26 André Pönitz <poenitz@gmx.net>
2107 * paragraph_func.[Ch] (outerPar): new function
2110 * paragraph_funcs.C:
2111 * paragraph_funcs.h:
2112 * paragraph_pimpl.C:
2113 * text2.C: remove Inset::par_owner
2115 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2120 * text2.C: eliminates the needFullRow/display() stuff
2121 altogether, putting the logic in metrics/draw in the insets.
2123 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2125 * text2.C (redoParagraphInternal, redoParagraphs):
2126 * text.C (redoParagraph): add a call to updateRowPositions at the
2127 end of each 'metrics-like' call. Remove all others.
2128 (getRow): remove the 'y-computing' version.
2129 (getRowNearY): do not compute nor return the real y. Solve the
2130 'y < 0' problem and simplify.
2132 2003-08-22 Angus Leeming <leeming@lyx.org>
2134 * *.[Ch]: clean-up of licence and author blurbs.
2135 Also move config.h out of a few .h files and into a few .C files.
2137 2003-08-22 André Pönitz <poenitz@gmx.net>
2139 * lyxrow.[Ch]: add x_ and *fill_ members
2144 * text2.C: adjust/remove prepareToPrint() calls
2146 2003-08-22 André Pönitz <poenitz@gmx.net>
2148 * lyxrow.[Ch]: add end_ member
2150 * lyxrow_funcs.C: use LyXRow::end_
2152 * lyxtext.h (singleWidth): add LyXFont parameter
2155 * text2.C: adjust LyXText::singleWidth() calls
2157 * text.C (redoParagraph): simplify row breaking logic
2160 2003-08-19 André Pönitz <poenitz@gmx.net>
2162 * funcrequest.C: initialize button_ member
2165 * rowpainter.[Ch]: interface consolidation
2167 2003-08-18 André Pönitz <poenitz@gmx.net>
2170 * BufferView_pimpl.C:
2172 * paragraph_funcs.C:
2174 * text3.C: remove LyXScreen::draw() and fitCursor calls
2176 * BranchList.h: remove spurious semicolons
2178 * MenuBackend.C: fix branchlist related crash
2180 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2188 * bufferparams.[Ch]:
2192 * text3.C: implements the 'branch inset'
2193 idea. This allows the output of various versions of a document
2194 from a single source version, selectively outputing or suppressing
2195 output of parts of the text.
2196 This implementation contains a 'branch list editor' in a separate
2197 tab of the document settings dialog. Branches are user definable
2198 and have a "display colour" to distinguish them on-screen.
2200 ColorHandler was somewhat cleaned up.
2201 (1) make possible a dynamically growing LColor list by allowing
2202 the graphic context cache to grow along (vector);
2203 (2) eliminate an IMHO unnecessary step in colour allocation.
2205 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2207 * BufferView_pimpl.C: compile fix
2209 2003-08-15 André Pönitz <poenitz@gmx.net>
2211 * rowpainter.C: remove extra metrics calls
2213 * lyxtext.h: merge the two constructors into a single one,
2214 pass reference to owner's par list
2216 * BufferView_pimpl.C:
2220 2003-08-15 André Pönitz <poenitz@gmx.net>
2222 * lyxrow_funcs.[Ch]:
2225 * paragraph_funcs.C:
2230 * text_funcs.C: split LyXText::rowlist_ into individual
2231 Paragraph::rows_ chunks
2234 * BufferView_pimpl.[Ch]:
2237 * text3.C: remove toggleSelection()
2239 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2241 * bufferlist.C: beautify two alerts (shorter text of buttons)
2242 * buffer.C: Remove redundant ' ' from message
2244 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2245 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2246 rename VALIGN_CENTER to VALIGN_MIDDLE
2248 2003-08-11 André Pönitz <poenitz@gmx.net>
2250 * lyxtext.h (getPar):
2251 * text.C: new function
2253 2003-08-11 André Pönitz <poenitz@gmx.net>
2256 * tracer.[Ch]: remove unneeded files
2258 * InsetList.[Ch]: remove resizeInsetsLyXText()
2263 * text3.C: merge insertParagraphs() and appendParagraph()
2264 remove breakAgain(), update()
2266 * BufferView_pimpl.[Ch]:
2267 * bufferview_funcs.[Ch]:
2271 * tabular.C: adjust after text & InsetList changes.
2273 2003-08-08 André Pönitz <poenitz@gmx.net>
2275 * text.C (insertChar, backspace): replace rowlist fiddling
2276 with rebreak of full par
2279 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2280 checkParagraph, updateInset): removed
2282 2003-08-07 André Pönitz <poenitz@gmx.net>
2285 * text3.C: merge some LFUN handlers, remove dead code
2287 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2289 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2291 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2293 * text2.C (DEPM): fix part of bug 1255 and 1256
2295 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2297 * BufferView_pimpl.C (workAreaDispatch): change to use
2298 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2299 that are no mouse related.
2301 2003-08-05 André Pönitz <poenitz@gmx.net>
2304 * BufferView_pimpl.[Ch]:
2305 * bufferview_funcs.C:
2307 * text3.C: rip out "deep update"
2309 * textcursor.[Ch] (last_sel_cursor): remove unused member
2311 2003-08-04 André Pönitz <poenitz@gmx.net>
2314 * BufferView_pimpl.[Ch]:
2315 * ParagraphParameters.C:
2316 * bufferview_funcs.C:
2322 * text3.C: replace "complicated" BufferView::update(...) calls with
2325 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2327 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2329 * Makefile.am (lyx_SOURCES): add paper.h
2331 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2333 * Makefile.am: move things around so that both lyx-qt and
2334 lyx-xforms can be built (according to --with-frontend). Then lyx
2335 is a symbolic link to lyx-[firstfrontend]
2337 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2339 * Always use std::endl with lyxerr
2341 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2343 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2345 2003-08-01 André Pönitz <poenitz@gmx.net>
2348 * BufferView_pimpl.[Ch]:
2350 * text3.C: merge BufferView::repaint() and BufferView::update()
2352 2003-08-01 José Matos <jamatos@lyx.org>
2354 * buffer.[Ch]: file_format is no longer a buffer data element.
2356 2003-08-01 André Pönitz <poenitz@gmx.net>
2361 * text2.C: make redoParagraph more independent of current cursor
2363 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2365 * text2.C: remove unneeded members
2367 2003-07-30 André Pönitz <poenitz@gmx.net>
2369 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2371 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2372 create a single function...
2374 * paragraph_funcs.C (moveItem): ... here.
2377 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2379 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2381 * LColor.[Ch]: Add comment and greyedout logical colors.
2383 2003-07-30 André Pönitz <poenitz@gmx.net>
2385 * tabular.C: don't use Assert too heavily. This crashes where it
2388 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2390 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2391 is disabled (bug 1232)
2393 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2395 * factory.C: limited 'arg' scope
2397 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2399 * factory.C: fixed Note submenu issues
2401 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2403 * factory.C: submenu for Note/Comment/Greyedout
2405 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2408 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2410 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2413 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2414 greyedout. Patch provided by Jürgen Spitzmüller.
2416 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2418 * kbmap.C (read): fix error message when reading bind files
2420 2003-07-29 Angus Leeming <leeming@lyx.org>
2422 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2423 certainly does not do what it purports to do. I am doing it, and
2424 us, a favour by killing it.
2426 2003-07-28 José Matos <jamatos@lyx.org>
2428 * buffer.C (readBody, do_writeFile):
2429 * paragraph.C(readParagraph): \end_document replaces \the_end.
2431 2003-07-29 André Pönitz <poenitz@gmx.net>
2434 * BufferView_pimpl.[Ch]:
2438 * textcursor.[Ch]: remove toggleToggle & Co
2440 2003-07-28 José Matos <jamatos@fep.up.pt>
2442 * buffer.C (readParagraph):
2443 * params_func (readParToken, readParagraph):
2444 * paragraph.C (write): \layout -> \begin_layout.
2446 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2448 * lyxlex_pimpl.C (setFile): clean up slightly.
2450 * bufferparams.h: add compressed var
2452 * buffer_funcs.C (readFile): adjust for LyXLex change
2453 (newFile): ditto + simplify
2455 * buffer.C (writeFile): handle writing of compressed files
2457 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2458 Check if the file is compressed and set a bufferparm if so.
2460 * Makefile.am (lyx_LDADD): remove explicit -lz
2462 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2464 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2465 makeDocBookFile): put the real LyX version in the first line of
2469 * version.C.in: remove lyx_docversion
2471 * tabular.C (write_attribute): add a template-based version to
2472 write enums properly
2474 2003-07-28 André Pönitz <poenitz@gmx.net>
2479 * text3.C: use doubles again for x-coordinates. They are needed.
2481 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2483 * messages.C (getLocaleDir): use lyx_localedir()
2485 * lyxlex_pimpl.C (setFile): compress stuff
2487 * buffer.C (writeFile): add some compression stuff
2488 (do_writeFile): new func, dont call expliti close... will this
2491 * Makefile.am (lyx_LDADD): add -lz
2493 2003-07-28 José Matos <jamatos@fep.up.pt>
2495 * buffer.C: increment file format.
2496 * paragraph_funcs (readParagraph, readParToken):
2497 * paragraph.C (readParagraph): add \end_layout.
2499 2003-07-27 Angus Leeming <leeming@lyx.org>
2501 * Makefile.am: remove special casing for configure-time setting of
2502 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2504 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2505 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2507 2003-07-26 André Pönitz <poenitz@gmx.net>
2509 * paragraph_func.[Ch]:
2510 * paragraph.C (realizeFont): inline it whereever it is used
2515 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2518 2003-07-26 André Pönitz <poenitz@gmx.net>
2522 * text2.C: get rid of LyXText::need_break_row
2524 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2526 * toc.[Ch]: put namespace toc inside namespace lyx
2528 * MenuBackend.C (expandToc2): adjust for lyx::toc
2531 * lyxfunc.C (dispatch): adjust for lyx::find
2533 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2534 lyx::find instead. Reorganize a bit.
2535 (LyXReplace): rename to replace
2536 (LyXFind): rename to find
2538 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2541 2003-07-26 André Pönitz <poenitz@gmx.net>
2543 * text.C (setHeightOfRow): restrict scope of temporary variable
2545 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2546 code (never has been used?)
2548 2003-07-27 Asger Alstrup <alstrup@local>
2550 * text.C (fill): Optimise algorithm to exploit that we can reuse
2551 the LyXFont for many characters.
2552 (setHeightOfRow): Same thing.
2553 (rowBreakPoint): Same thing.
2555 2003-07-26 Asger Alstrup <alstrup@local>
2557 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2559 * text.C (singleWidth): Spurious font copying in hot-spot
2560 singleWidth avoided. Reorder tests for arabic for efficiency.
2562 * text.C (fill): handle empty paragraphs better.
2564 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2567 * encoding.h: add includes
2569 * lyxrc.C: remove reading of bind files
2571 * lyx_main.C (init): setup bindings and menus only if we have a
2574 * kbmap.C (read): new method. Do the actual reading of bind
2577 * converter.C (dvipdfm_options):
2580 (output): adapt PAPER_* enums.
2582 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2584 * bufferparams.h: remove paper-related enums from there
2586 * paper.h: New file. A trivial header file to hold paper-related
2587 enums. It should later expand to contain many paper-related
2590 * lyxrc.C: declare extern displayTranslator
2592 2003-07-27 José Matos <jamatos@fep.up.pt>
2594 * tabular.[Ch] (linuxdoc): add support for tables and figures
2597 2003-07-27 José Matos <jamatos@fep.up.pt>
2599 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2600 consistency in both functions.
2601 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2603 2003-07-26 Asger Alstrup <alstrup@local>
2605 * rowpainter.C (paintRows): Change algorithm to work directly on
2606 the insets rather than asking every character in the document
2607 whether its an inset.
2609 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2611 * buffer.C (openFileWrite): factorize some code
2613 2003-07-26 Angus Leeming <leeming@lyx.org>
2616 * lyx_main.[Ch]: replace occurances of system_tempdir with
2619 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2621 * rename Inset to InsetOld
2623 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2625 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2626 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2627 which I think is a bit clearer. EDIT is gone, since it was
2628 premature optimisation, and broken for mathed anyway.
2629 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2630 with cursor positioning in insets as well (math insets still do not
2631 work, but that's a different story anyway.) It mysteriously
2632 crashes sometimes with undo in the first paragraph, but I'm fairly
2633 confident that this is a compiler bug.
2635 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2637 * paragraph.C (Paragraph): adjust for new clone return type
2639 (copyIntoMinibuffer): ditto
2641 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2643 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2644 by not having a special case, and always doing a full rebreak of
2645 the document after undo.
2647 2003-07-23 Angus Leeming <leeming@lyx.org>
2649 * factory.C (createInset): InsetExternal::setParams now takes a
2652 2003-07-23 Angus Leeming <leeming@lyx.org>
2654 * factory.C (createInset): changed interface to the external and
2655 graphics mailers' string2params functions.
2657 2003-07-23 Angus Leeming <leeming@lyx.org>
2659 * factory.C (createInset): pass a
2660 Buffer const * parameter to InsetExternalMailer's string2params.
2662 2003-07-22 John Levon <levon@movementarian.org>
2664 * Thesaurus.h: include the right aiksaurus header
2666 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2668 * MenuBackend.C (expand): check menu shortcuts unconditionally
2670 2003-07-21 Angus Leeming <leeming@lyx.org>
2672 * factory.C (createInset): pass a
2673 buffer_path parameter to InsetGraphicsMailer's string2params.
2675 2003-07-21 Angus Leeming <leeming@lyx.org>
2677 * BufferView_pimpl.C (buffer):
2680 * lyxfunc.C (dispatch):
2681 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2682 rather than the grfx shortcut.
2684 2003-07-21 André Pönitz <poenitz@gmx.net>
2686 * rowpainter.C: remove unused variables
2689 * tabular_funcs.h: move to tabular.C
2690 * Makefile.am: adjust
2692 * tabular.[Ch]: basic optical cleaning
2694 * author.h: pass references, not values
2696 2003-07-18 André Pönitz <poenitz@gmx.net>
2704 * text3.C: two-phase drawing for InsetText and InsetTabular
2705 some float -> int changes.
2707 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2709 * lyx_main.C: fix the fix
2711 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2713 * lyx_main.C: fix a crash in batch mode if no files specified
2716 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2718 * format.[Ch] (papersize): moved to BufferParams
2719 * converter.[Ch] (dvips_options): moved to BufferParams
2720 (dvipdfm_options): moved to anon namespace
2721 * bufferparams.[Ch]: added above functions.
2723 2003-07-17 André Pönitz <poenitz@gmx.net>
2727 * text2.C: don't call inset->update() anymore
2729 * metricsinfo.[Ch]: add convenience constructor
2731 2003-07-16 André Pönitz <poenitz@gmx.net>
2736 * text2.C: replace the LyXCursor::irow_ member with
2737 on-demand computation of the value
2739 2003-07-16 John Levon <levon@movementarian.org>
2741 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2743 2003-07-15 André Pönitz <poenitz@gmx.net>
2746 * text2.C: remove no more needed refresh_row
2748 2003-07-15 André Pönitz <poenitz@gmx.net>
2753 * text3.C: refresh_status tristate -> need_update bool
2755 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2757 * lyxtext.h (init): remove reinit argument (act as if always true)
2758 * text2.C: adjust to that
2760 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2762 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2763 * text3.C: use it to delete selections in some cases
2764 (bugs 441, 673, 702, 954).
2766 2003-07-14 André Pönitz <poenitz@gmx.net>
2768 * rowpainter.[Ch]: reduce interface
2770 2003-07-14 André Pönitz <poenitz@gmx.net>
2772 * BufferView_pimpl.C:
2773 * text2.C: adjust after removing unused BufferView * argument
2775 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2777 * text2.C (init): fix a crash fired on resize
2779 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2781 * buffer.[Ch]: added new closing signal
2782 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2783 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2784 BufferView::Pimpl via the closing the signal
2786 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2788 * buffer.[Ch]: take out all bv-related from buffer
2790 * BufferView_pimpl.[Ch]: connect to new signals
2791 * CutAndPaste.C: removed useless asserts
2792 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2795 * lyxfunc.C: moved view-related funciontality from vc here
2796 * paragraph.C: removed outdated comments
2799 2003-07-10 André Pönitz <poenitz@gmx.net>
2801 * BufferView_pimpl.C:
2805 * text2.C: remove InsetText::InnerCache, clean up consequences
2807 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2809 * ispell.C: fix two typos in error messages
2811 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2813 * Extend Note inset to other forms of annotation like Comment
2814 and Greyedout. Right button click gives dialog.
2816 Files modified or added (+):
2820 * ControlNote.[Ch] +
2822 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2823 frontends/controllers
2827 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2829 * aspell.C: add missing namespace lyx::support
2831 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2833 * BufferView.[Ch] (newFile): Add
2834 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2835 * LaTeX.[Ch] (message): added this signal and use it
2836 * buffer.[Ch] (busy, message): added these signals and use them
2837 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2841 * importer.C: use buffer signals instead of direct bv calling
2842 * lyx_cb.[Ch] (ShowMessage): removed
2845 * paragraph_funcs.C:
2846 * text2.C: use buffer signals
2848 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2850 * introduce namespace lyx::graphics
2852 2003-07-02 André Pönitz <poenitz@gmx.net>
2854 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2856 2003-07-01 André Pönitz <poenitz@gmx.net>
2863 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2864 text*.C to text_func.C
2866 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2868 * introduce namespace lyx::support
2870 2003-06-30 André Pönitz <poenitz@gmx.net>
2875 * text.C: re-enable --with-included-string
2877 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2879 * textcursor.C: add <config.h>
2881 * text.C (getWord): remove const from word_location arg
2883 * lyxvc.C (getLogFile): fix const type order
2885 * lyxtext.h: remove const from word_location arg, add arg name
2887 * lyxlayout.h: currect type on labeltype.
2889 * importer.C: correct \file
2891 * converter.C (intToFormat): use std:: on ret val, ws changes
2893 * bufferlist.h: correct \file
2895 * buffer.C (makeLinuxDocFile): fix const type order
2896 (makeDocBookFile): ditto
2897 (fillWithBibKeys): use std:: on stdlib args.
2899 * CutAndPaste.C: fix authors.
2900 (availableSelections): use std:: on return vector
2902 2003-06-27 André Pönitz <poenitz@gmx.net>
2904 * BufferView_pimpl.C:
2905 * bufferview_funcs.C:
2913 * text3.C: remove LyXCursor::row_ member
2916 * text.C: rename fullRebreak() to partialRebreak() and implement
2917 a fullRebreak() that really bereks fully
2919 * textcursor.h: new struct for cursor-related data
2921 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2923 * lyx_main.C (LyX): get full path of document loaded on the
2926 2003-06-26 André Pönitz <poenitz@gmx.net>
2928 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2929 remove unused/broken operator>,<,>=.
2931 * text.C: remove only use of broken operator<= in an Assert().
2933 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2935 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2936 moved errorlist_.clear to showErrorList
2938 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2940 * converter.C (scanLog, runLaTeX):
2941 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2942 move the bv->showErrorList call to the callers
2943 * lyxfunc.C: i.e. here...
2945 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2946 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2947 namespace, the second to...
2948 * buffer_funcs (BufferFormat, parseErrors): added
2949 * errorlist.C (ErrorList(TeXErrors const &)): removed
2951 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2953 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2955 2003-06-24 "Garst R. Reese" <reese@isn.net>
2959 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2961 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2963 * version.C.in: change docversion to 1.4
2965 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2967 * buffer.C: fix a bug just introduced
2969 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2971 * buffer.[Ch]: added the parseError signal and use it, removed
2973 * BufferView.[Ch] (addError): moved to ...
2974 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2975 to the Buffer::parseError signal to catch (guess what) parse errors
2976 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2978 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2980 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2981 ability to create a buffer and to return an existing one from
2982 the list. Moved these functions to...
2983 * buffer_funcs.[Ch]: added
2984 * BufferView.[Ch] (loadLyXFile): added
2985 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2986 job removed from bufferlist::loadLyXFile.
2987 * buffer.C (setReadOnly): make it work without view
2988 (i.e added an if (users))
2990 2003-06-19 Angus Leeming <leeming@lyx.org>
2993 * LyXAction.C (init):
2994 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2995 with LFUN_DIALOG_SHOW <name> <data>.
2997 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2999 * CutAndPaste.C (availableSelections): small compilation fix for
3000 ancient (gcc 2.9x) compilers
3002 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3004 * text3.C (cursorNext): add tmp var
3006 * text2.C (updateCounters): for function calling out of for clause
3007 (replaceSelectionWithString): ditto
3008 (insertStringAsParagraphs): ditto
3009 (getColumnNearX): add tmp var
3010 (setCursorFromCoordinates): add tmp var
3011 (cursorDownParagraph): add tmp var
3012 (deleteEmptyParagraphMechanism): add tmp var
3014 * text.C (insertChar): add tmp var
3016 * rowpainter.C (paintDepthBar): add tmp var
3018 * CutAndPaste.C (availableSelections): potentially check all
3019 paragraphs in a cut to fill the shown strings.
3021 2003-06-18 André Pönitz <poenitz@gmx.net>
3023 * kbmap.[Ch]: use vector<> instead of list<>
3025 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3027 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3028 pasteSelection with index
3030 * text2.C (pasteSelection): modify, call pasteSelection with index
3032 * paragraph.C (asString): reimplement version with no interval to
3033 call the one with interval.
3035 * lyxtext.h: add index arg to pasteSelection
3037 * MenuBackend.C (MenuItem): handle PasteRecent
3038 (Menu::read::Menutags): add md_pasterecent
3040 (expandPasteRecent): new function
3043 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3045 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3047 (availableSelections): new function
3049 2003-06-17 Angus Leeming <leeming@lyx.org>
3051 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3053 2003-06-17 Angus Leeming <leeming@lyx.org>
3056 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3058 * lyxfunc.C (dispatch): invoke it.
3060 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3062 * iterators.C (operator++, ParPosition): reintroduce some
3063 const_cast for the benefit of older compilers.
3065 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3067 * text3.C (dispatch): do not modify clipboard when doing
3068 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3069 LFUN_DELETE_SKIP on a selection selection
3071 2003-06-16 André Pönitz <poenitz@gmx.net>
3077 * tabular.[Ch]: IU of clone() and getLabelList();
3079 2003-06-13 André Pönitz <poenitz@gmx.net>
3081 * tabular.h: compactification
3083 2003-06-12 André Pönitz <poenitz@gmx.net>
3087 * tabular_funcs.h: some renaming plus whitespace
3089 2003-06-12 André Pönitz <poenitz@gmx.net>
3092 * BufferView_pimpl.C:
3098 * toc.C: Return a Paragraph & for ParIterator::operator*()
3100 2003-06-11 John Levon <levon@movementarian.org>
3104 * ToolbarBackend.C: add "Toolbars" section and
3107 2003-06-10 Angus Leeming <leeming@lyx.org>
3110 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3112 * lyxfunc.C (dispatch): invoke it.
3114 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3116 * main.C: protect <ios> with HAVE_IOS
3117 (main): protect sync_with_stdio with HAVE_IOS
3119 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3121 * text2.C (cutSelection): adjust
3122 (pasteSelection): adjust
3124 * messages.C: handle get of empty string
3126 * main.C (main): use sync_with_stdio(false)
3128 * lyxfunc.C (dispatch): adjust
3130 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3131 (WriteAs): remove unneeded BufferView arg.
3133 * bufferparams.h: use correct types on papersize, papersize2 and
3136 * bufferparams.C (readToken): adjust for type
3137 (writeLaTeX): add missing cases to switch.
3139 * bufferlist.C (quitWriteBuffer): adjust
3142 * buffer.C (asciiParagraph): remove some commented code.
3144 * CutAndPaste.C: remove current_view extern variable.
3145 (cutSelection): add BufferParams arg.
3146 (eraseSelection): add BufferParams arg.
3147 (pasteSelection): add Buffer const & arg
3149 2003-06-07 John Levon <levon@movementarian.org>
3152 * paragraph_funcs.C:
3153 * paragraph_pimpl.C:
3157 * paragraph.C: allow InsetERT to freely space lines,
3158 and some consolidation of code
3160 2003-06-06 José Matos <jamatos@fep.up.pt>
3162 * buffer.C (makeDocBookFile): fix bug #821
3164 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3166 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3168 2003-06-04 Angus Leeming <leeming@lyx.org>
3170 * buffer.C: bump format to 224.
3172 2003-06-05 André Pönitz <poenitz@gmx.net>
3174 * text2.C (redoParagraphs): remove two const_cast<>
3176 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3178 * ParagraphList.h: remove last remnants of NO_STD_LIST
3180 2003-06-03 Angus Leeming <leeming@lyx.org>
3182 * factory.C (createInset): small change to the way InsetExternal's params
3185 2003-06-04 André Pönitz <poenitz@gmx.net>
3187 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3189 * paragraph_pimpl.h:
3190 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3192 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3194 * undo_funcs.C: make some simple cases of undo work again
3196 2003-06-03 John Levon <levon@movementarian.org>
3198 * ispell.C: HPUX doesn't have sys/select.h
3201 2003-06-03 John Levon <levon@movementarian.org>
3203 * CutAndPaste.C: update tabular and include inset
3208 * paragraph.C: remove owningBuffer(), don't pass Buffer
3211 * factory.C: insetGraphicsParams changed
3213 2003-06-02 John Levon <levon@movementarian.org>
3219 * text3.C: remove insetparent
3221 2003-06-02 John Levon <levon@movementarian.org>
3224 * buffer.C: fix inset_iterator.end(), move out of line
3227 2003-06-01 John Levon <levon@movementarian.org>
3229 * text3.C: use a proper cut/paste when doing inset
3230 insert (from Jürgen Spitzmüller)
3232 2003-06-01 John Levon <levon@movementarian.org>
3234 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3236 2003-05-30 André Pönitz <poenitz@gmx.net>
3238 * rowpainter.C: unify second drawing phase
3240 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3242 * trans_mgr.C: remove one case of current_view
3244 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3246 * paragraph_funcs.h: remove paragraph.h include
3248 * paragraph.h: delete NO_STD_LIST stuff
3250 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3252 * buffer.h: remove paragraph.h include
3254 * ParagraphList.C: delete file
3256 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3258 * toc.C (getTocList): adjust
3260 * paragraph_pimpl.C (validate): adjust
3262 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3264 * paragraph.C (Paragraph): adjust
3265 (getPositionOfInset): use const_iterator, adjust
3266 (bibitem): use const_iterator, adjust
3267 (setInsetOwner): adjust
3269 * iterators.C (operator++): adjust
3271 * InsetList.[Ch]: Replace selfmade iterator with standard
3272 vector::iterator also introduce const_iterator. Remove getPos,
3273 getInset and setInset from InsetTable. Adjust accordingly.
3275 * BufferView.C (lockInset): adjust
3276 (ChangeInsets): adjust
3278 * tabular.[Ch]: delete commented same_id functions
3280 2003-05-28 John Levon <levon@movementarian.org>
3282 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3284 2003-05-28 André Pönitz <poenitz@gmx.net>
3286 * metricsinfo.[Ch]: remove 'fullredraw' member
3288 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3290 * lyxtextclass.C (operator): remove caching.
3292 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3296 * text2.C (cursorBottom): adjust
3297 (setCounter): use ParagraphList::find, adjust
3299 * text.C (workWidth): use ParagraphList::find, adjust
3301 * lyxcursor.C (LyXCursor): adjust
3303 * buffer.C (inset_iterator): adjust
3305 * ParagraphList.h: make iterator(value_type) private, make
3306 ParagraphList a friend of iterator.
3308 * ParagraphList.C (find): new function
3310 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3312 2003-05-27 André Pönitz <poenitz@gmx.net>
3314 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3316 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3318 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3320 2003-05-26 John Levon <levon@movementarian.org>
3322 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3324 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3326 * remove same_id from function signatures, adjust.
3328 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3330 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3332 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3334 * paragraph.C (Paragraph): get rid of same_ids parameter
3336 * ParagraphList.C (insert): adjust
3339 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3341 * paragraph_funcs.C (breakParagraph): adjust
3342 (breakParagraphConservative): adjust
3344 * buffer.C (readParagraph): adjust
3346 * ParagraphList.C (insert): take a reference instead of a pointer
3349 * paragraph.[Ch] (id): new function
3351 * bufferlist.C (newFile): adjust
3353 * ParagraphList.C (ParagraphList): adjust
3355 (push_back): take a reference instead of a pointer.
3357 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3359 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3362 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3363 set else use old code.
3365 * ParagraphList.C: remove all NO_NEXT code and only compile this
3366 code of NO_STD_LIST is set.
3368 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3370 * BufferView_pimpl.C:
3380 * graphics/GraphicsConverter.C:
3381 * graphics/PreviewLoader.C: header adjustment
3383 2003-05-23 Angus Leeming <leeming@lyx.org>
3385 * LaTeXFeatures.[Ch] (useBabel): new method.
3386 * bufferparams.C (writeLaTeX): use it.
3388 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3390 * ParagraphList.h (set): remove unused function.
3392 2003-05-23 André Pönitz <poenitz@gmx.net>
3395 * BufferView_pimpl.C:
3399 * undo_funcs.C: setUndo reworked
3401 * iterators.[Ch]: add access to topmost ParagraphList
3403 * lyxtext.[Ch] (workWidth): add a const
3405 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3407 * texrow.[Ch] (increasePos): remove function
3408 * exporter.C (export): removed unused var and outdated comment
3410 2003-05-23 Angus Leeming <leeming@lyx.org>
3412 * latexrunparams.h: rename fragile as moving_arg.
3413 * paragraph.C (simpleTeXOnePar): ditto.
3414 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3416 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3418 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3420 (textUndoOrRedo): comment out a currently unused var.
3422 * paragraph.h (NO_NEXT): enable NO_NEXT
3424 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3426 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3428 * exporter.C (Export): adjust for removeAutoInsets removal.
3430 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3432 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3434 * BufferView.[Ch] (removeAutoInsets): delete function
3436 2003-05-22 Angus Leeming <leeming@lyx.org>
3438 * latexrunparams.h: add a free_spacing variable.
3440 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3441 to pass moving_arg, as the data is stored in runparams.fragile.
3443 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3444 to Inset::latexOptional or to simpleTeXOnePar.
3446 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3447 free_spacing arg to Inset::latexOptional.
3449 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3452 2003-05-22 Angus Leeming <leeming@lyx.org>
3454 * latexrunparams.h: add fragile and use_babel variables.
3456 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3457 * buffer.C (makeLaTeXFile): store this returned value in
3458 runparams.use_babel, thus passing it to the inset::latex methods.
3460 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3461 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3463 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3464 longer has a fragile arg, as it is stored in runparams.fragile.
3466 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3467 moving_arg parameter as the data is stored in runparams.fragile.
3469 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3470 a fragile parameter as the data is stored in runparams.fragile.
3472 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3474 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3476 2003-05-22 Angus Leeming <leeming@lyx.org>
3478 * latexrunparams.h: add a 'bool nice' which defaults to false.
3480 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3481 now encapsulated within runparams.
3483 * bufferlist.C (updateIncludedTeXfiles):
3484 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3486 2003-05-22 Angus Leeming <leeming@lyx.org>
3488 * latexrunparams.h: new file containing struct LatexRunParams.
3489 * Makefile.am: add new file.
3491 * LaTeX.[Ch] (c-tor, run):
3492 * buffer.[Ch] (makeLaTeXFile):
3493 * bufferlist.[Ch] (updateIncludedTeXfiles):
3494 * converter.C (convert, scanLog):
3495 * converter.[Ch] (runLaTeX):
3496 * exporter.C (Export):
3497 * paragraph.[Ch] (simpleTeXOnePar):
3498 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3499 * paragraph_funcs.[Ch] (latexParagraphs):
3500 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3501 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3502 pass around a LatexRunParams parameter.
3504 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3506 * paragraph.[Ch]: remove unused constructor
3508 * ParagraphList.C (erase): new function, taking two iterators
3510 2003-05-22 André Pönitz <poenitz@gmx.net>
3512 * undo_funcs.C: remove duplicated code
3514 * iterator.[Ch]: operator=
3516 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3518 * tabular.C (SetMultiColumn): ws changes
3520 * rowpainter.C (paintFirst): get rid of a ->previous
3522 * lyx_cb.C (getPossibleLabel): parlist simplification
3524 * BufferView.C (ChangeInsets): simplify slightly.
3526 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3528 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3529 * lfuns.h: new LFUN_SPACE
3530 * lyxfunc.C: protected space has a new lfun
3531 * paragraph_funcs.C: read new space insets
3533 * factory.C: handle new space insets
3535 2003-05-22 André Pönitz <poenitz@gmx.net>
3538 * BufferView_pimpl.C:
3541 * undo_funcs.C: return a ParIterator from getParFromID.
3543 * iterators.[Ch]: add two const's
3545 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3547 * toc.C (getTocList): adjust
3549 * iterators.[Ch]: rework for parlist
3551 * buffer.C (par_iterator_begin): adjust
3552 (par_iterator_end): adjust
3554 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3556 * BufferView.C (removeAutoInsets): adjust
3557 (ChangeInsets): adjust
3559 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3561 * text.C (top_y): fix bug 1110
3563 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3565 * errorlist.[Ch]: added
3568 * BufferView_pimpl.C:
3569 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3572 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3574 * Makefile.am: ensure that lyx is relinked upon changes to the
3575 various "convenience" libs.
3577 2003-05-20 Angus Leeming <leeming@lyx.org>
3579 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3580 files are compiled in alphabetical order again.
3582 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3584 2003-05-19 Angus Leeming <leeming@lyx.org>
3586 * gettext.[Ch]: remove "char const * _(char const *)".
3588 2003-05-19 André Pönitz <poenitz@gmx.net>
3590 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3599 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3601 2003-05-19 André Pönitz <poenitz@gmx.net>
3605 * lyxtextclass.[Ch]:
3607 * paragraph_funcs.[Ch]:
3609 * text3.C: more insetenv work
3611 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3613 * ParagraphParameters.C (params2string): small bug fixed
3615 2003-05-16 André Pönitz <poenitz@gmx.net>
3618 * bufferview_funcs.C: patch from Kornel Benko to prevent
3619 crash when _(...) is called twice in a statement
3621 2003-05-16 André Pönitz <poenitz@gmx.net>
3628 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3630 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3632 * lyx_main.C (init): remove spurious static_cast
3634 2003-05-14 André Pönitz <poenitz@gmx.net>
3636 * BufferView.C: fix format string
3638 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3640 * BufferView.[Ch] (insertErrors): removed
3641 * BufferView.[Ch] (showErrorList): added
3642 * buffer.C (runChkTeX):
3643 * converter.C (scanLog): call showErrorList instead of inserterrors
3645 2003-05-13 André Pönitz <poenitz@gmx.net>
3647 * BufferView_pimpl.C:
3649 * bufferview_func.C:
3656 * tabular_funcs.h: tostr() from its own header
3658 * ParagraphParameters.C:
3663 * text3.C: STRCONV()
3665 2003-05-12 André Pönitz <poenitz@gmx.net>
3668 * BufferView_pimpl.C:
3672 * ParagraphParameters.C:
3676 * bufferview_funcs.C:
3689 * paragraph_funcs.C:
3693 * text3.C: boost::format -> bformat all over the place
3696 2003-05-09 André Pönitz <poenitz@gmx.net>
3698 * LColor.[Ch]: Pimpl the #include <map> away
3700 2003-05-09 John Levon <levon@movementarian.org>
3702 * bufferlist.C: never remove emergency saves
3704 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3706 * Makefile.am: better lib building
3708 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3710 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3712 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3713 (simpleTeXSpecialChars): adjust
3714 (simpleTeXSpecialChars): adjust
3715 * paragraph.C (simpleTeXOnePar): adjust
3716 * buffer.C (makeLaTeXFile): adjust
3718 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3720 * text2.C (changeDepth): parlist cleanup
3721 (getColumnNearX): ditto
3723 * rowpainter.C (getLabelFont): parlist cleanup
3725 * bufferlist.C (newFile): parlist cleanup
3727 * CutAndPaste.C (eraseSelection): parlist cleanup
3729 * BufferView_pimpl.C (trackChanges): parlist cleanup
3732 * BufferView.C (lockInset): parlist cleanup.
3733 (ChangeInsets): ditto
3735 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3737 * CutAndPaste.h: Update file header.
3739 * CutAndPaste.C: Update file header.
3740 Store the parts cut out of the Document in a limited_stack.
3741 (copySelection): adjust
3742 (pasteSelection): new function, takes the index in the limited stack.
3743 (nrOfParagraphs): adjust
3744 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3745 simplify error inset insertion.
3746 (checkPastePossible): adjust
3748 2003-05-06 John Levon <levon@movementarian.org>
3750 * text2.C: don't cast wrap inset to float
3752 2003-05-05 André Pönitz <poenitz@gmx.net>
3755 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3757 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3758 few naked Paragraph *.
3760 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3762 * bufferparams.C: Output warning if a document with missing
3763 TeX document class is loaded
3764 * exporter.C: Disable TeX exports if the document class is missing
3767 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3768 isTeXClassAvailable()
3770 2003-05-03 John Levon <levon@movementarian.org>
3773 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3774 explicit cursor show/hide
3776 * BufferView_pimpl.h:
3777 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3778 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3780 * lyxfunc.C: hide cursor before dispatching.
3785 * text3.C: remove explicit cursor hides
3787 2003-05-02 André Pönitz <poenitz@gmx.net>
3789 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3792 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3795 * text2.C: tiny whitespace
3797 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3799 * undo_funcs.C: almost only ws changes.
3801 * ParagraphList.C (splice): just return if pl is empty.
3803 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3805 * ParagraphList.C (splice): new function.
3807 * CutAndPaste.C (pasteSelection): use it
3809 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3811 * CutAndPaste.C (pasteSelection): remove the last next and
3812 previous from this file.
3814 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3816 * CutAndPaste.C (pasteSelection): more clean up, user proper
3817 ParagraphList functions for pasteing.
3819 * ParagraphList.C (insert): new function, three arg insert
3821 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3823 * ParagraphList.C (insert): new function, three arg insert
3825 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3828 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3830 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3832 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3834 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3836 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3838 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3839 (copySelection): clean up a bit.
3840 (pasteSelection): use make_pair
3842 * ParagraphList.C (ParagraphList): implement copy constructor
3843 (operator=): implement, base on copy constructor.
3846 * paragraph.C (erase): return a bool
3848 * paragraph_pimpl.C (erasePos): remove function, move contents...
3849 (erase): ... here. Return a bool.
3850 (erase): call erase instead of erasePos.
3852 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3854 * ParagraphList.h: define PitPosPair
3855 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3856 ParagraphList, fix a bug on pasting multiple pars
3857 * text2.C: change interface to C&P
3859 2003-04-30 André Pönitz <poenitz@gmx.net>
3861 * undo_func.C: revert part of yesterday's patch 2
3863 2003-04-30 John Levon <levon@movementarian.org>
3865 * LColor.C: s/tabular/table/
3867 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3869 * text3.C (dispatch): do not convert iterator -> pointer
3870 * undo_funcs.C (setCursorParUndo): ditto
3871 * text_funcs.C (transposeChars): ditto
3873 * text2.C (setLayout): ws changes only
3875 * text.C (breakParagraph): do not convert iterator -> pointer
3877 (acceptChange): ditto
3878 (rejectChange): ditto
3883 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3886 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3888 * text3.C (gotoInset): YABG (yet another bad getChar)
3890 2003-04-29 André Pönitz <poenitz@gmx.net>
3892 * paragraph.h: make operator= private unimplemented as long as
3895 * ParagraphList.C: whitespace
3898 * paragraph_pimpl.[Ch]:
3899 * paragraph_funcs.C:
3901 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3904 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3906 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3908 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3909 * paragraph.[Ch] (erase):
3910 * paragraph_pimpl.[Ch] (erase): change return type and value
3911 * text2.C (cutSelection): some rework
3913 2003-04-28 John Levon <levon@movementarian.org>
3915 * bufferlist.C: changes for unsaved changes dialog
3917 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3919 * bufferlist.C (newFile): set language (messages_) for new
3922 * buffer.C (readFile): ws changes only.
3924 2003-04-28 André Pönitz <poenitz@gmx.net>
3929 * BufferView_pimpl.C:
3930 * BufferView.C: getParFromID related ParagraphList::iterator changes
3932 2003-04-28 André Pönitz <poenitz@gmx.net>
3934 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3937 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3939 * messages.C: remove one more localedir class variable.
3941 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3943 * messages.C (getLocaleDir): singleton generation function
3945 (Messages): add a default constructor.
3947 * main.C (main): do not setup localedir here, do not call
3950 * gettext.C (_): use it.
3951 (gettext_init): delete funciton
3953 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3955 * gettext.C (getLyXMessages): new singleton generating function.
3957 * buffer.C (updateDocLang): adjust
3959 * Makefile.am (messages.o): add target
3960 (main.o): remove target
3962 2003-04-27 John Levon <levon@movementarian.org>
3967 * lyxvc.C: specify cancel button in Alert::prompt
3969 2003-04-26 John Levon <levon@movementarian.org>
3974 * LyXAction.C: add LFUN_INSET_SETTINGS
3976 * lyxfunc.C: don't enable tabular-feature when there's
3977 just any locking inset
3979 2003-04-26 John Levon <levon@movementarian.org>
3981 * bufferlist.C: re-add Cancel to buffer close question
3983 * lyxfunc.C: fix import UI a bit
3985 2003-04-25 John Levon <levon@movementarian.org>
3987 * gettext.C: remove the broken asserts for now
3989 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3991 * messages.C: make case where setlocale cannot comply work better.
3993 * buffer.C (updateDocLang): new function
3994 (changeLanguage): use it
3997 * text2.C (setCounter): use B_ a bit.
3999 * lyxlayout.C (Read): be sure to trim the label strings.
4001 * messages.C (Messages): fix typo in comment
4003 * buffer.C (readFile): set message_ after file is loaded.
4004 (makeDocBookFile): remove double return
4005 (changeLanguage): reset message_ upon language change.
4006 (B_): new func, use this to get translated buffer strings.
4008 * main.C: add myself and Jean Marc as authors.
4010 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4012 * messages.[hC]: pimplify Messages, and three different pimpls to be
4013 used in different circumstances.
4015 * gettext.[Ch]: change for use with new message code.
4017 2003-04-24 André Pönitz <poenitz@gmx.net>
4019 * factory.C: support for eqref
4021 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4023 * messages.[Ch]: add missing char
4025 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4027 * messages.[Ch]: New files
4029 2003-04-18 John Levon <levon@movementarian.org>
4033 * BufferView_pimpl.C:
4037 * text2.C: remove layout-copy/paste (bug 778)
4039 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4041 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4043 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4045 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4046 if they succeed. Act accordingly.
4048 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4050 * text2.C (setCharFont): adjust
4051 (setCounter): adjust
4052 (insertStringAsLines): adjust
4054 * text.C (leftMargin): adjust
4055 (setHeightOfRow): adjust
4057 * rowpainter.C (paintFirst): adjust
4060 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4062 (isFirstInSequence): ditto
4063 (getEndLabel): ditto
4066 * paragraph.C (getParLanguage): comment out some hard stuff.
4068 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4070 (simpleDocBookOnePar): ditto
4071 (makeDocBookFile): use ParagraphList::iterator
4073 * CutAndPaste.C (pasteSelection): adjust
4075 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4077 * text2.C (getFont): adjust
4078 (getLayoutFont): adjust
4079 (getLabelFont): adjust
4081 * paragraph_funcs.C (TeXOnePar): adjust
4083 * buffer.C (simpleLinuxDocOnePar): adjust
4084 (simpleDocBookOnePar): adjust
4086 * CutAndPaste.C (pasteSelection): adjust
4088 * BufferView.C (getEncoding): adjust
4090 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4092 2003-04-16 John Levon <levon@movementarian.org>
4094 * lyxfind.C: use parlist stuff for search/changes
4096 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4098 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4100 * text2.C (deleteEmptyParagraphMechanism): adjust
4102 * text2.[Ch] (ownerParagraph): delete func (both of them
4104 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4106 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4108 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4110 * ParagraphList.C: prepare for NO_NEXT
4112 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4114 * text2.C (getFont): adjust
4115 (getLayoutFont): adjust
4116 (getLabelFont): adjust
4118 * paragraph.C (getFont): adjust
4119 (getLabelFont): adjust
4120 (getLayoutFont): adjust
4122 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4124 2003-04-15 John Levon <levon@movementarian.org>
4128 * lyx_main.C: handle Include in .ui files
4130 2003-04-15 John Levon <levon@movementarian.org>
4132 * MenuBackend.C: make the doc files length shorter
4135 * ToolbarBackend.C: handle toolbar placement flags,
4138 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4140 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4143 * paragraph_funcs.C (TeXOnePar): adjust
4145 * paragraph.C (getLabelFont): add outerfont arg, adjust
4146 (getLayoutFont): ditto
4147 (simpleTeXOnePar): adjust
4149 * paragraph_pimpl.C (realizeFont): delete func
4151 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4153 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4154 row argument, constify cur argument.
4156 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4158 * text2.C (getFont): adjust
4159 (getLayoutFont): adjust
4160 (getLabelFont): adjust
4162 * paragraph_funcs.C (TeXOnePar): adjust
4163 (outerFont): new func...
4164 (realizeFont): ...moved out from here, changed this to facilitate
4167 * paragraph.C (getFont): take outerfont as arg, adjust
4168 (simpleTeXOnePar): add outerfont arg, adjust
4170 * buffer.C (simpleLinuxDocOnePar): adjust
4171 (simpleDocBookOnePar): adjust
4173 * CutAndPaste.C (pasteSelection): adjust
4175 * BufferView.C (getEncoding): adjust
4177 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4179 * text2.C (setCharFont): adjust
4180 (setCounter): adjust
4182 * text.C (leftMargin): adjust
4183 (setHeightOfRow): adjust
4185 * rowpainter.C (paintFirst): adjust
4188 * paragraph_pimpl.C (realizeFont): adjust
4190 * paragraph.C (isFirstInSequence): move from here...
4191 * paragraph_funcs.C (isFirstInSequence): ...to here
4193 * paragraph.C (outerHook): move from here...
4194 * paragraph_funcs.C (outerHook): ...to here
4196 * paragraph.C (depthHook): move from here...
4197 * paragraph_funcs.C (depthHook): ...to here
4199 * paragraph.C (getEndLabel): move from here...
4200 * paragraph_funcs.C (getEndLabel): ...to here
4202 * text2.C (realizeFont): move from here...
4203 * paragraph_funcs.C (realizeFont): ...to here
4205 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4207 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4209 2003-04-14 Angus Leeming <leeming@lyx.org>
4211 * LColor.[Ch]: scrap LColor mathcursor.
4213 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4215 * lyxlex.[Ch] (text): delete function
4216 * trans.C (Load): adjust
4217 * paragraph_funcs.C (readParToken): adjust
4219 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4221 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4222 vector<char> instead of a char[].
4224 * lyxlex_pimpl.C (getString): adjust
4226 (lex): use getString
4230 * lyxlex.C (text): use pimpl_->getString()
4234 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4236 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4237 (makeFontEntriesLayoutSpecific): temp var for par.size()
4238 (setLayout): temp var for ownerParagraphs().end()
4239 (fullRebreak): temp var for rows().end()
4240 (selectionAsString): temp var for boost::next(startpit), realize
4241 that the while really is a regular for loop.
4242 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4243 setCursor in one place.
4244 (setParagraph): temp vr for ownerParagraphs().end()
4245 (updateCounters): make the while loop a for loop
4246 (cutSelection): temp var for ownerParagraphs().end()
4247 (updateInset): make the do {} while() a regular for loop
4248 (getCursorX): use temp vars
4249 (setCurrentFont): use temp vars
4250 (getColumnNearX): use temp vars
4252 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4254 * text.C (transformChar): use temp var for getChar
4255 (computeBidiTables): use temp var for row->par()
4256 (fill): move temp vars for row->par() and pit->layout() earlier in
4258 (labelFill): use temp var for row->par()
4259 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4260 asc and desc, realize that pit never changes and that firstpit is
4261 just a duplicate and not needed. Exchange rit->par() with pit in a
4263 (breakAgain): use a temp var for boost::next(rit)
4264 (breakAgainOneRow): ditto
4265 (breakParagraph): use a temp var for rows().begin()
4266 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4267 (cursorRightOneWord): use temp var for cursor.par() and
4268 cursor.pos(), remove usage of tmpcursor.
4269 (cursorLeftOneWord): use temp var for cursor.par() and
4270 cursor.pos() only set cur at end of function.
4272 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4274 * text.C, text2.C: exchange all usage of Paragraph::next with
4275 boost::next(ParagraphList::iterator)
4277 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4279 * text2.C (cursorTop): simplify implementation
4280 (cursorBottom): ditto
4281 (setParagraph): use ParagraphList::iterator
4282 (setCurrentFont): adjust
4283 (getColumnNearX): adjust
4284 (cursorRight): adjust
4285 (cursorLeft): remove usage of Paragraph::previous
4286 (cursorUpParagraph): ditto
4287 (deleteEmptyParagraphMechanism): slight cleanup
4289 * text.C (isBoundary): take a Paragraph const & instead of a
4291 (addressBreakPoint): ditto
4292 (leftMargin): remove usage of Paragraph::previous.
4293 (setHeightOfRow): ditto
4294 (cursorLeftOneWord): ditto
4295 (selectNextWordToSpellcheck): ditto
4298 (breakParagraph): remove one usage of Paragraph::next
4299 (redoParagraph): ditto
4300 (acceptChange): ditto
4301 (insertChar): adjust
4302 (rowBreakPoint): adjust
4304 * bufferview_funcs.C (toggleAndShow): adjust
4306 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4308 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4309 methods to access it.
4311 * text.C: Added updateRowPositions to compute all row positions.
4312 Make top_y and getRowNearY() to use the cached y position
4314 2003-04-11 John Levon <levon@movementarian.org>
4316 * text.C (rowBreakPoint): reintroduce the labelEnd
4317 checks, code copied from the row fill stuff. Deep voodoo.
4319 * text.C (fill): add a comment and debugging for the
4322 2003-04-11 John Levon <levon@movementarian.org>
4324 * text.C: make sure fullrow insets get wrapped to the next line,
4325 even when they're in a manual label
4327 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4329 * text2.C (insertParagraph): make it take ParagraphList::iterator
4331 (setLayout): make it return ParagraphList::iterator
4332 (redoParagraphs): ditto
4334 (checkParagraph): ditto
4336 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4338 * text2.C: adjust several funcs.
4339 (realizeFont): take a ParagraphList::iterator as arg.
4340 (getLayoutFont): ditto
4341 (getLabelFont): ditto
4342 (setCharFont): ditto
4344 * text.C: adjust several funcs.
4346 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4348 * text.C (selectNextWordToSpellcheck): don't accidentally
4351 2003-04-10 John Levon <levon@movementarian.org>
4353 * ToolbarBackend.C (getIcon): special handling for
4356 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4358 * text2.C (cursorRight): a getChar assert fixed
4360 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4362 * text2.C (getFont): change to take a ParagraphList::iterator
4363 instead of Paragraph*
4364 Adjust several functions.
4366 * text.C (transformChar): change to take a ParagraphList::iterator
4367 instead of Paragraph*
4368 (singleWidth): ditto
4369 Adjust several functions.
4371 * rowpainter.C: adjust several functions
4372 * rowpainter.h:store a ParagraphList::iterator and not a
4376 2003-04-09 John Levon <levon@movementarian.org>
4381 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4382 and the "help" bits as well
4384 2003-04-09 John Levon <levon@movementarian.org>
4387 * ToolbarBackend.C: allow multiple toolbars
4389 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4391 * undo_funcs.C (setCursorParUndo): adjust
4393 * text_funcs.C (transposeChars): adjust
4395 * text3.C (gotoNextInset): adjust
4398 * text2.C (setLayout): adjust
4399 (changeDepth): adjust
4401 (redoParagraphs): adjust
4402 (selectionAsString): adjust
4403 (setParagraph): adjust
4404 (insertInset): adjust
4405 (cutSelection): adjust
4406 (copySelection): adjust
4407 (pasteSelection): adjust
4408 (insertStringAsLines): adjust
4409 (updateInset): adjust
4410 (setCursor): change to take a ParagraphList::iterator parameter
4411 (setCursorIntern): change to take a ParagraphList::iterator parameter
4412 (setCurrentFont): adjust
4413 (cursorLeft): adjust
4414 (cursorRight): adjust
4415 (deleteEmptyParagraphMechanism): adjust
4417 * text.C (breakParagraph): adjust
4418 (insertChar): adjust
4419 (acceptChange): adjust
4420 (rejectChange): adjust
4421 (selectNextWordToSpellcheck): adjust
4422 (changeCase): adjust
4426 * lyxfind.C (SearchForward): adjust
4427 (SearchBackward): adjust
4428 (nextChange): adjust
4430 * lyxcursor.C (par): adjust
4432 * lyxcursor.h: store a ParagraphList::iterator instead of a
4435 * lyx_cb.C (getPossibleLabel): adjust
4437 * bufferview_funcs.C (toggleAndShow): adjust
4439 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4442 * BufferView.C (removeAutoInsets): adjust
4443 (lockedInsetStoreUndo): adjust
4445 2003-04-09 John Levon <levon@movementarian.org>
4447 * ToolbarBackend.C: try icon without argument
4448 if with argument fails
4450 2003-04-08 John Levon <levon@movementarian.org>
4453 * ToolbarBackend.C: add getIcon(), handle tooltip,
4454 and change from "Icon" to "Item".
4456 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4458 * BufferView.C (lockInset): another bad getchar crunched
4460 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4462 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4465 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4467 * lyxfind.C (searchForward, searchBackwards): bug 782
4469 2003-04-07 John Levon <levon@movementarian.org>
4471 * paragraph.C: remove dead comment
4473 * text.C: remove troublesome depth-fiddling code
4474 in leftMargin() and rightMargin() (bug 1017)
4476 * text.C: fix breaking of rows in nested lists
4479 * text2.C (updateCounters): fix up depth values
4482 2003-04-07 John Levon <levon@movementarian.org>
4484 * BufferView_pimpl.C: clear message when doc finishes resizing,
4485 and after a mouse event
4487 * lyxfunc.C: clear message after exiting inset
4489 2003-04-07 John Levon <levon@movementarian.org>
4491 * bufferview_funcs.C: show math status not outside
4492 status in the statusbar
4494 2003-04-07 John Levon <levon@movementarian.org>
4496 * lyxfunc.C: note status changed after a depth change
4498 2003-04-04 Angus Leeming <leeming@lyx.org>
4500 * LaTeX.h: move AuxInfo operator==, != out of line.
4501 Remove LaTeX virtual destructor; nothing derives from it.
4502 Move operator()() out of public area and rename it startscript().
4503 Change protected for private.
4505 2003-04-04 Angus Leeming <leeming@lyx.org>
4508 * text2.C: remove unneeded #includes.
4510 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4512 * text2.C (dEPM): fix the heigth of the next row
4514 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4516 * text.C: squashed an invalid getChar requester + some ws changes
4518 2003-04-03 John Levon <levon@movementarian.org>
4520 * bufferview_funcs.h:
4521 * bufferview_funcs.C:
4524 * text2.C: make getStatus work for the env depth lfuns
4526 2003-04-03 John Levon <levon@movementarian.org>
4528 * bufferview_funcs.h:
4529 * bufferview_funcs.C:
4532 * text2.C: parlistize decDepth(), by merging it with incDepth()
4534 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4536 * lyxrow.h: store a ParagraphList::iterator instead of a
4537 Paragraph* and adjust other class functions to suit.
4539 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4542 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4544 * text2.C (setCursor): do not anchor to cursor row for the time being
4546 2003-04-02 John Levon <levon@movementarian.org>
4553 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4555 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4557 * paragraph.h: make ParagraphList and ParagraphList::iterator
4558 friends of Paragraph.
4560 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4562 * ParagraphList.C: Use the private next_ and previous_ from
4565 2003-04-01 John Levon <levon@movementarian.org>
4569 * Makefile.am: rename, remove defaults gunk
4572 * MenuBackend.C: remove defaults gunk
4575 * Languages.C: remove defaults gunk
4578 * lyx_main.C: error out if files couldn't be found.
4580 2003-04-02 John Levon <levon@movementarian.org>
4582 * text2.C: make incDepth() use parlist
4584 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4586 * undo_funcs.C (firstUndoParagraph): adjust
4588 * text3.C (gotoInset): adjust
4589 (dispatch): adjust, and rewrite loop.
4591 * text2.C (init): adjust, and rewrite loop.
4592 (redoParagraphs): adjust
4593 (updateInset): adjust, and rewrite loop.
4594 (deleteEmptyParagraphMechanism): adjust
4596 * tabular.C (LyXTabular): adjust
4597 (SetMultiColumn): adjust
4600 * lyxtext.[Ch] (ownerParagraph): delete function
4601 (ownerParagraphs): new function returns a ParagraphList.
4603 * BufferView.C (removeAutoInsets): adjust
4604 (insertErrors): adjust
4605 (setCursorFromRow): adjust
4607 2003-04-01 Angus Leeming <leeming@lyx.org>
4609 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4612 2003-04-02 John Levon <levon@movementarian.org>
4618 * text_funcs.C: make transposeChars a free function
4620 * lyxrow_funcs.C: remove wrong comment
4622 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4625 * rowpainter.C: adjust
4630 * lyxrow_funcs. [Ch]: new files
4632 * lyxrow.[Ch]: remove next and previous pointers
4633 (next,previous): remove accessor functions
4634 (isParEnd): move to lyxrow_funcs
4635 (lastPos): move to lyxrow_funcs
4636 (nextRowIsAllInset): move to lyxrow_funcs
4637 (lastPrintablePos): move to lyxrow_funcs
4638 (numberOfSeparators): move to lyxrow_funcs
4639 (numberOfHfills): move to lyxrow_funcs
4640 (numberOfLabelHfills): move to lyxrow_funcs
4641 (hfillExpansion): move to lyxrow_funcs
4645 * bufferview_funcs.C (toggleAndShow): adjust
4647 * RowList.h: Remove class RowList from file leave just a
4650 * RowList.C: delete file
4652 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4655 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4657 * text3.C (cursorPrevious): adjust
4658 (cursorNext): adjust
4661 * text2.C (redoHeightOfParagraph): adjust
4662 (redoDrawingOfParagraph): adjust
4665 * text.C (breakParagraph): adjust
4666 (insertChar): adjust
4669 * rowpainter.C (RowPainter): adjust
4670 (leftMargin): simplify and adjust
4671 (most rowpainter functions): adjust.
4673 * rowpainter.h: store the row as RowList::iterator not as Row*
4675 * lyxcursor.C (row): taka RowList::iterator as arg
4678 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4681 2003-04-01 Angus Leeming <leeming@lyx.org>
4683 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4684 stuff like bool Bool.
4686 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4688 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4691 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4693 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4696 * lyxtext.h (rows): drop one version and leve a const variant that
4697 returns a RowList::iterator.
4699 2003-03-31 Angus Leeming <leeming@lyx.org>
4701 * text.C (fill): ensure that the signature is the same as that in the
4704 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4706 * text2.C (redoParagraphs): adjust
4707 (updateCounters): adjust
4708 (checkParagraph): adjust
4709 (getColumnNearX): adjust and reformat a bit.
4711 * text.C (top_y): adjust
4713 (leftMargin): adjust
4714 (prepareToPrint): adjust
4716 (getRowNearY): adjust
4718 * lyxtext.h: make rowlist_ mutable.
4720 * RowList.h: add const_iterator
4721 * RowList.C: adjust for RowList::const_iterator.
4723 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4726 2003-03-31 John Levon <levon@movementarian.org>
4729 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4731 * lyx_main.C: set default fonts from using lyx_gui funcs
4733 * exporter.C: pdf_mode moved from lyxrc
4736 * lyxfunc.C: changes from above
4738 2003-03-31 John Levon <levon@movementarian.org>
4740 * lyx_main.C: fix to the last fix
4742 2003-03-31 John Levon <levon@movementarian.org>
4744 * bufferlist.C: "Load original" -> "Load Original"
4750 * format.C: more Alert cleanups
4752 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4754 * text2.C (removeParagraph): make it take a RowList::iterator as
4756 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4757 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4759 * text.C (anchor_row): make it take a RowList::iterator as arg,
4761 (computeBidiTables): make it take a const reference to Row instead
4762 of Row pointer, adjust.
4763 (leftMargin): make it take a RowList::iterator as arg, adjust.
4764 (rowBreakPoint): adjust
4765 (breakAgainOneRow): make it take a RowList::iterator as arg,
4767 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4769 * bufferview_funcs.C (toggleAndShow): adjust
4771 2003-03-30 John Levon <levon@movementarian.org>
4775 * boost-inst.C: moved to support
4777 * several files: changes as a result
4779 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4781 * text2.C (LyXText): adjust.
4783 (removeRow): make it take a RowList::iterator as arg, adjust.
4784 (fullRebreak): adjust
4785 (deleteEmptyParagraphMechanism): adjust
4786 (clearPaint): adjust
4789 * text.C (top_y): adjust
4790 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4791 (breakAgain): make it take a RowList::iterator as arg, adjust.
4792 (breakParagraph): adjust
4793 (insertChar): adjust
4796 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4797 need_break_row, and refresh_row.
4799 * text3.C (dispatch): adjust
4801 * text2.C (checkParagraph): adjust
4803 (setCursorFromCoordinates): adjust
4805 * text.C (top_y): adjust
4807 (getRow): make it return a RowList::iterator, adjust
4808 (getRowNearY): make it return a RowList::iterator, adjust
4810 * text2.C (init): adjust
4811 (insertRow): remove function
4812 (insertParagraph): adjust
4813 (redoParagraphs): adjust
4814 (fullRebreak): adjust
4815 (updateCounters): adjust
4817 * text.C (top_y): rewrite to use RowList iterators.
4819 (setHeightOfRow): rewrite to sue RowList iterators.
4820 (appendParagraph): adjust
4821 (breakAgain): adjust
4822 (breakAgainOneRow): adjust
4823 (breakParagraph): adjust
4825 (getRowNearY): adjust, and remove commented code.
4827 * lyxtext.h (firstRow): delete function
4828 (lastRow): delete function
4829 (rows): new function (const and non-const versions.)
4830 (insertRow): delete function
4832 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4834 2003-03-29 John Levon <levon@movementarian.org>
4836 * BufferView_pimpl.C: always update scrollbar top
4837 because pasting text when we're anchored could mean we
4838 miss an update altogether
4840 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4842 * text2.C (init): use rowlist_.end() and not 0.
4843 (insertRow): change to take a RowList::iterator as arg, adjust
4845 (insertParagraph): change to take a RowList::iterator as arg,
4847 (redoParagraphs): remove some debug msgs.
4849 * text.C (appendParagraph): change to take a RowList::iterator
4850 arg, adjust for this.
4851 (breakAgain): add an assert
4852 (breakAgainOneRow): ditto
4854 2003-03-29 John Levon <levon@movementarian.org>
4856 * text2.C: do not clear selection after inc/decDepth
4859 2003-03-29 John Levon <levon@movementarian.org>
4862 * buffer.C: fix broken strerrors according to Lars
4864 2003-03-29 John Levon <levon@movementarian.org>
4866 * converters.C: more Alert cleanups
4868 2003-03-29 John Levon <levon@movementarian.org>
4870 * bufferview_funcs.C: remove pointless Alert
4872 * buffer.C: fix confusing error message when
4873 a template is chmoded 000
4875 2003-03-29 John Levon <levon@movementarian.org>
4879 * BufferView_pimpl.C: Alert fixes
4883 * tabular-old.C: remove unused table compat reading
4885 2003-03-29 John Levon <levon@movementarian.org>
4890 * lyx_cb.C: more Alert cleanups
4892 * lyxfunc.C: don't allow chktex if not latex document
4894 2003-03-29 John Levon <levon@movementarian.org>
4898 * buffer.C: warnings pushed down from support/,
4901 2003-03-29 John Levon <levon@movementarian.org>
4903 * lyxfunc.C: safety check for C-r (revert)
4905 2003-03-29 John Levon <levon@movementarian.org>
4908 * bufferlist.C: several UI fixes using Alert::prompt.
4909 Fix the pointless looping quit code. Fix stupid revert
4914 * lyx_cb.C: use Alert::prompt
4916 * lyx_main.C: remove a silly question
4918 * lyxfunc.C: remove a couple of silly questions,
4921 2003-03-28 John Levon <levon@movementarian.org>
4923 * text2.C: fix bug 974 (End on empty par)
4925 2003-03-28 John Levon <levon@movementarian.org>
4927 * BufferView_pimpl.C:
4929 * lfuns.h: remove do-nothing math greek lfuns
4931 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4933 * lyxgluelength.h (isValidGlueLength): add default arg on
4934 parameter 2. Remove default arg from friend in class.
4936 * lyxlength.h (isValidLength): add default arg on parameter 2.
4937 Remove default arg from friend in class.
4939 * text2.C (LyXText): adjust, initialize refresh_row.
4943 (insertParagraph): adjst
4944 (redoParagraphs): adjust
4945 (fullRebreak): adjust
4946 (updateCounters): adjust
4947 (deleteEmptyParagraphMechanism): first attempt at fixing a
4950 * text.C (top_y): adjust
4951 (setHeightOfRow): adjust
4953 (getRowNearY): adjust
4955 * lyxtext.h: include RowList.h
4956 (~LyXText): not needed anymore, deleted.
4957 (firstRow): modify for RowList
4958 (lastRow): new function
4959 Delete firstrow and lastrow class variables, add a Rowlist
4960 rowlist_ class variable.
4962 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4965 * RowList.C (insert): fix case where it == begin().
4967 2003-03-26 Angus Leeming <leeming@lyx.org>
4969 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4970 the thesaurus dialog.
4972 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4974 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4976 * RowList.[Ch]: new files
4978 * ParagraphList.C (erase): handle the case where it == begin
4981 2003-03-25 John Levon <levon@movementarian.org>
4985 * aspell.C: add new aspell support
4988 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4991 2003-03-25 Angus Leeming <leeming@lyx.org>
4994 * LyXAction.C (init): new LFUN_INSET_INSERT.
4996 * BufferView_pimpl.C (dispatch): split out part of the
4997 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4999 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5002 2003-03-25 Angus Leeming <leeming@lyx.org>
5004 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5006 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5009 * text3.C: remove useless row->height(0)
5011 2003-03-25 John Levon <levon@movementarian.org>
5015 * text3.C: rename the refreshing stuff to better names
5017 2003-03-24 John Levon <levon@movementarian.org>
5019 * BufferView_pimpl.h:
5020 * BufferView_pimpl.C: update layout choice on a mouse
5023 2003-03-23 John Levon <levon@movementarian.org>
5025 * Makefile.am: fix commandtags.h reference
5027 2003-03-22 John Levon <levon@movementarian.org>
5029 * BufferView_pimpl.C:
5034 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5036 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5039 * text.C: take the rtl methods out of line
5041 2003-03-21 André Pönitz <poenitz@gmx.net>
5043 * metricsinfo.[Ch]: new files containing structures to be passed around
5044 during the two-phase-drawing...
5046 2003-03-21 André Pönitz <poenitz@gmx.net>
5048 * lyxtextclass.C: read 'environment' tag.
5050 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5052 * text2.C (removeRow): fix bug 964
5054 2003-03-20 John Levon <levon@movementarian.org>
5058 * text2.C: paint cleanups. Inset::update() dropped font
5061 2003-03-19 John Levon <levon@movementarian.org>
5063 * lyxfunc.C: only fitcursor/markDirty if available()
5065 2003-03-19 John Levon <levon@movementarian.org>
5067 * commandtags.h: rename to ...
5069 * lfuns.h: ... this, and renumber / cleanup
5071 2003-03-19 John Levon <levon@movementarian.org>
5073 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5074 fit the cursor after an lfun
5078 * BufferView_pimpl.h:
5079 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5081 * LyXAction.C: layout-character should have ReadOnly
5083 * ParagraphParameters.C:
5085 * bufferview_funcs.C:
5092 * undo_funcs.C: changes from above
5094 2003-03-18 John Levon <levon@movementarian.org>
5096 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5097 remove it from update()
5099 * lyxfunc.C: update layout choice after an lfun
5101 * text3.C: remove extra updateLayoutChoice()s
5103 2003-03-18 John Levon <levon@movementarian.org>
5105 * text.C: top_y change means full repaint, fix
5106 a drawing bug with cursor movement
5108 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5112 * text2.C: anchor row on setCursor
5114 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5116 * lyxtext.h: remove almost all mutable keywords
5119 * text3.C: remove const keywords accordingly
5121 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5123 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5125 (TeXEnvironment): ditto
5128 2003-03-17 John Levon <levon@movementarian.org>
5130 * text.C (rowBreakPoint): remove attempt to fix displayed
5131 math insets inside a manual label
5133 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5135 * lyxtext.h: remove BufferView* as first arg from almost all class
5137 * other files: adjust.
5139 2003-03-17 John Levon <levon@movementarian.org>
5143 * text2.C: more paint cleanups
5145 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5148 * rowpainter.C: remove "smart" background painting code
5150 2003-03-16 John Levon <levon@movementarian.org>
5155 * text3.C: add helper functions for setting refresh_row/y
5157 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5159 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5160 newline inset which *can* get inserted in the pass_thru layouts.
5161 This is primarily for literate documents.
5163 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5165 * buffer.C: increment LYX_FORMAT to 223
5167 2003-03-14 André Pönitz <poenitz@gmx.net>
5169 * textclass.h: prepare for environment handling, ws changes
5170 * lyxlayout.C: read latexheader and latexfooter tags
5172 2003-03-14 John Levon <levon@movementarian.org>
5174 * text2.C: rewrite ::status() a bit
5176 2003-03-13 John Levon <levon@movementarian.org>
5178 * lyxtext.h: add some docs
5180 2003-03-13 John Levon <levon@movementarian.org>
5185 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5187 2003-03-13 John Levon <levon@movementarian.org>
5189 * text3.C: fix appendix redrawing
5191 2003-03-13 John Levon <levon@movementarian.org>
5193 * text.C (setHeightOfRow):
5195 * rowpainter.C: make appendix mark have the text
5196 "Appendix" so the user knows what it is
5199 * LColor.C: s/appendixline/appendix/ from above
5201 2003-03-13 John Levon <levon@movementarian.org>
5203 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5205 * text.C: fix a getChar(pos) bug properly
5207 2003-03-13 Angus Leeming <leeming@lyx.org>
5210 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5211 Probably only temporary. Let's see how things pan out.
5213 * BufferView.C (unlockInset):
5214 * BufferView_pimpl.C (fitCursor):
5215 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5217 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5218 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5220 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5221 new functions that convert ParagraphParameters to and from a string.
5223 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5224 BufferView::Pimpl's dispatch.
5225 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5227 2003-03-13 André Pönitz <poenitz@gmx.net>
5231 * factory.C: make it aware of InsetEnv
5233 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5235 * text2.C (setCursor): never ask for one past last
5236 (setCursor): add some debugging messages.
5238 * text.C (singleWidth): never ask for one past last
5239 (singleWidth): ditto
5241 (rightMargin): ditto
5242 (rowBreakPoint): ditto
5243 (setHeightOfRow): ditto
5244 (prepareToPrint): ditto
5246 * rowpainter.C (paintBackground): never ask for one past last
5247 (paintText): never ask for one past last
5249 * paragraph_pimpl.C (getChar): make the assert stricter, never
5250 allow the one past last pos to be taken
5252 * paragraph.C (getChar): ws changes only
5254 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5255 (numberOfSeparators): ditto
5256 (numberOfHfills): ditto
5258 2003-03-12 John Levon <levon@movementarian.org>
5264 * paragraph_funcs.C: fix per-buffer authorlists
5266 2003-03-12 John Levon <levon@movementarian.org>
5268 * text.C: fix newline in right address
5270 2003-03-12 Angus Leeming <leeming@lyx.org>
5272 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5273 duplicate those in LyXFunc::dispatch.
5277 * ToolbarDefaults.C:
5278 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5279 Add LFUN_FONTFREE_UPDATE.
5281 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5282 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5284 * bufferview_func.[Ch]: several new functions to facilliate
5285 transfer of data to and from the character dialog.
5287 2003-03-12 John Levon <levon@movementarian.org>
5292 * paragraph_funcs.C:
5293 * paragraph_pimpl.C:
5297 * text3.C: remove META_NEWLINE in favour of an inset
5300 * rowpainter.C: remove paintNewline (done by inset)
5302 2003-03-12 John Levon <levon@movementarian.org>
5304 * paragraph_pimpl.C: complain about bad getChar()s
5305 for a while at least
5307 2003-03-12 John Levon <levon@movementarian.org>
5310 * buffer.C: move paragraph read into a separate function,
5311 a little renaming to reflect that.
5314 * bufferparams.C: remove the author_ids map, not necessary now
5317 * factory.C: moved Buffer::readInset to here
5319 * paragraph_funcs.h:
5320 * paragraph_funcs.C: readParagraph free function moved from
5323 * tabular.C: name change
5325 2003-03-12 John Levon <levon@movementarian.org>
5328 * ParagraphParameters.C: move par params input to
5331 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5332 behave like a normal read from the stream wrt reading
5333 a line vs. a \\token
5335 2003-03-12 John Levon <levon@movementarian.org>
5338 * ParagraphParameters.h:
5339 * ParagraphParameters.C: move output code to a
5342 2003-03-12 John Levon <levon@movementarian.org>
5344 * BufferView.C (insertLyXFile):
5347 * tabular.C: use a parlist iterator for creating the
5350 2003-03-12 John Levon <levon@movementarian.org>
5352 * buffer.C: make current_change static local not
5355 2003-03-12 John Levon <levon@movementarian.org>
5357 * buffer.C: fix insertStringAsLines for change tracking
5359 2003-03-12 John Levon <levon@movementarian.org>
5366 * bufferparams.C: move author list into params. Rename some
5367 functions. Move the header reading into a separate token
5368 loop. Move the header token reading into BufferParams.
5370 2003-03-12 John Levon <levon@movementarian.org>
5372 * changes.C: put debug inside lyxerr.debugging() checks
5374 2003-03-11 André Pönitz <poenitz@gmx.net>
5376 * factory.C: make it aware of InsetHFill
5378 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5380 * buffer.C (latexParagraphs): move function from here...
5381 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5384 2003-03-10 Angus Leeming <leeming@lyx.org>
5386 * LyXAction.C (init): fix bug in poplating array with multiple entries
5387 with the same LFUN (spotted by JMarc).
5389 2003-03-10 John Levon <levon@movementarian.org>
5392 * text2.C: move getColumnNearX() near its
5395 2003-03-10 John Levon <levon@movementarian.org>
5397 * text.C: fix break before a minipage
5399 2003-03-10 John Levon <levon@movementarian.org>
5401 * text.C: fix the last commit
5403 2003-03-09 John Levon <levon@movementarian.org>
5407 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5408 bug 365 (don't break before insets unless needed). Don't
5409 return a value > last under any circumstances.
5411 2003-03-09 Angus Leeming <leeming@lyx.org>
5413 * BufferView_pimpl.C (trackChanges, dispatch): call
5414 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5416 2003-03-09 Angus Leeming <leeming@lyx.org>
5418 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5419 than Dialogs::showAboutlyx().
5421 2003-03-09 Angus Leeming <leeming@lyx.org>
5423 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5424 than Dialogs::showTabularCreate().
5426 2003-03-09 John Levon <levon@movementarian.org>
5430 * text2.C: 3rd arg to nextBreakPoint was always the same.
5433 2003-03-08 John Levon <levon@movementarian.org>
5440 * text2.C: Remove the "main" bit from the "main body"
5443 2003-03-08 John Levon <levon@movementarian.org>
5445 * text.C (leftMargin): The left margin of an empty
5446 manual label paragraph should not include the label width
5449 * text.C (prepareToPrint): don't attempt to measure hfills
5450 for empty manual label paragraphs - the answer should be 0
5452 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5454 * CutAndPaste.C: remove commented code and reindent.
5456 2003-03-08 John Levon <levon@movementarian.org>
5459 * lyxfunc.C: move reloadBuffer()
5462 * BufferView.C: to here
5464 * lyxvc.C: add comment
5467 * vc-backend.C: call bv->reload() to avoid
5468 getStatus() check on MENURELOAD
5470 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5472 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5473 to an old format .dep file.
5475 2003-03-07 Angus Leeming <leeming@lyx.org>
5477 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5478 when the LFUN_MOUSE_RELEASE should have been handled by
5479 inset->localDispatch.
5481 2003-03-07 Angus Leeming <leeming@lyx.org>
5483 * BufferView_pimpl.C (dispatch):
5484 * LyXAction.C (init):
5485 * ToolbarDefaults.C (init):
5487 * lyxfunc.C (getStatus):
5488 remove LFUN_INSET_GRAPHICS.
5490 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5492 2003-03-07 Angus Leeming <leeming@lyx.org>
5495 * LyXAction.C (init):
5496 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5498 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5501 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5503 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5504 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5506 2003-03-07 Angus Leeming <leeming@lyx.org>
5508 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5511 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5513 * ParagraphList.C (front): new function
5516 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5518 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5519 and top_row_offset_. removed var first_y.
5521 * text2.C (LyXText, removeRow):
5523 * BufferView_pimpl.C:
5524 use these methods instead of using first_y
5526 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5528 * text2.C (pasteSelection): adjust for checkPastePossible
5530 * CutAndPaste.C: remove Paragraph * buf and replace with
5531 ParagraphList paragraphs.
5532 (DeleteBuffer): delete
5533 (cutSelection): change the tc type to textclass_type
5534 (copySelection): change the tc type to textclass_type
5535 (copySelection): adjust for ParagraphList
5536 (pasteSelection): change the tc type to textclass_type
5537 (pasteSelection): adjust for Paragraphlist
5538 (nrOfParagraphs): simplify for ParagraphList
5539 (checkPastePossible): simplify for ParagraphList
5540 (checkPastePossible): remove unused arg
5542 * ParagraphList.C (insert): handle the case where there are no
5545 * CutAndPaste.h: make CutAndPaste a namespace.
5547 * text3.C (dispatch): adjust
5549 * text.C (breakParagraph): add a ParagraphList as arg
5551 * paragraph_funcs.C (breakParagraph): change to take a
5552 BufferParams and a ParagraphList as args.
5553 (breakParagraphConservative): ditto
5554 (mergeParagraph): ditto
5555 (TeXDeeper): add a ParagraphList arg
5556 (TeXEnvironment): ditto
5559 * buffer.C (readLyXformat2): adjust
5560 (insertStringAsLines): adjust
5561 (latexParagraphs): adjust
5563 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5564 (cutSelection): adjust
5565 (pasteSelection): adjust
5567 * BufferView_pimpl.C (insertInset): adjust
5569 2003-03-05 Angus Leeming <leeming@lyx.org>
5572 * LyXAction.C (init):
5573 * BufferView_pimpl.C (dispatch):
5574 * lyxfunc.C (getStatus):
5575 remove LFUN_CHILD_INSERT.
5577 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5579 2003-03-05 Angus Leeming <leeming@lyx.org>
5582 * LyXAction.C (init):
5583 * src/factory.C (createInset):
5584 * lyxfunc.C (getStatus):
5585 * text3.C (dispatch):
5586 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5588 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5590 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5592 * ParagraphList.C (insert): handle insert right before end()
5593 (erase): fix cases where it can be first or last paragraph.
5595 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5597 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5598 Paragraph::next and Paragraph::previous
5601 * text.C (breakParagraph): adjust
5603 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5604 BufferParams& as arg.
5605 (breakParagraph): use ParagraphList::insert
5606 (breakParagraphConservative): take a Buffer* instead of a
5607 BufferParams& as arg.
5608 (breakParagraphConservative): use ParagraphList::insert.
5610 * buffer.C (insertStringAsLines): un-const it
5611 (insertStringAsLines): adjust
5613 * ParagraphList.C (insert): new function
5615 * CutAndPaste.C (pasteSelection): adjust
5617 * text.C (backspace): adjust
5619 * tabular.C (SetMultiColumn): adjust
5621 * CutAndPaste.C (cutSelection): adjust
5622 (pasteSelection): adjust
5624 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5625 Buffer const * as arg
5627 * ParagraphList.C (erase): new function
5628 * paragraph_funcs.C (mergeParagraph): use it
5629 (mergeParagraph): make it take a Buffer* instead of a
5630 BufferParams* as arg
5632 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5634 (breakParagraphConservative): ditto
5636 * paragraph.h: remove the breakParagraph friend
5638 * paragraph.C (eraseIntern): new function
5639 (setChange): new function
5641 * paragraph_funcs.C (mergeParagraph): make it take a
5642 ParagraphList::iterator instead of a Paragraph *, adjust
5645 * paragraph.h: move an #endif so that the change tracking stuff
5646 also works in the NO_NEXT case.
5648 2003-03-04 Angus Leeming <leeming@lyx.org>
5651 * LyXAction.C: new LFUN_INSET_MODIFY.
5653 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5654 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5656 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5658 * several files: ws changes only
5660 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5661 (TeXEnvironment): ditto
5664 * buffer.C (makeLaTeXFile): adjust
5665 (latexParagraphs): make it take ParagraphList::iterator as args
5667 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5669 * buffer.C (latexParagraphs): adjust
5671 * paragraph.C (TeXOnePar): move function...
5672 (optArgInset): move function...
5673 (TeXEnvironment): move function...
5674 * paragraph_pimpl.C (TeXDeeper): move function...
5675 * paragraph_funcs.C: ...here
5677 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5679 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5681 * buffer.C (readInset): remove compability code for old Figure and
5684 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5686 * buffer.C: ws changes
5689 * BufferView_pimpl.C: ditto
5692 * bufferlist.h: ditto
5696 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5698 * converter.[Ch]: split into itself +
5701 * Makefile.am: += graph.[Ch] + format.[Ch]
5708 * lyxrc.C: added #include "format.h"
5710 2003-02-27 Angus Leeming <leeming@lyx.org>
5712 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5715 * factory.C (createInset): add "label" to the factory.
5717 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5718 string and do no more.
5720 2003-02-27 Angus Leeming <leeming@lyx.org>
5723 * LyXAction.C (init):
5724 * factory.C (createInset):
5725 * BufferView_pimpl.C (dispatch):
5726 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5728 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5730 * lyxfunc.C (dispatch):
5731 * text3.C (dispatch): pass name to params2string.
5733 2003-02-26 Angus Leeming <leeming@lyx.org>
5735 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5737 Rearrange the ~includes. Strip out the unnecessary ones.
5739 * factory.C (createInset): reformat.
5740 create new insets for the various LFUN_XYZ_APPLY lfuns.
5742 2003-02-26 John Levon <levon@movementarian.org>
5745 * lyxrow.C: add isParStart,isParEnd helpers
5747 * paragraph.h: make isInserted/DeletedText take refs
5749 * paragraph_funcs.h:
5750 * paragraph_funcs.C: remove #if 0'd code
5755 * text.C: use lyxrow helpers above.
5756 Move draw and paint routines to RowPainter.
5757 Make several methods use refs not pointers.
5758 Make backgroundColor() const.
5759 Add markChangeInDraw(), isInInset().
5760 Merge changeRegionCase into changeCase.
5761 Make workWidth() shouldn't-happen code into an Assert.
5764 * rowpainter.C: new class for painting a row.
5767 * vspace.C: make inPixels take a ref
5769 2003-02-26 Angus Leeming <leeming@lyx.org>
5771 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5774 2003-02-25 John Levon <levon@movementarian.org>
5776 * ispell.C: give the forked command a more accurate name
5778 2003-02-22 John Levon <levon@movementarian.org>
5781 * toc.C: make TocItem store an id not a Paragraph *
5784 2003-02-21 Angus Leeming <leeming@lyx.org>
5786 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5787 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5788 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5789 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5790 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5791 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5793 * BufferView_pimpl.C (dispatch):
5794 * LyXAction.C (init):
5795 * factory.C (createInset):
5796 * lyxfunc.C (getStatus, dispatch):
5797 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5799 2003-02-21 Angus Leeming <leeming@lyx.org>
5801 * BufferView_pimpl.C (MenuInsertLyXFile):
5802 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5803 * lyxfunc.C (menuNew, open, doImport):
5804 no longer pass a LyXView & to fileDlg.
5806 2003-02-21 Angus Leeming <leeming@lyx.org>
5808 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5809 * LyXAction.C: change, BIBKEY to BIBITEM.
5810 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5811 Change InsetBibKey to InsetBibitem.
5812 Change BIBKEY_CODE to BIBITEM_CODE.
5813 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5814 * factory.C: replace insetbib.h with insetbibitem.h.
5815 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5816 * paragraph.C: replace insetbib.h with insetbibitem.h.
5817 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5818 Change bibkey() to bibitem().
5819 * text.C: remove insetbib.h.
5820 * text2.C: replace insetbib.h with insetbibitem.h.
5821 change bibkey() to bibitem().
5822 * text3.C: remove insetbib.h.
5823 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5825 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5827 * lyxrc.C (output): enclose user email in quotes (in case there are
5830 2003-02-18 John Levon <levon@movementarian.org>
5832 * buffer.h: add std::
5834 2003-02-17 John Levon <levon@movementarian.org>
5840 * pspell.C: reworking. Especially in ispell, a large
5841 number of clean ups and bug fixes.
5843 * lyxfunc.C: fix revert to behave sensibly
5845 2003-02-17 André Pönitz <poenitz@gmx.net>
5848 * commandtags.h: new LFUN_INSERT_BIBKEY
5858 * paragraph_func.C: remove special bibkey handling
5860 2003-02-17 John Levon <levon@movementarian.org>
5862 * text.C (Delete): fix case where delete at the end of
5863 the very first paragraph would not merge the pars
5865 2003-02-17 John Levon <levon@movementarian.org>
5867 * lyxrow.C: fix lastPrintablePos()
5869 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5871 * bufferparams.C (writeLaTeX): add a std:here
5873 * buffer.C: and remove a using directive there
5875 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5877 * buffer.C (makeLaTeXFile): move the code that generates the
5880 * bufferparams.C (writeLaTeX): ... in this new method
5882 * LaTeXFeatures.C (getEncodingSet): make const
5883 (getLanguages): make const
5885 * MenuBackend.C (binding): returns the binding associated to this
5887 (add): sets the status of each item by calling getStatus. Adds
5889 (read): add support for OptSubMenu
5890 (expand): remove extra separator at the end of expanded menu
5892 2003-02-15 John Levon <levon@movementarian.org>
5895 * BufferView_pimpl.C:
5897 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5898 inset code that had no actual effect. Remove unneeded status
5901 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5903 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5906 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5908 * text.C (drawLengthMarker): also draw an arrow marker for
5909 symbolic lengths (medskip...)
5911 2003-02-14 John Levon <levon@movementarian.org>
5914 * tabular.C: better method names
5916 2003-02-14 John Levon <levon@movementarian.org>
5918 * BufferView_pimpl.C:
5923 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5924 it's a more accurate name. Remove some pointless uses.
5926 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5928 * text2.C (LyXText): change order of initilizers to shut off
5931 2003-02-14 John Levon <levon@movementarian.org>
5933 * buffer.C: use ParIterator for getParFromID()
5937 * paragraph_pimpl.h:
5938 * paragraph_pimpl.C: remove unused getParFromID()
5940 2003-02-14 John Levon <levon@movementarian.org>
5942 * buffer.C: remove some very old #if 0'd parse code
5944 2003-02-13 John Levon <levon@movementarian.org>
5948 * text2.C: move hfillExpansion(), numberOfSeparators(),
5949 rowLast(), rowLastPrintable(), numberofHfills(),
5950 numberOfLabelHfills() ...
5953 * lyxrow.C: ... to member functions here.
5958 * text.C: remove LyXText::beginningOfMainBody(), and call
5959 p->beginningOfMainBody() directly. Move the check for
5960 LABEL_MANUAL into the latter.
5967 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5973 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5974 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5976 2003-02-13 John Levon <levon@movementarian.org>
5978 * CutAndPaste.C: remove debug
5980 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5982 * paragraph.C (asString): remove two unused variables
5984 * lyxtextclass.C (readTitleType):
5986 (LyXTextClass): handle new members titletype_ and titlename_
5988 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5990 2003-02-09 John Levon <levon@movementarian.org>
5993 * buffer.C: replace hand-coded list with a map for the dep clean
5995 2003-02-08 John Levon <levon@movementarian.org>
5997 * LaTeX.C: consolidate code into showRunMessage() helper
5999 2003-02-08 John Levon <levon@movementarian.org>
6004 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6005 and pass the size in explicitly
6007 * BufferView_pimpl.h:
6008 * BufferView_pimpl.C:
6010 * BufferView.C: add getCurrentChange()
6012 * BufferView_pimpl.h:
6013 * BufferView_pimpl.C: handle change lfuns
6015 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6016 for changes. Mark pasted paragraphs as new.
6018 * support/lyxtime.h:
6019 * support/lyxtime.C:
6020 * DepTable.C: abstract time_t as lyx::time_type
6023 * LColor.C: add colours for new text, deleted text, changebars
6025 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6026 package use "usenames" option.
6030 * LyXAction.C: add change lfuns
6034 * author.C: author handling
6037 * buffer.C: add a per-buffer author list, with first entry as
6038 current author. Handle new .lyx tokens for change tracking. Output
6039 author list to .lyx file. Output dvipost stuff to .tex preamble.
6040 Bump lyx format to 222.
6043 * bufferlist.C: add setCurrentAuthor() to reset current author details
6047 * bufferparams.C: add param for tracking
6049 * bufferview_funcs.C: output change info in minibuffer
6053 * changes.C: add change-tracking structure
6056 * debug.C: add CHANGES debug flag
6059 * lyxfind.C: add code for finding the next change piece
6062 * lyxrc.C: add user_name and user_email
6065 * lyxrow.C: add a metric for the top of the text line
6068 * text.C: implement accept/rejectChange()
6071 * text.C: paint changebars. Paint new/deleted text in the chosen
6072 colours. Strike through deleted text.
6076 * paragraph_pimpl.h:
6077 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6078 in the current change to the insert functions. Rework erase to
6079 mark text as deleted, adding an eraseIntern() and a range-based
6080 erase(). Implement per-paragraph change lookup and
6083 * paragraph_funcs.C: Fixup paste for change tracking.
6085 * tabular.C: mark added row/columns as new.
6087 * text.C: fix rowLast() to never return -1. Don't allow
6088 spellchecking of deleted text. Track transpose changes. Don't
6089 allow paragraph break or merge where appropriate.
6091 * text2.C: leave cursor at end of selection after a cut.
6093 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6095 * text.C (getLengthMarkerHeight):
6096 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6097 visible on screen too.
6099 2003-02-07 John Levon <levon@movementarian.org>
6101 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6103 2003-02-05 Angus Leeming <leeming@lyx.org>
6105 * lyxserver.C (read_ready): revert my patch of 11 September last year
6106 as it sends PC cpu through the roof. Presumably this means that
6107 the lyxserver will no longer run on an Alpha...
6109 2003-01-30 Angus Leeming <leeming@lyx.org>
6111 * factory.C (createInset): create an InsetCommandParam of type "index"
6112 and use it to 'do the right thing'.
6114 * text2.C (getStringToIndex): ensure that cursor position is always
6115 reset to the reset_cursor position.
6117 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6119 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6122 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6126 * lyxfunc.C: Output messages with identical spelling, punctuation,
6129 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6131 * MenuBackend.C (expandFormats): List only viewable export formats
6134 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6137 * lyxfunc.C (getStatus): Make sure that formats other than
6138 "fax" can also be disabled
6140 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6142 * text3.C (dispatch): put the lfuns that insert insets in 3
6143 groups, and call doInsertInset with appropriate arguments.
6144 (doInsertInset): new function, that creates an inset and inserts
6145 it according to some boolean parameters.
6147 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6149 * buffer.C (readFile): remember to pass on 'par' when calling
6150 readFile recursively.
6152 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6154 * MenuBackend.C (expandFormats): add "..." to import formats.
6156 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6158 * paragraph.C (asString): Remove XForms RTL hacks.
6160 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6161 * buffer.C: fix typo
6163 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6165 * Makefile.am (LIBS): delete var
6166 (lyx_LDADD): add @LIBS@ here instead.
6168 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6170 * Clarify the meaning of "wheel mouse jump"
6172 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6174 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6177 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6179 * importer.C (Loaders): do not preallocate 3 elements in the
6180 vector, since one ends up with 6 elements otherwise
6182 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6184 * DepTable.C (write): write the file name as last element of the
6185 .dep file (because it may contain spaces)
6186 (read): read info in the right order
6188 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6190 * paragraph_pimpl.C (simpleTeXBlanks):
6191 (simpleTeXSpecialChars):
6192 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6194 * tabular.C (latex): add some missing case statements. Reindent.
6196 * MenuBackend.C (expandToc): remove unused variable.
6198 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6207 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6210 2003-01-05 John Levon <levon@movementarian.org>
6213 * BufferView.C: add getEncoding()
6216 * kbsequence.C: do not store last keypress
6219 * lyxfunc.C: store last keypress here instead. Pass encoding
6222 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6224 * lyx_main.C (init): remove annoying error message when following
6225 symbolic links (bug #780)
6227 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6229 * text.C (insertChar):
6230 * lyxrc.C (getDescription): remove extra spaces
6232 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6234 * lyxrc.C (getDescription): remove extra spaces
6236 2002-12-20 John Levon <levon@movementarian.org>
6238 * text3.C: hack fix for page up/down across tall rows
6240 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6242 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6245 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6247 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6248 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6249 thesaurus is not compiled in
6251 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6253 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6255 2002-12-16 Angus Leeming <leeming@lyx.org>
6258 * lyx_main.C (init): remove override_x_deadkeys stuff.
6260 2002-12-12 John Levon <levon@movementarian.org>
6262 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6263 insert. Only remove shift modifier under strict
6266 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6268 * MenuBackend.C (expandToc): fix crash.
6270 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6272 * MenuBackend.C (expandToc): gettext on float names.
6274 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6276 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6277 implement bool empty() [bug 490]
6279 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6281 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6283 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6285 * several files: ws changes
6287 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6289 * text2.C (setCounter): clean up a bit, use boost.format.
6290 (updateCounters): initialize par upon declaration.
6292 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6293 if the layout exists. We do not just store the layout any more.
6294 (SwitchLayoutsBetweenClasses): use boost.format
6296 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6298 * converter.C (convert): if from and to files are the same, use a
6299 temporary files as intermediary
6301 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6304 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6306 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6308 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6310 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6312 * tabular.C (asciiPrintCell): use string(size, char) instead of
6315 * sgml.C (openTag): fix order of arguments to string constructor
6318 * lyxfunc.C (dispatch): use boost.format
6320 * lots of files: change "c" -> 'c'
6322 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6324 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6326 2002-11-25 Angus Leeming <leeming@lyx.org>
6328 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6330 * lyx_main.C (init): compile fix.
6332 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6334 * lyx_cb.C (start): boost.formatify
6335 do not include <iostream>
6337 * lengthcommon.C: ws only
6339 * boost-inst.C,BoostFormat.h: add more explict instantations
6341 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6343 * lots of files: handle USE_BOOST_FORMAT
6345 2002-11-21 John Levon <levon@movementarian.org>
6347 * pspell.C: fix compile
6349 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6351 * lyxfunc.C (dispatch): use boost::format
6355 * lyxfont.C (stateText): use boost::format
6357 * lyx_main.C (LyX): use boost::format
6359 (queryUserLyXDir): ditto
6362 (typedef boost::function): use the recommened syntax.
6364 * importer.C (Import): use boost::format
6366 * debug.C (showLevel): use boost::format
6368 * converter.C (view): use boost::format
6373 * bufferview_funcs.C (currentState): use boost::format
6375 * bufferlist.C (emergencyWrite): use boost::format
6377 * buffer.C (readLyXformat2): use boost::format
6378 (parseSingleLyXformat2Token): ditto
6380 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6382 * LaTeX.C (run): use boost::format
6384 * Chktex.C (scanLogFile): use boost::format
6386 * BufferView_pimpl.C (savePosition): use boost::format
6387 (restorePosition): ditto
6388 (MenuInsertLyXFile): ditto
6390 * BoostFormat.h: help file for explicit instation.
6392 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6394 * tabular.C (latex): Support for block alignment in fixed width
6397 2002-11-17 John Levon <levon@movementarian.org>
6399 * BufferView_pimpl.C:
6401 * lyxfunc.C: split filedialog into open/save
6403 2002-11-08 Juergen Vigna <jug@sad.it>
6405 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6406 by my last patch (hopefully).
6408 2002-11-08 John Levon <levon@movementarian.org>
6417 * toc.C: ParConstIterator, and use it (from Lars)
6419 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6421 * lyxtextclass.[Ch]: revise and add doxygen comments
6423 2002-11-07 John Levon <levon@movementarian.org>
6425 * text.C: fix progress value for spellchecker
6427 * toc.C: fix navigate menu for insetwrap inside minipage
6429 * paragraph_funcs.C: added FIXME for suspect code
6431 2002-11-07 John Levon <levon@movementarian.org>
6433 * BufferView_pimpl.C: fix redrawing of insets
6436 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6438 * text2.C (updateCounters): fix bug 668
6440 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6442 * text3.C (dispatch): Do not make the buffer dirty when moving the
6445 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6447 * vc-backend.C: STRCONV
6450 * text2.C (setCounter): STRCONV
6452 * paragraph.C (asString): STRCONV
6454 * lyxlength.C (asString): STRCONV
6455 (asLatexString): ditto
6457 * lyxgluelength.C (asString): STRCONV
6458 (asLatexString): ditto
6460 * lyxfunc.C (dispatch): STRCONV
6463 * lyxfont.C (stateText): STRCONV
6465 * importer.C (Import): STRCONV
6467 * counters.C (labelItem): STRCONV
6468 (numberLabel): ditto
6469 (numberLabel): remove unused ostringstream o
6474 * bufferview_funcs.C (currentState): STRCONV
6476 * buffer.C (readFile): STRCONV
6477 (asciiParagraph): ditto
6478 (makeLaTeXFile): ditto
6480 * Spacing.C (writeEnvirBegin): STRCONV
6482 * LaTeXFeatures.C (getLanguages): STRCONV
6483 (getPackages): ditto
6485 (getBabelOptions): ditto
6486 (getTClassPreamble): ditto
6487 (getLyXSGMLEntities): ditto
6488 (getIncludedFiles): ditto
6492 (scanAuxFile): ditto
6495 * LString.h: add the STRCONV macros
6497 * BufferView_pimpl.C (savePosition): STRCONV
6498 (restorePosition): ditto
6499 (MenuInsertLyXFile): ditto
6501 * vc-backend.C (scanMaster): change from submatch[...] to
6504 * funcrequest.C: include config.h
6506 * factory.C: include config.h
6508 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6510 * box.C: include config.h
6512 * LaTeX.C (scanAuxFile): change from submatch[...] to
6516 2002-10-25 Angus Leeming <leeming@lyx.org>
6518 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6520 * ispell.[Ch] (setError): new method.
6521 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6522 Use setError() insetead of goto END.
6524 * lyx_cb.C (AutoSave): move out child process into new class
6527 2002-10-30 John Levon <levon@movementarian.org>
6529 * text3.C: make start appendix undoable
6531 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6533 * lyxlength.C (inPixels): Fix returned value.
6535 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6538 2002-10-24 Angus Leeming <leeming@lyx.org>
6540 * lyxgluelength.h: no need to forward declare BufferParams
6541 or BufferView, so don't.
6543 2002-10-21 John Levon <levon@movementarian.org>
6545 * BufferView.C: menuUndo ->undo, redo
6547 * BufferView.h: document, remove dead, make some methods private
6549 * paragraph_funcs.h:
6550 * paragraph_funcs.C:
6551 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6556 * sgml.C: move sgml open/close tag into sgml.C
6558 * bufferview_funcs.h: unused prototype
6561 * lyxfunc.C: remove unused
6564 * text.C: remove unused
6566 2002-10-21 John Levon <levon@movementarian.org>
6570 * BufferView_pimpl.h:
6571 * BufferView_pimpl.C: fix mouse wheel handling based on
6572 patch from Darren Freeman
6574 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6576 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6578 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6580 * lyxlength.C (inPixels): Fix hanfling of negative length.
6581 Fix LyXLength::MU case.
6583 2002-10-16 John Levon <levon@movementarian.org>
6585 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6587 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6589 * converter.C (view): add support for $$i (file name) and $$p
6590 (file path) for the viewer command. If $$i is not specified, then
6591 it is appended to the command (for compatibility with old syntax)
6593 2002-10-14 Juergen Vigna <jug@sad.it>
6595 * undo_funcs.C (textHandleUndo): alter the order in which the
6596 new undopar is added to the LyXText, as we have to set first
6597 the right prev/next and then add it as otherwise the rebuild of
6598 LyXText is not correct. Also reset the cursor to the right paragraph,
6599 with this IMO we could remove the hack in "redoParagraphs()".
6601 2002-10-09 Angus Leeming <leeming@lyx.org>
6603 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6604 to turn off an optimisation if a new inset is to be inserted.
6606 2002-10-11 André Pönitz <poenitz@gmx.net>
6608 * lyxtext.h: make some functions public to allow access
6609 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6611 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6613 * text3.C (dispatch): when changing layout, avoid an infinite loop
6616 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6618 * lyxrc.C (read): treat a viewer or converter command of "none" as
6621 * MenuBackend.C (expandFormats): for an update, also allow the
6622 formats that are not viewable
6624 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6625 script if it is newer than the lyxrc.defaults in user directory
6627 2002-10-07 André Pönitz <poenitz@gmx.net>
6629 * text.C: Vitaly Lipatov's small i18n fix
6631 2002-09-25 Angus Leeming <leeming@lyx.org>
6633 * ispell.h: doxygen fix.
6635 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6637 * buffer.h (readFile): Add a new argument to the method, to allow
6638 reading of old-format templates.
6640 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6642 * toc.C (getTocList): Get TOC from InsetWrap.
6644 2002-09-16 John Levon <levon@movementarian.org>
6646 * lyxfunc.C: check tabular for cut/copy too
6648 2002-09-12 John Levon <levon@movementarian.org>
6653 * factory.C: add header
6655 * paragraph_funcs.h:
6656 * paragraph_funcs.C: cleanup
6658 2002-09-11 John Levon <levon@movementarian.org>
6660 * PrinterParams.h: odd/even default to true
6662 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6664 * PrinterParams.h: update printer parameters for new xforms dialog
6666 2002-09-11 Angus Leeming <leeming@lyx.org>
6668 * lyxserver.C (read_ready): re-write to make it more transparent
6669 and to make it work in coherent fashion under Tru64 Unix.
6671 2002-09-11 André Pönitz <poenitz@gmx.net>
6675 * text3.C: implement LFUN_WORDSEL
6677 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6679 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6680 make floatlist_ a boost::shared_ptr<FloatList>
6682 * lyxtextclass.C: include FloatList.h
6683 (LyXTextClass): initialize floatlist_
6684 (TextClassTags): add TC_NOFLOAT
6685 (Read): match "nofloat" to TC_NOFLOAT and use it.
6686 (readFloat): modify call to floatlist_
6690 * FloatList.[Ch] (FloatList): remove commented out float
6692 (erase): new function
6694 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6696 * MenuBackend.C (expandToc): fix crash when there is no document
6699 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6701 * many files: Add insetwrap.
6703 2002-09-09 John Levon <levon@movementarian.org>
6705 * text2.C: remove confusing and awkward depth wraparound
6707 2002-09-09 John Levon <levon@movementarian.org>
6709 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6712 * buffer.C: remove getIncludeonlyList()
6715 * lyxfunc.C: remove headers
6717 2002-09-09 Juergen Vigna <jug@sad.it>
6719 * text.C (getColumnNearX): fix form Michael this is most
6720 probably a cut&paste bug.
6722 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6724 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6726 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6727 references, ws changes.
6729 * text2.C (init): update counters after init
6730 (insertParagraph): no need to set counter on idividual paragraphs.
6731 (setCounter): access the counters object in the textclass object
6732 on in the buffer object.
6733 (updateCounters): ditto
6735 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6736 shared_ptr<Counters> to avoid loading counters.h in all
6738 (LyXTextClass): initialize ctrs_
6739 (TextClassTags): add TC_COUNTER, and ...
6740 (Read): use it here.
6741 (CounterTags): new tags
6742 (readCounter): new function
6743 (counters): new funtion
6744 (defaultLayoutName): return a const reference
6746 * counters.C (Counters): remove contructor
6747 (newCounter): remove a couple of unneeded statements.
6748 (newCounter): simplify a bit.
6749 (numberLabel): some small formatting changes.
6751 * buffer.[Ch]: remove all traces of counters, move the Counters
6752 object to the LyXTextClass.
6754 2002-09-06 Alain Castera <castera@in2p3.fr>
6756 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6757 package to set the horizontal alignment on fixed width columns.
6760 * lyx_sty.h: added tabularnewline macro def.
6762 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6764 2002-09-06 John Levon <levon@movementarian.org>
6766 * LyXAction.C: tooltips for sub/superscript
6768 * MenuBackend.C: a bit more verbose
6770 * lyxfunc.C: tiny clean
6772 * undo_funcs.C: document undo_frozen
6774 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6776 * counters.C (Counters): add missing algorithm counter.
6778 * text2.C (setCounter): lookup the counter with layouts latexname
6779 instead of by section number.
6780 (setCounter): use a hackish way to lookup the correct enum
6782 a float name->type change
6783 reset enum couners with counter name directly instead of depth value.
6785 * counters.C (Counters): remove the push_backs, change to use the
6786 float type not the float name.
6787 (labelItem): remove unused string, float name->type change
6789 * counters.h: don't include vector, loose the enums and sects vectors
6791 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6793 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6794 (Read): add float->TC_FLOAT to textclassTags
6795 (Read): and handle it in the switch
6796 (readFloat): new function
6798 * FloatList.C (FloatList): comment out the hardcoded float
6801 * lyxlayout.h: ws change.
6803 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6805 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6807 2002-09-03 Angus Leeming <leeming@lyx.org>
6809 * BufferView_pimpl.h: qualified name is not allowed in member
6810 declaration: WorkArea & Pimpl::workarea() const;
6812 * factory.C: added using std::endl directive.
6814 * text3.C: added using std::find and std::vector directives.
6816 2002-08-29 André Pönitz <poenitz@gmx.net>
6819 * text2.C: remove unused member number_of_rows
6822 * BufferView2.C: remove file, move contents to...
6823 * BufferView.C: ... here
6825 * BufferView_pimpl.C:
6826 * factory.C: move more inset creation to factory
6828 * vspace.C: avoid direct usage of LyXText, ws changes
6831 don't provide direct access to WorkArea, use two simple
6832 acessors haveSelction() and workHeight() instead
6835 2002-08-29 John Levon <levon@movementarian.org>
6837 * BufferView_pimpl.C (dispatch): do not continue when
6840 2002-08-28 André Pönitz <poenitz@gmx.net>
6842 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6845 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6847 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6849 * buffer.C: increment LYX_FORMAT to 221
6851 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6852 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6854 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6856 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6858 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6860 * factory.C (createInset): use LyXTextClass::floats
6862 * MenuBackend.C (expandFloatListInsert):
6863 (expandFloatInsert):
6866 * text2.C (setCounter):
6868 * LaTeXFeatures.C (useFloat):
6869 (getFloatDefinitions):
6871 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6873 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6874 floatlist_, with accessor floats().
6876 * FloatList.h: remove global FloatList
6878 2002-08-26 André Pönitz <poenitz@gmx.net>
6880 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6884 * BufferView_pimpl.C:
6885 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6887 2002-08-25 John Levon <levon@movementarian.org>
6889 * LyXAction.C: fix margin note description
6891 2002-08-24 John Levon <levon@movementarian.org>
6895 * bufferview_funcs.C:
6897 * undo_funcs.C: cleanups
6899 * lyxfunc.C: disable CUT/COPY when no selection
6901 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6903 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6904 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6906 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6907 Add backward compatibility to "mono", "gray" and "no".
6909 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6911 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6912 (and file_format >= 200).
6914 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6916 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6918 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6920 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6922 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6924 * BufferView_pimpl.C:
6931 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6932 inset and code to make it work with the paragraph code. The inset
6933 can be anywhere in the paragraph, but will only do the expected
6934 thing in LaTeX if the layout file contains the parameter line
6936 (or more generally, a nonzero value) for that layout.
6938 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6940 * paragraph.h: remove the declaration of undefined counters class
6943 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6945 * text2.C (setCounter): fixed enumeration mis-count as reported by
6946 Dr. Richard Hawkins.
6948 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6950 * paragraph_funcs.h: remove some unneeded includes
6952 * text.C (backspace): pasteParagraph now in global scipe
6954 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6955 (pasteSelection): ditto
6957 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6958 * paragraph_funcs.C (pasteParagraph): ... here
6960 2002-08-20 André Pönitz <poenitz@gmx.net>
6962 * commandtags.h: new LFUNs for swapping/copying table row/colums
6965 * lyxfunc.C: support for new lfuns
6967 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6970 * buffer.[Ch]: remove NO_COMPABILITY stuff
6972 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6974 * boost.C (throw_exception): new file, with helper function for
6975 boost compiled without exceptions.
6980 * ParameterStruct.h:
6981 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6983 * bufferlist.C (emergencyWriteAll): use boost bind
6985 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6987 * text.C: include paragraph_funcs.h
6988 (breakParagraph): breakParagraph is now in global scope
6990 * paragraph_funcs.[Ch]: new files
6992 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6995 * buffer.C: include paragraph_funcs.h
6996 (insertStringAsLines): breakParagraph is now in global scope
6998 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7001 * CutAndPaste.C: include paragraph_funcs.h
7002 (cutSelection): breakParagraphConservative is now in global scope
7003 (pasteSelection): ditto
7005 * buffer.h: declare oprator== and operator!= for
7006 Buffer::inset_iterator
7008 * bufferlist.C (emergencyWrite): don't use fmt(...)
7010 * text3.C: add using std::endl
7012 * BufferView.C (moveCursorUpdate): remove default arg
7014 2002-08-20 André Pönitz <poenitz@gmx.net>
7016 * buffer.[Ch]: move inline functions to .C
7019 * BufferView_pimpl.C:
7021 * buffer.[Ch]: use improved inset_iterator
7024 * paragraph.[Ch]: write one paragraph at a time
7026 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7028 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7029 style if style is not specified.
7031 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7033 * text2.C (setCounter): when searching for right label for a
7034 caption, make sure to recurse to parent insets (so that a caption
7035 in a minipage in a figure float works) (bug #568)
7037 2002-08-20 André Pönitz <poenitz@gmx.net>
7039 * text3.C: new file for LyXText::dispatch() and helpers
7041 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7043 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7045 2002-08-19 André Pönitz <poenitz@gmx.net>
7048 * text.C: new LyXText::dispatch()
7050 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7052 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7054 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7056 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7059 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7061 * Makefile.am: use $(variables) instead of @substitutions@
7063 2002-08-15 André Pönitz <poenitz@gmx.net>
7066 * BufferView_pimpl.C: streamlining mathed <-> outer world
7070 * LyXAction.C: remove unused LFUN_MATH
7072 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7074 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7076 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7078 * paragraph.C (Paragraph): reformat a bit
7079 (cutIntoMinibuffer): use builtin InsetList function instad of
7083 * buffer.C: include boost/bind.hpp, add using std::for_each
7084 (writeFileAscii): use ParagraphList iterators
7085 (validate): use for_each for validate traversal of paragraphs
7086 (getBibkeyList): use ParagraphList iterators
7087 (resizeInsets): use for_each to resizeInsetsLyXText for all
7089 (getParFromID): use ParagraphList iterators
7091 * BufferView2.C (lockInset): use paragraph list and iterators
7093 2002-08-14 John Levon <levon@movementarian.org>
7095 * lyxserver.C: remove spurious xforms include
7097 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7099 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7101 2002-08-13 André Pönitz <poenitz@gmx.net>
7104 * lyxfunc.C: further cleaning
7106 2002-08-13 André Pönitz <poenitz@gmx.net>
7108 * funcrequest.h: new constructor
7110 * funcrequest.C: move stuff here from .h
7113 * BufferView_pimpl.C:
7116 * lyxfunc.C: subsequent changes
7118 * lyxfunc.h: new view() member function
7120 * lyxfunc.C: subsequent changes
7122 2002-08-13 Angus Leeming <leeming@lyx.org>
7125 * BufferView_pimpl.C:
7133 changes due to the changed LyXView interface that now returns references
7134 to member variables not pointers.
7136 2002-08-13 Angus Leeming <leeming@lyx.org>
7138 * WordLangTuple (word, lang_code): return references to strings,
7143 * lyxtext.h: forward-declare WordLangTuple.
7148 * text.C: #include "WordLangTuple.h".
7151 * text.C: (selectNextWordToSpellcheck): constify return type.
7153 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7159 * paragraph_pimpl.h:
7162 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7164 Made updateCounter always count from start of buffer, and removed
7165 second argument (par).
7166 Reverted floats number display to '#'. Perhaps I'll try again when the
7167 code base is sanitized a bit.
7169 2002-08-12 Angus Leeming <leeming@lyx.org>
7171 * buffer.[Ch] (getLabelList): constify.
7173 2002-08-07 André Pönitz <poenitz@gmx.net>
7175 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7177 * funcrequest.h: extension to keep mouse (x,y) position
7179 2002-08-12 Juergen Vigna <jug@sad.it>
7181 * BufferView2.C (insertErrors): forbid undo when inserting error
7184 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7186 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7188 * ParagraphList.[Ch]: new files
7190 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7192 * BufferView2.C (lockInset): ParagraphList changes
7195 * bufferlist.C: ditto
7199 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7201 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7202 unused class variable counter_,
7204 * paragraph.[Ch] (getFirstCounter): delete unused function
7206 * counters.C: include LAssert.h
7207 (reset): add a new function with no arg, change other version to
7208 not have def. arg and to not allow empty arg.
7210 * text2.C (setCounter): remove empty arg from call to Counters::reset
7212 2002-08-11 John Levon <levon@movementarian.org>
7214 * Makefile.am: add WordLangTuple.h
7216 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7218 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7219 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7221 * insets/insettext.C: InsetList changes
7223 * graphics/GraphicsSupport.C (operator()): InsetList changes
7225 * toc.C (getTocList): InsetList changes
7227 * paragraph_pimpl.[Ch]: InsetList changes
7229 * paragraph.[Ch]: InsetList changes
7231 * buffer.C (inset_iterator): InsetList changes
7232 (setParagraph): ditto
7233 * buffer.h (inset_iterator): ditto
7234 * iterators.C (operator++): ditto
7235 * iterators.h: ditto
7237 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7239 * InsetList.[Ch]: new files, most InsetList handling moved out of
7242 * BufferView2.C (removeAutoInsets): InsetList changes
7244 (ChangeInsets): ditto
7246 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7248 * paragraph_pimpl.h (empty): new function
7250 * paragraph.[Ch] (empty): new function
7252 * other files: use the new Paragraph::empty function
7254 2002-08-09 John Levon <levon@movementarian.org>
7256 * lyxtext.h: remove unused refresh_height
7258 2002-08-09 John Levon <levon@movementarian.org>
7265 * paragraph.C: move sgml char escaping out of paragraph
7268 * paragraph.C: remove id setter
7272 * paragraph_pimpl.C: remove dead tex_code_break_column
7274 * bufferview_funcs.C: small cleanup
7276 * lyxfunc.C: remove dead proto
7278 * lyxtext.h: make some stuff private. Remove some dead stuff.
7280 * lyxgluelength.C: make as[LyX]String() readable
7282 2002-08-08 John Levon <levon@movementarian.org>
7287 * ToolbarDefaults.C:
7290 * toc.C: lyxaction cleanup
7292 2002-08-08 John Levon <levon@movementarian.org>
7294 * BufferView2.C: small cleanup
7297 * lyxfind.C: move unnecessary header into the .C
7299 2002-08-08 John Levon <levon@movementarian.org>
7301 * funcrequest.h: just tedious nonsense
7304 * lyx_main.C: cleanups
7307 * vspace.C: remove dead header lyx_main.h
7309 2002-08-07 Angus Leeming <leeming@lyx.org>
7312 * paragraph_pimpl.h:
7313 Forward declare class Counters in paragraph.h by moving the ctrs member
7314 variable into Paragraph::Pimpl.
7315 (counters): new method, returning a reference to pimpl_->ctrs.
7317 * text2.C: ensuing changes.
7319 2002-08-07 John Levon <levon@movementarian.org>
7321 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7323 * BufferView_pimpl.C: announce X selection on double/triple
7326 * lyx_main.C: use correct bool in batch dispatch
7328 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7330 2002-08-07 André Pönitz <poenitz@gmx.net>
7332 * funcrequest.h: new class to wrap a kb_action and its argument
7335 * BufferView_pimpl[Ch]:
7339 * lyxrc.C: subsequent changes
7342 2002-08-07 John Levon <levon@movementarian.org>
7344 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7345 document options change.
7347 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7352 * makefile.am: move counters functionality over from
7353 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7355 2002-08-06 John Levon <levon@movementarian.org>
7357 * WordLangTuple.h: new file for word + language code tuple
7368 * BufferView2.C: use WordLangTuple
7371 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7373 2002-08-06 John Levon <levon@movementarian.org>
7375 * lyx_main.C: fix cmdline batch handling
7377 2002-08-06 André Pönitz <poenitz@gmx.net>
7379 * lyxrc.C: set default for show_banner to true
7381 2002-08-06 John Levon <levon@movementarian.org>
7383 * pspell.C: fix a crash, and allow new aspell to work
7385 2002-08-06 John Levon <levon@movementarian.org>
7388 * kbmap.C: small cleanup
7391 * vspace.C: add const
7393 2002-08-05 John Levon <levon@movementarian.org>
7395 * LyXAction.C: back to tabular-insert
7397 2002-08-04 John Levon <levon@movementarian.org>
7400 * BufferView.C: cosmetic change
7402 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7412 * BufferView2.C: purge all "Lyx" not "LyX" strings
7415 * lyxcursor.C: attempt to add some documentation
7420 * ToolbarDefaults.C:
7421 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7422 merge with LFUN_TABULAR_INSERT
7429 * pspell.C: split up i/pspell implementations into separate
7430 files, many cleanups
7432 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7434 * text2.C: some cleanup
7436 * lyxfunc.C: don't check for isp_command == "none" any more, it
7437 didn't make any sense
7439 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7444 * makefile.am: move counters functionality over
7445 from text2.C/paragraph.[Ch] to counters.[Ch], and
7447 2002-08-02 John Levon <levon@movementarian.org>
7449 * buffer.C: s/lyxconvert/lyx2lyx/
7451 2002-08-02 Angus Leeming <leeming@lyx.org>
7453 * lyxlex.C: revert John's change as it breaks reading of the user
7456 2002-08-02 Angus Leeming <leeming@lyx.org>
7458 * importer.C (Import):
7459 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7460 changes due to LyXView::view() now returning a boost::shared_ptr.
7462 2002-08-02 John Levon <levon@movementarian.org>
7464 * lyxlex.C: small cleanup
7466 2002-08-02 John Levon <levon@movementarian.org>
7468 * text2.C (status): small cleanup, no logic change
7470 2002-08-01 John Levon <levon@movementarian.org>
7473 * buffer.C (writeFile): don't output alerts, caller
7477 * lyx_cb.C: from above
7479 * lyxfunc.C: allow to open non-existent files
7481 2002-07-31 John Levon <levon@movementarian.org>
7483 * lyxserver.C: don't let incidental errors get
7486 2002-07-30 John Levon <levon@movementarian.org>
7488 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7490 2002-07-30 John Levon <levon@movementarian.org>
7493 * lyxserver.C: remove I/O callback too
7495 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7497 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7500 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7502 * many files: strip,frontStrip -> trim,ltrim,rtrim
7504 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7506 * PrinterParams.h: remove extern containsOnly, and include
7507 support/lstrings.h instead.
7509 * LaTeX.C (scanAuxFile): modify because of strip changes
7511 * buffer.C (makeLaTeXFile): ditto
7512 * bufferparams.C (writeFile): ditt
7513 * lyxfont.C (stateText): ditto
7514 * lyxserver.C (read_ready): ditto
7515 * vc-backend.C (scanMaster): ditto
7517 * BufferView_pimpl.h: ws changes
7519 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7521 2002-07-26 André Pönitz <poenitz@gmx.net>
7523 * kb_sequence.C: remove unnedred usings
7525 2002-07-26 Juergen Vigna <jug@sad.it>
7527 * lyxfind.C (LyXReplace): we have to check better if the returned
7528 text is not of theLockingInset()->getLockingInset().
7530 2002-07-25 Juergen Vigna <jug@sad.it>
7532 * lyxfind.C (LyXReplace): don't replace if we don't get the
7535 * undo_funcs.C (createUndo): remove debugging code.
7537 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7539 * buffer.C (parseSingleLyXformat2Token): Use default placement
7540 when reading old floats.
7542 * FloatList.C (FloatList): Change the default placement of figure
7543 and tables to "tbp".
7545 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7547 * MenuBackend.C: using std::max
7549 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7551 * MenuBackend.C (expandToc):
7552 (expandToc2): code moved from xforms menu frontend. It is now
7553 generic and TOCs are transparent to menu frontends.
7555 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7557 * toc.C (getTocList): protect against buf=0
7559 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7560 Menu as first parameter. Now, this calls itself recursively to
7561 expand a whole tree (this will be useful for TOC handling)
7562 (expandFloatInsert): remove 'wide' version of floats
7564 * MenuBackend.h (submenuname): returns the name of the submenu.
7565 (submenu): returns the submenu itself, provided it has been
7566 created by MenuBackend::expand
7568 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7570 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7571 insets which have noFontChange == true. (bug #172)
7573 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7575 * BufferView_pimpl.C: add connection objects and use them...
7578 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7580 * MenuBackend.C (expandLastfiles):
7583 (expandFloatListInsert):
7584 (expandFloatInsert):
7585 (expand): split expand in parts
7587 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7589 * lyx_gui.C: use lyx_gui::exit()
7591 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7593 * LyXAction.C: show the failing pseudo action
7595 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7597 * buffer.C (readFile): Run the lyxconvert script in order to read
7600 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7604 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7606 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7610 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7612 2002-07-22 Herbert Voss <voss@lyx.org>
7615 * lyxlength.[Ch]: add support for the vertical lengths
7617 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7619 * toc.[Ch]: std:: fixes
7621 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7623 * lyxrc.C: do not include lyx_main.h
7625 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7631 * BufferView2.C: include "lyxlex.h"
7634 * bufferparams.h: do not #include "lyxlex.h"
7636 * lyxtextclasslist.C (Add): remove method
7637 (classlist): renamed to classlist_
7639 * paragraph_pimpl.C:
7643 * bufferview_funcs.C:
7648 * toc.C (getTocList): use BufferParams::getLyXTextClass
7650 * toc.C (getTocList): use InsetFloat::addToToc
7652 * toc.[Ch]: new files, containing helper functions to handle table
7655 * lyxfunc.C (dispatch): no need to remove spaces around command
7657 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7658 first command of the sequence; it is not very clever, but I do not
7659 have a better idea, actually
7661 * LyXAction.C (LookupFunc): make sure to remove space at the
7662 beginning and end of the command
7664 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7666 * MenuBackend.C (getMenubar): new method: return the menubar of
7668 (read): treat differently reading of menu and menubar (in
7669 particular, the menubar has no name now)
7670 (Menu::menubar): remove
7672 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7675 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7677 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7678 a bibitem inset in a RTL paragraph.
7680 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7682 * paragraph_pimpl.C: constify
7684 * BufferView_pimpl.C:
7686 * lyxfunc.C: fix dispatch in a nicer way
7688 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7690 * lyxfunc.C (dispatch):
7691 * BufferView_pimpl.C:
7692 * BufferView_pimpl.h:
7694 * BufferView.h: rename Dispatch() to dispatch()
7696 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7698 * lyxlayout.C (Read): honor DependsOn tag
7700 * lyxlayout.[Ch] (depends_on): new method
7702 * version.C.in: update lyx_docversion
7704 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7706 * paragraph.C (validate): remove from here...
7707 * paragraph_pimpl.C (validate): ... and move here
7708 (isTextAt): make it const
7710 * buffer.C (getLists): ws cleanup
7712 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7714 * language.C (read): Use iso8859-1 encoding in latex_lang
7715 (this prevents LyX from crashing when using iso10646-1 encoding).
7717 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7719 * text2.C (toggleInset): if cursor is inside an inset, close the
7720 inset and leave cursor _after_ it
7722 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7724 * lyxfunc.C: move minibuffer completion handling out of here
7726 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7728 * BufferView_pimpl.C:
7729 * LaTeX.C: fix dispatch calls
7731 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7733 * text.C (drawChars): Fix Arabic text rendering.
7735 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7739 * lyxfunc.C: remove message-push/pop
7743 * lyxfunc.C: rationalise some code by removing verboseDispatch
7744 in favour of a bool argument to dispatch()
7746 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7748 * lyx_main.C (init): make sure to read symlinks as absolute paths
7750 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7753 * lyxfunc.C: no need for commandshortcut to be a member
7755 2002-07-15 André Pönitz <poenitz@gmx.net>
7757 * converter.C: add support for $$s (scripts from lib/scripts dir)
7758 * lyx_main.C: white space
7760 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7764 * lyxrc.C: remove second exit confirmation
7766 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7771 * BufferView_pimpl.h:
7772 * BufferView_pimpl.C:
7773 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7775 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7777 * MenuBackend.C (expand): add numeric shortcuts to document menu
7779 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7781 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7783 * lyxfont.C (setLyXFamily):
7790 * buffer.C (asciiParagraph): use ascii_lowercase
7792 2002-07-15 Mike Fabian <mfabian@suse.de>
7794 * lyxlex_pimpl.C (search_kw):
7795 * lyxlex.C (getLongString):
7796 * converter.h (operator<):
7797 * converter.C (operator<):
7798 * buffer.C (parseSingleLyXformat2Token):
7800 * ToolbarDefaults.C (read):
7801 * MenuBackend.C (checkShortcuts):
7803 * LColor.C (getFromGUIName):
7804 (getFromLyXName): use the compare_ascii_no_case instead of
7805 compare_no_case, because in turkish, 'i' is not the lowercase
7806 version of 'I', and thus turkish locale breaks parsing of tags.
7808 2002-07-16 Angus Leeming <leeming@lyx.org>
7810 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7811 now takes a Buffer const & argument.
7813 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7815 * BufferView.C (resize): check there's a buffer to resize
7817 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7819 * lyxfunc.C: remove dead code
7822 * lyxserver.C: use lyx_guii::set_read_callback
7824 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7826 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7827 an inset in a RTL paragraph.
7829 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7831 * lyxfunc.C: repaint after a font size update
7833 2002-07-15 André Pönitz <poenitz@gmx.net>
7835 * lyxlength.C: inBP should be able to return negative values
7837 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7839 * lyxfunc.C: use lyx_gui::update_fonts()
7841 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7843 * lyxfunc.C: use lyx_gui::update_color()
7845 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7851 * lyxrc.C: remove file->new asks for name option, and let
7852 buffer-new take an argument
7854 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7856 * BufferView_pimpl.C: remove unneeded extra repaint()
7858 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7860 * LyXAction.C: allow command-sequence with NoBuffer
7862 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7864 2002-07-10 Angus Leeming <leeming@lyx.org>
7866 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7868 2002-07-09 Angus Leeming <leeming@lyx.org>
7870 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7872 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7874 * lengthcommon.h: whitespace
7876 * lyxfunc.C: update scrollbar after goto paragraph
7878 * lyxtext.h: factor out page break drawing, and fix it so
7879 page break/added space paints as selected nicely
7881 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7883 * BufferView_pimpl.C: add FIXMEs, clean up a little
7885 2002-07-09 André Pönitz <poenitz@gmx.net>
7887 * lyxfont.[Ch]: support for wasy symbols
7889 2002-07-08 André Pönitz <poenitz@gmx.net>
7891 * BufferView_pimpl.C: apply John's patch for #93.
7893 2002-07-05 Angus Leeming <leeming@lyx.org>
7895 * BufferView_pimpl.C (buffer): generate previews if desired.
7897 * LColor.h: add "preview" to the color enum.
7899 * LColor.C (LColor): add a corresponding entry to the items array.
7901 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7904 2002-07-05 Angus Leeming <leeming@lyx.org>
7906 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7907 The body of the code is now in the method that is passed an ostream &
7908 rather than a file name.
7909 Pass an additional only_preamble parameter, useful for the forthcoming
7912 2002-07-03 André Pönitz <poenitz@gmx.net>
7914 * lyxfunc.C: simplify getStatus() a bit for math stuff
7916 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7918 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7920 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7922 * text.C (changeRegionCase): do not change case of all the
7923 document when region ends at paragraph end (bug #461)
7925 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7927 * paragraph.C (startTeXParParams):
7928 (endTeXParParams): add \protect when necessary
7930 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7932 * BufferView_pimpl.C (workAreaExpose): remove warning
7934 2002-06-27 Angus Leeming <leeming@lyx.org>
7936 * Makefile.am: add lyxlayout_ptr_fwd.h.
7938 2002-06-26 André Pönitz <poenitz@gmx.net>
7940 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7942 2002-06-25 Angus Leeming <leeming@lyx.org>
7944 * lyxfunc.C (dispatch): Comment out the call to
7945 grfx::GCache::changeDisplay. The method no longer exists now that the
7946 pixmap generation part of the graphics loader has been moved into
7949 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7951 * text2.C: layout as layout
7953 * text.C: layout as layout
7955 * tabular.C (OldFormatRead): layout as layout
7957 * paragraph_pimpl.C (TeXDeeper): layout as layout
7958 (realizeFont): layout as layout
7960 * paragraph.C (writeFile): layout as layout
7961 (validate): layout as layout
7962 (getFont): layout as layout
7963 (getLabelFont): layout as layout
7964 (getLayoutFont): layout as layout
7965 (breakParagraph): layout as layout
7966 (stripLeadingSpaces): layout as layout
7967 (getEndLabel): layout as layout
7968 (getMaxDepthAfter): layout as layout
7969 (applyLayout): layout as layout
7970 (TeXOnePar): layout as layout
7971 (simpleTeXOnePar): layout as layout
7972 (TeXEnvironment): layout as layout
7973 (layout): layout as layout
7974 (layout): layout as layout
7976 * lyxtextclass.C (compare_name): new functor to work with
7977 shared_ptr, layout as layout
7978 (Read): layout as layout
7979 (hasLayout): layout as layout
7980 (operator): layout as layout
7981 (delete_layout): layout as layout
7982 (defaultLayout): layout as layout
7984 * lyxlayout_ptr_fwd.h: new file
7986 * lyxlayout.C (Read): layout as layout
7988 * lyx_cb.C (MenuInsertLabel): layout as layout
7990 * bufferlist.C (newFile): layout as layout
7992 * buffer.C (readLyXformat2): layout as layout
7993 (parseSingleLyXformat2Token): layout as layout
7994 (insertStringAsLines): layout as layout
7995 (asciiParagraph): layout as layout
7996 (latexParagraphs): layout as layout
7997 (makeLinuxDocFile): layout as layout
7998 (simpleLinuxDocOnePar): layout as layout
7999 (makeDocBookFile): layout as layout
8000 (simpleDocBookOnePar): layout as layout
8001 (getLists): layout as layout
8003 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8005 * CutAndPaste.C (cutSelection): layout as layout
8006 (pasteSelection): layout as layout
8007 (SwitchLayoutsBetweenClasses): layout as layout
8009 * BufferView_pimpl.C (Dispatch): layout as layout
8010 (smartQuote): layout as layout
8012 * BufferView2.C (unlockInset): layout as layout
8014 2002-06-24 André Pönitz <poenitz@gmx.net>
8016 * lyxfunc.C: fix #487
8018 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8022 * lyxfunc.C: remove display_shortcuts, show_banner
8024 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8026 * Buffer_pimpl.C: oops, update on resize
8028 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8035 * BufferView.C: use repaint()
8037 * BufferView_pimpl.h:
8038 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8039 as it's a clearer description. Remove superfluous
8042 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8044 * text.C: fix bug 488. Not ideal, but getting
8045 getWord() to work properly for the insets that
8046 matter is more difficult ...
8048 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8050 * BufferView_pimpl.C:
8053 * lyxfunc.C: remove the six million index lyxfuncs to just
8054 one, and DTRT (bug 458)
8056 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8060 * BufferView_pimpl.h:
8061 * BufferView_pimpl.C: clean up resize() stuff,
8062 and unnecessary updateScreen()s
8064 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8068 * BufferView_pimpl.h:
8069 * BufferView_pimpl.C:
8072 * minibuffer.C: remove focus management of workarea,
8073 not needed. Use screen's greyOut()
8075 2002-06-17 Herbert Voss <voss@lyx.org>
8077 * converter.C: (convert) do not post a message, when converting
8078 fails, let the calling function decide what to do in this case
8080 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8082 * lyxfunc.C: tidy up a little
8084 2002-06-16 <alstrup@diku.dk>
8086 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8087 Got rid of FORMS_H_LOCATION include. Now we are
8090 2002-06-15 LyX Development team <lyx@rilke>
8092 * buffer.[Ch] (sgmlOpenTag):
8093 (sgmlCloseTag): Added support for avoiding pernicious mixed
8094 content. Return number of lines written.
8097 (makeDocBookFile): Fixed calls to sgml*Tag.
8098 Simple white space clean.
8100 (simpleDocBookOnePar): Simple white space clean.
8102 * tabular.[Ch] (docBook): Renamed to docbook and got another
8103 argument to related with the pernicious mixed content.
8105 (docbookRow): Fixed calls for docbook inset method.
8107 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8109 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8110 so it's X11 independent.
8114 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8116 2002-06-15 Lyx Development team <lyx@electronia>
8118 * intl.h: Renamed getTrans to getTransManager.
8120 2002-06-14 Angus Leeming <leeming@lyx.org>
8122 * Makefile.am: nuke forgotten stl_string_fwd.h.
8124 2002-06-12 Angus Leeming <leeming@lyx.org>
8126 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8128 2002-06-13 Angus Leeming <leeming@lyx.org>
8131 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8133 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8135 * kbmap.C (getiso): add support for cyrillic and greek
8137 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8141 * BufferView_pimpl.h:
8142 * BufferView_pimpl.C: move bogus scrolling logic
8145 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8148 * BufferView_pimpl.C: view->resize() change
8150 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8152 * BufferView_pimpl.C: topCursorVisible
8155 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8159 * lyx_gui.C: move to frontends/
8163 * lyx_main.C: changes from above
8165 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8172 * lyx_main.C: minor tidy
8174 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8176 * BufferView_pimpl.h:
8177 * BufferView_pimpl.C:
8179 * BufferView.C: make painter() const,
8182 * BufferView2.C: use screen() accessor
8185 * lyx_main.C: some minor cleanup
8187 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8189 * BufferView_pimpl.h:
8190 * BufferView_pimpl.C: remove enter/leaveView,
8193 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8198 * BufferView_pimpl.h:
8199 * BufferView_pimpl.C: only construct screen once,
8202 * lyxrc.C: remove pointless comment
8204 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8207 * BufferView.C: remove active() and belowMouse()
8209 * BufferView_pimpl.h:
8210 * BufferView_pimpl.C: use workarea() not workarea_,
8211 and make it use a scoped_ptr instead
8213 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8215 * lyx_gui.C: add debug message on BadWindow
8217 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8219 * sp_spell.C: fdopen is not part of the C++ standard.
8221 * paragraph.C (InsetIterator): use >= instead of ==
8223 2002-06-07 Angus Leeming <leeming@lyx.org>
8225 Fixes needed to compile with Compaq cxx 6.5.
8226 * BufferView_pimpl.C:
8233 * lyxtextclasslist.C:
8238 all c-library variables have been moved into namespace std. Wrap
8239 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8244 Add a using std::abs declaration.
8246 * kbmap.h (modifier_pair):
8247 * paragraph.h (InsetTable, InsetList):
8248 * lyxfont.h (FontBits):
8249 type definition made public.
8251 * bufferlist.C (emergencyWriteAll): the compiler complains that
8252 there is more than one possible lyx::class_fun template to choose from.
8253 I re-named the void specialisation as lyx::void_class_fun.
8255 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8257 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8258 the compiler is is unable to find tostr in write_attribute.
8260 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8262 * buffer.C (sgmlError): hide #warning
8264 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8266 * xtl/*: get rid of xtl, which is not in use anyway
8268 * LyXAction.C (init):
8269 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8270 were unimplemented xtl experimentation
8272 2002-06-04 André Pönitz <poenitz@gmx.net>
8274 * lyxfunc.C: disable array operation on simple formulae
8276 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8278 * converter.C: constify a bit
8280 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8282 * lyx_gui.C: check xforms version correctly
8284 2002-04-30 Herbert Voss <voss@lyx.org>
8286 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8289 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8291 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8292 attempt to register it with a VCS)
8294 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8296 * lyx_main.C (init): honor variables LYX_DIR_13x and
8299 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8303 * lyx_main.C: fix a crash on bad command line,
8304 and give a useful exit status on error
8306 * lyxfunc.C (doImport): allow -i lyx to work
8308 2002-03-30 André Pönitz <poenitz@gmx.net>
8310 * lyxfunc.C: mathed font changes
8312 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8327 * trans_mgr.h: srcdocs, and some minor cleanups
8329 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8331 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8332 call getFont all the time)
8334 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8336 * switch from SigC signals to boost::signals
8338 2002-05-29 André Pönitz <poenitz@gmx.net>
8340 * paragraph_pimpl.C (getChar): don't call size() too often...
8342 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8344 * paragraph_pimpl.C (insertChar): do not try to update tables when
8345 appending (pos == size())
8347 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8348 in order to reduce drastically the number of comparisons needed to
8349 parse a large document
8351 2002-05-29 André Pönitz <poenitz@gmx.net>
8357 * textclasslist.[Ch]:
8358 * sp_ispell.h: whitespace change
8360 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8362 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8363 lyxaction directly now.
8365 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8369 * lyxvc.C: remove unused headers
8371 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8378 * undo_funcs.C: some cleanups. Use shared_ptr
8379 and a template for the undo stacks.
8381 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8383 * BufferView_pimpl.h:
8384 * BufferView_pimpl.C:
8391 * text2.C: use key_state/mouse_state
8393 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8395 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8398 * chset.C: change include order
8399 (loadFile): use boost regex and get rid of LRegex and LSubstring
8401 * Makefile.am (BOOST_LIBS): new variable
8404 * LaTeX.C: change include order.
8405 (scanAuxFile): use boost regex and get rid of LRegex and
8409 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8414 * FontInfo.C: moved to frontends/xforms/
8417 * FontLoader.C: moved into frontends for GUIIzation
8422 * lyxfunc.C: changes from above
8424 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8426 * LColor.C: remove spurious X include
8428 * BufferView_pimpl.C:
8433 * text2.C: move font metrics to frontends/
8435 2002-05-24 Juergen Vigna <jug@sad.it>
8437 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8438 setting the undo_cursor.
8440 * ParagraphParameters.h: include local includes first.
8442 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8444 * BufferView_pimpl.C:
8445 * BufferView_pimpl.h:
8449 * screen.C: move WorkArea into frontends/
8455 * BufferView2.C: move LyXScreen into frontends/
8459 * lyx_gui.C: move lyxlookup into frontends/xforms/
8461 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8464 * BufferView_pimpl.C:
8474 * bufferview_funcs.C:
8487 * vc-backend.C: move LyX/XFormsView into frontends/
8489 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8501 * text2.C: move Painter to frontends/
8503 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8505 * buffer.C: comment out some some code that depend upon lyx_format
8508 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8509 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8511 * buffer.h (NO_COMPABILITY): turn off compability
8513 * ColorHandler.C: include scoped_array.hpp
8515 * font.C: Use more specific smart_ptr header.
8518 * ShareContainer.h: ditto
8522 * BufferView_pimpl.h: ditto
8523 * ColorHandler.h: ditto
8525 * kbmap.C (defkey): change call to shared_ptr::reset
8527 2002-05-21 Juergen Vigna <jug@sad.it>
8529 * buffer.C (insertErtContents): fix to insert ert asis if it is
8530 non empty. Skip it completely if it contains only whitespaces.
8532 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8534 * BufferView_pimpl.C:
8535 * BufferView2.C: clear selection on paste (bug 393)
8537 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8539 * DepTable.C: include ctime
8541 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8543 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8545 2002-05-14 Juergen Vigna <jug@sad.it>
8547 * text.C (breakParagraph): fixed function to honor the keepempty
8548 layout in the right maner and also to permit the right breaking
8549 algorithm on empty or non empyt keepempty paragraphs.
8551 * paragraph.C (breakParagraph): we have to check also if the par
8552 is really empty (!size()) for isempty otherwise we do the wrong
8555 2002-05-10 Juergen Vigna <jug@sad.it>
8557 * buffer.[Ch] : The following are only changes to the ert
8558 compatibility read reading old LaTeX layout and font stuff and
8559 convert it to ERTInsets.
8561 * buffer.h: added isErtInset().
8563 * buffer.C (struct ErtComp): add a fromlayout bool to check
8564 if we're inside a LaTeX layout.
8565 (isErtInset): new helper function.
8566 (insertErtContents): look for other ert insets before this one
8567 and insert the contents there, so that we don't have subsequent
8568 ERT insets with nothing between them. This way we create only one
8569 inset with multiple paragraphs. Also check if we don't insert only
8570 spaces ' ' as they are ignored anyway afterwards in the .tex file
8571 so if we have only spaces we will ignore this latex part in the
8573 (parseSingleLyXformat2Token \\layout): better compatibility when
8574 reading layout-latex stuff.
8575 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8577 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8578 stuff after reading the inset only get the information back from
8581 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8583 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8585 * LaTeXFeatures.C (getBabelOptions): New method.
8587 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8589 * BufferView_pimpl.C (Dispatch): work around missing argument for
8592 2002-05-08 Juergen Vigna <jug@sad.it>
8594 * text.C (leftMargin): handle paragraph leftindent.
8596 * paragraph.C (writeFile): write the new \\leftindent tag.
8597 (validate): handle leftindent code.
8598 (TeXEnvironment): handle paragraphleftindent code again.
8600 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8602 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8603 for paragrap_extra indent code and new token \\leftindent.
8604 (latexParagraphs): handle the leftindent as environment.
8606 * ParameterStruct.h: added leftindent support.
8608 * ParagraphParameters.C (leftIndent): added support functions for
8609 the paragraph left indent.
8611 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8614 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8616 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8619 * text.C (computeBidiTables): No bidi in insetERT.
8621 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8624 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8626 * version.C.in: pre 5
8628 2002-05-02 José Matos <jamatos@fep.up.pt>
8629 * buffer.C (makeDocBookFile): white space changes, add newline to
8631 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8633 * tabular.C (docBook): fix typo.
8635 2002-05-03 Juergen Vigna <jug@sad.it>
8637 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8638 change in LyXText as we can not be sure it was not freed.
8639 (drawOneRow): remove unused code.
8641 * text.C (drawInset): redo the calculation of the need_break_row as
8642 it could have a row which was already freed.
8643 (draw): look at the return value of drawInset and return false if
8644 it also returned false.
8645 (paintRowText): look at the return value of draw and return false if
8646 it also returned false.
8648 * lyxtext.h: added bool return type to drawInset() and draw() so that
8649 if we have a change in the row so that the rowbreak has to be redone
8650 we abort drawing as it will be called again.
8652 2002-05-02 Juergen Vigna <jug@sad.it>
8654 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8655 a change in the maintext also if we're inside an inset.
8656 (Dispatch): set the cursor again after a break line and after the
8657 screen has been updated as it could be we're in a different row.
8659 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8660 to set the cursor behind the pargraph with > size().
8661 (setCursor): check also for the same paragraph when checking where
8662 to put the cursor if we have a NFR inset.
8664 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8665 parts of layout read further up as it still was in the wrong
8668 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8670 * screen.C (drawFromTo): change sine fullRebreak always return
8673 * buffer.C (parseSingleLyXformat2Token): reindent some
8675 * BufferView_pimpl.C (update): change since fullRebreak always
8677 (Dispatch): git rid of the last hardcoded "Standard"s.
8679 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8681 * text2.[Ch] (fullRebreak): make it return void now that we always
8684 2002-04-30 Juergen Vigna <jug@sad.it>
8686 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8687 ert compatibility check for "latex" layout.
8689 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8691 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8692 minipages: use col% instead of p%, and also use the current font.
8693 (makeLaTeXFile): Fix use babel condition.
8694 (parseSingleLyXformat2Token): Correct font when reading old floats.
8696 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8698 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8699 inserting list of floats.
8701 2002-04-25 Herbert Voss <voss@lyx.org>
8703 * MenuBackend.C (expand): don't add the graphics extensions to the
8706 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8708 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8709 non-existing layout, do not complain if it was the default layout
8710 of the original class (bug #342)
8712 2002-04-24 Juergen Vigna <jug@sad.it>
8714 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8715 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8717 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8719 * buffer.C (getBibkeyList): If using \bibliography, return the
8720 option field with the reference itself. Enables us to provide natbib
8721 support when using \bibliography.
8723 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8725 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8727 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8728 natbib is provided by the LaTeX class.
8730 2002-04-23 Juergen Vigna <jug@sad.it>
8732 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8735 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8737 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8739 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8741 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8742 ensuremath around textordmasculine, textordfeminine and
8745 2002-04-19 Juergen Vigna <jug@sad.it>
8747 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8748 reinitializing the buffer otherwise row-dimensions may be wrong.
8749 (update): reset also the selection cursors if they do exits otherwise
8750 their x/y positions may be wrong.
8752 * text2.C (cursorDown): don't enter the inset if we came from a row
8753 above and are one row over the inset.
8755 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8756 really leaving an inset.
8758 2002-04-18 Juergen Vigna <jug@sad.it>
8760 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8761 of the selected paragraph does not have the selected layout also if
8764 * text2.C (setLayout): fixed bug which did not change last selected
8767 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8768 changed the read and substituted \\end_float with \\end_inset!
8770 * BufferView_pimpl.C (cursorPrevious):
8771 (cursorNext): fixed to make it work with rows heigher than the work
8772 area without moving the cursor only the draw of the row.
8773 (workAreaMotionNotify): fix jumping over high rows.
8775 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8777 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8780 2002-04-16 Juergen Vigna <jug@sad.it>
8782 * text2.C (setCursor): set also the irow().
8783 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8785 (cursorDown): support for locking an inset if the x_fix value goes
8786 inside it. That way I can transverse insets too with cursor up/down.
8788 * lyxrow.h: added irow helper function same as other (i) functions.
8790 * BufferView_pimpl.C (cursorPrevious):
8791 (cursorNext): fixed for insets!
8793 2002-04-15 Juergen Vigna <jug@sad.it>
8795 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8796 position otherwise it is wrong in some cases.
8798 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8799 inside the inset before the call.
8801 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8803 * buffer.[Ch] (getBibkeyList): make it const.
8805 2002-04-12 Juergen Vigna <jug@sad.it>
8807 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8809 * text2.C (getCursorX): new helper function
8810 (setCursor): compute also ix_
8811 (setCursorFromCoordinates): set also ix.
8813 * lyxcursor.h: added ix_ and helper functions.
8815 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8817 * buffer.C (insertStringAsLines): dont break paragraph if the this
8818 paragraph is inside an inset which does not permit it!
8820 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8821 also with no chars on this paragraph.
8822 (paintRowText): only paint stuff if it's inside the workarea!
8824 * paragraph.C (breakParagraph): honor keepempty flag and break the
8825 paragraph always below not above.
8827 * BufferView2.C (unlockInset): update the paragraph layout on inset
8828 unlock as we changed paragraph in such a case.
8830 * lyxfind.C (LyXFind): clear the former selection if not found!
8832 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8833 again called in insertChar().
8835 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8836 an inset which uses the whole row!
8837 (rightMargin): ditto.
8838 (insertChar): force a rebreak if we inserted an inset!
8840 2002-03-28 Herbert Voss <voss@lyx.org>
8842 * lyxlength.[Ch]: add inBP() to get the right PS-point
8843 units (BigPoint). With inPixels we have rounding errors
8845 2002-04-11 Juergen Vigna <jug@sad.it>
8847 * text2.C (setCursorFromCoordinates): set iy to the right value.
8848 (setCursor): add check if row->previous exists!
8850 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8851 an old float_type as this was the case in the old code!
8853 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8855 * BufferView2.C (showLockedInsetCursor): use iy
8856 (fitLockedInsetCursor): ditto
8858 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8859 locked insets as there we have the right value now.
8861 * lyxcursor.C: added iy_ variable and iy functions to set to the
8862 baseline of cursor-y of the locked inset.
8864 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8865 (setCursor): fixed for insets which need a full row.
8867 * text.C (rowLastPrintable): don't ignore the last space when before
8868 an inset which needs a full row.
8869 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8870 as last character of a row when before a inset which needs a full row.
8872 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8874 * version.C.in: update date
8876 * text2.C (fullRebreak): try to always return true and see what
8879 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8881 * MenuBackend.C (expand): use Floating::listName
8883 * FloatList.C (FloatList): add listName argument to the built-in
8886 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8887 text associated with the float.
8889 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8891 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8893 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8895 * ShareContainer.h: add a couple of missing typenames.
8897 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8899 * lyxrc.C (getDescription): use _() correctly rather than N_().
8901 2002-03-28 Herbert Voss <voss@lyx.org>
8903 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8904 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8906 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8908 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8909 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8911 2002-03-29 Juergen Vigna <jug@sad.it>
8913 * lyxfunc.C (dispatch): add a missing fitCursor call.
8915 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8916 it was scrolled by a cursor move, so return the bool status.
8918 * BufferView.C (fitCursor): return the bool flag also to the outside
8919 world as this is needed.
8921 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8923 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8924 call the edit() as it is not needed (and wrong) IMO.
8925 (workAreaButtonPress): set the screen_first variable before evt.
8926 unlock the inset as this may change screen_first and then we have
8927 a wrong y position for the click!
8929 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8931 * MenuBackend.C (expand): another translation that I missed
8933 2002-03-28 Juergen Vigna <jug@sad.it>
8935 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8937 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8939 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8941 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8943 * MenuBackend.C (expand): fix export/view/update when there is no
8946 2002-03-27 Herbert Voss <voss@lyx.org>
8948 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8951 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8953 * bufferview_funcs.C (currentState): only show paragraph number
8954 for is DEVEL_VERSION is set.
8956 * lyxfunc.C (dispatch): put warning in INFO channel
8958 * MenuBackend.C (expand): translate the name of floats
8960 * FloatList.C (FloatList): mark the float names for translation
8962 * converter.C (convert): use LibScriptSearch
8964 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8966 * MenuBackend.C (defaults): fix default menu (we might as well get
8969 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8971 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8974 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8976 * lyxvc.C: reorder includes.
8978 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8980 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8983 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8985 * CutAndPaste.C: change layouts earlier on paste
8986 to avoid crashing when calling getFont()
8988 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8990 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8993 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8995 * WorkArea.C: remove 'Pending' debug message.
8997 * most files: ws cleanup
8999 * buffer.[Ch]: ws changes
9001 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9003 2002-03-21 Juergen Vigna <jug@sad.it>
9005 * tabular.C (SetMultiColumn): collapse also the contents of the
9006 cells and set the last border right. Added a Buffer const * param.
9008 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9010 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9013 2002-03-19 Juergen Vigna <jug@sad.it>
9015 * text2.C (clearSelection): reset also xsel_cache.
9017 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9018 where it needs to be called (John tells us to do so too :)
9019 (selectionLost): reset sel_cache.
9021 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9023 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9025 * text2.C (setCursorIntern): put debuging code in INSETS channel
9027 2002-03-19 André Pönitz <poenitz@gmx.net>
9029 * lyxfunc.C: tiny whitespace change
9031 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9033 * ToolbarDefaults.C (init):
9034 * LyXAction.C (init):
9036 * BufferView_pimpl.C (Dispatch):
9037 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9039 2002-03-19 Allan Rae <rae@lyx.org>
9041 * exporter.C (Export): removeAutoInsets before doing anything else.
9042 While I've just introduced a dependency on BufferView this really is
9043 the best place to clean the buffer otherwise you need to cleanup in
9044 a dozen places before calling export or cleanup in a dozen functions
9047 * converter.C (runLaTeX):
9048 (scanLog): Better handling of removeAutoInsets and screen updates.
9050 * lyxfunc.C (dispatch): small whitespace changes
9052 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9054 * WorkArea.C (C_WorkAreaEvent): return a value.
9055 (event_cb): return 1 if we handled the event, 0 otherwise.
9057 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9059 2002-03-18 Juergen Vigna <jug@sad.it>
9061 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9062 (GetAdditionalWidth): ditto.
9066 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9067 inset if we're there actually (probably not used right now but this
9068 is the direction to go for unifying code).
9069 (paste): disable code to clear the selection.
9071 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9072 inside an InsetText and move the check further up as it is in the
9075 * text2.C (pasteSelection): set a selection over the pasted text.
9077 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9079 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9080 and libgraphics to build on Cygwin.
9082 2002-03-15 Juergen Vigna <jug@sad.it>
9084 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9085 inserting an Inset into the paragraph. I know this is not the best
9086 fix but we already use current_view in CutAndPaste so we will remove
9087 all of it's using at the same time.
9089 * buffer.C (sgmlError): deactivated function till it is rewritten in
9090 the right mode, now it can create problems.
9092 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9093 before accessing it.
9095 2002-03-14 Juergen Vigna <jug@sad.it>
9097 * undo_funcs.C (textHandleUndo): do the right thing when updating
9098 the inset after the undo/redo.
9100 * text2.C (setCursor): just some testcode for #44 not ready yet.
9102 * undo_funcs.C (textHandleUndo): set the next() and previous()
9103 pointers of the paragraph to 0 before deleting otherwise we have
9104 problems with the Paragraph::[destructor].
9106 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9107 on a paragraph insertion.
9109 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9111 * buffer.C (asciiParagraph): use += operator for char append to
9114 * paragraph.C (getFontSettings): compare >= not just >
9115 (highestFontInRange): ditto
9118 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9120 * paragraph.C: change several algorithm to be more appripriate for
9121 the problem domain. This is lookip in FontList and in the InsetList.
9123 2002-03-13 André Pönitz <poenitz@gmx.net>
9126 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9128 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9133 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9135 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9137 * Painter.C (display): anon helper function, adjust code for this
9139 (pixmap): remove function.
9141 * Painter.h: remove private display variable.
9143 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9145 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9147 * WorkArea.[Ch]: remove figinset_canvas cruft.
9149 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9151 * lyxtextclass.C (operator): add one item cache optimization.
9153 * bufferlist.h: doxy changes
9155 * bufferlist.C: ws changes
9157 * DepTable.[Ch] (ext_exist): place const in the right spot.
9159 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9161 (workAreaExpose): call resizeInsets when the with BufferView changes.
9162 (Dispatch): adjust for protectedBlank removal
9163 (specialChar): call updateInset if the insert went ok.
9165 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9166 specialChar instead.
9168 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9170 * BufferView.h: doxy change
9172 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9174 * lyxtextclass.C (operator[]): remove non-const version
9175 (defaultLayout): remove non-const version
9177 2002-03-12 Juergen Vigna <jug@sad.it>
9179 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9180 did resize the LyXText too.
9182 * buffer.C (readLyXformat2): set layout information on newly allocated
9185 * tabular.C (OldFormatRead): set layout information on the paragraph.
9187 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9189 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9191 2002-03-11 Juergen Vigna <jug@sad.it>
9193 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9195 (resizeCurrentBuffer): force also the insets to resize themselfes.
9196 (moveCursorUpdate): fixed up for InsetText.
9198 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9201 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9202 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9203 value of Dialogs::tooltipsEnabled().
9204 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9206 2002-03-08 Juergen Vigna <jug@sad.it>
9208 * BufferView_pimpl.C (updateInset): update inset inside inset also
9209 if it isn't inside theLockingInset().
9211 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9213 * buffer.C (asciiParagraph): redo some of the word and line length
9215 (getLists): look for Caption instead of caption.
9217 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9219 * buffer.C (Buffer): initialize niceFile to true
9222 (makeDocBookFile): make sure niceFile is true on exit
9224 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9226 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9228 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9230 * LyXSendto.C: remove.
9231 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9232 * lyx_gui.C: remove now-redundant comment.
9233 * ColorHandler.h: remove forward declaration of class WorkArea.
9234 * lyxfunc.C: remove #include "WorkArea.h".
9236 2002-03-07 Juergen Vigna <jug@sad.it>
9238 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9239 got moved away with the DEPM and also set the inset_owner always
9240 right which before could have been omitted.
9242 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9244 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9245 wanted layout is not found.
9247 2002-03-07 Juergen Vigna <jug@sad.it>
9249 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9251 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9253 * paragraph.C (breakParagraph): use default layout not layout of
9255 (Paragraph): clear ParagraphParameters.
9257 2002-03-06 Juergen Vigna <jug@sad.it>
9259 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9260 otherwise it would not be a valid lenght. Fixed a special case in
9261 the minipage compatibility read where we end the document with a
9264 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9265 was set as it could be 0 for InsetTexts first entry.
9267 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9269 * paragraph.C (writeFile): if layout is empty write out
9270 defaultLayoutName().
9272 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9273 file without named layout we set layout to defaultLayoutName().
9275 2002-03-06 Juergen Vigna <jug@sad.it>
9277 * CutAndPaste.C (copySelection): set layout for new paragraph.
9279 * text.C (prepareToPrint): leave ERT inset left aligned
9280 (leftMargin): don't indent paragraphs inside ERT insets
9282 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9284 * paragraph.C (breakParagraph): dont call clear do the work manually
9286 * paragraph.[Ch] (clear): remove function
9288 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9290 * paragraph.C (Paragraph): dont call clear, the work has already
9293 * lyxtextclass.C (operator): assert if n is empty
9295 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9296 work manually instead.
9298 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9300 * BufferView_pimpl.C: protect selectionLost against text == 0
9302 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9304 * text.C (breakParagraph): fix a setting layout to '0' problem.
9306 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9308 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9309 final location of file, for the included files, and graphics.
9311 2002-03-05 Juergen Vigna <jug@sad.it>
9313 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9315 2002-03-04 Juergen Vigna <jug@sad.it>
9317 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9319 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9320 last column of multicolumn cells.
9321 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9323 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9325 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9326 file if it doesn't go to a temporary file.
9328 * buffer.C (sgmlOpenTag):
9329 (sgmlCloseTag): remove extra newline insertion.
9331 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9333 * text.C (getRowNearY): comment out debug msg
9335 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9337 * text2.C: first -> first_y
9339 * text.C (getRowNearY): add some attemts at a possible
9340 optimization, not working.
9342 * tabular.[Ch]: add BufferParams to several function so that newly
9343 created paragraph can be initialized to he default layotu for the
9346 * tabular-old.C (ReadOld): add buf->params to call of Init
9348 * screen.C: rename text->first to text->first_y
9350 * paragraph.C (breakParagraph): always set layout in the broken
9353 * lyxtextclass.C (Read): remove lowercase
9356 (delete_layout): ditto
9358 * lyxtext.h: rename first -> first_y
9360 * lyxlayout.C (Read): remove lowercase
9363 (obsoleted_by): ditto
9365 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9367 * buffer.C (insertErtContents): add params are to InsetERT
9368 (parseSingleLyXformat2Token): add code to check if a paragraphs
9369 layout really exist.
9370 (parseSingleLyXformat2Token): add params to several inset
9372 (asciiParagraph): remove lowercase, do the layout comparisons with
9375 * BufferView_pimpl.C (cursorNext): first -> first_y
9376 (resizeCurrentBuffer): first -> first_y
9377 (updateScrollbar): first -> first_y
9378 (scrollCB): first -> first_y
9379 (workAreaMotionNotify): first -> first_y
9380 (workAreaButtonPress): first -> first_y
9381 (checkInsetHit): first -> first_y
9382 (cursorPrevious): first -> first_y
9383 (cursorNext): first -> first_y
9384 (Dispatch): add buffer_->params to severl inset contructors
9386 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9388 * lyxlayout.C (Read): remove some debug info that I forgot.
9390 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9391 clean up the code slightly.
9392 (makeLinuxDocFile): ditto
9393 (makeDocBookFile): ditto
9395 * text2.C: layout as string
9397 * text.C: layout as string
9399 * paragraph_pimpl.C: layout as string
9401 * paragraph.[Ch]: layout as string
9403 * lyxtextclasslist.[Ch]: layout as string
9405 * lyxtextclass.[Ch]: layout as string
9407 * lyxtext.h: layout as string
9409 * lyxlayout.[Ch]: layout as string
9411 * lyx_cb.C: layout as string
9413 * bufferview_funcs.C: layout as string
9415 * bufferparams.C: layout as string
9417 * buffer.C: layout as string
9419 * LyXView.[Ch]: layout as string
9421 * LaTeXFeatures.[Ch]: layout as string
9423 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9425 * BufferView_pimpl.C: change current_layout to string, remove
9430 (workAreaButtonRelease): layout as string
9432 * BufferView2.C (unlockInset): adjust
9434 * vspace.C (asLatexCommand): use an explict temp variable.
9436 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9438 * Makefile.am: use FRONTEND_*
9440 2002-03-01 Juergen Vigna <jug@sad.it>
9442 * tabular.C (SetWidthOfMulticolCell): changed to something better
9443 I hope but still work in progress.
9444 (recalculateMulticolumnsOfColumn): renamed function from
9445 recalculateMulticolCells as it is more appropriate now.
9446 (SetWidthOfCell): calculate multicols better.
9448 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9450 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9452 * lyxfunc.C (processKeySym): print sequence also if it is
9453 `deleted' (complete)
9455 * kbsequence.C (print): print sequence even if it is deleted
9456 (complete would be a better word, actually).
9458 * lyxfunc.C (dispatch): print complete options after a prefix key
9460 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9462 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9464 * text2.C (setCharFont): eliminate setCharFont code duplication.
9466 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9468 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9469 LFUN_TABULAR_FEATURE (bug #177)
9471 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9473 * Makefile.am: remove figure.h
9475 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9477 * Bufferview_pimpl.C:
9489 * text2.C: remove #include "lyx_gui_misc.h".
9491 * LaTeX.C: added #include <cstdio>
9493 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9495 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9496 that the paragraph following this one can have.
9498 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9500 * vspace.C (asLatexCommand): fix bogus gcc warning
9502 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9504 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9506 * text2.C (setLayout): get rid of redundant code
9508 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9510 * text2.C (incDepth): make sure depth cannot be increased beyond
9513 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9515 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9516 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9518 * PainterBase.h (image):
9519 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9522 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9526 * BufferView_pimpl.C:
9527 * BufferView_pimpl.h:
9547 * sp_spell.C: remove fig inset, and the crap house of
9548 cards that follows it
9550 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9556 * nt_defines.h: move .h into support/
9558 * vms_defines.h: remove
9560 * WorkArea.C: add space in debug output
9564 * buffer.C: add WITH_WARNINGS
9568 * bufferlist.C: s/retrive/retrieve/, add docs
9579 * lyxgui.C: add ID to X error handler
9581 * lyxtestclass.c: fix typo
9583 2002-02-26 Juergen Vigna <jug@sad.it>
9585 * tabular_funcs.C (write_attribute): changed so that some default
9586 attributes are not written at all.
9587 (getTokenValue): set default values before trying to read the
9588 value so we have the return value always set as default if we don't
9589 find the token we search for.
9591 * tabular.C (Write): write bools as bools not as strings!
9593 2002-02-22 Juergen Vigna <jug@sad.it>
9595 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9596 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9598 * text.C (leftMargin): don't add an indent for paragraphs inside
9599 tabular cells (fix #208).
9601 2002-02-21 José Matos <jamatos@fep.up.pt>
9603 * tabular.C (docBook): fixed support for long tables.
9605 2002-02-20 Juergen Vigna <jug@sad.it>
9607 * text2.C (getFont): get the drawing font of the Inset if this
9608 paragraph is inside an inset (only important for InsetERT for now).
9610 * buffer.C (insertErtContents): use new lanugage params in ERT
9613 * CutAndPaste.C: commenting out seemingly uneeded code.
9615 2002-02-19 Allan Rae <rae@lyx.org>
9617 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9618 Iterators might be simple to use but they also get invalidated.
9619 (removeAutoInsets): renamed saved cursor tracking variables and added
9620 some comments to clarify what everything does.
9622 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9629 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9630 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9633 * vc-backend.h: remove #include "support/syscall.h"
9637 * converter.C: rearrange #includes in Lars' approved fashion.
9639 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9640 forward declare class Timeout in the header file.
9642 * XFormsView.C: changes due to the above.
9644 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9647 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9648 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9650 2002-02-18 José Matos <jamatos@fep.up.pt>
9652 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9655 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9657 * a lot of small ws changes
9658 * add a lot of using std::XXX
9659 * use std construcs some places where approp.
9660 * use some exisint stuff from lyxfunctional where approp.
9661 * Make file changes to use partial linking (lets test this now...)
9663 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9667 remove #include "support/syscontr.h" as it's redundant. Always has been.
9675 change Systemcalls::System to Systemcalls::Wait and
9676 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9677 No change of functionality, just reflects the stripped down Systemcalls
9680 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9682 * debug.[Ch]: add a GRAPHICS type to the enum.
9684 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9686 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9688 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9691 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9693 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9694 match the changes below.
9696 * text2.C (toggleInset): if there is not editable inset at cursor
9697 position, try to see if cursor is _inside_ a collapsable inset
9700 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9702 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9703 document menu has a nice checkbox
9705 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9707 * lyxlength.C (asLatexString): change PW to output as percent of
9710 * lengthcommon.C: change '%' to 't%'
9712 * lyxfunc.C (dispatch): a few comments from Martin
9714 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9718 * BufferView_pimpl.h:
9719 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9722 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9724 * vspace.C (inPixels): fix compiler warning
9726 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9728 * lyxfunc.C (getStatus): fix status message for disabled commands.
9730 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9732 * BufferView_pimpl.C: fix crash on close buffer
9733 during selection (#227)
9735 2002-01-27 Herbert Voss <voss@lyx.org>
9737 * buffer.C: link old Figure to new graphic inset
9739 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9741 * FontLoader.C (getFontinfo): Change the latex font names in order
9742 to match the names of type1inst.
9744 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9746 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9748 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9751 (remove_files_with_extension): ditto
9752 (remove_file): ditto
9755 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9756 document is smaller than the work area height. Do not initialize
9757 static variables to 0.
9759 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9761 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9763 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9764 LFUN_LAYOUT_PARAGRAPHS.
9766 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9767 tabular. It is possible to provide a possible cell, which will
9768 typically be the actcell from the corresponding insettabular
9770 * lyxfunc.C (getStatus): small cleanup; disable
9771 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9774 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9776 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9778 * paragraph.C (startTeXParParams):
9779 (endTeXParParams): new methods. The LaTeX code to
9780 start/end paragraph formatting
9781 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9782 empty (fixes bug #200)
9784 * vspace.C (inPixels): adapt to the change below
9785 (inPixels): [later] more cleanups (remove unused variables)
9787 * lyxlength.C (inPixels): change to use a width and a height as
9790 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9792 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9793 Replaced with \paperwidth
9795 * DepTable.C (insert): add std:: qualifier
9797 2002-01-18 Allan Rae <rae@lyx.org>
9799 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9802 * text.C (drawInset): Turned out I didn't know enough about how
9803 rebreaking worked. This fixes most of the redraw problems. I see
9804 an occasional cursor trail when a line is broken now and the cursor
9805 placement can seem out by a few pixels also after a rebreak.
9807 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9809 * buffer.C (parseSingleLyXformat2Token): update because minipage
9810 width is now a LyXLength
9812 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9814 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9817 2002-01-17 Juergen Vigna <jug@sad.it>
9819 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9821 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9822 is set correctly and the inset is updated correctly.
9824 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9826 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9827 the beginning of the loop.
9829 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9831 * lyxrc.C: improve help for use_scalable_fonts
9833 2002-01-17 Allan Rae <rae@lyx.org>
9835 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9837 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9839 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9840 make sure to set their inset_owner to the right value (bug #171)
9842 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9845 * DepTable.C: Implement mtime checking to reduce time spent doing
9848 2002-01-16 Juergen Vigna <jug@sad.it>
9850 * tabular.C (GetAdditionalHeight): one of error fixed.
9852 * lyxrc.C (output): small fix in writing use_pspell.
9854 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9856 * sp_base.h: #include LString.h
9858 2002-01-16 Allan Rae <rae@lyx.org>
9860 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9861 Can someone check this please?
9863 * text.C (drawInset): It was possible that p.row would be removed by
9864 breakAgainOneRow upsetting a few other settings. There may be another
9865 small tweak possible by setting need_break_row = 0 when p.row has been
9866 removed but I don't know enough about the logic here.
9868 2002-01-15 Allan Rae <rae@lyx.org>
9870 * text.C (insertChar): removed conditional truism.
9872 * BufferView2.C (removeAutoInsets): More tweaks.
9873 cur_par_prev could be a stray pointer. Check for trailing empty line
9874 in case last line was cur_par and only had an error inset on it.
9876 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9878 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9881 * vc-backend.C (most methods):
9882 * exporter.C (Export):
9883 * converter.C (convert):
9885 * LyXSendto.C (SendtoApplyCB):
9886 * lyxfunc.C (dispatch):
9890 * lyx_cb.C (AutoSave):
9892 * BufferView_pimpl.C (MenuInsertLyXFile):
9893 * buffer.C (runChktex): use Buffer::filePath().
9895 * buffer.h: rename filename to filename_; rename filepath to
9896 filepath_ and make it private
9897 (filePath): new method
9899 * buffer.C (writeFile): use fileName()
9902 * lyx_main.C (init): fix starting of LyX when the binary is a
9903 link from so,ewhere else.
9905 * minibuffer.C: include <cctype> for isprint
9907 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9909 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9910 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9911 name clash with InsetCollapsable's width function.
9913 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9915 * lastfiles.C: include <iterator>
9917 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9919 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9922 * buffer.C (makeLaTeXFile): ditto.
9923 Also make loop operation more transparent.
9925 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9927 * ToolbarDefaults.C: remove trailing comma closing namespace.
9929 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9931 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9934 * trans.C (Load): comment out unused variable, allowed.
9936 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9938 * minibuffer.[Ch] (append_char): new method to recieve input from the
9939 drop-down completion browser. If a key was pressed, then recieve this
9940 char and append it to the existing string.
9941 (peek_event): modify the positioning data passed to the completion
9942 browser so that it can be placed above the minibuffer rather than below.
9943 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9945 * LyXAction.C (init): alloe error-next for readonly documents.
9947 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9950 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9952 * bufferlist.C (readFile): create the buffer _after_ checking that
9955 * lyxfunc.C (verboseDispatch): fix handling of arguments
9957 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9959 * lyxrc.C: use string::erase() instead of initializing to "".
9962 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9964 * BufferView_pimpl.h:
9965 * BufferView_pimpl.C:
9968 * text2.C: tell X when we have made a selection for copying
9970 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9972 * BufferView_pimpl.C (MenuInsertLyXFile):
9973 * lyxfunc.C (menuNew):
9975 (doImport): add shortcuts to directory buttons
9977 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9980 * lyxfunc.C (setStatusMessage):
9981 (getStatusMessage): new methods
9982 (getStatus):use setStatusMessage instead of setErrorMessage
9983 (dispatch): when function is disabled, set error message here
9984 [instead of in getStatus previously]
9986 * BufferView_pimpl.C (workAreaButtonRelease): update
9987 toolbar/menubar here too.
9989 2002-01-13 Allan Rae <rae@lyx.org>
9991 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9992 Now seems indestructible. Remaining task is to audit all other
9993 code affected by deleteEmptyParagraphMechanism. One small quirk
9994 left is that an empty document with an error in the preamble can
9995 be made to report an error but no error box appears. I don't know
9997 (removeAutoInsets): Improved comments.
9999 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10002 * Thesaurus.C: update for Aiksaurus 0.14
10004 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10006 * text2.C (firstParagraph): removed member function, all uses
10007 replaces with ownerParagraph
10008 (redoParagraphs): here
10009 (updateInset): here
10010 (toggleAppendix): here
10011 * BufferView2.C (insertErrors): here
10012 (setCursorFromRow): here
10014 2002-01-13 Allan Rae <rae@lyx.org>
10016 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10017 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10018 There is still a way to segfault this although you may have to do this
10019 multiple times: Have an InsetERT with an unknown command in it.
10020 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10021 <down-arrow>, <Enter> again, View->DVI, BANG!
10023 * text2.C (setCursor):
10024 (deleteEmptyParagraphMechanism):
10025 * lyxtext.h (setCursor):
10026 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10027 Making use of the return value may help fix other bugs.
10029 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10031 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10033 * LyXView.C (updateMenubar): call MenuBar::update here
10034 (updateToolbar): but not here
10035 (showState): do not update toolbar/menubar
10037 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10038 should need to care about that.
10040 * lyxfunc.C (verboseDispatch): simplify a bit
10041 (getStatus): have a version which takes a pseudoaction, and
10042 another which requires a (kb_action,string).
10044 * LyXAction.C (retrieveActionArg): make it work also when action
10045 is not a pseudo-action.
10046 (getActionName): simplify a bit
10049 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10051 * lyxfunc.C (verboseDispatch): new families of methods with
10052 several ways to specify a command and a bool to indicate whether
10053 the command name and shortcut should be displayed in minibuffer
10054 (eventually, we could extend that to a finer bitmask like
10055 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10056 (dispatch): the pristine dispatch command which just, well,
10057 dispatchs! Note it still sets its result to minibuffer; I'm not
10060 * lyxfunc.h: remove setHintMessage
10062 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10064 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10066 * BufferView_pimpl.C (specialChar): delete new inset if we have
10067 not been able to insert it.
10069 * kbmap.C: revert to using int instead of kb_action, since all we
10070 are dealing with is pseudo-actions.
10072 * LyXAction.C (searchActionArg): change to return int instead of
10073 kb_action, since the result is a pseudoaction.
10075 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10077 * buffer.C (insertErtContents): Fix (partially) the font bug.
10079 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10081 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10082 as the other one is broken on my machine!
10084 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10087 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10089 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10091 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10092 reflect their actual use. Provide compatibility code for older lyxrc
10095 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10097 change names of popup font variables in line with the changes to lyxrc.C
10099 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10101 * buffer.C (asciiParagraph): avoid outputing a word twice after
10104 * lyxrc.C (getDescription): document that document_path and
10105 template_path can be empty.
10107 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10109 * LaTeXFeatures.C (getMacros):
10110 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10112 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10114 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10116 (getPackages): rename feature "floats" to "float". Use an array to
10117 iterate over 'simple' features (i.e. just a \usepackage). Add
10118 handling of "amsmath" (renamed from "amsstyle").
10120 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10122 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10125 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10127 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10128 FuncStaus::FuncStatus & FuncStaus::some_method().
10130 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10132 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10133 of the func_satus stuff. Edited and massaged in various ways by
10136 * lyxfunc.C (getStatus): use FuncStatus
10138 2002-01-08 Juergen Vigna <jug@sad.it>
10140 * text.C (nextBreakPoint): use function Inset::isChar().
10142 * paragraph.C (TeXOnePar): use function
10143 Inset::forceDefaultParagraphs.
10145 * buffer.C (latexParagraphs): use function
10146 Inset::forceDefaultParagraphs.
10148 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10150 * lyx_gui.C (init): set the style of the menu popups to
10151 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10153 2002-01-07 Juergen Vigna <jug@sad.it>
10155 * text.C (setHeightOfRow): small fix
10156 (prepareToPrint): don't look at alignment if we don't have the place
10159 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10161 * box.C: New file. Move the Box methods and functions out of box.h,
10162 following Lars' suggestion.
10164 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10166 * box.h: #include "support/LOstream.h", needed for inlined function.
10169 * lyxtextclasslist.C: added some using std declarations.
10171 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10173 * box.h: make signed dimensions to allow insets wider than
10174 the screen (bug #162)
10176 * BufferView_pimpl.C: add some insetHit debug
10178 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10180 * vc-backend.C: add FIXME
10182 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10184 * lyxfunc.C (getStatus): enable code for showing math font status
10187 2002-01-07 Juergen Vigna <jug@sad.it>
10189 * text.C (nextBreakPoint): removed debug output not needed anymore.
10191 2002-01-06 Juergen Vigna <jug@sad.it>
10193 * text.C (nextBreakPoint): fixed up this function we had this bug
10194 since ever but now hopefully we break row better.
10195 (insertChar): we have to check if an inset is the next char as it
10196 could now happen that a large inset is causing a break.
10198 2002-01-05 Juergen Vigna <jug@sad.it>
10200 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10201 if it doesn't like to be drawed.
10203 2002-01-04 Juergen Vigna <jug@sad.it>
10205 * BufferView2.C (lockInset): forgot to set a cursor.
10207 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10209 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10211 * FormMathsPanel.C:
10214 * form_maths_panel.C:
10215 * form_maths_panel.h:
10216 * form_maths_panel.fd: implemented sub- and super- buttons in math
10219 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10220 (or ^ space) to be used as in TeX (req'd by André).
10222 * lyxfunc.C: Allow ^ and _ again to be used both as
10223 super/subscript (mathed) and as themselves (in text).
10225 2002-01-03 Allan Rae <rae@lyx.org>
10227 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10228 "LyX" or the filename of the current buffer if it has one. This is a
10229 modified form of John Levon's patch.
10231 * XFormsView.C (setWindowTitle): also set icon title.
10233 * LyXView.h (setWindowTitle): signature changed.
10234 * XFormsView.h (setWindowTitle): ditto.
10236 2002-01-02 Juergen Vigna <jug@sad.it>
10238 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10240 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10242 * screen.C (topCursorVisible): introduce a temp var for
10243 text->cursor.row(), handle the case where this row is null. (kindo
10246 * text2.C (setCursor): add a couple of asserts.
10248 * paragraph.h (inset_iterator): add -> operator
10250 * paragraph.[Ch] (autoDeleteInsets): remove member function
10252 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10253 cursor pos correctly and handle inset deletion by itself.
10254 (insertErrors): move iterator declaration out of for expression
10256 * lyxtextclass.C: add <algorithm>
10258 * Makefile.am: added the new files to sources, removed layout.C
10260 * layout.C: removed file
10262 * layout.h: remove LYX_DUMMY_LAYOUT
10264 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10268 * lyxtextclass.[Ch]:
10269 * lyxtextclasslist.[Ch]: new files
10271 * include order changes to a lot of files, also changes because of
10274 2001-12-27 Juergen Vigna <jug@sad.it>
10276 * buffer.C (asciiParagraph): more fixes.
10278 * tabular.C (ascii): make ascii export support export of only the
10279 data separated by a column-delimiter.
10280 (ascii): better support for ascii export.
10282 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10284 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10286 * tabular_funcs.C: use a "using std::getline" instead of the
10287 previous fix from Angus (necessary for cxx + lyxstring)
10289 2001-12-24 Juergen Vigna <jug@sad.it>
10291 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10293 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10294 problems. First check a minipage also if we have some ert-contents
10295 (not only on par->size(), second set the right depth of the paragraph
10296 on the relink to the root-paragraph-list!
10298 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10299 which then did not anymore update the main paragraphs on undo/redo!
10301 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10303 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10304 code. Support all font-changing funcs (even those which are not in
10305 menu currently). Support for reporting font settings in
10306 mathed (disabled until Andre provides a function on mathed's side).
10308 * func_status.h (toggle): small helper function to set toggle
10311 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10313 * tabular_funcs.C: getline -> std::getline
10315 2001-12-21 Juergen Vigna <jug@sad.it>
10317 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10318 accessed and could be 0 (I couldn't generate this but it seems
10321 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10323 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10324 * tabular_funcs.h: here and include iosfwd
10326 2001-12-20 Juergen Vigna <jug@sad.it>
10328 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10329 inside inset but undo_par was.
10331 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10333 * Thesaurus.C: always include <config.h> in sources.
10337 * box.h: do not include <config.h> in header files
10339 * text.C (paintLastRow): remove unused variable
10341 * text.C (transformChar):
10343 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10345 * Painter.C (text):
10346 * font.C (width): rewrite to use uppercase() instead of
10349 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10351 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10353 * lyxfind.C: clean up of find failure position change
10355 2001-12-20 Juergen Vigna <jug@sad.it>
10357 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10359 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10360 (TeXRow): added to LaTeX a single tabular row.
10361 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10362 (Latex): simplified and finally good LT-h/f support.
10363 (various_functions): just small adaptions for LT-h/f support.
10365 * tabular_funcs.[hC]: added and moved here all not classfunctions
10368 2001-12-19 Juergen Vigna <jug@sad.it>
10370 * tabular.[Ch]: better support for longtabular options (not finished
10373 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10375 * text.C (paintLastRow): use the label font instead of the font of
10376 the last character to compute the size of *_BOX. This makes more
10377 sense and avoids a crash with empty paragraphs.
10378 Use Painter::rectangle to draw EMPTY_BOX.
10380 2001-12-19 Juergen Vigna <jug@sad.it>
10382 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10383 the paragraphs if the replaced paragraph is not the first one!
10384 Tried to delete not used paragraphs but does not work yet so for
10385 now it's inside #ifdef's and by default off!
10387 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10389 * MenuBackend.C: include "lyx_main.h" instead of declaring
10390 lastfiles (actually was declared as LastFiles* instead of a
10393 2001-12-17 Juergen Vigna <jug@sad.it>
10395 * tabular.C (AppendColumn): applied John's fix
10397 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10401 * BufferView_pimpl.h:
10402 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10405 * box.h: new start of class for above
10407 * lyxfunc.C: ignore space-only minibuffer dispatches.
10408 Show the command name when it doesn't exist
10410 * minibuffer.C: don't add empty lines to the history
10412 * minibuffer.C: add a space on dropdown completion
10414 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10416 * text.C: fix line above/below drawing in insets
10418 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10420 * lyxlength.C (LyXLength): Initialize private variables.
10422 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10424 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10425 when inserting error insets.
10427 2001-12-13 Juergen Vigna <jug@sad.it>
10429 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10430 actually sometimes the before-paragraph.
10431 (setUndo): don't clear the redostack if we're not actually undoing!
10433 2001-12-06 Juergen Vigna <jug@sad.it>
10435 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10436 and fixed redoing of main paragraph, so we can use it now ;)
10438 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10440 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10442 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10445 2001-12-13 André Pönitz <poenitz@gmx.net>
10448 * undo_func.C: minor cleanup
10450 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10452 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10453 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10454 font in urw-fonts package which is marked as -urw-fontspecific and
10455 does not work (incidentally, changing the encoding in the
10456 fonts.dir of this package to -adobe-fontspecific fixes the
10459 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10460 is a crash when undoing first paragraph (Juergen, please take a
10461 look). THis does not mean the undo fix is wrong, just that it
10464 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10465 the (Paragraph*) version when needed instead of duplicating the
10468 * text.C (workWidth): use Inset::parOwner to find out where the
10469 inset has been inserted. This is a huge performance gain for large
10470 documents with lots of insets. If Inset::parOwner is not set, fall
10471 back on the brute force method
10473 * paragraph_pimpl.C (insertInset):
10474 * paragraph.C (Paragraph):
10475 (cutIntoMinibuffer): set parOwner of insets when
10476 inserting/removing them
10478 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10480 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10486 * mathed/formulabase.C:
10487 * mathed/math_cursor.[Ch]:
10488 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10491 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10493 * lyxlength.[Ch] (operator!=): new function
10495 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10497 * text.C (workWidth): use Inset::parOwner to find out where the
10498 inset has been inserted. This is a huge performance gain for large
10499 documents with lots of insets. If Inset::parOwner is not set, fall
10500 back on the brute force method
10502 * paragraph_pimpl.C (insertInset):
10503 * paragraph.C (Paragraph):
10504 (cutIntoMinibuffer): set parOwner of insets when
10505 inserting/removing them
10507 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10509 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10511 * tabular-old.C (getTokenValue):
10512 * tabular.C (getTokenValue):
10513 (write_attribute): new versions for LyXLength
10514 (everywhere): adjust the use of widths
10516 * tabular.h: change the type of widths from string to LyXLength
10518 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10520 * paragraph.C: fixed missing line number count when exporting
10521 Environments to LaTeX file
10523 * buffer.C: added informational message for checking line numbers.
10525 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10527 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10528 paragraph, do the 'double space' part, but not the 'empty
10531 * text.C (workWidth): small optimization
10532 (getLengthMarkerHeight): use minimal size for negative lengths.
10534 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10536 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10538 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10540 2001-12-11 André Pönitz <poenitz@gmx.net>
10543 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10545 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10547 * text2.C: keep selection on a setFont()
10549 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10551 * lyx_cb.C: another bv->text misuse, from insert label
10553 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10556 * kbsequence.C: re-instate nmodifier mask
10558 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10560 * lyx_main.h: make lyxGUI private.
10562 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10564 * lyxfind.C: place the cursor correctly on failed search
10566 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10568 * text.C (getLengthMarkerHeight): for small heights, the arrows
10569 are not always on top/bottom of the text
10570 (drawLengthMarker): smaller arrows; take the left margin in
10571 account; draw also vfills.
10573 (paintLastRow): remove special code for vfill and standard spaces,
10574 since everything is handled in drawLengthMarker now.
10576 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10578 * buffer.C (insertErtContents): try to handle font and language
10579 interaction a bit better.g
10581 * ColorHandler.C (updateColor): change the hash to cover the whole
10582 LColor enum, ws cleanup
10583 (getGCLinepars): ditto
10584 (getGCLinepars): only lookup in the linecache once.
10586 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10588 * iterators.C (operator++): Make the iterator more robust
10590 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10592 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10594 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10597 * text.C: better added space drawing
10599 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10602 * BufferView2.C: fix layout combo update on inset unlock
10604 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10606 * Makefile.am: don't compile unused files
10608 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10612 * LyXAction.C: remove old LFUN_LAYOUTNO
10614 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10616 * paragraph_pimpl.h:
10617 * paragraph_pimpl.C: isTextAt() doesn't need font param
10619 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10622 * lyxlex.C: little cleanup
10624 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10626 * BufferView_pimpl.C: fix insertAscii for insets
10628 2001-12-05 Juergen Vigna <jug@sad.it>
10630 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10631 set the right font on the "multi" paragraph paste!
10633 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10639 * lyxlength.C: remove out-commented code.
10641 * BufferView_pimpl:
10655 * vc-backend.C: change "while(" to "while ("
10657 * lyxlength.[Ch]: add zero function to check if length is zero or
10659 * lyxgluelength.C: use it
10661 2001-12-05 Allan Rae <rae@lyx.org>
10663 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10664 Works for 2.95.3, from what I understand of Garst's reports this should
10665 work for other g++ versions. We're screwed if the abs(int) definition
10666 changed between bugfix releases of gcc.
10668 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10670 * text.C: fix chapter label offset !
10672 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10675 * text.C: fix hfill at end of line, clean up
10677 2001-12-04 Juergen Vigna <jug@sad.it>
10679 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10680 that we force an update of the inset and it's owners if neccessary.
10682 2001-12-03 Juergen Vigna <jug@sad.it>
10684 * text.C (rowLast): simplified code
10686 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10688 * lyxfunc.C: fix show options on timeout
10690 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10692 * screen.C (topCursorVisible): scroll half a page when the cursor
10693 reached top of bottom of screen
10695 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10697 * minibuffer.C: deactivate on loss of focus
10699 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10701 * vspace.[Ch] (operator!=): add operator.
10703 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10705 * BufferView_pimpl.C: refuse to open an inset when
10706 there's a selection.
10708 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10710 * BufferView_pimpl.C: allow to click on RHS of full row insets
10712 2001-11-30 Juergen Vigna <jug@sad.it>
10714 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10715 insets for undo reasons.
10717 2001-11-28 André Pönitz <poenitz@gmx.net>
10719 * vspace.[Ch]: cosmetical changes
10721 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10731 * kbsequence.C: part re-write of old kb code
10734 * WorkArea.C: remove Lgb_bug_find_hack
10736 2001-11-30 José Matos <jamatos@fep.up.pt>
10738 * buffer.C (makeDocBookFile): add a comment to point a hack.
10739 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10740 Fixed a double write of labels.
10742 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10745 * LaTeX.h Fixed bug in LaTeX class where it would not
10746 re-run latex if no depfiles were changed, but the .dvi was removed.
10748 2001-11-28 André Pönitz <poenitz@gmx.net>
10750 * all the files from the change on 2001/11/26:
10751 use lyx::layout_type instead of LyXTextClass::size_type
10752 use lyx::textclass_type instead of LyXTextClassList::size_type
10754 2001-11-29 Juergen Vigna <jug@sad.it>
10756 * text.C: added support for paragraph::isFreeSpacing()
10758 * buffer.C: same as above
10760 * paragraph.h: inserted isFreeSpacing() function to enable
10761 FreeSpacing inside InsetERT.
10763 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10764 of the paragraph's in the cut/copy buffer to 0!
10766 * text2.C (removeRow): remove the assert as it can!
10768 * lyxtext.h: added helper function firstRow returning firstrow and
10769 made firstrow private again.
10771 * BufferView2.C (lockInset): don't relock if we're already locked!
10773 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10774 the only paragraph.
10775 (removeRow): added Assert::(firstrow)
10777 * debug.C: forgot to add INSETTEXT here.
10779 2001-11-28 Juergen Vigna <jug@sad.it>
10781 * sp_spell.C (initialize): changed error text to more general
10782 spellchecker command use (not only ispell!)
10784 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10786 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10788 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10790 * vspace.C: initialise lyxgluelength on failure
10792 2001-11-28 Allan Rae <rae@lyx.org>
10794 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10795 declaration & definition that looks like a function declaration.
10797 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10799 * BufferView2.C (copy):
10800 (copyEnvironment): do not clear the selection when doing a copy.
10802 * text.C (paintFirstRow): compilation fix
10804 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10806 * tabular.C (Latex): correct line count when writing latex.
10808 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10810 * paragraph_pimpl.h:
10811 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10814 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10818 * LColor.C: change vfillline->added_space
10820 * text.C: add markers and text for added space
10822 * vspace.C: fix comment
10824 2001-11-28 André Pönitz <poenitz@gmx.net>
10826 * paragraph.C: whitespace changes
10827 * all the other files from the change on 2001/11/26:
10828 change *::pos_type into lyx::pos_type
10830 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10832 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10833 language of the document when inserting error insets.
10835 2001-11-26 André Pönitz <poenitz@gmx.net>
10837 * BufferView_pimpl.[Ch]:
10845 * paragraph_pimpl.[Ch]:
10848 * text2.C: reduce header dependencies, introduce type for positions
10850 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10852 * <various>: change to use Alert.h
10854 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10856 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10857 when encountering an unknown token.
10858 (readLyXformat2): Show an error message if there were unknown tokens.
10860 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10863 * BufferView_pimpl.C:
10867 * text2.C: use par->isInset()
10869 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10871 * paragraph_pimpl.h:
10872 * paragraph_pimpl.C: cleanup
10874 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10876 * text2.C (removeRow):
10877 * text.C (setHeightOfRow): remove useless (and costly) call to
10880 2001-11-20 Allan Rae <rae@lyx.org>
10882 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10883 Now need Inset*::checkInsertChar() to return true for appropriate
10884 cases so that the characters in the minibuffer will actually be
10887 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10889 * text.C: change the order of the includes.
10890 (workWidth): initialize it at once.
10891 (workWidth): make maxw unsigned
10892 (setHeightOfRow): remove unused variable (inset)
10893 (selectSelectedWord): remove unused variable (inset)
10894 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10896 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10898 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10899 server is not running.
10901 (closeConnection): add debug info when server is disabled.
10903 * ColorHandler.C (getGCForeground): send debug message to GUI
10906 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10908 * kbmap.C (bind): modify because return conventions of
10909 kb_sequence::parse have changed.
10911 * kbsequence.C (parse): only ignore spaces and not any stupid
10912 control character. This avoids tests like s[i] <= ' ', which are
10913 guaranteed to fail with 8bit characters and signed chars.
10914 Change return code to string::npos when there have been no error
10915 (0 was a bad idea when error is at first character)
10917 2001-11-14 José Matos <jamatos@fep.up.pt>
10920 * buffer.C (simpleDocBookOnePar): removed unused argument.
10922 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10924 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10925 insets which are part of a word. Paragraph::isLetter takes care of
10926 that now. Use Paragraph::isInset to identify insets.
10927 (selectSelectedWord): do not test for hyphenation break.
10929 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10930 that protected spaces are considered as spaces.
10932 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10935 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10938 * lyxserver.C: fix it. and small cleanup.
10940 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10942 * BufferView_pimpl.C: use inline helpers
10945 * LaTeXFeatures.C: fix typos
10948 * Spacing.C: move spacing_string into class
10950 * ToolbarDefaults.C: move stuff into namespace anon
10952 * layout.h: update enum
10954 * lyxfunc.C: use better debug
10956 * minibuffer.h: fix typo
10960 * WorkArea.C: add and use Debug::WORKAREA
10964 * text2.C: code re-organisation, inline helpers
10966 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10968 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10969 std::vector.empty().
10971 2001-11-09 Allan Rae <rae@lyx.org>
10973 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10974 '\n's after tables. Tabular and ERT inset work now makes this no
10977 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10980 * minibuffer.C: fix crash, improve drop-down completion
10982 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10985 * lyxserver.C: invalidate fd's when doing endPipe()
10987 2001-11-08 José Matos <jamatos@fep.up.pt>
10989 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10990 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10993 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10995 2001-11-07 José Matos <jamatos@fep.up.pt>
10998 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11001 * buffer.C (sgmlOpenTag):
11002 * buffer.C (sgmlCloseTag): removed debug info.
11004 * buffer.h (sgmlOpenTag):
11005 * buffer.h (sgmlCloseTag): made public.
11007 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11009 * buffer.C (saveParamsAsDefaults):
11010 * lyx_cb.C (MenuLayoutSave): remove
11012 * LyXAction.C (init):
11014 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11016 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11018 * buffer.C (setPaperStuff): removed from here...
11020 * bufferparams.C (setPaperStuff): ... and moved there.
11022 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11026 * XFormsView.C: add support for drop-down completion
11028 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11030 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11033 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11035 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11038 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11040 * lyx_main.C: change ref to known bugs
11042 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11044 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11045 to work around older babel problems.
11047 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11049 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11051 2001-10-24 Juergen Vigna <jug@sad.it>
11053 * tabular-old.C (ReadOld): below variable changes reflected.
11055 * tabular.[Ch]: added ltType struct for longtable header/footer
11056 defines and changed all instances where they are used. Added
11057 future support for double top/bottom rows.
11059 2001-10-24 José Matos <jamatos@fep.up.pt>
11061 * buffer.h (docbookHandleCaption):
11062 * buffer.C (docbookHandleCaption): removed unused function.
11063 (makeDocBookFile): moved docbook supported version to v4.1.
11065 2001-10-24 José Matos <jamatos@fep.up.pt>
11068 * tabular.C (docbookRow): new function to export docbook code of a row.
11069 (DocBook): now honors the longtable flags.
11071 2001-10-23 José Matos <jamatos@fep.up.pt>
11074 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11075 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11077 * buffer.C (makeLinuxDocFile):
11078 (makeDocBookFile): reworked the preamble, more clean, and with
11079 support for lyx defined entities. Changed the document declaration
11080 to be more XML friendly.
11082 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11083 if we need to output XML that should be done with a filter.
11085 2001-10-22 Juergen Vigna <jug@sad.it>
11087 * sp_pspell.h (class PSpell): add alive function needed in the
11088 controller to see if the spellchecker could be started.
11090 2001-10-22 Juergen Vigna <jug@sad.it>
11092 * buffer.C (insertStringAsLines): modify the font for inserting
11093 chars in certain conditions by calling checkInsertChar(font).
11095 2001-10-19 Juergen Vigna <jug@sad.it>
11097 * text.C (workWidth): use getRow instead of wrong algorithm.
11098 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11100 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11105 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11107 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11109 * text.C (workWidth): do not search for the exact row when
11110 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11111 optimization for big documents.
11113 2001-10-18 Juergen Vigna <jug@sad.it>
11115 * text.C (workWidth): new function with added Inset * parameter.
11117 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11119 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11121 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11122 change return type of getColumnNearX.
11125 * text.C (changeRegionCase): use uppercase/lowercase instead of
11128 (rightMargin): simplify code by factoring out the uses of
11133 (appendParagraph): use Paragraph::size_type
11135 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11137 * vspace.C (asLatexString): add a missing break
11139 2001-10-15 Herbert Voss <voss@perce.de>
11141 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11143 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11145 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11148 2001-10-10 André Pönitz <poenitz@gmx.net>
11150 * lyxfunc.C: removed greek_kb_flag.
11152 2001-10-10 Herbert Voss <voss@perce.de>
11154 * lyx_main.C: delete global string help_lyxdir.
11156 2001-10-09 Herbert Voss <voss@perce.de>
11158 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11160 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11162 * lyx_main.C: added global string help_lyxdir.
11164 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11166 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11168 * lyxrc.C (set_font_norm_type): support iso8859-4
11170 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11172 * LaTeX.C (deplog): add another regex for MikTeX
11174 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11176 * lyxrc.C (set_font_norm_type): support iso8859-3
11178 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11180 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11182 * LaTeXFeatures.C: remove special case of french and index
11184 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11185 before \begin{document}). This solves several incompatibilities.
11187 2001-10-03 Garst Reese <reese@isn.net>
11189 * lyx_cb.C: change CheckTex error msg.
11191 2001-10-03 José Matos <jamatos@fep.up.pt>
11193 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11195 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11197 * .cvsignore: update
11199 * lyx_main.C (commandLineVersionInfo): use new style version info.
11201 * buffer.C (writeFile):
11203 (makeLinuxDocFile):
11204 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11206 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11208 * version.h: update to use stuff in version.C
11210 * version.C.in: new file. Contains version information determined
11211 at compile time. This is a merging of version.h and
11214 2001-10-03 Juergen Vigna <jug@sad.it>
11216 * BufferView_pimpl.C (update): don't change "dirty" status in
11219 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11221 * WorkArea.C (c-tor): re-position version string slightly.
11223 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11225 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11226 revert to previous code.
11228 WorkArea.[Ch]: (show, destroySplash): methods removed.
11230 WorkArea.C: rework code so that it's an amalgam of the codes before and
11231 after the splash screen was moved to WorkArea.
11233 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11236 * vspace.C (inPixels):
11239 * buffer.C (insertStringAsLines):
11240 (asciiParagraph): fix types to be large enough
11242 * lyxlex_pimpl.h: change member status from short to int
11244 * layout.h: fix type of endlabeltype
11247 * kbsequence.C (parse): change return type to string::size_type
11249 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11252 * Bullet.C (bulletSize):
11253 (bulletEntry): do not use short ints as parameters
11255 * BufferView2.C (insertLyXFile): change a char to an int.
11257 * WorkArea.C (WorkArea): remove unneeded floats in computation
11259 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11261 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11263 * paragraph.C (asString): Do not ignore newline/hfill chars when
11264 copying to the clipboard.
11266 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11268 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11269 after a multi-line inset.
11271 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11273 * paragraph.C (validate): Set NeedLyXFootnoteCode
11275 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11277 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11278 and decrease-error to decrease.
11280 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11282 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11283 it more readable (should be equivalent)
11285 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11287 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11289 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11291 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11292 of a cursor (row, etc.) after a character has been deleted
11293 (deleteEmptyParagraphMechanism): call the method above on _all_
11294 cursors held by the LyXText when a double space has been
11297 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11299 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11301 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11303 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11304 background. Use greyOut() and the new show() methods to toggle between
11305 the foreground and background. Add code to remove the splash after
11306 its initial showing.
11308 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11309 (create_forms): no longer call Dialogs::showSplash.
11311 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11313 * .cvsignore: add version_info.h
11315 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11317 * version_info.h.in: new file
11319 * Makefile.am: add version_info.h.in
11321 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11322 version_info.h instead of VERSION_INFO
11324 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11326 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11327 The ERT inset now returns string().
11329 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11331 * lyxtext.h, text.C (selectNextWord): renamed as
11332 selectNextWordToSpellcheck.
11334 * text.C (selectNextWordToSpellcheck): Modified to not select
11335 words inside an ERT inset.
11337 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11339 * lyx_cb.C (MenuLayoutSave): change a bit the question
11341 * sp_base.h: include <sys/types.h>
11343 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11345 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11347 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11349 * several files: fix typos in user-visible strings
11351 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11353 * text2.C (pasteSelection): do not set the selection, since it
11354 will be cleared later. Actually, the intent was to fix the way the
11355 selection was set, but I figured rmoving the code was just as good.
11357 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11359 * FontLoader.C (available): Check if font is available without
11362 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11364 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11366 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11368 * lyxrc.[Ch]: added display_graphics variable and associated code.
11370 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11372 * bufferparams.C (hasClassDefaults): new method. Returns true if
11373 the buffer parameters correspond to known class defaults
11375 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11377 * XFormsView.C (show): set minimum size to the main window.
11379 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11381 * text2.C (copySelection):
11383 * lyxfind.C (LyXReplace):
11384 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11385 LyXText::selectionAsString.
11387 * paragraph.C (asString): add "label" argument to the second form
11389 * text2.C (selectionAsString): add "label" argument and pass it to
11390 Paragraph::asString.
11392 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11394 * lyx_main.C (commandLineHelp): remove version information
11396 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11398 * lyx_main.C: add -version commandline option
11400 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11402 * paragraph.h: make the optional constructor arg required instead.
11403 some modifications to other files because of this.
11405 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11407 * lyxserver.C (C_LyXComm_callback): make it static
11409 * lyx_main.C (error_handler): make it static
11411 * lyx_gui.C (LyX_XErrHandler): make it static
11413 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11415 * WorkArea.C: make the extern "C" methods static.
11417 * Makefile.am (lyx_LDADD): simplify
11419 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11421 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11422 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11424 * LyXAction.C (init):
11425 * lyxfunc.C (dispatch): associated code removal.
11427 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11429 * lyxfont.h (isSymbolFont): shut off warning
11431 * text.C (setHeightOfRow):
11432 (getVisibleRow): fix crash with empty paragraphs which have a
11435 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11437 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11440 2001-09-04 José Matos <jamatos@fep.up.pt>
11443 * tabular.C (docbook): rename docBook method to docbook.
11445 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11447 * Makefile.am: add dependencies to main.o.
11449 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11451 * FontLoader.C (available): Return false if !lyxrc.use_gui
11453 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11455 * FontInfo.C (query):
11456 * converter.C (view):
11457 * importer.C (Import):
11458 * exporter.C (Export): Can not -> cannot.
11460 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11462 * BufferView_pimpl.C: allow to create index inset even if
11465 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11467 * buffer.C (getLists): replace boost::tie code with an explicit pair
11468 as boost::tie can break some compilers.
11470 * iterators.h: Added a std:: declaration to the return type of
11473 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11475 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11478 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11480 * iterators.[Ch]: New files. Provide paragraph iterators.
11482 * buffer.C (changeLanguage): Use paragraph iterators.
11483 (isMultiLingual): ditto
11485 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11487 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11489 * FontLoader.C: Support for cmr font.
11491 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11493 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11494 (available): New method.
11496 * FontInfo.C (getFontname): Use scalable fonts even when
11497 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11500 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11502 * converter.C (Formats::view): reverted! Incorrect fix.
11504 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11506 * converter.C (Formats::view): only output the -paper option
11507 if the dvi viewer is xdvi, thereby fixing bug #233429.
11509 2001-08-23 Herbert Voss <voss@perce>
11511 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11513 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11515 * Spacing.h (Spacing): Set space to Default on in the default
11518 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11520 * vc-backend.h (RCS::versionString): add RCS to version
11521 (CVS::versionString): add CVS to version
11523 * vc-backend.C (scanMaster): do not add CVS to version.
11524 (scanMaster): do not add RCS to version
11526 * lyxvc.C (versionString): new method
11528 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11530 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11532 * Spacing.C (set): initialize fval
11534 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11536 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11539 2001-08-16 Juergen Vigna <jug@sad.it>
11541 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11543 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11545 * BufferView_pimpl.C:
11548 * text2.C: setParagraph takes linespacing now
11550 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11552 * LyxAction.C: add internal LFUN_CITATION_INSERT
11554 * LyXView.C: actually apply fix
11556 * bufferlist.C: fix open non-existent file
11558 * lyxfind.C: fix indentation
11560 * lyxfunc.C: remove unneeded assert, fix typo
11562 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11564 * MenuBackend.C: use "Floatname List"
11566 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11568 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11569 when converting LaTeX layout to insetERT.
11570 Generate a non-collapsed float when reading old float
11572 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11574 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11577 2001-08-13 Juergen Vigna <jug@sad.it>
11579 * text.C (fill): return 0 instead of 20 as this seems to be the more
11582 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11584 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11587 2001-08-13 Juergen Vigna <jug@sad.it>
11589 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11591 (SearchBackward): comment out the unlocking of the inset_owner this
11592 should not be needed!
11594 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11596 * Many files: Remove inherit_language, and add latex_language
11598 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11599 collapsible insets.
11601 2001-08-10 Juergen Vigna <jug@sad.it>
11603 * text.C (prepareToPrint): fixed hfill-width in draw!
11605 * BufferView2.C (selectLastWord): save the selection cursor as this
11606 now is cleared in the function LyXText::clearSelection!
11608 2001-08-08 Juergen Vigna <jug@sad.it>
11610 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11611 BACKSPACE type functions.
11613 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11614 is only cutted from the document but not put in the cut-buffer, where
11615 still the old stuff should be.
11617 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11619 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11621 * tabular.C (SetWidthOfCell): fixed special case where the width
11623 (LeftLine): handle '|' in align_special.
11625 (LeftAlreadyDrawed): ditto
11626 (SetWidthOfCell): ditto
11628 2001-08-07 Juergen Vigna <jug@sad.it>
11630 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11632 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11634 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11635 * lyxlex.[hC]: ditto
11637 2001-08-06 Juergen Vigna <jug@sad.it>
11639 * text.C (getVisibleRow): fix up row clearing a bit.
11641 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11643 * minibuffer.C: make sure the X server sees the changes in the input.
11645 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11647 * paragraph.C (getFont): split into...
11648 (getLabelFont): this
11649 (getLayoutFont): and this
11650 * paragraph_pimpl.C (realizeFont): calling this
11652 * text2.C (getFont): split into...
11653 (getLayoutFont): this
11654 (getLabelFont): and this
11655 (realizeFont): all three calling this
11657 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11660 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11662 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11664 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11666 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11667 layouts from the Quote inset insertion.
11669 2001-08-03 Juergen Vigna <jug@sad.it>
11671 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11673 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11674 only if status not is already CHANGED_IN_DRAW (second level).
11676 * text.C (draw): don't set the need_break_row when inside an
11679 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11681 * buffer.C (parseSingleLyXformat2Token): handle more latex
11684 * bufferview_funcs.[hC]: change function names to
11685 begin with small char, adjust other files.
11687 2001-08-02 André Pönitz <poenitz@gmx.net>
11690 BufferView_pimpl.C: remove broken special code for math-greek
11692 2001-08-02 Juergen Vigna <jug@sad.it>
11694 * BufferView_pimpl.C (update): redone this function so that we
11695 update the text again if there was a CHANGE_IN_DRAW.
11697 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11698 (drawFromTo): added a new internal bool which is used by draw() and
11700 (general): some cursor drawing problems fixed.
11702 2001-08-01 Juergen Vigna <jug@sad.it>
11704 * lyxfind.C (LyXFind): fixed
11705 (SearchForward): ditto
11706 (SearchBackward): ditto
11708 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11709 spurius drawing of the cursor in the main area.
11711 * text2.C (status): small fix which could lead to a segfault!
11712 (clearSelection): remove unneeded BufferView param.
11714 2001-08-01 André Pönitz <poenitz@gmx.net>
11716 * lyxfunc.C: small change due to changed mathed interface
11718 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11720 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11722 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11724 * lyxfunc.c: fail gracefully if file doesn't exist
11729 * BufferView_pimpl.C: IsDirWriteable() proto changed
11731 * LyXView.C: fix updateWindowTitle() to store the last title
11733 2001-07-31 Juergen Vigna <jug@sad.it>
11735 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11736 the font (wrong since using of Paragraph::highestFontInRange).
11738 * paragraph.C (highestFontInRange): added a default_size parameter.
11740 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11741 (setHeightOfRow): reformat
11743 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11745 * converter.[hC] + affected files: move to (inital-char)lowercase
11748 * ParagraphParameters.C (ParagraphParameters): remove commented code
11750 * PainterBase.[Ch]: remove commented code
11752 * LaTeXFeatures.h: add "bool floats" for float.sty
11754 * LaTeXFeatures.C (LaTeXFeatures): init floats
11755 (require): handle float
11756 (getPackages): do it with floats
11758 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11760 * BufferView_pimpl.C (Dispatch): improve handling of
11761 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11763 * commandtags.h: #include lyxfont.h here temporarily to avoid
11766 * bufferlist.h: include LString.h here.
11768 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11770 * text2.C (getStringToIndex): new method.
11772 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11774 * *: Reduced header file dependencies all over.
11776 2001-07-30 Baruch Even <baruch@lyx.org>
11778 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11780 2001-07-29 Baruch Even <baruch@lyx.org>
11782 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11784 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11786 * ParameterStruct.h (endif): add a default constructor to make
11787 sure that all variables is initialized.
11789 * ParagraphParameters.C (ParagraphParameters): adjust
11791 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11793 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11794 index; also, check that there is something to index, and that it
11795 does not span over several paragraphs.
11796 (doubleClick): use WHOLE_WORD_STRICT for double click.
11798 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11800 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11803 2001-07-26 Baruch Even <baruch@lyx.org>
11805 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11806 an InsetFig figure, backwards compatible reading of old figure code.
11808 2001-07-27 Juergen Vigna <jug@sad.it>
11810 * text2.C: font.realize function adaption.
11812 * text.C (draw): add a warnings lyxerr text if needed.
11814 * layout.C: font.realize function adaption.
11816 * language.C: add inherit_language and implement it's handlings
11818 * bufferview_funcs.C (StyleReset): remove language parameter from
11819 font creation (should be language_inherit now).
11821 * bufferparams.C (writeFile): handle ignore_language.
11823 * paragraph.C (getFontSettings): the language has to be resolved
11824 otherwise we have problems in LyXFont!
11826 * lyxfont.C (lyxWriteChanges): added document_language parameter
11827 (update): removed unneeded language parameter
11829 * paragraph.C (validate): fixed wrong output of color-package when
11830 using interface colors for certain fonts in certain environments,
11831 which should not seen as that on the final output.
11833 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11835 * BufferView_pimpl.C:
11840 * LyXAction.C: add thesaurus support
11843 * lyxfind.C: add "once" parameter, for thesaurus, to not
11844 move to the next match
11846 2001-07-26 Juergen Vigna <jug@sad.it>
11848 * lyxfont.C (realize): honor ignore_language too!
11851 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11853 * text.C (draw): one place more for ignore_language to not draw
11856 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11858 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11860 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11862 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11863 the minipage conversion problem.
11865 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11867 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11870 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11872 * BufferView.h: don't forward declare WorkArea
11874 * BufferView.C: don't include WorkArea.h
11876 2001-07-25 André Pönitz <poenitz@gmx.net>
11880 * lyxfunc.C: new LFUN 'math-space'
11882 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11884 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11886 * text2.C (toggleInset): call open/close
11888 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11890 * lyxfunc.C (dispatch): add debug for the disabled case
11892 * font.C (buttonText): make similar to rectText
11894 * buffer.C (readInset): comment out parsing of insetlist and
11897 * PainterBase.C (rectText): small correction
11899 * BufferView_pimpl.C: comment out insettheorem and insetlist
11900 * LyXAction.C: ditto
11901 * commandtags.h: ditto
11903 2001-07-24 Juergen Vigna <jug@sad.it>
11905 * text.C (draw): honor the ignore_language.
11907 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11909 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11911 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11914 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11916 * lyxtext.h: remove unused (and unimplemented) methods
11918 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11920 * text.C (getVisibleRow): honor background color
11923 * Painter.h: remove default color argument for fillRectangle
11925 * text.C (backgroundColor): new method
11927 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11929 * text.C (getVisibleRow): adjust
11931 * font.[Ch] (rectText): new method, metrics
11932 (buttonText): new method, metrics
11934 * PainterBase.[hC]: make rectText and buttonText always draw and take
11937 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11939 * ToolbarDefaults.C (read):
11940 * MenuBackend.C (read): allow escaping in all strings
11942 * BufferView_pimpl.C (insertAndEditInset): new method.
11943 (Dispatch): use insertAndEditInset whenever appropriate.
11945 * BufferView_pimpl.C (insertNote): removed
11947 * BufferView_pimpl.C (smartQuote): new method, moved from
11948 BufferView; if an insetquote cannot be inserted, insert a '"'
11951 * BufferView2.C: remove insertCorrectQuote();
11953 * lyxfunc.C (getStatus): Add support for all remaingin
11954 inset-insert lfuns.
11956 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11958 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11959 command (necessary to pass " as parameter of self-insert.
11961 * text.C (selectWordWhenUnderCursor):
11962 (selectWord): add word_location parameter
11963 (selectWordWhenUnderCursor): same + remove special code for word
11965 (selectNextWord): use kind() to guess type of insetspecialchar,
11968 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11969 (insertErtContents): create ert insets as collapsed.
11970 (readInset): better compatibility code for Info inset.
11972 2001-07-20 Juergen Vigna <jug@sad.it>
11974 * lyxfunc.C (dispatch): use always LyXFind now!
11976 * text2.C (init): add a reinit flag so that the LyXText can be
11977 reinited instead of deleted and reallocated (used in InsetText).
11979 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11985 2001-07-18 Juergen Vigna <jug@sad.it>
11987 * text.C (selectNextWord): handle insets inside inset by calling
11988 always the bv->text functions so that we can go up the_locking_inset!
11990 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11991 in strange locations when inside an inset!
11993 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11994 handling to include insets.
11996 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11998 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12000 * LyXAction.C (init):
12002 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12003 LIGATURE_BREAK, since the name is so stupid.
12005 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12007 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12010 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12012 * sp_form.[Ch]: remove.
12014 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12016 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12019 * src/buffer.C (readInset): ditto.
12021 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12023 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12024 menuSeparator(), endOfSentenceDot(), ldots() and
12025 hyphenationPoint(), which are therefore removed.
12026 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12028 * LyXAction.C (init):
12029 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12031 * paragraph.C (getWord): removed.
12033 * BufferView_pimpl.C (Dispatch): use last word or selection for
12034 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12036 * lyx_main.C (queryUserLyXDir): do not ask before creating
12037 user_dir, except if it has been named explicitely.
12039 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12041 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12042 a document of zero size.
12044 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12046 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12047 approriately in the c-tor and in require().
12048 (getPackages): output the appropriate LaTeX for natbib support.
12050 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12051 variables "use_natbib" and "use_numerical_citations" when reading the
12053 (readInset): read the various natbib cite commands.
12054 (validate): white-space change.
12056 * bufferparams.[Ch]: new variables "bool use_natbib" and
12057 "bool use_numerical_citations".
12058 (writeFile): output them in the LyX file.
12060 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12062 * lyxfunc.C (getStatus): add support for all the inset insertion
12065 * text2.C (insertInset):
12066 * paragraph.C (insetAllowed):
12067 * BufferView_pimpl.C (insertInset): update to take in account the
12068 renaming of insertInsetAllowed
12070 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12072 * text2.C (getInset): new method. returns inset at cursor position.
12074 * BufferView_pimpl.C (Dispatch): changes because of this.
12076 * LyXAction.C (init): rename open-stuff to inset-toggle.
12078 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12080 * text2.C (toggleInset): renamed from openStuff; use
12083 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12085 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12087 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12089 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12091 * buffer.C (readLyXformat2): Add filename to the error dialog
12093 2001-07-18 Juergen Vigna <jug@sad.it>
12095 * tabular.C (GetCellNumber): put an assert here instead of the check!
12097 2001-07-17 Juergen Vigna <jug@sad.it>
12099 * BufferView_pimpl.C (toggleSelection): adapted too.
12101 * text.C (selectNextWord): adapted for use with insets.
12102 (selectSelectedWord): ditto
12104 2001-07-17 Juergen Vigna <jug@sad.it>
12106 * sp_spell.C (PSpell): fix initialitation order.
12108 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12110 * paragraph.C: spacing
12112 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12114 * sp_spell.C: repair language selection for pspell
12116 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12118 * lyxfunc.h: change more methods to begin with lower char.
12120 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12122 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12123 for unknown layouts.
12125 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12127 * buffer.C (readLyXformat2): Generate an error dialog if there are
12130 2001-07-16 Juergen Vigna <jug@sad.it>
12132 * sp_spell.C: always compile ISpell part.
12134 * lyxrc.C: added use_pspell entry and it's handling.
12136 2001-07-13 Juergen Vigna <jug@sad.it>
12138 * sp_spell.C: removed double includes.
12140 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12142 Consistent use of Lsstream.h:
12143 * Lsstream.h: added using std::stringstream for consistencies sake.
12145 * buffer.C: removed using std::stringstream
12147 * lyxfont.C (stateText):
12148 * paragraph.C (asString):
12149 * text.C (selectNextWord, selectSelectedWord):
12150 * text2.C (setCounter):
12151 * vspace.C (asString, asLatexString):
12152 std::ostringstream -> ostringstream.
12154 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12156 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12157 * commandtags.h: add LFUN_HELP_ABOUTLYX
12158 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12160 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12162 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12164 * lyx_gui_misc.C: remove spellchecker
12165 * lyxfunc.C: showSpellchecker
12167 * sp_ispell.h: added
12168 * sp_pspell.h: added
12169 * sp_spell.C: added
12170 * sp_form.[Ch]: removed
12171 * spellchecker.[Ch]: removed
12173 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12175 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12177 (simpleTeXSpecialChars): Simply print the input character without
12178 any special translation if pass_thru is set.
12180 * layout.h: Added bool pass_thru to layout class for being able to
12181 implement pass through of a paragraph for Literate Programming.
12183 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12184 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12185 * layout.C (Read): add "passthru" to list of layout tags and add
12186 code to set the pass_thru boolean when it is read.
12188 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12190 * trans_decl.h: remove allowed from KmodInfo
12192 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12193 remove allowed code
12196 * paragraph_pimpl.C (erase): use boost::prior
12198 * Painter.C (text): use data() instead of c_str() when length is
12200 * WorkArea.C (putClipboard): ditto
12201 * font.h (width): ditto
12203 * BufferView2.C: use it-> instead of (*it). for iterators
12205 * paragraph_pimpl.C: ditto
12206 * paragraph.C: ditto
12207 * minibuffer.C: ditto
12208 * language.C: ditto
12210 * encoding.C: ditto
12211 * counters.C: ditto
12212 * converter.C: ditto
12214 * Variables.C: ditto
12215 * TextCache.C: ditto
12216 * MenuBackend.C: ditto
12217 * LyXAction.C: ditto
12219 * FloatList.C: ditto
12220 * DepTable.C: ditto
12221 * ColorHandler.C (LyXColorHandler): ditto
12223 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12225 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12227 * text2.C (openStuff): reintroduce this method (which had been
12228 nuked in NEW_INSETS frenzy).
12230 * lyxfunc.C (Dispatch): when an action has not been handled, use
12231 its name in the error message, not its number.
12233 * paragraph.C (inInset): change method name to begin with lowercase.
12236 * text2.C: updates because of this.
12238 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12240 * ToolbarDefaults.C (add): add spaces in error message
12242 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12244 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12245 (readLyXformat2): rename return_par to first_par, use lyxlex's
12246 pushToken and remove the manual push handling.
12247 (parseSingleLyXformat2Token): add another ert comp. variable:
12248 in_tabular, rename return_par to first_par. handle newlines better
12250 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12252 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12254 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12256 * text2.C (getParFromID): removed
12258 * buffer.C (getParFromID): new method moved form lyxtext.
12259 * BufferView2.C (insertErrors): adjust
12260 (setCursorFromRow): adjust
12261 * BufferView_pimpl.C (restorePosition): adjust
12262 * lyxfunc.C (Dispatch): adjust
12263 * undo_funcs.C (textUndo): adjust
12265 (textHandleUndo): adjust
12266 (textHandleUndo): adjust
12268 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12270 * buffer.C: up' the LYX_FORMAT
12272 * lyxfont.h: turn NO_LATEX on as default
12274 * buffer.C (insertErtContents): new methods of tex style compability.
12275 (parseSingleLyXformat2Token): use it several places.
12276 * tabular.C (OldFormatRead): and here
12278 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12280 * text2.C: remove some commented code.
12283 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12284 * trans.C: changes because of the above.
12286 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12288 * text2.C (setCounter): Fix counters bug with bibliography layout.
12290 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12292 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12293 own member functions
12294 (simpleTeXSpecialChars): ditto
12296 2001-07-06 Juergen Vigna <jug@sad.it>
12298 * a lot of files: changed the access to LyXText::status and the
12299 call of undo-functions.
12301 * undo.[Ch]: added a inset_id to the undo informations.
12303 * undo_funcs.[Ch]: added and moved here all undo functions.
12305 * lyxtext.h: give the status enum a weight, made status_ a private
12306 variable and made accessor functions for it, removed the whole bunch
12307 of undo-functions as they are now in their own file, make some
12308 functions publically available. Added function ownerParagraph with
12311 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12312 made InInset() a const function, added getParFromID() function.
12314 * buffer.[Ch]: added const version for inset_iterator functions,
12315 added getInsetFromID() function.
12317 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12318 changed undo functions for new version.
12320 2001-07-05 Juergen Vigna <jug@sad.it>
12322 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12323 unknow mechanism does not call the proper constructor but only this
12324 one also if I request the other!?
12326 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12328 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12330 * text2.C (LyXText): use initialization lists.
12332 * lyxtext.h (Selection): initialize set_ and mark_
12333 (init): remove method
12335 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12337 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12339 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12341 * screen.[Ch]: change method names to begin with lowercase
12343 * BufferView_pimpl.C (updateScrollbar): simplify further and
12344 hopefully make it a bit faster.
12346 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12348 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12349 calling directly xforms functions.
12351 * Painter.C (Painter):
12352 * lyx_cb.C (MenuWrite):
12353 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12356 * lyx_gui.C: remove bogus guiruntime extern declaration.
12358 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12360 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12362 (redoDrawingOfParagraph): ditto
12363 (redoParagraphs): ditto
12364 (cutSelection): don't create a object for CutAndPaste use the
12365 static method directly
12366 (pasteSelection): ditto
12368 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12371 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12373 * modifications to some other files because of this.
12375 * Makefile.am (lyx_SOURCES): add XFormsView
12377 * XFormsView.[Ch]: new files
12379 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12380 the main window. Move the gui dependent stuff to XFormsView
12382 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12384 * tabular.C (GetCellInset): update cur_cell also in the row/col
12385 version of this function.
12387 * lyxfunc.C: no need to include figure_form.h here.
12393 * lyxvc.C: no need to include forms.h here.
12395 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12397 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12399 * lyxfunc.C (Dispatch):
12401 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12402 constructor argument.
12404 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12406 * paragraph.C (Paragraph): dont't clear, and just set layout.
12407 (makeSameLayout): use params's copy contructor.
12409 * ParagraphParameters.[Ch] (makeSame): delete method
12411 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12413 * Variables.[Ch]: fix indentation, rename set to isSet
12415 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12417 * lyxfunc.C (Dispatch): fix typo
12419 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12421 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12424 * bufferlist.C: include assert.h for emergencyWrite().
12426 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12428 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12429 give up at last (bug #425202) !
12431 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12437 * spellchecker.C: strip spellchecker options and bring up
12438 preferences tab instead
12440 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12442 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12443 the istringstream constructor
12445 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12447 * paragraph.C (getLayout): fix return value
12449 * paragraph.h: do not declare getLayout as inline.
12451 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12453 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12455 * lyxcursor.h (operator<): new func
12456 (operator>): new func
12457 (operator>=): new func
12458 (operator<=): new func
12460 * text.C (changeCase): use selection.start and selection.end
12461 (changeRegionCase): require from to be <= to. Require par to be a
12464 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12466 2001-06-27 Juergen Vigna <jug@sad.it>
12468 * text.C (cursorLeftOneWord): changed to return the cursor and added
12469 overlay with BufferView * parameter which calls this one.
12471 (selectWord): use new getWord function.
12472 (changeCase): renamed from changeWordCase as and extended to work
12473 also on selections.
12475 * lyxtext.h: added enum word_location
12477 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12478 changeCase as this operates now also on selections.
12480 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12482 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12484 * many files: send debug output to Debug::INFO instead of
12487 * converter.C (View):
12489 (Move): send debug output to Debug::FILES instead of console.
12491 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12493 * lyxfunc.C (getStatus): use func_status
12495 * func_status.h: new header, describing the results of
12496 LyXFunc::getStatus;
12498 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12501 2001-06-25 The LyX Project <jug@sad.it>
12503 * buffer.C (sgmlOpenTag):
12505 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12507 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12509 * text2.C: remove some dead code
12511 * tabular.C (GetCellInset): store the last cell checked (gotten)
12513 * tabular.h: add the helper for the speedup
12515 * lyxtext.h: remove some dead code
12517 2001-06-26 The LyX Project <Asger>
12519 * paragraph.C: Change export to LaTeX of alignment to
12520 \begin{center} and family for better roundtrip work with reLyX.
12522 * Tune the math drawing a bit.
12524 2001-06-25 The LyX Project <Asger>
12526 * LColor.C (LColor): New color for math background. New color
12529 2001-06-25 The LyX Project <jug@sad.it>
12531 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12533 * lyxfunc.C (Open):
12534 * bufferlist.C (newFile): do not restrict to files ending with
12537 * BufferView_pimpl.C (MenuInsertLyXFile):
12539 2001-06-24 The LyX Project <jug@sad.it>
12541 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12544 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12546 * lyxtext.h: rename most methods to begin with a small char.
12547 Lots of changes because of this.
12549 * paragraph.C (Paragraph): do not call fitToSize
12550 (erase): call Pimpl::erase
12551 (insertChar): call Pimpl::insertChar
12552 (insertInset): call Pipl::insertInset
12553 (breakParagraph): do not call fitToSize
12554 (breakParagraphConservative): do not call fitToSize
12555 (fitToSize): remove method
12557 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12559 2001-06-24 The LyX Project <Asger>
12561 * Fix Qt compilation^2
12563 2001-06-24 The LyX Project <jug@sad.it>
12565 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12566 depthHook(getDepth()-1).
12569 * ParagraphParameters.h:
12570 * ParameterStruct.h: change type of depth to unsigned int ==
12571 depth_type. Many adaptations to other files before of that.
12573 2001-06-24 The LyX Project <Asger>
12575 * Fix Qt compilation.
12577 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12579 * paragraph.h: renamed several methods to begin with small letter.
12580 several changes to many parts of the code because of this.
12582 2001-06-23 The LyX Project <jug@sad.it>
12584 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12585 rewritten to discard all double spaces when KeepEmpty is off
12586 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12587 to only handle newlines but not fiddle with spaces and friends.
12589 * lyxfunc.C (MenuNew): when doing 'new from template', use
12590 template_path as default directory
12592 2001-06-23 The LyX Project <Asger>
12594 * Clean-up of header file includes all over
12595 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12597 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12599 * paragraph.h: renamed from lyxparagraph.h
12601 2001-06-23 Asger <lyx@violet.home.sad.it>
12603 * Buffer.h: Removed Buffer::resize
12604 * BufferList.h: Removed BufferList::resize
12605 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12606 the document lazily when we change the width, or the font settings.
12608 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12610 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12612 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12614 * buffer.h: remove out of date comment
12616 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12619 * screen.C: fix "theoretical" GC leak
12621 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12623 * LaTeX.C (scanAuxFile):
12624 (deplog): remove trailing \r when reading stream (useful under
12627 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12629 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12630 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12631 and BufferView::theLockingInset(Inset*), so should use them and not
12632 access bv_->text->the_locking_inset directly.
12634 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12636 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12639 * tex-defs.h: remove old unused file
12641 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12643 * BufferView_pimpl.C: fix typo, remove minibuffer message
12644 when buffer has loaded
12646 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12648 * lyxfunc.C (Dispatch): use stringstream
12649 (MenuNew): use stringstream
12650 (Open): use stringstream
12652 * importer.C (Import): use stringstream
12654 * bufferview_funcs.C (CurrentState): use stringstream
12656 * LaTeX.C (run): use stringstream
12658 * BufferView_pimpl.C (savePosition): use stringstream
12659 (restorePosition): use stringstream
12660 (MenuInsertLyXFile): use stringstream
12662 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12675 * vspace.C: removed // -*- C++ -*- as first line.
12678 * version.h: added // -*- C++ -*- as first line.
12680 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12682 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12684 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12687 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12689 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12692 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12694 * gettext.C: include LString.h even when --disable-nls is on.
12696 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12698 * converter.h (Get): changed argument type from int to
12699 FormatList::size_type to avoid unnecessary conversion.
12701 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12704 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12706 * gettext.h: include LString.h even when --disable-nls is on.
12708 2001-06-07 Juergen Vigna <jug@sad.it>
12710 * text.C (BreakAgain): subst spaces with tabs.
12712 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12713 (resizeInsetsLyXText): set force on resizeLyXText.
12715 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12717 * gettext.h (gettext_init):
12718 (locale_init): use a real definition instead of a macro
12720 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12722 * Bufferview_pimpl.C:
12724 * LColor.C: further lcolor tidies
12726 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12728 * BufferView_pimpl.C (updateScrollbar): simplify.
12730 * BufferView2.C: don't include insets/insetinfo.h, change
12731 prototype for insertInset and call the Pimpl version. let
12732 updateInset call Pimpl version.
12734 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12735 gotoInset to BufferView::Pimpl
12737 2001-06-01 Juergen Vigna <jug@sad.it>
12739 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12740 inside a LockingInset (is the update needed at all?).
12742 2001-05-31 Juergen Vigna <jug@sad.it>
12744 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12745 here not the old one otherwise how should we compare it afterwards
12748 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12753 * FontInfo.C: bring C functions into global namespace when
12756 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12758 * LString.h: make sure config.h has been loaded before LString.h.
12760 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12761 (one for each char read by EatLine!).
12763 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12766 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12768 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12769 to the same as the par we break from
12771 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12773 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12775 * MenuBackend.C (expand): also create menu entries for wide
12776 versions of the floats.
12778 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12780 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12782 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12783 frontends/Makefile.am
12789 * tabular.C (getTokenValue): add std::
12791 * tabular-old.C (getTokenValue): add std::
12792 (getTokenValue): ditto
12793 (getTokenValue): ditto
12795 * screen.C (ToggleSelection): adjust
12797 * lyxtext.h: put selection cursors inside a Selection struct.
12799 * lyxfunc.C (moveCursorUpdate): adjust
12801 * lyxfont.C (latexWriteStartChanges): add std::
12803 * lyxfind.C: adjust
12805 * font.h: delete with(char const *, LyXFont const &)
12807 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12809 * FontInfo.C (getFontname): add std::
12811 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12812 (workAreaButtonPress): adjust
12813 (tripleClick): adjust
12815 (moveCursorUpdate): adjust
12818 * BufferView2.C (gotoInset): adjust
12820 2001-05-30 Juergen Vigna <jug@sad.it>
12822 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12823 to check pspell I add this as default as I now have new pspell
12824 libraries and they seem to use this.
12826 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12828 * text2.C (CutSelection): make the cursor valid before the call to
12831 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12833 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12834 relied on 0 terminated strings and other horrors. Bug found due to
12835 the new assert in lyxstring!
12837 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12840 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12842 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12845 * lyxfunc.C (processKeySym): change method of getting to the
12848 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12849 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12850 * BufferView_pimpl.[Ch]: here as private methods.
12852 2001-05-28 Juergen Vigna <jug@sad.it>
12854 * text.C (SetHeightOfRow): added the update() call again as it is
12855 needed to initialize inset dimensions!
12857 2001-05-16 Juergen Vigna <jug@sad.it>
12859 * text2.C (SetCharFont): Add new function with BufferView * and
12860 bool toggleall parameters for setting insets internal fonts.
12861 (SetFont): Freeze the undo as we may change fonts in Insets and
12862 all this change should be inside only one Undo!
12864 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12865 setting font's in insets as for them we have the SetFont function!
12867 2001-05-15 Juergen Vigna <jug@sad.it>
12869 * text2.C (ClearSelection): to be sure we REALLY don't have any
12872 * tabular.C (TeXCellPreamble): fixed the left border problem for
12875 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12877 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12880 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12882 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12883 LFUN_BREAKPARAGRAPH.
12885 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12886 help test to "internal only", similar for LFUN_INSERT_URL
12888 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12889 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12890 auto_region_delete and deadkeys.
12892 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12895 * LColor.C: remove some dead entries, tidy a little
12897 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12899 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12901 (Dispatch): implement LFUN_ESCAPE
12903 * commandtags.h: add LFUN_ESCAPE
12905 * LyXAction.C (init): add entry for LFUN_ESCAPE
12907 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12908 Remove commented code.
12909 (insertNote): moved here
12910 (open_new_inset): moved here
12912 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12915 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12917 * kbmap.C (findbinding): clean it up and make it work correctly.
12919 * lyx_main.C (init): do not pass argc and argv as parameters
12921 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12923 * buffer.C: fix path for OS/2 & Win32
12927 * lyx_main.C: Added os:: class.
12929 * os2_defines.h: update
12931 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12933 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12934 better by trying again with reduced state.
12936 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12938 * lyxrc.C (read): print error about invalid key sequence only when
12939 debugging (because not all latinX keysyms are known to some X
12942 * kbsequence.C (getiso): add a few std:: qualifiers
12943 (getiso): comment out extra return statement.
12945 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12947 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12949 (Dispatch): enhance the accent inset a bit. (not perfect)
12951 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12953 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12955 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12957 * bufferlist.C (emergencyWrite): fix assert() call
12959 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12961 * text.C (InsertChar): Added trivial patch to only send the "you
12962 can not do multiple spaces this way" message once during a
12965 2001-05-08 Baruch Even <baruch@lyx.org>
12967 * Makefile.am: Changed order of libraries to get LyX to link properly
12968 with the gnome frontend.
12970 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12972 * LaTeXFeatures.h: add a std:: qualifier
12974 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12976 * paragraph.C (String): use stringstream
12978 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12980 * paragraph.C (writeFile): remove footflag arg
12982 * buffer.C (makeLaTeXFile): use stringstream
12983 (latexParagraphs): remove footnot gurba
12985 * LaTeXFeatures.C (getPackages): use stringstream
12986 (getMacros): likewise
12987 (getTClassPreamble): likewise
12988 (getFloatDefinitions): new method
12990 * paragraph.C (writeFile): reindent
12993 * WorkArea.h: revert the xpos + etc changes.
12995 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12997 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12999 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13000 (pasteSelection): likewise
13001 * text2.C (CreateUndo): likewise
13003 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13005 * minibuffer.C (peek_event): temporarily reduce the functionality
13006 of the minibuffer (to allow args on lfuns)
13008 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13009 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13011 * buffer.C (readInset): add compability reading of old float
13012 lists, add reading of new style float list.
13013 (readInset): avoid reevaluation of inscmd.getCmdName()
13014 (getLists): reindent
13016 * MenuBackend.C (MenuItem): implement parsing of
13017 md_floatlistinsert and md_floatinsert.
13018 (expand::LastFiles): move initalizaton of iterators out of loop,
13019 avoid reevaluation.
13020 (expand::Documents): introduce typdedef vector<string> Strings,
13022 (expand::ExportFormats): introduce typedef vector<Format const *>
13023 Formats, and use it.
13024 (expand): implement FloatListInsert and FloatInsert.
13026 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13027 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13028 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13030 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13032 (Dispatch::LFUN_FLOAT_LIST): implement
13034 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13036 * LaTeX.C (run): Fix problem with --export code.
13038 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13040 * BufferView.[Ch] (workarea): removed.
13041 (getClipboard) new method; wrapper for workarea()->getClipboard()
13043 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13046 * WorkArea.h (width, height, xpos, ypos): These methods all
13047 returned the dimensions of the work_area sub-area of WorkArea,
13048 resulting in a position error if the WorkArea were resized. Now
13049 return the dimensions of the entire WorkArea.
13051 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13053 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13055 * LaTeX.C (deplog): correct the syntax of regex reg1
13057 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13059 * undo.C: remove !NEW_INSETS cruft
13061 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13063 * text2.C: remove !NEW_INSETS cruft
13065 * text.C: remove !NEW_INSETS cruft
13067 * tabular.C: remove !NEW_INSETS cruft
13069 * spellchecker.C: remove !NEW_INSETS cruft
13071 * lyxtext.h: remove !NEW_INSETS cruft
13073 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13075 * lyxfunc.C: remove !NEW_INSETS cruft
13077 * lyxfind.C: remove !NEW_INSETS cruft
13079 * lyx_cb.C: remove !NEW_INSETS cruft
13081 * figureForm.C: remove !NEW_INSETS cruft
13083 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13085 * buffer.[Ch]: remove !NEW_INSETS cruft
13087 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13089 * CutAndPaste.C: remove !NEW_INSETS cruft
13091 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13093 * BufferView2.C: remove !NEW_INSETS cruft
13095 * BufferView.h: remove !NEW_INSETS cruft
13097 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13099 * Lsstream.h: include LString.h before the sstream headers to
13100 fix problem with gcc 2.95.3 and lyxstring
13102 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13104 * lyx_main.C: add using directives when needed for C functions
13105 declared in std:: namespace.
13107 2001-04-27 Juergen Vigna <jug@sad.it>
13109 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13110 (SetHeightOfRow): comment out the update call should not be needed!
13112 2001-04-13 Juergen Vigna <jug@sad.it>
13114 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13115 (LyXTabular): tried to minimize operator= operations (and realized
13116 hopfully Lars wish).
13118 2001-04-27 Juergen Vigna <jug@sad.it>
13120 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13122 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13124 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13126 * buffer.C (readInset): hack to make listof algorithm work
13128 * BufferView_pimpl.C: hack to make listof algorithm work
13130 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13132 * LyXAction.C: removed all !NEW_INSETS cruft
13133 (init): moved lfun_item in method
13135 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13137 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13139 * BufferView2.C (theLockingInset): white space.
13141 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13143 * minibuffer.C: include <iostream>
13145 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13147 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13149 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13151 * text.[Ch] (TransposeChars): new method
13153 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13155 * call message directly through LyXView instead of through LyXFunc
13156 * BufferView2.C: adjust
13157 * BufferView_pimpl.C: adjust
13158 * FontLoader.C: adjust
13160 * bufferview_funcs.C: adjust
13161 * converter.C: adjust
13162 * figureForm.C: adjust
13163 * importer.C: adjust
13165 * lyx_gui_misc.C: adjust
13166 * lyxfunc.C: adjust
13169 + more files in subdirs
13171 * lyxparagraph.h (size): move up int file
13174 * adjust all uses of Assert to lyx::Assert.
13176 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13177 lyxfunctional in namespace lyx
13178 * layout.C (hasLayout): ditto
13181 (delete_layout): ditto
13182 (NumberOfClass): ditto
13183 * converter.C (GetFormat): ditto
13188 * bufferlist.C (getFileNames): ditto
13189 (emergencyWriteAll): ditto
13192 * MenuBackend.C (hasSubmenu): ditto
13195 * BufferView_pimpl.C (getInsetByCode): ditto
13197 2001-04-18 Juergen Vigna <jug@sad.it>
13199 * vspace.C (asLatexString): fixed the 100% problem.
13201 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13203 * lyxfunc.C (Dispatch):
13205 * minibuffer.h: add a few std:: qualifiers
13207 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13209 * minibuffer.[Ch]: reimplement so that commands is initiated and
13210 run from lyxfunc, simplified som handling, and made the completion
13211 and history code for complete. wip.
13213 * lyxfunc.C (processKeySym): call message
13214 (miniDispatch): new temporary method
13215 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13216 (LFUN_MESSAGE): implement
13217 (LFUN_MESSAGE_PUSH): implement
13218 (LFUN_MESSAGE_POP): implement
13219 (initMiniBuffer): the initial/defualt minibuffer message.
13221 * lyxfont.[Ch]: inline some more getters
13223 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13225 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13227 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13228 (AutoSave): use LFUN_MESSAGE
13229 (Reconfigure): ditto
13231 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13233 * figureForm.C: use LFUN_MESSAGE
13235 * converter.C (runLaTeX): use LFUN_MESSAGE
13237 * bufferview_funcs.C: use LFUN_MESSAGE
13239 (changeDepth): ditto
13241 * bufferparams.h: use boost::
13243 * bufferlist.h: inherit privately from noncopyable
13245 * bufferlist.C (loadLyXFile): remove some commented code.
13247 * buffer.C (runChktex): use LFUN_MESSAGE
13249 * ShareContainer.h: inherit privately from noncopyable
13251 * ParagraphParameters.[hC] (depth): inline it.
13253 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13255 (message): new method
13256 (messagePush): ditto
13257 (messagePop): ditto
13258 (show): init minibuffer
13259 (showState): direct call
13261 * LaTeX.[Ch]: inherit privately from noncopyable
13262 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13263 instead of WriteStatus.
13265 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13267 * BufferView_pimpl.C (buffer): don't init minibuffer
13268 (workAreaButtonPress): use LFUN_MESSAGE
13269 (workAreaButtonRelease): ditto
13270 (savePosition): ditto
13271 (restorePosition): ditto
13272 (MenuInsertLyXFile): ditto
13273 (workAreaExpose): don't init minibuffer
13274 (update): remove commented code, simplify
13276 * BufferView2.C (openStuff): use LFUN_MESSAGE
13277 (toggleFloat): ditto
13280 (copyEnvironment): ditto
13281 (pasteEnvironment): ditto
13286 (updateInset): remove some commented code
13288 * lastfiles.h: inherit privately from noncopyable
13291 * lyx_main.h: ditto
13293 * lyxlex_pimpl.h: ditto
13295 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13296 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13297 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13299 * LyXAction.h: inherit privately from noncopyable, add methods
13300 func_begin, func_end, returning iterators to the func map.
13302 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13303 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13304 (func_begin): new method
13305 (func_end): new method
13307 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13309 (copySelection): ditto
13310 (pasteSelection): ditto
13312 * BufferView.C: whitespace change
13313 * BufferView.h: inherit privately from noncopyable
13315 2001-04-16 Allan Rae <rae@lyx.org>
13317 * tabular-old.C (l_getline):
13318 * spellchecker.C (sc_check_word):
13319 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13320 an unrecognised preprocessor directive. So ensure they're wrapped.
13322 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13324 * src/exporter.C (Export): Give an error message when path to file
13327 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13329 * LaTeX.C (deplog): Always check that foundfile exists.
13331 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13334 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13336 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13338 * tabular.[Ch] (getLabelList): implement new method
13340 * minibuffer.h: comment ouf setTiimer
13342 * minibuffer.C (ExecutingCB): constify res
13343 (peek_event): constify s
13344 (Set): constify ntext
13345 (Init): constify nicename
13347 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13349 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13350 (savePosition): use two params to Minibuffer::Set
13351 (restorePosition): ditto
13353 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13355 * lyx_main.C: include language.h
13357 * Makefile.am (lyx_main.o): add language.h
13359 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13365 * CutAndPaste.C: include gettext.h
13367 * lyxfont.h: remove old hack with ON and OFF.
13370 * lyxfont.h: do not include language.h...
13375 * bufferview_funcs.C:
13381 * paragraph.C: ... but do it here instead
13383 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13385 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13387 * tabular.C: small reformat
13389 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13392 (BreakParagraph): ditto
13393 (SetOnlyLayout): ditto
13396 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13399 * lastfiles.C: removed most using decl, add std:: where needed
13401 * buffer.C: ws changes
13403 * MenuBackend.C (class compare_format): put into anon namespace
13404 (expand): constify label, names, action, action2
13407 * text.C (SingleWidth): constify font
13408 (IsBoundary): constify rtl2
13409 (GetVisibleRow): constify ww
13411 * LaTeX.C (deplog): constify logfile
13413 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13415 (workAreaExpose): constify widthChange, heightChange
13417 * lyxrow.C (par): moved
13420 * lyxrow.h: as inlines here
13422 * lyxfont.h (shape): moved from lyxfont.C
13423 (emph): moved from lyxfont.C
13425 * lyxfont.C (LyXFont): use initialization list for all
13427 (shape): move to lyxfont.h as inline
13428 (emph): move to lyxfont.h as inline
13431 2001-04-04 Juergen Vigna <jug@sad.it>
13433 * vspace.C: had to include stdio.h for use of sscanf
13435 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13438 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13439 independent of xforms.
13441 2001-04-02 Juergen Vigna <jug@sad.it>
13443 * spellchecker.C: fixed namespace placing!
13445 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13447 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13448 the LyXParagraph * is 0.
13450 2001-03-29 Juergen Vigna <jug@sad.it>
13452 * vspace.C: added support for %, c%, p%, l%.
13453 (stringFromUnit): added helper function.
13454 (asLatexString): changed to give right results for the %-values.
13456 * buffer.C: convert the widthp in a width%.
13458 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13460 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13463 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13464 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13466 * lyx_cb.[Ch]: see above.
13468 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13472 * lyx.[Ch]: replaced by figure_form.[Ch].
13476 * lyxfunc.C: changed headers associated with above changes.
13478 2001-03-27 Juergen Vigna <jug@sad.it>
13480 * BufferView_pimpl.C: set the temporary cursor right!
13482 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13484 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13486 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13488 * LString.h: removed "using std::getline"!
13490 * BufferView_pimpl.C (Dispatch): changes due to changes in
13491 InsetInclude::Params.
13493 * buffer.C (tag_name): removed redundant break statements as they were
13494 producing lots of warnings with my compiler.
13496 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13498 * LString.h: add "using std::getline" when using the real <string>.
13500 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13502 * buffer.C: removed bitset usage.
13503 PAR_TAG moved to an anonymous name space.
13504 (tag_name): new funtion, also in the anonymous namespace.
13505 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13506 (makeDocBookFile): clean code. Completed transition from string arrays
13508 (SimpleDocBookOnePar): code clean.
13510 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13512 * tabular.C: add some comments.
13514 2001-03-22 Juergen Vigna <jug@sad.it>
13516 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13517 compatibility read a bit and fixed bug with minipage in different
13520 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13522 * buffer.C (pop_tag): removed.
13523 (push_tag): removed.
13524 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13525 array replaced with vector. Added support for CDATA sections.
13526 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13528 (makeDocBookFile): XML conformant declaration of CDATA section,
13529 fixed bug related to <emphasis> in the first paragraph char.
13530 (sgmlOpenTag): exclude empty tags.
13531 (sgmlCloseTag): ditto.
13533 * buffer.h (pop_tag): removed.
13534 (push_tag): removed.
13536 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13538 * language.h (Languages): added size_type and size().
13540 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13542 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13543 response on compability reading of minipages. One probliem is that
13544 the old usage of minipages was «flertydig»
13546 * several files here and in subdirs: don't use static at file
13547 scope use anon namespaces instead.
13549 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13551 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13552 LaTeX output. This is necessary for Literate document
13555 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13557 * buffer.C: insert hfill when needed.
13559 * tabular.C (l_getline): use string::erase, small whitespace change.
13561 * BufferView_pimpl.C: try the anon namespace.
13562 * WorkArea.C: ditto
13564 2001-03-16 Juergen Vigna <jug@sad.it>
13566 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13567 otherwise it won't open options-dialogs.
13569 * buffer.C: honor pextraWidth(p) on converting minipages.
13571 * tabular.C (l_getline): changed the functions to strip trailing \r.
13573 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13575 * BufferView_pimpl.C:
13576 * minibuffer..C: added "using SigC::slot" declaration.
13578 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13580 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13586 * paragraph.C: ditto
13588 * lyxtext.h: NO_PEXTRA
13590 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13592 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13593 * ParameterStruct.h: ditto
13594 * ParagraphParameters.h: ditto
13595 * lyxparagraph.h: ditto
13597 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13599 * buffer.C: add compability for minipage alignment.
13600 (latexParagraphs): remove unwanted pextra check.
13602 * several files: remove CXX_WORKING_NAMESPACES
13604 * buffer.C (pop_tag): tie is in namespace boost
13606 * BufferView.h: noncopyable is in namespace boost
13608 * lyx_main.h: ditto
13611 * lastfiles.h: ditto
13612 * bufferlist.h: ditto
13613 * ShareContainer.h: ditto
13615 * LyXAction.h: ditto
13618 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13620 * Merging changes from BRANCH_MVC back into HEAD.
13622 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13624 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13626 * BufferView_pimpl.C: change from intl.C
13630 * Makefile.am: move combox.*
13636 * intl.C: remove dialog (covered by prefs)
13638 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13640 * lyxfunc.C (Dispatch): removed redundant break statement.
13642 2001-03-14 Juergen Vigna <jug@sad.it>
13644 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13646 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13648 * buffer.C: add hack to fix compability reading of minipages.
13650 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13652 * buffer.C (getLists): Cleanup.
13654 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13656 * lyxfont.C (update): don't honor toggleall on font size.
13658 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13662 * Makefile.am: moved to frontends/xforms/
13666 * BufferView_pimpl.C: changes for moved mathpanel
13668 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13670 * gettext.h: fix gettext_init() in --disable-nls
13672 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13674 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13676 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13679 * lyx.h: strip external form
13681 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13683 * BufferView_pimpl.C: add comment, destroySplash()
13685 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13687 * BufferView_pimpl.C:
13691 * lyxfunc.C: use re-worked insetinclude
13693 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13695 * buffer.C: add using std::stringstream.
13697 * lyx_cb.C: readd using std::ios.
13699 * buffer.C: add using std::map.
13701 * BufferView_pimpl.C: add using std::vector.
13703 * ShareContainer.h: add std:: to swap.
13705 * buffer.h: add some typedefs
13706 * buffer.C (getLists): use them
13707 (getLists): renamed from getTocList.
13708 add a counter for the different float types and use it in the
13710 (getLists): use the same counter for the NEW_INSETS and the "non"
13713 * lyx_cb.h: remove unused items, includes, using etc.
13715 * ShareContainer.h: remove some commented code, add more comments
13716 and "documentation".
13718 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13720 * buffer.C (getTocList): make the list also when NEW_INSETS is
13723 * buffer.h: remove TocType
13725 * buffer.C (getTocList): change to return a map<string,
13726 vector<TocItem> >, implement for dynamic number of list.
13728 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13729 * text2.C (PasteSelection): adjust
13730 * CutAndPaste.C (pasteSelection): adjust
13732 * FloatList.C (FloatList): update from the new_insets branch.
13733 * Floating.[Ch]: ditto
13734 * LaTeXFeatures.C: ditto
13736 * lyxlex_pimpl.C: ditto
13738 * paragraph.C (Last): remove when NEW_INSETS is defined.
13740 * other file: changes because of the above.
13742 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13744 * lyxparagraph.h: rename next to next_, previous to previous_,
13745 make them private for NEW_INSETS. Rename Next() to next(),
13746 Previous() to previous().
13748 * other files: changes because of the above.
13750 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13753 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13756 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13758 * main.C (main): pass lyx_localedir to gettext_init().
13760 * gettext.h: remove locale_init and gettext_init macros
13762 * gettext.C (locale_init): new function
13763 (gettext_init): new function
13765 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13768 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13770 * Moved credits to frontends:
13771 * credits.[Ch]: removed
13772 * credits_form.[Ch]: removed
13773 * lyx_gui_misc.C: remove credits stuff
13776 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13778 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13780 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13781 unneeded destructor.
13783 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13784 a standalone pointer again.
13786 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13788 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13794 * ToolbarDefaults.C:
13803 * BufferView_pimpl.C: use new file dialog in GUII
13806 * lyx_cb.C: remove LayoutsCB to Toolbar
13808 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13810 * ShareContainer.h (get): add std:: qualifier
13812 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13814 * ShareContainer.h: define a proper ShareContainer::value_type
13815 type (and use typename to please compaq cxx)
13817 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13819 * lyxparagraph.h: move serveral local vars to
13820 ParameterStruct/ParagraphParameters., use ShareContainer in
13821 FontTable., make vars in FontTable private and add getter and
13824 * paragraph.C: changes because of the above.
13826 * lyxfont.h: remove copy constructor and copy assignment. (the
13827 default ones is ok), move number inside FontBits. move inlines to
13830 * lyxfont.C: add number to initializaton of statics, move several
13831 inlines here. constify several local vars. some whitespace
13832 cleanup. Dont hide outerscope variables.
13834 * Spacing.h: add two new constructors to match the set methods.
13836 * ShareContainer.h: new file, will perhaps be moved to support
13838 * ParameterStruct.h: new file
13840 * ParagraphParameters.h: new file
13842 * ParagraphParameters.C: new file
13844 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13845 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13847 * BufferView_pimpl.C: ParagraphParameter changes.
13848 * buffer.C: Likewise.
13849 * bufferview_funcs.C: Likewise.
13850 * text.C: Likewise.
13851 * text2.C: Likewise.
13853 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13855 * lyxfind.C (LyXReplace): do not redefine default argument in
13857 (IsStringInText): ditto
13858 (SearchForward): ditto
13859 (SearchBackward): ditto
13861 2001-03-06 Juergen Vigna <jug@sad.it>
13863 * lyxfind.C (IsStringInText): put parentes around expressions.
13865 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13867 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13869 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13871 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13873 * stl_string_fwd.h: add comment
13875 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13878 * tabular.C: remove unused DocBook methods
13884 killed DO_USE_DEFAULT_LANGUAGE
13886 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13888 * lyx_gui.C: do not include language.h.
13890 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13891 arguments in function implementation.
13893 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13895 * BufferView_pimpl.C: add <ctime>
13897 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13899 * BufferView_pimpl.C: add using std::find_if
13901 2001-02-27 José Matos <jamatos@fep.up.pt>
13903 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13906 2001-02-11 José Matos <jamatos@fep.up.pt>
13908 * buffer.C (makeDocBookFile): command styles now have a parameter as
13909 "title" by default.
13911 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13913 * layout_forms.[Ch]: removed
13914 * lyx_cb.[Ch]: out character
13915 * lyx_gui.C: out character
13916 * lyx_gui_misc.C: out character
13917 * bufferview_funcs.C: : out character,
13918 added toggleall as parameter in ToggleAndShow
13920 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13922 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13924 * text2.C (SetCurrentFont): Disable number property at boundary.
13926 2001-02-26 Juergen Vigna <jug@sad.it>
13928 * lyxfunc.C (getStatus): added a string argument override function so
13929 that this is correctly called from LyXFunc::Dispatch if it contains a
13930 do_not_use_argument which is used!
13931 (Dispatch): added check for "custom" export and call appropriate func.
13933 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13935 * lyxrc.C: Add language_command_local, language_use_babel and
13936 language_global_options.
13938 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13940 * buffer.C (makeLaTeXFile): Use language_use_babel and
13941 language_global_options.
13943 2001-02-23 Juergen Vigna <jug@sad.it>
13945 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13946 which works with LyXText and putted it inside BufferView. Here now we
13947 only call for that part the BufferView::Dispatch() function.
13949 * BufferView.C (Dispatch): added.
13951 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13952 functions which needs to use a LyXText over from LyXFunc.
13953 (MenuInsertLyXFile): added
13954 (getInsetByCode): added
13955 (moveCursorUpdate): added
13956 (static TEXT): added
13958 2001-02-22 Juergen Vigna <jug@sad.it>
13960 * BufferView_pimpl.C (update): call a status update to see if LyXText
13963 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13965 * vc-backend.C (revert): implement for CVS
13966 (getLog): implement for CVS
13968 2001-02-20 Juergen Vigna <jug@sad.it>
13970 * text2.C (ClearSelection): added BufferView param for inset_owner call
13972 * lyxfunc.C (TEXT): added this function and use it instead of
13973 directly owner->view()-text of getLyXText().
13975 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13977 * src/layout_forms.C: out preamble
13978 * src/layout_forms.h: out preamble
13979 * src/lyx_cb.C: out preamble
13980 * src/lyx_cb.h: out preamble
13981 * src/lyx_gui.C: out preamble
13982 * src/lyx_gui_misc.C: out preamble
13983 * src/lyxfunc.C: connect with guii preamble
13985 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13987 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13989 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13991 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13992 whether to run bibtex.
13994 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13996 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13998 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14000 * Makefile.am (lyx_SOURCES): removed bibforms.h
14002 * vspace.h: doxygen
14004 * text.C (GetVisibleRow): make several local vars const
14006 * tabular.C: small cleanup.
14008 * lyxserver.C (callback): use compare instead of strncmp
14010 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14011 inlines to after class or to paragraph.C
14013 * lyxfont.h: remove friend operator!=
14015 * converter.h: move friend bool operator< to non friend and after
14018 * combox.h: small cleanup
14020 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14021 to inlines after class def.
14023 * buffer.C (pop_tag): use string operations instead of strcmp
14025 * bmtable.c: doxygen, small cleanup
14027 * LaTeX.h: remove friend operator==
14029 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14041 * BufferView_pimpl.C:
14042 * BufferView.[Ch]: remove cruft
14044 2001-02-14 Juergen Vigna <jug@sad.it>
14046 * lyxfunc.C: removed #if 0 unused code
14048 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14050 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14052 * text2.C (SetSelection): added a BufferView * parameter
14054 2001-02-13 Juergen Vigna <jug@sad.it>
14056 * lyxfunc.C (Dispatch): fixed protected blank problem.
14057 * BufferView2.C (protectedBlank): added LyxText * parameter.
14059 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14060 (AppendColumn): same as above for column_info.
14062 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14063 (moveCursorUpdate): use a LyXText param for support of InsetText.
14065 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14066 (tripleClick): ditto
14068 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14070 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14072 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14074 * text2.C (SetSelection): set correct update status if inset_owner
14075 (ToggleFree): ditto
14077 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14079 * tabular.C: remove some commented code.
14081 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14083 * BufferView_pimpl.C: call hideSplash()
14085 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14088 * bibforms.h: remove
14091 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14092 add LFUN_CHILD_CREATE
14094 * counters.h: fix tiny typo
14099 * lyx.C: move splash to frontends/xforms/
14101 * lyx_gui_misc.C: move Include and Bibform to frontends
14103 * lyxvc.h: clarify comment
14105 * vspace.C: tiny housekeeping
14107 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14109 * text.C (PrepareToPrint): RTL Fix.
14111 * paragraph.C (GetUChar): New method.
14112 (String): Use GetUChar.
14114 * buffer.C (asciiParagraph): Use GetUChar.
14116 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14118 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14120 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14123 * buffer.C: rename to getLogName(), handle
14124 build log / latex log nicely
14126 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14129 * MenuBackend.h: remove support for reference menuitem type.
14131 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14133 * BufferView_pimpl.C: housekeeping
14134 * BufferView_pimpl.h:
14139 * minibuffer.h: move Timeout GUI-I
14141 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14143 * lyxrc.C (read): Update converters data-structures.
14145 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14147 * LaTeX.h (operator!=): add operator != for Aux_Info
14149 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14151 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14153 * LaTeXLog.C: deleted, useful code moved to Buffer
14156 * buffer.C: new function getLatexLogName()
14162 * lyxfunc.C: use frontends for LaTeX and VC logs
14164 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14166 * LaTeX.h: yet another std:: that Allan forgot.
14168 * Variables.C (set): renamed from isset(), because this clashes
14169 with some HP-UX macros (grr).
14171 2001-02-06 Allan Rae <rae@lyx.org>
14173 * LaTeX.h: Another bug fix. Missing std:: this time.
14175 2001-02-04 Allan Rae <rae@lyx.org>
14177 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14178 floats problem. I've left it commented out because it's not quite
14179 correct. It should also test that the current object is a table or
14180 figure inset. But I haven't gotten around to figuring out how to do
14181 that. I *think* it'll be something like: "table" == inset.type()
14183 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14186 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14188 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14189 all the citation/databases/styles in the auxilary file.
14190 (run): Rerun latex if there was a babel language error.
14192 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14194 * text.C (Backspace): Preserve the font when changing newline char
14196 (BreakParagraph): If the cursor is before a space, delete the space.
14198 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14200 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14202 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14203 new argument (code).
14204 (ChangeCitationsIfUnique): New method.
14206 * paragraph.C (GetPositionOfInset): Handle bibkey.
14208 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14210 * BufferView_pimpl.h: change type of Position::par_pos to
14211 LyXParagraph::size_type.
14213 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14215 * BufferView_pimpl.C (savePosition, restorePosition): Write
14216 messages to minibuffer.
14218 2001-01-28 José Matos <jamatos@fep.up.pt>
14220 * buffer.C (makeDocBookFile): adds support for document language.
14221 A silly restriction on the name of LatexCommand types where removed.
14222 Added support for CDATA sections, allows to chars unescaped, used
14223 among others in code, to avoid escape < and >.
14225 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14227 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14228 saved positions instrad of a stack. Furthermore, a position is
14229 stored using paragraph id/paragraph position.
14231 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14232 Remove LFUN_REF_BACK.
14234 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14236 * converter.C (dvipdfm_options): New method.
14238 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14240 * vspace.C (isValidLength): Fix for empty input string.
14242 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14244 * LyXAction.C (init): change description of LFUN_FIGURE to
14247 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14249 * LaTeX.C: add using directive
14251 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14253 * MenuBackend.C (expand): Fix the sorting of the formats.
14255 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14257 * lyx_main.C: tiny error message fix
14259 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14261 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14262 calling fl_initialize(). This fixes the problem with ',' as
14263 decimal separator in text files.
14265 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14267 * trans.C (process): Fix the keymap bug.
14269 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14271 * LaTeX.C (scanAuxFiles): New method. Provides support for
14272 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14273 (scanLogFile) Scan for "run BibTeX" messages.
14275 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14276 OT1 font encoding. Also, load the aecompl package if the ae
14279 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14281 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14283 * texrow.C (increasePos): turn two error messages into debug
14286 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14288 * LaTeX.C (scanAux): Handle the \@input macro.
14289 (runBibTeX): Use scanAux().
14291 * language.C (latex_options_): New field.
14293 * LaTeXFeatures.C (getMacros): Add language macros.
14295 * buffer.C (makeLaTeXFile): Small fix.
14297 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14299 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14301 * text2.C: add a using directive.
14303 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14308 * lyxfunc.C: kill LyXBell.
14310 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14312 * text.C (IsBoundary): Remove the error message
14314 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14316 * lyxrc.C (setDefaults): Correct initialization value for
14319 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14321 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14324 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14325 and GotoNextNote().
14327 * src/LyXAction.C: Added reference-next.
14329 * text.C (InsertChar): Use contains instead of strchr.
14331 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14333 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14335 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14336 alignment commands (when needed).
14338 * text.C (InsertChar): Add ':' to number separator chars.