1 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5 * version.C.in: change docversion to 1.4
7 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
9 * buffer.C: fix a bug just introduced
11 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
13 * buffer.[Ch]: added the parseError signal and use it, removed
15 * BufferView.[Ch] (addError): moved to ...
16 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
17 to the Buffer::parseError signal to catch (guess what) parse errors
18 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
20 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
22 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
23 ability to create a buffer and to return an existing one from
24 the list. Moved these functions to...
25 * buffer_funcs.[Ch]: added
26 * BufferView.[Ch] (loadLyXFile): added
27 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
28 job removed from bufferlist::loadLyXFile.
29 * buffer.C (setReadOnly): make it work without view
30 (i.e added an if (users))
32 2003-06-19 Angus Leeming <leeming@lyx.org>
36 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
37 with LFUN_DIALOG_SHOW <name> <data>.
39 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
41 * CutAndPaste.C (availableSelections): small compilation fix for
42 ancient (gcc 2.9x) compilers
44 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
46 * text3.C (cursorNext): add tmp var
48 * text2.C (updateCounters): for function calling out of for clause
49 (replaceSelectionWithString): ditto
50 (insertStringAsParagraphs): ditto
51 (getColumnNearX): add tmp var
52 (setCursorFromCoordinates): add tmp var
53 (cursorDownParagraph): add tmp var
54 (deleteEmptyParagraphMechanism): add tmp var
56 * text.C (insertChar): add tmp var
58 * rowpainter.C (paintDepthBar): add tmp var
60 * CutAndPaste.C (availableSelections): potentially check all
61 paragraphs in a cut to fill the shown strings.
63 2003-06-18 André Pönitz <poenitz@gmx.net>
65 * kbmap.[Ch]: use vector<> instead of list<>
67 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
69 * text3.C (dispatch): handle arg to LFUN_PASTE, call
70 pasteSelection with index
72 * text2.C (pasteSelection): modify, call pasteSelection with index
74 * paragraph.C (asString): reimplement version with no interval to
75 call the one with interval.
77 * lyxtext.h: add index arg to pasteSelection
79 * MenuBackend.C (MenuItem): handle PasteRecent
80 (Menu::read::Menutags): add md_pasterecent
82 (expandPasteRecent): new function
85 * MenuBackend.h: add PasteRecent to MenuItem::Kind
87 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
89 (availableSelections): new function
91 2003-06-17 Angus Leeming <leeming@lyx.org>
93 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
95 2003-06-17 Angus Leeming <leeming@lyx.org>
98 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
100 * lyxfunc.C (dispatch): invoke it.
102 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
104 * iterators.C (operator++, ParPosition): reintroduce some
105 const_cast for the benefit of older compilers.
107 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
109 * text3.C (dispatch): do not modify clipboard when doing
110 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
111 LFUN_DELETE_SKIP on a selection selection
113 2003-06-16 André Pönitz <poenitz@gmx.net>
119 * tabular.[Ch]: IU of clone() and getLabelList();
121 2003-06-13 André Pönitz <poenitz@gmx.net>
123 * tabular.h: compactification
125 2003-06-12 André Pönitz <poenitz@gmx.net>
129 * tabular_funcs.h: some renaming plus whitespace
131 2003-06-12 André Pönitz <poenitz@gmx.net>
134 * BufferView_pimpl.C:
140 * toc.C: Return a Paragraph & for ParIterator::operator*()
142 2003-06-11 John Levon <levon@movementarian.org>
146 * ToolbarBackend.C: add "Toolbars" section and
149 2003-06-10 Angus Leeming <leeming@lyx.org>
152 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
154 * lyxfunc.C (dispatch): invoke it.
156 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
158 * main.C: protect <ios> with HAVE_IOS
159 (main): protect sync_with_stdio with HAVE_IOS
161 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
163 * text2.C (cutSelection): adjust
164 (pasteSelection): adjust
166 * messages.C: handle get of empty string
168 * main.C (main): use sync_with_stdio(false)
170 * lyxfunc.C (dispatch): adjust
172 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
173 (WriteAs): remove unneeded BufferView arg.
175 * bufferparams.h: use correct types on papersize, papersize2 and
178 * bufferparams.C (readToken): adjust for type
179 (writeLaTeX): add missing cases to switch.
181 * bufferlist.C (quitWriteBuffer): adjust
184 * buffer.C (asciiParagraph): remove some commented code.
186 * CutAndPaste.C: remove current_view extern variable.
187 (cutSelection): add BufferParams arg.
188 (eraseSelection): add BufferParams arg.
189 (pasteSelection): add Buffer const & arg
191 2003-06-07 John Levon <levon@movementarian.org>
199 * paragraph.C: allow InsetERT to freely space lines,
200 and some consolidation of code
202 2003-06-06 José Matos <jamatos@fep.up.pt>
204 * buffer.C (makeDocBookFile): fix bug #821
206 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
208 * BufferView_pimpl.C (dispatch): use Dialogs::visible
210 2003-06-04 Angus Leeming <leeming@lyx.org>
212 * buffer.C: bump format to 224.
214 2003-06-05 André Pönitz <poenitz@gmx.net>
216 * text2.C (redoParagraphs): remove two const_cast<>
218 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
220 * ParagraphList.h: remove last remnants of NO_STD_LIST
222 2003-06-03 Angus Leeming <leeming@lyx.org>
224 * factory.C (createInset): small change to the way InsetExternal's params
227 2003-06-04 André Pönitz <poenitz@gmx.net>
229 * buffer.h: use Undo directly instead of shared_ptr<Undo>
232 * paragraph.[Ch]: some Inset -> UpdatableInset changes
234 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
236 * undo_funcs.C: make some simple cases of undo work again
238 2003-06-03 John Levon <levon@movementarian.org>
240 * ispell.C: HPUX doesn't have sys/select.h
243 2003-06-03 John Levon <levon@movementarian.org>
245 * CutAndPaste.C: update tabular and include inset
250 * paragraph.C: remove owningBuffer(), don't pass Buffer
253 * factory.C: insetGraphicsParams changed
255 2003-06-02 John Levon <levon@movementarian.org>
261 * text3.C: remove insetparent
263 2003-06-02 John Levon <levon@movementarian.org>
266 * buffer.C: fix inset_iterator.end(), move out of line
269 2003-06-01 John Levon <levon@movementarian.org>
271 * text3.C: use a proper cut/paste when doing inset
272 insert (from Jürgen Spitzmüller)
274 2003-06-01 John Levon <levon@movementarian.org>
276 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
278 2003-05-30 André Pönitz <poenitz@gmx.net>
280 * rowpainter.C: unify second drawing phase
282 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
284 * trans_mgr.C: remove one case of current_view
286 * text2.C (cursorBottom): delete NO_STD_LIST stuff
288 * paragraph_funcs.h: remove paragraph.h include
290 * paragraph.h: delete NO_STD_LIST stuff
292 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
294 * buffer.h: remove paragraph.h include
296 * ParagraphList.C: delete file
298 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
300 * toc.C (getTocList): adjust
302 * paragraph_pimpl.C (validate): adjust
304 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
306 * paragraph.C (Paragraph): adjust
307 (getPositionOfInset): use const_iterator, adjust
308 (bibitem): use const_iterator, adjust
309 (setInsetOwner): adjust
311 * iterators.C (operator++): adjust
313 * InsetList.[Ch]: Replace selfmade iterator with standard
314 vector::iterator also introduce const_iterator. Remove getPos,
315 getInset and setInset from InsetTable. Adjust accordingly.
317 * BufferView.C (lockInset): adjust
318 (ChangeInsets): adjust
320 * tabular.[Ch]: delete commented same_id functions
322 2003-05-28 John Levon <levon@movementarian.org>
324 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
326 2003-05-28 André Pönitz <poenitz@gmx.net>
328 * metricsinfo.[Ch]: remove 'fullredraw' member
330 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
332 * lyxtextclass.C (operator): remove caching.
334 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
338 * text2.C (cursorBottom): adjust
339 (setCounter): use ParagraphList::find, adjust
341 * text.C (workWidth): use ParagraphList::find, adjust
343 * lyxcursor.C (LyXCursor): adjust
345 * buffer.C (inset_iterator): adjust
347 * ParagraphList.h: make iterator(value_type) private, make
348 ParagraphList a friend of iterator.
350 * ParagraphList.C (find): new function
352 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
354 2003-05-27 André Pönitz <poenitz@gmx.net>
356 * dimension.[Ch]: a -> asc, d -> des, w -> wid
358 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
360 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
362 2003-05-26 John Levon <levon@movementarian.org>
364 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
366 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
368 * remove same_id from function signatures, adjust.
370 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
372 * undo_funcs.C (createUndo): use the id functions directly, adjust.
374 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
376 * paragraph.C (Paragraph): get rid of same_ids parameter
378 * ParagraphList.C (insert): adjust
381 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
383 * paragraph_funcs.C (breakParagraph): adjust
384 (breakParagraphConservative): adjust
386 * buffer.C (readParagraph): adjust
388 * ParagraphList.C (insert): take a reference instead of a pointer
391 * paragraph.[Ch] (id): new function
393 * bufferlist.C (newFile): adjust
395 * ParagraphList.C (ParagraphList): adjust
397 (push_back): take a reference instead of a pointer.
399 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
401 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
404 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
405 set else use old code.
407 * ParagraphList.C: remove all NO_NEXT code and only compile this
408 code of NO_STD_LIST is set.
410 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
412 * BufferView_pimpl.C:
422 * graphics/GraphicsConverter.C:
423 * graphics/PreviewLoader.C: header adjustment
425 2003-05-23 Angus Leeming <leeming@lyx.org>
427 * LaTeXFeatures.[Ch] (useBabel): new method.
428 * bufferparams.C (writeLaTeX): use it.
430 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
432 * ParagraphList.h (set): remove unused function.
434 2003-05-23 André Pönitz <poenitz@gmx.net>
437 * BufferView_pimpl.C:
441 * undo_funcs.C: setUndo reworked
443 * iterators.[Ch]: add access to topmost ParagraphList
445 * lyxtext.[Ch] (workWidth): add a const
447 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
449 * texrow.[Ch] (increasePos): remove function
450 * exporter.C (export): removed unused var and outdated comment
452 2003-05-23 Angus Leeming <leeming@lyx.org>
454 * latexrunparams.h: rename fragile as moving_arg.
455 * paragraph.C (simpleTeXOnePar): ditto.
456 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
458 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
460 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
462 (textUndoOrRedo): comment out a currently unused var.
464 * paragraph.h (NO_NEXT): enable NO_NEXT
466 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
468 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
470 * exporter.C (Export): adjust for removeAutoInsets removal.
472 * buffer.C (runChktex): adjust for removeAutoInsets removal.
474 * LyXAction.C (init): remove LFUN_REMOVEERRORS
476 * BufferView.[Ch] (removeAutoInsets): delete function
478 2003-05-22 Angus Leeming <leeming@lyx.org>
480 * latexrunparams.h: add a free_spacing variable.
482 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
483 to pass moving_arg, as the data is stored in runparams.fragile.
485 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
486 to Inset::latexOptional or to simpleTeXOnePar.
488 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
489 free_spacing arg to Inset::latexOptional.
491 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
494 2003-05-22 Angus Leeming <leeming@lyx.org>
496 * latexrunparams.h: add fragile and use_babel variables.
498 * bufferparams.[Ch] (writeLaTeX): return use_babel.
499 * buffer.C (makeLaTeXFile): store this returned value in
500 runparams.use_babel, thus passing it to the inset::latex methods.
502 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
503 simpleTeXSpecialChars as it is now stored in runparams.fragile.
505 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
506 longer has a fragile arg, as it is stored in runparams.fragile.
508 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
509 moving_arg parameter as the data is stored in runparams.fragile.
511 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
512 a fragile parameter as the data is stored in runparams.fragile.
514 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
516 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
518 2003-05-22 Angus Leeming <leeming@lyx.org>
520 * latexrunparams.h: add a 'bool nice' which defaults to false.
522 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
523 now encapsulated within runparams.
525 * bufferlist.C (updateIncludedTeXfiles):
526 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
528 2003-05-22 Angus Leeming <leeming@lyx.org>
530 * latexrunparams.h: new file containing struct LatexRunParams.
531 * Makefile.am: add new file.
533 * LaTeX.[Ch] (c-tor, run):
534 * buffer.[Ch] (makeLaTeXFile):
535 * bufferlist.[Ch] (updateIncludedTeXfiles):
536 * converter.C (convert, scanLog):
537 * converter.[Ch] (runLaTeX):
538 * exporter.C (Export):
539 * paragraph.[Ch] (simpleTeXOnePar):
540 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
541 * paragraph_funcs.[Ch] (latexParagraphs):
542 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
543 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
544 pass around a LatexRunParams parameter.
546 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
548 * paragraph.[Ch]: remove unused constructor
550 * ParagraphList.C (erase): new function, taking two iterators
552 2003-05-22 André Pönitz <poenitz@gmx.net>
554 * undo_funcs.C: remove duplicated code
556 * iterator.[Ch]: operator=
558 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
560 * tabular.C (SetMultiColumn): ws changes
562 * rowpainter.C (paintFirst): get rid of a ->previous
564 * lyx_cb.C (getPossibleLabel): parlist simplification
566 * BufferView.C (ChangeInsets): simplify slightly.
568 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
570 * LyXAction.C: new lfun space-insert, kill protected-space-insert
571 * lfuns.h: new LFUN_SPACE
572 * lyxfunc.C: protected space has a new lfun
573 * paragraph_funcs.C: read new space insets
575 * factory.C: handle new space insets
577 2003-05-22 André Pönitz <poenitz@gmx.net>
580 * BufferView_pimpl.C:
583 * undo_funcs.C: return a ParIterator from getParFromID.
585 * iterators.[Ch]: add two const's
587 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
589 * toc.C (getTocList): adjust
591 * iterators.[Ch]: rework for parlist
593 * buffer.C (par_iterator_begin): adjust
594 (par_iterator_end): adjust
596 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
598 * BufferView.C (removeAutoInsets): adjust
599 (ChangeInsets): adjust
601 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
603 * text.C (top_y): fix bug 1110
605 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
607 * errorlist.[Ch]: added
610 * BufferView_pimpl.C:
611 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
614 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
616 * Makefile.am: ensure that lyx is relinked upon changes to the
617 various "convenience" libs.
619 2003-05-20 Angus Leeming <leeming@lyx.org>
621 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
622 files are compiled in alphabetical order again.
624 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
626 2003-05-19 Angus Leeming <leeming@lyx.org>
628 * gettext.[Ch]: remove "char const * _(char const *)".
630 2003-05-19 André Pönitz <poenitz@gmx.net>
632 * dimension.[Ch]: promote from mathed/dimension.[Ch]
641 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
643 2003-05-19 André Pönitz <poenitz@gmx.net>
649 * paragraph_funcs.[Ch]:
651 * text3.C: more insetenv work
653 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
655 * ParagraphParameters.C (params2string): small bug fixed
657 2003-05-16 André Pönitz <poenitz@gmx.net>
660 * bufferview_funcs.C: patch from Kornel Benko to prevent
661 crash when _(...) is called twice in a statement
663 2003-05-16 André Pönitz <poenitz@gmx.net>
670 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
672 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
674 * lyx_main.C (init): remove spurious static_cast
676 2003-05-14 André Pönitz <poenitz@gmx.net>
678 * BufferView.C: fix format string
680 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
682 * BufferView.[Ch] (insertErrors): removed
683 * BufferView.[Ch] (showErrorList): added
684 * buffer.C (runChkTeX):
685 * converter.C (scanLog): call showErrorList instead of inserterrors
687 2003-05-13 André Pönitz <poenitz@gmx.net>
689 * BufferView_pimpl.C:
698 * tabular_funcs.h: tostr() from its own header
700 * ParagraphParameters.C:
707 2003-05-12 André Pönitz <poenitz@gmx.net>
710 * BufferView_pimpl.C:
714 * ParagraphParameters.C:
718 * bufferview_funcs.C:
735 * text3.C: boost::format -> bformat all over the place
738 2003-05-09 André Pönitz <poenitz@gmx.net>
740 * LColor.[Ch]: Pimpl the #include <map> away
742 2003-05-09 John Levon <levon@movementarian.org>
744 * bufferlist.C: never remove emergency saves
746 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
748 * Makefile.am: better lib building
750 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
752 * texrow.[Ch]: remove dependency on Paragraph and just store a id
754 * paragraph_pimpl.C (simpleTeXBlanks): adjust
755 (simpleTeXSpecialChars): adjust
756 (simpleTeXSpecialChars): adjust
757 * paragraph.C (simpleTeXOnePar): adjust
758 * buffer.C (makeLaTeXFile): adjust
760 * Makefile.am (BOOST_LIBS): allow boost as system lib.
762 * text2.C (changeDepth): parlist cleanup
763 (getColumnNearX): ditto
765 * rowpainter.C (getLabelFont): parlist cleanup
767 * bufferlist.C (newFile): parlist cleanup
769 * CutAndPaste.C (eraseSelection): parlist cleanup
771 * BufferView_pimpl.C (trackChanges): parlist cleanup
774 * BufferView.C (lockInset): parlist cleanup.
775 (ChangeInsets): ditto
777 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
779 * CutAndPaste.h: Update file header.
781 * CutAndPaste.C: Update file header.
782 Store the parts cut out of the Document in a limited_stack.
783 (copySelection): adjust
784 (pasteSelection): new function, takes the index in the limited stack.
785 (nrOfParagraphs): adjust
786 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
787 simplify error inset insertion.
788 (checkPastePossible): adjust
790 2003-05-06 John Levon <levon@movementarian.org>
792 * text2.C: don't cast wrap inset to float
794 2003-05-05 André Pönitz <poenitz@gmx.net>
797 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
799 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
800 few naked Paragraph *.
802 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
804 * bufferparams.C: Output warning if a document with missing
805 TeX document class is loaded
806 * exporter.C: Disable TeX exports if the document class is missing
809 * lyxtextclasslist.C: Handle new textclass.lst format; new method
810 isTeXClassAvailable()
812 2003-05-03 John Levon <levon@movementarian.org>
815 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
816 explicit cursor show/hide
818 * BufferView_pimpl.h:
819 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
820 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
822 * lyxfunc.C: hide cursor before dispatching.
827 * text3.C: remove explicit cursor hides
829 2003-05-02 André Pönitz <poenitz@gmx.net>
831 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
834 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
837 * text2.C: tiny whitespace
839 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
841 * undo_funcs.C: almost only ws changes.
843 * ParagraphList.C (splice): just return if pl is empty.
845 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
847 * ParagraphList.C (splice): new function.
849 * CutAndPaste.C (pasteSelection): use it
851 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
853 * CutAndPaste.C (pasteSelection): remove the last next and
854 previous from this file.
856 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
858 * CutAndPaste.C (pasteSelection): more clean up, user proper
859 ParagraphList functions for pasteing.
861 * ParagraphList.C (insert): new function, three arg insert
863 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
865 * ParagraphList.C (insert): new function, three arg insert
867 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
870 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
872 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
874 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
876 * CutAndPaste.C (pasteSelection): remove some unneeded code.
878 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
880 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
881 (copySelection): clean up a bit.
882 (pasteSelection): use make_pair
884 * ParagraphList.C (ParagraphList): implement copy constructor
885 (operator=): implement, base on copy constructor.
888 * paragraph.C (erase): return a bool
890 * paragraph_pimpl.C (erasePos): remove function, move contents...
891 (erase): ... here. Return a bool.
892 (erase): call erase instead of erasePos.
894 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
896 * ParagraphList.h: define PitPosPair
897 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
898 ParagraphList, fix a bug on pasting multiple pars
899 * text2.C: change interface to C&P
901 2003-04-30 André Pönitz <poenitz@gmx.net>
903 * undo_func.C: revert part of yesterday's patch 2
905 2003-04-30 John Levon <levon@movementarian.org>
907 * LColor.C: s/tabular/table/
909 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
911 * text3.C (dispatch): do not convert iterator -> pointer
912 * undo_funcs.C (setCursorParUndo): ditto
913 * text_funcs.C (transposeChars): ditto
915 * text2.C (setLayout): ws changes only
917 * text.C (breakParagraph): do not convert iterator -> pointer
919 (acceptChange): ditto
920 (rejectChange): ditto
925 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
928 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
930 * text3.C (gotoInset): YABG (yet another bad getChar)
932 2003-04-29 André Pönitz <poenitz@gmx.net>
934 * paragraph.h: make operator= private unimplemented as long as
937 * ParagraphList.C: whitespace
940 * paragraph_pimpl.[Ch]:
943 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
946 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
948 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
950 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
951 * paragraph.[Ch] (erase):
952 * paragraph_pimpl.[Ch] (erase): change return type and value
953 * text2.C (cutSelection): some rework
955 2003-04-28 John Levon <levon@movementarian.org>
957 * bufferlist.C: changes for unsaved changes dialog
959 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
961 * bufferlist.C (newFile): set language (messages_) for new
964 * buffer.C (readFile): ws changes only.
966 2003-04-28 André Pönitz <poenitz@gmx.net>
971 * BufferView_pimpl.C:
972 * BufferView.C: getParFromID related ParagraphList::iterator changes
974 2003-04-28 André Pönitz <poenitz@gmx.net>
976 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
979 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
981 * messages.C: remove one more localedir class variable.
983 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
985 * messages.C (getLocaleDir): singleton generation function
987 (Messages): add a default constructor.
989 * main.C (main): do not setup localedir here, do not call
992 * gettext.C (_): use it.
993 (gettext_init): delete funciton
995 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
997 * gettext.C (getLyXMessages): new singleton generating function.
999 * buffer.C (updateDocLang): adjust
1001 * Makefile.am (messages.o): add target
1002 (main.o): remove target
1004 2003-04-27 John Levon <levon@movementarian.org>
1009 * lyxvc.C: specify cancel button in Alert::prompt
1011 2003-04-26 John Levon <levon@movementarian.org>
1016 * LyXAction.C: add LFUN_INSET_SETTINGS
1018 * lyxfunc.C: don't enable tabular-feature when there's
1019 just any locking inset
1021 2003-04-26 John Levon <levon@movementarian.org>
1023 * bufferlist.C: re-add Cancel to buffer close question
1025 * lyxfunc.C: fix import UI a bit
1027 2003-04-25 John Levon <levon@movementarian.org>
1029 * gettext.C: remove the broken asserts for now
1031 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1033 * messages.C: make case where setlocale cannot comply work better.
1035 * buffer.C (updateDocLang): new function
1036 (changeLanguage): use it
1039 * text2.C (setCounter): use B_ a bit.
1041 * lyxlayout.C (Read): be sure to trim the label strings.
1043 * messages.C (Messages): fix typo in comment
1045 * buffer.C (readFile): set message_ after file is loaded.
1046 (makeDocBookFile): remove double return
1047 (changeLanguage): reset message_ upon language change.
1048 (B_): new func, use this to get translated buffer strings.
1050 * main.C: add myself and Jean Marc as authors.
1052 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1054 * messages.[hC]: pimplify Messages, and three different pimpls to be
1055 used in different circumstances.
1057 * gettext.[Ch]: change for use with new message code.
1059 2003-04-24 André Pönitz <poenitz@gmx.net>
1061 * factory.C: support for eqref
1063 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1065 * messages.[Ch]: add missing char
1067 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1069 * messages.[Ch]: New files
1071 2003-04-18 John Levon <levon@movementarian.org>
1075 * BufferView_pimpl.C:
1079 * text2.C: remove layout-copy/paste (bug 778)
1081 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1083 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1085 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1087 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1088 if they succeed. Act accordingly.
1090 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1092 * text2.C (setCharFont): adjust
1093 (setCounter): adjust
1094 (insertStringAsLines): adjust
1096 * text.C (leftMargin): adjust
1097 (setHeightOfRow): adjust
1099 * rowpainter.C (paintFirst): adjust
1102 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1104 (isFirstInSequence): ditto
1105 (getEndLabel): ditto
1108 * paragraph.C (getParLanguage): comment out some hard stuff.
1110 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1112 (simpleDocBookOnePar): ditto
1113 (makeDocBookFile): use ParagraphList::iterator
1115 * CutAndPaste.C (pasteSelection): adjust
1117 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1119 * text2.C (getFont): adjust
1120 (getLayoutFont): adjust
1121 (getLabelFont): adjust
1123 * paragraph_funcs.C (TeXOnePar): adjust
1125 * buffer.C (simpleLinuxDocOnePar): adjust
1126 (simpleDocBookOnePar): adjust
1128 * CutAndPaste.C (pasteSelection): adjust
1130 * BufferView.C (getEncoding): adjust
1132 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1134 2003-04-16 John Levon <levon@movementarian.org>
1136 * lyxfind.C: use parlist stuff for search/changes
1138 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1140 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1142 * text2.C (deleteEmptyParagraphMechanism): adjust
1144 * text2.[Ch] (ownerParagraph): delete func (both of them
1146 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1148 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1150 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1152 * ParagraphList.C: prepare for NO_NEXT
1154 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1156 * text2.C (getFont): adjust
1157 (getLayoutFont): adjust
1158 (getLabelFont): adjust
1160 * paragraph.C (getFont): adjust
1161 (getLabelFont): adjust
1162 (getLayoutFont): adjust
1164 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1166 2003-04-15 John Levon <levon@movementarian.org>
1170 * lyx_main.C: handle Include in .ui files
1172 2003-04-15 John Levon <levon@movementarian.org>
1174 * MenuBackend.C: make the doc files length shorter
1177 * ToolbarBackend.C: handle toolbar placement flags,
1180 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1182 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1185 * paragraph_funcs.C (TeXOnePar): adjust
1187 * paragraph.C (getLabelFont): add outerfont arg, adjust
1188 (getLayoutFont): ditto
1189 (simpleTeXOnePar): adjust
1191 * paragraph_pimpl.C (realizeFont): delete func
1193 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1195 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1196 row argument, constify cur argument.
1198 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1200 * text2.C (getFont): adjust
1201 (getLayoutFont): adjust
1202 (getLabelFont): adjust
1204 * paragraph_funcs.C (TeXOnePar): adjust
1205 (outerFont): new func...
1206 (realizeFont): ...moved out from here, changed this to facilitate
1209 * paragraph.C (getFont): take outerfont as arg, adjust
1210 (simpleTeXOnePar): add outerfont arg, adjust
1212 * buffer.C (simpleLinuxDocOnePar): adjust
1213 (simpleDocBookOnePar): adjust
1215 * CutAndPaste.C (pasteSelection): adjust
1217 * BufferView.C (getEncoding): adjust
1219 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1221 * text2.C (setCharFont): adjust
1222 (setCounter): adjust
1224 * text.C (leftMargin): adjust
1225 (setHeightOfRow): adjust
1227 * rowpainter.C (paintFirst): adjust
1230 * paragraph_pimpl.C (realizeFont): adjust
1232 * paragraph.C (isFirstInSequence): move from here...
1233 * paragraph_funcs.C (isFirstInSequence): ...to here
1235 * paragraph.C (outerHook): move from here...
1236 * paragraph_funcs.C (outerHook): ...to here
1238 * paragraph.C (depthHook): move from here...
1239 * paragraph_funcs.C (depthHook): ...to here
1241 * paragraph.C (getEndLabel): move from here...
1242 * paragraph_funcs.C (getEndLabel): ...to here
1244 * text2.C (realizeFont): move from here...
1245 * paragraph_funcs.C (realizeFont): ...to here
1247 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1249 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1251 2003-04-14 Angus Leeming <leeming@lyx.org>
1253 * LColor.[Ch]: scrap LColor mathcursor.
1255 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1257 * lyxlex.[Ch] (text): delete function
1258 * trans.C (Load): adjust
1259 * paragraph_funcs.C (readParToken): adjust
1261 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1263 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1264 vector<char> instead of a char[].
1266 * lyxlex_pimpl.C (getString): adjust
1268 (lex): use getString
1272 * lyxlex.C (text): use pimpl_->getString()
1276 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1278 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1279 (makeFontEntriesLayoutSpecific): temp var for par.size()
1280 (setLayout): temp var for ownerParagraphs().end()
1281 (fullRebreak): temp var for rows().end()
1282 (selectionAsString): temp var for boost::next(startpit), realize
1283 that the while really is a regular for loop.
1284 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1285 setCursor in one place.
1286 (setParagraph): temp vr for ownerParagraphs().end()
1287 (updateCounters): make the while loop a for loop
1288 (cutSelection): temp var for ownerParagraphs().end()
1289 (updateInset): make the do {} while() a regular for loop
1290 (getCursorX): use temp vars
1291 (setCurrentFont): use temp vars
1292 (getColumnNearX): use temp vars
1294 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1296 * text.C (transformChar): use temp var for getChar
1297 (computeBidiTables): use temp var for row->par()
1298 (fill): move temp vars for row->par() and pit->layout() earlier in
1300 (labelFill): use temp var for row->par()
1301 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1302 asc and desc, realize that pit never changes and that firstpit is
1303 just a duplicate and not needed. Exchange rit->par() with pit in a
1305 (breakAgain): use a temp var for boost::next(rit)
1306 (breakAgainOneRow): ditto
1307 (breakParagraph): use a temp var for rows().begin()
1308 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1309 (cursorRightOneWord): use temp var for cursor.par() and
1310 cursor.pos(), remove usage of tmpcursor.
1311 (cursorLeftOneWord): use temp var for cursor.par() and
1312 cursor.pos() only set cur at end of function.
1314 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1316 * text.C, text2.C: exchange all usage of Paragraph::next with
1317 boost::next(ParagraphList::iterator)
1319 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1321 * text2.C (cursorTop): simplify implementation
1322 (cursorBottom): ditto
1323 (setParagraph): use ParagraphList::iterator
1324 (setCurrentFont): adjust
1325 (getColumnNearX): adjust
1326 (cursorRight): adjust
1327 (cursorLeft): remove usage of Paragraph::previous
1328 (cursorUpParagraph): ditto
1329 (deleteEmptyParagraphMechanism): slight cleanup
1331 * text.C (isBoundary): take a Paragraph const & instead of a
1333 (addressBreakPoint): ditto
1334 (leftMargin): remove usage of Paragraph::previous.
1335 (setHeightOfRow): ditto
1336 (cursorLeftOneWord): ditto
1337 (selectNextWordToSpellcheck): ditto
1340 (breakParagraph): remove one usage of Paragraph::next
1341 (redoParagraph): ditto
1342 (acceptChange): ditto
1343 (insertChar): adjust
1344 (rowBreakPoint): adjust
1346 * bufferview_funcs.C (toggleAndShow): adjust
1348 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1350 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1351 methods to access it.
1353 * text.C: Added updateRowPositions to compute all row positions.
1354 Make top_y and getRowNearY() to use the cached y position
1356 2003-04-11 John Levon <levon@movementarian.org>
1358 * text.C (rowBreakPoint): reintroduce the labelEnd
1359 checks, code copied from the row fill stuff. Deep voodoo.
1361 * text.C (fill): add a comment and debugging for the
1364 2003-04-11 John Levon <levon@movementarian.org>
1366 * text.C: make sure fullrow insets get wrapped to the next line,
1367 even when they're in a manual label
1369 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1371 * text2.C (insertParagraph): make it take ParagraphList::iterator
1373 (setLayout): make it return ParagraphList::iterator
1374 (redoParagraphs): ditto
1376 (checkParagraph): ditto
1378 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1380 * text2.C: adjust several funcs.
1381 (realizeFont): take a ParagraphList::iterator as arg.
1382 (getLayoutFont): ditto
1383 (getLabelFont): ditto
1384 (setCharFont): ditto
1386 * text.C: adjust several funcs.
1388 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1390 * text.C (selectNextWordToSpellcheck): don't accidentally
1393 2003-04-10 John Levon <levon@movementarian.org>
1395 * ToolbarBackend.C (getIcon): special handling for
1398 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1400 * text2.C (cursorRight): a getChar assert fixed
1402 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1404 * text2.C (getFont): change to take a ParagraphList::iterator
1405 instead of Paragraph*
1406 Adjust several functions.
1408 * text.C (transformChar): change to take a ParagraphList::iterator
1409 instead of Paragraph*
1410 (singleWidth): ditto
1411 Adjust several functions.
1413 * rowpainter.C: adjust several functions
1414 * rowpainter.h:store a ParagraphList::iterator and not a
1418 2003-04-09 John Levon <levon@movementarian.org>
1423 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1424 and the "help" bits as well
1426 2003-04-09 John Levon <levon@movementarian.org>
1429 * ToolbarBackend.C: allow multiple toolbars
1431 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1433 * undo_funcs.C (setCursorParUndo): adjust
1435 * text_funcs.C (transposeChars): adjust
1437 * text3.C (gotoNextInset): adjust
1440 * text2.C (setLayout): adjust
1441 (changeDepth): adjust
1443 (redoParagraphs): adjust
1444 (selectionAsString): adjust
1445 (setParagraph): adjust
1446 (insertInset): adjust
1447 (cutSelection): adjust
1448 (copySelection): adjust
1449 (pasteSelection): adjust
1450 (insertStringAsLines): adjust
1451 (updateInset): adjust
1452 (setCursor): change to take a ParagraphList::iterator parameter
1453 (setCursorIntern): change to take a ParagraphList::iterator parameter
1454 (setCurrentFont): adjust
1455 (cursorLeft): adjust
1456 (cursorRight): adjust
1457 (deleteEmptyParagraphMechanism): adjust
1459 * text.C (breakParagraph): adjust
1460 (insertChar): adjust
1461 (acceptChange): adjust
1462 (rejectChange): adjust
1463 (selectNextWordToSpellcheck): adjust
1464 (changeCase): adjust
1468 * lyxfind.C (SearchForward): adjust
1469 (SearchBackward): adjust
1470 (nextChange): adjust
1472 * lyxcursor.C (par): adjust
1474 * lyxcursor.h: store a ParagraphList::iterator instead of a
1477 * lyx_cb.C (getPossibleLabel): adjust
1479 * bufferview_funcs.C (toggleAndShow): adjust
1481 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1484 * BufferView.C (removeAutoInsets): adjust
1485 (lockedInsetStoreUndo): adjust
1487 2003-04-09 John Levon <levon@movementarian.org>
1489 * ToolbarBackend.C: try icon without argument
1490 if with argument fails
1492 2003-04-08 John Levon <levon@movementarian.org>
1495 * ToolbarBackend.C: add getIcon(), handle tooltip,
1496 and change from "Icon" to "Item".
1498 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1500 * BufferView.C (lockInset): another bad getchar crunched
1502 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1504 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1507 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1509 * lyxfind.C (searchForward, searchBackwards): bug 782
1511 2003-04-07 John Levon <levon@movementarian.org>
1513 * paragraph.C: remove dead comment
1515 * text.C: remove troublesome depth-fiddling code
1516 in leftMargin() and rightMargin() (bug 1017)
1518 * text.C: fix breaking of rows in nested lists
1521 * text2.C (updateCounters): fix up depth values
1524 2003-04-07 John Levon <levon@movementarian.org>
1526 * BufferView_pimpl.C: clear message when doc finishes resizing,
1527 and after a mouse event
1529 * lyxfunc.C: clear message after exiting inset
1531 2003-04-07 John Levon <levon@movementarian.org>
1533 * bufferview_funcs.C: show math status not outside
1534 status in the statusbar
1536 2003-04-07 John Levon <levon@movementarian.org>
1538 * lyxfunc.C: note status changed after a depth change
1540 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1542 * LaTeX.h: move AuxInfo operator==, != out of line.
1543 Remove LaTeX virtual destructor; nothing derives from it.
1544 Move operator()() out of public area and rename it startscript().
1545 Change protected for private.
1547 2003-04-04 Angus Leeming <leeming@lyx.org>
1550 * text2.C: remove unneeded #includes.
1552 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1554 * text2.C (dEPM): fix the heigth of the next row
1556 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1558 * text.C: squashed an invalid getChar requester + some ws changes
1560 2003-04-03 John Levon <levon@movementarian.org>
1562 * bufferview_funcs.h:
1563 * bufferview_funcs.C:
1566 * text2.C: make getStatus work for the env depth lfuns
1568 2003-04-03 John Levon <levon@movementarian.org>
1570 * bufferview_funcs.h:
1571 * bufferview_funcs.C:
1574 * text2.C: parlistize decDepth(), by merging it with incDepth()
1576 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1578 * lyxrow.h: store a ParagraphList::iterator instead of a
1579 Paragraph* and adjust other class functions to suit.
1581 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1584 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1586 * text2.C (setCursor): do not anchor to cursor row for the time being
1588 2003-04-02 John Levon <levon@movementarian.org>
1595 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1597 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1599 * paragraph.h: make ParagraphList and ParagraphList::iterator
1600 friends of Paragraph.
1602 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1604 * ParagraphList.C: Use the private next_ and previous_ from
1607 2003-04-01 John Levon <levon@movementarian.org>
1611 * Makefile.am: rename, remove defaults gunk
1614 * MenuBackend.C: remove defaults gunk
1617 * Languages.C: remove defaults gunk
1620 * lyx_main.C: error out if files couldn't be found.
1622 2003-04-02 John Levon <levon@movementarian.org>
1624 * text2.C: make incDepth() use parlist
1626 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1628 * undo_funcs.C (firstUndoParagraph): adjust
1630 * text3.C (gotoInset): adjust
1631 (dispatch): adjust, and rewrite loop.
1633 * text2.C (init): adjust, and rewrite loop.
1634 (redoParagraphs): adjust
1635 (updateInset): adjust, and rewrite loop.
1636 (deleteEmptyParagraphMechanism): adjust
1638 * tabular.C (LyXTabular): adjust
1639 (SetMultiColumn): adjust
1642 * lyxtext.[Ch] (ownerParagraph): delete function
1643 (ownerParagraphs): new function returns a ParagraphList.
1645 * BufferView.C (removeAutoInsets): adjust
1646 (insertErrors): adjust
1647 (setCursorFromRow): adjust
1649 2003-04-01 Angus Leeming <leeming@lyx.org>
1651 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1654 2003-04-02 John Levon <levon@movementarian.org>
1660 * text_funcs.C: make transposeChars a free function
1662 * lyxrow_funcs.C: remove wrong comment
1664 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1667 * rowpainter.C: adjust
1672 * lyxrow_funcs. [Ch]: new files
1674 * lyxrow.[Ch]: remove next and previous pointers
1675 (next,previous): remove accessor functions
1676 (isParEnd): move to lyxrow_funcs
1677 (lastPos): move to lyxrow_funcs
1678 (nextRowIsAllInset): move to lyxrow_funcs
1679 (lastPrintablePos): move to lyxrow_funcs
1680 (numberOfSeparators): move to lyxrow_funcs
1681 (numberOfHfills): move to lyxrow_funcs
1682 (numberOfLabelHfills): move to lyxrow_funcs
1683 (hfillExpansion): move to lyxrow_funcs
1687 * bufferview_funcs.C (toggleAndShow): adjust
1689 * RowList.h: Remove class RowList from file leave just a
1692 * RowList.C: delete file
1694 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1697 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1699 * text3.C (cursorPrevious): adjust
1700 (cursorNext): adjust
1703 * text2.C (redoHeightOfParagraph): adjust
1704 (redoDrawingOfParagraph): adjust
1707 * text.C (breakParagraph): adjust
1708 (insertChar): adjust
1711 * rowpainter.C (RowPainter): adjust
1712 (leftMargin): simplify and adjust
1713 (most rowpainter functions): adjust.
1715 * rowpainter.h: store the row as RowList::iterator not as Row*
1717 * lyxcursor.C (row): taka RowList::iterator as arg
1720 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1723 2003-04-01 Angus Leeming <leeming@lyx.org>
1725 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1726 stuff like bool Bool.
1728 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1730 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1733 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1735 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1738 * lyxtext.h (rows): drop one version and leve a const variant that
1739 returns a RowList::iterator.
1741 2003-03-31 Angus Leeming <leeming@lyx.org>
1743 * text.C (fill): ensure that the signature is the same as that in the
1746 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1748 * text2.C (redoParagraphs): adjust
1749 (updateCounters): adjust
1750 (checkParagraph): adjust
1751 (getColumnNearX): adjust and reformat a bit.
1753 * text.C (top_y): adjust
1755 (leftMargin): adjust
1756 (prepareToPrint): adjust
1758 (getRowNearY): adjust
1760 * lyxtext.h: make rowlist_ mutable.
1762 * RowList.h: add const_iterator
1763 * RowList.C: adjust for RowList::const_iterator.
1765 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1768 2003-03-31 John Levon <levon@movementarian.org>
1771 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1773 * lyx_main.C: set default fonts from using lyx_gui funcs
1775 * exporter.C: pdf_mode moved from lyxrc
1778 * lyxfunc.C: changes from above
1780 2003-03-31 John Levon <levon@movementarian.org>
1782 * lyx_main.C: fix to the last fix
1784 2003-03-31 John Levon <levon@movementarian.org>
1786 * bufferlist.C: "Load original" -> "Load Original"
1792 * format.C: more Alert cleanups
1794 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1796 * text2.C (removeParagraph): make it take a RowList::iterator as
1798 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1799 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1801 * text.C (anchor_row): make it take a RowList::iterator as arg,
1803 (computeBidiTables): make it take a const reference to Row instead
1804 of Row pointer, adjust.
1805 (leftMargin): make it take a RowList::iterator as arg, adjust.
1806 (rowBreakPoint): adjust
1807 (breakAgainOneRow): make it take a RowList::iterator as arg,
1809 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1811 * bufferview_funcs.C (toggleAndShow): adjust
1813 2003-03-30 John Levon <levon@movementarian.org>
1817 * boost-inst.C: moved to support
1819 * several files: changes as a result
1821 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1823 * text2.C (LyXText): adjust.
1825 (removeRow): make it take a RowList::iterator as arg, adjust.
1826 (fullRebreak): adjust
1827 (deleteEmptyParagraphMechanism): adjust
1828 (clearPaint): adjust
1831 * text.C (top_y): adjust
1832 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1833 (breakAgain): make it take a RowList::iterator as arg, adjust.
1834 (breakParagraph): adjust
1835 (insertChar): adjust
1838 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1839 need_break_row, and refresh_row.
1841 * text3.C (dispatch): adjust
1843 * text2.C (checkParagraph): adjust
1845 (setCursorFromCoordinates): adjust
1847 * text.C (top_y): adjust
1849 (getRow): make it return a RowList::iterator, adjust
1850 (getRowNearY): make it return a RowList::iterator, adjust
1852 * text2.C (init): adjust
1853 (insertRow): remove function
1854 (insertParagraph): adjust
1855 (redoParagraphs): adjust
1856 (fullRebreak): adjust
1857 (updateCounters): adjust
1859 * text.C (top_y): rewrite to use RowList iterators.
1861 (setHeightOfRow): rewrite to sue RowList iterators.
1862 (appendParagraph): adjust
1863 (breakAgain): adjust
1864 (breakAgainOneRow): adjust
1865 (breakParagraph): adjust
1867 (getRowNearY): adjust, and remove commented code.
1869 * lyxtext.h (firstRow): delete function
1870 (lastRow): delete function
1871 (rows): new function (const and non-const versions.)
1872 (insertRow): delete function
1874 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1876 2003-03-29 John Levon <levon@movementarian.org>
1878 * BufferView_pimpl.C: always update scrollbar top
1879 because pasting text when we're anchored could mean we
1880 miss an update altogether
1882 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1884 * text2.C (init): use rowlist_.end() and not 0.
1885 (insertRow): change to take a RowList::iterator as arg, adjust
1887 (insertParagraph): change to take a RowList::iterator as arg,
1889 (redoParagraphs): remove some debug msgs.
1891 * text.C (appendParagraph): change to take a RowList::iterator
1892 arg, adjust for this.
1893 (breakAgain): add an assert
1894 (breakAgainOneRow): ditto
1896 2003-03-29 John Levon <levon@movementarian.org>
1898 * text2.C: do not clear selection after inc/decDepth
1901 2003-03-29 John Levon <levon@movementarian.org>
1904 * buffer.C: fix broken strerrors according to Lars
1906 2003-03-29 John Levon <levon@movementarian.org>
1908 * converters.C: more Alert cleanups
1910 2003-03-29 John Levon <levon@movementarian.org>
1912 * bufferview_funcs.C: remove pointless Alert
1914 * buffer.C: fix confusing error message when
1915 a template is chmoded 000
1917 2003-03-29 John Levon <levon@movementarian.org>
1921 * BufferView_pimpl.C: Alert fixes
1925 * tabular-old.C: remove unused table compat reading
1927 2003-03-29 John Levon <levon@movementarian.org>
1932 * lyx_cb.C: more Alert cleanups
1934 * lyxfunc.C: don't allow chktex if not latex document
1936 2003-03-29 John Levon <levon@movementarian.org>
1940 * buffer.C: warnings pushed down from support/,
1943 2003-03-29 John Levon <levon@movementarian.org>
1945 * lyxfunc.C: safety check for C-r (revert)
1947 2003-03-29 John Levon <levon@movementarian.org>
1950 * bufferlist.C: several UI fixes using Alert::prompt.
1951 Fix the pointless looping quit code. Fix stupid revert
1956 * lyx_cb.C: use Alert::prompt
1958 * lyx_main.C: remove a silly question
1960 * lyxfunc.C: remove a couple of silly questions,
1963 2003-03-28 John Levon <levon@movementarian.org>
1965 * text2.C: fix bug 974 (End on empty par)
1967 2003-03-28 John Levon <levon@movementarian.org>
1969 * BufferView_pimpl.C:
1971 * lfuns.h: remove do-nothing math greek lfuns
1973 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1975 * lyxgluelength.h (isValidGlueLength): add default arg on
1976 parameter 2. Remove default arg from friend in class.
1978 * lyxlength.h (isValidLength): add default arg on parameter 2.
1979 Remove default arg from friend in class.
1981 * text2.C (LyXText): adjust, initialize refresh_row.
1985 (insertParagraph): adjst
1986 (redoParagraphs): adjust
1987 (fullRebreak): adjust
1988 (updateCounters): adjust
1989 (deleteEmptyParagraphMechanism): first attempt at fixing a
1992 * text.C (top_y): adjust
1993 (setHeightOfRow): adjust
1995 (getRowNearY): adjust
1997 * lyxtext.h: include RowList.h
1998 (~LyXText): not needed anymore, deleted.
1999 (firstRow): modify for RowList
2000 (lastRow): new function
2001 Delete firstrow and lastrow class variables, add a Rowlist
2002 rowlist_ class variable.
2004 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2007 * RowList.C (insert): fix case where it == begin().
2009 2003-03-26 Angus Leeming <leeming@lyx.org>
2011 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2012 the thesaurus dialog.
2014 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2016 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2018 * RowList.[Ch]: new files
2020 * ParagraphList.C (erase): handle the case where it == begin
2023 2003-03-25 John Levon <levon@movementarian.org>
2027 * aspell.C: add new aspell support
2030 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2033 2003-03-25 Angus Leeming <leeming@lyx.org>
2036 * LyXAction.C (init): new LFUN_INSET_INSERT.
2038 * BufferView_pimpl.C (dispatch): split out part of the
2039 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2041 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2044 2003-03-25 Angus Leeming <leeming@lyx.org>
2046 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2048 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2051 * text3.C: remove useless row->height(0)
2053 2003-03-25 John Levon <levon@movementarian.org>
2057 * text3.C: rename the refreshing stuff to better names
2059 2003-03-24 John Levon <levon@movementarian.org>
2061 * BufferView_pimpl.h:
2062 * BufferView_pimpl.C: update layout choice on a mouse
2065 2003-03-23 John Levon <levon@movementarian.org>
2067 * Makefile.am: fix commandtags.h reference
2069 2003-03-22 John Levon <levon@movementarian.org>
2071 * BufferView_pimpl.C:
2076 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2078 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2081 * text.C: take the rtl methods out of line
2083 2003-03-21 André Pönitz <poenitz@gmx.net>
2085 * metricsinfo.[Ch]: new files containing structures to be passed around
2086 during the two-phase-drawing...
2088 2003-03-21 André Pönitz <poenitz@gmx.net>
2090 * lyxtextclass.C: read 'environment' tag.
2092 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2094 * text2.C (removeRow): fix bug 964
2096 2003-03-20 John Levon <levon@movementarian.org>
2100 * text2.C: paint cleanups. Inset::update() dropped font
2103 2003-03-19 John Levon <levon@movementarian.org>
2105 * lyxfunc.C: only fitcursor/markDirty if available()
2107 2003-03-19 John Levon <levon@movementarian.org>
2109 * commandtags.h: rename to ...
2111 * lfuns.h: ... this, and renumber / cleanup
2113 2003-03-19 John Levon <levon@movementarian.org>
2115 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2116 fit the cursor after an lfun
2120 * BufferView_pimpl.h:
2121 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2123 * LyXAction.C: layout-character should have ReadOnly
2125 * ParagraphParameters.C:
2127 * bufferview_funcs.C:
2134 * undo_funcs.C: changes from above
2136 2003-03-18 John Levon <levon@movementarian.org>
2138 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2139 remove it from update()
2141 * lyxfunc.C: update layout choice after an lfun
2143 * text3.C: remove extra updateLayoutChoice()s
2145 2003-03-18 John Levon <levon@movementarian.org>
2147 * text.C: top_y change means full repaint, fix
2148 a drawing bug with cursor movement
2150 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2154 * text2.C: anchor row on setCursor
2156 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2158 * lyxtext.h: remove almost all mutable keywords
2161 * text3.C: remove const keywords accordingly
2163 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2165 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2167 (TeXEnvironment): ditto
2170 2003-03-17 John Levon <levon@movementarian.org>
2172 * text.C (rowBreakPoint): remove attempt to fix displayed
2173 math insets inside a manual label
2175 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2177 * lyxtext.h: remove BufferView* as first arg from almost all class
2179 * other files: adjust.
2181 2003-03-17 John Levon <levon@movementarian.org>
2185 * text2.C: more paint cleanups
2187 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2190 * rowpainter.C: remove "smart" background painting code
2192 2003-03-16 John Levon <levon@movementarian.org>
2197 * text3.C: add helper functions for setting refresh_row/y
2199 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2201 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2202 newline inset which *can* get inserted in the pass_thru layouts.
2203 This is primarily for literate documents.
2205 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2207 * buffer.C: increment LYX_FORMAT to 223
2209 2003-03-14 André Pönitz <poenitz@gmx.net>
2211 * textclass.h: prepare for environment handling, ws changes
2212 * lyxlayout.C: read latexheader and latexfooter tags
2214 2003-03-14 John Levon <levon@movementarian.org>
2216 * text2.C: rewrite ::status() a bit
2218 2003-03-13 John Levon <levon@movementarian.org>
2220 * lyxtext.h: add some docs
2222 2003-03-13 John Levon <levon@movementarian.org>
2227 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2229 2003-03-13 John Levon <levon@movementarian.org>
2231 * text3.C: fix appendix redrawing
2233 2003-03-13 John Levon <levon@movementarian.org>
2235 * text.C (setHeightOfRow):
2237 * rowpainter.C: make appendix mark have the text
2238 "Appendix" so the user knows what it is
2241 * LColor.C: s/appendixline/appendix/ from above
2243 2003-03-13 John Levon <levon@movementarian.org>
2245 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2247 * text.C: fix a getChar(pos) bug properly
2249 2003-03-13 Angus Leeming <leeming@lyx.org>
2252 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2253 Probably only temporary. Let's see how things pan out.
2255 * BufferView.C (unlockInset):
2256 * BufferView_pimpl.C (fitCursor):
2257 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2259 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2260 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2262 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2263 new functions that convert ParagraphParameters to and from a string.
2265 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2266 BufferView::Pimpl's dispatch.
2267 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2269 2003-03-13 André Pönitz <poenitz@gmx.net>
2273 * factory.C: make it aware of InsetEnv
2275 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2277 * text2.C (setCursor): never ask for one past last
2278 (setCursor): add some debugging messages.
2280 * text.C (singleWidth): never ask for one past last
2281 (singleWidth): ditto
2283 (rightMargin): ditto
2284 (rowBreakPoint): ditto
2285 (setHeightOfRow): ditto
2286 (prepareToPrint): ditto
2288 * rowpainter.C (paintBackground): never ask for one past last
2289 (paintText): never ask for one past last
2291 * paragraph_pimpl.C (getChar): make the assert stricter, never
2292 allow the one past last pos to be taken
2294 * paragraph.C (getChar): ws changes only
2296 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2297 (numberOfSeparators): ditto
2298 (numberOfHfills): ditto
2300 2003-03-12 John Levon <levon@movementarian.org>
2306 * paragraph_funcs.C: fix per-buffer authorlists
2308 2003-03-12 John Levon <levon@movementarian.org>
2310 * text.C: fix newline in right address
2312 2003-03-12 Angus Leeming <leeming@lyx.org>
2314 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2315 duplicate those in LyXFunc::dispatch.
2319 * ToolbarDefaults.C:
2320 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2321 Add LFUN_FONTFREE_UPDATE.
2323 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2324 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2326 * bufferview_func.[Ch]: several new functions to facilliate
2327 transfer of data to and from the character dialog.
2329 2003-03-12 John Levon <levon@movementarian.org>
2334 * paragraph_funcs.C:
2335 * paragraph_pimpl.C:
2339 * text3.C: remove META_NEWLINE in favour of an inset
2342 * rowpainter.C: remove paintNewline (done by inset)
2344 2003-03-12 John Levon <levon@movementarian.org>
2346 * paragraph_pimpl.C: complain about bad getChar()s
2347 for a while at least
2349 2003-03-12 John Levon <levon@movementarian.org>
2352 * buffer.C: move paragraph read into a separate function,
2353 a little renaming to reflect that.
2356 * bufferparams.C: remove the author_ids map, not necessary now
2359 * factory.C: moved Buffer::readInset to here
2361 * paragraph_funcs.h:
2362 * paragraph_funcs.C: readParagraph free function moved from
2365 * tabular.C: name change
2367 2003-03-12 John Levon <levon@movementarian.org>
2370 * ParagraphParameters.C: move par params input to
2373 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2374 behave like a normal read from the stream wrt reading
2375 a line vs. a \\token
2377 2003-03-12 John Levon <levon@movementarian.org>
2380 * ParagraphParameters.h:
2381 * ParagraphParameters.C: move output code to a
2384 2003-03-12 John Levon <levon@movementarian.org>
2386 * BufferView.C (insertLyXFile):
2389 * tabular.C: use a parlist iterator for creating the
2392 2003-03-12 John Levon <levon@movementarian.org>
2394 * buffer.C: make current_change static local not
2397 2003-03-12 John Levon <levon@movementarian.org>
2399 * buffer.C: fix insertStringAsLines for change tracking
2401 2003-03-12 John Levon <levon@movementarian.org>
2408 * bufferparams.C: move author list into params. Rename some
2409 functions. Move the header reading into a separate token
2410 loop. Move the header token reading into BufferParams.
2412 2003-03-12 John Levon <levon@movementarian.org>
2414 * changes.C: put debug inside lyxerr.debugging() checks
2416 2003-03-11 André Pönitz <poenitz@gmx.net>
2418 * factory.C: make it aware of InsetHFill
2420 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2422 * buffer.C (latexParagraphs): move function from here...
2423 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2426 2003-03-10 Angus Leeming <leeming@lyx.org>
2428 * LyXAction.C (init): fix bug in poplating array with multiple entries
2429 with the same LFUN (spotted by JMarc).
2431 2003-03-10 John Levon <levon@movementarian.org>
2434 * text2.C: move getColumnNearX() near its
2437 2003-03-10 John Levon <levon@movementarian.org>
2439 * text.C: fix break before a minipage
2441 2003-03-10 John Levon <levon@movementarian.org>
2443 * text.C: fix the last commit
2445 2003-03-09 John Levon <levon@movementarian.org>
2449 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2450 bug 365 (don't break before insets unless needed). Don't
2451 return a value > last under any circumstances.
2453 2003-03-09 Angus Leeming <leeming@lyx.org>
2455 * BufferView_pimpl.C (trackChanges, dispatch): call
2456 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2458 2003-03-09 Angus Leeming <leeming@lyx.org>
2460 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2461 than Dialogs::showAboutlyx().
2463 2003-03-09 Angus Leeming <leeming@lyx.org>
2465 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2466 than Dialogs::showTabularCreate().
2468 2003-03-09 John Levon <levon@movementarian.org>
2472 * text2.C: 3rd arg to nextBreakPoint was always the same.
2475 2003-03-08 John Levon <levon@movementarian.org>
2482 * text2.C: Remove the "main" bit from the "main body"
2485 2003-03-08 John Levon <levon@movementarian.org>
2487 * text.C (leftMargin): The left margin of an empty
2488 manual label paragraph should not include the label width
2491 * text.C (prepareToPrint): don't attempt to measure hfills
2492 for empty manual label paragraphs - the answer should be 0
2494 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2496 * CutAndPaste.C: remove commented code and reindent.
2498 2003-03-08 John Levon <levon@movementarian.org>
2501 * lyxfunc.C: move reloadBuffer()
2504 * BufferView.C: to here
2506 * lyxvc.C: add comment
2509 * vc-backend.C: call bv->reload() to avoid
2510 getStatus() check on MENURELOAD
2512 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2514 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2515 to an old format .dep file.
2517 2003-03-07 Angus Leeming <leeming@lyx.org>
2519 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2520 when the LFUN_MOUSE_RELEASE should have been handled by
2521 inset->localDispatch.
2523 2003-03-07 Angus Leeming <leeming@lyx.org>
2525 * BufferView_pimpl.C (dispatch):
2526 * LyXAction.C (init):
2527 * ToolbarDefaults.C (init):
2529 * lyxfunc.C (getStatus):
2530 remove LFUN_INSET_GRAPHICS.
2532 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2534 2003-03-07 Angus Leeming <leeming@lyx.org>
2537 * LyXAction.C (init):
2538 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2540 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2543 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2545 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2546 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2548 2003-03-07 Angus Leeming <leeming@lyx.org>
2550 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2553 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2555 * ParagraphList.C (front): new function
2558 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2560 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2561 and top_row_offset_. removed var first_y.
2563 * text2.C (LyXText, removeRow):
2565 * BufferView_pimpl.C:
2566 use these methods instead of using first_y
2568 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2570 * text2.C (pasteSelection): adjust for checkPastePossible
2572 * CutAndPaste.C: remove Paragraph * buf and replace with
2573 ParagraphList paragraphs.
2574 (DeleteBuffer): delete
2575 (cutSelection): change the tc type to textclass_type
2576 (copySelection): change the tc type to textclass_type
2577 (copySelection): adjust for ParagraphList
2578 (pasteSelection): change the tc type to textclass_type
2579 (pasteSelection): adjust for Paragraphlist
2580 (nrOfParagraphs): simplify for ParagraphList
2581 (checkPastePossible): simplify for ParagraphList
2582 (checkPastePossible): remove unused arg
2584 * ParagraphList.C (insert): handle the case where there are no
2587 * CutAndPaste.h: make CutAndPaste a namespace.
2589 * text3.C (dispatch): adjust
2591 * text.C (breakParagraph): add a ParagraphList as arg
2593 * paragraph_funcs.C (breakParagraph): change to take a
2594 BufferParams and a ParagraphList as args.
2595 (breakParagraphConservative): ditto
2596 (mergeParagraph): ditto
2597 (TeXDeeper): add a ParagraphList arg
2598 (TeXEnvironment): ditto
2601 * buffer.C (readLyXformat2): adjust
2602 (insertStringAsLines): adjust
2603 (latexParagraphs): adjust
2605 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2606 (cutSelection): adjust
2607 (pasteSelection): adjust
2609 * BufferView_pimpl.C (insertInset): adjust
2611 2003-03-05 Angus Leeming <leeming@lyx.org>
2614 * LyXAction.C (init):
2615 * BufferView_pimpl.C (dispatch):
2616 * lyxfunc.C (getStatus):
2617 remove LFUN_CHILD_INSERT.
2619 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2621 2003-03-05 Angus Leeming <leeming@lyx.org>
2624 * LyXAction.C (init):
2625 * src/factory.C (createInset):
2626 * lyxfunc.C (getStatus):
2627 * text3.C (dispatch):
2628 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2630 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2632 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2634 * ParagraphList.C (insert): handle insert right before end()
2635 (erase): fix cases where it can be first or last paragraph.
2637 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2639 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2640 Paragraph::next and Paragraph::previous
2643 * text.C (breakParagraph): adjust
2645 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2646 BufferParams& as arg.
2647 (breakParagraph): use ParagraphList::insert
2648 (breakParagraphConservative): take a Buffer* instead of a
2649 BufferParams& as arg.
2650 (breakParagraphConservative): use ParagraphList::insert.
2652 * buffer.C (insertStringAsLines): un-const it
2653 (insertStringAsLines): adjust
2655 * ParagraphList.C (insert): new function
2657 * CutAndPaste.C (pasteSelection): adjust
2659 * text.C (backspace): adjust
2661 * tabular.C (SetMultiColumn): adjust
2663 * CutAndPaste.C (cutSelection): adjust
2664 (pasteSelection): adjust
2666 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2667 Buffer const * as arg
2669 * ParagraphList.C (erase): new function
2670 * paragraph_funcs.C (mergeParagraph): use it
2671 (mergeParagraph): make it take a Buffer* instead of a
2672 BufferParams* as arg
2674 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2676 (breakParagraphConservative): ditto
2678 * paragraph.h: remove the breakParagraph friend
2680 * paragraph.C (eraseIntern): new function
2681 (setChange): new function
2683 * paragraph_funcs.C (mergeParagraph): make it take a
2684 ParagraphList::iterator instead of a Paragraph *, adjust
2687 * paragraph.h: move an #endif so that the change tracking stuff
2688 also works in the NO_NEXT case.
2690 2003-03-04 Angus Leeming <leeming@lyx.org>
2693 * LyXAction.C: new LFUN_INSET_MODIFY.
2695 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2696 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2698 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2700 * several files: ws changes only
2702 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2703 (TeXEnvironment): ditto
2706 * buffer.C (makeLaTeXFile): adjust
2707 (latexParagraphs): make it take ParagraphList::iterator as args
2709 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2711 * buffer.C (latexParagraphs): adjust
2713 * paragraph.C (TeXOnePar): move function...
2714 (optArgInset): move function...
2715 (TeXEnvironment): move function...
2716 * paragraph_pimpl.C (TeXDeeper): move function...
2717 * paragraph_funcs.C: ...here
2719 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2721 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2723 * buffer.C (readInset): remove compability code for old Figure and
2726 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2728 * buffer.C: ws changes
2731 * BufferView_pimpl.C: ditto
2734 * bufferlist.h: ditto
2738 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2740 * converter.[Ch]: split into itself +
2743 * Makefile.am: += graph.[Ch] + format.[Ch]
2750 * lyxrc.C: added #include "format.h"
2752 2003-02-27 Angus Leeming <leeming@lyx.org>
2754 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2757 * factory.C (createInset): add "label" to the factory.
2759 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2760 string and do no more.
2762 2003-02-27 Angus Leeming <leeming@lyx.org>
2765 * LyXAction.C (init):
2766 * factory.C (createInset):
2767 * BufferView_pimpl.C (dispatch):
2768 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2770 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2772 * lyxfunc.C (dispatch):
2773 * text3.C (dispatch): pass name to params2string.
2775 2003-02-26 Angus Leeming <leeming@lyx.org>
2777 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2779 Rearrange the ~includes. Strip out the unnecessary ones.
2781 * factory.C (createInset): reformat.
2782 create new insets for the various LFUN_XYZ_APPLY lfuns.
2784 2003-02-26 John Levon <levon@movementarian.org>
2787 * lyxrow.C: add isParStart,isParEnd helpers
2789 * paragraph.h: make isInserted/DeletedText take refs
2791 * paragraph_funcs.h:
2792 * paragraph_funcs.C: remove #if 0'd code
2797 * text.C: use lyxrow helpers above.
2798 Move draw and paint routines to RowPainter.
2799 Make several methods use refs not pointers.
2800 Make backgroundColor() const.
2801 Add markChangeInDraw(), isInInset().
2802 Merge changeRegionCase into changeCase.
2803 Make workWidth() shouldn't-happen code into an Assert.
2806 * rowpainter.C: new class for painting a row.
2809 * vspace.C: make inPixels take a ref
2811 2003-02-26 Angus Leeming <leeming@lyx.org>
2813 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2816 2003-02-25 John Levon <levon@movementarian.org>
2818 * ispell.C: give the forked command a more accurate name
2820 2003-02-22 John Levon <levon@movementarian.org>
2823 * toc.C: make TocItem store an id not a Paragraph *
2826 2003-02-21 Angus Leeming <leeming@lyx.org>
2828 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2829 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2830 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2831 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2832 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2833 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2835 * BufferView_pimpl.C (dispatch):
2836 * LyXAction.C (init):
2837 * factory.C (createInset):
2838 * lyxfunc.C (getStatus, dispatch):
2839 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2841 2003-02-21 Angus Leeming <leeming@lyx.org>
2843 * BufferView_pimpl.C (MenuInsertLyXFile):
2844 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2845 * lyxfunc.C (menuNew, open, doImport):
2846 no longer pass a LyXView & to fileDlg.
2848 2003-02-21 Angus Leeming <leeming@lyx.org>
2850 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2851 * LyXAction.C: change, BIBKEY to BIBITEM.
2852 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2853 Change InsetBibKey to InsetBibitem.
2854 Change BIBKEY_CODE to BIBITEM_CODE.
2855 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2856 * factory.C: replace insetbib.h with insetbibitem.h.
2857 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2858 * paragraph.C: replace insetbib.h with insetbibitem.h.
2859 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2860 Change bibkey() to bibitem().
2861 * text.C: remove insetbib.h.
2862 * text2.C: replace insetbib.h with insetbibitem.h.
2863 change bibkey() to bibitem().
2864 * text3.C: remove insetbib.h.
2865 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2867 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2869 * lyxrc.C (output): enclose user email in quotes (in case there are
2872 2003-02-18 John Levon <levon@movementarian.org>
2874 * buffer.h: add std::
2876 2003-02-17 John Levon <levon@movementarian.org>
2882 * pspell.C: reworking. Especially in ispell, a large
2883 number of clean ups and bug fixes.
2885 * lyxfunc.C: fix revert to behave sensibly
2887 2003-02-17 André Pönitz <poenitz@gmx.net>
2890 * commandtags.h: new LFUN_INSERT_BIBKEY
2900 * paragraph_func.C: remove special bibkey handling
2902 2003-02-17 John Levon <levon@movementarian.org>
2904 * text.C (Delete): fix case where delete at the end of
2905 the very first paragraph would not merge the pars
2907 2003-02-17 John Levon <levon@movementarian.org>
2909 * lyxrow.C: fix lastPrintablePos()
2911 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2913 * bufferparams.C (writeLaTeX): add a std:here
2915 * buffer.C: and remove a using directive there
2917 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2919 * buffer.C (makeLaTeXFile): move the code that generates the
2922 * bufferparams.C (writeLaTeX): ... in this new method
2924 * LaTeXFeatures.C (getEncodingSet): make const
2925 (getLanguages): make const
2927 * MenuBackend.C (binding): returns the binding associated to this
2929 (add): sets the status of each item by calling getStatus. Adds
2931 (read): add support for OptSubMenu
2932 (expand): remove extra separator at the end of expanded menu
2934 2003-02-15 John Levon <levon@movementarian.org>
2937 * BufferView_pimpl.C:
2939 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2940 inset code that had no actual effect. Remove unneeded status
2943 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2945 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2948 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2950 * text.C (drawLengthMarker): also draw an arrow marker for
2951 symbolic lengths (medskip...)
2953 2003-02-14 John Levon <levon@movementarian.org>
2956 * tabular.C: better method names
2958 2003-02-14 John Levon <levon@movementarian.org>
2960 * BufferView_pimpl.C:
2965 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2966 it's a more accurate name. Remove some pointless uses.
2968 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2970 * text2.C (LyXText): change order of initilizers to shut off
2973 2003-02-14 John Levon <levon@movementarian.org>
2975 * buffer.C: use ParIterator for getParFromID()
2979 * paragraph_pimpl.h:
2980 * paragraph_pimpl.C: remove unused getParFromID()
2982 2003-02-14 John Levon <levon@movementarian.org>
2984 * buffer.C: remove some very old #if 0'd parse code
2986 2003-02-13 John Levon <levon@movementarian.org>
2990 * text2.C: move hfillExpansion(), numberOfSeparators(),
2991 rowLast(), rowLastPrintable(), numberofHfills(),
2992 numberOfLabelHfills() ...
2995 * lyxrow.C: ... to member functions here.
3000 * text.C: remove LyXText::beginningOfMainBody(), and call
3001 p->beginningOfMainBody() directly. Move the check for
3002 LABEL_MANUAL into the latter.
3009 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3015 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3016 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3018 2003-02-13 John Levon <levon@movementarian.org>
3020 * CutAndPaste.C: remove debug
3022 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3024 * paragraph.C (asString): remove two unused variables
3026 * lyxtextclass.C (readTitleType):
3028 (LyXTextClass): handle new members titletype_ and titlename_
3030 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3032 2003-02-09 John Levon <levon@movementarian.org>
3035 * buffer.C: replace hand-coded list with a map for the dep clean
3037 2003-02-08 John Levon <levon@movementarian.org>
3039 * LaTeX.C: consolidate code into showRunMessage() helper
3041 2003-02-08 John Levon <levon@movementarian.org>
3046 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3047 and pass the size in explicitly
3049 * BufferView_pimpl.h:
3050 * BufferView_pimpl.C:
3052 * BufferView.C: add getCurrentChange()
3054 * BufferView_pimpl.h:
3055 * BufferView_pimpl.C: handle change lfuns
3057 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3058 for changes. Mark pasted paragraphs as new.
3060 * support/lyxtime.h:
3061 * support/lyxtime.C:
3062 * DepTable.C: abstract time_t as lyx::time_type
3065 * LColor.C: add colours for new text, deleted text, changebars
3067 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3068 package use "usenames" option.
3072 * LyXAction.C: add change lfuns
3076 * author.C: author handling
3079 * buffer.C: add a per-buffer author list, with first entry as
3080 current author. Handle new .lyx tokens for change tracking. Output
3081 author list to .lyx file. Output dvipost stuff to .tex preamble.
3082 Bump lyx format to 222.
3085 * bufferlist.C: add setCurrentAuthor() to reset current author details
3089 * bufferparams.C: add param for tracking
3091 * bufferview_funcs.C: output change info in minibuffer
3095 * changes.C: add change-tracking structure
3098 * debug.C: add CHANGES debug flag
3101 * lyxfind.C: add code for finding the next change piece
3104 * lyxrc.C: add user_name and user_email
3107 * lyxrow.C: add a metric for the top of the text line
3110 * text.C: implement accept/rejectChange()
3113 * text.C: paint changebars. Paint new/deleted text in the chosen
3114 colours. Strike through deleted text.
3118 * paragraph_pimpl.h:
3119 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3120 in the current change to the insert functions. Rework erase to
3121 mark text as deleted, adding an eraseIntern() and a range-based
3122 erase(). Implement per-paragraph change lookup and
3125 * paragraph_funcs.C: Fixup paste for change tracking.
3127 * tabular.C: mark added row/columns as new.
3129 * text.C: fix rowLast() to never return -1. Don't allow
3130 spellchecking of deleted text. Track transpose changes. Don't
3131 allow paragraph break or merge where appropriate.
3133 * text2.C: leave cursor at end of selection after a cut.
3135 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3137 * text.C (getLengthMarkerHeight):
3138 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3139 visible on screen too.
3141 2003-02-07 John Levon <levon@movementarian.org>
3143 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3145 2003-02-05 Angus Leeming <leeming@lyx.org>
3147 * lyxserver.C (read_ready): revert my patch of 11 September last year
3148 as it sends PC cpu through the roof. Presumably this means that
3149 the lyxserver will no longer run on an Alpha...
3151 2003-01-30 Angus Leeming <leeming@lyx.org>
3153 * factory.C (createInset): create an InsetCommandParam of type "index"
3154 and use it to 'do the right thing'.
3156 * text2.C (getStringToIndex): ensure that cursor position is always
3157 reset to the reset_cursor position.
3159 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3161 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3164 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3168 * lyxfunc.C: Output messages with identical spelling, punctuation,
3171 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3173 * MenuBackend.C (expandFormats): List only viewable export formats
3176 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3179 * lyxfunc.C (getStatus): Make sure that formats other than
3180 "fax" can also be disabled
3182 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3184 * text3.C (dispatch): put the lfuns that insert insets in 3
3185 groups, and call doInsertInset with appropriate arguments.
3186 (doInsertInset): new function, that creates an inset and inserts
3187 it according to some boolean parameters.
3189 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3191 * buffer.C (readFile): remember to pass on 'par' when calling
3192 readFile recursively.
3194 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3196 * MenuBackend.C (expandFormats): add "..." to import formats.
3198 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3200 * paragraph.C (asString): Remove XForms RTL hacks.
3202 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3203 * buffer.C: fix typo
3205 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3207 * Makefile.am (LIBS): delete var
3208 (lyx_LDADD): add @LIBS@ here instead.
3210 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3212 * Clarify the meaning of "wheel mouse jump"
3214 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3216 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3219 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3221 * importer.C (Loaders): do not preallocate 3 elements in the
3222 vector, since one ends up with 6 elements otherwise
3224 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3226 * DepTable.C (write): write the file name as last element of the
3227 .dep file (because it may contain spaces)
3228 (read): read info in the right order
3230 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3232 * paragraph_pimpl.C (simpleTeXBlanks):
3233 (simpleTeXSpecialChars):
3234 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3236 * tabular.C (latex): add some missing case statements. Reindent.
3238 * MenuBackend.C (expandToc): remove unused variable.
3240 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3249 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3252 2003-01-05 John Levon <levon@movementarian.org>
3255 * BufferView.C: add getEncoding()
3258 * kbsequence.C: do not store last keypress
3261 * lyxfunc.C: store last keypress here instead. Pass encoding
3264 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3266 * lyx_main.C (init): remove annoying error message when following
3267 symbolic links (bug #780)
3269 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3271 * text.C (insertChar):
3272 * lyxrc.C (getDescription): remove extra spaces
3274 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3276 * lyxrc.C (getDescription): remove extra spaces
3278 2002-12-20 John Levon <levon@movementarian.org>
3280 * text3.C: hack fix for page up/down across tall rows
3282 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3284 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3287 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3289 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3290 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3291 thesaurus is not compiled in
3293 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3295 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3297 2002-12-16 Angus Leeming <leeming@lyx.org>
3300 * lyx_main.C (init): remove override_x_deadkeys stuff.
3302 2002-12-12 John Levon <levon@movementarian.org>
3304 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3305 insert. Only remove shift modifier under strict
3308 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3310 * MenuBackend.C (expandToc): fix crash.
3312 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3314 * MenuBackend.C (expandToc): gettext on float names.
3316 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3318 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3319 implement bool empty() [bug 490]
3321 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3323 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3325 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3327 * several files: ws changes
3329 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3331 * text2.C (setCounter): clean up a bit, use boost.format.
3332 (updateCounters): initialize par upon declaration.
3334 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3335 if the layout exists. We do not just store the layout any more.
3336 (SwitchLayoutsBetweenClasses): use boost.format
3338 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3340 * converter.C (convert): if from and to files are the same, use a
3341 temporary files as intermediary
3343 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3346 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3348 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3350 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3352 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3354 * tabular.C (asciiPrintCell): use string(size, char) instead of
3357 * sgml.C (openTag): fix order of arguments to string constructor
3360 * lyxfunc.C (dispatch): use boost.format
3362 * lots of files: change "c" -> 'c'
3364 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3366 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3368 2002-11-25 Angus Leeming <leeming@lyx.org>
3370 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3372 * lyx_main.C (init): compile fix.
3374 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3376 * lyx_cb.C (start): boost.formatify
3377 do not include <iostream>
3379 * lengthcommon.C: ws only
3381 * boost-inst.C,BoostFormat.h: add more explict instantations
3383 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3385 * lots of files: handle USE_BOOST_FORMAT
3387 2002-11-21 John Levon <levon@movementarian.org>
3389 * pspell.C: fix compile
3391 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3393 * lyxfunc.C (dispatch): use boost::format
3397 * lyxfont.C (stateText): use boost::format
3399 * lyx_main.C (LyX): use boost::format
3401 (queryUserLyXDir): ditto
3404 (typedef boost::function): use the recommened syntax.
3406 * importer.C (Import): use boost::format
3408 * debug.C (showLevel): use boost::format
3410 * converter.C (view): use boost::format
3415 * bufferview_funcs.C (currentState): use boost::format
3417 * bufferlist.C (emergencyWrite): use boost::format
3419 * buffer.C (readLyXformat2): use boost::format
3420 (parseSingleLyXformat2Token): ditto
3422 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3424 * LaTeX.C (run): use boost::format
3426 * Chktex.C (scanLogFile): use boost::format
3428 * BufferView_pimpl.C (savePosition): use boost::format
3429 (restorePosition): ditto
3430 (MenuInsertLyXFile): ditto
3432 * BoostFormat.h: help file for explicit instation.
3434 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3436 * tabular.C (latex): Support for block alignment in fixed width
3439 2002-11-17 John Levon <levon@movementarian.org>
3441 * BufferView_pimpl.C:
3443 * lyxfunc.C: split filedialog into open/save
3445 2002-11-08 Juergen Vigna <jug@sad.it>
3447 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3448 by my last patch (hopefully).
3450 2002-11-08 John Levon <levon@movementarian.org>
3459 * toc.C: ParConstIterator, and use it (from Lars)
3461 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3463 * lyxtextclass.[Ch]: revise and add doxygen comments
3465 2002-11-07 John Levon <levon@movementarian.org>
3467 * text.C: fix progress value for spellchecker
3469 * toc.C: fix navigate menu for insetwrap inside minipage
3471 * paragraph_funcs.C: added FIXME for suspect code
3473 2002-11-07 John Levon <levon@movementarian.org>
3475 * BufferView_pimpl.C: fix redrawing of insets
3478 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3480 * text2.C (updateCounters): fix bug 668
3482 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3484 * text3.C (dispatch): Do not make the buffer dirty when moving the
3487 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3489 * vc-backend.C: STRCONV
3492 * text2.C (setCounter): STRCONV
3494 * paragraph.C (asString): STRCONV
3496 * lyxlength.C (asString): STRCONV
3497 (asLatexString): ditto
3499 * lyxgluelength.C (asString): STRCONV
3500 (asLatexString): ditto
3502 * lyxfunc.C (dispatch): STRCONV
3505 * lyxfont.C (stateText): STRCONV
3507 * importer.C (Import): STRCONV
3509 * counters.C (labelItem): STRCONV
3510 (numberLabel): ditto
3511 (numberLabel): remove unused ostringstream o
3516 * bufferview_funcs.C (currentState): STRCONV
3518 * buffer.C (readFile): STRCONV
3519 (asciiParagraph): ditto
3520 (makeLaTeXFile): ditto
3522 * Spacing.C (writeEnvirBegin): STRCONV
3524 * LaTeXFeatures.C (getLanguages): STRCONV
3525 (getPackages): ditto
3527 (getBabelOptions): ditto
3528 (getTClassPreamble): ditto
3529 (getLyXSGMLEntities): ditto
3530 (getIncludedFiles): ditto
3534 (scanAuxFile): ditto
3537 * LString.h: add the STRCONV macros
3539 * BufferView_pimpl.C (savePosition): STRCONV
3540 (restorePosition): ditto
3541 (MenuInsertLyXFile): ditto
3543 * vc-backend.C (scanMaster): change from submatch[...] to
3546 * funcrequest.C: include config.h
3548 * factory.C: include config.h
3550 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3552 * box.C: include config.h
3554 * LaTeX.C (scanAuxFile): change from submatch[...] to
3558 2002-10-25 Angus Leeming <leeming@lyx.org>
3560 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3562 * ispell.[Ch] (setError): new method.
3563 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3564 Use setError() insetead of goto END.
3566 * lyx_cb.C (AutoSave): move out child process into new class
3569 2002-10-30 John Levon <levon@movementarian.org>
3571 * text3.C: make start appendix undoable
3573 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3575 * lyxlength.C (inPixels): Fix returned value.
3577 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3580 2002-10-24 Angus Leeming <leeming@lyx.org>
3582 * lyxgluelength.h: no need to forward declare BufferParams
3583 or BufferView, so don't.
3585 2002-10-21 John Levon <levon@movementarian.org>
3587 * BufferView.C: menuUndo ->undo, redo
3589 * BufferView.h: document, remove dead, make some methods private
3591 * paragraph_funcs.h:
3592 * paragraph_funcs.C:
3593 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3598 * sgml.C: move sgml open/close tag into sgml.C
3600 * bufferview_funcs.h: unused prototype
3603 * lyxfunc.C: remove unused
3606 * text.C: remove unused
3608 2002-10-21 John Levon <levon@movementarian.org>
3612 * BufferView_pimpl.h:
3613 * BufferView_pimpl.C: fix mouse wheel handling based on
3614 patch from Darren Freeman
3616 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3618 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3620 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3622 * lyxlength.C (inPixels): Fix hanfling of negative length.
3623 Fix LyXLength::MU case.
3625 2002-10-16 John Levon <levon@movementarian.org>
3627 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3629 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3631 * converter.C (view): add support for $$i (file name) and $$p
3632 (file path) for the viewer command. If $$i is not specified, then
3633 it is appended to the command (for compatibility with old syntax)
3635 2002-10-14 Juergen Vigna <jug@sad.it>
3637 * undo_funcs.C (textHandleUndo): alter the order in which the
3638 new undopar is added to the LyXText, as we have to set first
3639 the right prev/next and then add it as otherwise the rebuild of
3640 LyXText is not correct. Also reset the cursor to the right paragraph,
3641 with this IMO we could remove the hack in "redoParagraphs()".
3643 2002-10-09 Angus Leeming <leeming@lyx.org>
3645 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3646 to turn off an optimisation if a new inset is to be inserted.
3648 2002-10-11 André Pönitz <poenitz@gmx.net>
3650 * lyxtext.h: make some functions public to allow access
3651 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3653 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3655 * text3.C (dispatch): when changing layout, avoid an infinite loop
3658 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3660 * lyxrc.C (read): treat a viewer or converter command of "none" as
3663 * MenuBackend.C (expandFormats): for an update, also allow the
3664 formats that are not viewable
3666 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3667 script if it is newer than the lyxrc.defaults in user directory
3669 2002-10-07 André Pönitz <poenitz@gmx.net>
3671 * text.C: Vitaly Lipatov's small i18n fix
3673 2002-09-25 Angus Leeming <leeming@lyx.org>
3675 * ispell.h: doxygen fix.
3677 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3679 * buffer.h (readFile): Add a new argument to the method, to allow
3680 reading of old-format templates.
3682 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3684 * toc.C (getTocList): Get TOC from InsetWrap.
3686 2002-09-16 John Levon <levon@movementarian.org>
3688 * lyxfunc.C: check tabular for cut/copy too
3690 2002-09-12 John Levon <levon@movementarian.org>
3695 * factory.C: add header
3697 * paragraph_funcs.h:
3698 * paragraph_funcs.C: cleanup
3700 2002-09-11 John Levon <levon@movementarian.org>
3702 * PrinterParams.h: odd/even default to true
3704 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3706 * PrinterParams.h: update printer parameters for new xforms dialog
3708 2002-09-11 Angus Leeming <leeming@lyx.org>
3710 * lyxserver.C (read_ready): re-write to make it more transparent
3711 and to make it work in coherent fashion under Tru64 Unix.
3713 2002-09-11 André Pönitz <poenitz@gmx.net>
3717 * text3.C: implement LFUN_WORDSEL
3719 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3721 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3722 make floatlist_ a boost::shared_ptr<FloatList>
3724 * lyxtextclass.C: include FloatList.h
3725 (LyXTextClass): initialize floatlist_
3726 (TextClassTags): add TC_NOFLOAT
3727 (Read): match "nofloat" to TC_NOFLOAT and use it.
3728 (readFloat): modify call to floatlist_
3732 * FloatList.[Ch] (FloatList): remove commented out float
3734 (erase): new function
3736 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3738 * MenuBackend.C (expandToc): fix crash when there is no document
3741 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3743 * many files: Add insetwrap.
3745 2002-09-09 John Levon <levon@movementarian.org>
3747 * text2.C: remove confusing and awkward depth wraparound
3749 2002-09-09 John Levon <levon@movementarian.org>
3751 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3754 * buffer.C: remove getIncludeonlyList()
3757 * lyxfunc.C: remove headers
3759 2002-09-09 Juergen Vigna <jug@sad.it>
3761 * text.C (getColumnNearX): fix form Michael this is most
3762 probably a cut&paste bug.
3764 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3766 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3768 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3769 references, ws changes.
3771 * text2.C (init): update counters after init
3772 (insertParagraph): no need to set counter on idividual paragraphs.
3773 (setCounter): access the counters object in the textclass object
3774 on in the buffer object.
3775 (updateCounters): ditto
3777 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3778 shared_ptr<Counters> to avoid loading counters.h in all
3780 (LyXTextClass): initialize ctrs_
3781 (TextClassTags): add TC_COUNTER, and ...
3782 (Read): use it here.
3783 (CounterTags): new tags
3784 (readCounter): new function
3785 (counters): new funtion
3786 (defaultLayoutName): return a const reference
3788 * counters.C (Counters): remove contructor
3789 (newCounter): remove a couple of unneeded statements.
3790 (newCounter): simplify a bit.
3791 (numberLabel): some small formatting changes.
3793 * buffer.[Ch]: remove all traces of counters, move the Counters
3794 object to the LyXTextClass.
3796 2002-09-06 Alain Castera <castera@in2p3.fr>
3798 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3799 package to set the horizontal alignment on fixed width columns.
3802 * lyx_sty.h: added tabularnewline macro def.
3804 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3806 2002-09-06 John Levon <levon@movementarian.org>
3808 * LyXAction.C: tooltips for sub/superscript
3810 * MenuBackend.C: a bit more verbose
3812 * lyxfunc.C: tiny clean
3814 * undo_funcs.C: document undo_frozen
3816 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3818 * counters.C (Counters): add missing algorithm counter.
3820 * text2.C (setCounter): lookup the counter with layouts latexname
3821 instead of by section number.
3822 (setCounter): use a hackish way to lookup the correct enum
3824 a float name->type change
3825 reset enum couners with counter name directly instead of depth value.
3827 * counters.C (Counters): remove the push_backs, change to use the
3828 float type not the float name.
3829 (labelItem): remove unused string, float name->type change
3831 * counters.h: don't include vector, loose the enums and sects vectors
3833 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3835 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3836 (Read): add float->TC_FLOAT to textclassTags
3837 (Read): and handle it in the switch
3838 (readFloat): new function
3840 * FloatList.C (FloatList): comment out the hardcoded float
3843 * lyxlayout.h: ws change.
3845 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3847 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3849 2002-09-03 Angus Leeming <leeming@lyx.org>
3851 * BufferView_pimpl.h: qualified name is not allowed in member
3852 declaration: WorkArea & Pimpl::workarea() const;
3854 * factory.C: added using std::endl directive.
3856 * text3.C: added using std::find and std::vector directives.
3858 2002-08-29 André Pönitz <poenitz@gmx.net>
3861 * text2.C: remove unused member number_of_rows
3864 * BufferView2.C: remove file, move contents to...
3865 * BufferView.C: ... here
3867 * BufferView_pimpl.C:
3868 * factory.C: move more inset creation to factory
3870 * vspace.C: avoid direct usage of LyXText, ws changes
3873 don't provide direct access to WorkArea, use two simple
3874 acessors haveSelction() and workHeight() instead
3877 2002-08-29 John Levon <levon@movementarian.org>
3879 * BufferView_pimpl.C (dispatch): do not continue when
3882 2002-08-28 André Pönitz <poenitz@gmx.net>
3884 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3887 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3889 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3891 * buffer.C: increment LYX_FORMAT to 221
3893 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3894 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3896 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3898 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3900 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3902 * factory.C (createInset): use LyXTextClass::floats
3904 * MenuBackend.C (expandFloatListInsert):
3905 (expandFloatInsert):
3908 * text2.C (setCounter):
3910 * LaTeXFeatures.C (useFloat):
3911 (getFloatDefinitions):
3913 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3915 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3916 floatlist_, with accessor floats().
3918 * FloatList.h: remove global FloatList
3920 2002-08-26 André Pönitz <poenitz@gmx.net>
3922 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3926 * BufferView_pimpl.C:
3927 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3929 2002-08-25 John Levon <levon@movementarian.org>
3931 * LyXAction.C: fix margin note description
3933 2002-08-24 John Levon <levon@movementarian.org>
3937 * bufferview_funcs.C:
3939 * undo_funcs.C: cleanups
3941 * lyxfunc.C: disable CUT/COPY when no selection
3943 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3945 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3946 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3948 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3949 Add backward compatibility to "mono", "gray" and "no".
3951 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3953 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3954 (and file_format >= 200).
3956 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3958 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3960 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3962 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3964 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3966 * BufferView_pimpl.C:
3973 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3974 inset and code to make it work with the paragraph code. The inset
3975 can be anywhere in the paragraph, but will only do the expected
3976 thing in LaTeX if the layout file contains the parameter line
3978 (or more generally, a nonzero value) for that layout.
3980 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3982 * paragraph.h: remove the declaration of undefined counters class
3985 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3987 * text2.C (setCounter): fixed enumeration mis-count as reported by
3988 Dr. Richard Hawkins.
3990 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3992 * paragraph_funcs.h: remove some unneeded includes
3994 * text.C (backspace): pasteParagraph now in global scipe
3996 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3997 (pasteSelection): ditto
3999 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4000 * paragraph_funcs.C (pasteParagraph): ... here
4002 2002-08-20 André Pönitz <poenitz@gmx.net>
4004 * commandtags.h: new LFUNs for swapping/copying table row/colums
4007 * lyxfunc.C: support for new lfuns
4009 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4012 * buffer.[Ch]: remove NO_COMPABILITY stuff
4014 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4016 * boost.C (throw_exception): new file, with helper function for
4017 boost compiled without exceptions.
4022 * ParameterStruct.h:
4023 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4025 * bufferlist.C (emergencyWriteAll): use boost bind
4027 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4029 * text.C: include paragraph_funcs.h
4030 (breakParagraph): breakParagraph is now in global scope
4032 * paragraph_funcs.[Ch]: new files
4034 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4037 * buffer.C: include paragraph_funcs.h
4038 (insertStringAsLines): breakParagraph is now in global scope
4040 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4043 * CutAndPaste.C: include paragraph_funcs.h
4044 (cutSelection): breakParagraphConservative is now in global scope
4045 (pasteSelection): ditto
4047 * buffer.h: declare oprator== and operator!= for
4048 Buffer::inset_iterator
4050 * bufferlist.C (emergencyWrite): don't use fmt(...)
4052 * text3.C: add using std::endl
4054 * BufferView.C (moveCursorUpdate): remove default arg
4056 2002-08-20 André Pönitz <poenitz@gmx.net>
4058 * buffer.[Ch]: move inline functions to .C
4061 * BufferView_pimpl.C:
4063 * buffer.[Ch]: use improved inset_iterator
4066 * paragraph.[Ch]: write one paragraph at a time
4068 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4070 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4071 style if style is not specified.
4073 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4075 * text2.C (setCounter): when searching for right label for a
4076 caption, make sure to recurse to parent insets (so that a caption
4077 in a minipage in a figure float works) (bug #568)
4079 2002-08-20 André Pönitz <poenitz@gmx.net>
4081 * text3.C: new file for LyXText::dispatch() and helpers
4083 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4085 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4087 2002-08-19 André Pönitz <poenitz@gmx.net>
4090 * text.C: new LyXText::dispatch()
4092 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4094 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4096 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4098 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4101 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4103 * Makefile.am: use $(variables) instead of @substitutions@
4105 2002-08-15 André Pönitz <poenitz@gmx.net>
4108 * BufferView_pimpl.C: streamlining mathed <-> outer world
4112 * LyXAction.C: remove unused LFUN_MATH
4114 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4116 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4118 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4120 * paragraph.C (Paragraph): reformat a bit
4121 (cutIntoMinibuffer): use builtin InsetList function instad of
4125 * buffer.C: include boost/bind.hpp, add using std::for_each
4126 (writeFileAscii): use ParagraphList iterators
4127 (validate): use for_each for validate traversal of paragraphs
4128 (getBibkeyList): use ParagraphList iterators
4129 (resizeInsets): use for_each to resizeInsetsLyXText for all
4131 (getParFromID): use ParagraphList iterators
4133 * BufferView2.C (lockInset): use paragraph list and iterators
4135 2002-08-14 John Levon <levon@movementarian.org>
4137 * lyxserver.C: remove spurious xforms include
4139 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4141 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4143 2002-08-13 André Pönitz <poenitz@gmx.net>
4146 * lyxfunc.C: further cleaning
4148 2002-08-13 André Pönitz <poenitz@gmx.net>
4150 * funcrequest.h: new constructor
4152 * funcrequest.C: move stuff here from .h
4155 * BufferView_pimpl.C:
4158 * lyxfunc.C: subsequent changes
4160 * lyxfunc.h: new view() member function
4162 * lyxfunc.C: subsequent changes
4164 2002-08-13 Angus Leeming <leeming@lyx.org>
4167 * BufferView_pimpl.C:
4175 changes due to the changed LyXView interface that now returns references
4176 to member variables not pointers.
4178 2002-08-13 Angus Leeming <leeming@lyx.org>
4180 * WordLangTuple (word, lang_code): return references to strings,
4185 * lyxtext.h: forward-declare WordLangTuple.
4190 * text.C: #include "WordLangTuple.h".
4193 * text.C: (selectNextWordToSpellcheck): constify return type.
4195 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4201 * paragraph_pimpl.h:
4204 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4206 Made updateCounter always count from start of buffer, and removed
4207 second argument (par).
4208 Reverted floats number display to '#'. Perhaps I'll try again when the
4209 code base is sanitized a bit.
4211 2002-08-12 Angus Leeming <leeming@lyx.org>
4213 * buffer.[Ch] (getLabelList): constify.
4215 2002-08-07 André Pönitz <poenitz@gmx.net>
4217 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4219 * funcrequest.h: extension to keep mouse (x,y) position
4221 2002-08-12 Juergen Vigna <jug@sad.it>
4223 * BufferView2.C (insertErrors): forbid undo when inserting error
4226 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4228 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4230 * ParagraphList.[Ch]: new files
4232 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4234 * BufferView2.C (lockInset): ParagraphList changes
4237 * bufferlist.C: ditto
4241 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4243 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4244 unused class variable counter_,
4246 * paragraph.[Ch] (getFirstCounter): delete unused function
4248 * counters.C: include LAssert.h
4249 (reset): add a new function with no arg, change other version to
4250 not have def. arg and to not allow empty arg.
4252 * text2.C (setCounter): remove empty arg from call to Counters::reset
4254 2002-08-11 John Levon <levon@movementarian.org>
4256 * Makefile.am: add WordLangTuple.h
4258 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4260 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4261 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4263 * insets/insettext.C: InsetList changes
4265 * graphics/GraphicsSupport.C (operator()): InsetList changes
4267 * toc.C (getTocList): InsetList changes
4269 * paragraph_pimpl.[Ch]: InsetList changes
4271 * paragraph.[Ch]: InsetList changes
4273 * buffer.C (inset_iterator): InsetList changes
4274 (setParagraph): ditto
4275 * buffer.h (inset_iterator): ditto
4276 * iterators.C (operator++): ditto
4277 * iterators.h: ditto
4279 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4281 * InsetList.[Ch]: new files, most InsetList handling moved out of
4284 * BufferView2.C (removeAutoInsets): InsetList changes
4286 (ChangeInsets): ditto
4288 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4290 * paragraph_pimpl.h (empty): new function
4292 * paragraph.[Ch] (empty): new function
4294 * other files: use the new Paragraph::empty function
4296 2002-08-09 John Levon <levon@movementarian.org>
4298 * lyxtext.h: remove unused refresh_height
4300 2002-08-09 John Levon <levon@movementarian.org>
4307 * paragraph.C: move sgml char escaping out of paragraph
4310 * paragraph.C: remove id setter
4314 * paragraph_pimpl.C: remove dead tex_code_break_column
4316 * bufferview_funcs.C: small cleanup
4318 * lyxfunc.C: remove dead proto
4320 * lyxtext.h: make some stuff private. Remove some dead stuff.
4322 * lyxgluelength.C: make as[LyX]String() readable
4324 2002-08-08 John Levon <levon@movementarian.org>
4329 * ToolbarDefaults.C:
4332 * toc.C: lyxaction cleanup
4334 2002-08-08 John Levon <levon@movementarian.org>
4336 * BufferView2.C: small cleanup
4339 * lyxfind.C: move unnecessary header into the .C
4341 2002-08-08 John Levon <levon@movementarian.org>
4343 * funcrequest.h: just tedious nonsense
4346 * lyx_main.C: cleanups
4349 * vspace.C: remove dead header lyx_main.h
4351 2002-08-07 Angus Leeming <leeming@lyx.org>
4354 * paragraph_pimpl.h:
4355 Forward declare class Counters in paragraph.h by moving the ctrs member
4356 variable into Paragraph::Pimpl.
4357 (counters): new method, returning a reference to pimpl_->ctrs.
4359 * text2.C: ensuing changes.
4361 2002-08-07 John Levon <levon@movementarian.org>
4363 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4365 * BufferView_pimpl.C: announce X selection on double/triple
4368 * lyx_main.C: use correct bool in batch dispatch
4370 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4372 2002-08-07 André Pönitz <poenitz@gmx.net>
4374 * funcrequest.h: new class to wrap a kb_action and its argument
4377 * BufferView_pimpl[Ch]:
4381 * lyxrc.C: subsequent changes
4384 2002-08-07 John Levon <levon@movementarian.org>
4386 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4387 document options change.
4389 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4394 * makefile.am: move counters functionality over from
4395 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4397 2002-08-06 John Levon <levon@movementarian.org>
4399 * WordLangTuple.h: new file for word + language code tuple
4410 * BufferView2.C: use WordLangTuple
4413 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4415 2002-08-06 John Levon <levon@movementarian.org>
4417 * lyx_main.C: fix cmdline batch handling
4419 2002-08-06 André Pönitz <poenitz@gmx.net>
4421 * lyxrc.C: set default for show_banner to true
4423 2002-08-06 John Levon <levon@movementarian.org>
4425 * pspell.C: fix a crash, and allow new aspell to work
4427 2002-08-06 John Levon <levon@movementarian.org>
4430 * kbmap.C: small cleanup
4433 * vspace.C: add const
4435 2002-08-05 John Levon <levon@movementarian.org>
4437 * LyXAction.C: back to tabular-insert
4439 2002-08-04 John Levon <levon@movementarian.org>
4442 * BufferView.C: cosmetic change
4444 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4454 * BufferView2.C: purge all "Lyx" not "LyX" strings
4457 * lyxcursor.C: attempt to add some documentation
4462 * ToolbarDefaults.C:
4463 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4464 merge with LFUN_TABULAR_INSERT
4471 * pspell.C: split up i/pspell implementations into separate
4472 files, many cleanups
4474 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4476 * text2.C: some cleanup
4478 * lyxfunc.C: don't check for isp_command == "none" any more, it
4479 didn't make any sense
4481 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4486 * makefile.am: move counters functionality over
4487 from text2.C/paragraph.[Ch] to counters.[Ch], and
4489 2002-08-02 John Levon <levon@movementarian.org>
4491 * buffer.C: s/lyxconvert/lyx2lyx/
4493 2002-08-02 Angus Leeming <leeming@lyx.org>
4495 * lyxlex.C: revert John's change as it breaks reading of the user
4498 2002-08-02 Angus Leeming <leeming@lyx.org>
4500 * importer.C (Import):
4501 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4502 changes due to LyXView::view() now returning a boost::shared_ptr.
4504 2002-08-02 John Levon <levon@movementarian.org>
4506 * lyxlex.C: small cleanup
4508 2002-08-02 John Levon <levon@movementarian.org>
4510 * text2.C (status): small cleanup, no logic change
4512 2002-08-01 John Levon <levon@movementarian.org>
4515 * buffer.C (writeFile): don't output alerts, caller
4519 * lyx_cb.C: from above
4521 * lyxfunc.C: allow to open non-existent files
4523 2002-07-31 John Levon <levon@movementarian.org>
4525 * lyxserver.C: don't let incidental errors get
4528 2002-07-30 John Levon <levon@movementarian.org>
4530 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4532 2002-07-30 John Levon <levon@movementarian.org>
4535 * lyxserver.C: remove I/O callback too
4537 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4539 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4542 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4544 * many files: strip,frontStrip -> trim,ltrim,rtrim
4546 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4548 * PrinterParams.h: remove extern containsOnly, and include
4549 support/lstrings.h instead.
4551 * LaTeX.C (scanAuxFile): modify because of strip changes
4553 * buffer.C (makeLaTeXFile): ditto
4554 * bufferparams.C (writeFile): ditt
4555 * lyxfont.C (stateText): ditto
4556 * lyxserver.C (read_ready): ditto
4557 * vc-backend.C (scanMaster): ditto
4559 * BufferView_pimpl.h: ws changes
4561 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4563 2002-07-26 André Pönitz <poenitz@gmx.net>
4565 * kb_sequence.C: remove unnedred usings
4567 2002-07-26 Juergen Vigna <jug@sad.it>
4569 * lyxfind.C (LyXReplace): we have to check better if the returned
4570 text is not of theLockingInset()->getLockingInset().
4572 2002-07-25 Juergen Vigna <jug@sad.it>
4574 * lyxfind.C (LyXReplace): don't replace if we don't get the
4577 * undo_funcs.C (createUndo): remove debugging code.
4579 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4581 * buffer.C (parseSingleLyXformat2Token): Use default placement
4582 when reading old floats.
4584 * FloatList.C (FloatList): Change the default placement of figure
4585 and tables to "tbp".
4587 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4589 * MenuBackend.C: using std::max
4591 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4593 * MenuBackend.C (expandToc):
4594 (expandToc2): code moved from xforms menu frontend. It is now
4595 generic and TOCs are transparent to menu frontends.
4597 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4599 * toc.C (getTocList): protect against buf=0
4601 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4602 Menu as first parameter. Now, this calls itself recursively to
4603 expand a whole tree (this will be useful for TOC handling)
4604 (expandFloatInsert): remove 'wide' version of floats
4606 * MenuBackend.h (submenuname): returns the name of the submenu.
4607 (submenu): returns the submenu itself, provided it has been
4608 created by MenuBackend::expand
4610 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4612 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4613 insets which have noFontChange == true. (bug #172)
4615 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4617 * BufferView_pimpl.C: add connection objects and use them...
4620 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4622 * MenuBackend.C (expandLastfiles):
4625 (expandFloatListInsert):
4626 (expandFloatInsert):
4627 (expand): split expand in parts
4629 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4631 * lyx_gui.C: use lyx_gui::exit()
4633 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4635 * LyXAction.C: show the failing pseudo action
4637 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4639 * buffer.C (readFile): Run the lyxconvert script in order to read
4642 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4646 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4648 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4652 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4654 2002-07-22 Herbert Voss <voss@lyx.org>
4657 * lyxlength.[Ch]: add support for the vertical lengths
4659 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4661 * toc.[Ch]: std:: fixes
4663 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4665 * lyxrc.C: do not include lyx_main.h
4667 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4673 * BufferView2.C: include "lyxlex.h"
4676 * bufferparams.h: do not #include "lyxlex.h"
4678 * lyxtextclasslist.C (Add): remove method
4679 (classlist): renamed to classlist_
4681 * paragraph_pimpl.C:
4685 * bufferview_funcs.C:
4690 * toc.C (getTocList): use BufferParams::getLyXTextClass
4692 * toc.C (getTocList): use InsetFloat::addToToc
4694 * toc.[Ch]: new files, containing helper functions to handle table
4697 * lyxfunc.C (dispatch): no need to remove spaces around command
4699 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4700 first command of the sequence; it is not very clever, but I do not
4701 have a better idea, actually
4703 * LyXAction.C (LookupFunc): make sure to remove space at the
4704 beginning and end of the command
4706 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4708 * MenuBackend.C (getMenubar): new method: return the menubar of
4710 (read): treat differently reading of menu and menubar (in
4711 particular, the menubar has no name now)
4712 (Menu::menubar): remove
4714 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4717 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4719 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4720 a bibitem inset in a RTL paragraph.
4722 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4724 * paragraph_pimpl.C: constify
4726 * BufferView_pimpl.C:
4728 * lyxfunc.C: fix dispatch in a nicer way
4730 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4732 * lyxfunc.C (dispatch):
4733 * BufferView_pimpl.C:
4734 * BufferView_pimpl.h:
4736 * BufferView.h: rename Dispatch() to dispatch()
4738 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4740 * lyxlayout.C (Read): honor DependsOn tag
4742 * lyxlayout.[Ch] (depends_on): new method
4744 * version.C.in: update lyx_docversion
4746 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4748 * paragraph.C (validate): remove from here...
4749 * paragraph_pimpl.C (validate): ... and move here
4750 (isTextAt): make it const
4752 * buffer.C (getLists): ws cleanup
4754 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4756 * language.C (read): Use iso8859-1 encoding in latex_lang
4757 (this prevents LyX from crashing when using iso10646-1 encoding).
4759 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4761 * text2.C (toggleInset): if cursor is inside an inset, close the
4762 inset and leave cursor _after_ it
4764 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4766 * lyxfunc.C: move minibuffer completion handling out of here
4768 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4770 * BufferView_pimpl.C:
4771 * LaTeX.C: fix dispatch calls
4773 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4775 * text.C (drawChars): Fix Arabic text rendering.
4777 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4781 * lyxfunc.C: remove message-push/pop
4785 * lyxfunc.C: rationalise some code by removing verboseDispatch
4786 in favour of a bool argument to dispatch()
4788 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4790 * lyx_main.C (init): make sure to read symlinks as absolute paths
4792 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4795 * lyxfunc.C: no need for commandshortcut to be a member
4797 2002-07-15 André Pönitz <poenitz@gmx.net>
4799 * converter.C: add support for $$s (scripts from lib/scripts dir)
4800 * lyx_main.C: white space
4802 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4806 * lyxrc.C: remove second exit confirmation
4808 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4813 * BufferView_pimpl.h:
4814 * BufferView_pimpl.C:
4815 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4817 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4819 * MenuBackend.C (expand): add numeric shortcuts to document menu
4821 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4823 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4825 * lyxfont.C (setLyXFamily):
4832 * buffer.C (asciiParagraph): use ascii_lowercase
4834 2002-07-15 Mike Fabian <mfabian@suse.de>
4836 * lyxlex_pimpl.C (search_kw):
4837 * lyxlex.C (getLongString):
4838 * converter.h (operator<):
4839 * converter.C (operator<):
4840 * buffer.C (parseSingleLyXformat2Token):
4842 * ToolbarDefaults.C (read):
4843 * MenuBackend.C (checkShortcuts):
4845 * LColor.C (getFromGUIName):
4846 (getFromLyXName): use the compare_ascii_no_case instead of
4847 compare_no_case, because in turkish, 'i' is not the lowercase
4848 version of 'I', and thus turkish locale breaks parsing of tags.
4850 2002-07-16 Angus Leeming <leeming@lyx.org>
4852 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4853 now takes a Buffer const & argument.
4855 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4857 * BufferView.C (resize): check there's a buffer to resize
4859 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4861 * lyxfunc.C: remove dead code
4864 * lyxserver.C: use lyx_guii::set_read_callback
4866 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4868 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4869 an inset in a RTL paragraph.
4871 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4873 * lyxfunc.C: repaint after a font size update
4875 2002-07-15 André Pönitz <poenitz@gmx.net>
4877 * lyxlength.C: inBP should be able to return negative values
4879 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4881 * lyxfunc.C: use lyx_gui::update_fonts()
4883 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4885 * lyxfunc.C: use lyx_gui::update_color()
4887 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4893 * lyxrc.C: remove file->new asks for name option, and let
4894 buffer-new take an argument
4896 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4898 * BufferView_pimpl.C: remove unneeded extra repaint()
4900 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4902 * LyXAction.C: allow command-sequence with NoBuffer
4904 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4906 2002-07-10 Angus Leeming <leeming@lyx.org>
4908 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4910 2002-07-09 Angus Leeming <leeming@lyx.org>
4912 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4914 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4916 * lengthcommon.h: whitespace
4918 * lyxfunc.C: update scrollbar after goto paragraph
4920 * lyxtext.h: factor out page break drawing, and fix it so
4921 page break/added space paints as selected nicely
4923 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4925 * BufferView_pimpl.C: add FIXMEs, clean up a little
4927 2002-07-09 André Pönitz <poenitz@gmx.net>
4929 * lyxfont.[Ch]: support for wasy symbols
4931 2002-07-08 André Pönitz <poenitz@gmx.net>
4933 * BufferView_pimpl.C: apply John's patch for #93.
4935 2002-07-05 Angus Leeming <leeming@lyx.org>
4937 * BufferView_pimpl.C (buffer): generate previews if desired.
4939 * LColor.h: add "preview" to the color enum.
4941 * LColor.C (LColor): add a corresponding entry to the items array.
4943 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4946 2002-07-05 Angus Leeming <leeming@lyx.org>
4948 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4949 The body of the code is now in the method that is passed an ostream &
4950 rather than a file name.
4951 Pass an additional only_preamble parameter, useful for the forthcoming
4954 2002-07-03 André Pönitz <poenitz@gmx.net>
4956 * lyxfunc.C: simplify getStatus() a bit for math stuff
4958 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4960 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4962 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4964 * text.C (changeRegionCase): do not change case of all the
4965 document when region ends at paragraph end (bug #461)
4967 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4969 * paragraph.C (startTeXParParams):
4970 (endTeXParParams): add \protect when necessary
4972 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4974 * BufferView_pimpl.C (workAreaExpose): remove warning
4976 2002-06-27 Angus Leeming <leeming@lyx.org>
4978 * Makefile.am: add lyxlayout_ptr_fwd.h.
4980 2002-06-26 André Pönitz <poenitz@gmx.net>
4982 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4984 2002-06-25 Angus Leeming <leeming@lyx.org>
4986 * lyxfunc.C (dispatch): Comment out the call to
4987 grfx::GCache::changeDisplay. The method no longer exists now that the
4988 pixmap generation part of the graphics loader has been moved into
4991 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4993 * text2.C: layout as layout
4995 * text.C: layout as layout
4997 * tabular.C (OldFormatRead): layout as layout
4999 * paragraph_pimpl.C (TeXDeeper): layout as layout
5000 (realizeFont): layout as layout
5002 * paragraph.C (writeFile): layout as layout
5003 (validate): layout as layout
5004 (getFont): layout as layout
5005 (getLabelFont): layout as layout
5006 (getLayoutFont): layout as layout
5007 (breakParagraph): layout as layout
5008 (stripLeadingSpaces): layout as layout
5009 (getEndLabel): layout as layout
5010 (getMaxDepthAfter): layout as layout
5011 (applyLayout): layout as layout
5012 (TeXOnePar): layout as layout
5013 (simpleTeXOnePar): layout as layout
5014 (TeXEnvironment): layout as layout
5015 (layout): layout as layout
5016 (layout): layout as layout
5018 * lyxtextclass.C (compare_name): new functor to work with
5019 shared_ptr, layout as layout
5020 (Read): layout as layout
5021 (hasLayout): layout as layout
5022 (operator): layout as layout
5023 (delete_layout): layout as layout
5024 (defaultLayout): layout as layout
5026 * lyxlayout_ptr_fwd.h: new file
5028 * lyxlayout.C (Read): layout as layout
5030 * lyx_cb.C (MenuInsertLabel): layout as layout
5032 * bufferlist.C (newFile): layout as layout
5034 * buffer.C (readLyXformat2): layout as layout
5035 (parseSingleLyXformat2Token): layout as layout
5036 (insertStringAsLines): layout as layout
5037 (asciiParagraph): layout as layout
5038 (latexParagraphs): layout as layout
5039 (makeLinuxDocFile): layout as layout
5040 (simpleLinuxDocOnePar): layout as layout
5041 (makeDocBookFile): layout as layout
5042 (simpleDocBookOnePar): layout as layout
5043 (getLists): layout as layout
5045 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5047 * CutAndPaste.C (cutSelection): layout as layout
5048 (pasteSelection): layout as layout
5049 (SwitchLayoutsBetweenClasses): layout as layout
5051 * BufferView_pimpl.C (Dispatch): layout as layout
5052 (smartQuote): layout as layout
5054 * BufferView2.C (unlockInset): layout as layout
5056 2002-06-24 André Pönitz <poenitz@gmx.net>
5058 * lyxfunc.C: fix #487
5060 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5064 * lyxfunc.C: remove display_shortcuts, show_banner
5066 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5068 * Buffer_pimpl.C: oops, update on resize
5070 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5077 * BufferView.C: use repaint()
5079 * BufferView_pimpl.h:
5080 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5081 as it's a clearer description. Remove superfluous
5084 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5086 * text.C: fix bug 488. Not ideal, but getting
5087 getWord() to work properly for the insets that
5088 matter is more difficult ...
5090 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5092 * BufferView_pimpl.C:
5095 * lyxfunc.C: remove the six million index lyxfuncs to just
5096 one, and DTRT (bug 458)
5098 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5102 * BufferView_pimpl.h:
5103 * BufferView_pimpl.C: clean up resize() stuff,
5104 and unnecessary updateScreen()s
5106 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5110 * BufferView_pimpl.h:
5111 * BufferView_pimpl.C:
5114 * minibuffer.C: remove focus management of workarea,
5115 not needed. Use screen's greyOut()
5117 2002-06-17 Herbert Voss <voss@lyx.org>
5119 * converter.C: (convert) do not post a message, when converting
5120 fails, let the calling function decide what to do in this case
5122 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5124 * lyxfunc.C: tidy up a little
5126 2002-06-16 <alstrup@diku.dk>
5128 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5129 Got rid of FORMS_H_LOCATION include. Now we are
5132 2002-06-15 LyX Development team <lyx@rilke>
5134 * buffer.[Ch] (sgmlOpenTag):
5135 (sgmlCloseTag): Added support for avoiding pernicious mixed
5136 content. Return number of lines written.
5139 (makeDocBookFile): Fixed calls to sgml*Tag.
5140 Simple white space clean.
5142 (simpleDocBookOnePar): Simple white space clean.
5144 * tabular.[Ch] (docBook): Renamed to docbook and got another
5145 argument to related with the pernicious mixed content.
5147 (docbookRow): Fixed calls for docbook inset method.
5149 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5151 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5152 so it's X11 independent.
5156 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5158 2002-06-15 Lyx Development team <lyx@electronia>
5160 * intl.h: Renamed getTrans to getTransManager.
5162 2002-06-14 Angus Leeming <leeming@lyx.org>
5164 * Makefile.am: nuke forgotten stl_string_fwd.h.
5166 2002-06-12 Angus Leeming <leeming@lyx.org>
5168 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5170 2002-06-13 Angus Leeming <leeming@lyx.org>
5173 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5175 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5177 * kbmap.C (getiso): add support for cyrillic and greek
5179 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5183 * BufferView_pimpl.h:
5184 * BufferView_pimpl.C: move bogus scrolling logic
5187 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5190 * BufferView_pimpl.C: view->resize() change
5192 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5194 * BufferView_pimpl.C: topCursorVisible
5197 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5201 * lyx_gui.C: move to frontends/
5205 * lyx_main.C: changes from above
5207 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5214 * lyx_main.C: minor tidy
5216 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5218 * BufferView_pimpl.h:
5219 * BufferView_pimpl.C:
5221 * BufferView.C: make painter() const,
5224 * BufferView2.C: use screen() accessor
5227 * lyx_main.C: some minor cleanup
5229 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5231 * BufferView_pimpl.h:
5232 * BufferView_pimpl.C: remove enter/leaveView,
5235 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5240 * BufferView_pimpl.h:
5241 * BufferView_pimpl.C: only construct screen once,
5244 * lyxrc.C: remove pointless comment
5246 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5249 * BufferView.C: remove active() and belowMouse()
5251 * BufferView_pimpl.h:
5252 * BufferView_pimpl.C: use workarea() not workarea_,
5253 and make it use a scoped_ptr instead
5255 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5257 * lyx_gui.C: add debug message on BadWindow
5259 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5261 * sp_spell.C: fdopen is not part of the C++ standard.
5263 * paragraph.C (InsetIterator): use >= instead of ==
5265 2002-06-07 Angus Leeming <leeming@lyx.org>
5267 Fixes needed to compile with Compaq cxx 6.5.
5268 * BufferView_pimpl.C:
5275 * lyxtextclasslist.C:
5280 all c-library variables have been moved into namespace std. Wrap
5281 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5286 Add a using std::abs declaration.
5288 * kbmap.h (modifier_pair):
5289 * paragraph.h (InsetTable, InsetList):
5290 * lyxfont.h (FontBits):
5291 type definition made public.
5293 * bufferlist.C (emergencyWriteAll): the compiler complains that
5294 there is more than one possible lyx::class_fun template to choose from.
5295 I re-named the void specialisation as lyx::void_class_fun.
5297 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5299 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5300 the compiler is is unable to find tostr in write_attribute.
5302 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5304 * buffer.C (sgmlError): hide #warning
5306 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5308 * xtl/*: get rid of xtl, which is not in use anyway
5310 * LyXAction.C (init):
5311 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5312 were unimplemented xtl experimentation
5314 2002-06-04 André Pönitz <poenitz@gmx.net>
5316 * lyxfunc.C: disable array operation on simple formulae
5318 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5320 * converter.C: constify a bit
5322 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5324 * lyx_gui.C: check xforms version correctly
5326 2002-04-30 Herbert Voss <voss@lyx.org>
5328 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5331 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5333 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5334 attempt to register it with a VCS)
5336 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5338 * lyx_main.C (init): honor variables LYX_DIR_13x and
5341 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5345 * lyx_main.C: fix a crash on bad command line,
5346 and give a useful exit status on error
5348 * lyxfunc.C (doImport): allow -i lyx to work
5350 2002-03-30 André Pönitz <poenitz@gmx.net>
5352 * lyxfunc.C: mathed font changes
5354 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5369 * trans_mgr.h: srcdocs, and some minor cleanups
5371 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5373 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5374 call getFont all the time)
5376 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5378 * switch from SigC signals to boost::signals
5380 2002-05-29 André Pönitz <poenitz@gmx.net>
5382 * paragraph_pimpl.C (getChar): don't call size() too often...
5384 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5386 * paragraph_pimpl.C (insertChar): do not try to update tables when
5387 appending (pos == size())
5389 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5390 in order to reduce drastically the number of comparisons needed to
5391 parse a large document
5393 2002-05-29 André Pönitz <poenitz@gmx.net>
5399 * textclasslist.[Ch]:
5400 * sp_ispell.h: whitespace change
5402 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5404 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5405 lyxaction directly now.
5407 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5411 * lyxvc.C: remove unused headers
5413 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5420 * undo_funcs.C: some cleanups. Use shared_ptr
5421 and a template for the undo stacks.
5423 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5425 * BufferView_pimpl.h:
5426 * BufferView_pimpl.C:
5433 * text2.C: use key_state/mouse_state
5435 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5437 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5440 * chset.C: change include order
5441 (loadFile): use boost regex and get rid of LRegex and LSubstring
5443 * Makefile.am (BOOST_LIBS): new variable
5446 * LaTeX.C: change include order.
5447 (scanAuxFile): use boost regex and get rid of LRegex and
5451 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5456 * FontInfo.C: moved to frontends/xforms/
5459 * FontLoader.C: moved into frontends for GUIIzation
5464 * lyxfunc.C: changes from above
5466 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5468 * LColor.C: remove spurious X include
5470 * BufferView_pimpl.C:
5475 * text2.C: move font metrics to frontends/
5477 2002-05-24 Juergen Vigna <jug@sad.it>
5479 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5480 setting the undo_cursor.
5482 * ParagraphParameters.h: include local includes first.
5484 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5486 * BufferView_pimpl.C:
5487 * BufferView_pimpl.h:
5491 * screen.C: move WorkArea into frontends/
5497 * BufferView2.C: move LyXScreen into frontends/
5501 * lyx_gui.C: move lyxlookup into frontends/xforms/
5503 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5506 * BufferView_pimpl.C:
5516 * bufferview_funcs.C:
5529 * vc-backend.C: move LyX/XFormsView into frontends/
5531 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5543 * text2.C: move Painter to frontends/
5545 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5547 * buffer.C: comment out some some code that depend upon lyx_format
5550 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5551 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5553 * buffer.h (NO_COMPABILITY): turn off compability
5555 * ColorHandler.C: include scoped_array.hpp
5557 * font.C: Use more specific smart_ptr header.
5560 * ShareContainer.h: ditto
5564 * BufferView_pimpl.h: ditto
5565 * ColorHandler.h: ditto
5567 * kbmap.C (defkey): change call to shared_ptr::reset
5569 2002-05-21 Juergen Vigna <jug@sad.it>
5571 * buffer.C (insertErtContents): fix to insert ert asis if it is
5572 non empty. Skip it completely if it contains only whitespaces.
5574 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5576 * BufferView_pimpl.C:
5577 * BufferView2.C: clear selection on paste (bug 393)
5579 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5581 * DepTable.C: include ctime
5583 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5585 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5587 2002-05-14 Juergen Vigna <jug@sad.it>
5589 * text.C (breakParagraph): fixed function to honor the keepempty
5590 layout in the right maner and also to permit the right breaking
5591 algorithm on empty or non empyt keepempty paragraphs.
5593 * paragraph.C (breakParagraph): we have to check also if the par
5594 is really empty (!size()) for isempty otherwise we do the wrong
5597 2002-05-10 Juergen Vigna <jug@sad.it>
5599 * buffer.[Ch] : The following are only changes to the ert
5600 compatibility read reading old LaTeX layout and font stuff and
5601 convert it to ERTInsets.
5603 * buffer.h: added isErtInset().
5605 * buffer.C (struct ErtComp): add a fromlayout bool to check
5606 if we're inside a LaTeX layout.
5607 (isErtInset): new helper function.
5608 (insertErtContents): look for other ert insets before this one
5609 and insert the contents there, so that we don't have subsequent
5610 ERT insets with nothing between them. This way we create only one
5611 inset with multiple paragraphs. Also check if we don't insert only
5612 spaces ' ' as they are ignored anyway afterwards in the .tex file
5613 so if we have only spaces we will ignore this latex part in the
5615 (parseSingleLyXformat2Token \\layout): better compatibility when
5616 reading layout-latex stuff.
5617 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5619 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5620 stuff after reading the inset only get the information back from
5623 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5625 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5627 * LaTeXFeatures.C (getBabelOptions): New method.
5629 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5631 * BufferView_pimpl.C (Dispatch): work around missing argument for
5634 2002-05-08 Juergen Vigna <jug@sad.it>
5636 * text.C (leftMargin): handle paragraph leftindent.
5638 * paragraph.C (writeFile): write the new \\leftindent tag.
5639 (validate): handle leftindent code.
5640 (TeXEnvironment): handle paragraphleftindent code again.
5642 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5644 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5645 for paragrap_extra indent code and new token \\leftindent.
5646 (latexParagraphs): handle the leftindent as environment.
5648 * ParameterStruct.h: added leftindent support.
5650 * ParagraphParameters.C (leftIndent): added support functions for
5651 the paragraph left indent.
5653 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5656 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5658 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5661 * text.C (computeBidiTables): No bidi in insetERT.
5663 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5666 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5668 * version.C.in: pre 5
5670 2002-05-02 José Matos <jamatos@fep.up.pt>
5671 * buffer.C (makeDocBookFile): white space changes, add newline to
5673 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5675 * tabular.C (docBook): fix typo.
5677 2002-05-03 Juergen Vigna <jug@sad.it>
5679 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5680 change in LyXText as we can not be sure it was not freed.
5681 (drawOneRow): remove unused code.
5683 * text.C (drawInset): redo the calculation of the need_break_row as
5684 it could have a row which was already freed.
5685 (draw): look at the return value of drawInset and return false if
5686 it also returned false.
5687 (paintRowText): look at the return value of draw and return false if
5688 it also returned false.
5690 * lyxtext.h: added bool return type to drawInset() and draw() so that
5691 if we have a change in the row so that the rowbreak has to be redone
5692 we abort drawing as it will be called again.
5694 2002-05-02 Juergen Vigna <jug@sad.it>
5696 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5697 a change in the maintext also if we're inside an inset.
5698 (Dispatch): set the cursor again after a break line and after the
5699 screen has been updated as it could be we're in a different row.
5701 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5702 to set the cursor behind the pargraph with > size().
5703 (setCursor): check also for the same paragraph when checking where
5704 to put the cursor if we have a NFR inset.
5706 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5707 parts of layout read further up as it still was in the wrong
5710 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5712 * screen.C (drawFromTo): change sine fullRebreak always return
5715 * buffer.C (parseSingleLyXformat2Token): reindent some
5717 * BufferView_pimpl.C (update): change since fullRebreak always
5719 (Dispatch): git rid of the last hardcoded "Standard"s.
5721 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5723 * text2.[Ch] (fullRebreak): make it return void now that we always
5726 2002-04-30 Juergen Vigna <jug@sad.it>
5728 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5729 ert compatibility check for "latex" layout.
5731 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5733 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5734 minipages: use col% instead of p%, and also use the current font.
5735 (makeLaTeXFile): Fix use babel condition.
5736 (parseSingleLyXformat2Token): Correct font when reading old floats.
5738 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5740 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5741 inserting list of floats.
5743 2002-04-25 Herbert Voss <voss@lyx.org>
5745 * MenuBackend.C (expand): don't add the graphics extensions to the
5748 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5750 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5751 non-existing layout, do not complain if it was the default layout
5752 of the original class (bug #342)
5754 2002-04-24 Juergen Vigna <jug@sad.it>
5756 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5757 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5759 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5761 * buffer.C (getBibkeyList): If using \bibliography, return the
5762 option field with the reference itself. Enables us to provide natbib
5763 support when using \bibliography.
5765 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5767 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5769 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5770 natbib is provided by the LaTeX class.
5772 2002-04-23 Juergen Vigna <jug@sad.it>
5774 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5777 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5779 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5781 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5783 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5784 ensuremath around textordmasculine, textordfeminine and
5787 2002-04-19 Juergen Vigna <jug@sad.it>
5789 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5790 reinitializing the buffer otherwise row-dimensions may be wrong.
5791 (update): reset also the selection cursors if they do exits otherwise
5792 their x/y positions may be wrong.
5794 * text2.C (cursorDown): don't enter the inset if we came from a row
5795 above and are one row over the inset.
5797 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5798 really leaving an inset.
5800 2002-04-18 Juergen Vigna <jug@sad.it>
5802 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5803 of the selected paragraph does not have the selected layout also if
5806 * text2.C (setLayout): fixed bug which did not change last selected
5809 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5810 changed the read and substituted \\end_float with \\end_inset!
5812 * BufferView_pimpl.C (cursorPrevious):
5813 (cursorNext): fixed to make it work with rows heigher than the work
5814 area without moving the cursor only the draw of the row.
5815 (workAreaMotionNotify): fix jumping over high rows.
5817 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5819 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5822 2002-04-16 Juergen Vigna <jug@sad.it>
5824 * text2.C (setCursor): set also the irow().
5825 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5827 (cursorDown): support for locking an inset if the x_fix value goes
5828 inside it. That way I can transverse insets too with cursor up/down.
5830 * lyxrow.h: added irow helper function same as other (i) functions.
5832 * BufferView_pimpl.C (cursorPrevious):
5833 (cursorNext): fixed for insets!
5835 2002-04-15 Juergen Vigna <jug@sad.it>
5837 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5838 position otherwise it is wrong in some cases.
5840 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5841 inside the inset before the call.
5843 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5845 * buffer.[Ch] (getBibkeyList): make it const.
5847 2002-04-12 Juergen Vigna <jug@sad.it>
5849 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5851 * text2.C (getCursorX): new helper function
5852 (setCursor): compute also ix_
5853 (setCursorFromCoordinates): set also ix.
5855 * lyxcursor.h: added ix_ and helper functions.
5857 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5859 * buffer.C (insertStringAsLines): dont break paragraph if the this
5860 paragraph is inside an inset which does not permit it!
5862 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5863 also with no chars on this paragraph.
5864 (paintRowText): only paint stuff if it's inside the workarea!
5866 * paragraph.C (breakParagraph): honor keepempty flag and break the
5867 paragraph always below not above.
5869 * BufferView2.C (unlockInset): update the paragraph layout on inset
5870 unlock as we changed paragraph in such a case.
5872 * lyxfind.C (LyXFind): clear the former selection if not found!
5874 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5875 again called in insertChar().
5877 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5878 an inset which uses the whole row!
5879 (rightMargin): ditto.
5880 (insertChar): force a rebreak if we inserted an inset!
5882 2002-03-28 Herbert Voss <voss@lyx.org>
5884 * lyxlength.[Ch]: add inBP() to get the right PS-point
5885 units (BigPoint). With inPixels we have rounding errors
5887 2002-04-11 Juergen Vigna <jug@sad.it>
5889 * text2.C (setCursorFromCoordinates): set iy to the right value.
5890 (setCursor): add check if row->previous exists!
5892 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5893 an old float_type as this was the case in the old code!
5895 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5897 * BufferView2.C (showLockedInsetCursor): use iy
5898 (fitLockedInsetCursor): ditto
5900 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5901 locked insets as there we have the right value now.
5903 * lyxcursor.C: added iy_ variable and iy functions to set to the
5904 baseline of cursor-y of the locked inset.
5906 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5907 (setCursor): fixed for insets which need a full row.
5909 * text.C (rowLastPrintable): don't ignore the last space when before
5910 an inset which needs a full row.
5911 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5912 as last character of a row when before a inset which needs a full row.
5914 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5916 * version.C.in: update date
5918 * text2.C (fullRebreak): try to always return true and see what
5921 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5923 * MenuBackend.C (expand): use Floating::listName
5925 * FloatList.C (FloatList): add listName argument to the built-in
5928 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5929 text associated with the float.
5931 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5933 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5935 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5937 * ShareContainer.h: add a couple of missing typenames.
5939 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5941 * lyxrc.C (getDescription): use _() correctly rather than N_().
5943 2002-03-28 Herbert Voss <voss@lyx.org>
5945 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5946 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5948 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5950 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5951 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5953 2002-03-29 Juergen Vigna <jug@sad.it>
5955 * lyxfunc.C (dispatch): add a missing fitCursor call.
5957 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5958 it was scrolled by a cursor move, so return the bool status.
5960 * BufferView.C (fitCursor): return the bool flag also to the outside
5961 world as this is needed.
5963 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5965 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5966 call the edit() as it is not needed (and wrong) IMO.
5967 (workAreaButtonPress): set the screen_first variable before evt.
5968 unlock the inset as this may change screen_first and then we have
5969 a wrong y position for the click!
5971 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5973 * MenuBackend.C (expand): another translation that I missed
5975 2002-03-28 Juergen Vigna <jug@sad.it>
5977 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5979 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5981 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5983 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5985 * MenuBackend.C (expand): fix export/view/update when there is no
5988 2002-03-27 Herbert Voss <voss@lyx.org>
5990 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5993 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5995 * bufferview_funcs.C (currentState): only show paragraph number
5996 for is DEVEL_VERSION is set.
5998 * lyxfunc.C (dispatch): put warning in INFO channel
6000 * MenuBackend.C (expand): translate the name of floats
6002 * FloatList.C (FloatList): mark the float names for translation
6004 * converter.C (convert): use LibScriptSearch
6006 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6008 * MenuBackend.C (defaults): fix default menu (we might as well get
6011 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6013 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6016 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6018 * lyxvc.C: reorder includes.
6020 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6022 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6025 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6027 * CutAndPaste.C: change layouts earlier on paste
6028 to avoid crashing when calling getFont()
6030 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6032 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6035 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6037 * WorkArea.C: remove 'Pending' debug message.
6039 * most files: ws cleanup
6041 * buffer.[Ch]: ws changes
6043 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6045 2002-03-21 Juergen Vigna <jug@sad.it>
6047 * tabular.C (SetMultiColumn): collapse also the contents of the
6048 cells and set the last border right. Added a Buffer const * param.
6050 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6052 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6055 2002-03-19 Juergen Vigna <jug@sad.it>
6057 * text2.C (clearSelection): reset also xsel_cache.
6059 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6060 where it needs to be called (John tells us to do so too :)
6061 (selectionLost): reset sel_cache.
6063 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6065 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6067 * text2.C (setCursorIntern): put debuging code in INSETS channel
6069 2002-03-19 André Pönitz <poenitz@gmx.net>
6071 * lyxfunc.C: tiny whitespace change
6073 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6075 * ToolbarDefaults.C (init):
6076 * LyXAction.C (init):
6078 * BufferView_pimpl.C (Dispatch):
6079 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6081 2002-03-19 Allan Rae <rae@lyx.org>
6083 * exporter.C (Export): removeAutoInsets before doing anything else.
6084 While I've just introduced a dependency on BufferView this really is
6085 the best place to clean the buffer otherwise you need to cleanup in
6086 a dozen places before calling export or cleanup in a dozen functions
6089 * converter.C (runLaTeX):
6090 (scanLog): Better handling of removeAutoInsets and screen updates.
6092 * lyxfunc.C (dispatch): small whitespace changes
6094 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6096 * WorkArea.C (C_WorkAreaEvent): return a value.
6097 (event_cb): return 1 if we handled the event, 0 otherwise.
6099 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6101 2002-03-18 Juergen Vigna <jug@sad.it>
6103 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6104 (GetAdditionalWidth): ditto.
6108 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6109 inset if we're there actually (probably not used right now but this
6110 is the direction to go for unifying code).
6111 (paste): disable code to clear the selection.
6113 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6114 inside an InsetText and move the check further up as it is in the
6117 * text2.C (pasteSelection): set a selection over the pasted text.
6119 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6121 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6122 and libgraphics to build on Cygwin.
6124 2002-03-15 Juergen Vigna <jug@sad.it>
6126 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6127 inserting an Inset into the paragraph. I know this is not the best
6128 fix but we already use current_view in CutAndPaste so we will remove
6129 all of it's using at the same time.
6131 * buffer.C (sgmlError): deactivated function till it is rewritten in
6132 the right mode, now it can create problems.
6134 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6135 before accessing it.
6137 2002-03-14 Juergen Vigna <jug@sad.it>
6139 * undo_funcs.C (textHandleUndo): do the right thing when updating
6140 the inset after the undo/redo.
6142 * text2.C (setCursor): just some testcode for #44 not ready yet.
6144 * undo_funcs.C (textHandleUndo): set the next() and previous()
6145 pointers of the paragraph to 0 before deleting otherwise we have
6146 problems with the Paragraph::[destructor].
6148 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6149 on a paragraph insertion.
6151 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6153 * buffer.C (asciiParagraph): use += operator for char append to
6156 * paragraph.C (getFontSettings): compare >= not just >
6157 (highestFontInRange): ditto
6160 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6162 * paragraph.C: change several algorithm to be more appripriate for
6163 the problem domain. This is lookip in FontList and in the InsetList.
6165 2002-03-13 André Pönitz <poenitz@gmx.net>
6168 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6170 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6175 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6177 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6179 * Painter.C (display): anon helper function, adjust code for this
6181 (pixmap): remove function.
6183 * Painter.h: remove private display variable.
6185 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6187 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6189 * WorkArea.[Ch]: remove figinset_canvas cruft.
6191 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6193 * lyxtextclass.C (operator): add one item cache optimization.
6195 * bufferlist.h: doxy changes
6197 * bufferlist.C: ws changes
6199 * DepTable.[Ch] (ext_exist): place const in the right spot.
6201 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6203 (workAreaExpose): call resizeInsets when the with BufferView changes.
6204 (Dispatch): adjust for protectedBlank removal
6205 (specialChar): call updateInset if the insert went ok.
6207 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6208 specialChar instead.
6210 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6212 * BufferView.h: doxy change
6214 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6216 * lyxtextclass.C (operator[]): remove non-const version
6217 (defaultLayout): remove non-const version
6219 2002-03-12 Juergen Vigna <jug@sad.it>
6221 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6222 did resize the LyXText too.
6224 * buffer.C (readLyXformat2): set layout information on newly allocated
6227 * tabular.C (OldFormatRead): set layout information on the paragraph.
6229 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6231 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6233 2002-03-11 Juergen Vigna <jug@sad.it>
6235 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6237 (resizeCurrentBuffer): force also the insets to resize themselfes.
6238 (moveCursorUpdate): fixed up for InsetText.
6240 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6243 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6244 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6245 value of Dialogs::tooltipsEnabled().
6246 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6248 2002-03-08 Juergen Vigna <jug@sad.it>
6250 * BufferView_pimpl.C (updateInset): update inset inside inset also
6251 if it isn't inside theLockingInset().
6253 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6255 * buffer.C (asciiParagraph): redo some of the word and line length
6257 (getLists): look for Caption instead of caption.
6259 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6261 * buffer.C (Buffer): initialize niceFile to true
6264 (makeDocBookFile): make sure niceFile is true on exit
6266 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6268 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6270 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6272 * LyXSendto.C: remove.
6273 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6274 * lyx_gui.C: remove now-redundant comment.
6275 * ColorHandler.h: remove forward declaration of class WorkArea.
6276 * lyxfunc.C: remove #include "WorkArea.h".
6278 2002-03-07 Juergen Vigna <jug@sad.it>
6280 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6281 got moved away with the DEPM and also set the inset_owner always
6282 right which before could have been omitted.
6284 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6286 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6287 wanted layout is not found.
6289 2002-03-07 Juergen Vigna <jug@sad.it>
6291 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6293 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6295 * paragraph.C (breakParagraph): use default layout not layout of
6297 (Paragraph): clear ParagraphParameters.
6299 2002-03-06 Juergen Vigna <jug@sad.it>
6301 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6302 otherwise it would not be a valid lenght. Fixed a special case in
6303 the minipage compatibility read where we end the document with a
6306 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6307 was set as it could be 0 for InsetTexts first entry.
6309 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6311 * paragraph.C (writeFile): if layout is empty write out
6312 defaultLayoutName().
6314 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6315 file without named layout we set layout to defaultLayoutName().
6317 2002-03-06 Juergen Vigna <jug@sad.it>
6319 * CutAndPaste.C (copySelection): set layout for new paragraph.
6321 * text.C (prepareToPrint): leave ERT inset left aligned
6322 (leftMargin): don't indent paragraphs inside ERT insets
6324 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6326 * paragraph.C (breakParagraph): dont call clear do the work manually
6328 * paragraph.[Ch] (clear): remove function
6330 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6332 * paragraph.C (Paragraph): dont call clear, the work has already
6335 * lyxtextclass.C (operator): assert if n is empty
6337 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6338 work manually instead.
6340 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6342 * BufferView_pimpl.C: protect selectionLost against text == 0
6344 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6346 * text.C (breakParagraph): fix a setting layout to '0' problem.
6348 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6350 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6351 final location of file, for the included files, and graphics.
6353 2002-03-05 Juergen Vigna <jug@sad.it>
6355 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6357 2002-03-04 Juergen Vigna <jug@sad.it>
6359 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6361 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6362 last column of multicolumn cells.
6363 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6365 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6367 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6368 file if it doesn't go to a temporary file.
6370 * buffer.C (sgmlOpenTag):
6371 (sgmlCloseTag): remove extra newline insertion.
6373 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6375 * text.C (getRowNearY): comment out debug msg
6377 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6379 * text2.C: first -> first_y
6381 * text.C (getRowNearY): add some attemts at a possible
6382 optimization, not working.
6384 * tabular.[Ch]: add BufferParams to several function so that newly
6385 created paragraph can be initialized to he default layotu for the
6388 * tabular-old.C (ReadOld): add buf->params to call of Init
6390 * screen.C: rename text->first to text->first_y
6392 * paragraph.C (breakParagraph): always set layout in the broken
6395 * lyxtextclass.C (Read): remove lowercase
6398 (delete_layout): ditto
6400 * lyxtext.h: rename first -> first_y
6402 * lyxlayout.C (Read): remove lowercase
6405 (obsoleted_by): ditto
6407 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6409 * buffer.C (insertErtContents): add params are to InsetERT
6410 (parseSingleLyXformat2Token): add code to check if a paragraphs
6411 layout really exist.
6412 (parseSingleLyXformat2Token): add params to several inset
6414 (asciiParagraph): remove lowercase, do the layout comparisons with
6417 * BufferView_pimpl.C (cursorNext): first -> first_y
6418 (resizeCurrentBuffer): first -> first_y
6419 (updateScrollbar): first -> first_y
6420 (scrollCB): first -> first_y
6421 (workAreaMotionNotify): first -> first_y
6422 (workAreaButtonPress): first -> first_y
6423 (checkInsetHit): first -> first_y
6424 (cursorPrevious): first -> first_y
6425 (cursorNext): first -> first_y
6426 (Dispatch): add buffer_->params to severl inset contructors
6428 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6430 * lyxlayout.C (Read): remove some debug info that I forgot.
6432 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6433 clean up the code slightly.
6434 (makeLinuxDocFile): ditto
6435 (makeDocBookFile): ditto
6437 * text2.C: layout as string
6439 * text.C: layout as string
6441 * paragraph_pimpl.C: layout as string
6443 * paragraph.[Ch]: layout as string
6445 * lyxtextclasslist.[Ch]: layout as string
6447 * lyxtextclass.[Ch]: layout as string
6449 * lyxtext.h: layout as string
6451 * lyxlayout.[Ch]: layout as string
6453 * lyx_cb.C: layout as string
6455 * bufferview_funcs.C: layout as string
6457 * bufferparams.C: layout as string
6459 * buffer.C: layout as string
6461 * LyXView.[Ch]: layout as string
6463 * LaTeXFeatures.[Ch]: layout as string
6465 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6467 * BufferView_pimpl.C: change current_layout to string, remove
6472 (workAreaButtonRelease): layout as string
6474 * BufferView2.C (unlockInset): adjust
6476 * vspace.C (asLatexCommand): use an explict temp variable.
6478 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6480 * Makefile.am: use FRONTEND_*
6482 2002-03-01 Juergen Vigna <jug@sad.it>
6484 * tabular.C (SetWidthOfMulticolCell): changed to something better
6485 I hope but still work in progress.
6486 (recalculateMulticolumnsOfColumn): renamed function from
6487 recalculateMulticolCells as it is more appropriate now.
6488 (SetWidthOfCell): calculate multicols better.
6490 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6492 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6494 * lyxfunc.C (processKeySym): print sequence also if it is
6495 `deleted' (complete)
6497 * kbsequence.C (print): print sequence even if it is deleted
6498 (complete would be a better word, actually).
6500 * lyxfunc.C (dispatch): print complete options after a prefix key
6502 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6504 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6506 * text2.C (setCharFont): eliminate setCharFont code duplication.
6508 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6510 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6511 LFUN_TABULAR_FEATURE (bug #177)
6513 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6515 * Makefile.am: remove figure.h
6517 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6519 * Bufferview_pimpl.C:
6531 * text2.C: remove #include "lyx_gui_misc.h".
6533 * LaTeX.C: added #include <cstdio>
6535 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6537 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6538 that the paragraph following this one can have.
6540 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6542 * vspace.C (asLatexCommand): fix bogus gcc warning
6544 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6546 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6548 * text2.C (setLayout): get rid of redundant code
6550 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6552 * text2.C (incDepth): make sure depth cannot be increased beyond
6555 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6557 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6558 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6560 * PainterBase.h (image):
6561 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6564 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6568 * BufferView_pimpl.C:
6569 * BufferView_pimpl.h:
6589 * sp_spell.C: remove fig inset, and the crap house of
6590 cards that follows it
6592 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6598 * nt_defines.h: move .h into support/
6600 * vms_defines.h: remove
6602 * WorkArea.C: add space in debug output
6606 * buffer.C: add WITH_WARNINGS
6610 * bufferlist.C: s/retrive/retrieve/, add docs
6621 * lyxgui.C: add ID to X error handler
6623 * lyxtestclass.c: fix typo
6625 2002-02-26 Juergen Vigna <jug@sad.it>
6627 * tabular_funcs.C (write_attribute): changed so that some default
6628 attributes are not written at all.
6629 (getTokenValue): set default values before trying to read the
6630 value so we have the return value always set as default if we don't
6631 find the token we search for.
6633 * tabular.C (Write): write bools as bools not as strings!
6635 2002-02-22 Juergen Vigna <jug@sad.it>
6637 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6638 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6640 * text.C (leftMargin): don't add an indent for paragraphs inside
6641 tabular cells (fix #208).
6643 2002-02-21 José Matos <jamatos@fep.up.pt>
6645 * tabular.C (docBook): fixed support for long tables.
6647 2002-02-20 Juergen Vigna <jug@sad.it>
6649 * text2.C (getFont): get the drawing font of the Inset if this
6650 paragraph is inside an inset (only important for InsetERT for now).
6652 * buffer.C (insertErtContents): use new lanugage params in ERT
6655 * CutAndPaste.C: commenting out seemingly uneeded code.
6657 2002-02-19 Allan Rae <rae@lyx.org>
6659 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6660 Iterators might be simple to use but they also get invalidated.
6661 (removeAutoInsets): renamed saved cursor tracking variables and added
6662 some comments to clarify what everything does.
6664 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6671 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6672 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6675 * vc-backend.h: remove #include "support/syscall.h"
6679 * converter.C: rearrange #includes in Lars' approved fashion.
6681 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6682 forward declare class Timeout in the header file.
6684 * XFormsView.C: changes due to the above.
6686 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6689 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6690 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6692 2002-02-18 José Matos <jamatos@fep.up.pt>
6694 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6697 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6699 * a lot of small ws changes
6700 * add a lot of using std::XXX
6701 * use std construcs some places where approp.
6702 * use some exisint stuff from lyxfunctional where approp.
6703 * Make file changes to use partial linking (lets test this now...)
6705 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6709 remove #include "support/syscontr.h" as it's redundant. Always has been.
6717 change Systemcalls::System to Systemcalls::Wait and
6718 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6719 No change of functionality, just reflects the stripped down Systemcalls
6722 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6724 * debug.[Ch]: add a GRAPHICS type to the enum.
6726 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6728 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6730 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6733 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6735 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6736 match the changes below.
6738 * text2.C (toggleInset): if there is not editable inset at cursor
6739 position, try to see if cursor is _inside_ a collapsable inset
6742 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6744 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6745 document menu has a nice checkbox
6747 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6749 * lyxlength.C (asLatexString): change PW to output as percent of
6752 * lengthcommon.C: change '%' to 't%'
6754 * lyxfunc.C (dispatch): a few comments from Martin
6756 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6760 * BufferView_pimpl.h:
6761 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6764 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6766 * vspace.C (inPixels): fix compiler warning
6768 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6770 * lyxfunc.C (getStatus): fix status message for disabled commands.
6772 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6774 * BufferView_pimpl.C: fix crash on close buffer
6775 during selection (#227)
6777 2002-01-27 Herbert Voss <voss@lyx.org>
6779 * buffer.C: link old Figure to new graphic inset
6781 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6783 * FontLoader.C (getFontinfo): Change the latex font names in order
6784 to match the names of type1inst.
6786 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6788 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6790 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6793 (remove_files_with_extension): ditto
6794 (remove_file): ditto
6797 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6798 document is smaller than the work area height. Do not initialize
6799 static variables to 0.
6801 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6803 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6805 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6806 LFUN_LAYOUT_PARAGRAPHS.
6808 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6809 tabular. It is possible to provide a possible cell, which will
6810 typically be the actcell from the corresponding insettabular
6812 * lyxfunc.C (getStatus): small cleanup; disable
6813 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6816 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6818 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6820 * paragraph.C (startTeXParParams):
6821 (endTeXParParams): new methods. The LaTeX code to
6822 start/end paragraph formatting
6823 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6824 empty (fixes bug #200)
6826 * vspace.C (inPixels): adapt to the change below
6827 (inPixels): [later] more cleanups (remove unused variables)
6829 * lyxlength.C (inPixels): change to use a width and a height as
6832 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6834 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6835 Replaced with \paperwidth
6837 * DepTable.C (insert): add std:: qualifier
6839 2002-01-18 Allan Rae <rae@lyx.org>
6841 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6844 * text.C (drawInset): Turned out I didn't know enough about how
6845 rebreaking worked. This fixes most of the redraw problems. I see
6846 an occasional cursor trail when a line is broken now and the cursor
6847 placement can seem out by a few pixels also after a rebreak.
6849 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6851 * buffer.C (parseSingleLyXformat2Token): update because minipage
6852 width is now a LyXLength
6854 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6856 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6859 2002-01-17 Juergen Vigna <jug@sad.it>
6861 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6863 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6864 is set correctly and the inset is updated correctly.
6866 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6868 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6869 the beginning of the loop.
6871 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6873 * lyxrc.C: improve help for use_scalable_fonts
6875 2002-01-17 Allan Rae <rae@lyx.org>
6877 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6879 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6881 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6882 make sure to set their inset_owner to the right value (bug #171)
6884 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6887 * DepTable.C: Implement mtime checking to reduce time spent doing
6890 2002-01-16 Juergen Vigna <jug@sad.it>
6892 * tabular.C (GetAdditionalHeight): one of error fixed.
6894 * lyxrc.C (output): small fix in writing use_pspell.
6896 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6898 * sp_base.h: #include LString.h
6900 2002-01-16 Allan Rae <rae@lyx.org>
6902 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6903 Can someone check this please?
6905 * text.C (drawInset): It was possible that p.row would be removed by
6906 breakAgainOneRow upsetting a few other settings. There may be another
6907 small tweak possible by setting need_break_row = 0 when p.row has been
6908 removed but I don't know enough about the logic here.
6910 2002-01-15 Allan Rae <rae@lyx.org>
6912 * text.C (insertChar): removed conditional truism.
6914 * BufferView2.C (removeAutoInsets): More tweaks.
6915 cur_par_prev could be a stray pointer. Check for trailing empty line
6916 in case last line was cur_par and only had an error inset on it.
6918 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6920 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6923 * vc-backend.C (most methods):
6924 * exporter.C (Export):
6925 * converter.C (convert):
6927 * LyXSendto.C (SendtoApplyCB):
6928 * lyxfunc.C (dispatch):
6932 * lyx_cb.C (AutoSave):
6934 * BufferView_pimpl.C (MenuInsertLyXFile):
6935 * buffer.C (runChktex): use Buffer::filePath().
6937 * buffer.h: rename filename to filename_; rename filepath to
6938 filepath_ and make it private
6939 (filePath): new method
6941 * buffer.C (writeFile): use fileName()
6944 * lyx_main.C (init): fix starting of LyX when the binary is a
6945 link from so,ewhere else.
6947 * minibuffer.C: include <cctype> for isprint
6949 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6951 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6952 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6953 name clash with InsetCollapsable's width function.
6955 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6957 * lastfiles.C: include <iterator>
6959 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6961 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6964 * buffer.C (makeLaTeXFile): ditto.
6965 Also make loop operation more transparent.
6967 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6969 * ToolbarDefaults.C: remove trailing comma closing namespace.
6971 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6973 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6976 * trans.C (Load): comment out unused variable, allowed.
6978 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6980 * minibuffer.[Ch] (append_char): new method to recieve input from the
6981 drop-down completion browser. If a key was pressed, then recieve this
6982 char and append it to the existing string.
6983 (peek_event): modify the positioning data passed to the completion
6984 browser so that it can be placed above the minibuffer rather than below.
6985 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6987 * LyXAction.C (init): alloe error-next for readonly documents.
6989 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6992 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6994 * bufferlist.C (readFile): create the buffer _after_ checking that
6997 * lyxfunc.C (verboseDispatch): fix handling of arguments
6999 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7001 * lyxrc.C: use string::erase() instead of initializing to "".
7004 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7006 * BufferView_pimpl.h:
7007 * BufferView_pimpl.C:
7010 * text2.C: tell X when we have made a selection for copying
7012 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7014 * BufferView_pimpl.C (MenuInsertLyXFile):
7015 * lyxfunc.C (menuNew):
7017 (doImport): add shortcuts to directory buttons
7019 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7022 * lyxfunc.C (setStatusMessage):
7023 (getStatusMessage): new methods
7024 (getStatus):use setStatusMessage instead of setErrorMessage
7025 (dispatch): when function is disabled, set error message here
7026 [instead of in getStatus previously]
7028 * BufferView_pimpl.C (workAreaButtonRelease): update
7029 toolbar/menubar here too.
7031 2002-01-13 Allan Rae <rae@lyx.org>
7033 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7034 Now seems indestructible. Remaining task is to audit all other
7035 code affected by deleteEmptyParagraphMechanism. One small quirk
7036 left is that an empty document with an error in the preamble can
7037 be made to report an error but no error box appears. I don't know
7039 (removeAutoInsets): Improved comments.
7041 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7044 * Thesaurus.C: update for Aiksaurus 0.14
7046 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7048 * text2.C (firstParagraph): removed member function, all uses
7049 replaces with ownerParagraph
7050 (redoParagraphs): here
7052 (toggleAppendix): here
7053 * BufferView2.C (insertErrors): here
7054 (setCursorFromRow): here
7056 2002-01-13 Allan Rae <rae@lyx.org>
7058 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7059 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7060 There is still a way to segfault this although you may have to do this
7061 multiple times: Have an InsetERT with an unknown command in it.
7062 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7063 <down-arrow>, <Enter> again, View->DVI, BANG!
7065 * text2.C (setCursor):
7066 (deleteEmptyParagraphMechanism):
7067 * lyxtext.h (setCursor):
7068 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7069 Making use of the return value may help fix other bugs.
7071 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7073 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7075 * LyXView.C (updateMenubar): call MenuBar::update here
7076 (updateToolbar): but not here
7077 (showState): do not update toolbar/menubar
7079 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7080 should need to care about that.
7082 * lyxfunc.C (verboseDispatch): simplify a bit
7083 (getStatus): have a version which takes a pseudoaction, and
7084 another which requires a (kb_action,string).
7086 * LyXAction.C (retrieveActionArg): make it work also when action
7087 is not a pseudo-action.
7088 (getActionName): simplify a bit
7091 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7093 * lyxfunc.C (verboseDispatch): new families of methods with
7094 several ways to specify a command and a bool to indicate whether
7095 the command name and shortcut should be displayed in minibuffer
7096 (eventually, we could extend that to a finer bitmask like
7097 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7098 (dispatch): the pristine dispatch command which just, well,
7099 dispatchs! Note it still sets its result to minibuffer; I'm not
7102 * lyxfunc.h: remove setHintMessage
7104 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7106 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7108 * BufferView_pimpl.C (specialChar): delete new inset if we have
7109 not been able to insert it.
7111 * kbmap.C: revert to using int instead of kb_action, since all we
7112 are dealing with is pseudo-actions.
7114 * LyXAction.C (searchActionArg): change to return int instead of
7115 kb_action, since the result is a pseudoaction.
7117 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7119 * buffer.C (insertErtContents): Fix (partially) the font bug.
7121 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7123 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7124 as the other one is broken on my machine!
7126 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7129 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7131 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7133 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7134 reflect their actual use. Provide compatibility code for older lyxrc
7137 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7139 change names of popup font variables in line with the changes to lyxrc.C
7141 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7143 * buffer.C (asciiParagraph): avoid outputing a word twice after
7146 * lyxrc.C (getDescription): document that document_path and
7147 template_path can be empty.
7149 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7151 * LaTeXFeatures.C (getMacros):
7152 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7154 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7156 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7158 (getPackages): rename feature "floats" to "float". Use an array to
7159 iterate over 'simple' features (i.e. just a \usepackage). Add
7160 handling of "amsmath" (renamed from "amsstyle").
7162 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7164 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7167 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7169 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7170 FuncStaus::FuncStatus & FuncStaus::some_method().
7172 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7174 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7175 of the func_satus stuff. Edited and massaged in various ways by
7178 * lyxfunc.C (getStatus): use FuncStatus
7180 2002-01-08 Juergen Vigna <jug@sad.it>
7182 * text.C (nextBreakPoint): use function Inset::isChar().
7184 * paragraph.C (TeXOnePar): use function
7185 Inset::forceDefaultParagraphs.
7187 * buffer.C (latexParagraphs): use function
7188 Inset::forceDefaultParagraphs.
7190 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7192 * lyx_gui.C (init): set the style of the menu popups to
7193 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7195 2002-01-07 Juergen Vigna <jug@sad.it>
7197 * text.C (setHeightOfRow): small fix
7198 (prepareToPrint): don't look at alignment if we don't have the place
7201 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7203 * box.C: New file. Move the Box methods and functions out of box.h,
7204 following Lars' suggestion.
7206 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7208 * box.h: #include "support/LOstream.h", needed for inlined function.
7211 * lyxtextclasslist.C: added some using std declarations.
7213 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7215 * box.h: make signed dimensions to allow insets wider than
7216 the screen (bug #162)
7218 * BufferView_pimpl.C: add some insetHit debug
7220 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7222 * vc-backend.C: add FIXME
7224 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7226 * lyxfunc.C (getStatus): enable code for showing math font status
7229 2002-01-07 Juergen Vigna <jug@sad.it>
7231 * text.C (nextBreakPoint): removed debug output not needed anymore.
7233 2002-01-06 Juergen Vigna <jug@sad.it>
7235 * text.C (nextBreakPoint): fixed up this function we had this bug
7236 since ever but now hopefully we break row better.
7237 (insertChar): we have to check if an inset is the next char as it
7238 could now happen that a large inset is causing a break.
7240 2002-01-05 Juergen Vigna <jug@sad.it>
7242 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7243 if it doesn't like to be drawed.
7245 2002-01-04 Juergen Vigna <jug@sad.it>
7247 * BufferView2.C (lockInset): forgot to set a cursor.
7249 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7251 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7256 * form_maths_panel.C:
7257 * form_maths_panel.h:
7258 * form_maths_panel.fd: implemented sub- and super- buttons in math
7261 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7262 (or ^ space) to be used as in TeX (req'd by André).
7264 * lyxfunc.C: Allow ^ and _ again to be used both as
7265 super/subscript (mathed) and as themselves (in text).
7267 2002-01-03 Allan Rae <rae@lyx.org>
7269 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7270 "LyX" or the filename of the current buffer if it has one. This is a
7271 modified form of John Levon's patch.
7273 * XFormsView.C (setWindowTitle): also set icon title.
7275 * LyXView.h (setWindowTitle): signature changed.
7276 * XFormsView.h (setWindowTitle): ditto.
7278 2002-01-02 Juergen Vigna <jug@sad.it>
7280 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7282 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7284 * screen.C (topCursorVisible): introduce a temp var for
7285 text->cursor.row(), handle the case where this row is null. (kindo
7288 * text2.C (setCursor): add a couple of asserts.
7290 * paragraph.h (inset_iterator): add -> operator
7292 * paragraph.[Ch] (autoDeleteInsets): remove member function
7294 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7295 cursor pos correctly and handle inset deletion by itself.
7296 (insertErrors): move iterator declaration out of for expression
7298 * lyxtextclass.C: add <algorithm>
7300 * Makefile.am: added the new files to sources, removed layout.C
7302 * layout.C: removed file
7304 * layout.h: remove LYX_DUMMY_LAYOUT
7306 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7310 * lyxtextclass.[Ch]:
7311 * lyxtextclasslist.[Ch]: new files
7313 * include order changes to a lot of files, also changes because of
7316 2001-12-27 Juergen Vigna <jug@sad.it>
7318 * buffer.C (asciiParagraph): more fixes.
7320 * tabular.C (ascii): make ascii export support export of only the
7321 data separated by a column-delimiter.
7322 (ascii): better support for ascii export.
7324 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7326 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7328 * tabular_funcs.C: use a "using std::getline" instead of the
7329 previous fix from Angus (necessary for cxx + lyxstring)
7331 2001-12-24 Juergen Vigna <jug@sad.it>
7333 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7335 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7336 problems. First check a minipage also if we have some ert-contents
7337 (not only on par->size(), second set the right depth of the paragraph
7338 on the relink to the root-paragraph-list!
7340 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7341 which then did not anymore update the main paragraphs on undo/redo!
7343 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7345 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7346 code. Support all font-changing funcs (even those which are not in
7347 menu currently). Support for reporting font settings in
7348 mathed (disabled until Andre provides a function on mathed's side).
7350 * func_status.h (toggle): small helper function to set toggle
7353 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7355 * tabular_funcs.C: getline -> std::getline
7357 2001-12-21 Juergen Vigna <jug@sad.it>
7359 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7360 accessed and could be 0 (I couldn't generate this but it seems
7363 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7365 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7366 * tabular_funcs.h: here and include iosfwd
7368 2001-12-20 Juergen Vigna <jug@sad.it>
7370 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7371 inside inset but undo_par was.
7373 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7375 * Thesaurus.C: always include <config.h> in sources.
7379 * box.h: do not include <config.h> in header files
7381 * text.C (paintLastRow): remove unused variable
7383 * text.C (transformChar):
7385 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7388 * font.C (width): rewrite to use uppercase() instead of
7391 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7393 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7395 * lyxfind.C: clean up of find failure position change
7397 2001-12-20 Juergen Vigna <jug@sad.it>
7399 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7401 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7402 (TeXRow): added to LaTeX a single tabular row.
7403 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7404 (Latex): simplified and finally good LT-h/f support.
7405 (various_functions): just small adaptions for LT-h/f support.
7407 * tabular_funcs.[hC]: added and moved here all not classfunctions
7410 2001-12-19 Juergen Vigna <jug@sad.it>
7412 * tabular.[Ch]: better support for longtabular options (not finished
7415 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7417 * text.C (paintLastRow): use the label font instead of the font of
7418 the last character to compute the size of *_BOX. This makes more
7419 sense and avoids a crash with empty paragraphs.
7420 Use Painter::rectangle to draw EMPTY_BOX.
7422 2001-12-19 Juergen Vigna <jug@sad.it>
7424 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7425 the paragraphs if the replaced paragraph is not the first one!
7426 Tried to delete not used paragraphs but does not work yet so for
7427 now it's inside #ifdef's and by default off!
7429 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7431 * MenuBackend.C: include "lyx_main.h" instead of declaring
7432 lastfiles (actually was declared as LastFiles* instead of a
7435 2001-12-17 Juergen Vigna <jug@sad.it>
7437 * tabular.C (AppendColumn): applied John's fix
7439 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7443 * BufferView_pimpl.h:
7444 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7447 * box.h: new start of class for above
7449 * lyxfunc.C: ignore space-only minibuffer dispatches.
7450 Show the command name when it doesn't exist
7452 * minibuffer.C: don't add empty lines to the history
7454 * minibuffer.C: add a space on dropdown completion
7456 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7458 * text.C: fix line above/below drawing in insets
7460 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7462 * lyxlength.C (LyXLength): Initialize private variables.
7464 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7466 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7467 when inserting error insets.
7469 2001-12-13 Juergen Vigna <jug@sad.it>
7471 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7472 actually sometimes the before-paragraph.
7473 (setUndo): don't clear the redostack if we're not actually undoing!
7475 2001-12-06 Juergen Vigna <jug@sad.it>
7477 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7478 and fixed redoing of main paragraph, so we can use it now ;)
7480 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7482 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7484 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7487 2001-12-13 André Pönitz <poenitz@gmx.net>
7490 * undo_func.C: minor cleanup
7492 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7494 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7495 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7496 font in urw-fonts package which is marked as -urw-fontspecific and
7497 does not work (incidentally, changing the encoding in the
7498 fonts.dir of this package to -adobe-fontspecific fixes the
7501 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7502 is a crash when undoing first paragraph (Juergen, please take a
7503 look). THis does not mean the undo fix is wrong, just that it
7506 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7507 the (Paragraph*) version when needed instead of duplicating the
7510 * text.C (workWidth): use Inset::parOwner to find out where the
7511 inset has been inserted. This is a huge performance gain for large
7512 documents with lots of insets. If Inset::parOwner is not set, fall
7513 back on the brute force method
7515 * paragraph_pimpl.C (insertInset):
7516 * paragraph.C (Paragraph):
7517 (cutIntoMinibuffer): set parOwner of insets when
7518 inserting/removing them
7520 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7522 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7528 * mathed/formulabase.C:
7529 * mathed/math_cursor.[Ch]:
7530 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7533 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7535 * lyxlength.[Ch] (operator!=): new function
7537 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7539 * text.C (workWidth): use Inset::parOwner to find out where the
7540 inset has been inserted. This is a huge performance gain for large
7541 documents with lots of insets. If Inset::parOwner is not set, fall
7542 back on the brute force method
7544 * paragraph_pimpl.C (insertInset):
7545 * paragraph.C (Paragraph):
7546 (cutIntoMinibuffer): set parOwner of insets when
7547 inserting/removing them
7549 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7551 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7553 * tabular-old.C (getTokenValue):
7554 * tabular.C (getTokenValue):
7555 (write_attribute): new versions for LyXLength
7556 (everywhere): adjust the use of widths
7558 * tabular.h: change the type of widths from string to LyXLength
7560 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7562 * paragraph.C: fixed missing line number count when exporting
7563 Environments to LaTeX file
7565 * buffer.C: added informational message for checking line numbers.
7567 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7569 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7570 paragraph, do the 'double space' part, but not the 'empty
7573 * text.C (workWidth): small optimization
7574 (getLengthMarkerHeight): use minimal size for negative lengths.
7576 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7578 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7580 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7582 2001-12-11 André Pönitz <poenitz@gmx.net>
7585 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7587 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7589 * text2.C: keep selection on a setFont()
7591 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7593 * lyx_cb.C: another bv->text misuse, from insert label
7595 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7598 * kbsequence.C: re-instate nmodifier mask
7600 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7602 * lyx_main.h: make lyxGUI private.
7604 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7606 * lyxfind.C: place the cursor correctly on failed search
7608 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7610 * text.C (getLengthMarkerHeight): for small heights, the arrows
7611 are not always on top/bottom of the text
7612 (drawLengthMarker): smaller arrows; take the left margin in
7613 account; draw also vfills.
7615 (paintLastRow): remove special code for vfill and standard spaces,
7616 since everything is handled in drawLengthMarker now.
7618 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7620 * buffer.C (insertErtContents): try to handle font and language
7621 interaction a bit better.g
7623 * ColorHandler.C (updateColor): change the hash to cover the whole
7624 LColor enum, ws cleanup
7625 (getGCLinepars): ditto
7626 (getGCLinepars): only lookup in the linecache once.
7628 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7630 * iterators.C (operator++): Make the iterator more robust
7632 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7634 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7636 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7639 * text.C: better added space drawing
7641 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7644 * BufferView2.C: fix layout combo update on inset unlock
7646 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7648 * Makefile.am: don't compile unused files
7650 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7654 * LyXAction.C: remove old LFUN_LAYOUTNO
7656 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7658 * paragraph_pimpl.h:
7659 * paragraph_pimpl.C: isTextAt() doesn't need font param
7661 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7664 * lyxlex.C: little cleanup
7666 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7668 * BufferView_pimpl.C: fix insertAscii for insets
7670 2001-12-05 Juergen Vigna <jug@sad.it>
7672 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7673 set the right font on the "multi" paragraph paste!
7675 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7681 * lyxlength.C: remove out-commented code.
7697 * vc-backend.C: change "while(" to "while ("
7699 * lyxlength.[Ch]: add zero function to check if length is zero or
7701 * lyxgluelength.C: use it
7703 2001-12-05 Allan Rae <rae@lyx.org>
7705 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7706 Works for 2.95.3, from what I understand of Garst's reports this should
7707 work for other g++ versions. We're screwed if the abs(int) definition
7708 changed between bugfix releases of gcc.
7710 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7712 * text.C: fix chapter label offset !
7714 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7717 * text.C: fix hfill at end of line, clean up
7719 2001-12-04 Juergen Vigna <jug@sad.it>
7721 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7722 that we force an update of the inset and it's owners if neccessary.
7724 2001-12-03 Juergen Vigna <jug@sad.it>
7726 * text.C (rowLast): simplified code
7728 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7730 * lyxfunc.C: fix show options on timeout
7732 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7734 * screen.C (topCursorVisible): scroll half a page when the cursor
7735 reached top of bottom of screen
7737 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7739 * minibuffer.C: deactivate on loss of focus
7741 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7743 * vspace.[Ch] (operator!=): add operator.
7745 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7747 * BufferView_pimpl.C: refuse to open an inset when
7748 there's a selection.
7750 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7752 * BufferView_pimpl.C: allow to click on RHS of full row insets
7754 2001-11-30 Juergen Vigna <jug@sad.it>
7756 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7757 insets for undo reasons.
7759 2001-11-28 André Pönitz <poenitz@gmx.net>
7761 * vspace.[Ch]: cosmetical changes
7763 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7773 * kbsequence.C: part re-write of old kb code
7776 * WorkArea.C: remove Lgb_bug_find_hack
7778 2001-11-30 José Matos <jamatos@fep.up.pt>
7780 * buffer.C (makeDocBookFile): add a comment to point a hack.
7781 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7782 Fixed a double write of labels.
7784 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7787 * LaTeX.h Fixed bug in LaTeX class where it would not
7788 re-run latex if no depfiles were changed, but the .dvi was removed.
7790 2001-11-28 André Pönitz <poenitz@gmx.net>
7792 * all the files from the change on 2001/11/26:
7793 use lyx::layout_type instead of LyXTextClass::size_type
7794 use lyx::textclass_type instead of LyXTextClassList::size_type
7796 2001-11-29 Juergen Vigna <jug@sad.it>
7798 * text.C: added support for paragraph::isFreeSpacing()
7800 * buffer.C: same as above
7802 * paragraph.h: inserted isFreeSpacing() function to enable
7803 FreeSpacing inside InsetERT.
7805 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7806 of the paragraph's in the cut/copy buffer to 0!
7808 * text2.C (removeRow): remove the assert as it can!
7810 * lyxtext.h: added helper function firstRow returning firstrow and
7811 made firstrow private again.
7813 * BufferView2.C (lockInset): don't relock if we're already locked!
7815 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7817 (removeRow): added Assert::(firstrow)
7819 * debug.C: forgot to add INSETTEXT here.
7821 2001-11-28 Juergen Vigna <jug@sad.it>
7823 * sp_spell.C (initialize): changed error text to more general
7824 spellchecker command use (not only ispell!)
7826 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7828 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7830 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7832 * vspace.C: initialise lyxgluelength on failure
7834 2001-11-28 Allan Rae <rae@lyx.org>
7836 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7837 declaration & definition that looks like a function declaration.
7839 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7841 * BufferView2.C (copy):
7842 (copyEnvironment): do not clear the selection when doing a copy.
7844 * text.C (paintFirstRow): compilation fix
7846 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7848 * tabular.C (Latex): correct line count when writing latex.
7850 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7852 * paragraph_pimpl.h:
7853 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7856 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7860 * LColor.C: change vfillline->added_space
7862 * text.C: add markers and text for added space
7864 * vspace.C: fix comment
7866 2001-11-28 André Pönitz <poenitz@gmx.net>
7868 * paragraph.C: whitespace changes
7869 * all the other files from the change on 2001/11/26:
7870 change *::pos_type into lyx::pos_type
7872 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7874 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7875 language of the document when inserting error insets.
7877 2001-11-26 André Pönitz <poenitz@gmx.net>
7879 * BufferView_pimpl.[Ch]:
7887 * paragraph_pimpl.[Ch]:
7890 * text2.C: reduce header dependencies, introduce type for positions
7892 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7894 * <various>: change to use Alert.h
7896 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7898 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7899 when encountering an unknown token.
7900 (readLyXformat2): Show an error message if there were unknown tokens.
7902 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7905 * BufferView_pimpl.C:
7909 * text2.C: use par->isInset()
7911 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7913 * paragraph_pimpl.h:
7914 * paragraph_pimpl.C: cleanup
7916 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7918 * text2.C (removeRow):
7919 * text.C (setHeightOfRow): remove useless (and costly) call to
7922 2001-11-20 Allan Rae <rae@lyx.org>
7924 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7925 Now need Inset*::checkInsertChar() to return true for appropriate
7926 cases so that the characters in the minibuffer will actually be
7929 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7931 * text.C: change the order of the includes.
7932 (workWidth): initialize it at once.
7933 (workWidth): make maxw unsigned
7934 (setHeightOfRow): remove unused variable (inset)
7935 (selectSelectedWord): remove unused variable (inset)
7936 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7938 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7940 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7941 server is not running.
7943 (closeConnection): add debug info when server is disabled.
7945 * ColorHandler.C (getGCForeground): send debug message to GUI
7948 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7950 * kbmap.C (bind): modify because return conventions of
7951 kb_sequence::parse have changed.
7953 * kbsequence.C (parse): only ignore spaces and not any stupid
7954 control character. This avoids tests like s[i] <= ' ', which are
7955 guaranteed to fail with 8bit characters and signed chars.
7956 Change return code to string::npos when there have been no error
7957 (0 was a bad idea when error is at first character)
7959 2001-11-14 José Matos <jamatos@fep.up.pt>
7962 * buffer.C (simpleDocBookOnePar): removed unused argument.
7964 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7966 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7967 insets which are part of a word. Paragraph::isLetter takes care of
7968 that now. Use Paragraph::isInset to identify insets.
7969 (selectSelectedWord): do not test for hyphenation break.
7971 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7972 that protected spaces are considered as spaces.
7974 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7977 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7980 * lyxserver.C: fix it. and small cleanup.
7982 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7984 * BufferView_pimpl.C: use inline helpers
7987 * LaTeXFeatures.C: fix typos
7990 * Spacing.C: move spacing_string into class
7992 * ToolbarDefaults.C: move stuff into namespace anon
7994 * layout.h: update enum
7996 * lyxfunc.C: use better debug
7998 * minibuffer.h: fix typo
8002 * WorkArea.C: add and use Debug::WORKAREA
8006 * text2.C: code re-organisation, inline helpers
8008 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8010 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8011 std::vector.empty().
8013 2001-11-09 Allan Rae <rae@lyx.org>
8015 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8016 '\n's after tables. Tabular and ERT inset work now makes this no
8019 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8022 * minibuffer.C: fix crash, improve drop-down completion
8024 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8027 * lyxserver.C: invalidate fd's when doing endPipe()
8029 2001-11-08 José Matos <jamatos@fep.up.pt>
8031 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8032 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8035 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8037 2001-11-07 José Matos <jamatos@fep.up.pt>
8040 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8043 * buffer.C (sgmlOpenTag):
8044 * buffer.C (sgmlCloseTag): removed debug info.
8046 * buffer.h (sgmlOpenTag):
8047 * buffer.h (sgmlCloseTag): made public.
8049 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8051 * buffer.C (saveParamsAsDefaults):
8052 * lyx_cb.C (MenuLayoutSave): remove
8054 * LyXAction.C (init):
8056 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8058 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8060 * buffer.C (setPaperStuff): removed from here...
8062 * bufferparams.C (setPaperStuff): ... and moved there.
8064 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8068 * XFormsView.C: add support for drop-down completion
8070 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8072 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8075 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8077 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8080 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8082 * lyx_main.C: change ref to known bugs
8084 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8086 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8087 to work around older babel problems.
8089 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8091 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8093 2001-10-24 Juergen Vigna <jug@sad.it>
8095 * tabular-old.C (ReadOld): below variable changes reflected.
8097 * tabular.[Ch]: added ltType struct for longtable header/footer
8098 defines and changed all instances where they are used. Added
8099 future support for double top/bottom rows.
8101 2001-10-24 José Matos <jamatos@fep.up.pt>
8103 * buffer.h (docbookHandleCaption):
8104 * buffer.C (docbookHandleCaption): removed unused function.
8105 (makeDocBookFile): moved docbook supported version to v4.1.
8107 2001-10-24 José Matos <jamatos@fep.up.pt>
8110 * tabular.C (docbookRow): new function to export docbook code of a row.
8111 (DocBook): now honors the longtable flags.
8113 2001-10-23 José Matos <jamatos@fep.up.pt>
8116 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8117 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8119 * buffer.C (makeLinuxDocFile):
8120 (makeDocBookFile): reworked the preamble, more clean, and with
8121 support for lyx defined entities. Changed the document declaration
8122 to be more XML friendly.
8124 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8125 if we need to output XML that should be done with a filter.
8127 2001-10-22 Juergen Vigna <jug@sad.it>
8129 * sp_pspell.h (class PSpell): add alive function needed in the
8130 controller to see if the spellchecker could be started.
8132 2001-10-22 Juergen Vigna <jug@sad.it>
8134 * buffer.C (insertStringAsLines): modify the font for inserting
8135 chars in certain conditions by calling checkInsertChar(font).
8137 2001-10-19 Juergen Vigna <jug@sad.it>
8139 * text.C (workWidth): use getRow instead of wrong algorithm.
8140 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8142 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8147 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8149 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8151 * text.C (workWidth): do not search for the exact row when
8152 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8153 optimization for big documents.
8155 2001-10-18 Juergen Vigna <jug@sad.it>
8157 * text.C (workWidth): new function with added Inset * parameter.
8159 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8161 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8163 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8164 change return type of getColumnNearX.
8167 * text.C (changeRegionCase): use uppercase/lowercase instead of
8170 (rightMargin): simplify code by factoring out the uses of
8175 (appendParagraph): use Paragraph::size_type
8177 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8179 * vspace.C (asLatexString): add a missing break
8181 2001-10-15 Herbert Voss <voss@perce.de>
8183 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8185 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8187 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8190 2001-10-10 André Pönitz <poenitz@gmx.net>
8192 * lyxfunc.C: removed greek_kb_flag.
8194 2001-10-10 Herbert Voss <voss@perce.de>
8196 * lyx_main.C: delete global string help_lyxdir.
8198 2001-10-09 Herbert Voss <voss@perce.de>
8200 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8202 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8204 * lyx_main.C: added global string help_lyxdir.
8206 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8208 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8210 * lyxrc.C (set_font_norm_type): support iso8859-4
8212 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8214 * LaTeX.C (deplog): add another regex for MikTeX
8216 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8218 * lyxrc.C (set_font_norm_type): support iso8859-3
8220 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8222 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8224 * LaTeXFeatures.C: remove special case of french and index
8226 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8227 before \begin{document}). This solves several incompatibilities.
8229 2001-10-03 Garst Reese <reese@isn.net>
8231 * lyx_cb.C: change CheckTex error msg.
8233 2001-10-03 José Matos <jamatos@fep.up.pt>
8235 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8237 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8239 * .cvsignore: update
8241 * lyx_main.C (commandLineVersionInfo): use new style version info.
8243 * buffer.C (writeFile):
8246 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8248 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8250 * version.h: update to use stuff in version.C
8252 * version.C.in: new file. Contains version information determined
8253 at compile time. This is a merging of version.h and
8256 2001-10-03 Juergen Vigna <jug@sad.it>
8258 * BufferView_pimpl.C (update): don't change "dirty" status in
8261 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8263 * WorkArea.C (c-tor): re-position version string slightly.
8265 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8267 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8268 revert to previous code.
8270 WorkArea.[Ch]: (show, destroySplash): methods removed.
8272 WorkArea.C: rework code so that it's an amalgam of the codes before and
8273 after the splash screen was moved to WorkArea.
8275 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8278 * vspace.C (inPixels):
8281 * buffer.C (insertStringAsLines):
8282 (asciiParagraph): fix types to be large enough
8284 * lyxlex_pimpl.h: change member status from short to int
8286 * layout.h: fix type of endlabeltype
8289 * kbsequence.C (parse): change return type to string::size_type
8291 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8294 * Bullet.C (bulletSize):
8295 (bulletEntry): do not use short ints as parameters
8297 * BufferView2.C (insertLyXFile): change a char to an int.
8299 * WorkArea.C (WorkArea): remove unneeded floats in computation
8301 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8303 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8305 * paragraph.C (asString): Do not ignore newline/hfill chars when
8306 copying to the clipboard.
8308 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8310 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8311 after a multi-line inset.
8313 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8315 * paragraph.C (validate): Set NeedLyXFootnoteCode
8317 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8319 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8320 and decrease-error to decrease.
8322 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8324 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8325 it more readable (should be equivalent)
8327 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8329 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8331 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8333 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8334 of a cursor (row, etc.) after a character has been deleted
8335 (deleteEmptyParagraphMechanism): call the method above on _all_
8336 cursors held by the LyXText when a double space has been
8339 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8341 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8343 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8345 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8346 background. Use greyOut() and the new show() methods to toggle between
8347 the foreground and background. Add code to remove the splash after
8348 its initial showing.
8350 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8351 (create_forms): no longer call Dialogs::showSplash.
8353 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8355 * .cvsignore: add version_info.h
8357 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8359 * version_info.h.in: new file
8361 * Makefile.am: add version_info.h.in
8363 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8364 version_info.h instead of VERSION_INFO
8366 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8368 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8369 The ERT inset now returns string().
8371 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8373 * lyxtext.h, text.C (selectNextWord): renamed as
8374 selectNextWordToSpellcheck.
8376 * text.C (selectNextWordToSpellcheck): Modified to not select
8377 words inside an ERT inset.
8379 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8381 * lyx_cb.C (MenuLayoutSave): change a bit the question
8383 * sp_base.h: include <sys/types.h>
8385 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8387 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8389 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8391 * several files: fix typos in user-visible strings
8393 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8395 * text2.C (pasteSelection): do not set the selection, since it
8396 will be cleared later. Actually, the intent was to fix the way the
8397 selection was set, but I figured rmoving the code was just as good.
8399 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8401 * FontLoader.C (available): Check if font is available without
8404 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8406 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8408 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8410 * lyxrc.[Ch]: added display_graphics variable and associated code.
8412 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8414 * bufferparams.C (hasClassDefaults): new method. Returns true if
8415 the buffer parameters correspond to known class defaults
8417 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8419 * XFormsView.C (show): set minimum size to the main window.
8421 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8423 * text2.C (copySelection):
8425 * lyxfind.C (LyXReplace):
8426 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8427 LyXText::selectionAsString.
8429 * paragraph.C (asString): add "label" argument to the second form
8431 * text2.C (selectionAsString): add "label" argument and pass it to
8432 Paragraph::asString.
8434 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8436 * lyx_main.C (commandLineHelp): remove version information
8438 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8440 * lyx_main.C: add -version commandline option
8442 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8444 * paragraph.h: make the optional constructor arg required instead.
8445 some modifications to other files because of this.
8447 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8449 * lyxserver.C (C_LyXComm_callback): make it static
8451 * lyx_main.C (error_handler): make it static
8453 * lyx_gui.C (LyX_XErrHandler): make it static
8455 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8457 * WorkArea.C: make the extern "C" methods static.
8459 * Makefile.am (lyx_LDADD): simplify
8461 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8463 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8464 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8466 * LyXAction.C (init):
8467 * lyxfunc.C (dispatch): associated code removal.
8469 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8471 * lyxfont.h (isSymbolFont): shut off warning
8473 * text.C (setHeightOfRow):
8474 (getVisibleRow): fix crash with empty paragraphs which have a
8477 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8479 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8482 2001-09-04 José Matos <jamatos@fep.up.pt>
8485 * tabular.C (docbook): rename docBook method to docbook.
8487 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8489 * Makefile.am: add dependencies to main.o.
8491 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8493 * FontLoader.C (available): Return false if !lyxrc.use_gui
8495 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8497 * FontInfo.C (query):
8498 * converter.C (view):
8499 * importer.C (Import):
8500 * exporter.C (Export): Can not -> cannot.
8502 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8504 * BufferView_pimpl.C: allow to create index inset even if
8507 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8509 * buffer.C (getLists): replace boost::tie code with an explicit pair
8510 as boost::tie can break some compilers.
8512 * iterators.h: Added a std:: declaration to the return type of
8515 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8517 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8520 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8522 * iterators.[Ch]: New files. Provide paragraph iterators.
8524 * buffer.C (changeLanguage): Use paragraph iterators.
8525 (isMultiLingual): ditto
8527 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8529 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8531 * FontLoader.C: Support for cmr font.
8533 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8535 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8536 (available): New method.
8538 * FontInfo.C (getFontname): Use scalable fonts even when
8539 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8542 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8544 * converter.C (Formats::view): reverted! Incorrect fix.
8546 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8548 * converter.C (Formats::view): only output the -paper option
8549 if the dvi viewer is xdvi, thereby fixing bug #233429.
8551 2001-08-23 Herbert Voss <voss@perce>
8553 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8555 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8557 * Spacing.h (Spacing): Set space to Default on in the default
8560 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8562 * vc-backend.h (RCS::versionString): add RCS to version
8563 (CVS::versionString): add CVS to version
8565 * vc-backend.C (scanMaster): do not add CVS to version.
8566 (scanMaster): do not add RCS to version
8568 * lyxvc.C (versionString): new method
8570 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8572 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8574 * Spacing.C (set): initialize fval
8576 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8578 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8581 2001-08-16 Juergen Vigna <jug@sad.it>
8583 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8585 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8587 * BufferView_pimpl.C:
8590 * text2.C: setParagraph takes linespacing now
8592 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8594 * LyxAction.C: add internal LFUN_CITATION_INSERT
8596 * LyXView.C: actually apply fix
8598 * bufferlist.C: fix open non-existent file
8600 * lyxfind.C: fix indentation
8602 * lyxfunc.C: remove unneeded assert, fix typo
8604 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8606 * MenuBackend.C: use "Floatname List"
8608 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8610 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8611 when converting LaTeX layout to insetERT.
8612 Generate a non-collapsed float when reading old float
8614 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8616 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8619 2001-08-13 Juergen Vigna <jug@sad.it>
8621 * text.C (fill): return 0 instead of 20 as this seems to be the more
8624 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8626 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8629 2001-08-13 Juergen Vigna <jug@sad.it>
8631 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8633 (SearchBackward): comment out the unlocking of the inset_owner this
8634 should not be needed!
8636 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8638 * Many files: Remove inherit_language, and add latex_language
8640 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8643 2001-08-10 Juergen Vigna <jug@sad.it>
8645 * text.C (prepareToPrint): fixed hfill-width in draw!
8647 * BufferView2.C (selectLastWord): save the selection cursor as this
8648 now is cleared in the function LyXText::clearSelection!
8650 2001-08-08 Juergen Vigna <jug@sad.it>
8652 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8653 BACKSPACE type functions.
8655 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8656 is only cutted from the document but not put in the cut-buffer, where
8657 still the old stuff should be.
8659 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8661 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8663 * tabular.C (SetWidthOfCell): fixed special case where the width
8665 (LeftLine): handle '|' in align_special.
8667 (LeftAlreadyDrawed): ditto
8668 (SetWidthOfCell): ditto
8670 2001-08-07 Juergen Vigna <jug@sad.it>
8672 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8674 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8676 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8677 * lyxlex.[hC]: ditto
8679 2001-08-06 Juergen Vigna <jug@sad.it>
8681 * text.C (getVisibleRow): fix up row clearing a bit.
8683 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8685 * minibuffer.C: make sure the X server sees the changes in the input.
8687 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8689 * paragraph.C (getFont): split into...
8690 (getLabelFont): this
8691 (getLayoutFont): and this
8692 * paragraph_pimpl.C (realizeFont): calling this
8694 * text2.C (getFont): split into...
8695 (getLayoutFont): this
8696 (getLabelFont): and this
8697 (realizeFont): all three calling this
8699 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8702 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8704 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8706 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8708 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8709 layouts from the Quote inset insertion.
8711 2001-08-03 Juergen Vigna <jug@sad.it>
8713 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8715 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8716 only if status not is already CHANGED_IN_DRAW (second level).
8718 * text.C (draw): don't set the need_break_row when inside an
8721 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8723 * buffer.C (parseSingleLyXformat2Token): handle more latex
8726 * bufferview_funcs.[hC]: change function names to
8727 begin with small char, adjust other files.
8729 2001-08-02 André Pönitz <poenitz@gmx.net>
8732 BufferView_pimpl.C: remove broken special code for math-greek
8734 2001-08-02 Juergen Vigna <jug@sad.it>
8736 * BufferView_pimpl.C (update): redone this function so that we
8737 update the text again if there was a CHANGE_IN_DRAW.
8739 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8740 (drawFromTo): added a new internal bool which is used by draw() and
8742 (general): some cursor drawing problems fixed.
8744 2001-08-01 Juergen Vigna <jug@sad.it>
8746 * lyxfind.C (LyXFind): fixed
8747 (SearchForward): ditto
8748 (SearchBackward): ditto
8750 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8751 spurius drawing of the cursor in the main area.
8753 * text2.C (status): small fix which could lead to a segfault!
8754 (clearSelection): remove unneeded BufferView param.
8756 2001-08-01 André Pönitz <poenitz@gmx.net>
8758 * lyxfunc.C: small change due to changed mathed interface
8760 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8762 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8764 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8766 * lyxfunc.c: fail gracefully if file doesn't exist
8771 * BufferView_pimpl.C: IsDirWriteable() proto changed
8773 * LyXView.C: fix updateWindowTitle() to store the last title
8775 2001-07-31 Juergen Vigna <jug@sad.it>
8777 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8778 the font (wrong since using of Paragraph::highestFontInRange).
8780 * paragraph.C (highestFontInRange): added a default_size parameter.
8782 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8783 (setHeightOfRow): reformat
8785 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8787 * converter.[hC] + affected files: move to (inital-char)lowercase
8790 * ParagraphParameters.C (ParagraphParameters): remove commented code
8792 * PainterBase.[Ch]: remove commented code
8794 * LaTeXFeatures.h: add "bool floats" for float.sty
8796 * LaTeXFeatures.C (LaTeXFeatures): init floats
8797 (require): handle float
8798 (getPackages): do it with floats
8800 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8802 * BufferView_pimpl.C (Dispatch): improve handling of
8803 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8805 * commandtags.h: #include lyxfont.h here temporarily to avoid
8808 * bufferlist.h: include LString.h here.
8810 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8812 * text2.C (getStringToIndex): new method.
8814 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8816 * *: Reduced header file dependencies all over.
8818 2001-07-30 Baruch Even <baruch@lyx.org>
8820 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8822 2001-07-29 Baruch Even <baruch@lyx.org>
8824 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8826 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8828 * ParameterStruct.h (endif): add a default constructor to make
8829 sure that all variables is initialized.
8831 * ParagraphParameters.C (ParagraphParameters): adjust
8833 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8835 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8836 index; also, check that there is something to index, and that it
8837 does not span over several paragraphs.
8838 (doubleClick): use WHOLE_WORD_STRICT for double click.
8840 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8842 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8845 2001-07-26 Baruch Even <baruch@lyx.org>
8847 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8848 an InsetFig figure, backwards compatible reading of old figure code.
8850 2001-07-27 Juergen Vigna <jug@sad.it>
8852 * text2.C: font.realize function adaption.
8854 * text.C (draw): add a warnings lyxerr text if needed.
8856 * layout.C: font.realize function adaption.
8858 * language.C: add inherit_language and implement it's handlings
8860 * bufferview_funcs.C (StyleReset): remove language parameter from
8861 font creation (should be language_inherit now).
8863 * bufferparams.C (writeFile): handle ignore_language.
8865 * paragraph.C (getFontSettings): the language has to be resolved
8866 otherwise we have problems in LyXFont!
8868 * lyxfont.C (lyxWriteChanges): added document_language parameter
8869 (update): removed unneeded language parameter
8871 * paragraph.C (validate): fixed wrong output of color-package when
8872 using interface colors for certain fonts in certain environments,
8873 which should not seen as that on the final output.
8875 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8877 * BufferView_pimpl.C:
8882 * LyXAction.C: add thesaurus support
8885 * lyxfind.C: add "once" parameter, for thesaurus, to not
8886 move to the next match
8888 2001-07-26 Juergen Vigna <jug@sad.it>
8890 * lyxfont.C (realize): honor ignore_language too!
8893 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8895 * text.C (draw): one place more for ignore_language to not draw
8898 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8900 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8902 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8904 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8905 the minipage conversion problem.
8907 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8909 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8912 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8914 * BufferView.h: don't forward declare WorkArea
8916 * BufferView.C: don't include WorkArea.h
8918 2001-07-25 André Pönitz <poenitz@gmx.net>
8922 * lyxfunc.C: new LFUN 'math-space'
8924 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8926 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8928 * text2.C (toggleInset): call open/close
8930 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8932 * lyxfunc.C (dispatch): add debug for the disabled case
8934 * font.C (buttonText): make similar to rectText
8936 * buffer.C (readInset): comment out parsing of insetlist and
8939 * PainterBase.C (rectText): small correction
8941 * BufferView_pimpl.C: comment out insettheorem and insetlist
8942 * LyXAction.C: ditto
8943 * commandtags.h: ditto
8945 2001-07-24 Juergen Vigna <jug@sad.it>
8947 * text.C (draw): honor the ignore_language.
8949 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8951 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8953 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8956 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8958 * lyxtext.h: remove unused (and unimplemented) methods
8960 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8962 * text.C (getVisibleRow): honor background color
8965 * Painter.h: remove default color argument for fillRectangle
8967 * text.C (backgroundColor): new method
8969 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8971 * text.C (getVisibleRow): adjust
8973 * font.[Ch] (rectText): new method, metrics
8974 (buttonText): new method, metrics
8976 * PainterBase.[hC]: make rectText and buttonText always draw and take
8979 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8981 * ToolbarDefaults.C (read):
8982 * MenuBackend.C (read): allow escaping in all strings
8984 * BufferView_pimpl.C (insertAndEditInset): new method.
8985 (Dispatch): use insertAndEditInset whenever appropriate.
8987 * BufferView_pimpl.C (insertNote): removed
8989 * BufferView_pimpl.C (smartQuote): new method, moved from
8990 BufferView; if an insetquote cannot be inserted, insert a '"'
8993 * BufferView2.C: remove insertCorrectQuote();
8995 * lyxfunc.C (getStatus): Add support for all remaingin
8998 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9000 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9001 command (necessary to pass " as parameter of self-insert.
9003 * text.C (selectWordWhenUnderCursor):
9004 (selectWord): add word_location parameter
9005 (selectWordWhenUnderCursor): same + remove special code for word
9007 (selectNextWord): use kind() to guess type of insetspecialchar,
9010 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9011 (insertErtContents): create ert insets as collapsed.
9012 (readInset): better compatibility code for Info inset.
9014 2001-07-20 Juergen Vigna <jug@sad.it>
9016 * lyxfunc.C (dispatch): use always LyXFind now!
9018 * text2.C (init): add a reinit flag so that the LyXText can be
9019 reinited instead of deleted and reallocated (used in InsetText).
9021 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9027 2001-07-18 Juergen Vigna <jug@sad.it>
9029 * text.C (selectNextWord): handle insets inside inset by calling
9030 always the bv->text functions so that we can go up the_locking_inset!
9032 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9033 in strange locations when inside an inset!
9035 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9036 handling to include insets.
9038 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9040 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9042 * LyXAction.C (init):
9044 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9045 LIGATURE_BREAK, since the name is so stupid.
9047 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9049 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9052 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9054 * sp_form.[Ch]: remove.
9056 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9058 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9061 * src/buffer.C (readInset): ditto.
9063 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9065 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9066 menuSeparator(), endOfSentenceDot(), ldots() and
9067 hyphenationPoint(), which are therefore removed.
9068 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9070 * LyXAction.C (init):
9071 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9073 * paragraph.C (getWord): removed.
9075 * BufferView_pimpl.C (Dispatch): use last word or selection for
9076 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9078 * lyx_main.C (queryUserLyXDir): do not ask before creating
9079 user_dir, except if it has been named explicitely.
9081 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9083 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9084 a document of zero size.
9086 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9088 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9089 approriately in the c-tor and in require().
9090 (getPackages): output the appropriate LaTeX for natbib support.
9092 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9093 variables "use_natbib" and "use_numerical_citations" when reading the
9095 (readInset): read the various natbib cite commands.
9096 (validate): white-space change.
9098 * bufferparams.[Ch]: new variables "bool use_natbib" and
9099 "bool use_numerical_citations".
9100 (writeFile): output them in the LyX file.
9102 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9104 * lyxfunc.C (getStatus): add support for all the inset insertion
9107 * text2.C (insertInset):
9108 * paragraph.C (insetAllowed):
9109 * BufferView_pimpl.C (insertInset): update to take in account the
9110 renaming of insertInsetAllowed
9112 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9114 * text2.C (getInset): new method. returns inset at cursor position.
9116 * BufferView_pimpl.C (Dispatch): changes because of this.
9118 * LyXAction.C (init): rename open-stuff to inset-toggle.
9120 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9122 * text2.C (toggleInset): renamed from openStuff; use
9125 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9127 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9129 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9131 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9133 * buffer.C (readLyXformat2): Add filename to the error dialog
9135 2001-07-18 Juergen Vigna <jug@sad.it>
9137 * tabular.C (GetCellNumber): put an assert here instead of the check!
9139 2001-07-17 Juergen Vigna <jug@sad.it>
9141 * BufferView_pimpl.C (toggleSelection): adapted too.
9143 * text.C (selectNextWord): adapted for use with insets.
9144 (selectSelectedWord): ditto
9146 2001-07-17 Juergen Vigna <jug@sad.it>
9148 * sp_spell.C (PSpell): fix initialitation order.
9150 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9152 * paragraph.C: spacing
9154 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9156 * sp_spell.C: repair language selection for pspell
9158 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9160 * lyxfunc.h: change more methods to begin with lower char.
9162 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9164 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9165 for unknown layouts.
9167 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9169 * buffer.C (readLyXformat2): Generate an error dialog if there are
9172 2001-07-16 Juergen Vigna <jug@sad.it>
9174 * sp_spell.C: always compile ISpell part.
9176 * lyxrc.C: added use_pspell entry and it's handling.
9178 2001-07-13 Juergen Vigna <jug@sad.it>
9180 * sp_spell.C: removed double includes.
9182 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9184 Consistent use of Lsstream.h:
9185 * Lsstream.h: added using std::stringstream for consistencies sake.
9187 * buffer.C: removed using std::stringstream
9189 * lyxfont.C (stateText):
9190 * paragraph.C (asString):
9191 * text.C (selectNextWord, selectSelectedWord):
9192 * text2.C (setCounter):
9193 * vspace.C (asString, asLatexString):
9194 std::ostringstream -> ostringstream.
9196 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9198 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9199 * commandtags.h: add LFUN_HELP_ABOUTLYX
9200 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9202 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9204 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9206 * lyx_gui_misc.C: remove spellchecker
9207 * lyxfunc.C: showSpellchecker
9209 * sp_ispell.h: added
9210 * sp_pspell.h: added
9212 * sp_form.[Ch]: removed
9213 * spellchecker.[Ch]: removed
9215 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9217 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9219 (simpleTeXSpecialChars): Simply print the input character without
9220 any special translation if pass_thru is set.
9222 * layout.h: Added bool pass_thru to layout class for being able to
9223 implement pass through of a paragraph for Literate Programming.
9225 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9226 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9227 * layout.C (Read): add "passthru" to list of layout tags and add
9228 code to set the pass_thru boolean when it is read.
9230 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9232 * trans_decl.h: remove allowed from KmodInfo
9234 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9238 * paragraph_pimpl.C (erase): use boost::prior
9240 * Painter.C (text): use data() instead of c_str() when length is
9242 * WorkArea.C (putClipboard): ditto
9243 * font.h (width): ditto
9245 * BufferView2.C: use it-> instead of (*it). for iterators
9247 * paragraph_pimpl.C: ditto
9248 * paragraph.C: ditto
9249 * minibuffer.C: ditto
9254 * converter.C: ditto
9256 * Variables.C: ditto
9257 * TextCache.C: ditto
9258 * MenuBackend.C: ditto
9259 * LyXAction.C: ditto
9261 * FloatList.C: ditto
9263 * ColorHandler.C (LyXColorHandler): ditto
9265 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9267 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9269 * text2.C (openStuff): reintroduce this method (which had been
9270 nuked in NEW_INSETS frenzy).
9272 * lyxfunc.C (Dispatch): when an action has not been handled, use
9273 its name in the error message, not its number.
9275 * paragraph.C (inInset): change method name to begin with lowercase.
9278 * text2.C: updates because of this.
9280 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9282 * ToolbarDefaults.C (add): add spaces in error message
9284 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9286 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9287 (readLyXformat2): rename return_par to first_par, use lyxlex's
9288 pushToken and remove the manual push handling.
9289 (parseSingleLyXformat2Token): add another ert comp. variable:
9290 in_tabular, rename return_par to first_par. handle newlines better
9292 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9294 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9296 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9298 * text2.C (getParFromID): removed
9300 * buffer.C (getParFromID): new method moved form lyxtext.
9301 * BufferView2.C (insertErrors): adjust
9302 (setCursorFromRow): adjust
9303 * BufferView_pimpl.C (restorePosition): adjust
9304 * lyxfunc.C (Dispatch): adjust
9305 * undo_funcs.C (textUndo): adjust
9307 (textHandleUndo): adjust
9308 (textHandleUndo): adjust
9310 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9312 * buffer.C: up' the LYX_FORMAT
9314 * lyxfont.h: turn NO_LATEX on as default
9316 * buffer.C (insertErtContents): new methods of tex style compability.
9317 (parseSingleLyXformat2Token): use it several places.
9318 * tabular.C (OldFormatRead): and here
9320 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9322 * text2.C: remove some commented code.
9325 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9326 * trans.C: changes because of the above.
9328 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9330 * text2.C (setCounter): Fix counters bug with bibliography layout.
9332 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9334 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9335 own member functions
9336 (simpleTeXSpecialChars): ditto
9338 2001-07-06 Juergen Vigna <jug@sad.it>
9340 * a lot of files: changed the access to LyXText::status and the
9341 call of undo-functions.
9343 * undo.[Ch]: added a inset_id to the undo informations.
9345 * undo_funcs.[Ch]: added and moved here all undo functions.
9347 * lyxtext.h: give the status enum a weight, made status_ a private
9348 variable and made accessor functions for it, removed the whole bunch
9349 of undo-functions as they are now in their own file, make some
9350 functions publically available. Added function ownerParagraph with
9353 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9354 made InInset() a const function, added getParFromID() function.
9356 * buffer.[Ch]: added const version for inset_iterator functions,
9357 added getInsetFromID() function.
9359 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9360 changed undo functions for new version.
9362 2001-07-05 Juergen Vigna <jug@sad.it>
9364 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9365 unknow mechanism does not call the proper constructor but only this
9366 one also if I request the other!?
9368 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9370 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9372 * text2.C (LyXText): use initialization lists.
9374 * lyxtext.h (Selection): initialize set_ and mark_
9375 (init): remove method
9377 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9379 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9381 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9383 * screen.[Ch]: change method names to begin with lowercase
9385 * BufferView_pimpl.C (updateScrollbar): simplify further and
9386 hopefully make it a bit faster.
9388 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9390 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9391 calling directly xforms functions.
9393 * Painter.C (Painter):
9394 * lyx_cb.C (MenuWrite):
9395 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9398 * lyx_gui.C: remove bogus guiruntime extern declaration.
9400 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9402 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9404 (redoDrawingOfParagraph): ditto
9405 (redoParagraphs): ditto
9406 (cutSelection): don't create a object for CutAndPaste use the
9407 static method directly
9408 (pasteSelection): ditto
9410 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9413 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9415 * modifications to some other files because of this.
9417 * Makefile.am (lyx_SOURCES): add XFormsView
9419 * XFormsView.[Ch]: new files
9421 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9422 the main window. Move the gui dependent stuff to XFormsView
9424 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9426 * tabular.C (GetCellInset): update cur_cell also in the row/col
9427 version of this function.
9429 * lyxfunc.C: no need to include figure_form.h here.
9435 * lyxvc.C: no need to include forms.h here.
9437 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9439 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9441 * lyxfunc.C (Dispatch):
9443 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9444 constructor argument.
9446 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9448 * paragraph.C (Paragraph): dont't clear, and just set layout.
9449 (makeSameLayout): use params's copy contructor.
9451 * ParagraphParameters.[Ch] (makeSame): delete method
9453 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9455 * Variables.[Ch]: fix indentation, rename set to isSet
9457 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9459 * lyxfunc.C (Dispatch): fix typo
9461 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9463 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9466 * bufferlist.C: include assert.h for emergencyWrite().
9468 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9470 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9471 give up at last (bug #425202) !
9473 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9479 * spellchecker.C: strip spellchecker options and bring up
9480 preferences tab instead
9482 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9484 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9485 the istringstream constructor
9487 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9489 * paragraph.C (getLayout): fix return value
9491 * paragraph.h: do not declare getLayout as inline.
9493 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9495 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9497 * lyxcursor.h (operator<): new func
9498 (operator>): new func
9499 (operator>=): new func
9500 (operator<=): new func
9502 * text.C (changeCase): use selection.start and selection.end
9503 (changeRegionCase): require from to be <= to. Require par to be a
9506 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9508 2001-06-27 Juergen Vigna <jug@sad.it>
9510 * text.C (cursorLeftOneWord): changed to return the cursor and added
9511 overlay with BufferView * parameter which calls this one.
9513 (selectWord): use new getWord function.
9514 (changeCase): renamed from changeWordCase as and extended to work
9517 * lyxtext.h: added enum word_location
9519 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9520 changeCase as this operates now also on selections.
9522 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9524 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9526 * many files: send debug output to Debug::INFO instead of
9529 * converter.C (View):
9531 (Move): send debug output to Debug::FILES instead of console.
9533 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9535 * lyxfunc.C (getStatus): use func_status
9537 * func_status.h: new header, describing the results of
9540 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9543 2001-06-25 The LyX Project <jug@sad.it>
9545 * buffer.C (sgmlOpenTag):
9547 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9549 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9551 * text2.C: remove some dead code
9553 * tabular.C (GetCellInset): store the last cell checked (gotten)
9555 * tabular.h: add the helper for the speedup
9557 * lyxtext.h: remove some dead code
9559 2001-06-26 The LyX Project <Asger>
9561 * paragraph.C: Change export to LaTeX of alignment to
9562 \begin{center} and family for better roundtrip work with reLyX.
9564 * Tune the math drawing a bit.
9566 2001-06-25 The LyX Project <Asger>
9568 * LColor.C (LColor): New color for math background. New color
9571 2001-06-25 The LyX Project <jug@sad.it>
9573 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9576 * bufferlist.C (newFile): do not restrict to files ending with
9579 * BufferView_pimpl.C (MenuInsertLyXFile):
9581 2001-06-24 The LyX Project <jug@sad.it>
9583 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9586 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9588 * lyxtext.h: rename most methods to begin with a small char.
9589 Lots of changes because of this.
9591 * paragraph.C (Paragraph): do not call fitToSize
9592 (erase): call Pimpl::erase
9593 (insertChar): call Pimpl::insertChar
9594 (insertInset): call Pipl::insertInset
9595 (breakParagraph): do not call fitToSize
9596 (breakParagraphConservative): do not call fitToSize
9597 (fitToSize): remove method
9599 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9601 2001-06-24 The LyX Project <Asger>
9603 * Fix Qt compilation^2
9605 2001-06-24 The LyX Project <jug@sad.it>
9607 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9608 depthHook(getDepth()-1).
9611 * ParagraphParameters.h:
9612 * ParameterStruct.h: change type of depth to unsigned int ==
9613 depth_type. Many adaptations to other files before of that.
9615 2001-06-24 The LyX Project <Asger>
9617 * Fix Qt compilation.
9619 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9621 * paragraph.h: renamed several methods to begin with small letter.
9622 several changes to many parts of the code because of this.
9624 2001-06-23 The LyX Project <jug@sad.it>
9626 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9627 rewritten to discard all double spaces when KeepEmpty is off
9628 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9629 to only handle newlines but not fiddle with spaces and friends.
9631 * lyxfunc.C (MenuNew): when doing 'new from template', use
9632 template_path as default directory
9634 2001-06-23 The LyX Project <Asger>
9636 * Clean-up of header file includes all over
9637 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9639 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9641 * paragraph.h: renamed from lyxparagraph.h
9643 2001-06-23 Asger <lyx@violet.home.sad.it>
9645 * Buffer.h: Removed Buffer::resize
9646 * BufferList.h: Removed BufferList::resize
9647 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9648 the document lazily when we change the width, or the font settings.
9650 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9652 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9654 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9656 * buffer.h: remove out of date comment
9658 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9661 * screen.C: fix "theoretical" GC leak
9663 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9665 * LaTeX.C (scanAuxFile):
9666 (deplog): remove trailing \r when reading stream (useful under
9669 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9671 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9672 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9673 and BufferView::theLockingInset(Inset*), so should use them and not
9674 access bv_->text->the_locking_inset directly.
9676 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9678 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9681 * tex-defs.h: remove old unused file
9683 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9685 * BufferView_pimpl.C: fix typo, remove minibuffer message
9686 when buffer has loaded
9688 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9690 * lyxfunc.C (Dispatch): use stringstream
9691 (MenuNew): use stringstream
9692 (Open): use stringstream
9694 * importer.C (Import): use stringstream
9696 * bufferview_funcs.C (CurrentState): use stringstream
9698 * LaTeX.C (run): use stringstream
9700 * BufferView_pimpl.C (savePosition): use stringstream
9701 (restorePosition): use stringstream
9702 (MenuInsertLyXFile): use stringstream
9704 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9717 * vspace.C: removed // -*- C++ -*- as first line.
9720 * version.h: added // -*- C++ -*- as first line.
9722 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9724 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9726 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9729 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9731 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9734 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9736 * gettext.C: include LString.h even when --disable-nls is on.
9738 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9740 * converter.h (Get): changed argument type from int to
9741 FormatList::size_type to avoid unnecessary conversion.
9743 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9746 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9748 * gettext.h: include LString.h even when --disable-nls is on.
9750 2001-06-07 Juergen Vigna <jug@sad.it>
9752 * text.C (BreakAgain): subst spaces with tabs.
9754 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9755 (resizeInsetsLyXText): set force on resizeLyXText.
9757 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9759 * gettext.h (gettext_init):
9760 (locale_init): use a real definition instead of a macro
9762 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9764 * Bufferview_pimpl.C:
9766 * LColor.C: further lcolor tidies
9768 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9770 * BufferView_pimpl.C (updateScrollbar): simplify.
9772 * BufferView2.C: don't include insets/insetinfo.h, change
9773 prototype for insertInset and call the Pimpl version. let
9774 updateInset call Pimpl version.
9776 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9777 gotoInset to BufferView::Pimpl
9779 2001-06-01 Juergen Vigna <jug@sad.it>
9781 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9782 inside a LockingInset (is the update needed at all?).
9784 2001-05-31 Juergen Vigna <jug@sad.it>
9786 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9787 here not the old one otherwise how should we compare it afterwards
9790 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9795 * FontInfo.C: bring C functions into global namespace when
9798 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9800 * LString.h: make sure config.h has been loaded before LString.h.
9802 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9803 (one for each char read by EatLine!).
9805 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9808 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9810 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9811 to the same as the par we break from
9813 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9815 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9817 * MenuBackend.C (expand): also create menu entries for wide
9818 versions of the floats.
9820 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9822 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9824 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9825 frontends/Makefile.am
9831 * tabular.C (getTokenValue): add std::
9833 * tabular-old.C (getTokenValue): add std::
9834 (getTokenValue): ditto
9835 (getTokenValue): ditto
9837 * screen.C (ToggleSelection): adjust
9839 * lyxtext.h: put selection cursors inside a Selection struct.
9841 * lyxfunc.C (moveCursorUpdate): adjust
9843 * lyxfont.C (latexWriteStartChanges): add std::
9847 * font.h: delete with(char const *, LyXFont const &)
9849 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9851 * FontInfo.C (getFontname): add std::
9853 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9854 (workAreaButtonPress): adjust
9855 (tripleClick): adjust
9857 (moveCursorUpdate): adjust
9860 * BufferView2.C (gotoInset): adjust
9862 2001-05-30 Juergen Vigna <jug@sad.it>
9864 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9865 to check pspell I add this as default as I now have new pspell
9866 libraries and they seem to use this.
9868 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9870 * text2.C (CutSelection): make the cursor valid before the call to
9873 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9875 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9876 relied on 0 terminated strings and other horrors. Bug found due to
9877 the new assert in lyxstring!
9879 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9882 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9884 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9887 * lyxfunc.C (processKeySym): change method of getting to the
9890 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9891 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9892 * BufferView_pimpl.[Ch]: here as private methods.
9894 2001-05-28 Juergen Vigna <jug@sad.it>
9896 * text.C (SetHeightOfRow): added the update() call again as it is
9897 needed to initialize inset dimensions!
9899 2001-05-16 Juergen Vigna <jug@sad.it>
9901 * text2.C (SetCharFont): Add new function with BufferView * and
9902 bool toggleall parameters for setting insets internal fonts.
9903 (SetFont): Freeze the undo as we may change fonts in Insets and
9904 all this change should be inside only one Undo!
9906 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9907 setting font's in insets as for them we have the SetFont function!
9909 2001-05-15 Juergen Vigna <jug@sad.it>
9911 * text2.C (ClearSelection): to be sure we REALLY don't have any
9914 * tabular.C (TeXCellPreamble): fixed the left border problem for
9917 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9919 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9922 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9924 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9925 LFUN_BREAKPARAGRAPH.
9927 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9928 help test to "internal only", similar for LFUN_INSERT_URL
9930 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9931 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9932 auto_region_delete and deadkeys.
9934 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9937 * LColor.C: remove some dead entries, tidy a little
9939 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9941 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9943 (Dispatch): implement LFUN_ESCAPE
9945 * commandtags.h: add LFUN_ESCAPE
9947 * LyXAction.C (init): add entry for LFUN_ESCAPE
9949 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9950 Remove commented code.
9951 (insertNote): moved here
9952 (open_new_inset): moved here
9954 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9957 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9959 * kbmap.C (findbinding): clean it up and make it work correctly.
9961 * lyx_main.C (init): do not pass argc and argv as parameters
9963 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9965 * buffer.C: fix path for OS/2 & Win32
9969 * lyx_main.C: Added os:: class.
9971 * os2_defines.h: update
9973 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9975 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9976 better by trying again with reduced state.
9978 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9980 * lyxrc.C (read): print error about invalid key sequence only when
9981 debugging (because not all latinX keysyms are known to some X
9984 * kbsequence.C (getiso): add a few std:: qualifiers
9985 (getiso): comment out extra return statement.
9987 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9989 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9991 (Dispatch): enhance the accent inset a bit. (not perfect)
9993 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9995 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9997 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9999 * bufferlist.C (emergencyWrite): fix assert() call
10001 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10003 * text.C (InsertChar): Added trivial patch to only send the "you
10004 can not do multiple spaces this way" message once during a
10007 2001-05-08 Baruch Even <baruch@lyx.org>
10009 * Makefile.am: Changed order of libraries to get LyX to link properly
10010 with the gnome frontend.
10012 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10014 * LaTeXFeatures.h: add a std:: qualifier
10016 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10018 * paragraph.C (String): use stringstream
10020 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10022 * paragraph.C (writeFile): remove footflag arg
10024 * buffer.C (makeLaTeXFile): use stringstream
10025 (latexParagraphs): remove footnot gurba
10027 * LaTeXFeatures.C (getPackages): use stringstream
10028 (getMacros): likewise
10029 (getTClassPreamble): likewise
10030 (getFloatDefinitions): new method
10032 * paragraph.C (writeFile): reindent
10035 * WorkArea.h: revert the xpos + etc changes.
10037 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10039 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10041 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10042 (pasteSelection): likewise
10043 * text2.C (CreateUndo): likewise
10045 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10047 * minibuffer.C (peek_event): temporarily reduce the functionality
10048 of the minibuffer (to allow args on lfuns)
10050 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10051 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10053 * buffer.C (readInset): add compability reading of old float
10054 lists, add reading of new style float list.
10055 (readInset): avoid reevaluation of inscmd.getCmdName()
10056 (getLists): reindent
10058 * MenuBackend.C (MenuItem): implement parsing of
10059 md_floatlistinsert and md_floatinsert.
10060 (expand::LastFiles): move initalizaton of iterators out of loop,
10061 avoid reevaluation.
10062 (expand::Documents): introduce typdedef vector<string> Strings,
10064 (expand::ExportFormats): introduce typedef vector<Format const *>
10065 Formats, and use it.
10066 (expand): implement FloatListInsert and FloatInsert.
10068 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10069 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10070 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10072 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10074 (Dispatch::LFUN_FLOAT_LIST): implement
10076 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10078 * LaTeX.C (run): Fix problem with --export code.
10080 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10082 * BufferView.[Ch] (workarea): removed.
10083 (getClipboard) new method; wrapper for workarea()->getClipboard()
10085 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10088 * WorkArea.h (width, height, xpos, ypos): These methods all
10089 returned the dimensions of the work_area sub-area of WorkArea,
10090 resulting in a position error if the WorkArea were resized. Now
10091 return the dimensions of the entire WorkArea.
10093 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10095 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10097 * LaTeX.C (deplog): correct the syntax of regex reg1
10099 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10101 * undo.C: remove !NEW_INSETS cruft
10103 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10105 * text2.C: remove !NEW_INSETS cruft
10107 * text.C: remove !NEW_INSETS cruft
10109 * tabular.C: remove !NEW_INSETS cruft
10111 * spellchecker.C: remove !NEW_INSETS cruft
10113 * lyxtext.h: remove !NEW_INSETS cruft
10115 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10117 * lyxfunc.C: remove !NEW_INSETS cruft
10119 * lyxfind.C: remove !NEW_INSETS cruft
10121 * lyx_cb.C: remove !NEW_INSETS cruft
10123 * figureForm.C: remove !NEW_INSETS cruft
10125 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10127 * buffer.[Ch]: remove !NEW_INSETS cruft
10129 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10131 * CutAndPaste.C: remove !NEW_INSETS cruft
10133 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10135 * BufferView2.C: remove !NEW_INSETS cruft
10137 * BufferView.h: remove !NEW_INSETS cruft
10139 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10141 * Lsstream.h: include LString.h before the sstream headers to
10142 fix problem with gcc 2.95.3 and lyxstring
10144 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10146 * lyx_main.C: add using directives when needed for C functions
10147 declared in std:: namespace.
10149 2001-04-27 Juergen Vigna <jug@sad.it>
10151 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10152 (SetHeightOfRow): comment out the update call should not be needed!
10154 2001-04-13 Juergen Vigna <jug@sad.it>
10156 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10157 (LyXTabular): tried to minimize operator= operations (and realized
10158 hopfully Lars wish).
10160 2001-04-27 Juergen Vigna <jug@sad.it>
10162 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10164 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10166 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10168 * buffer.C (readInset): hack to make listof algorithm work
10170 * BufferView_pimpl.C: hack to make listof algorithm work
10172 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10174 * LyXAction.C: removed all !NEW_INSETS cruft
10175 (init): moved lfun_item in method
10177 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10179 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10181 * BufferView2.C (theLockingInset): white space.
10183 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10185 * minibuffer.C: include <iostream>
10187 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10189 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10191 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10193 * text.[Ch] (TransposeChars): new method
10195 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10197 * call message directly through LyXView instead of through LyXFunc
10198 * BufferView2.C: adjust
10199 * BufferView_pimpl.C: adjust
10200 * FontLoader.C: adjust
10202 * bufferview_funcs.C: adjust
10203 * converter.C: adjust
10204 * figureForm.C: adjust
10205 * importer.C: adjust
10207 * lyx_gui_misc.C: adjust
10208 * lyxfunc.C: adjust
10211 + more files in subdirs
10213 * lyxparagraph.h (size): move up int file
10216 * adjust all uses of Assert to lyx::Assert.
10218 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10219 lyxfunctional in namespace lyx
10220 * layout.C (hasLayout): ditto
10223 (delete_layout): ditto
10224 (NumberOfClass): ditto
10225 * converter.C (GetFormat): ditto
10230 * bufferlist.C (getFileNames): ditto
10231 (emergencyWriteAll): ditto
10234 * MenuBackend.C (hasSubmenu): ditto
10237 * BufferView_pimpl.C (getInsetByCode): ditto
10239 2001-04-18 Juergen Vigna <jug@sad.it>
10241 * vspace.C (asLatexString): fixed the 100% problem.
10243 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10245 * lyxfunc.C (Dispatch):
10247 * minibuffer.h: add a few std:: qualifiers
10249 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10251 * minibuffer.[Ch]: reimplement so that commands is initiated and
10252 run from lyxfunc, simplified som handling, and made the completion
10253 and history code for complete. wip.
10255 * lyxfunc.C (processKeySym): call message
10256 (miniDispatch): new temporary method
10257 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10258 (LFUN_MESSAGE): implement
10259 (LFUN_MESSAGE_PUSH): implement
10260 (LFUN_MESSAGE_POP): implement
10261 (initMiniBuffer): the initial/defualt minibuffer message.
10263 * lyxfont.[Ch]: inline some more getters
10265 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10267 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10269 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10270 (AutoSave): use LFUN_MESSAGE
10271 (Reconfigure): ditto
10273 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10275 * figureForm.C: use LFUN_MESSAGE
10277 * converter.C (runLaTeX): use LFUN_MESSAGE
10279 * bufferview_funcs.C: use LFUN_MESSAGE
10281 (changeDepth): ditto
10283 * bufferparams.h: use boost::
10285 * bufferlist.h: inherit privately from noncopyable
10287 * bufferlist.C (loadLyXFile): remove some commented code.
10289 * buffer.C (runChktex): use LFUN_MESSAGE
10291 * ShareContainer.h: inherit privately from noncopyable
10293 * ParagraphParameters.[hC] (depth): inline it.
10295 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10297 (message): new method
10298 (messagePush): ditto
10299 (messagePop): ditto
10300 (show): init minibuffer
10301 (showState): direct call
10303 * LaTeX.[Ch]: inherit privately from noncopyable
10304 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10305 instead of WriteStatus.
10307 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10309 * BufferView_pimpl.C (buffer): don't init minibuffer
10310 (workAreaButtonPress): use LFUN_MESSAGE
10311 (workAreaButtonRelease): ditto
10312 (savePosition): ditto
10313 (restorePosition): ditto
10314 (MenuInsertLyXFile): ditto
10315 (workAreaExpose): don't init minibuffer
10316 (update): remove commented code, simplify
10318 * BufferView2.C (openStuff): use LFUN_MESSAGE
10319 (toggleFloat): ditto
10322 (copyEnvironment): ditto
10323 (pasteEnvironment): ditto
10328 (updateInset): remove some commented code
10330 * lastfiles.h: inherit privately from noncopyable
10333 * lyx_main.h: ditto
10335 * lyxlex_pimpl.h: ditto
10337 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10338 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10339 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10341 * LyXAction.h: inherit privately from noncopyable, add methods
10342 func_begin, func_end, returning iterators to the func map.
10344 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10345 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10346 (func_begin): new method
10347 (func_end): new method
10349 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10351 (copySelection): ditto
10352 (pasteSelection): ditto
10354 * BufferView.C: whitespace change
10355 * BufferView.h: inherit privately from noncopyable
10357 2001-04-16 Allan Rae <rae@lyx.org>
10359 * tabular-old.C (l_getline):
10360 * spellchecker.C (sc_check_word):
10361 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10362 an unrecognised preprocessor directive. So ensure they're wrapped.
10364 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10366 * src/exporter.C (Export): Give an error message when path to file
10369 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10371 * LaTeX.C (deplog): Always check that foundfile exists.
10373 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10376 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10378 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10380 * tabular.[Ch] (getLabelList): implement new method
10382 * minibuffer.h: comment ouf setTiimer
10384 * minibuffer.C (ExecutingCB): constify res
10385 (peek_event): constify s
10386 (Set): constify ntext
10387 (Init): constify nicename
10389 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10391 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10392 (savePosition): use two params to Minibuffer::Set
10393 (restorePosition): ditto
10395 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10397 * lyx_main.C: include language.h
10399 * Makefile.am (lyx_main.o): add language.h
10401 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10407 * CutAndPaste.C: include gettext.h
10409 * lyxfont.h: remove old hack with ON and OFF.
10412 * lyxfont.h: do not include language.h...
10417 * bufferview_funcs.C:
10423 * paragraph.C: ... but do it here instead
10425 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10427 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10429 * tabular.C: small reformat
10431 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10434 (BreakParagraph): ditto
10435 (SetOnlyLayout): ditto
10438 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10441 * lastfiles.C: removed most using decl, add std:: where needed
10443 * buffer.C: ws changes
10445 * MenuBackend.C (class compare_format): put into anon namespace
10446 (expand): constify label, names, action, action2
10449 * text.C (SingleWidth): constify font
10450 (IsBoundary): constify rtl2
10451 (GetVisibleRow): constify ww
10453 * LaTeX.C (deplog): constify logfile
10455 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10457 (workAreaExpose): constify widthChange, heightChange
10459 * lyxrow.C (par): moved
10462 * lyxrow.h: as inlines here
10464 * lyxfont.h (shape): moved from lyxfont.C
10465 (emph): moved from lyxfont.C
10467 * lyxfont.C (LyXFont): use initialization list for all
10469 (shape): move to lyxfont.h as inline
10470 (emph): move to lyxfont.h as inline
10473 2001-04-04 Juergen Vigna <jug@sad.it>
10475 * vspace.C: had to include stdio.h for use of sscanf
10477 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10480 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10481 independent of xforms.
10483 2001-04-02 Juergen Vigna <jug@sad.it>
10485 * spellchecker.C: fixed namespace placing!
10487 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10489 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10490 the LyXParagraph * is 0.
10492 2001-03-29 Juergen Vigna <jug@sad.it>
10494 * vspace.C: added support for %, c%, p%, l%.
10495 (stringFromUnit): added helper function.
10496 (asLatexString): changed to give right results for the %-values.
10498 * buffer.C: convert the widthp in a width%.
10500 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10502 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10505 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10506 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10508 * lyx_cb.[Ch]: see above.
10510 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10514 * lyx.[Ch]: replaced by figure_form.[Ch].
10518 * lyxfunc.C: changed headers associated with above changes.
10520 2001-03-27 Juergen Vigna <jug@sad.it>
10522 * BufferView_pimpl.C: set the temporary cursor right!
10524 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10526 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10528 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10530 * LString.h: removed "using std::getline"!
10532 * BufferView_pimpl.C (Dispatch): changes due to changes in
10533 InsetInclude::Params.
10535 * buffer.C (tag_name): removed redundant break statements as they were
10536 producing lots of warnings with my compiler.
10538 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10540 * LString.h: add "using std::getline" when using the real <string>.
10542 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10544 * buffer.C: removed bitset usage.
10545 PAR_TAG moved to an anonymous name space.
10546 (tag_name): new funtion, also in the anonymous namespace.
10547 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10548 (makeDocBookFile): clean code. Completed transition from string arrays
10550 (SimpleDocBookOnePar): code clean.
10552 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10554 * tabular.C: add some comments.
10556 2001-03-22 Juergen Vigna <jug@sad.it>
10558 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10559 compatibility read a bit and fixed bug with minipage in different
10562 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10564 * buffer.C (pop_tag): removed.
10565 (push_tag): removed.
10566 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10567 array replaced with vector. Added support for CDATA sections.
10568 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10570 (makeDocBookFile): XML conformant declaration of CDATA section,
10571 fixed bug related to <emphasis> in the first paragraph char.
10572 (sgmlOpenTag): exclude empty tags.
10573 (sgmlCloseTag): ditto.
10575 * buffer.h (pop_tag): removed.
10576 (push_tag): removed.
10578 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10580 * language.h (Languages): added size_type and size().
10582 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10584 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10585 response on compability reading of minipages. One probliem is that
10586 the old usage of minipages was «flertydig»
10588 * several files here and in subdirs: don't use static at file
10589 scope use anon namespaces instead.
10591 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10593 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10594 LaTeX output. This is necessary for Literate document
10597 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10599 * buffer.C: insert hfill when needed.
10601 * tabular.C (l_getline): use string::erase, small whitespace change.
10603 * BufferView_pimpl.C: try the anon namespace.
10604 * WorkArea.C: ditto
10606 2001-03-16 Juergen Vigna <jug@sad.it>
10608 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10609 otherwise it won't open options-dialogs.
10611 * buffer.C: honor pextraWidth(p) on converting minipages.
10613 * tabular.C (l_getline): changed the functions to strip trailing \r.
10615 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10617 * BufferView_pimpl.C:
10618 * minibuffer..C: added "using SigC::slot" declaration.
10620 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10622 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10628 * paragraph.C: ditto
10630 * lyxtext.h: NO_PEXTRA
10632 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10634 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10635 * ParameterStruct.h: ditto
10636 * ParagraphParameters.h: ditto
10637 * lyxparagraph.h: ditto
10639 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10641 * buffer.C: add compability for minipage alignment.
10642 (latexParagraphs): remove unwanted pextra check.
10644 * several files: remove CXX_WORKING_NAMESPACES
10646 * buffer.C (pop_tag): tie is in namespace boost
10648 * BufferView.h: noncopyable is in namespace boost
10650 * lyx_main.h: ditto
10653 * lastfiles.h: ditto
10654 * bufferlist.h: ditto
10655 * ShareContainer.h: ditto
10657 * LyXAction.h: ditto
10660 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10662 * Merging changes from BRANCH_MVC back into HEAD.
10664 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10666 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10668 * BufferView_pimpl.C: change from intl.C
10672 * Makefile.am: move combox.*
10678 * intl.C: remove dialog (covered by prefs)
10680 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10682 * lyxfunc.C (Dispatch): removed redundant break statement.
10684 2001-03-14 Juergen Vigna <jug@sad.it>
10686 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10688 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10690 * buffer.C: add hack to fix compability reading of minipages.
10692 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10694 * buffer.C (getLists): Cleanup.
10696 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10698 * lyxfont.C (update): don't honor toggleall on font size.
10700 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10704 * Makefile.am: moved to frontends/xforms/
10708 * BufferView_pimpl.C: changes for moved mathpanel
10710 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10712 * gettext.h: fix gettext_init() in --disable-nls
10714 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10716 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10718 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10721 * lyx.h: strip external form
10723 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10725 * BufferView_pimpl.C: add comment, destroySplash()
10727 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10729 * BufferView_pimpl.C:
10733 * lyxfunc.C: use re-worked insetinclude
10735 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10737 * buffer.C: add using std::stringstream.
10739 * lyx_cb.C: readd using std::ios.
10741 * buffer.C: add using std::map.
10743 * BufferView_pimpl.C: add using std::vector.
10745 * ShareContainer.h: add std:: to swap.
10747 * buffer.h: add some typedefs
10748 * buffer.C (getLists): use them
10749 (getLists): renamed from getTocList.
10750 add a counter for the different float types and use it in the
10752 (getLists): use the same counter for the NEW_INSETS and the "non"
10755 * lyx_cb.h: remove unused items, includes, using etc.
10757 * ShareContainer.h: remove some commented code, add more comments
10758 and "documentation".
10760 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10762 * buffer.C (getTocList): make the list also when NEW_INSETS is
10765 * buffer.h: remove TocType
10767 * buffer.C (getTocList): change to return a map<string,
10768 vector<TocItem> >, implement for dynamic number of list.
10770 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10771 * text2.C (PasteSelection): adjust
10772 * CutAndPaste.C (pasteSelection): adjust
10774 * FloatList.C (FloatList): update from the new_insets branch.
10775 * Floating.[Ch]: ditto
10776 * LaTeXFeatures.C: ditto
10778 * lyxlex_pimpl.C: ditto
10780 * paragraph.C (Last): remove when NEW_INSETS is defined.
10782 * other file: changes because of the above.
10784 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10786 * lyxparagraph.h: rename next to next_, previous to previous_,
10787 make them private for NEW_INSETS. Rename Next() to next(),
10788 Previous() to previous().
10790 * other files: changes because of the above.
10792 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10795 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10798 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10800 * main.C (main): pass lyx_localedir to gettext_init().
10802 * gettext.h: remove locale_init and gettext_init macros
10804 * gettext.C (locale_init): new function
10805 (gettext_init): new function
10807 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10810 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10812 * Moved credits to frontends:
10813 * credits.[Ch]: removed
10814 * credits_form.[Ch]: removed
10815 * lyx_gui_misc.C: remove credits stuff
10818 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10820 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10822 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10823 unneeded destructor.
10825 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10826 a standalone pointer again.
10828 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10830 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10836 * ToolbarDefaults.C:
10845 * BufferView_pimpl.C: use new file dialog in GUII
10848 * lyx_cb.C: remove LayoutsCB to Toolbar
10850 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10852 * ShareContainer.h (get): add std:: qualifier
10854 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10856 * ShareContainer.h: define a proper ShareContainer::value_type
10857 type (and use typename to please compaq cxx)
10859 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10861 * lyxparagraph.h: move serveral local vars to
10862 ParameterStruct/ParagraphParameters., use ShareContainer in
10863 FontTable., make vars in FontTable private and add getter and
10866 * paragraph.C: changes because of the above.
10868 * lyxfont.h: remove copy constructor and copy assignment. (the
10869 default ones is ok), move number inside FontBits. move inlines to
10872 * lyxfont.C: add number to initializaton of statics, move several
10873 inlines here. constify several local vars. some whitespace
10874 cleanup. Dont hide outerscope variables.
10876 * Spacing.h: add two new constructors to match the set methods.
10878 * ShareContainer.h: new file, will perhaps be moved to support
10880 * ParameterStruct.h: new file
10882 * ParagraphParameters.h: new file
10884 * ParagraphParameters.C: new file
10886 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10887 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10889 * BufferView_pimpl.C: ParagraphParameter changes.
10890 * buffer.C: Likewise.
10891 * bufferview_funcs.C: Likewise.
10892 * text.C: Likewise.
10893 * text2.C: Likewise.
10895 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10897 * lyxfind.C (LyXReplace): do not redefine default argument in
10899 (IsStringInText): ditto
10900 (SearchForward): ditto
10901 (SearchBackward): ditto
10903 2001-03-06 Juergen Vigna <jug@sad.it>
10905 * lyxfind.C (IsStringInText): put parentes around expressions.
10907 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10909 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10911 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10913 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10915 * stl_string_fwd.h: add comment
10917 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10920 * tabular.C: remove unused DocBook methods
10926 killed DO_USE_DEFAULT_LANGUAGE
10928 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10930 * lyx_gui.C: do not include language.h.
10932 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10933 arguments in function implementation.
10935 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10937 * BufferView_pimpl.C: add <ctime>
10939 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10941 * BufferView_pimpl.C: add using std::find_if
10943 2001-02-27 José Matos <jamatos@fep.up.pt>
10945 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10948 2001-02-11 José Matos <jamatos@fep.up.pt>
10950 * buffer.C (makeDocBookFile): command styles now have a parameter as
10951 "title" by default.
10953 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10955 * layout_forms.[Ch]: removed
10956 * lyx_cb.[Ch]: out character
10957 * lyx_gui.C: out character
10958 * lyx_gui_misc.C: out character
10959 * bufferview_funcs.C: : out character,
10960 added toggleall as parameter in ToggleAndShow
10962 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10964 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10966 * text2.C (SetCurrentFont): Disable number property at boundary.
10968 2001-02-26 Juergen Vigna <jug@sad.it>
10970 * lyxfunc.C (getStatus): added a string argument override function so
10971 that this is correctly called from LyXFunc::Dispatch if it contains a
10972 do_not_use_argument which is used!
10973 (Dispatch): added check for "custom" export and call appropriate func.
10975 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10977 * lyxrc.C: Add language_command_local, language_use_babel and
10978 language_global_options.
10980 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10982 * buffer.C (makeLaTeXFile): Use language_use_babel and
10983 language_global_options.
10985 2001-02-23 Juergen Vigna <jug@sad.it>
10987 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10988 which works with LyXText and putted it inside BufferView. Here now we
10989 only call for that part the BufferView::Dispatch() function.
10991 * BufferView.C (Dispatch): added.
10993 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10994 functions which needs to use a LyXText over from LyXFunc.
10995 (MenuInsertLyXFile): added
10996 (getInsetByCode): added
10997 (moveCursorUpdate): added
10998 (static TEXT): added
11000 2001-02-22 Juergen Vigna <jug@sad.it>
11002 * BufferView_pimpl.C (update): call a status update to see if LyXText
11005 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11007 * vc-backend.C (revert): implement for CVS
11008 (getLog): implement for CVS
11010 2001-02-20 Juergen Vigna <jug@sad.it>
11012 * text2.C (ClearSelection): added BufferView param for inset_owner call
11014 * lyxfunc.C (TEXT): added this function and use it instead of
11015 directly owner->view()-text of getLyXText().
11017 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11019 * src/layout_forms.C: out preamble
11020 * src/layout_forms.h: out preamble
11021 * src/lyx_cb.C: out preamble
11022 * src/lyx_cb.h: out preamble
11023 * src/lyx_gui.C: out preamble
11024 * src/lyx_gui_misc.C: out preamble
11025 * src/lyxfunc.C: connect with guii preamble
11027 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11029 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11031 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11033 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11034 whether to run bibtex.
11036 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11038 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11040 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11042 * Makefile.am (lyx_SOURCES): removed bibforms.h
11044 * vspace.h: doxygen
11046 * text.C (GetVisibleRow): make several local vars const
11048 * tabular.C: small cleanup.
11050 * lyxserver.C (callback): use compare instead of strncmp
11052 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11053 inlines to after class or to paragraph.C
11055 * lyxfont.h: remove friend operator!=
11057 * converter.h: move friend bool operator< to non friend and after
11060 * combox.h: small cleanup
11062 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11063 to inlines after class def.
11065 * buffer.C (pop_tag): use string operations instead of strcmp
11067 * bmtable.c: doxygen, small cleanup
11069 * LaTeX.h: remove friend operator==
11071 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11083 * BufferView_pimpl.C:
11084 * BufferView.[Ch]: remove cruft
11086 2001-02-14 Juergen Vigna <jug@sad.it>
11088 * lyxfunc.C: removed #if 0 unused code
11090 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11092 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11094 * text2.C (SetSelection): added a BufferView * parameter
11096 2001-02-13 Juergen Vigna <jug@sad.it>
11098 * lyxfunc.C (Dispatch): fixed protected blank problem.
11099 * BufferView2.C (protectedBlank): added LyxText * parameter.
11101 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11102 (AppendColumn): same as above for column_info.
11104 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11105 (moveCursorUpdate): use a LyXText param for support of InsetText.
11107 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11108 (tripleClick): ditto
11110 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11112 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11114 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11116 * text2.C (SetSelection): set correct update status if inset_owner
11117 (ToggleFree): ditto
11119 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11121 * tabular.C: remove some commented code.
11123 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11125 * BufferView_pimpl.C: call hideSplash()
11127 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11130 * bibforms.h: remove
11133 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11134 add LFUN_CHILD_CREATE
11136 * counters.h: fix tiny typo
11141 * lyx.C: move splash to frontends/xforms/
11143 * lyx_gui_misc.C: move Include and Bibform to frontends
11145 * lyxvc.h: clarify comment
11147 * vspace.C: tiny housekeeping
11149 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11151 * text.C (PrepareToPrint): RTL Fix.
11153 * paragraph.C (GetUChar): New method.
11154 (String): Use GetUChar.
11156 * buffer.C (asciiParagraph): Use GetUChar.
11158 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11160 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11162 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11165 * buffer.C: rename to getLogName(), handle
11166 build log / latex log nicely
11168 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11171 * MenuBackend.h: remove support for reference menuitem type.
11173 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11175 * BufferView_pimpl.C: housekeeping
11176 * BufferView_pimpl.h:
11181 * minibuffer.h: move Timeout GUI-I
11183 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11185 * lyxrc.C (read): Update converters data-structures.
11187 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11189 * LaTeX.h (operator!=): add operator != for Aux_Info
11191 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11193 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11195 * LaTeXLog.C: deleted, useful code moved to Buffer
11198 * buffer.C: new function getLatexLogName()
11204 * lyxfunc.C: use frontends for LaTeX and VC logs
11206 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11208 * LaTeX.h: yet another std:: that Allan forgot.
11210 * Variables.C (set): renamed from isset(), because this clashes
11211 with some HP-UX macros (grr).
11213 2001-02-06 Allan Rae <rae@lyx.org>
11215 * LaTeX.h: Another bug fix. Missing std:: this time.
11217 2001-02-04 Allan Rae <rae@lyx.org>
11219 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11220 floats problem. I've left it commented out because it's not quite
11221 correct. It should also test that the current object is a table or
11222 figure inset. But I haven't gotten around to figuring out how to do
11223 that. I *think* it'll be something like: "table" == inset.type()
11225 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11228 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11230 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11231 all the citation/databases/styles in the auxilary file.
11232 (run): Rerun latex if there was a babel language error.
11234 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11236 * text.C (Backspace): Preserve the font when changing newline char
11238 (BreakParagraph): If the cursor is before a space, delete the space.
11240 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11242 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11244 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11245 new argument (code).
11246 (ChangeCitationsIfUnique): New method.
11248 * paragraph.C (GetPositionOfInset): Handle bibkey.
11250 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11252 * BufferView_pimpl.h: change type of Position::par_pos to
11253 LyXParagraph::size_type.
11255 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11257 * BufferView_pimpl.C (savePosition, restorePosition): Write
11258 messages to minibuffer.
11260 2001-01-28 José Matos <jamatos@fep.up.pt>
11262 * buffer.C (makeDocBookFile): adds support for document language.
11263 A silly restriction on the name of LatexCommand types where removed.
11264 Added support for CDATA sections, allows to chars unescaped, used
11265 among others in code, to avoid escape < and >.
11267 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11269 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11270 saved positions instrad of a stack. Furthermore, a position is
11271 stored using paragraph id/paragraph position.
11273 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11274 Remove LFUN_REF_BACK.
11276 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11278 * converter.C (dvipdfm_options): New method.
11280 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11282 * vspace.C (isValidLength): Fix for empty input string.
11284 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11286 * LyXAction.C (init): change description of LFUN_FIGURE to
11289 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11291 * LaTeX.C: add using directive
11293 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11295 * MenuBackend.C (expand): Fix the sorting of the formats.
11297 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11299 * lyx_main.C: tiny error message fix
11301 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11303 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11304 calling fl_initialize(). This fixes the problem with ',' as
11305 decimal separator in text files.
11307 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11309 * trans.C (process): Fix the keymap bug.
11311 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11313 * LaTeX.C (scanAuxFiles): New method. Provides support for
11314 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11315 (scanLogFile) Scan for "run BibTeX" messages.
11317 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11318 OT1 font encoding. Also, load the aecompl package if the ae
11321 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11323 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11325 * texrow.C (increasePos): turn two error messages into debug
11328 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11330 * LaTeX.C (scanAux): Handle the \@input macro.
11331 (runBibTeX): Use scanAux().
11333 * language.C (latex_options_): New field.
11335 * LaTeXFeatures.C (getMacros): Add language macros.
11337 * buffer.C (makeLaTeXFile): Small fix.
11339 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11341 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11343 * text2.C: add a using directive.
11345 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11350 * lyxfunc.C: kill LyXBell.
11352 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11354 * text.C (IsBoundary): Remove the error message
11356 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11358 * lyxrc.C (setDefaults): Correct initialization value for
11361 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11363 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11366 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11367 and GotoNextNote().
11369 * src/LyXAction.C: Added reference-next.
11371 * text.C (InsertChar): Use contains instead of strchr.
11373 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11375 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11377 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11378 alignment commands (when needed).
11380 * text.C (InsertChar): Add ':' to number separator chars.