1 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * CutAndPaste.C (availableSelections): small compilation fix for
4 ancient (gcc 2.9x) compilers
6 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
8 * text3.C (cursorNext): add tmp var
10 * text2.C (updateCounters): for function calling out of for clause
11 (replaceSelectionWithString): ditto
12 (insertStringAsParagraphs): ditto
13 (getColumnNearX): add tmp var
14 (setCursorFromCoordinates): add tmp var
15 (cursorDownParagraph): add tmp var
16 (deleteEmptyParagraphMechanism): add tmp var
18 * text.C (insertChar): add tmp var
20 * rowpainter.C (paintDepthBar): add tmp var
22 * CutAndPaste.C (availableSelections): potentially check all
23 paragraphs in a cut to fill the shown strings.
25 2003-06-18 André Pönitz <poenitz@gmx.net>
27 * kbmap.[Ch]: use vector<> instead of list<>
29 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
31 * text3.C (dispatch): handle arg to LFUN_PASTE, call
32 pasteSelection with index
34 * text2.C (pasteSelection): modify, call pasteSelection with index
36 * paragraph.C (asString): reimplement version with no interval to
37 call the one with interval.
39 * lyxtext.h: add index arg to pasteSelection
41 * MenuBackend.C (MenuItem): handle PasteRecent
42 (Menu::read::Menutags): add md_pasterecent
44 (expandPasteRecent): new function
47 * MenuBackend.h: add PasteRecent to MenuItem::Kind
49 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
51 (availableSelections): new function
53 2003-06-17 Angus Leeming <leeming@lyx.org>
55 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
57 2003-06-17 Angus Leeming <leeming@lyx.org>
60 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
62 * lyxfunc.C (dispatch): invoke it.
64 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
66 * iterators.C (operator++, ParPosition): reintroduce some
67 const_cast for the benefit of older compilers.
69 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
71 * text3.C (dispatch): do not modify clipboard when doing
72 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
73 LFUN_DELETE_SKIP on a selection selection
75 2003-06-16 André Pönitz <poenitz@gmx.net>
81 * tabular.[Ch]: IU of clone() and getLabelList();
83 2003-06-13 André Pönitz <poenitz@gmx.net>
85 * tabular.h: compactification
87 2003-06-12 André Pönitz <poenitz@gmx.net>
91 * tabular_funcs.h: some renaming plus whitespace
93 2003-06-12 André Pönitz <poenitz@gmx.net>
102 * toc.C: Return a Paragraph & for ParIterator::operator*()
104 2003-06-11 John Levon <levon@movementarian.org>
108 * ToolbarBackend.C: add "Toolbars" section and
111 2003-06-10 Angus Leeming <leeming@lyx.org>
114 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
116 * lyxfunc.C (dispatch): invoke it.
118 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
120 * main.C: protect <ios> with HAVE_IOS
121 (main): protect sync_with_stdio with HAVE_IOS
123 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
125 * text2.C (cutSelection): adjust
126 (pasteSelection): adjust
128 * messages.C: handle get of empty string
130 * main.C (main): use sync_with_stdio(false)
132 * lyxfunc.C (dispatch): adjust
134 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
135 (WriteAs): remove unneeded BufferView arg.
137 * bufferparams.h: use correct types on papersize, papersize2 and
140 * bufferparams.C (readToken): adjust for type
141 (writeLaTeX): add missing cases to switch.
143 * bufferlist.C (quitWriteBuffer): adjust
146 * buffer.C (asciiParagraph): remove some commented code.
148 * CutAndPaste.C: remove current_view extern variable.
149 (cutSelection): add BufferParams arg.
150 (eraseSelection): add BufferParams arg.
151 (pasteSelection): add Buffer const & arg
153 2003-06-07 John Levon <levon@movementarian.org>
161 * paragraph.C: allow InsetERT to freely space lines,
162 and some consolidation of code
164 2003-06-06 José Matos <jamatos@fep.up.pt>
166 * buffer.C (makeDocBookFile): fix bug #821
168 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
170 * BufferView_pimpl.C (dispatch): use Dialogs::visible
172 2003-06-04 Angus Leeming <leeming@lyx.org>
174 * buffer.C: bump format to 224.
176 2003-06-05 André Pönitz <poenitz@gmx.net>
178 * text2.C (redoParagraphs): remove two const_cast<>
180 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
182 * ParagraphList.h: remove last remnants of NO_STD_LIST
184 2003-06-03 Angus Leeming <leeming@lyx.org>
186 * factory.C (createInset): small change to the way InsetExternal's params
189 2003-06-04 André Pönitz <poenitz@gmx.net>
191 * buffer.h: use Undo directly instead of shared_ptr<Undo>
194 * paragraph.[Ch]: some Inset -> UpdatableInset changes
196 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
198 * undo_funcs.C: make some simple cases of undo work again
200 2003-06-03 John Levon <levon@movementarian.org>
202 * ispell.C: HPUX doesn't have sys/select.h
205 2003-06-03 John Levon <levon@movementarian.org>
207 * CutAndPaste.C: update tabular and include inset
212 * paragraph.C: remove owningBuffer(), don't pass Buffer
215 * factory.C: insetGraphicsParams changed
217 2003-06-02 John Levon <levon@movementarian.org>
223 * text3.C: remove insetparent
225 2003-06-02 John Levon <levon@movementarian.org>
228 * buffer.C: fix inset_iterator.end(), move out of line
231 2003-06-01 John Levon <levon@movementarian.org>
233 * text3.C: use a proper cut/paste when doing inset
234 insert (from Jürgen Spitzmüller)
236 2003-06-01 John Levon <levon@movementarian.org>
238 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
240 2003-05-30 André Pönitz <poenitz@gmx.net>
242 * rowpainter.C: unify second drawing phase
244 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
246 * trans_mgr.C: remove one case of current_view
248 * text2.C (cursorBottom): delete NO_STD_LIST stuff
250 * paragraph_funcs.h: remove paragraph.h include
252 * paragraph.h: delete NO_STD_LIST stuff
254 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
256 * buffer.h: remove paragraph.h include
258 * ParagraphList.C: delete file
260 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
262 * toc.C (getTocList): adjust
264 * paragraph_pimpl.C (validate): adjust
266 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
268 * paragraph.C (Paragraph): adjust
269 (getPositionOfInset): use const_iterator, adjust
270 (bibitem): use const_iterator, adjust
271 (setInsetOwner): adjust
273 * iterators.C (operator++): adjust
275 * InsetList.[Ch]: Replace selfmade iterator with standard
276 vector::iterator also introduce const_iterator. Remove getPos,
277 getInset and setInset from InsetTable. Adjust accordingly.
279 * BufferView.C (lockInset): adjust
280 (ChangeInsets): adjust
282 * tabular.[Ch]: delete commented same_id functions
284 2003-05-28 John Levon <levon@movementarian.org>
286 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
288 2003-05-28 André Pönitz <poenitz@gmx.net>
290 * metricsinfo.[Ch]: remove 'fullredraw' member
292 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
294 * lyxtextclass.C (operator): remove caching.
296 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
300 * text2.C (cursorBottom): adjust
301 (setCounter): use ParagraphList::find, adjust
303 * text.C (workWidth): use ParagraphList::find, adjust
305 * lyxcursor.C (LyXCursor): adjust
307 * buffer.C (inset_iterator): adjust
309 * ParagraphList.h: make iterator(value_type) private, make
310 ParagraphList a friend of iterator.
312 * ParagraphList.C (find): new function
314 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
316 2003-05-27 André Pönitz <poenitz@gmx.net>
318 * dimension.[Ch]: a -> asc, d -> des, w -> wid
320 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
322 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
324 2003-05-26 John Levon <levon@movementarian.org>
326 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
328 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
330 * remove same_id from function signatures, adjust.
332 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
334 * undo_funcs.C (createUndo): use the id functions directly, adjust.
336 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
338 * paragraph.C (Paragraph): get rid of same_ids parameter
340 * ParagraphList.C (insert): adjust
343 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
345 * paragraph_funcs.C (breakParagraph): adjust
346 (breakParagraphConservative): adjust
348 * buffer.C (readParagraph): adjust
350 * ParagraphList.C (insert): take a reference instead of a pointer
353 * paragraph.[Ch] (id): new function
355 * bufferlist.C (newFile): adjust
357 * ParagraphList.C (ParagraphList): adjust
359 (push_back): take a reference instead of a pointer.
361 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
363 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
366 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
367 set else use old code.
369 * ParagraphList.C: remove all NO_NEXT code and only compile this
370 code of NO_STD_LIST is set.
372 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
374 * BufferView_pimpl.C:
384 * graphics/GraphicsConverter.C:
385 * graphics/PreviewLoader.C: header adjustment
387 2003-05-23 Angus Leeming <leeming@lyx.org>
389 * LaTeXFeatures.[Ch] (useBabel): new method.
390 * bufferparams.C (writeLaTeX): use it.
392 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
394 * ParagraphList.h (set): remove unused function.
396 2003-05-23 André Pönitz <poenitz@gmx.net>
399 * BufferView_pimpl.C:
403 * undo_funcs.C: setUndo reworked
405 * iterators.[Ch]: add access to topmost ParagraphList
407 * lyxtext.[Ch] (workWidth): add a const
409 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
411 * texrow.[Ch] (increasePos): remove function
412 * exporter.C (export): removed unused var and outdated comment
414 2003-05-23 Angus Leeming <leeming@lyx.org>
416 * latexrunparams.h: rename fragile as moving_arg.
417 * paragraph.C (simpleTeXOnePar): ditto.
418 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
420 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
422 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
424 (textUndoOrRedo): comment out a currently unused var.
426 * paragraph.h (NO_NEXT): enable NO_NEXT
428 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
430 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
432 * exporter.C (Export): adjust for removeAutoInsets removal.
434 * buffer.C (runChktex): adjust for removeAutoInsets removal.
436 * LyXAction.C (init): remove LFUN_REMOVEERRORS
438 * BufferView.[Ch] (removeAutoInsets): delete function
440 2003-05-22 Angus Leeming <leeming@lyx.org>
442 * latexrunparams.h: add a free_spacing variable.
444 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
445 to pass moving_arg, as the data is stored in runparams.fragile.
447 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
448 to Inset::latexOptional or to simpleTeXOnePar.
450 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
451 free_spacing arg to Inset::latexOptional.
453 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
456 2003-05-22 Angus Leeming <leeming@lyx.org>
458 * latexrunparams.h: add fragile and use_babel variables.
460 * bufferparams.[Ch] (writeLaTeX): return use_babel.
461 * buffer.C (makeLaTeXFile): store this returned value in
462 runparams.use_babel, thus passing it to the inset::latex methods.
464 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
465 simpleTeXSpecialChars as it is now stored in runparams.fragile.
467 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
468 longer has a fragile arg, as it is stored in runparams.fragile.
470 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
471 moving_arg parameter as the data is stored in runparams.fragile.
473 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
474 a fragile parameter as the data is stored in runparams.fragile.
476 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
478 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
480 2003-05-22 Angus Leeming <leeming@lyx.org>
482 * latexrunparams.h: add a 'bool nice' which defaults to false.
484 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
485 now encapsulated within runparams.
487 * bufferlist.C (updateIncludedTeXfiles):
488 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
490 2003-05-22 Angus Leeming <leeming@lyx.org>
492 * latexrunparams.h: new file containing struct LatexRunParams.
493 * Makefile.am: add new file.
495 * LaTeX.[Ch] (c-tor, run):
496 * buffer.[Ch] (makeLaTeXFile):
497 * bufferlist.[Ch] (updateIncludedTeXfiles):
498 * converter.C (convert, scanLog):
499 * converter.[Ch] (runLaTeX):
500 * exporter.C (Export):
501 * paragraph.[Ch] (simpleTeXOnePar):
502 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
503 * paragraph_funcs.[Ch] (latexParagraphs):
504 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
505 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
506 pass around a LatexRunParams parameter.
508 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
510 * paragraph.[Ch]: remove unused constructor
512 * ParagraphList.C (erase): new function, taking two iterators
514 2003-05-22 André Pönitz <poenitz@gmx.net>
516 * undo_funcs.C: remove duplicated code
518 * iterator.[Ch]: operator=
520 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
522 * tabular.C (SetMultiColumn): ws changes
524 * rowpainter.C (paintFirst): get rid of a ->previous
526 * lyx_cb.C (getPossibleLabel): parlist simplification
528 * BufferView.C (ChangeInsets): simplify slightly.
530 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
532 * LyXAction.C: new lfun space-insert, kill protected-space-insert
533 * lfuns.h: new LFUN_SPACE
534 * lyxfunc.C: protected space has a new lfun
535 * paragraph_funcs.C: read new space insets
537 * factory.C: handle new space insets
539 2003-05-22 André Pönitz <poenitz@gmx.net>
542 * BufferView_pimpl.C:
545 * undo_funcs.C: return a ParIterator from getParFromID.
547 * iterators.[Ch]: add two const's
549 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
551 * toc.C (getTocList): adjust
553 * iterators.[Ch]: rework for parlist
555 * buffer.C (par_iterator_begin): adjust
556 (par_iterator_end): adjust
558 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
560 * BufferView.C (removeAutoInsets): adjust
561 (ChangeInsets): adjust
563 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
565 * text.C (top_y): fix bug 1110
567 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
569 * errorlist.[Ch]: added
572 * BufferView_pimpl.C:
573 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
576 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
578 * Makefile.am: ensure that lyx is relinked upon changes to the
579 various "convenience" libs.
581 2003-05-20 Angus Leeming <leeming@lyx.org>
583 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
584 files are compiled in alphabetical order again.
586 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
588 2003-05-19 Angus Leeming <leeming@lyx.org>
590 * gettext.[Ch]: remove "char const * _(char const *)".
592 2003-05-19 André Pönitz <poenitz@gmx.net>
594 * dimension.[Ch]: promote from mathed/dimension.[Ch]
603 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
605 2003-05-19 André Pönitz <poenitz@gmx.net>
611 * paragraph_funcs.[Ch]:
613 * text3.C: more insetenv work
615 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
617 * ParagraphParameters.C (params2string): small bug fixed
619 2003-05-16 André Pönitz <poenitz@gmx.net>
622 * bufferview_funcs.C: patch from Kornel Benko to prevent
623 crash when _(...) is called twice in a statement
625 2003-05-16 André Pönitz <poenitz@gmx.net>
632 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
634 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
636 * lyx_main.C (init): remove spurious static_cast
638 2003-05-14 André Pönitz <poenitz@gmx.net>
640 * BufferView.C: fix format string
642 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
644 * BufferView.[Ch] (insertErrors): removed
645 * BufferView.[Ch] (showErrorList): added
646 * buffer.C (runChkTeX):
647 * converter.C (scanLog): call showErrorList instead of inserterrors
649 2003-05-13 André Pönitz <poenitz@gmx.net>
651 * BufferView_pimpl.C:
660 * tabular_funcs.h: tostr() from its own header
662 * ParagraphParameters.C:
669 2003-05-12 André Pönitz <poenitz@gmx.net>
672 * BufferView_pimpl.C:
676 * ParagraphParameters.C:
680 * bufferview_funcs.C:
697 * text3.C: boost::format -> bformat all over the place
700 2003-05-09 André Pönitz <poenitz@gmx.net>
702 * LColor.[Ch]: Pimpl the #include <map> away
704 2003-05-09 John Levon <levon@movementarian.org>
706 * bufferlist.C: never remove emergency saves
708 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
710 * Makefile.am: better lib building
712 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
714 * texrow.[Ch]: remove dependency on Paragraph and just store a id
716 * paragraph_pimpl.C (simpleTeXBlanks): adjust
717 (simpleTeXSpecialChars): adjust
718 (simpleTeXSpecialChars): adjust
719 * paragraph.C (simpleTeXOnePar): adjust
720 * buffer.C (makeLaTeXFile): adjust
722 * Makefile.am (BOOST_LIBS): allow boost as system lib.
724 * text2.C (changeDepth): parlist cleanup
725 (getColumnNearX): ditto
727 * rowpainter.C (getLabelFont): parlist cleanup
729 * bufferlist.C (newFile): parlist cleanup
731 * CutAndPaste.C (eraseSelection): parlist cleanup
733 * BufferView_pimpl.C (trackChanges): parlist cleanup
736 * BufferView.C (lockInset): parlist cleanup.
737 (ChangeInsets): ditto
739 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
741 * CutAndPaste.h: Update file header.
743 * CutAndPaste.C: Update file header.
744 Store the parts cut out of the Document in a limited_stack.
745 (copySelection): adjust
746 (pasteSelection): new function, takes the index in the limited stack.
747 (nrOfParagraphs): adjust
748 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
749 simplify error inset insertion.
750 (checkPastePossible): adjust
752 2003-05-06 John Levon <levon@movementarian.org>
754 * text2.C: don't cast wrap inset to float
756 2003-05-05 André Pönitz <poenitz@gmx.net>
759 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
761 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
762 few naked Paragraph *.
764 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
766 * bufferparams.C: Output warning if a document with missing
767 TeX document class is loaded
768 * exporter.C: Disable TeX exports if the document class is missing
771 * lyxtextclasslist.C: Handle new textclass.lst format; new method
772 isTeXClassAvailable()
774 2003-05-03 John Levon <levon@movementarian.org>
777 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
778 explicit cursor show/hide
780 * BufferView_pimpl.h:
781 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
782 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
784 * lyxfunc.C: hide cursor before dispatching.
789 * text3.C: remove explicit cursor hides
791 2003-05-02 André Pönitz <poenitz@gmx.net>
793 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
796 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
799 * text2.C: tiny whitespace
801 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
803 * undo_funcs.C: almost only ws changes.
805 * ParagraphList.C (splice): just return if pl is empty.
807 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
809 * ParagraphList.C (splice): new function.
811 * CutAndPaste.C (pasteSelection): use it
813 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
815 * CutAndPaste.C (pasteSelection): remove the last next and
816 previous from this file.
818 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
820 * CutAndPaste.C (pasteSelection): more clean up, user proper
821 ParagraphList functions for pasteing.
823 * ParagraphList.C (insert): new function, three arg insert
825 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
827 * ParagraphList.C (insert): new function, three arg insert
829 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
832 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
834 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
836 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
838 * CutAndPaste.C (pasteSelection): remove some unneeded code.
840 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
842 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
843 (copySelection): clean up a bit.
844 (pasteSelection): use make_pair
846 * ParagraphList.C (ParagraphList): implement copy constructor
847 (operator=): implement, base on copy constructor.
850 * paragraph.C (erase): return a bool
852 * paragraph_pimpl.C (erasePos): remove function, move contents...
853 (erase): ... here. Return a bool.
854 (erase): call erase instead of erasePos.
856 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
858 * ParagraphList.h: define PitPosPair
859 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
860 ParagraphList, fix a bug on pasting multiple pars
861 * text2.C: change interface to C&P
863 2003-04-30 André Pönitz <poenitz@gmx.net>
865 * undo_func.C: revert part of yesterday's patch 2
867 2003-04-30 John Levon <levon@movementarian.org>
869 * LColor.C: s/tabular/table/
871 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
873 * text3.C (dispatch): do not convert iterator -> pointer
874 * undo_funcs.C (setCursorParUndo): ditto
875 * text_funcs.C (transposeChars): ditto
877 * text2.C (setLayout): ws changes only
879 * text.C (breakParagraph): do not convert iterator -> pointer
881 (acceptChange): ditto
882 (rejectChange): ditto
887 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
890 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
892 * text3.C (gotoInset): YABG (yet another bad getChar)
894 2003-04-29 André Pönitz <poenitz@gmx.net>
896 * paragraph.h: make operator= private unimplemented as long as
899 * ParagraphList.C: whitespace
902 * paragraph_pimpl.[Ch]:
905 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
908 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
910 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
912 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
913 * paragraph.[Ch] (erase):
914 * paragraph_pimpl.[Ch] (erase): change return type and value
915 * text2.C (cutSelection): some rework
917 2003-04-28 John Levon <levon@movementarian.org>
919 * bufferlist.C: changes for unsaved changes dialog
921 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
923 * bufferlist.C (newFile): set language (messages_) for new
926 * buffer.C (readFile): ws changes only.
928 2003-04-28 André Pönitz <poenitz@gmx.net>
933 * BufferView_pimpl.C:
934 * BufferView.C: getParFromID related ParagraphList::iterator changes
936 2003-04-28 André Pönitz <poenitz@gmx.net>
938 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
941 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
943 * messages.C: remove one more localedir class variable.
945 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
947 * messages.C (getLocaleDir): singleton generation function
949 (Messages): add a default constructor.
951 * main.C (main): do not setup localedir here, do not call
954 * gettext.C (_): use it.
955 (gettext_init): delete funciton
957 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
959 * gettext.C (getLyXMessages): new singleton generating function.
961 * buffer.C (updateDocLang): adjust
963 * Makefile.am (messages.o): add target
964 (main.o): remove target
966 2003-04-27 John Levon <levon@movementarian.org>
971 * lyxvc.C: specify cancel button in Alert::prompt
973 2003-04-26 John Levon <levon@movementarian.org>
978 * LyXAction.C: add LFUN_INSET_SETTINGS
980 * lyxfunc.C: don't enable tabular-feature when there's
981 just any locking inset
983 2003-04-26 John Levon <levon@movementarian.org>
985 * bufferlist.C: re-add Cancel to buffer close question
987 * lyxfunc.C: fix import UI a bit
989 2003-04-25 John Levon <levon@movementarian.org>
991 * gettext.C: remove the broken asserts for now
993 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
995 * messages.C: make case where setlocale cannot comply work better.
997 * buffer.C (updateDocLang): new function
998 (changeLanguage): use it
1001 * text2.C (setCounter): use B_ a bit.
1003 * lyxlayout.C (Read): be sure to trim the label strings.
1005 * messages.C (Messages): fix typo in comment
1007 * buffer.C (readFile): set message_ after file is loaded.
1008 (makeDocBookFile): remove double return
1009 (changeLanguage): reset message_ upon language change.
1010 (B_): new func, use this to get translated buffer strings.
1012 * main.C: add myself and Jean Marc as authors.
1014 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1016 * messages.[hC]: pimplify Messages, and three different pimpls to be
1017 used in different circumstances.
1019 * gettext.[Ch]: change for use with new message code.
1021 2003-04-24 André Pönitz <poenitz@gmx.net>
1023 * factory.C: support for eqref
1025 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1027 * messages.[Ch]: add missing char
1029 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1031 * messages.[Ch]: New files
1033 2003-04-18 John Levon <levon@movementarian.org>
1037 * BufferView_pimpl.C:
1041 * text2.C: remove layout-copy/paste (bug 778)
1043 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1045 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1047 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1049 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1050 if they succeed. Act accordingly.
1052 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1054 * text2.C (setCharFont): adjust
1055 (setCounter): adjust
1056 (insertStringAsLines): adjust
1058 * text.C (leftMargin): adjust
1059 (setHeightOfRow): adjust
1061 * rowpainter.C (paintFirst): adjust
1064 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1066 (isFirstInSequence): ditto
1067 (getEndLabel): ditto
1070 * paragraph.C (getParLanguage): comment out some hard stuff.
1072 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1074 (simpleDocBookOnePar): ditto
1075 (makeDocBookFile): use ParagraphList::iterator
1077 * CutAndPaste.C (pasteSelection): adjust
1079 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1081 * text2.C (getFont): adjust
1082 (getLayoutFont): adjust
1083 (getLabelFont): adjust
1085 * paragraph_funcs.C (TeXOnePar): adjust
1087 * buffer.C (simpleLinuxDocOnePar): adjust
1088 (simpleDocBookOnePar): adjust
1090 * CutAndPaste.C (pasteSelection): adjust
1092 * BufferView.C (getEncoding): adjust
1094 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1096 2003-04-16 John Levon <levon@movementarian.org>
1098 * lyxfind.C: use parlist stuff for search/changes
1100 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1102 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1104 * text2.C (deleteEmptyParagraphMechanism): adjust
1106 * text2.[Ch] (ownerParagraph): delete func (both of them
1108 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1110 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1112 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1114 * ParagraphList.C: prepare for NO_NEXT
1116 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1118 * text2.C (getFont): adjust
1119 (getLayoutFont): adjust
1120 (getLabelFont): adjust
1122 * paragraph.C (getFont): adjust
1123 (getLabelFont): adjust
1124 (getLayoutFont): adjust
1126 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1128 2003-04-15 John Levon <levon@movementarian.org>
1132 * lyx_main.C: handle Include in .ui files
1134 2003-04-15 John Levon <levon@movementarian.org>
1136 * MenuBackend.C: make the doc files length shorter
1139 * ToolbarBackend.C: handle toolbar placement flags,
1142 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1144 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1147 * paragraph_funcs.C (TeXOnePar): adjust
1149 * paragraph.C (getLabelFont): add outerfont arg, adjust
1150 (getLayoutFont): ditto
1151 (simpleTeXOnePar): adjust
1153 * paragraph_pimpl.C (realizeFont): delete func
1155 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1157 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1158 row argument, constify cur argument.
1160 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1162 * text2.C (getFont): adjust
1163 (getLayoutFont): adjust
1164 (getLabelFont): adjust
1166 * paragraph_funcs.C (TeXOnePar): adjust
1167 (outerFont): new func...
1168 (realizeFont): ...moved out from here, changed this to facilitate
1171 * paragraph.C (getFont): take outerfont as arg, adjust
1172 (simpleTeXOnePar): add outerfont arg, adjust
1174 * buffer.C (simpleLinuxDocOnePar): adjust
1175 (simpleDocBookOnePar): adjust
1177 * CutAndPaste.C (pasteSelection): adjust
1179 * BufferView.C (getEncoding): adjust
1181 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1183 * text2.C (setCharFont): adjust
1184 (setCounter): adjust
1186 * text.C (leftMargin): adjust
1187 (setHeightOfRow): adjust
1189 * rowpainter.C (paintFirst): adjust
1192 * paragraph_pimpl.C (realizeFont): adjust
1194 * paragraph.C (isFirstInSequence): move from here...
1195 * paragraph_funcs.C (isFirstInSequence): ...to here
1197 * paragraph.C (outerHook): move from here...
1198 * paragraph_funcs.C (outerHook): ...to here
1200 * paragraph.C (depthHook): move from here...
1201 * paragraph_funcs.C (depthHook): ...to here
1203 * paragraph.C (getEndLabel): move from here...
1204 * paragraph_funcs.C (getEndLabel): ...to here
1206 * text2.C (realizeFont): move from here...
1207 * paragraph_funcs.C (realizeFont): ...to here
1209 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1211 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1213 2003-04-14 Angus Leeming <leeming@lyx.org>
1215 * LColor.[Ch]: scrap LColor mathcursor.
1217 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1219 * lyxlex.[Ch] (text): delete function
1220 * trans.C (Load): adjust
1221 * paragraph_funcs.C (readParToken): adjust
1223 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1225 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1226 vector<char> instead of a char[].
1228 * lyxlex_pimpl.C (getString): adjust
1230 (lex): use getString
1234 * lyxlex.C (text): use pimpl_->getString()
1238 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1240 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1241 (makeFontEntriesLayoutSpecific): temp var for par.size()
1242 (setLayout): temp var for ownerParagraphs().end()
1243 (fullRebreak): temp var for rows().end()
1244 (selectionAsString): temp var for boost::next(startpit), realize
1245 that the while really is a regular for loop.
1246 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1247 setCursor in one place.
1248 (setParagraph): temp vr for ownerParagraphs().end()
1249 (updateCounters): make the while loop a for loop
1250 (cutSelection): temp var for ownerParagraphs().end()
1251 (updateInset): make the do {} while() a regular for loop
1252 (getCursorX): use temp vars
1253 (setCurrentFont): use temp vars
1254 (getColumnNearX): use temp vars
1256 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1258 * text.C (transformChar): use temp var for getChar
1259 (computeBidiTables): use temp var for row->par()
1260 (fill): move temp vars for row->par() and pit->layout() earlier in
1262 (labelFill): use temp var for row->par()
1263 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1264 asc and desc, realize that pit never changes and that firstpit is
1265 just a duplicate and not needed. Exchange rit->par() with pit in a
1267 (breakAgain): use a temp var for boost::next(rit)
1268 (breakAgainOneRow): ditto
1269 (breakParagraph): use a temp var for rows().begin()
1270 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1271 (cursorRightOneWord): use temp var for cursor.par() and
1272 cursor.pos(), remove usage of tmpcursor.
1273 (cursorLeftOneWord): use temp var for cursor.par() and
1274 cursor.pos() only set cur at end of function.
1276 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1278 * text.C, text2.C: exchange all usage of Paragraph::next with
1279 boost::next(ParagraphList::iterator)
1281 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1283 * text2.C (cursorTop): simplify implementation
1284 (cursorBottom): ditto
1285 (setParagraph): use ParagraphList::iterator
1286 (setCurrentFont): adjust
1287 (getColumnNearX): adjust
1288 (cursorRight): adjust
1289 (cursorLeft): remove usage of Paragraph::previous
1290 (cursorUpParagraph): ditto
1291 (deleteEmptyParagraphMechanism): slight cleanup
1293 * text.C (isBoundary): take a Paragraph const & instead of a
1295 (addressBreakPoint): ditto
1296 (leftMargin): remove usage of Paragraph::previous.
1297 (setHeightOfRow): ditto
1298 (cursorLeftOneWord): ditto
1299 (selectNextWordToSpellcheck): ditto
1302 (breakParagraph): remove one usage of Paragraph::next
1303 (redoParagraph): ditto
1304 (acceptChange): ditto
1305 (insertChar): adjust
1306 (rowBreakPoint): adjust
1308 * bufferview_funcs.C (toggleAndShow): adjust
1310 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1312 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1313 methods to access it.
1315 * text.C: Added updateRowPositions to compute all row positions.
1316 Make top_y and getRowNearY() to use the cached y position
1318 2003-04-11 John Levon <levon@movementarian.org>
1320 * text.C (rowBreakPoint): reintroduce the labelEnd
1321 checks, code copied from the row fill stuff. Deep voodoo.
1323 * text.C (fill): add a comment and debugging for the
1326 2003-04-11 John Levon <levon@movementarian.org>
1328 * text.C: make sure fullrow insets get wrapped to the next line,
1329 even when they're in a manual label
1331 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1333 * text2.C (insertParagraph): make it take ParagraphList::iterator
1335 (setLayout): make it return ParagraphList::iterator
1336 (redoParagraphs): ditto
1338 (checkParagraph): ditto
1340 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1342 * text2.C: adjust several funcs.
1343 (realizeFont): take a ParagraphList::iterator as arg.
1344 (getLayoutFont): ditto
1345 (getLabelFont): ditto
1346 (setCharFont): ditto
1348 * text.C: adjust several funcs.
1350 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1352 * text.C (selectNextWordToSpellcheck): don't accidentally
1355 2003-04-10 John Levon <levon@movementarian.org>
1357 * ToolbarBackend.C (getIcon): special handling for
1360 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1362 * text2.C (cursorRight): a getChar assert fixed
1364 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1366 * text2.C (getFont): change to take a ParagraphList::iterator
1367 instead of Paragraph*
1368 Adjust several functions.
1370 * text.C (transformChar): change to take a ParagraphList::iterator
1371 instead of Paragraph*
1372 (singleWidth): ditto
1373 Adjust several functions.
1375 * rowpainter.C: adjust several functions
1376 * rowpainter.h:store a ParagraphList::iterator and not a
1380 2003-04-09 John Levon <levon@movementarian.org>
1385 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1386 and the "help" bits as well
1388 2003-04-09 John Levon <levon@movementarian.org>
1391 * ToolbarBackend.C: allow multiple toolbars
1393 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1395 * undo_funcs.C (setCursorParUndo): adjust
1397 * text_funcs.C (transposeChars): adjust
1399 * text3.C (gotoNextInset): adjust
1402 * text2.C (setLayout): adjust
1403 (changeDepth): adjust
1405 (redoParagraphs): adjust
1406 (selectionAsString): adjust
1407 (setParagraph): adjust
1408 (insertInset): adjust
1409 (cutSelection): adjust
1410 (copySelection): adjust
1411 (pasteSelection): adjust
1412 (insertStringAsLines): adjust
1413 (updateInset): adjust
1414 (setCursor): change to take a ParagraphList::iterator parameter
1415 (setCursorIntern): change to take a ParagraphList::iterator parameter
1416 (setCurrentFont): adjust
1417 (cursorLeft): adjust
1418 (cursorRight): adjust
1419 (deleteEmptyParagraphMechanism): adjust
1421 * text.C (breakParagraph): adjust
1422 (insertChar): adjust
1423 (acceptChange): adjust
1424 (rejectChange): adjust
1425 (selectNextWordToSpellcheck): adjust
1426 (changeCase): adjust
1430 * lyxfind.C (SearchForward): adjust
1431 (SearchBackward): adjust
1432 (nextChange): adjust
1434 * lyxcursor.C (par): adjust
1436 * lyxcursor.h: store a ParagraphList::iterator instead of a
1439 * lyx_cb.C (getPossibleLabel): adjust
1441 * bufferview_funcs.C (toggleAndShow): adjust
1443 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1446 * BufferView.C (removeAutoInsets): adjust
1447 (lockedInsetStoreUndo): adjust
1449 2003-04-09 John Levon <levon@movementarian.org>
1451 * ToolbarBackend.C: try icon without argument
1452 if with argument fails
1454 2003-04-08 John Levon <levon@movementarian.org>
1457 * ToolbarBackend.C: add getIcon(), handle tooltip,
1458 and change from "Icon" to "Item".
1460 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1462 * BufferView.C (lockInset): another bad getchar crunched
1464 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1466 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1469 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1471 * lyxfind.C (searchForward, searchBackwards): bug 782
1473 2003-04-07 John Levon <levon@movementarian.org>
1475 * paragraph.C: remove dead comment
1477 * text.C: remove troublesome depth-fiddling code
1478 in leftMargin() and rightMargin() (bug 1017)
1480 * text.C: fix breaking of rows in nested lists
1483 * text2.C (updateCounters): fix up depth values
1486 2003-04-07 John Levon <levon@movementarian.org>
1488 * BufferView_pimpl.C: clear message when doc finishes resizing,
1489 and after a mouse event
1491 * lyxfunc.C: clear message after exiting inset
1493 2003-04-07 John Levon <levon@movementarian.org>
1495 * bufferview_funcs.C: show math status not outside
1496 status in the statusbar
1498 2003-04-07 John Levon <levon@movementarian.org>
1500 * lyxfunc.C: note status changed after a depth change
1502 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1504 * LaTeX.h: move AuxInfo operator==, != out of line.
1505 Remove LaTeX virtual destructor; nothing derives from it.
1506 Move operator()() out of public area and rename it startscript().
1507 Change protected for private.
1509 2003-04-04 Angus Leeming <leeming@lyx.org>
1512 * text2.C: remove unneeded #includes.
1514 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1516 * text2.C (dEPM): fix the heigth of the next row
1518 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1520 * text.C: squashed an invalid getChar requester + some ws changes
1522 2003-04-03 John Levon <levon@movementarian.org>
1524 * bufferview_funcs.h:
1525 * bufferview_funcs.C:
1528 * text2.C: make getStatus work for the env depth lfuns
1530 2003-04-03 John Levon <levon@movementarian.org>
1532 * bufferview_funcs.h:
1533 * bufferview_funcs.C:
1536 * text2.C: parlistize decDepth(), by merging it with incDepth()
1538 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1540 * lyxrow.h: store a ParagraphList::iterator instead of a
1541 Paragraph* and adjust other class functions to suit.
1543 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1546 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1548 * text2.C (setCursor): do not anchor to cursor row for the time being
1550 2003-04-02 John Levon <levon@movementarian.org>
1557 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1559 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1561 * paragraph.h: make ParagraphList and ParagraphList::iterator
1562 friends of Paragraph.
1564 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1566 * ParagraphList.C: Use the private next_ and previous_ from
1569 2003-04-01 John Levon <levon@movementarian.org>
1573 * Makefile.am: rename, remove defaults gunk
1576 * MenuBackend.C: remove defaults gunk
1579 * Languages.C: remove defaults gunk
1582 * lyx_main.C: error out if files couldn't be found.
1584 2003-04-02 John Levon <levon@movementarian.org>
1586 * text2.C: make incDepth() use parlist
1588 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1590 * undo_funcs.C (firstUndoParagraph): adjust
1592 * text3.C (gotoInset): adjust
1593 (dispatch): adjust, and rewrite loop.
1595 * text2.C (init): adjust, and rewrite loop.
1596 (redoParagraphs): adjust
1597 (updateInset): adjust, and rewrite loop.
1598 (deleteEmptyParagraphMechanism): adjust
1600 * tabular.C (LyXTabular): adjust
1601 (SetMultiColumn): adjust
1604 * lyxtext.[Ch] (ownerParagraph): delete function
1605 (ownerParagraphs): new function returns a ParagraphList.
1607 * BufferView.C (removeAutoInsets): adjust
1608 (insertErrors): adjust
1609 (setCursorFromRow): adjust
1611 2003-04-01 Angus Leeming <leeming@lyx.org>
1613 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1616 2003-04-02 John Levon <levon@movementarian.org>
1622 * text_funcs.C: make transposeChars a free function
1624 * lyxrow_funcs.C: remove wrong comment
1626 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1629 * rowpainter.C: adjust
1634 * lyxrow_funcs. [Ch]: new files
1636 * lyxrow.[Ch]: remove next and previous pointers
1637 (next,previous): remove accessor functions
1638 (isParEnd): move to lyxrow_funcs
1639 (lastPos): move to lyxrow_funcs
1640 (nextRowIsAllInset): move to lyxrow_funcs
1641 (lastPrintablePos): move to lyxrow_funcs
1642 (numberOfSeparators): move to lyxrow_funcs
1643 (numberOfHfills): move to lyxrow_funcs
1644 (numberOfLabelHfills): move to lyxrow_funcs
1645 (hfillExpansion): move to lyxrow_funcs
1649 * bufferview_funcs.C (toggleAndShow): adjust
1651 * RowList.h: Remove class RowList from file leave just a
1654 * RowList.C: delete file
1656 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1659 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1661 * text3.C (cursorPrevious): adjust
1662 (cursorNext): adjust
1665 * text2.C (redoHeightOfParagraph): adjust
1666 (redoDrawingOfParagraph): adjust
1669 * text.C (breakParagraph): adjust
1670 (insertChar): adjust
1673 * rowpainter.C (RowPainter): adjust
1674 (leftMargin): simplify and adjust
1675 (most rowpainter functions): adjust.
1677 * rowpainter.h: store the row as RowList::iterator not as Row*
1679 * lyxcursor.C (row): taka RowList::iterator as arg
1682 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1685 2003-04-01 Angus Leeming <leeming@lyx.org>
1687 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1688 stuff like bool Bool.
1690 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1692 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1695 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1697 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1700 * lyxtext.h (rows): drop one version and leve a const variant that
1701 returns a RowList::iterator.
1703 2003-03-31 Angus Leeming <leeming@lyx.org>
1705 * text.C (fill): ensure that the signature is the same as that in the
1708 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1710 * text2.C (redoParagraphs): adjust
1711 (updateCounters): adjust
1712 (checkParagraph): adjust
1713 (getColumnNearX): adjust and reformat a bit.
1715 * text.C (top_y): adjust
1717 (leftMargin): adjust
1718 (prepareToPrint): adjust
1720 (getRowNearY): adjust
1722 * lyxtext.h: make rowlist_ mutable.
1724 * RowList.h: add const_iterator
1725 * RowList.C: adjust for RowList::const_iterator.
1727 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1730 2003-03-31 John Levon <levon@movementarian.org>
1733 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1735 * lyx_main.C: set default fonts from using lyx_gui funcs
1737 * exporter.C: pdf_mode moved from lyxrc
1740 * lyxfunc.C: changes from above
1742 2003-03-31 John Levon <levon@movementarian.org>
1744 * lyx_main.C: fix to the last fix
1746 2003-03-31 John Levon <levon@movementarian.org>
1748 * bufferlist.C: "Load original" -> "Load Original"
1754 * format.C: more Alert cleanups
1756 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1758 * text2.C (removeParagraph): make it take a RowList::iterator as
1760 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1761 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1763 * text.C (anchor_row): make it take a RowList::iterator as arg,
1765 (computeBidiTables): make it take a const reference to Row instead
1766 of Row pointer, adjust.
1767 (leftMargin): make it take a RowList::iterator as arg, adjust.
1768 (rowBreakPoint): adjust
1769 (breakAgainOneRow): make it take a RowList::iterator as arg,
1771 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1773 * bufferview_funcs.C (toggleAndShow): adjust
1775 2003-03-30 John Levon <levon@movementarian.org>
1779 * boost-inst.C: moved to support
1781 * several files: changes as a result
1783 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1785 * text2.C (LyXText): adjust.
1787 (removeRow): make it take a RowList::iterator as arg, adjust.
1788 (fullRebreak): adjust
1789 (deleteEmptyParagraphMechanism): adjust
1790 (clearPaint): adjust
1793 * text.C (top_y): adjust
1794 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1795 (breakAgain): make it take a RowList::iterator as arg, adjust.
1796 (breakParagraph): adjust
1797 (insertChar): adjust
1800 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1801 need_break_row, and refresh_row.
1803 * text3.C (dispatch): adjust
1805 * text2.C (checkParagraph): adjust
1807 (setCursorFromCoordinates): adjust
1809 * text.C (top_y): adjust
1811 (getRow): make it return a RowList::iterator, adjust
1812 (getRowNearY): make it return a RowList::iterator, adjust
1814 * text2.C (init): adjust
1815 (insertRow): remove function
1816 (insertParagraph): adjust
1817 (redoParagraphs): adjust
1818 (fullRebreak): adjust
1819 (updateCounters): adjust
1821 * text.C (top_y): rewrite to use RowList iterators.
1823 (setHeightOfRow): rewrite to sue RowList iterators.
1824 (appendParagraph): adjust
1825 (breakAgain): adjust
1826 (breakAgainOneRow): adjust
1827 (breakParagraph): adjust
1829 (getRowNearY): adjust, and remove commented code.
1831 * lyxtext.h (firstRow): delete function
1832 (lastRow): delete function
1833 (rows): new function (const and non-const versions.)
1834 (insertRow): delete function
1836 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1838 2003-03-29 John Levon <levon@movementarian.org>
1840 * BufferView_pimpl.C: always update scrollbar top
1841 because pasting text when we're anchored could mean we
1842 miss an update altogether
1844 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1846 * text2.C (init): use rowlist_.end() and not 0.
1847 (insertRow): change to take a RowList::iterator as arg, adjust
1849 (insertParagraph): change to take a RowList::iterator as arg,
1851 (redoParagraphs): remove some debug msgs.
1853 * text.C (appendParagraph): change to take a RowList::iterator
1854 arg, adjust for this.
1855 (breakAgain): add an assert
1856 (breakAgainOneRow): ditto
1858 2003-03-29 John Levon <levon@movementarian.org>
1860 * text2.C: do not clear selection after inc/decDepth
1863 2003-03-29 John Levon <levon@movementarian.org>
1866 * buffer.C: fix broken strerrors according to Lars
1868 2003-03-29 John Levon <levon@movementarian.org>
1870 * converters.C: more Alert cleanups
1872 2003-03-29 John Levon <levon@movementarian.org>
1874 * bufferview_funcs.C: remove pointless Alert
1876 * buffer.C: fix confusing error message when
1877 a template is chmoded 000
1879 2003-03-29 John Levon <levon@movementarian.org>
1883 * BufferView_pimpl.C: Alert fixes
1887 * tabular-old.C: remove unused table compat reading
1889 2003-03-29 John Levon <levon@movementarian.org>
1894 * lyx_cb.C: more Alert cleanups
1896 * lyxfunc.C: don't allow chktex if not latex document
1898 2003-03-29 John Levon <levon@movementarian.org>
1902 * buffer.C: warnings pushed down from support/,
1905 2003-03-29 John Levon <levon@movementarian.org>
1907 * lyxfunc.C: safety check for C-r (revert)
1909 2003-03-29 John Levon <levon@movementarian.org>
1912 * bufferlist.C: several UI fixes using Alert::prompt.
1913 Fix the pointless looping quit code. Fix stupid revert
1918 * lyx_cb.C: use Alert::prompt
1920 * lyx_main.C: remove a silly question
1922 * lyxfunc.C: remove a couple of silly questions,
1925 2003-03-28 John Levon <levon@movementarian.org>
1927 * text2.C: fix bug 974 (End on empty par)
1929 2003-03-28 John Levon <levon@movementarian.org>
1931 * BufferView_pimpl.C:
1933 * lfuns.h: remove do-nothing math greek lfuns
1935 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1937 * lyxgluelength.h (isValidGlueLength): add default arg on
1938 parameter 2. Remove default arg from friend in class.
1940 * lyxlength.h (isValidLength): add default arg on parameter 2.
1941 Remove default arg from friend in class.
1943 * text2.C (LyXText): adjust, initialize refresh_row.
1947 (insertParagraph): adjst
1948 (redoParagraphs): adjust
1949 (fullRebreak): adjust
1950 (updateCounters): adjust
1951 (deleteEmptyParagraphMechanism): first attempt at fixing a
1954 * text.C (top_y): adjust
1955 (setHeightOfRow): adjust
1957 (getRowNearY): adjust
1959 * lyxtext.h: include RowList.h
1960 (~LyXText): not needed anymore, deleted.
1961 (firstRow): modify for RowList
1962 (lastRow): new function
1963 Delete firstrow and lastrow class variables, add a Rowlist
1964 rowlist_ class variable.
1966 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1969 * RowList.C (insert): fix case where it == begin().
1971 2003-03-26 Angus Leeming <leeming@lyx.org>
1973 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1974 the thesaurus dialog.
1976 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1978 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1980 * RowList.[Ch]: new files
1982 * ParagraphList.C (erase): handle the case where it == begin
1985 2003-03-25 John Levon <levon@movementarian.org>
1989 * aspell.C: add new aspell support
1992 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1995 2003-03-25 Angus Leeming <leeming@lyx.org>
1998 * LyXAction.C (init): new LFUN_INSET_INSERT.
2000 * BufferView_pimpl.C (dispatch): split out part of the
2001 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2003 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2006 2003-03-25 Angus Leeming <leeming@lyx.org>
2008 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2010 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2013 * text3.C: remove useless row->height(0)
2015 2003-03-25 John Levon <levon@movementarian.org>
2019 * text3.C: rename the refreshing stuff to better names
2021 2003-03-24 John Levon <levon@movementarian.org>
2023 * BufferView_pimpl.h:
2024 * BufferView_pimpl.C: update layout choice on a mouse
2027 2003-03-23 John Levon <levon@movementarian.org>
2029 * Makefile.am: fix commandtags.h reference
2031 2003-03-22 John Levon <levon@movementarian.org>
2033 * BufferView_pimpl.C:
2038 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2040 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2043 * text.C: take the rtl methods out of line
2045 2003-03-21 André Pönitz <poenitz@gmx.net>
2047 * metricsinfo.[Ch]: new files containing structures to be passed around
2048 during the two-phase-drawing...
2050 2003-03-21 André Pönitz <poenitz@gmx.net>
2052 * lyxtextclass.C: read 'environment' tag.
2054 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2056 * text2.C (removeRow): fix bug 964
2058 2003-03-20 John Levon <levon@movementarian.org>
2062 * text2.C: paint cleanups. Inset::update() dropped font
2065 2003-03-19 John Levon <levon@movementarian.org>
2067 * lyxfunc.C: only fitcursor/markDirty if available()
2069 2003-03-19 John Levon <levon@movementarian.org>
2071 * commandtags.h: rename to ...
2073 * lfuns.h: ... this, and renumber / cleanup
2075 2003-03-19 John Levon <levon@movementarian.org>
2077 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2078 fit the cursor after an lfun
2082 * BufferView_pimpl.h:
2083 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2085 * LyXAction.C: layout-character should have ReadOnly
2087 * ParagraphParameters.C:
2089 * bufferview_funcs.C:
2096 * undo_funcs.C: changes from above
2098 2003-03-18 John Levon <levon@movementarian.org>
2100 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2101 remove it from update()
2103 * lyxfunc.C: update layout choice after an lfun
2105 * text3.C: remove extra updateLayoutChoice()s
2107 2003-03-18 John Levon <levon@movementarian.org>
2109 * text.C: top_y change means full repaint, fix
2110 a drawing bug with cursor movement
2112 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2116 * text2.C: anchor row on setCursor
2118 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2120 * lyxtext.h: remove almost all mutable keywords
2123 * text3.C: remove const keywords accordingly
2125 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2127 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2129 (TeXEnvironment): ditto
2132 2003-03-17 John Levon <levon@movementarian.org>
2134 * text.C (rowBreakPoint): remove attempt to fix displayed
2135 math insets inside a manual label
2137 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2139 * lyxtext.h: remove BufferView* as first arg from almost all class
2141 * other files: adjust.
2143 2003-03-17 John Levon <levon@movementarian.org>
2147 * text2.C: more paint cleanups
2149 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2152 * rowpainter.C: remove "smart" background painting code
2154 2003-03-16 John Levon <levon@movementarian.org>
2159 * text3.C: add helper functions for setting refresh_row/y
2161 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2163 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2164 newline inset which *can* get inserted in the pass_thru layouts.
2165 This is primarily for literate documents.
2167 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2169 * buffer.C: increment LYX_FORMAT to 223
2171 2003-03-14 André Pönitz <poenitz@gmx.net>
2173 * textclass.h: prepare for environment handling, ws changes
2174 * lyxlayout.C: read latexheader and latexfooter tags
2176 2003-03-14 John Levon <levon@movementarian.org>
2178 * text2.C: rewrite ::status() a bit
2180 2003-03-13 John Levon <levon@movementarian.org>
2182 * lyxtext.h: add some docs
2184 2003-03-13 John Levon <levon@movementarian.org>
2189 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2191 2003-03-13 John Levon <levon@movementarian.org>
2193 * text3.C: fix appendix redrawing
2195 2003-03-13 John Levon <levon@movementarian.org>
2197 * text.C (setHeightOfRow):
2199 * rowpainter.C: make appendix mark have the text
2200 "Appendix" so the user knows what it is
2203 * LColor.C: s/appendixline/appendix/ from above
2205 2003-03-13 John Levon <levon@movementarian.org>
2207 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2209 * text.C: fix a getChar(pos) bug properly
2211 2003-03-13 Angus Leeming <leeming@lyx.org>
2214 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2215 Probably only temporary. Let's see how things pan out.
2217 * BufferView.C (unlockInset):
2218 * BufferView_pimpl.C (fitCursor):
2219 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2221 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2222 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2224 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2225 new functions that convert ParagraphParameters to and from a string.
2227 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2228 BufferView::Pimpl's dispatch.
2229 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2231 2003-03-13 André Pönitz <poenitz@gmx.net>
2235 * factory.C: make it aware of InsetEnv
2237 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2239 * text2.C (setCursor): never ask for one past last
2240 (setCursor): add some debugging messages.
2242 * text.C (singleWidth): never ask for one past last
2243 (singleWidth): ditto
2245 (rightMargin): ditto
2246 (rowBreakPoint): ditto
2247 (setHeightOfRow): ditto
2248 (prepareToPrint): ditto
2250 * rowpainter.C (paintBackground): never ask for one past last
2251 (paintText): never ask for one past last
2253 * paragraph_pimpl.C (getChar): make the assert stricter, never
2254 allow the one past last pos to be taken
2256 * paragraph.C (getChar): ws changes only
2258 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2259 (numberOfSeparators): ditto
2260 (numberOfHfills): ditto
2262 2003-03-12 John Levon <levon@movementarian.org>
2268 * paragraph_funcs.C: fix per-buffer authorlists
2270 2003-03-12 John Levon <levon@movementarian.org>
2272 * text.C: fix newline in right address
2274 2003-03-12 Angus Leeming <leeming@lyx.org>
2276 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2277 duplicate those in LyXFunc::dispatch.
2281 * ToolbarDefaults.C:
2282 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2283 Add LFUN_FONTFREE_UPDATE.
2285 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2286 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2288 * bufferview_func.[Ch]: several new functions to facilliate
2289 transfer of data to and from the character dialog.
2291 2003-03-12 John Levon <levon@movementarian.org>
2296 * paragraph_funcs.C:
2297 * paragraph_pimpl.C:
2301 * text3.C: remove META_NEWLINE in favour of an inset
2304 * rowpainter.C: remove paintNewline (done by inset)
2306 2003-03-12 John Levon <levon@movementarian.org>
2308 * paragraph_pimpl.C: complain about bad getChar()s
2309 for a while at least
2311 2003-03-12 John Levon <levon@movementarian.org>
2314 * buffer.C: move paragraph read into a separate function,
2315 a little renaming to reflect that.
2318 * bufferparams.C: remove the author_ids map, not necessary now
2321 * factory.C: moved Buffer::readInset to here
2323 * paragraph_funcs.h:
2324 * paragraph_funcs.C: readParagraph free function moved from
2327 * tabular.C: name change
2329 2003-03-12 John Levon <levon@movementarian.org>
2332 * ParagraphParameters.C: move par params input to
2335 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2336 behave like a normal read from the stream wrt reading
2337 a line vs. a \\token
2339 2003-03-12 John Levon <levon@movementarian.org>
2342 * ParagraphParameters.h:
2343 * ParagraphParameters.C: move output code to a
2346 2003-03-12 John Levon <levon@movementarian.org>
2348 * BufferView.C (insertLyXFile):
2351 * tabular.C: use a parlist iterator for creating the
2354 2003-03-12 John Levon <levon@movementarian.org>
2356 * buffer.C: make current_change static local not
2359 2003-03-12 John Levon <levon@movementarian.org>
2361 * buffer.C: fix insertStringAsLines for change tracking
2363 2003-03-12 John Levon <levon@movementarian.org>
2370 * bufferparams.C: move author list into params. Rename some
2371 functions. Move the header reading into a separate token
2372 loop. Move the header token reading into BufferParams.
2374 2003-03-12 John Levon <levon@movementarian.org>
2376 * changes.C: put debug inside lyxerr.debugging() checks
2378 2003-03-11 André Pönitz <poenitz@gmx.net>
2380 * factory.C: make it aware of InsetHFill
2382 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2384 * buffer.C (latexParagraphs): move function from here...
2385 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2388 2003-03-10 Angus Leeming <leeming@lyx.org>
2390 * LyXAction.C (init): fix bug in poplating array with multiple entries
2391 with the same LFUN (spotted by JMarc).
2393 2003-03-10 John Levon <levon@movementarian.org>
2396 * text2.C: move getColumnNearX() near its
2399 2003-03-10 John Levon <levon@movementarian.org>
2401 * text.C: fix break before a minipage
2403 2003-03-10 John Levon <levon@movementarian.org>
2405 * text.C: fix the last commit
2407 2003-03-09 John Levon <levon@movementarian.org>
2411 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2412 bug 365 (don't break before insets unless needed). Don't
2413 return a value > last under any circumstances.
2415 2003-03-09 Angus Leeming <leeming@lyx.org>
2417 * BufferView_pimpl.C (trackChanges, dispatch): call
2418 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2420 2003-03-09 Angus Leeming <leeming@lyx.org>
2422 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2423 than Dialogs::showAboutlyx().
2425 2003-03-09 Angus Leeming <leeming@lyx.org>
2427 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2428 than Dialogs::showTabularCreate().
2430 2003-03-09 John Levon <levon@movementarian.org>
2434 * text2.C: 3rd arg to nextBreakPoint was always the same.
2437 2003-03-08 John Levon <levon@movementarian.org>
2444 * text2.C: Remove the "main" bit from the "main body"
2447 2003-03-08 John Levon <levon@movementarian.org>
2449 * text.C (leftMargin): The left margin of an empty
2450 manual label paragraph should not include the label width
2453 * text.C (prepareToPrint): don't attempt to measure hfills
2454 for empty manual label paragraphs - the answer should be 0
2456 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2458 * CutAndPaste.C: remove commented code and reindent.
2460 2003-03-08 John Levon <levon@movementarian.org>
2463 * lyxfunc.C: move reloadBuffer()
2466 * BufferView.C: to here
2468 * lyxvc.C: add comment
2471 * vc-backend.C: call bv->reload() to avoid
2472 getStatus() check on MENURELOAD
2474 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2476 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2477 to an old format .dep file.
2479 2003-03-07 Angus Leeming <leeming@lyx.org>
2481 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2482 when the LFUN_MOUSE_RELEASE should have been handled by
2483 inset->localDispatch.
2485 2003-03-07 Angus Leeming <leeming@lyx.org>
2487 * BufferView_pimpl.C (dispatch):
2488 * LyXAction.C (init):
2489 * ToolbarDefaults.C (init):
2491 * lyxfunc.C (getStatus):
2492 remove LFUN_INSET_GRAPHICS.
2494 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2496 2003-03-07 Angus Leeming <leeming@lyx.org>
2499 * LyXAction.C (init):
2500 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2502 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2505 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2507 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2508 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2510 2003-03-07 Angus Leeming <leeming@lyx.org>
2512 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2515 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2517 * ParagraphList.C (front): new function
2520 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2522 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2523 and top_row_offset_. removed var first_y.
2525 * text2.C (LyXText, removeRow):
2527 * BufferView_pimpl.C:
2528 use these methods instead of using first_y
2530 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2532 * text2.C (pasteSelection): adjust for checkPastePossible
2534 * CutAndPaste.C: remove Paragraph * buf and replace with
2535 ParagraphList paragraphs.
2536 (DeleteBuffer): delete
2537 (cutSelection): change the tc type to textclass_type
2538 (copySelection): change the tc type to textclass_type
2539 (copySelection): adjust for ParagraphList
2540 (pasteSelection): change the tc type to textclass_type
2541 (pasteSelection): adjust for Paragraphlist
2542 (nrOfParagraphs): simplify for ParagraphList
2543 (checkPastePossible): simplify for ParagraphList
2544 (checkPastePossible): remove unused arg
2546 * ParagraphList.C (insert): handle the case where there are no
2549 * CutAndPaste.h: make CutAndPaste a namespace.
2551 * text3.C (dispatch): adjust
2553 * text.C (breakParagraph): add a ParagraphList as arg
2555 * paragraph_funcs.C (breakParagraph): change to take a
2556 BufferParams and a ParagraphList as args.
2557 (breakParagraphConservative): ditto
2558 (mergeParagraph): ditto
2559 (TeXDeeper): add a ParagraphList arg
2560 (TeXEnvironment): ditto
2563 * buffer.C (readLyXformat2): adjust
2564 (insertStringAsLines): adjust
2565 (latexParagraphs): adjust
2567 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2568 (cutSelection): adjust
2569 (pasteSelection): adjust
2571 * BufferView_pimpl.C (insertInset): adjust
2573 2003-03-05 Angus Leeming <leeming@lyx.org>
2576 * LyXAction.C (init):
2577 * BufferView_pimpl.C (dispatch):
2578 * lyxfunc.C (getStatus):
2579 remove LFUN_CHILD_INSERT.
2581 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2583 2003-03-05 Angus Leeming <leeming@lyx.org>
2586 * LyXAction.C (init):
2587 * src/factory.C (createInset):
2588 * lyxfunc.C (getStatus):
2589 * text3.C (dispatch):
2590 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2592 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2594 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2596 * ParagraphList.C (insert): handle insert right before end()
2597 (erase): fix cases where it can be first or last paragraph.
2599 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2601 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2602 Paragraph::next and Paragraph::previous
2605 * text.C (breakParagraph): adjust
2607 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2608 BufferParams& as arg.
2609 (breakParagraph): use ParagraphList::insert
2610 (breakParagraphConservative): take a Buffer* instead of a
2611 BufferParams& as arg.
2612 (breakParagraphConservative): use ParagraphList::insert.
2614 * buffer.C (insertStringAsLines): un-const it
2615 (insertStringAsLines): adjust
2617 * ParagraphList.C (insert): new function
2619 * CutAndPaste.C (pasteSelection): adjust
2621 * text.C (backspace): adjust
2623 * tabular.C (SetMultiColumn): adjust
2625 * CutAndPaste.C (cutSelection): adjust
2626 (pasteSelection): adjust
2628 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2629 Buffer const * as arg
2631 * ParagraphList.C (erase): new function
2632 * paragraph_funcs.C (mergeParagraph): use it
2633 (mergeParagraph): make it take a Buffer* instead of a
2634 BufferParams* as arg
2636 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2638 (breakParagraphConservative): ditto
2640 * paragraph.h: remove the breakParagraph friend
2642 * paragraph.C (eraseIntern): new function
2643 (setChange): new function
2645 * paragraph_funcs.C (mergeParagraph): make it take a
2646 ParagraphList::iterator instead of a Paragraph *, adjust
2649 * paragraph.h: move an #endif so that the change tracking stuff
2650 also works in the NO_NEXT case.
2652 2003-03-04 Angus Leeming <leeming@lyx.org>
2655 * LyXAction.C: new LFUN_INSET_MODIFY.
2657 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2658 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2660 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2662 * several files: ws changes only
2664 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2665 (TeXEnvironment): ditto
2668 * buffer.C (makeLaTeXFile): adjust
2669 (latexParagraphs): make it take ParagraphList::iterator as args
2671 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2673 * buffer.C (latexParagraphs): adjust
2675 * paragraph.C (TeXOnePar): move function...
2676 (optArgInset): move function...
2677 (TeXEnvironment): move function...
2678 * paragraph_pimpl.C (TeXDeeper): move function...
2679 * paragraph_funcs.C: ...here
2681 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2683 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2685 * buffer.C (readInset): remove compability code for old Figure and
2688 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2690 * buffer.C: ws changes
2693 * BufferView_pimpl.C: ditto
2696 * bufferlist.h: ditto
2700 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2702 * converter.[Ch]: split into itself +
2705 * Makefile.am: += graph.[Ch] + format.[Ch]
2712 * lyxrc.C: added #include "format.h"
2714 2003-02-27 Angus Leeming <leeming@lyx.org>
2716 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2719 * factory.C (createInset): add "label" to the factory.
2721 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2722 string and do no more.
2724 2003-02-27 Angus Leeming <leeming@lyx.org>
2727 * LyXAction.C (init):
2728 * factory.C (createInset):
2729 * BufferView_pimpl.C (dispatch):
2730 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2732 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2734 * lyxfunc.C (dispatch):
2735 * text3.C (dispatch): pass name to params2string.
2737 2003-02-26 Angus Leeming <leeming@lyx.org>
2739 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2741 Rearrange the ~includes. Strip out the unnecessary ones.
2743 * factory.C (createInset): reformat.
2744 create new insets for the various LFUN_XYZ_APPLY lfuns.
2746 2003-02-26 John Levon <levon@movementarian.org>
2749 * lyxrow.C: add isParStart,isParEnd helpers
2751 * paragraph.h: make isInserted/DeletedText take refs
2753 * paragraph_funcs.h:
2754 * paragraph_funcs.C: remove #if 0'd code
2759 * text.C: use lyxrow helpers above.
2760 Move draw and paint routines to RowPainter.
2761 Make several methods use refs not pointers.
2762 Make backgroundColor() const.
2763 Add markChangeInDraw(), isInInset().
2764 Merge changeRegionCase into changeCase.
2765 Make workWidth() shouldn't-happen code into an Assert.
2768 * rowpainter.C: new class for painting a row.
2771 * vspace.C: make inPixels take a ref
2773 2003-02-26 Angus Leeming <leeming@lyx.org>
2775 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2778 2003-02-25 John Levon <levon@movementarian.org>
2780 * ispell.C: give the forked command a more accurate name
2782 2003-02-22 John Levon <levon@movementarian.org>
2785 * toc.C: make TocItem store an id not a Paragraph *
2788 2003-02-21 Angus Leeming <leeming@lyx.org>
2790 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2791 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2792 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2793 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2794 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2795 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2797 * BufferView_pimpl.C (dispatch):
2798 * LyXAction.C (init):
2799 * factory.C (createInset):
2800 * lyxfunc.C (getStatus, dispatch):
2801 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2803 2003-02-21 Angus Leeming <leeming@lyx.org>
2805 * BufferView_pimpl.C (MenuInsertLyXFile):
2806 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2807 * lyxfunc.C (menuNew, open, doImport):
2808 no longer pass a LyXView & to fileDlg.
2810 2003-02-21 Angus Leeming <leeming@lyx.org>
2812 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2813 * LyXAction.C: change, BIBKEY to BIBITEM.
2814 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2815 Change InsetBibKey to InsetBibitem.
2816 Change BIBKEY_CODE to BIBITEM_CODE.
2817 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2818 * factory.C: replace insetbib.h with insetbibitem.h.
2819 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2820 * paragraph.C: replace insetbib.h with insetbibitem.h.
2821 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2822 Change bibkey() to bibitem().
2823 * text.C: remove insetbib.h.
2824 * text2.C: replace insetbib.h with insetbibitem.h.
2825 change bibkey() to bibitem().
2826 * text3.C: remove insetbib.h.
2827 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2829 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2831 * lyxrc.C (output): enclose user email in quotes (in case there are
2834 2003-02-18 John Levon <levon@movementarian.org>
2836 * buffer.h: add std::
2838 2003-02-17 John Levon <levon@movementarian.org>
2844 * pspell.C: reworking. Especially in ispell, a large
2845 number of clean ups and bug fixes.
2847 * lyxfunc.C: fix revert to behave sensibly
2849 2003-02-17 André Pönitz <poenitz@gmx.net>
2852 * commandtags.h: new LFUN_INSERT_BIBKEY
2862 * paragraph_func.C: remove special bibkey handling
2864 2003-02-17 John Levon <levon@movementarian.org>
2866 * text.C (Delete): fix case where delete at the end of
2867 the very first paragraph would not merge the pars
2869 2003-02-17 John Levon <levon@movementarian.org>
2871 * lyxrow.C: fix lastPrintablePos()
2873 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2875 * bufferparams.C (writeLaTeX): add a std:here
2877 * buffer.C: and remove a using directive there
2879 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2881 * buffer.C (makeLaTeXFile): move the code that generates the
2884 * bufferparams.C (writeLaTeX): ... in this new method
2886 * LaTeXFeatures.C (getEncodingSet): make const
2887 (getLanguages): make const
2889 * MenuBackend.C (binding): returns the binding associated to this
2891 (add): sets the status of each item by calling getStatus. Adds
2893 (read): add support for OptSubMenu
2894 (expand): remove extra separator at the end of expanded menu
2896 2003-02-15 John Levon <levon@movementarian.org>
2899 * BufferView_pimpl.C:
2901 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2902 inset code that had no actual effect. Remove unneeded status
2905 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2907 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2910 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2912 * text.C (drawLengthMarker): also draw an arrow marker for
2913 symbolic lengths (medskip...)
2915 2003-02-14 John Levon <levon@movementarian.org>
2918 * tabular.C: better method names
2920 2003-02-14 John Levon <levon@movementarian.org>
2922 * BufferView_pimpl.C:
2927 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2928 it's a more accurate name. Remove some pointless uses.
2930 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2932 * text2.C (LyXText): change order of initilizers to shut off
2935 2003-02-14 John Levon <levon@movementarian.org>
2937 * buffer.C: use ParIterator for getParFromID()
2941 * paragraph_pimpl.h:
2942 * paragraph_pimpl.C: remove unused getParFromID()
2944 2003-02-14 John Levon <levon@movementarian.org>
2946 * buffer.C: remove some very old #if 0'd parse code
2948 2003-02-13 John Levon <levon@movementarian.org>
2952 * text2.C: move hfillExpansion(), numberOfSeparators(),
2953 rowLast(), rowLastPrintable(), numberofHfills(),
2954 numberOfLabelHfills() ...
2957 * lyxrow.C: ... to member functions here.
2962 * text.C: remove LyXText::beginningOfMainBody(), and call
2963 p->beginningOfMainBody() directly. Move the check for
2964 LABEL_MANUAL into the latter.
2971 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2977 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2978 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2980 2003-02-13 John Levon <levon@movementarian.org>
2982 * CutAndPaste.C: remove debug
2984 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2986 * paragraph.C (asString): remove two unused variables
2988 * lyxtextclass.C (readTitleType):
2990 (LyXTextClass): handle new members titletype_ and titlename_
2992 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2994 2003-02-09 John Levon <levon@movementarian.org>
2997 * buffer.C: replace hand-coded list with a map for the dep clean
2999 2003-02-08 John Levon <levon@movementarian.org>
3001 * LaTeX.C: consolidate code into showRunMessage() helper
3003 2003-02-08 John Levon <levon@movementarian.org>
3008 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3009 and pass the size in explicitly
3011 * BufferView_pimpl.h:
3012 * BufferView_pimpl.C:
3014 * BufferView.C: add getCurrentChange()
3016 * BufferView_pimpl.h:
3017 * BufferView_pimpl.C: handle change lfuns
3019 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3020 for changes. Mark pasted paragraphs as new.
3022 * support/lyxtime.h:
3023 * support/lyxtime.C:
3024 * DepTable.C: abstract time_t as lyx::time_type
3027 * LColor.C: add colours for new text, deleted text, changebars
3029 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3030 package use "usenames" option.
3034 * LyXAction.C: add change lfuns
3038 * author.C: author handling
3041 * buffer.C: add a per-buffer author list, with first entry as
3042 current author. Handle new .lyx tokens for change tracking. Output
3043 author list to .lyx file. Output dvipost stuff to .tex preamble.
3044 Bump lyx format to 222.
3047 * bufferlist.C: add setCurrentAuthor() to reset current author details
3051 * bufferparams.C: add param for tracking
3053 * bufferview_funcs.C: output change info in minibuffer
3057 * changes.C: add change-tracking structure
3060 * debug.C: add CHANGES debug flag
3063 * lyxfind.C: add code for finding the next change piece
3066 * lyxrc.C: add user_name and user_email
3069 * lyxrow.C: add a metric for the top of the text line
3072 * text.C: implement accept/rejectChange()
3075 * text.C: paint changebars. Paint new/deleted text in the chosen
3076 colours. Strike through deleted text.
3080 * paragraph_pimpl.h:
3081 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3082 in the current change to the insert functions. Rework erase to
3083 mark text as deleted, adding an eraseIntern() and a range-based
3084 erase(). Implement per-paragraph change lookup and
3087 * paragraph_funcs.C: Fixup paste for change tracking.
3089 * tabular.C: mark added row/columns as new.
3091 * text.C: fix rowLast() to never return -1. Don't allow
3092 spellchecking of deleted text. Track transpose changes. Don't
3093 allow paragraph break or merge where appropriate.
3095 * text2.C: leave cursor at end of selection after a cut.
3097 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3099 * text.C (getLengthMarkerHeight):
3100 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3101 visible on screen too.
3103 2003-02-07 John Levon <levon@movementarian.org>
3105 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3107 2003-02-05 Angus Leeming <leeming@lyx.org>
3109 * lyxserver.C (read_ready): revert my patch of 11 September last year
3110 as it sends PC cpu through the roof. Presumably this means that
3111 the lyxserver will no longer run on an Alpha...
3113 2003-01-30 Angus Leeming <leeming@lyx.org>
3115 * factory.C (createInset): create an InsetCommandParam of type "index"
3116 and use it to 'do the right thing'.
3118 * text2.C (getStringToIndex): ensure that cursor position is always
3119 reset to the reset_cursor position.
3121 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3123 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3126 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3130 * lyxfunc.C: Output messages with identical spelling, punctuation,
3133 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3135 * MenuBackend.C (expandFormats): List only viewable export formats
3138 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3141 * lyxfunc.C (getStatus): Make sure that formats other than
3142 "fax" can also be disabled
3144 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3146 * text3.C (dispatch): put the lfuns that insert insets in 3
3147 groups, and call doInsertInset with appropriate arguments.
3148 (doInsertInset): new function, that creates an inset and inserts
3149 it according to some boolean parameters.
3151 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3153 * buffer.C (readFile): remember to pass on 'par' when calling
3154 readFile recursively.
3156 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3158 * MenuBackend.C (expandFormats): add "..." to import formats.
3160 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3162 * paragraph.C (asString): Remove XForms RTL hacks.
3164 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3165 * buffer.C: fix typo
3167 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3169 * Makefile.am (LIBS): delete var
3170 (lyx_LDADD): add @LIBS@ here instead.
3172 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3174 * Clarify the meaning of "wheel mouse jump"
3176 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3178 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3181 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3183 * importer.C (Loaders): do not preallocate 3 elements in the
3184 vector, since one ends up with 6 elements otherwise
3186 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3188 * DepTable.C (write): write the file name as last element of the
3189 .dep file (because it may contain spaces)
3190 (read): read info in the right order
3192 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3194 * paragraph_pimpl.C (simpleTeXBlanks):
3195 (simpleTeXSpecialChars):
3196 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3198 * tabular.C (latex): add some missing case statements. Reindent.
3200 * MenuBackend.C (expandToc): remove unused variable.
3202 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3211 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3214 2003-01-05 John Levon <levon@movementarian.org>
3217 * BufferView.C: add getEncoding()
3220 * kbsequence.C: do not store last keypress
3223 * lyxfunc.C: store last keypress here instead. Pass encoding
3226 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3228 * lyx_main.C (init): remove annoying error message when following
3229 symbolic links (bug #780)
3231 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3233 * text.C (insertChar):
3234 * lyxrc.C (getDescription): remove extra spaces
3236 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3238 * lyxrc.C (getDescription): remove extra spaces
3240 2002-12-20 John Levon <levon@movementarian.org>
3242 * text3.C: hack fix for page up/down across tall rows
3244 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3246 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3249 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3251 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3252 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3253 thesaurus is not compiled in
3255 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3257 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3259 2002-12-16 Angus Leeming <leeming@lyx.org>
3262 * lyx_main.C (init): remove override_x_deadkeys stuff.
3264 2002-12-12 John Levon <levon@movementarian.org>
3266 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3267 insert. Only remove shift modifier under strict
3270 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3272 * MenuBackend.C (expandToc): fix crash.
3274 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3276 * MenuBackend.C (expandToc): gettext on float names.
3278 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3280 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3281 implement bool empty() [bug 490]
3283 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3285 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3287 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3289 * several files: ws changes
3291 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3293 * text2.C (setCounter): clean up a bit, use boost.format.
3294 (updateCounters): initialize par upon declaration.
3296 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3297 if the layout exists. We do not just store the layout any more.
3298 (SwitchLayoutsBetweenClasses): use boost.format
3300 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3302 * converter.C (convert): if from and to files are the same, use a
3303 temporary files as intermediary
3305 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3308 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3310 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3312 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3314 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3316 * tabular.C (asciiPrintCell): use string(size, char) instead of
3319 * sgml.C (openTag): fix order of arguments to string constructor
3322 * lyxfunc.C (dispatch): use boost.format
3324 * lots of files: change "c" -> 'c'
3326 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3328 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3330 2002-11-25 Angus Leeming <leeming@lyx.org>
3332 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3334 * lyx_main.C (init): compile fix.
3336 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3338 * lyx_cb.C (start): boost.formatify
3339 do not include <iostream>
3341 * lengthcommon.C: ws only
3343 * boost-inst.C,BoostFormat.h: add more explict instantations
3345 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3347 * lots of files: handle USE_BOOST_FORMAT
3349 2002-11-21 John Levon <levon@movementarian.org>
3351 * pspell.C: fix compile
3353 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3355 * lyxfunc.C (dispatch): use boost::format
3359 * lyxfont.C (stateText): use boost::format
3361 * lyx_main.C (LyX): use boost::format
3363 (queryUserLyXDir): ditto
3366 (typedef boost::function): use the recommened syntax.
3368 * importer.C (Import): use boost::format
3370 * debug.C (showLevel): use boost::format
3372 * converter.C (view): use boost::format
3377 * bufferview_funcs.C (currentState): use boost::format
3379 * bufferlist.C (emergencyWrite): use boost::format
3381 * buffer.C (readLyXformat2): use boost::format
3382 (parseSingleLyXformat2Token): ditto
3384 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3386 * LaTeX.C (run): use boost::format
3388 * Chktex.C (scanLogFile): use boost::format
3390 * BufferView_pimpl.C (savePosition): use boost::format
3391 (restorePosition): ditto
3392 (MenuInsertLyXFile): ditto
3394 * BoostFormat.h: help file for explicit instation.
3396 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3398 * tabular.C (latex): Support for block alignment in fixed width
3401 2002-11-17 John Levon <levon@movementarian.org>
3403 * BufferView_pimpl.C:
3405 * lyxfunc.C: split filedialog into open/save
3407 2002-11-08 Juergen Vigna <jug@sad.it>
3409 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3410 by my last patch (hopefully).
3412 2002-11-08 John Levon <levon@movementarian.org>
3421 * toc.C: ParConstIterator, and use it (from Lars)
3423 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3425 * lyxtextclass.[Ch]: revise and add doxygen comments
3427 2002-11-07 John Levon <levon@movementarian.org>
3429 * text.C: fix progress value for spellchecker
3431 * toc.C: fix navigate menu for insetwrap inside minipage
3433 * paragraph_funcs.C: added FIXME for suspect code
3435 2002-11-07 John Levon <levon@movementarian.org>
3437 * BufferView_pimpl.C: fix redrawing of insets
3440 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3442 * text2.C (updateCounters): fix bug 668
3444 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3446 * text3.C (dispatch): Do not make the buffer dirty when moving the
3449 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3451 * vc-backend.C: STRCONV
3454 * text2.C (setCounter): STRCONV
3456 * paragraph.C (asString): STRCONV
3458 * lyxlength.C (asString): STRCONV
3459 (asLatexString): ditto
3461 * lyxgluelength.C (asString): STRCONV
3462 (asLatexString): ditto
3464 * lyxfunc.C (dispatch): STRCONV
3467 * lyxfont.C (stateText): STRCONV
3469 * importer.C (Import): STRCONV
3471 * counters.C (labelItem): STRCONV
3472 (numberLabel): ditto
3473 (numberLabel): remove unused ostringstream o
3478 * bufferview_funcs.C (currentState): STRCONV
3480 * buffer.C (readFile): STRCONV
3481 (asciiParagraph): ditto
3482 (makeLaTeXFile): ditto
3484 * Spacing.C (writeEnvirBegin): STRCONV
3486 * LaTeXFeatures.C (getLanguages): STRCONV
3487 (getPackages): ditto
3489 (getBabelOptions): ditto
3490 (getTClassPreamble): ditto
3491 (getLyXSGMLEntities): ditto
3492 (getIncludedFiles): ditto
3496 (scanAuxFile): ditto
3499 * LString.h: add the STRCONV macros
3501 * BufferView_pimpl.C (savePosition): STRCONV
3502 (restorePosition): ditto
3503 (MenuInsertLyXFile): ditto
3505 * vc-backend.C (scanMaster): change from submatch[...] to
3508 * funcrequest.C: include config.h
3510 * factory.C: include config.h
3512 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3514 * box.C: include config.h
3516 * LaTeX.C (scanAuxFile): change from submatch[...] to
3520 2002-10-25 Angus Leeming <leeming@lyx.org>
3522 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3524 * ispell.[Ch] (setError): new method.
3525 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3526 Use setError() insetead of goto END.
3528 * lyx_cb.C (AutoSave): move out child process into new class
3531 2002-10-30 John Levon <levon@movementarian.org>
3533 * text3.C: make start appendix undoable
3535 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3537 * lyxlength.C (inPixels): Fix returned value.
3539 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3542 2002-10-24 Angus Leeming <leeming@lyx.org>
3544 * lyxgluelength.h: no need to forward declare BufferParams
3545 or BufferView, so don't.
3547 2002-10-21 John Levon <levon@movementarian.org>
3549 * BufferView.C: menuUndo ->undo, redo
3551 * BufferView.h: document, remove dead, make some methods private
3553 * paragraph_funcs.h:
3554 * paragraph_funcs.C:
3555 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3560 * sgml.C: move sgml open/close tag into sgml.C
3562 * bufferview_funcs.h: unused prototype
3565 * lyxfunc.C: remove unused
3568 * text.C: remove unused
3570 2002-10-21 John Levon <levon@movementarian.org>
3574 * BufferView_pimpl.h:
3575 * BufferView_pimpl.C: fix mouse wheel handling based on
3576 patch from Darren Freeman
3578 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3580 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3582 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3584 * lyxlength.C (inPixels): Fix hanfling of negative length.
3585 Fix LyXLength::MU case.
3587 2002-10-16 John Levon <levon@movementarian.org>
3589 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3591 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3593 * converter.C (view): add support for $$i (file name) and $$p
3594 (file path) for the viewer command. If $$i is not specified, then
3595 it is appended to the command (for compatibility with old syntax)
3597 2002-10-14 Juergen Vigna <jug@sad.it>
3599 * undo_funcs.C (textHandleUndo): alter the order in which the
3600 new undopar is added to the LyXText, as we have to set first
3601 the right prev/next and then add it as otherwise the rebuild of
3602 LyXText is not correct. Also reset the cursor to the right paragraph,
3603 with this IMO we could remove the hack in "redoParagraphs()".
3605 2002-10-09 Angus Leeming <leeming@lyx.org>
3607 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3608 to turn off an optimisation if a new inset is to be inserted.
3610 2002-10-11 André Pönitz <poenitz@gmx.net>
3612 * lyxtext.h: make some functions public to allow access
3613 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3615 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3617 * text3.C (dispatch): when changing layout, avoid an infinite loop
3620 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3622 * lyxrc.C (read): treat a viewer or converter command of "none" as
3625 * MenuBackend.C (expandFormats): for an update, also allow the
3626 formats that are not viewable
3628 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3629 script if it is newer than the lyxrc.defaults in user directory
3631 2002-10-07 André Pönitz <poenitz@gmx.net>
3633 * text.C: Vitaly Lipatov's small i18n fix
3635 2002-09-25 Angus Leeming <leeming@lyx.org>
3637 * ispell.h: doxygen fix.
3639 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3641 * buffer.h (readFile): Add a new argument to the method, to allow
3642 reading of old-format templates.
3644 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3646 * toc.C (getTocList): Get TOC from InsetWrap.
3648 2002-09-16 John Levon <levon@movementarian.org>
3650 * lyxfunc.C: check tabular for cut/copy too
3652 2002-09-12 John Levon <levon@movementarian.org>
3657 * factory.C: add header
3659 * paragraph_funcs.h:
3660 * paragraph_funcs.C: cleanup
3662 2002-09-11 John Levon <levon@movementarian.org>
3664 * PrinterParams.h: odd/even default to true
3666 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3668 * PrinterParams.h: update printer parameters for new xforms dialog
3670 2002-09-11 Angus Leeming <leeming@lyx.org>
3672 * lyxserver.C (read_ready): re-write to make it more transparent
3673 and to make it work in coherent fashion under Tru64 Unix.
3675 2002-09-11 André Pönitz <poenitz@gmx.net>
3679 * text3.C: implement LFUN_WORDSEL
3681 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3683 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3684 make floatlist_ a boost::shared_ptr<FloatList>
3686 * lyxtextclass.C: include FloatList.h
3687 (LyXTextClass): initialize floatlist_
3688 (TextClassTags): add TC_NOFLOAT
3689 (Read): match "nofloat" to TC_NOFLOAT and use it.
3690 (readFloat): modify call to floatlist_
3694 * FloatList.[Ch] (FloatList): remove commented out float
3696 (erase): new function
3698 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3700 * MenuBackend.C (expandToc): fix crash when there is no document
3703 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3705 * many files: Add insetwrap.
3707 2002-09-09 John Levon <levon@movementarian.org>
3709 * text2.C: remove confusing and awkward depth wraparound
3711 2002-09-09 John Levon <levon@movementarian.org>
3713 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3716 * buffer.C: remove getIncludeonlyList()
3719 * lyxfunc.C: remove headers
3721 2002-09-09 Juergen Vigna <jug@sad.it>
3723 * text.C (getColumnNearX): fix form Michael this is most
3724 probably a cut&paste bug.
3726 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3728 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3730 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3731 references, ws changes.
3733 * text2.C (init): update counters after init
3734 (insertParagraph): no need to set counter on idividual paragraphs.
3735 (setCounter): access the counters object in the textclass object
3736 on in the buffer object.
3737 (updateCounters): ditto
3739 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3740 shared_ptr<Counters> to avoid loading counters.h in all
3742 (LyXTextClass): initialize ctrs_
3743 (TextClassTags): add TC_COUNTER, and ...
3744 (Read): use it here.
3745 (CounterTags): new tags
3746 (readCounter): new function
3747 (counters): new funtion
3748 (defaultLayoutName): return a const reference
3750 * counters.C (Counters): remove contructor
3751 (newCounter): remove a couple of unneeded statements.
3752 (newCounter): simplify a bit.
3753 (numberLabel): some small formatting changes.
3755 * buffer.[Ch]: remove all traces of counters, move the Counters
3756 object to the LyXTextClass.
3758 2002-09-06 Alain Castera <castera@in2p3.fr>
3760 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3761 package to set the horizontal alignment on fixed width columns.
3764 * lyx_sty.h: added tabularnewline macro def.
3766 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3768 2002-09-06 John Levon <levon@movementarian.org>
3770 * LyXAction.C: tooltips for sub/superscript
3772 * MenuBackend.C: a bit more verbose
3774 * lyxfunc.C: tiny clean
3776 * undo_funcs.C: document undo_frozen
3778 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3780 * counters.C (Counters): add missing algorithm counter.
3782 * text2.C (setCounter): lookup the counter with layouts latexname
3783 instead of by section number.
3784 (setCounter): use a hackish way to lookup the correct enum
3786 a float name->type change
3787 reset enum couners with counter name directly instead of depth value.
3789 * counters.C (Counters): remove the push_backs, change to use the
3790 float type not the float name.
3791 (labelItem): remove unused string, float name->type change
3793 * counters.h: don't include vector, loose the enums and sects vectors
3795 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3797 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3798 (Read): add float->TC_FLOAT to textclassTags
3799 (Read): and handle it in the switch
3800 (readFloat): new function
3802 * FloatList.C (FloatList): comment out the hardcoded float
3805 * lyxlayout.h: ws change.
3807 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3809 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3811 2002-09-03 Angus Leeming <leeming@lyx.org>
3813 * BufferView_pimpl.h: qualified name is not allowed in member
3814 declaration: WorkArea & Pimpl::workarea() const;
3816 * factory.C: added using std::endl directive.
3818 * text3.C: added using std::find and std::vector directives.
3820 2002-08-29 André Pönitz <poenitz@gmx.net>
3823 * text2.C: remove unused member number_of_rows
3826 * BufferView2.C: remove file, move contents to...
3827 * BufferView.C: ... here
3829 * BufferView_pimpl.C:
3830 * factory.C: move more inset creation to factory
3832 * vspace.C: avoid direct usage of LyXText, ws changes
3835 don't provide direct access to WorkArea, use two simple
3836 acessors haveSelction() and workHeight() instead
3839 2002-08-29 John Levon <levon@movementarian.org>
3841 * BufferView_pimpl.C (dispatch): do not continue when
3844 2002-08-28 André Pönitz <poenitz@gmx.net>
3846 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3849 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3851 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3853 * buffer.C: increment LYX_FORMAT to 221
3855 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3856 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3858 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3860 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3862 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3864 * factory.C (createInset): use LyXTextClass::floats
3866 * MenuBackend.C (expandFloatListInsert):
3867 (expandFloatInsert):
3870 * text2.C (setCounter):
3872 * LaTeXFeatures.C (useFloat):
3873 (getFloatDefinitions):
3875 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3877 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3878 floatlist_, with accessor floats().
3880 * FloatList.h: remove global FloatList
3882 2002-08-26 André Pönitz <poenitz@gmx.net>
3884 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3888 * BufferView_pimpl.C:
3889 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3891 2002-08-25 John Levon <levon@movementarian.org>
3893 * LyXAction.C: fix margin note description
3895 2002-08-24 John Levon <levon@movementarian.org>
3899 * bufferview_funcs.C:
3901 * undo_funcs.C: cleanups
3903 * lyxfunc.C: disable CUT/COPY when no selection
3905 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3907 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3908 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3910 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3911 Add backward compatibility to "mono", "gray" and "no".
3913 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3915 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3916 (and file_format >= 200).
3918 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3920 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3922 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3924 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3926 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3928 * BufferView_pimpl.C:
3935 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3936 inset and code to make it work with the paragraph code. The inset
3937 can be anywhere in the paragraph, but will only do the expected
3938 thing in LaTeX if the layout file contains the parameter line
3940 (or more generally, a nonzero value) for that layout.
3942 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3944 * paragraph.h: remove the declaration of undefined counters class
3947 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3949 * text2.C (setCounter): fixed enumeration mis-count as reported by
3950 Dr. Richard Hawkins.
3952 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3954 * paragraph_funcs.h: remove some unneeded includes
3956 * text.C (backspace): pasteParagraph now in global scipe
3958 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3959 (pasteSelection): ditto
3961 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3962 * paragraph_funcs.C (pasteParagraph): ... here
3964 2002-08-20 André Pönitz <poenitz@gmx.net>
3966 * commandtags.h: new LFUNs for swapping/copying table row/colums
3969 * lyxfunc.C: support for new lfuns
3971 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3974 * buffer.[Ch]: remove NO_COMPABILITY stuff
3976 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3978 * boost.C (throw_exception): new file, with helper function for
3979 boost compiled without exceptions.
3984 * ParameterStruct.h:
3985 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3987 * bufferlist.C (emergencyWriteAll): use boost bind
3989 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3991 * text.C: include paragraph_funcs.h
3992 (breakParagraph): breakParagraph is now in global scope
3994 * paragraph_funcs.[Ch]: new files
3996 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3999 * buffer.C: include paragraph_funcs.h
4000 (insertStringAsLines): breakParagraph is now in global scope
4002 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4005 * CutAndPaste.C: include paragraph_funcs.h
4006 (cutSelection): breakParagraphConservative is now in global scope
4007 (pasteSelection): ditto
4009 * buffer.h: declare oprator== and operator!= for
4010 Buffer::inset_iterator
4012 * bufferlist.C (emergencyWrite): don't use fmt(...)
4014 * text3.C: add using std::endl
4016 * BufferView.C (moveCursorUpdate): remove default arg
4018 2002-08-20 André Pönitz <poenitz@gmx.net>
4020 * buffer.[Ch]: move inline functions to .C
4023 * BufferView_pimpl.C:
4025 * buffer.[Ch]: use improved inset_iterator
4028 * paragraph.[Ch]: write one paragraph at a time
4030 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4032 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4033 style if style is not specified.
4035 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4037 * text2.C (setCounter): when searching for right label for a
4038 caption, make sure to recurse to parent insets (so that a caption
4039 in a minipage in a figure float works) (bug #568)
4041 2002-08-20 André Pönitz <poenitz@gmx.net>
4043 * text3.C: new file for LyXText::dispatch() and helpers
4045 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4047 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4049 2002-08-19 André Pönitz <poenitz@gmx.net>
4052 * text.C: new LyXText::dispatch()
4054 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4056 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4058 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4060 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4063 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4065 * Makefile.am: use $(variables) instead of @substitutions@
4067 2002-08-15 André Pönitz <poenitz@gmx.net>
4070 * BufferView_pimpl.C: streamlining mathed <-> outer world
4074 * LyXAction.C: remove unused LFUN_MATH
4076 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4078 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4080 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4082 * paragraph.C (Paragraph): reformat a bit
4083 (cutIntoMinibuffer): use builtin InsetList function instad of
4087 * buffer.C: include boost/bind.hpp, add using std::for_each
4088 (writeFileAscii): use ParagraphList iterators
4089 (validate): use for_each for validate traversal of paragraphs
4090 (getBibkeyList): use ParagraphList iterators
4091 (resizeInsets): use for_each to resizeInsetsLyXText for all
4093 (getParFromID): use ParagraphList iterators
4095 * BufferView2.C (lockInset): use paragraph list and iterators
4097 2002-08-14 John Levon <levon@movementarian.org>
4099 * lyxserver.C: remove spurious xforms include
4101 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4103 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4105 2002-08-13 André Pönitz <poenitz@gmx.net>
4108 * lyxfunc.C: further cleaning
4110 2002-08-13 André Pönitz <poenitz@gmx.net>
4112 * funcrequest.h: new constructor
4114 * funcrequest.C: move stuff here from .h
4117 * BufferView_pimpl.C:
4120 * lyxfunc.C: subsequent changes
4122 * lyxfunc.h: new view() member function
4124 * lyxfunc.C: subsequent changes
4126 2002-08-13 Angus Leeming <leeming@lyx.org>
4129 * BufferView_pimpl.C:
4137 changes due to the changed LyXView interface that now returns references
4138 to member variables not pointers.
4140 2002-08-13 Angus Leeming <leeming@lyx.org>
4142 * WordLangTuple (word, lang_code): return references to strings,
4147 * lyxtext.h: forward-declare WordLangTuple.
4152 * text.C: #include "WordLangTuple.h".
4155 * text.C: (selectNextWordToSpellcheck): constify return type.
4157 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4163 * paragraph_pimpl.h:
4166 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4168 Made updateCounter always count from start of buffer, and removed
4169 second argument (par).
4170 Reverted floats number display to '#'. Perhaps I'll try again when the
4171 code base is sanitized a bit.
4173 2002-08-12 Angus Leeming <leeming@lyx.org>
4175 * buffer.[Ch] (getLabelList): constify.
4177 2002-08-07 André Pönitz <poenitz@gmx.net>
4179 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4181 * funcrequest.h: extension to keep mouse (x,y) position
4183 2002-08-12 Juergen Vigna <jug@sad.it>
4185 * BufferView2.C (insertErrors): forbid undo when inserting error
4188 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4190 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4192 * ParagraphList.[Ch]: new files
4194 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4196 * BufferView2.C (lockInset): ParagraphList changes
4199 * bufferlist.C: ditto
4203 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4205 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4206 unused class variable counter_,
4208 * paragraph.[Ch] (getFirstCounter): delete unused function
4210 * counters.C: include LAssert.h
4211 (reset): add a new function with no arg, change other version to
4212 not have def. arg and to not allow empty arg.
4214 * text2.C (setCounter): remove empty arg from call to Counters::reset
4216 2002-08-11 John Levon <levon@movementarian.org>
4218 * Makefile.am: add WordLangTuple.h
4220 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4222 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4223 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4225 * insets/insettext.C: InsetList changes
4227 * graphics/GraphicsSupport.C (operator()): InsetList changes
4229 * toc.C (getTocList): InsetList changes
4231 * paragraph_pimpl.[Ch]: InsetList changes
4233 * paragraph.[Ch]: InsetList changes
4235 * buffer.C (inset_iterator): InsetList changes
4236 (setParagraph): ditto
4237 * buffer.h (inset_iterator): ditto
4238 * iterators.C (operator++): ditto
4239 * iterators.h: ditto
4241 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4243 * InsetList.[Ch]: new files, most InsetList handling moved out of
4246 * BufferView2.C (removeAutoInsets): InsetList changes
4248 (ChangeInsets): ditto
4250 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4252 * paragraph_pimpl.h (empty): new function
4254 * paragraph.[Ch] (empty): new function
4256 * other files: use the new Paragraph::empty function
4258 2002-08-09 John Levon <levon@movementarian.org>
4260 * lyxtext.h: remove unused refresh_height
4262 2002-08-09 John Levon <levon@movementarian.org>
4269 * paragraph.C: move sgml char escaping out of paragraph
4272 * paragraph.C: remove id setter
4276 * paragraph_pimpl.C: remove dead tex_code_break_column
4278 * bufferview_funcs.C: small cleanup
4280 * lyxfunc.C: remove dead proto
4282 * lyxtext.h: make some stuff private. Remove some dead stuff.
4284 * lyxgluelength.C: make as[LyX]String() readable
4286 2002-08-08 John Levon <levon@movementarian.org>
4291 * ToolbarDefaults.C:
4294 * toc.C: lyxaction cleanup
4296 2002-08-08 John Levon <levon@movementarian.org>
4298 * BufferView2.C: small cleanup
4301 * lyxfind.C: move unnecessary header into the .C
4303 2002-08-08 John Levon <levon@movementarian.org>
4305 * funcrequest.h: just tedious nonsense
4308 * lyx_main.C: cleanups
4311 * vspace.C: remove dead header lyx_main.h
4313 2002-08-07 Angus Leeming <leeming@lyx.org>
4316 * paragraph_pimpl.h:
4317 Forward declare class Counters in paragraph.h by moving the ctrs member
4318 variable into Paragraph::Pimpl.
4319 (counters): new method, returning a reference to pimpl_->ctrs.
4321 * text2.C: ensuing changes.
4323 2002-08-07 John Levon <levon@movementarian.org>
4325 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4327 * BufferView_pimpl.C: announce X selection on double/triple
4330 * lyx_main.C: use correct bool in batch dispatch
4332 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4334 2002-08-07 André Pönitz <poenitz@gmx.net>
4336 * funcrequest.h: new class to wrap a kb_action and its argument
4339 * BufferView_pimpl[Ch]:
4343 * lyxrc.C: subsequent changes
4346 2002-08-07 John Levon <levon@movementarian.org>
4348 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4349 document options change.
4351 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4356 * makefile.am: move counters functionality over from
4357 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4359 2002-08-06 John Levon <levon@movementarian.org>
4361 * WordLangTuple.h: new file for word + language code tuple
4372 * BufferView2.C: use WordLangTuple
4375 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4377 2002-08-06 John Levon <levon@movementarian.org>
4379 * lyx_main.C: fix cmdline batch handling
4381 2002-08-06 André Pönitz <poenitz@gmx.net>
4383 * lyxrc.C: set default for show_banner to true
4385 2002-08-06 John Levon <levon@movementarian.org>
4387 * pspell.C: fix a crash, and allow new aspell to work
4389 2002-08-06 John Levon <levon@movementarian.org>
4392 * kbmap.C: small cleanup
4395 * vspace.C: add const
4397 2002-08-05 John Levon <levon@movementarian.org>
4399 * LyXAction.C: back to tabular-insert
4401 2002-08-04 John Levon <levon@movementarian.org>
4404 * BufferView.C: cosmetic change
4406 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4416 * BufferView2.C: purge all "Lyx" not "LyX" strings
4419 * lyxcursor.C: attempt to add some documentation
4424 * ToolbarDefaults.C:
4425 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4426 merge with LFUN_TABULAR_INSERT
4433 * pspell.C: split up i/pspell implementations into separate
4434 files, many cleanups
4436 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4438 * text2.C: some cleanup
4440 * lyxfunc.C: don't check for isp_command == "none" any more, it
4441 didn't make any sense
4443 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4448 * makefile.am: move counters functionality over
4449 from text2.C/paragraph.[Ch] to counters.[Ch], and
4451 2002-08-02 John Levon <levon@movementarian.org>
4453 * buffer.C: s/lyxconvert/lyx2lyx/
4455 2002-08-02 Angus Leeming <leeming@lyx.org>
4457 * lyxlex.C: revert John's change as it breaks reading of the user
4460 2002-08-02 Angus Leeming <leeming@lyx.org>
4462 * importer.C (Import):
4463 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4464 changes due to LyXView::view() now returning a boost::shared_ptr.
4466 2002-08-02 John Levon <levon@movementarian.org>
4468 * lyxlex.C: small cleanup
4470 2002-08-02 John Levon <levon@movementarian.org>
4472 * text2.C (status): small cleanup, no logic change
4474 2002-08-01 John Levon <levon@movementarian.org>
4477 * buffer.C (writeFile): don't output alerts, caller
4481 * lyx_cb.C: from above
4483 * lyxfunc.C: allow to open non-existent files
4485 2002-07-31 John Levon <levon@movementarian.org>
4487 * lyxserver.C: don't let incidental errors get
4490 2002-07-30 John Levon <levon@movementarian.org>
4492 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4494 2002-07-30 John Levon <levon@movementarian.org>
4497 * lyxserver.C: remove I/O callback too
4499 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4501 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4504 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4506 * many files: strip,frontStrip -> trim,ltrim,rtrim
4508 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4510 * PrinterParams.h: remove extern containsOnly, and include
4511 support/lstrings.h instead.
4513 * LaTeX.C (scanAuxFile): modify because of strip changes
4515 * buffer.C (makeLaTeXFile): ditto
4516 * bufferparams.C (writeFile): ditt
4517 * lyxfont.C (stateText): ditto
4518 * lyxserver.C (read_ready): ditto
4519 * vc-backend.C (scanMaster): ditto
4521 * BufferView_pimpl.h: ws changes
4523 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4525 2002-07-26 André Pönitz <poenitz@gmx.net>
4527 * kb_sequence.C: remove unnedred usings
4529 2002-07-26 Juergen Vigna <jug@sad.it>
4531 * lyxfind.C (LyXReplace): we have to check better if the returned
4532 text is not of theLockingInset()->getLockingInset().
4534 2002-07-25 Juergen Vigna <jug@sad.it>
4536 * lyxfind.C (LyXReplace): don't replace if we don't get the
4539 * undo_funcs.C (createUndo): remove debugging code.
4541 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4543 * buffer.C (parseSingleLyXformat2Token): Use default placement
4544 when reading old floats.
4546 * FloatList.C (FloatList): Change the default placement of figure
4547 and tables to "tbp".
4549 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4551 * MenuBackend.C: using std::max
4553 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4555 * MenuBackend.C (expandToc):
4556 (expandToc2): code moved from xforms menu frontend. It is now
4557 generic and TOCs are transparent to menu frontends.
4559 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4561 * toc.C (getTocList): protect against buf=0
4563 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4564 Menu as first parameter. Now, this calls itself recursively to
4565 expand a whole tree (this will be useful for TOC handling)
4566 (expandFloatInsert): remove 'wide' version of floats
4568 * MenuBackend.h (submenuname): returns the name of the submenu.
4569 (submenu): returns the submenu itself, provided it has been
4570 created by MenuBackend::expand
4572 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4574 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4575 insets which have noFontChange == true. (bug #172)
4577 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4579 * BufferView_pimpl.C: add connection objects and use them...
4582 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4584 * MenuBackend.C (expandLastfiles):
4587 (expandFloatListInsert):
4588 (expandFloatInsert):
4589 (expand): split expand in parts
4591 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4593 * lyx_gui.C: use lyx_gui::exit()
4595 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4597 * LyXAction.C: show the failing pseudo action
4599 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4601 * buffer.C (readFile): Run the lyxconvert script in order to read
4604 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4608 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4610 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4614 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4616 2002-07-22 Herbert Voss <voss@lyx.org>
4619 * lyxlength.[Ch]: add support for the vertical lengths
4621 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4623 * toc.[Ch]: std:: fixes
4625 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4627 * lyxrc.C: do not include lyx_main.h
4629 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4635 * BufferView2.C: include "lyxlex.h"
4638 * bufferparams.h: do not #include "lyxlex.h"
4640 * lyxtextclasslist.C (Add): remove method
4641 (classlist): renamed to classlist_
4643 * paragraph_pimpl.C:
4647 * bufferview_funcs.C:
4652 * toc.C (getTocList): use BufferParams::getLyXTextClass
4654 * toc.C (getTocList): use InsetFloat::addToToc
4656 * toc.[Ch]: new files, containing helper functions to handle table
4659 * lyxfunc.C (dispatch): no need to remove spaces around command
4661 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4662 first command of the sequence; it is not very clever, but I do not
4663 have a better idea, actually
4665 * LyXAction.C (LookupFunc): make sure to remove space at the
4666 beginning and end of the command
4668 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4670 * MenuBackend.C (getMenubar): new method: return the menubar of
4672 (read): treat differently reading of menu and menubar (in
4673 particular, the menubar has no name now)
4674 (Menu::menubar): remove
4676 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4679 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4681 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4682 a bibitem inset in a RTL paragraph.
4684 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4686 * paragraph_pimpl.C: constify
4688 * BufferView_pimpl.C:
4690 * lyxfunc.C: fix dispatch in a nicer way
4692 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4694 * lyxfunc.C (dispatch):
4695 * BufferView_pimpl.C:
4696 * BufferView_pimpl.h:
4698 * BufferView.h: rename Dispatch() to dispatch()
4700 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4702 * lyxlayout.C (Read): honor DependsOn tag
4704 * lyxlayout.[Ch] (depends_on): new method
4706 * version.C.in: update lyx_docversion
4708 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4710 * paragraph.C (validate): remove from here...
4711 * paragraph_pimpl.C (validate): ... and move here
4712 (isTextAt): make it const
4714 * buffer.C (getLists): ws cleanup
4716 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4718 * language.C (read): Use iso8859-1 encoding in latex_lang
4719 (this prevents LyX from crashing when using iso10646-1 encoding).
4721 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4723 * text2.C (toggleInset): if cursor is inside an inset, close the
4724 inset and leave cursor _after_ it
4726 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4728 * lyxfunc.C: move minibuffer completion handling out of here
4730 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4732 * BufferView_pimpl.C:
4733 * LaTeX.C: fix dispatch calls
4735 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4737 * text.C (drawChars): Fix Arabic text rendering.
4739 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4743 * lyxfunc.C: remove message-push/pop
4747 * lyxfunc.C: rationalise some code by removing verboseDispatch
4748 in favour of a bool argument to dispatch()
4750 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4752 * lyx_main.C (init): make sure to read symlinks as absolute paths
4754 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4757 * lyxfunc.C: no need for commandshortcut to be a member
4759 2002-07-15 André Pönitz <poenitz@gmx.net>
4761 * converter.C: add support for $$s (scripts from lib/scripts dir)
4762 * lyx_main.C: white space
4764 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4768 * lyxrc.C: remove second exit confirmation
4770 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4775 * BufferView_pimpl.h:
4776 * BufferView_pimpl.C:
4777 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4779 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4781 * MenuBackend.C (expand): add numeric shortcuts to document menu
4783 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4785 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4787 * lyxfont.C (setLyXFamily):
4794 * buffer.C (asciiParagraph): use ascii_lowercase
4796 2002-07-15 Mike Fabian <mfabian@suse.de>
4798 * lyxlex_pimpl.C (search_kw):
4799 * lyxlex.C (getLongString):
4800 * converter.h (operator<):
4801 * converter.C (operator<):
4802 * buffer.C (parseSingleLyXformat2Token):
4804 * ToolbarDefaults.C (read):
4805 * MenuBackend.C (checkShortcuts):
4807 * LColor.C (getFromGUIName):
4808 (getFromLyXName): use the compare_ascii_no_case instead of
4809 compare_no_case, because in turkish, 'i' is not the lowercase
4810 version of 'I', and thus turkish locale breaks parsing of tags.
4812 2002-07-16 Angus Leeming <leeming@lyx.org>
4814 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4815 now takes a Buffer const & argument.
4817 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4819 * BufferView.C (resize): check there's a buffer to resize
4821 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4823 * lyxfunc.C: remove dead code
4826 * lyxserver.C: use lyx_guii::set_read_callback
4828 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4830 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4831 an inset in a RTL paragraph.
4833 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4835 * lyxfunc.C: repaint after a font size update
4837 2002-07-15 André Pönitz <poenitz@gmx.net>
4839 * lyxlength.C: inBP should be able to return negative values
4841 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4843 * lyxfunc.C: use lyx_gui::update_fonts()
4845 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4847 * lyxfunc.C: use lyx_gui::update_color()
4849 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4855 * lyxrc.C: remove file->new asks for name option, and let
4856 buffer-new take an argument
4858 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4860 * BufferView_pimpl.C: remove unneeded extra repaint()
4862 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4864 * LyXAction.C: allow command-sequence with NoBuffer
4866 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4868 2002-07-10 Angus Leeming <leeming@lyx.org>
4870 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4872 2002-07-09 Angus Leeming <leeming@lyx.org>
4874 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4876 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4878 * lengthcommon.h: whitespace
4880 * lyxfunc.C: update scrollbar after goto paragraph
4882 * lyxtext.h: factor out page break drawing, and fix it so
4883 page break/added space paints as selected nicely
4885 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4887 * BufferView_pimpl.C: add FIXMEs, clean up a little
4889 2002-07-09 André Pönitz <poenitz@gmx.net>
4891 * lyxfont.[Ch]: support for wasy symbols
4893 2002-07-08 André Pönitz <poenitz@gmx.net>
4895 * BufferView_pimpl.C: apply John's patch for #93.
4897 2002-07-05 Angus Leeming <leeming@lyx.org>
4899 * BufferView_pimpl.C (buffer): generate previews if desired.
4901 * LColor.h: add "preview" to the color enum.
4903 * LColor.C (LColor): add a corresponding entry to the items array.
4905 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4908 2002-07-05 Angus Leeming <leeming@lyx.org>
4910 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4911 The body of the code is now in the method that is passed an ostream &
4912 rather than a file name.
4913 Pass an additional only_preamble parameter, useful for the forthcoming
4916 2002-07-03 André Pönitz <poenitz@gmx.net>
4918 * lyxfunc.C: simplify getStatus() a bit for math stuff
4920 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4922 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4924 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4926 * text.C (changeRegionCase): do not change case of all the
4927 document when region ends at paragraph end (bug #461)
4929 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4931 * paragraph.C (startTeXParParams):
4932 (endTeXParParams): add \protect when necessary
4934 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4936 * BufferView_pimpl.C (workAreaExpose): remove warning
4938 2002-06-27 Angus Leeming <leeming@lyx.org>
4940 * Makefile.am: add lyxlayout_ptr_fwd.h.
4942 2002-06-26 André Pönitz <poenitz@gmx.net>
4944 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4946 2002-06-25 Angus Leeming <leeming@lyx.org>
4948 * lyxfunc.C (dispatch): Comment out the call to
4949 grfx::GCache::changeDisplay. The method no longer exists now that the
4950 pixmap generation part of the graphics loader has been moved into
4953 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4955 * text2.C: layout as layout
4957 * text.C: layout as layout
4959 * tabular.C (OldFormatRead): layout as layout
4961 * paragraph_pimpl.C (TeXDeeper): layout as layout
4962 (realizeFont): layout as layout
4964 * paragraph.C (writeFile): layout as layout
4965 (validate): layout as layout
4966 (getFont): layout as layout
4967 (getLabelFont): layout as layout
4968 (getLayoutFont): layout as layout
4969 (breakParagraph): layout as layout
4970 (stripLeadingSpaces): layout as layout
4971 (getEndLabel): layout as layout
4972 (getMaxDepthAfter): layout as layout
4973 (applyLayout): layout as layout
4974 (TeXOnePar): layout as layout
4975 (simpleTeXOnePar): layout as layout
4976 (TeXEnvironment): layout as layout
4977 (layout): layout as layout
4978 (layout): layout as layout
4980 * lyxtextclass.C (compare_name): new functor to work with
4981 shared_ptr, layout as layout
4982 (Read): layout as layout
4983 (hasLayout): layout as layout
4984 (operator): layout as layout
4985 (delete_layout): layout as layout
4986 (defaultLayout): layout as layout
4988 * lyxlayout_ptr_fwd.h: new file
4990 * lyxlayout.C (Read): layout as layout
4992 * lyx_cb.C (MenuInsertLabel): layout as layout
4994 * bufferlist.C (newFile): layout as layout
4996 * buffer.C (readLyXformat2): layout as layout
4997 (parseSingleLyXformat2Token): layout as layout
4998 (insertStringAsLines): layout as layout
4999 (asciiParagraph): layout as layout
5000 (latexParagraphs): layout as layout
5001 (makeLinuxDocFile): layout as layout
5002 (simpleLinuxDocOnePar): layout as layout
5003 (makeDocBookFile): layout as layout
5004 (simpleDocBookOnePar): layout as layout
5005 (getLists): layout as layout
5007 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5009 * CutAndPaste.C (cutSelection): layout as layout
5010 (pasteSelection): layout as layout
5011 (SwitchLayoutsBetweenClasses): layout as layout
5013 * BufferView_pimpl.C (Dispatch): layout as layout
5014 (smartQuote): layout as layout
5016 * BufferView2.C (unlockInset): layout as layout
5018 2002-06-24 André Pönitz <poenitz@gmx.net>
5020 * lyxfunc.C: fix #487
5022 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5026 * lyxfunc.C: remove display_shortcuts, show_banner
5028 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5030 * Buffer_pimpl.C: oops, update on resize
5032 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5039 * BufferView.C: use repaint()
5041 * BufferView_pimpl.h:
5042 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5043 as it's a clearer description. Remove superfluous
5046 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5048 * text.C: fix bug 488. Not ideal, but getting
5049 getWord() to work properly for the insets that
5050 matter is more difficult ...
5052 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5054 * BufferView_pimpl.C:
5057 * lyxfunc.C: remove the six million index lyxfuncs to just
5058 one, and DTRT (bug 458)
5060 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5064 * BufferView_pimpl.h:
5065 * BufferView_pimpl.C: clean up resize() stuff,
5066 and unnecessary updateScreen()s
5068 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5072 * BufferView_pimpl.h:
5073 * BufferView_pimpl.C:
5076 * minibuffer.C: remove focus management of workarea,
5077 not needed. Use screen's greyOut()
5079 2002-06-17 Herbert Voss <voss@lyx.org>
5081 * converter.C: (convert) do not post a message, when converting
5082 fails, let the calling function decide what to do in this case
5084 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5086 * lyxfunc.C: tidy up a little
5088 2002-06-16 <alstrup@diku.dk>
5090 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5091 Got rid of FORMS_H_LOCATION include. Now we are
5094 2002-06-15 LyX Development team <lyx@rilke>
5096 * buffer.[Ch] (sgmlOpenTag):
5097 (sgmlCloseTag): Added support for avoiding pernicious mixed
5098 content. Return number of lines written.
5101 (makeDocBookFile): Fixed calls to sgml*Tag.
5102 Simple white space clean.
5104 (simpleDocBookOnePar): Simple white space clean.
5106 * tabular.[Ch] (docBook): Renamed to docbook and got another
5107 argument to related with the pernicious mixed content.
5109 (docbookRow): Fixed calls for docbook inset method.
5111 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5113 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5114 so it's X11 independent.
5118 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5120 2002-06-15 Lyx Development team <lyx@electronia>
5122 * intl.h: Renamed getTrans to getTransManager.
5124 2002-06-14 Angus Leeming <leeming@lyx.org>
5126 * Makefile.am: nuke forgotten stl_string_fwd.h.
5128 2002-06-12 Angus Leeming <leeming@lyx.org>
5130 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5132 2002-06-13 Angus Leeming <leeming@lyx.org>
5135 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5137 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5139 * kbmap.C (getiso): add support for cyrillic and greek
5141 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5145 * BufferView_pimpl.h:
5146 * BufferView_pimpl.C: move bogus scrolling logic
5149 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5152 * BufferView_pimpl.C: view->resize() change
5154 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5156 * BufferView_pimpl.C: topCursorVisible
5159 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5163 * lyx_gui.C: move to frontends/
5167 * lyx_main.C: changes from above
5169 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5176 * lyx_main.C: minor tidy
5178 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5180 * BufferView_pimpl.h:
5181 * BufferView_pimpl.C:
5183 * BufferView.C: make painter() const,
5186 * BufferView2.C: use screen() accessor
5189 * lyx_main.C: some minor cleanup
5191 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5193 * BufferView_pimpl.h:
5194 * BufferView_pimpl.C: remove enter/leaveView,
5197 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5202 * BufferView_pimpl.h:
5203 * BufferView_pimpl.C: only construct screen once,
5206 * lyxrc.C: remove pointless comment
5208 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5211 * BufferView.C: remove active() and belowMouse()
5213 * BufferView_pimpl.h:
5214 * BufferView_pimpl.C: use workarea() not workarea_,
5215 and make it use a scoped_ptr instead
5217 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5219 * lyx_gui.C: add debug message on BadWindow
5221 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5223 * sp_spell.C: fdopen is not part of the C++ standard.
5225 * paragraph.C (InsetIterator): use >= instead of ==
5227 2002-06-07 Angus Leeming <leeming@lyx.org>
5229 Fixes needed to compile with Compaq cxx 6.5.
5230 * BufferView_pimpl.C:
5237 * lyxtextclasslist.C:
5242 all c-library variables have been moved into namespace std. Wrap
5243 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5248 Add a using std::abs declaration.
5250 * kbmap.h (modifier_pair):
5251 * paragraph.h (InsetTable, InsetList):
5252 * lyxfont.h (FontBits):
5253 type definition made public.
5255 * bufferlist.C (emergencyWriteAll): the compiler complains that
5256 there is more than one possible lyx::class_fun template to choose from.
5257 I re-named the void specialisation as lyx::void_class_fun.
5259 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5261 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5262 the compiler is is unable to find tostr in write_attribute.
5264 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5266 * buffer.C (sgmlError): hide #warning
5268 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5270 * xtl/*: get rid of xtl, which is not in use anyway
5272 * LyXAction.C (init):
5273 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5274 were unimplemented xtl experimentation
5276 2002-06-04 André Pönitz <poenitz@gmx.net>
5278 * lyxfunc.C: disable array operation on simple formulae
5280 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5282 * converter.C: constify a bit
5284 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5286 * lyx_gui.C: check xforms version correctly
5288 2002-04-30 Herbert Voss <voss@lyx.org>
5290 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5293 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5295 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5296 attempt to register it with a VCS)
5298 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5300 * lyx_main.C (init): honor variables LYX_DIR_13x and
5303 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5307 * lyx_main.C: fix a crash on bad command line,
5308 and give a useful exit status on error
5310 * lyxfunc.C (doImport): allow -i lyx to work
5312 2002-03-30 André Pönitz <poenitz@gmx.net>
5314 * lyxfunc.C: mathed font changes
5316 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5331 * trans_mgr.h: srcdocs, and some minor cleanups
5333 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5335 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5336 call getFont all the time)
5338 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5340 * switch from SigC signals to boost::signals
5342 2002-05-29 André Pönitz <poenitz@gmx.net>
5344 * paragraph_pimpl.C (getChar): don't call size() too often...
5346 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5348 * paragraph_pimpl.C (insertChar): do not try to update tables when
5349 appending (pos == size())
5351 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5352 in order to reduce drastically the number of comparisons needed to
5353 parse a large document
5355 2002-05-29 André Pönitz <poenitz@gmx.net>
5361 * textclasslist.[Ch]:
5362 * sp_ispell.h: whitespace change
5364 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5366 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5367 lyxaction directly now.
5369 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5373 * lyxvc.C: remove unused headers
5375 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5382 * undo_funcs.C: some cleanups. Use shared_ptr
5383 and a template for the undo stacks.
5385 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5387 * BufferView_pimpl.h:
5388 * BufferView_pimpl.C:
5395 * text2.C: use key_state/mouse_state
5397 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5399 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5402 * chset.C: change include order
5403 (loadFile): use boost regex and get rid of LRegex and LSubstring
5405 * Makefile.am (BOOST_LIBS): new variable
5408 * LaTeX.C: change include order.
5409 (scanAuxFile): use boost regex and get rid of LRegex and
5413 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5418 * FontInfo.C: moved to frontends/xforms/
5421 * FontLoader.C: moved into frontends for GUIIzation
5426 * lyxfunc.C: changes from above
5428 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5430 * LColor.C: remove spurious X include
5432 * BufferView_pimpl.C:
5437 * text2.C: move font metrics to frontends/
5439 2002-05-24 Juergen Vigna <jug@sad.it>
5441 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5442 setting the undo_cursor.
5444 * ParagraphParameters.h: include local includes first.
5446 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5448 * BufferView_pimpl.C:
5449 * BufferView_pimpl.h:
5453 * screen.C: move WorkArea into frontends/
5459 * BufferView2.C: move LyXScreen into frontends/
5463 * lyx_gui.C: move lyxlookup into frontends/xforms/
5465 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5468 * BufferView_pimpl.C:
5478 * bufferview_funcs.C:
5491 * vc-backend.C: move LyX/XFormsView into frontends/
5493 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5505 * text2.C: move Painter to frontends/
5507 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5509 * buffer.C: comment out some some code that depend upon lyx_format
5512 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5513 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5515 * buffer.h (NO_COMPABILITY): turn off compability
5517 * ColorHandler.C: include scoped_array.hpp
5519 * font.C: Use more specific smart_ptr header.
5522 * ShareContainer.h: ditto
5526 * BufferView_pimpl.h: ditto
5527 * ColorHandler.h: ditto
5529 * kbmap.C (defkey): change call to shared_ptr::reset
5531 2002-05-21 Juergen Vigna <jug@sad.it>
5533 * buffer.C (insertErtContents): fix to insert ert asis if it is
5534 non empty. Skip it completely if it contains only whitespaces.
5536 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5538 * BufferView_pimpl.C:
5539 * BufferView2.C: clear selection on paste (bug 393)
5541 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5543 * DepTable.C: include ctime
5545 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5547 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5549 2002-05-14 Juergen Vigna <jug@sad.it>
5551 * text.C (breakParagraph): fixed function to honor the keepempty
5552 layout in the right maner and also to permit the right breaking
5553 algorithm on empty or non empyt keepempty paragraphs.
5555 * paragraph.C (breakParagraph): we have to check also if the par
5556 is really empty (!size()) for isempty otherwise we do the wrong
5559 2002-05-10 Juergen Vigna <jug@sad.it>
5561 * buffer.[Ch] : The following are only changes to the ert
5562 compatibility read reading old LaTeX layout and font stuff and
5563 convert it to ERTInsets.
5565 * buffer.h: added isErtInset().
5567 * buffer.C (struct ErtComp): add a fromlayout bool to check
5568 if we're inside a LaTeX layout.
5569 (isErtInset): new helper function.
5570 (insertErtContents): look for other ert insets before this one
5571 and insert the contents there, so that we don't have subsequent
5572 ERT insets with nothing between them. This way we create only one
5573 inset with multiple paragraphs. Also check if we don't insert only
5574 spaces ' ' as they are ignored anyway afterwards in the .tex file
5575 so if we have only spaces we will ignore this latex part in the
5577 (parseSingleLyXformat2Token \\layout): better compatibility when
5578 reading layout-latex stuff.
5579 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5581 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5582 stuff after reading the inset only get the information back from
5585 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5587 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5589 * LaTeXFeatures.C (getBabelOptions): New method.
5591 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5593 * BufferView_pimpl.C (Dispatch): work around missing argument for
5596 2002-05-08 Juergen Vigna <jug@sad.it>
5598 * text.C (leftMargin): handle paragraph leftindent.
5600 * paragraph.C (writeFile): write the new \\leftindent tag.
5601 (validate): handle leftindent code.
5602 (TeXEnvironment): handle paragraphleftindent code again.
5604 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5606 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5607 for paragrap_extra indent code and new token \\leftindent.
5608 (latexParagraphs): handle the leftindent as environment.
5610 * ParameterStruct.h: added leftindent support.
5612 * ParagraphParameters.C (leftIndent): added support functions for
5613 the paragraph left indent.
5615 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5618 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5620 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5623 * text.C (computeBidiTables): No bidi in insetERT.
5625 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5628 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5630 * version.C.in: pre 5
5632 2002-05-02 José Matos <jamatos@fep.up.pt>
5633 * buffer.C (makeDocBookFile): white space changes, add newline to
5635 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5637 * tabular.C (docBook): fix typo.
5639 2002-05-03 Juergen Vigna <jug@sad.it>
5641 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5642 change in LyXText as we can not be sure it was not freed.
5643 (drawOneRow): remove unused code.
5645 * text.C (drawInset): redo the calculation of the need_break_row as
5646 it could have a row which was already freed.
5647 (draw): look at the return value of drawInset and return false if
5648 it also returned false.
5649 (paintRowText): look at the return value of draw and return false if
5650 it also returned false.
5652 * lyxtext.h: added bool return type to drawInset() and draw() so that
5653 if we have a change in the row so that the rowbreak has to be redone
5654 we abort drawing as it will be called again.
5656 2002-05-02 Juergen Vigna <jug@sad.it>
5658 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5659 a change in the maintext also if we're inside an inset.
5660 (Dispatch): set the cursor again after a break line and after the
5661 screen has been updated as it could be we're in a different row.
5663 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5664 to set the cursor behind the pargraph with > size().
5665 (setCursor): check also for the same paragraph when checking where
5666 to put the cursor if we have a NFR inset.
5668 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5669 parts of layout read further up as it still was in the wrong
5672 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5674 * screen.C (drawFromTo): change sine fullRebreak always return
5677 * buffer.C (parseSingleLyXformat2Token): reindent some
5679 * BufferView_pimpl.C (update): change since fullRebreak always
5681 (Dispatch): git rid of the last hardcoded "Standard"s.
5683 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5685 * text2.[Ch] (fullRebreak): make it return void now that we always
5688 2002-04-30 Juergen Vigna <jug@sad.it>
5690 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5691 ert compatibility check for "latex" layout.
5693 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5695 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5696 minipages: use col% instead of p%, and also use the current font.
5697 (makeLaTeXFile): Fix use babel condition.
5698 (parseSingleLyXformat2Token): Correct font when reading old floats.
5700 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5702 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5703 inserting list of floats.
5705 2002-04-25 Herbert Voss <voss@lyx.org>
5707 * MenuBackend.C (expand): don't add the graphics extensions to the
5710 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5712 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5713 non-existing layout, do not complain if it was the default layout
5714 of the original class (bug #342)
5716 2002-04-24 Juergen Vigna <jug@sad.it>
5718 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5719 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5721 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5723 * buffer.C (getBibkeyList): If using \bibliography, return the
5724 option field with the reference itself. Enables us to provide natbib
5725 support when using \bibliography.
5727 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5729 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5731 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5732 natbib is provided by the LaTeX class.
5734 2002-04-23 Juergen Vigna <jug@sad.it>
5736 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5739 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5741 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5743 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5745 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5746 ensuremath around textordmasculine, textordfeminine and
5749 2002-04-19 Juergen Vigna <jug@sad.it>
5751 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5752 reinitializing the buffer otherwise row-dimensions may be wrong.
5753 (update): reset also the selection cursors if they do exits otherwise
5754 their x/y positions may be wrong.
5756 * text2.C (cursorDown): don't enter the inset if we came from a row
5757 above and are one row over the inset.
5759 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5760 really leaving an inset.
5762 2002-04-18 Juergen Vigna <jug@sad.it>
5764 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5765 of the selected paragraph does not have the selected layout also if
5768 * text2.C (setLayout): fixed bug which did not change last selected
5771 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5772 changed the read and substituted \\end_float with \\end_inset!
5774 * BufferView_pimpl.C (cursorPrevious):
5775 (cursorNext): fixed to make it work with rows heigher than the work
5776 area without moving the cursor only the draw of the row.
5777 (workAreaMotionNotify): fix jumping over high rows.
5779 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5781 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5784 2002-04-16 Juergen Vigna <jug@sad.it>
5786 * text2.C (setCursor): set also the irow().
5787 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5789 (cursorDown): support for locking an inset if the x_fix value goes
5790 inside it. That way I can transverse insets too with cursor up/down.
5792 * lyxrow.h: added irow helper function same as other (i) functions.
5794 * BufferView_pimpl.C (cursorPrevious):
5795 (cursorNext): fixed for insets!
5797 2002-04-15 Juergen Vigna <jug@sad.it>
5799 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5800 position otherwise it is wrong in some cases.
5802 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5803 inside the inset before the call.
5805 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5807 * buffer.[Ch] (getBibkeyList): make it const.
5809 2002-04-12 Juergen Vigna <jug@sad.it>
5811 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5813 * text2.C (getCursorX): new helper function
5814 (setCursor): compute also ix_
5815 (setCursorFromCoordinates): set also ix.
5817 * lyxcursor.h: added ix_ and helper functions.
5819 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5821 * buffer.C (insertStringAsLines): dont break paragraph if the this
5822 paragraph is inside an inset which does not permit it!
5824 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5825 also with no chars on this paragraph.
5826 (paintRowText): only paint stuff if it's inside the workarea!
5828 * paragraph.C (breakParagraph): honor keepempty flag and break the
5829 paragraph always below not above.
5831 * BufferView2.C (unlockInset): update the paragraph layout on inset
5832 unlock as we changed paragraph in such a case.
5834 * lyxfind.C (LyXFind): clear the former selection if not found!
5836 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5837 again called in insertChar().
5839 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5840 an inset which uses the whole row!
5841 (rightMargin): ditto.
5842 (insertChar): force a rebreak if we inserted an inset!
5844 2002-03-28 Herbert Voss <voss@lyx.org>
5846 * lyxlength.[Ch]: add inBP() to get the right PS-point
5847 units (BigPoint). With inPixels we have rounding errors
5849 2002-04-11 Juergen Vigna <jug@sad.it>
5851 * text2.C (setCursorFromCoordinates): set iy to the right value.
5852 (setCursor): add check if row->previous exists!
5854 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5855 an old float_type as this was the case in the old code!
5857 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5859 * BufferView2.C (showLockedInsetCursor): use iy
5860 (fitLockedInsetCursor): ditto
5862 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5863 locked insets as there we have the right value now.
5865 * lyxcursor.C: added iy_ variable and iy functions to set to the
5866 baseline of cursor-y of the locked inset.
5868 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5869 (setCursor): fixed for insets which need a full row.
5871 * text.C (rowLastPrintable): don't ignore the last space when before
5872 an inset which needs a full row.
5873 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5874 as last character of a row when before a inset which needs a full row.
5876 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5878 * version.C.in: update date
5880 * text2.C (fullRebreak): try to always return true and see what
5883 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5885 * MenuBackend.C (expand): use Floating::listName
5887 * FloatList.C (FloatList): add listName argument to the built-in
5890 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5891 text associated with the float.
5893 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5895 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5897 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5899 * ShareContainer.h: add a couple of missing typenames.
5901 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5903 * lyxrc.C (getDescription): use _() correctly rather than N_().
5905 2002-03-28 Herbert Voss <voss@lyx.org>
5907 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5908 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5910 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5912 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5913 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5915 2002-03-29 Juergen Vigna <jug@sad.it>
5917 * lyxfunc.C (dispatch): add a missing fitCursor call.
5919 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5920 it was scrolled by a cursor move, so return the bool status.
5922 * BufferView.C (fitCursor): return the bool flag also to the outside
5923 world as this is needed.
5925 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5927 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5928 call the edit() as it is not needed (and wrong) IMO.
5929 (workAreaButtonPress): set the screen_first variable before evt.
5930 unlock the inset as this may change screen_first and then we have
5931 a wrong y position for the click!
5933 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5935 * MenuBackend.C (expand): another translation that I missed
5937 2002-03-28 Juergen Vigna <jug@sad.it>
5939 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5941 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5943 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5945 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5947 * MenuBackend.C (expand): fix export/view/update when there is no
5950 2002-03-27 Herbert Voss <voss@lyx.org>
5952 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5955 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5957 * bufferview_funcs.C (currentState): only show paragraph number
5958 for is DEVEL_VERSION is set.
5960 * lyxfunc.C (dispatch): put warning in INFO channel
5962 * MenuBackend.C (expand): translate the name of floats
5964 * FloatList.C (FloatList): mark the float names for translation
5966 * converter.C (convert): use LibScriptSearch
5968 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5970 * MenuBackend.C (defaults): fix default menu (we might as well get
5973 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5975 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5978 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5980 * lyxvc.C: reorder includes.
5982 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5984 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5987 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5989 * CutAndPaste.C: change layouts earlier on paste
5990 to avoid crashing when calling getFont()
5992 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5994 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5997 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5999 * WorkArea.C: remove 'Pending' debug message.
6001 * most files: ws cleanup
6003 * buffer.[Ch]: ws changes
6005 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6007 2002-03-21 Juergen Vigna <jug@sad.it>
6009 * tabular.C (SetMultiColumn): collapse also the contents of the
6010 cells and set the last border right. Added a Buffer const * param.
6012 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6014 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6017 2002-03-19 Juergen Vigna <jug@sad.it>
6019 * text2.C (clearSelection): reset also xsel_cache.
6021 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6022 where it needs to be called (John tells us to do so too :)
6023 (selectionLost): reset sel_cache.
6025 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6027 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6029 * text2.C (setCursorIntern): put debuging code in INSETS channel
6031 2002-03-19 André Pönitz <poenitz@gmx.net>
6033 * lyxfunc.C: tiny whitespace change
6035 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6037 * ToolbarDefaults.C (init):
6038 * LyXAction.C (init):
6040 * BufferView_pimpl.C (Dispatch):
6041 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6043 2002-03-19 Allan Rae <rae@lyx.org>
6045 * exporter.C (Export): removeAutoInsets before doing anything else.
6046 While I've just introduced a dependency on BufferView this really is
6047 the best place to clean the buffer otherwise you need to cleanup in
6048 a dozen places before calling export or cleanup in a dozen functions
6051 * converter.C (runLaTeX):
6052 (scanLog): Better handling of removeAutoInsets and screen updates.
6054 * lyxfunc.C (dispatch): small whitespace changes
6056 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6058 * WorkArea.C (C_WorkAreaEvent): return a value.
6059 (event_cb): return 1 if we handled the event, 0 otherwise.
6061 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6063 2002-03-18 Juergen Vigna <jug@sad.it>
6065 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6066 (GetAdditionalWidth): ditto.
6070 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6071 inset if we're there actually (probably not used right now but this
6072 is the direction to go for unifying code).
6073 (paste): disable code to clear the selection.
6075 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6076 inside an InsetText and move the check further up as it is in the
6079 * text2.C (pasteSelection): set a selection over the pasted text.
6081 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6083 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6084 and libgraphics to build on Cygwin.
6086 2002-03-15 Juergen Vigna <jug@sad.it>
6088 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6089 inserting an Inset into the paragraph. I know this is not the best
6090 fix but we already use current_view in CutAndPaste so we will remove
6091 all of it's using at the same time.
6093 * buffer.C (sgmlError): deactivated function till it is rewritten in
6094 the right mode, now it can create problems.
6096 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6097 before accessing it.
6099 2002-03-14 Juergen Vigna <jug@sad.it>
6101 * undo_funcs.C (textHandleUndo): do the right thing when updating
6102 the inset after the undo/redo.
6104 * text2.C (setCursor): just some testcode for #44 not ready yet.
6106 * undo_funcs.C (textHandleUndo): set the next() and previous()
6107 pointers of the paragraph to 0 before deleting otherwise we have
6108 problems with the Paragraph::[destructor].
6110 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6111 on a paragraph insertion.
6113 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6115 * buffer.C (asciiParagraph): use += operator for char append to
6118 * paragraph.C (getFontSettings): compare >= not just >
6119 (highestFontInRange): ditto
6122 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6124 * paragraph.C: change several algorithm to be more appripriate for
6125 the problem domain. This is lookip in FontList and in the InsetList.
6127 2002-03-13 André Pönitz <poenitz@gmx.net>
6130 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6132 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6137 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6139 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6141 * Painter.C (display): anon helper function, adjust code for this
6143 (pixmap): remove function.
6145 * Painter.h: remove private display variable.
6147 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6149 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6151 * WorkArea.[Ch]: remove figinset_canvas cruft.
6153 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6155 * lyxtextclass.C (operator): add one item cache optimization.
6157 * bufferlist.h: doxy changes
6159 * bufferlist.C: ws changes
6161 * DepTable.[Ch] (ext_exist): place const in the right spot.
6163 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6165 (workAreaExpose): call resizeInsets when the with BufferView changes.
6166 (Dispatch): adjust for protectedBlank removal
6167 (specialChar): call updateInset if the insert went ok.
6169 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6170 specialChar instead.
6172 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6174 * BufferView.h: doxy change
6176 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6178 * lyxtextclass.C (operator[]): remove non-const version
6179 (defaultLayout): remove non-const version
6181 2002-03-12 Juergen Vigna <jug@sad.it>
6183 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6184 did resize the LyXText too.
6186 * buffer.C (readLyXformat2): set layout information on newly allocated
6189 * tabular.C (OldFormatRead): set layout information on the paragraph.
6191 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6193 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6195 2002-03-11 Juergen Vigna <jug@sad.it>
6197 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6199 (resizeCurrentBuffer): force also the insets to resize themselfes.
6200 (moveCursorUpdate): fixed up for InsetText.
6202 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6205 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6206 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6207 value of Dialogs::tooltipsEnabled().
6208 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6210 2002-03-08 Juergen Vigna <jug@sad.it>
6212 * BufferView_pimpl.C (updateInset): update inset inside inset also
6213 if it isn't inside theLockingInset().
6215 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6217 * buffer.C (asciiParagraph): redo some of the word and line length
6219 (getLists): look for Caption instead of caption.
6221 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6223 * buffer.C (Buffer): initialize niceFile to true
6226 (makeDocBookFile): make sure niceFile is true on exit
6228 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6230 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6232 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6234 * LyXSendto.C: remove.
6235 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6236 * lyx_gui.C: remove now-redundant comment.
6237 * ColorHandler.h: remove forward declaration of class WorkArea.
6238 * lyxfunc.C: remove #include "WorkArea.h".
6240 2002-03-07 Juergen Vigna <jug@sad.it>
6242 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6243 got moved away with the DEPM and also set the inset_owner always
6244 right which before could have been omitted.
6246 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6248 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6249 wanted layout is not found.
6251 2002-03-07 Juergen Vigna <jug@sad.it>
6253 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6255 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6257 * paragraph.C (breakParagraph): use default layout not layout of
6259 (Paragraph): clear ParagraphParameters.
6261 2002-03-06 Juergen Vigna <jug@sad.it>
6263 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6264 otherwise it would not be a valid lenght. Fixed a special case in
6265 the minipage compatibility read where we end the document with a
6268 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6269 was set as it could be 0 for InsetTexts first entry.
6271 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6273 * paragraph.C (writeFile): if layout is empty write out
6274 defaultLayoutName().
6276 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6277 file without named layout we set layout to defaultLayoutName().
6279 2002-03-06 Juergen Vigna <jug@sad.it>
6281 * CutAndPaste.C (copySelection): set layout for new paragraph.
6283 * text.C (prepareToPrint): leave ERT inset left aligned
6284 (leftMargin): don't indent paragraphs inside ERT insets
6286 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6288 * paragraph.C (breakParagraph): dont call clear do the work manually
6290 * paragraph.[Ch] (clear): remove function
6292 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6294 * paragraph.C (Paragraph): dont call clear, the work has already
6297 * lyxtextclass.C (operator): assert if n is empty
6299 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6300 work manually instead.
6302 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6304 * BufferView_pimpl.C: protect selectionLost against text == 0
6306 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6308 * text.C (breakParagraph): fix a setting layout to '0' problem.
6310 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6312 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6313 final location of file, for the included files, and graphics.
6315 2002-03-05 Juergen Vigna <jug@sad.it>
6317 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6319 2002-03-04 Juergen Vigna <jug@sad.it>
6321 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6323 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6324 last column of multicolumn cells.
6325 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6327 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6329 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6330 file if it doesn't go to a temporary file.
6332 * buffer.C (sgmlOpenTag):
6333 (sgmlCloseTag): remove extra newline insertion.
6335 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6337 * text.C (getRowNearY): comment out debug msg
6339 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6341 * text2.C: first -> first_y
6343 * text.C (getRowNearY): add some attemts at a possible
6344 optimization, not working.
6346 * tabular.[Ch]: add BufferParams to several function so that newly
6347 created paragraph can be initialized to he default layotu for the
6350 * tabular-old.C (ReadOld): add buf->params to call of Init
6352 * screen.C: rename text->first to text->first_y
6354 * paragraph.C (breakParagraph): always set layout in the broken
6357 * lyxtextclass.C (Read): remove lowercase
6360 (delete_layout): ditto
6362 * lyxtext.h: rename first -> first_y
6364 * lyxlayout.C (Read): remove lowercase
6367 (obsoleted_by): ditto
6369 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6371 * buffer.C (insertErtContents): add params are to InsetERT
6372 (parseSingleLyXformat2Token): add code to check if a paragraphs
6373 layout really exist.
6374 (parseSingleLyXformat2Token): add params to several inset
6376 (asciiParagraph): remove lowercase, do the layout comparisons with
6379 * BufferView_pimpl.C (cursorNext): first -> first_y
6380 (resizeCurrentBuffer): first -> first_y
6381 (updateScrollbar): first -> first_y
6382 (scrollCB): first -> first_y
6383 (workAreaMotionNotify): first -> first_y
6384 (workAreaButtonPress): first -> first_y
6385 (checkInsetHit): first -> first_y
6386 (cursorPrevious): first -> first_y
6387 (cursorNext): first -> first_y
6388 (Dispatch): add buffer_->params to severl inset contructors
6390 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6392 * lyxlayout.C (Read): remove some debug info that I forgot.
6394 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6395 clean up the code slightly.
6396 (makeLinuxDocFile): ditto
6397 (makeDocBookFile): ditto
6399 * text2.C: layout as string
6401 * text.C: layout as string
6403 * paragraph_pimpl.C: layout as string
6405 * paragraph.[Ch]: layout as string
6407 * lyxtextclasslist.[Ch]: layout as string
6409 * lyxtextclass.[Ch]: layout as string
6411 * lyxtext.h: layout as string
6413 * lyxlayout.[Ch]: layout as string
6415 * lyx_cb.C: layout as string
6417 * bufferview_funcs.C: layout as string
6419 * bufferparams.C: layout as string
6421 * buffer.C: layout as string
6423 * LyXView.[Ch]: layout as string
6425 * LaTeXFeatures.[Ch]: layout as string
6427 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6429 * BufferView_pimpl.C: change current_layout to string, remove
6434 (workAreaButtonRelease): layout as string
6436 * BufferView2.C (unlockInset): adjust
6438 * vspace.C (asLatexCommand): use an explict temp variable.
6440 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6442 * Makefile.am: use FRONTEND_*
6444 2002-03-01 Juergen Vigna <jug@sad.it>
6446 * tabular.C (SetWidthOfMulticolCell): changed to something better
6447 I hope but still work in progress.
6448 (recalculateMulticolumnsOfColumn): renamed function from
6449 recalculateMulticolCells as it is more appropriate now.
6450 (SetWidthOfCell): calculate multicols better.
6452 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6454 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6456 * lyxfunc.C (processKeySym): print sequence also if it is
6457 `deleted' (complete)
6459 * kbsequence.C (print): print sequence even if it is deleted
6460 (complete would be a better word, actually).
6462 * lyxfunc.C (dispatch): print complete options after a prefix key
6464 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6466 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6468 * text2.C (setCharFont): eliminate setCharFont code duplication.
6470 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6472 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6473 LFUN_TABULAR_FEATURE (bug #177)
6475 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6477 * Makefile.am: remove figure.h
6479 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6481 * Bufferview_pimpl.C:
6493 * text2.C: remove #include "lyx_gui_misc.h".
6495 * LaTeX.C: added #include <cstdio>
6497 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6499 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6500 that the paragraph following this one can have.
6502 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6504 * vspace.C (asLatexCommand): fix bogus gcc warning
6506 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6508 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6510 * text2.C (setLayout): get rid of redundant code
6512 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6514 * text2.C (incDepth): make sure depth cannot be increased beyond
6517 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6519 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6520 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6522 * PainterBase.h (image):
6523 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6526 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6530 * BufferView_pimpl.C:
6531 * BufferView_pimpl.h:
6551 * sp_spell.C: remove fig inset, and the crap house of
6552 cards that follows it
6554 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6560 * nt_defines.h: move .h into support/
6562 * vms_defines.h: remove
6564 * WorkArea.C: add space in debug output
6568 * buffer.C: add WITH_WARNINGS
6572 * bufferlist.C: s/retrive/retrieve/, add docs
6583 * lyxgui.C: add ID to X error handler
6585 * lyxtestclass.c: fix typo
6587 2002-02-26 Juergen Vigna <jug@sad.it>
6589 * tabular_funcs.C (write_attribute): changed so that some default
6590 attributes are not written at all.
6591 (getTokenValue): set default values before trying to read the
6592 value so we have the return value always set as default if we don't
6593 find the token we search for.
6595 * tabular.C (Write): write bools as bools not as strings!
6597 2002-02-22 Juergen Vigna <jug@sad.it>
6599 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6600 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6602 * text.C (leftMargin): don't add an indent for paragraphs inside
6603 tabular cells (fix #208).
6605 2002-02-21 José Matos <jamatos@fep.up.pt>
6607 * tabular.C (docBook): fixed support for long tables.
6609 2002-02-20 Juergen Vigna <jug@sad.it>
6611 * text2.C (getFont): get the drawing font of the Inset if this
6612 paragraph is inside an inset (only important for InsetERT for now).
6614 * buffer.C (insertErtContents): use new lanugage params in ERT
6617 * CutAndPaste.C: commenting out seemingly uneeded code.
6619 2002-02-19 Allan Rae <rae@lyx.org>
6621 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6622 Iterators might be simple to use but they also get invalidated.
6623 (removeAutoInsets): renamed saved cursor tracking variables and added
6624 some comments to clarify what everything does.
6626 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6633 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6634 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6637 * vc-backend.h: remove #include "support/syscall.h"
6641 * converter.C: rearrange #includes in Lars' approved fashion.
6643 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6644 forward declare class Timeout in the header file.
6646 * XFormsView.C: changes due to the above.
6648 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6651 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6652 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6654 2002-02-18 José Matos <jamatos@fep.up.pt>
6656 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6659 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6661 * a lot of small ws changes
6662 * add a lot of using std::XXX
6663 * use std construcs some places where approp.
6664 * use some exisint stuff from lyxfunctional where approp.
6665 * Make file changes to use partial linking (lets test this now...)
6667 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6671 remove #include "support/syscontr.h" as it's redundant. Always has been.
6679 change Systemcalls::System to Systemcalls::Wait and
6680 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6681 No change of functionality, just reflects the stripped down Systemcalls
6684 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6686 * debug.[Ch]: add a GRAPHICS type to the enum.
6688 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6690 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6692 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6695 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6697 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6698 match the changes below.
6700 * text2.C (toggleInset): if there is not editable inset at cursor
6701 position, try to see if cursor is _inside_ a collapsable inset
6704 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6706 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6707 document menu has a nice checkbox
6709 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6711 * lyxlength.C (asLatexString): change PW to output as percent of
6714 * lengthcommon.C: change '%' to 't%'
6716 * lyxfunc.C (dispatch): a few comments from Martin
6718 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6722 * BufferView_pimpl.h:
6723 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6726 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6728 * vspace.C (inPixels): fix compiler warning
6730 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6732 * lyxfunc.C (getStatus): fix status message for disabled commands.
6734 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6736 * BufferView_pimpl.C: fix crash on close buffer
6737 during selection (#227)
6739 2002-01-27 Herbert Voss <voss@lyx.org>
6741 * buffer.C: link old Figure to new graphic inset
6743 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6745 * FontLoader.C (getFontinfo): Change the latex font names in order
6746 to match the names of type1inst.
6748 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6750 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6752 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6755 (remove_files_with_extension): ditto
6756 (remove_file): ditto
6759 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6760 document is smaller than the work area height. Do not initialize
6761 static variables to 0.
6763 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6765 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6767 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6768 LFUN_LAYOUT_PARAGRAPHS.
6770 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6771 tabular. It is possible to provide a possible cell, which will
6772 typically be the actcell from the corresponding insettabular
6774 * lyxfunc.C (getStatus): small cleanup; disable
6775 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6778 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6780 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6782 * paragraph.C (startTeXParParams):
6783 (endTeXParParams): new methods. The LaTeX code to
6784 start/end paragraph formatting
6785 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6786 empty (fixes bug #200)
6788 * vspace.C (inPixels): adapt to the change below
6789 (inPixels): [later] more cleanups (remove unused variables)
6791 * lyxlength.C (inPixels): change to use a width and a height as
6794 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6796 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6797 Replaced with \paperwidth
6799 * DepTable.C (insert): add std:: qualifier
6801 2002-01-18 Allan Rae <rae@lyx.org>
6803 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6806 * text.C (drawInset): Turned out I didn't know enough about how
6807 rebreaking worked. This fixes most of the redraw problems. I see
6808 an occasional cursor trail when a line is broken now and the cursor
6809 placement can seem out by a few pixels also after a rebreak.
6811 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6813 * buffer.C (parseSingleLyXformat2Token): update because minipage
6814 width is now a LyXLength
6816 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6818 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6821 2002-01-17 Juergen Vigna <jug@sad.it>
6823 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6825 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6826 is set correctly and the inset is updated correctly.
6828 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6830 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6831 the beginning of the loop.
6833 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6835 * lyxrc.C: improve help for use_scalable_fonts
6837 2002-01-17 Allan Rae <rae@lyx.org>
6839 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6841 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6843 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6844 make sure to set their inset_owner to the right value (bug #171)
6846 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6849 * DepTable.C: Implement mtime checking to reduce time spent doing
6852 2002-01-16 Juergen Vigna <jug@sad.it>
6854 * tabular.C (GetAdditionalHeight): one of error fixed.
6856 * lyxrc.C (output): small fix in writing use_pspell.
6858 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6860 * sp_base.h: #include LString.h
6862 2002-01-16 Allan Rae <rae@lyx.org>
6864 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6865 Can someone check this please?
6867 * text.C (drawInset): It was possible that p.row would be removed by
6868 breakAgainOneRow upsetting a few other settings. There may be another
6869 small tweak possible by setting need_break_row = 0 when p.row has been
6870 removed but I don't know enough about the logic here.
6872 2002-01-15 Allan Rae <rae@lyx.org>
6874 * text.C (insertChar): removed conditional truism.
6876 * BufferView2.C (removeAutoInsets): More tweaks.
6877 cur_par_prev could be a stray pointer. Check for trailing empty line
6878 in case last line was cur_par and only had an error inset on it.
6880 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6882 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6885 * vc-backend.C (most methods):
6886 * exporter.C (Export):
6887 * converter.C (convert):
6889 * LyXSendto.C (SendtoApplyCB):
6890 * lyxfunc.C (dispatch):
6894 * lyx_cb.C (AutoSave):
6896 * BufferView_pimpl.C (MenuInsertLyXFile):
6897 * buffer.C (runChktex): use Buffer::filePath().
6899 * buffer.h: rename filename to filename_; rename filepath to
6900 filepath_ and make it private
6901 (filePath): new method
6903 * buffer.C (writeFile): use fileName()
6906 * lyx_main.C (init): fix starting of LyX when the binary is a
6907 link from so,ewhere else.
6909 * minibuffer.C: include <cctype> for isprint
6911 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6913 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6914 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6915 name clash with InsetCollapsable's width function.
6917 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6919 * lastfiles.C: include <iterator>
6921 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6923 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6926 * buffer.C (makeLaTeXFile): ditto.
6927 Also make loop operation more transparent.
6929 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6931 * ToolbarDefaults.C: remove trailing comma closing namespace.
6933 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6935 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6938 * trans.C (Load): comment out unused variable, allowed.
6940 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6942 * minibuffer.[Ch] (append_char): new method to recieve input from the
6943 drop-down completion browser. If a key was pressed, then recieve this
6944 char and append it to the existing string.
6945 (peek_event): modify the positioning data passed to the completion
6946 browser so that it can be placed above the minibuffer rather than below.
6947 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6949 * LyXAction.C (init): alloe error-next for readonly documents.
6951 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6954 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6956 * bufferlist.C (readFile): create the buffer _after_ checking that
6959 * lyxfunc.C (verboseDispatch): fix handling of arguments
6961 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6963 * lyxrc.C: use string::erase() instead of initializing to "".
6966 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6968 * BufferView_pimpl.h:
6969 * BufferView_pimpl.C:
6972 * text2.C: tell X when we have made a selection for copying
6974 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6976 * BufferView_pimpl.C (MenuInsertLyXFile):
6977 * lyxfunc.C (menuNew):
6979 (doImport): add shortcuts to directory buttons
6981 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6984 * lyxfunc.C (setStatusMessage):
6985 (getStatusMessage): new methods
6986 (getStatus):use setStatusMessage instead of setErrorMessage
6987 (dispatch): when function is disabled, set error message here
6988 [instead of in getStatus previously]
6990 * BufferView_pimpl.C (workAreaButtonRelease): update
6991 toolbar/menubar here too.
6993 2002-01-13 Allan Rae <rae@lyx.org>
6995 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6996 Now seems indestructible. Remaining task is to audit all other
6997 code affected by deleteEmptyParagraphMechanism. One small quirk
6998 left is that an empty document with an error in the preamble can
6999 be made to report an error but no error box appears. I don't know
7001 (removeAutoInsets): Improved comments.
7003 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7006 * Thesaurus.C: update for Aiksaurus 0.14
7008 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7010 * text2.C (firstParagraph): removed member function, all uses
7011 replaces with ownerParagraph
7012 (redoParagraphs): here
7014 (toggleAppendix): here
7015 * BufferView2.C (insertErrors): here
7016 (setCursorFromRow): here
7018 2002-01-13 Allan Rae <rae@lyx.org>
7020 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7021 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7022 There is still a way to segfault this although you may have to do this
7023 multiple times: Have an InsetERT with an unknown command in it.
7024 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7025 <down-arrow>, <Enter> again, View->DVI, BANG!
7027 * text2.C (setCursor):
7028 (deleteEmptyParagraphMechanism):
7029 * lyxtext.h (setCursor):
7030 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7031 Making use of the return value may help fix other bugs.
7033 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7035 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7037 * LyXView.C (updateMenubar): call MenuBar::update here
7038 (updateToolbar): but not here
7039 (showState): do not update toolbar/menubar
7041 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7042 should need to care about that.
7044 * lyxfunc.C (verboseDispatch): simplify a bit
7045 (getStatus): have a version which takes a pseudoaction, and
7046 another which requires a (kb_action,string).
7048 * LyXAction.C (retrieveActionArg): make it work also when action
7049 is not a pseudo-action.
7050 (getActionName): simplify a bit
7053 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7055 * lyxfunc.C (verboseDispatch): new families of methods with
7056 several ways to specify a command and a bool to indicate whether
7057 the command name and shortcut should be displayed in minibuffer
7058 (eventually, we could extend that to a finer bitmask like
7059 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7060 (dispatch): the pristine dispatch command which just, well,
7061 dispatchs! Note it still sets its result to minibuffer; I'm not
7064 * lyxfunc.h: remove setHintMessage
7066 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7068 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7070 * BufferView_pimpl.C (specialChar): delete new inset if we have
7071 not been able to insert it.
7073 * kbmap.C: revert to using int instead of kb_action, since all we
7074 are dealing with is pseudo-actions.
7076 * LyXAction.C (searchActionArg): change to return int instead of
7077 kb_action, since the result is a pseudoaction.
7079 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7081 * buffer.C (insertErtContents): Fix (partially) the font bug.
7083 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7085 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7086 as the other one is broken on my machine!
7088 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7091 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7093 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7095 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7096 reflect their actual use. Provide compatibility code for older lyxrc
7099 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7101 change names of popup font variables in line with the changes to lyxrc.C
7103 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7105 * buffer.C (asciiParagraph): avoid outputing a word twice after
7108 * lyxrc.C (getDescription): document that document_path and
7109 template_path can be empty.
7111 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7113 * LaTeXFeatures.C (getMacros):
7114 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7116 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7118 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7120 (getPackages): rename feature "floats" to "float". Use an array to
7121 iterate over 'simple' features (i.e. just a \usepackage). Add
7122 handling of "amsmath" (renamed from "amsstyle").
7124 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7126 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7129 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7131 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7132 FuncStaus::FuncStatus & FuncStaus::some_method().
7134 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7136 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7137 of the func_satus stuff. Edited and massaged in various ways by
7140 * lyxfunc.C (getStatus): use FuncStatus
7142 2002-01-08 Juergen Vigna <jug@sad.it>
7144 * text.C (nextBreakPoint): use function Inset::isChar().
7146 * paragraph.C (TeXOnePar): use function
7147 Inset::forceDefaultParagraphs.
7149 * buffer.C (latexParagraphs): use function
7150 Inset::forceDefaultParagraphs.
7152 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7154 * lyx_gui.C (init): set the style of the menu popups to
7155 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7157 2002-01-07 Juergen Vigna <jug@sad.it>
7159 * text.C (setHeightOfRow): small fix
7160 (prepareToPrint): don't look at alignment if we don't have the place
7163 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7165 * box.C: New file. Move the Box methods and functions out of box.h,
7166 following Lars' suggestion.
7168 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7170 * box.h: #include "support/LOstream.h", needed for inlined function.
7173 * lyxtextclasslist.C: added some using std declarations.
7175 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7177 * box.h: make signed dimensions to allow insets wider than
7178 the screen (bug #162)
7180 * BufferView_pimpl.C: add some insetHit debug
7182 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7184 * vc-backend.C: add FIXME
7186 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7188 * lyxfunc.C (getStatus): enable code for showing math font status
7191 2002-01-07 Juergen Vigna <jug@sad.it>
7193 * text.C (nextBreakPoint): removed debug output not needed anymore.
7195 2002-01-06 Juergen Vigna <jug@sad.it>
7197 * text.C (nextBreakPoint): fixed up this function we had this bug
7198 since ever but now hopefully we break row better.
7199 (insertChar): we have to check if an inset is the next char as it
7200 could now happen that a large inset is causing a break.
7202 2002-01-05 Juergen Vigna <jug@sad.it>
7204 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7205 if it doesn't like to be drawed.
7207 2002-01-04 Juergen Vigna <jug@sad.it>
7209 * BufferView2.C (lockInset): forgot to set a cursor.
7211 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7213 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7218 * form_maths_panel.C:
7219 * form_maths_panel.h:
7220 * form_maths_panel.fd: implemented sub- and super- buttons in math
7223 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7224 (or ^ space) to be used as in TeX (req'd by André).
7226 * lyxfunc.C: Allow ^ and _ again to be used both as
7227 super/subscript (mathed) and as themselves (in text).
7229 2002-01-03 Allan Rae <rae@lyx.org>
7231 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7232 "LyX" or the filename of the current buffer if it has one. This is a
7233 modified form of John Levon's patch.
7235 * XFormsView.C (setWindowTitle): also set icon title.
7237 * LyXView.h (setWindowTitle): signature changed.
7238 * XFormsView.h (setWindowTitle): ditto.
7240 2002-01-02 Juergen Vigna <jug@sad.it>
7242 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7244 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7246 * screen.C (topCursorVisible): introduce a temp var for
7247 text->cursor.row(), handle the case where this row is null. (kindo
7250 * text2.C (setCursor): add a couple of asserts.
7252 * paragraph.h (inset_iterator): add -> operator
7254 * paragraph.[Ch] (autoDeleteInsets): remove member function
7256 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7257 cursor pos correctly and handle inset deletion by itself.
7258 (insertErrors): move iterator declaration out of for expression
7260 * lyxtextclass.C: add <algorithm>
7262 * Makefile.am: added the new files to sources, removed layout.C
7264 * layout.C: removed file
7266 * layout.h: remove LYX_DUMMY_LAYOUT
7268 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7272 * lyxtextclass.[Ch]:
7273 * lyxtextclasslist.[Ch]: new files
7275 * include order changes to a lot of files, also changes because of
7278 2001-12-27 Juergen Vigna <jug@sad.it>
7280 * buffer.C (asciiParagraph): more fixes.
7282 * tabular.C (ascii): make ascii export support export of only the
7283 data separated by a column-delimiter.
7284 (ascii): better support for ascii export.
7286 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7288 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7290 * tabular_funcs.C: use a "using std::getline" instead of the
7291 previous fix from Angus (necessary for cxx + lyxstring)
7293 2001-12-24 Juergen Vigna <jug@sad.it>
7295 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7297 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7298 problems. First check a minipage also if we have some ert-contents
7299 (not only on par->size(), second set the right depth of the paragraph
7300 on the relink to the root-paragraph-list!
7302 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7303 which then did not anymore update the main paragraphs on undo/redo!
7305 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7307 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7308 code. Support all font-changing funcs (even those which are not in
7309 menu currently). Support for reporting font settings in
7310 mathed (disabled until Andre provides a function on mathed's side).
7312 * func_status.h (toggle): small helper function to set toggle
7315 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7317 * tabular_funcs.C: getline -> std::getline
7319 2001-12-21 Juergen Vigna <jug@sad.it>
7321 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7322 accessed and could be 0 (I couldn't generate this but it seems
7325 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7327 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7328 * tabular_funcs.h: here and include iosfwd
7330 2001-12-20 Juergen Vigna <jug@sad.it>
7332 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7333 inside inset but undo_par was.
7335 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7337 * Thesaurus.C: always include <config.h> in sources.
7341 * box.h: do not include <config.h> in header files
7343 * text.C (paintLastRow): remove unused variable
7345 * text.C (transformChar):
7347 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7350 * font.C (width): rewrite to use uppercase() instead of
7353 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7355 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7357 * lyxfind.C: clean up of find failure position change
7359 2001-12-20 Juergen Vigna <jug@sad.it>
7361 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7363 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7364 (TeXRow): added to LaTeX a single tabular row.
7365 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7366 (Latex): simplified and finally good LT-h/f support.
7367 (various_functions): just small adaptions for LT-h/f support.
7369 * tabular_funcs.[hC]: added and moved here all not classfunctions
7372 2001-12-19 Juergen Vigna <jug@sad.it>
7374 * tabular.[Ch]: better support for longtabular options (not finished
7377 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7379 * text.C (paintLastRow): use the label font instead of the font of
7380 the last character to compute the size of *_BOX. This makes more
7381 sense and avoids a crash with empty paragraphs.
7382 Use Painter::rectangle to draw EMPTY_BOX.
7384 2001-12-19 Juergen Vigna <jug@sad.it>
7386 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7387 the paragraphs if the replaced paragraph is not the first one!
7388 Tried to delete not used paragraphs but does not work yet so for
7389 now it's inside #ifdef's and by default off!
7391 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7393 * MenuBackend.C: include "lyx_main.h" instead of declaring
7394 lastfiles (actually was declared as LastFiles* instead of a
7397 2001-12-17 Juergen Vigna <jug@sad.it>
7399 * tabular.C (AppendColumn): applied John's fix
7401 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7405 * BufferView_pimpl.h:
7406 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7409 * box.h: new start of class for above
7411 * lyxfunc.C: ignore space-only minibuffer dispatches.
7412 Show the command name when it doesn't exist
7414 * minibuffer.C: don't add empty lines to the history
7416 * minibuffer.C: add a space on dropdown completion
7418 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7420 * text.C: fix line above/below drawing in insets
7422 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7424 * lyxlength.C (LyXLength): Initialize private variables.
7426 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7428 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7429 when inserting error insets.
7431 2001-12-13 Juergen Vigna <jug@sad.it>
7433 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7434 actually sometimes the before-paragraph.
7435 (setUndo): don't clear the redostack if we're not actually undoing!
7437 2001-12-06 Juergen Vigna <jug@sad.it>
7439 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7440 and fixed redoing of main paragraph, so we can use it now ;)
7442 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7444 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7446 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7449 2001-12-13 André Pönitz <poenitz@gmx.net>
7452 * undo_func.C: minor cleanup
7454 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7456 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7457 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7458 font in urw-fonts package which is marked as -urw-fontspecific and
7459 does not work (incidentally, changing the encoding in the
7460 fonts.dir of this package to -adobe-fontspecific fixes the
7463 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7464 is a crash when undoing first paragraph (Juergen, please take a
7465 look). THis does not mean the undo fix is wrong, just that it
7468 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7469 the (Paragraph*) version when needed instead of duplicating the
7472 * text.C (workWidth): use Inset::parOwner to find out where the
7473 inset has been inserted. This is a huge performance gain for large
7474 documents with lots of insets. If Inset::parOwner is not set, fall
7475 back on the brute force method
7477 * paragraph_pimpl.C (insertInset):
7478 * paragraph.C (Paragraph):
7479 (cutIntoMinibuffer): set parOwner of insets when
7480 inserting/removing them
7482 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7484 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7490 * mathed/formulabase.C:
7491 * mathed/math_cursor.[Ch]:
7492 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7495 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7497 * lyxlength.[Ch] (operator!=): new function
7499 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7501 * text.C (workWidth): use Inset::parOwner to find out where the
7502 inset has been inserted. This is a huge performance gain for large
7503 documents with lots of insets. If Inset::parOwner is not set, fall
7504 back on the brute force method
7506 * paragraph_pimpl.C (insertInset):
7507 * paragraph.C (Paragraph):
7508 (cutIntoMinibuffer): set parOwner of insets when
7509 inserting/removing them
7511 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7513 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7515 * tabular-old.C (getTokenValue):
7516 * tabular.C (getTokenValue):
7517 (write_attribute): new versions for LyXLength
7518 (everywhere): adjust the use of widths
7520 * tabular.h: change the type of widths from string to LyXLength
7522 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7524 * paragraph.C: fixed missing line number count when exporting
7525 Environments to LaTeX file
7527 * buffer.C: added informational message for checking line numbers.
7529 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7531 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7532 paragraph, do the 'double space' part, but not the 'empty
7535 * text.C (workWidth): small optimization
7536 (getLengthMarkerHeight): use minimal size for negative lengths.
7538 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7540 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7542 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7544 2001-12-11 André Pönitz <poenitz@gmx.net>
7547 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7549 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7551 * text2.C: keep selection on a setFont()
7553 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7555 * lyx_cb.C: another bv->text misuse, from insert label
7557 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7560 * kbsequence.C: re-instate nmodifier mask
7562 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7564 * lyx_main.h: make lyxGUI private.
7566 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7568 * lyxfind.C: place the cursor correctly on failed search
7570 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7572 * text.C (getLengthMarkerHeight): for small heights, the arrows
7573 are not always on top/bottom of the text
7574 (drawLengthMarker): smaller arrows; take the left margin in
7575 account; draw also vfills.
7577 (paintLastRow): remove special code for vfill and standard spaces,
7578 since everything is handled in drawLengthMarker now.
7580 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7582 * buffer.C (insertErtContents): try to handle font and language
7583 interaction a bit better.g
7585 * ColorHandler.C (updateColor): change the hash to cover the whole
7586 LColor enum, ws cleanup
7587 (getGCLinepars): ditto
7588 (getGCLinepars): only lookup in the linecache once.
7590 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7592 * iterators.C (operator++): Make the iterator more robust
7594 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7596 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7598 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7601 * text.C: better added space drawing
7603 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7606 * BufferView2.C: fix layout combo update on inset unlock
7608 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7610 * Makefile.am: don't compile unused files
7612 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7616 * LyXAction.C: remove old LFUN_LAYOUTNO
7618 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7620 * paragraph_pimpl.h:
7621 * paragraph_pimpl.C: isTextAt() doesn't need font param
7623 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7626 * lyxlex.C: little cleanup
7628 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7630 * BufferView_pimpl.C: fix insertAscii for insets
7632 2001-12-05 Juergen Vigna <jug@sad.it>
7634 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7635 set the right font on the "multi" paragraph paste!
7637 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7643 * lyxlength.C: remove out-commented code.
7659 * vc-backend.C: change "while(" to "while ("
7661 * lyxlength.[Ch]: add zero function to check if length is zero or
7663 * lyxgluelength.C: use it
7665 2001-12-05 Allan Rae <rae@lyx.org>
7667 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7668 Works for 2.95.3, from what I understand of Garst's reports this should
7669 work for other g++ versions. We're screwed if the abs(int) definition
7670 changed between bugfix releases of gcc.
7672 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7674 * text.C: fix chapter label offset !
7676 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7679 * text.C: fix hfill at end of line, clean up
7681 2001-12-04 Juergen Vigna <jug@sad.it>
7683 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7684 that we force an update of the inset and it's owners if neccessary.
7686 2001-12-03 Juergen Vigna <jug@sad.it>
7688 * text.C (rowLast): simplified code
7690 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7692 * lyxfunc.C: fix show options on timeout
7694 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7696 * screen.C (topCursorVisible): scroll half a page when the cursor
7697 reached top of bottom of screen
7699 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7701 * minibuffer.C: deactivate on loss of focus
7703 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7705 * vspace.[Ch] (operator!=): add operator.
7707 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7709 * BufferView_pimpl.C: refuse to open an inset when
7710 there's a selection.
7712 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7714 * BufferView_pimpl.C: allow to click on RHS of full row insets
7716 2001-11-30 Juergen Vigna <jug@sad.it>
7718 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7719 insets for undo reasons.
7721 2001-11-28 André Pönitz <poenitz@gmx.net>
7723 * vspace.[Ch]: cosmetical changes
7725 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7735 * kbsequence.C: part re-write of old kb code
7738 * WorkArea.C: remove Lgb_bug_find_hack
7740 2001-11-30 José Matos <jamatos@fep.up.pt>
7742 * buffer.C (makeDocBookFile): add a comment to point a hack.
7743 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7744 Fixed a double write of labels.
7746 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7749 * LaTeX.h Fixed bug in LaTeX class where it would not
7750 re-run latex if no depfiles were changed, but the .dvi was removed.
7752 2001-11-28 André Pönitz <poenitz@gmx.net>
7754 * all the files from the change on 2001/11/26:
7755 use lyx::layout_type instead of LyXTextClass::size_type
7756 use lyx::textclass_type instead of LyXTextClassList::size_type
7758 2001-11-29 Juergen Vigna <jug@sad.it>
7760 * text.C: added support for paragraph::isFreeSpacing()
7762 * buffer.C: same as above
7764 * paragraph.h: inserted isFreeSpacing() function to enable
7765 FreeSpacing inside InsetERT.
7767 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7768 of the paragraph's in the cut/copy buffer to 0!
7770 * text2.C (removeRow): remove the assert as it can!
7772 * lyxtext.h: added helper function firstRow returning firstrow and
7773 made firstrow private again.
7775 * BufferView2.C (lockInset): don't relock if we're already locked!
7777 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7779 (removeRow): added Assert::(firstrow)
7781 * debug.C: forgot to add INSETTEXT here.
7783 2001-11-28 Juergen Vigna <jug@sad.it>
7785 * sp_spell.C (initialize): changed error text to more general
7786 spellchecker command use (not only ispell!)
7788 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7790 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7792 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7794 * vspace.C: initialise lyxgluelength on failure
7796 2001-11-28 Allan Rae <rae@lyx.org>
7798 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7799 declaration & definition that looks like a function declaration.
7801 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7803 * BufferView2.C (copy):
7804 (copyEnvironment): do not clear the selection when doing a copy.
7806 * text.C (paintFirstRow): compilation fix
7808 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7810 * tabular.C (Latex): correct line count when writing latex.
7812 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7814 * paragraph_pimpl.h:
7815 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7818 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7822 * LColor.C: change vfillline->added_space
7824 * text.C: add markers and text for added space
7826 * vspace.C: fix comment
7828 2001-11-28 André Pönitz <poenitz@gmx.net>
7830 * paragraph.C: whitespace changes
7831 * all the other files from the change on 2001/11/26:
7832 change *::pos_type into lyx::pos_type
7834 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7836 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7837 language of the document when inserting error insets.
7839 2001-11-26 André Pönitz <poenitz@gmx.net>
7841 * BufferView_pimpl.[Ch]:
7849 * paragraph_pimpl.[Ch]:
7852 * text2.C: reduce header dependencies, introduce type for positions
7854 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7856 * <various>: change to use Alert.h
7858 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7860 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7861 when encountering an unknown token.
7862 (readLyXformat2): Show an error message if there were unknown tokens.
7864 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7867 * BufferView_pimpl.C:
7871 * text2.C: use par->isInset()
7873 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7875 * paragraph_pimpl.h:
7876 * paragraph_pimpl.C: cleanup
7878 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7880 * text2.C (removeRow):
7881 * text.C (setHeightOfRow): remove useless (and costly) call to
7884 2001-11-20 Allan Rae <rae@lyx.org>
7886 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7887 Now need Inset*::checkInsertChar() to return true for appropriate
7888 cases so that the characters in the minibuffer will actually be
7891 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7893 * text.C: change the order of the includes.
7894 (workWidth): initialize it at once.
7895 (workWidth): make maxw unsigned
7896 (setHeightOfRow): remove unused variable (inset)
7897 (selectSelectedWord): remove unused variable (inset)
7898 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7900 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7902 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7903 server is not running.
7905 (closeConnection): add debug info when server is disabled.
7907 * ColorHandler.C (getGCForeground): send debug message to GUI
7910 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7912 * kbmap.C (bind): modify because return conventions of
7913 kb_sequence::parse have changed.
7915 * kbsequence.C (parse): only ignore spaces and not any stupid
7916 control character. This avoids tests like s[i] <= ' ', which are
7917 guaranteed to fail with 8bit characters and signed chars.
7918 Change return code to string::npos when there have been no error
7919 (0 was a bad idea when error is at first character)
7921 2001-11-14 José Matos <jamatos@fep.up.pt>
7924 * buffer.C (simpleDocBookOnePar): removed unused argument.
7926 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7928 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7929 insets which are part of a word. Paragraph::isLetter takes care of
7930 that now. Use Paragraph::isInset to identify insets.
7931 (selectSelectedWord): do not test for hyphenation break.
7933 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7934 that protected spaces are considered as spaces.
7936 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7939 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7942 * lyxserver.C: fix it. and small cleanup.
7944 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7946 * BufferView_pimpl.C: use inline helpers
7949 * LaTeXFeatures.C: fix typos
7952 * Spacing.C: move spacing_string into class
7954 * ToolbarDefaults.C: move stuff into namespace anon
7956 * layout.h: update enum
7958 * lyxfunc.C: use better debug
7960 * minibuffer.h: fix typo
7964 * WorkArea.C: add and use Debug::WORKAREA
7968 * text2.C: code re-organisation, inline helpers
7970 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7972 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7973 std::vector.empty().
7975 2001-11-09 Allan Rae <rae@lyx.org>
7977 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7978 '\n's after tables. Tabular and ERT inset work now makes this no
7981 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7984 * minibuffer.C: fix crash, improve drop-down completion
7986 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7989 * lyxserver.C: invalidate fd's when doing endPipe()
7991 2001-11-08 José Matos <jamatos@fep.up.pt>
7993 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7994 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7997 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7999 2001-11-07 José Matos <jamatos@fep.up.pt>
8002 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8005 * buffer.C (sgmlOpenTag):
8006 * buffer.C (sgmlCloseTag): removed debug info.
8008 * buffer.h (sgmlOpenTag):
8009 * buffer.h (sgmlCloseTag): made public.
8011 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8013 * buffer.C (saveParamsAsDefaults):
8014 * lyx_cb.C (MenuLayoutSave): remove
8016 * LyXAction.C (init):
8018 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8020 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8022 * buffer.C (setPaperStuff): removed from here...
8024 * bufferparams.C (setPaperStuff): ... and moved there.
8026 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8030 * XFormsView.C: add support for drop-down completion
8032 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8034 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8037 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8039 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8042 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8044 * lyx_main.C: change ref to known bugs
8046 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8048 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8049 to work around older babel problems.
8051 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8053 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8055 2001-10-24 Juergen Vigna <jug@sad.it>
8057 * tabular-old.C (ReadOld): below variable changes reflected.
8059 * tabular.[Ch]: added ltType struct for longtable header/footer
8060 defines and changed all instances where they are used. Added
8061 future support for double top/bottom rows.
8063 2001-10-24 José Matos <jamatos@fep.up.pt>
8065 * buffer.h (docbookHandleCaption):
8066 * buffer.C (docbookHandleCaption): removed unused function.
8067 (makeDocBookFile): moved docbook supported version to v4.1.
8069 2001-10-24 José Matos <jamatos@fep.up.pt>
8072 * tabular.C (docbookRow): new function to export docbook code of a row.
8073 (DocBook): now honors the longtable flags.
8075 2001-10-23 José Matos <jamatos@fep.up.pt>
8078 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8079 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8081 * buffer.C (makeLinuxDocFile):
8082 (makeDocBookFile): reworked the preamble, more clean, and with
8083 support for lyx defined entities. Changed the document declaration
8084 to be more XML friendly.
8086 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8087 if we need to output XML that should be done with a filter.
8089 2001-10-22 Juergen Vigna <jug@sad.it>
8091 * sp_pspell.h (class PSpell): add alive function needed in the
8092 controller to see if the spellchecker could be started.
8094 2001-10-22 Juergen Vigna <jug@sad.it>
8096 * buffer.C (insertStringAsLines): modify the font for inserting
8097 chars in certain conditions by calling checkInsertChar(font).
8099 2001-10-19 Juergen Vigna <jug@sad.it>
8101 * text.C (workWidth): use getRow instead of wrong algorithm.
8102 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8104 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8109 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8111 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8113 * text.C (workWidth): do not search for the exact row when
8114 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8115 optimization for big documents.
8117 2001-10-18 Juergen Vigna <jug@sad.it>
8119 * text.C (workWidth): new function with added Inset * parameter.
8121 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8123 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8125 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8126 change return type of getColumnNearX.
8129 * text.C (changeRegionCase): use uppercase/lowercase instead of
8132 (rightMargin): simplify code by factoring out the uses of
8137 (appendParagraph): use Paragraph::size_type
8139 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8141 * vspace.C (asLatexString): add a missing break
8143 2001-10-15 Herbert Voss <voss@perce.de>
8145 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8147 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8149 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8152 2001-10-10 André Pönitz <poenitz@gmx.net>
8154 * lyxfunc.C: removed greek_kb_flag.
8156 2001-10-10 Herbert Voss <voss@perce.de>
8158 * lyx_main.C: delete global string help_lyxdir.
8160 2001-10-09 Herbert Voss <voss@perce.de>
8162 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8164 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8166 * lyx_main.C: added global string help_lyxdir.
8168 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8170 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8172 * lyxrc.C (set_font_norm_type): support iso8859-4
8174 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8176 * LaTeX.C (deplog): add another regex for MikTeX
8178 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8180 * lyxrc.C (set_font_norm_type): support iso8859-3
8182 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8184 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8186 * LaTeXFeatures.C: remove special case of french and index
8188 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8189 before \begin{document}). This solves several incompatibilities.
8191 2001-10-03 Garst Reese <reese@isn.net>
8193 * lyx_cb.C: change CheckTex error msg.
8195 2001-10-03 José Matos <jamatos@fep.up.pt>
8197 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8199 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8201 * .cvsignore: update
8203 * lyx_main.C (commandLineVersionInfo): use new style version info.
8205 * buffer.C (writeFile):
8208 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8210 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8212 * version.h: update to use stuff in version.C
8214 * version.C.in: new file. Contains version information determined
8215 at compile time. This is a merging of version.h and
8218 2001-10-03 Juergen Vigna <jug@sad.it>
8220 * BufferView_pimpl.C (update): don't change "dirty" status in
8223 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8225 * WorkArea.C (c-tor): re-position version string slightly.
8227 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8229 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8230 revert to previous code.
8232 WorkArea.[Ch]: (show, destroySplash): methods removed.
8234 WorkArea.C: rework code so that it's an amalgam of the codes before and
8235 after the splash screen was moved to WorkArea.
8237 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8240 * vspace.C (inPixels):
8243 * buffer.C (insertStringAsLines):
8244 (asciiParagraph): fix types to be large enough
8246 * lyxlex_pimpl.h: change member status from short to int
8248 * layout.h: fix type of endlabeltype
8251 * kbsequence.C (parse): change return type to string::size_type
8253 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8256 * Bullet.C (bulletSize):
8257 (bulletEntry): do not use short ints as parameters
8259 * BufferView2.C (insertLyXFile): change a char to an int.
8261 * WorkArea.C (WorkArea): remove unneeded floats in computation
8263 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8265 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8267 * paragraph.C (asString): Do not ignore newline/hfill chars when
8268 copying to the clipboard.
8270 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8272 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8273 after a multi-line inset.
8275 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8277 * paragraph.C (validate): Set NeedLyXFootnoteCode
8279 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8281 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8282 and decrease-error to decrease.
8284 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8286 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8287 it more readable (should be equivalent)
8289 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8291 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8293 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8295 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8296 of a cursor (row, etc.) after a character has been deleted
8297 (deleteEmptyParagraphMechanism): call the method above on _all_
8298 cursors held by the LyXText when a double space has been
8301 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8303 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8305 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8307 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8308 background. Use greyOut() and the new show() methods to toggle between
8309 the foreground and background. Add code to remove the splash after
8310 its initial showing.
8312 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8313 (create_forms): no longer call Dialogs::showSplash.
8315 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8317 * .cvsignore: add version_info.h
8319 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8321 * version_info.h.in: new file
8323 * Makefile.am: add version_info.h.in
8325 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8326 version_info.h instead of VERSION_INFO
8328 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8330 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8331 The ERT inset now returns string().
8333 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8335 * lyxtext.h, text.C (selectNextWord): renamed as
8336 selectNextWordToSpellcheck.
8338 * text.C (selectNextWordToSpellcheck): Modified to not select
8339 words inside an ERT inset.
8341 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8343 * lyx_cb.C (MenuLayoutSave): change a bit the question
8345 * sp_base.h: include <sys/types.h>
8347 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8349 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8351 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8353 * several files: fix typos in user-visible strings
8355 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8357 * text2.C (pasteSelection): do not set the selection, since it
8358 will be cleared later. Actually, the intent was to fix the way the
8359 selection was set, but I figured rmoving the code was just as good.
8361 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8363 * FontLoader.C (available): Check if font is available without
8366 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8368 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8370 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8372 * lyxrc.[Ch]: added display_graphics variable and associated code.
8374 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8376 * bufferparams.C (hasClassDefaults): new method. Returns true if
8377 the buffer parameters correspond to known class defaults
8379 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8381 * XFormsView.C (show): set minimum size to the main window.
8383 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8385 * text2.C (copySelection):
8387 * lyxfind.C (LyXReplace):
8388 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8389 LyXText::selectionAsString.
8391 * paragraph.C (asString): add "label" argument to the second form
8393 * text2.C (selectionAsString): add "label" argument and pass it to
8394 Paragraph::asString.
8396 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8398 * lyx_main.C (commandLineHelp): remove version information
8400 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8402 * lyx_main.C: add -version commandline option
8404 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8406 * paragraph.h: make the optional constructor arg required instead.
8407 some modifications to other files because of this.
8409 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8411 * lyxserver.C (C_LyXComm_callback): make it static
8413 * lyx_main.C (error_handler): make it static
8415 * lyx_gui.C (LyX_XErrHandler): make it static
8417 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8419 * WorkArea.C: make the extern "C" methods static.
8421 * Makefile.am (lyx_LDADD): simplify
8423 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8425 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8426 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8428 * LyXAction.C (init):
8429 * lyxfunc.C (dispatch): associated code removal.
8431 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8433 * lyxfont.h (isSymbolFont): shut off warning
8435 * text.C (setHeightOfRow):
8436 (getVisibleRow): fix crash with empty paragraphs which have a
8439 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8441 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8444 2001-09-04 José Matos <jamatos@fep.up.pt>
8447 * tabular.C (docbook): rename docBook method to docbook.
8449 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8451 * Makefile.am: add dependencies to main.o.
8453 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8455 * FontLoader.C (available): Return false if !lyxrc.use_gui
8457 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8459 * FontInfo.C (query):
8460 * converter.C (view):
8461 * importer.C (Import):
8462 * exporter.C (Export): Can not -> cannot.
8464 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8466 * BufferView_pimpl.C: allow to create index inset even if
8469 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8471 * buffer.C (getLists): replace boost::tie code with an explicit pair
8472 as boost::tie can break some compilers.
8474 * iterators.h: Added a std:: declaration to the return type of
8477 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8479 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8482 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8484 * iterators.[Ch]: New files. Provide paragraph iterators.
8486 * buffer.C (changeLanguage): Use paragraph iterators.
8487 (isMultiLingual): ditto
8489 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8491 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8493 * FontLoader.C: Support for cmr font.
8495 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8497 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8498 (available): New method.
8500 * FontInfo.C (getFontname): Use scalable fonts even when
8501 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8504 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8506 * converter.C (Formats::view): reverted! Incorrect fix.
8508 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8510 * converter.C (Formats::view): only output the -paper option
8511 if the dvi viewer is xdvi, thereby fixing bug #233429.
8513 2001-08-23 Herbert Voss <voss@perce>
8515 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8517 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8519 * Spacing.h (Spacing): Set space to Default on in the default
8522 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8524 * vc-backend.h (RCS::versionString): add RCS to version
8525 (CVS::versionString): add CVS to version
8527 * vc-backend.C (scanMaster): do not add CVS to version.
8528 (scanMaster): do not add RCS to version
8530 * lyxvc.C (versionString): new method
8532 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8534 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8536 * Spacing.C (set): initialize fval
8538 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8540 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8543 2001-08-16 Juergen Vigna <jug@sad.it>
8545 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8547 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8549 * BufferView_pimpl.C:
8552 * text2.C: setParagraph takes linespacing now
8554 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8556 * LyxAction.C: add internal LFUN_CITATION_INSERT
8558 * LyXView.C: actually apply fix
8560 * bufferlist.C: fix open non-existent file
8562 * lyxfind.C: fix indentation
8564 * lyxfunc.C: remove unneeded assert, fix typo
8566 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8568 * MenuBackend.C: use "Floatname List"
8570 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8572 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8573 when converting LaTeX layout to insetERT.
8574 Generate a non-collapsed float when reading old float
8576 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8578 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8581 2001-08-13 Juergen Vigna <jug@sad.it>
8583 * text.C (fill): return 0 instead of 20 as this seems to be the more
8586 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8588 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8591 2001-08-13 Juergen Vigna <jug@sad.it>
8593 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8595 (SearchBackward): comment out the unlocking of the inset_owner this
8596 should not be needed!
8598 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8600 * Many files: Remove inherit_language, and add latex_language
8602 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8605 2001-08-10 Juergen Vigna <jug@sad.it>
8607 * text.C (prepareToPrint): fixed hfill-width in draw!
8609 * BufferView2.C (selectLastWord): save the selection cursor as this
8610 now is cleared in the function LyXText::clearSelection!
8612 2001-08-08 Juergen Vigna <jug@sad.it>
8614 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8615 BACKSPACE type functions.
8617 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8618 is only cutted from the document but not put in the cut-buffer, where
8619 still the old stuff should be.
8621 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8623 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8625 * tabular.C (SetWidthOfCell): fixed special case where the width
8627 (LeftLine): handle '|' in align_special.
8629 (LeftAlreadyDrawed): ditto
8630 (SetWidthOfCell): ditto
8632 2001-08-07 Juergen Vigna <jug@sad.it>
8634 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8636 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8638 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8639 * lyxlex.[hC]: ditto
8641 2001-08-06 Juergen Vigna <jug@sad.it>
8643 * text.C (getVisibleRow): fix up row clearing a bit.
8645 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8647 * minibuffer.C: make sure the X server sees the changes in the input.
8649 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8651 * paragraph.C (getFont): split into...
8652 (getLabelFont): this
8653 (getLayoutFont): and this
8654 * paragraph_pimpl.C (realizeFont): calling this
8656 * text2.C (getFont): split into...
8657 (getLayoutFont): this
8658 (getLabelFont): and this
8659 (realizeFont): all three calling this
8661 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8664 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8666 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8668 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8670 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8671 layouts from the Quote inset insertion.
8673 2001-08-03 Juergen Vigna <jug@sad.it>
8675 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8677 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8678 only if status not is already CHANGED_IN_DRAW (second level).
8680 * text.C (draw): don't set the need_break_row when inside an
8683 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8685 * buffer.C (parseSingleLyXformat2Token): handle more latex
8688 * bufferview_funcs.[hC]: change function names to
8689 begin with small char, adjust other files.
8691 2001-08-02 André Pönitz <poenitz@gmx.net>
8694 BufferView_pimpl.C: remove broken special code for math-greek
8696 2001-08-02 Juergen Vigna <jug@sad.it>
8698 * BufferView_pimpl.C (update): redone this function so that we
8699 update the text again if there was a CHANGE_IN_DRAW.
8701 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8702 (drawFromTo): added a new internal bool which is used by draw() and
8704 (general): some cursor drawing problems fixed.
8706 2001-08-01 Juergen Vigna <jug@sad.it>
8708 * lyxfind.C (LyXFind): fixed
8709 (SearchForward): ditto
8710 (SearchBackward): ditto
8712 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8713 spurius drawing of the cursor in the main area.
8715 * text2.C (status): small fix which could lead to a segfault!
8716 (clearSelection): remove unneeded BufferView param.
8718 2001-08-01 André Pönitz <poenitz@gmx.net>
8720 * lyxfunc.C: small change due to changed mathed interface
8722 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8724 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8726 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8728 * lyxfunc.c: fail gracefully if file doesn't exist
8733 * BufferView_pimpl.C: IsDirWriteable() proto changed
8735 * LyXView.C: fix updateWindowTitle() to store the last title
8737 2001-07-31 Juergen Vigna <jug@sad.it>
8739 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8740 the font (wrong since using of Paragraph::highestFontInRange).
8742 * paragraph.C (highestFontInRange): added a default_size parameter.
8744 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8745 (setHeightOfRow): reformat
8747 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8749 * converter.[hC] + affected files: move to (inital-char)lowercase
8752 * ParagraphParameters.C (ParagraphParameters): remove commented code
8754 * PainterBase.[Ch]: remove commented code
8756 * LaTeXFeatures.h: add "bool floats" for float.sty
8758 * LaTeXFeatures.C (LaTeXFeatures): init floats
8759 (require): handle float
8760 (getPackages): do it with floats
8762 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8764 * BufferView_pimpl.C (Dispatch): improve handling of
8765 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8767 * commandtags.h: #include lyxfont.h here temporarily to avoid
8770 * bufferlist.h: include LString.h here.
8772 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8774 * text2.C (getStringToIndex): new method.
8776 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8778 * *: Reduced header file dependencies all over.
8780 2001-07-30 Baruch Even <baruch@lyx.org>
8782 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8784 2001-07-29 Baruch Even <baruch@lyx.org>
8786 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8788 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8790 * ParameterStruct.h (endif): add a default constructor to make
8791 sure that all variables is initialized.
8793 * ParagraphParameters.C (ParagraphParameters): adjust
8795 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8797 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8798 index; also, check that there is something to index, and that it
8799 does not span over several paragraphs.
8800 (doubleClick): use WHOLE_WORD_STRICT for double click.
8802 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8804 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8807 2001-07-26 Baruch Even <baruch@lyx.org>
8809 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8810 an InsetFig figure, backwards compatible reading of old figure code.
8812 2001-07-27 Juergen Vigna <jug@sad.it>
8814 * text2.C: font.realize function adaption.
8816 * text.C (draw): add a warnings lyxerr text if needed.
8818 * layout.C: font.realize function adaption.
8820 * language.C: add inherit_language and implement it's handlings
8822 * bufferview_funcs.C (StyleReset): remove language parameter from
8823 font creation (should be language_inherit now).
8825 * bufferparams.C (writeFile): handle ignore_language.
8827 * paragraph.C (getFontSettings): the language has to be resolved
8828 otherwise we have problems in LyXFont!
8830 * lyxfont.C (lyxWriteChanges): added document_language parameter
8831 (update): removed unneeded language parameter
8833 * paragraph.C (validate): fixed wrong output of color-package when
8834 using interface colors for certain fonts in certain environments,
8835 which should not seen as that on the final output.
8837 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8839 * BufferView_pimpl.C:
8844 * LyXAction.C: add thesaurus support
8847 * lyxfind.C: add "once" parameter, for thesaurus, to not
8848 move to the next match
8850 2001-07-26 Juergen Vigna <jug@sad.it>
8852 * lyxfont.C (realize): honor ignore_language too!
8855 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8857 * text.C (draw): one place more for ignore_language to not draw
8860 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8862 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8864 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8866 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8867 the minipage conversion problem.
8869 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8871 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8874 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8876 * BufferView.h: don't forward declare WorkArea
8878 * BufferView.C: don't include WorkArea.h
8880 2001-07-25 André Pönitz <poenitz@gmx.net>
8884 * lyxfunc.C: new LFUN 'math-space'
8886 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8888 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8890 * text2.C (toggleInset): call open/close
8892 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8894 * lyxfunc.C (dispatch): add debug for the disabled case
8896 * font.C (buttonText): make similar to rectText
8898 * buffer.C (readInset): comment out parsing of insetlist and
8901 * PainterBase.C (rectText): small correction
8903 * BufferView_pimpl.C: comment out insettheorem and insetlist
8904 * LyXAction.C: ditto
8905 * commandtags.h: ditto
8907 2001-07-24 Juergen Vigna <jug@sad.it>
8909 * text.C (draw): honor the ignore_language.
8911 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8913 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8915 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8918 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8920 * lyxtext.h: remove unused (and unimplemented) methods
8922 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8924 * text.C (getVisibleRow): honor background color
8927 * Painter.h: remove default color argument for fillRectangle
8929 * text.C (backgroundColor): new method
8931 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8933 * text.C (getVisibleRow): adjust
8935 * font.[Ch] (rectText): new method, metrics
8936 (buttonText): new method, metrics
8938 * PainterBase.[hC]: make rectText and buttonText always draw and take
8941 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8943 * ToolbarDefaults.C (read):
8944 * MenuBackend.C (read): allow escaping in all strings
8946 * BufferView_pimpl.C (insertAndEditInset): new method.
8947 (Dispatch): use insertAndEditInset whenever appropriate.
8949 * BufferView_pimpl.C (insertNote): removed
8951 * BufferView_pimpl.C (smartQuote): new method, moved from
8952 BufferView; if an insetquote cannot be inserted, insert a '"'
8955 * BufferView2.C: remove insertCorrectQuote();
8957 * lyxfunc.C (getStatus): Add support for all remaingin
8960 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8962 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8963 command (necessary to pass " as parameter of self-insert.
8965 * text.C (selectWordWhenUnderCursor):
8966 (selectWord): add word_location parameter
8967 (selectWordWhenUnderCursor): same + remove special code for word
8969 (selectNextWord): use kind() to guess type of insetspecialchar,
8972 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8973 (insertErtContents): create ert insets as collapsed.
8974 (readInset): better compatibility code for Info inset.
8976 2001-07-20 Juergen Vigna <jug@sad.it>
8978 * lyxfunc.C (dispatch): use always LyXFind now!
8980 * text2.C (init): add a reinit flag so that the LyXText can be
8981 reinited instead of deleted and reallocated (used in InsetText).
8983 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8989 2001-07-18 Juergen Vigna <jug@sad.it>
8991 * text.C (selectNextWord): handle insets inside inset by calling
8992 always the bv->text functions so that we can go up the_locking_inset!
8994 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8995 in strange locations when inside an inset!
8997 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8998 handling to include insets.
9000 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9002 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9004 * LyXAction.C (init):
9006 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9007 LIGATURE_BREAK, since the name is so stupid.
9009 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9011 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9014 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9016 * sp_form.[Ch]: remove.
9018 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9020 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9023 * src/buffer.C (readInset): ditto.
9025 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9027 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9028 menuSeparator(), endOfSentenceDot(), ldots() and
9029 hyphenationPoint(), which are therefore removed.
9030 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9032 * LyXAction.C (init):
9033 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9035 * paragraph.C (getWord): removed.
9037 * BufferView_pimpl.C (Dispatch): use last word or selection for
9038 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9040 * lyx_main.C (queryUserLyXDir): do not ask before creating
9041 user_dir, except if it has been named explicitely.
9043 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9045 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9046 a document of zero size.
9048 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9050 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9051 approriately in the c-tor and in require().
9052 (getPackages): output the appropriate LaTeX for natbib support.
9054 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9055 variables "use_natbib" and "use_numerical_citations" when reading the
9057 (readInset): read the various natbib cite commands.
9058 (validate): white-space change.
9060 * bufferparams.[Ch]: new variables "bool use_natbib" and
9061 "bool use_numerical_citations".
9062 (writeFile): output them in the LyX file.
9064 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9066 * lyxfunc.C (getStatus): add support for all the inset insertion
9069 * text2.C (insertInset):
9070 * paragraph.C (insetAllowed):
9071 * BufferView_pimpl.C (insertInset): update to take in account the
9072 renaming of insertInsetAllowed
9074 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9076 * text2.C (getInset): new method. returns inset at cursor position.
9078 * BufferView_pimpl.C (Dispatch): changes because of this.
9080 * LyXAction.C (init): rename open-stuff to inset-toggle.
9082 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9084 * text2.C (toggleInset): renamed from openStuff; use
9087 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9089 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9091 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9093 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9095 * buffer.C (readLyXformat2): Add filename to the error dialog
9097 2001-07-18 Juergen Vigna <jug@sad.it>
9099 * tabular.C (GetCellNumber): put an assert here instead of the check!
9101 2001-07-17 Juergen Vigna <jug@sad.it>
9103 * BufferView_pimpl.C (toggleSelection): adapted too.
9105 * text.C (selectNextWord): adapted for use with insets.
9106 (selectSelectedWord): ditto
9108 2001-07-17 Juergen Vigna <jug@sad.it>
9110 * sp_spell.C (PSpell): fix initialitation order.
9112 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9114 * paragraph.C: spacing
9116 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9118 * sp_spell.C: repair language selection for pspell
9120 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9122 * lyxfunc.h: change more methods to begin with lower char.
9124 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9126 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9127 for unknown layouts.
9129 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9131 * buffer.C (readLyXformat2): Generate an error dialog if there are
9134 2001-07-16 Juergen Vigna <jug@sad.it>
9136 * sp_spell.C: always compile ISpell part.
9138 * lyxrc.C: added use_pspell entry and it's handling.
9140 2001-07-13 Juergen Vigna <jug@sad.it>
9142 * sp_spell.C: removed double includes.
9144 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9146 Consistent use of Lsstream.h:
9147 * Lsstream.h: added using std::stringstream for consistencies sake.
9149 * buffer.C: removed using std::stringstream
9151 * lyxfont.C (stateText):
9152 * paragraph.C (asString):
9153 * text.C (selectNextWord, selectSelectedWord):
9154 * text2.C (setCounter):
9155 * vspace.C (asString, asLatexString):
9156 std::ostringstream -> ostringstream.
9158 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9160 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9161 * commandtags.h: add LFUN_HELP_ABOUTLYX
9162 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9164 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9166 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9168 * lyx_gui_misc.C: remove spellchecker
9169 * lyxfunc.C: showSpellchecker
9171 * sp_ispell.h: added
9172 * sp_pspell.h: added
9174 * sp_form.[Ch]: removed
9175 * spellchecker.[Ch]: removed
9177 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9179 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9181 (simpleTeXSpecialChars): Simply print the input character without
9182 any special translation if pass_thru is set.
9184 * layout.h: Added bool pass_thru to layout class for being able to
9185 implement pass through of a paragraph for Literate Programming.
9187 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9188 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9189 * layout.C (Read): add "passthru" to list of layout tags and add
9190 code to set the pass_thru boolean when it is read.
9192 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9194 * trans_decl.h: remove allowed from KmodInfo
9196 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9200 * paragraph_pimpl.C (erase): use boost::prior
9202 * Painter.C (text): use data() instead of c_str() when length is
9204 * WorkArea.C (putClipboard): ditto
9205 * font.h (width): ditto
9207 * BufferView2.C: use it-> instead of (*it). for iterators
9209 * paragraph_pimpl.C: ditto
9210 * paragraph.C: ditto
9211 * minibuffer.C: ditto
9216 * converter.C: ditto
9218 * Variables.C: ditto
9219 * TextCache.C: ditto
9220 * MenuBackend.C: ditto
9221 * LyXAction.C: ditto
9223 * FloatList.C: ditto
9225 * ColorHandler.C (LyXColorHandler): ditto
9227 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9229 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9231 * text2.C (openStuff): reintroduce this method (which had been
9232 nuked in NEW_INSETS frenzy).
9234 * lyxfunc.C (Dispatch): when an action has not been handled, use
9235 its name in the error message, not its number.
9237 * paragraph.C (inInset): change method name to begin with lowercase.
9240 * text2.C: updates because of this.
9242 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9244 * ToolbarDefaults.C (add): add spaces in error message
9246 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9248 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9249 (readLyXformat2): rename return_par to first_par, use lyxlex's
9250 pushToken and remove the manual push handling.
9251 (parseSingleLyXformat2Token): add another ert comp. variable:
9252 in_tabular, rename return_par to first_par. handle newlines better
9254 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9256 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9258 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9260 * text2.C (getParFromID): removed
9262 * buffer.C (getParFromID): new method moved form lyxtext.
9263 * BufferView2.C (insertErrors): adjust
9264 (setCursorFromRow): adjust
9265 * BufferView_pimpl.C (restorePosition): adjust
9266 * lyxfunc.C (Dispatch): adjust
9267 * undo_funcs.C (textUndo): adjust
9269 (textHandleUndo): adjust
9270 (textHandleUndo): adjust
9272 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9274 * buffer.C: up' the LYX_FORMAT
9276 * lyxfont.h: turn NO_LATEX on as default
9278 * buffer.C (insertErtContents): new methods of tex style compability.
9279 (parseSingleLyXformat2Token): use it several places.
9280 * tabular.C (OldFormatRead): and here
9282 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9284 * text2.C: remove some commented code.
9287 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9288 * trans.C: changes because of the above.
9290 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9292 * text2.C (setCounter): Fix counters bug with bibliography layout.
9294 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9296 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9297 own member functions
9298 (simpleTeXSpecialChars): ditto
9300 2001-07-06 Juergen Vigna <jug@sad.it>
9302 * a lot of files: changed the access to LyXText::status and the
9303 call of undo-functions.
9305 * undo.[Ch]: added a inset_id to the undo informations.
9307 * undo_funcs.[Ch]: added and moved here all undo functions.
9309 * lyxtext.h: give the status enum a weight, made status_ a private
9310 variable and made accessor functions for it, removed the whole bunch
9311 of undo-functions as they are now in their own file, make some
9312 functions publically available. Added function ownerParagraph with
9315 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9316 made InInset() a const function, added getParFromID() function.
9318 * buffer.[Ch]: added const version for inset_iterator functions,
9319 added getInsetFromID() function.
9321 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9322 changed undo functions for new version.
9324 2001-07-05 Juergen Vigna <jug@sad.it>
9326 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9327 unknow mechanism does not call the proper constructor but only this
9328 one also if I request the other!?
9330 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9332 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9334 * text2.C (LyXText): use initialization lists.
9336 * lyxtext.h (Selection): initialize set_ and mark_
9337 (init): remove method
9339 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9341 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9343 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9345 * screen.[Ch]: change method names to begin with lowercase
9347 * BufferView_pimpl.C (updateScrollbar): simplify further and
9348 hopefully make it a bit faster.
9350 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9352 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9353 calling directly xforms functions.
9355 * Painter.C (Painter):
9356 * lyx_cb.C (MenuWrite):
9357 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9360 * lyx_gui.C: remove bogus guiruntime extern declaration.
9362 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9364 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9366 (redoDrawingOfParagraph): ditto
9367 (redoParagraphs): ditto
9368 (cutSelection): don't create a object for CutAndPaste use the
9369 static method directly
9370 (pasteSelection): ditto
9372 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9375 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9377 * modifications to some other files because of this.
9379 * Makefile.am (lyx_SOURCES): add XFormsView
9381 * XFormsView.[Ch]: new files
9383 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9384 the main window. Move the gui dependent stuff to XFormsView
9386 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9388 * tabular.C (GetCellInset): update cur_cell also in the row/col
9389 version of this function.
9391 * lyxfunc.C: no need to include figure_form.h here.
9397 * lyxvc.C: no need to include forms.h here.
9399 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9401 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9403 * lyxfunc.C (Dispatch):
9405 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9406 constructor argument.
9408 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9410 * paragraph.C (Paragraph): dont't clear, and just set layout.
9411 (makeSameLayout): use params's copy contructor.
9413 * ParagraphParameters.[Ch] (makeSame): delete method
9415 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9417 * Variables.[Ch]: fix indentation, rename set to isSet
9419 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9421 * lyxfunc.C (Dispatch): fix typo
9423 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9425 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9428 * bufferlist.C: include assert.h for emergencyWrite().
9430 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9432 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9433 give up at last (bug #425202) !
9435 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9441 * spellchecker.C: strip spellchecker options and bring up
9442 preferences tab instead
9444 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9446 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9447 the istringstream constructor
9449 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9451 * paragraph.C (getLayout): fix return value
9453 * paragraph.h: do not declare getLayout as inline.
9455 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9457 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9459 * lyxcursor.h (operator<): new func
9460 (operator>): new func
9461 (operator>=): new func
9462 (operator<=): new func
9464 * text.C (changeCase): use selection.start and selection.end
9465 (changeRegionCase): require from to be <= to. Require par to be a
9468 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9470 2001-06-27 Juergen Vigna <jug@sad.it>
9472 * text.C (cursorLeftOneWord): changed to return the cursor and added
9473 overlay with BufferView * parameter which calls this one.
9475 (selectWord): use new getWord function.
9476 (changeCase): renamed from changeWordCase as and extended to work
9479 * lyxtext.h: added enum word_location
9481 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9482 changeCase as this operates now also on selections.
9484 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9486 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9488 * many files: send debug output to Debug::INFO instead of
9491 * converter.C (View):
9493 (Move): send debug output to Debug::FILES instead of console.
9495 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9497 * lyxfunc.C (getStatus): use func_status
9499 * func_status.h: new header, describing the results of
9502 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9505 2001-06-25 The LyX Project <jug@sad.it>
9507 * buffer.C (sgmlOpenTag):
9509 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9511 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9513 * text2.C: remove some dead code
9515 * tabular.C (GetCellInset): store the last cell checked (gotten)
9517 * tabular.h: add the helper for the speedup
9519 * lyxtext.h: remove some dead code
9521 2001-06-26 The LyX Project <Asger>
9523 * paragraph.C: Change export to LaTeX of alignment to
9524 \begin{center} and family for better roundtrip work with reLyX.
9526 * Tune the math drawing a bit.
9528 2001-06-25 The LyX Project <Asger>
9530 * LColor.C (LColor): New color for math background. New color
9533 2001-06-25 The LyX Project <jug@sad.it>
9535 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9538 * bufferlist.C (newFile): do not restrict to files ending with
9541 * BufferView_pimpl.C (MenuInsertLyXFile):
9543 2001-06-24 The LyX Project <jug@sad.it>
9545 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9548 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9550 * lyxtext.h: rename most methods to begin with a small char.
9551 Lots of changes because of this.
9553 * paragraph.C (Paragraph): do not call fitToSize
9554 (erase): call Pimpl::erase
9555 (insertChar): call Pimpl::insertChar
9556 (insertInset): call Pipl::insertInset
9557 (breakParagraph): do not call fitToSize
9558 (breakParagraphConservative): do not call fitToSize
9559 (fitToSize): remove method
9561 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9563 2001-06-24 The LyX Project <Asger>
9565 * Fix Qt compilation^2
9567 2001-06-24 The LyX Project <jug@sad.it>
9569 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9570 depthHook(getDepth()-1).
9573 * ParagraphParameters.h:
9574 * ParameterStruct.h: change type of depth to unsigned int ==
9575 depth_type. Many adaptations to other files before of that.
9577 2001-06-24 The LyX Project <Asger>
9579 * Fix Qt compilation.
9581 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9583 * paragraph.h: renamed several methods to begin with small letter.
9584 several changes to many parts of the code because of this.
9586 2001-06-23 The LyX Project <jug@sad.it>
9588 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9589 rewritten to discard all double spaces when KeepEmpty is off
9590 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9591 to only handle newlines but not fiddle with spaces and friends.
9593 * lyxfunc.C (MenuNew): when doing 'new from template', use
9594 template_path as default directory
9596 2001-06-23 The LyX Project <Asger>
9598 * Clean-up of header file includes all over
9599 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9601 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9603 * paragraph.h: renamed from lyxparagraph.h
9605 2001-06-23 Asger <lyx@violet.home.sad.it>
9607 * Buffer.h: Removed Buffer::resize
9608 * BufferList.h: Removed BufferList::resize
9609 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9610 the document lazily when we change the width, or the font settings.
9612 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9614 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9616 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9618 * buffer.h: remove out of date comment
9620 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9623 * screen.C: fix "theoretical" GC leak
9625 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9627 * LaTeX.C (scanAuxFile):
9628 (deplog): remove trailing \r when reading stream (useful under
9631 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9633 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9634 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9635 and BufferView::theLockingInset(Inset*), so should use them and not
9636 access bv_->text->the_locking_inset directly.
9638 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9640 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9643 * tex-defs.h: remove old unused file
9645 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9647 * BufferView_pimpl.C: fix typo, remove minibuffer message
9648 when buffer has loaded
9650 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9652 * lyxfunc.C (Dispatch): use stringstream
9653 (MenuNew): use stringstream
9654 (Open): use stringstream
9656 * importer.C (Import): use stringstream
9658 * bufferview_funcs.C (CurrentState): use stringstream
9660 * LaTeX.C (run): use stringstream
9662 * BufferView_pimpl.C (savePosition): use stringstream
9663 (restorePosition): use stringstream
9664 (MenuInsertLyXFile): use stringstream
9666 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9679 * vspace.C: removed // -*- C++ -*- as first line.
9682 * version.h: added // -*- C++ -*- as first line.
9684 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9686 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9688 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9691 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9693 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9696 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9698 * gettext.C: include LString.h even when --disable-nls is on.
9700 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9702 * converter.h (Get): changed argument type from int to
9703 FormatList::size_type to avoid unnecessary conversion.
9705 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9708 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9710 * gettext.h: include LString.h even when --disable-nls is on.
9712 2001-06-07 Juergen Vigna <jug@sad.it>
9714 * text.C (BreakAgain): subst spaces with tabs.
9716 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9717 (resizeInsetsLyXText): set force on resizeLyXText.
9719 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9721 * gettext.h (gettext_init):
9722 (locale_init): use a real definition instead of a macro
9724 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9726 * Bufferview_pimpl.C:
9728 * LColor.C: further lcolor tidies
9730 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9732 * BufferView_pimpl.C (updateScrollbar): simplify.
9734 * BufferView2.C: don't include insets/insetinfo.h, change
9735 prototype for insertInset and call the Pimpl version. let
9736 updateInset call Pimpl version.
9738 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9739 gotoInset to BufferView::Pimpl
9741 2001-06-01 Juergen Vigna <jug@sad.it>
9743 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9744 inside a LockingInset (is the update needed at all?).
9746 2001-05-31 Juergen Vigna <jug@sad.it>
9748 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9749 here not the old one otherwise how should we compare it afterwards
9752 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9757 * FontInfo.C: bring C functions into global namespace when
9760 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9762 * LString.h: make sure config.h has been loaded before LString.h.
9764 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9765 (one for each char read by EatLine!).
9767 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9770 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9772 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9773 to the same as the par we break from
9775 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9777 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9779 * MenuBackend.C (expand): also create menu entries for wide
9780 versions of the floats.
9782 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9784 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9786 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9787 frontends/Makefile.am
9793 * tabular.C (getTokenValue): add std::
9795 * tabular-old.C (getTokenValue): add std::
9796 (getTokenValue): ditto
9797 (getTokenValue): ditto
9799 * screen.C (ToggleSelection): adjust
9801 * lyxtext.h: put selection cursors inside a Selection struct.
9803 * lyxfunc.C (moveCursorUpdate): adjust
9805 * lyxfont.C (latexWriteStartChanges): add std::
9809 * font.h: delete with(char const *, LyXFont const &)
9811 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9813 * FontInfo.C (getFontname): add std::
9815 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9816 (workAreaButtonPress): adjust
9817 (tripleClick): adjust
9819 (moveCursorUpdate): adjust
9822 * BufferView2.C (gotoInset): adjust
9824 2001-05-30 Juergen Vigna <jug@sad.it>
9826 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9827 to check pspell I add this as default as I now have new pspell
9828 libraries and they seem to use this.
9830 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9832 * text2.C (CutSelection): make the cursor valid before the call to
9835 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9837 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9838 relied on 0 terminated strings and other horrors. Bug found due to
9839 the new assert in lyxstring!
9841 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9844 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9846 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9849 * lyxfunc.C (processKeySym): change method of getting to the
9852 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9853 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9854 * BufferView_pimpl.[Ch]: here as private methods.
9856 2001-05-28 Juergen Vigna <jug@sad.it>
9858 * text.C (SetHeightOfRow): added the update() call again as it is
9859 needed to initialize inset dimensions!
9861 2001-05-16 Juergen Vigna <jug@sad.it>
9863 * text2.C (SetCharFont): Add new function with BufferView * and
9864 bool toggleall parameters for setting insets internal fonts.
9865 (SetFont): Freeze the undo as we may change fonts in Insets and
9866 all this change should be inside only one Undo!
9868 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9869 setting font's in insets as for them we have the SetFont function!
9871 2001-05-15 Juergen Vigna <jug@sad.it>
9873 * text2.C (ClearSelection): to be sure we REALLY don't have any
9876 * tabular.C (TeXCellPreamble): fixed the left border problem for
9879 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9881 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9884 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9886 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9887 LFUN_BREAKPARAGRAPH.
9889 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9890 help test to "internal only", similar for LFUN_INSERT_URL
9892 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9893 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9894 auto_region_delete and deadkeys.
9896 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9899 * LColor.C: remove some dead entries, tidy a little
9901 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9903 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9905 (Dispatch): implement LFUN_ESCAPE
9907 * commandtags.h: add LFUN_ESCAPE
9909 * LyXAction.C (init): add entry for LFUN_ESCAPE
9911 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9912 Remove commented code.
9913 (insertNote): moved here
9914 (open_new_inset): moved here
9916 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9919 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9921 * kbmap.C (findbinding): clean it up and make it work correctly.
9923 * lyx_main.C (init): do not pass argc and argv as parameters
9925 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9927 * buffer.C: fix path for OS/2 & Win32
9931 * lyx_main.C: Added os:: class.
9933 * os2_defines.h: update
9935 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9937 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9938 better by trying again with reduced state.
9940 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9942 * lyxrc.C (read): print error about invalid key sequence only when
9943 debugging (because not all latinX keysyms are known to some X
9946 * kbsequence.C (getiso): add a few std:: qualifiers
9947 (getiso): comment out extra return statement.
9949 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9951 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9953 (Dispatch): enhance the accent inset a bit. (not perfect)
9955 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9957 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9959 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9961 * bufferlist.C (emergencyWrite): fix assert() call
9963 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9965 * text.C (InsertChar): Added trivial patch to only send the "you
9966 can not do multiple spaces this way" message once during a
9969 2001-05-08 Baruch Even <baruch@lyx.org>
9971 * Makefile.am: Changed order of libraries to get LyX to link properly
9972 with the gnome frontend.
9974 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9976 * LaTeXFeatures.h: add a std:: qualifier
9978 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9980 * paragraph.C (String): use stringstream
9982 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9984 * paragraph.C (writeFile): remove footflag arg
9986 * buffer.C (makeLaTeXFile): use stringstream
9987 (latexParagraphs): remove footnot gurba
9989 * LaTeXFeatures.C (getPackages): use stringstream
9990 (getMacros): likewise
9991 (getTClassPreamble): likewise
9992 (getFloatDefinitions): new method
9994 * paragraph.C (writeFile): reindent
9997 * WorkArea.h: revert the xpos + etc changes.
9999 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10001 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10003 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10004 (pasteSelection): likewise
10005 * text2.C (CreateUndo): likewise
10007 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10009 * minibuffer.C (peek_event): temporarily reduce the functionality
10010 of the minibuffer (to allow args on lfuns)
10012 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10013 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10015 * buffer.C (readInset): add compability reading of old float
10016 lists, add reading of new style float list.
10017 (readInset): avoid reevaluation of inscmd.getCmdName()
10018 (getLists): reindent
10020 * MenuBackend.C (MenuItem): implement parsing of
10021 md_floatlistinsert and md_floatinsert.
10022 (expand::LastFiles): move initalizaton of iterators out of loop,
10023 avoid reevaluation.
10024 (expand::Documents): introduce typdedef vector<string> Strings,
10026 (expand::ExportFormats): introduce typedef vector<Format const *>
10027 Formats, and use it.
10028 (expand): implement FloatListInsert and FloatInsert.
10030 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10031 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10032 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10034 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10036 (Dispatch::LFUN_FLOAT_LIST): implement
10038 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10040 * LaTeX.C (run): Fix problem with --export code.
10042 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10044 * BufferView.[Ch] (workarea): removed.
10045 (getClipboard) new method; wrapper for workarea()->getClipboard()
10047 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10050 * WorkArea.h (width, height, xpos, ypos): These methods all
10051 returned the dimensions of the work_area sub-area of WorkArea,
10052 resulting in a position error if the WorkArea were resized. Now
10053 return the dimensions of the entire WorkArea.
10055 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10057 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10059 * LaTeX.C (deplog): correct the syntax of regex reg1
10061 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10063 * undo.C: remove !NEW_INSETS cruft
10065 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10067 * text2.C: remove !NEW_INSETS cruft
10069 * text.C: remove !NEW_INSETS cruft
10071 * tabular.C: remove !NEW_INSETS cruft
10073 * spellchecker.C: remove !NEW_INSETS cruft
10075 * lyxtext.h: remove !NEW_INSETS cruft
10077 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10079 * lyxfunc.C: remove !NEW_INSETS cruft
10081 * lyxfind.C: remove !NEW_INSETS cruft
10083 * lyx_cb.C: remove !NEW_INSETS cruft
10085 * figureForm.C: remove !NEW_INSETS cruft
10087 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10089 * buffer.[Ch]: remove !NEW_INSETS cruft
10091 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10093 * CutAndPaste.C: remove !NEW_INSETS cruft
10095 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10097 * BufferView2.C: remove !NEW_INSETS cruft
10099 * BufferView.h: remove !NEW_INSETS cruft
10101 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10103 * Lsstream.h: include LString.h before the sstream headers to
10104 fix problem with gcc 2.95.3 and lyxstring
10106 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10108 * lyx_main.C: add using directives when needed for C functions
10109 declared in std:: namespace.
10111 2001-04-27 Juergen Vigna <jug@sad.it>
10113 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10114 (SetHeightOfRow): comment out the update call should not be needed!
10116 2001-04-13 Juergen Vigna <jug@sad.it>
10118 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10119 (LyXTabular): tried to minimize operator= operations (and realized
10120 hopfully Lars wish).
10122 2001-04-27 Juergen Vigna <jug@sad.it>
10124 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10126 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10128 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10130 * buffer.C (readInset): hack to make listof algorithm work
10132 * BufferView_pimpl.C: hack to make listof algorithm work
10134 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10136 * LyXAction.C: removed all !NEW_INSETS cruft
10137 (init): moved lfun_item in method
10139 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10141 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10143 * BufferView2.C (theLockingInset): white space.
10145 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10147 * minibuffer.C: include <iostream>
10149 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10151 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10153 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10155 * text.[Ch] (TransposeChars): new method
10157 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10159 * call message directly through LyXView instead of through LyXFunc
10160 * BufferView2.C: adjust
10161 * BufferView_pimpl.C: adjust
10162 * FontLoader.C: adjust
10164 * bufferview_funcs.C: adjust
10165 * converter.C: adjust
10166 * figureForm.C: adjust
10167 * importer.C: adjust
10169 * lyx_gui_misc.C: adjust
10170 * lyxfunc.C: adjust
10173 + more files in subdirs
10175 * lyxparagraph.h (size): move up int file
10178 * adjust all uses of Assert to lyx::Assert.
10180 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10181 lyxfunctional in namespace lyx
10182 * layout.C (hasLayout): ditto
10185 (delete_layout): ditto
10186 (NumberOfClass): ditto
10187 * converter.C (GetFormat): ditto
10192 * bufferlist.C (getFileNames): ditto
10193 (emergencyWriteAll): ditto
10196 * MenuBackend.C (hasSubmenu): ditto
10199 * BufferView_pimpl.C (getInsetByCode): ditto
10201 2001-04-18 Juergen Vigna <jug@sad.it>
10203 * vspace.C (asLatexString): fixed the 100% problem.
10205 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10207 * lyxfunc.C (Dispatch):
10209 * minibuffer.h: add a few std:: qualifiers
10211 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10213 * minibuffer.[Ch]: reimplement so that commands is initiated and
10214 run from lyxfunc, simplified som handling, and made the completion
10215 and history code for complete. wip.
10217 * lyxfunc.C (processKeySym): call message
10218 (miniDispatch): new temporary method
10219 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10220 (LFUN_MESSAGE): implement
10221 (LFUN_MESSAGE_PUSH): implement
10222 (LFUN_MESSAGE_POP): implement
10223 (initMiniBuffer): the initial/defualt minibuffer message.
10225 * lyxfont.[Ch]: inline some more getters
10227 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10229 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10231 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10232 (AutoSave): use LFUN_MESSAGE
10233 (Reconfigure): ditto
10235 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10237 * figureForm.C: use LFUN_MESSAGE
10239 * converter.C (runLaTeX): use LFUN_MESSAGE
10241 * bufferview_funcs.C: use LFUN_MESSAGE
10243 (changeDepth): ditto
10245 * bufferparams.h: use boost::
10247 * bufferlist.h: inherit privately from noncopyable
10249 * bufferlist.C (loadLyXFile): remove some commented code.
10251 * buffer.C (runChktex): use LFUN_MESSAGE
10253 * ShareContainer.h: inherit privately from noncopyable
10255 * ParagraphParameters.[hC] (depth): inline it.
10257 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10259 (message): new method
10260 (messagePush): ditto
10261 (messagePop): ditto
10262 (show): init minibuffer
10263 (showState): direct call
10265 * LaTeX.[Ch]: inherit privately from noncopyable
10266 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10267 instead of WriteStatus.
10269 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10271 * BufferView_pimpl.C (buffer): don't init minibuffer
10272 (workAreaButtonPress): use LFUN_MESSAGE
10273 (workAreaButtonRelease): ditto
10274 (savePosition): ditto
10275 (restorePosition): ditto
10276 (MenuInsertLyXFile): ditto
10277 (workAreaExpose): don't init minibuffer
10278 (update): remove commented code, simplify
10280 * BufferView2.C (openStuff): use LFUN_MESSAGE
10281 (toggleFloat): ditto
10284 (copyEnvironment): ditto
10285 (pasteEnvironment): ditto
10290 (updateInset): remove some commented code
10292 * lastfiles.h: inherit privately from noncopyable
10295 * lyx_main.h: ditto
10297 * lyxlex_pimpl.h: ditto
10299 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10300 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10301 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10303 * LyXAction.h: inherit privately from noncopyable, add methods
10304 func_begin, func_end, returning iterators to the func map.
10306 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10307 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10308 (func_begin): new method
10309 (func_end): new method
10311 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10313 (copySelection): ditto
10314 (pasteSelection): ditto
10316 * BufferView.C: whitespace change
10317 * BufferView.h: inherit privately from noncopyable
10319 2001-04-16 Allan Rae <rae@lyx.org>
10321 * tabular-old.C (l_getline):
10322 * spellchecker.C (sc_check_word):
10323 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10324 an unrecognised preprocessor directive. So ensure they're wrapped.
10326 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10328 * src/exporter.C (Export): Give an error message when path to file
10331 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10333 * LaTeX.C (deplog): Always check that foundfile exists.
10335 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10338 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10340 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10342 * tabular.[Ch] (getLabelList): implement new method
10344 * minibuffer.h: comment ouf setTiimer
10346 * minibuffer.C (ExecutingCB): constify res
10347 (peek_event): constify s
10348 (Set): constify ntext
10349 (Init): constify nicename
10351 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10353 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10354 (savePosition): use two params to Minibuffer::Set
10355 (restorePosition): ditto
10357 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10359 * lyx_main.C: include language.h
10361 * Makefile.am (lyx_main.o): add language.h
10363 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10369 * CutAndPaste.C: include gettext.h
10371 * lyxfont.h: remove old hack with ON and OFF.
10374 * lyxfont.h: do not include language.h...
10379 * bufferview_funcs.C:
10385 * paragraph.C: ... but do it here instead
10387 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10389 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10391 * tabular.C: small reformat
10393 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10396 (BreakParagraph): ditto
10397 (SetOnlyLayout): ditto
10400 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10403 * lastfiles.C: removed most using decl, add std:: where needed
10405 * buffer.C: ws changes
10407 * MenuBackend.C (class compare_format): put into anon namespace
10408 (expand): constify label, names, action, action2
10411 * text.C (SingleWidth): constify font
10412 (IsBoundary): constify rtl2
10413 (GetVisibleRow): constify ww
10415 * LaTeX.C (deplog): constify logfile
10417 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10419 (workAreaExpose): constify widthChange, heightChange
10421 * lyxrow.C (par): moved
10424 * lyxrow.h: as inlines here
10426 * lyxfont.h (shape): moved from lyxfont.C
10427 (emph): moved from lyxfont.C
10429 * lyxfont.C (LyXFont): use initialization list for all
10431 (shape): move to lyxfont.h as inline
10432 (emph): move to lyxfont.h as inline
10435 2001-04-04 Juergen Vigna <jug@sad.it>
10437 * vspace.C: had to include stdio.h for use of sscanf
10439 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10442 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10443 independent of xforms.
10445 2001-04-02 Juergen Vigna <jug@sad.it>
10447 * spellchecker.C: fixed namespace placing!
10449 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10451 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10452 the LyXParagraph * is 0.
10454 2001-03-29 Juergen Vigna <jug@sad.it>
10456 * vspace.C: added support for %, c%, p%, l%.
10457 (stringFromUnit): added helper function.
10458 (asLatexString): changed to give right results for the %-values.
10460 * buffer.C: convert the widthp in a width%.
10462 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10464 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10467 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10468 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10470 * lyx_cb.[Ch]: see above.
10472 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10476 * lyx.[Ch]: replaced by figure_form.[Ch].
10480 * lyxfunc.C: changed headers associated with above changes.
10482 2001-03-27 Juergen Vigna <jug@sad.it>
10484 * BufferView_pimpl.C: set the temporary cursor right!
10486 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10488 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10490 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10492 * LString.h: removed "using std::getline"!
10494 * BufferView_pimpl.C (Dispatch): changes due to changes in
10495 InsetInclude::Params.
10497 * buffer.C (tag_name): removed redundant break statements as they were
10498 producing lots of warnings with my compiler.
10500 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10502 * LString.h: add "using std::getline" when using the real <string>.
10504 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10506 * buffer.C: removed bitset usage.
10507 PAR_TAG moved to an anonymous name space.
10508 (tag_name): new funtion, also in the anonymous namespace.
10509 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10510 (makeDocBookFile): clean code. Completed transition from string arrays
10512 (SimpleDocBookOnePar): code clean.
10514 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10516 * tabular.C: add some comments.
10518 2001-03-22 Juergen Vigna <jug@sad.it>
10520 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10521 compatibility read a bit and fixed bug with minipage in different
10524 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10526 * buffer.C (pop_tag): removed.
10527 (push_tag): removed.
10528 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10529 array replaced with vector. Added support for CDATA sections.
10530 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10532 (makeDocBookFile): XML conformant declaration of CDATA section,
10533 fixed bug related to <emphasis> in the first paragraph char.
10534 (sgmlOpenTag): exclude empty tags.
10535 (sgmlCloseTag): ditto.
10537 * buffer.h (pop_tag): removed.
10538 (push_tag): removed.
10540 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10542 * language.h (Languages): added size_type and size().
10544 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10546 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10547 response on compability reading of minipages. One probliem is that
10548 the old usage of minipages was «flertydig»
10550 * several files here and in subdirs: don't use static at file
10551 scope use anon namespaces instead.
10553 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10555 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10556 LaTeX output. This is necessary for Literate document
10559 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10561 * buffer.C: insert hfill when needed.
10563 * tabular.C (l_getline): use string::erase, small whitespace change.
10565 * BufferView_pimpl.C: try the anon namespace.
10566 * WorkArea.C: ditto
10568 2001-03-16 Juergen Vigna <jug@sad.it>
10570 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10571 otherwise it won't open options-dialogs.
10573 * buffer.C: honor pextraWidth(p) on converting minipages.
10575 * tabular.C (l_getline): changed the functions to strip trailing \r.
10577 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10579 * BufferView_pimpl.C:
10580 * minibuffer..C: added "using SigC::slot" declaration.
10582 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10584 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10590 * paragraph.C: ditto
10592 * lyxtext.h: NO_PEXTRA
10594 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10596 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10597 * ParameterStruct.h: ditto
10598 * ParagraphParameters.h: ditto
10599 * lyxparagraph.h: ditto
10601 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10603 * buffer.C: add compability for minipage alignment.
10604 (latexParagraphs): remove unwanted pextra check.
10606 * several files: remove CXX_WORKING_NAMESPACES
10608 * buffer.C (pop_tag): tie is in namespace boost
10610 * BufferView.h: noncopyable is in namespace boost
10612 * lyx_main.h: ditto
10615 * lastfiles.h: ditto
10616 * bufferlist.h: ditto
10617 * ShareContainer.h: ditto
10619 * LyXAction.h: ditto
10622 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10624 * Merging changes from BRANCH_MVC back into HEAD.
10626 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10628 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10630 * BufferView_pimpl.C: change from intl.C
10634 * Makefile.am: move combox.*
10640 * intl.C: remove dialog (covered by prefs)
10642 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10644 * lyxfunc.C (Dispatch): removed redundant break statement.
10646 2001-03-14 Juergen Vigna <jug@sad.it>
10648 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10650 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10652 * buffer.C: add hack to fix compability reading of minipages.
10654 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10656 * buffer.C (getLists): Cleanup.
10658 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10660 * lyxfont.C (update): don't honor toggleall on font size.
10662 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10666 * Makefile.am: moved to frontends/xforms/
10670 * BufferView_pimpl.C: changes for moved mathpanel
10672 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10674 * gettext.h: fix gettext_init() in --disable-nls
10676 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10678 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10680 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10683 * lyx.h: strip external form
10685 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10687 * BufferView_pimpl.C: add comment, destroySplash()
10689 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10691 * BufferView_pimpl.C:
10695 * lyxfunc.C: use re-worked insetinclude
10697 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10699 * buffer.C: add using std::stringstream.
10701 * lyx_cb.C: readd using std::ios.
10703 * buffer.C: add using std::map.
10705 * BufferView_pimpl.C: add using std::vector.
10707 * ShareContainer.h: add std:: to swap.
10709 * buffer.h: add some typedefs
10710 * buffer.C (getLists): use them
10711 (getLists): renamed from getTocList.
10712 add a counter for the different float types and use it in the
10714 (getLists): use the same counter for the NEW_INSETS and the "non"
10717 * lyx_cb.h: remove unused items, includes, using etc.
10719 * ShareContainer.h: remove some commented code, add more comments
10720 and "documentation".
10722 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10724 * buffer.C (getTocList): make the list also when NEW_INSETS is
10727 * buffer.h: remove TocType
10729 * buffer.C (getTocList): change to return a map<string,
10730 vector<TocItem> >, implement for dynamic number of list.
10732 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10733 * text2.C (PasteSelection): adjust
10734 * CutAndPaste.C (pasteSelection): adjust
10736 * FloatList.C (FloatList): update from the new_insets branch.
10737 * Floating.[Ch]: ditto
10738 * LaTeXFeatures.C: ditto
10740 * lyxlex_pimpl.C: ditto
10742 * paragraph.C (Last): remove when NEW_INSETS is defined.
10744 * other file: changes because of the above.
10746 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10748 * lyxparagraph.h: rename next to next_, previous to previous_,
10749 make them private for NEW_INSETS. Rename Next() to next(),
10750 Previous() to previous().
10752 * other files: changes because of the above.
10754 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10757 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10760 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10762 * main.C (main): pass lyx_localedir to gettext_init().
10764 * gettext.h: remove locale_init and gettext_init macros
10766 * gettext.C (locale_init): new function
10767 (gettext_init): new function
10769 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10772 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10774 * Moved credits to frontends:
10775 * credits.[Ch]: removed
10776 * credits_form.[Ch]: removed
10777 * lyx_gui_misc.C: remove credits stuff
10780 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10782 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10784 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10785 unneeded destructor.
10787 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10788 a standalone pointer again.
10790 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10792 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10798 * ToolbarDefaults.C:
10807 * BufferView_pimpl.C: use new file dialog in GUII
10810 * lyx_cb.C: remove LayoutsCB to Toolbar
10812 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10814 * ShareContainer.h (get): add std:: qualifier
10816 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10818 * ShareContainer.h: define a proper ShareContainer::value_type
10819 type (and use typename to please compaq cxx)
10821 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10823 * lyxparagraph.h: move serveral local vars to
10824 ParameterStruct/ParagraphParameters., use ShareContainer in
10825 FontTable., make vars in FontTable private and add getter and
10828 * paragraph.C: changes because of the above.
10830 * lyxfont.h: remove copy constructor and copy assignment. (the
10831 default ones is ok), move number inside FontBits. move inlines to
10834 * lyxfont.C: add number to initializaton of statics, move several
10835 inlines here. constify several local vars. some whitespace
10836 cleanup. Dont hide outerscope variables.
10838 * Spacing.h: add two new constructors to match the set methods.
10840 * ShareContainer.h: new file, will perhaps be moved to support
10842 * ParameterStruct.h: new file
10844 * ParagraphParameters.h: new file
10846 * ParagraphParameters.C: new file
10848 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10849 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10851 * BufferView_pimpl.C: ParagraphParameter changes.
10852 * buffer.C: Likewise.
10853 * bufferview_funcs.C: Likewise.
10854 * text.C: Likewise.
10855 * text2.C: Likewise.
10857 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10859 * lyxfind.C (LyXReplace): do not redefine default argument in
10861 (IsStringInText): ditto
10862 (SearchForward): ditto
10863 (SearchBackward): ditto
10865 2001-03-06 Juergen Vigna <jug@sad.it>
10867 * lyxfind.C (IsStringInText): put parentes around expressions.
10869 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10871 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10873 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10875 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10877 * stl_string_fwd.h: add comment
10879 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10882 * tabular.C: remove unused DocBook methods
10888 killed DO_USE_DEFAULT_LANGUAGE
10890 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10892 * lyx_gui.C: do not include language.h.
10894 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10895 arguments in function implementation.
10897 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10899 * BufferView_pimpl.C: add <ctime>
10901 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10903 * BufferView_pimpl.C: add using std::find_if
10905 2001-02-27 José Matos <jamatos@fep.up.pt>
10907 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10910 2001-02-11 José Matos <jamatos@fep.up.pt>
10912 * buffer.C (makeDocBookFile): command styles now have a parameter as
10913 "title" by default.
10915 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10917 * layout_forms.[Ch]: removed
10918 * lyx_cb.[Ch]: out character
10919 * lyx_gui.C: out character
10920 * lyx_gui_misc.C: out character
10921 * bufferview_funcs.C: : out character,
10922 added toggleall as parameter in ToggleAndShow
10924 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10926 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10928 * text2.C (SetCurrentFont): Disable number property at boundary.
10930 2001-02-26 Juergen Vigna <jug@sad.it>
10932 * lyxfunc.C (getStatus): added a string argument override function so
10933 that this is correctly called from LyXFunc::Dispatch if it contains a
10934 do_not_use_argument which is used!
10935 (Dispatch): added check for "custom" export and call appropriate func.
10937 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10939 * lyxrc.C: Add language_command_local, language_use_babel and
10940 language_global_options.
10942 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10944 * buffer.C (makeLaTeXFile): Use language_use_babel and
10945 language_global_options.
10947 2001-02-23 Juergen Vigna <jug@sad.it>
10949 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10950 which works with LyXText and putted it inside BufferView. Here now we
10951 only call for that part the BufferView::Dispatch() function.
10953 * BufferView.C (Dispatch): added.
10955 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10956 functions which needs to use a LyXText over from LyXFunc.
10957 (MenuInsertLyXFile): added
10958 (getInsetByCode): added
10959 (moveCursorUpdate): added
10960 (static TEXT): added
10962 2001-02-22 Juergen Vigna <jug@sad.it>
10964 * BufferView_pimpl.C (update): call a status update to see if LyXText
10967 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10969 * vc-backend.C (revert): implement for CVS
10970 (getLog): implement for CVS
10972 2001-02-20 Juergen Vigna <jug@sad.it>
10974 * text2.C (ClearSelection): added BufferView param for inset_owner call
10976 * lyxfunc.C (TEXT): added this function and use it instead of
10977 directly owner->view()-text of getLyXText().
10979 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10981 * src/layout_forms.C: out preamble
10982 * src/layout_forms.h: out preamble
10983 * src/lyx_cb.C: out preamble
10984 * src/lyx_cb.h: out preamble
10985 * src/lyx_gui.C: out preamble
10986 * src/lyx_gui_misc.C: out preamble
10987 * src/lyxfunc.C: connect with guii preamble
10989 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10991 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10993 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10995 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10996 whether to run bibtex.
10998 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11000 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11002 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11004 * Makefile.am (lyx_SOURCES): removed bibforms.h
11006 * vspace.h: doxygen
11008 * text.C (GetVisibleRow): make several local vars const
11010 * tabular.C: small cleanup.
11012 * lyxserver.C (callback): use compare instead of strncmp
11014 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11015 inlines to after class or to paragraph.C
11017 * lyxfont.h: remove friend operator!=
11019 * converter.h: move friend bool operator< to non friend and after
11022 * combox.h: small cleanup
11024 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11025 to inlines after class def.
11027 * buffer.C (pop_tag): use string operations instead of strcmp
11029 * bmtable.c: doxygen, small cleanup
11031 * LaTeX.h: remove friend operator==
11033 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11045 * BufferView_pimpl.C:
11046 * BufferView.[Ch]: remove cruft
11048 2001-02-14 Juergen Vigna <jug@sad.it>
11050 * lyxfunc.C: removed #if 0 unused code
11052 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11054 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11056 * text2.C (SetSelection): added a BufferView * parameter
11058 2001-02-13 Juergen Vigna <jug@sad.it>
11060 * lyxfunc.C (Dispatch): fixed protected blank problem.
11061 * BufferView2.C (protectedBlank): added LyxText * parameter.
11063 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11064 (AppendColumn): same as above for column_info.
11066 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11067 (moveCursorUpdate): use a LyXText param for support of InsetText.
11069 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11070 (tripleClick): ditto
11072 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11074 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11076 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11078 * text2.C (SetSelection): set correct update status if inset_owner
11079 (ToggleFree): ditto
11081 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11083 * tabular.C: remove some commented code.
11085 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11087 * BufferView_pimpl.C: call hideSplash()
11089 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11092 * bibforms.h: remove
11095 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11096 add LFUN_CHILD_CREATE
11098 * counters.h: fix tiny typo
11103 * lyx.C: move splash to frontends/xforms/
11105 * lyx_gui_misc.C: move Include and Bibform to frontends
11107 * lyxvc.h: clarify comment
11109 * vspace.C: tiny housekeeping
11111 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11113 * text.C (PrepareToPrint): RTL Fix.
11115 * paragraph.C (GetUChar): New method.
11116 (String): Use GetUChar.
11118 * buffer.C (asciiParagraph): Use GetUChar.
11120 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11122 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11124 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11127 * buffer.C: rename to getLogName(), handle
11128 build log / latex log nicely
11130 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11133 * MenuBackend.h: remove support for reference menuitem type.
11135 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11137 * BufferView_pimpl.C: housekeeping
11138 * BufferView_pimpl.h:
11143 * minibuffer.h: move Timeout GUI-I
11145 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11147 * lyxrc.C (read): Update converters data-structures.
11149 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11151 * LaTeX.h (operator!=): add operator != for Aux_Info
11153 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11155 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11157 * LaTeXLog.C: deleted, useful code moved to Buffer
11160 * buffer.C: new function getLatexLogName()
11166 * lyxfunc.C: use frontends for LaTeX and VC logs
11168 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11170 * LaTeX.h: yet another std:: that Allan forgot.
11172 * Variables.C (set): renamed from isset(), because this clashes
11173 with some HP-UX macros (grr).
11175 2001-02-06 Allan Rae <rae@lyx.org>
11177 * LaTeX.h: Another bug fix. Missing std:: this time.
11179 2001-02-04 Allan Rae <rae@lyx.org>
11181 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11182 floats problem. I've left it commented out because it's not quite
11183 correct. It should also test that the current object is a table or
11184 figure inset. But I haven't gotten around to figuring out how to do
11185 that. I *think* it'll be something like: "table" == inset.type()
11187 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11190 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11192 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11193 all the citation/databases/styles in the auxilary file.
11194 (run): Rerun latex if there was a babel language error.
11196 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11198 * text.C (Backspace): Preserve the font when changing newline char
11200 (BreakParagraph): If the cursor is before a space, delete the space.
11202 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11204 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11206 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11207 new argument (code).
11208 (ChangeCitationsIfUnique): New method.
11210 * paragraph.C (GetPositionOfInset): Handle bibkey.
11212 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11214 * BufferView_pimpl.h: change type of Position::par_pos to
11215 LyXParagraph::size_type.
11217 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11219 * BufferView_pimpl.C (savePosition, restorePosition): Write
11220 messages to minibuffer.
11222 2001-01-28 José Matos <jamatos@fep.up.pt>
11224 * buffer.C (makeDocBookFile): adds support for document language.
11225 A silly restriction on the name of LatexCommand types where removed.
11226 Added support for CDATA sections, allows to chars unescaped, used
11227 among others in code, to avoid escape < and >.
11229 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11231 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11232 saved positions instrad of a stack. Furthermore, a position is
11233 stored using paragraph id/paragraph position.
11235 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11236 Remove LFUN_REF_BACK.
11238 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11240 * converter.C (dvipdfm_options): New method.
11242 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11244 * vspace.C (isValidLength): Fix for empty input string.
11246 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11248 * LyXAction.C (init): change description of LFUN_FIGURE to
11251 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11253 * LaTeX.C: add using directive
11255 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11257 * MenuBackend.C (expand): Fix the sorting of the formats.
11259 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11261 * lyx_main.C: tiny error message fix
11263 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11265 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11266 calling fl_initialize(). This fixes the problem with ',' as
11267 decimal separator in text files.
11269 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11271 * trans.C (process): Fix the keymap bug.
11273 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11275 * LaTeX.C (scanAuxFiles): New method. Provides support for
11276 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11277 (scanLogFile) Scan for "run BibTeX" messages.
11279 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11280 OT1 font encoding. Also, load the aecompl package if the ae
11283 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11285 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11287 * texrow.C (increasePos): turn two error messages into debug
11290 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11292 * LaTeX.C (scanAux): Handle the \@input macro.
11293 (runBibTeX): Use scanAux().
11295 * language.C (latex_options_): New field.
11297 * LaTeXFeatures.C (getMacros): Add language macros.
11299 * buffer.C (makeLaTeXFile): Small fix.
11301 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11303 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11305 * text2.C: add a using directive.
11307 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11312 * lyxfunc.C: kill LyXBell.
11314 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11316 * text.C (IsBoundary): Remove the error message
11318 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11320 * lyxrc.C (setDefaults): Correct initialization value for
11323 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11325 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11328 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11329 and GotoNextNote().
11331 * src/LyXAction.C: Added reference-next.
11333 * text.C (InsertChar): Use contains instead of strchr.
11335 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11337 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11339 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11340 alignment commands (when needed).
11342 * text.C (InsertChar): Add ':' to number separator chars.