1 2003-07-07 Alfredo Brauntein <abraunst@libero.it>
3 * BufferView.[Ch] (newFile): Add
4 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5 * LaTeX.[Ch] (message): added this signal and use it
6 * buffer.[Ch] (busy, message): added these signals and use them
7 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
11 * importer.C: use buffer signals instead of direct bv calling
12 * lyx_cb.[Ch] (ShowMessage): removed
16 * text2.C: use buffer signals
18 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
20 * introduce namespace lyx::graphics
22 2003-07-02 André Pönitz <poenitz@gmx.net>
24 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
26 2003-07-01 André Pönitz <poenitz@gmx.net>
33 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
34 text*.C to text_func.C
36 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
38 * introduce namespace lyx::support
40 2003-06-30 André Pönitz <poenitz@gmx.net>
45 * text.C: re-enable --with-included-string
47 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
49 * textcursor.C: add <config.h>
51 * text.C (getWord): remove const from word_location arg
53 * lyxvc.C (getLogFile): fix const type order
55 * lyxtext.h: remove const from word_location arg, add arg name
57 * lyxlayout.h: currect type on labeltype.
59 * importer.C: correct \file
61 * converter.C (intToFormat): use std:: on ret val, ws changes
63 * bufferlist.h: correct \file
65 * buffer.C (makeLinuxDocFile): fix const type order
66 (makeDocBookFile): ditto
67 (fillWithBibKeys): use std:: on stdlib args.
69 * CutAndPaste.C: fix authors.
70 (availableSelections): use std:: on return vector
72 2003-06-27 André Pönitz <poenitz@gmx.net>
83 * text3.C: remove LyXCursor::row_ member
86 * text.C: rename fullRebreak() to partialRebreak() and implement
87 a fullRebreak() that really bereks fully
89 * textcursor.h: new struct for cursor-related data
91 2003-06-26 Alfredo Brauntein <abraunst@lyx.org>
93 * lyx_main.C (LyX): get full path of document loaded on the
96 2003-06-26 André Pönitz <poenitz@gmx.net>
98 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
99 remove unused/broken operator>,<,>=.
101 * text.C: remove only use of broken operator<= in an Assert().
103 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
105 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
106 moved errorlist_.clear to showErrorList
108 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
110 * converter.C (scanLog, runLaTeX):
111 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
112 move the bv->showErrorList call to the callers
113 * lyxfunc.C: i.e. here...
115 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
116 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
117 namespace, the second to...
118 * buffer_funcs (BufferFormat, parseErrors): added
119 * errorlist.C (ErrorList(TeXErrors const &)): removed
121 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
123 * ToolbarBackend.C (getIcon): complain when icon cannot be found
125 2003-06-24 "Garst R. Reese" <reese@isn.net>
129 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
131 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
133 * version.C.in: change docversion to 1.4
135 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
137 * buffer.C: fix a bug just introduced
139 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
141 * buffer.[Ch]: added the parseError signal and use it, removed
143 * BufferView.[Ch] (addError): moved to ...
144 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
145 to the Buffer::parseError signal to catch (guess what) parse errors
146 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
148 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
150 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
151 ability to create a buffer and to return an existing one from
152 the list. Moved these functions to...
153 * buffer_funcs.[Ch]: added
154 * BufferView.[Ch] (loadLyXFile): added
155 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
156 job removed from bufferlist::loadLyXFile.
157 * buffer.C (setReadOnly): make it work without view
158 (i.e added an if (users))
160 2003-06-19 Angus Leeming <leeming@lyx.org>
163 * LyXAction.C (init):
164 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
165 with LFUN_DIALOG_SHOW <name> <data>.
167 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
169 * CutAndPaste.C (availableSelections): small compilation fix for
170 ancient (gcc 2.9x) compilers
172 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
174 * text3.C (cursorNext): add tmp var
176 * text2.C (updateCounters): for function calling out of for clause
177 (replaceSelectionWithString): ditto
178 (insertStringAsParagraphs): ditto
179 (getColumnNearX): add tmp var
180 (setCursorFromCoordinates): add tmp var
181 (cursorDownParagraph): add tmp var
182 (deleteEmptyParagraphMechanism): add tmp var
184 * text.C (insertChar): add tmp var
186 * rowpainter.C (paintDepthBar): add tmp var
188 * CutAndPaste.C (availableSelections): potentially check all
189 paragraphs in a cut to fill the shown strings.
191 2003-06-18 André Pönitz <poenitz@gmx.net>
193 * kbmap.[Ch]: use vector<> instead of list<>
195 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
197 * text3.C (dispatch): handle arg to LFUN_PASTE, call
198 pasteSelection with index
200 * text2.C (pasteSelection): modify, call pasteSelection with index
202 * paragraph.C (asString): reimplement version with no interval to
203 call the one with interval.
205 * lyxtext.h: add index arg to pasteSelection
207 * MenuBackend.C (MenuItem): handle PasteRecent
208 (Menu::read::Menutags): add md_pasterecent
210 (expandPasteRecent): new function
213 * MenuBackend.h: add PasteRecent to MenuItem::Kind
215 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
217 (availableSelections): new function
219 2003-06-17 Angus Leeming <leeming@lyx.org>
221 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
223 2003-06-17 Angus Leeming <leeming@lyx.org>
226 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
228 * lyxfunc.C (dispatch): invoke it.
230 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
232 * iterators.C (operator++, ParPosition): reintroduce some
233 const_cast for the benefit of older compilers.
235 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
237 * text3.C (dispatch): do not modify clipboard when doing
238 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
239 LFUN_DELETE_SKIP on a selection selection
241 2003-06-16 André Pönitz <poenitz@gmx.net>
247 * tabular.[Ch]: IU of clone() and getLabelList();
249 2003-06-13 André Pönitz <poenitz@gmx.net>
251 * tabular.h: compactification
253 2003-06-12 André Pönitz <poenitz@gmx.net>
257 * tabular_funcs.h: some renaming plus whitespace
259 2003-06-12 André Pönitz <poenitz@gmx.net>
262 * BufferView_pimpl.C:
268 * toc.C: Return a Paragraph & for ParIterator::operator*()
270 2003-06-11 John Levon <levon@movementarian.org>
274 * ToolbarBackend.C: add "Toolbars" section and
277 2003-06-10 Angus Leeming <leeming@lyx.org>
280 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
282 * lyxfunc.C (dispatch): invoke it.
284 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
286 * main.C: protect <ios> with HAVE_IOS
287 (main): protect sync_with_stdio with HAVE_IOS
289 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
291 * text2.C (cutSelection): adjust
292 (pasteSelection): adjust
294 * messages.C: handle get of empty string
296 * main.C (main): use sync_with_stdio(false)
298 * lyxfunc.C (dispatch): adjust
300 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
301 (WriteAs): remove unneeded BufferView arg.
303 * bufferparams.h: use correct types on papersize, papersize2 and
306 * bufferparams.C (readToken): adjust for type
307 (writeLaTeX): add missing cases to switch.
309 * bufferlist.C (quitWriteBuffer): adjust
312 * buffer.C (asciiParagraph): remove some commented code.
314 * CutAndPaste.C: remove current_view extern variable.
315 (cutSelection): add BufferParams arg.
316 (eraseSelection): add BufferParams arg.
317 (pasteSelection): add Buffer const & arg
319 2003-06-07 John Levon <levon@movementarian.org>
327 * paragraph.C: allow InsetERT to freely space lines,
328 and some consolidation of code
330 2003-06-06 José Matos <jamatos@fep.up.pt>
332 * buffer.C (makeDocBookFile): fix bug #821
334 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
336 * BufferView_pimpl.C (dispatch): use Dialogs::visible
338 2003-06-04 Angus Leeming <leeming@lyx.org>
340 * buffer.C: bump format to 224.
342 2003-06-05 André Pönitz <poenitz@gmx.net>
344 * text2.C (redoParagraphs): remove two const_cast<>
346 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
348 * ParagraphList.h: remove last remnants of NO_STD_LIST
350 2003-06-03 Angus Leeming <leeming@lyx.org>
352 * factory.C (createInset): small change to the way InsetExternal's params
355 2003-06-04 André Pönitz <poenitz@gmx.net>
357 * buffer.h: use Undo directly instead of shared_ptr<Undo>
360 * paragraph.[Ch]: some Inset -> UpdatableInset changes
362 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
364 * undo_funcs.C: make some simple cases of undo work again
366 2003-06-03 John Levon <levon@movementarian.org>
368 * ispell.C: HPUX doesn't have sys/select.h
371 2003-06-03 John Levon <levon@movementarian.org>
373 * CutAndPaste.C: update tabular and include inset
378 * paragraph.C: remove owningBuffer(), don't pass Buffer
381 * factory.C: insetGraphicsParams changed
383 2003-06-02 John Levon <levon@movementarian.org>
389 * text3.C: remove insetparent
391 2003-06-02 John Levon <levon@movementarian.org>
394 * buffer.C: fix inset_iterator.end(), move out of line
397 2003-06-01 John Levon <levon@movementarian.org>
399 * text3.C: use a proper cut/paste when doing inset
400 insert (from Jürgen Spitzmüller)
402 2003-06-01 John Levon <levon@movementarian.org>
404 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
406 2003-05-30 André Pönitz <poenitz@gmx.net>
408 * rowpainter.C: unify second drawing phase
410 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
412 * trans_mgr.C: remove one case of current_view
414 * text2.C (cursorBottom): delete NO_STD_LIST stuff
416 * paragraph_funcs.h: remove paragraph.h include
418 * paragraph.h: delete NO_STD_LIST stuff
420 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
422 * buffer.h: remove paragraph.h include
424 * ParagraphList.C: delete file
426 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
428 * toc.C (getTocList): adjust
430 * paragraph_pimpl.C (validate): adjust
432 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
434 * paragraph.C (Paragraph): adjust
435 (getPositionOfInset): use const_iterator, adjust
436 (bibitem): use const_iterator, adjust
437 (setInsetOwner): adjust
439 * iterators.C (operator++): adjust
441 * InsetList.[Ch]: Replace selfmade iterator with standard
442 vector::iterator also introduce const_iterator. Remove getPos,
443 getInset and setInset from InsetTable. Adjust accordingly.
445 * BufferView.C (lockInset): adjust
446 (ChangeInsets): adjust
448 * tabular.[Ch]: delete commented same_id functions
450 2003-05-28 John Levon <levon@movementarian.org>
452 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
454 2003-05-28 André Pönitz <poenitz@gmx.net>
456 * metricsinfo.[Ch]: remove 'fullredraw' member
458 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
460 * lyxtextclass.C (operator): remove caching.
462 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
466 * text2.C (cursorBottom): adjust
467 (setCounter): use ParagraphList::find, adjust
469 * text.C (workWidth): use ParagraphList::find, adjust
471 * lyxcursor.C (LyXCursor): adjust
473 * buffer.C (inset_iterator): adjust
475 * ParagraphList.h: make iterator(value_type) private, make
476 ParagraphList a friend of iterator.
478 * ParagraphList.C (find): new function
480 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
482 2003-05-27 André Pönitz <poenitz@gmx.net>
484 * dimension.[Ch]: a -> asc, d -> des, w -> wid
486 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
488 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
490 2003-05-26 John Levon <levon@movementarian.org>
492 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
494 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
496 * remove same_id from function signatures, adjust.
498 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
500 * undo_funcs.C (createUndo): use the id functions directly, adjust.
502 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
504 * paragraph.C (Paragraph): get rid of same_ids parameter
506 * ParagraphList.C (insert): adjust
509 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
511 * paragraph_funcs.C (breakParagraph): adjust
512 (breakParagraphConservative): adjust
514 * buffer.C (readParagraph): adjust
516 * ParagraphList.C (insert): take a reference instead of a pointer
519 * paragraph.[Ch] (id): new function
521 * bufferlist.C (newFile): adjust
523 * ParagraphList.C (ParagraphList): adjust
525 (push_back): take a reference instead of a pointer.
527 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
529 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
532 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
533 set else use old code.
535 * ParagraphList.C: remove all NO_NEXT code and only compile this
536 code of NO_STD_LIST is set.
538 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
540 * BufferView_pimpl.C:
550 * graphics/GraphicsConverter.C:
551 * graphics/PreviewLoader.C: header adjustment
553 2003-05-23 Angus Leeming <leeming@lyx.org>
555 * LaTeXFeatures.[Ch] (useBabel): new method.
556 * bufferparams.C (writeLaTeX): use it.
558 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
560 * ParagraphList.h (set): remove unused function.
562 2003-05-23 André Pönitz <poenitz@gmx.net>
565 * BufferView_pimpl.C:
569 * undo_funcs.C: setUndo reworked
571 * iterators.[Ch]: add access to topmost ParagraphList
573 * lyxtext.[Ch] (workWidth): add a const
575 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
577 * texrow.[Ch] (increasePos): remove function
578 * exporter.C (export): removed unused var and outdated comment
580 2003-05-23 Angus Leeming <leeming@lyx.org>
582 * latexrunparams.h: rename fragile as moving_arg.
583 * paragraph.C (simpleTeXOnePar): ditto.
584 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
586 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
588 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
590 (textUndoOrRedo): comment out a currently unused var.
592 * paragraph.h (NO_NEXT): enable NO_NEXT
594 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
596 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
598 * exporter.C (Export): adjust for removeAutoInsets removal.
600 * buffer.C (runChktex): adjust for removeAutoInsets removal.
602 * LyXAction.C (init): remove LFUN_REMOVEERRORS
604 * BufferView.[Ch] (removeAutoInsets): delete function
606 2003-05-22 Angus Leeming <leeming@lyx.org>
608 * latexrunparams.h: add a free_spacing variable.
610 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
611 to pass moving_arg, as the data is stored in runparams.fragile.
613 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
614 to Inset::latexOptional or to simpleTeXOnePar.
616 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
617 free_spacing arg to Inset::latexOptional.
619 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
622 2003-05-22 Angus Leeming <leeming@lyx.org>
624 * latexrunparams.h: add fragile and use_babel variables.
626 * bufferparams.[Ch] (writeLaTeX): return use_babel.
627 * buffer.C (makeLaTeXFile): store this returned value in
628 runparams.use_babel, thus passing it to the inset::latex methods.
630 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
631 simpleTeXSpecialChars as it is now stored in runparams.fragile.
633 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
634 longer has a fragile arg, as it is stored in runparams.fragile.
636 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
637 moving_arg parameter as the data is stored in runparams.fragile.
639 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
640 a fragile parameter as the data is stored in runparams.fragile.
642 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
644 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
646 2003-05-22 Angus Leeming <leeming@lyx.org>
648 * latexrunparams.h: add a 'bool nice' which defaults to false.
650 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
651 now encapsulated within runparams.
653 * bufferlist.C (updateIncludedTeXfiles):
654 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
656 2003-05-22 Angus Leeming <leeming@lyx.org>
658 * latexrunparams.h: new file containing struct LatexRunParams.
659 * Makefile.am: add new file.
661 * LaTeX.[Ch] (c-tor, run):
662 * buffer.[Ch] (makeLaTeXFile):
663 * bufferlist.[Ch] (updateIncludedTeXfiles):
664 * converter.C (convert, scanLog):
665 * converter.[Ch] (runLaTeX):
666 * exporter.C (Export):
667 * paragraph.[Ch] (simpleTeXOnePar):
668 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
669 * paragraph_funcs.[Ch] (latexParagraphs):
670 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
671 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
672 pass around a LatexRunParams parameter.
674 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
676 * paragraph.[Ch]: remove unused constructor
678 * ParagraphList.C (erase): new function, taking two iterators
680 2003-05-22 André Pönitz <poenitz@gmx.net>
682 * undo_funcs.C: remove duplicated code
684 * iterator.[Ch]: operator=
686 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
688 * tabular.C (SetMultiColumn): ws changes
690 * rowpainter.C (paintFirst): get rid of a ->previous
692 * lyx_cb.C (getPossibleLabel): parlist simplification
694 * BufferView.C (ChangeInsets): simplify slightly.
696 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
698 * LyXAction.C: new lfun space-insert, kill protected-space-insert
699 * lfuns.h: new LFUN_SPACE
700 * lyxfunc.C: protected space has a new lfun
701 * paragraph_funcs.C: read new space insets
703 * factory.C: handle new space insets
705 2003-05-22 André Pönitz <poenitz@gmx.net>
708 * BufferView_pimpl.C:
711 * undo_funcs.C: return a ParIterator from getParFromID.
713 * iterators.[Ch]: add two const's
715 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
717 * toc.C (getTocList): adjust
719 * iterators.[Ch]: rework for parlist
721 * buffer.C (par_iterator_begin): adjust
722 (par_iterator_end): adjust
724 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
726 * BufferView.C (removeAutoInsets): adjust
727 (ChangeInsets): adjust
729 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
731 * text.C (top_y): fix bug 1110
733 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
735 * errorlist.[Ch]: added
738 * BufferView_pimpl.C:
739 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
742 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
744 * Makefile.am: ensure that lyx is relinked upon changes to the
745 various "convenience" libs.
747 2003-05-20 Angus Leeming <leeming@lyx.org>
749 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
750 files are compiled in alphabetical order again.
752 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
754 2003-05-19 Angus Leeming <leeming@lyx.org>
756 * gettext.[Ch]: remove "char const * _(char const *)".
758 2003-05-19 André Pönitz <poenitz@gmx.net>
760 * dimension.[Ch]: promote from mathed/dimension.[Ch]
769 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
771 2003-05-19 André Pönitz <poenitz@gmx.net>
777 * paragraph_funcs.[Ch]:
779 * text3.C: more insetenv work
781 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
783 * ParagraphParameters.C (params2string): small bug fixed
785 2003-05-16 André Pönitz <poenitz@gmx.net>
788 * bufferview_funcs.C: patch from Kornel Benko to prevent
789 crash when _(...) is called twice in a statement
791 2003-05-16 André Pönitz <poenitz@gmx.net>
798 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
800 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
802 * lyx_main.C (init): remove spurious static_cast
804 2003-05-14 André Pönitz <poenitz@gmx.net>
806 * BufferView.C: fix format string
808 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
810 * BufferView.[Ch] (insertErrors): removed
811 * BufferView.[Ch] (showErrorList): added
812 * buffer.C (runChkTeX):
813 * converter.C (scanLog): call showErrorList instead of inserterrors
815 2003-05-13 André Pönitz <poenitz@gmx.net>
817 * BufferView_pimpl.C:
826 * tabular_funcs.h: tostr() from its own header
828 * ParagraphParameters.C:
835 2003-05-12 André Pönitz <poenitz@gmx.net>
838 * BufferView_pimpl.C:
842 * ParagraphParameters.C:
846 * bufferview_funcs.C:
863 * text3.C: boost::format -> bformat all over the place
866 2003-05-09 André Pönitz <poenitz@gmx.net>
868 * LColor.[Ch]: Pimpl the #include <map> away
870 2003-05-09 John Levon <levon@movementarian.org>
872 * bufferlist.C: never remove emergency saves
874 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
876 * Makefile.am: better lib building
878 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
880 * texrow.[Ch]: remove dependency on Paragraph and just store a id
882 * paragraph_pimpl.C (simpleTeXBlanks): adjust
883 (simpleTeXSpecialChars): adjust
884 (simpleTeXSpecialChars): adjust
885 * paragraph.C (simpleTeXOnePar): adjust
886 * buffer.C (makeLaTeXFile): adjust
888 * Makefile.am (BOOST_LIBS): allow boost as system lib.
890 * text2.C (changeDepth): parlist cleanup
891 (getColumnNearX): ditto
893 * rowpainter.C (getLabelFont): parlist cleanup
895 * bufferlist.C (newFile): parlist cleanup
897 * CutAndPaste.C (eraseSelection): parlist cleanup
899 * BufferView_pimpl.C (trackChanges): parlist cleanup
902 * BufferView.C (lockInset): parlist cleanup.
903 (ChangeInsets): ditto
905 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
907 * CutAndPaste.h: Update file header.
909 * CutAndPaste.C: Update file header.
910 Store the parts cut out of the Document in a limited_stack.
911 (copySelection): adjust
912 (pasteSelection): new function, takes the index in the limited stack.
913 (nrOfParagraphs): adjust
914 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
915 simplify error inset insertion.
916 (checkPastePossible): adjust
918 2003-05-06 John Levon <levon@movementarian.org>
920 * text2.C: don't cast wrap inset to float
922 2003-05-05 André Pönitz <poenitz@gmx.net>
925 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
927 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
928 few naked Paragraph *.
930 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
932 * bufferparams.C: Output warning if a document with missing
933 TeX document class is loaded
934 * exporter.C: Disable TeX exports if the document class is missing
937 * lyxtextclasslist.C: Handle new textclass.lst format; new method
938 isTeXClassAvailable()
940 2003-05-03 John Levon <levon@movementarian.org>
943 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
944 explicit cursor show/hide
946 * BufferView_pimpl.h:
947 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
948 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
950 * lyxfunc.C: hide cursor before dispatching.
955 * text3.C: remove explicit cursor hides
957 2003-05-02 André Pönitz <poenitz@gmx.net>
959 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
962 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
965 * text2.C: tiny whitespace
967 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
969 * undo_funcs.C: almost only ws changes.
971 * ParagraphList.C (splice): just return if pl is empty.
973 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
975 * ParagraphList.C (splice): new function.
977 * CutAndPaste.C (pasteSelection): use it
979 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
981 * CutAndPaste.C (pasteSelection): remove the last next and
982 previous from this file.
984 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
986 * CutAndPaste.C (pasteSelection): more clean up, user proper
987 ParagraphList functions for pasteing.
989 * ParagraphList.C (insert): new function, three arg insert
991 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
993 * ParagraphList.C (insert): new function, three arg insert
995 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
998 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1000 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1002 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1004 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1006 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1008 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1009 (copySelection): clean up a bit.
1010 (pasteSelection): use make_pair
1012 * ParagraphList.C (ParagraphList): implement copy constructor
1013 (operator=): implement, base on copy constructor.
1016 * paragraph.C (erase): return a bool
1018 * paragraph_pimpl.C (erasePos): remove function, move contents...
1019 (erase): ... here. Return a bool.
1020 (erase): call erase instead of erasePos.
1022 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1024 * ParagraphList.h: define PitPosPair
1025 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1026 ParagraphList, fix a bug on pasting multiple pars
1027 * text2.C: change interface to C&P
1029 2003-04-30 André Pönitz <poenitz@gmx.net>
1031 * undo_func.C: revert part of yesterday's patch 2
1033 2003-04-30 John Levon <levon@movementarian.org>
1035 * LColor.C: s/tabular/table/
1037 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1039 * text3.C (dispatch): do not convert iterator -> pointer
1040 * undo_funcs.C (setCursorParUndo): ditto
1041 * text_funcs.C (transposeChars): ditto
1043 * text2.C (setLayout): ws changes only
1045 * text.C (breakParagraph): do not convert iterator -> pointer
1047 (acceptChange): ditto
1048 (rejectChange): ditto
1053 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1056 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1058 * text3.C (gotoInset): YABG (yet another bad getChar)
1060 2003-04-29 André Pönitz <poenitz@gmx.net>
1062 * paragraph.h: make operator= private unimplemented as long as
1065 * ParagraphList.C: whitespace
1068 * paragraph_pimpl.[Ch]:
1069 * paragraph_funcs.C:
1071 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1074 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1076 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1078 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1079 * paragraph.[Ch] (erase):
1080 * paragraph_pimpl.[Ch] (erase): change return type and value
1081 * text2.C (cutSelection): some rework
1083 2003-04-28 John Levon <levon@movementarian.org>
1085 * bufferlist.C: changes for unsaved changes dialog
1087 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1089 * bufferlist.C (newFile): set language (messages_) for new
1092 * buffer.C (readFile): ws changes only.
1094 2003-04-28 André Pönitz <poenitz@gmx.net>
1099 * BufferView_pimpl.C:
1100 * BufferView.C: getParFromID related ParagraphList::iterator changes
1102 2003-04-28 André Pönitz <poenitz@gmx.net>
1104 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1107 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1109 * messages.C: remove one more localedir class variable.
1111 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1113 * messages.C (getLocaleDir): singleton generation function
1115 (Messages): add a default constructor.
1117 * main.C (main): do not setup localedir here, do not call
1120 * gettext.C (_): use it.
1121 (gettext_init): delete funciton
1123 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1125 * gettext.C (getLyXMessages): new singleton generating function.
1127 * buffer.C (updateDocLang): adjust
1129 * Makefile.am (messages.o): add target
1130 (main.o): remove target
1132 2003-04-27 John Levon <levon@movementarian.org>
1137 * lyxvc.C: specify cancel button in Alert::prompt
1139 2003-04-26 John Levon <levon@movementarian.org>
1144 * LyXAction.C: add LFUN_INSET_SETTINGS
1146 * lyxfunc.C: don't enable tabular-feature when there's
1147 just any locking inset
1149 2003-04-26 John Levon <levon@movementarian.org>
1151 * bufferlist.C: re-add Cancel to buffer close question
1153 * lyxfunc.C: fix import UI a bit
1155 2003-04-25 John Levon <levon@movementarian.org>
1157 * gettext.C: remove the broken asserts for now
1159 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1161 * messages.C: make case where setlocale cannot comply work better.
1163 * buffer.C (updateDocLang): new function
1164 (changeLanguage): use it
1167 * text2.C (setCounter): use B_ a bit.
1169 * lyxlayout.C (Read): be sure to trim the label strings.
1171 * messages.C (Messages): fix typo in comment
1173 * buffer.C (readFile): set message_ after file is loaded.
1174 (makeDocBookFile): remove double return
1175 (changeLanguage): reset message_ upon language change.
1176 (B_): new func, use this to get translated buffer strings.
1178 * main.C: add myself and Jean Marc as authors.
1180 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1182 * messages.[hC]: pimplify Messages, and three different pimpls to be
1183 used in different circumstances.
1185 * gettext.[Ch]: change for use with new message code.
1187 2003-04-24 André Pönitz <poenitz@gmx.net>
1189 * factory.C: support for eqref
1191 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1193 * messages.[Ch]: add missing char
1195 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1197 * messages.[Ch]: New files
1199 2003-04-18 John Levon <levon@movementarian.org>
1203 * BufferView_pimpl.C:
1207 * text2.C: remove layout-copy/paste (bug 778)
1209 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1211 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1213 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1215 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1216 if they succeed. Act accordingly.
1218 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1220 * text2.C (setCharFont): adjust
1221 (setCounter): adjust
1222 (insertStringAsLines): adjust
1224 * text.C (leftMargin): adjust
1225 (setHeightOfRow): adjust
1227 * rowpainter.C (paintFirst): adjust
1230 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1232 (isFirstInSequence): ditto
1233 (getEndLabel): ditto
1236 * paragraph.C (getParLanguage): comment out some hard stuff.
1238 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1240 (simpleDocBookOnePar): ditto
1241 (makeDocBookFile): use ParagraphList::iterator
1243 * CutAndPaste.C (pasteSelection): adjust
1245 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1247 * text2.C (getFont): adjust
1248 (getLayoutFont): adjust
1249 (getLabelFont): adjust
1251 * paragraph_funcs.C (TeXOnePar): adjust
1253 * buffer.C (simpleLinuxDocOnePar): adjust
1254 (simpleDocBookOnePar): adjust
1256 * CutAndPaste.C (pasteSelection): adjust
1258 * BufferView.C (getEncoding): adjust
1260 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1262 2003-04-16 John Levon <levon@movementarian.org>
1264 * lyxfind.C: use parlist stuff for search/changes
1266 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1268 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1270 * text2.C (deleteEmptyParagraphMechanism): adjust
1272 * text2.[Ch] (ownerParagraph): delete func (both of them
1274 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1276 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1278 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1280 * ParagraphList.C: prepare for NO_NEXT
1282 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1284 * text2.C (getFont): adjust
1285 (getLayoutFont): adjust
1286 (getLabelFont): adjust
1288 * paragraph.C (getFont): adjust
1289 (getLabelFont): adjust
1290 (getLayoutFont): adjust
1292 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1294 2003-04-15 John Levon <levon@movementarian.org>
1298 * lyx_main.C: handle Include in .ui files
1300 2003-04-15 John Levon <levon@movementarian.org>
1302 * MenuBackend.C: make the doc files length shorter
1305 * ToolbarBackend.C: handle toolbar placement flags,
1308 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1310 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1313 * paragraph_funcs.C (TeXOnePar): adjust
1315 * paragraph.C (getLabelFont): add outerfont arg, adjust
1316 (getLayoutFont): ditto
1317 (simpleTeXOnePar): adjust
1319 * paragraph_pimpl.C (realizeFont): delete func
1321 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1323 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1324 row argument, constify cur argument.
1326 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1328 * text2.C (getFont): adjust
1329 (getLayoutFont): adjust
1330 (getLabelFont): adjust
1332 * paragraph_funcs.C (TeXOnePar): adjust
1333 (outerFont): new func...
1334 (realizeFont): ...moved out from here, changed this to facilitate
1337 * paragraph.C (getFont): take outerfont as arg, adjust
1338 (simpleTeXOnePar): add outerfont arg, adjust
1340 * buffer.C (simpleLinuxDocOnePar): adjust
1341 (simpleDocBookOnePar): adjust
1343 * CutAndPaste.C (pasteSelection): adjust
1345 * BufferView.C (getEncoding): adjust
1347 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1349 * text2.C (setCharFont): adjust
1350 (setCounter): adjust
1352 * text.C (leftMargin): adjust
1353 (setHeightOfRow): adjust
1355 * rowpainter.C (paintFirst): adjust
1358 * paragraph_pimpl.C (realizeFont): adjust
1360 * paragraph.C (isFirstInSequence): move from here...
1361 * paragraph_funcs.C (isFirstInSequence): ...to here
1363 * paragraph.C (outerHook): move from here...
1364 * paragraph_funcs.C (outerHook): ...to here
1366 * paragraph.C (depthHook): move from here...
1367 * paragraph_funcs.C (depthHook): ...to here
1369 * paragraph.C (getEndLabel): move from here...
1370 * paragraph_funcs.C (getEndLabel): ...to here
1372 * text2.C (realizeFont): move from here...
1373 * paragraph_funcs.C (realizeFont): ...to here
1375 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1377 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1379 2003-04-14 Angus Leeming <leeming@lyx.org>
1381 * LColor.[Ch]: scrap LColor mathcursor.
1383 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1385 * lyxlex.[Ch] (text): delete function
1386 * trans.C (Load): adjust
1387 * paragraph_funcs.C (readParToken): adjust
1389 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1391 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1392 vector<char> instead of a char[].
1394 * lyxlex_pimpl.C (getString): adjust
1396 (lex): use getString
1400 * lyxlex.C (text): use pimpl_->getString()
1404 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1406 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1407 (makeFontEntriesLayoutSpecific): temp var for par.size()
1408 (setLayout): temp var for ownerParagraphs().end()
1409 (fullRebreak): temp var for rows().end()
1410 (selectionAsString): temp var for boost::next(startpit), realize
1411 that the while really is a regular for loop.
1412 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1413 setCursor in one place.
1414 (setParagraph): temp vr for ownerParagraphs().end()
1415 (updateCounters): make the while loop a for loop
1416 (cutSelection): temp var for ownerParagraphs().end()
1417 (updateInset): make the do {} while() a regular for loop
1418 (getCursorX): use temp vars
1419 (setCurrentFont): use temp vars
1420 (getColumnNearX): use temp vars
1422 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1424 * text.C (transformChar): use temp var for getChar
1425 (computeBidiTables): use temp var for row->par()
1426 (fill): move temp vars for row->par() and pit->layout() earlier in
1428 (labelFill): use temp var for row->par()
1429 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1430 asc and desc, realize that pit never changes and that firstpit is
1431 just a duplicate and not needed. Exchange rit->par() with pit in a
1433 (breakAgain): use a temp var for boost::next(rit)
1434 (breakAgainOneRow): ditto
1435 (breakParagraph): use a temp var for rows().begin()
1436 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1437 (cursorRightOneWord): use temp var for cursor.par() and
1438 cursor.pos(), remove usage of tmpcursor.
1439 (cursorLeftOneWord): use temp var for cursor.par() and
1440 cursor.pos() only set cur at end of function.
1442 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1444 * text.C, text2.C: exchange all usage of Paragraph::next with
1445 boost::next(ParagraphList::iterator)
1447 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1449 * text2.C (cursorTop): simplify implementation
1450 (cursorBottom): ditto
1451 (setParagraph): use ParagraphList::iterator
1452 (setCurrentFont): adjust
1453 (getColumnNearX): adjust
1454 (cursorRight): adjust
1455 (cursorLeft): remove usage of Paragraph::previous
1456 (cursorUpParagraph): ditto
1457 (deleteEmptyParagraphMechanism): slight cleanup
1459 * text.C (isBoundary): take a Paragraph const & instead of a
1461 (addressBreakPoint): ditto
1462 (leftMargin): remove usage of Paragraph::previous.
1463 (setHeightOfRow): ditto
1464 (cursorLeftOneWord): ditto
1465 (selectNextWordToSpellcheck): ditto
1468 (breakParagraph): remove one usage of Paragraph::next
1469 (redoParagraph): ditto
1470 (acceptChange): ditto
1471 (insertChar): adjust
1472 (rowBreakPoint): adjust
1474 * bufferview_funcs.C (toggleAndShow): adjust
1476 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1478 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1479 methods to access it.
1481 * text.C: Added updateRowPositions to compute all row positions.
1482 Make top_y and getRowNearY() to use the cached y position
1484 2003-04-11 John Levon <levon@movementarian.org>
1486 * text.C (rowBreakPoint): reintroduce the labelEnd
1487 checks, code copied from the row fill stuff. Deep voodoo.
1489 * text.C (fill): add a comment and debugging for the
1492 2003-04-11 John Levon <levon@movementarian.org>
1494 * text.C: make sure fullrow insets get wrapped to the next line,
1495 even when they're in a manual label
1497 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1499 * text2.C (insertParagraph): make it take ParagraphList::iterator
1501 (setLayout): make it return ParagraphList::iterator
1502 (redoParagraphs): ditto
1504 (checkParagraph): ditto
1506 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1508 * text2.C: adjust several funcs.
1509 (realizeFont): take a ParagraphList::iterator as arg.
1510 (getLayoutFont): ditto
1511 (getLabelFont): ditto
1512 (setCharFont): ditto
1514 * text.C: adjust several funcs.
1516 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1518 * text.C (selectNextWordToSpellcheck): don't accidentally
1521 2003-04-10 John Levon <levon@movementarian.org>
1523 * ToolbarBackend.C (getIcon): special handling for
1526 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1528 * text2.C (cursorRight): a getChar assert fixed
1530 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1532 * text2.C (getFont): change to take a ParagraphList::iterator
1533 instead of Paragraph*
1534 Adjust several functions.
1536 * text.C (transformChar): change to take a ParagraphList::iterator
1537 instead of Paragraph*
1538 (singleWidth): ditto
1539 Adjust several functions.
1541 * rowpainter.C: adjust several functions
1542 * rowpainter.h:store a ParagraphList::iterator and not a
1546 2003-04-09 John Levon <levon@movementarian.org>
1551 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1552 and the "help" bits as well
1554 2003-04-09 John Levon <levon@movementarian.org>
1557 * ToolbarBackend.C: allow multiple toolbars
1559 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1561 * undo_funcs.C (setCursorParUndo): adjust
1563 * text_funcs.C (transposeChars): adjust
1565 * text3.C (gotoNextInset): adjust
1568 * text2.C (setLayout): adjust
1569 (changeDepth): adjust
1571 (redoParagraphs): adjust
1572 (selectionAsString): adjust
1573 (setParagraph): adjust
1574 (insertInset): adjust
1575 (cutSelection): adjust
1576 (copySelection): adjust
1577 (pasteSelection): adjust
1578 (insertStringAsLines): adjust
1579 (updateInset): adjust
1580 (setCursor): change to take a ParagraphList::iterator parameter
1581 (setCursorIntern): change to take a ParagraphList::iterator parameter
1582 (setCurrentFont): adjust
1583 (cursorLeft): adjust
1584 (cursorRight): adjust
1585 (deleteEmptyParagraphMechanism): adjust
1587 * text.C (breakParagraph): adjust
1588 (insertChar): adjust
1589 (acceptChange): adjust
1590 (rejectChange): adjust
1591 (selectNextWordToSpellcheck): adjust
1592 (changeCase): adjust
1596 * lyxfind.C (SearchForward): adjust
1597 (SearchBackward): adjust
1598 (nextChange): adjust
1600 * lyxcursor.C (par): adjust
1602 * lyxcursor.h: store a ParagraphList::iterator instead of a
1605 * lyx_cb.C (getPossibleLabel): adjust
1607 * bufferview_funcs.C (toggleAndShow): adjust
1609 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1612 * BufferView.C (removeAutoInsets): adjust
1613 (lockedInsetStoreUndo): adjust
1615 2003-04-09 John Levon <levon@movementarian.org>
1617 * ToolbarBackend.C: try icon without argument
1618 if with argument fails
1620 2003-04-08 John Levon <levon@movementarian.org>
1623 * ToolbarBackend.C: add getIcon(), handle tooltip,
1624 and change from "Icon" to "Item".
1626 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1628 * BufferView.C (lockInset): another bad getchar crunched
1630 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1632 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1635 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1637 * lyxfind.C (searchForward, searchBackwards): bug 782
1639 2003-04-07 John Levon <levon@movementarian.org>
1641 * paragraph.C: remove dead comment
1643 * text.C: remove troublesome depth-fiddling code
1644 in leftMargin() and rightMargin() (bug 1017)
1646 * text.C: fix breaking of rows in nested lists
1649 * text2.C (updateCounters): fix up depth values
1652 2003-04-07 John Levon <levon@movementarian.org>
1654 * BufferView_pimpl.C: clear message when doc finishes resizing,
1655 and after a mouse event
1657 * lyxfunc.C: clear message after exiting inset
1659 2003-04-07 John Levon <levon@movementarian.org>
1661 * bufferview_funcs.C: show math status not outside
1662 status in the statusbar
1664 2003-04-07 John Levon <levon@movementarian.org>
1666 * lyxfunc.C: note status changed after a depth change
1668 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1670 * LaTeX.h: move AuxInfo operator==, != out of line.
1671 Remove LaTeX virtual destructor; nothing derives from it.
1672 Move operator()() out of public area and rename it startscript().
1673 Change protected for private.
1675 2003-04-04 Angus Leeming <leeming@lyx.org>
1678 * text2.C: remove unneeded #includes.
1680 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1682 * text2.C (dEPM): fix the heigth of the next row
1684 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1686 * text.C: squashed an invalid getChar requester + some ws changes
1688 2003-04-03 John Levon <levon@movementarian.org>
1690 * bufferview_funcs.h:
1691 * bufferview_funcs.C:
1694 * text2.C: make getStatus work for the env depth lfuns
1696 2003-04-03 John Levon <levon@movementarian.org>
1698 * bufferview_funcs.h:
1699 * bufferview_funcs.C:
1702 * text2.C: parlistize decDepth(), by merging it with incDepth()
1704 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1706 * lyxrow.h: store a ParagraphList::iterator instead of a
1707 Paragraph* and adjust other class functions to suit.
1709 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1712 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1714 * text2.C (setCursor): do not anchor to cursor row for the time being
1716 2003-04-02 John Levon <levon@movementarian.org>
1723 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1725 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1727 * paragraph.h: make ParagraphList and ParagraphList::iterator
1728 friends of Paragraph.
1730 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1732 * ParagraphList.C: Use the private next_ and previous_ from
1735 2003-04-01 John Levon <levon@movementarian.org>
1739 * Makefile.am: rename, remove defaults gunk
1742 * MenuBackend.C: remove defaults gunk
1745 * Languages.C: remove defaults gunk
1748 * lyx_main.C: error out if files couldn't be found.
1750 2003-04-02 John Levon <levon@movementarian.org>
1752 * text2.C: make incDepth() use parlist
1754 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1756 * undo_funcs.C (firstUndoParagraph): adjust
1758 * text3.C (gotoInset): adjust
1759 (dispatch): adjust, and rewrite loop.
1761 * text2.C (init): adjust, and rewrite loop.
1762 (redoParagraphs): adjust
1763 (updateInset): adjust, and rewrite loop.
1764 (deleteEmptyParagraphMechanism): adjust
1766 * tabular.C (LyXTabular): adjust
1767 (SetMultiColumn): adjust
1770 * lyxtext.[Ch] (ownerParagraph): delete function
1771 (ownerParagraphs): new function returns a ParagraphList.
1773 * BufferView.C (removeAutoInsets): adjust
1774 (insertErrors): adjust
1775 (setCursorFromRow): adjust
1777 2003-04-01 Angus Leeming <leeming@lyx.org>
1779 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1782 2003-04-02 John Levon <levon@movementarian.org>
1788 * text_funcs.C: make transposeChars a free function
1790 * lyxrow_funcs.C: remove wrong comment
1792 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1795 * rowpainter.C: adjust
1800 * lyxrow_funcs. [Ch]: new files
1802 * lyxrow.[Ch]: remove next and previous pointers
1803 (next,previous): remove accessor functions
1804 (isParEnd): move to lyxrow_funcs
1805 (lastPos): move to lyxrow_funcs
1806 (nextRowIsAllInset): move to lyxrow_funcs
1807 (lastPrintablePos): move to lyxrow_funcs
1808 (numberOfSeparators): move to lyxrow_funcs
1809 (numberOfHfills): move to lyxrow_funcs
1810 (numberOfLabelHfills): move to lyxrow_funcs
1811 (hfillExpansion): move to lyxrow_funcs
1815 * bufferview_funcs.C (toggleAndShow): adjust
1817 * RowList.h: Remove class RowList from file leave just a
1820 * RowList.C: delete file
1822 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1825 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1827 * text3.C (cursorPrevious): adjust
1828 (cursorNext): adjust
1831 * text2.C (redoHeightOfParagraph): adjust
1832 (redoDrawingOfParagraph): adjust
1835 * text.C (breakParagraph): adjust
1836 (insertChar): adjust
1839 * rowpainter.C (RowPainter): adjust
1840 (leftMargin): simplify and adjust
1841 (most rowpainter functions): adjust.
1843 * rowpainter.h: store the row as RowList::iterator not as Row*
1845 * lyxcursor.C (row): taka RowList::iterator as arg
1848 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1851 2003-04-01 Angus Leeming <leeming@lyx.org>
1853 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1854 stuff like bool Bool.
1856 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1858 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1861 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1863 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1866 * lyxtext.h (rows): drop one version and leve a const variant that
1867 returns a RowList::iterator.
1869 2003-03-31 Angus Leeming <leeming@lyx.org>
1871 * text.C (fill): ensure that the signature is the same as that in the
1874 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1876 * text2.C (redoParagraphs): adjust
1877 (updateCounters): adjust
1878 (checkParagraph): adjust
1879 (getColumnNearX): adjust and reformat a bit.
1881 * text.C (top_y): adjust
1883 (leftMargin): adjust
1884 (prepareToPrint): adjust
1886 (getRowNearY): adjust
1888 * lyxtext.h: make rowlist_ mutable.
1890 * RowList.h: add const_iterator
1891 * RowList.C: adjust for RowList::const_iterator.
1893 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1896 2003-03-31 John Levon <levon@movementarian.org>
1899 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1901 * lyx_main.C: set default fonts from using lyx_gui funcs
1903 * exporter.C: pdf_mode moved from lyxrc
1906 * lyxfunc.C: changes from above
1908 2003-03-31 John Levon <levon@movementarian.org>
1910 * lyx_main.C: fix to the last fix
1912 2003-03-31 John Levon <levon@movementarian.org>
1914 * bufferlist.C: "Load original" -> "Load Original"
1920 * format.C: more Alert cleanups
1922 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1924 * text2.C (removeParagraph): make it take a RowList::iterator as
1926 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1927 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1929 * text.C (anchor_row): make it take a RowList::iterator as arg,
1931 (computeBidiTables): make it take a const reference to Row instead
1932 of Row pointer, adjust.
1933 (leftMargin): make it take a RowList::iterator as arg, adjust.
1934 (rowBreakPoint): adjust
1935 (breakAgainOneRow): make it take a RowList::iterator as arg,
1937 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1939 * bufferview_funcs.C (toggleAndShow): adjust
1941 2003-03-30 John Levon <levon@movementarian.org>
1945 * boost-inst.C: moved to support
1947 * several files: changes as a result
1949 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1951 * text2.C (LyXText): adjust.
1953 (removeRow): make it take a RowList::iterator as arg, adjust.
1954 (fullRebreak): adjust
1955 (deleteEmptyParagraphMechanism): adjust
1956 (clearPaint): adjust
1959 * text.C (top_y): adjust
1960 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1961 (breakAgain): make it take a RowList::iterator as arg, adjust.
1962 (breakParagraph): adjust
1963 (insertChar): adjust
1966 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1967 need_break_row, and refresh_row.
1969 * text3.C (dispatch): adjust
1971 * text2.C (checkParagraph): adjust
1973 (setCursorFromCoordinates): adjust
1975 * text.C (top_y): adjust
1977 (getRow): make it return a RowList::iterator, adjust
1978 (getRowNearY): make it return a RowList::iterator, adjust
1980 * text2.C (init): adjust
1981 (insertRow): remove function
1982 (insertParagraph): adjust
1983 (redoParagraphs): adjust
1984 (fullRebreak): adjust
1985 (updateCounters): adjust
1987 * text.C (top_y): rewrite to use RowList iterators.
1989 (setHeightOfRow): rewrite to sue RowList iterators.
1990 (appendParagraph): adjust
1991 (breakAgain): adjust
1992 (breakAgainOneRow): adjust
1993 (breakParagraph): adjust
1995 (getRowNearY): adjust, and remove commented code.
1997 * lyxtext.h (firstRow): delete function
1998 (lastRow): delete function
1999 (rows): new function (const and non-const versions.)
2000 (insertRow): delete function
2002 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2004 2003-03-29 John Levon <levon@movementarian.org>
2006 * BufferView_pimpl.C: always update scrollbar top
2007 because pasting text when we're anchored could mean we
2008 miss an update altogether
2010 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2012 * text2.C (init): use rowlist_.end() and not 0.
2013 (insertRow): change to take a RowList::iterator as arg, adjust
2015 (insertParagraph): change to take a RowList::iterator as arg,
2017 (redoParagraphs): remove some debug msgs.
2019 * text.C (appendParagraph): change to take a RowList::iterator
2020 arg, adjust for this.
2021 (breakAgain): add an assert
2022 (breakAgainOneRow): ditto
2024 2003-03-29 John Levon <levon@movementarian.org>
2026 * text2.C: do not clear selection after inc/decDepth
2029 2003-03-29 John Levon <levon@movementarian.org>
2032 * buffer.C: fix broken strerrors according to Lars
2034 2003-03-29 John Levon <levon@movementarian.org>
2036 * converters.C: more Alert cleanups
2038 2003-03-29 John Levon <levon@movementarian.org>
2040 * bufferview_funcs.C: remove pointless Alert
2042 * buffer.C: fix confusing error message when
2043 a template is chmoded 000
2045 2003-03-29 John Levon <levon@movementarian.org>
2049 * BufferView_pimpl.C: Alert fixes
2053 * tabular-old.C: remove unused table compat reading
2055 2003-03-29 John Levon <levon@movementarian.org>
2060 * lyx_cb.C: more Alert cleanups
2062 * lyxfunc.C: don't allow chktex if not latex document
2064 2003-03-29 John Levon <levon@movementarian.org>
2068 * buffer.C: warnings pushed down from support/,
2071 2003-03-29 John Levon <levon@movementarian.org>
2073 * lyxfunc.C: safety check for C-r (revert)
2075 2003-03-29 John Levon <levon@movementarian.org>
2078 * bufferlist.C: several UI fixes using Alert::prompt.
2079 Fix the pointless looping quit code. Fix stupid revert
2084 * lyx_cb.C: use Alert::prompt
2086 * lyx_main.C: remove a silly question
2088 * lyxfunc.C: remove a couple of silly questions,
2091 2003-03-28 John Levon <levon@movementarian.org>
2093 * text2.C: fix bug 974 (End on empty par)
2095 2003-03-28 John Levon <levon@movementarian.org>
2097 * BufferView_pimpl.C:
2099 * lfuns.h: remove do-nothing math greek lfuns
2101 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2103 * lyxgluelength.h (isValidGlueLength): add default arg on
2104 parameter 2. Remove default arg from friend in class.
2106 * lyxlength.h (isValidLength): add default arg on parameter 2.
2107 Remove default arg from friend in class.
2109 * text2.C (LyXText): adjust, initialize refresh_row.
2113 (insertParagraph): adjst
2114 (redoParagraphs): adjust
2115 (fullRebreak): adjust
2116 (updateCounters): adjust
2117 (deleteEmptyParagraphMechanism): first attempt at fixing a
2120 * text.C (top_y): adjust
2121 (setHeightOfRow): adjust
2123 (getRowNearY): adjust
2125 * lyxtext.h: include RowList.h
2126 (~LyXText): not needed anymore, deleted.
2127 (firstRow): modify for RowList
2128 (lastRow): new function
2129 Delete firstrow and lastrow class variables, add a Rowlist
2130 rowlist_ class variable.
2132 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2135 * RowList.C (insert): fix case where it == begin().
2137 2003-03-26 Angus Leeming <leeming@lyx.org>
2139 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2140 the thesaurus dialog.
2142 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2144 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2146 * RowList.[Ch]: new files
2148 * ParagraphList.C (erase): handle the case where it == begin
2151 2003-03-25 John Levon <levon@movementarian.org>
2155 * aspell.C: add new aspell support
2158 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2161 2003-03-25 Angus Leeming <leeming@lyx.org>
2164 * LyXAction.C (init): new LFUN_INSET_INSERT.
2166 * BufferView_pimpl.C (dispatch): split out part of the
2167 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2169 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2172 2003-03-25 Angus Leeming <leeming@lyx.org>
2174 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2176 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2179 * text3.C: remove useless row->height(0)
2181 2003-03-25 John Levon <levon@movementarian.org>
2185 * text3.C: rename the refreshing stuff to better names
2187 2003-03-24 John Levon <levon@movementarian.org>
2189 * BufferView_pimpl.h:
2190 * BufferView_pimpl.C: update layout choice on a mouse
2193 2003-03-23 John Levon <levon@movementarian.org>
2195 * Makefile.am: fix commandtags.h reference
2197 2003-03-22 John Levon <levon@movementarian.org>
2199 * BufferView_pimpl.C:
2204 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2206 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2209 * text.C: take the rtl methods out of line
2211 2003-03-21 André Pönitz <poenitz@gmx.net>
2213 * metricsinfo.[Ch]: new files containing structures to be passed around
2214 during the two-phase-drawing...
2216 2003-03-21 André Pönitz <poenitz@gmx.net>
2218 * lyxtextclass.C: read 'environment' tag.
2220 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2222 * text2.C (removeRow): fix bug 964
2224 2003-03-20 John Levon <levon@movementarian.org>
2228 * text2.C: paint cleanups. Inset::update() dropped font
2231 2003-03-19 John Levon <levon@movementarian.org>
2233 * lyxfunc.C: only fitcursor/markDirty if available()
2235 2003-03-19 John Levon <levon@movementarian.org>
2237 * commandtags.h: rename to ...
2239 * lfuns.h: ... this, and renumber / cleanup
2241 2003-03-19 John Levon <levon@movementarian.org>
2243 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2244 fit the cursor after an lfun
2248 * BufferView_pimpl.h:
2249 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2251 * LyXAction.C: layout-character should have ReadOnly
2253 * ParagraphParameters.C:
2255 * bufferview_funcs.C:
2262 * undo_funcs.C: changes from above
2264 2003-03-18 John Levon <levon@movementarian.org>
2266 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2267 remove it from update()
2269 * lyxfunc.C: update layout choice after an lfun
2271 * text3.C: remove extra updateLayoutChoice()s
2273 2003-03-18 John Levon <levon@movementarian.org>
2275 * text.C: top_y change means full repaint, fix
2276 a drawing bug with cursor movement
2278 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2282 * text2.C: anchor row on setCursor
2284 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2286 * lyxtext.h: remove almost all mutable keywords
2289 * text3.C: remove const keywords accordingly
2291 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2293 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2295 (TeXEnvironment): ditto
2298 2003-03-17 John Levon <levon@movementarian.org>
2300 * text.C (rowBreakPoint): remove attempt to fix displayed
2301 math insets inside a manual label
2303 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2305 * lyxtext.h: remove BufferView* as first arg from almost all class
2307 * other files: adjust.
2309 2003-03-17 John Levon <levon@movementarian.org>
2313 * text2.C: more paint cleanups
2315 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2318 * rowpainter.C: remove "smart" background painting code
2320 2003-03-16 John Levon <levon@movementarian.org>
2325 * text3.C: add helper functions for setting refresh_row/y
2327 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2329 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2330 newline inset which *can* get inserted in the pass_thru layouts.
2331 This is primarily for literate documents.
2333 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2335 * buffer.C: increment LYX_FORMAT to 223
2337 2003-03-14 André Pönitz <poenitz@gmx.net>
2339 * textclass.h: prepare for environment handling, ws changes
2340 * lyxlayout.C: read latexheader and latexfooter tags
2342 2003-03-14 John Levon <levon@movementarian.org>
2344 * text2.C: rewrite ::status() a bit
2346 2003-03-13 John Levon <levon@movementarian.org>
2348 * lyxtext.h: add some docs
2350 2003-03-13 John Levon <levon@movementarian.org>
2355 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2357 2003-03-13 John Levon <levon@movementarian.org>
2359 * text3.C: fix appendix redrawing
2361 2003-03-13 John Levon <levon@movementarian.org>
2363 * text.C (setHeightOfRow):
2365 * rowpainter.C: make appendix mark have the text
2366 "Appendix" so the user knows what it is
2369 * LColor.C: s/appendixline/appendix/ from above
2371 2003-03-13 John Levon <levon@movementarian.org>
2373 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2375 * text.C: fix a getChar(pos) bug properly
2377 2003-03-13 Angus Leeming <leeming@lyx.org>
2380 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2381 Probably only temporary. Let's see how things pan out.
2383 * BufferView.C (unlockInset):
2384 * BufferView_pimpl.C (fitCursor):
2385 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2387 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2388 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2390 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2391 new functions that convert ParagraphParameters to and from a string.
2393 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2394 BufferView::Pimpl's dispatch.
2395 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2397 2003-03-13 André Pönitz <poenitz@gmx.net>
2401 * factory.C: make it aware of InsetEnv
2403 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2405 * text2.C (setCursor): never ask for one past last
2406 (setCursor): add some debugging messages.
2408 * text.C (singleWidth): never ask for one past last
2409 (singleWidth): ditto
2411 (rightMargin): ditto
2412 (rowBreakPoint): ditto
2413 (setHeightOfRow): ditto
2414 (prepareToPrint): ditto
2416 * rowpainter.C (paintBackground): never ask for one past last
2417 (paintText): never ask for one past last
2419 * paragraph_pimpl.C (getChar): make the assert stricter, never
2420 allow the one past last pos to be taken
2422 * paragraph.C (getChar): ws changes only
2424 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2425 (numberOfSeparators): ditto
2426 (numberOfHfills): ditto
2428 2003-03-12 John Levon <levon@movementarian.org>
2434 * paragraph_funcs.C: fix per-buffer authorlists
2436 2003-03-12 John Levon <levon@movementarian.org>
2438 * text.C: fix newline in right address
2440 2003-03-12 Angus Leeming <leeming@lyx.org>
2442 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2443 duplicate those in LyXFunc::dispatch.
2447 * ToolbarDefaults.C:
2448 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2449 Add LFUN_FONTFREE_UPDATE.
2451 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2452 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2454 * bufferview_func.[Ch]: several new functions to facilliate
2455 transfer of data to and from the character dialog.
2457 2003-03-12 John Levon <levon@movementarian.org>
2462 * paragraph_funcs.C:
2463 * paragraph_pimpl.C:
2467 * text3.C: remove META_NEWLINE in favour of an inset
2470 * rowpainter.C: remove paintNewline (done by inset)
2472 2003-03-12 John Levon <levon@movementarian.org>
2474 * paragraph_pimpl.C: complain about bad getChar()s
2475 for a while at least
2477 2003-03-12 John Levon <levon@movementarian.org>
2480 * buffer.C: move paragraph read into a separate function,
2481 a little renaming to reflect that.
2484 * bufferparams.C: remove the author_ids map, not necessary now
2487 * factory.C: moved Buffer::readInset to here
2489 * paragraph_funcs.h:
2490 * paragraph_funcs.C: readParagraph free function moved from
2493 * tabular.C: name change
2495 2003-03-12 John Levon <levon@movementarian.org>
2498 * ParagraphParameters.C: move par params input to
2501 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2502 behave like a normal read from the stream wrt reading
2503 a line vs. a \\token
2505 2003-03-12 John Levon <levon@movementarian.org>
2508 * ParagraphParameters.h:
2509 * ParagraphParameters.C: move output code to a
2512 2003-03-12 John Levon <levon@movementarian.org>
2514 * BufferView.C (insertLyXFile):
2517 * tabular.C: use a parlist iterator for creating the
2520 2003-03-12 John Levon <levon@movementarian.org>
2522 * buffer.C: make current_change static local not
2525 2003-03-12 John Levon <levon@movementarian.org>
2527 * buffer.C: fix insertStringAsLines for change tracking
2529 2003-03-12 John Levon <levon@movementarian.org>
2536 * bufferparams.C: move author list into params. Rename some
2537 functions. Move the header reading into a separate token
2538 loop. Move the header token reading into BufferParams.
2540 2003-03-12 John Levon <levon@movementarian.org>
2542 * changes.C: put debug inside lyxerr.debugging() checks
2544 2003-03-11 André Pönitz <poenitz@gmx.net>
2546 * factory.C: make it aware of InsetHFill
2548 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2550 * buffer.C (latexParagraphs): move function from here...
2551 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2554 2003-03-10 Angus Leeming <leeming@lyx.org>
2556 * LyXAction.C (init): fix bug in poplating array with multiple entries
2557 with the same LFUN (spotted by JMarc).
2559 2003-03-10 John Levon <levon@movementarian.org>
2562 * text2.C: move getColumnNearX() near its
2565 2003-03-10 John Levon <levon@movementarian.org>
2567 * text.C: fix break before a minipage
2569 2003-03-10 John Levon <levon@movementarian.org>
2571 * text.C: fix the last commit
2573 2003-03-09 John Levon <levon@movementarian.org>
2577 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2578 bug 365 (don't break before insets unless needed). Don't
2579 return a value > last under any circumstances.
2581 2003-03-09 Angus Leeming <leeming@lyx.org>
2583 * BufferView_pimpl.C (trackChanges, dispatch): call
2584 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2586 2003-03-09 Angus Leeming <leeming@lyx.org>
2588 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2589 than Dialogs::showAboutlyx().
2591 2003-03-09 Angus Leeming <leeming@lyx.org>
2593 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2594 than Dialogs::showTabularCreate().
2596 2003-03-09 John Levon <levon@movementarian.org>
2600 * text2.C: 3rd arg to nextBreakPoint was always the same.
2603 2003-03-08 John Levon <levon@movementarian.org>
2610 * text2.C: Remove the "main" bit from the "main body"
2613 2003-03-08 John Levon <levon@movementarian.org>
2615 * text.C (leftMargin): The left margin of an empty
2616 manual label paragraph should not include the label width
2619 * text.C (prepareToPrint): don't attempt to measure hfills
2620 for empty manual label paragraphs - the answer should be 0
2622 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2624 * CutAndPaste.C: remove commented code and reindent.
2626 2003-03-08 John Levon <levon@movementarian.org>
2629 * lyxfunc.C: move reloadBuffer()
2632 * BufferView.C: to here
2634 * lyxvc.C: add comment
2637 * vc-backend.C: call bv->reload() to avoid
2638 getStatus() check on MENURELOAD
2640 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2642 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2643 to an old format .dep file.
2645 2003-03-07 Angus Leeming <leeming@lyx.org>
2647 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2648 when the LFUN_MOUSE_RELEASE should have been handled by
2649 inset->localDispatch.
2651 2003-03-07 Angus Leeming <leeming@lyx.org>
2653 * BufferView_pimpl.C (dispatch):
2654 * LyXAction.C (init):
2655 * ToolbarDefaults.C (init):
2657 * lyxfunc.C (getStatus):
2658 remove LFUN_INSET_GRAPHICS.
2660 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2662 2003-03-07 Angus Leeming <leeming@lyx.org>
2665 * LyXAction.C (init):
2666 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2668 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2671 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2673 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2674 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2676 2003-03-07 Angus Leeming <leeming@lyx.org>
2678 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2681 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2683 * ParagraphList.C (front): new function
2686 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2688 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2689 and top_row_offset_. removed var first_y.
2691 * text2.C (LyXText, removeRow):
2693 * BufferView_pimpl.C:
2694 use these methods instead of using first_y
2696 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2698 * text2.C (pasteSelection): adjust for checkPastePossible
2700 * CutAndPaste.C: remove Paragraph * buf and replace with
2701 ParagraphList paragraphs.
2702 (DeleteBuffer): delete
2703 (cutSelection): change the tc type to textclass_type
2704 (copySelection): change the tc type to textclass_type
2705 (copySelection): adjust for ParagraphList
2706 (pasteSelection): change the tc type to textclass_type
2707 (pasteSelection): adjust for Paragraphlist
2708 (nrOfParagraphs): simplify for ParagraphList
2709 (checkPastePossible): simplify for ParagraphList
2710 (checkPastePossible): remove unused arg
2712 * ParagraphList.C (insert): handle the case where there are no
2715 * CutAndPaste.h: make CutAndPaste a namespace.
2717 * text3.C (dispatch): adjust
2719 * text.C (breakParagraph): add a ParagraphList as arg
2721 * paragraph_funcs.C (breakParagraph): change to take a
2722 BufferParams and a ParagraphList as args.
2723 (breakParagraphConservative): ditto
2724 (mergeParagraph): ditto
2725 (TeXDeeper): add a ParagraphList arg
2726 (TeXEnvironment): ditto
2729 * buffer.C (readLyXformat2): adjust
2730 (insertStringAsLines): adjust
2731 (latexParagraphs): adjust
2733 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2734 (cutSelection): adjust
2735 (pasteSelection): adjust
2737 * BufferView_pimpl.C (insertInset): adjust
2739 2003-03-05 Angus Leeming <leeming@lyx.org>
2742 * LyXAction.C (init):
2743 * BufferView_pimpl.C (dispatch):
2744 * lyxfunc.C (getStatus):
2745 remove LFUN_CHILD_INSERT.
2747 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2749 2003-03-05 Angus Leeming <leeming@lyx.org>
2752 * LyXAction.C (init):
2753 * src/factory.C (createInset):
2754 * lyxfunc.C (getStatus):
2755 * text3.C (dispatch):
2756 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2758 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2760 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2762 * ParagraphList.C (insert): handle insert right before end()
2763 (erase): fix cases where it can be first or last paragraph.
2765 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2767 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2768 Paragraph::next and Paragraph::previous
2771 * text.C (breakParagraph): adjust
2773 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2774 BufferParams& as arg.
2775 (breakParagraph): use ParagraphList::insert
2776 (breakParagraphConservative): take a Buffer* instead of a
2777 BufferParams& as arg.
2778 (breakParagraphConservative): use ParagraphList::insert.
2780 * buffer.C (insertStringAsLines): un-const it
2781 (insertStringAsLines): adjust
2783 * ParagraphList.C (insert): new function
2785 * CutAndPaste.C (pasteSelection): adjust
2787 * text.C (backspace): adjust
2789 * tabular.C (SetMultiColumn): adjust
2791 * CutAndPaste.C (cutSelection): adjust
2792 (pasteSelection): adjust
2794 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2795 Buffer const * as arg
2797 * ParagraphList.C (erase): new function
2798 * paragraph_funcs.C (mergeParagraph): use it
2799 (mergeParagraph): make it take a Buffer* instead of a
2800 BufferParams* as arg
2802 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2804 (breakParagraphConservative): ditto
2806 * paragraph.h: remove the breakParagraph friend
2808 * paragraph.C (eraseIntern): new function
2809 (setChange): new function
2811 * paragraph_funcs.C (mergeParagraph): make it take a
2812 ParagraphList::iterator instead of a Paragraph *, adjust
2815 * paragraph.h: move an #endif so that the change tracking stuff
2816 also works in the NO_NEXT case.
2818 2003-03-04 Angus Leeming <leeming@lyx.org>
2821 * LyXAction.C: new LFUN_INSET_MODIFY.
2823 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2824 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2826 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2828 * several files: ws changes only
2830 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2831 (TeXEnvironment): ditto
2834 * buffer.C (makeLaTeXFile): adjust
2835 (latexParagraphs): make it take ParagraphList::iterator as args
2837 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2839 * buffer.C (latexParagraphs): adjust
2841 * paragraph.C (TeXOnePar): move function...
2842 (optArgInset): move function...
2843 (TeXEnvironment): move function...
2844 * paragraph_pimpl.C (TeXDeeper): move function...
2845 * paragraph_funcs.C: ...here
2847 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2849 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2851 * buffer.C (readInset): remove compability code for old Figure and
2854 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2856 * buffer.C: ws changes
2859 * BufferView_pimpl.C: ditto
2862 * bufferlist.h: ditto
2866 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2868 * converter.[Ch]: split into itself +
2871 * Makefile.am: += graph.[Ch] + format.[Ch]
2878 * lyxrc.C: added #include "format.h"
2880 2003-02-27 Angus Leeming <leeming@lyx.org>
2882 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2885 * factory.C (createInset): add "label" to the factory.
2887 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2888 string and do no more.
2890 2003-02-27 Angus Leeming <leeming@lyx.org>
2893 * LyXAction.C (init):
2894 * factory.C (createInset):
2895 * BufferView_pimpl.C (dispatch):
2896 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2898 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2900 * lyxfunc.C (dispatch):
2901 * text3.C (dispatch): pass name to params2string.
2903 2003-02-26 Angus Leeming <leeming@lyx.org>
2905 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2907 Rearrange the ~includes. Strip out the unnecessary ones.
2909 * factory.C (createInset): reformat.
2910 create new insets for the various LFUN_XYZ_APPLY lfuns.
2912 2003-02-26 John Levon <levon@movementarian.org>
2915 * lyxrow.C: add isParStart,isParEnd helpers
2917 * paragraph.h: make isInserted/DeletedText take refs
2919 * paragraph_funcs.h:
2920 * paragraph_funcs.C: remove #if 0'd code
2925 * text.C: use lyxrow helpers above.
2926 Move draw and paint routines to RowPainter.
2927 Make several methods use refs not pointers.
2928 Make backgroundColor() const.
2929 Add markChangeInDraw(), isInInset().
2930 Merge changeRegionCase into changeCase.
2931 Make workWidth() shouldn't-happen code into an Assert.
2934 * rowpainter.C: new class for painting a row.
2937 * vspace.C: make inPixels take a ref
2939 2003-02-26 Angus Leeming <leeming@lyx.org>
2941 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2944 2003-02-25 John Levon <levon@movementarian.org>
2946 * ispell.C: give the forked command a more accurate name
2948 2003-02-22 John Levon <levon@movementarian.org>
2951 * toc.C: make TocItem store an id not a Paragraph *
2954 2003-02-21 Angus Leeming <leeming@lyx.org>
2956 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2957 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2958 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2959 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2960 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2961 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2963 * BufferView_pimpl.C (dispatch):
2964 * LyXAction.C (init):
2965 * factory.C (createInset):
2966 * lyxfunc.C (getStatus, dispatch):
2967 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2969 2003-02-21 Angus Leeming <leeming@lyx.org>
2971 * BufferView_pimpl.C (MenuInsertLyXFile):
2972 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2973 * lyxfunc.C (menuNew, open, doImport):
2974 no longer pass a LyXView & to fileDlg.
2976 2003-02-21 Angus Leeming <leeming@lyx.org>
2978 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2979 * LyXAction.C: change, BIBKEY to BIBITEM.
2980 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2981 Change InsetBibKey to InsetBibitem.
2982 Change BIBKEY_CODE to BIBITEM_CODE.
2983 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2984 * factory.C: replace insetbib.h with insetbibitem.h.
2985 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2986 * paragraph.C: replace insetbib.h with insetbibitem.h.
2987 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2988 Change bibkey() to bibitem().
2989 * text.C: remove insetbib.h.
2990 * text2.C: replace insetbib.h with insetbibitem.h.
2991 change bibkey() to bibitem().
2992 * text3.C: remove insetbib.h.
2993 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2995 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2997 * lyxrc.C (output): enclose user email in quotes (in case there are
3000 2003-02-18 John Levon <levon@movementarian.org>
3002 * buffer.h: add std::
3004 2003-02-17 John Levon <levon@movementarian.org>
3010 * pspell.C: reworking. Especially in ispell, a large
3011 number of clean ups and bug fixes.
3013 * lyxfunc.C: fix revert to behave sensibly
3015 2003-02-17 André Pönitz <poenitz@gmx.net>
3018 * commandtags.h: new LFUN_INSERT_BIBKEY
3028 * paragraph_func.C: remove special bibkey handling
3030 2003-02-17 John Levon <levon@movementarian.org>
3032 * text.C (Delete): fix case where delete at the end of
3033 the very first paragraph would not merge the pars
3035 2003-02-17 John Levon <levon@movementarian.org>
3037 * lyxrow.C: fix lastPrintablePos()
3039 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3041 * bufferparams.C (writeLaTeX): add a std:here
3043 * buffer.C: and remove a using directive there
3045 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3047 * buffer.C (makeLaTeXFile): move the code that generates the
3050 * bufferparams.C (writeLaTeX): ... in this new method
3052 * LaTeXFeatures.C (getEncodingSet): make const
3053 (getLanguages): make const
3055 * MenuBackend.C (binding): returns the binding associated to this
3057 (add): sets the status of each item by calling getStatus. Adds
3059 (read): add support for OptSubMenu
3060 (expand): remove extra separator at the end of expanded menu
3062 2003-02-15 John Levon <levon@movementarian.org>
3065 * BufferView_pimpl.C:
3067 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3068 inset code that had no actual effect. Remove unneeded status
3071 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3073 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3076 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3078 * text.C (drawLengthMarker): also draw an arrow marker for
3079 symbolic lengths (medskip...)
3081 2003-02-14 John Levon <levon@movementarian.org>
3084 * tabular.C: better method names
3086 2003-02-14 John Levon <levon@movementarian.org>
3088 * BufferView_pimpl.C:
3093 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3094 it's a more accurate name. Remove some pointless uses.
3096 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3098 * text2.C (LyXText): change order of initilizers to shut off
3101 2003-02-14 John Levon <levon@movementarian.org>
3103 * buffer.C: use ParIterator for getParFromID()
3107 * paragraph_pimpl.h:
3108 * paragraph_pimpl.C: remove unused getParFromID()
3110 2003-02-14 John Levon <levon@movementarian.org>
3112 * buffer.C: remove some very old #if 0'd parse code
3114 2003-02-13 John Levon <levon@movementarian.org>
3118 * text2.C: move hfillExpansion(), numberOfSeparators(),
3119 rowLast(), rowLastPrintable(), numberofHfills(),
3120 numberOfLabelHfills() ...
3123 * lyxrow.C: ... to member functions here.
3128 * text.C: remove LyXText::beginningOfMainBody(), and call
3129 p->beginningOfMainBody() directly. Move the check for
3130 LABEL_MANUAL into the latter.
3137 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3143 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3144 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3146 2003-02-13 John Levon <levon@movementarian.org>
3148 * CutAndPaste.C: remove debug
3150 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3152 * paragraph.C (asString): remove two unused variables
3154 * lyxtextclass.C (readTitleType):
3156 (LyXTextClass): handle new members titletype_ and titlename_
3158 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3160 2003-02-09 John Levon <levon@movementarian.org>
3163 * buffer.C: replace hand-coded list with a map for the dep clean
3165 2003-02-08 John Levon <levon@movementarian.org>
3167 * LaTeX.C: consolidate code into showRunMessage() helper
3169 2003-02-08 John Levon <levon@movementarian.org>
3174 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3175 and pass the size in explicitly
3177 * BufferView_pimpl.h:
3178 * BufferView_pimpl.C:
3180 * BufferView.C: add getCurrentChange()
3182 * BufferView_pimpl.h:
3183 * BufferView_pimpl.C: handle change lfuns
3185 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3186 for changes. Mark pasted paragraphs as new.
3188 * support/lyxtime.h:
3189 * support/lyxtime.C:
3190 * DepTable.C: abstract time_t as lyx::time_type
3193 * LColor.C: add colours for new text, deleted text, changebars
3195 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3196 package use "usenames" option.
3200 * LyXAction.C: add change lfuns
3204 * author.C: author handling
3207 * buffer.C: add a per-buffer author list, with first entry as
3208 current author. Handle new .lyx tokens for change tracking. Output
3209 author list to .lyx file. Output dvipost stuff to .tex preamble.
3210 Bump lyx format to 222.
3213 * bufferlist.C: add setCurrentAuthor() to reset current author details
3217 * bufferparams.C: add param for tracking
3219 * bufferview_funcs.C: output change info in minibuffer
3223 * changes.C: add change-tracking structure
3226 * debug.C: add CHANGES debug flag
3229 * lyxfind.C: add code for finding the next change piece
3232 * lyxrc.C: add user_name and user_email
3235 * lyxrow.C: add a metric for the top of the text line
3238 * text.C: implement accept/rejectChange()
3241 * text.C: paint changebars. Paint new/deleted text in the chosen
3242 colours. Strike through deleted text.
3246 * paragraph_pimpl.h:
3247 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3248 in the current change to the insert functions. Rework erase to
3249 mark text as deleted, adding an eraseIntern() and a range-based
3250 erase(). Implement per-paragraph change lookup and
3253 * paragraph_funcs.C: Fixup paste for change tracking.
3255 * tabular.C: mark added row/columns as new.
3257 * text.C: fix rowLast() to never return -1. Don't allow
3258 spellchecking of deleted text. Track transpose changes. Don't
3259 allow paragraph break or merge where appropriate.
3261 * text2.C: leave cursor at end of selection after a cut.
3263 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3265 * text.C (getLengthMarkerHeight):
3266 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3267 visible on screen too.
3269 2003-02-07 John Levon <levon@movementarian.org>
3271 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3273 2003-02-05 Angus Leeming <leeming@lyx.org>
3275 * lyxserver.C (read_ready): revert my patch of 11 September last year
3276 as it sends PC cpu through the roof. Presumably this means that
3277 the lyxserver will no longer run on an Alpha...
3279 2003-01-30 Angus Leeming <leeming@lyx.org>
3281 * factory.C (createInset): create an InsetCommandParam of type "index"
3282 and use it to 'do the right thing'.
3284 * text2.C (getStringToIndex): ensure that cursor position is always
3285 reset to the reset_cursor position.
3287 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3289 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3292 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3296 * lyxfunc.C: Output messages with identical spelling, punctuation,
3299 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3301 * MenuBackend.C (expandFormats): List only viewable export formats
3304 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3307 * lyxfunc.C (getStatus): Make sure that formats other than
3308 "fax" can also be disabled
3310 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3312 * text3.C (dispatch): put the lfuns that insert insets in 3
3313 groups, and call doInsertInset with appropriate arguments.
3314 (doInsertInset): new function, that creates an inset and inserts
3315 it according to some boolean parameters.
3317 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3319 * buffer.C (readFile): remember to pass on 'par' when calling
3320 readFile recursively.
3322 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3324 * MenuBackend.C (expandFormats): add "..." to import formats.
3326 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3328 * paragraph.C (asString): Remove XForms RTL hacks.
3330 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3331 * buffer.C: fix typo
3333 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3335 * Makefile.am (LIBS): delete var
3336 (lyx_LDADD): add @LIBS@ here instead.
3338 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3340 * Clarify the meaning of "wheel mouse jump"
3342 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3344 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3347 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3349 * importer.C (Loaders): do not preallocate 3 elements in the
3350 vector, since one ends up with 6 elements otherwise
3352 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3354 * DepTable.C (write): write the file name as last element of the
3355 .dep file (because it may contain spaces)
3356 (read): read info in the right order
3358 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3360 * paragraph_pimpl.C (simpleTeXBlanks):
3361 (simpleTeXSpecialChars):
3362 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3364 * tabular.C (latex): add some missing case statements. Reindent.
3366 * MenuBackend.C (expandToc): remove unused variable.
3368 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3377 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3380 2003-01-05 John Levon <levon@movementarian.org>
3383 * BufferView.C: add getEncoding()
3386 * kbsequence.C: do not store last keypress
3389 * lyxfunc.C: store last keypress here instead. Pass encoding
3392 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3394 * lyx_main.C (init): remove annoying error message when following
3395 symbolic links (bug #780)
3397 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3399 * text.C (insertChar):
3400 * lyxrc.C (getDescription): remove extra spaces
3402 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3404 * lyxrc.C (getDescription): remove extra spaces
3406 2002-12-20 John Levon <levon@movementarian.org>
3408 * text3.C: hack fix for page up/down across tall rows
3410 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3412 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3415 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3417 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3418 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3419 thesaurus is not compiled in
3421 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3423 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3425 2002-12-16 Angus Leeming <leeming@lyx.org>
3428 * lyx_main.C (init): remove override_x_deadkeys stuff.
3430 2002-12-12 John Levon <levon@movementarian.org>
3432 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3433 insert. Only remove shift modifier under strict
3436 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3438 * MenuBackend.C (expandToc): fix crash.
3440 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3442 * MenuBackend.C (expandToc): gettext on float names.
3444 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3446 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3447 implement bool empty() [bug 490]
3449 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3451 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3453 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3455 * several files: ws changes
3457 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3459 * text2.C (setCounter): clean up a bit, use boost.format.
3460 (updateCounters): initialize par upon declaration.
3462 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3463 if the layout exists. We do not just store the layout any more.
3464 (SwitchLayoutsBetweenClasses): use boost.format
3466 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3468 * converter.C (convert): if from and to files are the same, use a
3469 temporary files as intermediary
3471 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3474 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3476 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3478 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3480 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3482 * tabular.C (asciiPrintCell): use string(size, char) instead of
3485 * sgml.C (openTag): fix order of arguments to string constructor
3488 * lyxfunc.C (dispatch): use boost.format
3490 * lots of files: change "c" -> 'c'
3492 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3494 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3496 2002-11-25 Angus Leeming <leeming@lyx.org>
3498 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3500 * lyx_main.C (init): compile fix.
3502 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3504 * lyx_cb.C (start): boost.formatify
3505 do not include <iostream>
3507 * lengthcommon.C: ws only
3509 * boost-inst.C,BoostFormat.h: add more explict instantations
3511 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3513 * lots of files: handle USE_BOOST_FORMAT
3515 2002-11-21 John Levon <levon@movementarian.org>
3517 * pspell.C: fix compile
3519 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3521 * lyxfunc.C (dispatch): use boost::format
3525 * lyxfont.C (stateText): use boost::format
3527 * lyx_main.C (LyX): use boost::format
3529 (queryUserLyXDir): ditto
3532 (typedef boost::function): use the recommened syntax.
3534 * importer.C (Import): use boost::format
3536 * debug.C (showLevel): use boost::format
3538 * converter.C (view): use boost::format
3543 * bufferview_funcs.C (currentState): use boost::format
3545 * bufferlist.C (emergencyWrite): use boost::format
3547 * buffer.C (readLyXformat2): use boost::format
3548 (parseSingleLyXformat2Token): ditto
3550 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3552 * LaTeX.C (run): use boost::format
3554 * Chktex.C (scanLogFile): use boost::format
3556 * BufferView_pimpl.C (savePosition): use boost::format
3557 (restorePosition): ditto
3558 (MenuInsertLyXFile): ditto
3560 * BoostFormat.h: help file for explicit instation.
3562 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3564 * tabular.C (latex): Support for block alignment in fixed width
3567 2002-11-17 John Levon <levon@movementarian.org>
3569 * BufferView_pimpl.C:
3571 * lyxfunc.C: split filedialog into open/save
3573 2002-11-08 Juergen Vigna <jug@sad.it>
3575 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3576 by my last patch (hopefully).
3578 2002-11-08 John Levon <levon@movementarian.org>
3587 * toc.C: ParConstIterator, and use it (from Lars)
3589 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3591 * lyxtextclass.[Ch]: revise and add doxygen comments
3593 2002-11-07 John Levon <levon@movementarian.org>
3595 * text.C: fix progress value for spellchecker
3597 * toc.C: fix navigate menu for insetwrap inside minipage
3599 * paragraph_funcs.C: added FIXME for suspect code
3601 2002-11-07 John Levon <levon@movementarian.org>
3603 * BufferView_pimpl.C: fix redrawing of insets
3606 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3608 * text2.C (updateCounters): fix bug 668
3610 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3612 * text3.C (dispatch): Do not make the buffer dirty when moving the
3615 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3617 * vc-backend.C: STRCONV
3620 * text2.C (setCounter): STRCONV
3622 * paragraph.C (asString): STRCONV
3624 * lyxlength.C (asString): STRCONV
3625 (asLatexString): ditto
3627 * lyxgluelength.C (asString): STRCONV
3628 (asLatexString): ditto
3630 * lyxfunc.C (dispatch): STRCONV
3633 * lyxfont.C (stateText): STRCONV
3635 * importer.C (Import): STRCONV
3637 * counters.C (labelItem): STRCONV
3638 (numberLabel): ditto
3639 (numberLabel): remove unused ostringstream o
3644 * bufferview_funcs.C (currentState): STRCONV
3646 * buffer.C (readFile): STRCONV
3647 (asciiParagraph): ditto
3648 (makeLaTeXFile): ditto
3650 * Spacing.C (writeEnvirBegin): STRCONV
3652 * LaTeXFeatures.C (getLanguages): STRCONV
3653 (getPackages): ditto
3655 (getBabelOptions): ditto
3656 (getTClassPreamble): ditto
3657 (getLyXSGMLEntities): ditto
3658 (getIncludedFiles): ditto
3662 (scanAuxFile): ditto
3665 * LString.h: add the STRCONV macros
3667 * BufferView_pimpl.C (savePosition): STRCONV
3668 (restorePosition): ditto
3669 (MenuInsertLyXFile): ditto
3671 * vc-backend.C (scanMaster): change from submatch[...] to
3674 * funcrequest.C: include config.h
3676 * factory.C: include config.h
3678 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3680 * box.C: include config.h
3682 * LaTeX.C (scanAuxFile): change from submatch[...] to
3686 2002-10-25 Angus Leeming <leeming@lyx.org>
3688 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3690 * ispell.[Ch] (setError): new method.
3691 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3692 Use setError() insetead of goto END.
3694 * lyx_cb.C (AutoSave): move out child process into new class
3697 2002-10-30 John Levon <levon@movementarian.org>
3699 * text3.C: make start appendix undoable
3701 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3703 * lyxlength.C (inPixels): Fix returned value.
3705 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3708 2002-10-24 Angus Leeming <leeming@lyx.org>
3710 * lyxgluelength.h: no need to forward declare BufferParams
3711 or BufferView, so don't.
3713 2002-10-21 John Levon <levon@movementarian.org>
3715 * BufferView.C: menuUndo ->undo, redo
3717 * BufferView.h: document, remove dead, make some methods private
3719 * paragraph_funcs.h:
3720 * paragraph_funcs.C:
3721 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3726 * sgml.C: move sgml open/close tag into sgml.C
3728 * bufferview_funcs.h: unused prototype
3731 * lyxfunc.C: remove unused
3734 * text.C: remove unused
3736 2002-10-21 John Levon <levon@movementarian.org>
3740 * BufferView_pimpl.h:
3741 * BufferView_pimpl.C: fix mouse wheel handling based on
3742 patch from Darren Freeman
3744 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3746 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3748 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3750 * lyxlength.C (inPixels): Fix hanfling of negative length.
3751 Fix LyXLength::MU case.
3753 2002-10-16 John Levon <levon@movementarian.org>
3755 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3757 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3759 * converter.C (view): add support for $$i (file name) and $$p
3760 (file path) for the viewer command. If $$i is not specified, then
3761 it is appended to the command (for compatibility with old syntax)
3763 2002-10-14 Juergen Vigna <jug@sad.it>
3765 * undo_funcs.C (textHandleUndo): alter the order in which the
3766 new undopar is added to the LyXText, as we have to set first
3767 the right prev/next and then add it as otherwise the rebuild of
3768 LyXText is not correct. Also reset the cursor to the right paragraph,
3769 with this IMO we could remove the hack in "redoParagraphs()".
3771 2002-10-09 Angus Leeming <leeming@lyx.org>
3773 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3774 to turn off an optimisation if a new inset is to be inserted.
3776 2002-10-11 André Pönitz <poenitz@gmx.net>
3778 * lyxtext.h: make some functions public to allow access
3779 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3781 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3783 * text3.C (dispatch): when changing layout, avoid an infinite loop
3786 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3788 * lyxrc.C (read): treat a viewer or converter command of "none" as
3791 * MenuBackend.C (expandFormats): for an update, also allow the
3792 formats that are not viewable
3794 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3795 script if it is newer than the lyxrc.defaults in user directory
3797 2002-10-07 André Pönitz <poenitz@gmx.net>
3799 * text.C: Vitaly Lipatov's small i18n fix
3801 2002-09-25 Angus Leeming <leeming@lyx.org>
3803 * ispell.h: doxygen fix.
3805 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3807 * buffer.h (readFile): Add a new argument to the method, to allow
3808 reading of old-format templates.
3810 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3812 * toc.C (getTocList): Get TOC from InsetWrap.
3814 2002-09-16 John Levon <levon@movementarian.org>
3816 * lyxfunc.C: check tabular for cut/copy too
3818 2002-09-12 John Levon <levon@movementarian.org>
3823 * factory.C: add header
3825 * paragraph_funcs.h:
3826 * paragraph_funcs.C: cleanup
3828 2002-09-11 John Levon <levon@movementarian.org>
3830 * PrinterParams.h: odd/even default to true
3832 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3834 * PrinterParams.h: update printer parameters for new xforms dialog
3836 2002-09-11 Angus Leeming <leeming@lyx.org>
3838 * lyxserver.C (read_ready): re-write to make it more transparent
3839 and to make it work in coherent fashion under Tru64 Unix.
3841 2002-09-11 André Pönitz <poenitz@gmx.net>
3845 * text3.C: implement LFUN_WORDSEL
3847 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3849 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3850 make floatlist_ a boost::shared_ptr<FloatList>
3852 * lyxtextclass.C: include FloatList.h
3853 (LyXTextClass): initialize floatlist_
3854 (TextClassTags): add TC_NOFLOAT
3855 (Read): match "nofloat" to TC_NOFLOAT and use it.
3856 (readFloat): modify call to floatlist_
3860 * FloatList.[Ch] (FloatList): remove commented out float
3862 (erase): new function
3864 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3866 * MenuBackend.C (expandToc): fix crash when there is no document
3869 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3871 * many files: Add insetwrap.
3873 2002-09-09 John Levon <levon@movementarian.org>
3875 * text2.C: remove confusing and awkward depth wraparound
3877 2002-09-09 John Levon <levon@movementarian.org>
3879 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3882 * buffer.C: remove getIncludeonlyList()
3885 * lyxfunc.C: remove headers
3887 2002-09-09 Juergen Vigna <jug@sad.it>
3889 * text.C (getColumnNearX): fix form Michael this is most
3890 probably a cut&paste bug.
3892 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3894 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3896 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3897 references, ws changes.
3899 * text2.C (init): update counters after init
3900 (insertParagraph): no need to set counter on idividual paragraphs.
3901 (setCounter): access the counters object in the textclass object
3902 on in the buffer object.
3903 (updateCounters): ditto
3905 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3906 shared_ptr<Counters> to avoid loading counters.h in all
3908 (LyXTextClass): initialize ctrs_
3909 (TextClassTags): add TC_COUNTER, and ...
3910 (Read): use it here.
3911 (CounterTags): new tags
3912 (readCounter): new function
3913 (counters): new funtion
3914 (defaultLayoutName): return a const reference
3916 * counters.C (Counters): remove contructor
3917 (newCounter): remove a couple of unneeded statements.
3918 (newCounter): simplify a bit.
3919 (numberLabel): some small formatting changes.
3921 * buffer.[Ch]: remove all traces of counters, move the Counters
3922 object to the LyXTextClass.
3924 2002-09-06 Alain Castera <castera@in2p3.fr>
3926 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3927 package to set the horizontal alignment on fixed width columns.
3930 * lyx_sty.h: added tabularnewline macro def.
3932 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3934 2002-09-06 John Levon <levon@movementarian.org>
3936 * LyXAction.C: tooltips for sub/superscript
3938 * MenuBackend.C: a bit more verbose
3940 * lyxfunc.C: tiny clean
3942 * undo_funcs.C: document undo_frozen
3944 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3946 * counters.C (Counters): add missing algorithm counter.
3948 * text2.C (setCounter): lookup the counter with layouts latexname
3949 instead of by section number.
3950 (setCounter): use a hackish way to lookup the correct enum
3952 a float name->type change
3953 reset enum couners with counter name directly instead of depth value.
3955 * counters.C (Counters): remove the push_backs, change to use the
3956 float type not the float name.
3957 (labelItem): remove unused string, float name->type change
3959 * counters.h: don't include vector, loose the enums and sects vectors
3961 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3963 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3964 (Read): add float->TC_FLOAT to textclassTags
3965 (Read): and handle it in the switch
3966 (readFloat): new function
3968 * FloatList.C (FloatList): comment out the hardcoded float
3971 * lyxlayout.h: ws change.
3973 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3975 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3977 2002-09-03 Angus Leeming <leeming@lyx.org>
3979 * BufferView_pimpl.h: qualified name is not allowed in member
3980 declaration: WorkArea & Pimpl::workarea() const;
3982 * factory.C: added using std::endl directive.
3984 * text3.C: added using std::find and std::vector directives.
3986 2002-08-29 André Pönitz <poenitz@gmx.net>
3989 * text2.C: remove unused member number_of_rows
3992 * BufferView2.C: remove file, move contents to...
3993 * BufferView.C: ... here
3995 * BufferView_pimpl.C:
3996 * factory.C: move more inset creation to factory
3998 * vspace.C: avoid direct usage of LyXText, ws changes
4001 don't provide direct access to WorkArea, use two simple
4002 acessors haveSelction() and workHeight() instead
4005 2002-08-29 John Levon <levon@movementarian.org>
4007 * BufferView_pimpl.C (dispatch): do not continue when
4010 2002-08-28 André Pönitz <poenitz@gmx.net>
4012 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4015 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4017 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4019 * buffer.C: increment LYX_FORMAT to 221
4021 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4022 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4024 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4026 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4028 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4030 * factory.C (createInset): use LyXTextClass::floats
4032 * MenuBackend.C (expandFloatListInsert):
4033 (expandFloatInsert):
4036 * text2.C (setCounter):
4038 * LaTeXFeatures.C (useFloat):
4039 (getFloatDefinitions):
4041 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4043 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4044 floatlist_, with accessor floats().
4046 * FloatList.h: remove global FloatList
4048 2002-08-26 André Pönitz <poenitz@gmx.net>
4050 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4054 * BufferView_pimpl.C:
4055 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4057 2002-08-25 John Levon <levon@movementarian.org>
4059 * LyXAction.C: fix margin note description
4061 2002-08-24 John Levon <levon@movementarian.org>
4065 * bufferview_funcs.C:
4067 * undo_funcs.C: cleanups
4069 * lyxfunc.C: disable CUT/COPY when no selection
4071 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4073 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4074 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4076 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4077 Add backward compatibility to "mono", "gray" and "no".
4079 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4081 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4082 (and file_format >= 200).
4084 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4086 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4088 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4090 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4092 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4094 * BufferView_pimpl.C:
4101 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4102 inset and code to make it work with the paragraph code. The inset
4103 can be anywhere in the paragraph, but will only do the expected
4104 thing in LaTeX if the layout file contains the parameter line
4106 (or more generally, a nonzero value) for that layout.
4108 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4110 * paragraph.h: remove the declaration of undefined counters class
4113 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4115 * text2.C (setCounter): fixed enumeration mis-count as reported by
4116 Dr. Richard Hawkins.
4118 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4120 * paragraph_funcs.h: remove some unneeded includes
4122 * text.C (backspace): pasteParagraph now in global scipe
4124 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4125 (pasteSelection): ditto
4127 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4128 * paragraph_funcs.C (pasteParagraph): ... here
4130 2002-08-20 André Pönitz <poenitz@gmx.net>
4132 * commandtags.h: new LFUNs for swapping/copying table row/colums
4135 * lyxfunc.C: support for new lfuns
4137 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4140 * buffer.[Ch]: remove NO_COMPABILITY stuff
4142 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4144 * boost.C (throw_exception): new file, with helper function for
4145 boost compiled without exceptions.
4150 * ParameterStruct.h:
4151 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4153 * bufferlist.C (emergencyWriteAll): use boost bind
4155 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4157 * text.C: include paragraph_funcs.h
4158 (breakParagraph): breakParagraph is now in global scope
4160 * paragraph_funcs.[Ch]: new files
4162 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4165 * buffer.C: include paragraph_funcs.h
4166 (insertStringAsLines): breakParagraph is now in global scope
4168 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4171 * CutAndPaste.C: include paragraph_funcs.h
4172 (cutSelection): breakParagraphConservative is now in global scope
4173 (pasteSelection): ditto
4175 * buffer.h: declare oprator== and operator!= for
4176 Buffer::inset_iterator
4178 * bufferlist.C (emergencyWrite): don't use fmt(...)
4180 * text3.C: add using std::endl
4182 * BufferView.C (moveCursorUpdate): remove default arg
4184 2002-08-20 André Pönitz <poenitz@gmx.net>
4186 * buffer.[Ch]: move inline functions to .C
4189 * BufferView_pimpl.C:
4191 * buffer.[Ch]: use improved inset_iterator
4194 * paragraph.[Ch]: write one paragraph at a time
4196 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4198 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4199 style if style is not specified.
4201 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4203 * text2.C (setCounter): when searching for right label for a
4204 caption, make sure to recurse to parent insets (so that a caption
4205 in a minipage in a figure float works) (bug #568)
4207 2002-08-20 André Pönitz <poenitz@gmx.net>
4209 * text3.C: new file for LyXText::dispatch() and helpers
4211 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4213 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4215 2002-08-19 André Pönitz <poenitz@gmx.net>
4218 * text.C: new LyXText::dispatch()
4220 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4222 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4224 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4226 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4229 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4231 * Makefile.am: use $(variables) instead of @substitutions@
4233 2002-08-15 André Pönitz <poenitz@gmx.net>
4236 * BufferView_pimpl.C: streamlining mathed <-> outer world
4240 * LyXAction.C: remove unused LFUN_MATH
4242 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4244 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4246 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4248 * paragraph.C (Paragraph): reformat a bit
4249 (cutIntoMinibuffer): use builtin InsetList function instad of
4253 * buffer.C: include boost/bind.hpp, add using std::for_each
4254 (writeFileAscii): use ParagraphList iterators
4255 (validate): use for_each for validate traversal of paragraphs
4256 (getBibkeyList): use ParagraphList iterators
4257 (resizeInsets): use for_each to resizeInsetsLyXText for all
4259 (getParFromID): use ParagraphList iterators
4261 * BufferView2.C (lockInset): use paragraph list and iterators
4263 2002-08-14 John Levon <levon@movementarian.org>
4265 * lyxserver.C: remove spurious xforms include
4267 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4269 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4271 2002-08-13 André Pönitz <poenitz@gmx.net>
4274 * lyxfunc.C: further cleaning
4276 2002-08-13 André Pönitz <poenitz@gmx.net>
4278 * funcrequest.h: new constructor
4280 * funcrequest.C: move stuff here from .h
4283 * BufferView_pimpl.C:
4286 * lyxfunc.C: subsequent changes
4288 * lyxfunc.h: new view() member function
4290 * lyxfunc.C: subsequent changes
4292 2002-08-13 Angus Leeming <leeming@lyx.org>
4295 * BufferView_pimpl.C:
4303 changes due to the changed LyXView interface that now returns references
4304 to member variables not pointers.
4306 2002-08-13 Angus Leeming <leeming@lyx.org>
4308 * WordLangTuple (word, lang_code): return references to strings,
4313 * lyxtext.h: forward-declare WordLangTuple.
4318 * text.C: #include "WordLangTuple.h".
4321 * text.C: (selectNextWordToSpellcheck): constify return type.
4323 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4329 * paragraph_pimpl.h:
4332 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4334 Made updateCounter always count from start of buffer, and removed
4335 second argument (par).
4336 Reverted floats number display to '#'. Perhaps I'll try again when the
4337 code base is sanitized a bit.
4339 2002-08-12 Angus Leeming <leeming@lyx.org>
4341 * buffer.[Ch] (getLabelList): constify.
4343 2002-08-07 André Pönitz <poenitz@gmx.net>
4345 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4347 * funcrequest.h: extension to keep mouse (x,y) position
4349 2002-08-12 Juergen Vigna <jug@sad.it>
4351 * BufferView2.C (insertErrors): forbid undo when inserting error
4354 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4356 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4358 * ParagraphList.[Ch]: new files
4360 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4362 * BufferView2.C (lockInset): ParagraphList changes
4365 * bufferlist.C: ditto
4369 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4371 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4372 unused class variable counter_,
4374 * paragraph.[Ch] (getFirstCounter): delete unused function
4376 * counters.C: include LAssert.h
4377 (reset): add a new function with no arg, change other version to
4378 not have def. arg and to not allow empty arg.
4380 * text2.C (setCounter): remove empty arg from call to Counters::reset
4382 2002-08-11 John Levon <levon@movementarian.org>
4384 * Makefile.am: add WordLangTuple.h
4386 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4388 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4389 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4391 * insets/insettext.C: InsetList changes
4393 * graphics/GraphicsSupport.C (operator()): InsetList changes
4395 * toc.C (getTocList): InsetList changes
4397 * paragraph_pimpl.[Ch]: InsetList changes
4399 * paragraph.[Ch]: InsetList changes
4401 * buffer.C (inset_iterator): InsetList changes
4402 (setParagraph): ditto
4403 * buffer.h (inset_iterator): ditto
4404 * iterators.C (operator++): ditto
4405 * iterators.h: ditto
4407 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4409 * InsetList.[Ch]: new files, most InsetList handling moved out of
4412 * BufferView2.C (removeAutoInsets): InsetList changes
4414 (ChangeInsets): ditto
4416 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4418 * paragraph_pimpl.h (empty): new function
4420 * paragraph.[Ch] (empty): new function
4422 * other files: use the new Paragraph::empty function
4424 2002-08-09 John Levon <levon@movementarian.org>
4426 * lyxtext.h: remove unused refresh_height
4428 2002-08-09 John Levon <levon@movementarian.org>
4435 * paragraph.C: move sgml char escaping out of paragraph
4438 * paragraph.C: remove id setter
4442 * paragraph_pimpl.C: remove dead tex_code_break_column
4444 * bufferview_funcs.C: small cleanup
4446 * lyxfunc.C: remove dead proto
4448 * lyxtext.h: make some stuff private. Remove some dead stuff.
4450 * lyxgluelength.C: make as[LyX]String() readable
4452 2002-08-08 John Levon <levon@movementarian.org>
4457 * ToolbarDefaults.C:
4460 * toc.C: lyxaction cleanup
4462 2002-08-08 John Levon <levon@movementarian.org>
4464 * BufferView2.C: small cleanup
4467 * lyxfind.C: move unnecessary header into the .C
4469 2002-08-08 John Levon <levon@movementarian.org>
4471 * funcrequest.h: just tedious nonsense
4474 * lyx_main.C: cleanups
4477 * vspace.C: remove dead header lyx_main.h
4479 2002-08-07 Angus Leeming <leeming@lyx.org>
4482 * paragraph_pimpl.h:
4483 Forward declare class Counters in paragraph.h by moving the ctrs member
4484 variable into Paragraph::Pimpl.
4485 (counters): new method, returning a reference to pimpl_->ctrs.
4487 * text2.C: ensuing changes.
4489 2002-08-07 John Levon <levon@movementarian.org>
4491 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4493 * BufferView_pimpl.C: announce X selection on double/triple
4496 * lyx_main.C: use correct bool in batch dispatch
4498 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4500 2002-08-07 André Pönitz <poenitz@gmx.net>
4502 * funcrequest.h: new class to wrap a kb_action and its argument
4505 * BufferView_pimpl[Ch]:
4509 * lyxrc.C: subsequent changes
4512 2002-08-07 John Levon <levon@movementarian.org>
4514 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4515 document options change.
4517 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4522 * makefile.am: move counters functionality over from
4523 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4525 2002-08-06 John Levon <levon@movementarian.org>
4527 * WordLangTuple.h: new file for word + language code tuple
4538 * BufferView2.C: use WordLangTuple
4541 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4543 2002-08-06 John Levon <levon@movementarian.org>
4545 * lyx_main.C: fix cmdline batch handling
4547 2002-08-06 André Pönitz <poenitz@gmx.net>
4549 * lyxrc.C: set default for show_banner to true
4551 2002-08-06 John Levon <levon@movementarian.org>
4553 * pspell.C: fix a crash, and allow new aspell to work
4555 2002-08-06 John Levon <levon@movementarian.org>
4558 * kbmap.C: small cleanup
4561 * vspace.C: add const
4563 2002-08-05 John Levon <levon@movementarian.org>
4565 * LyXAction.C: back to tabular-insert
4567 2002-08-04 John Levon <levon@movementarian.org>
4570 * BufferView.C: cosmetic change
4572 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4582 * BufferView2.C: purge all "Lyx" not "LyX" strings
4585 * lyxcursor.C: attempt to add some documentation
4590 * ToolbarDefaults.C:
4591 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4592 merge with LFUN_TABULAR_INSERT
4599 * pspell.C: split up i/pspell implementations into separate
4600 files, many cleanups
4602 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4604 * text2.C: some cleanup
4606 * lyxfunc.C: don't check for isp_command == "none" any more, it
4607 didn't make any sense
4609 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4614 * makefile.am: move counters functionality over
4615 from text2.C/paragraph.[Ch] to counters.[Ch], and
4617 2002-08-02 John Levon <levon@movementarian.org>
4619 * buffer.C: s/lyxconvert/lyx2lyx/
4621 2002-08-02 Angus Leeming <leeming@lyx.org>
4623 * lyxlex.C: revert John's change as it breaks reading of the user
4626 2002-08-02 Angus Leeming <leeming@lyx.org>
4628 * importer.C (Import):
4629 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4630 changes due to LyXView::view() now returning a boost::shared_ptr.
4632 2002-08-02 John Levon <levon@movementarian.org>
4634 * lyxlex.C: small cleanup
4636 2002-08-02 John Levon <levon@movementarian.org>
4638 * text2.C (status): small cleanup, no logic change
4640 2002-08-01 John Levon <levon@movementarian.org>
4643 * buffer.C (writeFile): don't output alerts, caller
4647 * lyx_cb.C: from above
4649 * lyxfunc.C: allow to open non-existent files
4651 2002-07-31 John Levon <levon@movementarian.org>
4653 * lyxserver.C: don't let incidental errors get
4656 2002-07-30 John Levon <levon@movementarian.org>
4658 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4660 2002-07-30 John Levon <levon@movementarian.org>
4663 * lyxserver.C: remove I/O callback too
4665 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4667 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4670 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4672 * many files: strip,frontStrip -> trim,ltrim,rtrim
4674 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4676 * PrinterParams.h: remove extern containsOnly, and include
4677 support/lstrings.h instead.
4679 * LaTeX.C (scanAuxFile): modify because of strip changes
4681 * buffer.C (makeLaTeXFile): ditto
4682 * bufferparams.C (writeFile): ditt
4683 * lyxfont.C (stateText): ditto
4684 * lyxserver.C (read_ready): ditto
4685 * vc-backend.C (scanMaster): ditto
4687 * BufferView_pimpl.h: ws changes
4689 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4691 2002-07-26 André Pönitz <poenitz@gmx.net>
4693 * kb_sequence.C: remove unnedred usings
4695 2002-07-26 Juergen Vigna <jug@sad.it>
4697 * lyxfind.C (LyXReplace): we have to check better if the returned
4698 text is not of theLockingInset()->getLockingInset().
4700 2002-07-25 Juergen Vigna <jug@sad.it>
4702 * lyxfind.C (LyXReplace): don't replace if we don't get the
4705 * undo_funcs.C (createUndo): remove debugging code.
4707 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4709 * buffer.C (parseSingleLyXformat2Token): Use default placement
4710 when reading old floats.
4712 * FloatList.C (FloatList): Change the default placement of figure
4713 and tables to "tbp".
4715 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4717 * MenuBackend.C: using std::max
4719 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4721 * MenuBackend.C (expandToc):
4722 (expandToc2): code moved from xforms menu frontend. It is now
4723 generic and TOCs are transparent to menu frontends.
4725 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4727 * toc.C (getTocList): protect against buf=0
4729 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4730 Menu as first parameter. Now, this calls itself recursively to
4731 expand a whole tree (this will be useful for TOC handling)
4732 (expandFloatInsert): remove 'wide' version of floats
4734 * MenuBackend.h (submenuname): returns the name of the submenu.
4735 (submenu): returns the submenu itself, provided it has been
4736 created by MenuBackend::expand
4738 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4740 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4741 insets which have noFontChange == true. (bug #172)
4743 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4745 * BufferView_pimpl.C: add connection objects and use them...
4748 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4750 * MenuBackend.C (expandLastfiles):
4753 (expandFloatListInsert):
4754 (expandFloatInsert):
4755 (expand): split expand in parts
4757 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4759 * lyx_gui.C: use lyx_gui::exit()
4761 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4763 * LyXAction.C: show the failing pseudo action
4765 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4767 * buffer.C (readFile): Run the lyxconvert script in order to read
4770 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4774 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4776 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4780 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4782 2002-07-22 Herbert Voss <voss@lyx.org>
4785 * lyxlength.[Ch]: add support for the vertical lengths
4787 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4789 * toc.[Ch]: std:: fixes
4791 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4793 * lyxrc.C: do not include lyx_main.h
4795 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4801 * BufferView2.C: include "lyxlex.h"
4804 * bufferparams.h: do not #include "lyxlex.h"
4806 * lyxtextclasslist.C (Add): remove method
4807 (classlist): renamed to classlist_
4809 * paragraph_pimpl.C:
4813 * bufferview_funcs.C:
4818 * toc.C (getTocList): use BufferParams::getLyXTextClass
4820 * toc.C (getTocList): use InsetFloat::addToToc
4822 * toc.[Ch]: new files, containing helper functions to handle table
4825 * lyxfunc.C (dispatch): no need to remove spaces around command
4827 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4828 first command of the sequence; it is not very clever, but I do not
4829 have a better idea, actually
4831 * LyXAction.C (LookupFunc): make sure to remove space at the
4832 beginning and end of the command
4834 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4836 * MenuBackend.C (getMenubar): new method: return the menubar of
4838 (read): treat differently reading of menu and menubar (in
4839 particular, the menubar has no name now)
4840 (Menu::menubar): remove
4842 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4845 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4847 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4848 a bibitem inset in a RTL paragraph.
4850 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4852 * paragraph_pimpl.C: constify
4854 * BufferView_pimpl.C:
4856 * lyxfunc.C: fix dispatch in a nicer way
4858 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4860 * lyxfunc.C (dispatch):
4861 * BufferView_pimpl.C:
4862 * BufferView_pimpl.h:
4864 * BufferView.h: rename Dispatch() to dispatch()
4866 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4868 * lyxlayout.C (Read): honor DependsOn tag
4870 * lyxlayout.[Ch] (depends_on): new method
4872 * version.C.in: update lyx_docversion
4874 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4876 * paragraph.C (validate): remove from here...
4877 * paragraph_pimpl.C (validate): ... and move here
4878 (isTextAt): make it const
4880 * buffer.C (getLists): ws cleanup
4882 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4884 * language.C (read): Use iso8859-1 encoding in latex_lang
4885 (this prevents LyX from crashing when using iso10646-1 encoding).
4887 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4889 * text2.C (toggleInset): if cursor is inside an inset, close the
4890 inset and leave cursor _after_ it
4892 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4894 * lyxfunc.C: move minibuffer completion handling out of here
4896 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4898 * BufferView_pimpl.C:
4899 * LaTeX.C: fix dispatch calls
4901 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4903 * text.C (drawChars): Fix Arabic text rendering.
4905 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4909 * lyxfunc.C: remove message-push/pop
4913 * lyxfunc.C: rationalise some code by removing verboseDispatch
4914 in favour of a bool argument to dispatch()
4916 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4918 * lyx_main.C (init): make sure to read symlinks as absolute paths
4920 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4923 * lyxfunc.C: no need for commandshortcut to be a member
4925 2002-07-15 André Pönitz <poenitz@gmx.net>
4927 * converter.C: add support for $$s (scripts from lib/scripts dir)
4928 * lyx_main.C: white space
4930 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4934 * lyxrc.C: remove second exit confirmation
4936 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4941 * BufferView_pimpl.h:
4942 * BufferView_pimpl.C:
4943 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4945 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4947 * MenuBackend.C (expand): add numeric shortcuts to document menu
4949 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4951 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4953 * lyxfont.C (setLyXFamily):
4960 * buffer.C (asciiParagraph): use ascii_lowercase
4962 2002-07-15 Mike Fabian <mfabian@suse.de>
4964 * lyxlex_pimpl.C (search_kw):
4965 * lyxlex.C (getLongString):
4966 * converter.h (operator<):
4967 * converter.C (operator<):
4968 * buffer.C (parseSingleLyXformat2Token):
4970 * ToolbarDefaults.C (read):
4971 * MenuBackend.C (checkShortcuts):
4973 * LColor.C (getFromGUIName):
4974 (getFromLyXName): use the compare_ascii_no_case instead of
4975 compare_no_case, because in turkish, 'i' is not the lowercase
4976 version of 'I', and thus turkish locale breaks parsing of tags.
4978 2002-07-16 Angus Leeming <leeming@lyx.org>
4980 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4981 now takes a Buffer const & argument.
4983 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4985 * BufferView.C (resize): check there's a buffer to resize
4987 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4989 * lyxfunc.C: remove dead code
4992 * lyxserver.C: use lyx_guii::set_read_callback
4994 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4996 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4997 an inset in a RTL paragraph.
4999 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5001 * lyxfunc.C: repaint after a font size update
5003 2002-07-15 André Pönitz <poenitz@gmx.net>
5005 * lyxlength.C: inBP should be able to return negative values
5007 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5009 * lyxfunc.C: use lyx_gui::update_fonts()
5011 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5013 * lyxfunc.C: use lyx_gui::update_color()
5015 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5021 * lyxrc.C: remove file->new asks for name option, and let
5022 buffer-new take an argument
5024 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5026 * BufferView_pimpl.C: remove unneeded extra repaint()
5028 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5030 * LyXAction.C: allow command-sequence with NoBuffer
5032 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5034 2002-07-10 Angus Leeming <leeming@lyx.org>
5036 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5038 2002-07-09 Angus Leeming <leeming@lyx.org>
5040 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5042 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5044 * lengthcommon.h: whitespace
5046 * lyxfunc.C: update scrollbar after goto paragraph
5048 * lyxtext.h: factor out page break drawing, and fix it so
5049 page break/added space paints as selected nicely
5051 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5053 * BufferView_pimpl.C: add FIXMEs, clean up a little
5055 2002-07-09 André Pönitz <poenitz@gmx.net>
5057 * lyxfont.[Ch]: support for wasy symbols
5059 2002-07-08 André Pönitz <poenitz@gmx.net>
5061 * BufferView_pimpl.C: apply John's patch for #93.
5063 2002-07-05 Angus Leeming <leeming@lyx.org>
5065 * BufferView_pimpl.C (buffer): generate previews if desired.
5067 * LColor.h: add "preview" to the color enum.
5069 * LColor.C (LColor): add a corresponding entry to the items array.
5071 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5074 2002-07-05 Angus Leeming <leeming@lyx.org>
5076 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5077 The body of the code is now in the method that is passed an ostream &
5078 rather than a file name.
5079 Pass an additional only_preamble parameter, useful for the forthcoming
5082 2002-07-03 André Pönitz <poenitz@gmx.net>
5084 * lyxfunc.C: simplify getStatus() a bit for math stuff
5086 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5088 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5090 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5092 * text.C (changeRegionCase): do not change case of all the
5093 document when region ends at paragraph end (bug #461)
5095 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5097 * paragraph.C (startTeXParParams):
5098 (endTeXParParams): add \protect when necessary
5100 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5102 * BufferView_pimpl.C (workAreaExpose): remove warning
5104 2002-06-27 Angus Leeming <leeming@lyx.org>
5106 * Makefile.am: add lyxlayout_ptr_fwd.h.
5108 2002-06-26 André Pönitz <poenitz@gmx.net>
5110 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5112 2002-06-25 Angus Leeming <leeming@lyx.org>
5114 * lyxfunc.C (dispatch): Comment out the call to
5115 grfx::GCache::changeDisplay. The method no longer exists now that the
5116 pixmap generation part of the graphics loader has been moved into
5119 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5121 * text2.C: layout as layout
5123 * text.C: layout as layout
5125 * tabular.C (OldFormatRead): layout as layout
5127 * paragraph_pimpl.C (TeXDeeper): layout as layout
5128 (realizeFont): layout as layout
5130 * paragraph.C (writeFile): layout as layout
5131 (validate): layout as layout
5132 (getFont): layout as layout
5133 (getLabelFont): layout as layout
5134 (getLayoutFont): layout as layout
5135 (breakParagraph): layout as layout
5136 (stripLeadingSpaces): layout as layout
5137 (getEndLabel): layout as layout
5138 (getMaxDepthAfter): layout as layout
5139 (applyLayout): layout as layout
5140 (TeXOnePar): layout as layout
5141 (simpleTeXOnePar): layout as layout
5142 (TeXEnvironment): layout as layout
5143 (layout): layout as layout
5144 (layout): layout as layout
5146 * lyxtextclass.C (compare_name): new functor to work with
5147 shared_ptr, layout as layout
5148 (Read): layout as layout
5149 (hasLayout): layout as layout
5150 (operator): layout as layout
5151 (delete_layout): layout as layout
5152 (defaultLayout): layout as layout
5154 * lyxlayout_ptr_fwd.h: new file
5156 * lyxlayout.C (Read): layout as layout
5158 * lyx_cb.C (MenuInsertLabel): layout as layout
5160 * bufferlist.C (newFile): layout as layout
5162 * buffer.C (readLyXformat2): layout as layout
5163 (parseSingleLyXformat2Token): layout as layout
5164 (insertStringAsLines): layout as layout
5165 (asciiParagraph): layout as layout
5166 (latexParagraphs): layout as layout
5167 (makeLinuxDocFile): layout as layout
5168 (simpleLinuxDocOnePar): layout as layout
5169 (makeDocBookFile): layout as layout
5170 (simpleDocBookOnePar): layout as layout
5171 (getLists): layout as layout
5173 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5175 * CutAndPaste.C (cutSelection): layout as layout
5176 (pasteSelection): layout as layout
5177 (SwitchLayoutsBetweenClasses): layout as layout
5179 * BufferView_pimpl.C (Dispatch): layout as layout
5180 (smartQuote): layout as layout
5182 * BufferView2.C (unlockInset): layout as layout
5184 2002-06-24 André Pönitz <poenitz@gmx.net>
5186 * lyxfunc.C: fix #487
5188 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5192 * lyxfunc.C: remove display_shortcuts, show_banner
5194 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5196 * Buffer_pimpl.C: oops, update on resize
5198 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5205 * BufferView.C: use repaint()
5207 * BufferView_pimpl.h:
5208 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5209 as it's a clearer description. Remove superfluous
5212 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5214 * text.C: fix bug 488. Not ideal, but getting
5215 getWord() to work properly for the insets that
5216 matter is more difficult ...
5218 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5220 * BufferView_pimpl.C:
5223 * lyxfunc.C: remove the six million index lyxfuncs to just
5224 one, and DTRT (bug 458)
5226 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5230 * BufferView_pimpl.h:
5231 * BufferView_pimpl.C: clean up resize() stuff,
5232 and unnecessary updateScreen()s
5234 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5238 * BufferView_pimpl.h:
5239 * BufferView_pimpl.C:
5242 * minibuffer.C: remove focus management of workarea,
5243 not needed. Use screen's greyOut()
5245 2002-06-17 Herbert Voss <voss@lyx.org>
5247 * converter.C: (convert) do not post a message, when converting
5248 fails, let the calling function decide what to do in this case
5250 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5252 * lyxfunc.C: tidy up a little
5254 2002-06-16 <alstrup@diku.dk>
5256 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5257 Got rid of FORMS_H_LOCATION include. Now we are
5260 2002-06-15 LyX Development team <lyx@rilke>
5262 * buffer.[Ch] (sgmlOpenTag):
5263 (sgmlCloseTag): Added support for avoiding pernicious mixed
5264 content. Return number of lines written.
5267 (makeDocBookFile): Fixed calls to sgml*Tag.
5268 Simple white space clean.
5270 (simpleDocBookOnePar): Simple white space clean.
5272 * tabular.[Ch] (docBook): Renamed to docbook and got another
5273 argument to related with the pernicious mixed content.
5275 (docbookRow): Fixed calls for docbook inset method.
5277 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5279 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5280 so it's X11 independent.
5284 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5286 2002-06-15 Lyx Development team <lyx@electronia>
5288 * intl.h: Renamed getTrans to getTransManager.
5290 2002-06-14 Angus Leeming <leeming@lyx.org>
5292 * Makefile.am: nuke forgotten stl_string_fwd.h.
5294 2002-06-12 Angus Leeming <leeming@lyx.org>
5296 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5298 2002-06-13 Angus Leeming <leeming@lyx.org>
5301 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5303 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5305 * kbmap.C (getiso): add support for cyrillic and greek
5307 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5311 * BufferView_pimpl.h:
5312 * BufferView_pimpl.C: move bogus scrolling logic
5315 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5318 * BufferView_pimpl.C: view->resize() change
5320 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5322 * BufferView_pimpl.C: topCursorVisible
5325 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5329 * lyx_gui.C: move to frontends/
5333 * lyx_main.C: changes from above
5335 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5342 * lyx_main.C: minor tidy
5344 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5346 * BufferView_pimpl.h:
5347 * BufferView_pimpl.C:
5349 * BufferView.C: make painter() const,
5352 * BufferView2.C: use screen() accessor
5355 * lyx_main.C: some minor cleanup
5357 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5359 * BufferView_pimpl.h:
5360 * BufferView_pimpl.C: remove enter/leaveView,
5363 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5368 * BufferView_pimpl.h:
5369 * BufferView_pimpl.C: only construct screen once,
5372 * lyxrc.C: remove pointless comment
5374 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5377 * BufferView.C: remove active() and belowMouse()
5379 * BufferView_pimpl.h:
5380 * BufferView_pimpl.C: use workarea() not workarea_,
5381 and make it use a scoped_ptr instead
5383 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5385 * lyx_gui.C: add debug message on BadWindow
5387 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5389 * sp_spell.C: fdopen is not part of the C++ standard.
5391 * paragraph.C (InsetIterator): use >= instead of ==
5393 2002-06-07 Angus Leeming <leeming@lyx.org>
5395 Fixes needed to compile with Compaq cxx 6.5.
5396 * BufferView_pimpl.C:
5403 * lyxtextclasslist.C:
5408 all c-library variables have been moved into namespace std. Wrap
5409 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5414 Add a using std::abs declaration.
5416 * kbmap.h (modifier_pair):
5417 * paragraph.h (InsetTable, InsetList):
5418 * lyxfont.h (FontBits):
5419 type definition made public.
5421 * bufferlist.C (emergencyWriteAll): the compiler complains that
5422 there is more than one possible lyx::class_fun template to choose from.
5423 I re-named the void specialisation as lyx::void_class_fun.
5425 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5427 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5428 the compiler is is unable to find tostr in write_attribute.
5430 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5432 * buffer.C (sgmlError): hide #warning
5434 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5436 * xtl/*: get rid of xtl, which is not in use anyway
5438 * LyXAction.C (init):
5439 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5440 were unimplemented xtl experimentation
5442 2002-06-04 André Pönitz <poenitz@gmx.net>
5444 * lyxfunc.C: disable array operation on simple formulae
5446 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5448 * converter.C: constify a bit
5450 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5452 * lyx_gui.C: check xforms version correctly
5454 2002-04-30 Herbert Voss <voss@lyx.org>
5456 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5459 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5461 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5462 attempt to register it with a VCS)
5464 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5466 * lyx_main.C (init): honor variables LYX_DIR_13x and
5469 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5473 * lyx_main.C: fix a crash on bad command line,
5474 and give a useful exit status on error
5476 * lyxfunc.C (doImport): allow -i lyx to work
5478 2002-03-30 André Pönitz <poenitz@gmx.net>
5480 * lyxfunc.C: mathed font changes
5482 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5497 * trans_mgr.h: srcdocs, and some minor cleanups
5499 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5501 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5502 call getFont all the time)
5504 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5506 * switch from SigC signals to boost::signals
5508 2002-05-29 André Pönitz <poenitz@gmx.net>
5510 * paragraph_pimpl.C (getChar): don't call size() too often...
5512 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5514 * paragraph_pimpl.C (insertChar): do not try to update tables when
5515 appending (pos == size())
5517 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5518 in order to reduce drastically the number of comparisons needed to
5519 parse a large document
5521 2002-05-29 André Pönitz <poenitz@gmx.net>
5527 * textclasslist.[Ch]:
5528 * sp_ispell.h: whitespace change
5530 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5532 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5533 lyxaction directly now.
5535 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5539 * lyxvc.C: remove unused headers
5541 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5548 * undo_funcs.C: some cleanups. Use shared_ptr
5549 and a template for the undo stacks.
5551 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5553 * BufferView_pimpl.h:
5554 * BufferView_pimpl.C:
5561 * text2.C: use key_state/mouse_state
5563 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5565 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5568 * chset.C: change include order
5569 (loadFile): use boost regex and get rid of LRegex and LSubstring
5571 * Makefile.am (BOOST_LIBS): new variable
5574 * LaTeX.C: change include order.
5575 (scanAuxFile): use boost regex and get rid of LRegex and
5579 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5584 * FontInfo.C: moved to frontends/xforms/
5587 * FontLoader.C: moved into frontends for GUIIzation
5592 * lyxfunc.C: changes from above
5594 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5596 * LColor.C: remove spurious X include
5598 * BufferView_pimpl.C:
5603 * text2.C: move font metrics to frontends/
5605 2002-05-24 Juergen Vigna <jug@sad.it>
5607 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5608 setting the undo_cursor.
5610 * ParagraphParameters.h: include local includes first.
5612 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5614 * BufferView_pimpl.C:
5615 * BufferView_pimpl.h:
5619 * screen.C: move WorkArea into frontends/
5625 * BufferView2.C: move LyXScreen into frontends/
5629 * lyx_gui.C: move lyxlookup into frontends/xforms/
5631 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5634 * BufferView_pimpl.C:
5644 * bufferview_funcs.C:
5657 * vc-backend.C: move LyX/XFormsView into frontends/
5659 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5671 * text2.C: move Painter to frontends/
5673 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5675 * buffer.C: comment out some some code that depend upon lyx_format
5678 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5679 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5681 * buffer.h (NO_COMPABILITY): turn off compability
5683 * ColorHandler.C: include scoped_array.hpp
5685 * font.C: Use more specific smart_ptr header.
5688 * ShareContainer.h: ditto
5692 * BufferView_pimpl.h: ditto
5693 * ColorHandler.h: ditto
5695 * kbmap.C (defkey): change call to shared_ptr::reset
5697 2002-05-21 Juergen Vigna <jug@sad.it>
5699 * buffer.C (insertErtContents): fix to insert ert asis if it is
5700 non empty. Skip it completely if it contains only whitespaces.
5702 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5704 * BufferView_pimpl.C:
5705 * BufferView2.C: clear selection on paste (bug 393)
5707 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5709 * DepTable.C: include ctime
5711 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5713 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5715 2002-05-14 Juergen Vigna <jug@sad.it>
5717 * text.C (breakParagraph): fixed function to honor the keepempty
5718 layout in the right maner and also to permit the right breaking
5719 algorithm on empty or non empyt keepempty paragraphs.
5721 * paragraph.C (breakParagraph): we have to check also if the par
5722 is really empty (!size()) for isempty otherwise we do the wrong
5725 2002-05-10 Juergen Vigna <jug@sad.it>
5727 * buffer.[Ch] : The following are only changes to the ert
5728 compatibility read reading old LaTeX layout and font stuff and
5729 convert it to ERTInsets.
5731 * buffer.h: added isErtInset().
5733 * buffer.C (struct ErtComp): add a fromlayout bool to check
5734 if we're inside a LaTeX layout.
5735 (isErtInset): new helper function.
5736 (insertErtContents): look for other ert insets before this one
5737 and insert the contents there, so that we don't have subsequent
5738 ERT insets with nothing between them. This way we create only one
5739 inset with multiple paragraphs. Also check if we don't insert only
5740 spaces ' ' as they are ignored anyway afterwards in the .tex file
5741 so if we have only spaces we will ignore this latex part in the
5743 (parseSingleLyXformat2Token \\layout): better compatibility when
5744 reading layout-latex stuff.
5745 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5747 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5748 stuff after reading the inset only get the information back from
5751 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5753 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5755 * LaTeXFeatures.C (getBabelOptions): New method.
5757 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5759 * BufferView_pimpl.C (Dispatch): work around missing argument for
5762 2002-05-08 Juergen Vigna <jug@sad.it>
5764 * text.C (leftMargin): handle paragraph leftindent.
5766 * paragraph.C (writeFile): write the new \\leftindent tag.
5767 (validate): handle leftindent code.
5768 (TeXEnvironment): handle paragraphleftindent code again.
5770 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5772 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5773 for paragrap_extra indent code and new token \\leftindent.
5774 (latexParagraphs): handle the leftindent as environment.
5776 * ParameterStruct.h: added leftindent support.
5778 * ParagraphParameters.C (leftIndent): added support functions for
5779 the paragraph left indent.
5781 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5784 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5786 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5789 * text.C (computeBidiTables): No bidi in insetERT.
5791 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5794 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5796 * version.C.in: pre 5
5798 2002-05-02 José Matos <jamatos@fep.up.pt>
5799 * buffer.C (makeDocBookFile): white space changes, add newline to
5801 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5803 * tabular.C (docBook): fix typo.
5805 2002-05-03 Juergen Vigna <jug@sad.it>
5807 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5808 change in LyXText as we can not be sure it was not freed.
5809 (drawOneRow): remove unused code.
5811 * text.C (drawInset): redo the calculation of the need_break_row as
5812 it could have a row which was already freed.
5813 (draw): look at the return value of drawInset and return false if
5814 it also returned false.
5815 (paintRowText): look at the return value of draw and return false if
5816 it also returned false.
5818 * lyxtext.h: added bool return type to drawInset() and draw() so that
5819 if we have a change in the row so that the rowbreak has to be redone
5820 we abort drawing as it will be called again.
5822 2002-05-02 Juergen Vigna <jug@sad.it>
5824 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5825 a change in the maintext also if we're inside an inset.
5826 (Dispatch): set the cursor again after a break line and after the
5827 screen has been updated as it could be we're in a different row.
5829 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5830 to set the cursor behind the pargraph with > size().
5831 (setCursor): check also for the same paragraph when checking where
5832 to put the cursor if we have a NFR inset.
5834 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5835 parts of layout read further up as it still was in the wrong
5838 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5840 * screen.C (drawFromTo): change sine fullRebreak always return
5843 * buffer.C (parseSingleLyXformat2Token): reindent some
5845 * BufferView_pimpl.C (update): change since fullRebreak always
5847 (Dispatch): git rid of the last hardcoded "Standard"s.
5849 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5851 * text2.[Ch] (fullRebreak): make it return void now that we always
5854 2002-04-30 Juergen Vigna <jug@sad.it>
5856 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5857 ert compatibility check for "latex" layout.
5859 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5861 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5862 minipages: use col% instead of p%, and also use the current font.
5863 (makeLaTeXFile): Fix use babel condition.
5864 (parseSingleLyXformat2Token): Correct font when reading old floats.
5866 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5868 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5869 inserting list of floats.
5871 2002-04-25 Herbert Voss <voss@lyx.org>
5873 * MenuBackend.C (expand): don't add the graphics extensions to the
5876 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5878 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5879 non-existing layout, do not complain if it was the default layout
5880 of the original class (bug #342)
5882 2002-04-24 Juergen Vigna <jug@sad.it>
5884 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5885 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5887 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5889 * buffer.C (getBibkeyList): If using \bibliography, return the
5890 option field with the reference itself. Enables us to provide natbib
5891 support when using \bibliography.
5893 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5895 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5897 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5898 natbib is provided by the LaTeX class.
5900 2002-04-23 Juergen Vigna <jug@sad.it>
5902 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5905 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5907 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5909 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5911 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5912 ensuremath around textordmasculine, textordfeminine and
5915 2002-04-19 Juergen Vigna <jug@sad.it>
5917 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5918 reinitializing the buffer otherwise row-dimensions may be wrong.
5919 (update): reset also the selection cursors if they do exits otherwise
5920 their x/y positions may be wrong.
5922 * text2.C (cursorDown): don't enter the inset if we came from a row
5923 above and are one row over the inset.
5925 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5926 really leaving an inset.
5928 2002-04-18 Juergen Vigna <jug@sad.it>
5930 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5931 of the selected paragraph does not have the selected layout also if
5934 * text2.C (setLayout): fixed bug which did not change last selected
5937 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5938 changed the read and substituted \\end_float with \\end_inset!
5940 * BufferView_pimpl.C (cursorPrevious):
5941 (cursorNext): fixed to make it work with rows heigher than the work
5942 area without moving the cursor only the draw of the row.
5943 (workAreaMotionNotify): fix jumping over high rows.
5945 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5947 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5950 2002-04-16 Juergen Vigna <jug@sad.it>
5952 * text2.C (setCursor): set also the irow().
5953 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5955 (cursorDown): support for locking an inset if the x_fix value goes
5956 inside it. That way I can transverse insets too with cursor up/down.
5958 * lyxrow.h: added irow helper function same as other (i) functions.
5960 * BufferView_pimpl.C (cursorPrevious):
5961 (cursorNext): fixed for insets!
5963 2002-04-15 Juergen Vigna <jug@sad.it>
5965 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5966 position otherwise it is wrong in some cases.
5968 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5969 inside the inset before the call.
5971 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5973 * buffer.[Ch] (getBibkeyList): make it const.
5975 2002-04-12 Juergen Vigna <jug@sad.it>
5977 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5979 * text2.C (getCursorX): new helper function
5980 (setCursor): compute also ix_
5981 (setCursorFromCoordinates): set also ix.
5983 * lyxcursor.h: added ix_ and helper functions.
5985 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5987 * buffer.C (insertStringAsLines): dont break paragraph if the this
5988 paragraph is inside an inset which does not permit it!
5990 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5991 also with no chars on this paragraph.
5992 (paintRowText): only paint stuff if it's inside the workarea!
5994 * paragraph.C (breakParagraph): honor keepempty flag and break the
5995 paragraph always below not above.
5997 * BufferView2.C (unlockInset): update the paragraph layout on inset
5998 unlock as we changed paragraph in such a case.
6000 * lyxfind.C (LyXFind): clear the former selection if not found!
6002 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6003 again called in insertChar().
6005 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6006 an inset which uses the whole row!
6007 (rightMargin): ditto.
6008 (insertChar): force a rebreak if we inserted an inset!
6010 2002-03-28 Herbert Voss <voss@lyx.org>
6012 * lyxlength.[Ch]: add inBP() to get the right PS-point
6013 units (BigPoint). With inPixels we have rounding errors
6015 2002-04-11 Juergen Vigna <jug@sad.it>
6017 * text2.C (setCursorFromCoordinates): set iy to the right value.
6018 (setCursor): add check if row->previous exists!
6020 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6021 an old float_type as this was the case in the old code!
6023 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6025 * BufferView2.C (showLockedInsetCursor): use iy
6026 (fitLockedInsetCursor): ditto
6028 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6029 locked insets as there we have the right value now.
6031 * lyxcursor.C: added iy_ variable and iy functions to set to the
6032 baseline of cursor-y of the locked inset.
6034 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6035 (setCursor): fixed for insets which need a full row.
6037 * text.C (rowLastPrintable): don't ignore the last space when before
6038 an inset which needs a full row.
6039 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6040 as last character of a row when before a inset which needs a full row.
6042 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6044 * version.C.in: update date
6046 * text2.C (fullRebreak): try to always return true and see what
6049 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6051 * MenuBackend.C (expand): use Floating::listName
6053 * FloatList.C (FloatList): add listName argument to the built-in
6056 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6057 text associated with the float.
6059 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6061 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6063 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6065 * ShareContainer.h: add a couple of missing typenames.
6067 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6069 * lyxrc.C (getDescription): use _() correctly rather than N_().
6071 2002-03-28 Herbert Voss <voss@lyx.org>
6073 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6074 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6076 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6078 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6079 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6081 2002-03-29 Juergen Vigna <jug@sad.it>
6083 * lyxfunc.C (dispatch): add a missing fitCursor call.
6085 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6086 it was scrolled by a cursor move, so return the bool status.
6088 * BufferView.C (fitCursor): return the bool flag also to the outside
6089 world as this is needed.
6091 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6093 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6094 call the edit() as it is not needed (and wrong) IMO.
6095 (workAreaButtonPress): set the screen_first variable before evt.
6096 unlock the inset as this may change screen_first and then we have
6097 a wrong y position for the click!
6099 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6101 * MenuBackend.C (expand): another translation that I missed
6103 2002-03-28 Juergen Vigna <jug@sad.it>
6105 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6107 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6109 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6111 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6113 * MenuBackend.C (expand): fix export/view/update when there is no
6116 2002-03-27 Herbert Voss <voss@lyx.org>
6118 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6121 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6123 * bufferview_funcs.C (currentState): only show paragraph number
6124 for is DEVEL_VERSION is set.
6126 * lyxfunc.C (dispatch): put warning in INFO channel
6128 * MenuBackend.C (expand): translate the name of floats
6130 * FloatList.C (FloatList): mark the float names for translation
6132 * converter.C (convert): use LibScriptSearch
6134 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6136 * MenuBackend.C (defaults): fix default menu (we might as well get
6139 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6141 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6144 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6146 * lyxvc.C: reorder includes.
6148 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6150 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6153 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6155 * CutAndPaste.C: change layouts earlier on paste
6156 to avoid crashing when calling getFont()
6158 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6160 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6163 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6165 * WorkArea.C: remove 'Pending' debug message.
6167 * most files: ws cleanup
6169 * buffer.[Ch]: ws changes
6171 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6173 2002-03-21 Juergen Vigna <jug@sad.it>
6175 * tabular.C (SetMultiColumn): collapse also the contents of the
6176 cells and set the last border right. Added a Buffer const * param.
6178 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6180 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6183 2002-03-19 Juergen Vigna <jug@sad.it>
6185 * text2.C (clearSelection): reset also xsel_cache.
6187 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6188 where it needs to be called (John tells us to do so too :)
6189 (selectionLost): reset sel_cache.
6191 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6193 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6195 * text2.C (setCursorIntern): put debuging code in INSETS channel
6197 2002-03-19 André Pönitz <poenitz@gmx.net>
6199 * lyxfunc.C: tiny whitespace change
6201 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6203 * ToolbarDefaults.C (init):
6204 * LyXAction.C (init):
6206 * BufferView_pimpl.C (Dispatch):
6207 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6209 2002-03-19 Allan Rae <rae@lyx.org>
6211 * exporter.C (Export): removeAutoInsets before doing anything else.
6212 While I've just introduced a dependency on BufferView this really is
6213 the best place to clean the buffer otherwise you need to cleanup in
6214 a dozen places before calling export or cleanup in a dozen functions
6217 * converter.C (runLaTeX):
6218 (scanLog): Better handling of removeAutoInsets and screen updates.
6220 * lyxfunc.C (dispatch): small whitespace changes
6222 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6224 * WorkArea.C (C_WorkAreaEvent): return a value.
6225 (event_cb): return 1 if we handled the event, 0 otherwise.
6227 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6229 2002-03-18 Juergen Vigna <jug@sad.it>
6231 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6232 (GetAdditionalWidth): ditto.
6236 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6237 inset if we're there actually (probably not used right now but this
6238 is the direction to go for unifying code).
6239 (paste): disable code to clear the selection.
6241 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6242 inside an InsetText and move the check further up as it is in the
6245 * text2.C (pasteSelection): set a selection over the pasted text.
6247 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6249 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6250 and libgraphics to build on Cygwin.
6252 2002-03-15 Juergen Vigna <jug@sad.it>
6254 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6255 inserting an Inset into the paragraph. I know this is not the best
6256 fix but we already use current_view in CutAndPaste so we will remove
6257 all of it's using at the same time.
6259 * buffer.C (sgmlError): deactivated function till it is rewritten in
6260 the right mode, now it can create problems.
6262 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6263 before accessing it.
6265 2002-03-14 Juergen Vigna <jug@sad.it>
6267 * undo_funcs.C (textHandleUndo): do the right thing when updating
6268 the inset after the undo/redo.
6270 * text2.C (setCursor): just some testcode for #44 not ready yet.
6272 * undo_funcs.C (textHandleUndo): set the next() and previous()
6273 pointers of the paragraph to 0 before deleting otherwise we have
6274 problems with the Paragraph::[destructor].
6276 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6277 on a paragraph insertion.
6279 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6281 * buffer.C (asciiParagraph): use += operator for char append to
6284 * paragraph.C (getFontSettings): compare >= not just >
6285 (highestFontInRange): ditto
6288 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6290 * paragraph.C: change several algorithm to be more appripriate for
6291 the problem domain. This is lookip in FontList and in the InsetList.
6293 2002-03-13 André Pönitz <poenitz@gmx.net>
6296 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6298 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6303 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6305 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6307 * Painter.C (display): anon helper function, adjust code for this
6309 (pixmap): remove function.
6311 * Painter.h: remove private display variable.
6313 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6315 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6317 * WorkArea.[Ch]: remove figinset_canvas cruft.
6319 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6321 * lyxtextclass.C (operator): add one item cache optimization.
6323 * bufferlist.h: doxy changes
6325 * bufferlist.C: ws changes
6327 * DepTable.[Ch] (ext_exist): place const in the right spot.
6329 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6331 (workAreaExpose): call resizeInsets when the with BufferView changes.
6332 (Dispatch): adjust for protectedBlank removal
6333 (specialChar): call updateInset if the insert went ok.
6335 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6336 specialChar instead.
6338 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6340 * BufferView.h: doxy change
6342 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6344 * lyxtextclass.C (operator[]): remove non-const version
6345 (defaultLayout): remove non-const version
6347 2002-03-12 Juergen Vigna <jug@sad.it>
6349 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6350 did resize the LyXText too.
6352 * buffer.C (readLyXformat2): set layout information on newly allocated
6355 * tabular.C (OldFormatRead): set layout information on the paragraph.
6357 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6359 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6361 2002-03-11 Juergen Vigna <jug@sad.it>
6363 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6365 (resizeCurrentBuffer): force also the insets to resize themselfes.
6366 (moveCursorUpdate): fixed up for InsetText.
6368 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6371 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6372 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6373 value of Dialogs::tooltipsEnabled().
6374 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6376 2002-03-08 Juergen Vigna <jug@sad.it>
6378 * BufferView_pimpl.C (updateInset): update inset inside inset also
6379 if it isn't inside theLockingInset().
6381 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6383 * buffer.C (asciiParagraph): redo some of the word and line length
6385 (getLists): look for Caption instead of caption.
6387 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6389 * buffer.C (Buffer): initialize niceFile to true
6392 (makeDocBookFile): make sure niceFile is true on exit
6394 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6396 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6398 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6400 * LyXSendto.C: remove.
6401 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6402 * lyx_gui.C: remove now-redundant comment.
6403 * ColorHandler.h: remove forward declaration of class WorkArea.
6404 * lyxfunc.C: remove #include "WorkArea.h".
6406 2002-03-07 Juergen Vigna <jug@sad.it>
6408 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6409 got moved away with the DEPM and also set the inset_owner always
6410 right which before could have been omitted.
6412 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6414 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6415 wanted layout is not found.
6417 2002-03-07 Juergen Vigna <jug@sad.it>
6419 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6421 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6423 * paragraph.C (breakParagraph): use default layout not layout of
6425 (Paragraph): clear ParagraphParameters.
6427 2002-03-06 Juergen Vigna <jug@sad.it>
6429 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6430 otherwise it would not be a valid lenght. Fixed a special case in
6431 the minipage compatibility read where we end the document with a
6434 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6435 was set as it could be 0 for InsetTexts first entry.
6437 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6439 * paragraph.C (writeFile): if layout is empty write out
6440 defaultLayoutName().
6442 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6443 file without named layout we set layout to defaultLayoutName().
6445 2002-03-06 Juergen Vigna <jug@sad.it>
6447 * CutAndPaste.C (copySelection): set layout for new paragraph.
6449 * text.C (prepareToPrint): leave ERT inset left aligned
6450 (leftMargin): don't indent paragraphs inside ERT insets
6452 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6454 * paragraph.C (breakParagraph): dont call clear do the work manually
6456 * paragraph.[Ch] (clear): remove function
6458 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6460 * paragraph.C (Paragraph): dont call clear, the work has already
6463 * lyxtextclass.C (operator): assert if n is empty
6465 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6466 work manually instead.
6468 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6470 * BufferView_pimpl.C: protect selectionLost against text == 0
6472 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6474 * text.C (breakParagraph): fix a setting layout to '0' problem.
6476 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6478 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6479 final location of file, for the included files, and graphics.
6481 2002-03-05 Juergen Vigna <jug@sad.it>
6483 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6485 2002-03-04 Juergen Vigna <jug@sad.it>
6487 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6489 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6490 last column of multicolumn cells.
6491 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6493 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6495 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6496 file if it doesn't go to a temporary file.
6498 * buffer.C (sgmlOpenTag):
6499 (sgmlCloseTag): remove extra newline insertion.
6501 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6503 * text.C (getRowNearY): comment out debug msg
6505 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6507 * text2.C: first -> first_y
6509 * text.C (getRowNearY): add some attemts at a possible
6510 optimization, not working.
6512 * tabular.[Ch]: add BufferParams to several function so that newly
6513 created paragraph can be initialized to he default layotu for the
6516 * tabular-old.C (ReadOld): add buf->params to call of Init
6518 * screen.C: rename text->first to text->first_y
6520 * paragraph.C (breakParagraph): always set layout in the broken
6523 * lyxtextclass.C (Read): remove lowercase
6526 (delete_layout): ditto
6528 * lyxtext.h: rename first -> first_y
6530 * lyxlayout.C (Read): remove lowercase
6533 (obsoleted_by): ditto
6535 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6537 * buffer.C (insertErtContents): add params are to InsetERT
6538 (parseSingleLyXformat2Token): add code to check if a paragraphs
6539 layout really exist.
6540 (parseSingleLyXformat2Token): add params to several inset
6542 (asciiParagraph): remove lowercase, do the layout comparisons with
6545 * BufferView_pimpl.C (cursorNext): first -> first_y
6546 (resizeCurrentBuffer): first -> first_y
6547 (updateScrollbar): first -> first_y
6548 (scrollCB): first -> first_y
6549 (workAreaMotionNotify): first -> first_y
6550 (workAreaButtonPress): first -> first_y
6551 (checkInsetHit): first -> first_y
6552 (cursorPrevious): first -> first_y
6553 (cursorNext): first -> first_y
6554 (Dispatch): add buffer_->params to severl inset contructors
6556 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6558 * lyxlayout.C (Read): remove some debug info that I forgot.
6560 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6561 clean up the code slightly.
6562 (makeLinuxDocFile): ditto
6563 (makeDocBookFile): ditto
6565 * text2.C: layout as string
6567 * text.C: layout as string
6569 * paragraph_pimpl.C: layout as string
6571 * paragraph.[Ch]: layout as string
6573 * lyxtextclasslist.[Ch]: layout as string
6575 * lyxtextclass.[Ch]: layout as string
6577 * lyxtext.h: layout as string
6579 * lyxlayout.[Ch]: layout as string
6581 * lyx_cb.C: layout as string
6583 * bufferview_funcs.C: layout as string
6585 * bufferparams.C: layout as string
6587 * buffer.C: layout as string
6589 * LyXView.[Ch]: layout as string
6591 * LaTeXFeatures.[Ch]: layout as string
6593 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6595 * BufferView_pimpl.C: change current_layout to string, remove
6600 (workAreaButtonRelease): layout as string
6602 * BufferView2.C (unlockInset): adjust
6604 * vspace.C (asLatexCommand): use an explict temp variable.
6606 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6608 * Makefile.am: use FRONTEND_*
6610 2002-03-01 Juergen Vigna <jug@sad.it>
6612 * tabular.C (SetWidthOfMulticolCell): changed to something better
6613 I hope but still work in progress.
6614 (recalculateMulticolumnsOfColumn): renamed function from
6615 recalculateMulticolCells as it is more appropriate now.
6616 (SetWidthOfCell): calculate multicols better.
6618 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6620 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6622 * lyxfunc.C (processKeySym): print sequence also if it is
6623 `deleted' (complete)
6625 * kbsequence.C (print): print sequence even if it is deleted
6626 (complete would be a better word, actually).
6628 * lyxfunc.C (dispatch): print complete options after a prefix key
6630 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6632 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6634 * text2.C (setCharFont): eliminate setCharFont code duplication.
6636 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6638 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6639 LFUN_TABULAR_FEATURE (bug #177)
6641 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6643 * Makefile.am: remove figure.h
6645 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6647 * Bufferview_pimpl.C:
6659 * text2.C: remove #include "lyx_gui_misc.h".
6661 * LaTeX.C: added #include <cstdio>
6663 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6665 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6666 that the paragraph following this one can have.
6668 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6670 * vspace.C (asLatexCommand): fix bogus gcc warning
6672 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6674 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6676 * text2.C (setLayout): get rid of redundant code
6678 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6680 * text2.C (incDepth): make sure depth cannot be increased beyond
6683 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6685 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6686 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6688 * PainterBase.h (image):
6689 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6692 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6696 * BufferView_pimpl.C:
6697 * BufferView_pimpl.h:
6717 * sp_spell.C: remove fig inset, and the crap house of
6718 cards that follows it
6720 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6726 * nt_defines.h: move .h into support/
6728 * vms_defines.h: remove
6730 * WorkArea.C: add space in debug output
6734 * buffer.C: add WITH_WARNINGS
6738 * bufferlist.C: s/retrive/retrieve/, add docs
6749 * lyxgui.C: add ID to X error handler
6751 * lyxtestclass.c: fix typo
6753 2002-02-26 Juergen Vigna <jug@sad.it>
6755 * tabular_funcs.C (write_attribute): changed so that some default
6756 attributes are not written at all.
6757 (getTokenValue): set default values before trying to read the
6758 value so we have the return value always set as default if we don't
6759 find the token we search for.
6761 * tabular.C (Write): write bools as bools not as strings!
6763 2002-02-22 Juergen Vigna <jug@sad.it>
6765 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6766 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6768 * text.C (leftMargin): don't add an indent for paragraphs inside
6769 tabular cells (fix #208).
6771 2002-02-21 José Matos <jamatos@fep.up.pt>
6773 * tabular.C (docBook): fixed support for long tables.
6775 2002-02-20 Juergen Vigna <jug@sad.it>
6777 * text2.C (getFont): get the drawing font of the Inset if this
6778 paragraph is inside an inset (only important for InsetERT for now).
6780 * buffer.C (insertErtContents): use new lanugage params in ERT
6783 * CutAndPaste.C: commenting out seemingly uneeded code.
6785 2002-02-19 Allan Rae <rae@lyx.org>
6787 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6788 Iterators might be simple to use but they also get invalidated.
6789 (removeAutoInsets): renamed saved cursor tracking variables and added
6790 some comments to clarify what everything does.
6792 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6799 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6800 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6803 * vc-backend.h: remove #include "support/syscall.h"
6807 * converter.C: rearrange #includes in Lars' approved fashion.
6809 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6810 forward declare class Timeout in the header file.
6812 * XFormsView.C: changes due to the above.
6814 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6817 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6818 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6820 2002-02-18 José Matos <jamatos@fep.up.pt>
6822 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6825 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6827 * a lot of small ws changes
6828 * add a lot of using std::XXX
6829 * use std construcs some places where approp.
6830 * use some exisint stuff from lyxfunctional where approp.
6831 * Make file changes to use partial linking (lets test this now...)
6833 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6837 remove #include "support/syscontr.h" as it's redundant. Always has been.
6845 change Systemcalls::System to Systemcalls::Wait and
6846 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6847 No change of functionality, just reflects the stripped down Systemcalls
6850 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6852 * debug.[Ch]: add a GRAPHICS type to the enum.
6854 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6856 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6858 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6861 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6863 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6864 match the changes below.
6866 * text2.C (toggleInset): if there is not editable inset at cursor
6867 position, try to see if cursor is _inside_ a collapsable inset
6870 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6872 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6873 document menu has a nice checkbox
6875 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6877 * lyxlength.C (asLatexString): change PW to output as percent of
6880 * lengthcommon.C: change '%' to 't%'
6882 * lyxfunc.C (dispatch): a few comments from Martin
6884 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6888 * BufferView_pimpl.h:
6889 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6892 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6894 * vspace.C (inPixels): fix compiler warning
6896 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6898 * lyxfunc.C (getStatus): fix status message for disabled commands.
6900 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6902 * BufferView_pimpl.C: fix crash on close buffer
6903 during selection (#227)
6905 2002-01-27 Herbert Voss <voss@lyx.org>
6907 * buffer.C: link old Figure to new graphic inset
6909 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6911 * FontLoader.C (getFontinfo): Change the latex font names in order
6912 to match the names of type1inst.
6914 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6916 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6918 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6921 (remove_files_with_extension): ditto
6922 (remove_file): ditto
6925 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6926 document is smaller than the work area height. Do not initialize
6927 static variables to 0.
6929 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6931 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6933 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6934 LFUN_LAYOUT_PARAGRAPHS.
6936 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6937 tabular. It is possible to provide a possible cell, which will
6938 typically be the actcell from the corresponding insettabular
6940 * lyxfunc.C (getStatus): small cleanup; disable
6941 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6944 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6946 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6948 * paragraph.C (startTeXParParams):
6949 (endTeXParParams): new methods. The LaTeX code to
6950 start/end paragraph formatting
6951 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6952 empty (fixes bug #200)
6954 * vspace.C (inPixels): adapt to the change below
6955 (inPixels): [later] more cleanups (remove unused variables)
6957 * lyxlength.C (inPixels): change to use a width and a height as
6960 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6962 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6963 Replaced with \paperwidth
6965 * DepTable.C (insert): add std:: qualifier
6967 2002-01-18 Allan Rae <rae@lyx.org>
6969 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6972 * text.C (drawInset): Turned out I didn't know enough about how
6973 rebreaking worked. This fixes most of the redraw problems. I see
6974 an occasional cursor trail when a line is broken now and the cursor
6975 placement can seem out by a few pixels also after a rebreak.
6977 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6979 * buffer.C (parseSingleLyXformat2Token): update because minipage
6980 width is now a LyXLength
6982 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6984 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6987 2002-01-17 Juergen Vigna <jug@sad.it>
6989 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6991 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6992 is set correctly and the inset is updated correctly.
6994 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6996 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6997 the beginning of the loop.
6999 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7001 * lyxrc.C: improve help for use_scalable_fonts
7003 2002-01-17 Allan Rae <rae@lyx.org>
7005 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7007 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7009 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7010 make sure to set their inset_owner to the right value (bug #171)
7012 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7015 * DepTable.C: Implement mtime checking to reduce time spent doing
7018 2002-01-16 Juergen Vigna <jug@sad.it>
7020 * tabular.C (GetAdditionalHeight): one of error fixed.
7022 * lyxrc.C (output): small fix in writing use_pspell.
7024 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7026 * sp_base.h: #include LString.h
7028 2002-01-16 Allan Rae <rae@lyx.org>
7030 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7031 Can someone check this please?
7033 * text.C (drawInset): It was possible that p.row would be removed by
7034 breakAgainOneRow upsetting a few other settings. There may be another
7035 small tweak possible by setting need_break_row = 0 when p.row has been
7036 removed but I don't know enough about the logic here.
7038 2002-01-15 Allan Rae <rae@lyx.org>
7040 * text.C (insertChar): removed conditional truism.
7042 * BufferView2.C (removeAutoInsets): More tweaks.
7043 cur_par_prev could be a stray pointer. Check for trailing empty line
7044 in case last line was cur_par and only had an error inset on it.
7046 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7048 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7051 * vc-backend.C (most methods):
7052 * exporter.C (Export):
7053 * converter.C (convert):
7055 * LyXSendto.C (SendtoApplyCB):
7056 * lyxfunc.C (dispatch):
7060 * lyx_cb.C (AutoSave):
7062 * BufferView_pimpl.C (MenuInsertLyXFile):
7063 * buffer.C (runChktex): use Buffer::filePath().
7065 * buffer.h: rename filename to filename_; rename filepath to
7066 filepath_ and make it private
7067 (filePath): new method
7069 * buffer.C (writeFile): use fileName()
7072 * lyx_main.C (init): fix starting of LyX when the binary is a
7073 link from so,ewhere else.
7075 * minibuffer.C: include <cctype> for isprint
7077 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7079 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7080 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7081 name clash with InsetCollapsable's width function.
7083 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7085 * lastfiles.C: include <iterator>
7087 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7089 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7092 * buffer.C (makeLaTeXFile): ditto.
7093 Also make loop operation more transparent.
7095 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7097 * ToolbarDefaults.C: remove trailing comma closing namespace.
7099 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7101 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7104 * trans.C (Load): comment out unused variable, allowed.
7106 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7108 * minibuffer.[Ch] (append_char): new method to recieve input from the
7109 drop-down completion browser. If a key was pressed, then recieve this
7110 char and append it to the existing string.
7111 (peek_event): modify the positioning data passed to the completion
7112 browser so that it can be placed above the minibuffer rather than below.
7113 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7115 * LyXAction.C (init): alloe error-next for readonly documents.
7117 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7120 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7122 * bufferlist.C (readFile): create the buffer _after_ checking that
7125 * lyxfunc.C (verboseDispatch): fix handling of arguments
7127 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7129 * lyxrc.C: use string::erase() instead of initializing to "".
7132 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7134 * BufferView_pimpl.h:
7135 * BufferView_pimpl.C:
7138 * text2.C: tell X when we have made a selection for copying
7140 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7142 * BufferView_pimpl.C (MenuInsertLyXFile):
7143 * lyxfunc.C (menuNew):
7145 (doImport): add shortcuts to directory buttons
7147 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7150 * lyxfunc.C (setStatusMessage):
7151 (getStatusMessage): new methods
7152 (getStatus):use setStatusMessage instead of setErrorMessage
7153 (dispatch): when function is disabled, set error message here
7154 [instead of in getStatus previously]
7156 * BufferView_pimpl.C (workAreaButtonRelease): update
7157 toolbar/menubar here too.
7159 2002-01-13 Allan Rae <rae@lyx.org>
7161 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7162 Now seems indestructible. Remaining task is to audit all other
7163 code affected by deleteEmptyParagraphMechanism. One small quirk
7164 left is that an empty document with an error in the preamble can
7165 be made to report an error but no error box appears. I don't know
7167 (removeAutoInsets): Improved comments.
7169 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7172 * Thesaurus.C: update for Aiksaurus 0.14
7174 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7176 * text2.C (firstParagraph): removed member function, all uses
7177 replaces with ownerParagraph
7178 (redoParagraphs): here
7180 (toggleAppendix): here
7181 * BufferView2.C (insertErrors): here
7182 (setCursorFromRow): here
7184 2002-01-13 Allan Rae <rae@lyx.org>
7186 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7187 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7188 There is still a way to segfault this although you may have to do this
7189 multiple times: Have an InsetERT with an unknown command in it.
7190 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7191 <down-arrow>, <Enter> again, View->DVI, BANG!
7193 * text2.C (setCursor):
7194 (deleteEmptyParagraphMechanism):
7195 * lyxtext.h (setCursor):
7196 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7197 Making use of the return value may help fix other bugs.
7199 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7201 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7203 * LyXView.C (updateMenubar): call MenuBar::update here
7204 (updateToolbar): but not here
7205 (showState): do not update toolbar/menubar
7207 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7208 should need to care about that.
7210 * lyxfunc.C (verboseDispatch): simplify a bit
7211 (getStatus): have a version which takes a pseudoaction, and
7212 another which requires a (kb_action,string).
7214 * LyXAction.C (retrieveActionArg): make it work also when action
7215 is not a pseudo-action.
7216 (getActionName): simplify a bit
7219 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7221 * lyxfunc.C (verboseDispatch): new families of methods with
7222 several ways to specify a command and a bool to indicate whether
7223 the command name and shortcut should be displayed in minibuffer
7224 (eventually, we could extend that to a finer bitmask like
7225 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7226 (dispatch): the pristine dispatch command which just, well,
7227 dispatchs! Note it still sets its result to minibuffer; I'm not
7230 * lyxfunc.h: remove setHintMessage
7232 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7234 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7236 * BufferView_pimpl.C (specialChar): delete new inset if we have
7237 not been able to insert it.
7239 * kbmap.C: revert to using int instead of kb_action, since all we
7240 are dealing with is pseudo-actions.
7242 * LyXAction.C (searchActionArg): change to return int instead of
7243 kb_action, since the result is a pseudoaction.
7245 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7247 * buffer.C (insertErtContents): Fix (partially) the font bug.
7249 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7251 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7252 as the other one is broken on my machine!
7254 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7257 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7259 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7261 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7262 reflect their actual use. Provide compatibility code for older lyxrc
7265 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7267 change names of popup font variables in line with the changes to lyxrc.C
7269 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7271 * buffer.C (asciiParagraph): avoid outputing a word twice after
7274 * lyxrc.C (getDescription): document that document_path and
7275 template_path can be empty.
7277 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7279 * LaTeXFeatures.C (getMacros):
7280 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7282 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7284 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7286 (getPackages): rename feature "floats" to "float". Use an array to
7287 iterate over 'simple' features (i.e. just a \usepackage). Add
7288 handling of "amsmath" (renamed from "amsstyle").
7290 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7292 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7295 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7297 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7298 FuncStaus::FuncStatus & FuncStaus::some_method().
7300 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7302 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7303 of the func_satus stuff. Edited and massaged in various ways by
7306 * lyxfunc.C (getStatus): use FuncStatus
7308 2002-01-08 Juergen Vigna <jug@sad.it>
7310 * text.C (nextBreakPoint): use function Inset::isChar().
7312 * paragraph.C (TeXOnePar): use function
7313 Inset::forceDefaultParagraphs.
7315 * buffer.C (latexParagraphs): use function
7316 Inset::forceDefaultParagraphs.
7318 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7320 * lyx_gui.C (init): set the style of the menu popups to
7321 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7323 2002-01-07 Juergen Vigna <jug@sad.it>
7325 * text.C (setHeightOfRow): small fix
7326 (prepareToPrint): don't look at alignment if we don't have the place
7329 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7331 * box.C: New file. Move the Box methods and functions out of box.h,
7332 following Lars' suggestion.
7334 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7336 * box.h: #include "support/LOstream.h", needed for inlined function.
7339 * lyxtextclasslist.C: added some using std declarations.
7341 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7343 * box.h: make signed dimensions to allow insets wider than
7344 the screen (bug #162)
7346 * BufferView_pimpl.C: add some insetHit debug
7348 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7350 * vc-backend.C: add FIXME
7352 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7354 * lyxfunc.C (getStatus): enable code for showing math font status
7357 2002-01-07 Juergen Vigna <jug@sad.it>
7359 * text.C (nextBreakPoint): removed debug output not needed anymore.
7361 2002-01-06 Juergen Vigna <jug@sad.it>
7363 * text.C (nextBreakPoint): fixed up this function we had this bug
7364 since ever but now hopefully we break row better.
7365 (insertChar): we have to check if an inset is the next char as it
7366 could now happen that a large inset is causing a break.
7368 2002-01-05 Juergen Vigna <jug@sad.it>
7370 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7371 if it doesn't like to be drawed.
7373 2002-01-04 Juergen Vigna <jug@sad.it>
7375 * BufferView2.C (lockInset): forgot to set a cursor.
7377 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7379 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7384 * form_maths_panel.C:
7385 * form_maths_panel.h:
7386 * form_maths_panel.fd: implemented sub- and super- buttons in math
7389 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7390 (or ^ space) to be used as in TeX (req'd by André).
7392 * lyxfunc.C: Allow ^ and _ again to be used both as
7393 super/subscript (mathed) and as themselves (in text).
7395 2002-01-03 Allan Rae <rae@lyx.org>
7397 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7398 "LyX" or the filename of the current buffer if it has one. This is a
7399 modified form of John Levon's patch.
7401 * XFormsView.C (setWindowTitle): also set icon title.
7403 * LyXView.h (setWindowTitle): signature changed.
7404 * XFormsView.h (setWindowTitle): ditto.
7406 2002-01-02 Juergen Vigna <jug@sad.it>
7408 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7410 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7412 * screen.C (topCursorVisible): introduce a temp var for
7413 text->cursor.row(), handle the case where this row is null. (kindo
7416 * text2.C (setCursor): add a couple of asserts.
7418 * paragraph.h (inset_iterator): add -> operator
7420 * paragraph.[Ch] (autoDeleteInsets): remove member function
7422 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7423 cursor pos correctly and handle inset deletion by itself.
7424 (insertErrors): move iterator declaration out of for expression
7426 * lyxtextclass.C: add <algorithm>
7428 * Makefile.am: added the new files to sources, removed layout.C
7430 * layout.C: removed file
7432 * layout.h: remove LYX_DUMMY_LAYOUT
7434 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7438 * lyxtextclass.[Ch]:
7439 * lyxtextclasslist.[Ch]: new files
7441 * include order changes to a lot of files, also changes because of
7444 2001-12-27 Juergen Vigna <jug@sad.it>
7446 * buffer.C (asciiParagraph): more fixes.
7448 * tabular.C (ascii): make ascii export support export of only the
7449 data separated by a column-delimiter.
7450 (ascii): better support for ascii export.
7452 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7454 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7456 * tabular_funcs.C: use a "using std::getline" instead of the
7457 previous fix from Angus (necessary for cxx + lyxstring)
7459 2001-12-24 Juergen Vigna <jug@sad.it>
7461 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7463 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7464 problems. First check a minipage also if we have some ert-contents
7465 (not only on par->size(), second set the right depth of the paragraph
7466 on the relink to the root-paragraph-list!
7468 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7469 which then did not anymore update the main paragraphs on undo/redo!
7471 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7473 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7474 code. Support all font-changing funcs (even those which are not in
7475 menu currently). Support for reporting font settings in
7476 mathed (disabled until Andre provides a function on mathed's side).
7478 * func_status.h (toggle): small helper function to set toggle
7481 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7483 * tabular_funcs.C: getline -> std::getline
7485 2001-12-21 Juergen Vigna <jug@sad.it>
7487 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7488 accessed and could be 0 (I couldn't generate this but it seems
7491 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7493 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7494 * tabular_funcs.h: here and include iosfwd
7496 2001-12-20 Juergen Vigna <jug@sad.it>
7498 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7499 inside inset but undo_par was.
7501 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7503 * Thesaurus.C: always include <config.h> in sources.
7507 * box.h: do not include <config.h> in header files
7509 * text.C (paintLastRow): remove unused variable
7511 * text.C (transformChar):
7513 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7516 * font.C (width): rewrite to use uppercase() instead of
7519 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7521 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7523 * lyxfind.C: clean up of find failure position change
7525 2001-12-20 Juergen Vigna <jug@sad.it>
7527 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7529 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7530 (TeXRow): added to LaTeX a single tabular row.
7531 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7532 (Latex): simplified and finally good LT-h/f support.
7533 (various_functions): just small adaptions for LT-h/f support.
7535 * tabular_funcs.[hC]: added and moved here all not classfunctions
7538 2001-12-19 Juergen Vigna <jug@sad.it>
7540 * tabular.[Ch]: better support for longtabular options (not finished
7543 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7545 * text.C (paintLastRow): use the label font instead of the font of
7546 the last character to compute the size of *_BOX. This makes more
7547 sense and avoids a crash with empty paragraphs.
7548 Use Painter::rectangle to draw EMPTY_BOX.
7550 2001-12-19 Juergen Vigna <jug@sad.it>
7552 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7553 the paragraphs if the replaced paragraph is not the first one!
7554 Tried to delete not used paragraphs but does not work yet so for
7555 now it's inside #ifdef's and by default off!
7557 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7559 * MenuBackend.C: include "lyx_main.h" instead of declaring
7560 lastfiles (actually was declared as LastFiles* instead of a
7563 2001-12-17 Juergen Vigna <jug@sad.it>
7565 * tabular.C (AppendColumn): applied John's fix
7567 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7571 * BufferView_pimpl.h:
7572 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7575 * box.h: new start of class for above
7577 * lyxfunc.C: ignore space-only minibuffer dispatches.
7578 Show the command name when it doesn't exist
7580 * minibuffer.C: don't add empty lines to the history
7582 * minibuffer.C: add a space on dropdown completion
7584 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7586 * text.C: fix line above/below drawing in insets
7588 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7590 * lyxlength.C (LyXLength): Initialize private variables.
7592 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7594 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7595 when inserting error insets.
7597 2001-12-13 Juergen Vigna <jug@sad.it>
7599 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7600 actually sometimes the before-paragraph.
7601 (setUndo): don't clear the redostack if we're not actually undoing!
7603 2001-12-06 Juergen Vigna <jug@sad.it>
7605 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7606 and fixed redoing of main paragraph, so we can use it now ;)
7608 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7610 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7612 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7615 2001-12-13 André Pönitz <poenitz@gmx.net>
7618 * undo_func.C: minor cleanup
7620 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7622 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7623 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7624 font in urw-fonts package which is marked as -urw-fontspecific and
7625 does not work (incidentally, changing the encoding in the
7626 fonts.dir of this package to -adobe-fontspecific fixes the
7629 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7630 is a crash when undoing first paragraph (Juergen, please take a
7631 look). THis does not mean the undo fix is wrong, just that it
7634 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7635 the (Paragraph*) version when needed instead of duplicating the
7638 * text.C (workWidth): use Inset::parOwner to find out where the
7639 inset has been inserted. This is a huge performance gain for large
7640 documents with lots of insets. If Inset::parOwner is not set, fall
7641 back on the brute force method
7643 * paragraph_pimpl.C (insertInset):
7644 * paragraph.C (Paragraph):
7645 (cutIntoMinibuffer): set parOwner of insets when
7646 inserting/removing them
7648 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7650 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7656 * mathed/formulabase.C:
7657 * mathed/math_cursor.[Ch]:
7658 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7661 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7663 * lyxlength.[Ch] (operator!=): new function
7665 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7667 * text.C (workWidth): use Inset::parOwner to find out where the
7668 inset has been inserted. This is a huge performance gain for large
7669 documents with lots of insets. If Inset::parOwner is not set, fall
7670 back on the brute force method
7672 * paragraph_pimpl.C (insertInset):
7673 * paragraph.C (Paragraph):
7674 (cutIntoMinibuffer): set parOwner of insets when
7675 inserting/removing them
7677 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7679 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7681 * tabular-old.C (getTokenValue):
7682 * tabular.C (getTokenValue):
7683 (write_attribute): new versions for LyXLength
7684 (everywhere): adjust the use of widths
7686 * tabular.h: change the type of widths from string to LyXLength
7688 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7690 * paragraph.C: fixed missing line number count when exporting
7691 Environments to LaTeX file
7693 * buffer.C: added informational message for checking line numbers.
7695 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7697 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7698 paragraph, do the 'double space' part, but not the 'empty
7701 * text.C (workWidth): small optimization
7702 (getLengthMarkerHeight): use minimal size for negative lengths.
7704 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7706 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7708 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7710 2001-12-11 André Pönitz <poenitz@gmx.net>
7713 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7715 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7717 * text2.C: keep selection on a setFont()
7719 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7721 * lyx_cb.C: another bv->text misuse, from insert label
7723 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7726 * kbsequence.C: re-instate nmodifier mask
7728 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7730 * lyx_main.h: make lyxGUI private.
7732 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7734 * lyxfind.C: place the cursor correctly on failed search
7736 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7738 * text.C (getLengthMarkerHeight): for small heights, the arrows
7739 are not always on top/bottom of the text
7740 (drawLengthMarker): smaller arrows; take the left margin in
7741 account; draw also vfills.
7743 (paintLastRow): remove special code for vfill and standard spaces,
7744 since everything is handled in drawLengthMarker now.
7746 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7748 * buffer.C (insertErtContents): try to handle font and language
7749 interaction a bit better.g
7751 * ColorHandler.C (updateColor): change the hash to cover the whole
7752 LColor enum, ws cleanup
7753 (getGCLinepars): ditto
7754 (getGCLinepars): only lookup in the linecache once.
7756 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7758 * iterators.C (operator++): Make the iterator more robust
7760 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7762 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7764 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7767 * text.C: better added space drawing
7769 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7772 * BufferView2.C: fix layout combo update on inset unlock
7774 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7776 * Makefile.am: don't compile unused files
7778 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7782 * LyXAction.C: remove old LFUN_LAYOUTNO
7784 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7786 * paragraph_pimpl.h:
7787 * paragraph_pimpl.C: isTextAt() doesn't need font param
7789 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7792 * lyxlex.C: little cleanup
7794 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7796 * BufferView_pimpl.C: fix insertAscii for insets
7798 2001-12-05 Juergen Vigna <jug@sad.it>
7800 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7801 set the right font on the "multi" paragraph paste!
7803 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7809 * lyxlength.C: remove out-commented code.
7825 * vc-backend.C: change "while(" to "while ("
7827 * lyxlength.[Ch]: add zero function to check if length is zero or
7829 * lyxgluelength.C: use it
7831 2001-12-05 Allan Rae <rae@lyx.org>
7833 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7834 Works for 2.95.3, from what I understand of Garst's reports this should
7835 work for other g++ versions. We're screwed if the abs(int) definition
7836 changed between bugfix releases of gcc.
7838 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7840 * text.C: fix chapter label offset !
7842 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7845 * text.C: fix hfill at end of line, clean up
7847 2001-12-04 Juergen Vigna <jug@sad.it>
7849 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7850 that we force an update of the inset and it's owners if neccessary.
7852 2001-12-03 Juergen Vigna <jug@sad.it>
7854 * text.C (rowLast): simplified code
7856 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7858 * lyxfunc.C: fix show options on timeout
7860 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7862 * screen.C (topCursorVisible): scroll half a page when the cursor
7863 reached top of bottom of screen
7865 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7867 * minibuffer.C: deactivate on loss of focus
7869 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7871 * vspace.[Ch] (operator!=): add operator.
7873 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7875 * BufferView_pimpl.C: refuse to open an inset when
7876 there's a selection.
7878 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7880 * BufferView_pimpl.C: allow to click on RHS of full row insets
7882 2001-11-30 Juergen Vigna <jug@sad.it>
7884 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7885 insets for undo reasons.
7887 2001-11-28 André Pönitz <poenitz@gmx.net>
7889 * vspace.[Ch]: cosmetical changes
7891 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7901 * kbsequence.C: part re-write of old kb code
7904 * WorkArea.C: remove Lgb_bug_find_hack
7906 2001-11-30 José Matos <jamatos@fep.up.pt>
7908 * buffer.C (makeDocBookFile): add a comment to point a hack.
7909 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7910 Fixed a double write of labels.
7912 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7915 * LaTeX.h Fixed bug in LaTeX class where it would not
7916 re-run latex if no depfiles were changed, but the .dvi was removed.
7918 2001-11-28 André Pönitz <poenitz@gmx.net>
7920 * all the files from the change on 2001/11/26:
7921 use lyx::layout_type instead of LyXTextClass::size_type
7922 use lyx::textclass_type instead of LyXTextClassList::size_type
7924 2001-11-29 Juergen Vigna <jug@sad.it>
7926 * text.C: added support for paragraph::isFreeSpacing()
7928 * buffer.C: same as above
7930 * paragraph.h: inserted isFreeSpacing() function to enable
7931 FreeSpacing inside InsetERT.
7933 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7934 of the paragraph's in the cut/copy buffer to 0!
7936 * text2.C (removeRow): remove the assert as it can!
7938 * lyxtext.h: added helper function firstRow returning firstrow and
7939 made firstrow private again.
7941 * BufferView2.C (lockInset): don't relock if we're already locked!
7943 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7945 (removeRow): added Assert::(firstrow)
7947 * debug.C: forgot to add INSETTEXT here.
7949 2001-11-28 Juergen Vigna <jug@sad.it>
7951 * sp_spell.C (initialize): changed error text to more general
7952 spellchecker command use (not only ispell!)
7954 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7956 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7958 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7960 * vspace.C: initialise lyxgluelength on failure
7962 2001-11-28 Allan Rae <rae@lyx.org>
7964 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7965 declaration & definition that looks like a function declaration.
7967 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7969 * BufferView2.C (copy):
7970 (copyEnvironment): do not clear the selection when doing a copy.
7972 * text.C (paintFirstRow): compilation fix
7974 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7976 * tabular.C (Latex): correct line count when writing latex.
7978 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7980 * paragraph_pimpl.h:
7981 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7984 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7988 * LColor.C: change vfillline->added_space
7990 * text.C: add markers and text for added space
7992 * vspace.C: fix comment
7994 2001-11-28 André Pönitz <poenitz@gmx.net>
7996 * paragraph.C: whitespace changes
7997 * all the other files from the change on 2001/11/26:
7998 change *::pos_type into lyx::pos_type
8000 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8002 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8003 language of the document when inserting error insets.
8005 2001-11-26 André Pönitz <poenitz@gmx.net>
8007 * BufferView_pimpl.[Ch]:
8015 * paragraph_pimpl.[Ch]:
8018 * text2.C: reduce header dependencies, introduce type for positions
8020 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8022 * <various>: change to use Alert.h
8024 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8026 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8027 when encountering an unknown token.
8028 (readLyXformat2): Show an error message if there were unknown tokens.
8030 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8033 * BufferView_pimpl.C:
8037 * text2.C: use par->isInset()
8039 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8041 * paragraph_pimpl.h:
8042 * paragraph_pimpl.C: cleanup
8044 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8046 * text2.C (removeRow):
8047 * text.C (setHeightOfRow): remove useless (and costly) call to
8050 2001-11-20 Allan Rae <rae@lyx.org>
8052 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8053 Now need Inset*::checkInsertChar() to return true for appropriate
8054 cases so that the characters in the minibuffer will actually be
8057 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8059 * text.C: change the order of the includes.
8060 (workWidth): initialize it at once.
8061 (workWidth): make maxw unsigned
8062 (setHeightOfRow): remove unused variable (inset)
8063 (selectSelectedWord): remove unused variable (inset)
8064 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8066 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8068 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8069 server is not running.
8071 (closeConnection): add debug info when server is disabled.
8073 * ColorHandler.C (getGCForeground): send debug message to GUI
8076 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8078 * kbmap.C (bind): modify because return conventions of
8079 kb_sequence::parse have changed.
8081 * kbsequence.C (parse): only ignore spaces and not any stupid
8082 control character. This avoids tests like s[i] <= ' ', which are
8083 guaranteed to fail with 8bit characters and signed chars.
8084 Change return code to string::npos when there have been no error
8085 (0 was a bad idea when error is at first character)
8087 2001-11-14 José Matos <jamatos@fep.up.pt>
8090 * buffer.C (simpleDocBookOnePar): removed unused argument.
8092 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8094 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8095 insets which are part of a word. Paragraph::isLetter takes care of
8096 that now. Use Paragraph::isInset to identify insets.
8097 (selectSelectedWord): do not test for hyphenation break.
8099 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8100 that protected spaces are considered as spaces.
8102 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8105 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8108 * lyxserver.C: fix it. and small cleanup.
8110 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8112 * BufferView_pimpl.C: use inline helpers
8115 * LaTeXFeatures.C: fix typos
8118 * Spacing.C: move spacing_string into class
8120 * ToolbarDefaults.C: move stuff into namespace anon
8122 * layout.h: update enum
8124 * lyxfunc.C: use better debug
8126 * minibuffer.h: fix typo
8130 * WorkArea.C: add and use Debug::WORKAREA
8134 * text2.C: code re-organisation, inline helpers
8136 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8138 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8139 std::vector.empty().
8141 2001-11-09 Allan Rae <rae@lyx.org>
8143 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8144 '\n's after tables. Tabular and ERT inset work now makes this no
8147 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8150 * minibuffer.C: fix crash, improve drop-down completion
8152 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8155 * lyxserver.C: invalidate fd's when doing endPipe()
8157 2001-11-08 José Matos <jamatos@fep.up.pt>
8159 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8160 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8163 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8165 2001-11-07 José Matos <jamatos@fep.up.pt>
8168 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8171 * buffer.C (sgmlOpenTag):
8172 * buffer.C (sgmlCloseTag): removed debug info.
8174 * buffer.h (sgmlOpenTag):
8175 * buffer.h (sgmlCloseTag): made public.
8177 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8179 * buffer.C (saveParamsAsDefaults):
8180 * lyx_cb.C (MenuLayoutSave): remove
8182 * LyXAction.C (init):
8184 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8186 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8188 * buffer.C (setPaperStuff): removed from here...
8190 * bufferparams.C (setPaperStuff): ... and moved there.
8192 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8196 * XFormsView.C: add support for drop-down completion
8198 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8200 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8203 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8205 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8208 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8210 * lyx_main.C: change ref to known bugs
8212 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8214 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8215 to work around older babel problems.
8217 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8219 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8221 2001-10-24 Juergen Vigna <jug@sad.it>
8223 * tabular-old.C (ReadOld): below variable changes reflected.
8225 * tabular.[Ch]: added ltType struct for longtable header/footer
8226 defines and changed all instances where they are used. Added
8227 future support for double top/bottom rows.
8229 2001-10-24 José Matos <jamatos@fep.up.pt>
8231 * buffer.h (docbookHandleCaption):
8232 * buffer.C (docbookHandleCaption): removed unused function.
8233 (makeDocBookFile): moved docbook supported version to v4.1.
8235 2001-10-24 José Matos <jamatos@fep.up.pt>
8238 * tabular.C (docbookRow): new function to export docbook code of a row.
8239 (DocBook): now honors the longtable flags.
8241 2001-10-23 José Matos <jamatos@fep.up.pt>
8244 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8245 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8247 * buffer.C (makeLinuxDocFile):
8248 (makeDocBookFile): reworked the preamble, more clean, and with
8249 support for lyx defined entities. Changed the document declaration
8250 to be more XML friendly.
8252 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8253 if we need to output XML that should be done with a filter.
8255 2001-10-22 Juergen Vigna <jug@sad.it>
8257 * sp_pspell.h (class PSpell): add alive function needed in the
8258 controller to see if the spellchecker could be started.
8260 2001-10-22 Juergen Vigna <jug@sad.it>
8262 * buffer.C (insertStringAsLines): modify the font for inserting
8263 chars in certain conditions by calling checkInsertChar(font).
8265 2001-10-19 Juergen Vigna <jug@sad.it>
8267 * text.C (workWidth): use getRow instead of wrong algorithm.
8268 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8270 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8275 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8277 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8279 * text.C (workWidth): do not search for the exact row when
8280 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8281 optimization for big documents.
8283 2001-10-18 Juergen Vigna <jug@sad.it>
8285 * text.C (workWidth): new function with added Inset * parameter.
8287 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8289 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8291 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8292 change return type of getColumnNearX.
8295 * text.C (changeRegionCase): use uppercase/lowercase instead of
8298 (rightMargin): simplify code by factoring out the uses of
8303 (appendParagraph): use Paragraph::size_type
8305 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8307 * vspace.C (asLatexString): add a missing break
8309 2001-10-15 Herbert Voss <voss@perce.de>
8311 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8313 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8315 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8318 2001-10-10 André Pönitz <poenitz@gmx.net>
8320 * lyxfunc.C: removed greek_kb_flag.
8322 2001-10-10 Herbert Voss <voss@perce.de>
8324 * lyx_main.C: delete global string help_lyxdir.
8326 2001-10-09 Herbert Voss <voss@perce.de>
8328 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8330 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8332 * lyx_main.C: added global string help_lyxdir.
8334 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8336 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8338 * lyxrc.C (set_font_norm_type): support iso8859-4
8340 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8342 * LaTeX.C (deplog): add another regex for MikTeX
8344 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8346 * lyxrc.C (set_font_norm_type): support iso8859-3
8348 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8350 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8352 * LaTeXFeatures.C: remove special case of french and index
8354 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8355 before \begin{document}). This solves several incompatibilities.
8357 2001-10-03 Garst Reese <reese@isn.net>
8359 * lyx_cb.C: change CheckTex error msg.
8361 2001-10-03 José Matos <jamatos@fep.up.pt>
8363 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8365 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8367 * .cvsignore: update
8369 * lyx_main.C (commandLineVersionInfo): use new style version info.
8371 * buffer.C (writeFile):
8374 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8376 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8378 * version.h: update to use stuff in version.C
8380 * version.C.in: new file. Contains version information determined
8381 at compile time. This is a merging of version.h and
8384 2001-10-03 Juergen Vigna <jug@sad.it>
8386 * BufferView_pimpl.C (update): don't change "dirty" status in
8389 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8391 * WorkArea.C (c-tor): re-position version string slightly.
8393 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8395 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8396 revert to previous code.
8398 WorkArea.[Ch]: (show, destroySplash): methods removed.
8400 WorkArea.C: rework code so that it's an amalgam of the codes before and
8401 after the splash screen was moved to WorkArea.
8403 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8406 * vspace.C (inPixels):
8409 * buffer.C (insertStringAsLines):
8410 (asciiParagraph): fix types to be large enough
8412 * lyxlex_pimpl.h: change member status from short to int
8414 * layout.h: fix type of endlabeltype
8417 * kbsequence.C (parse): change return type to string::size_type
8419 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8422 * Bullet.C (bulletSize):
8423 (bulletEntry): do not use short ints as parameters
8425 * BufferView2.C (insertLyXFile): change a char to an int.
8427 * WorkArea.C (WorkArea): remove unneeded floats in computation
8429 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8431 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8433 * paragraph.C (asString): Do not ignore newline/hfill chars when
8434 copying to the clipboard.
8436 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8438 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8439 after a multi-line inset.
8441 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8443 * paragraph.C (validate): Set NeedLyXFootnoteCode
8445 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8447 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8448 and decrease-error to decrease.
8450 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8452 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8453 it more readable (should be equivalent)
8455 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8457 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8459 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8461 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8462 of a cursor (row, etc.) after a character has been deleted
8463 (deleteEmptyParagraphMechanism): call the method above on _all_
8464 cursors held by the LyXText when a double space has been
8467 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8469 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8471 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8473 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8474 background. Use greyOut() and the new show() methods to toggle between
8475 the foreground and background. Add code to remove the splash after
8476 its initial showing.
8478 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8479 (create_forms): no longer call Dialogs::showSplash.
8481 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8483 * .cvsignore: add version_info.h
8485 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8487 * version_info.h.in: new file
8489 * Makefile.am: add version_info.h.in
8491 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8492 version_info.h instead of VERSION_INFO
8494 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8496 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8497 The ERT inset now returns string().
8499 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8501 * lyxtext.h, text.C (selectNextWord): renamed as
8502 selectNextWordToSpellcheck.
8504 * text.C (selectNextWordToSpellcheck): Modified to not select
8505 words inside an ERT inset.
8507 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8509 * lyx_cb.C (MenuLayoutSave): change a bit the question
8511 * sp_base.h: include <sys/types.h>
8513 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8515 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8517 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8519 * several files: fix typos in user-visible strings
8521 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8523 * text2.C (pasteSelection): do not set the selection, since it
8524 will be cleared later. Actually, the intent was to fix the way the
8525 selection was set, but I figured rmoving the code was just as good.
8527 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8529 * FontLoader.C (available): Check if font is available without
8532 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8534 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8536 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8538 * lyxrc.[Ch]: added display_graphics variable and associated code.
8540 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8542 * bufferparams.C (hasClassDefaults): new method. Returns true if
8543 the buffer parameters correspond to known class defaults
8545 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8547 * XFormsView.C (show): set minimum size to the main window.
8549 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8551 * text2.C (copySelection):
8553 * lyxfind.C (LyXReplace):
8554 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8555 LyXText::selectionAsString.
8557 * paragraph.C (asString): add "label" argument to the second form
8559 * text2.C (selectionAsString): add "label" argument and pass it to
8560 Paragraph::asString.
8562 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8564 * lyx_main.C (commandLineHelp): remove version information
8566 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8568 * lyx_main.C: add -version commandline option
8570 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8572 * paragraph.h: make the optional constructor arg required instead.
8573 some modifications to other files because of this.
8575 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8577 * lyxserver.C (C_LyXComm_callback): make it static
8579 * lyx_main.C (error_handler): make it static
8581 * lyx_gui.C (LyX_XErrHandler): make it static
8583 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8585 * WorkArea.C: make the extern "C" methods static.
8587 * Makefile.am (lyx_LDADD): simplify
8589 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8591 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8592 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8594 * LyXAction.C (init):
8595 * lyxfunc.C (dispatch): associated code removal.
8597 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8599 * lyxfont.h (isSymbolFont): shut off warning
8601 * text.C (setHeightOfRow):
8602 (getVisibleRow): fix crash with empty paragraphs which have a
8605 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8607 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8610 2001-09-04 José Matos <jamatos@fep.up.pt>
8613 * tabular.C (docbook): rename docBook method to docbook.
8615 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8617 * Makefile.am: add dependencies to main.o.
8619 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8621 * FontLoader.C (available): Return false if !lyxrc.use_gui
8623 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8625 * FontInfo.C (query):
8626 * converter.C (view):
8627 * importer.C (Import):
8628 * exporter.C (Export): Can not -> cannot.
8630 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8632 * BufferView_pimpl.C: allow to create index inset even if
8635 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8637 * buffer.C (getLists): replace boost::tie code with an explicit pair
8638 as boost::tie can break some compilers.
8640 * iterators.h: Added a std:: declaration to the return type of
8643 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8645 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8648 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8650 * iterators.[Ch]: New files. Provide paragraph iterators.
8652 * buffer.C (changeLanguage): Use paragraph iterators.
8653 (isMultiLingual): ditto
8655 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8657 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8659 * FontLoader.C: Support for cmr font.
8661 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8663 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8664 (available): New method.
8666 * FontInfo.C (getFontname): Use scalable fonts even when
8667 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8670 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8672 * converter.C (Formats::view): reverted! Incorrect fix.
8674 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8676 * converter.C (Formats::view): only output the -paper option
8677 if the dvi viewer is xdvi, thereby fixing bug #233429.
8679 2001-08-23 Herbert Voss <voss@perce>
8681 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8683 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8685 * Spacing.h (Spacing): Set space to Default on in the default
8688 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8690 * vc-backend.h (RCS::versionString): add RCS to version
8691 (CVS::versionString): add CVS to version
8693 * vc-backend.C (scanMaster): do not add CVS to version.
8694 (scanMaster): do not add RCS to version
8696 * lyxvc.C (versionString): new method
8698 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8700 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8702 * Spacing.C (set): initialize fval
8704 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8706 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8709 2001-08-16 Juergen Vigna <jug@sad.it>
8711 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8713 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8715 * BufferView_pimpl.C:
8718 * text2.C: setParagraph takes linespacing now
8720 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8722 * LyxAction.C: add internal LFUN_CITATION_INSERT
8724 * LyXView.C: actually apply fix
8726 * bufferlist.C: fix open non-existent file
8728 * lyxfind.C: fix indentation
8730 * lyxfunc.C: remove unneeded assert, fix typo
8732 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8734 * MenuBackend.C: use "Floatname List"
8736 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8738 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8739 when converting LaTeX layout to insetERT.
8740 Generate a non-collapsed float when reading old float
8742 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8744 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8747 2001-08-13 Juergen Vigna <jug@sad.it>
8749 * text.C (fill): return 0 instead of 20 as this seems to be the more
8752 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8754 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8757 2001-08-13 Juergen Vigna <jug@sad.it>
8759 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8761 (SearchBackward): comment out the unlocking of the inset_owner this
8762 should not be needed!
8764 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8766 * Many files: Remove inherit_language, and add latex_language
8768 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8771 2001-08-10 Juergen Vigna <jug@sad.it>
8773 * text.C (prepareToPrint): fixed hfill-width in draw!
8775 * BufferView2.C (selectLastWord): save the selection cursor as this
8776 now is cleared in the function LyXText::clearSelection!
8778 2001-08-08 Juergen Vigna <jug@sad.it>
8780 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8781 BACKSPACE type functions.
8783 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8784 is only cutted from the document but not put in the cut-buffer, where
8785 still the old stuff should be.
8787 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8789 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8791 * tabular.C (SetWidthOfCell): fixed special case where the width
8793 (LeftLine): handle '|' in align_special.
8795 (LeftAlreadyDrawed): ditto
8796 (SetWidthOfCell): ditto
8798 2001-08-07 Juergen Vigna <jug@sad.it>
8800 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8802 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8804 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8805 * lyxlex.[hC]: ditto
8807 2001-08-06 Juergen Vigna <jug@sad.it>
8809 * text.C (getVisibleRow): fix up row clearing a bit.
8811 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8813 * minibuffer.C: make sure the X server sees the changes in the input.
8815 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8817 * paragraph.C (getFont): split into...
8818 (getLabelFont): this
8819 (getLayoutFont): and this
8820 * paragraph_pimpl.C (realizeFont): calling this
8822 * text2.C (getFont): split into...
8823 (getLayoutFont): this
8824 (getLabelFont): and this
8825 (realizeFont): all three calling this
8827 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8830 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8832 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8834 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8836 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8837 layouts from the Quote inset insertion.
8839 2001-08-03 Juergen Vigna <jug@sad.it>
8841 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8843 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8844 only if status not is already CHANGED_IN_DRAW (second level).
8846 * text.C (draw): don't set the need_break_row when inside an
8849 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8851 * buffer.C (parseSingleLyXformat2Token): handle more latex
8854 * bufferview_funcs.[hC]: change function names to
8855 begin with small char, adjust other files.
8857 2001-08-02 André Pönitz <poenitz@gmx.net>
8860 BufferView_pimpl.C: remove broken special code for math-greek
8862 2001-08-02 Juergen Vigna <jug@sad.it>
8864 * BufferView_pimpl.C (update): redone this function so that we
8865 update the text again if there was a CHANGE_IN_DRAW.
8867 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8868 (drawFromTo): added a new internal bool which is used by draw() and
8870 (general): some cursor drawing problems fixed.
8872 2001-08-01 Juergen Vigna <jug@sad.it>
8874 * lyxfind.C (LyXFind): fixed
8875 (SearchForward): ditto
8876 (SearchBackward): ditto
8878 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8879 spurius drawing of the cursor in the main area.
8881 * text2.C (status): small fix which could lead to a segfault!
8882 (clearSelection): remove unneeded BufferView param.
8884 2001-08-01 André Pönitz <poenitz@gmx.net>
8886 * lyxfunc.C: small change due to changed mathed interface
8888 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8890 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8892 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8894 * lyxfunc.c: fail gracefully if file doesn't exist
8899 * BufferView_pimpl.C: IsDirWriteable() proto changed
8901 * LyXView.C: fix updateWindowTitle() to store the last title
8903 2001-07-31 Juergen Vigna <jug@sad.it>
8905 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8906 the font (wrong since using of Paragraph::highestFontInRange).
8908 * paragraph.C (highestFontInRange): added a default_size parameter.
8910 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8911 (setHeightOfRow): reformat
8913 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8915 * converter.[hC] + affected files: move to (inital-char)lowercase
8918 * ParagraphParameters.C (ParagraphParameters): remove commented code
8920 * PainterBase.[Ch]: remove commented code
8922 * LaTeXFeatures.h: add "bool floats" for float.sty
8924 * LaTeXFeatures.C (LaTeXFeatures): init floats
8925 (require): handle float
8926 (getPackages): do it with floats
8928 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8930 * BufferView_pimpl.C (Dispatch): improve handling of
8931 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8933 * commandtags.h: #include lyxfont.h here temporarily to avoid
8936 * bufferlist.h: include LString.h here.
8938 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8940 * text2.C (getStringToIndex): new method.
8942 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8944 * *: Reduced header file dependencies all over.
8946 2001-07-30 Baruch Even <baruch@lyx.org>
8948 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8950 2001-07-29 Baruch Even <baruch@lyx.org>
8952 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8954 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8956 * ParameterStruct.h (endif): add a default constructor to make
8957 sure that all variables is initialized.
8959 * ParagraphParameters.C (ParagraphParameters): adjust
8961 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8963 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8964 index; also, check that there is something to index, and that it
8965 does not span over several paragraphs.
8966 (doubleClick): use WHOLE_WORD_STRICT for double click.
8968 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8970 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8973 2001-07-26 Baruch Even <baruch@lyx.org>
8975 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8976 an InsetFig figure, backwards compatible reading of old figure code.
8978 2001-07-27 Juergen Vigna <jug@sad.it>
8980 * text2.C: font.realize function adaption.
8982 * text.C (draw): add a warnings lyxerr text if needed.
8984 * layout.C: font.realize function adaption.
8986 * language.C: add inherit_language and implement it's handlings
8988 * bufferview_funcs.C (StyleReset): remove language parameter from
8989 font creation (should be language_inherit now).
8991 * bufferparams.C (writeFile): handle ignore_language.
8993 * paragraph.C (getFontSettings): the language has to be resolved
8994 otherwise we have problems in LyXFont!
8996 * lyxfont.C (lyxWriteChanges): added document_language parameter
8997 (update): removed unneeded language parameter
8999 * paragraph.C (validate): fixed wrong output of color-package when
9000 using interface colors for certain fonts in certain environments,
9001 which should not seen as that on the final output.
9003 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9005 * BufferView_pimpl.C:
9010 * LyXAction.C: add thesaurus support
9013 * lyxfind.C: add "once" parameter, for thesaurus, to not
9014 move to the next match
9016 2001-07-26 Juergen Vigna <jug@sad.it>
9018 * lyxfont.C (realize): honor ignore_language too!
9021 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9023 * text.C (draw): one place more for ignore_language to not draw
9026 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9028 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9030 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9032 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9033 the minipage conversion problem.
9035 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9037 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9040 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9042 * BufferView.h: don't forward declare WorkArea
9044 * BufferView.C: don't include WorkArea.h
9046 2001-07-25 André Pönitz <poenitz@gmx.net>
9050 * lyxfunc.C: new LFUN 'math-space'
9052 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9054 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9056 * text2.C (toggleInset): call open/close
9058 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9060 * lyxfunc.C (dispatch): add debug for the disabled case
9062 * font.C (buttonText): make similar to rectText
9064 * buffer.C (readInset): comment out parsing of insetlist and
9067 * PainterBase.C (rectText): small correction
9069 * BufferView_pimpl.C: comment out insettheorem and insetlist
9070 * LyXAction.C: ditto
9071 * commandtags.h: ditto
9073 2001-07-24 Juergen Vigna <jug@sad.it>
9075 * text.C (draw): honor the ignore_language.
9077 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9079 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9081 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9084 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9086 * lyxtext.h: remove unused (and unimplemented) methods
9088 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9090 * text.C (getVisibleRow): honor background color
9093 * Painter.h: remove default color argument for fillRectangle
9095 * text.C (backgroundColor): new method
9097 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9099 * text.C (getVisibleRow): adjust
9101 * font.[Ch] (rectText): new method, metrics
9102 (buttonText): new method, metrics
9104 * PainterBase.[hC]: make rectText and buttonText always draw and take
9107 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9109 * ToolbarDefaults.C (read):
9110 * MenuBackend.C (read): allow escaping in all strings
9112 * BufferView_pimpl.C (insertAndEditInset): new method.
9113 (Dispatch): use insertAndEditInset whenever appropriate.
9115 * BufferView_pimpl.C (insertNote): removed
9117 * BufferView_pimpl.C (smartQuote): new method, moved from
9118 BufferView; if an insetquote cannot be inserted, insert a '"'
9121 * BufferView2.C: remove insertCorrectQuote();
9123 * lyxfunc.C (getStatus): Add support for all remaingin
9126 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9128 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9129 command (necessary to pass " as parameter of self-insert.
9131 * text.C (selectWordWhenUnderCursor):
9132 (selectWord): add word_location parameter
9133 (selectWordWhenUnderCursor): same + remove special code for word
9135 (selectNextWord): use kind() to guess type of insetspecialchar,
9138 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9139 (insertErtContents): create ert insets as collapsed.
9140 (readInset): better compatibility code for Info inset.
9142 2001-07-20 Juergen Vigna <jug@sad.it>
9144 * lyxfunc.C (dispatch): use always LyXFind now!
9146 * text2.C (init): add a reinit flag so that the LyXText can be
9147 reinited instead of deleted and reallocated (used in InsetText).
9149 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9155 2001-07-18 Juergen Vigna <jug@sad.it>
9157 * text.C (selectNextWord): handle insets inside inset by calling
9158 always the bv->text functions so that we can go up the_locking_inset!
9160 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9161 in strange locations when inside an inset!
9163 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9164 handling to include insets.
9166 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9168 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9170 * LyXAction.C (init):
9172 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9173 LIGATURE_BREAK, since the name is so stupid.
9175 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9177 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9180 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9182 * sp_form.[Ch]: remove.
9184 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9186 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9189 * src/buffer.C (readInset): ditto.
9191 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9193 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9194 menuSeparator(), endOfSentenceDot(), ldots() and
9195 hyphenationPoint(), which are therefore removed.
9196 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9198 * LyXAction.C (init):
9199 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9201 * paragraph.C (getWord): removed.
9203 * BufferView_pimpl.C (Dispatch): use last word or selection for
9204 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9206 * lyx_main.C (queryUserLyXDir): do not ask before creating
9207 user_dir, except if it has been named explicitely.
9209 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9211 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9212 a document of zero size.
9214 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9216 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9217 approriately in the c-tor and in require().
9218 (getPackages): output the appropriate LaTeX for natbib support.
9220 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9221 variables "use_natbib" and "use_numerical_citations" when reading the
9223 (readInset): read the various natbib cite commands.
9224 (validate): white-space change.
9226 * bufferparams.[Ch]: new variables "bool use_natbib" and
9227 "bool use_numerical_citations".
9228 (writeFile): output them in the LyX file.
9230 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9232 * lyxfunc.C (getStatus): add support for all the inset insertion
9235 * text2.C (insertInset):
9236 * paragraph.C (insetAllowed):
9237 * BufferView_pimpl.C (insertInset): update to take in account the
9238 renaming of insertInsetAllowed
9240 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9242 * text2.C (getInset): new method. returns inset at cursor position.
9244 * BufferView_pimpl.C (Dispatch): changes because of this.
9246 * LyXAction.C (init): rename open-stuff to inset-toggle.
9248 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9250 * text2.C (toggleInset): renamed from openStuff; use
9253 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9255 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9257 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9259 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9261 * buffer.C (readLyXformat2): Add filename to the error dialog
9263 2001-07-18 Juergen Vigna <jug@sad.it>
9265 * tabular.C (GetCellNumber): put an assert here instead of the check!
9267 2001-07-17 Juergen Vigna <jug@sad.it>
9269 * BufferView_pimpl.C (toggleSelection): adapted too.
9271 * text.C (selectNextWord): adapted for use with insets.
9272 (selectSelectedWord): ditto
9274 2001-07-17 Juergen Vigna <jug@sad.it>
9276 * sp_spell.C (PSpell): fix initialitation order.
9278 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9280 * paragraph.C: spacing
9282 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9284 * sp_spell.C: repair language selection for pspell
9286 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9288 * lyxfunc.h: change more methods to begin with lower char.
9290 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9292 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9293 for unknown layouts.
9295 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9297 * buffer.C (readLyXformat2): Generate an error dialog if there are
9300 2001-07-16 Juergen Vigna <jug@sad.it>
9302 * sp_spell.C: always compile ISpell part.
9304 * lyxrc.C: added use_pspell entry and it's handling.
9306 2001-07-13 Juergen Vigna <jug@sad.it>
9308 * sp_spell.C: removed double includes.
9310 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9312 Consistent use of Lsstream.h:
9313 * Lsstream.h: added using std::stringstream for consistencies sake.
9315 * buffer.C: removed using std::stringstream
9317 * lyxfont.C (stateText):
9318 * paragraph.C (asString):
9319 * text.C (selectNextWord, selectSelectedWord):
9320 * text2.C (setCounter):
9321 * vspace.C (asString, asLatexString):
9322 std::ostringstream -> ostringstream.
9324 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9326 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9327 * commandtags.h: add LFUN_HELP_ABOUTLYX
9328 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9330 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9332 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9334 * lyx_gui_misc.C: remove spellchecker
9335 * lyxfunc.C: showSpellchecker
9337 * sp_ispell.h: added
9338 * sp_pspell.h: added
9340 * sp_form.[Ch]: removed
9341 * spellchecker.[Ch]: removed
9343 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9345 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9347 (simpleTeXSpecialChars): Simply print the input character without
9348 any special translation if pass_thru is set.
9350 * layout.h: Added bool pass_thru to layout class for being able to
9351 implement pass through of a paragraph for Literate Programming.
9353 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9354 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9355 * layout.C (Read): add "passthru" to list of layout tags and add
9356 code to set the pass_thru boolean when it is read.
9358 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9360 * trans_decl.h: remove allowed from KmodInfo
9362 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9366 * paragraph_pimpl.C (erase): use boost::prior
9368 * Painter.C (text): use data() instead of c_str() when length is
9370 * WorkArea.C (putClipboard): ditto
9371 * font.h (width): ditto
9373 * BufferView2.C: use it-> instead of (*it). for iterators
9375 * paragraph_pimpl.C: ditto
9376 * paragraph.C: ditto
9377 * minibuffer.C: ditto
9382 * converter.C: ditto
9384 * Variables.C: ditto
9385 * TextCache.C: ditto
9386 * MenuBackend.C: ditto
9387 * LyXAction.C: ditto
9389 * FloatList.C: ditto
9391 * ColorHandler.C (LyXColorHandler): ditto
9393 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9395 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9397 * text2.C (openStuff): reintroduce this method (which had been
9398 nuked in NEW_INSETS frenzy).
9400 * lyxfunc.C (Dispatch): when an action has not been handled, use
9401 its name in the error message, not its number.
9403 * paragraph.C (inInset): change method name to begin with lowercase.
9406 * text2.C: updates because of this.
9408 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9410 * ToolbarDefaults.C (add): add spaces in error message
9412 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9414 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9415 (readLyXformat2): rename return_par to first_par, use lyxlex's
9416 pushToken and remove the manual push handling.
9417 (parseSingleLyXformat2Token): add another ert comp. variable:
9418 in_tabular, rename return_par to first_par. handle newlines better
9420 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9422 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9424 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9426 * text2.C (getParFromID): removed
9428 * buffer.C (getParFromID): new method moved form lyxtext.
9429 * BufferView2.C (insertErrors): adjust
9430 (setCursorFromRow): adjust
9431 * BufferView_pimpl.C (restorePosition): adjust
9432 * lyxfunc.C (Dispatch): adjust
9433 * undo_funcs.C (textUndo): adjust
9435 (textHandleUndo): adjust
9436 (textHandleUndo): adjust
9438 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9440 * buffer.C: up' the LYX_FORMAT
9442 * lyxfont.h: turn NO_LATEX on as default
9444 * buffer.C (insertErtContents): new methods of tex style compability.
9445 (parseSingleLyXformat2Token): use it several places.
9446 * tabular.C (OldFormatRead): and here
9448 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9450 * text2.C: remove some commented code.
9453 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9454 * trans.C: changes because of the above.
9456 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9458 * text2.C (setCounter): Fix counters bug with bibliography layout.
9460 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9462 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9463 own member functions
9464 (simpleTeXSpecialChars): ditto
9466 2001-07-06 Juergen Vigna <jug@sad.it>
9468 * a lot of files: changed the access to LyXText::status and the
9469 call of undo-functions.
9471 * undo.[Ch]: added a inset_id to the undo informations.
9473 * undo_funcs.[Ch]: added and moved here all undo functions.
9475 * lyxtext.h: give the status enum a weight, made status_ a private
9476 variable and made accessor functions for it, removed the whole bunch
9477 of undo-functions as they are now in their own file, make some
9478 functions publically available. Added function ownerParagraph with
9481 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9482 made InInset() a const function, added getParFromID() function.
9484 * buffer.[Ch]: added const version for inset_iterator functions,
9485 added getInsetFromID() function.
9487 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9488 changed undo functions for new version.
9490 2001-07-05 Juergen Vigna <jug@sad.it>
9492 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9493 unknow mechanism does not call the proper constructor but only this
9494 one also if I request the other!?
9496 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9498 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9500 * text2.C (LyXText): use initialization lists.
9502 * lyxtext.h (Selection): initialize set_ and mark_
9503 (init): remove method
9505 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9507 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9509 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9511 * screen.[Ch]: change method names to begin with lowercase
9513 * BufferView_pimpl.C (updateScrollbar): simplify further and
9514 hopefully make it a bit faster.
9516 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9518 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9519 calling directly xforms functions.
9521 * Painter.C (Painter):
9522 * lyx_cb.C (MenuWrite):
9523 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9526 * lyx_gui.C: remove bogus guiruntime extern declaration.
9528 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9530 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9532 (redoDrawingOfParagraph): ditto
9533 (redoParagraphs): ditto
9534 (cutSelection): don't create a object for CutAndPaste use the
9535 static method directly
9536 (pasteSelection): ditto
9538 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9541 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9543 * modifications to some other files because of this.
9545 * Makefile.am (lyx_SOURCES): add XFormsView
9547 * XFormsView.[Ch]: new files
9549 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9550 the main window. Move the gui dependent stuff to XFormsView
9552 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9554 * tabular.C (GetCellInset): update cur_cell also in the row/col
9555 version of this function.
9557 * lyxfunc.C: no need to include figure_form.h here.
9563 * lyxvc.C: no need to include forms.h here.
9565 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9567 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9569 * lyxfunc.C (Dispatch):
9571 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9572 constructor argument.
9574 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9576 * paragraph.C (Paragraph): dont't clear, and just set layout.
9577 (makeSameLayout): use params's copy contructor.
9579 * ParagraphParameters.[Ch] (makeSame): delete method
9581 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9583 * Variables.[Ch]: fix indentation, rename set to isSet
9585 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9587 * lyxfunc.C (Dispatch): fix typo
9589 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9591 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9594 * bufferlist.C: include assert.h for emergencyWrite().
9596 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9598 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9599 give up at last (bug #425202) !
9601 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9607 * spellchecker.C: strip spellchecker options and bring up
9608 preferences tab instead
9610 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9612 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9613 the istringstream constructor
9615 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9617 * paragraph.C (getLayout): fix return value
9619 * paragraph.h: do not declare getLayout as inline.
9621 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9623 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9625 * lyxcursor.h (operator<): new func
9626 (operator>): new func
9627 (operator>=): new func
9628 (operator<=): new func
9630 * text.C (changeCase): use selection.start and selection.end
9631 (changeRegionCase): require from to be <= to. Require par to be a
9634 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9636 2001-06-27 Juergen Vigna <jug@sad.it>
9638 * text.C (cursorLeftOneWord): changed to return the cursor and added
9639 overlay with BufferView * parameter which calls this one.
9641 (selectWord): use new getWord function.
9642 (changeCase): renamed from changeWordCase as and extended to work
9645 * lyxtext.h: added enum word_location
9647 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9648 changeCase as this operates now also on selections.
9650 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9652 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9654 * many files: send debug output to Debug::INFO instead of
9657 * converter.C (View):
9659 (Move): send debug output to Debug::FILES instead of console.
9661 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9663 * lyxfunc.C (getStatus): use func_status
9665 * func_status.h: new header, describing the results of
9668 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9671 2001-06-25 The LyX Project <jug@sad.it>
9673 * buffer.C (sgmlOpenTag):
9675 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9677 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9679 * text2.C: remove some dead code
9681 * tabular.C (GetCellInset): store the last cell checked (gotten)
9683 * tabular.h: add the helper for the speedup
9685 * lyxtext.h: remove some dead code
9687 2001-06-26 The LyX Project <Asger>
9689 * paragraph.C: Change export to LaTeX of alignment to
9690 \begin{center} and family for better roundtrip work with reLyX.
9692 * Tune the math drawing a bit.
9694 2001-06-25 The LyX Project <Asger>
9696 * LColor.C (LColor): New color for math background. New color
9699 2001-06-25 The LyX Project <jug@sad.it>
9701 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9704 * bufferlist.C (newFile): do not restrict to files ending with
9707 * BufferView_pimpl.C (MenuInsertLyXFile):
9709 2001-06-24 The LyX Project <jug@sad.it>
9711 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9714 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9716 * lyxtext.h: rename most methods to begin with a small char.
9717 Lots of changes because of this.
9719 * paragraph.C (Paragraph): do not call fitToSize
9720 (erase): call Pimpl::erase
9721 (insertChar): call Pimpl::insertChar
9722 (insertInset): call Pipl::insertInset
9723 (breakParagraph): do not call fitToSize
9724 (breakParagraphConservative): do not call fitToSize
9725 (fitToSize): remove method
9727 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9729 2001-06-24 The LyX Project <Asger>
9731 * Fix Qt compilation^2
9733 2001-06-24 The LyX Project <jug@sad.it>
9735 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9736 depthHook(getDepth()-1).
9739 * ParagraphParameters.h:
9740 * ParameterStruct.h: change type of depth to unsigned int ==
9741 depth_type. Many adaptations to other files before of that.
9743 2001-06-24 The LyX Project <Asger>
9745 * Fix Qt compilation.
9747 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9749 * paragraph.h: renamed several methods to begin with small letter.
9750 several changes to many parts of the code because of this.
9752 2001-06-23 The LyX Project <jug@sad.it>
9754 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9755 rewritten to discard all double spaces when KeepEmpty is off
9756 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9757 to only handle newlines but not fiddle with spaces and friends.
9759 * lyxfunc.C (MenuNew): when doing 'new from template', use
9760 template_path as default directory
9762 2001-06-23 The LyX Project <Asger>
9764 * Clean-up of header file includes all over
9765 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9767 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9769 * paragraph.h: renamed from lyxparagraph.h
9771 2001-06-23 Asger <lyx@violet.home.sad.it>
9773 * Buffer.h: Removed Buffer::resize
9774 * BufferList.h: Removed BufferList::resize
9775 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9776 the document lazily when we change the width, or the font settings.
9778 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9780 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9782 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9784 * buffer.h: remove out of date comment
9786 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9789 * screen.C: fix "theoretical" GC leak
9791 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9793 * LaTeX.C (scanAuxFile):
9794 (deplog): remove trailing \r when reading stream (useful under
9797 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9799 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9800 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9801 and BufferView::theLockingInset(Inset*), so should use them and not
9802 access bv_->text->the_locking_inset directly.
9804 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9806 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9809 * tex-defs.h: remove old unused file
9811 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9813 * BufferView_pimpl.C: fix typo, remove minibuffer message
9814 when buffer has loaded
9816 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9818 * lyxfunc.C (Dispatch): use stringstream
9819 (MenuNew): use stringstream
9820 (Open): use stringstream
9822 * importer.C (Import): use stringstream
9824 * bufferview_funcs.C (CurrentState): use stringstream
9826 * LaTeX.C (run): use stringstream
9828 * BufferView_pimpl.C (savePosition): use stringstream
9829 (restorePosition): use stringstream
9830 (MenuInsertLyXFile): use stringstream
9832 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9845 * vspace.C: removed // -*- C++ -*- as first line.
9848 * version.h: added // -*- C++ -*- as first line.
9850 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9852 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9854 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9857 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9859 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9862 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9864 * gettext.C: include LString.h even when --disable-nls is on.
9866 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9868 * converter.h (Get): changed argument type from int to
9869 FormatList::size_type to avoid unnecessary conversion.
9871 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9874 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9876 * gettext.h: include LString.h even when --disable-nls is on.
9878 2001-06-07 Juergen Vigna <jug@sad.it>
9880 * text.C (BreakAgain): subst spaces with tabs.
9882 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9883 (resizeInsetsLyXText): set force on resizeLyXText.
9885 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9887 * gettext.h (gettext_init):
9888 (locale_init): use a real definition instead of a macro
9890 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9892 * Bufferview_pimpl.C:
9894 * LColor.C: further lcolor tidies
9896 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9898 * BufferView_pimpl.C (updateScrollbar): simplify.
9900 * BufferView2.C: don't include insets/insetinfo.h, change
9901 prototype for insertInset and call the Pimpl version. let
9902 updateInset call Pimpl version.
9904 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9905 gotoInset to BufferView::Pimpl
9907 2001-06-01 Juergen Vigna <jug@sad.it>
9909 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9910 inside a LockingInset (is the update needed at all?).
9912 2001-05-31 Juergen Vigna <jug@sad.it>
9914 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9915 here not the old one otherwise how should we compare it afterwards
9918 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9923 * FontInfo.C: bring C functions into global namespace when
9926 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9928 * LString.h: make sure config.h has been loaded before LString.h.
9930 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9931 (one for each char read by EatLine!).
9933 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9936 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9938 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9939 to the same as the par we break from
9941 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9943 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9945 * MenuBackend.C (expand): also create menu entries for wide
9946 versions of the floats.
9948 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9950 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9952 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9953 frontends/Makefile.am
9959 * tabular.C (getTokenValue): add std::
9961 * tabular-old.C (getTokenValue): add std::
9962 (getTokenValue): ditto
9963 (getTokenValue): ditto
9965 * screen.C (ToggleSelection): adjust
9967 * lyxtext.h: put selection cursors inside a Selection struct.
9969 * lyxfunc.C (moveCursorUpdate): adjust
9971 * lyxfont.C (latexWriteStartChanges): add std::
9975 * font.h: delete with(char const *, LyXFont const &)
9977 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9979 * FontInfo.C (getFontname): add std::
9981 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9982 (workAreaButtonPress): adjust
9983 (tripleClick): adjust
9985 (moveCursorUpdate): adjust
9988 * BufferView2.C (gotoInset): adjust
9990 2001-05-30 Juergen Vigna <jug@sad.it>
9992 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9993 to check pspell I add this as default as I now have new pspell
9994 libraries and they seem to use this.
9996 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9998 * text2.C (CutSelection): make the cursor valid before the call to
10001 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10003 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10004 relied on 0 terminated strings and other horrors. Bug found due to
10005 the new assert in lyxstring!
10007 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10010 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10012 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10015 * lyxfunc.C (processKeySym): change method of getting to the
10018 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10019 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10020 * BufferView_pimpl.[Ch]: here as private methods.
10022 2001-05-28 Juergen Vigna <jug@sad.it>
10024 * text.C (SetHeightOfRow): added the update() call again as it is
10025 needed to initialize inset dimensions!
10027 2001-05-16 Juergen Vigna <jug@sad.it>
10029 * text2.C (SetCharFont): Add new function with BufferView * and
10030 bool toggleall parameters for setting insets internal fonts.
10031 (SetFont): Freeze the undo as we may change fonts in Insets and
10032 all this change should be inside only one Undo!
10034 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10035 setting font's in insets as for them we have the SetFont function!
10037 2001-05-15 Juergen Vigna <jug@sad.it>
10039 * text2.C (ClearSelection): to be sure we REALLY don't have any
10042 * tabular.C (TeXCellPreamble): fixed the left border problem for
10045 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10047 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10050 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10052 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10053 LFUN_BREAKPARAGRAPH.
10055 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10056 help test to "internal only", similar for LFUN_INSERT_URL
10058 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10059 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10060 auto_region_delete and deadkeys.
10062 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10065 * LColor.C: remove some dead entries, tidy a little
10067 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10069 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10071 (Dispatch): implement LFUN_ESCAPE
10073 * commandtags.h: add LFUN_ESCAPE
10075 * LyXAction.C (init): add entry for LFUN_ESCAPE
10077 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10078 Remove commented code.
10079 (insertNote): moved here
10080 (open_new_inset): moved here
10082 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10085 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10087 * kbmap.C (findbinding): clean it up and make it work correctly.
10089 * lyx_main.C (init): do not pass argc and argv as parameters
10091 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10093 * buffer.C: fix path for OS/2 & Win32
10097 * lyx_main.C: Added os:: class.
10099 * os2_defines.h: update
10101 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10103 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10104 better by trying again with reduced state.
10106 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10108 * lyxrc.C (read): print error about invalid key sequence only when
10109 debugging (because not all latinX keysyms are known to some X
10112 * kbsequence.C (getiso): add a few std:: qualifiers
10113 (getiso): comment out extra return statement.
10115 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10117 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10119 (Dispatch): enhance the accent inset a bit. (not perfect)
10121 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10123 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10125 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10127 * bufferlist.C (emergencyWrite): fix assert() call
10129 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10131 * text.C (InsertChar): Added trivial patch to only send the "you
10132 can not do multiple spaces this way" message once during a
10135 2001-05-08 Baruch Even <baruch@lyx.org>
10137 * Makefile.am: Changed order of libraries to get LyX to link properly
10138 with the gnome frontend.
10140 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10142 * LaTeXFeatures.h: add a std:: qualifier
10144 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10146 * paragraph.C (String): use stringstream
10148 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10150 * paragraph.C (writeFile): remove footflag arg
10152 * buffer.C (makeLaTeXFile): use stringstream
10153 (latexParagraphs): remove footnot gurba
10155 * LaTeXFeatures.C (getPackages): use stringstream
10156 (getMacros): likewise
10157 (getTClassPreamble): likewise
10158 (getFloatDefinitions): new method
10160 * paragraph.C (writeFile): reindent
10163 * WorkArea.h: revert the xpos + etc changes.
10165 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10167 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10169 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10170 (pasteSelection): likewise
10171 * text2.C (CreateUndo): likewise
10173 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10175 * minibuffer.C (peek_event): temporarily reduce the functionality
10176 of the minibuffer (to allow args on lfuns)
10178 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10179 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10181 * buffer.C (readInset): add compability reading of old float
10182 lists, add reading of new style float list.
10183 (readInset): avoid reevaluation of inscmd.getCmdName()
10184 (getLists): reindent
10186 * MenuBackend.C (MenuItem): implement parsing of
10187 md_floatlistinsert and md_floatinsert.
10188 (expand::LastFiles): move initalizaton of iterators out of loop,
10189 avoid reevaluation.
10190 (expand::Documents): introduce typdedef vector<string> Strings,
10192 (expand::ExportFormats): introduce typedef vector<Format const *>
10193 Formats, and use it.
10194 (expand): implement FloatListInsert and FloatInsert.
10196 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10197 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10198 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10200 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10202 (Dispatch::LFUN_FLOAT_LIST): implement
10204 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10206 * LaTeX.C (run): Fix problem with --export code.
10208 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10210 * BufferView.[Ch] (workarea): removed.
10211 (getClipboard) new method; wrapper for workarea()->getClipboard()
10213 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10216 * WorkArea.h (width, height, xpos, ypos): These methods all
10217 returned the dimensions of the work_area sub-area of WorkArea,
10218 resulting in a position error if the WorkArea were resized. Now
10219 return the dimensions of the entire WorkArea.
10221 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10223 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10225 * LaTeX.C (deplog): correct the syntax of regex reg1
10227 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10229 * undo.C: remove !NEW_INSETS cruft
10231 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10233 * text2.C: remove !NEW_INSETS cruft
10235 * text.C: remove !NEW_INSETS cruft
10237 * tabular.C: remove !NEW_INSETS cruft
10239 * spellchecker.C: remove !NEW_INSETS cruft
10241 * lyxtext.h: remove !NEW_INSETS cruft
10243 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10245 * lyxfunc.C: remove !NEW_INSETS cruft
10247 * lyxfind.C: remove !NEW_INSETS cruft
10249 * lyx_cb.C: remove !NEW_INSETS cruft
10251 * figureForm.C: remove !NEW_INSETS cruft
10253 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10255 * buffer.[Ch]: remove !NEW_INSETS cruft
10257 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10259 * CutAndPaste.C: remove !NEW_INSETS cruft
10261 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10263 * BufferView2.C: remove !NEW_INSETS cruft
10265 * BufferView.h: remove !NEW_INSETS cruft
10267 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10269 * Lsstream.h: include LString.h before the sstream headers to
10270 fix problem with gcc 2.95.3 and lyxstring
10272 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10274 * lyx_main.C: add using directives when needed for C functions
10275 declared in std:: namespace.
10277 2001-04-27 Juergen Vigna <jug@sad.it>
10279 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10280 (SetHeightOfRow): comment out the update call should not be needed!
10282 2001-04-13 Juergen Vigna <jug@sad.it>
10284 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10285 (LyXTabular): tried to minimize operator= operations (and realized
10286 hopfully Lars wish).
10288 2001-04-27 Juergen Vigna <jug@sad.it>
10290 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10292 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10294 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10296 * buffer.C (readInset): hack to make listof algorithm work
10298 * BufferView_pimpl.C: hack to make listof algorithm work
10300 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10302 * LyXAction.C: removed all !NEW_INSETS cruft
10303 (init): moved lfun_item in method
10305 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10307 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10309 * BufferView2.C (theLockingInset): white space.
10311 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10313 * minibuffer.C: include <iostream>
10315 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10317 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10319 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10321 * text.[Ch] (TransposeChars): new method
10323 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10325 * call message directly through LyXView instead of through LyXFunc
10326 * BufferView2.C: adjust
10327 * BufferView_pimpl.C: adjust
10328 * FontLoader.C: adjust
10330 * bufferview_funcs.C: adjust
10331 * converter.C: adjust
10332 * figureForm.C: adjust
10333 * importer.C: adjust
10335 * lyx_gui_misc.C: adjust
10336 * lyxfunc.C: adjust
10339 + more files in subdirs
10341 * lyxparagraph.h (size): move up int file
10344 * adjust all uses of Assert to lyx::Assert.
10346 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10347 lyxfunctional in namespace lyx
10348 * layout.C (hasLayout): ditto
10351 (delete_layout): ditto
10352 (NumberOfClass): ditto
10353 * converter.C (GetFormat): ditto
10358 * bufferlist.C (getFileNames): ditto
10359 (emergencyWriteAll): ditto
10362 * MenuBackend.C (hasSubmenu): ditto
10365 * BufferView_pimpl.C (getInsetByCode): ditto
10367 2001-04-18 Juergen Vigna <jug@sad.it>
10369 * vspace.C (asLatexString): fixed the 100% problem.
10371 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10373 * lyxfunc.C (Dispatch):
10375 * minibuffer.h: add a few std:: qualifiers
10377 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10379 * minibuffer.[Ch]: reimplement so that commands is initiated and
10380 run from lyxfunc, simplified som handling, and made the completion
10381 and history code for complete. wip.
10383 * lyxfunc.C (processKeySym): call message
10384 (miniDispatch): new temporary method
10385 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10386 (LFUN_MESSAGE): implement
10387 (LFUN_MESSAGE_PUSH): implement
10388 (LFUN_MESSAGE_POP): implement
10389 (initMiniBuffer): the initial/defualt minibuffer message.
10391 * lyxfont.[Ch]: inline some more getters
10393 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10395 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10397 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10398 (AutoSave): use LFUN_MESSAGE
10399 (Reconfigure): ditto
10401 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10403 * figureForm.C: use LFUN_MESSAGE
10405 * converter.C (runLaTeX): use LFUN_MESSAGE
10407 * bufferview_funcs.C: use LFUN_MESSAGE
10409 (changeDepth): ditto
10411 * bufferparams.h: use boost::
10413 * bufferlist.h: inherit privately from noncopyable
10415 * bufferlist.C (loadLyXFile): remove some commented code.
10417 * buffer.C (runChktex): use LFUN_MESSAGE
10419 * ShareContainer.h: inherit privately from noncopyable
10421 * ParagraphParameters.[hC] (depth): inline it.
10423 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10425 (message): new method
10426 (messagePush): ditto
10427 (messagePop): ditto
10428 (show): init minibuffer
10429 (showState): direct call
10431 * LaTeX.[Ch]: inherit privately from noncopyable
10432 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10433 instead of WriteStatus.
10435 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10437 * BufferView_pimpl.C (buffer): don't init minibuffer
10438 (workAreaButtonPress): use LFUN_MESSAGE
10439 (workAreaButtonRelease): ditto
10440 (savePosition): ditto
10441 (restorePosition): ditto
10442 (MenuInsertLyXFile): ditto
10443 (workAreaExpose): don't init minibuffer
10444 (update): remove commented code, simplify
10446 * BufferView2.C (openStuff): use LFUN_MESSAGE
10447 (toggleFloat): ditto
10450 (copyEnvironment): ditto
10451 (pasteEnvironment): ditto
10456 (updateInset): remove some commented code
10458 * lastfiles.h: inherit privately from noncopyable
10461 * lyx_main.h: ditto
10463 * lyxlex_pimpl.h: ditto
10465 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10466 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10467 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10469 * LyXAction.h: inherit privately from noncopyable, add methods
10470 func_begin, func_end, returning iterators to the func map.
10472 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10473 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10474 (func_begin): new method
10475 (func_end): new method
10477 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10479 (copySelection): ditto
10480 (pasteSelection): ditto
10482 * BufferView.C: whitespace change
10483 * BufferView.h: inherit privately from noncopyable
10485 2001-04-16 Allan Rae <rae@lyx.org>
10487 * tabular-old.C (l_getline):
10488 * spellchecker.C (sc_check_word):
10489 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10490 an unrecognised preprocessor directive. So ensure they're wrapped.
10492 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10494 * src/exporter.C (Export): Give an error message when path to file
10497 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10499 * LaTeX.C (deplog): Always check that foundfile exists.
10501 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10504 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10506 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10508 * tabular.[Ch] (getLabelList): implement new method
10510 * minibuffer.h: comment ouf setTiimer
10512 * minibuffer.C (ExecutingCB): constify res
10513 (peek_event): constify s
10514 (Set): constify ntext
10515 (Init): constify nicename
10517 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10519 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10520 (savePosition): use two params to Minibuffer::Set
10521 (restorePosition): ditto
10523 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10525 * lyx_main.C: include language.h
10527 * Makefile.am (lyx_main.o): add language.h
10529 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10535 * CutAndPaste.C: include gettext.h
10537 * lyxfont.h: remove old hack with ON and OFF.
10540 * lyxfont.h: do not include language.h...
10545 * bufferview_funcs.C:
10551 * paragraph.C: ... but do it here instead
10553 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10555 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10557 * tabular.C: small reformat
10559 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10562 (BreakParagraph): ditto
10563 (SetOnlyLayout): ditto
10566 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10569 * lastfiles.C: removed most using decl, add std:: where needed
10571 * buffer.C: ws changes
10573 * MenuBackend.C (class compare_format): put into anon namespace
10574 (expand): constify label, names, action, action2
10577 * text.C (SingleWidth): constify font
10578 (IsBoundary): constify rtl2
10579 (GetVisibleRow): constify ww
10581 * LaTeX.C (deplog): constify logfile
10583 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10585 (workAreaExpose): constify widthChange, heightChange
10587 * lyxrow.C (par): moved
10590 * lyxrow.h: as inlines here
10592 * lyxfont.h (shape): moved from lyxfont.C
10593 (emph): moved from lyxfont.C
10595 * lyxfont.C (LyXFont): use initialization list for all
10597 (shape): move to lyxfont.h as inline
10598 (emph): move to lyxfont.h as inline
10601 2001-04-04 Juergen Vigna <jug@sad.it>
10603 * vspace.C: had to include stdio.h for use of sscanf
10605 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10608 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10609 independent of xforms.
10611 2001-04-02 Juergen Vigna <jug@sad.it>
10613 * spellchecker.C: fixed namespace placing!
10615 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10617 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10618 the LyXParagraph * is 0.
10620 2001-03-29 Juergen Vigna <jug@sad.it>
10622 * vspace.C: added support for %, c%, p%, l%.
10623 (stringFromUnit): added helper function.
10624 (asLatexString): changed to give right results for the %-values.
10626 * buffer.C: convert the widthp in a width%.
10628 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10630 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10633 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10634 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10636 * lyx_cb.[Ch]: see above.
10638 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10642 * lyx.[Ch]: replaced by figure_form.[Ch].
10646 * lyxfunc.C: changed headers associated with above changes.
10648 2001-03-27 Juergen Vigna <jug@sad.it>
10650 * BufferView_pimpl.C: set the temporary cursor right!
10652 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10654 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10656 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10658 * LString.h: removed "using std::getline"!
10660 * BufferView_pimpl.C (Dispatch): changes due to changes in
10661 InsetInclude::Params.
10663 * buffer.C (tag_name): removed redundant break statements as they were
10664 producing lots of warnings with my compiler.
10666 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10668 * LString.h: add "using std::getline" when using the real <string>.
10670 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10672 * buffer.C: removed bitset usage.
10673 PAR_TAG moved to an anonymous name space.
10674 (tag_name): new funtion, also in the anonymous namespace.
10675 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10676 (makeDocBookFile): clean code. Completed transition from string arrays
10678 (SimpleDocBookOnePar): code clean.
10680 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10682 * tabular.C: add some comments.
10684 2001-03-22 Juergen Vigna <jug@sad.it>
10686 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10687 compatibility read a bit and fixed bug with minipage in different
10690 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10692 * buffer.C (pop_tag): removed.
10693 (push_tag): removed.
10694 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10695 array replaced with vector. Added support for CDATA sections.
10696 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10698 (makeDocBookFile): XML conformant declaration of CDATA section,
10699 fixed bug related to <emphasis> in the first paragraph char.
10700 (sgmlOpenTag): exclude empty tags.
10701 (sgmlCloseTag): ditto.
10703 * buffer.h (pop_tag): removed.
10704 (push_tag): removed.
10706 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10708 * language.h (Languages): added size_type and size().
10710 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10712 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10713 response on compability reading of minipages. One probliem is that
10714 the old usage of minipages was «flertydig»
10716 * several files here and in subdirs: don't use static at file
10717 scope use anon namespaces instead.
10719 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10721 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10722 LaTeX output. This is necessary for Literate document
10725 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10727 * buffer.C: insert hfill when needed.
10729 * tabular.C (l_getline): use string::erase, small whitespace change.
10731 * BufferView_pimpl.C: try the anon namespace.
10732 * WorkArea.C: ditto
10734 2001-03-16 Juergen Vigna <jug@sad.it>
10736 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10737 otherwise it won't open options-dialogs.
10739 * buffer.C: honor pextraWidth(p) on converting minipages.
10741 * tabular.C (l_getline): changed the functions to strip trailing \r.
10743 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10745 * BufferView_pimpl.C:
10746 * minibuffer..C: added "using SigC::slot" declaration.
10748 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10750 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10756 * paragraph.C: ditto
10758 * lyxtext.h: NO_PEXTRA
10760 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10762 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10763 * ParameterStruct.h: ditto
10764 * ParagraphParameters.h: ditto
10765 * lyxparagraph.h: ditto
10767 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10769 * buffer.C: add compability for minipage alignment.
10770 (latexParagraphs): remove unwanted pextra check.
10772 * several files: remove CXX_WORKING_NAMESPACES
10774 * buffer.C (pop_tag): tie is in namespace boost
10776 * BufferView.h: noncopyable is in namespace boost
10778 * lyx_main.h: ditto
10781 * lastfiles.h: ditto
10782 * bufferlist.h: ditto
10783 * ShareContainer.h: ditto
10785 * LyXAction.h: ditto
10788 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10790 * Merging changes from BRANCH_MVC back into HEAD.
10792 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10794 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10796 * BufferView_pimpl.C: change from intl.C
10800 * Makefile.am: move combox.*
10806 * intl.C: remove dialog (covered by prefs)
10808 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10810 * lyxfunc.C (Dispatch): removed redundant break statement.
10812 2001-03-14 Juergen Vigna <jug@sad.it>
10814 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10816 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10818 * buffer.C: add hack to fix compability reading of minipages.
10820 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10822 * buffer.C (getLists): Cleanup.
10824 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10826 * lyxfont.C (update): don't honor toggleall on font size.
10828 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10832 * Makefile.am: moved to frontends/xforms/
10836 * BufferView_pimpl.C: changes for moved mathpanel
10838 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10840 * gettext.h: fix gettext_init() in --disable-nls
10842 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10844 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10846 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10849 * lyx.h: strip external form
10851 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10853 * BufferView_pimpl.C: add comment, destroySplash()
10855 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10857 * BufferView_pimpl.C:
10861 * lyxfunc.C: use re-worked insetinclude
10863 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10865 * buffer.C: add using std::stringstream.
10867 * lyx_cb.C: readd using std::ios.
10869 * buffer.C: add using std::map.
10871 * BufferView_pimpl.C: add using std::vector.
10873 * ShareContainer.h: add std:: to swap.
10875 * buffer.h: add some typedefs
10876 * buffer.C (getLists): use them
10877 (getLists): renamed from getTocList.
10878 add a counter for the different float types and use it in the
10880 (getLists): use the same counter for the NEW_INSETS and the "non"
10883 * lyx_cb.h: remove unused items, includes, using etc.
10885 * ShareContainer.h: remove some commented code, add more comments
10886 and "documentation".
10888 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10890 * buffer.C (getTocList): make the list also when NEW_INSETS is
10893 * buffer.h: remove TocType
10895 * buffer.C (getTocList): change to return a map<string,
10896 vector<TocItem> >, implement for dynamic number of list.
10898 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10899 * text2.C (PasteSelection): adjust
10900 * CutAndPaste.C (pasteSelection): adjust
10902 * FloatList.C (FloatList): update from the new_insets branch.
10903 * Floating.[Ch]: ditto
10904 * LaTeXFeatures.C: ditto
10906 * lyxlex_pimpl.C: ditto
10908 * paragraph.C (Last): remove when NEW_INSETS is defined.
10910 * other file: changes because of the above.
10912 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10914 * lyxparagraph.h: rename next to next_, previous to previous_,
10915 make them private for NEW_INSETS. Rename Next() to next(),
10916 Previous() to previous().
10918 * other files: changes because of the above.
10920 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10923 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10926 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10928 * main.C (main): pass lyx_localedir to gettext_init().
10930 * gettext.h: remove locale_init and gettext_init macros
10932 * gettext.C (locale_init): new function
10933 (gettext_init): new function
10935 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10938 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10940 * Moved credits to frontends:
10941 * credits.[Ch]: removed
10942 * credits_form.[Ch]: removed
10943 * lyx_gui_misc.C: remove credits stuff
10946 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10948 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10950 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10951 unneeded destructor.
10953 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10954 a standalone pointer again.
10956 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10958 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10964 * ToolbarDefaults.C:
10973 * BufferView_pimpl.C: use new file dialog in GUII
10976 * lyx_cb.C: remove LayoutsCB to Toolbar
10978 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10980 * ShareContainer.h (get): add std:: qualifier
10982 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10984 * ShareContainer.h: define a proper ShareContainer::value_type
10985 type (and use typename to please compaq cxx)
10987 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10989 * lyxparagraph.h: move serveral local vars to
10990 ParameterStruct/ParagraphParameters., use ShareContainer in
10991 FontTable., make vars in FontTable private and add getter and
10994 * paragraph.C: changes because of the above.
10996 * lyxfont.h: remove copy constructor and copy assignment. (the
10997 default ones is ok), move number inside FontBits. move inlines to
11000 * lyxfont.C: add number to initializaton of statics, move several
11001 inlines here. constify several local vars. some whitespace
11002 cleanup. Dont hide outerscope variables.
11004 * Spacing.h: add two new constructors to match the set methods.
11006 * ShareContainer.h: new file, will perhaps be moved to support
11008 * ParameterStruct.h: new file
11010 * ParagraphParameters.h: new file
11012 * ParagraphParameters.C: new file
11014 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11015 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11017 * BufferView_pimpl.C: ParagraphParameter changes.
11018 * buffer.C: Likewise.
11019 * bufferview_funcs.C: Likewise.
11020 * text.C: Likewise.
11021 * text2.C: Likewise.
11023 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11025 * lyxfind.C (LyXReplace): do not redefine default argument in
11027 (IsStringInText): ditto
11028 (SearchForward): ditto
11029 (SearchBackward): ditto
11031 2001-03-06 Juergen Vigna <jug@sad.it>
11033 * lyxfind.C (IsStringInText): put parentes around expressions.
11035 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11037 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11039 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11041 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11043 * stl_string_fwd.h: add comment
11045 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11048 * tabular.C: remove unused DocBook methods
11054 killed DO_USE_DEFAULT_LANGUAGE
11056 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11058 * lyx_gui.C: do not include language.h.
11060 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11061 arguments in function implementation.
11063 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11065 * BufferView_pimpl.C: add <ctime>
11067 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11069 * BufferView_pimpl.C: add using std::find_if
11071 2001-02-27 José Matos <jamatos@fep.up.pt>
11073 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11076 2001-02-11 José Matos <jamatos@fep.up.pt>
11078 * buffer.C (makeDocBookFile): command styles now have a parameter as
11079 "title" by default.
11081 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11083 * layout_forms.[Ch]: removed
11084 * lyx_cb.[Ch]: out character
11085 * lyx_gui.C: out character
11086 * lyx_gui_misc.C: out character
11087 * bufferview_funcs.C: : out character,
11088 added toggleall as parameter in ToggleAndShow
11090 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11092 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11094 * text2.C (SetCurrentFont): Disable number property at boundary.
11096 2001-02-26 Juergen Vigna <jug@sad.it>
11098 * lyxfunc.C (getStatus): added a string argument override function so
11099 that this is correctly called from LyXFunc::Dispatch if it contains a
11100 do_not_use_argument which is used!
11101 (Dispatch): added check for "custom" export and call appropriate func.
11103 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11105 * lyxrc.C: Add language_command_local, language_use_babel and
11106 language_global_options.
11108 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11110 * buffer.C (makeLaTeXFile): Use language_use_babel and
11111 language_global_options.
11113 2001-02-23 Juergen Vigna <jug@sad.it>
11115 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11116 which works with LyXText and putted it inside BufferView. Here now we
11117 only call for that part the BufferView::Dispatch() function.
11119 * BufferView.C (Dispatch): added.
11121 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11122 functions which needs to use a LyXText over from LyXFunc.
11123 (MenuInsertLyXFile): added
11124 (getInsetByCode): added
11125 (moveCursorUpdate): added
11126 (static TEXT): added
11128 2001-02-22 Juergen Vigna <jug@sad.it>
11130 * BufferView_pimpl.C (update): call a status update to see if LyXText
11133 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11135 * vc-backend.C (revert): implement for CVS
11136 (getLog): implement for CVS
11138 2001-02-20 Juergen Vigna <jug@sad.it>
11140 * text2.C (ClearSelection): added BufferView param for inset_owner call
11142 * lyxfunc.C (TEXT): added this function and use it instead of
11143 directly owner->view()-text of getLyXText().
11145 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11147 * src/layout_forms.C: out preamble
11148 * src/layout_forms.h: out preamble
11149 * src/lyx_cb.C: out preamble
11150 * src/lyx_cb.h: out preamble
11151 * src/lyx_gui.C: out preamble
11152 * src/lyx_gui_misc.C: out preamble
11153 * src/lyxfunc.C: connect with guii preamble
11155 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11157 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11159 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11161 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11162 whether to run bibtex.
11164 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11166 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11168 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11170 * Makefile.am (lyx_SOURCES): removed bibforms.h
11172 * vspace.h: doxygen
11174 * text.C (GetVisibleRow): make several local vars const
11176 * tabular.C: small cleanup.
11178 * lyxserver.C (callback): use compare instead of strncmp
11180 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11181 inlines to after class or to paragraph.C
11183 * lyxfont.h: remove friend operator!=
11185 * converter.h: move friend bool operator< to non friend and after
11188 * combox.h: small cleanup
11190 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11191 to inlines after class def.
11193 * buffer.C (pop_tag): use string operations instead of strcmp
11195 * bmtable.c: doxygen, small cleanup
11197 * LaTeX.h: remove friend operator==
11199 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11211 * BufferView_pimpl.C:
11212 * BufferView.[Ch]: remove cruft
11214 2001-02-14 Juergen Vigna <jug@sad.it>
11216 * lyxfunc.C: removed #if 0 unused code
11218 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11220 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11222 * text2.C (SetSelection): added a BufferView * parameter
11224 2001-02-13 Juergen Vigna <jug@sad.it>
11226 * lyxfunc.C (Dispatch): fixed protected blank problem.
11227 * BufferView2.C (protectedBlank): added LyxText * parameter.
11229 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11230 (AppendColumn): same as above for column_info.
11232 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11233 (moveCursorUpdate): use a LyXText param for support of InsetText.
11235 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11236 (tripleClick): ditto
11238 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11240 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11242 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11244 * text2.C (SetSelection): set correct update status if inset_owner
11245 (ToggleFree): ditto
11247 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11249 * tabular.C: remove some commented code.
11251 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11253 * BufferView_pimpl.C: call hideSplash()
11255 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11258 * bibforms.h: remove
11261 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11262 add LFUN_CHILD_CREATE
11264 * counters.h: fix tiny typo
11269 * lyx.C: move splash to frontends/xforms/
11271 * lyx_gui_misc.C: move Include and Bibform to frontends
11273 * lyxvc.h: clarify comment
11275 * vspace.C: tiny housekeeping
11277 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11279 * text.C (PrepareToPrint): RTL Fix.
11281 * paragraph.C (GetUChar): New method.
11282 (String): Use GetUChar.
11284 * buffer.C (asciiParagraph): Use GetUChar.
11286 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11288 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11290 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11293 * buffer.C: rename to getLogName(), handle
11294 build log / latex log nicely
11296 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11299 * MenuBackend.h: remove support for reference menuitem type.
11301 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11303 * BufferView_pimpl.C: housekeeping
11304 * BufferView_pimpl.h:
11309 * minibuffer.h: move Timeout GUI-I
11311 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11313 * lyxrc.C (read): Update converters data-structures.
11315 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11317 * LaTeX.h (operator!=): add operator != for Aux_Info
11319 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11321 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11323 * LaTeXLog.C: deleted, useful code moved to Buffer
11326 * buffer.C: new function getLatexLogName()
11332 * lyxfunc.C: use frontends for LaTeX and VC logs
11334 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11336 * LaTeX.h: yet another std:: that Allan forgot.
11338 * Variables.C (set): renamed from isset(), because this clashes
11339 with some HP-UX macros (grr).
11341 2001-02-06 Allan Rae <rae@lyx.org>
11343 * LaTeX.h: Another bug fix. Missing std:: this time.
11345 2001-02-04 Allan Rae <rae@lyx.org>
11347 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11348 floats problem. I've left it commented out because it's not quite
11349 correct. It should also test that the current object is a table or
11350 figure inset. But I haven't gotten around to figuring out how to do
11351 that. I *think* it'll be something like: "table" == inset.type()
11353 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11356 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11358 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11359 all the citation/databases/styles in the auxilary file.
11360 (run): Rerun latex if there was a babel language error.
11362 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11364 * text.C (Backspace): Preserve the font when changing newline char
11366 (BreakParagraph): If the cursor is before a space, delete the space.
11368 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11370 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11372 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11373 new argument (code).
11374 (ChangeCitationsIfUnique): New method.
11376 * paragraph.C (GetPositionOfInset): Handle bibkey.
11378 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11380 * BufferView_pimpl.h: change type of Position::par_pos to
11381 LyXParagraph::size_type.
11383 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11385 * BufferView_pimpl.C (savePosition, restorePosition): Write
11386 messages to minibuffer.
11388 2001-01-28 José Matos <jamatos@fep.up.pt>
11390 * buffer.C (makeDocBookFile): adds support for document language.
11391 A silly restriction on the name of LatexCommand types where removed.
11392 Added support for CDATA sections, allows to chars unescaped, used
11393 among others in code, to avoid escape < and >.
11395 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11397 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11398 saved positions instrad of a stack. Furthermore, a position is
11399 stored using paragraph id/paragraph position.
11401 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11402 Remove LFUN_REF_BACK.
11404 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11406 * converter.C (dvipdfm_options): New method.
11408 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11410 * vspace.C (isValidLength): Fix for empty input string.
11412 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11414 * LyXAction.C (init): change description of LFUN_FIGURE to
11417 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11419 * LaTeX.C: add using directive
11421 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11423 * MenuBackend.C (expand): Fix the sorting of the formats.
11425 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11427 * lyx_main.C: tiny error message fix
11429 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11431 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11432 calling fl_initialize(). This fixes the problem with ',' as
11433 decimal separator in text files.
11435 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11437 * trans.C (process): Fix the keymap bug.
11439 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11441 * LaTeX.C (scanAuxFiles): New method. Provides support for
11442 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11443 (scanLogFile) Scan for "run BibTeX" messages.
11445 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11446 OT1 font encoding. Also, load the aecompl package if the ae
11449 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11451 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11453 * texrow.C (increasePos): turn two error messages into debug
11456 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11458 * LaTeX.C (scanAux): Handle the \@input macro.
11459 (runBibTeX): Use scanAux().
11461 * language.C (latex_options_): New field.
11463 * LaTeXFeatures.C (getMacros): Add language macros.
11465 * buffer.C (makeLaTeXFile): Small fix.
11467 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11469 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11471 * text2.C: add a using directive.
11473 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11478 * lyxfunc.C: kill LyXBell.
11480 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11482 * text.C (IsBoundary): Remove the error message
11484 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11486 * lyxrc.C (setDefaults): Correct initialization value for
11489 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11491 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11494 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11495 and GotoNextNote().
11497 * src/LyXAction.C: Added reference-next.
11499 * text.C (InsertChar): Use contains instead of strchr.
11501 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11503 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11505 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11506 alignment commands (when needed).
11508 * text.C (InsertChar): Add ':' to number separator chars.