2 2003-07-02 André Pönitz <poenitz@gmx.net>
4 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6 2003-07-01 André Pönitz <poenitz@gmx.net>
13 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
14 text*.C to text_func.C
16 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
18 * introduce namespace lyx::support
20 2003-06-30 André Pönitz <poenitz@gmx.net>
25 * text.C: re-enable --with-included-string
27 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
29 * textcursor.C: add <config.h>
31 * text.C (getWord): remove const from word_location arg
33 * lyxvc.C (getLogFile): fix const type order
35 * lyxtext.h: remove const from word_location arg, add arg name
37 * lyxlayout.h: currect type on labeltype.
39 * importer.C: correct \file
41 * converter.C (intToFormat): use std:: on ret val, ws changes
43 * bufferlist.h: correct \file
45 * buffer.C (makeLinuxDocFile): fix const type order
46 (makeDocBookFile): ditto
47 (fillWithBibKeys): use std:: on stdlib args.
49 * CutAndPaste.C: fix authors.
50 (availableSelections): use std:: on return vector
52 2003-06-27 André Pönitz <poenitz@gmx.net>
63 * text3.C: remove LyXCursor::row_ member
66 * text.C: rename fullRebreak() to partialRebreak() and implement
67 a fullRebreak() that really bereks fully
69 * textcursor.h: new struct for cursor-related data
71 2003-06-26 Alfredo Brauntein <abraunst@lyx.org>
73 * lyx_main.C (LyX): get full path of document loaded on the
76 2003-06-26 André Pönitz <poenitz@gmx.net>
78 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
79 remove unused/broken operator>,<,>=.
81 * text.C: remove only use of broken operator<= in an Assert().
83 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
85 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
86 moved errorlist_.clear to showErrorList
88 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
90 * converter.C (scanLog, runLaTeX):
91 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
92 move the bv->showErrorList call to the callers
93 * lyxfunc.C: i.e. here...
95 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
96 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
97 namespace, the second to...
98 * buffer_funcs (BufferFormat, parseErrors): added
99 * errorlist.C (ErrorList(TeXErrors const &)): removed
101 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
103 * ToolbarBackend.C (getIcon): complain when icon cannot be found
105 2003-06-24 "Garst R. Reese" <reese@isn.net>
109 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
111 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
113 * version.C.in: change docversion to 1.4
115 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
117 * buffer.C: fix a bug just introduced
119 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
121 * buffer.[Ch]: added the parseError signal and use it, removed
123 * BufferView.[Ch] (addError): moved to ...
124 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
125 to the Buffer::parseError signal to catch (guess what) parse errors
126 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
128 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
130 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
131 ability to create a buffer and to return an existing one from
132 the list. Moved these functions to...
133 * buffer_funcs.[Ch]: added
134 * BufferView.[Ch] (loadLyXFile): added
135 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
136 job removed from bufferlist::loadLyXFile.
137 * buffer.C (setReadOnly): make it work without view
138 (i.e added an if (users))
140 2003-06-19 Angus Leeming <leeming@lyx.org>
143 * LyXAction.C (init):
144 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
145 with LFUN_DIALOG_SHOW <name> <data>.
147 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
149 * CutAndPaste.C (availableSelections): small compilation fix for
150 ancient (gcc 2.9x) compilers
152 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
154 * text3.C (cursorNext): add tmp var
156 * text2.C (updateCounters): for function calling out of for clause
157 (replaceSelectionWithString): ditto
158 (insertStringAsParagraphs): ditto
159 (getColumnNearX): add tmp var
160 (setCursorFromCoordinates): add tmp var
161 (cursorDownParagraph): add tmp var
162 (deleteEmptyParagraphMechanism): add tmp var
164 * text.C (insertChar): add tmp var
166 * rowpainter.C (paintDepthBar): add tmp var
168 * CutAndPaste.C (availableSelections): potentially check all
169 paragraphs in a cut to fill the shown strings.
171 2003-06-18 André Pönitz <poenitz@gmx.net>
173 * kbmap.[Ch]: use vector<> instead of list<>
175 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
177 * text3.C (dispatch): handle arg to LFUN_PASTE, call
178 pasteSelection with index
180 * text2.C (pasteSelection): modify, call pasteSelection with index
182 * paragraph.C (asString): reimplement version with no interval to
183 call the one with interval.
185 * lyxtext.h: add index arg to pasteSelection
187 * MenuBackend.C (MenuItem): handle PasteRecent
188 (Menu::read::Menutags): add md_pasterecent
190 (expandPasteRecent): new function
193 * MenuBackend.h: add PasteRecent to MenuItem::Kind
195 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
197 (availableSelections): new function
199 2003-06-17 Angus Leeming <leeming@lyx.org>
201 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
203 2003-06-17 Angus Leeming <leeming@lyx.org>
206 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
208 * lyxfunc.C (dispatch): invoke it.
210 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
212 * iterators.C (operator++, ParPosition): reintroduce some
213 const_cast for the benefit of older compilers.
215 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
217 * text3.C (dispatch): do not modify clipboard when doing
218 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
219 LFUN_DELETE_SKIP on a selection selection
221 2003-06-16 André Pönitz <poenitz@gmx.net>
227 * tabular.[Ch]: IU of clone() and getLabelList();
229 2003-06-13 André Pönitz <poenitz@gmx.net>
231 * tabular.h: compactification
233 2003-06-12 André Pönitz <poenitz@gmx.net>
237 * tabular_funcs.h: some renaming plus whitespace
239 2003-06-12 André Pönitz <poenitz@gmx.net>
242 * BufferView_pimpl.C:
248 * toc.C: Return a Paragraph & for ParIterator::operator*()
250 2003-06-11 John Levon <levon@movementarian.org>
254 * ToolbarBackend.C: add "Toolbars" section and
257 2003-06-10 Angus Leeming <leeming@lyx.org>
260 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
262 * lyxfunc.C (dispatch): invoke it.
264 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
266 * main.C: protect <ios> with HAVE_IOS
267 (main): protect sync_with_stdio with HAVE_IOS
269 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
271 * text2.C (cutSelection): adjust
272 (pasteSelection): adjust
274 * messages.C: handle get of empty string
276 * main.C (main): use sync_with_stdio(false)
278 * lyxfunc.C (dispatch): adjust
280 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
281 (WriteAs): remove unneeded BufferView arg.
283 * bufferparams.h: use correct types on papersize, papersize2 and
286 * bufferparams.C (readToken): adjust for type
287 (writeLaTeX): add missing cases to switch.
289 * bufferlist.C (quitWriteBuffer): adjust
292 * buffer.C (asciiParagraph): remove some commented code.
294 * CutAndPaste.C: remove current_view extern variable.
295 (cutSelection): add BufferParams arg.
296 (eraseSelection): add BufferParams arg.
297 (pasteSelection): add Buffer const & arg
299 2003-06-07 John Levon <levon@movementarian.org>
307 * paragraph.C: allow InsetERT to freely space lines,
308 and some consolidation of code
310 2003-06-06 José Matos <jamatos@fep.up.pt>
312 * buffer.C (makeDocBookFile): fix bug #821
314 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
316 * BufferView_pimpl.C (dispatch): use Dialogs::visible
318 2003-06-04 Angus Leeming <leeming@lyx.org>
320 * buffer.C: bump format to 224.
322 2003-06-05 André Pönitz <poenitz@gmx.net>
324 * text2.C (redoParagraphs): remove two const_cast<>
326 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
328 * ParagraphList.h: remove last remnants of NO_STD_LIST
330 2003-06-03 Angus Leeming <leeming@lyx.org>
332 * factory.C (createInset): small change to the way InsetExternal's params
335 2003-06-04 André Pönitz <poenitz@gmx.net>
337 * buffer.h: use Undo directly instead of shared_ptr<Undo>
340 * paragraph.[Ch]: some Inset -> UpdatableInset changes
342 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
344 * undo_funcs.C: make some simple cases of undo work again
346 2003-06-03 John Levon <levon@movementarian.org>
348 * ispell.C: HPUX doesn't have sys/select.h
351 2003-06-03 John Levon <levon@movementarian.org>
353 * CutAndPaste.C: update tabular and include inset
358 * paragraph.C: remove owningBuffer(), don't pass Buffer
361 * factory.C: insetGraphicsParams changed
363 2003-06-02 John Levon <levon@movementarian.org>
369 * text3.C: remove insetparent
371 2003-06-02 John Levon <levon@movementarian.org>
374 * buffer.C: fix inset_iterator.end(), move out of line
377 2003-06-01 John Levon <levon@movementarian.org>
379 * text3.C: use a proper cut/paste when doing inset
380 insert (from Jürgen Spitzmüller)
382 2003-06-01 John Levon <levon@movementarian.org>
384 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
386 2003-05-30 André Pönitz <poenitz@gmx.net>
388 * rowpainter.C: unify second drawing phase
390 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
392 * trans_mgr.C: remove one case of current_view
394 * text2.C (cursorBottom): delete NO_STD_LIST stuff
396 * paragraph_funcs.h: remove paragraph.h include
398 * paragraph.h: delete NO_STD_LIST stuff
400 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
402 * buffer.h: remove paragraph.h include
404 * ParagraphList.C: delete file
406 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
408 * toc.C (getTocList): adjust
410 * paragraph_pimpl.C (validate): adjust
412 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
414 * paragraph.C (Paragraph): adjust
415 (getPositionOfInset): use const_iterator, adjust
416 (bibitem): use const_iterator, adjust
417 (setInsetOwner): adjust
419 * iterators.C (operator++): adjust
421 * InsetList.[Ch]: Replace selfmade iterator with standard
422 vector::iterator also introduce const_iterator. Remove getPos,
423 getInset and setInset from InsetTable. Adjust accordingly.
425 * BufferView.C (lockInset): adjust
426 (ChangeInsets): adjust
428 * tabular.[Ch]: delete commented same_id functions
430 2003-05-28 John Levon <levon@movementarian.org>
432 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
434 2003-05-28 André Pönitz <poenitz@gmx.net>
436 * metricsinfo.[Ch]: remove 'fullredraw' member
438 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
440 * lyxtextclass.C (operator): remove caching.
442 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
446 * text2.C (cursorBottom): adjust
447 (setCounter): use ParagraphList::find, adjust
449 * text.C (workWidth): use ParagraphList::find, adjust
451 * lyxcursor.C (LyXCursor): adjust
453 * buffer.C (inset_iterator): adjust
455 * ParagraphList.h: make iterator(value_type) private, make
456 ParagraphList a friend of iterator.
458 * ParagraphList.C (find): new function
460 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
462 2003-05-27 André Pönitz <poenitz@gmx.net>
464 * dimension.[Ch]: a -> asc, d -> des, w -> wid
466 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
468 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
470 2003-05-26 John Levon <levon@movementarian.org>
472 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
474 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
476 * remove same_id from function signatures, adjust.
478 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
480 * undo_funcs.C (createUndo): use the id functions directly, adjust.
482 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
484 * paragraph.C (Paragraph): get rid of same_ids parameter
486 * ParagraphList.C (insert): adjust
489 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
491 * paragraph_funcs.C (breakParagraph): adjust
492 (breakParagraphConservative): adjust
494 * buffer.C (readParagraph): adjust
496 * ParagraphList.C (insert): take a reference instead of a pointer
499 * paragraph.[Ch] (id): new function
501 * bufferlist.C (newFile): adjust
503 * ParagraphList.C (ParagraphList): adjust
505 (push_back): take a reference instead of a pointer.
507 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
509 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
512 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
513 set else use old code.
515 * ParagraphList.C: remove all NO_NEXT code and only compile this
516 code of NO_STD_LIST is set.
518 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
520 * BufferView_pimpl.C:
530 * graphics/GraphicsConverter.C:
531 * graphics/PreviewLoader.C: header adjustment
533 2003-05-23 Angus Leeming <leeming@lyx.org>
535 * LaTeXFeatures.[Ch] (useBabel): new method.
536 * bufferparams.C (writeLaTeX): use it.
538 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
540 * ParagraphList.h (set): remove unused function.
542 2003-05-23 André Pönitz <poenitz@gmx.net>
545 * BufferView_pimpl.C:
549 * undo_funcs.C: setUndo reworked
551 * iterators.[Ch]: add access to topmost ParagraphList
553 * lyxtext.[Ch] (workWidth): add a const
555 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
557 * texrow.[Ch] (increasePos): remove function
558 * exporter.C (export): removed unused var and outdated comment
560 2003-05-23 Angus Leeming <leeming@lyx.org>
562 * latexrunparams.h: rename fragile as moving_arg.
563 * paragraph.C (simpleTeXOnePar): ditto.
564 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
566 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
568 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
570 (textUndoOrRedo): comment out a currently unused var.
572 * paragraph.h (NO_NEXT): enable NO_NEXT
574 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
576 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
578 * exporter.C (Export): adjust for removeAutoInsets removal.
580 * buffer.C (runChktex): adjust for removeAutoInsets removal.
582 * LyXAction.C (init): remove LFUN_REMOVEERRORS
584 * BufferView.[Ch] (removeAutoInsets): delete function
586 2003-05-22 Angus Leeming <leeming@lyx.org>
588 * latexrunparams.h: add a free_spacing variable.
590 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
591 to pass moving_arg, as the data is stored in runparams.fragile.
593 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
594 to Inset::latexOptional or to simpleTeXOnePar.
596 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
597 free_spacing arg to Inset::latexOptional.
599 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
602 2003-05-22 Angus Leeming <leeming@lyx.org>
604 * latexrunparams.h: add fragile and use_babel variables.
606 * bufferparams.[Ch] (writeLaTeX): return use_babel.
607 * buffer.C (makeLaTeXFile): store this returned value in
608 runparams.use_babel, thus passing it to the inset::latex methods.
610 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
611 simpleTeXSpecialChars as it is now stored in runparams.fragile.
613 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
614 longer has a fragile arg, as it is stored in runparams.fragile.
616 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
617 moving_arg parameter as the data is stored in runparams.fragile.
619 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
620 a fragile parameter as the data is stored in runparams.fragile.
622 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
624 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
626 2003-05-22 Angus Leeming <leeming@lyx.org>
628 * latexrunparams.h: add a 'bool nice' which defaults to false.
630 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
631 now encapsulated within runparams.
633 * bufferlist.C (updateIncludedTeXfiles):
634 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
636 2003-05-22 Angus Leeming <leeming@lyx.org>
638 * latexrunparams.h: new file containing struct LatexRunParams.
639 * Makefile.am: add new file.
641 * LaTeX.[Ch] (c-tor, run):
642 * buffer.[Ch] (makeLaTeXFile):
643 * bufferlist.[Ch] (updateIncludedTeXfiles):
644 * converter.C (convert, scanLog):
645 * converter.[Ch] (runLaTeX):
646 * exporter.C (Export):
647 * paragraph.[Ch] (simpleTeXOnePar):
648 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
649 * paragraph_funcs.[Ch] (latexParagraphs):
650 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
651 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
652 pass around a LatexRunParams parameter.
654 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
656 * paragraph.[Ch]: remove unused constructor
658 * ParagraphList.C (erase): new function, taking two iterators
660 2003-05-22 André Pönitz <poenitz@gmx.net>
662 * undo_funcs.C: remove duplicated code
664 * iterator.[Ch]: operator=
666 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
668 * tabular.C (SetMultiColumn): ws changes
670 * rowpainter.C (paintFirst): get rid of a ->previous
672 * lyx_cb.C (getPossibleLabel): parlist simplification
674 * BufferView.C (ChangeInsets): simplify slightly.
676 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
678 * LyXAction.C: new lfun space-insert, kill protected-space-insert
679 * lfuns.h: new LFUN_SPACE
680 * lyxfunc.C: protected space has a new lfun
681 * paragraph_funcs.C: read new space insets
683 * factory.C: handle new space insets
685 2003-05-22 André Pönitz <poenitz@gmx.net>
688 * BufferView_pimpl.C:
691 * undo_funcs.C: return a ParIterator from getParFromID.
693 * iterators.[Ch]: add two const's
695 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
697 * toc.C (getTocList): adjust
699 * iterators.[Ch]: rework for parlist
701 * buffer.C (par_iterator_begin): adjust
702 (par_iterator_end): adjust
704 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
706 * BufferView.C (removeAutoInsets): adjust
707 (ChangeInsets): adjust
709 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
711 * text.C (top_y): fix bug 1110
713 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
715 * errorlist.[Ch]: added
718 * BufferView_pimpl.C:
719 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
722 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
724 * Makefile.am: ensure that lyx is relinked upon changes to the
725 various "convenience" libs.
727 2003-05-20 Angus Leeming <leeming@lyx.org>
729 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
730 files are compiled in alphabetical order again.
732 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
734 2003-05-19 Angus Leeming <leeming@lyx.org>
736 * gettext.[Ch]: remove "char const * _(char const *)".
738 2003-05-19 André Pönitz <poenitz@gmx.net>
740 * dimension.[Ch]: promote from mathed/dimension.[Ch]
749 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
751 2003-05-19 André Pönitz <poenitz@gmx.net>
757 * paragraph_funcs.[Ch]:
759 * text3.C: more insetenv work
761 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
763 * ParagraphParameters.C (params2string): small bug fixed
765 2003-05-16 André Pönitz <poenitz@gmx.net>
768 * bufferview_funcs.C: patch from Kornel Benko to prevent
769 crash when _(...) is called twice in a statement
771 2003-05-16 André Pönitz <poenitz@gmx.net>
778 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
780 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
782 * lyx_main.C (init): remove spurious static_cast
784 2003-05-14 André Pönitz <poenitz@gmx.net>
786 * BufferView.C: fix format string
788 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
790 * BufferView.[Ch] (insertErrors): removed
791 * BufferView.[Ch] (showErrorList): added
792 * buffer.C (runChkTeX):
793 * converter.C (scanLog): call showErrorList instead of inserterrors
795 2003-05-13 André Pönitz <poenitz@gmx.net>
797 * BufferView_pimpl.C:
806 * tabular_funcs.h: tostr() from its own header
808 * ParagraphParameters.C:
815 2003-05-12 André Pönitz <poenitz@gmx.net>
818 * BufferView_pimpl.C:
822 * ParagraphParameters.C:
826 * bufferview_funcs.C:
843 * text3.C: boost::format -> bformat all over the place
846 2003-05-09 André Pönitz <poenitz@gmx.net>
848 * LColor.[Ch]: Pimpl the #include <map> away
850 2003-05-09 John Levon <levon@movementarian.org>
852 * bufferlist.C: never remove emergency saves
854 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
856 * Makefile.am: better lib building
858 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
860 * texrow.[Ch]: remove dependency on Paragraph and just store a id
862 * paragraph_pimpl.C (simpleTeXBlanks): adjust
863 (simpleTeXSpecialChars): adjust
864 (simpleTeXSpecialChars): adjust
865 * paragraph.C (simpleTeXOnePar): adjust
866 * buffer.C (makeLaTeXFile): adjust
868 * Makefile.am (BOOST_LIBS): allow boost as system lib.
870 * text2.C (changeDepth): parlist cleanup
871 (getColumnNearX): ditto
873 * rowpainter.C (getLabelFont): parlist cleanup
875 * bufferlist.C (newFile): parlist cleanup
877 * CutAndPaste.C (eraseSelection): parlist cleanup
879 * BufferView_pimpl.C (trackChanges): parlist cleanup
882 * BufferView.C (lockInset): parlist cleanup.
883 (ChangeInsets): ditto
885 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
887 * CutAndPaste.h: Update file header.
889 * CutAndPaste.C: Update file header.
890 Store the parts cut out of the Document in a limited_stack.
891 (copySelection): adjust
892 (pasteSelection): new function, takes the index in the limited stack.
893 (nrOfParagraphs): adjust
894 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
895 simplify error inset insertion.
896 (checkPastePossible): adjust
898 2003-05-06 John Levon <levon@movementarian.org>
900 * text2.C: don't cast wrap inset to float
902 2003-05-05 André Pönitz <poenitz@gmx.net>
905 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
907 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
908 few naked Paragraph *.
910 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
912 * bufferparams.C: Output warning if a document with missing
913 TeX document class is loaded
914 * exporter.C: Disable TeX exports if the document class is missing
917 * lyxtextclasslist.C: Handle new textclass.lst format; new method
918 isTeXClassAvailable()
920 2003-05-03 John Levon <levon@movementarian.org>
923 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
924 explicit cursor show/hide
926 * BufferView_pimpl.h:
927 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
928 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
930 * lyxfunc.C: hide cursor before dispatching.
935 * text3.C: remove explicit cursor hides
937 2003-05-02 André Pönitz <poenitz@gmx.net>
939 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
942 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
945 * text2.C: tiny whitespace
947 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
949 * undo_funcs.C: almost only ws changes.
951 * ParagraphList.C (splice): just return if pl is empty.
953 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
955 * ParagraphList.C (splice): new function.
957 * CutAndPaste.C (pasteSelection): use it
959 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
961 * CutAndPaste.C (pasteSelection): remove the last next and
962 previous from this file.
964 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
966 * CutAndPaste.C (pasteSelection): more clean up, user proper
967 ParagraphList functions for pasteing.
969 * ParagraphList.C (insert): new function, three arg insert
971 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
973 * ParagraphList.C (insert): new function, three arg insert
975 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
978 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
980 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
982 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
984 * CutAndPaste.C (pasteSelection): remove some unneeded code.
986 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
988 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
989 (copySelection): clean up a bit.
990 (pasteSelection): use make_pair
992 * ParagraphList.C (ParagraphList): implement copy constructor
993 (operator=): implement, base on copy constructor.
996 * paragraph.C (erase): return a bool
998 * paragraph_pimpl.C (erasePos): remove function, move contents...
999 (erase): ... here. Return a bool.
1000 (erase): call erase instead of erasePos.
1002 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1004 * ParagraphList.h: define PitPosPair
1005 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1006 ParagraphList, fix a bug on pasting multiple pars
1007 * text2.C: change interface to C&P
1009 2003-04-30 André Pönitz <poenitz@gmx.net>
1011 * undo_func.C: revert part of yesterday's patch 2
1013 2003-04-30 John Levon <levon@movementarian.org>
1015 * LColor.C: s/tabular/table/
1017 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1019 * text3.C (dispatch): do not convert iterator -> pointer
1020 * undo_funcs.C (setCursorParUndo): ditto
1021 * text_funcs.C (transposeChars): ditto
1023 * text2.C (setLayout): ws changes only
1025 * text.C (breakParagraph): do not convert iterator -> pointer
1027 (acceptChange): ditto
1028 (rejectChange): ditto
1033 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1036 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1038 * text3.C (gotoInset): YABG (yet another bad getChar)
1040 2003-04-29 André Pönitz <poenitz@gmx.net>
1042 * paragraph.h: make operator= private unimplemented as long as
1045 * ParagraphList.C: whitespace
1048 * paragraph_pimpl.[Ch]:
1049 * paragraph_funcs.C:
1051 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1054 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1056 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1058 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1059 * paragraph.[Ch] (erase):
1060 * paragraph_pimpl.[Ch] (erase): change return type and value
1061 * text2.C (cutSelection): some rework
1063 2003-04-28 John Levon <levon@movementarian.org>
1065 * bufferlist.C: changes for unsaved changes dialog
1067 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1069 * bufferlist.C (newFile): set language (messages_) for new
1072 * buffer.C (readFile): ws changes only.
1074 2003-04-28 André Pönitz <poenitz@gmx.net>
1079 * BufferView_pimpl.C:
1080 * BufferView.C: getParFromID related ParagraphList::iterator changes
1082 2003-04-28 André Pönitz <poenitz@gmx.net>
1084 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1087 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1089 * messages.C: remove one more localedir class variable.
1091 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1093 * messages.C (getLocaleDir): singleton generation function
1095 (Messages): add a default constructor.
1097 * main.C (main): do not setup localedir here, do not call
1100 * gettext.C (_): use it.
1101 (gettext_init): delete funciton
1103 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1105 * gettext.C (getLyXMessages): new singleton generating function.
1107 * buffer.C (updateDocLang): adjust
1109 * Makefile.am (messages.o): add target
1110 (main.o): remove target
1112 2003-04-27 John Levon <levon@movementarian.org>
1117 * lyxvc.C: specify cancel button in Alert::prompt
1119 2003-04-26 John Levon <levon@movementarian.org>
1124 * LyXAction.C: add LFUN_INSET_SETTINGS
1126 * lyxfunc.C: don't enable tabular-feature when there's
1127 just any locking inset
1129 2003-04-26 John Levon <levon@movementarian.org>
1131 * bufferlist.C: re-add Cancel to buffer close question
1133 * lyxfunc.C: fix import UI a bit
1135 2003-04-25 John Levon <levon@movementarian.org>
1137 * gettext.C: remove the broken asserts for now
1139 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1141 * messages.C: make case where setlocale cannot comply work better.
1143 * buffer.C (updateDocLang): new function
1144 (changeLanguage): use it
1147 * text2.C (setCounter): use B_ a bit.
1149 * lyxlayout.C (Read): be sure to trim the label strings.
1151 * messages.C (Messages): fix typo in comment
1153 * buffer.C (readFile): set message_ after file is loaded.
1154 (makeDocBookFile): remove double return
1155 (changeLanguage): reset message_ upon language change.
1156 (B_): new func, use this to get translated buffer strings.
1158 * main.C: add myself and Jean Marc as authors.
1160 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1162 * messages.[hC]: pimplify Messages, and three different pimpls to be
1163 used in different circumstances.
1165 * gettext.[Ch]: change for use with new message code.
1167 2003-04-24 André Pönitz <poenitz@gmx.net>
1169 * factory.C: support for eqref
1171 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1173 * messages.[Ch]: add missing char
1175 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1177 * messages.[Ch]: New files
1179 2003-04-18 John Levon <levon@movementarian.org>
1183 * BufferView_pimpl.C:
1187 * text2.C: remove layout-copy/paste (bug 778)
1189 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1191 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1193 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1195 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1196 if they succeed. Act accordingly.
1198 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1200 * text2.C (setCharFont): adjust
1201 (setCounter): adjust
1202 (insertStringAsLines): adjust
1204 * text.C (leftMargin): adjust
1205 (setHeightOfRow): adjust
1207 * rowpainter.C (paintFirst): adjust
1210 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1212 (isFirstInSequence): ditto
1213 (getEndLabel): ditto
1216 * paragraph.C (getParLanguage): comment out some hard stuff.
1218 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1220 (simpleDocBookOnePar): ditto
1221 (makeDocBookFile): use ParagraphList::iterator
1223 * CutAndPaste.C (pasteSelection): adjust
1225 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1227 * text2.C (getFont): adjust
1228 (getLayoutFont): adjust
1229 (getLabelFont): adjust
1231 * paragraph_funcs.C (TeXOnePar): adjust
1233 * buffer.C (simpleLinuxDocOnePar): adjust
1234 (simpleDocBookOnePar): adjust
1236 * CutAndPaste.C (pasteSelection): adjust
1238 * BufferView.C (getEncoding): adjust
1240 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1242 2003-04-16 John Levon <levon@movementarian.org>
1244 * lyxfind.C: use parlist stuff for search/changes
1246 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1248 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1250 * text2.C (deleteEmptyParagraphMechanism): adjust
1252 * text2.[Ch] (ownerParagraph): delete func (both of them
1254 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1256 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1258 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1260 * ParagraphList.C: prepare for NO_NEXT
1262 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1264 * text2.C (getFont): adjust
1265 (getLayoutFont): adjust
1266 (getLabelFont): adjust
1268 * paragraph.C (getFont): adjust
1269 (getLabelFont): adjust
1270 (getLayoutFont): adjust
1272 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1274 2003-04-15 John Levon <levon@movementarian.org>
1278 * lyx_main.C: handle Include in .ui files
1280 2003-04-15 John Levon <levon@movementarian.org>
1282 * MenuBackend.C: make the doc files length shorter
1285 * ToolbarBackend.C: handle toolbar placement flags,
1288 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1290 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1293 * paragraph_funcs.C (TeXOnePar): adjust
1295 * paragraph.C (getLabelFont): add outerfont arg, adjust
1296 (getLayoutFont): ditto
1297 (simpleTeXOnePar): adjust
1299 * paragraph_pimpl.C (realizeFont): delete func
1301 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1303 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1304 row argument, constify cur argument.
1306 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1308 * text2.C (getFont): adjust
1309 (getLayoutFont): adjust
1310 (getLabelFont): adjust
1312 * paragraph_funcs.C (TeXOnePar): adjust
1313 (outerFont): new func...
1314 (realizeFont): ...moved out from here, changed this to facilitate
1317 * paragraph.C (getFont): take outerfont as arg, adjust
1318 (simpleTeXOnePar): add outerfont arg, adjust
1320 * buffer.C (simpleLinuxDocOnePar): adjust
1321 (simpleDocBookOnePar): adjust
1323 * CutAndPaste.C (pasteSelection): adjust
1325 * BufferView.C (getEncoding): adjust
1327 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1329 * text2.C (setCharFont): adjust
1330 (setCounter): adjust
1332 * text.C (leftMargin): adjust
1333 (setHeightOfRow): adjust
1335 * rowpainter.C (paintFirst): adjust
1338 * paragraph_pimpl.C (realizeFont): adjust
1340 * paragraph.C (isFirstInSequence): move from here...
1341 * paragraph_funcs.C (isFirstInSequence): ...to here
1343 * paragraph.C (outerHook): move from here...
1344 * paragraph_funcs.C (outerHook): ...to here
1346 * paragraph.C (depthHook): move from here...
1347 * paragraph_funcs.C (depthHook): ...to here
1349 * paragraph.C (getEndLabel): move from here...
1350 * paragraph_funcs.C (getEndLabel): ...to here
1352 * text2.C (realizeFont): move from here...
1353 * paragraph_funcs.C (realizeFont): ...to here
1355 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1357 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1359 2003-04-14 Angus Leeming <leeming@lyx.org>
1361 * LColor.[Ch]: scrap LColor mathcursor.
1363 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1365 * lyxlex.[Ch] (text): delete function
1366 * trans.C (Load): adjust
1367 * paragraph_funcs.C (readParToken): adjust
1369 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1371 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1372 vector<char> instead of a char[].
1374 * lyxlex_pimpl.C (getString): adjust
1376 (lex): use getString
1380 * lyxlex.C (text): use pimpl_->getString()
1384 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1386 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1387 (makeFontEntriesLayoutSpecific): temp var for par.size()
1388 (setLayout): temp var for ownerParagraphs().end()
1389 (fullRebreak): temp var for rows().end()
1390 (selectionAsString): temp var for boost::next(startpit), realize
1391 that the while really is a regular for loop.
1392 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1393 setCursor in one place.
1394 (setParagraph): temp vr for ownerParagraphs().end()
1395 (updateCounters): make the while loop a for loop
1396 (cutSelection): temp var for ownerParagraphs().end()
1397 (updateInset): make the do {} while() a regular for loop
1398 (getCursorX): use temp vars
1399 (setCurrentFont): use temp vars
1400 (getColumnNearX): use temp vars
1402 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1404 * text.C (transformChar): use temp var for getChar
1405 (computeBidiTables): use temp var for row->par()
1406 (fill): move temp vars for row->par() and pit->layout() earlier in
1408 (labelFill): use temp var for row->par()
1409 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1410 asc and desc, realize that pit never changes and that firstpit is
1411 just a duplicate and not needed. Exchange rit->par() with pit in a
1413 (breakAgain): use a temp var for boost::next(rit)
1414 (breakAgainOneRow): ditto
1415 (breakParagraph): use a temp var for rows().begin()
1416 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1417 (cursorRightOneWord): use temp var for cursor.par() and
1418 cursor.pos(), remove usage of tmpcursor.
1419 (cursorLeftOneWord): use temp var for cursor.par() and
1420 cursor.pos() only set cur at end of function.
1422 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1424 * text.C, text2.C: exchange all usage of Paragraph::next with
1425 boost::next(ParagraphList::iterator)
1427 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1429 * text2.C (cursorTop): simplify implementation
1430 (cursorBottom): ditto
1431 (setParagraph): use ParagraphList::iterator
1432 (setCurrentFont): adjust
1433 (getColumnNearX): adjust
1434 (cursorRight): adjust
1435 (cursorLeft): remove usage of Paragraph::previous
1436 (cursorUpParagraph): ditto
1437 (deleteEmptyParagraphMechanism): slight cleanup
1439 * text.C (isBoundary): take a Paragraph const & instead of a
1441 (addressBreakPoint): ditto
1442 (leftMargin): remove usage of Paragraph::previous.
1443 (setHeightOfRow): ditto
1444 (cursorLeftOneWord): ditto
1445 (selectNextWordToSpellcheck): ditto
1448 (breakParagraph): remove one usage of Paragraph::next
1449 (redoParagraph): ditto
1450 (acceptChange): ditto
1451 (insertChar): adjust
1452 (rowBreakPoint): adjust
1454 * bufferview_funcs.C (toggleAndShow): adjust
1456 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1458 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1459 methods to access it.
1461 * text.C: Added updateRowPositions to compute all row positions.
1462 Make top_y and getRowNearY() to use the cached y position
1464 2003-04-11 John Levon <levon@movementarian.org>
1466 * text.C (rowBreakPoint): reintroduce the labelEnd
1467 checks, code copied from the row fill stuff. Deep voodoo.
1469 * text.C (fill): add a comment and debugging for the
1472 2003-04-11 John Levon <levon@movementarian.org>
1474 * text.C: make sure fullrow insets get wrapped to the next line,
1475 even when they're in a manual label
1477 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1479 * text2.C (insertParagraph): make it take ParagraphList::iterator
1481 (setLayout): make it return ParagraphList::iterator
1482 (redoParagraphs): ditto
1484 (checkParagraph): ditto
1486 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1488 * text2.C: adjust several funcs.
1489 (realizeFont): take a ParagraphList::iterator as arg.
1490 (getLayoutFont): ditto
1491 (getLabelFont): ditto
1492 (setCharFont): ditto
1494 * text.C: adjust several funcs.
1496 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1498 * text.C (selectNextWordToSpellcheck): don't accidentally
1501 2003-04-10 John Levon <levon@movementarian.org>
1503 * ToolbarBackend.C (getIcon): special handling for
1506 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1508 * text2.C (cursorRight): a getChar assert fixed
1510 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1512 * text2.C (getFont): change to take a ParagraphList::iterator
1513 instead of Paragraph*
1514 Adjust several functions.
1516 * text.C (transformChar): change to take a ParagraphList::iterator
1517 instead of Paragraph*
1518 (singleWidth): ditto
1519 Adjust several functions.
1521 * rowpainter.C: adjust several functions
1522 * rowpainter.h:store a ParagraphList::iterator and not a
1526 2003-04-09 John Levon <levon@movementarian.org>
1531 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1532 and the "help" bits as well
1534 2003-04-09 John Levon <levon@movementarian.org>
1537 * ToolbarBackend.C: allow multiple toolbars
1539 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1541 * undo_funcs.C (setCursorParUndo): adjust
1543 * text_funcs.C (transposeChars): adjust
1545 * text3.C (gotoNextInset): adjust
1548 * text2.C (setLayout): adjust
1549 (changeDepth): adjust
1551 (redoParagraphs): adjust
1552 (selectionAsString): adjust
1553 (setParagraph): adjust
1554 (insertInset): adjust
1555 (cutSelection): adjust
1556 (copySelection): adjust
1557 (pasteSelection): adjust
1558 (insertStringAsLines): adjust
1559 (updateInset): adjust
1560 (setCursor): change to take a ParagraphList::iterator parameter
1561 (setCursorIntern): change to take a ParagraphList::iterator parameter
1562 (setCurrentFont): adjust
1563 (cursorLeft): adjust
1564 (cursorRight): adjust
1565 (deleteEmptyParagraphMechanism): adjust
1567 * text.C (breakParagraph): adjust
1568 (insertChar): adjust
1569 (acceptChange): adjust
1570 (rejectChange): adjust
1571 (selectNextWordToSpellcheck): adjust
1572 (changeCase): adjust
1576 * lyxfind.C (SearchForward): adjust
1577 (SearchBackward): adjust
1578 (nextChange): adjust
1580 * lyxcursor.C (par): adjust
1582 * lyxcursor.h: store a ParagraphList::iterator instead of a
1585 * lyx_cb.C (getPossibleLabel): adjust
1587 * bufferview_funcs.C (toggleAndShow): adjust
1589 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1592 * BufferView.C (removeAutoInsets): adjust
1593 (lockedInsetStoreUndo): adjust
1595 2003-04-09 John Levon <levon@movementarian.org>
1597 * ToolbarBackend.C: try icon without argument
1598 if with argument fails
1600 2003-04-08 John Levon <levon@movementarian.org>
1603 * ToolbarBackend.C: add getIcon(), handle tooltip,
1604 and change from "Icon" to "Item".
1606 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1608 * BufferView.C (lockInset): another bad getchar crunched
1610 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1612 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1615 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1617 * lyxfind.C (searchForward, searchBackwards): bug 782
1619 2003-04-07 John Levon <levon@movementarian.org>
1621 * paragraph.C: remove dead comment
1623 * text.C: remove troublesome depth-fiddling code
1624 in leftMargin() and rightMargin() (bug 1017)
1626 * text.C: fix breaking of rows in nested lists
1629 * text2.C (updateCounters): fix up depth values
1632 2003-04-07 John Levon <levon@movementarian.org>
1634 * BufferView_pimpl.C: clear message when doc finishes resizing,
1635 and after a mouse event
1637 * lyxfunc.C: clear message after exiting inset
1639 2003-04-07 John Levon <levon@movementarian.org>
1641 * bufferview_funcs.C: show math status not outside
1642 status in the statusbar
1644 2003-04-07 John Levon <levon@movementarian.org>
1646 * lyxfunc.C: note status changed after a depth change
1648 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1650 * LaTeX.h: move AuxInfo operator==, != out of line.
1651 Remove LaTeX virtual destructor; nothing derives from it.
1652 Move operator()() out of public area and rename it startscript().
1653 Change protected for private.
1655 2003-04-04 Angus Leeming <leeming@lyx.org>
1658 * text2.C: remove unneeded #includes.
1660 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1662 * text2.C (dEPM): fix the heigth of the next row
1664 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1666 * text.C: squashed an invalid getChar requester + some ws changes
1668 2003-04-03 John Levon <levon@movementarian.org>
1670 * bufferview_funcs.h:
1671 * bufferview_funcs.C:
1674 * text2.C: make getStatus work for the env depth lfuns
1676 2003-04-03 John Levon <levon@movementarian.org>
1678 * bufferview_funcs.h:
1679 * bufferview_funcs.C:
1682 * text2.C: parlistize decDepth(), by merging it with incDepth()
1684 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1686 * lyxrow.h: store a ParagraphList::iterator instead of a
1687 Paragraph* and adjust other class functions to suit.
1689 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1692 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1694 * text2.C (setCursor): do not anchor to cursor row for the time being
1696 2003-04-02 John Levon <levon@movementarian.org>
1703 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1705 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1707 * paragraph.h: make ParagraphList and ParagraphList::iterator
1708 friends of Paragraph.
1710 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1712 * ParagraphList.C: Use the private next_ and previous_ from
1715 2003-04-01 John Levon <levon@movementarian.org>
1719 * Makefile.am: rename, remove defaults gunk
1722 * MenuBackend.C: remove defaults gunk
1725 * Languages.C: remove defaults gunk
1728 * lyx_main.C: error out if files couldn't be found.
1730 2003-04-02 John Levon <levon@movementarian.org>
1732 * text2.C: make incDepth() use parlist
1734 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1736 * undo_funcs.C (firstUndoParagraph): adjust
1738 * text3.C (gotoInset): adjust
1739 (dispatch): adjust, and rewrite loop.
1741 * text2.C (init): adjust, and rewrite loop.
1742 (redoParagraphs): adjust
1743 (updateInset): adjust, and rewrite loop.
1744 (deleteEmptyParagraphMechanism): adjust
1746 * tabular.C (LyXTabular): adjust
1747 (SetMultiColumn): adjust
1750 * lyxtext.[Ch] (ownerParagraph): delete function
1751 (ownerParagraphs): new function returns a ParagraphList.
1753 * BufferView.C (removeAutoInsets): adjust
1754 (insertErrors): adjust
1755 (setCursorFromRow): adjust
1757 2003-04-01 Angus Leeming <leeming@lyx.org>
1759 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1762 2003-04-02 John Levon <levon@movementarian.org>
1768 * text_funcs.C: make transposeChars a free function
1770 * lyxrow_funcs.C: remove wrong comment
1772 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1775 * rowpainter.C: adjust
1780 * lyxrow_funcs. [Ch]: new files
1782 * lyxrow.[Ch]: remove next and previous pointers
1783 (next,previous): remove accessor functions
1784 (isParEnd): move to lyxrow_funcs
1785 (lastPos): move to lyxrow_funcs
1786 (nextRowIsAllInset): move to lyxrow_funcs
1787 (lastPrintablePos): move to lyxrow_funcs
1788 (numberOfSeparators): move to lyxrow_funcs
1789 (numberOfHfills): move to lyxrow_funcs
1790 (numberOfLabelHfills): move to lyxrow_funcs
1791 (hfillExpansion): move to lyxrow_funcs
1795 * bufferview_funcs.C (toggleAndShow): adjust
1797 * RowList.h: Remove class RowList from file leave just a
1800 * RowList.C: delete file
1802 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1805 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1807 * text3.C (cursorPrevious): adjust
1808 (cursorNext): adjust
1811 * text2.C (redoHeightOfParagraph): adjust
1812 (redoDrawingOfParagraph): adjust
1815 * text.C (breakParagraph): adjust
1816 (insertChar): adjust
1819 * rowpainter.C (RowPainter): adjust
1820 (leftMargin): simplify and adjust
1821 (most rowpainter functions): adjust.
1823 * rowpainter.h: store the row as RowList::iterator not as Row*
1825 * lyxcursor.C (row): taka RowList::iterator as arg
1828 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1831 2003-04-01 Angus Leeming <leeming@lyx.org>
1833 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1834 stuff like bool Bool.
1836 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1838 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1841 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1843 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1846 * lyxtext.h (rows): drop one version and leve a const variant that
1847 returns a RowList::iterator.
1849 2003-03-31 Angus Leeming <leeming@lyx.org>
1851 * text.C (fill): ensure that the signature is the same as that in the
1854 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1856 * text2.C (redoParagraphs): adjust
1857 (updateCounters): adjust
1858 (checkParagraph): adjust
1859 (getColumnNearX): adjust and reformat a bit.
1861 * text.C (top_y): adjust
1863 (leftMargin): adjust
1864 (prepareToPrint): adjust
1866 (getRowNearY): adjust
1868 * lyxtext.h: make rowlist_ mutable.
1870 * RowList.h: add const_iterator
1871 * RowList.C: adjust for RowList::const_iterator.
1873 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1876 2003-03-31 John Levon <levon@movementarian.org>
1879 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1881 * lyx_main.C: set default fonts from using lyx_gui funcs
1883 * exporter.C: pdf_mode moved from lyxrc
1886 * lyxfunc.C: changes from above
1888 2003-03-31 John Levon <levon@movementarian.org>
1890 * lyx_main.C: fix to the last fix
1892 2003-03-31 John Levon <levon@movementarian.org>
1894 * bufferlist.C: "Load original" -> "Load Original"
1900 * format.C: more Alert cleanups
1902 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1904 * text2.C (removeParagraph): make it take a RowList::iterator as
1906 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1907 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1909 * text.C (anchor_row): make it take a RowList::iterator as arg,
1911 (computeBidiTables): make it take a const reference to Row instead
1912 of Row pointer, adjust.
1913 (leftMargin): make it take a RowList::iterator as arg, adjust.
1914 (rowBreakPoint): adjust
1915 (breakAgainOneRow): make it take a RowList::iterator as arg,
1917 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1919 * bufferview_funcs.C (toggleAndShow): adjust
1921 2003-03-30 John Levon <levon@movementarian.org>
1925 * boost-inst.C: moved to support
1927 * several files: changes as a result
1929 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1931 * text2.C (LyXText): adjust.
1933 (removeRow): make it take a RowList::iterator as arg, adjust.
1934 (fullRebreak): adjust
1935 (deleteEmptyParagraphMechanism): adjust
1936 (clearPaint): adjust
1939 * text.C (top_y): adjust
1940 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1941 (breakAgain): make it take a RowList::iterator as arg, adjust.
1942 (breakParagraph): adjust
1943 (insertChar): adjust
1946 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1947 need_break_row, and refresh_row.
1949 * text3.C (dispatch): adjust
1951 * text2.C (checkParagraph): adjust
1953 (setCursorFromCoordinates): adjust
1955 * text.C (top_y): adjust
1957 (getRow): make it return a RowList::iterator, adjust
1958 (getRowNearY): make it return a RowList::iterator, adjust
1960 * text2.C (init): adjust
1961 (insertRow): remove function
1962 (insertParagraph): adjust
1963 (redoParagraphs): adjust
1964 (fullRebreak): adjust
1965 (updateCounters): adjust
1967 * text.C (top_y): rewrite to use RowList iterators.
1969 (setHeightOfRow): rewrite to sue RowList iterators.
1970 (appendParagraph): adjust
1971 (breakAgain): adjust
1972 (breakAgainOneRow): adjust
1973 (breakParagraph): adjust
1975 (getRowNearY): adjust, and remove commented code.
1977 * lyxtext.h (firstRow): delete function
1978 (lastRow): delete function
1979 (rows): new function (const and non-const versions.)
1980 (insertRow): delete function
1982 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1984 2003-03-29 John Levon <levon@movementarian.org>
1986 * BufferView_pimpl.C: always update scrollbar top
1987 because pasting text when we're anchored could mean we
1988 miss an update altogether
1990 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1992 * text2.C (init): use rowlist_.end() and not 0.
1993 (insertRow): change to take a RowList::iterator as arg, adjust
1995 (insertParagraph): change to take a RowList::iterator as arg,
1997 (redoParagraphs): remove some debug msgs.
1999 * text.C (appendParagraph): change to take a RowList::iterator
2000 arg, adjust for this.
2001 (breakAgain): add an assert
2002 (breakAgainOneRow): ditto
2004 2003-03-29 John Levon <levon@movementarian.org>
2006 * text2.C: do not clear selection after inc/decDepth
2009 2003-03-29 John Levon <levon@movementarian.org>
2012 * buffer.C: fix broken strerrors according to Lars
2014 2003-03-29 John Levon <levon@movementarian.org>
2016 * converters.C: more Alert cleanups
2018 2003-03-29 John Levon <levon@movementarian.org>
2020 * bufferview_funcs.C: remove pointless Alert
2022 * buffer.C: fix confusing error message when
2023 a template is chmoded 000
2025 2003-03-29 John Levon <levon@movementarian.org>
2029 * BufferView_pimpl.C: Alert fixes
2033 * tabular-old.C: remove unused table compat reading
2035 2003-03-29 John Levon <levon@movementarian.org>
2040 * lyx_cb.C: more Alert cleanups
2042 * lyxfunc.C: don't allow chktex if not latex document
2044 2003-03-29 John Levon <levon@movementarian.org>
2048 * buffer.C: warnings pushed down from support/,
2051 2003-03-29 John Levon <levon@movementarian.org>
2053 * lyxfunc.C: safety check for C-r (revert)
2055 2003-03-29 John Levon <levon@movementarian.org>
2058 * bufferlist.C: several UI fixes using Alert::prompt.
2059 Fix the pointless looping quit code. Fix stupid revert
2064 * lyx_cb.C: use Alert::prompt
2066 * lyx_main.C: remove a silly question
2068 * lyxfunc.C: remove a couple of silly questions,
2071 2003-03-28 John Levon <levon@movementarian.org>
2073 * text2.C: fix bug 974 (End on empty par)
2075 2003-03-28 John Levon <levon@movementarian.org>
2077 * BufferView_pimpl.C:
2079 * lfuns.h: remove do-nothing math greek lfuns
2081 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2083 * lyxgluelength.h (isValidGlueLength): add default arg on
2084 parameter 2. Remove default arg from friend in class.
2086 * lyxlength.h (isValidLength): add default arg on parameter 2.
2087 Remove default arg from friend in class.
2089 * text2.C (LyXText): adjust, initialize refresh_row.
2093 (insertParagraph): adjst
2094 (redoParagraphs): adjust
2095 (fullRebreak): adjust
2096 (updateCounters): adjust
2097 (deleteEmptyParagraphMechanism): first attempt at fixing a
2100 * text.C (top_y): adjust
2101 (setHeightOfRow): adjust
2103 (getRowNearY): adjust
2105 * lyxtext.h: include RowList.h
2106 (~LyXText): not needed anymore, deleted.
2107 (firstRow): modify for RowList
2108 (lastRow): new function
2109 Delete firstrow and lastrow class variables, add a Rowlist
2110 rowlist_ class variable.
2112 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2115 * RowList.C (insert): fix case where it == begin().
2117 2003-03-26 Angus Leeming <leeming@lyx.org>
2119 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2120 the thesaurus dialog.
2122 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2124 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2126 * RowList.[Ch]: new files
2128 * ParagraphList.C (erase): handle the case where it == begin
2131 2003-03-25 John Levon <levon@movementarian.org>
2135 * aspell.C: add new aspell support
2138 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2141 2003-03-25 Angus Leeming <leeming@lyx.org>
2144 * LyXAction.C (init): new LFUN_INSET_INSERT.
2146 * BufferView_pimpl.C (dispatch): split out part of the
2147 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2149 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2152 2003-03-25 Angus Leeming <leeming@lyx.org>
2154 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2156 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2159 * text3.C: remove useless row->height(0)
2161 2003-03-25 John Levon <levon@movementarian.org>
2165 * text3.C: rename the refreshing stuff to better names
2167 2003-03-24 John Levon <levon@movementarian.org>
2169 * BufferView_pimpl.h:
2170 * BufferView_pimpl.C: update layout choice on a mouse
2173 2003-03-23 John Levon <levon@movementarian.org>
2175 * Makefile.am: fix commandtags.h reference
2177 2003-03-22 John Levon <levon@movementarian.org>
2179 * BufferView_pimpl.C:
2184 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2186 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2189 * text.C: take the rtl methods out of line
2191 2003-03-21 André Pönitz <poenitz@gmx.net>
2193 * metricsinfo.[Ch]: new files containing structures to be passed around
2194 during the two-phase-drawing...
2196 2003-03-21 André Pönitz <poenitz@gmx.net>
2198 * lyxtextclass.C: read 'environment' tag.
2200 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2202 * text2.C (removeRow): fix bug 964
2204 2003-03-20 John Levon <levon@movementarian.org>
2208 * text2.C: paint cleanups. Inset::update() dropped font
2211 2003-03-19 John Levon <levon@movementarian.org>
2213 * lyxfunc.C: only fitcursor/markDirty if available()
2215 2003-03-19 John Levon <levon@movementarian.org>
2217 * commandtags.h: rename to ...
2219 * lfuns.h: ... this, and renumber / cleanup
2221 2003-03-19 John Levon <levon@movementarian.org>
2223 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2224 fit the cursor after an lfun
2228 * BufferView_pimpl.h:
2229 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2231 * LyXAction.C: layout-character should have ReadOnly
2233 * ParagraphParameters.C:
2235 * bufferview_funcs.C:
2242 * undo_funcs.C: changes from above
2244 2003-03-18 John Levon <levon@movementarian.org>
2246 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2247 remove it from update()
2249 * lyxfunc.C: update layout choice after an lfun
2251 * text3.C: remove extra updateLayoutChoice()s
2253 2003-03-18 John Levon <levon@movementarian.org>
2255 * text.C: top_y change means full repaint, fix
2256 a drawing bug with cursor movement
2258 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2262 * text2.C: anchor row on setCursor
2264 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2266 * lyxtext.h: remove almost all mutable keywords
2269 * text3.C: remove const keywords accordingly
2271 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2273 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2275 (TeXEnvironment): ditto
2278 2003-03-17 John Levon <levon@movementarian.org>
2280 * text.C (rowBreakPoint): remove attempt to fix displayed
2281 math insets inside a manual label
2283 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2285 * lyxtext.h: remove BufferView* as first arg from almost all class
2287 * other files: adjust.
2289 2003-03-17 John Levon <levon@movementarian.org>
2293 * text2.C: more paint cleanups
2295 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2298 * rowpainter.C: remove "smart" background painting code
2300 2003-03-16 John Levon <levon@movementarian.org>
2305 * text3.C: add helper functions for setting refresh_row/y
2307 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2309 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2310 newline inset which *can* get inserted in the pass_thru layouts.
2311 This is primarily for literate documents.
2313 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2315 * buffer.C: increment LYX_FORMAT to 223
2317 2003-03-14 André Pönitz <poenitz@gmx.net>
2319 * textclass.h: prepare for environment handling, ws changes
2320 * lyxlayout.C: read latexheader and latexfooter tags
2322 2003-03-14 John Levon <levon@movementarian.org>
2324 * text2.C: rewrite ::status() a bit
2326 2003-03-13 John Levon <levon@movementarian.org>
2328 * lyxtext.h: add some docs
2330 2003-03-13 John Levon <levon@movementarian.org>
2335 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2337 2003-03-13 John Levon <levon@movementarian.org>
2339 * text3.C: fix appendix redrawing
2341 2003-03-13 John Levon <levon@movementarian.org>
2343 * text.C (setHeightOfRow):
2345 * rowpainter.C: make appendix mark have the text
2346 "Appendix" so the user knows what it is
2349 * LColor.C: s/appendixline/appendix/ from above
2351 2003-03-13 John Levon <levon@movementarian.org>
2353 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2355 * text.C: fix a getChar(pos) bug properly
2357 2003-03-13 Angus Leeming <leeming@lyx.org>
2360 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2361 Probably only temporary. Let's see how things pan out.
2363 * BufferView.C (unlockInset):
2364 * BufferView_pimpl.C (fitCursor):
2365 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2367 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2368 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2370 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2371 new functions that convert ParagraphParameters to and from a string.
2373 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2374 BufferView::Pimpl's dispatch.
2375 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2377 2003-03-13 André Pönitz <poenitz@gmx.net>
2381 * factory.C: make it aware of InsetEnv
2383 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2385 * text2.C (setCursor): never ask for one past last
2386 (setCursor): add some debugging messages.
2388 * text.C (singleWidth): never ask for one past last
2389 (singleWidth): ditto
2391 (rightMargin): ditto
2392 (rowBreakPoint): ditto
2393 (setHeightOfRow): ditto
2394 (prepareToPrint): ditto
2396 * rowpainter.C (paintBackground): never ask for one past last
2397 (paintText): never ask for one past last
2399 * paragraph_pimpl.C (getChar): make the assert stricter, never
2400 allow the one past last pos to be taken
2402 * paragraph.C (getChar): ws changes only
2404 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2405 (numberOfSeparators): ditto
2406 (numberOfHfills): ditto
2408 2003-03-12 John Levon <levon@movementarian.org>
2414 * paragraph_funcs.C: fix per-buffer authorlists
2416 2003-03-12 John Levon <levon@movementarian.org>
2418 * text.C: fix newline in right address
2420 2003-03-12 Angus Leeming <leeming@lyx.org>
2422 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2423 duplicate those in LyXFunc::dispatch.
2427 * ToolbarDefaults.C:
2428 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2429 Add LFUN_FONTFREE_UPDATE.
2431 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2432 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2434 * bufferview_func.[Ch]: several new functions to facilliate
2435 transfer of data to and from the character dialog.
2437 2003-03-12 John Levon <levon@movementarian.org>
2442 * paragraph_funcs.C:
2443 * paragraph_pimpl.C:
2447 * text3.C: remove META_NEWLINE in favour of an inset
2450 * rowpainter.C: remove paintNewline (done by inset)
2452 2003-03-12 John Levon <levon@movementarian.org>
2454 * paragraph_pimpl.C: complain about bad getChar()s
2455 for a while at least
2457 2003-03-12 John Levon <levon@movementarian.org>
2460 * buffer.C: move paragraph read into a separate function,
2461 a little renaming to reflect that.
2464 * bufferparams.C: remove the author_ids map, not necessary now
2467 * factory.C: moved Buffer::readInset to here
2469 * paragraph_funcs.h:
2470 * paragraph_funcs.C: readParagraph free function moved from
2473 * tabular.C: name change
2475 2003-03-12 John Levon <levon@movementarian.org>
2478 * ParagraphParameters.C: move par params input to
2481 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2482 behave like a normal read from the stream wrt reading
2483 a line vs. a \\token
2485 2003-03-12 John Levon <levon@movementarian.org>
2488 * ParagraphParameters.h:
2489 * ParagraphParameters.C: move output code to a
2492 2003-03-12 John Levon <levon@movementarian.org>
2494 * BufferView.C (insertLyXFile):
2497 * tabular.C: use a parlist iterator for creating the
2500 2003-03-12 John Levon <levon@movementarian.org>
2502 * buffer.C: make current_change static local not
2505 2003-03-12 John Levon <levon@movementarian.org>
2507 * buffer.C: fix insertStringAsLines for change tracking
2509 2003-03-12 John Levon <levon@movementarian.org>
2516 * bufferparams.C: move author list into params. Rename some
2517 functions. Move the header reading into a separate token
2518 loop. Move the header token reading into BufferParams.
2520 2003-03-12 John Levon <levon@movementarian.org>
2522 * changes.C: put debug inside lyxerr.debugging() checks
2524 2003-03-11 André Pönitz <poenitz@gmx.net>
2526 * factory.C: make it aware of InsetHFill
2528 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2530 * buffer.C (latexParagraphs): move function from here...
2531 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2534 2003-03-10 Angus Leeming <leeming@lyx.org>
2536 * LyXAction.C (init): fix bug in poplating array with multiple entries
2537 with the same LFUN (spotted by JMarc).
2539 2003-03-10 John Levon <levon@movementarian.org>
2542 * text2.C: move getColumnNearX() near its
2545 2003-03-10 John Levon <levon@movementarian.org>
2547 * text.C: fix break before a minipage
2549 2003-03-10 John Levon <levon@movementarian.org>
2551 * text.C: fix the last commit
2553 2003-03-09 John Levon <levon@movementarian.org>
2557 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2558 bug 365 (don't break before insets unless needed). Don't
2559 return a value > last under any circumstances.
2561 2003-03-09 Angus Leeming <leeming@lyx.org>
2563 * BufferView_pimpl.C (trackChanges, dispatch): call
2564 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2566 2003-03-09 Angus Leeming <leeming@lyx.org>
2568 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2569 than Dialogs::showAboutlyx().
2571 2003-03-09 Angus Leeming <leeming@lyx.org>
2573 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2574 than Dialogs::showTabularCreate().
2576 2003-03-09 John Levon <levon@movementarian.org>
2580 * text2.C: 3rd arg to nextBreakPoint was always the same.
2583 2003-03-08 John Levon <levon@movementarian.org>
2590 * text2.C: Remove the "main" bit from the "main body"
2593 2003-03-08 John Levon <levon@movementarian.org>
2595 * text.C (leftMargin): The left margin of an empty
2596 manual label paragraph should not include the label width
2599 * text.C (prepareToPrint): don't attempt to measure hfills
2600 for empty manual label paragraphs - the answer should be 0
2602 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2604 * CutAndPaste.C: remove commented code and reindent.
2606 2003-03-08 John Levon <levon@movementarian.org>
2609 * lyxfunc.C: move reloadBuffer()
2612 * BufferView.C: to here
2614 * lyxvc.C: add comment
2617 * vc-backend.C: call bv->reload() to avoid
2618 getStatus() check on MENURELOAD
2620 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2622 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2623 to an old format .dep file.
2625 2003-03-07 Angus Leeming <leeming@lyx.org>
2627 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2628 when the LFUN_MOUSE_RELEASE should have been handled by
2629 inset->localDispatch.
2631 2003-03-07 Angus Leeming <leeming@lyx.org>
2633 * BufferView_pimpl.C (dispatch):
2634 * LyXAction.C (init):
2635 * ToolbarDefaults.C (init):
2637 * lyxfunc.C (getStatus):
2638 remove LFUN_INSET_GRAPHICS.
2640 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2642 2003-03-07 Angus Leeming <leeming@lyx.org>
2645 * LyXAction.C (init):
2646 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2648 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2651 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2653 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2654 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2656 2003-03-07 Angus Leeming <leeming@lyx.org>
2658 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2661 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2663 * ParagraphList.C (front): new function
2666 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2668 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2669 and top_row_offset_. removed var first_y.
2671 * text2.C (LyXText, removeRow):
2673 * BufferView_pimpl.C:
2674 use these methods instead of using first_y
2676 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2678 * text2.C (pasteSelection): adjust for checkPastePossible
2680 * CutAndPaste.C: remove Paragraph * buf and replace with
2681 ParagraphList paragraphs.
2682 (DeleteBuffer): delete
2683 (cutSelection): change the tc type to textclass_type
2684 (copySelection): change the tc type to textclass_type
2685 (copySelection): adjust for ParagraphList
2686 (pasteSelection): change the tc type to textclass_type
2687 (pasteSelection): adjust for Paragraphlist
2688 (nrOfParagraphs): simplify for ParagraphList
2689 (checkPastePossible): simplify for ParagraphList
2690 (checkPastePossible): remove unused arg
2692 * ParagraphList.C (insert): handle the case where there are no
2695 * CutAndPaste.h: make CutAndPaste a namespace.
2697 * text3.C (dispatch): adjust
2699 * text.C (breakParagraph): add a ParagraphList as arg
2701 * paragraph_funcs.C (breakParagraph): change to take a
2702 BufferParams and a ParagraphList as args.
2703 (breakParagraphConservative): ditto
2704 (mergeParagraph): ditto
2705 (TeXDeeper): add a ParagraphList arg
2706 (TeXEnvironment): ditto
2709 * buffer.C (readLyXformat2): adjust
2710 (insertStringAsLines): adjust
2711 (latexParagraphs): adjust
2713 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2714 (cutSelection): adjust
2715 (pasteSelection): adjust
2717 * BufferView_pimpl.C (insertInset): adjust
2719 2003-03-05 Angus Leeming <leeming@lyx.org>
2722 * LyXAction.C (init):
2723 * BufferView_pimpl.C (dispatch):
2724 * lyxfunc.C (getStatus):
2725 remove LFUN_CHILD_INSERT.
2727 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2729 2003-03-05 Angus Leeming <leeming@lyx.org>
2732 * LyXAction.C (init):
2733 * src/factory.C (createInset):
2734 * lyxfunc.C (getStatus):
2735 * text3.C (dispatch):
2736 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2738 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2740 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2742 * ParagraphList.C (insert): handle insert right before end()
2743 (erase): fix cases where it can be first or last paragraph.
2745 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2747 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2748 Paragraph::next and Paragraph::previous
2751 * text.C (breakParagraph): adjust
2753 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2754 BufferParams& as arg.
2755 (breakParagraph): use ParagraphList::insert
2756 (breakParagraphConservative): take a Buffer* instead of a
2757 BufferParams& as arg.
2758 (breakParagraphConservative): use ParagraphList::insert.
2760 * buffer.C (insertStringAsLines): un-const it
2761 (insertStringAsLines): adjust
2763 * ParagraphList.C (insert): new function
2765 * CutAndPaste.C (pasteSelection): adjust
2767 * text.C (backspace): adjust
2769 * tabular.C (SetMultiColumn): adjust
2771 * CutAndPaste.C (cutSelection): adjust
2772 (pasteSelection): adjust
2774 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2775 Buffer const * as arg
2777 * ParagraphList.C (erase): new function
2778 * paragraph_funcs.C (mergeParagraph): use it
2779 (mergeParagraph): make it take a Buffer* instead of a
2780 BufferParams* as arg
2782 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2784 (breakParagraphConservative): ditto
2786 * paragraph.h: remove the breakParagraph friend
2788 * paragraph.C (eraseIntern): new function
2789 (setChange): new function
2791 * paragraph_funcs.C (mergeParagraph): make it take a
2792 ParagraphList::iterator instead of a Paragraph *, adjust
2795 * paragraph.h: move an #endif so that the change tracking stuff
2796 also works in the NO_NEXT case.
2798 2003-03-04 Angus Leeming <leeming@lyx.org>
2801 * LyXAction.C: new LFUN_INSET_MODIFY.
2803 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2804 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2806 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2808 * several files: ws changes only
2810 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2811 (TeXEnvironment): ditto
2814 * buffer.C (makeLaTeXFile): adjust
2815 (latexParagraphs): make it take ParagraphList::iterator as args
2817 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2819 * buffer.C (latexParagraphs): adjust
2821 * paragraph.C (TeXOnePar): move function...
2822 (optArgInset): move function...
2823 (TeXEnvironment): move function...
2824 * paragraph_pimpl.C (TeXDeeper): move function...
2825 * paragraph_funcs.C: ...here
2827 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2829 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2831 * buffer.C (readInset): remove compability code for old Figure and
2834 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2836 * buffer.C: ws changes
2839 * BufferView_pimpl.C: ditto
2842 * bufferlist.h: ditto
2846 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2848 * converter.[Ch]: split into itself +
2851 * Makefile.am: += graph.[Ch] + format.[Ch]
2858 * lyxrc.C: added #include "format.h"
2860 2003-02-27 Angus Leeming <leeming@lyx.org>
2862 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2865 * factory.C (createInset): add "label" to the factory.
2867 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2868 string and do no more.
2870 2003-02-27 Angus Leeming <leeming@lyx.org>
2873 * LyXAction.C (init):
2874 * factory.C (createInset):
2875 * BufferView_pimpl.C (dispatch):
2876 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2878 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2880 * lyxfunc.C (dispatch):
2881 * text3.C (dispatch): pass name to params2string.
2883 2003-02-26 Angus Leeming <leeming@lyx.org>
2885 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2887 Rearrange the ~includes. Strip out the unnecessary ones.
2889 * factory.C (createInset): reformat.
2890 create new insets for the various LFUN_XYZ_APPLY lfuns.
2892 2003-02-26 John Levon <levon@movementarian.org>
2895 * lyxrow.C: add isParStart,isParEnd helpers
2897 * paragraph.h: make isInserted/DeletedText take refs
2899 * paragraph_funcs.h:
2900 * paragraph_funcs.C: remove #if 0'd code
2905 * text.C: use lyxrow helpers above.
2906 Move draw and paint routines to RowPainter.
2907 Make several methods use refs not pointers.
2908 Make backgroundColor() const.
2909 Add markChangeInDraw(), isInInset().
2910 Merge changeRegionCase into changeCase.
2911 Make workWidth() shouldn't-happen code into an Assert.
2914 * rowpainter.C: new class for painting a row.
2917 * vspace.C: make inPixels take a ref
2919 2003-02-26 Angus Leeming <leeming@lyx.org>
2921 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2924 2003-02-25 John Levon <levon@movementarian.org>
2926 * ispell.C: give the forked command a more accurate name
2928 2003-02-22 John Levon <levon@movementarian.org>
2931 * toc.C: make TocItem store an id not a Paragraph *
2934 2003-02-21 Angus Leeming <leeming@lyx.org>
2936 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2937 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2938 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2939 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2940 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2941 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2943 * BufferView_pimpl.C (dispatch):
2944 * LyXAction.C (init):
2945 * factory.C (createInset):
2946 * lyxfunc.C (getStatus, dispatch):
2947 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2949 2003-02-21 Angus Leeming <leeming@lyx.org>
2951 * BufferView_pimpl.C (MenuInsertLyXFile):
2952 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2953 * lyxfunc.C (menuNew, open, doImport):
2954 no longer pass a LyXView & to fileDlg.
2956 2003-02-21 Angus Leeming <leeming@lyx.org>
2958 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2959 * LyXAction.C: change, BIBKEY to BIBITEM.
2960 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2961 Change InsetBibKey to InsetBibitem.
2962 Change BIBKEY_CODE to BIBITEM_CODE.
2963 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2964 * factory.C: replace insetbib.h with insetbibitem.h.
2965 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2966 * paragraph.C: replace insetbib.h with insetbibitem.h.
2967 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2968 Change bibkey() to bibitem().
2969 * text.C: remove insetbib.h.
2970 * text2.C: replace insetbib.h with insetbibitem.h.
2971 change bibkey() to bibitem().
2972 * text3.C: remove insetbib.h.
2973 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2975 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2977 * lyxrc.C (output): enclose user email in quotes (in case there are
2980 2003-02-18 John Levon <levon@movementarian.org>
2982 * buffer.h: add std::
2984 2003-02-17 John Levon <levon@movementarian.org>
2990 * pspell.C: reworking. Especially in ispell, a large
2991 number of clean ups and bug fixes.
2993 * lyxfunc.C: fix revert to behave sensibly
2995 2003-02-17 André Pönitz <poenitz@gmx.net>
2998 * commandtags.h: new LFUN_INSERT_BIBKEY
3008 * paragraph_func.C: remove special bibkey handling
3010 2003-02-17 John Levon <levon@movementarian.org>
3012 * text.C (Delete): fix case where delete at the end of
3013 the very first paragraph would not merge the pars
3015 2003-02-17 John Levon <levon@movementarian.org>
3017 * lyxrow.C: fix lastPrintablePos()
3019 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3021 * bufferparams.C (writeLaTeX): add a std:here
3023 * buffer.C: and remove a using directive there
3025 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3027 * buffer.C (makeLaTeXFile): move the code that generates the
3030 * bufferparams.C (writeLaTeX): ... in this new method
3032 * LaTeXFeatures.C (getEncodingSet): make const
3033 (getLanguages): make const
3035 * MenuBackend.C (binding): returns the binding associated to this
3037 (add): sets the status of each item by calling getStatus. Adds
3039 (read): add support for OptSubMenu
3040 (expand): remove extra separator at the end of expanded menu
3042 2003-02-15 John Levon <levon@movementarian.org>
3045 * BufferView_pimpl.C:
3047 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3048 inset code that had no actual effect. Remove unneeded status
3051 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3053 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3056 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3058 * text.C (drawLengthMarker): also draw an arrow marker for
3059 symbolic lengths (medskip...)
3061 2003-02-14 John Levon <levon@movementarian.org>
3064 * tabular.C: better method names
3066 2003-02-14 John Levon <levon@movementarian.org>
3068 * BufferView_pimpl.C:
3073 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3074 it's a more accurate name. Remove some pointless uses.
3076 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3078 * text2.C (LyXText): change order of initilizers to shut off
3081 2003-02-14 John Levon <levon@movementarian.org>
3083 * buffer.C: use ParIterator for getParFromID()
3087 * paragraph_pimpl.h:
3088 * paragraph_pimpl.C: remove unused getParFromID()
3090 2003-02-14 John Levon <levon@movementarian.org>
3092 * buffer.C: remove some very old #if 0'd parse code
3094 2003-02-13 John Levon <levon@movementarian.org>
3098 * text2.C: move hfillExpansion(), numberOfSeparators(),
3099 rowLast(), rowLastPrintable(), numberofHfills(),
3100 numberOfLabelHfills() ...
3103 * lyxrow.C: ... to member functions here.
3108 * text.C: remove LyXText::beginningOfMainBody(), and call
3109 p->beginningOfMainBody() directly. Move the check for
3110 LABEL_MANUAL into the latter.
3117 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3123 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3124 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3126 2003-02-13 John Levon <levon@movementarian.org>
3128 * CutAndPaste.C: remove debug
3130 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3132 * paragraph.C (asString): remove two unused variables
3134 * lyxtextclass.C (readTitleType):
3136 (LyXTextClass): handle new members titletype_ and titlename_
3138 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3140 2003-02-09 John Levon <levon@movementarian.org>
3143 * buffer.C: replace hand-coded list with a map for the dep clean
3145 2003-02-08 John Levon <levon@movementarian.org>
3147 * LaTeX.C: consolidate code into showRunMessage() helper
3149 2003-02-08 John Levon <levon@movementarian.org>
3154 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3155 and pass the size in explicitly
3157 * BufferView_pimpl.h:
3158 * BufferView_pimpl.C:
3160 * BufferView.C: add getCurrentChange()
3162 * BufferView_pimpl.h:
3163 * BufferView_pimpl.C: handle change lfuns
3165 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3166 for changes. Mark pasted paragraphs as new.
3168 * support/lyxtime.h:
3169 * support/lyxtime.C:
3170 * DepTable.C: abstract time_t as lyx::time_type
3173 * LColor.C: add colours for new text, deleted text, changebars
3175 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3176 package use "usenames" option.
3180 * LyXAction.C: add change lfuns
3184 * author.C: author handling
3187 * buffer.C: add a per-buffer author list, with first entry as
3188 current author. Handle new .lyx tokens for change tracking. Output
3189 author list to .lyx file. Output dvipost stuff to .tex preamble.
3190 Bump lyx format to 222.
3193 * bufferlist.C: add setCurrentAuthor() to reset current author details
3197 * bufferparams.C: add param for tracking
3199 * bufferview_funcs.C: output change info in minibuffer
3203 * changes.C: add change-tracking structure
3206 * debug.C: add CHANGES debug flag
3209 * lyxfind.C: add code for finding the next change piece
3212 * lyxrc.C: add user_name and user_email
3215 * lyxrow.C: add a metric for the top of the text line
3218 * text.C: implement accept/rejectChange()
3221 * text.C: paint changebars. Paint new/deleted text in the chosen
3222 colours. Strike through deleted text.
3226 * paragraph_pimpl.h:
3227 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3228 in the current change to the insert functions. Rework erase to
3229 mark text as deleted, adding an eraseIntern() and a range-based
3230 erase(). Implement per-paragraph change lookup and
3233 * paragraph_funcs.C: Fixup paste for change tracking.
3235 * tabular.C: mark added row/columns as new.
3237 * text.C: fix rowLast() to never return -1. Don't allow
3238 spellchecking of deleted text. Track transpose changes. Don't
3239 allow paragraph break or merge where appropriate.
3241 * text2.C: leave cursor at end of selection after a cut.
3243 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3245 * text.C (getLengthMarkerHeight):
3246 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3247 visible on screen too.
3249 2003-02-07 John Levon <levon@movementarian.org>
3251 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3253 2003-02-05 Angus Leeming <leeming@lyx.org>
3255 * lyxserver.C (read_ready): revert my patch of 11 September last year
3256 as it sends PC cpu through the roof. Presumably this means that
3257 the lyxserver will no longer run on an Alpha...
3259 2003-01-30 Angus Leeming <leeming@lyx.org>
3261 * factory.C (createInset): create an InsetCommandParam of type "index"
3262 and use it to 'do the right thing'.
3264 * text2.C (getStringToIndex): ensure that cursor position is always
3265 reset to the reset_cursor position.
3267 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3269 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3272 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3276 * lyxfunc.C: Output messages with identical spelling, punctuation,
3279 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3281 * MenuBackend.C (expandFormats): List only viewable export formats
3284 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3287 * lyxfunc.C (getStatus): Make sure that formats other than
3288 "fax" can also be disabled
3290 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3292 * text3.C (dispatch): put the lfuns that insert insets in 3
3293 groups, and call doInsertInset with appropriate arguments.
3294 (doInsertInset): new function, that creates an inset and inserts
3295 it according to some boolean parameters.
3297 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3299 * buffer.C (readFile): remember to pass on 'par' when calling
3300 readFile recursively.
3302 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3304 * MenuBackend.C (expandFormats): add "..." to import formats.
3306 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3308 * paragraph.C (asString): Remove XForms RTL hacks.
3310 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3311 * buffer.C: fix typo
3313 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3315 * Makefile.am (LIBS): delete var
3316 (lyx_LDADD): add @LIBS@ here instead.
3318 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3320 * Clarify the meaning of "wheel mouse jump"
3322 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3324 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3327 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3329 * importer.C (Loaders): do not preallocate 3 elements in the
3330 vector, since one ends up with 6 elements otherwise
3332 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3334 * DepTable.C (write): write the file name as last element of the
3335 .dep file (because it may contain spaces)
3336 (read): read info in the right order
3338 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3340 * paragraph_pimpl.C (simpleTeXBlanks):
3341 (simpleTeXSpecialChars):
3342 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3344 * tabular.C (latex): add some missing case statements. Reindent.
3346 * MenuBackend.C (expandToc): remove unused variable.
3348 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3357 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3360 2003-01-05 John Levon <levon@movementarian.org>
3363 * BufferView.C: add getEncoding()
3366 * kbsequence.C: do not store last keypress
3369 * lyxfunc.C: store last keypress here instead. Pass encoding
3372 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3374 * lyx_main.C (init): remove annoying error message when following
3375 symbolic links (bug #780)
3377 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3379 * text.C (insertChar):
3380 * lyxrc.C (getDescription): remove extra spaces
3382 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3384 * lyxrc.C (getDescription): remove extra spaces
3386 2002-12-20 John Levon <levon@movementarian.org>
3388 * text3.C: hack fix for page up/down across tall rows
3390 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3392 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3395 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3397 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3398 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3399 thesaurus is not compiled in
3401 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3403 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3405 2002-12-16 Angus Leeming <leeming@lyx.org>
3408 * lyx_main.C (init): remove override_x_deadkeys stuff.
3410 2002-12-12 John Levon <levon@movementarian.org>
3412 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3413 insert. Only remove shift modifier under strict
3416 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3418 * MenuBackend.C (expandToc): fix crash.
3420 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3422 * MenuBackend.C (expandToc): gettext on float names.
3424 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3426 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3427 implement bool empty() [bug 490]
3429 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3431 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3433 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3435 * several files: ws changes
3437 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3439 * text2.C (setCounter): clean up a bit, use boost.format.
3440 (updateCounters): initialize par upon declaration.
3442 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3443 if the layout exists. We do not just store the layout any more.
3444 (SwitchLayoutsBetweenClasses): use boost.format
3446 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3448 * converter.C (convert): if from and to files are the same, use a
3449 temporary files as intermediary
3451 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3454 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3456 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3458 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3460 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3462 * tabular.C (asciiPrintCell): use string(size, char) instead of
3465 * sgml.C (openTag): fix order of arguments to string constructor
3468 * lyxfunc.C (dispatch): use boost.format
3470 * lots of files: change "c" -> 'c'
3472 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3474 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3476 2002-11-25 Angus Leeming <leeming@lyx.org>
3478 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3480 * lyx_main.C (init): compile fix.
3482 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3484 * lyx_cb.C (start): boost.formatify
3485 do not include <iostream>
3487 * lengthcommon.C: ws only
3489 * boost-inst.C,BoostFormat.h: add more explict instantations
3491 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3493 * lots of files: handle USE_BOOST_FORMAT
3495 2002-11-21 John Levon <levon@movementarian.org>
3497 * pspell.C: fix compile
3499 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3501 * lyxfunc.C (dispatch): use boost::format
3505 * lyxfont.C (stateText): use boost::format
3507 * lyx_main.C (LyX): use boost::format
3509 (queryUserLyXDir): ditto
3512 (typedef boost::function): use the recommened syntax.
3514 * importer.C (Import): use boost::format
3516 * debug.C (showLevel): use boost::format
3518 * converter.C (view): use boost::format
3523 * bufferview_funcs.C (currentState): use boost::format
3525 * bufferlist.C (emergencyWrite): use boost::format
3527 * buffer.C (readLyXformat2): use boost::format
3528 (parseSingleLyXformat2Token): ditto
3530 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3532 * LaTeX.C (run): use boost::format
3534 * Chktex.C (scanLogFile): use boost::format
3536 * BufferView_pimpl.C (savePosition): use boost::format
3537 (restorePosition): ditto
3538 (MenuInsertLyXFile): ditto
3540 * BoostFormat.h: help file for explicit instation.
3542 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3544 * tabular.C (latex): Support for block alignment in fixed width
3547 2002-11-17 John Levon <levon@movementarian.org>
3549 * BufferView_pimpl.C:
3551 * lyxfunc.C: split filedialog into open/save
3553 2002-11-08 Juergen Vigna <jug@sad.it>
3555 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3556 by my last patch (hopefully).
3558 2002-11-08 John Levon <levon@movementarian.org>
3567 * toc.C: ParConstIterator, and use it (from Lars)
3569 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3571 * lyxtextclass.[Ch]: revise and add doxygen comments
3573 2002-11-07 John Levon <levon@movementarian.org>
3575 * text.C: fix progress value for spellchecker
3577 * toc.C: fix navigate menu for insetwrap inside minipage
3579 * paragraph_funcs.C: added FIXME for suspect code
3581 2002-11-07 John Levon <levon@movementarian.org>
3583 * BufferView_pimpl.C: fix redrawing of insets
3586 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3588 * text2.C (updateCounters): fix bug 668
3590 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3592 * text3.C (dispatch): Do not make the buffer dirty when moving the
3595 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3597 * vc-backend.C: STRCONV
3600 * text2.C (setCounter): STRCONV
3602 * paragraph.C (asString): STRCONV
3604 * lyxlength.C (asString): STRCONV
3605 (asLatexString): ditto
3607 * lyxgluelength.C (asString): STRCONV
3608 (asLatexString): ditto
3610 * lyxfunc.C (dispatch): STRCONV
3613 * lyxfont.C (stateText): STRCONV
3615 * importer.C (Import): STRCONV
3617 * counters.C (labelItem): STRCONV
3618 (numberLabel): ditto
3619 (numberLabel): remove unused ostringstream o
3624 * bufferview_funcs.C (currentState): STRCONV
3626 * buffer.C (readFile): STRCONV
3627 (asciiParagraph): ditto
3628 (makeLaTeXFile): ditto
3630 * Spacing.C (writeEnvirBegin): STRCONV
3632 * LaTeXFeatures.C (getLanguages): STRCONV
3633 (getPackages): ditto
3635 (getBabelOptions): ditto
3636 (getTClassPreamble): ditto
3637 (getLyXSGMLEntities): ditto
3638 (getIncludedFiles): ditto
3642 (scanAuxFile): ditto
3645 * LString.h: add the STRCONV macros
3647 * BufferView_pimpl.C (savePosition): STRCONV
3648 (restorePosition): ditto
3649 (MenuInsertLyXFile): ditto
3651 * vc-backend.C (scanMaster): change from submatch[...] to
3654 * funcrequest.C: include config.h
3656 * factory.C: include config.h
3658 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3660 * box.C: include config.h
3662 * LaTeX.C (scanAuxFile): change from submatch[...] to
3666 2002-10-25 Angus Leeming <leeming@lyx.org>
3668 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3670 * ispell.[Ch] (setError): new method.
3671 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3672 Use setError() insetead of goto END.
3674 * lyx_cb.C (AutoSave): move out child process into new class
3677 2002-10-30 John Levon <levon@movementarian.org>
3679 * text3.C: make start appendix undoable
3681 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3683 * lyxlength.C (inPixels): Fix returned value.
3685 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3688 2002-10-24 Angus Leeming <leeming@lyx.org>
3690 * lyxgluelength.h: no need to forward declare BufferParams
3691 or BufferView, so don't.
3693 2002-10-21 John Levon <levon@movementarian.org>
3695 * BufferView.C: menuUndo ->undo, redo
3697 * BufferView.h: document, remove dead, make some methods private
3699 * paragraph_funcs.h:
3700 * paragraph_funcs.C:
3701 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3706 * sgml.C: move sgml open/close tag into sgml.C
3708 * bufferview_funcs.h: unused prototype
3711 * lyxfunc.C: remove unused
3714 * text.C: remove unused
3716 2002-10-21 John Levon <levon@movementarian.org>
3720 * BufferView_pimpl.h:
3721 * BufferView_pimpl.C: fix mouse wheel handling based on
3722 patch from Darren Freeman
3724 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3726 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3728 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3730 * lyxlength.C (inPixels): Fix hanfling of negative length.
3731 Fix LyXLength::MU case.
3733 2002-10-16 John Levon <levon@movementarian.org>
3735 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3737 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3739 * converter.C (view): add support for $$i (file name) and $$p
3740 (file path) for the viewer command. If $$i is not specified, then
3741 it is appended to the command (for compatibility with old syntax)
3743 2002-10-14 Juergen Vigna <jug@sad.it>
3745 * undo_funcs.C (textHandleUndo): alter the order in which the
3746 new undopar is added to the LyXText, as we have to set first
3747 the right prev/next and then add it as otherwise the rebuild of
3748 LyXText is not correct. Also reset the cursor to the right paragraph,
3749 with this IMO we could remove the hack in "redoParagraphs()".
3751 2002-10-09 Angus Leeming <leeming@lyx.org>
3753 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3754 to turn off an optimisation if a new inset is to be inserted.
3756 2002-10-11 André Pönitz <poenitz@gmx.net>
3758 * lyxtext.h: make some functions public to allow access
3759 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3761 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3763 * text3.C (dispatch): when changing layout, avoid an infinite loop
3766 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3768 * lyxrc.C (read): treat a viewer or converter command of "none" as
3771 * MenuBackend.C (expandFormats): for an update, also allow the
3772 formats that are not viewable
3774 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3775 script if it is newer than the lyxrc.defaults in user directory
3777 2002-10-07 André Pönitz <poenitz@gmx.net>
3779 * text.C: Vitaly Lipatov's small i18n fix
3781 2002-09-25 Angus Leeming <leeming@lyx.org>
3783 * ispell.h: doxygen fix.
3785 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3787 * buffer.h (readFile): Add a new argument to the method, to allow
3788 reading of old-format templates.
3790 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3792 * toc.C (getTocList): Get TOC from InsetWrap.
3794 2002-09-16 John Levon <levon@movementarian.org>
3796 * lyxfunc.C: check tabular for cut/copy too
3798 2002-09-12 John Levon <levon@movementarian.org>
3803 * factory.C: add header
3805 * paragraph_funcs.h:
3806 * paragraph_funcs.C: cleanup
3808 2002-09-11 John Levon <levon@movementarian.org>
3810 * PrinterParams.h: odd/even default to true
3812 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3814 * PrinterParams.h: update printer parameters for new xforms dialog
3816 2002-09-11 Angus Leeming <leeming@lyx.org>
3818 * lyxserver.C (read_ready): re-write to make it more transparent
3819 and to make it work in coherent fashion under Tru64 Unix.
3821 2002-09-11 André Pönitz <poenitz@gmx.net>
3825 * text3.C: implement LFUN_WORDSEL
3827 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3829 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3830 make floatlist_ a boost::shared_ptr<FloatList>
3832 * lyxtextclass.C: include FloatList.h
3833 (LyXTextClass): initialize floatlist_
3834 (TextClassTags): add TC_NOFLOAT
3835 (Read): match "nofloat" to TC_NOFLOAT and use it.
3836 (readFloat): modify call to floatlist_
3840 * FloatList.[Ch] (FloatList): remove commented out float
3842 (erase): new function
3844 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3846 * MenuBackend.C (expandToc): fix crash when there is no document
3849 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3851 * many files: Add insetwrap.
3853 2002-09-09 John Levon <levon@movementarian.org>
3855 * text2.C: remove confusing and awkward depth wraparound
3857 2002-09-09 John Levon <levon@movementarian.org>
3859 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3862 * buffer.C: remove getIncludeonlyList()
3865 * lyxfunc.C: remove headers
3867 2002-09-09 Juergen Vigna <jug@sad.it>
3869 * text.C (getColumnNearX): fix form Michael this is most
3870 probably a cut&paste bug.
3872 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3874 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3876 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3877 references, ws changes.
3879 * text2.C (init): update counters after init
3880 (insertParagraph): no need to set counter on idividual paragraphs.
3881 (setCounter): access the counters object in the textclass object
3882 on in the buffer object.
3883 (updateCounters): ditto
3885 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3886 shared_ptr<Counters> to avoid loading counters.h in all
3888 (LyXTextClass): initialize ctrs_
3889 (TextClassTags): add TC_COUNTER, and ...
3890 (Read): use it here.
3891 (CounterTags): new tags
3892 (readCounter): new function
3893 (counters): new funtion
3894 (defaultLayoutName): return a const reference
3896 * counters.C (Counters): remove contructor
3897 (newCounter): remove a couple of unneeded statements.
3898 (newCounter): simplify a bit.
3899 (numberLabel): some small formatting changes.
3901 * buffer.[Ch]: remove all traces of counters, move the Counters
3902 object to the LyXTextClass.
3904 2002-09-06 Alain Castera <castera@in2p3.fr>
3906 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3907 package to set the horizontal alignment on fixed width columns.
3910 * lyx_sty.h: added tabularnewline macro def.
3912 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3914 2002-09-06 John Levon <levon@movementarian.org>
3916 * LyXAction.C: tooltips for sub/superscript
3918 * MenuBackend.C: a bit more verbose
3920 * lyxfunc.C: tiny clean
3922 * undo_funcs.C: document undo_frozen
3924 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3926 * counters.C (Counters): add missing algorithm counter.
3928 * text2.C (setCounter): lookup the counter with layouts latexname
3929 instead of by section number.
3930 (setCounter): use a hackish way to lookup the correct enum
3932 a float name->type change
3933 reset enum couners with counter name directly instead of depth value.
3935 * counters.C (Counters): remove the push_backs, change to use the
3936 float type not the float name.
3937 (labelItem): remove unused string, float name->type change
3939 * counters.h: don't include vector, loose the enums and sects vectors
3941 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3943 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3944 (Read): add float->TC_FLOAT to textclassTags
3945 (Read): and handle it in the switch
3946 (readFloat): new function
3948 * FloatList.C (FloatList): comment out the hardcoded float
3951 * lyxlayout.h: ws change.
3953 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3955 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3957 2002-09-03 Angus Leeming <leeming@lyx.org>
3959 * BufferView_pimpl.h: qualified name is not allowed in member
3960 declaration: WorkArea & Pimpl::workarea() const;
3962 * factory.C: added using std::endl directive.
3964 * text3.C: added using std::find and std::vector directives.
3966 2002-08-29 André Pönitz <poenitz@gmx.net>
3969 * text2.C: remove unused member number_of_rows
3972 * BufferView2.C: remove file, move contents to...
3973 * BufferView.C: ... here
3975 * BufferView_pimpl.C:
3976 * factory.C: move more inset creation to factory
3978 * vspace.C: avoid direct usage of LyXText, ws changes
3981 don't provide direct access to WorkArea, use two simple
3982 acessors haveSelction() and workHeight() instead
3985 2002-08-29 John Levon <levon@movementarian.org>
3987 * BufferView_pimpl.C (dispatch): do not continue when
3990 2002-08-28 André Pönitz <poenitz@gmx.net>
3992 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3995 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3997 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3999 * buffer.C: increment LYX_FORMAT to 221
4001 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4002 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4004 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4006 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4008 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4010 * factory.C (createInset): use LyXTextClass::floats
4012 * MenuBackend.C (expandFloatListInsert):
4013 (expandFloatInsert):
4016 * text2.C (setCounter):
4018 * LaTeXFeatures.C (useFloat):
4019 (getFloatDefinitions):
4021 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4023 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4024 floatlist_, with accessor floats().
4026 * FloatList.h: remove global FloatList
4028 2002-08-26 André Pönitz <poenitz@gmx.net>
4030 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4034 * BufferView_pimpl.C:
4035 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4037 2002-08-25 John Levon <levon@movementarian.org>
4039 * LyXAction.C: fix margin note description
4041 2002-08-24 John Levon <levon@movementarian.org>
4045 * bufferview_funcs.C:
4047 * undo_funcs.C: cleanups
4049 * lyxfunc.C: disable CUT/COPY when no selection
4051 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4053 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4054 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4056 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4057 Add backward compatibility to "mono", "gray" and "no".
4059 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4061 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4062 (and file_format >= 200).
4064 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4066 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4068 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4070 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4072 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4074 * BufferView_pimpl.C:
4081 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4082 inset and code to make it work with the paragraph code. The inset
4083 can be anywhere in the paragraph, but will only do the expected
4084 thing in LaTeX if the layout file contains the parameter line
4086 (or more generally, a nonzero value) for that layout.
4088 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4090 * paragraph.h: remove the declaration of undefined counters class
4093 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4095 * text2.C (setCounter): fixed enumeration mis-count as reported by
4096 Dr. Richard Hawkins.
4098 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4100 * paragraph_funcs.h: remove some unneeded includes
4102 * text.C (backspace): pasteParagraph now in global scipe
4104 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4105 (pasteSelection): ditto
4107 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4108 * paragraph_funcs.C (pasteParagraph): ... here
4110 2002-08-20 André Pönitz <poenitz@gmx.net>
4112 * commandtags.h: new LFUNs for swapping/copying table row/colums
4115 * lyxfunc.C: support for new lfuns
4117 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4120 * buffer.[Ch]: remove NO_COMPABILITY stuff
4122 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4124 * boost.C (throw_exception): new file, with helper function for
4125 boost compiled without exceptions.
4130 * ParameterStruct.h:
4131 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4133 * bufferlist.C (emergencyWriteAll): use boost bind
4135 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4137 * text.C: include paragraph_funcs.h
4138 (breakParagraph): breakParagraph is now in global scope
4140 * paragraph_funcs.[Ch]: new files
4142 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4145 * buffer.C: include paragraph_funcs.h
4146 (insertStringAsLines): breakParagraph is now in global scope
4148 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4151 * CutAndPaste.C: include paragraph_funcs.h
4152 (cutSelection): breakParagraphConservative is now in global scope
4153 (pasteSelection): ditto
4155 * buffer.h: declare oprator== and operator!= for
4156 Buffer::inset_iterator
4158 * bufferlist.C (emergencyWrite): don't use fmt(...)
4160 * text3.C: add using std::endl
4162 * BufferView.C (moveCursorUpdate): remove default arg
4164 2002-08-20 André Pönitz <poenitz@gmx.net>
4166 * buffer.[Ch]: move inline functions to .C
4169 * BufferView_pimpl.C:
4171 * buffer.[Ch]: use improved inset_iterator
4174 * paragraph.[Ch]: write one paragraph at a time
4176 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4178 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4179 style if style is not specified.
4181 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4183 * text2.C (setCounter): when searching for right label for a
4184 caption, make sure to recurse to parent insets (so that a caption
4185 in a minipage in a figure float works) (bug #568)
4187 2002-08-20 André Pönitz <poenitz@gmx.net>
4189 * text3.C: new file for LyXText::dispatch() and helpers
4191 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4193 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4195 2002-08-19 André Pönitz <poenitz@gmx.net>
4198 * text.C: new LyXText::dispatch()
4200 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4202 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4204 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4206 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4209 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4211 * Makefile.am: use $(variables) instead of @substitutions@
4213 2002-08-15 André Pönitz <poenitz@gmx.net>
4216 * BufferView_pimpl.C: streamlining mathed <-> outer world
4220 * LyXAction.C: remove unused LFUN_MATH
4222 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4224 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4226 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4228 * paragraph.C (Paragraph): reformat a bit
4229 (cutIntoMinibuffer): use builtin InsetList function instad of
4233 * buffer.C: include boost/bind.hpp, add using std::for_each
4234 (writeFileAscii): use ParagraphList iterators
4235 (validate): use for_each for validate traversal of paragraphs
4236 (getBibkeyList): use ParagraphList iterators
4237 (resizeInsets): use for_each to resizeInsetsLyXText for all
4239 (getParFromID): use ParagraphList iterators
4241 * BufferView2.C (lockInset): use paragraph list and iterators
4243 2002-08-14 John Levon <levon@movementarian.org>
4245 * lyxserver.C: remove spurious xforms include
4247 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4249 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4251 2002-08-13 André Pönitz <poenitz@gmx.net>
4254 * lyxfunc.C: further cleaning
4256 2002-08-13 André Pönitz <poenitz@gmx.net>
4258 * funcrequest.h: new constructor
4260 * funcrequest.C: move stuff here from .h
4263 * BufferView_pimpl.C:
4266 * lyxfunc.C: subsequent changes
4268 * lyxfunc.h: new view() member function
4270 * lyxfunc.C: subsequent changes
4272 2002-08-13 Angus Leeming <leeming@lyx.org>
4275 * BufferView_pimpl.C:
4283 changes due to the changed LyXView interface that now returns references
4284 to member variables not pointers.
4286 2002-08-13 Angus Leeming <leeming@lyx.org>
4288 * WordLangTuple (word, lang_code): return references to strings,
4293 * lyxtext.h: forward-declare WordLangTuple.
4298 * text.C: #include "WordLangTuple.h".
4301 * text.C: (selectNextWordToSpellcheck): constify return type.
4303 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4309 * paragraph_pimpl.h:
4312 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4314 Made updateCounter always count from start of buffer, and removed
4315 second argument (par).
4316 Reverted floats number display to '#'. Perhaps I'll try again when the
4317 code base is sanitized a bit.
4319 2002-08-12 Angus Leeming <leeming@lyx.org>
4321 * buffer.[Ch] (getLabelList): constify.
4323 2002-08-07 André Pönitz <poenitz@gmx.net>
4325 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4327 * funcrequest.h: extension to keep mouse (x,y) position
4329 2002-08-12 Juergen Vigna <jug@sad.it>
4331 * BufferView2.C (insertErrors): forbid undo when inserting error
4334 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4336 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4338 * ParagraphList.[Ch]: new files
4340 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4342 * BufferView2.C (lockInset): ParagraphList changes
4345 * bufferlist.C: ditto
4349 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4351 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4352 unused class variable counter_,
4354 * paragraph.[Ch] (getFirstCounter): delete unused function
4356 * counters.C: include LAssert.h
4357 (reset): add a new function with no arg, change other version to
4358 not have def. arg and to not allow empty arg.
4360 * text2.C (setCounter): remove empty arg from call to Counters::reset
4362 2002-08-11 John Levon <levon@movementarian.org>
4364 * Makefile.am: add WordLangTuple.h
4366 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4368 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4369 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4371 * insets/insettext.C: InsetList changes
4373 * graphics/GraphicsSupport.C (operator()): InsetList changes
4375 * toc.C (getTocList): InsetList changes
4377 * paragraph_pimpl.[Ch]: InsetList changes
4379 * paragraph.[Ch]: InsetList changes
4381 * buffer.C (inset_iterator): InsetList changes
4382 (setParagraph): ditto
4383 * buffer.h (inset_iterator): ditto
4384 * iterators.C (operator++): ditto
4385 * iterators.h: ditto
4387 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4389 * InsetList.[Ch]: new files, most InsetList handling moved out of
4392 * BufferView2.C (removeAutoInsets): InsetList changes
4394 (ChangeInsets): ditto
4396 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4398 * paragraph_pimpl.h (empty): new function
4400 * paragraph.[Ch] (empty): new function
4402 * other files: use the new Paragraph::empty function
4404 2002-08-09 John Levon <levon@movementarian.org>
4406 * lyxtext.h: remove unused refresh_height
4408 2002-08-09 John Levon <levon@movementarian.org>
4415 * paragraph.C: move sgml char escaping out of paragraph
4418 * paragraph.C: remove id setter
4422 * paragraph_pimpl.C: remove dead tex_code_break_column
4424 * bufferview_funcs.C: small cleanup
4426 * lyxfunc.C: remove dead proto
4428 * lyxtext.h: make some stuff private. Remove some dead stuff.
4430 * lyxgluelength.C: make as[LyX]String() readable
4432 2002-08-08 John Levon <levon@movementarian.org>
4437 * ToolbarDefaults.C:
4440 * toc.C: lyxaction cleanup
4442 2002-08-08 John Levon <levon@movementarian.org>
4444 * BufferView2.C: small cleanup
4447 * lyxfind.C: move unnecessary header into the .C
4449 2002-08-08 John Levon <levon@movementarian.org>
4451 * funcrequest.h: just tedious nonsense
4454 * lyx_main.C: cleanups
4457 * vspace.C: remove dead header lyx_main.h
4459 2002-08-07 Angus Leeming <leeming@lyx.org>
4462 * paragraph_pimpl.h:
4463 Forward declare class Counters in paragraph.h by moving the ctrs member
4464 variable into Paragraph::Pimpl.
4465 (counters): new method, returning a reference to pimpl_->ctrs.
4467 * text2.C: ensuing changes.
4469 2002-08-07 John Levon <levon@movementarian.org>
4471 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4473 * BufferView_pimpl.C: announce X selection on double/triple
4476 * lyx_main.C: use correct bool in batch dispatch
4478 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4480 2002-08-07 André Pönitz <poenitz@gmx.net>
4482 * funcrequest.h: new class to wrap a kb_action and its argument
4485 * BufferView_pimpl[Ch]:
4489 * lyxrc.C: subsequent changes
4492 2002-08-07 John Levon <levon@movementarian.org>
4494 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4495 document options change.
4497 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4502 * makefile.am: move counters functionality over from
4503 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4505 2002-08-06 John Levon <levon@movementarian.org>
4507 * WordLangTuple.h: new file for word + language code tuple
4518 * BufferView2.C: use WordLangTuple
4521 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4523 2002-08-06 John Levon <levon@movementarian.org>
4525 * lyx_main.C: fix cmdline batch handling
4527 2002-08-06 André Pönitz <poenitz@gmx.net>
4529 * lyxrc.C: set default for show_banner to true
4531 2002-08-06 John Levon <levon@movementarian.org>
4533 * pspell.C: fix a crash, and allow new aspell to work
4535 2002-08-06 John Levon <levon@movementarian.org>
4538 * kbmap.C: small cleanup
4541 * vspace.C: add const
4543 2002-08-05 John Levon <levon@movementarian.org>
4545 * LyXAction.C: back to tabular-insert
4547 2002-08-04 John Levon <levon@movementarian.org>
4550 * BufferView.C: cosmetic change
4552 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4562 * BufferView2.C: purge all "Lyx" not "LyX" strings
4565 * lyxcursor.C: attempt to add some documentation
4570 * ToolbarDefaults.C:
4571 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4572 merge with LFUN_TABULAR_INSERT
4579 * pspell.C: split up i/pspell implementations into separate
4580 files, many cleanups
4582 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4584 * text2.C: some cleanup
4586 * lyxfunc.C: don't check for isp_command == "none" any more, it
4587 didn't make any sense
4589 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4594 * makefile.am: move counters functionality over
4595 from text2.C/paragraph.[Ch] to counters.[Ch], and
4597 2002-08-02 John Levon <levon@movementarian.org>
4599 * buffer.C: s/lyxconvert/lyx2lyx/
4601 2002-08-02 Angus Leeming <leeming@lyx.org>
4603 * lyxlex.C: revert John's change as it breaks reading of the user
4606 2002-08-02 Angus Leeming <leeming@lyx.org>
4608 * importer.C (Import):
4609 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4610 changes due to LyXView::view() now returning a boost::shared_ptr.
4612 2002-08-02 John Levon <levon@movementarian.org>
4614 * lyxlex.C: small cleanup
4616 2002-08-02 John Levon <levon@movementarian.org>
4618 * text2.C (status): small cleanup, no logic change
4620 2002-08-01 John Levon <levon@movementarian.org>
4623 * buffer.C (writeFile): don't output alerts, caller
4627 * lyx_cb.C: from above
4629 * lyxfunc.C: allow to open non-existent files
4631 2002-07-31 John Levon <levon@movementarian.org>
4633 * lyxserver.C: don't let incidental errors get
4636 2002-07-30 John Levon <levon@movementarian.org>
4638 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4640 2002-07-30 John Levon <levon@movementarian.org>
4643 * lyxserver.C: remove I/O callback too
4645 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4647 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4650 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4652 * many files: strip,frontStrip -> trim,ltrim,rtrim
4654 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4656 * PrinterParams.h: remove extern containsOnly, and include
4657 support/lstrings.h instead.
4659 * LaTeX.C (scanAuxFile): modify because of strip changes
4661 * buffer.C (makeLaTeXFile): ditto
4662 * bufferparams.C (writeFile): ditt
4663 * lyxfont.C (stateText): ditto
4664 * lyxserver.C (read_ready): ditto
4665 * vc-backend.C (scanMaster): ditto
4667 * BufferView_pimpl.h: ws changes
4669 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4671 2002-07-26 André Pönitz <poenitz@gmx.net>
4673 * kb_sequence.C: remove unnedred usings
4675 2002-07-26 Juergen Vigna <jug@sad.it>
4677 * lyxfind.C (LyXReplace): we have to check better if the returned
4678 text is not of theLockingInset()->getLockingInset().
4680 2002-07-25 Juergen Vigna <jug@sad.it>
4682 * lyxfind.C (LyXReplace): don't replace if we don't get the
4685 * undo_funcs.C (createUndo): remove debugging code.
4687 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4689 * buffer.C (parseSingleLyXformat2Token): Use default placement
4690 when reading old floats.
4692 * FloatList.C (FloatList): Change the default placement of figure
4693 and tables to "tbp".
4695 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4697 * MenuBackend.C: using std::max
4699 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4701 * MenuBackend.C (expandToc):
4702 (expandToc2): code moved from xforms menu frontend. It is now
4703 generic and TOCs are transparent to menu frontends.
4705 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4707 * toc.C (getTocList): protect against buf=0
4709 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4710 Menu as first parameter. Now, this calls itself recursively to
4711 expand a whole tree (this will be useful for TOC handling)
4712 (expandFloatInsert): remove 'wide' version of floats
4714 * MenuBackend.h (submenuname): returns the name of the submenu.
4715 (submenu): returns the submenu itself, provided it has been
4716 created by MenuBackend::expand
4718 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4720 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4721 insets which have noFontChange == true. (bug #172)
4723 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4725 * BufferView_pimpl.C: add connection objects and use them...
4728 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4730 * MenuBackend.C (expandLastfiles):
4733 (expandFloatListInsert):
4734 (expandFloatInsert):
4735 (expand): split expand in parts
4737 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4739 * lyx_gui.C: use lyx_gui::exit()
4741 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4743 * LyXAction.C: show the failing pseudo action
4745 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4747 * buffer.C (readFile): Run the lyxconvert script in order to read
4750 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4754 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4756 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4760 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4762 2002-07-22 Herbert Voss <voss@lyx.org>
4765 * lyxlength.[Ch]: add support for the vertical lengths
4767 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4769 * toc.[Ch]: std:: fixes
4771 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4773 * lyxrc.C: do not include lyx_main.h
4775 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4781 * BufferView2.C: include "lyxlex.h"
4784 * bufferparams.h: do not #include "lyxlex.h"
4786 * lyxtextclasslist.C (Add): remove method
4787 (classlist): renamed to classlist_
4789 * paragraph_pimpl.C:
4793 * bufferview_funcs.C:
4798 * toc.C (getTocList): use BufferParams::getLyXTextClass
4800 * toc.C (getTocList): use InsetFloat::addToToc
4802 * toc.[Ch]: new files, containing helper functions to handle table
4805 * lyxfunc.C (dispatch): no need to remove spaces around command
4807 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4808 first command of the sequence; it is not very clever, but I do not
4809 have a better idea, actually
4811 * LyXAction.C (LookupFunc): make sure to remove space at the
4812 beginning and end of the command
4814 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4816 * MenuBackend.C (getMenubar): new method: return the menubar of
4818 (read): treat differently reading of menu and menubar (in
4819 particular, the menubar has no name now)
4820 (Menu::menubar): remove
4822 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4825 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4827 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4828 a bibitem inset in a RTL paragraph.
4830 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4832 * paragraph_pimpl.C: constify
4834 * BufferView_pimpl.C:
4836 * lyxfunc.C: fix dispatch in a nicer way
4838 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4840 * lyxfunc.C (dispatch):
4841 * BufferView_pimpl.C:
4842 * BufferView_pimpl.h:
4844 * BufferView.h: rename Dispatch() to dispatch()
4846 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4848 * lyxlayout.C (Read): honor DependsOn tag
4850 * lyxlayout.[Ch] (depends_on): new method
4852 * version.C.in: update lyx_docversion
4854 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4856 * paragraph.C (validate): remove from here...
4857 * paragraph_pimpl.C (validate): ... and move here
4858 (isTextAt): make it const
4860 * buffer.C (getLists): ws cleanup
4862 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4864 * language.C (read): Use iso8859-1 encoding in latex_lang
4865 (this prevents LyX from crashing when using iso10646-1 encoding).
4867 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4869 * text2.C (toggleInset): if cursor is inside an inset, close the
4870 inset and leave cursor _after_ it
4872 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4874 * lyxfunc.C: move minibuffer completion handling out of here
4876 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4878 * BufferView_pimpl.C:
4879 * LaTeX.C: fix dispatch calls
4881 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4883 * text.C (drawChars): Fix Arabic text rendering.
4885 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4889 * lyxfunc.C: remove message-push/pop
4893 * lyxfunc.C: rationalise some code by removing verboseDispatch
4894 in favour of a bool argument to dispatch()
4896 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4898 * lyx_main.C (init): make sure to read symlinks as absolute paths
4900 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4903 * lyxfunc.C: no need for commandshortcut to be a member
4905 2002-07-15 André Pönitz <poenitz@gmx.net>
4907 * converter.C: add support for $$s (scripts from lib/scripts dir)
4908 * lyx_main.C: white space
4910 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4914 * lyxrc.C: remove second exit confirmation
4916 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4921 * BufferView_pimpl.h:
4922 * BufferView_pimpl.C:
4923 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4925 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4927 * MenuBackend.C (expand): add numeric shortcuts to document menu
4929 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4931 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4933 * lyxfont.C (setLyXFamily):
4940 * buffer.C (asciiParagraph): use ascii_lowercase
4942 2002-07-15 Mike Fabian <mfabian@suse.de>
4944 * lyxlex_pimpl.C (search_kw):
4945 * lyxlex.C (getLongString):
4946 * converter.h (operator<):
4947 * converter.C (operator<):
4948 * buffer.C (parseSingleLyXformat2Token):
4950 * ToolbarDefaults.C (read):
4951 * MenuBackend.C (checkShortcuts):
4953 * LColor.C (getFromGUIName):
4954 (getFromLyXName): use the compare_ascii_no_case instead of
4955 compare_no_case, because in turkish, 'i' is not the lowercase
4956 version of 'I', and thus turkish locale breaks parsing of tags.
4958 2002-07-16 Angus Leeming <leeming@lyx.org>
4960 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4961 now takes a Buffer const & argument.
4963 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4965 * BufferView.C (resize): check there's a buffer to resize
4967 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4969 * lyxfunc.C: remove dead code
4972 * lyxserver.C: use lyx_guii::set_read_callback
4974 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4976 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4977 an inset in a RTL paragraph.
4979 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4981 * lyxfunc.C: repaint after a font size update
4983 2002-07-15 André Pönitz <poenitz@gmx.net>
4985 * lyxlength.C: inBP should be able to return negative values
4987 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4989 * lyxfunc.C: use lyx_gui::update_fonts()
4991 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4993 * lyxfunc.C: use lyx_gui::update_color()
4995 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5001 * lyxrc.C: remove file->new asks for name option, and let
5002 buffer-new take an argument
5004 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5006 * BufferView_pimpl.C: remove unneeded extra repaint()
5008 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5010 * LyXAction.C: allow command-sequence with NoBuffer
5012 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5014 2002-07-10 Angus Leeming <leeming@lyx.org>
5016 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5018 2002-07-09 Angus Leeming <leeming@lyx.org>
5020 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5022 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5024 * lengthcommon.h: whitespace
5026 * lyxfunc.C: update scrollbar after goto paragraph
5028 * lyxtext.h: factor out page break drawing, and fix it so
5029 page break/added space paints as selected nicely
5031 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5033 * BufferView_pimpl.C: add FIXMEs, clean up a little
5035 2002-07-09 André Pönitz <poenitz@gmx.net>
5037 * lyxfont.[Ch]: support for wasy symbols
5039 2002-07-08 André Pönitz <poenitz@gmx.net>
5041 * BufferView_pimpl.C: apply John's patch for #93.
5043 2002-07-05 Angus Leeming <leeming@lyx.org>
5045 * BufferView_pimpl.C (buffer): generate previews if desired.
5047 * LColor.h: add "preview" to the color enum.
5049 * LColor.C (LColor): add a corresponding entry to the items array.
5051 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5054 2002-07-05 Angus Leeming <leeming@lyx.org>
5056 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5057 The body of the code is now in the method that is passed an ostream &
5058 rather than a file name.
5059 Pass an additional only_preamble parameter, useful for the forthcoming
5062 2002-07-03 André Pönitz <poenitz@gmx.net>
5064 * lyxfunc.C: simplify getStatus() a bit for math stuff
5066 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5068 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5070 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5072 * text.C (changeRegionCase): do not change case of all the
5073 document when region ends at paragraph end (bug #461)
5075 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5077 * paragraph.C (startTeXParParams):
5078 (endTeXParParams): add \protect when necessary
5080 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5082 * BufferView_pimpl.C (workAreaExpose): remove warning
5084 2002-06-27 Angus Leeming <leeming@lyx.org>
5086 * Makefile.am: add lyxlayout_ptr_fwd.h.
5088 2002-06-26 André Pönitz <poenitz@gmx.net>
5090 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5092 2002-06-25 Angus Leeming <leeming@lyx.org>
5094 * lyxfunc.C (dispatch): Comment out the call to
5095 grfx::GCache::changeDisplay. The method no longer exists now that the
5096 pixmap generation part of the graphics loader has been moved into
5099 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5101 * text2.C: layout as layout
5103 * text.C: layout as layout
5105 * tabular.C (OldFormatRead): layout as layout
5107 * paragraph_pimpl.C (TeXDeeper): layout as layout
5108 (realizeFont): layout as layout
5110 * paragraph.C (writeFile): layout as layout
5111 (validate): layout as layout
5112 (getFont): layout as layout
5113 (getLabelFont): layout as layout
5114 (getLayoutFont): layout as layout
5115 (breakParagraph): layout as layout
5116 (stripLeadingSpaces): layout as layout
5117 (getEndLabel): layout as layout
5118 (getMaxDepthAfter): layout as layout
5119 (applyLayout): layout as layout
5120 (TeXOnePar): layout as layout
5121 (simpleTeXOnePar): layout as layout
5122 (TeXEnvironment): layout as layout
5123 (layout): layout as layout
5124 (layout): layout as layout
5126 * lyxtextclass.C (compare_name): new functor to work with
5127 shared_ptr, layout as layout
5128 (Read): layout as layout
5129 (hasLayout): layout as layout
5130 (operator): layout as layout
5131 (delete_layout): layout as layout
5132 (defaultLayout): layout as layout
5134 * lyxlayout_ptr_fwd.h: new file
5136 * lyxlayout.C (Read): layout as layout
5138 * lyx_cb.C (MenuInsertLabel): layout as layout
5140 * bufferlist.C (newFile): layout as layout
5142 * buffer.C (readLyXformat2): layout as layout
5143 (parseSingleLyXformat2Token): layout as layout
5144 (insertStringAsLines): layout as layout
5145 (asciiParagraph): layout as layout
5146 (latexParagraphs): layout as layout
5147 (makeLinuxDocFile): layout as layout
5148 (simpleLinuxDocOnePar): layout as layout
5149 (makeDocBookFile): layout as layout
5150 (simpleDocBookOnePar): layout as layout
5151 (getLists): layout as layout
5153 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5155 * CutAndPaste.C (cutSelection): layout as layout
5156 (pasteSelection): layout as layout
5157 (SwitchLayoutsBetweenClasses): layout as layout
5159 * BufferView_pimpl.C (Dispatch): layout as layout
5160 (smartQuote): layout as layout
5162 * BufferView2.C (unlockInset): layout as layout
5164 2002-06-24 André Pönitz <poenitz@gmx.net>
5166 * lyxfunc.C: fix #487
5168 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5172 * lyxfunc.C: remove display_shortcuts, show_banner
5174 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5176 * Buffer_pimpl.C: oops, update on resize
5178 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5185 * BufferView.C: use repaint()
5187 * BufferView_pimpl.h:
5188 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5189 as it's a clearer description. Remove superfluous
5192 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5194 * text.C: fix bug 488. Not ideal, but getting
5195 getWord() to work properly for the insets that
5196 matter is more difficult ...
5198 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5200 * BufferView_pimpl.C:
5203 * lyxfunc.C: remove the six million index lyxfuncs to just
5204 one, and DTRT (bug 458)
5206 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5210 * BufferView_pimpl.h:
5211 * BufferView_pimpl.C: clean up resize() stuff,
5212 and unnecessary updateScreen()s
5214 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5218 * BufferView_pimpl.h:
5219 * BufferView_pimpl.C:
5222 * minibuffer.C: remove focus management of workarea,
5223 not needed. Use screen's greyOut()
5225 2002-06-17 Herbert Voss <voss@lyx.org>
5227 * converter.C: (convert) do not post a message, when converting
5228 fails, let the calling function decide what to do in this case
5230 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5232 * lyxfunc.C: tidy up a little
5234 2002-06-16 <alstrup@diku.dk>
5236 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5237 Got rid of FORMS_H_LOCATION include. Now we are
5240 2002-06-15 LyX Development team <lyx@rilke>
5242 * buffer.[Ch] (sgmlOpenTag):
5243 (sgmlCloseTag): Added support for avoiding pernicious mixed
5244 content. Return number of lines written.
5247 (makeDocBookFile): Fixed calls to sgml*Tag.
5248 Simple white space clean.
5250 (simpleDocBookOnePar): Simple white space clean.
5252 * tabular.[Ch] (docBook): Renamed to docbook and got another
5253 argument to related with the pernicious mixed content.
5255 (docbookRow): Fixed calls for docbook inset method.
5257 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5259 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5260 so it's X11 independent.
5264 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5266 2002-06-15 Lyx Development team <lyx@electronia>
5268 * intl.h: Renamed getTrans to getTransManager.
5270 2002-06-14 Angus Leeming <leeming@lyx.org>
5272 * Makefile.am: nuke forgotten stl_string_fwd.h.
5274 2002-06-12 Angus Leeming <leeming@lyx.org>
5276 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5278 2002-06-13 Angus Leeming <leeming@lyx.org>
5281 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5283 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5285 * kbmap.C (getiso): add support for cyrillic and greek
5287 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5291 * BufferView_pimpl.h:
5292 * BufferView_pimpl.C: move bogus scrolling logic
5295 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5298 * BufferView_pimpl.C: view->resize() change
5300 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5302 * BufferView_pimpl.C: topCursorVisible
5305 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5309 * lyx_gui.C: move to frontends/
5313 * lyx_main.C: changes from above
5315 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5322 * lyx_main.C: minor tidy
5324 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5326 * BufferView_pimpl.h:
5327 * BufferView_pimpl.C:
5329 * BufferView.C: make painter() const,
5332 * BufferView2.C: use screen() accessor
5335 * lyx_main.C: some minor cleanup
5337 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5339 * BufferView_pimpl.h:
5340 * BufferView_pimpl.C: remove enter/leaveView,
5343 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5348 * BufferView_pimpl.h:
5349 * BufferView_pimpl.C: only construct screen once,
5352 * lyxrc.C: remove pointless comment
5354 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5357 * BufferView.C: remove active() and belowMouse()
5359 * BufferView_pimpl.h:
5360 * BufferView_pimpl.C: use workarea() not workarea_,
5361 and make it use a scoped_ptr instead
5363 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5365 * lyx_gui.C: add debug message on BadWindow
5367 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5369 * sp_spell.C: fdopen is not part of the C++ standard.
5371 * paragraph.C (InsetIterator): use >= instead of ==
5373 2002-06-07 Angus Leeming <leeming@lyx.org>
5375 Fixes needed to compile with Compaq cxx 6.5.
5376 * BufferView_pimpl.C:
5383 * lyxtextclasslist.C:
5388 all c-library variables have been moved into namespace std. Wrap
5389 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5394 Add a using std::abs declaration.
5396 * kbmap.h (modifier_pair):
5397 * paragraph.h (InsetTable, InsetList):
5398 * lyxfont.h (FontBits):
5399 type definition made public.
5401 * bufferlist.C (emergencyWriteAll): the compiler complains that
5402 there is more than one possible lyx::class_fun template to choose from.
5403 I re-named the void specialisation as lyx::void_class_fun.
5405 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5407 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5408 the compiler is is unable to find tostr in write_attribute.
5410 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5412 * buffer.C (sgmlError): hide #warning
5414 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5416 * xtl/*: get rid of xtl, which is not in use anyway
5418 * LyXAction.C (init):
5419 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5420 were unimplemented xtl experimentation
5422 2002-06-04 André Pönitz <poenitz@gmx.net>
5424 * lyxfunc.C: disable array operation on simple formulae
5426 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5428 * converter.C: constify a bit
5430 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5432 * lyx_gui.C: check xforms version correctly
5434 2002-04-30 Herbert Voss <voss@lyx.org>
5436 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5439 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5441 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5442 attempt to register it with a VCS)
5444 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5446 * lyx_main.C (init): honor variables LYX_DIR_13x and
5449 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5453 * lyx_main.C: fix a crash on bad command line,
5454 and give a useful exit status on error
5456 * lyxfunc.C (doImport): allow -i lyx to work
5458 2002-03-30 André Pönitz <poenitz@gmx.net>
5460 * lyxfunc.C: mathed font changes
5462 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5477 * trans_mgr.h: srcdocs, and some minor cleanups
5479 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5481 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5482 call getFont all the time)
5484 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5486 * switch from SigC signals to boost::signals
5488 2002-05-29 André Pönitz <poenitz@gmx.net>
5490 * paragraph_pimpl.C (getChar): don't call size() too often...
5492 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5494 * paragraph_pimpl.C (insertChar): do not try to update tables when
5495 appending (pos == size())
5497 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5498 in order to reduce drastically the number of comparisons needed to
5499 parse a large document
5501 2002-05-29 André Pönitz <poenitz@gmx.net>
5507 * textclasslist.[Ch]:
5508 * sp_ispell.h: whitespace change
5510 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5512 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5513 lyxaction directly now.
5515 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5519 * lyxvc.C: remove unused headers
5521 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5528 * undo_funcs.C: some cleanups. Use shared_ptr
5529 and a template for the undo stacks.
5531 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5533 * BufferView_pimpl.h:
5534 * BufferView_pimpl.C:
5541 * text2.C: use key_state/mouse_state
5543 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5545 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5548 * chset.C: change include order
5549 (loadFile): use boost regex and get rid of LRegex and LSubstring
5551 * Makefile.am (BOOST_LIBS): new variable
5554 * LaTeX.C: change include order.
5555 (scanAuxFile): use boost regex and get rid of LRegex and
5559 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5564 * FontInfo.C: moved to frontends/xforms/
5567 * FontLoader.C: moved into frontends for GUIIzation
5572 * lyxfunc.C: changes from above
5574 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5576 * LColor.C: remove spurious X include
5578 * BufferView_pimpl.C:
5583 * text2.C: move font metrics to frontends/
5585 2002-05-24 Juergen Vigna <jug@sad.it>
5587 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5588 setting the undo_cursor.
5590 * ParagraphParameters.h: include local includes first.
5592 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5594 * BufferView_pimpl.C:
5595 * BufferView_pimpl.h:
5599 * screen.C: move WorkArea into frontends/
5605 * BufferView2.C: move LyXScreen into frontends/
5609 * lyx_gui.C: move lyxlookup into frontends/xforms/
5611 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5614 * BufferView_pimpl.C:
5624 * bufferview_funcs.C:
5637 * vc-backend.C: move LyX/XFormsView into frontends/
5639 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5651 * text2.C: move Painter to frontends/
5653 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5655 * buffer.C: comment out some some code that depend upon lyx_format
5658 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5659 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5661 * buffer.h (NO_COMPABILITY): turn off compability
5663 * ColorHandler.C: include scoped_array.hpp
5665 * font.C: Use more specific smart_ptr header.
5668 * ShareContainer.h: ditto
5672 * BufferView_pimpl.h: ditto
5673 * ColorHandler.h: ditto
5675 * kbmap.C (defkey): change call to shared_ptr::reset
5677 2002-05-21 Juergen Vigna <jug@sad.it>
5679 * buffer.C (insertErtContents): fix to insert ert asis if it is
5680 non empty. Skip it completely if it contains only whitespaces.
5682 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5684 * BufferView_pimpl.C:
5685 * BufferView2.C: clear selection on paste (bug 393)
5687 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5689 * DepTable.C: include ctime
5691 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5693 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5695 2002-05-14 Juergen Vigna <jug@sad.it>
5697 * text.C (breakParagraph): fixed function to honor the keepempty
5698 layout in the right maner and also to permit the right breaking
5699 algorithm on empty or non empyt keepempty paragraphs.
5701 * paragraph.C (breakParagraph): we have to check also if the par
5702 is really empty (!size()) for isempty otherwise we do the wrong
5705 2002-05-10 Juergen Vigna <jug@sad.it>
5707 * buffer.[Ch] : The following are only changes to the ert
5708 compatibility read reading old LaTeX layout and font stuff and
5709 convert it to ERTInsets.
5711 * buffer.h: added isErtInset().
5713 * buffer.C (struct ErtComp): add a fromlayout bool to check
5714 if we're inside a LaTeX layout.
5715 (isErtInset): new helper function.
5716 (insertErtContents): look for other ert insets before this one
5717 and insert the contents there, so that we don't have subsequent
5718 ERT insets with nothing between them. This way we create only one
5719 inset with multiple paragraphs. Also check if we don't insert only
5720 spaces ' ' as they are ignored anyway afterwards in the .tex file
5721 so if we have only spaces we will ignore this latex part in the
5723 (parseSingleLyXformat2Token \\layout): better compatibility when
5724 reading layout-latex stuff.
5725 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5727 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5728 stuff after reading the inset only get the information back from
5731 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5733 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5735 * LaTeXFeatures.C (getBabelOptions): New method.
5737 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5739 * BufferView_pimpl.C (Dispatch): work around missing argument for
5742 2002-05-08 Juergen Vigna <jug@sad.it>
5744 * text.C (leftMargin): handle paragraph leftindent.
5746 * paragraph.C (writeFile): write the new \\leftindent tag.
5747 (validate): handle leftindent code.
5748 (TeXEnvironment): handle paragraphleftindent code again.
5750 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5752 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5753 for paragrap_extra indent code and new token \\leftindent.
5754 (latexParagraphs): handle the leftindent as environment.
5756 * ParameterStruct.h: added leftindent support.
5758 * ParagraphParameters.C (leftIndent): added support functions for
5759 the paragraph left indent.
5761 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5764 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5766 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5769 * text.C (computeBidiTables): No bidi in insetERT.
5771 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5774 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5776 * version.C.in: pre 5
5778 2002-05-02 José Matos <jamatos@fep.up.pt>
5779 * buffer.C (makeDocBookFile): white space changes, add newline to
5781 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5783 * tabular.C (docBook): fix typo.
5785 2002-05-03 Juergen Vigna <jug@sad.it>
5787 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5788 change in LyXText as we can not be sure it was not freed.
5789 (drawOneRow): remove unused code.
5791 * text.C (drawInset): redo the calculation of the need_break_row as
5792 it could have a row which was already freed.
5793 (draw): look at the return value of drawInset and return false if
5794 it also returned false.
5795 (paintRowText): look at the return value of draw and return false if
5796 it also returned false.
5798 * lyxtext.h: added bool return type to drawInset() and draw() so that
5799 if we have a change in the row so that the rowbreak has to be redone
5800 we abort drawing as it will be called again.
5802 2002-05-02 Juergen Vigna <jug@sad.it>
5804 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5805 a change in the maintext also if we're inside an inset.
5806 (Dispatch): set the cursor again after a break line and after the
5807 screen has been updated as it could be we're in a different row.
5809 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5810 to set the cursor behind the pargraph with > size().
5811 (setCursor): check also for the same paragraph when checking where
5812 to put the cursor if we have a NFR inset.
5814 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5815 parts of layout read further up as it still was in the wrong
5818 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5820 * screen.C (drawFromTo): change sine fullRebreak always return
5823 * buffer.C (parseSingleLyXformat2Token): reindent some
5825 * BufferView_pimpl.C (update): change since fullRebreak always
5827 (Dispatch): git rid of the last hardcoded "Standard"s.
5829 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5831 * text2.[Ch] (fullRebreak): make it return void now that we always
5834 2002-04-30 Juergen Vigna <jug@sad.it>
5836 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5837 ert compatibility check for "latex" layout.
5839 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5841 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5842 minipages: use col% instead of p%, and also use the current font.
5843 (makeLaTeXFile): Fix use babel condition.
5844 (parseSingleLyXformat2Token): Correct font when reading old floats.
5846 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5848 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5849 inserting list of floats.
5851 2002-04-25 Herbert Voss <voss@lyx.org>
5853 * MenuBackend.C (expand): don't add the graphics extensions to the
5856 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5858 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5859 non-existing layout, do not complain if it was the default layout
5860 of the original class (bug #342)
5862 2002-04-24 Juergen Vigna <jug@sad.it>
5864 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5865 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5867 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5869 * buffer.C (getBibkeyList): If using \bibliography, return the
5870 option field with the reference itself. Enables us to provide natbib
5871 support when using \bibliography.
5873 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5875 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5877 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5878 natbib is provided by the LaTeX class.
5880 2002-04-23 Juergen Vigna <jug@sad.it>
5882 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5885 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5887 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5889 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5891 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5892 ensuremath around textordmasculine, textordfeminine and
5895 2002-04-19 Juergen Vigna <jug@sad.it>
5897 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5898 reinitializing the buffer otherwise row-dimensions may be wrong.
5899 (update): reset also the selection cursors if they do exits otherwise
5900 their x/y positions may be wrong.
5902 * text2.C (cursorDown): don't enter the inset if we came from a row
5903 above and are one row over the inset.
5905 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5906 really leaving an inset.
5908 2002-04-18 Juergen Vigna <jug@sad.it>
5910 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5911 of the selected paragraph does not have the selected layout also if
5914 * text2.C (setLayout): fixed bug which did not change last selected
5917 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5918 changed the read and substituted \\end_float with \\end_inset!
5920 * BufferView_pimpl.C (cursorPrevious):
5921 (cursorNext): fixed to make it work with rows heigher than the work
5922 area without moving the cursor only the draw of the row.
5923 (workAreaMotionNotify): fix jumping over high rows.
5925 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5927 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5930 2002-04-16 Juergen Vigna <jug@sad.it>
5932 * text2.C (setCursor): set also the irow().
5933 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5935 (cursorDown): support for locking an inset if the x_fix value goes
5936 inside it. That way I can transverse insets too with cursor up/down.
5938 * lyxrow.h: added irow helper function same as other (i) functions.
5940 * BufferView_pimpl.C (cursorPrevious):
5941 (cursorNext): fixed for insets!
5943 2002-04-15 Juergen Vigna <jug@sad.it>
5945 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5946 position otherwise it is wrong in some cases.
5948 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5949 inside the inset before the call.
5951 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5953 * buffer.[Ch] (getBibkeyList): make it const.
5955 2002-04-12 Juergen Vigna <jug@sad.it>
5957 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5959 * text2.C (getCursorX): new helper function
5960 (setCursor): compute also ix_
5961 (setCursorFromCoordinates): set also ix.
5963 * lyxcursor.h: added ix_ and helper functions.
5965 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5967 * buffer.C (insertStringAsLines): dont break paragraph if the this
5968 paragraph is inside an inset which does not permit it!
5970 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5971 also with no chars on this paragraph.
5972 (paintRowText): only paint stuff if it's inside the workarea!
5974 * paragraph.C (breakParagraph): honor keepempty flag and break the
5975 paragraph always below not above.
5977 * BufferView2.C (unlockInset): update the paragraph layout on inset
5978 unlock as we changed paragraph in such a case.
5980 * lyxfind.C (LyXFind): clear the former selection if not found!
5982 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5983 again called in insertChar().
5985 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5986 an inset which uses the whole row!
5987 (rightMargin): ditto.
5988 (insertChar): force a rebreak if we inserted an inset!
5990 2002-03-28 Herbert Voss <voss@lyx.org>
5992 * lyxlength.[Ch]: add inBP() to get the right PS-point
5993 units (BigPoint). With inPixels we have rounding errors
5995 2002-04-11 Juergen Vigna <jug@sad.it>
5997 * text2.C (setCursorFromCoordinates): set iy to the right value.
5998 (setCursor): add check if row->previous exists!
6000 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6001 an old float_type as this was the case in the old code!
6003 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6005 * BufferView2.C (showLockedInsetCursor): use iy
6006 (fitLockedInsetCursor): ditto
6008 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6009 locked insets as there we have the right value now.
6011 * lyxcursor.C: added iy_ variable and iy functions to set to the
6012 baseline of cursor-y of the locked inset.
6014 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6015 (setCursor): fixed for insets which need a full row.
6017 * text.C (rowLastPrintable): don't ignore the last space when before
6018 an inset which needs a full row.
6019 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6020 as last character of a row when before a inset which needs a full row.
6022 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6024 * version.C.in: update date
6026 * text2.C (fullRebreak): try to always return true and see what
6029 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6031 * MenuBackend.C (expand): use Floating::listName
6033 * FloatList.C (FloatList): add listName argument to the built-in
6036 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6037 text associated with the float.
6039 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6041 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6043 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6045 * ShareContainer.h: add a couple of missing typenames.
6047 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6049 * lyxrc.C (getDescription): use _() correctly rather than N_().
6051 2002-03-28 Herbert Voss <voss@lyx.org>
6053 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6054 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6056 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6058 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6059 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6061 2002-03-29 Juergen Vigna <jug@sad.it>
6063 * lyxfunc.C (dispatch): add a missing fitCursor call.
6065 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6066 it was scrolled by a cursor move, so return the bool status.
6068 * BufferView.C (fitCursor): return the bool flag also to the outside
6069 world as this is needed.
6071 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6073 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6074 call the edit() as it is not needed (and wrong) IMO.
6075 (workAreaButtonPress): set the screen_first variable before evt.
6076 unlock the inset as this may change screen_first and then we have
6077 a wrong y position for the click!
6079 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6081 * MenuBackend.C (expand): another translation that I missed
6083 2002-03-28 Juergen Vigna <jug@sad.it>
6085 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6087 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6089 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6091 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6093 * MenuBackend.C (expand): fix export/view/update when there is no
6096 2002-03-27 Herbert Voss <voss@lyx.org>
6098 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6101 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6103 * bufferview_funcs.C (currentState): only show paragraph number
6104 for is DEVEL_VERSION is set.
6106 * lyxfunc.C (dispatch): put warning in INFO channel
6108 * MenuBackend.C (expand): translate the name of floats
6110 * FloatList.C (FloatList): mark the float names for translation
6112 * converter.C (convert): use LibScriptSearch
6114 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6116 * MenuBackend.C (defaults): fix default menu (we might as well get
6119 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6121 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6124 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6126 * lyxvc.C: reorder includes.
6128 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6130 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6133 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6135 * CutAndPaste.C: change layouts earlier on paste
6136 to avoid crashing when calling getFont()
6138 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6140 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6143 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6145 * WorkArea.C: remove 'Pending' debug message.
6147 * most files: ws cleanup
6149 * buffer.[Ch]: ws changes
6151 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6153 2002-03-21 Juergen Vigna <jug@sad.it>
6155 * tabular.C (SetMultiColumn): collapse also the contents of the
6156 cells and set the last border right. Added a Buffer const * param.
6158 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6160 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6163 2002-03-19 Juergen Vigna <jug@sad.it>
6165 * text2.C (clearSelection): reset also xsel_cache.
6167 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6168 where it needs to be called (John tells us to do so too :)
6169 (selectionLost): reset sel_cache.
6171 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6173 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6175 * text2.C (setCursorIntern): put debuging code in INSETS channel
6177 2002-03-19 André Pönitz <poenitz@gmx.net>
6179 * lyxfunc.C: tiny whitespace change
6181 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6183 * ToolbarDefaults.C (init):
6184 * LyXAction.C (init):
6186 * BufferView_pimpl.C (Dispatch):
6187 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6189 2002-03-19 Allan Rae <rae@lyx.org>
6191 * exporter.C (Export): removeAutoInsets before doing anything else.
6192 While I've just introduced a dependency on BufferView this really is
6193 the best place to clean the buffer otherwise you need to cleanup in
6194 a dozen places before calling export or cleanup in a dozen functions
6197 * converter.C (runLaTeX):
6198 (scanLog): Better handling of removeAutoInsets and screen updates.
6200 * lyxfunc.C (dispatch): small whitespace changes
6202 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6204 * WorkArea.C (C_WorkAreaEvent): return a value.
6205 (event_cb): return 1 if we handled the event, 0 otherwise.
6207 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6209 2002-03-18 Juergen Vigna <jug@sad.it>
6211 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6212 (GetAdditionalWidth): ditto.
6216 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6217 inset if we're there actually (probably not used right now but this
6218 is the direction to go for unifying code).
6219 (paste): disable code to clear the selection.
6221 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6222 inside an InsetText and move the check further up as it is in the
6225 * text2.C (pasteSelection): set a selection over the pasted text.
6227 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6229 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6230 and libgraphics to build on Cygwin.
6232 2002-03-15 Juergen Vigna <jug@sad.it>
6234 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6235 inserting an Inset into the paragraph. I know this is not the best
6236 fix but we already use current_view in CutAndPaste so we will remove
6237 all of it's using at the same time.
6239 * buffer.C (sgmlError): deactivated function till it is rewritten in
6240 the right mode, now it can create problems.
6242 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6243 before accessing it.
6245 2002-03-14 Juergen Vigna <jug@sad.it>
6247 * undo_funcs.C (textHandleUndo): do the right thing when updating
6248 the inset after the undo/redo.
6250 * text2.C (setCursor): just some testcode for #44 not ready yet.
6252 * undo_funcs.C (textHandleUndo): set the next() and previous()
6253 pointers of the paragraph to 0 before deleting otherwise we have
6254 problems with the Paragraph::[destructor].
6256 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6257 on a paragraph insertion.
6259 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6261 * buffer.C (asciiParagraph): use += operator for char append to
6264 * paragraph.C (getFontSettings): compare >= not just >
6265 (highestFontInRange): ditto
6268 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6270 * paragraph.C: change several algorithm to be more appripriate for
6271 the problem domain. This is lookip in FontList and in the InsetList.
6273 2002-03-13 André Pönitz <poenitz@gmx.net>
6276 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6278 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6283 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6285 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6287 * Painter.C (display): anon helper function, adjust code for this
6289 (pixmap): remove function.
6291 * Painter.h: remove private display variable.
6293 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6295 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6297 * WorkArea.[Ch]: remove figinset_canvas cruft.
6299 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6301 * lyxtextclass.C (operator): add one item cache optimization.
6303 * bufferlist.h: doxy changes
6305 * bufferlist.C: ws changes
6307 * DepTable.[Ch] (ext_exist): place const in the right spot.
6309 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6311 (workAreaExpose): call resizeInsets when the with BufferView changes.
6312 (Dispatch): adjust for protectedBlank removal
6313 (specialChar): call updateInset if the insert went ok.
6315 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6316 specialChar instead.
6318 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6320 * BufferView.h: doxy change
6322 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6324 * lyxtextclass.C (operator[]): remove non-const version
6325 (defaultLayout): remove non-const version
6327 2002-03-12 Juergen Vigna <jug@sad.it>
6329 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6330 did resize the LyXText too.
6332 * buffer.C (readLyXformat2): set layout information on newly allocated
6335 * tabular.C (OldFormatRead): set layout information on the paragraph.
6337 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6339 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6341 2002-03-11 Juergen Vigna <jug@sad.it>
6343 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6345 (resizeCurrentBuffer): force also the insets to resize themselfes.
6346 (moveCursorUpdate): fixed up for InsetText.
6348 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6351 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6352 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6353 value of Dialogs::tooltipsEnabled().
6354 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6356 2002-03-08 Juergen Vigna <jug@sad.it>
6358 * BufferView_pimpl.C (updateInset): update inset inside inset also
6359 if it isn't inside theLockingInset().
6361 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6363 * buffer.C (asciiParagraph): redo some of the word and line length
6365 (getLists): look for Caption instead of caption.
6367 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6369 * buffer.C (Buffer): initialize niceFile to true
6372 (makeDocBookFile): make sure niceFile is true on exit
6374 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6376 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6378 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6380 * LyXSendto.C: remove.
6381 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6382 * lyx_gui.C: remove now-redundant comment.
6383 * ColorHandler.h: remove forward declaration of class WorkArea.
6384 * lyxfunc.C: remove #include "WorkArea.h".
6386 2002-03-07 Juergen Vigna <jug@sad.it>
6388 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6389 got moved away with the DEPM and also set the inset_owner always
6390 right which before could have been omitted.
6392 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6394 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6395 wanted layout is not found.
6397 2002-03-07 Juergen Vigna <jug@sad.it>
6399 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6401 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6403 * paragraph.C (breakParagraph): use default layout not layout of
6405 (Paragraph): clear ParagraphParameters.
6407 2002-03-06 Juergen Vigna <jug@sad.it>
6409 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6410 otherwise it would not be a valid lenght. Fixed a special case in
6411 the minipage compatibility read where we end the document with a
6414 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6415 was set as it could be 0 for InsetTexts first entry.
6417 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6419 * paragraph.C (writeFile): if layout is empty write out
6420 defaultLayoutName().
6422 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6423 file without named layout we set layout to defaultLayoutName().
6425 2002-03-06 Juergen Vigna <jug@sad.it>
6427 * CutAndPaste.C (copySelection): set layout for new paragraph.
6429 * text.C (prepareToPrint): leave ERT inset left aligned
6430 (leftMargin): don't indent paragraphs inside ERT insets
6432 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6434 * paragraph.C (breakParagraph): dont call clear do the work manually
6436 * paragraph.[Ch] (clear): remove function
6438 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6440 * paragraph.C (Paragraph): dont call clear, the work has already
6443 * lyxtextclass.C (operator): assert if n is empty
6445 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6446 work manually instead.
6448 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6450 * BufferView_pimpl.C: protect selectionLost against text == 0
6452 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6454 * text.C (breakParagraph): fix a setting layout to '0' problem.
6456 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6458 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6459 final location of file, for the included files, and graphics.
6461 2002-03-05 Juergen Vigna <jug@sad.it>
6463 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6465 2002-03-04 Juergen Vigna <jug@sad.it>
6467 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6469 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6470 last column of multicolumn cells.
6471 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6473 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6475 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6476 file if it doesn't go to a temporary file.
6478 * buffer.C (sgmlOpenTag):
6479 (sgmlCloseTag): remove extra newline insertion.
6481 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6483 * text.C (getRowNearY): comment out debug msg
6485 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6487 * text2.C: first -> first_y
6489 * text.C (getRowNearY): add some attemts at a possible
6490 optimization, not working.
6492 * tabular.[Ch]: add BufferParams to several function so that newly
6493 created paragraph can be initialized to he default layotu for the
6496 * tabular-old.C (ReadOld): add buf->params to call of Init
6498 * screen.C: rename text->first to text->first_y
6500 * paragraph.C (breakParagraph): always set layout in the broken
6503 * lyxtextclass.C (Read): remove lowercase
6506 (delete_layout): ditto
6508 * lyxtext.h: rename first -> first_y
6510 * lyxlayout.C (Read): remove lowercase
6513 (obsoleted_by): ditto
6515 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6517 * buffer.C (insertErtContents): add params are to InsetERT
6518 (parseSingleLyXformat2Token): add code to check if a paragraphs
6519 layout really exist.
6520 (parseSingleLyXformat2Token): add params to several inset
6522 (asciiParagraph): remove lowercase, do the layout comparisons with
6525 * BufferView_pimpl.C (cursorNext): first -> first_y
6526 (resizeCurrentBuffer): first -> first_y
6527 (updateScrollbar): first -> first_y
6528 (scrollCB): first -> first_y
6529 (workAreaMotionNotify): first -> first_y
6530 (workAreaButtonPress): first -> first_y
6531 (checkInsetHit): first -> first_y
6532 (cursorPrevious): first -> first_y
6533 (cursorNext): first -> first_y
6534 (Dispatch): add buffer_->params to severl inset contructors
6536 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6538 * lyxlayout.C (Read): remove some debug info that I forgot.
6540 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6541 clean up the code slightly.
6542 (makeLinuxDocFile): ditto
6543 (makeDocBookFile): ditto
6545 * text2.C: layout as string
6547 * text.C: layout as string
6549 * paragraph_pimpl.C: layout as string
6551 * paragraph.[Ch]: layout as string
6553 * lyxtextclasslist.[Ch]: layout as string
6555 * lyxtextclass.[Ch]: layout as string
6557 * lyxtext.h: layout as string
6559 * lyxlayout.[Ch]: layout as string
6561 * lyx_cb.C: layout as string
6563 * bufferview_funcs.C: layout as string
6565 * bufferparams.C: layout as string
6567 * buffer.C: layout as string
6569 * LyXView.[Ch]: layout as string
6571 * LaTeXFeatures.[Ch]: layout as string
6573 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6575 * BufferView_pimpl.C: change current_layout to string, remove
6580 (workAreaButtonRelease): layout as string
6582 * BufferView2.C (unlockInset): adjust
6584 * vspace.C (asLatexCommand): use an explict temp variable.
6586 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6588 * Makefile.am: use FRONTEND_*
6590 2002-03-01 Juergen Vigna <jug@sad.it>
6592 * tabular.C (SetWidthOfMulticolCell): changed to something better
6593 I hope but still work in progress.
6594 (recalculateMulticolumnsOfColumn): renamed function from
6595 recalculateMulticolCells as it is more appropriate now.
6596 (SetWidthOfCell): calculate multicols better.
6598 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6600 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6602 * lyxfunc.C (processKeySym): print sequence also if it is
6603 `deleted' (complete)
6605 * kbsequence.C (print): print sequence even if it is deleted
6606 (complete would be a better word, actually).
6608 * lyxfunc.C (dispatch): print complete options after a prefix key
6610 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6612 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6614 * text2.C (setCharFont): eliminate setCharFont code duplication.
6616 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6618 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6619 LFUN_TABULAR_FEATURE (bug #177)
6621 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6623 * Makefile.am: remove figure.h
6625 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6627 * Bufferview_pimpl.C:
6639 * text2.C: remove #include "lyx_gui_misc.h".
6641 * LaTeX.C: added #include <cstdio>
6643 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6645 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6646 that the paragraph following this one can have.
6648 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6650 * vspace.C (asLatexCommand): fix bogus gcc warning
6652 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6654 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6656 * text2.C (setLayout): get rid of redundant code
6658 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6660 * text2.C (incDepth): make sure depth cannot be increased beyond
6663 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6665 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6666 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6668 * PainterBase.h (image):
6669 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6672 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6676 * BufferView_pimpl.C:
6677 * BufferView_pimpl.h:
6697 * sp_spell.C: remove fig inset, and the crap house of
6698 cards that follows it
6700 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6706 * nt_defines.h: move .h into support/
6708 * vms_defines.h: remove
6710 * WorkArea.C: add space in debug output
6714 * buffer.C: add WITH_WARNINGS
6718 * bufferlist.C: s/retrive/retrieve/, add docs
6729 * lyxgui.C: add ID to X error handler
6731 * lyxtestclass.c: fix typo
6733 2002-02-26 Juergen Vigna <jug@sad.it>
6735 * tabular_funcs.C (write_attribute): changed so that some default
6736 attributes are not written at all.
6737 (getTokenValue): set default values before trying to read the
6738 value so we have the return value always set as default if we don't
6739 find the token we search for.
6741 * tabular.C (Write): write bools as bools not as strings!
6743 2002-02-22 Juergen Vigna <jug@sad.it>
6745 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6746 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6748 * text.C (leftMargin): don't add an indent for paragraphs inside
6749 tabular cells (fix #208).
6751 2002-02-21 José Matos <jamatos@fep.up.pt>
6753 * tabular.C (docBook): fixed support for long tables.
6755 2002-02-20 Juergen Vigna <jug@sad.it>
6757 * text2.C (getFont): get the drawing font of the Inset if this
6758 paragraph is inside an inset (only important for InsetERT for now).
6760 * buffer.C (insertErtContents): use new lanugage params in ERT
6763 * CutAndPaste.C: commenting out seemingly uneeded code.
6765 2002-02-19 Allan Rae <rae@lyx.org>
6767 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6768 Iterators might be simple to use but they also get invalidated.
6769 (removeAutoInsets): renamed saved cursor tracking variables and added
6770 some comments to clarify what everything does.
6772 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6779 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6780 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6783 * vc-backend.h: remove #include "support/syscall.h"
6787 * converter.C: rearrange #includes in Lars' approved fashion.
6789 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6790 forward declare class Timeout in the header file.
6792 * XFormsView.C: changes due to the above.
6794 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6797 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6798 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6800 2002-02-18 José Matos <jamatos@fep.up.pt>
6802 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6805 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6807 * a lot of small ws changes
6808 * add a lot of using std::XXX
6809 * use std construcs some places where approp.
6810 * use some exisint stuff from lyxfunctional where approp.
6811 * Make file changes to use partial linking (lets test this now...)
6813 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6817 remove #include "support/syscontr.h" as it's redundant. Always has been.
6825 change Systemcalls::System to Systemcalls::Wait and
6826 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6827 No change of functionality, just reflects the stripped down Systemcalls
6830 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6832 * debug.[Ch]: add a GRAPHICS type to the enum.
6834 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6836 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6838 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6841 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6843 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6844 match the changes below.
6846 * text2.C (toggleInset): if there is not editable inset at cursor
6847 position, try to see if cursor is _inside_ a collapsable inset
6850 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6852 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6853 document menu has a nice checkbox
6855 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6857 * lyxlength.C (asLatexString): change PW to output as percent of
6860 * lengthcommon.C: change '%' to 't%'
6862 * lyxfunc.C (dispatch): a few comments from Martin
6864 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6868 * BufferView_pimpl.h:
6869 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6872 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6874 * vspace.C (inPixels): fix compiler warning
6876 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6878 * lyxfunc.C (getStatus): fix status message for disabled commands.
6880 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6882 * BufferView_pimpl.C: fix crash on close buffer
6883 during selection (#227)
6885 2002-01-27 Herbert Voss <voss@lyx.org>
6887 * buffer.C: link old Figure to new graphic inset
6889 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6891 * FontLoader.C (getFontinfo): Change the latex font names in order
6892 to match the names of type1inst.
6894 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6896 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6898 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6901 (remove_files_with_extension): ditto
6902 (remove_file): ditto
6905 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6906 document is smaller than the work area height. Do not initialize
6907 static variables to 0.
6909 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6911 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6913 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6914 LFUN_LAYOUT_PARAGRAPHS.
6916 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6917 tabular. It is possible to provide a possible cell, which will
6918 typically be the actcell from the corresponding insettabular
6920 * lyxfunc.C (getStatus): small cleanup; disable
6921 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6924 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6926 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6928 * paragraph.C (startTeXParParams):
6929 (endTeXParParams): new methods. The LaTeX code to
6930 start/end paragraph formatting
6931 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6932 empty (fixes bug #200)
6934 * vspace.C (inPixels): adapt to the change below
6935 (inPixels): [later] more cleanups (remove unused variables)
6937 * lyxlength.C (inPixels): change to use a width and a height as
6940 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6942 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6943 Replaced with \paperwidth
6945 * DepTable.C (insert): add std:: qualifier
6947 2002-01-18 Allan Rae <rae@lyx.org>
6949 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6952 * text.C (drawInset): Turned out I didn't know enough about how
6953 rebreaking worked. This fixes most of the redraw problems. I see
6954 an occasional cursor trail when a line is broken now and the cursor
6955 placement can seem out by a few pixels also after a rebreak.
6957 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6959 * buffer.C (parseSingleLyXformat2Token): update because minipage
6960 width is now a LyXLength
6962 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6964 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6967 2002-01-17 Juergen Vigna <jug@sad.it>
6969 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6971 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6972 is set correctly and the inset is updated correctly.
6974 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6976 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6977 the beginning of the loop.
6979 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6981 * lyxrc.C: improve help for use_scalable_fonts
6983 2002-01-17 Allan Rae <rae@lyx.org>
6985 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6987 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6989 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6990 make sure to set their inset_owner to the right value (bug #171)
6992 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6995 * DepTable.C: Implement mtime checking to reduce time spent doing
6998 2002-01-16 Juergen Vigna <jug@sad.it>
7000 * tabular.C (GetAdditionalHeight): one of error fixed.
7002 * lyxrc.C (output): small fix in writing use_pspell.
7004 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7006 * sp_base.h: #include LString.h
7008 2002-01-16 Allan Rae <rae@lyx.org>
7010 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7011 Can someone check this please?
7013 * text.C (drawInset): It was possible that p.row would be removed by
7014 breakAgainOneRow upsetting a few other settings. There may be another
7015 small tweak possible by setting need_break_row = 0 when p.row has been
7016 removed but I don't know enough about the logic here.
7018 2002-01-15 Allan Rae <rae@lyx.org>
7020 * text.C (insertChar): removed conditional truism.
7022 * BufferView2.C (removeAutoInsets): More tweaks.
7023 cur_par_prev could be a stray pointer. Check for trailing empty line
7024 in case last line was cur_par and only had an error inset on it.
7026 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7028 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7031 * vc-backend.C (most methods):
7032 * exporter.C (Export):
7033 * converter.C (convert):
7035 * LyXSendto.C (SendtoApplyCB):
7036 * lyxfunc.C (dispatch):
7040 * lyx_cb.C (AutoSave):
7042 * BufferView_pimpl.C (MenuInsertLyXFile):
7043 * buffer.C (runChktex): use Buffer::filePath().
7045 * buffer.h: rename filename to filename_; rename filepath to
7046 filepath_ and make it private
7047 (filePath): new method
7049 * buffer.C (writeFile): use fileName()
7052 * lyx_main.C (init): fix starting of LyX when the binary is a
7053 link from so,ewhere else.
7055 * minibuffer.C: include <cctype> for isprint
7057 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7059 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7060 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7061 name clash with InsetCollapsable's width function.
7063 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7065 * lastfiles.C: include <iterator>
7067 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7069 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7072 * buffer.C (makeLaTeXFile): ditto.
7073 Also make loop operation more transparent.
7075 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7077 * ToolbarDefaults.C: remove trailing comma closing namespace.
7079 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7081 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7084 * trans.C (Load): comment out unused variable, allowed.
7086 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7088 * minibuffer.[Ch] (append_char): new method to recieve input from the
7089 drop-down completion browser. If a key was pressed, then recieve this
7090 char and append it to the existing string.
7091 (peek_event): modify the positioning data passed to the completion
7092 browser so that it can be placed above the minibuffer rather than below.
7093 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7095 * LyXAction.C (init): alloe error-next for readonly documents.
7097 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7100 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7102 * bufferlist.C (readFile): create the buffer _after_ checking that
7105 * lyxfunc.C (verboseDispatch): fix handling of arguments
7107 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7109 * lyxrc.C: use string::erase() instead of initializing to "".
7112 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7114 * BufferView_pimpl.h:
7115 * BufferView_pimpl.C:
7118 * text2.C: tell X when we have made a selection for copying
7120 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7122 * BufferView_pimpl.C (MenuInsertLyXFile):
7123 * lyxfunc.C (menuNew):
7125 (doImport): add shortcuts to directory buttons
7127 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7130 * lyxfunc.C (setStatusMessage):
7131 (getStatusMessage): new methods
7132 (getStatus):use setStatusMessage instead of setErrorMessage
7133 (dispatch): when function is disabled, set error message here
7134 [instead of in getStatus previously]
7136 * BufferView_pimpl.C (workAreaButtonRelease): update
7137 toolbar/menubar here too.
7139 2002-01-13 Allan Rae <rae@lyx.org>
7141 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7142 Now seems indestructible. Remaining task is to audit all other
7143 code affected by deleteEmptyParagraphMechanism. One small quirk
7144 left is that an empty document with an error in the preamble can
7145 be made to report an error but no error box appears. I don't know
7147 (removeAutoInsets): Improved comments.
7149 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7152 * Thesaurus.C: update for Aiksaurus 0.14
7154 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7156 * text2.C (firstParagraph): removed member function, all uses
7157 replaces with ownerParagraph
7158 (redoParagraphs): here
7160 (toggleAppendix): here
7161 * BufferView2.C (insertErrors): here
7162 (setCursorFromRow): here
7164 2002-01-13 Allan Rae <rae@lyx.org>
7166 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7167 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7168 There is still a way to segfault this although you may have to do this
7169 multiple times: Have an InsetERT with an unknown command in it.
7170 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7171 <down-arrow>, <Enter> again, View->DVI, BANG!
7173 * text2.C (setCursor):
7174 (deleteEmptyParagraphMechanism):
7175 * lyxtext.h (setCursor):
7176 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7177 Making use of the return value may help fix other bugs.
7179 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7181 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7183 * LyXView.C (updateMenubar): call MenuBar::update here
7184 (updateToolbar): but not here
7185 (showState): do not update toolbar/menubar
7187 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7188 should need to care about that.
7190 * lyxfunc.C (verboseDispatch): simplify a bit
7191 (getStatus): have a version which takes a pseudoaction, and
7192 another which requires a (kb_action,string).
7194 * LyXAction.C (retrieveActionArg): make it work also when action
7195 is not a pseudo-action.
7196 (getActionName): simplify a bit
7199 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7201 * lyxfunc.C (verboseDispatch): new families of methods with
7202 several ways to specify a command and a bool to indicate whether
7203 the command name and shortcut should be displayed in minibuffer
7204 (eventually, we could extend that to a finer bitmask like
7205 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7206 (dispatch): the pristine dispatch command which just, well,
7207 dispatchs! Note it still sets its result to minibuffer; I'm not
7210 * lyxfunc.h: remove setHintMessage
7212 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7214 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7216 * BufferView_pimpl.C (specialChar): delete new inset if we have
7217 not been able to insert it.
7219 * kbmap.C: revert to using int instead of kb_action, since all we
7220 are dealing with is pseudo-actions.
7222 * LyXAction.C (searchActionArg): change to return int instead of
7223 kb_action, since the result is a pseudoaction.
7225 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7227 * buffer.C (insertErtContents): Fix (partially) the font bug.
7229 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7231 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7232 as the other one is broken on my machine!
7234 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7237 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7239 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7241 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7242 reflect their actual use. Provide compatibility code for older lyxrc
7245 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7247 change names of popup font variables in line with the changes to lyxrc.C
7249 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7251 * buffer.C (asciiParagraph): avoid outputing a word twice after
7254 * lyxrc.C (getDescription): document that document_path and
7255 template_path can be empty.
7257 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7259 * LaTeXFeatures.C (getMacros):
7260 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7262 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7264 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7266 (getPackages): rename feature "floats" to "float". Use an array to
7267 iterate over 'simple' features (i.e. just a \usepackage). Add
7268 handling of "amsmath" (renamed from "amsstyle").
7270 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7272 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7275 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7277 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7278 FuncStaus::FuncStatus & FuncStaus::some_method().
7280 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7282 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7283 of the func_satus stuff. Edited and massaged in various ways by
7286 * lyxfunc.C (getStatus): use FuncStatus
7288 2002-01-08 Juergen Vigna <jug@sad.it>
7290 * text.C (nextBreakPoint): use function Inset::isChar().
7292 * paragraph.C (TeXOnePar): use function
7293 Inset::forceDefaultParagraphs.
7295 * buffer.C (latexParagraphs): use function
7296 Inset::forceDefaultParagraphs.
7298 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7300 * lyx_gui.C (init): set the style of the menu popups to
7301 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7303 2002-01-07 Juergen Vigna <jug@sad.it>
7305 * text.C (setHeightOfRow): small fix
7306 (prepareToPrint): don't look at alignment if we don't have the place
7309 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7311 * box.C: New file. Move the Box methods and functions out of box.h,
7312 following Lars' suggestion.
7314 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7316 * box.h: #include "support/LOstream.h", needed for inlined function.
7319 * lyxtextclasslist.C: added some using std declarations.
7321 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7323 * box.h: make signed dimensions to allow insets wider than
7324 the screen (bug #162)
7326 * BufferView_pimpl.C: add some insetHit debug
7328 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7330 * vc-backend.C: add FIXME
7332 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7334 * lyxfunc.C (getStatus): enable code for showing math font status
7337 2002-01-07 Juergen Vigna <jug@sad.it>
7339 * text.C (nextBreakPoint): removed debug output not needed anymore.
7341 2002-01-06 Juergen Vigna <jug@sad.it>
7343 * text.C (nextBreakPoint): fixed up this function we had this bug
7344 since ever but now hopefully we break row better.
7345 (insertChar): we have to check if an inset is the next char as it
7346 could now happen that a large inset is causing a break.
7348 2002-01-05 Juergen Vigna <jug@sad.it>
7350 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7351 if it doesn't like to be drawed.
7353 2002-01-04 Juergen Vigna <jug@sad.it>
7355 * BufferView2.C (lockInset): forgot to set a cursor.
7357 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7359 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7364 * form_maths_panel.C:
7365 * form_maths_panel.h:
7366 * form_maths_panel.fd: implemented sub- and super- buttons in math
7369 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7370 (or ^ space) to be used as in TeX (req'd by André).
7372 * lyxfunc.C: Allow ^ and _ again to be used both as
7373 super/subscript (mathed) and as themselves (in text).
7375 2002-01-03 Allan Rae <rae@lyx.org>
7377 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7378 "LyX" or the filename of the current buffer if it has one. This is a
7379 modified form of John Levon's patch.
7381 * XFormsView.C (setWindowTitle): also set icon title.
7383 * LyXView.h (setWindowTitle): signature changed.
7384 * XFormsView.h (setWindowTitle): ditto.
7386 2002-01-02 Juergen Vigna <jug@sad.it>
7388 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7390 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7392 * screen.C (topCursorVisible): introduce a temp var for
7393 text->cursor.row(), handle the case where this row is null. (kindo
7396 * text2.C (setCursor): add a couple of asserts.
7398 * paragraph.h (inset_iterator): add -> operator
7400 * paragraph.[Ch] (autoDeleteInsets): remove member function
7402 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7403 cursor pos correctly and handle inset deletion by itself.
7404 (insertErrors): move iterator declaration out of for expression
7406 * lyxtextclass.C: add <algorithm>
7408 * Makefile.am: added the new files to sources, removed layout.C
7410 * layout.C: removed file
7412 * layout.h: remove LYX_DUMMY_LAYOUT
7414 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7418 * lyxtextclass.[Ch]:
7419 * lyxtextclasslist.[Ch]: new files
7421 * include order changes to a lot of files, also changes because of
7424 2001-12-27 Juergen Vigna <jug@sad.it>
7426 * buffer.C (asciiParagraph): more fixes.
7428 * tabular.C (ascii): make ascii export support export of only the
7429 data separated by a column-delimiter.
7430 (ascii): better support for ascii export.
7432 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7434 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7436 * tabular_funcs.C: use a "using std::getline" instead of the
7437 previous fix from Angus (necessary for cxx + lyxstring)
7439 2001-12-24 Juergen Vigna <jug@sad.it>
7441 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7443 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7444 problems. First check a minipage also if we have some ert-contents
7445 (not only on par->size(), second set the right depth of the paragraph
7446 on the relink to the root-paragraph-list!
7448 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7449 which then did not anymore update the main paragraphs on undo/redo!
7451 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7453 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7454 code. Support all font-changing funcs (even those which are not in
7455 menu currently). Support for reporting font settings in
7456 mathed (disabled until Andre provides a function on mathed's side).
7458 * func_status.h (toggle): small helper function to set toggle
7461 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7463 * tabular_funcs.C: getline -> std::getline
7465 2001-12-21 Juergen Vigna <jug@sad.it>
7467 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7468 accessed and could be 0 (I couldn't generate this but it seems
7471 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7473 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7474 * tabular_funcs.h: here and include iosfwd
7476 2001-12-20 Juergen Vigna <jug@sad.it>
7478 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7479 inside inset but undo_par was.
7481 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7483 * Thesaurus.C: always include <config.h> in sources.
7487 * box.h: do not include <config.h> in header files
7489 * text.C (paintLastRow): remove unused variable
7491 * text.C (transformChar):
7493 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7496 * font.C (width): rewrite to use uppercase() instead of
7499 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7501 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7503 * lyxfind.C: clean up of find failure position change
7505 2001-12-20 Juergen Vigna <jug@sad.it>
7507 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7509 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7510 (TeXRow): added to LaTeX a single tabular row.
7511 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7512 (Latex): simplified and finally good LT-h/f support.
7513 (various_functions): just small adaptions for LT-h/f support.
7515 * tabular_funcs.[hC]: added and moved here all not classfunctions
7518 2001-12-19 Juergen Vigna <jug@sad.it>
7520 * tabular.[Ch]: better support for longtabular options (not finished
7523 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7525 * text.C (paintLastRow): use the label font instead of the font of
7526 the last character to compute the size of *_BOX. This makes more
7527 sense and avoids a crash with empty paragraphs.
7528 Use Painter::rectangle to draw EMPTY_BOX.
7530 2001-12-19 Juergen Vigna <jug@sad.it>
7532 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7533 the paragraphs if the replaced paragraph is not the first one!
7534 Tried to delete not used paragraphs but does not work yet so for
7535 now it's inside #ifdef's and by default off!
7537 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7539 * MenuBackend.C: include "lyx_main.h" instead of declaring
7540 lastfiles (actually was declared as LastFiles* instead of a
7543 2001-12-17 Juergen Vigna <jug@sad.it>
7545 * tabular.C (AppendColumn): applied John's fix
7547 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7551 * BufferView_pimpl.h:
7552 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7555 * box.h: new start of class for above
7557 * lyxfunc.C: ignore space-only minibuffer dispatches.
7558 Show the command name when it doesn't exist
7560 * minibuffer.C: don't add empty lines to the history
7562 * minibuffer.C: add a space on dropdown completion
7564 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7566 * text.C: fix line above/below drawing in insets
7568 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7570 * lyxlength.C (LyXLength): Initialize private variables.
7572 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7574 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7575 when inserting error insets.
7577 2001-12-13 Juergen Vigna <jug@sad.it>
7579 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7580 actually sometimes the before-paragraph.
7581 (setUndo): don't clear the redostack if we're not actually undoing!
7583 2001-12-06 Juergen Vigna <jug@sad.it>
7585 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7586 and fixed redoing of main paragraph, so we can use it now ;)
7588 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7590 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7592 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7595 2001-12-13 André Pönitz <poenitz@gmx.net>
7598 * undo_func.C: minor cleanup
7600 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7602 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7603 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7604 font in urw-fonts package which is marked as -urw-fontspecific and
7605 does not work (incidentally, changing the encoding in the
7606 fonts.dir of this package to -adobe-fontspecific fixes the
7609 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7610 is a crash when undoing first paragraph (Juergen, please take a
7611 look). THis does not mean the undo fix is wrong, just that it
7614 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7615 the (Paragraph*) version when needed instead of duplicating the
7618 * text.C (workWidth): use Inset::parOwner to find out where the
7619 inset has been inserted. This is a huge performance gain for large
7620 documents with lots of insets. If Inset::parOwner is not set, fall
7621 back on the brute force method
7623 * paragraph_pimpl.C (insertInset):
7624 * paragraph.C (Paragraph):
7625 (cutIntoMinibuffer): set parOwner of insets when
7626 inserting/removing them
7628 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7630 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7636 * mathed/formulabase.C:
7637 * mathed/math_cursor.[Ch]:
7638 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7641 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7643 * lyxlength.[Ch] (operator!=): new function
7645 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7647 * text.C (workWidth): use Inset::parOwner to find out where the
7648 inset has been inserted. This is a huge performance gain for large
7649 documents with lots of insets. If Inset::parOwner is not set, fall
7650 back on the brute force method
7652 * paragraph_pimpl.C (insertInset):
7653 * paragraph.C (Paragraph):
7654 (cutIntoMinibuffer): set parOwner of insets when
7655 inserting/removing them
7657 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7659 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7661 * tabular-old.C (getTokenValue):
7662 * tabular.C (getTokenValue):
7663 (write_attribute): new versions for LyXLength
7664 (everywhere): adjust the use of widths
7666 * tabular.h: change the type of widths from string to LyXLength
7668 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7670 * paragraph.C: fixed missing line number count when exporting
7671 Environments to LaTeX file
7673 * buffer.C: added informational message for checking line numbers.
7675 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7677 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7678 paragraph, do the 'double space' part, but not the 'empty
7681 * text.C (workWidth): small optimization
7682 (getLengthMarkerHeight): use minimal size for negative lengths.
7684 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7686 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7688 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7690 2001-12-11 André Pönitz <poenitz@gmx.net>
7693 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7695 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7697 * text2.C: keep selection on a setFont()
7699 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7701 * lyx_cb.C: another bv->text misuse, from insert label
7703 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7706 * kbsequence.C: re-instate nmodifier mask
7708 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7710 * lyx_main.h: make lyxGUI private.
7712 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7714 * lyxfind.C: place the cursor correctly on failed search
7716 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7718 * text.C (getLengthMarkerHeight): for small heights, the arrows
7719 are not always on top/bottom of the text
7720 (drawLengthMarker): smaller arrows; take the left margin in
7721 account; draw also vfills.
7723 (paintLastRow): remove special code for vfill and standard spaces,
7724 since everything is handled in drawLengthMarker now.
7726 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7728 * buffer.C (insertErtContents): try to handle font and language
7729 interaction a bit better.g
7731 * ColorHandler.C (updateColor): change the hash to cover the whole
7732 LColor enum, ws cleanup
7733 (getGCLinepars): ditto
7734 (getGCLinepars): only lookup in the linecache once.
7736 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7738 * iterators.C (operator++): Make the iterator more robust
7740 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7742 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7744 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7747 * text.C: better added space drawing
7749 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7752 * BufferView2.C: fix layout combo update on inset unlock
7754 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7756 * Makefile.am: don't compile unused files
7758 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7762 * LyXAction.C: remove old LFUN_LAYOUTNO
7764 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7766 * paragraph_pimpl.h:
7767 * paragraph_pimpl.C: isTextAt() doesn't need font param
7769 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7772 * lyxlex.C: little cleanup
7774 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7776 * BufferView_pimpl.C: fix insertAscii for insets
7778 2001-12-05 Juergen Vigna <jug@sad.it>
7780 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7781 set the right font on the "multi" paragraph paste!
7783 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7789 * lyxlength.C: remove out-commented code.
7805 * vc-backend.C: change "while(" to "while ("
7807 * lyxlength.[Ch]: add zero function to check if length is zero or
7809 * lyxgluelength.C: use it
7811 2001-12-05 Allan Rae <rae@lyx.org>
7813 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7814 Works for 2.95.3, from what I understand of Garst's reports this should
7815 work for other g++ versions. We're screwed if the abs(int) definition
7816 changed between bugfix releases of gcc.
7818 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7820 * text.C: fix chapter label offset !
7822 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7825 * text.C: fix hfill at end of line, clean up
7827 2001-12-04 Juergen Vigna <jug@sad.it>
7829 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7830 that we force an update of the inset and it's owners if neccessary.
7832 2001-12-03 Juergen Vigna <jug@sad.it>
7834 * text.C (rowLast): simplified code
7836 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7838 * lyxfunc.C: fix show options on timeout
7840 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7842 * screen.C (topCursorVisible): scroll half a page when the cursor
7843 reached top of bottom of screen
7845 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7847 * minibuffer.C: deactivate on loss of focus
7849 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7851 * vspace.[Ch] (operator!=): add operator.
7853 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7855 * BufferView_pimpl.C: refuse to open an inset when
7856 there's a selection.
7858 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7860 * BufferView_pimpl.C: allow to click on RHS of full row insets
7862 2001-11-30 Juergen Vigna <jug@sad.it>
7864 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7865 insets for undo reasons.
7867 2001-11-28 André Pönitz <poenitz@gmx.net>
7869 * vspace.[Ch]: cosmetical changes
7871 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7881 * kbsequence.C: part re-write of old kb code
7884 * WorkArea.C: remove Lgb_bug_find_hack
7886 2001-11-30 José Matos <jamatos@fep.up.pt>
7888 * buffer.C (makeDocBookFile): add a comment to point a hack.
7889 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7890 Fixed a double write of labels.
7892 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7895 * LaTeX.h Fixed bug in LaTeX class where it would not
7896 re-run latex if no depfiles were changed, but the .dvi was removed.
7898 2001-11-28 André Pönitz <poenitz@gmx.net>
7900 * all the files from the change on 2001/11/26:
7901 use lyx::layout_type instead of LyXTextClass::size_type
7902 use lyx::textclass_type instead of LyXTextClassList::size_type
7904 2001-11-29 Juergen Vigna <jug@sad.it>
7906 * text.C: added support for paragraph::isFreeSpacing()
7908 * buffer.C: same as above
7910 * paragraph.h: inserted isFreeSpacing() function to enable
7911 FreeSpacing inside InsetERT.
7913 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7914 of the paragraph's in the cut/copy buffer to 0!
7916 * text2.C (removeRow): remove the assert as it can!
7918 * lyxtext.h: added helper function firstRow returning firstrow and
7919 made firstrow private again.
7921 * BufferView2.C (lockInset): don't relock if we're already locked!
7923 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7925 (removeRow): added Assert::(firstrow)
7927 * debug.C: forgot to add INSETTEXT here.
7929 2001-11-28 Juergen Vigna <jug@sad.it>
7931 * sp_spell.C (initialize): changed error text to more general
7932 spellchecker command use (not only ispell!)
7934 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7936 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7938 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7940 * vspace.C: initialise lyxgluelength on failure
7942 2001-11-28 Allan Rae <rae@lyx.org>
7944 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7945 declaration & definition that looks like a function declaration.
7947 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7949 * BufferView2.C (copy):
7950 (copyEnvironment): do not clear the selection when doing a copy.
7952 * text.C (paintFirstRow): compilation fix
7954 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7956 * tabular.C (Latex): correct line count when writing latex.
7958 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7960 * paragraph_pimpl.h:
7961 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7964 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7968 * LColor.C: change vfillline->added_space
7970 * text.C: add markers and text for added space
7972 * vspace.C: fix comment
7974 2001-11-28 André Pönitz <poenitz@gmx.net>
7976 * paragraph.C: whitespace changes
7977 * all the other files from the change on 2001/11/26:
7978 change *::pos_type into lyx::pos_type
7980 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7982 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7983 language of the document when inserting error insets.
7985 2001-11-26 André Pönitz <poenitz@gmx.net>
7987 * BufferView_pimpl.[Ch]:
7995 * paragraph_pimpl.[Ch]:
7998 * text2.C: reduce header dependencies, introduce type for positions
8000 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8002 * <various>: change to use Alert.h
8004 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8006 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8007 when encountering an unknown token.
8008 (readLyXformat2): Show an error message if there were unknown tokens.
8010 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8013 * BufferView_pimpl.C:
8017 * text2.C: use par->isInset()
8019 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8021 * paragraph_pimpl.h:
8022 * paragraph_pimpl.C: cleanup
8024 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8026 * text2.C (removeRow):
8027 * text.C (setHeightOfRow): remove useless (and costly) call to
8030 2001-11-20 Allan Rae <rae@lyx.org>
8032 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8033 Now need Inset*::checkInsertChar() to return true for appropriate
8034 cases so that the characters in the minibuffer will actually be
8037 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8039 * text.C: change the order of the includes.
8040 (workWidth): initialize it at once.
8041 (workWidth): make maxw unsigned
8042 (setHeightOfRow): remove unused variable (inset)
8043 (selectSelectedWord): remove unused variable (inset)
8044 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8046 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8048 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8049 server is not running.
8051 (closeConnection): add debug info when server is disabled.
8053 * ColorHandler.C (getGCForeground): send debug message to GUI
8056 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8058 * kbmap.C (bind): modify because return conventions of
8059 kb_sequence::parse have changed.
8061 * kbsequence.C (parse): only ignore spaces and not any stupid
8062 control character. This avoids tests like s[i] <= ' ', which are
8063 guaranteed to fail with 8bit characters and signed chars.
8064 Change return code to string::npos when there have been no error
8065 (0 was a bad idea when error is at first character)
8067 2001-11-14 José Matos <jamatos@fep.up.pt>
8070 * buffer.C (simpleDocBookOnePar): removed unused argument.
8072 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8074 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8075 insets which are part of a word. Paragraph::isLetter takes care of
8076 that now. Use Paragraph::isInset to identify insets.
8077 (selectSelectedWord): do not test for hyphenation break.
8079 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8080 that protected spaces are considered as spaces.
8082 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8085 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8088 * lyxserver.C: fix it. and small cleanup.
8090 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8092 * BufferView_pimpl.C: use inline helpers
8095 * LaTeXFeatures.C: fix typos
8098 * Spacing.C: move spacing_string into class
8100 * ToolbarDefaults.C: move stuff into namespace anon
8102 * layout.h: update enum
8104 * lyxfunc.C: use better debug
8106 * minibuffer.h: fix typo
8110 * WorkArea.C: add and use Debug::WORKAREA
8114 * text2.C: code re-organisation, inline helpers
8116 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8118 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8119 std::vector.empty().
8121 2001-11-09 Allan Rae <rae@lyx.org>
8123 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8124 '\n's after tables. Tabular and ERT inset work now makes this no
8127 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8130 * minibuffer.C: fix crash, improve drop-down completion
8132 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8135 * lyxserver.C: invalidate fd's when doing endPipe()
8137 2001-11-08 José Matos <jamatos@fep.up.pt>
8139 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8140 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8143 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8145 2001-11-07 José Matos <jamatos@fep.up.pt>
8148 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8151 * buffer.C (sgmlOpenTag):
8152 * buffer.C (sgmlCloseTag): removed debug info.
8154 * buffer.h (sgmlOpenTag):
8155 * buffer.h (sgmlCloseTag): made public.
8157 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8159 * buffer.C (saveParamsAsDefaults):
8160 * lyx_cb.C (MenuLayoutSave): remove
8162 * LyXAction.C (init):
8164 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8166 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8168 * buffer.C (setPaperStuff): removed from here...
8170 * bufferparams.C (setPaperStuff): ... and moved there.
8172 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8176 * XFormsView.C: add support for drop-down completion
8178 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8180 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8183 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8185 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8188 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8190 * lyx_main.C: change ref to known bugs
8192 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8194 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8195 to work around older babel problems.
8197 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8199 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8201 2001-10-24 Juergen Vigna <jug@sad.it>
8203 * tabular-old.C (ReadOld): below variable changes reflected.
8205 * tabular.[Ch]: added ltType struct for longtable header/footer
8206 defines and changed all instances where they are used. Added
8207 future support for double top/bottom rows.
8209 2001-10-24 José Matos <jamatos@fep.up.pt>
8211 * buffer.h (docbookHandleCaption):
8212 * buffer.C (docbookHandleCaption): removed unused function.
8213 (makeDocBookFile): moved docbook supported version to v4.1.
8215 2001-10-24 José Matos <jamatos@fep.up.pt>
8218 * tabular.C (docbookRow): new function to export docbook code of a row.
8219 (DocBook): now honors the longtable flags.
8221 2001-10-23 José Matos <jamatos@fep.up.pt>
8224 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8225 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8227 * buffer.C (makeLinuxDocFile):
8228 (makeDocBookFile): reworked the preamble, more clean, and with
8229 support for lyx defined entities. Changed the document declaration
8230 to be more XML friendly.
8232 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8233 if we need to output XML that should be done with a filter.
8235 2001-10-22 Juergen Vigna <jug@sad.it>
8237 * sp_pspell.h (class PSpell): add alive function needed in the
8238 controller to see if the spellchecker could be started.
8240 2001-10-22 Juergen Vigna <jug@sad.it>
8242 * buffer.C (insertStringAsLines): modify the font for inserting
8243 chars in certain conditions by calling checkInsertChar(font).
8245 2001-10-19 Juergen Vigna <jug@sad.it>
8247 * text.C (workWidth): use getRow instead of wrong algorithm.
8248 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8250 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8255 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8257 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8259 * text.C (workWidth): do not search for the exact row when
8260 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8261 optimization for big documents.
8263 2001-10-18 Juergen Vigna <jug@sad.it>
8265 * text.C (workWidth): new function with added Inset * parameter.
8267 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8269 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8271 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8272 change return type of getColumnNearX.
8275 * text.C (changeRegionCase): use uppercase/lowercase instead of
8278 (rightMargin): simplify code by factoring out the uses of
8283 (appendParagraph): use Paragraph::size_type
8285 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8287 * vspace.C (asLatexString): add a missing break
8289 2001-10-15 Herbert Voss <voss@perce.de>
8291 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8293 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8295 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8298 2001-10-10 André Pönitz <poenitz@gmx.net>
8300 * lyxfunc.C: removed greek_kb_flag.
8302 2001-10-10 Herbert Voss <voss@perce.de>
8304 * lyx_main.C: delete global string help_lyxdir.
8306 2001-10-09 Herbert Voss <voss@perce.de>
8308 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8310 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8312 * lyx_main.C: added global string help_lyxdir.
8314 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8316 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8318 * lyxrc.C (set_font_norm_type): support iso8859-4
8320 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8322 * LaTeX.C (deplog): add another regex for MikTeX
8324 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8326 * lyxrc.C (set_font_norm_type): support iso8859-3
8328 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8330 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8332 * LaTeXFeatures.C: remove special case of french and index
8334 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8335 before \begin{document}). This solves several incompatibilities.
8337 2001-10-03 Garst Reese <reese@isn.net>
8339 * lyx_cb.C: change CheckTex error msg.
8341 2001-10-03 José Matos <jamatos@fep.up.pt>
8343 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8345 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8347 * .cvsignore: update
8349 * lyx_main.C (commandLineVersionInfo): use new style version info.
8351 * buffer.C (writeFile):
8354 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8356 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8358 * version.h: update to use stuff in version.C
8360 * version.C.in: new file. Contains version information determined
8361 at compile time. This is a merging of version.h and
8364 2001-10-03 Juergen Vigna <jug@sad.it>
8366 * BufferView_pimpl.C (update): don't change "dirty" status in
8369 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8371 * WorkArea.C (c-tor): re-position version string slightly.
8373 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8375 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8376 revert to previous code.
8378 WorkArea.[Ch]: (show, destroySplash): methods removed.
8380 WorkArea.C: rework code so that it's an amalgam of the codes before and
8381 after the splash screen was moved to WorkArea.
8383 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8386 * vspace.C (inPixels):
8389 * buffer.C (insertStringAsLines):
8390 (asciiParagraph): fix types to be large enough
8392 * lyxlex_pimpl.h: change member status from short to int
8394 * layout.h: fix type of endlabeltype
8397 * kbsequence.C (parse): change return type to string::size_type
8399 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8402 * Bullet.C (bulletSize):
8403 (bulletEntry): do not use short ints as parameters
8405 * BufferView2.C (insertLyXFile): change a char to an int.
8407 * WorkArea.C (WorkArea): remove unneeded floats in computation
8409 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8411 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8413 * paragraph.C (asString): Do not ignore newline/hfill chars when
8414 copying to the clipboard.
8416 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8418 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8419 after a multi-line inset.
8421 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8423 * paragraph.C (validate): Set NeedLyXFootnoteCode
8425 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8427 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8428 and decrease-error to decrease.
8430 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8432 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8433 it more readable (should be equivalent)
8435 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8437 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8439 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8441 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8442 of a cursor (row, etc.) after a character has been deleted
8443 (deleteEmptyParagraphMechanism): call the method above on _all_
8444 cursors held by the LyXText when a double space has been
8447 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8449 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8451 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8453 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8454 background. Use greyOut() and the new show() methods to toggle between
8455 the foreground and background. Add code to remove the splash after
8456 its initial showing.
8458 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8459 (create_forms): no longer call Dialogs::showSplash.
8461 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8463 * .cvsignore: add version_info.h
8465 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8467 * version_info.h.in: new file
8469 * Makefile.am: add version_info.h.in
8471 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8472 version_info.h instead of VERSION_INFO
8474 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8476 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8477 The ERT inset now returns string().
8479 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8481 * lyxtext.h, text.C (selectNextWord): renamed as
8482 selectNextWordToSpellcheck.
8484 * text.C (selectNextWordToSpellcheck): Modified to not select
8485 words inside an ERT inset.
8487 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8489 * lyx_cb.C (MenuLayoutSave): change a bit the question
8491 * sp_base.h: include <sys/types.h>
8493 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8495 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8497 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8499 * several files: fix typos in user-visible strings
8501 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8503 * text2.C (pasteSelection): do not set the selection, since it
8504 will be cleared later. Actually, the intent was to fix the way the
8505 selection was set, but I figured rmoving the code was just as good.
8507 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8509 * FontLoader.C (available): Check if font is available without
8512 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8514 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8516 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8518 * lyxrc.[Ch]: added display_graphics variable and associated code.
8520 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8522 * bufferparams.C (hasClassDefaults): new method. Returns true if
8523 the buffer parameters correspond to known class defaults
8525 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8527 * XFormsView.C (show): set minimum size to the main window.
8529 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8531 * text2.C (copySelection):
8533 * lyxfind.C (LyXReplace):
8534 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8535 LyXText::selectionAsString.
8537 * paragraph.C (asString): add "label" argument to the second form
8539 * text2.C (selectionAsString): add "label" argument and pass it to
8540 Paragraph::asString.
8542 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8544 * lyx_main.C (commandLineHelp): remove version information
8546 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8548 * lyx_main.C: add -version commandline option
8550 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8552 * paragraph.h: make the optional constructor arg required instead.
8553 some modifications to other files because of this.
8555 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8557 * lyxserver.C (C_LyXComm_callback): make it static
8559 * lyx_main.C (error_handler): make it static
8561 * lyx_gui.C (LyX_XErrHandler): make it static
8563 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8565 * WorkArea.C: make the extern "C" methods static.
8567 * Makefile.am (lyx_LDADD): simplify
8569 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8571 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8572 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8574 * LyXAction.C (init):
8575 * lyxfunc.C (dispatch): associated code removal.
8577 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8579 * lyxfont.h (isSymbolFont): shut off warning
8581 * text.C (setHeightOfRow):
8582 (getVisibleRow): fix crash with empty paragraphs which have a
8585 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8587 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8590 2001-09-04 José Matos <jamatos@fep.up.pt>
8593 * tabular.C (docbook): rename docBook method to docbook.
8595 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8597 * Makefile.am: add dependencies to main.o.
8599 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8601 * FontLoader.C (available): Return false if !lyxrc.use_gui
8603 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8605 * FontInfo.C (query):
8606 * converter.C (view):
8607 * importer.C (Import):
8608 * exporter.C (Export): Can not -> cannot.
8610 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8612 * BufferView_pimpl.C: allow to create index inset even if
8615 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8617 * buffer.C (getLists): replace boost::tie code with an explicit pair
8618 as boost::tie can break some compilers.
8620 * iterators.h: Added a std:: declaration to the return type of
8623 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8625 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8628 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8630 * iterators.[Ch]: New files. Provide paragraph iterators.
8632 * buffer.C (changeLanguage): Use paragraph iterators.
8633 (isMultiLingual): ditto
8635 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8637 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8639 * FontLoader.C: Support for cmr font.
8641 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8643 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8644 (available): New method.
8646 * FontInfo.C (getFontname): Use scalable fonts even when
8647 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8650 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8652 * converter.C (Formats::view): reverted! Incorrect fix.
8654 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8656 * converter.C (Formats::view): only output the -paper option
8657 if the dvi viewer is xdvi, thereby fixing bug #233429.
8659 2001-08-23 Herbert Voss <voss@perce>
8661 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8663 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8665 * Spacing.h (Spacing): Set space to Default on in the default
8668 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8670 * vc-backend.h (RCS::versionString): add RCS to version
8671 (CVS::versionString): add CVS to version
8673 * vc-backend.C (scanMaster): do not add CVS to version.
8674 (scanMaster): do not add RCS to version
8676 * lyxvc.C (versionString): new method
8678 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8680 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8682 * Spacing.C (set): initialize fval
8684 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8686 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8689 2001-08-16 Juergen Vigna <jug@sad.it>
8691 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8693 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8695 * BufferView_pimpl.C:
8698 * text2.C: setParagraph takes linespacing now
8700 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8702 * LyxAction.C: add internal LFUN_CITATION_INSERT
8704 * LyXView.C: actually apply fix
8706 * bufferlist.C: fix open non-existent file
8708 * lyxfind.C: fix indentation
8710 * lyxfunc.C: remove unneeded assert, fix typo
8712 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8714 * MenuBackend.C: use "Floatname List"
8716 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8718 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8719 when converting LaTeX layout to insetERT.
8720 Generate a non-collapsed float when reading old float
8722 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8724 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8727 2001-08-13 Juergen Vigna <jug@sad.it>
8729 * text.C (fill): return 0 instead of 20 as this seems to be the more
8732 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8734 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8737 2001-08-13 Juergen Vigna <jug@sad.it>
8739 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8741 (SearchBackward): comment out the unlocking of the inset_owner this
8742 should not be needed!
8744 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8746 * Many files: Remove inherit_language, and add latex_language
8748 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8751 2001-08-10 Juergen Vigna <jug@sad.it>
8753 * text.C (prepareToPrint): fixed hfill-width in draw!
8755 * BufferView2.C (selectLastWord): save the selection cursor as this
8756 now is cleared in the function LyXText::clearSelection!
8758 2001-08-08 Juergen Vigna <jug@sad.it>
8760 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8761 BACKSPACE type functions.
8763 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8764 is only cutted from the document but not put in the cut-buffer, where
8765 still the old stuff should be.
8767 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8769 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8771 * tabular.C (SetWidthOfCell): fixed special case where the width
8773 (LeftLine): handle '|' in align_special.
8775 (LeftAlreadyDrawed): ditto
8776 (SetWidthOfCell): ditto
8778 2001-08-07 Juergen Vigna <jug@sad.it>
8780 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8782 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8784 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8785 * lyxlex.[hC]: ditto
8787 2001-08-06 Juergen Vigna <jug@sad.it>
8789 * text.C (getVisibleRow): fix up row clearing a bit.
8791 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8793 * minibuffer.C: make sure the X server sees the changes in the input.
8795 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8797 * paragraph.C (getFont): split into...
8798 (getLabelFont): this
8799 (getLayoutFont): and this
8800 * paragraph_pimpl.C (realizeFont): calling this
8802 * text2.C (getFont): split into...
8803 (getLayoutFont): this
8804 (getLabelFont): and this
8805 (realizeFont): all three calling this
8807 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8810 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8812 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8814 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8816 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8817 layouts from the Quote inset insertion.
8819 2001-08-03 Juergen Vigna <jug@sad.it>
8821 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8823 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8824 only if status not is already CHANGED_IN_DRAW (second level).
8826 * text.C (draw): don't set the need_break_row when inside an
8829 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8831 * buffer.C (parseSingleLyXformat2Token): handle more latex
8834 * bufferview_funcs.[hC]: change function names to
8835 begin with small char, adjust other files.
8837 2001-08-02 André Pönitz <poenitz@gmx.net>
8840 BufferView_pimpl.C: remove broken special code for math-greek
8842 2001-08-02 Juergen Vigna <jug@sad.it>
8844 * BufferView_pimpl.C (update): redone this function so that we
8845 update the text again if there was a CHANGE_IN_DRAW.
8847 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8848 (drawFromTo): added a new internal bool which is used by draw() and
8850 (general): some cursor drawing problems fixed.
8852 2001-08-01 Juergen Vigna <jug@sad.it>
8854 * lyxfind.C (LyXFind): fixed
8855 (SearchForward): ditto
8856 (SearchBackward): ditto
8858 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8859 spurius drawing of the cursor in the main area.
8861 * text2.C (status): small fix which could lead to a segfault!
8862 (clearSelection): remove unneeded BufferView param.
8864 2001-08-01 André Pönitz <poenitz@gmx.net>
8866 * lyxfunc.C: small change due to changed mathed interface
8868 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8870 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8872 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8874 * lyxfunc.c: fail gracefully if file doesn't exist
8879 * BufferView_pimpl.C: IsDirWriteable() proto changed
8881 * LyXView.C: fix updateWindowTitle() to store the last title
8883 2001-07-31 Juergen Vigna <jug@sad.it>
8885 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8886 the font (wrong since using of Paragraph::highestFontInRange).
8888 * paragraph.C (highestFontInRange): added a default_size parameter.
8890 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8891 (setHeightOfRow): reformat
8893 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8895 * converter.[hC] + affected files: move to (inital-char)lowercase
8898 * ParagraphParameters.C (ParagraphParameters): remove commented code
8900 * PainterBase.[Ch]: remove commented code
8902 * LaTeXFeatures.h: add "bool floats" for float.sty
8904 * LaTeXFeatures.C (LaTeXFeatures): init floats
8905 (require): handle float
8906 (getPackages): do it with floats
8908 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8910 * BufferView_pimpl.C (Dispatch): improve handling of
8911 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8913 * commandtags.h: #include lyxfont.h here temporarily to avoid
8916 * bufferlist.h: include LString.h here.
8918 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8920 * text2.C (getStringToIndex): new method.
8922 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8924 * *: Reduced header file dependencies all over.
8926 2001-07-30 Baruch Even <baruch@lyx.org>
8928 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8930 2001-07-29 Baruch Even <baruch@lyx.org>
8932 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8934 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8936 * ParameterStruct.h (endif): add a default constructor to make
8937 sure that all variables is initialized.
8939 * ParagraphParameters.C (ParagraphParameters): adjust
8941 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8943 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8944 index; also, check that there is something to index, and that it
8945 does not span over several paragraphs.
8946 (doubleClick): use WHOLE_WORD_STRICT for double click.
8948 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8950 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8953 2001-07-26 Baruch Even <baruch@lyx.org>
8955 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8956 an InsetFig figure, backwards compatible reading of old figure code.
8958 2001-07-27 Juergen Vigna <jug@sad.it>
8960 * text2.C: font.realize function adaption.
8962 * text.C (draw): add a warnings lyxerr text if needed.
8964 * layout.C: font.realize function adaption.
8966 * language.C: add inherit_language and implement it's handlings
8968 * bufferview_funcs.C (StyleReset): remove language parameter from
8969 font creation (should be language_inherit now).
8971 * bufferparams.C (writeFile): handle ignore_language.
8973 * paragraph.C (getFontSettings): the language has to be resolved
8974 otherwise we have problems in LyXFont!
8976 * lyxfont.C (lyxWriteChanges): added document_language parameter
8977 (update): removed unneeded language parameter
8979 * paragraph.C (validate): fixed wrong output of color-package when
8980 using interface colors for certain fonts in certain environments,
8981 which should not seen as that on the final output.
8983 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8985 * BufferView_pimpl.C:
8990 * LyXAction.C: add thesaurus support
8993 * lyxfind.C: add "once" parameter, for thesaurus, to not
8994 move to the next match
8996 2001-07-26 Juergen Vigna <jug@sad.it>
8998 * lyxfont.C (realize): honor ignore_language too!
9001 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9003 * text.C (draw): one place more for ignore_language to not draw
9006 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9008 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9010 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9012 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9013 the minipage conversion problem.
9015 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9017 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9020 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9022 * BufferView.h: don't forward declare WorkArea
9024 * BufferView.C: don't include WorkArea.h
9026 2001-07-25 André Pönitz <poenitz@gmx.net>
9030 * lyxfunc.C: new LFUN 'math-space'
9032 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9034 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9036 * text2.C (toggleInset): call open/close
9038 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9040 * lyxfunc.C (dispatch): add debug for the disabled case
9042 * font.C (buttonText): make similar to rectText
9044 * buffer.C (readInset): comment out parsing of insetlist and
9047 * PainterBase.C (rectText): small correction
9049 * BufferView_pimpl.C: comment out insettheorem and insetlist
9050 * LyXAction.C: ditto
9051 * commandtags.h: ditto
9053 2001-07-24 Juergen Vigna <jug@sad.it>
9055 * text.C (draw): honor the ignore_language.
9057 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9059 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9061 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9064 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9066 * lyxtext.h: remove unused (and unimplemented) methods
9068 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9070 * text.C (getVisibleRow): honor background color
9073 * Painter.h: remove default color argument for fillRectangle
9075 * text.C (backgroundColor): new method
9077 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9079 * text.C (getVisibleRow): adjust
9081 * font.[Ch] (rectText): new method, metrics
9082 (buttonText): new method, metrics
9084 * PainterBase.[hC]: make rectText and buttonText always draw and take
9087 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9089 * ToolbarDefaults.C (read):
9090 * MenuBackend.C (read): allow escaping in all strings
9092 * BufferView_pimpl.C (insertAndEditInset): new method.
9093 (Dispatch): use insertAndEditInset whenever appropriate.
9095 * BufferView_pimpl.C (insertNote): removed
9097 * BufferView_pimpl.C (smartQuote): new method, moved from
9098 BufferView; if an insetquote cannot be inserted, insert a '"'
9101 * BufferView2.C: remove insertCorrectQuote();
9103 * lyxfunc.C (getStatus): Add support for all remaingin
9106 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9108 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9109 command (necessary to pass " as parameter of self-insert.
9111 * text.C (selectWordWhenUnderCursor):
9112 (selectWord): add word_location parameter
9113 (selectWordWhenUnderCursor): same + remove special code for word
9115 (selectNextWord): use kind() to guess type of insetspecialchar,
9118 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9119 (insertErtContents): create ert insets as collapsed.
9120 (readInset): better compatibility code for Info inset.
9122 2001-07-20 Juergen Vigna <jug@sad.it>
9124 * lyxfunc.C (dispatch): use always LyXFind now!
9126 * text2.C (init): add a reinit flag so that the LyXText can be
9127 reinited instead of deleted and reallocated (used in InsetText).
9129 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9135 2001-07-18 Juergen Vigna <jug@sad.it>
9137 * text.C (selectNextWord): handle insets inside inset by calling
9138 always the bv->text functions so that we can go up the_locking_inset!
9140 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9141 in strange locations when inside an inset!
9143 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9144 handling to include insets.
9146 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9148 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9150 * LyXAction.C (init):
9152 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9153 LIGATURE_BREAK, since the name is so stupid.
9155 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9157 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9160 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9162 * sp_form.[Ch]: remove.
9164 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9166 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9169 * src/buffer.C (readInset): ditto.
9171 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9173 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9174 menuSeparator(), endOfSentenceDot(), ldots() and
9175 hyphenationPoint(), which are therefore removed.
9176 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9178 * LyXAction.C (init):
9179 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9181 * paragraph.C (getWord): removed.
9183 * BufferView_pimpl.C (Dispatch): use last word or selection for
9184 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9186 * lyx_main.C (queryUserLyXDir): do not ask before creating
9187 user_dir, except if it has been named explicitely.
9189 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9191 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9192 a document of zero size.
9194 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9196 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9197 approriately in the c-tor and in require().
9198 (getPackages): output the appropriate LaTeX for natbib support.
9200 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9201 variables "use_natbib" and "use_numerical_citations" when reading the
9203 (readInset): read the various natbib cite commands.
9204 (validate): white-space change.
9206 * bufferparams.[Ch]: new variables "bool use_natbib" and
9207 "bool use_numerical_citations".
9208 (writeFile): output them in the LyX file.
9210 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9212 * lyxfunc.C (getStatus): add support for all the inset insertion
9215 * text2.C (insertInset):
9216 * paragraph.C (insetAllowed):
9217 * BufferView_pimpl.C (insertInset): update to take in account the
9218 renaming of insertInsetAllowed
9220 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9222 * text2.C (getInset): new method. returns inset at cursor position.
9224 * BufferView_pimpl.C (Dispatch): changes because of this.
9226 * LyXAction.C (init): rename open-stuff to inset-toggle.
9228 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9230 * text2.C (toggleInset): renamed from openStuff; use
9233 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9235 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9237 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9239 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9241 * buffer.C (readLyXformat2): Add filename to the error dialog
9243 2001-07-18 Juergen Vigna <jug@sad.it>
9245 * tabular.C (GetCellNumber): put an assert here instead of the check!
9247 2001-07-17 Juergen Vigna <jug@sad.it>
9249 * BufferView_pimpl.C (toggleSelection): adapted too.
9251 * text.C (selectNextWord): adapted for use with insets.
9252 (selectSelectedWord): ditto
9254 2001-07-17 Juergen Vigna <jug@sad.it>
9256 * sp_spell.C (PSpell): fix initialitation order.
9258 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9260 * paragraph.C: spacing
9262 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9264 * sp_spell.C: repair language selection for pspell
9266 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9268 * lyxfunc.h: change more methods to begin with lower char.
9270 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9272 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9273 for unknown layouts.
9275 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9277 * buffer.C (readLyXformat2): Generate an error dialog if there are
9280 2001-07-16 Juergen Vigna <jug@sad.it>
9282 * sp_spell.C: always compile ISpell part.
9284 * lyxrc.C: added use_pspell entry and it's handling.
9286 2001-07-13 Juergen Vigna <jug@sad.it>
9288 * sp_spell.C: removed double includes.
9290 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9292 Consistent use of Lsstream.h:
9293 * Lsstream.h: added using std::stringstream for consistencies sake.
9295 * buffer.C: removed using std::stringstream
9297 * lyxfont.C (stateText):
9298 * paragraph.C (asString):
9299 * text.C (selectNextWord, selectSelectedWord):
9300 * text2.C (setCounter):
9301 * vspace.C (asString, asLatexString):
9302 std::ostringstream -> ostringstream.
9304 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9306 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9307 * commandtags.h: add LFUN_HELP_ABOUTLYX
9308 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9310 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9312 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9314 * lyx_gui_misc.C: remove spellchecker
9315 * lyxfunc.C: showSpellchecker
9317 * sp_ispell.h: added
9318 * sp_pspell.h: added
9320 * sp_form.[Ch]: removed
9321 * spellchecker.[Ch]: removed
9323 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9325 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9327 (simpleTeXSpecialChars): Simply print the input character without
9328 any special translation if pass_thru is set.
9330 * layout.h: Added bool pass_thru to layout class for being able to
9331 implement pass through of a paragraph for Literate Programming.
9333 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9334 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9335 * layout.C (Read): add "passthru" to list of layout tags and add
9336 code to set the pass_thru boolean when it is read.
9338 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9340 * trans_decl.h: remove allowed from KmodInfo
9342 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9346 * paragraph_pimpl.C (erase): use boost::prior
9348 * Painter.C (text): use data() instead of c_str() when length is
9350 * WorkArea.C (putClipboard): ditto
9351 * font.h (width): ditto
9353 * BufferView2.C: use it-> instead of (*it). for iterators
9355 * paragraph_pimpl.C: ditto
9356 * paragraph.C: ditto
9357 * minibuffer.C: ditto
9362 * converter.C: ditto
9364 * Variables.C: ditto
9365 * TextCache.C: ditto
9366 * MenuBackend.C: ditto
9367 * LyXAction.C: ditto
9369 * FloatList.C: ditto
9371 * ColorHandler.C (LyXColorHandler): ditto
9373 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9375 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9377 * text2.C (openStuff): reintroduce this method (which had been
9378 nuked in NEW_INSETS frenzy).
9380 * lyxfunc.C (Dispatch): when an action has not been handled, use
9381 its name in the error message, not its number.
9383 * paragraph.C (inInset): change method name to begin with lowercase.
9386 * text2.C: updates because of this.
9388 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9390 * ToolbarDefaults.C (add): add spaces in error message
9392 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9394 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9395 (readLyXformat2): rename return_par to first_par, use lyxlex's
9396 pushToken and remove the manual push handling.
9397 (parseSingleLyXformat2Token): add another ert comp. variable:
9398 in_tabular, rename return_par to first_par. handle newlines better
9400 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9402 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9404 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9406 * text2.C (getParFromID): removed
9408 * buffer.C (getParFromID): new method moved form lyxtext.
9409 * BufferView2.C (insertErrors): adjust
9410 (setCursorFromRow): adjust
9411 * BufferView_pimpl.C (restorePosition): adjust
9412 * lyxfunc.C (Dispatch): adjust
9413 * undo_funcs.C (textUndo): adjust
9415 (textHandleUndo): adjust
9416 (textHandleUndo): adjust
9418 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9420 * buffer.C: up' the LYX_FORMAT
9422 * lyxfont.h: turn NO_LATEX on as default
9424 * buffer.C (insertErtContents): new methods of tex style compability.
9425 (parseSingleLyXformat2Token): use it several places.
9426 * tabular.C (OldFormatRead): and here
9428 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9430 * text2.C: remove some commented code.
9433 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9434 * trans.C: changes because of the above.
9436 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9438 * text2.C (setCounter): Fix counters bug with bibliography layout.
9440 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9442 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9443 own member functions
9444 (simpleTeXSpecialChars): ditto
9446 2001-07-06 Juergen Vigna <jug@sad.it>
9448 * a lot of files: changed the access to LyXText::status and the
9449 call of undo-functions.
9451 * undo.[Ch]: added a inset_id to the undo informations.
9453 * undo_funcs.[Ch]: added and moved here all undo functions.
9455 * lyxtext.h: give the status enum a weight, made status_ a private
9456 variable and made accessor functions for it, removed the whole bunch
9457 of undo-functions as they are now in their own file, make some
9458 functions publically available. Added function ownerParagraph with
9461 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9462 made InInset() a const function, added getParFromID() function.
9464 * buffer.[Ch]: added const version for inset_iterator functions,
9465 added getInsetFromID() function.
9467 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9468 changed undo functions for new version.
9470 2001-07-05 Juergen Vigna <jug@sad.it>
9472 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9473 unknow mechanism does not call the proper constructor but only this
9474 one also if I request the other!?
9476 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9478 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9480 * text2.C (LyXText): use initialization lists.
9482 * lyxtext.h (Selection): initialize set_ and mark_
9483 (init): remove method
9485 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9487 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9489 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9491 * screen.[Ch]: change method names to begin with lowercase
9493 * BufferView_pimpl.C (updateScrollbar): simplify further and
9494 hopefully make it a bit faster.
9496 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9498 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9499 calling directly xforms functions.
9501 * Painter.C (Painter):
9502 * lyx_cb.C (MenuWrite):
9503 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9506 * lyx_gui.C: remove bogus guiruntime extern declaration.
9508 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9510 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9512 (redoDrawingOfParagraph): ditto
9513 (redoParagraphs): ditto
9514 (cutSelection): don't create a object for CutAndPaste use the
9515 static method directly
9516 (pasteSelection): ditto
9518 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9521 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9523 * modifications to some other files because of this.
9525 * Makefile.am (lyx_SOURCES): add XFormsView
9527 * XFormsView.[Ch]: new files
9529 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9530 the main window. Move the gui dependent stuff to XFormsView
9532 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9534 * tabular.C (GetCellInset): update cur_cell also in the row/col
9535 version of this function.
9537 * lyxfunc.C: no need to include figure_form.h here.
9543 * lyxvc.C: no need to include forms.h here.
9545 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9547 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9549 * lyxfunc.C (Dispatch):
9551 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9552 constructor argument.
9554 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9556 * paragraph.C (Paragraph): dont't clear, and just set layout.
9557 (makeSameLayout): use params's copy contructor.
9559 * ParagraphParameters.[Ch] (makeSame): delete method
9561 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9563 * Variables.[Ch]: fix indentation, rename set to isSet
9565 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9567 * lyxfunc.C (Dispatch): fix typo
9569 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9571 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9574 * bufferlist.C: include assert.h for emergencyWrite().
9576 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9578 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9579 give up at last (bug #425202) !
9581 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9587 * spellchecker.C: strip spellchecker options and bring up
9588 preferences tab instead
9590 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9592 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9593 the istringstream constructor
9595 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9597 * paragraph.C (getLayout): fix return value
9599 * paragraph.h: do not declare getLayout as inline.
9601 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9603 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9605 * lyxcursor.h (operator<): new func
9606 (operator>): new func
9607 (operator>=): new func
9608 (operator<=): new func
9610 * text.C (changeCase): use selection.start and selection.end
9611 (changeRegionCase): require from to be <= to. Require par to be a
9614 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9616 2001-06-27 Juergen Vigna <jug@sad.it>
9618 * text.C (cursorLeftOneWord): changed to return the cursor and added
9619 overlay with BufferView * parameter which calls this one.
9621 (selectWord): use new getWord function.
9622 (changeCase): renamed from changeWordCase as and extended to work
9625 * lyxtext.h: added enum word_location
9627 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9628 changeCase as this operates now also on selections.
9630 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9632 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9634 * many files: send debug output to Debug::INFO instead of
9637 * converter.C (View):
9639 (Move): send debug output to Debug::FILES instead of console.
9641 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9643 * lyxfunc.C (getStatus): use func_status
9645 * func_status.h: new header, describing the results of
9648 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9651 2001-06-25 The LyX Project <jug@sad.it>
9653 * buffer.C (sgmlOpenTag):
9655 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9657 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9659 * text2.C: remove some dead code
9661 * tabular.C (GetCellInset): store the last cell checked (gotten)
9663 * tabular.h: add the helper for the speedup
9665 * lyxtext.h: remove some dead code
9667 2001-06-26 The LyX Project <Asger>
9669 * paragraph.C: Change export to LaTeX of alignment to
9670 \begin{center} and family for better roundtrip work with reLyX.
9672 * Tune the math drawing a bit.
9674 2001-06-25 The LyX Project <Asger>
9676 * LColor.C (LColor): New color for math background. New color
9679 2001-06-25 The LyX Project <jug@sad.it>
9681 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9684 * bufferlist.C (newFile): do not restrict to files ending with
9687 * BufferView_pimpl.C (MenuInsertLyXFile):
9689 2001-06-24 The LyX Project <jug@sad.it>
9691 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9694 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9696 * lyxtext.h: rename most methods to begin with a small char.
9697 Lots of changes because of this.
9699 * paragraph.C (Paragraph): do not call fitToSize
9700 (erase): call Pimpl::erase
9701 (insertChar): call Pimpl::insertChar
9702 (insertInset): call Pipl::insertInset
9703 (breakParagraph): do not call fitToSize
9704 (breakParagraphConservative): do not call fitToSize
9705 (fitToSize): remove method
9707 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9709 2001-06-24 The LyX Project <Asger>
9711 * Fix Qt compilation^2
9713 2001-06-24 The LyX Project <jug@sad.it>
9715 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9716 depthHook(getDepth()-1).
9719 * ParagraphParameters.h:
9720 * ParameterStruct.h: change type of depth to unsigned int ==
9721 depth_type. Many adaptations to other files before of that.
9723 2001-06-24 The LyX Project <Asger>
9725 * Fix Qt compilation.
9727 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9729 * paragraph.h: renamed several methods to begin with small letter.
9730 several changes to many parts of the code because of this.
9732 2001-06-23 The LyX Project <jug@sad.it>
9734 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9735 rewritten to discard all double spaces when KeepEmpty is off
9736 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9737 to only handle newlines but not fiddle with spaces and friends.
9739 * lyxfunc.C (MenuNew): when doing 'new from template', use
9740 template_path as default directory
9742 2001-06-23 The LyX Project <Asger>
9744 * Clean-up of header file includes all over
9745 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9747 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9749 * paragraph.h: renamed from lyxparagraph.h
9751 2001-06-23 Asger <lyx@violet.home.sad.it>
9753 * Buffer.h: Removed Buffer::resize
9754 * BufferList.h: Removed BufferList::resize
9755 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9756 the document lazily when we change the width, or the font settings.
9758 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9760 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9762 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9764 * buffer.h: remove out of date comment
9766 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9769 * screen.C: fix "theoretical" GC leak
9771 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9773 * LaTeX.C (scanAuxFile):
9774 (deplog): remove trailing \r when reading stream (useful under
9777 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9779 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9780 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9781 and BufferView::theLockingInset(Inset*), so should use them and not
9782 access bv_->text->the_locking_inset directly.
9784 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9786 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9789 * tex-defs.h: remove old unused file
9791 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9793 * BufferView_pimpl.C: fix typo, remove minibuffer message
9794 when buffer has loaded
9796 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9798 * lyxfunc.C (Dispatch): use stringstream
9799 (MenuNew): use stringstream
9800 (Open): use stringstream
9802 * importer.C (Import): use stringstream
9804 * bufferview_funcs.C (CurrentState): use stringstream
9806 * LaTeX.C (run): use stringstream
9808 * BufferView_pimpl.C (savePosition): use stringstream
9809 (restorePosition): use stringstream
9810 (MenuInsertLyXFile): use stringstream
9812 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9825 * vspace.C: removed // -*- C++ -*- as first line.
9828 * version.h: added // -*- C++ -*- as first line.
9830 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9832 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9834 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9837 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9839 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9842 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9844 * gettext.C: include LString.h even when --disable-nls is on.
9846 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9848 * converter.h (Get): changed argument type from int to
9849 FormatList::size_type to avoid unnecessary conversion.
9851 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9854 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9856 * gettext.h: include LString.h even when --disable-nls is on.
9858 2001-06-07 Juergen Vigna <jug@sad.it>
9860 * text.C (BreakAgain): subst spaces with tabs.
9862 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9863 (resizeInsetsLyXText): set force on resizeLyXText.
9865 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9867 * gettext.h (gettext_init):
9868 (locale_init): use a real definition instead of a macro
9870 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9872 * Bufferview_pimpl.C:
9874 * LColor.C: further lcolor tidies
9876 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9878 * BufferView_pimpl.C (updateScrollbar): simplify.
9880 * BufferView2.C: don't include insets/insetinfo.h, change
9881 prototype for insertInset and call the Pimpl version. let
9882 updateInset call Pimpl version.
9884 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9885 gotoInset to BufferView::Pimpl
9887 2001-06-01 Juergen Vigna <jug@sad.it>
9889 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9890 inside a LockingInset (is the update needed at all?).
9892 2001-05-31 Juergen Vigna <jug@sad.it>
9894 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9895 here not the old one otherwise how should we compare it afterwards
9898 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9903 * FontInfo.C: bring C functions into global namespace when
9906 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9908 * LString.h: make sure config.h has been loaded before LString.h.
9910 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9911 (one for each char read by EatLine!).
9913 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9916 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9918 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9919 to the same as the par we break from
9921 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9923 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9925 * MenuBackend.C (expand): also create menu entries for wide
9926 versions of the floats.
9928 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9930 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9932 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9933 frontends/Makefile.am
9939 * tabular.C (getTokenValue): add std::
9941 * tabular-old.C (getTokenValue): add std::
9942 (getTokenValue): ditto
9943 (getTokenValue): ditto
9945 * screen.C (ToggleSelection): adjust
9947 * lyxtext.h: put selection cursors inside a Selection struct.
9949 * lyxfunc.C (moveCursorUpdate): adjust
9951 * lyxfont.C (latexWriteStartChanges): add std::
9955 * font.h: delete with(char const *, LyXFont const &)
9957 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9959 * FontInfo.C (getFontname): add std::
9961 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9962 (workAreaButtonPress): adjust
9963 (tripleClick): adjust
9965 (moveCursorUpdate): adjust
9968 * BufferView2.C (gotoInset): adjust
9970 2001-05-30 Juergen Vigna <jug@sad.it>
9972 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9973 to check pspell I add this as default as I now have new pspell
9974 libraries and they seem to use this.
9976 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9978 * text2.C (CutSelection): make the cursor valid before the call to
9981 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9983 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9984 relied on 0 terminated strings and other horrors. Bug found due to
9985 the new assert in lyxstring!
9987 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9990 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9992 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9995 * lyxfunc.C (processKeySym): change method of getting to the
9998 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9999 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10000 * BufferView_pimpl.[Ch]: here as private methods.
10002 2001-05-28 Juergen Vigna <jug@sad.it>
10004 * text.C (SetHeightOfRow): added the update() call again as it is
10005 needed to initialize inset dimensions!
10007 2001-05-16 Juergen Vigna <jug@sad.it>
10009 * text2.C (SetCharFont): Add new function with BufferView * and
10010 bool toggleall parameters for setting insets internal fonts.
10011 (SetFont): Freeze the undo as we may change fonts in Insets and
10012 all this change should be inside only one Undo!
10014 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10015 setting font's in insets as for them we have the SetFont function!
10017 2001-05-15 Juergen Vigna <jug@sad.it>
10019 * text2.C (ClearSelection): to be sure we REALLY don't have any
10022 * tabular.C (TeXCellPreamble): fixed the left border problem for
10025 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10027 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10030 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10032 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10033 LFUN_BREAKPARAGRAPH.
10035 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10036 help test to "internal only", similar for LFUN_INSERT_URL
10038 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10039 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10040 auto_region_delete and deadkeys.
10042 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10045 * LColor.C: remove some dead entries, tidy a little
10047 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10049 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10051 (Dispatch): implement LFUN_ESCAPE
10053 * commandtags.h: add LFUN_ESCAPE
10055 * LyXAction.C (init): add entry for LFUN_ESCAPE
10057 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10058 Remove commented code.
10059 (insertNote): moved here
10060 (open_new_inset): moved here
10062 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10065 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10067 * kbmap.C (findbinding): clean it up and make it work correctly.
10069 * lyx_main.C (init): do not pass argc and argv as parameters
10071 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10073 * buffer.C: fix path for OS/2 & Win32
10077 * lyx_main.C: Added os:: class.
10079 * os2_defines.h: update
10081 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10083 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10084 better by trying again with reduced state.
10086 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10088 * lyxrc.C (read): print error about invalid key sequence only when
10089 debugging (because not all latinX keysyms are known to some X
10092 * kbsequence.C (getiso): add a few std:: qualifiers
10093 (getiso): comment out extra return statement.
10095 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10097 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10099 (Dispatch): enhance the accent inset a bit. (not perfect)
10101 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10103 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10105 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10107 * bufferlist.C (emergencyWrite): fix assert() call
10109 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10111 * text.C (InsertChar): Added trivial patch to only send the "you
10112 can not do multiple spaces this way" message once during a
10115 2001-05-08 Baruch Even <baruch@lyx.org>
10117 * Makefile.am: Changed order of libraries to get LyX to link properly
10118 with the gnome frontend.
10120 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10122 * LaTeXFeatures.h: add a std:: qualifier
10124 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10126 * paragraph.C (String): use stringstream
10128 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10130 * paragraph.C (writeFile): remove footflag arg
10132 * buffer.C (makeLaTeXFile): use stringstream
10133 (latexParagraphs): remove footnot gurba
10135 * LaTeXFeatures.C (getPackages): use stringstream
10136 (getMacros): likewise
10137 (getTClassPreamble): likewise
10138 (getFloatDefinitions): new method
10140 * paragraph.C (writeFile): reindent
10143 * WorkArea.h: revert the xpos + etc changes.
10145 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10147 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10149 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10150 (pasteSelection): likewise
10151 * text2.C (CreateUndo): likewise
10153 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10155 * minibuffer.C (peek_event): temporarily reduce the functionality
10156 of the minibuffer (to allow args on lfuns)
10158 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10159 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10161 * buffer.C (readInset): add compability reading of old float
10162 lists, add reading of new style float list.
10163 (readInset): avoid reevaluation of inscmd.getCmdName()
10164 (getLists): reindent
10166 * MenuBackend.C (MenuItem): implement parsing of
10167 md_floatlistinsert and md_floatinsert.
10168 (expand::LastFiles): move initalizaton of iterators out of loop,
10169 avoid reevaluation.
10170 (expand::Documents): introduce typdedef vector<string> Strings,
10172 (expand::ExportFormats): introduce typedef vector<Format const *>
10173 Formats, and use it.
10174 (expand): implement FloatListInsert and FloatInsert.
10176 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10177 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10178 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10180 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10182 (Dispatch::LFUN_FLOAT_LIST): implement
10184 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10186 * LaTeX.C (run): Fix problem with --export code.
10188 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10190 * BufferView.[Ch] (workarea): removed.
10191 (getClipboard) new method; wrapper for workarea()->getClipboard()
10193 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10196 * WorkArea.h (width, height, xpos, ypos): These methods all
10197 returned the dimensions of the work_area sub-area of WorkArea,
10198 resulting in a position error if the WorkArea were resized. Now
10199 return the dimensions of the entire WorkArea.
10201 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10203 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10205 * LaTeX.C (deplog): correct the syntax of regex reg1
10207 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10209 * undo.C: remove !NEW_INSETS cruft
10211 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10213 * text2.C: remove !NEW_INSETS cruft
10215 * text.C: remove !NEW_INSETS cruft
10217 * tabular.C: remove !NEW_INSETS cruft
10219 * spellchecker.C: remove !NEW_INSETS cruft
10221 * lyxtext.h: remove !NEW_INSETS cruft
10223 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10225 * lyxfunc.C: remove !NEW_INSETS cruft
10227 * lyxfind.C: remove !NEW_INSETS cruft
10229 * lyx_cb.C: remove !NEW_INSETS cruft
10231 * figureForm.C: remove !NEW_INSETS cruft
10233 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10235 * buffer.[Ch]: remove !NEW_INSETS cruft
10237 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10239 * CutAndPaste.C: remove !NEW_INSETS cruft
10241 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10243 * BufferView2.C: remove !NEW_INSETS cruft
10245 * BufferView.h: remove !NEW_INSETS cruft
10247 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10249 * Lsstream.h: include LString.h before the sstream headers to
10250 fix problem with gcc 2.95.3 and lyxstring
10252 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10254 * lyx_main.C: add using directives when needed for C functions
10255 declared in std:: namespace.
10257 2001-04-27 Juergen Vigna <jug@sad.it>
10259 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10260 (SetHeightOfRow): comment out the update call should not be needed!
10262 2001-04-13 Juergen Vigna <jug@sad.it>
10264 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10265 (LyXTabular): tried to minimize operator= operations (and realized
10266 hopfully Lars wish).
10268 2001-04-27 Juergen Vigna <jug@sad.it>
10270 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10272 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10274 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10276 * buffer.C (readInset): hack to make listof algorithm work
10278 * BufferView_pimpl.C: hack to make listof algorithm work
10280 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10282 * LyXAction.C: removed all !NEW_INSETS cruft
10283 (init): moved lfun_item in method
10285 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10287 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10289 * BufferView2.C (theLockingInset): white space.
10291 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10293 * minibuffer.C: include <iostream>
10295 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10297 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10299 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10301 * text.[Ch] (TransposeChars): new method
10303 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10305 * call message directly through LyXView instead of through LyXFunc
10306 * BufferView2.C: adjust
10307 * BufferView_pimpl.C: adjust
10308 * FontLoader.C: adjust
10310 * bufferview_funcs.C: adjust
10311 * converter.C: adjust
10312 * figureForm.C: adjust
10313 * importer.C: adjust
10315 * lyx_gui_misc.C: adjust
10316 * lyxfunc.C: adjust
10319 + more files in subdirs
10321 * lyxparagraph.h (size): move up int file
10324 * adjust all uses of Assert to lyx::Assert.
10326 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10327 lyxfunctional in namespace lyx
10328 * layout.C (hasLayout): ditto
10331 (delete_layout): ditto
10332 (NumberOfClass): ditto
10333 * converter.C (GetFormat): ditto
10338 * bufferlist.C (getFileNames): ditto
10339 (emergencyWriteAll): ditto
10342 * MenuBackend.C (hasSubmenu): ditto
10345 * BufferView_pimpl.C (getInsetByCode): ditto
10347 2001-04-18 Juergen Vigna <jug@sad.it>
10349 * vspace.C (asLatexString): fixed the 100% problem.
10351 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10353 * lyxfunc.C (Dispatch):
10355 * minibuffer.h: add a few std:: qualifiers
10357 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10359 * minibuffer.[Ch]: reimplement so that commands is initiated and
10360 run from lyxfunc, simplified som handling, and made the completion
10361 and history code for complete. wip.
10363 * lyxfunc.C (processKeySym): call message
10364 (miniDispatch): new temporary method
10365 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10366 (LFUN_MESSAGE): implement
10367 (LFUN_MESSAGE_PUSH): implement
10368 (LFUN_MESSAGE_POP): implement
10369 (initMiniBuffer): the initial/defualt minibuffer message.
10371 * lyxfont.[Ch]: inline some more getters
10373 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10375 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10377 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10378 (AutoSave): use LFUN_MESSAGE
10379 (Reconfigure): ditto
10381 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10383 * figureForm.C: use LFUN_MESSAGE
10385 * converter.C (runLaTeX): use LFUN_MESSAGE
10387 * bufferview_funcs.C: use LFUN_MESSAGE
10389 (changeDepth): ditto
10391 * bufferparams.h: use boost::
10393 * bufferlist.h: inherit privately from noncopyable
10395 * bufferlist.C (loadLyXFile): remove some commented code.
10397 * buffer.C (runChktex): use LFUN_MESSAGE
10399 * ShareContainer.h: inherit privately from noncopyable
10401 * ParagraphParameters.[hC] (depth): inline it.
10403 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10405 (message): new method
10406 (messagePush): ditto
10407 (messagePop): ditto
10408 (show): init minibuffer
10409 (showState): direct call
10411 * LaTeX.[Ch]: inherit privately from noncopyable
10412 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10413 instead of WriteStatus.
10415 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10417 * BufferView_pimpl.C (buffer): don't init minibuffer
10418 (workAreaButtonPress): use LFUN_MESSAGE
10419 (workAreaButtonRelease): ditto
10420 (savePosition): ditto
10421 (restorePosition): ditto
10422 (MenuInsertLyXFile): ditto
10423 (workAreaExpose): don't init minibuffer
10424 (update): remove commented code, simplify
10426 * BufferView2.C (openStuff): use LFUN_MESSAGE
10427 (toggleFloat): ditto
10430 (copyEnvironment): ditto
10431 (pasteEnvironment): ditto
10436 (updateInset): remove some commented code
10438 * lastfiles.h: inherit privately from noncopyable
10441 * lyx_main.h: ditto
10443 * lyxlex_pimpl.h: ditto
10445 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10446 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10447 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10449 * LyXAction.h: inherit privately from noncopyable, add methods
10450 func_begin, func_end, returning iterators to the func map.
10452 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10453 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10454 (func_begin): new method
10455 (func_end): new method
10457 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10459 (copySelection): ditto
10460 (pasteSelection): ditto
10462 * BufferView.C: whitespace change
10463 * BufferView.h: inherit privately from noncopyable
10465 2001-04-16 Allan Rae <rae@lyx.org>
10467 * tabular-old.C (l_getline):
10468 * spellchecker.C (sc_check_word):
10469 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10470 an unrecognised preprocessor directive. So ensure they're wrapped.
10472 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10474 * src/exporter.C (Export): Give an error message when path to file
10477 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10479 * LaTeX.C (deplog): Always check that foundfile exists.
10481 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10484 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10486 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10488 * tabular.[Ch] (getLabelList): implement new method
10490 * minibuffer.h: comment ouf setTiimer
10492 * minibuffer.C (ExecutingCB): constify res
10493 (peek_event): constify s
10494 (Set): constify ntext
10495 (Init): constify nicename
10497 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10499 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10500 (savePosition): use two params to Minibuffer::Set
10501 (restorePosition): ditto
10503 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10505 * lyx_main.C: include language.h
10507 * Makefile.am (lyx_main.o): add language.h
10509 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10515 * CutAndPaste.C: include gettext.h
10517 * lyxfont.h: remove old hack with ON and OFF.
10520 * lyxfont.h: do not include language.h...
10525 * bufferview_funcs.C:
10531 * paragraph.C: ... but do it here instead
10533 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10535 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10537 * tabular.C: small reformat
10539 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10542 (BreakParagraph): ditto
10543 (SetOnlyLayout): ditto
10546 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10549 * lastfiles.C: removed most using decl, add std:: where needed
10551 * buffer.C: ws changes
10553 * MenuBackend.C (class compare_format): put into anon namespace
10554 (expand): constify label, names, action, action2
10557 * text.C (SingleWidth): constify font
10558 (IsBoundary): constify rtl2
10559 (GetVisibleRow): constify ww
10561 * LaTeX.C (deplog): constify logfile
10563 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10565 (workAreaExpose): constify widthChange, heightChange
10567 * lyxrow.C (par): moved
10570 * lyxrow.h: as inlines here
10572 * lyxfont.h (shape): moved from lyxfont.C
10573 (emph): moved from lyxfont.C
10575 * lyxfont.C (LyXFont): use initialization list for all
10577 (shape): move to lyxfont.h as inline
10578 (emph): move to lyxfont.h as inline
10581 2001-04-04 Juergen Vigna <jug@sad.it>
10583 * vspace.C: had to include stdio.h for use of sscanf
10585 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10588 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10589 independent of xforms.
10591 2001-04-02 Juergen Vigna <jug@sad.it>
10593 * spellchecker.C: fixed namespace placing!
10595 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10597 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10598 the LyXParagraph * is 0.
10600 2001-03-29 Juergen Vigna <jug@sad.it>
10602 * vspace.C: added support for %, c%, p%, l%.
10603 (stringFromUnit): added helper function.
10604 (asLatexString): changed to give right results for the %-values.
10606 * buffer.C: convert the widthp in a width%.
10608 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10610 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10613 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10614 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10616 * lyx_cb.[Ch]: see above.
10618 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10622 * lyx.[Ch]: replaced by figure_form.[Ch].
10626 * lyxfunc.C: changed headers associated with above changes.
10628 2001-03-27 Juergen Vigna <jug@sad.it>
10630 * BufferView_pimpl.C: set the temporary cursor right!
10632 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10634 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10636 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10638 * LString.h: removed "using std::getline"!
10640 * BufferView_pimpl.C (Dispatch): changes due to changes in
10641 InsetInclude::Params.
10643 * buffer.C (tag_name): removed redundant break statements as they were
10644 producing lots of warnings with my compiler.
10646 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10648 * LString.h: add "using std::getline" when using the real <string>.
10650 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10652 * buffer.C: removed bitset usage.
10653 PAR_TAG moved to an anonymous name space.
10654 (tag_name): new funtion, also in the anonymous namespace.
10655 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10656 (makeDocBookFile): clean code. Completed transition from string arrays
10658 (SimpleDocBookOnePar): code clean.
10660 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10662 * tabular.C: add some comments.
10664 2001-03-22 Juergen Vigna <jug@sad.it>
10666 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10667 compatibility read a bit and fixed bug with minipage in different
10670 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10672 * buffer.C (pop_tag): removed.
10673 (push_tag): removed.
10674 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10675 array replaced with vector. Added support for CDATA sections.
10676 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10678 (makeDocBookFile): XML conformant declaration of CDATA section,
10679 fixed bug related to <emphasis> in the first paragraph char.
10680 (sgmlOpenTag): exclude empty tags.
10681 (sgmlCloseTag): ditto.
10683 * buffer.h (pop_tag): removed.
10684 (push_tag): removed.
10686 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10688 * language.h (Languages): added size_type and size().
10690 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10692 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10693 response on compability reading of minipages. One probliem is that
10694 the old usage of minipages was «flertydig»
10696 * several files here and in subdirs: don't use static at file
10697 scope use anon namespaces instead.
10699 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10701 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10702 LaTeX output. This is necessary for Literate document
10705 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10707 * buffer.C: insert hfill when needed.
10709 * tabular.C (l_getline): use string::erase, small whitespace change.
10711 * BufferView_pimpl.C: try the anon namespace.
10712 * WorkArea.C: ditto
10714 2001-03-16 Juergen Vigna <jug@sad.it>
10716 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10717 otherwise it won't open options-dialogs.
10719 * buffer.C: honor pextraWidth(p) on converting minipages.
10721 * tabular.C (l_getline): changed the functions to strip trailing \r.
10723 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10725 * BufferView_pimpl.C:
10726 * minibuffer..C: added "using SigC::slot" declaration.
10728 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10730 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10736 * paragraph.C: ditto
10738 * lyxtext.h: NO_PEXTRA
10740 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10742 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10743 * ParameterStruct.h: ditto
10744 * ParagraphParameters.h: ditto
10745 * lyxparagraph.h: ditto
10747 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10749 * buffer.C: add compability for minipage alignment.
10750 (latexParagraphs): remove unwanted pextra check.
10752 * several files: remove CXX_WORKING_NAMESPACES
10754 * buffer.C (pop_tag): tie is in namespace boost
10756 * BufferView.h: noncopyable is in namespace boost
10758 * lyx_main.h: ditto
10761 * lastfiles.h: ditto
10762 * bufferlist.h: ditto
10763 * ShareContainer.h: ditto
10765 * LyXAction.h: ditto
10768 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10770 * Merging changes from BRANCH_MVC back into HEAD.
10772 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10774 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10776 * BufferView_pimpl.C: change from intl.C
10780 * Makefile.am: move combox.*
10786 * intl.C: remove dialog (covered by prefs)
10788 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10790 * lyxfunc.C (Dispatch): removed redundant break statement.
10792 2001-03-14 Juergen Vigna <jug@sad.it>
10794 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10796 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10798 * buffer.C: add hack to fix compability reading of minipages.
10800 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10802 * buffer.C (getLists): Cleanup.
10804 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10806 * lyxfont.C (update): don't honor toggleall on font size.
10808 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10812 * Makefile.am: moved to frontends/xforms/
10816 * BufferView_pimpl.C: changes for moved mathpanel
10818 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10820 * gettext.h: fix gettext_init() in --disable-nls
10822 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10824 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10826 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10829 * lyx.h: strip external form
10831 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10833 * BufferView_pimpl.C: add comment, destroySplash()
10835 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10837 * BufferView_pimpl.C:
10841 * lyxfunc.C: use re-worked insetinclude
10843 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10845 * buffer.C: add using std::stringstream.
10847 * lyx_cb.C: readd using std::ios.
10849 * buffer.C: add using std::map.
10851 * BufferView_pimpl.C: add using std::vector.
10853 * ShareContainer.h: add std:: to swap.
10855 * buffer.h: add some typedefs
10856 * buffer.C (getLists): use them
10857 (getLists): renamed from getTocList.
10858 add a counter for the different float types and use it in the
10860 (getLists): use the same counter for the NEW_INSETS and the "non"
10863 * lyx_cb.h: remove unused items, includes, using etc.
10865 * ShareContainer.h: remove some commented code, add more comments
10866 and "documentation".
10868 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10870 * buffer.C (getTocList): make the list also when NEW_INSETS is
10873 * buffer.h: remove TocType
10875 * buffer.C (getTocList): change to return a map<string,
10876 vector<TocItem> >, implement for dynamic number of list.
10878 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10879 * text2.C (PasteSelection): adjust
10880 * CutAndPaste.C (pasteSelection): adjust
10882 * FloatList.C (FloatList): update from the new_insets branch.
10883 * Floating.[Ch]: ditto
10884 * LaTeXFeatures.C: ditto
10886 * lyxlex_pimpl.C: ditto
10888 * paragraph.C (Last): remove when NEW_INSETS is defined.
10890 * other file: changes because of the above.
10892 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10894 * lyxparagraph.h: rename next to next_, previous to previous_,
10895 make them private for NEW_INSETS. Rename Next() to next(),
10896 Previous() to previous().
10898 * other files: changes because of the above.
10900 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10903 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10906 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10908 * main.C (main): pass lyx_localedir to gettext_init().
10910 * gettext.h: remove locale_init and gettext_init macros
10912 * gettext.C (locale_init): new function
10913 (gettext_init): new function
10915 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10918 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10920 * Moved credits to frontends:
10921 * credits.[Ch]: removed
10922 * credits_form.[Ch]: removed
10923 * lyx_gui_misc.C: remove credits stuff
10926 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10928 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10930 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10931 unneeded destructor.
10933 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10934 a standalone pointer again.
10936 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10938 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10944 * ToolbarDefaults.C:
10953 * BufferView_pimpl.C: use new file dialog in GUII
10956 * lyx_cb.C: remove LayoutsCB to Toolbar
10958 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10960 * ShareContainer.h (get): add std:: qualifier
10962 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10964 * ShareContainer.h: define a proper ShareContainer::value_type
10965 type (and use typename to please compaq cxx)
10967 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10969 * lyxparagraph.h: move serveral local vars to
10970 ParameterStruct/ParagraphParameters., use ShareContainer in
10971 FontTable., make vars in FontTable private and add getter and
10974 * paragraph.C: changes because of the above.
10976 * lyxfont.h: remove copy constructor and copy assignment. (the
10977 default ones is ok), move number inside FontBits. move inlines to
10980 * lyxfont.C: add number to initializaton of statics, move several
10981 inlines here. constify several local vars. some whitespace
10982 cleanup. Dont hide outerscope variables.
10984 * Spacing.h: add two new constructors to match the set methods.
10986 * ShareContainer.h: new file, will perhaps be moved to support
10988 * ParameterStruct.h: new file
10990 * ParagraphParameters.h: new file
10992 * ParagraphParameters.C: new file
10994 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10995 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10997 * BufferView_pimpl.C: ParagraphParameter changes.
10998 * buffer.C: Likewise.
10999 * bufferview_funcs.C: Likewise.
11000 * text.C: Likewise.
11001 * text2.C: Likewise.
11003 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11005 * lyxfind.C (LyXReplace): do not redefine default argument in
11007 (IsStringInText): ditto
11008 (SearchForward): ditto
11009 (SearchBackward): ditto
11011 2001-03-06 Juergen Vigna <jug@sad.it>
11013 * lyxfind.C (IsStringInText): put parentes around expressions.
11015 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11017 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11019 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11021 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11023 * stl_string_fwd.h: add comment
11025 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11028 * tabular.C: remove unused DocBook methods
11034 killed DO_USE_DEFAULT_LANGUAGE
11036 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11038 * lyx_gui.C: do not include language.h.
11040 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11041 arguments in function implementation.
11043 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11045 * BufferView_pimpl.C: add <ctime>
11047 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11049 * BufferView_pimpl.C: add using std::find_if
11051 2001-02-27 José Matos <jamatos@fep.up.pt>
11053 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11056 2001-02-11 José Matos <jamatos@fep.up.pt>
11058 * buffer.C (makeDocBookFile): command styles now have a parameter as
11059 "title" by default.
11061 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11063 * layout_forms.[Ch]: removed
11064 * lyx_cb.[Ch]: out character
11065 * lyx_gui.C: out character
11066 * lyx_gui_misc.C: out character
11067 * bufferview_funcs.C: : out character,
11068 added toggleall as parameter in ToggleAndShow
11070 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11072 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11074 * text2.C (SetCurrentFont): Disable number property at boundary.
11076 2001-02-26 Juergen Vigna <jug@sad.it>
11078 * lyxfunc.C (getStatus): added a string argument override function so
11079 that this is correctly called from LyXFunc::Dispatch if it contains a
11080 do_not_use_argument which is used!
11081 (Dispatch): added check for "custom" export and call appropriate func.
11083 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11085 * lyxrc.C: Add language_command_local, language_use_babel and
11086 language_global_options.
11088 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11090 * buffer.C (makeLaTeXFile): Use language_use_babel and
11091 language_global_options.
11093 2001-02-23 Juergen Vigna <jug@sad.it>
11095 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11096 which works with LyXText and putted it inside BufferView. Here now we
11097 only call for that part the BufferView::Dispatch() function.
11099 * BufferView.C (Dispatch): added.
11101 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11102 functions which needs to use a LyXText over from LyXFunc.
11103 (MenuInsertLyXFile): added
11104 (getInsetByCode): added
11105 (moveCursorUpdate): added
11106 (static TEXT): added
11108 2001-02-22 Juergen Vigna <jug@sad.it>
11110 * BufferView_pimpl.C (update): call a status update to see if LyXText
11113 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11115 * vc-backend.C (revert): implement for CVS
11116 (getLog): implement for CVS
11118 2001-02-20 Juergen Vigna <jug@sad.it>
11120 * text2.C (ClearSelection): added BufferView param for inset_owner call
11122 * lyxfunc.C (TEXT): added this function and use it instead of
11123 directly owner->view()-text of getLyXText().
11125 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11127 * src/layout_forms.C: out preamble
11128 * src/layout_forms.h: out preamble
11129 * src/lyx_cb.C: out preamble
11130 * src/lyx_cb.h: out preamble
11131 * src/lyx_gui.C: out preamble
11132 * src/lyx_gui_misc.C: out preamble
11133 * src/lyxfunc.C: connect with guii preamble
11135 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11137 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11139 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11141 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11142 whether to run bibtex.
11144 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11146 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11148 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11150 * Makefile.am (lyx_SOURCES): removed bibforms.h
11152 * vspace.h: doxygen
11154 * text.C (GetVisibleRow): make several local vars const
11156 * tabular.C: small cleanup.
11158 * lyxserver.C (callback): use compare instead of strncmp
11160 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11161 inlines to after class or to paragraph.C
11163 * lyxfont.h: remove friend operator!=
11165 * converter.h: move friend bool operator< to non friend and after
11168 * combox.h: small cleanup
11170 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11171 to inlines after class def.
11173 * buffer.C (pop_tag): use string operations instead of strcmp
11175 * bmtable.c: doxygen, small cleanup
11177 * LaTeX.h: remove friend operator==
11179 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11191 * BufferView_pimpl.C:
11192 * BufferView.[Ch]: remove cruft
11194 2001-02-14 Juergen Vigna <jug@sad.it>
11196 * lyxfunc.C: removed #if 0 unused code
11198 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11200 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11202 * text2.C (SetSelection): added a BufferView * parameter
11204 2001-02-13 Juergen Vigna <jug@sad.it>
11206 * lyxfunc.C (Dispatch): fixed protected blank problem.
11207 * BufferView2.C (protectedBlank): added LyxText * parameter.
11209 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11210 (AppendColumn): same as above for column_info.
11212 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11213 (moveCursorUpdate): use a LyXText param for support of InsetText.
11215 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11216 (tripleClick): ditto
11218 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11220 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11222 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11224 * text2.C (SetSelection): set correct update status if inset_owner
11225 (ToggleFree): ditto
11227 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11229 * tabular.C: remove some commented code.
11231 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11233 * BufferView_pimpl.C: call hideSplash()
11235 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11238 * bibforms.h: remove
11241 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11242 add LFUN_CHILD_CREATE
11244 * counters.h: fix tiny typo
11249 * lyx.C: move splash to frontends/xforms/
11251 * lyx_gui_misc.C: move Include and Bibform to frontends
11253 * lyxvc.h: clarify comment
11255 * vspace.C: tiny housekeeping
11257 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11259 * text.C (PrepareToPrint): RTL Fix.
11261 * paragraph.C (GetUChar): New method.
11262 (String): Use GetUChar.
11264 * buffer.C (asciiParagraph): Use GetUChar.
11266 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11268 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11270 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11273 * buffer.C: rename to getLogName(), handle
11274 build log / latex log nicely
11276 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11279 * MenuBackend.h: remove support for reference menuitem type.
11281 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11283 * BufferView_pimpl.C: housekeeping
11284 * BufferView_pimpl.h:
11289 * minibuffer.h: move Timeout GUI-I
11291 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11293 * lyxrc.C (read): Update converters data-structures.
11295 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11297 * LaTeX.h (operator!=): add operator != for Aux_Info
11299 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11301 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11303 * LaTeXLog.C: deleted, useful code moved to Buffer
11306 * buffer.C: new function getLatexLogName()
11312 * lyxfunc.C: use frontends for LaTeX and VC logs
11314 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11316 * LaTeX.h: yet another std:: that Allan forgot.
11318 * Variables.C (set): renamed from isset(), because this clashes
11319 with some HP-UX macros (grr).
11321 2001-02-06 Allan Rae <rae@lyx.org>
11323 * LaTeX.h: Another bug fix. Missing std:: this time.
11325 2001-02-04 Allan Rae <rae@lyx.org>
11327 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11328 floats problem. I've left it commented out because it's not quite
11329 correct. It should also test that the current object is a table or
11330 figure inset. But I haven't gotten around to figuring out how to do
11331 that. I *think* it'll be something like: "table" == inset.type()
11333 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11336 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11338 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11339 all the citation/databases/styles in the auxilary file.
11340 (run): Rerun latex if there was a babel language error.
11342 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11344 * text.C (Backspace): Preserve the font when changing newline char
11346 (BreakParagraph): If the cursor is before a space, delete the space.
11348 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11350 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11352 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11353 new argument (code).
11354 (ChangeCitationsIfUnique): New method.
11356 * paragraph.C (GetPositionOfInset): Handle bibkey.
11358 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11360 * BufferView_pimpl.h: change type of Position::par_pos to
11361 LyXParagraph::size_type.
11363 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11365 * BufferView_pimpl.C (savePosition, restorePosition): Write
11366 messages to minibuffer.
11368 2001-01-28 José Matos <jamatos@fep.up.pt>
11370 * buffer.C (makeDocBookFile): adds support for document language.
11371 A silly restriction on the name of LatexCommand types where removed.
11372 Added support for CDATA sections, allows to chars unescaped, used
11373 among others in code, to avoid escape < and >.
11375 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11377 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11378 saved positions instrad of a stack. Furthermore, a position is
11379 stored using paragraph id/paragraph position.
11381 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11382 Remove LFUN_REF_BACK.
11384 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11386 * converter.C (dvipdfm_options): New method.
11388 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11390 * vspace.C (isValidLength): Fix for empty input string.
11392 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11394 * LyXAction.C (init): change description of LFUN_FIGURE to
11397 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11399 * LaTeX.C: add using directive
11401 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11403 * MenuBackend.C (expand): Fix the sorting of the formats.
11405 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11407 * lyx_main.C: tiny error message fix
11409 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11411 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11412 calling fl_initialize(). This fixes the problem with ',' as
11413 decimal separator in text files.
11415 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11417 * trans.C (process): Fix the keymap bug.
11419 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11421 * LaTeX.C (scanAuxFiles): New method. Provides support for
11422 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11423 (scanLogFile) Scan for "run BibTeX" messages.
11425 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11426 OT1 font encoding. Also, load the aecompl package if the ae
11429 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11431 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11433 * texrow.C (increasePos): turn two error messages into debug
11436 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11438 * LaTeX.C (scanAux): Handle the \@input macro.
11439 (runBibTeX): Use scanAux().
11441 * language.C (latex_options_): New field.
11443 * LaTeXFeatures.C (getMacros): Add language macros.
11445 * buffer.C (makeLaTeXFile): Small fix.
11447 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11449 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11451 * text2.C: add a using directive.
11453 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11458 * lyxfunc.C: kill LyXBell.
11460 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11462 * text.C (IsBoundary): Remove the error message
11464 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11466 * lyxrc.C (setDefaults): Correct initialization value for
11469 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11471 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11474 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11475 and GotoNextNote().
11477 * src/LyXAction.C: Added reference-next.
11479 * text.C (InsertChar): Use contains instead of strchr.
11481 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11483 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11485 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11486 alignment commands (when needed).
11488 * text.C (InsertChar): Add ':' to number separator chars.