1 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
3 * buffer.[Ch]: take out all bv-related from buffer
5 * BufferView_pimpl.[Ch]: connect to new signals
6 * CutAndPaste.C: removed useless asserts
7 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
10 * lyxfunc.C: moved view-related funciontality from vc here
11 * paragraph.C: removed outdated comments
14 2003-07-10 André Pönitz <poenitz@gmx.net>
20 * text2.C: remove InsetText::InnerCache, clean up consequences
22 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
24 * ispell.C: fix two typos in error messages
26 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
28 * Extend Note inset to other forms of annotation like Comment
29 and Greyedout. Right button click gives dialog.
31 Files modified or added (+):
37 * Makefile.am in frontends/xforms, frontends/xforms/forms,
42 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
44 * aspell.C: add missing namespace lyx::support
46 2003-07-07 Alfredo Brauntein <abraunst@libero.it>
48 * BufferView.[Ch] (newFile): Add
49 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
50 * LaTeX.[Ch] (message): added this signal and use it
51 * buffer.[Ch] (busy, message): added these signals and use them
52 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
56 * importer.C: use buffer signals instead of direct bv calling
57 * lyx_cb.[Ch] (ShowMessage): removed
61 * text2.C: use buffer signals
63 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
65 * introduce namespace lyx::graphics
67 2003-07-02 André Pönitz <poenitz@gmx.net>
69 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
71 2003-07-01 André Pönitz <poenitz@gmx.net>
78 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
79 text*.C to text_func.C
81 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
83 * introduce namespace lyx::support
85 2003-06-30 André Pönitz <poenitz@gmx.net>
90 * text.C: re-enable --with-included-string
92 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
94 * textcursor.C: add <config.h>
96 * text.C (getWord): remove const from word_location arg
98 * lyxvc.C (getLogFile): fix const type order
100 * lyxtext.h: remove const from word_location arg, add arg name
102 * lyxlayout.h: currect type on labeltype.
104 * importer.C: correct \file
106 * converter.C (intToFormat): use std:: on ret val, ws changes
108 * bufferlist.h: correct \file
110 * buffer.C (makeLinuxDocFile): fix const type order
111 (makeDocBookFile): ditto
112 (fillWithBibKeys): use std:: on stdlib args.
114 * CutAndPaste.C: fix authors.
115 (availableSelections): use std:: on return vector
117 2003-06-27 André Pönitz <poenitz@gmx.net>
119 * BufferView_pimpl.C:
120 * bufferview_funcs.C:
128 * text3.C: remove LyXCursor::row_ member
131 * text.C: rename fullRebreak() to partialRebreak() and implement
132 a fullRebreak() that really bereks fully
134 * textcursor.h: new struct for cursor-related data
136 2003-06-26 Alfredo Brauntein <abraunst@lyx.org>
138 * lyx_main.C (LyX): get full path of document loaded on the
141 2003-06-26 André Pönitz <poenitz@gmx.net>
143 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
144 remove unused/broken operator>,<,>=.
146 * text.C: remove only use of broken operator<= in an Assert().
148 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
150 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
151 moved errorlist_.clear to showErrorList
153 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
155 * converter.C (scanLog, runLaTeX):
156 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
157 move the bv->showErrorList call to the callers
158 * lyxfunc.C: i.e. here...
160 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
161 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
162 namespace, the second to...
163 * buffer_funcs (BufferFormat, parseErrors): added
164 * errorlist.C (ErrorList(TeXErrors const &)): removed
166 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
168 * ToolbarBackend.C (getIcon): complain when icon cannot be found
170 2003-06-24 "Garst R. Reese" <reese@isn.net>
174 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
176 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
178 * version.C.in: change docversion to 1.4
180 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
182 * buffer.C: fix a bug just introduced
184 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
186 * buffer.[Ch]: added the parseError signal and use it, removed
188 * BufferView.[Ch] (addError): moved to ...
189 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
190 to the Buffer::parseError signal to catch (guess what) parse errors
191 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
193 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
195 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
196 ability to create a buffer and to return an existing one from
197 the list. Moved these functions to...
198 * buffer_funcs.[Ch]: added
199 * BufferView.[Ch] (loadLyXFile): added
200 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
201 job removed from bufferlist::loadLyXFile.
202 * buffer.C (setReadOnly): make it work without view
203 (i.e added an if (users))
205 2003-06-19 Angus Leeming <leeming@lyx.org>
208 * LyXAction.C (init):
209 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
210 with LFUN_DIALOG_SHOW <name> <data>.
212 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
214 * CutAndPaste.C (availableSelections): small compilation fix for
215 ancient (gcc 2.9x) compilers
217 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
219 * text3.C (cursorNext): add tmp var
221 * text2.C (updateCounters): for function calling out of for clause
222 (replaceSelectionWithString): ditto
223 (insertStringAsParagraphs): ditto
224 (getColumnNearX): add tmp var
225 (setCursorFromCoordinates): add tmp var
226 (cursorDownParagraph): add tmp var
227 (deleteEmptyParagraphMechanism): add tmp var
229 * text.C (insertChar): add tmp var
231 * rowpainter.C (paintDepthBar): add tmp var
233 * CutAndPaste.C (availableSelections): potentially check all
234 paragraphs in a cut to fill the shown strings.
236 2003-06-18 André Pönitz <poenitz@gmx.net>
238 * kbmap.[Ch]: use vector<> instead of list<>
240 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
242 * text3.C (dispatch): handle arg to LFUN_PASTE, call
243 pasteSelection with index
245 * text2.C (pasteSelection): modify, call pasteSelection with index
247 * paragraph.C (asString): reimplement version with no interval to
248 call the one with interval.
250 * lyxtext.h: add index arg to pasteSelection
252 * MenuBackend.C (MenuItem): handle PasteRecent
253 (Menu::read::Menutags): add md_pasterecent
255 (expandPasteRecent): new function
258 * MenuBackend.h: add PasteRecent to MenuItem::Kind
260 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
262 (availableSelections): new function
264 2003-06-17 Angus Leeming <leeming@lyx.org>
266 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
268 2003-06-17 Angus Leeming <leeming@lyx.org>
271 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
273 * lyxfunc.C (dispatch): invoke it.
275 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
277 * iterators.C (operator++, ParPosition): reintroduce some
278 const_cast for the benefit of older compilers.
280 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
282 * text3.C (dispatch): do not modify clipboard when doing
283 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
284 LFUN_DELETE_SKIP on a selection selection
286 2003-06-16 André Pönitz <poenitz@gmx.net>
292 * tabular.[Ch]: IU of clone() and getLabelList();
294 2003-06-13 André Pönitz <poenitz@gmx.net>
296 * tabular.h: compactification
298 2003-06-12 André Pönitz <poenitz@gmx.net>
302 * tabular_funcs.h: some renaming plus whitespace
304 2003-06-12 André Pönitz <poenitz@gmx.net>
307 * BufferView_pimpl.C:
313 * toc.C: Return a Paragraph & for ParIterator::operator*()
315 2003-06-11 John Levon <levon@movementarian.org>
319 * ToolbarBackend.C: add "Toolbars" section and
322 2003-06-10 Angus Leeming <leeming@lyx.org>
325 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
327 * lyxfunc.C (dispatch): invoke it.
329 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
331 * main.C: protect <ios> with HAVE_IOS
332 (main): protect sync_with_stdio with HAVE_IOS
334 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
336 * text2.C (cutSelection): adjust
337 (pasteSelection): adjust
339 * messages.C: handle get of empty string
341 * main.C (main): use sync_with_stdio(false)
343 * lyxfunc.C (dispatch): adjust
345 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
346 (WriteAs): remove unneeded BufferView arg.
348 * bufferparams.h: use correct types on papersize, papersize2 and
351 * bufferparams.C (readToken): adjust for type
352 (writeLaTeX): add missing cases to switch.
354 * bufferlist.C (quitWriteBuffer): adjust
357 * buffer.C (asciiParagraph): remove some commented code.
359 * CutAndPaste.C: remove current_view extern variable.
360 (cutSelection): add BufferParams arg.
361 (eraseSelection): add BufferParams arg.
362 (pasteSelection): add Buffer const & arg
364 2003-06-07 John Levon <levon@movementarian.org>
372 * paragraph.C: allow InsetERT to freely space lines,
373 and some consolidation of code
375 2003-06-06 José Matos <jamatos@fep.up.pt>
377 * buffer.C (makeDocBookFile): fix bug #821
379 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
381 * BufferView_pimpl.C (dispatch): use Dialogs::visible
383 2003-06-04 Angus Leeming <leeming@lyx.org>
385 * buffer.C: bump format to 224.
387 2003-06-05 André Pönitz <poenitz@gmx.net>
389 * text2.C (redoParagraphs): remove two const_cast<>
391 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
393 * ParagraphList.h: remove last remnants of NO_STD_LIST
395 2003-06-03 Angus Leeming <leeming@lyx.org>
397 * factory.C (createInset): small change to the way InsetExternal's params
400 2003-06-04 André Pönitz <poenitz@gmx.net>
402 * buffer.h: use Undo directly instead of shared_ptr<Undo>
405 * paragraph.[Ch]: some Inset -> UpdatableInset changes
407 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
409 * undo_funcs.C: make some simple cases of undo work again
411 2003-06-03 John Levon <levon@movementarian.org>
413 * ispell.C: HPUX doesn't have sys/select.h
416 2003-06-03 John Levon <levon@movementarian.org>
418 * CutAndPaste.C: update tabular and include inset
423 * paragraph.C: remove owningBuffer(), don't pass Buffer
426 * factory.C: insetGraphicsParams changed
428 2003-06-02 John Levon <levon@movementarian.org>
434 * text3.C: remove insetparent
436 2003-06-02 John Levon <levon@movementarian.org>
439 * buffer.C: fix inset_iterator.end(), move out of line
442 2003-06-01 John Levon <levon@movementarian.org>
444 * text3.C: use a proper cut/paste when doing inset
445 insert (from Jürgen Spitzmüller)
447 2003-06-01 John Levon <levon@movementarian.org>
449 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
451 2003-05-30 André Pönitz <poenitz@gmx.net>
453 * rowpainter.C: unify second drawing phase
455 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
457 * trans_mgr.C: remove one case of current_view
459 * text2.C (cursorBottom): delete NO_STD_LIST stuff
461 * paragraph_funcs.h: remove paragraph.h include
463 * paragraph.h: delete NO_STD_LIST stuff
465 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
467 * buffer.h: remove paragraph.h include
469 * ParagraphList.C: delete file
471 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
473 * toc.C (getTocList): adjust
475 * paragraph_pimpl.C (validate): adjust
477 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
479 * paragraph.C (Paragraph): adjust
480 (getPositionOfInset): use const_iterator, adjust
481 (bibitem): use const_iterator, adjust
482 (setInsetOwner): adjust
484 * iterators.C (operator++): adjust
486 * InsetList.[Ch]: Replace selfmade iterator with standard
487 vector::iterator also introduce const_iterator. Remove getPos,
488 getInset and setInset from InsetTable. Adjust accordingly.
490 * BufferView.C (lockInset): adjust
491 (ChangeInsets): adjust
493 * tabular.[Ch]: delete commented same_id functions
495 2003-05-28 John Levon <levon@movementarian.org>
497 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
499 2003-05-28 André Pönitz <poenitz@gmx.net>
501 * metricsinfo.[Ch]: remove 'fullredraw' member
503 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
505 * lyxtextclass.C (operator): remove caching.
507 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
511 * text2.C (cursorBottom): adjust
512 (setCounter): use ParagraphList::find, adjust
514 * text.C (workWidth): use ParagraphList::find, adjust
516 * lyxcursor.C (LyXCursor): adjust
518 * buffer.C (inset_iterator): adjust
520 * ParagraphList.h: make iterator(value_type) private, make
521 ParagraphList a friend of iterator.
523 * ParagraphList.C (find): new function
525 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
527 2003-05-27 André Pönitz <poenitz@gmx.net>
529 * dimension.[Ch]: a -> asc, d -> des, w -> wid
531 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
533 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
535 2003-05-26 John Levon <levon@movementarian.org>
537 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
539 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
541 * remove same_id from function signatures, adjust.
543 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
545 * undo_funcs.C (createUndo): use the id functions directly, adjust.
547 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
549 * paragraph.C (Paragraph): get rid of same_ids parameter
551 * ParagraphList.C (insert): adjust
554 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
556 * paragraph_funcs.C (breakParagraph): adjust
557 (breakParagraphConservative): adjust
559 * buffer.C (readParagraph): adjust
561 * ParagraphList.C (insert): take a reference instead of a pointer
564 * paragraph.[Ch] (id): new function
566 * bufferlist.C (newFile): adjust
568 * ParagraphList.C (ParagraphList): adjust
570 (push_back): take a reference instead of a pointer.
572 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
574 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
577 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
578 set else use old code.
580 * ParagraphList.C: remove all NO_NEXT code and only compile this
581 code of NO_STD_LIST is set.
583 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
585 * BufferView_pimpl.C:
595 * graphics/GraphicsConverter.C:
596 * graphics/PreviewLoader.C: header adjustment
598 2003-05-23 Angus Leeming <leeming@lyx.org>
600 * LaTeXFeatures.[Ch] (useBabel): new method.
601 * bufferparams.C (writeLaTeX): use it.
603 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
605 * ParagraphList.h (set): remove unused function.
607 2003-05-23 André Pönitz <poenitz@gmx.net>
610 * BufferView_pimpl.C:
614 * undo_funcs.C: setUndo reworked
616 * iterators.[Ch]: add access to topmost ParagraphList
618 * lyxtext.[Ch] (workWidth): add a const
620 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
622 * texrow.[Ch] (increasePos): remove function
623 * exporter.C (export): removed unused var and outdated comment
625 2003-05-23 Angus Leeming <leeming@lyx.org>
627 * latexrunparams.h: rename fragile as moving_arg.
628 * paragraph.C (simpleTeXOnePar): ditto.
629 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
631 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
633 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
635 (textUndoOrRedo): comment out a currently unused var.
637 * paragraph.h (NO_NEXT): enable NO_NEXT
639 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
641 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
643 * exporter.C (Export): adjust for removeAutoInsets removal.
645 * buffer.C (runChktex): adjust for removeAutoInsets removal.
647 * LyXAction.C (init): remove LFUN_REMOVEERRORS
649 * BufferView.[Ch] (removeAutoInsets): delete function
651 2003-05-22 Angus Leeming <leeming@lyx.org>
653 * latexrunparams.h: add a free_spacing variable.
655 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
656 to pass moving_arg, as the data is stored in runparams.fragile.
658 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
659 to Inset::latexOptional or to simpleTeXOnePar.
661 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
662 free_spacing arg to Inset::latexOptional.
664 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
667 2003-05-22 Angus Leeming <leeming@lyx.org>
669 * latexrunparams.h: add fragile and use_babel variables.
671 * bufferparams.[Ch] (writeLaTeX): return use_babel.
672 * buffer.C (makeLaTeXFile): store this returned value in
673 runparams.use_babel, thus passing it to the inset::latex methods.
675 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
676 simpleTeXSpecialChars as it is now stored in runparams.fragile.
678 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
679 longer has a fragile arg, as it is stored in runparams.fragile.
681 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
682 moving_arg parameter as the data is stored in runparams.fragile.
684 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
685 a fragile parameter as the data is stored in runparams.fragile.
687 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
689 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
691 2003-05-22 Angus Leeming <leeming@lyx.org>
693 * latexrunparams.h: add a 'bool nice' which defaults to false.
695 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
696 now encapsulated within runparams.
698 * bufferlist.C (updateIncludedTeXfiles):
699 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
701 2003-05-22 Angus Leeming <leeming@lyx.org>
703 * latexrunparams.h: new file containing struct LatexRunParams.
704 * Makefile.am: add new file.
706 * LaTeX.[Ch] (c-tor, run):
707 * buffer.[Ch] (makeLaTeXFile):
708 * bufferlist.[Ch] (updateIncludedTeXfiles):
709 * converter.C (convert, scanLog):
710 * converter.[Ch] (runLaTeX):
711 * exporter.C (Export):
712 * paragraph.[Ch] (simpleTeXOnePar):
713 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
714 * paragraph_funcs.[Ch] (latexParagraphs):
715 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
716 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
717 pass around a LatexRunParams parameter.
719 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
721 * paragraph.[Ch]: remove unused constructor
723 * ParagraphList.C (erase): new function, taking two iterators
725 2003-05-22 André Pönitz <poenitz@gmx.net>
727 * undo_funcs.C: remove duplicated code
729 * iterator.[Ch]: operator=
731 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
733 * tabular.C (SetMultiColumn): ws changes
735 * rowpainter.C (paintFirst): get rid of a ->previous
737 * lyx_cb.C (getPossibleLabel): parlist simplification
739 * BufferView.C (ChangeInsets): simplify slightly.
741 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
743 * LyXAction.C: new lfun space-insert, kill protected-space-insert
744 * lfuns.h: new LFUN_SPACE
745 * lyxfunc.C: protected space has a new lfun
746 * paragraph_funcs.C: read new space insets
748 * factory.C: handle new space insets
750 2003-05-22 André Pönitz <poenitz@gmx.net>
753 * BufferView_pimpl.C:
756 * undo_funcs.C: return a ParIterator from getParFromID.
758 * iterators.[Ch]: add two const's
760 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
762 * toc.C (getTocList): adjust
764 * iterators.[Ch]: rework for parlist
766 * buffer.C (par_iterator_begin): adjust
767 (par_iterator_end): adjust
769 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
771 * BufferView.C (removeAutoInsets): adjust
772 (ChangeInsets): adjust
774 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
776 * text.C (top_y): fix bug 1110
778 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
780 * errorlist.[Ch]: added
783 * BufferView_pimpl.C:
784 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
787 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
789 * Makefile.am: ensure that lyx is relinked upon changes to the
790 various "convenience" libs.
792 2003-05-20 Angus Leeming <leeming@lyx.org>
794 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
795 files are compiled in alphabetical order again.
797 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
799 2003-05-19 Angus Leeming <leeming@lyx.org>
801 * gettext.[Ch]: remove "char const * _(char const *)".
803 2003-05-19 André Pönitz <poenitz@gmx.net>
805 * dimension.[Ch]: promote from mathed/dimension.[Ch]
814 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
816 2003-05-19 André Pönitz <poenitz@gmx.net>
822 * paragraph_funcs.[Ch]:
824 * text3.C: more insetenv work
826 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
828 * ParagraphParameters.C (params2string): small bug fixed
830 2003-05-16 André Pönitz <poenitz@gmx.net>
833 * bufferview_funcs.C: patch from Kornel Benko to prevent
834 crash when _(...) is called twice in a statement
836 2003-05-16 André Pönitz <poenitz@gmx.net>
843 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
845 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
847 * lyx_main.C (init): remove spurious static_cast
849 2003-05-14 André Pönitz <poenitz@gmx.net>
851 * BufferView.C: fix format string
853 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
855 * BufferView.[Ch] (insertErrors): removed
856 * BufferView.[Ch] (showErrorList): added
857 * buffer.C (runChkTeX):
858 * converter.C (scanLog): call showErrorList instead of inserterrors
860 2003-05-13 André Pönitz <poenitz@gmx.net>
862 * BufferView_pimpl.C:
871 * tabular_funcs.h: tostr() from its own header
873 * ParagraphParameters.C:
880 2003-05-12 André Pönitz <poenitz@gmx.net>
883 * BufferView_pimpl.C:
887 * ParagraphParameters.C:
891 * bufferview_funcs.C:
908 * text3.C: boost::format -> bformat all over the place
911 2003-05-09 André Pönitz <poenitz@gmx.net>
913 * LColor.[Ch]: Pimpl the #include <map> away
915 2003-05-09 John Levon <levon@movementarian.org>
917 * bufferlist.C: never remove emergency saves
919 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
921 * Makefile.am: better lib building
923 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
925 * texrow.[Ch]: remove dependency on Paragraph and just store a id
927 * paragraph_pimpl.C (simpleTeXBlanks): adjust
928 (simpleTeXSpecialChars): adjust
929 (simpleTeXSpecialChars): adjust
930 * paragraph.C (simpleTeXOnePar): adjust
931 * buffer.C (makeLaTeXFile): adjust
933 * Makefile.am (BOOST_LIBS): allow boost as system lib.
935 * text2.C (changeDepth): parlist cleanup
936 (getColumnNearX): ditto
938 * rowpainter.C (getLabelFont): parlist cleanup
940 * bufferlist.C (newFile): parlist cleanup
942 * CutAndPaste.C (eraseSelection): parlist cleanup
944 * BufferView_pimpl.C (trackChanges): parlist cleanup
947 * BufferView.C (lockInset): parlist cleanup.
948 (ChangeInsets): ditto
950 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
952 * CutAndPaste.h: Update file header.
954 * CutAndPaste.C: Update file header.
955 Store the parts cut out of the Document in a limited_stack.
956 (copySelection): adjust
957 (pasteSelection): new function, takes the index in the limited stack.
958 (nrOfParagraphs): adjust
959 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
960 simplify error inset insertion.
961 (checkPastePossible): adjust
963 2003-05-06 John Levon <levon@movementarian.org>
965 * text2.C: don't cast wrap inset to float
967 2003-05-05 André Pönitz <poenitz@gmx.net>
970 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
972 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
973 few naked Paragraph *.
975 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
977 * bufferparams.C: Output warning if a document with missing
978 TeX document class is loaded
979 * exporter.C: Disable TeX exports if the document class is missing
982 * lyxtextclasslist.C: Handle new textclass.lst format; new method
983 isTeXClassAvailable()
985 2003-05-03 John Levon <levon@movementarian.org>
988 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
989 explicit cursor show/hide
991 * BufferView_pimpl.h:
992 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
993 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
995 * lyxfunc.C: hide cursor before dispatching.
1000 * text3.C: remove explicit cursor hides
1002 2003-05-02 André Pönitz <poenitz@gmx.net>
1004 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1007 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1010 * text2.C: tiny whitespace
1012 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1014 * undo_funcs.C: almost only ws changes.
1016 * ParagraphList.C (splice): just return if pl is empty.
1018 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1020 * ParagraphList.C (splice): new function.
1022 * CutAndPaste.C (pasteSelection): use it
1024 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1026 * CutAndPaste.C (pasteSelection): remove the last next and
1027 previous from this file.
1029 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1031 * CutAndPaste.C (pasteSelection): more clean up, user proper
1032 ParagraphList functions for pasteing.
1034 * ParagraphList.C (insert): new function, three arg insert
1036 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1038 * ParagraphList.C (insert): new function, three arg insert
1040 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1043 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1045 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1047 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1049 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1051 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1053 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1054 (copySelection): clean up a bit.
1055 (pasteSelection): use make_pair
1057 * ParagraphList.C (ParagraphList): implement copy constructor
1058 (operator=): implement, base on copy constructor.
1061 * paragraph.C (erase): return a bool
1063 * paragraph_pimpl.C (erasePos): remove function, move contents...
1064 (erase): ... here. Return a bool.
1065 (erase): call erase instead of erasePos.
1067 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1069 * ParagraphList.h: define PitPosPair
1070 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1071 ParagraphList, fix a bug on pasting multiple pars
1072 * text2.C: change interface to C&P
1074 2003-04-30 André Pönitz <poenitz@gmx.net>
1076 * undo_func.C: revert part of yesterday's patch 2
1078 2003-04-30 John Levon <levon@movementarian.org>
1080 * LColor.C: s/tabular/table/
1082 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1084 * text3.C (dispatch): do not convert iterator -> pointer
1085 * undo_funcs.C (setCursorParUndo): ditto
1086 * text_funcs.C (transposeChars): ditto
1088 * text2.C (setLayout): ws changes only
1090 * text.C (breakParagraph): do not convert iterator -> pointer
1092 (acceptChange): ditto
1093 (rejectChange): ditto
1098 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1101 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1103 * text3.C (gotoInset): YABG (yet another bad getChar)
1105 2003-04-29 André Pönitz <poenitz@gmx.net>
1107 * paragraph.h: make operator= private unimplemented as long as
1110 * ParagraphList.C: whitespace
1113 * paragraph_pimpl.[Ch]:
1114 * paragraph_funcs.C:
1116 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1119 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1121 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1123 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1124 * paragraph.[Ch] (erase):
1125 * paragraph_pimpl.[Ch] (erase): change return type and value
1126 * text2.C (cutSelection): some rework
1128 2003-04-28 John Levon <levon@movementarian.org>
1130 * bufferlist.C: changes for unsaved changes dialog
1132 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1134 * bufferlist.C (newFile): set language (messages_) for new
1137 * buffer.C (readFile): ws changes only.
1139 2003-04-28 André Pönitz <poenitz@gmx.net>
1144 * BufferView_pimpl.C:
1145 * BufferView.C: getParFromID related ParagraphList::iterator changes
1147 2003-04-28 André Pönitz <poenitz@gmx.net>
1149 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1152 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1154 * messages.C: remove one more localedir class variable.
1156 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1158 * messages.C (getLocaleDir): singleton generation function
1160 (Messages): add a default constructor.
1162 * main.C (main): do not setup localedir here, do not call
1165 * gettext.C (_): use it.
1166 (gettext_init): delete funciton
1168 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1170 * gettext.C (getLyXMessages): new singleton generating function.
1172 * buffer.C (updateDocLang): adjust
1174 * Makefile.am (messages.o): add target
1175 (main.o): remove target
1177 2003-04-27 John Levon <levon@movementarian.org>
1182 * lyxvc.C: specify cancel button in Alert::prompt
1184 2003-04-26 John Levon <levon@movementarian.org>
1189 * LyXAction.C: add LFUN_INSET_SETTINGS
1191 * lyxfunc.C: don't enable tabular-feature when there's
1192 just any locking inset
1194 2003-04-26 John Levon <levon@movementarian.org>
1196 * bufferlist.C: re-add Cancel to buffer close question
1198 * lyxfunc.C: fix import UI a bit
1200 2003-04-25 John Levon <levon@movementarian.org>
1202 * gettext.C: remove the broken asserts for now
1204 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1206 * messages.C: make case where setlocale cannot comply work better.
1208 * buffer.C (updateDocLang): new function
1209 (changeLanguage): use it
1212 * text2.C (setCounter): use B_ a bit.
1214 * lyxlayout.C (Read): be sure to trim the label strings.
1216 * messages.C (Messages): fix typo in comment
1218 * buffer.C (readFile): set message_ after file is loaded.
1219 (makeDocBookFile): remove double return
1220 (changeLanguage): reset message_ upon language change.
1221 (B_): new func, use this to get translated buffer strings.
1223 * main.C: add myself and Jean Marc as authors.
1225 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1227 * messages.[hC]: pimplify Messages, and three different pimpls to be
1228 used in different circumstances.
1230 * gettext.[Ch]: change for use with new message code.
1232 2003-04-24 André Pönitz <poenitz@gmx.net>
1234 * factory.C: support for eqref
1236 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1238 * messages.[Ch]: add missing char
1240 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1242 * messages.[Ch]: New files
1244 2003-04-18 John Levon <levon@movementarian.org>
1248 * BufferView_pimpl.C:
1252 * text2.C: remove layout-copy/paste (bug 778)
1254 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1256 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1258 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1260 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1261 if they succeed. Act accordingly.
1263 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1265 * text2.C (setCharFont): adjust
1266 (setCounter): adjust
1267 (insertStringAsLines): adjust
1269 * text.C (leftMargin): adjust
1270 (setHeightOfRow): adjust
1272 * rowpainter.C (paintFirst): adjust
1275 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1277 (isFirstInSequence): ditto
1278 (getEndLabel): ditto
1281 * paragraph.C (getParLanguage): comment out some hard stuff.
1283 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1285 (simpleDocBookOnePar): ditto
1286 (makeDocBookFile): use ParagraphList::iterator
1288 * CutAndPaste.C (pasteSelection): adjust
1290 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1292 * text2.C (getFont): adjust
1293 (getLayoutFont): adjust
1294 (getLabelFont): adjust
1296 * paragraph_funcs.C (TeXOnePar): adjust
1298 * buffer.C (simpleLinuxDocOnePar): adjust
1299 (simpleDocBookOnePar): adjust
1301 * CutAndPaste.C (pasteSelection): adjust
1303 * BufferView.C (getEncoding): adjust
1305 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1307 2003-04-16 John Levon <levon@movementarian.org>
1309 * lyxfind.C: use parlist stuff for search/changes
1311 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1313 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1315 * text2.C (deleteEmptyParagraphMechanism): adjust
1317 * text2.[Ch] (ownerParagraph): delete func (both of them
1319 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1321 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1323 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1325 * ParagraphList.C: prepare for NO_NEXT
1327 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1329 * text2.C (getFont): adjust
1330 (getLayoutFont): adjust
1331 (getLabelFont): adjust
1333 * paragraph.C (getFont): adjust
1334 (getLabelFont): adjust
1335 (getLayoutFont): adjust
1337 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1339 2003-04-15 John Levon <levon@movementarian.org>
1343 * lyx_main.C: handle Include in .ui files
1345 2003-04-15 John Levon <levon@movementarian.org>
1347 * MenuBackend.C: make the doc files length shorter
1350 * ToolbarBackend.C: handle toolbar placement flags,
1353 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1355 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1358 * paragraph_funcs.C (TeXOnePar): adjust
1360 * paragraph.C (getLabelFont): add outerfont arg, adjust
1361 (getLayoutFont): ditto
1362 (simpleTeXOnePar): adjust
1364 * paragraph_pimpl.C (realizeFont): delete func
1366 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1368 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1369 row argument, constify cur argument.
1371 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1373 * text2.C (getFont): adjust
1374 (getLayoutFont): adjust
1375 (getLabelFont): adjust
1377 * paragraph_funcs.C (TeXOnePar): adjust
1378 (outerFont): new func...
1379 (realizeFont): ...moved out from here, changed this to facilitate
1382 * paragraph.C (getFont): take outerfont as arg, adjust
1383 (simpleTeXOnePar): add outerfont arg, adjust
1385 * buffer.C (simpleLinuxDocOnePar): adjust
1386 (simpleDocBookOnePar): adjust
1388 * CutAndPaste.C (pasteSelection): adjust
1390 * BufferView.C (getEncoding): adjust
1392 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1394 * text2.C (setCharFont): adjust
1395 (setCounter): adjust
1397 * text.C (leftMargin): adjust
1398 (setHeightOfRow): adjust
1400 * rowpainter.C (paintFirst): adjust
1403 * paragraph_pimpl.C (realizeFont): adjust
1405 * paragraph.C (isFirstInSequence): move from here...
1406 * paragraph_funcs.C (isFirstInSequence): ...to here
1408 * paragraph.C (outerHook): move from here...
1409 * paragraph_funcs.C (outerHook): ...to here
1411 * paragraph.C (depthHook): move from here...
1412 * paragraph_funcs.C (depthHook): ...to here
1414 * paragraph.C (getEndLabel): move from here...
1415 * paragraph_funcs.C (getEndLabel): ...to here
1417 * text2.C (realizeFont): move from here...
1418 * paragraph_funcs.C (realizeFont): ...to here
1420 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1422 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1424 2003-04-14 Angus Leeming <leeming@lyx.org>
1426 * LColor.[Ch]: scrap LColor mathcursor.
1428 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1430 * lyxlex.[Ch] (text): delete function
1431 * trans.C (Load): adjust
1432 * paragraph_funcs.C (readParToken): adjust
1434 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1436 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1437 vector<char> instead of a char[].
1439 * lyxlex_pimpl.C (getString): adjust
1441 (lex): use getString
1445 * lyxlex.C (text): use pimpl_->getString()
1449 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1451 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1452 (makeFontEntriesLayoutSpecific): temp var for par.size()
1453 (setLayout): temp var for ownerParagraphs().end()
1454 (fullRebreak): temp var for rows().end()
1455 (selectionAsString): temp var for boost::next(startpit), realize
1456 that the while really is a regular for loop.
1457 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1458 setCursor in one place.
1459 (setParagraph): temp vr for ownerParagraphs().end()
1460 (updateCounters): make the while loop a for loop
1461 (cutSelection): temp var for ownerParagraphs().end()
1462 (updateInset): make the do {} while() a regular for loop
1463 (getCursorX): use temp vars
1464 (setCurrentFont): use temp vars
1465 (getColumnNearX): use temp vars
1467 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1469 * text.C (transformChar): use temp var for getChar
1470 (computeBidiTables): use temp var for row->par()
1471 (fill): move temp vars for row->par() and pit->layout() earlier in
1473 (labelFill): use temp var for row->par()
1474 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1475 asc and desc, realize that pit never changes and that firstpit is
1476 just a duplicate and not needed. Exchange rit->par() with pit in a
1478 (breakAgain): use a temp var for boost::next(rit)
1479 (breakAgainOneRow): ditto
1480 (breakParagraph): use a temp var for rows().begin()
1481 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1482 (cursorRightOneWord): use temp var for cursor.par() and
1483 cursor.pos(), remove usage of tmpcursor.
1484 (cursorLeftOneWord): use temp var for cursor.par() and
1485 cursor.pos() only set cur at end of function.
1487 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1489 * text.C, text2.C: exchange all usage of Paragraph::next with
1490 boost::next(ParagraphList::iterator)
1492 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1494 * text2.C (cursorTop): simplify implementation
1495 (cursorBottom): ditto
1496 (setParagraph): use ParagraphList::iterator
1497 (setCurrentFont): adjust
1498 (getColumnNearX): adjust
1499 (cursorRight): adjust
1500 (cursorLeft): remove usage of Paragraph::previous
1501 (cursorUpParagraph): ditto
1502 (deleteEmptyParagraphMechanism): slight cleanup
1504 * text.C (isBoundary): take a Paragraph const & instead of a
1506 (addressBreakPoint): ditto
1507 (leftMargin): remove usage of Paragraph::previous.
1508 (setHeightOfRow): ditto
1509 (cursorLeftOneWord): ditto
1510 (selectNextWordToSpellcheck): ditto
1513 (breakParagraph): remove one usage of Paragraph::next
1514 (redoParagraph): ditto
1515 (acceptChange): ditto
1516 (insertChar): adjust
1517 (rowBreakPoint): adjust
1519 * bufferview_funcs.C (toggleAndShow): adjust
1521 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1523 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1524 methods to access it.
1526 * text.C: Added updateRowPositions to compute all row positions.
1527 Make top_y and getRowNearY() to use the cached y position
1529 2003-04-11 John Levon <levon@movementarian.org>
1531 * text.C (rowBreakPoint): reintroduce the labelEnd
1532 checks, code copied from the row fill stuff. Deep voodoo.
1534 * text.C (fill): add a comment and debugging for the
1537 2003-04-11 John Levon <levon@movementarian.org>
1539 * text.C: make sure fullrow insets get wrapped to the next line,
1540 even when they're in a manual label
1542 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1544 * text2.C (insertParagraph): make it take ParagraphList::iterator
1546 (setLayout): make it return ParagraphList::iterator
1547 (redoParagraphs): ditto
1549 (checkParagraph): ditto
1551 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1553 * text2.C: adjust several funcs.
1554 (realizeFont): take a ParagraphList::iterator as arg.
1555 (getLayoutFont): ditto
1556 (getLabelFont): ditto
1557 (setCharFont): ditto
1559 * text.C: adjust several funcs.
1561 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1563 * text.C (selectNextWordToSpellcheck): don't accidentally
1566 2003-04-10 John Levon <levon@movementarian.org>
1568 * ToolbarBackend.C (getIcon): special handling for
1571 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1573 * text2.C (cursorRight): a getChar assert fixed
1575 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1577 * text2.C (getFont): change to take a ParagraphList::iterator
1578 instead of Paragraph*
1579 Adjust several functions.
1581 * text.C (transformChar): change to take a ParagraphList::iterator
1582 instead of Paragraph*
1583 (singleWidth): ditto
1584 Adjust several functions.
1586 * rowpainter.C: adjust several functions
1587 * rowpainter.h:store a ParagraphList::iterator and not a
1591 2003-04-09 John Levon <levon@movementarian.org>
1596 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1597 and the "help" bits as well
1599 2003-04-09 John Levon <levon@movementarian.org>
1602 * ToolbarBackend.C: allow multiple toolbars
1604 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1606 * undo_funcs.C (setCursorParUndo): adjust
1608 * text_funcs.C (transposeChars): adjust
1610 * text3.C (gotoNextInset): adjust
1613 * text2.C (setLayout): adjust
1614 (changeDepth): adjust
1616 (redoParagraphs): adjust
1617 (selectionAsString): adjust
1618 (setParagraph): adjust
1619 (insertInset): adjust
1620 (cutSelection): adjust
1621 (copySelection): adjust
1622 (pasteSelection): adjust
1623 (insertStringAsLines): adjust
1624 (updateInset): adjust
1625 (setCursor): change to take a ParagraphList::iterator parameter
1626 (setCursorIntern): change to take a ParagraphList::iterator parameter
1627 (setCurrentFont): adjust
1628 (cursorLeft): adjust
1629 (cursorRight): adjust
1630 (deleteEmptyParagraphMechanism): adjust
1632 * text.C (breakParagraph): adjust
1633 (insertChar): adjust
1634 (acceptChange): adjust
1635 (rejectChange): adjust
1636 (selectNextWordToSpellcheck): adjust
1637 (changeCase): adjust
1641 * lyxfind.C (SearchForward): adjust
1642 (SearchBackward): adjust
1643 (nextChange): adjust
1645 * lyxcursor.C (par): adjust
1647 * lyxcursor.h: store a ParagraphList::iterator instead of a
1650 * lyx_cb.C (getPossibleLabel): adjust
1652 * bufferview_funcs.C (toggleAndShow): adjust
1654 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1657 * BufferView.C (removeAutoInsets): adjust
1658 (lockedInsetStoreUndo): adjust
1660 2003-04-09 John Levon <levon@movementarian.org>
1662 * ToolbarBackend.C: try icon without argument
1663 if with argument fails
1665 2003-04-08 John Levon <levon@movementarian.org>
1668 * ToolbarBackend.C: add getIcon(), handle tooltip,
1669 and change from "Icon" to "Item".
1671 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1673 * BufferView.C (lockInset): another bad getchar crunched
1675 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1677 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1680 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1682 * lyxfind.C (searchForward, searchBackwards): bug 782
1684 2003-04-07 John Levon <levon@movementarian.org>
1686 * paragraph.C: remove dead comment
1688 * text.C: remove troublesome depth-fiddling code
1689 in leftMargin() and rightMargin() (bug 1017)
1691 * text.C: fix breaking of rows in nested lists
1694 * text2.C (updateCounters): fix up depth values
1697 2003-04-07 John Levon <levon@movementarian.org>
1699 * BufferView_pimpl.C: clear message when doc finishes resizing,
1700 and after a mouse event
1702 * lyxfunc.C: clear message after exiting inset
1704 2003-04-07 John Levon <levon@movementarian.org>
1706 * bufferview_funcs.C: show math status not outside
1707 status in the statusbar
1709 2003-04-07 John Levon <levon@movementarian.org>
1711 * lyxfunc.C: note status changed after a depth change
1713 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1715 * LaTeX.h: move AuxInfo operator==, != out of line.
1716 Remove LaTeX virtual destructor; nothing derives from it.
1717 Move operator()() out of public area and rename it startscript().
1718 Change protected for private.
1720 2003-04-04 Angus Leeming <leeming@lyx.org>
1723 * text2.C: remove unneeded #includes.
1725 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1727 * text2.C (dEPM): fix the heigth of the next row
1729 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1731 * text.C: squashed an invalid getChar requester + some ws changes
1733 2003-04-03 John Levon <levon@movementarian.org>
1735 * bufferview_funcs.h:
1736 * bufferview_funcs.C:
1739 * text2.C: make getStatus work for the env depth lfuns
1741 2003-04-03 John Levon <levon@movementarian.org>
1743 * bufferview_funcs.h:
1744 * bufferview_funcs.C:
1747 * text2.C: parlistize decDepth(), by merging it with incDepth()
1749 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1751 * lyxrow.h: store a ParagraphList::iterator instead of a
1752 Paragraph* and adjust other class functions to suit.
1754 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1757 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1759 * text2.C (setCursor): do not anchor to cursor row for the time being
1761 2003-04-02 John Levon <levon@movementarian.org>
1768 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1770 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1772 * paragraph.h: make ParagraphList and ParagraphList::iterator
1773 friends of Paragraph.
1775 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1777 * ParagraphList.C: Use the private next_ and previous_ from
1780 2003-04-01 John Levon <levon@movementarian.org>
1784 * Makefile.am: rename, remove defaults gunk
1787 * MenuBackend.C: remove defaults gunk
1790 * Languages.C: remove defaults gunk
1793 * lyx_main.C: error out if files couldn't be found.
1795 2003-04-02 John Levon <levon@movementarian.org>
1797 * text2.C: make incDepth() use parlist
1799 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1801 * undo_funcs.C (firstUndoParagraph): adjust
1803 * text3.C (gotoInset): adjust
1804 (dispatch): adjust, and rewrite loop.
1806 * text2.C (init): adjust, and rewrite loop.
1807 (redoParagraphs): adjust
1808 (updateInset): adjust, and rewrite loop.
1809 (deleteEmptyParagraphMechanism): adjust
1811 * tabular.C (LyXTabular): adjust
1812 (SetMultiColumn): adjust
1815 * lyxtext.[Ch] (ownerParagraph): delete function
1816 (ownerParagraphs): new function returns a ParagraphList.
1818 * BufferView.C (removeAutoInsets): adjust
1819 (insertErrors): adjust
1820 (setCursorFromRow): adjust
1822 2003-04-01 Angus Leeming <leeming@lyx.org>
1824 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1827 2003-04-02 John Levon <levon@movementarian.org>
1833 * text_funcs.C: make transposeChars a free function
1835 * lyxrow_funcs.C: remove wrong comment
1837 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1840 * rowpainter.C: adjust
1845 * lyxrow_funcs. [Ch]: new files
1847 * lyxrow.[Ch]: remove next and previous pointers
1848 (next,previous): remove accessor functions
1849 (isParEnd): move to lyxrow_funcs
1850 (lastPos): move to lyxrow_funcs
1851 (nextRowIsAllInset): move to lyxrow_funcs
1852 (lastPrintablePos): move to lyxrow_funcs
1853 (numberOfSeparators): move to lyxrow_funcs
1854 (numberOfHfills): move to lyxrow_funcs
1855 (numberOfLabelHfills): move to lyxrow_funcs
1856 (hfillExpansion): move to lyxrow_funcs
1860 * bufferview_funcs.C (toggleAndShow): adjust
1862 * RowList.h: Remove class RowList from file leave just a
1865 * RowList.C: delete file
1867 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1870 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1872 * text3.C (cursorPrevious): adjust
1873 (cursorNext): adjust
1876 * text2.C (redoHeightOfParagraph): adjust
1877 (redoDrawingOfParagraph): adjust
1880 * text.C (breakParagraph): adjust
1881 (insertChar): adjust
1884 * rowpainter.C (RowPainter): adjust
1885 (leftMargin): simplify and adjust
1886 (most rowpainter functions): adjust.
1888 * rowpainter.h: store the row as RowList::iterator not as Row*
1890 * lyxcursor.C (row): taka RowList::iterator as arg
1893 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1896 2003-04-01 Angus Leeming <leeming@lyx.org>
1898 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1899 stuff like bool Bool.
1901 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1903 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1906 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1908 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1911 * lyxtext.h (rows): drop one version and leve a const variant that
1912 returns a RowList::iterator.
1914 2003-03-31 Angus Leeming <leeming@lyx.org>
1916 * text.C (fill): ensure that the signature is the same as that in the
1919 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1921 * text2.C (redoParagraphs): adjust
1922 (updateCounters): adjust
1923 (checkParagraph): adjust
1924 (getColumnNearX): adjust and reformat a bit.
1926 * text.C (top_y): adjust
1928 (leftMargin): adjust
1929 (prepareToPrint): adjust
1931 (getRowNearY): adjust
1933 * lyxtext.h: make rowlist_ mutable.
1935 * RowList.h: add const_iterator
1936 * RowList.C: adjust for RowList::const_iterator.
1938 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1941 2003-03-31 John Levon <levon@movementarian.org>
1944 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1946 * lyx_main.C: set default fonts from using lyx_gui funcs
1948 * exporter.C: pdf_mode moved from lyxrc
1951 * lyxfunc.C: changes from above
1953 2003-03-31 John Levon <levon@movementarian.org>
1955 * lyx_main.C: fix to the last fix
1957 2003-03-31 John Levon <levon@movementarian.org>
1959 * bufferlist.C: "Load original" -> "Load Original"
1965 * format.C: more Alert cleanups
1967 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1969 * text2.C (removeParagraph): make it take a RowList::iterator as
1971 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1972 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1974 * text.C (anchor_row): make it take a RowList::iterator as arg,
1976 (computeBidiTables): make it take a const reference to Row instead
1977 of Row pointer, adjust.
1978 (leftMargin): make it take a RowList::iterator as arg, adjust.
1979 (rowBreakPoint): adjust
1980 (breakAgainOneRow): make it take a RowList::iterator as arg,
1982 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1984 * bufferview_funcs.C (toggleAndShow): adjust
1986 2003-03-30 John Levon <levon@movementarian.org>
1990 * boost-inst.C: moved to support
1992 * several files: changes as a result
1994 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1996 * text2.C (LyXText): adjust.
1998 (removeRow): make it take a RowList::iterator as arg, adjust.
1999 (fullRebreak): adjust
2000 (deleteEmptyParagraphMechanism): adjust
2001 (clearPaint): adjust
2004 * text.C (top_y): adjust
2005 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2006 (breakAgain): make it take a RowList::iterator as arg, adjust.
2007 (breakParagraph): adjust
2008 (insertChar): adjust
2011 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2012 need_break_row, and refresh_row.
2014 * text3.C (dispatch): adjust
2016 * text2.C (checkParagraph): adjust
2018 (setCursorFromCoordinates): adjust
2020 * text.C (top_y): adjust
2022 (getRow): make it return a RowList::iterator, adjust
2023 (getRowNearY): make it return a RowList::iterator, adjust
2025 * text2.C (init): adjust
2026 (insertRow): remove function
2027 (insertParagraph): adjust
2028 (redoParagraphs): adjust
2029 (fullRebreak): adjust
2030 (updateCounters): adjust
2032 * text.C (top_y): rewrite to use RowList iterators.
2034 (setHeightOfRow): rewrite to sue RowList iterators.
2035 (appendParagraph): adjust
2036 (breakAgain): adjust
2037 (breakAgainOneRow): adjust
2038 (breakParagraph): adjust
2040 (getRowNearY): adjust, and remove commented code.
2042 * lyxtext.h (firstRow): delete function
2043 (lastRow): delete function
2044 (rows): new function (const and non-const versions.)
2045 (insertRow): delete function
2047 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2049 2003-03-29 John Levon <levon@movementarian.org>
2051 * BufferView_pimpl.C: always update scrollbar top
2052 because pasting text when we're anchored could mean we
2053 miss an update altogether
2055 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2057 * text2.C (init): use rowlist_.end() and not 0.
2058 (insertRow): change to take a RowList::iterator as arg, adjust
2060 (insertParagraph): change to take a RowList::iterator as arg,
2062 (redoParagraphs): remove some debug msgs.
2064 * text.C (appendParagraph): change to take a RowList::iterator
2065 arg, adjust for this.
2066 (breakAgain): add an assert
2067 (breakAgainOneRow): ditto
2069 2003-03-29 John Levon <levon@movementarian.org>
2071 * text2.C: do not clear selection after inc/decDepth
2074 2003-03-29 John Levon <levon@movementarian.org>
2077 * buffer.C: fix broken strerrors according to Lars
2079 2003-03-29 John Levon <levon@movementarian.org>
2081 * converters.C: more Alert cleanups
2083 2003-03-29 John Levon <levon@movementarian.org>
2085 * bufferview_funcs.C: remove pointless Alert
2087 * buffer.C: fix confusing error message when
2088 a template is chmoded 000
2090 2003-03-29 John Levon <levon@movementarian.org>
2094 * BufferView_pimpl.C: Alert fixes
2098 * tabular-old.C: remove unused table compat reading
2100 2003-03-29 John Levon <levon@movementarian.org>
2105 * lyx_cb.C: more Alert cleanups
2107 * lyxfunc.C: don't allow chktex if not latex document
2109 2003-03-29 John Levon <levon@movementarian.org>
2113 * buffer.C: warnings pushed down from support/,
2116 2003-03-29 John Levon <levon@movementarian.org>
2118 * lyxfunc.C: safety check for C-r (revert)
2120 2003-03-29 John Levon <levon@movementarian.org>
2123 * bufferlist.C: several UI fixes using Alert::prompt.
2124 Fix the pointless looping quit code. Fix stupid revert
2129 * lyx_cb.C: use Alert::prompt
2131 * lyx_main.C: remove a silly question
2133 * lyxfunc.C: remove a couple of silly questions,
2136 2003-03-28 John Levon <levon@movementarian.org>
2138 * text2.C: fix bug 974 (End on empty par)
2140 2003-03-28 John Levon <levon@movementarian.org>
2142 * BufferView_pimpl.C:
2144 * lfuns.h: remove do-nothing math greek lfuns
2146 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2148 * lyxgluelength.h (isValidGlueLength): add default arg on
2149 parameter 2. Remove default arg from friend in class.
2151 * lyxlength.h (isValidLength): add default arg on parameter 2.
2152 Remove default arg from friend in class.
2154 * text2.C (LyXText): adjust, initialize refresh_row.
2158 (insertParagraph): adjst
2159 (redoParagraphs): adjust
2160 (fullRebreak): adjust
2161 (updateCounters): adjust
2162 (deleteEmptyParagraphMechanism): first attempt at fixing a
2165 * text.C (top_y): adjust
2166 (setHeightOfRow): adjust
2168 (getRowNearY): adjust
2170 * lyxtext.h: include RowList.h
2171 (~LyXText): not needed anymore, deleted.
2172 (firstRow): modify for RowList
2173 (lastRow): new function
2174 Delete firstrow and lastrow class variables, add a Rowlist
2175 rowlist_ class variable.
2177 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2180 * RowList.C (insert): fix case where it == begin().
2182 2003-03-26 Angus Leeming <leeming@lyx.org>
2184 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2185 the thesaurus dialog.
2187 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2189 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2191 * RowList.[Ch]: new files
2193 * ParagraphList.C (erase): handle the case where it == begin
2196 2003-03-25 John Levon <levon@movementarian.org>
2200 * aspell.C: add new aspell support
2203 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2206 2003-03-25 Angus Leeming <leeming@lyx.org>
2209 * LyXAction.C (init): new LFUN_INSET_INSERT.
2211 * BufferView_pimpl.C (dispatch): split out part of the
2212 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2214 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2217 2003-03-25 Angus Leeming <leeming@lyx.org>
2219 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2221 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2224 * text3.C: remove useless row->height(0)
2226 2003-03-25 John Levon <levon@movementarian.org>
2230 * text3.C: rename the refreshing stuff to better names
2232 2003-03-24 John Levon <levon@movementarian.org>
2234 * BufferView_pimpl.h:
2235 * BufferView_pimpl.C: update layout choice on a mouse
2238 2003-03-23 John Levon <levon@movementarian.org>
2240 * Makefile.am: fix commandtags.h reference
2242 2003-03-22 John Levon <levon@movementarian.org>
2244 * BufferView_pimpl.C:
2249 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2251 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2254 * text.C: take the rtl methods out of line
2256 2003-03-21 André Pönitz <poenitz@gmx.net>
2258 * metricsinfo.[Ch]: new files containing structures to be passed around
2259 during the two-phase-drawing...
2261 2003-03-21 André Pönitz <poenitz@gmx.net>
2263 * lyxtextclass.C: read 'environment' tag.
2265 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2267 * text2.C (removeRow): fix bug 964
2269 2003-03-20 John Levon <levon@movementarian.org>
2273 * text2.C: paint cleanups. Inset::update() dropped font
2276 2003-03-19 John Levon <levon@movementarian.org>
2278 * lyxfunc.C: only fitcursor/markDirty if available()
2280 2003-03-19 John Levon <levon@movementarian.org>
2282 * commandtags.h: rename to ...
2284 * lfuns.h: ... this, and renumber / cleanup
2286 2003-03-19 John Levon <levon@movementarian.org>
2288 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2289 fit the cursor after an lfun
2293 * BufferView_pimpl.h:
2294 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2296 * LyXAction.C: layout-character should have ReadOnly
2298 * ParagraphParameters.C:
2300 * bufferview_funcs.C:
2307 * undo_funcs.C: changes from above
2309 2003-03-18 John Levon <levon@movementarian.org>
2311 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2312 remove it from update()
2314 * lyxfunc.C: update layout choice after an lfun
2316 * text3.C: remove extra updateLayoutChoice()s
2318 2003-03-18 John Levon <levon@movementarian.org>
2320 * text.C: top_y change means full repaint, fix
2321 a drawing bug with cursor movement
2323 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2327 * text2.C: anchor row on setCursor
2329 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2331 * lyxtext.h: remove almost all mutable keywords
2334 * text3.C: remove const keywords accordingly
2336 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2338 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2340 (TeXEnvironment): ditto
2343 2003-03-17 John Levon <levon@movementarian.org>
2345 * text.C (rowBreakPoint): remove attempt to fix displayed
2346 math insets inside a manual label
2348 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2350 * lyxtext.h: remove BufferView* as first arg from almost all class
2352 * other files: adjust.
2354 2003-03-17 John Levon <levon@movementarian.org>
2358 * text2.C: more paint cleanups
2360 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2363 * rowpainter.C: remove "smart" background painting code
2365 2003-03-16 John Levon <levon@movementarian.org>
2370 * text3.C: add helper functions for setting refresh_row/y
2372 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2374 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2375 newline inset which *can* get inserted in the pass_thru layouts.
2376 This is primarily for literate documents.
2378 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2380 * buffer.C: increment LYX_FORMAT to 223
2382 2003-03-14 André Pönitz <poenitz@gmx.net>
2384 * textclass.h: prepare for environment handling, ws changes
2385 * lyxlayout.C: read latexheader and latexfooter tags
2387 2003-03-14 John Levon <levon@movementarian.org>
2389 * text2.C: rewrite ::status() a bit
2391 2003-03-13 John Levon <levon@movementarian.org>
2393 * lyxtext.h: add some docs
2395 2003-03-13 John Levon <levon@movementarian.org>
2400 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2402 2003-03-13 John Levon <levon@movementarian.org>
2404 * text3.C: fix appendix redrawing
2406 2003-03-13 John Levon <levon@movementarian.org>
2408 * text.C (setHeightOfRow):
2410 * rowpainter.C: make appendix mark have the text
2411 "Appendix" so the user knows what it is
2414 * LColor.C: s/appendixline/appendix/ from above
2416 2003-03-13 John Levon <levon@movementarian.org>
2418 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2420 * text.C: fix a getChar(pos) bug properly
2422 2003-03-13 Angus Leeming <leeming@lyx.org>
2425 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2426 Probably only temporary. Let's see how things pan out.
2428 * BufferView.C (unlockInset):
2429 * BufferView_pimpl.C (fitCursor):
2430 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2432 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2433 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2435 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2436 new functions that convert ParagraphParameters to and from a string.
2438 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2439 BufferView::Pimpl's dispatch.
2440 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2442 2003-03-13 André Pönitz <poenitz@gmx.net>
2446 * factory.C: make it aware of InsetEnv
2448 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2450 * text2.C (setCursor): never ask for one past last
2451 (setCursor): add some debugging messages.
2453 * text.C (singleWidth): never ask for one past last
2454 (singleWidth): ditto
2456 (rightMargin): ditto
2457 (rowBreakPoint): ditto
2458 (setHeightOfRow): ditto
2459 (prepareToPrint): ditto
2461 * rowpainter.C (paintBackground): never ask for one past last
2462 (paintText): never ask for one past last
2464 * paragraph_pimpl.C (getChar): make the assert stricter, never
2465 allow the one past last pos to be taken
2467 * paragraph.C (getChar): ws changes only
2469 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2470 (numberOfSeparators): ditto
2471 (numberOfHfills): ditto
2473 2003-03-12 John Levon <levon@movementarian.org>
2479 * paragraph_funcs.C: fix per-buffer authorlists
2481 2003-03-12 John Levon <levon@movementarian.org>
2483 * text.C: fix newline in right address
2485 2003-03-12 Angus Leeming <leeming@lyx.org>
2487 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2488 duplicate those in LyXFunc::dispatch.
2492 * ToolbarDefaults.C:
2493 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2494 Add LFUN_FONTFREE_UPDATE.
2496 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2497 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2499 * bufferview_func.[Ch]: several new functions to facilliate
2500 transfer of data to and from the character dialog.
2502 2003-03-12 John Levon <levon@movementarian.org>
2507 * paragraph_funcs.C:
2508 * paragraph_pimpl.C:
2512 * text3.C: remove META_NEWLINE in favour of an inset
2515 * rowpainter.C: remove paintNewline (done by inset)
2517 2003-03-12 John Levon <levon@movementarian.org>
2519 * paragraph_pimpl.C: complain about bad getChar()s
2520 for a while at least
2522 2003-03-12 John Levon <levon@movementarian.org>
2525 * buffer.C: move paragraph read into a separate function,
2526 a little renaming to reflect that.
2529 * bufferparams.C: remove the author_ids map, not necessary now
2532 * factory.C: moved Buffer::readInset to here
2534 * paragraph_funcs.h:
2535 * paragraph_funcs.C: readParagraph free function moved from
2538 * tabular.C: name change
2540 2003-03-12 John Levon <levon@movementarian.org>
2543 * ParagraphParameters.C: move par params input to
2546 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2547 behave like a normal read from the stream wrt reading
2548 a line vs. a \\token
2550 2003-03-12 John Levon <levon@movementarian.org>
2553 * ParagraphParameters.h:
2554 * ParagraphParameters.C: move output code to a
2557 2003-03-12 John Levon <levon@movementarian.org>
2559 * BufferView.C (insertLyXFile):
2562 * tabular.C: use a parlist iterator for creating the
2565 2003-03-12 John Levon <levon@movementarian.org>
2567 * buffer.C: make current_change static local not
2570 2003-03-12 John Levon <levon@movementarian.org>
2572 * buffer.C: fix insertStringAsLines for change tracking
2574 2003-03-12 John Levon <levon@movementarian.org>
2581 * bufferparams.C: move author list into params. Rename some
2582 functions. Move the header reading into a separate token
2583 loop. Move the header token reading into BufferParams.
2585 2003-03-12 John Levon <levon@movementarian.org>
2587 * changes.C: put debug inside lyxerr.debugging() checks
2589 2003-03-11 André Pönitz <poenitz@gmx.net>
2591 * factory.C: make it aware of InsetHFill
2593 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2595 * buffer.C (latexParagraphs): move function from here...
2596 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2599 2003-03-10 Angus Leeming <leeming@lyx.org>
2601 * LyXAction.C (init): fix bug in poplating array with multiple entries
2602 with the same LFUN (spotted by JMarc).
2604 2003-03-10 John Levon <levon@movementarian.org>
2607 * text2.C: move getColumnNearX() near its
2610 2003-03-10 John Levon <levon@movementarian.org>
2612 * text.C: fix break before a minipage
2614 2003-03-10 John Levon <levon@movementarian.org>
2616 * text.C: fix the last commit
2618 2003-03-09 John Levon <levon@movementarian.org>
2622 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2623 bug 365 (don't break before insets unless needed). Don't
2624 return a value > last under any circumstances.
2626 2003-03-09 Angus Leeming <leeming@lyx.org>
2628 * BufferView_pimpl.C (trackChanges, dispatch): call
2629 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2631 2003-03-09 Angus Leeming <leeming@lyx.org>
2633 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2634 than Dialogs::showAboutlyx().
2636 2003-03-09 Angus Leeming <leeming@lyx.org>
2638 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2639 than Dialogs::showTabularCreate().
2641 2003-03-09 John Levon <levon@movementarian.org>
2645 * text2.C: 3rd arg to nextBreakPoint was always the same.
2648 2003-03-08 John Levon <levon@movementarian.org>
2655 * text2.C: Remove the "main" bit from the "main body"
2658 2003-03-08 John Levon <levon@movementarian.org>
2660 * text.C (leftMargin): The left margin of an empty
2661 manual label paragraph should not include the label width
2664 * text.C (prepareToPrint): don't attempt to measure hfills
2665 for empty manual label paragraphs - the answer should be 0
2667 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2669 * CutAndPaste.C: remove commented code and reindent.
2671 2003-03-08 John Levon <levon@movementarian.org>
2674 * lyxfunc.C: move reloadBuffer()
2677 * BufferView.C: to here
2679 * lyxvc.C: add comment
2682 * vc-backend.C: call bv->reload() to avoid
2683 getStatus() check on MENURELOAD
2685 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2687 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2688 to an old format .dep file.
2690 2003-03-07 Angus Leeming <leeming@lyx.org>
2692 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2693 when the LFUN_MOUSE_RELEASE should have been handled by
2694 inset->localDispatch.
2696 2003-03-07 Angus Leeming <leeming@lyx.org>
2698 * BufferView_pimpl.C (dispatch):
2699 * LyXAction.C (init):
2700 * ToolbarDefaults.C (init):
2702 * lyxfunc.C (getStatus):
2703 remove LFUN_INSET_GRAPHICS.
2705 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2707 2003-03-07 Angus Leeming <leeming@lyx.org>
2710 * LyXAction.C (init):
2711 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2713 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2716 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2718 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2719 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2721 2003-03-07 Angus Leeming <leeming@lyx.org>
2723 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2726 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2728 * ParagraphList.C (front): new function
2731 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2733 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2734 and top_row_offset_. removed var first_y.
2736 * text2.C (LyXText, removeRow):
2738 * BufferView_pimpl.C:
2739 use these methods instead of using first_y
2741 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2743 * text2.C (pasteSelection): adjust for checkPastePossible
2745 * CutAndPaste.C: remove Paragraph * buf and replace with
2746 ParagraphList paragraphs.
2747 (DeleteBuffer): delete
2748 (cutSelection): change the tc type to textclass_type
2749 (copySelection): change the tc type to textclass_type
2750 (copySelection): adjust for ParagraphList
2751 (pasteSelection): change the tc type to textclass_type
2752 (pasteSelection): adjust for Paragraphlist
2753 (nrOfParagraphs): simplify for ParagraphList
2754 (checkPastePossible): simplify for ParagraphList
2755 (checkPastePossible): remove unused arg
2757 * ParagraphList.C (insert): handle the case where there are no
2760 * CutAndPaste.h: make CutAndPaste a namespace.
2762 * text3.C (dispatch): adjust
2764 * text.C (breakParagraph): add a ParagraphList as arg
2766 * paragraph_funcs.C (breakParagraph): change to take a
2767 BufferParams and a ParagraphList as args.
2768 (breakParagraphConservative): ditto
2769 (mergeParagraph): ditto
2770 (TeXDeeper): add a ParagraphList arg
2771 (TeXEnvironment): ditto
2774 * buffer.C (readLyXformat2): adjust
2775 (insertStringAsLines): adjust
2776 (latexParagraphs): adjust
2778 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2779 (cutSelection): adjust
2780 (pasteSelection): adjust
2782 * BufferView_pimpl.C (insertInset): adjust
2784 2003-03-05 Angus Leeming <leeming@lyx.org>
2787 * LyXAction.C (init):
2788 * BufferView_pimpl.C (dispatch):
2789 * lyxfunc.C (getStatus):
2790 remove LFUN_CHILD_INSERT.
2792 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2794 2003-03-05 Angus Leeming <leeming@lyx.org>
2797 * LyXAction.C (init):
2798 * src/factory.C (createInset):
2799 * lyxfunc.C (getStatus):
2800 * text3.C (dispatch):
2801 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2803 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2805 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2807 * ParagraphList.C (insert): handle insert right before end()
2808 (erase): fix cases where it can be first or last paragraph.
2810 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2812 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2813 Paragraph::next and Paragraph::previous
2816 * text.C (breakParagraph): adjust
2818 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2819 BufferParams& as arg.
2820 (breakParagraph): use ParagraphList::insert
2821 (breakParagraphConservative): take a Buffer* instead of a
2822 BufferParams& as arg.
2823 (breakParagraphConservative): use ParagraphList::insert.
2825 * buffer.C (insertStringAsLines): un-const it
2826 (insertStringAsLines): adjust
2828 * ParagraphList.C (insert): new function
2830 * CutAndPaste.C (pasteSelection): adjust
2832 * text.C (backspace): adjust
2834 * tabular.C (SetMultiColumn): adjust
2836 * CutAndPaste.C (cutSelection): adjust
2837 (pasteSelection): adjust
2839 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2840 Buffer const * as arg
2842 * ParagraphList.C (erase): new function
2843 * paragraph_funcs.C (mergeParagraph): use it
2844 (mergeParagraph): make it take a Buffer* instead of a
2845 BufferParams* as arg
2847 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2849 (breakParagraphConservative): ditto
2851 * paragraph.h: remove the breakParagraph friend
2853 * paragraph.C (eraseIntern): new function
2854 (setChange): new function
2856 * paragraph_funcs.C (mergeParagraph): make it take a
2857 ParagraphList::iterator instead of a Paragraph *, adjust
2860 * paragraph.h: move an #endif so that the change tracking stuff
2861 also works in the NO_NEXT case.
2863 2003-03-04 Angus Leeming <leeming@lyx.org>
2866 * LyXAction.C: new LFUN_INSET_MODIFY.
2868 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2869 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2871 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2873 * several files: ws changes only
2875 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2876 (TeXEnvironment): ditto
2879 * buffer.C (makeLaTeXFile): adjust
2880 (latexParagraphs): make it take ParagraphList::iterator as args
2882 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2884 * buffer.C (latexParagraphs): adjust
2886 * paragraph.C (TeXOnePar): move function...
2887 (optArgInset): move function...
2888 (TeXEnvironment): move function...
2889 * paragraph_pimpl.C (TeXDeeper): move function...
2890 * paragraph_funcs.C: ...here
2892 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2894 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2896 * buffer.C (readInset): remove compability code for old Figure and
2899 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2901 * buffer.C: ws changes
2904 * BufferView_pimpl.C: ditto
2907 * bufferlist.h: ditto
2911 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2913 * converter.[Ch]: split into itself +
2916 * Makefile.am: += graph.[Ch] + format.[Ch]
2923 * lyxrc.C: added #include "format.h"
2925 2003-02-27 Angus Leeming <leeming@lyx.org>
2927 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2930 * factory.C (createInset): add "label" to the factory.
2932 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2933 string and do no more.
2935 2003-02-27 Angus Leeming <leeming@lyx.org>
2938 * LyXAction.C (init):
2939 * factory.C (createInset):
2940 * BufferView_pimpl.C (dispatch):
2941 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2943 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2945 * lyxfunc.C (dispatch):
2946 * text3.C (dispatch): pass name to params2string.
2948 2003-02-26 Angus Leeming <leeming@lyx.org>
2950 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2952 Rearrange the ~includes. Strip out the unnecessary ones.
2954 * factory.C (createInset): reformat.
2955 create new insets for the various LFUN_XYZ_APPLY lfuns.
2957 2003-02-26 John Levon <levon@movementarian.org>
2960 * lyxrow.C: add isParStart,isParEnd helpers
2962 * paragraph.h: make isInserted/DeletedText take refs
2964 * paragraph_funcs.h:
2965 * paragraph_funcs.C: remove #if 0'd code
2970 * text.C: use lyxrow helpers above.
2971 Move draw and paint routines to RowPainter.
2972 Make several methods use refs not pointers.
2973 Make backgroundColor() const.
2974 Add markChangeInDraw(), isInInset().
2975 Merge changeRegionCase into changeCase.
2976 Make workWidth() shouldn't-happen code into an Assert.
2979 * rowpainter.C: new class for painting a row.
2982 * vspace.C: make inPixels take a ref
2984 2003-02-26 Angus Leeming <leeming@lyx.org>
2986 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2989 2003-02-25 John Levon <levon@movementarian.org>
2991 * ispell.C: give the forked command a more accurate name
2993 2003-02-22 John Levon <levon@movementarian.org>
2996 * toc.C: make TocItem store an id not a Paragraph *
2999 2003-02-21 Angus Leeming <leeming@lyx.org>
3001 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3002 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3003 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3004 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3005 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3006 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3008 * BufferView_pimpl.C (dispatch):
3009 * LyXAction.C (init):
3010 * factory.C (createInset):
3011 * lyxfunc.C (getStatus, dispatch):
3012 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3014 2003-02-21 Angus Leeming <leeming@lyx.org>
3016 * BufferView_pimpl.C (MenuInsertLyXFile):
3017 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3018 * lyxfunc.C (menuNew, open, doImport):
3019 no longer pass a LyXView & to fileDlg.
3021 2003-02-21 Angus Leeming <leeming@lyx.org>
3023 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3024 * LyXAction.C: change, BIBKEY to BIBITEM.
3025 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3026 Change InsetBibKey to InsetBibitem.
3027 Change BIBKEY_CODE to BIBITEM_CODE.
3028 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3029 * factory.C: replace insetbib.h with insetbibitem.h.
3030 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3031 * paragraph.C: replace insetbib.h with insetbibitem.h.
3032 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3033 Change bibkey() to bibitem().
3034 * text.C: remove insetbib.h.
3035 * text2.C: replace insetbib.h with insetbibitem.h.
3036 change bibkey() to bibitem().
3037 * text3.C: remove insetbib.h.
3038 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3040 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3042 * lyxrc.C (output): enclose user email in quotes (in case there are
3045 2003-02-18 John Levon <levon@movementarian.org>
3047 * buffer.h: add std::
3049 2003-02-17 John Levon <levon@movementarian.org>
3055 * pspell.C: reworking. Especially in ispell, a large
3056 number of clean ups and bug fixes.
3058 * lyxfunc.C: fix revert to behave sensibly
3060 2003-02-17 André Pönitz <poenitz@gmx.net>
3063 * commandtags.h: new LFUN_INSERT_BIBKEY
3073 * paragraph_func.C: remove special bibkey handling
3075 2003-02-17 John Levon <levon@movementarian.org>
3077 * text.C (Delete): fix case where delete at the end of
3078 the very first paragraph would not merge the pars
3080 2003-02-17 John Levon <levon@movementarian.org>
3082 * lyxrow.C: fix lastPrintablePos()
3084 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3086 * bufferparams.C (writeLaTeX): add a std:here
3088 * buffer.C: and remove a using directive there
3090 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3092 * buffer.C (makeLaTeXFile): move the code that generates the
3095 * bufferparams.C (writeLaTeX): ... in this new method
3097 * LaTeXFeatures.C (getEncodingSet): make const
3098 (getLanguages): make const
3100 * MenuBackend.C (binding): returns the binding associated to this
3102 (add): sets the status of each item by calling getStatus. Adds
3104 (read): add support for OptSubMenu
3105 (expand): remove extra separator at the end of expanded menu
3107 2003-02-15 John Levon <levon@movementarian.org>
3110 * BufferView_pimpl.C:
3112 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3113 inset code that had no actual effect. Remove unneeded status
3116 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3118 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3121 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3123 * text.C (drawLengthMarker): also draw an arrow marker for
3124 symbolic lengths (medskip...)
3126 2003-02-14 John Levon <levon@movementarian.org>
3129 * tabular.C: better method names
3131 2003-02-14 John Levon <levon@movementarian.org>
3133 * BufferView_pimpl.C:
3138 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3139 it's a more accurate name. Remove some pointless uses.
3141 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3143 * text2.C (LyXText): change order of initilizers to shut off
3146 2003-02-14 John Levon <levon@movementarian.org>
3148 * buffer.C: use ParIterator for getParFromID()
3152 * paragraph_pimpl.h:
3153 * paragraph_pimpl.C: remove unused getParFromID()
3155 2003-02-14 John Levon <levon@movementarian.org>
3157 * buffer.C: remove some very old #if 0'd parse code
3159 2003-02-13 John Levon <levon@movementarian.org>
3163 * text2.C: move hfillExpansion(), numberOfSeparators(),
3164 rowLast(), rowLastPrintable(), numberofHfills(),
3165 numberOfLabelHfills() ...
3168 * lyxrow.C: ... to member functions here.
3173 * text.C: remove LyXText::beginningOfMainBody(), and call
3174 p->beginningOfMainBody() directly. Move the check for
3175 LABEL_MANUAL into the latter.
3182 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3188 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3189 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3191 2003-02-13 John Levon <levon@movementarian.org>
3193 * CutAndPaste.C: remove debug
3195 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3197 * paragraph.C (asString): remove two unused variables
3199 * lyxtextclass.C (readTitleType):
3201 (LyXTextClass): handle new members titletype_ and titlename_
3203 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3205 2003-02-09 John Levon <levon@movementarian.org>
3208 * buffer.C: replace hand-coded list with a map for the dep clean
3210 2003-02-08 John Levon <levon@movementarian.org>
3212 * LaTeX.C: consolidate code into showRunMessage() helper
3214 2003-02-08 John Levon <levon@movementarian.org>
3219 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3220 and pass the size in explicitly
3222 * BufferView_pimpl.h:
3223 * BufferView_pimpl.C:
3225 * BufferView.C: add getCurrentChange()
3227 * BufferView_pimpl.h:
3228 * BufferView_pimpl.C: handle change lfuns
3230 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3231 for changes. Mark pasted paragraphs as new.
3233 * support/lyxtime.h:
3234 * support/lyxtime.C:
3235 * DepTable.C: abstract time_t as lyx::time_type
3238 * LColor.C: add colours for new text, deleted text, changebars
3240 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3241 package use "usenames" option.
3245 * LyXAction.C: add change lfuns
3249 * author.C: author handling
3252 * buffer.C: add a per-buffer author list, with first entry as
3253 current author. Handle new .lyx tokens for change tracking. Output
3254 author list to .lyx file. Output dvipost stuff to .tex preamble.
3255 Bump lyx format to 222.
3258 * bufferlist.C: add setCurrentAuthor() to reset current author details
3262 * bufferparams.C: add param for tracking
3264 * bufferview_funcs.C: output change info in minibuffer
3268 * changes.C: add change-tracking structure
3271 * debug.C: add CHANGES debug flag
3274 * lyxfind.C: add code for finding the next change piece
3277 * lyxrc.C: add user_name and user_email
3280 * lyxrow.C: add a metric for the top of the text line
3283 * text.C: implement accept/rejectChange()
3286 * text.C: paint changebars. Paint new/deleted text in the chosen
3287 colours. Strike through deleted text.
3291 * paragraph_pimpl.h:
3292 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3293 in the current change to the insert functions. Rework erase to
3294 mark text as deleted, adding an eraseIntern() and a range-based
3295 erase(). Implement per-paragraph change lookup and
3298 * paragraph_funcs.C: Fixup paste for change tracking.
3300 * tabular.C: mark added row/columns as new.
3302 * text.C: fix rowLast() to never return -1. Don't allow
3303 spellchecking of deleted text. Track transpose changes. Don't
3304 allow paragraph break or merge where appropriate.
3306 * text2.C: leave cursor at end of selection after a cut.
3308 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3310 * text.C (getLengthMarkerHeight):
3311 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3312 visible on screen too.
3314 2003-02-07 John Levon <levon@movementarian.org>
3316 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3318 2003-02-05 Angus Leeming <leeming@lyx.org>
3320 * lyxserver.C (read_ready): revert my patch of 11 September last year
3321 as it sends PC cpu through the roof. Presumably this means that
3322 the lyxserver will no longer run on an Alpha...
3324 2003-01-30 Angus Leeming <leeming@lyx.org>
3326 * factory.C (createInset): create an InsetCommandParam of type "index"
3327 and use it to 'do the right thing'.
3329 * text2.C (getStringToIndex): ensure that cursor position is always
3330 reset to the reset_cursor position.
3332 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3334 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3337 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3341 * lyxfunc.C: Output messages with identical spelling, punctuation,
3344 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3346 * MenuBackend.C (expandFormats): List only viewable export formats
3349 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3352 * lyxfunc.C (getStatus): Make sure that formats other than
3353 "fax" can also be disabled
3355 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3357 * text3.C (dispatch): put the lfuns that insert insets in 3
3358 groups, and call doInsertInset with appropriate arguments.
3359 (doInsertInset): new function, that creates an inset and inserts
3360 it according to some boolean parameters.
3362 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3364 * buffer.C (readFile): remember to pass on 'par' when calling
3365 readFile recursively.
3367 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3369 * MenuBackend.C (expandFormats): add "..." to import formats.
3371 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3373 * paragraph.C (asString): Remove XForms RTL hacks.
3375 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3376 * buffer.C: fix typo
3378 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3380 * Makefile.am (LIBS): delete var
3381 (lyx_LDADD): add @LIBS@ here instead.
3383 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3385 * Clarify the meaning of "wheel mouse jump"
3387 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3389 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3392 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3394 * importer.C (Loaders): do not preallocate 3 elements in the
3395 vector, since one ends up with 6 elements otherwise
3397 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3399 * DepTable.C (write): write the file name as last element of the
3400 .dep file (because it may contain spaces)
3401 (read): read info in the right order
3403 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3405 * paragraph_pimpl.C (simpleTeXBlanks):
3406 (simpleTeXSpecialChars):
3407 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3409 * tabular.C (latex): add some missing case statements. Reindent.
3411 * MenuBackend.C (expandToc): remove unused variable.
3413 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3422 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3425 2003-01-05 John Levon <levon@movementarian.org>
3428 * BufferView.C: add getEncoding()
3431 * kbsequence.C: do not store last keypress
3434 * lyxfunc.C: store last keypress here instead. Pass encoding
3437 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3439 * lyx_main.C (init): remove annoying error message when following
3440 symbolic links (bug #780)
3442 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3444 * text.C (insertChar):
3445 * lyxrc.C (getDescription): remove extra spaces
3447 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3449 * lyxrc.C (getDescription): remove extra spaces
3451 2002-12-20 John Levon <levon@movementarian.org>
3453 * text3.C: hack fix for page up/down across tall rows
3455 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3457 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3460 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3462 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3463 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3464 thesaurus is not compiled in
3466 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3468 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3470 2002-12-16 Angus Leeming <leeming@lyx.org>
3473 * lyx_main.C (init): remove override_x_deadkeys stuff.
3475 2002-12-12 John Levon <levon@movementarian.org>
3477 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3478 insert. Only remove shift modifier under strict
3481 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3483 * MenuBackend.C (expandToc): fix crash.
3485 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3487 * MenuBackend.C (expandToc): gettext on float names.
3489 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3491 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3492 implement bool empty() [bug 490]
3494 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3496 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3498 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3500 * several files: ws changes
3502 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3504 * text2.C (setCounter): clean up a bit, use boost.format.
3505 (updateCounters): initialize par upon declaration.
3507 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3508 if the layout exists. We do not just store the layout any more.
3509 (SwitchLayoutsBetweenClasses): use boost.format
3511 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3513 * converter.C (convert): if from and to files are the same, use a
3514 temporary files as intermediary
3516 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3519 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3521 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3523 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3525 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3527 * tabular.C (asciiPrintCell): use string(size, char) instead of
3530 * sgml.C (openTag): fix order of arguments to string constructor
3533 * lyxfunc.C (dispatch): use boost.format
3535 * lots of files: change "c" -> 'c'
3537 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3539 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3541 2002-11-25 Angus Leeming <leeming@lyx.org>
3543 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3545 * lyx_main.C (init): compile fix.
3547 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3549 * lyx_cb.C (start): boost.formatify
3550 do not include <iostream>
3552 * lengthcommon.C: ws only
3554 * boost-inst.C,BoostFormat.h: add more explict instantations
3556 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3558 * lots of files: handle USE_BOOST_FORMAT
3560 2002-11-21 John Levon <levon@movementarian.org>
3562 * pspell.C: fix compile
3564 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3566 * lyxfunc.C (dispatch): use boost::format
3570 * lyxfont.C (stateText): use boost::format
3572 * lyx_main.C (LyX): use boost::format
3574 (queryUserLyXDir): ditto
3577 (typedef boost::function): use the recommened syntax.
3579 * importer.C (Import): use boost::format
3581 * debug.C (showLevel): use boost::format
3583 * converter.C (view): use boost::format
3588 * bufferview_funcs.C (currentState): use boost::format
3590 * bufferlist.C (emergencyWrite): use boost::format
3592 * buffer.C (readLyXformat2): use boost::format
3593 (parseSingleLyXformat2Token): ditto
3595 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3597 * LaTeX.C (run): use boost::format
3599 * Chktex.C (scanLogFile): use boost::format
3601 * BufferView_pimpl.C (savePosition): use boost::format
3602 (restorePosition): ditto
3603 (MenuInsertLyXFile): ditto
3605 * BoostFormat.h: help file for explicit instation.
3607 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3609 * tabular.C (latex): Support for block alignment in fixed width
3612 2002-11-17 John Levon <levon@movementarian.org>
3614 * BufferView_pimpl.C:
3616 * lyxfunc.C: split filedialog into open/save
3618 2002-11-08 Juergen Vigna <jug@sad.it>
3620 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3621 by my last patch (hopefully).
3623 2002-11-08 John Levon <levon@movementarian.org>
3632 * toc.C: ParConstIterator, and use it (from Lars)
3634 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3636 * lyxtextclass.[Ch]: revise and add doxygen comments
3638 2002-11-07 John Levon <levon@movementarian.org>
3640 * text.C: fix progress value for spellchecker
3642 * toc.C: fix navigate menu for insetwrap inside minipage
3644 * paragraph_funcs.C: added FIXME for suspect code
3646 2002-11-07 John Levon <levon@movementarian.org>
3648 * BufferView_pimpl.C: fix redrawing of insets
3651 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3653 * text2.C (updateCounters): fix bug 668
3655 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3657 * text3.C (dispatch): Do not make the buffer dirty when moving the
3660 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3662 * vc-backend.C: STRCONV
3665 * text2.C (setCounter): STRCONV
3667 * paragraph.C (asString): STRCONV
3669 * lyxlength.C (asString): STRCONV
3670 (asLatexString): ditto
3672 * lyxgluelength.C (asString): STRCONV
3673 (asLatexString): ditto
3675 * lyxfunc.C (dispatch): STRCONV
3678 * lyxfont.C (stateText): STRCONV
3680 * importer.C (Import): STRCONV
3682 * counters.C (labelItem): STRCONV
3683 (numberLabel): ditto
3684 (numberLabel): remove unused ostringstream o
3689 * bufferview_funcs.C (currentState): STRCONV
3691 * buffer.C (readFile): STRCONV
3692 (asciiParagraph): ditto
3693 (makeLaTeXFile): ditto
3695 * Spacing.C (writeEnvirBegin): STRCONV
3697 * LaTeXFeatures.C (getLanguages): STRCONV
3698 (getPackages): ditto
3700 (getBabelOptions): ditto
3701 (getTClassPreamble): ditto
3702 (getLyXSGMLEntities): ditto
3703 (getIncludedFiles): ditto
3707 (scanAuxFile): ditto
3710 * LString.h: add the STRCONV macros
3712 * BufferView_pimpl.C (savePosition): STRCONV
3713 (restorePosition): ditto
3714 (MenuInsertLyXFile): ditto
3716 * vc-backend.C (scanMaster): change from submatch[...] to
3719 * funcrequest.C: include config.h
3721 * factory.C: include config.h
3723 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3725 * box.C: include config.h
3727 * LaTeX.C (scanAuxFile): change from submatch[...] to
3731 2002-10-25 Angus Leeming <leeming@lyx.org>
3733 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3735 * ispell.[Ch] (setError): new method.
3736 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3737 Use setError() insetead of goto END.
3739 * lyx_cb.C (AutoSave): move out child process into new class
3742 2002-10-30 John Levon <levon@movementarian.org>
3744 * text3.C: make start appendix undoable
3746 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3748 * lyxlength.C (inPixels): Fix returned value.
3750 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3753 2002-10-24 Angus Leeming <leeming@lyx.org>
3755 * lyxgluelength.h: no need to forward declare BufferParams
3756 or BufferView, so don't.
3758 2002-10-21 John Levon <levon@movementarian.org>
3760 * BufferView.C: menuUndo ->undo, redo
3762 * BufferView.h: document, remove dead, make some methods private
3764 * paragraph_funcs.h:
3765 * paragraph_funcs.C:
3766 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3771 * sgml.C: move sgml open/close tag into sgml.C
3773 * bufferview_funcs.h: unused prototype
3776 * lyxfunc.C: remove unused
3779 * text.C: remove unused
3781 2002-10-21 John Levon <levon@movementarian.org>
3785 * BufferView_pimpl.h:
3786 * BufferView_pimpl.C: fix mouse wheel handling based on
3787 patch from Darren Freeman
3789 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3791 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3793 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3795 * lyxlength.C (inPixels): Fix hanfling of negative length.
3796 Fix LyXLength::MU case.
3798 2002-10-16 John Levon <levon@movementarian.org>
3800 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3802 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3804 * converter.C (view): add support for $$i (file name) and $$p
3805 (file path) for the viewer command. If $$i is not specified, then
3806 it is appended to the command (for compatibility with old syntax)
3808 2002-10-14 Juergen Vigna <jug@sad.it>
3810 * undo_funcs.C (textHandleUndo): alter the order in which the
3811 new undopar is added to the LyXText, as we have to set first
3812 the right prev/next and then add it as otherwise the rebuild of
3813 LyXText is not correct. Also reset the cursor to the right paragraph,
3814 with this IMO we could remove the hack in "redoParagraphs()".
3816 2002-10-09 Angus Leeming <leeming@lyx.org>
3818 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3819 to turn off an optimisation if a new inset is to be inserted.
3821 2002-10-11 André Pönitz <poenitz@gmx.net>
3823 * lyxtext.h: make some functions public to allow access
3824 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3826 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3828 * text3.C (dispatch): when changing layout, avoid an infinite loop
3831 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3833 * lyxrc.C (read): treat a viewer or converter command of "none" as
3836 * MenuBackend.C (expandFormats): for an update, also allow the
3837 formats that are not viewable
3839 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3840 script if it is newer than the lyxrc.defaults in user directory
3842 2002-10-07 André Pönitz <poenitz@gmx.net>
3844 * text.C: Vitaly Lipatov's small i18n fix
3846 2002-09-25 Angus Leeming <leeming@lyx.org>
3848 * ispell.h: doxygen fix.
3850 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3852 * buffer.h (readFile): Add a new argument to the method, to allow
3853 reading of old-format templates.
3855 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3857 * toc.C (getTocList): Get TOC from InsetWrap.
3859 2002-09-16 John Levon <levon@movementarian.org>
3861 * lyxfunc.C: check tabular for cut/copy too
3863 2002-09-12 John Levon <levon@movementarian.org>
3868 * factory.C: add header
3870 * paragraph_funcs.h:
3871 * paragraph_funcs.C: cleanup
3873 2002-09-11 John Levon <levon@movementarian.org>
3875 * PrinterParams.h: odd/even default to true
3877 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3879 * PrinterParams.h: update printer parameters for new xforms dialog
3881 2002-09-11 Angus Leeming <leeming@lyx.org>
3883 * lyxserver.C (read_ready): re-write to make it more transparent
3884 and to make it work in coherent fashion under Tru64 Unix.
3886 2002-09-11 André Pönitz <poenitz@gmx.net>
3890 * text3.C: implement LFUN_WORDSEL
3892 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3894 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3895 make floatlist_ a boost::shared_ptr<FloatList>
3897 * lyxtextclass.C: include FloatList.h
3898 (LyXTextClass): initialize floatlist_
3899 (TextClassTags): add TC_NOFLOAT
3900 (Read): match "nofloat" to TC_NOFLOAT and use it.
3901 (readFloat): modify call to floatlist_
3905 * FloatList.[Ch] (FloatList): remove commented out float
3907 (erase): new function
3909 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3911 * MenuBackend.C (expandToc): fix crash when there is no document
3914 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3916 * many files: Add insetwrap.
3918 2002-09-09 John Levon <levon@movementarian.org>
3920 * text2.C: remove confusing and awkward depth wraparound
3922 2002-09-09 John Levon <levon@movementarian.org>
3924 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3927 * buffer.C: remove getIncludeonlyList()
3930 * lyxfunc.C: remove headers
3932 2002-09-09 Juergen Vigna <jug@sad.it>
3934 * text.C (getColumnNearX): fix form Michael this is most
3935 probably a cut&paste bug.
3937 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3939 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3941 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3942 references, ws changes.
3944 * text2.C (init): update counters after init
3945 (insertParagraph): no need to set counter on idividual paragraphs.
3946 (setCounter): access the counters object in the textclass object
3947 on in the buffer object.
3948 (updateCounters): ditto
3950 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3951 shared_ptr<Counters> to avoid loading counters.h in all
3953 (LyXTextClass): initialize ctrs_
3954 (TextClassTags): add TC_COUNTER, and ...
3955 (Read): use it here.
3956 (CounterTags): new tags
3957 (readCounter): new function
3958 (counters): new funtion
3959 (defaultLayoutName): return a const reference
3961 * counters.C (Counters): remove contructor
3962 (newCounter): remove a couple of unneeded statements.
3963 (newCounter): simplify a bit.
3964 (numberLabel): some small formatting changes.
3966 * buffer.[Ch]: remove all traces of counters, move the Counters
3967 object to the LyXTextClass.
3969 2002-09-06 Alain Castera <castera@in2p3.fr>
3971 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3972 package to set the horizontal alignment on fixed width columns.
3975 * lyx_sty.h: added tabularnewline macro def.
3977 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3979 2002-09-06 John Levon <levon@movementarian.org>
3981 * LyXAction.C: tooltips for sub/superscript
3983 * MenuBackend.C: a bit more verbose
3985 * lyxfunc.C: tiny clean
3987 * undo_funcs.C: document undo_frozen
3989 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3991 * counters.C (Counters): add missing algorithm counter.
3993 * text2.C (setCounter): lookup the counter with layouts latexname
3994 instead of by section number.
3995 (setCounter): use a hackish way to lookup the correct enum
3997 a float name->type change
3998 reset enum couners with counter name directly instead of depth value.
4000 * counters.C (Counters): remove the push_backs, change to use the
4001 float type not the float name.
4002 (labelItem): remove unused string, float name->type change
4004 * counters.h: don't include vector, loose the enums and sects vectors
4006 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4008 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4009 (Read): add float->TC_FLOAT to textclassTags
4010 (Read): and handle it in the switch
4011 (readFloat): new function
4013 * FloatList.C (FloatList): comment out the hardcoded float
4016 * lyxlayout.h: ws change.
4018 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4020 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4022 2002-09-03 Angus Leeming <leeming@lyx.org>
4024 * BufferView_pimpl.h: qualified name is not allowed in member
4025 declaration: WorkArea & Pimpl::workarea() const;
4027 * factory.C: added using std::endl directive.
4029 * text3.C: added using std::find and std::vector directives.
4031 2002-08-29 André Pönitz <poenitz@gmx.net>
4034 * text2.C: remove unused member number_of_rows
4037 * BufferView2.C: remove file, move contents to...
4038 * BufferView.C: ... here
4040 * BufferView_pimpl.C:
4041 * factory.C: move more inset creation to factory
4043 * vspace.C: avoid direct usage of LyXText, ws changes
4046 don't provide direct access to WorkArea, use two simple
4047 acessors haveSelction() and workHeight() instead
4050 2002-08-29 John Levon <levon@movementarian.org>
4052 * BufferView_pimpl.C (dispatch): do not continue when
4055 2002-08-28 André Pönitz <poenitz@gmx.net>
4057 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4060 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4062 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4064 * buffer.C: increment LYX_FORMAT to 221
4066 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4067 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4069 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4071 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4073 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4075 * factory.C (createInset): use LyXTextClass::floats
4077 * MenuBackend.C (expandFloatListInsert):
4078 (expandFloatInsert):
4081 * text2.C (setCounter):
4083 * LaTeXFeatures.C (useFloat):
4084 (getFloatDefinitions):
4086 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4088 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4089 floatlist_, with accessor floats().
4091 * FloatList.h: remove global FloatList
4093 2002-08-26 André Pönitz <poenitz@gmx.net>
4095 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4099 * BufferView_pimpl.C:
4100 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4102 2002-08-25 John Levon <levon@movementarian.org>
4104 * LyXAction.C: fix margin note description
4106 2002-08-24 John Levon <levon@movementarian.org>
4110 * bufferview_funcs.C:
4112 * undo_funcs.C: cleanups
4114 * lyxfunc.C: disable CUT/COPY when no selection
4116 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4118 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4119 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4121 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4122 Add backward compatibility to "mono", "gray" and "no".
4124 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4126 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4127 (and file_format >= 200).
4129 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4131 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4133 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4135 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4137 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4139 * BufferView_pimpl.C:
4146 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4147 inset and code to make it work with the paragraph code. The inset
4148 can be anywhere in the paragraph, but will only do the expected
4149 thing in LaTeX if the layout file contains the parameter line
4151 (or more generally, a nonzero value) for that layout.
4153 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4155 * paragraph.h: remove the declaration of undefined counters class
4158 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4160 * text2.C (setCounter): fixed enumeration mis-count as reported by
4161 Dr. Richard Hawkins.
4163 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4165 * paragraph_funcs.h: remove some unneeded includes
4167 * text.C (backspace): pasteParagraph now in global scipe
4169 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4170 (pasteSelection): ditto
4172 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4173 * paragraph_funcs.C (pasteParagraph): ... here
4175 2002-08-20 André Pönitz <poenitz@gmx.net>
4177 * commandtags.h: new LFUNs for swapping/copying table row/colums
4180 * lyxfunc.C: support for new lfuns
4182 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4185 * buffer.[Ch]: remove NO_COMPABILITY stuff
4187 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4189 * boost.C (throw_exception): new file, with helper function for
4190 boost compiled without exceptions.
4195 * ParameterStruct.h:
4196 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4198 * bufferlist.C (emergencyWriteAll): use boost bind
4200 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4202 * text.C: include paragraph_funcs.h
4203 (breakParagraph): breakParagraph is now in global scope
4205 * paragraph_funcs.[Ch]: new files
4207 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4210 * buffer.C: include paragraph_funcs.h
4211 (insertStringAsLines): breakParagraph is now in global scope
4213 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4216 * CutAndPaste.C: include paragraph_funcs.h
4217 (cutSelection): breakParagraphConservative is now in global scope
4218 (pasteSelection): ditto
4220 * buffer.h: declare oprator== and operator!= for
4221 Buffer::inset_iterator
4223 * bufferlist.C (emergencyWrite): don't use fmt(...)
4225 * text3.C: add using std::endl
4227 * BufferView.C (moveCursorUpdate): remove default arg
4229 2002-08-20 André Pönitz <poenitz@gmx.net>
4231 * buffer.[Ch]: move inline functions to .C
4234 * BufferView_pimpl.C:
4236 * buffer.[Ch]: use improved inset_iterator
4239 * paragraph.[Ch]: write one paragraph at a time
4241 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4243 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4244 style if style is not specified.
4246 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4248 * text2.C (setCounter): when searching for right label for a
4249 caption, make sure to recurse to parent insets (so that a caption
4250 in a minipage in a figure float works) (bug #568)
4252 2002-08-20 André Pönitz <poenitz@gmx.net>
4254 * text3.C: new file for LyXText::dispatch() and helpers
4256 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4258 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4260 2002-08-19 André Pönitz <poenitz@gmx.net>
4263 * text.C: new LyXText::dispatch()
4265 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4267 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4269 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4271 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4274 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4276 * Makefile.am: use $(variables) instead of @substitutions@
4278 2002-08-15 André Pönitz <poenitz@gmx.net>
4281 * BufferView_pimpl.C: streamlining mathed <-> outer world
4285 * LyXAction.C: remove unused LFUN_MATH
4287 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4289 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4291 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4293 * paragraph.C (Paragraph): reformat a bit
4294 (cutIntoMinibuffer): use builtin InsetList function instad of
4298 * buffer.C: include boost/bind.hpp, add using std::for_each
4299 (writeFileAscii): use ParagraphList iterators
4300 (validate): use for_each for validate traversal of paragraphs
4301 (getBibkeyList): use ParagraphList iterators
4302 (resizeInsets): use for_each to resizeInsetsLyXText for all
4304 (getParFromID): use ParagraphList iterators
4306 * BufferView2.C (lockInset): use paragraph list and iterators
4308 2002-08-14 John Levon <levon@movementarian.org>
4310 * lyxserver.C: remove spurious xforms include
4312 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4314 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4316 2002-08-13 André Pönitz <poenitz@gmx.net>
4319 * lyxfunc.C: further cleaning
4321 2002-08-13 André Pönitz <poenitz@gmx.net>
4323 * funcrequest.h: new constructor
4325 * funcrequest.C: move stuff here from .h
4328 * BufferView_pimpl.C:
4331 * lyxfunc.C: subsequent changes
4333 * lyxfunc.h: new view() member function
4335 * lyxfunc.C: subsequent changes
4337 2002-08-13 Angus Leeming <leeming@lyx.org>
4340 * BufferView_pimpl.C:
4348 changes due to the changed LyXView interface that now returns references
4349 to member variables not pointers.
4351 2002-08-13 Angus Leeming <leeming@lyx.org>
4353 * WordLangTuple (word, lang_code): return references to strings,
4358 * lyxtext.h: forward-declare WordLangTuple.
4363 * text.C: #include "WordLangTuple.h".
4366 * text.C: (selectNextWordToSpellcheck): constify return type.
4368 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4374 * paragraph_pimpl.h:
4377 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4379 Made updateCounter always count from start of buffer, and removed
4380 second argument (par).
4381 Reverted floats number display to '#'. Perhaps I'll try again when the
4382 code base is sanitized a bit.
4384 2002-08-12 Angus Leeming <leeming@lyx.org>
4386 * buffer.[Ch] (getLabelList): constify.
4388 2002-08-07 André Pönitz <poenitz@gmx.net>
4390 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4392 * funcrequest.h: extension to keep mouse (x,y) position
4394 2002-08-12 Juergen Vigna <jug@sad.it>
4396 * BufferView2.C (insertErrors): forbid undo when inserting error
4399 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4401 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4403 * ParagraphList.[Ch]: new files
4405 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4407 * BufferView2.C (lockInset): ParagraphList changes
4410 * bufferlist.C: ditto
4414 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4416 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4417 unused class variable counter_,
4419 * paragraph.[Ch] (getFirstCounter): delete unused function
4421 * counters.C: include LAssert.h
4422 (reset): add a new function with no arg, change other version to
4423 not have def. arg and to not allow empty arg.
4425 * text2.C (setCounter): remove empty arg from call to Counters::reset
4427 2002-08-11 John Levon <levon@movementarian.org>
4429 * Makefile.am: add WordLangTuple.h
4431 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4433 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4434 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4436 * insets/insettext.C: InsetList changes
4438 * graphics/GraphicsSupport.C (operator()): InsetList changes
4440 * toc.C (getTocList): InsetList changes
4442 * paragraph_pimpl.[Ch]: InsetList changes
4444 * paragraph.[Ch]: InsetList changes
4446 * buffer.C (inset_iterator): InsetList changes
4447 (setParagraph): ditto
4448 * buffer.h (inset_iterator): ditto
4449 * iterators.C (operator++): ditto
4450 * iterators.h: ditto
4452 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4454 * InsetList.[Ch]: new files, most InsetList handling moved out of
4457 * BufferView2.C (removeAutoInsets): InsetList changes
4459 (ChangeInsets): ditto
4461 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4463 * paragraph_pimpl.h (empty): new function
4465 * paragraph.[Ch] (empty): new function
4467 * other files: use the new Paragraph::empty function
4469 2002-08-09 John Levon <levon@movementarian.org>
4471 * lyxtext.h: remove unused refresh_height
4473 2002-08-09 John Levon <levon@movementarian.org>
4480 * paragraph.C: move sgml char escaping out of paragraph
4483 * paragraph.C: remove id setter
4487 * paragraph_pimpl.C: remove dead tex_code_break_column
4489 * bufferview_funcs.C: small cleanup
4491 * lyxfunc.C: remove dead proto
4493 * lyxtext.h: make some stuff private. Remove some dead stuff.
4495 * lyxgluelength.C: make as[LyX]String() readable
4497 2002-08-08 John Levon <levon@movementarian.org>
4502 * ToolbarDefaults.C:
4505 * toc.C: lyxaction cleanup
4507 2002-08-08 John Levon <levon@movementarian.org>
4509 * BufferView2.C: small cleanup
4512 * lyxfind.C: move unnecessary header into the .C
4514 2002-08-08 John Levon <levon@movementarian.org>
4516 * funcrequest.h: just tedious nonsense
4519 * lyx_main.C: cleanups
4522 * vspace.C: remove dead header lyx_main.h
4524 2002-08-07 Angus Leeming <leeming@lyx.org>
4527 * paragraph_pimpl.h:
4528 Forward declare class Counters in paragraph.h by moving the ctrs member
4529 variable into Paragraph::Pimpl.
4530 (counters): new method, returning a reference to pimpl_->ctrs.
4532 * text2.C: ensuing changes.
4534 2002-08-07 John Levon <levon@movementarian.org>
4536 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4538 * BufferView_pimpl.C: announce X selection on double/triple
4541 * lyx_main.C: use correct bool in batch dispatch
4543 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4545 2002-08-07 André Pönitz <poenitz@gmx.net>
4547 * funcrequest.h: new class to wrap a kb_action and its argument
4550 * BufferView_pimpl[Ch]:
4554 * lyxrc.C: subsequent changes
4557 2002-08-07 John Levon <levon@movementarian.org>
4559 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4560 document options change.
4562 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4567 * makefile.am: move counters functionality over from
4568 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4570 2002-08-06 John Levon <levon@movementarian.org>
4572 * WordLangTuple.h: new file for word + language code tuple
4583 * BufferView2.C: use WordLangTuple
4586 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4588 2002-08-06 John Levon <levon@movementarian.org>
4590 * lyx_main.C: fix cmdline batch handling
4592 2002-08-06 André Pönitz <poenitz@gmx.net>
4594 * lyxrc.C: set default for show_banner to true
4596 2002-08-06 John Levon <levon@movementarian.org>
4598 * pspell.C: fix a crash, and allow new aspell to work
4600 2002-08-06 John Levon <levon@movementarian.org>
4603 * kbmap.C: small cleanup
4606 * vspace.C: add const
4608 2002-08-05 John Levon <levon@movementarian.org>
4610 * LyXAction.C: back to tabular-insert
4612 2002-08-04 John Levon <levon@movementarian.org>
4615 * BufferView.C: cosmetic change
4617 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4627 * BufferView2.C: purge all "Lyx" not "LyX" strings
4630 * lyxcursor.C: attempt to add some documentation
4635 * ToolbarDefaults.C:
4636 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4637 merge with LFUN_TABULAR_INSERT
4644 * pspell.C: split up i/pspell implementations into separate
4645 files, many cleanups
4647 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4649 * text2.C: some cleanup
4651 * lyxfunc.C: don't check for isp_command == "none" any more, it
4652 didn't make any sense
4654 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4659 * makefile.am: move counters functionality over
4660 from text2.C/paragraph.[Ch] to counters.[Ch], and
4662 2002-08-02 John Levon <levon@movementarian.org>
4664 * buffer.C: s/lyxconvert/lyx2lyx/
4666 2002-08-02 Angus Leeming <leeming@lyx.org>
4668 * lyxlex.C: revert John's change as it breaks reading of the user
4671 2002-08-02 Angus Leeming <leeming@lyx.org>
4673 * importer.C (Import):
4674 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4675 changes due to LyXView::view() now returning a boost::shared_ptr.
4677 2002-08-02 John Levon <levon@movementarian.org>
4679 * lyxlex.C: small cleanup
4681 2002-08-02 John Levon <levon@movementarian.org>
4683 * text2.C (status): small cleanup, no logic change
4685 2002-08-01 John Levon <levon@movementarian.org>
4688 * buffer.C (writeFile): don't output alerts, caller
4692 * lyx_cb.C: from above
4694 * lyxfunc.C: allow to open non-existent files
4696 2002-07-31 John Levon <levon@movementarian.org>
4698 * lyxserver.C: don't let incidental errors get
4701 2002-07-30 John Levon <levon@movementarian.org>
4703 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4705 2002-07-30 John Levon <levon@movementarian.org>
4708 * lyxserver.C: remove I/O callback too
4710 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4712 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4715 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4717 * many files: strip,frontStrip -> trim,ltrim,rtrim
4719 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4721 * PrinterParams.h: remove extern containsOnly, and include
4722 support/lstrings.h instead.
4724 * LaTeX.C (scanAuxFile): modify because of strip changes
4726 * buffer.C (makeLaTeXFile): ditto
4727 * bufferparams.C (writeFile): ditt
4728 * lyxfont.C (stateText): ditto
4729 * lyxserver.C (read_ready): ditto
4730 * vc-backend.C (scanMaster): ditto
4732 * BufferView_pimpl.h: ws changes
4734 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4736 2002-07-26 André Pönitz <poenitz@gmx.net>
4738 * kb_sequence.C: remove unnedred usings
4740 2002-07-26 Juergen Vigna <jug@sad.it>
4742 * lyxfind.C (LyXReplace): we have to check better if the returned
4743 text is not of theLockingInset()->getLockingInset().
4745 2002-07-25 Juergen Vigna <jug@sad.it>
4747 * lyxfind.C (LyXReplace): don't replace if we don't get the
4750 * undo_funcs.C (createUndo): remove debugging code.
4752 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4754 * buffer.C (parseSingleLyXformat2Token): Use default placement
4755 when reading old floats.
4757 * FloatList.C (FloatList): Change the default placement of figure
4758 and tables to "tbp".
4760 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4762 * MenuBackend.C: using std::max
4764 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4766 * MenuBackend.C (expandToc):
4767 (expandToc2): code moved from xforms menu frontend. It is now
4768 generic and TOCs are transparent to menu frontends.
4770 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4772 * toc.C (getTocList): protect against buf=0
4774 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4775 Menu as first parameter. Now, this calls itself recursively to
4776 expand a whole tree (this will be useful for TOC handling)
4777 (expandFloatInsert): remove 'wide' version of floats
4779 * MenuBackend.h (submenuname): returns the name of the submenu.
4780 (submenu): returns the submenu itself, provided it has been
4781 created by MenuBackend::expand
4783 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4785 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4786 insets which have noFontChange == true. (bug #172)
4788 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4790 * BufferView_pimpl.C: add connection objects and use them...
4793 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4795 * MenuBackend.C (expandLastfiles):
4798 (expandFloatListInsert):
4799 (expandFloatInsert):
4800 (expand): split expand in parts
4802 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4804 * lyx_gui.C: use lyx_gui::exit()
4806 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4808 * LyXAction.C: show the failing pseudo action
4810 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4812 * buffer.C (readFile): Run the lyxconvert script in order to read
4815 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4819 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4821 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4825 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4827 2002-07-22 Herbert Voss <voss@lyx.org>
4830 * lyxlength.[Ch]: add support for the vertical lengths
4832 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4834 * toc.[Ch]: std:: fixes
4836 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4838 * lyxrc.C: do not include lyx_main.h
4840 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4846 * BufferView2.C: include "lyxlex.h"
4849 * bufferparams.h: do not #include "lyxlex.h"
4851 * lyxtextclasslist.C (Add): remove method
4852 (classlist): renamed to classlist_
4854 * paragraph_pimpl.C:
4858 * bufferview_funcs.C:
4863 * toc.C (getTocList): use BufferParams::getLyXTextClass
4865 * toc.C (getTocList): use InsetFloat::addToToc
4867 * toc.[Ch]: new files, containing helper functions to handle table
4870 * lyxfunc.C (dispatch): no need to remove spaces around command
4872 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4873 first command of the sequence; it is not very clever, but I do not
4874 have a better idea, actually
4876 * LyXAction.C (LookupFunc): make sure to remove space at the
4877 beginning and end of the command
4879 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4881 * MenuBackend.C (getMenubar): new method: return the menubar of
4883 (read): treat differently reading of menu and menubar (in
4884 particular, the menubar has no name now)
4885 (Menu::menubar): remove
4887 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4890 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4892 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4893 a bibitem inset in a RTL paragraph.
4895 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4897 * paragraph_pimpl.C: constify
4899 * BufferView_pimpl.C:
4901 * lyxfunc.C: fix dispatch in a nicer way
4903 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4905 * lyxfunc.C (dispatch):
4906 * BufferView_pimpl.C:
4907 * BufferView_pimpl.h:
4909 * BufferView.h: rename Dispatch() to dispatch()
4911 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4913 * lyxlayout.C (Read): honor DependsOn tag
4915 * lyxlayout.[Ch] (depends_on): new method
4917 * version.C.in: update lyx_docversion
4919 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4921 * paragraph.C (validate): remove from here...
4922 * paragraph_pimpl.C (validate): ... and move here
4923 (isTextAt): make it const
4925 * buffer.C (getLists): ws cleanup
4927 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4929 * language.C (read): Use iso8859-1 encoding in latex_lang
4930 (this prevents LyX from crashing when using iso10646-1 encoding).
4932 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4934 * text2.C (toggleInset): if cursor is inside an inset, close the
4935 inset and leave cursor _after_ it
4937 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4939 * lyxfunc.C: move minibuffer completion handling out of here
4941 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4943 * BufferView_pimpl.C:
4944 * LaTeX.C: fix dispatch calls
4946 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4948 * text.C (drawChars): Fix Arabic text rendering.
4950 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4954 * lyxfunc.C: remove message-push/pop
4958 * lyxfunc.C: rationalise some code by removing verboseDispatch
4959 in favour of a bool argument to dispatch()
4961 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4963 * lyx_main.C (init): make sure to read symlinks as absolute paths
4965 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4968 * lyxfunc.C: no need for commandshortcut to be a member
4970 2002-07-15 André Pönitz <poenitz@gmx.net>
4972 * converter.C: add support for $$s (scripts from lib/scripts dir)
4973 * lyx_main.C: white space
4975 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4979 * lyxrc.C: remove second exit confirmation
4981 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4986 * BufferView_pimpl.h:
4987 * BufferView_pimpl.C:
4988 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4990 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4992 * MenuBackend.C (expand): add numeric shortcuts to document menu
4994 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4996 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4998 * lyxfont.C (setLyXFamily):
5005 * buffer.C (asciiParagraph): use ascii_lowercase
5007 2002-07-15 Mike Fabian <mfabian@suse.de>
5009 * lyxlex_pimpl.C (search_kw):
5010 * lyxlex.C (getLongString):
5011 * converter.h (operator<):
5012 * converter.C (operator<):
5013 * buffer.C (parseSingleLyXformat2Token):
5015 * ToolbarDefaults.C (read):
5016 * MenuBackend.C (checkShortcuts):
5018 * LColor.C (getFromGUIName):
5019 (getFromLyXName): use the compare_ascii_no_case instead of
5020 compare_no_case, because in turkish, 'i' is not the lowercase
5021 version of 'I', and thus turkish locale breaks parsing of tags.
5023 2002-07-16 Angus Leeming <leeming@lyx.org>
5025 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5026 now takes a Buffer const & argument.
5028 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5030 * BufferView.C (resize): check there's a buffer to resize
5032 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5034 * lyxfunc.C: remove dead code
5037 * lyxserver.C: use lyx_guii::set_read_callback
5039 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5041 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5042 an inset in a RTL paragraph.
5044 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5046 * lyxfunc.C: repaint after a font size update
5048 2002-07-15 André Pönitz <poenitz@gmx.net>
5050 * lyxlength.C: inBP should be able to return negative values
5052 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5054 * lyxfunc.C: use lyx_gui::update_fonts()
5056 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5058 * lyxfunc.C: use lyx_gui::update_color()
5060 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5066 * lyxrc.C: remove file->new asks for name option, and let
5067 buffer-new take an argument
5069 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5071 * BufferView_pimpl.C: remove unneeded extra repaint()
5073 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5075 * LyXAction.C: allow command-sequence with NoBuffer
5077 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5079 2002-07-10 Angus Leeming <leeming@lyx.org>
5081 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5083 2002-07-09 Angus Leeming <leeming@lyx.org>
5085 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5087 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5089 * lengthcommon.h: whitespace
5091 * lyxfunc.C: update scrollbar after goto paragraph
5093 * lyxtext.h: factor out page break drawing, and fix it so
5094 page break/added space paints as selected nicely
5096 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5098 * BufferView_pimpl.C: add FIXMEs, clean up a little
5100 2002-07-09 André Pönitz <poenitz@gmx.net>
5102 * lyxfont.[Ch]: support for wasy symbols
5104 2002-07-08 André Pönitz <poenitz@gmx.net>
5106 * BufferView_pimpl.C: apply John's patch for #93.
5108 2002-07-05 Angus Leeming <leeming@lyx.org>
5110 * BufferView_pimpl.C (buffer): generate previews if desired.
5112 * LColor.h: add "preview" to the color enum.
5114 * LColor.C (LColor): add a corresponding entry to the items array.
5116 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5119 2002-07-05 Angus Leeming <leeming@lyx.org>
5121 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5122 The body of the code is now in the method that is passed an ostream &
5123 rather than a file name.
5124 Pass an additional only_preamble parameter, useful for the forthcoming
5127 2002-07-03 André Pönitz <poenitz@gmx.net>
5129 * lyxfunc.C: simplify getStatus() a bit for math stuff
5131 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5133 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5135 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5137 * text.C (changeRegionCase): do not change case of all the
5138 document when region ends at paragraph end (bug #461)
5140 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5142 * paragraph.C (startTeXParParams):
5143 (endTeXParParams): add \protect when necessary
5145 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5147 * BufferView_pimpl.C (workAreaExpose): remove warning
5149 2002-06-27 Angus Leeming <leeming@lyx.org>
5151 * Makefile.am: add lyxlayout_ptr_fwd.h.
5153 2002-06-26 André Pönitz <poenitz@gmx.net>
5155 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5157 2002-06-25 Angus Leeming <leeming@lyx.org>
5159 * lyxfunc.C (dispatch): Comment out the call to
5160 grfx::GCache::changeDisplay. The method no longer exists now that the
5161 pixmap generation part of the graphics loader has been moved into
5164 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5166 * text2.C: layout as layout
5168 * text.C: layout as layout
5170 * tabular.C (OldFormatRead): layout as layout
5172 * paragraph_pimpl.C (TeXDeeper): layout as layout
5173 (realizeFont): layout as layout
5175 * paragraph.C (writeFile): layout as layout
5176 (validate): layout as layout
5177 (getFont): layout as layout
5178 (getLabelFont): layout as layout
5179 (getLayoutFont): layout as layout
5180 (breakParagraph): layout as layout
5181 (stripLeadingSpaces): layout as layout
5182 (getEndLabel): layout as layout
5183 (getMaxDepthAfter): layout as layout
5184 (applyLayout): layout as layout
5185 (TeXOnePar): layout as layout
5186 (simpleTeXOnePar): layout as layout
5187 (TeXEnvironment): layout as layout
5188 (layout): layout as layout
5189 (layout): layout as layout
5191 * lyxtextclass.C (compare_name): new functor to work with
5192 shared_ptr, layout as layout
5193 (Read): layout as layout
5194 (hasLayout): layout as layout
5195 (operator): layout as layout
5196 (delete_layout): layout as layout
5197 (defaultLayout): layout as layout
5199 * lyxlayout_ptr_fwd.h: new file
5201 * lyxlayout.C (Read): layout as layout
5203 * lyx_cb.C (MenuInsertLabel): layout as layout
5205 * bufferlist.C (newFile): layout as layout
5207 * buffer.C (readLyXformat2): layout as layout
5208 (parseSingleLyXformat2Token): layout as layout
5209 (insertStringAsLines): layout as layout
5210 (asciiParagraph): layout as layout
5211 (latexParagraphs): layout as layout
5212 (makeLinuxDocFile): layout as layout
5213 (simpleLinuxDocOnePar): layout as layout
5214 (makeDocBookFile): layout as layout
5215 (simpleDocBookOnePar): layout as layout
5216 (getLists): layout as layout
5218 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5220 * CutAndPaste.C (cutSelection): layout as layout
5221 (pasteSelection): layout as layout
5222 (SwitchLayoutsBetweenClasses): layout as layout
5224 * BufferView_pimpl.C (Dispatch): layout as layout
5225 (smartQuote): layout as layout
5227 * BufferView2.C (unlockInset): layout as layout
5229 2002-06-24 André Pönitz <poenitz@gmx.net>
5231 * lyxfunc.C: fix #487
5233 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5237 * lyxfunc.C: remove display_shortcuts, show_banner
5239 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5241 * Buffer_pimpl.C: oops, update on resize
5243 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5250 * BufferView.C: use repaint()
5252 * BufferView_pimpl.h:
5253 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5254 as it's a clearer description. Remove superfluous
5257 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5259 * text.C: fix bug 488. Not ideal, but getting
5260 getWord() to work properly for the insets that
5261 matter is more difficult ...
5263 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5265 * BufferView_pimpl.C:
5268 * lyxfunc.C: remove the six million index lyxfuncs to just
5269 one, and DTRT (bug 458)
5271 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5275 * BufferView_pimpl.h:
5276 * BufferView_pimpl.C: clean up resize() stuff,
5277 and unnecessary updateScreen()s
5279 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5283 * BufferView_pimpl.h:
5284 * BufferView_pimpl.C:
5287 * minibuffer.C: remove focus management of workarea,
5288 not needed. Use screen's greyOut()
5290 2002-06-17 Herbert Voss <voss@lyx.org>
5292 * converter.C: (convert) do not post a message, when converting
5293 fails, let the calling function decide what to do in this case
5295 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5297 * lyxfunc.C: tidy up a little
5299 2002-06-16 <alstrup@diku.dk>
5301 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5302 Got rid of FORMS_H_LOCATION include. Now we are
5305 2002-06-15 LyX Development team <lyx@rilke>
5307 * buffer.[Ch] (sgmlOpenTag):
5308 (sgmlCloseTag): Added support for avoiding pernicious mixed
5309 content. Return number of lines written.
5312 (makeDocBookFile): Fixed calls to sgml*Tag.
5313 Simple white space clean.
5315 (simpleDocBookOnePar): Simple white space clean.
5317 * tabular.[Ch] (docBook): Renamed to docbook and got another
5318 argument to related with the pernicious mixed content.
5320 (docbookRow): Fixed calls for docbook inset method.
5322 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5324 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5325 so it's X11 independent.
5329 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5331 2002-06-15 Lyx Development team <lyx@electronia>
5333 * intl.h: Renamed getTrans to getTransManager.
5335 2002-06-14 Angus Leeming <leeming@lyx.org>
5337 * Makefile.am: nuke forgotten stl_string_fwd.h.
5339 2002-06-12 Angus Leeming <leeming@lyx.org>
5341 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5343 2002-06-13 Angus Leeming <leeming@lyx.org>
5346 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5348 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5350 * kbmap.C (getiso): add support for cyrillic and greek
5352 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5356 * BufferView_pimpl.h:
5357 * BufferView_pimpl.C: move bogus scrolling logic
5360 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5363 * BufferView_pimpl.C: view->resize() change
5365 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5367 * BufferView_pimpl.C: topCursorVisible
5370 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5374 * lyx_gui.C: move to frontends/
5378 * lyx_main.C: changes from above
5380 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5387 * lyx_main.C: minor tidy
5389 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5391 * BufferView_pimpl.h:
5392 * BufferView_pimpl.C:
5394 * BufferView.C: make painter() const,
5397 * BufferView2.C: use screen() accessor
5400 * lyx_main.C: some minor cleanup
5402 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5404 * BufferView_pimpl.h:
5405 * BufferView_pimpl.C: remove enter/leaveView,
5408 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5413 * BufferView_pimpl.h:
5414 * BufferView_pimpl.C: only construct screen once,
5417 * lyxrc.C: remove pointless comment
5419 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5422 * BufferView.C: remove active() and belowMouse()
5424 * BufferView_pimpl.h:
5425 * BufferView_pimpl.C: use workarea() not workarea_,
5426 and make it use a scoped_ptr instead
5428 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5430 * lyx_gui.C: add debug message on BadWindow
5432 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5434 * sp_spell.C: fdopen is not part of the C++ standard.
5436 * paragraph.C (InsetIterator): use >= instead of ==
5438 2002-06-07 Angus Leeming <leeming@lyx.org>
5440 Fixes needed to compile with Compaq cxx 6.5.
5441 * BufferView_pimpl.C:
5448 * lyxtextclasslist.C:
5453 all c-library variables have been moved into namespace std. Wrap
5454 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5459 Add a using std::abs declaration.
5461 * kbmap.h (modifier_pair):
5462 * paragraph.h (InsetTable, InsetList):
5463 * lyxfont.h (FontBits):
5464 type definition made public.
5466 * bufferlist.C (emergencyWriteAll): the compiler complains that
5467 there is more than one possible lyx::class_fun template to choose from.
5468 I re-named the void specialisation as lyx::void_class_fun.
5470 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5472 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5473 the compiler is is unable to find tostr in write_attribute.
5475 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5477 * buffer.C (sgmlError): hide #warning
5479 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5481 * xtl/*: get rid of xtl, which is not in use anyway
5483 * LyXAction.C (init):
5484 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5485 were unimplemented xtl experimentation
5487 2002-06-04 André Pönitz <poenitz@gmx.net>
5489 * lyxfunc.C: disable array operation on simple formulae
5491 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5493 * converter.C: constify a bit
5495 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5497 * lyx_gui.C: check xforms version correctly
5499 2002-04-30 Herbert Voss <voss@lyx.org>
5501 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5504 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5506 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5507 attempt to register it with a VCS)
5509 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5511 * lyx_main.C (init): honor variables LYX_DIR_13x and
5514 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5518 * lyx_main.C: fix a crash on bad command line,
5519 and give a useful exit status on error
5521 * lyxfunc.C (doImport): allow -i lyx to work
5523 2002-03-30 André Pönitz <poenitz@gmx.net>
5525 * lyxfunc.C: mathed font changes
5527 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5542 * trans_mgr.h: srcdocs, and some minor cleanups
5544 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5546 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5547 call getFont all the time)
5549 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5551 * switch from SigC signals to boost::signals
5553 2002-05-29 André Pönitz <poenitz@gmx.net>
5555 * paragraph_pimpl.C (getChar): don't call size() too often...
5557 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5559 * paragraph_pimpl.C (insertChar): do not try to update tables when
5560 appending (pos == size())
5562 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5563 in order to reduce drastically the number of comparisons needed to
5564 parse a large document
5566 2002-05-29 André Pönitz <poenitz@gmx.net>
5572 * textclasslist.[Ch]:
5573 * sp_ispell.h: whitespace change
5575 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5577 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5578 lyxaction directly now.
5580 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5584 * lyxvc.C: remove unused headers
5586 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5593 * undo_funcs.C: some cleanups. Use shared_ptr
5594 and a template for the undo stacks.
5596 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5598 * BufferView_pimpl.h:
5599 * BufferView_pimpl.C:
5606 * text2.C: use key_state/mouse_state
5608 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5610 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5613 * chset.C: change include order
5614 (loadFile): use boost regex and get rid of LRegex and LSubstring
5616 * Makefile.am (BOOST_LIBS): new variable
5619 * LaTeX.C: change include order.
5620 (scanAuxFile): use boost regex and get rid of LRegex and
5624 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5629 * FontInfo.C: moved to frontends/xforms/
5632 * FontLoader.C: moved into frontends for GUIIzation
5637 * lyxfunc.C: changes from above
5639 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5641 * LColor.C: remove spurious X include
5643 * BufferView_pimpl.C:
5648 * text2.C: move font metrics to frontends/
5650 2002-05-24 Juergen Vigna <jug@sad.it>
5652 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5653 setting the undo_cursor.
5655 * ParagraphParameters.h: include local includes first.
5657 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5659 * BufferView_pimpl.C:
5660 * BufferView_pimpl.h:
5664 * screen.C: move WorkArea into frontends/
5670 * BufferView2.C: move LyXScreen into frontends/
5674 * lyx_gui.C: move lyxlookup into frontends/xforms/
5676 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5679 * BufferView_pimpl.C:
5689 * bufferview_funcs.C:
5702 * vc-backend.C: move LyX/XFormsView into frontends/
5704 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5716 * text2.C: move Painter to frontends/
5718 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5720 * buffer.C: comment out some some code that depend upon lyx_format
5723 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5724 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5726 * buffer.h (NO_COMPABILITY): turn off compability
5728 * ColorHandler.C: include scoped_array.hpp
5730 * font.C: Use more specific smart_ptr header.
5733 * ShareContainer.h: ditto
5737 * BufferView_pimpl.h: ditto
5738 * ColorHandler.h: ditto
5740 * kbmap.C (defkey): change call to shared_ptr::reset
5742 2002-05-21 Juergen Vigna <jug@sad.it>
5744 * buffer.C (insertErtContents): fix to insert ert asis if it is
5745 non empty. Skip it completely if it contains only whitespaces.
5747 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5749 * BufferView_pimpl.C:
5750 * BufferView2.C: clear selection on paste (bug 393)
5752 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5754 * DepTable.C: include ctime
5756 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5758 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5760 2002-05-14 Juergen Vigna <jug@sad.it>
5762 * text.C (breakParagraph): fixed function to honor the keepempty
5763 layout in the right maner and also to permit the right breaking
5764 algorithm on empty or non empyt keepempty paragraphs.
5766 * paragraph.C (breakParagraph): we have to check also if the par
5767 is really empty (!size()) for isempty otherwise we do the wrong
5770 2002-05-10 Juergen Vigna <jug@sad.it>
5772 * buffer.[Ch] : The following are only changes to the ert
5773 compatibility read reading old LaTeX layout and font stuff and
5774 convert it to ERTInsets.
5776 * buffer.h: added isErtInset().
5778 * buffer.C (struct ErtComp): add a fromlayout bool to check
5779 if we're inside a LaTeX layout.
5780 (isErtInset): new helper function.
5781 (insertErtContents): look for other ert insets before this one
5782 and insert the contents there, so that we don't have subsequent
5783 ERT insets with nothing between them. This way we create only one
5784 inset with multiple paragraphs. Also check if we don't insert only
5785 spaces ' ' as they are ignored anyway afterwards in the .tex file
5786 so if we have only spaces we will ignore this latex part in the
5788 (parseSingleLyXformat2Token \\layout): better compatibility when
5789 reading layout-latex stuff.
5790 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5792 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5793 stuff after reading the inset only get the information back from
5796 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5798 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5800 * LaTeXFeatures.C (getBabelOptions): New method.
5802 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5804 * BufferView_pimpl.C (Dispatch): work around missing argument for
5807 2002-05-08 Juergen Vigna <jug@sad.it>
5809 * text.C (leftMargin): handle paragraph leftindent.
5811 * paragraph.C (writeFile): write the new \\leftindent tag.
5812 (validate): handle leftindent code.
5813 (TeXEnvironment): handle paragraphleftindent code again.
5815 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5817 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5818 for paragrap_extra indent code and new token \\leftindent.
5819 (latexParagraphs): handle the leftindent as environment.
5821 * ParameterStruct.h: added leftindent support.
5823 * ParagraphParameters.C (leftIndent): added support functions for
5824 the paragraph left indent.
5826 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5829 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5831 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5834 * text.C (computeBidiTables): No bidi in insetERT.
5836 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5839 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5841 * version.C.in: pre 5
5843 2002-05-02 José Matos <jamatos@fep.up.pt>
5844 * buffer.C (makeDocBookFile): white space changes, add newline to
5846 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5848 * tabular.C (docBook): fix typo.
5850 2002-05-03 Juergen Vigna <jug@sad.it>
5852 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5853 change in LyXText as we can not be sure it was not freed.
5854 (drawOneRow): remove unused code.
5856 * text.C (drawInset): redo the calculation of the need_break_row as
5857 it could have a row which was already freed.
5858 (draw): look at the return value of drawInset and return false if
5859 it also returned false.
5860 (paintRowText): look at the return value of draw and return false if
5861 it also returned false.
5863 * lyxtext.h: added bool return type to drawInset() and draw() so that
5864 if we have a change in the row so that the rowbreak has to be redone
5865 we abort drawing as it will be called again.
5867 2002-05-02 Juergen Vigna <jug@sad.it>
5869 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5870 a change in the maintext also if we're inside an inset.
5871 (Dispatch): set the cursor again after a break line and after the
5872 screen has been updated as it could be we're in a different row.
5874 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5875 to set the cursor behind the pargraph with > size().
5876 (setCursor): check also for the same paragraph when checking where
5877 to put the cursor if we have a NFR inset.
5879 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5880 parts of layout read further up as it still was in the wrong
5883 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5885 * screen.C (drawFromTo): change sine fullRebreak always return
5888 * buffer.C (parseSingleLyXformat2Token): reindent some
5890 * BufferView_pimpl.C (update): change since fullRebreak always
5892 (Dispatch): git rid of the last hardcoded "Standard"s.
5894 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5896 * text2.[Ch] (fullRebreak): make it return void now that we always
5899 2002-04-30 Juergen Vigna <jug@sad.it>
5901 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5902 ert compatibility check for "latex" layout.
5904 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5906 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5907 minipages: use col% instead of p%, and also use the current font.
5908 (makeLaTeXFile): Fix use babel condition.
5909 (parseSingleLyXformat2Token): Correct font when reading old floats.
5911 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5913 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5914 inserting list of floats.
5916 2002-04-25 Herbert Voss <voss@lyx.org>
5918 * MenuBackend.C (expand): don't add the graphics extensions to the
5921 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5923 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5924 non-existing layout, do not complain if it was the default layout
5925 of the original class (bug #342)
5927 2002-04-24 Juergen Vigna <jug@sad.it>
5929 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5930 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5932 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5934 * buffer.C (getBibkeyList): If using \bibliography, return the
5935 option field with the reference itself. Enables us to provide natbib
5936 support when using \bibliography.
5938 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5940 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5942 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5943 natbib is provided by the LaTeX class.
5945 2002-04-23 Juergen Vigna <jug@sad.it>
5947 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5950 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5952 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5954 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5956 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5957 ensuremath around textordmasculine, textordfeminine and
5960 2002-04-19 Juergen Vigna <jug@sad.it>
5962 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5963 reinitializing the buffer otherwise row-dimensions may be wrong.
5964 (update): reset also the selection cursors if they do exits otherwise
5965 their x/y positions may be wrong.
5967 * text2.C (cursorDown): don't enter the inset if we came from a row
5968 above and are one row over the inset.
5970 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5971 really leaving an inset.
5973 2002-04-18 Juergen Vigna <jug@sad.it>
5975 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5976 of the selected paragraph does not have the selected layout also if
5979 * text2.C (setLayout): fixed bug which did not change last selected
5982 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5983 changed the read and substituted \\end_float with \\end_inset!
5985 * BufferView_pimpl.C (cursorPrevious):
5986 (cursorNext): fixed to make it work with rows heigher than the work
5987 area without moving the cursor only the draw of the row.
5988 (workAreaMotionNotify): fix jumping over high rows.
5990 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5992 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5995 2002-04-16 Juergen Vigna <jug@sad.it>
5997 * text2.C (setCursor): set also the irow().
5998 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6000 (cursorDown): support for locking an inset if the x_fix value goes
6001 inside it. That way I can transverse insets too with cursor up/down.
6003 * lyxrow.h: added irow helper function same as other (i) functions.
6005 * BufferView_pimpl.C (cursorPrevious):
6006 (cursorNext): fixed for insets!
6008 2002-04-15 Juergen Vigna <jug@sad.it>
6010 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6011 position otherwise it is wrong in some cases.
6013 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6014 inside the inset before the call.
6016 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6018 * buffer.[Ch] (getBibkeyList): make it const.
6020 2002-04-12 Juergen Vigna <jug@sad.it>
6022 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6024 * text2.C (getCursorX): new helper function
6025 (setCursor): compute also ix_
6026 (setCursorFromCoordinates): set also ix.
6028 * lyxcursor.h: added ix_ and helper functions.
6030 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6032 * buffer.C (insertStringAsLines): dont break paragraph if the this
6033 paragraph is inside an inset which does not permit it!
6035 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6036 also with no chars on this paragraph.
6037 (paintRowText): only paint stuff if it's inside the workarea!
6039 * paragraph.C (breakParagraph): honor keepempty flag and break the
6040 paragraph always below not above.
6042 * BufferView2.C (unlockInset): update the paragraph layout on inset
6043 unlock as we changed paragraph in such a case.
6045 * lyxfind.C (LyXFind): clear the former selection if not found!
6047 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6048 again called in insertChar().
6050 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6051 an inset which uses the whole row!
6052 (rightMargin): ditto.
6053 (insertChar): force a rebreak if we inserted an inset!
6055 2002-03-28 Herbert Voss <voss@lyx.org>
6057 * lyxlength.[Ch]: add inBP() to get the right PS-point
6058 units (BigPoint). With inPixels we have rounding errors
6060 2002-04-11 Juergen Vigna <jug@sad.it>
6062 * text2.C (setCursorFromCoordinates): set iy to the right value.
6063 (setCursor): add check if row->previous exists!
6065 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6066 an old float_type as this was the case in the old code!
6068 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6070 * BufferView2.C (showLockedInsetCursor): use iy
6071 (fitLockedInsetCursor): ditto
6073 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6074 locked insets as there we have the right value now.
6076 * lyxcursor.C: added iy_ variable and iy functions to set to the
6077 baseline of cursor-y of the locked inset.
6079 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6080 (setCursor): fixed for insets which need a full row.
6082 * text.C (rowLastPrintable): don't ignore the last space when before
6083 an inset which needs a full row.
6084 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6085 as last character of a row when before a inset which needs a full row.
6087 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6089 * version.C.in: update date
6091 * text2.C (fullRebreak): try to always return true and see what
6094 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6096 * MenuBackend.C (expand): use Floating::listName
6098 * FloatList.C (FloatList): add listName argument to the built-in
6101 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6102 text associated with the float.
6104 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6106 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6108 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6110 * ShareContainer.h: add a couple of missing typenames.
6112 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6114 * lyxrc.C (getDescription): use _() correctly rather than N_().
6116 2002-03-28 Herbert Voss <voss@lyx.org>
6118 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6119 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6121 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6123 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6124 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6126 2002-03-29 Juergen Vigna <jug@sad.it>
6128 * lyxfunc.C (dispatch): add a missing fitCursor call.
6130 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6131 it was scrolled by a cursor move, so return the bool status.
6133 * BufferView.C (fitCursor): return the bool flag also to the outside
6134 world as this is needed.
6136 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6138 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6139 call the edit() as it is not needed (and wrong) IMO.
6140 (workAreaButtonPress): set the screen_first variable before evt.
6141 unlock the inset as this may change screen_first and then we have
6142 a wrong y position for the click!
6144 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6146 * MenuBackend.C (expand): another translation that I missed
6148 2002-03-28 Juergen Vigna <jug@sad.it>
6150 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6152 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6154 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6156 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6158 * MenuBackend.C (expand): fix export/view/update when there is no
6161 2002-03-27 Herbert Voss <voss@lyx.org>
6163 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6166 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6168 * bufferview_funcs.C (currentState): only show paragraph number
6169 for is DEVEL_VERSION is set.
6171 * lyxfunc.C (dispatch): put warning in INFO channel
6173 * MenuBackend.C (expand): translate the name of floats
6175 * FloatList.C (FloatList): mark the float names for translation
6177 * converter.C (convert): use LibScriptSearch
6179 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6181 * MenuBackend.C (defaults): fix default menu (we might as well get
6184 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6186 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6189 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6191 * lyxvc.C: reorder includes.
6193 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6195 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6198 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6200 * CutAndPaste.C: change layouts earlier on paste
6201 to avoid crashing when calling getFont()
6203 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6205 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6208 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6210 * WorkArea.C: remove 'Pending' debug message.
6212 * most files: ws cleanup
6214 * buffer.[Ch]: ws changes
6216 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6218 2002-03-21 Juergen Vigna <jug@sad.it>
6220 * tabular.C (SetMultiColumn): collapse also the contents of the
6221 cells and set the last border right. Added a Buffer const * param.
6223 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6225 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6228 2002-03-19 Juergen Vigna <jug@sad.it>
6230 * text2.C (clearSelection): reset also xsel_cache.
6232 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6233 where it needs to be called (John tells us to do so too :)
6234 (selectionLost): reset sel_cache.
6236 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6238 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6240 * text2.C (setCursorIntern): put debuging code in INSETS channel
6242 2002-03-19 André Pönitz <poenitz@gmx.net>
6244 * lyxfunc.C: tiny whitespace change
6246 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6248 * ToolbarDefaults.C (init):
6249 * LyXAction.C (init):
6251 * BufferView_pimpl.C (Dispatch):
6252 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6254 2002-03-19 Allan Rae <rae@lyx.org>
6256 * exporter.C (Export): removeAutoInsets before doing anything else.
6257 While I've just introduced a dependency on BufferView this really is
6258 the best place to clean the buffer otherwise you need to cleanup in
6259 a dozen places before calling export or cleanup in a dozen functions
6262 * converter.C (runLaTeX):
6263 (scanLog): Better handling of removeAutoInsets and screen updates.
6265 * lyxfunc.C (dispatch): small whitespace changes
6267 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6269 * WorkArea.C (C_WorkAreaEvent): return a value.
6270 (event_cb): return 1 if we handled the event, 0 otherwise.
6272 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6274 2002-03-18 Juergen Vigna <jug@sad.it>
6276 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6277 (GetAdditionalWidth): ditto.
6281 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6282 inset if we're there actually (probably not used right now but this
6283 is the direction to go for unifying code).
6284 (paste): disable code to clear the selection.
6286 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6287 inside an InsetText and move the check further up as it is in the
6290 * text2.C (pasteSelection): set a selection over the pasted text.
6292 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6294 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6295 and libgraphics to build on Cygwin.
6297 2002-03-15 Juergen Vigna <jug@sad.it>
6299 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6300 inserting an Inset into the paragraph. I know this is not the best
6301 fix but we already use current_view in CutAndPaste so we will remove
6302 all of it's using at the same time.
6304 * buffer.C (sgmlError): deactivated function till it is rewritten in
6305 the right mode, now it can create problems.
6307 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6308 before accessing it.
6310 2002-03-14 Juergen Vigna <jug@sad.it>
6312 * undo_funcs.C (textHandleUndo): do the right thing when updating
6313 the inset after the undo/redo.
6315 * text2.C (setCursor): just some testcode for #44 not ready yet.
6317 * undo_funcs.C (textHandleUndo): set the next() and previous()
6318 pointers of the paragraph to 0 before deleting otherwise we have
6319 problems with the Paragraph::[destructor].
6321 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6322 on a paragraph insertion.
6324 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6326 * buffer.C (asciiParagraph): use += operator for char append to
6329 * paragraph.C (getFontSettings): compare >= not just >
6330 (highestFontInRange): ditto
6333 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6335 * paragraph.C: change several algorithm to be more appripriate for
6336 the problem domain. This is lookip in FontList and in the InsetList.
6338 2002-03-13 André Pönitz <poenitz@gmx.net>
6341 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6343 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6348 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6350 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6352 * Painter.C (display): anon helper function, adjust code for this
6354 (pixmap): remove function.
6356 * Painter.h: remove private display variable.
6358 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6360 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6362 * WorkArea.[Ch]: remove figinset_canvas cruft.
6364 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6366 * lyxtextclass.C (operator): add one item cache optimization.
6368 * bufferlist.h: doxy changes
6370 * bufferlist.C: ws changes
6372 * DepTable.[Ch] (ext_exist): place const in the right spot.
6374 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6376 (workAreaExpose): call resizeInsets when the with BufferView changes.
6377 (Dispatch): adjust for protectedBlank removal
6378 (specialChar): call updateInset if the insert went ok.
6380 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6381 specialChar instead.
6383 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6385 * BufferView.h: doxy change
6387 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6389 * lyxtextclass.C (operator[]): remove non-const version
6390 (defaultLayout): remove non-const version
6392 2002-03-12 Juergen Vigna <jug@sad.it>
6394 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6395 did resize the LyXText too.
6397 * buffer.C (readLyXformat2): set layout information on newly allocated
6400 * tabular.C (OldFormatRead): set layout information on the paragraph.
6402 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6404 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6406 2002-03-11 Juergen Vigna <jug@sad.it>
6408 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6410 (resizeCurrentBuffer): force also the insets to resize themselfes.
6411 (moveCursorUpdate): fixed up for InsetText.
6413 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6416 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6417 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6418 value of Dialogs::tooltipsEnabled().
6419 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6421 2002-03-08 Juergen Vigna <jug@sad.it>
6423 * BufferView_pimpl.C (updateInset): update inset inside inset also
6424 if it isn't inside theLockingInset().
6426 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6428 * buffer.C (asciiParagraph): redo some of the word and line length
6430 (getLists): look for Caption instead of caption.
6432 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6434 * buffer.C (Buffer): initialize niceFile to true
6437 (makeDocBookFile): make sure niceFile is true on exit
6439 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6441 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6443 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6445 * LyXSendto.C: remove.
6446 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6447 * lyx_gui.C: remove now-redundant comment.
6448 * ColorHandler.h: remove forward declaration of class WorkArea.
6449 * lyxfunc.C: remove #include "WorkArea.h".
6451 2002-03-07 Juergen Vigna <jug@sad.it>
6453 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6454 got moved away with the DEPM and also set the inset_owner always
6455 right which before could have been omitted.
6457 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6459 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6460 wanted layout is not found.
6462 2002-03-07 Juergen Vigna <jug@sad.it>
6464 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6466 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6468 * paragraph.C (breakParagraph): use default layout not layout of
6470 (Paragraph): clear ParagraphParameters.
6472 2002-03-06 Juergen Vigna <jug@sad.it>
6474 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6475 otherwise it would not be a valid lenght. Fixed a special case in
6476 the minipage compatibility read where we end the document with a
6479 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6480 was set as it could be 0 for InsetTexts first entry.
6482 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6484 * paragraph.C (writeFile): if layout is empty write out
6485 defaultLayoutName().
6487 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6488 file without named layout we set layout to defaultLayoutName().
6490 2002-03-06 Juergen Vigna <jug@sad.it>
6492 * CutAndPaste.C (copySelection): set layout for new paragraph.
6494 * text.C (prepareToPrint): leave ERT inset left aligned
6495 (leftMargin): don't indent paragraphs inside ERT insets
6497 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6499 * paragraph.C (breakParagraph): dont call clear do the work manually
6501 * paragraph.[Ch] (clear): remove function
6503 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6505 * paragraph.C (Paragraph): dont call clear, the work has already
6508 * lyxtextclass.C (operator): assert if n is empty
6510 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6511 work manually instead.
6513 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6515 * BufferView_pimpl.C: protect selectionLost against text == 0
6517 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6519 * text.C (breakParagraph): fix a setting layout to '0' problem.
6521 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6523 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6524 final location of file, for the included files, and graphics.
6526 2002-03-05 Juergen Vigna <jug@sad.it>
6528 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6530 2002-03-04 Juergen Vigna <jug@sad.it>
6532 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6534 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6535 last column of multicolumn cells.
6536 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6538 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6540 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6541 file if it doesn't go to a temporary file.
6543 * buffer.C (sgmlOpenTag):
6544 (sgmlCloseTag): remove extra newline insertion.
6546 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6548 * text.C (getRowNearY): comment out debug msg
6550 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6552 * text2.C: first -> first_y
6554 * text.C (getRowNearY): add some attemts at a possible
6555 optimization, not working.
6557 * tabular.[Ch]: add BufferParams to several function so that newly
6558 created paragraph can be initialized to he default layotu for the
6561 * tabular-old.C (ReadOld): add buf->params to call of Init
6563 * screen.C: rename text->first to text->first_y
6565 * paragraph.C (breakParagraph): always set layout in the broken
6568 * lyxtextclass.C (Read): remove lowercase
6571 (delete_layout): ditto
6573 * lyxtext.h: rename first -> first_y
6575 * lyxlayout.C (Read): remove lowercase
6578 (obsoleted_by): ditto
6580 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6582 * buffer.C (insertErtContents): add params are to InsetERT
6583 (parseSingleLyXformat2Token): add code to check if a paragraphs
6584 layout really exist.
6585 (parseSingleLyXformat2Token): add params to several inset
6587 (asciiParagraph): remove lowercase, do the layout comparisons with
6590 * BufferView_pimpl.C (cursorNext): first -> first_y
6591 (resizeCurrentBuffer): first -> first_y
6592 (updateScrollbar): first -> first_y
6593 (scrollCB): first -> first_y
6594 (workAreaMotionNotify): first -> first_y
6595 (workAreaButtonPress): first -> first_y
6596 (checkInsetHit): first -> first_y
6597 (cursorPrevious): first -> first_y
6598 (cursorNext): first -> first_y
6599 (Dispatch): add buffer_->params to severl inset contructors
6601 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6603 * lyxlayout.C (Read): remove some debug info that I forgot.
6605 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6606 clean up the code slightly.
6607 (makeLinuxDocFile): ditto
6608 (makeDocBookFile): ditto
6610 * text2.C: layout as string
6612 * text.C: layout as string
6614 * paragraph_pimpl.C: layout as string
6616 * paragraph.[Ch]: layout as string
6618 * lyxtextclasslist.[Ch]: layout as string
6620 * lyxtextclass.[Ch]: layout as string
6622 * lyxtext.h: layout as string
6624 * lyxlayout.[Ch]: layout as string
6626 * lyx_cb.C: layout as string
6628 * bufferview_funcs.C: layout as string
6630 * bufferparams.C: layout as string
6632 * buffer.C: layout as string
6634 * LyXView.[Ch]: layout as string
6636 * LaTeXFeatures.[Ch]: layout as string
6638 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6640 * BufferView_pimpl.C: change current_layout to string, remove
6645 (workAreaButtonRelease): layout as string
6647 * BufferView2.C (unlockInset): adjust
6649 * vspace.C (asLatexCommand): use an explict temp variable.
6651 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6653 * Makefile.am: use FRONTEND_*
6655 2002-03-01 Juergen Vigna <jug@sad.it>
6657 * tabular.C (SetWidthOfMulticolCell): changed to something better
6658 I hope but still work in progress.
6659 (recalculateMulticolumnsOfColumn): renamed function from
6660 recalculateMulticolCells as it is more appropriate now.
6661 (SetWidthOfCell): calculate multicols better.
6663 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6665 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6667 * lyxfunc.C (processKeySym): print sequence also if it is
6668 `deleted' (complete)
6670 * kbsequence.C (print): print sequence even if it is deleted
6671 (complete would be a better word, actually).
6673 * lyxfunc.C (dispatch): print complete options after a prefix key
6675 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6677 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6679 * text2.C (setCharFont): eliminate setCharFont code duplication.
6681 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6683 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6684 LFUN_TABULAR_FEATURE (bug #177)
6686 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6688 * Makefile.am: remove figure.h
6690 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6692 * Bufferview_pimpl.C:
6704 * text2.C: remove #include "lyx_gui_misc.h".
6706 * LaTeX.C: added #include <cstdio>
6708 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6710 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6711 that the paragraph following this one can have.
6713 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6715 * vspace.C (asLatexCommand): fix bogus gcc warning
6717 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6719 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6721 * text2.C (setLayout): get rid of redundant code
6723 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6725 * text2.C (incDepth): make sure depth cannot be increased beyond
6728 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6730 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6731 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6733 * PainterBase.h (image):
6734 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6737 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6741 * BufferView_pimpl.C:
6742 * BufferView_pimpl.h:
6762 * sp_spell.C: remove fig inset, and the crap house of
6763 cards that follows it
6765 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6771 * nt_defines.h: move .h into support/
6773 * vms_defines.h: remove
6775 * WorkArea.C: add space in debug output
6779 * buffer.C: add WITH_WARNINGS
6783 * bufferlist.C: s/retrive/retrieve/, add docs
6794 * lyxgui.C: add ID to X error handler
6796 * lyxtestclass.c: fix typo
6798 2002-02-26 Juergen Vigna <jug@sad.it>
6800 * tabular_funcs.C (write_attribute): changed so that some default
6801 attributes are not written at all.
6802 (getTokenValue): set default values before trying to read the
6803 value so we have the return value always set as default if we don't
6804 find the token we search for.
6806 * tabular.C (Write): write bools as bools not as strings!
6808 2002-02-22 Juergen Vigna <jug@sad.it>
6810 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6811 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6813 * text.C (leftMargin): don't add an indent for paragraphs inside
6814 tabular cells (fix #208).
6816 2002-02-21 José Matos <jamatos@fep.up.pt>
6818 * tabular.C (docBook): fixed support for long tables.
6820 2002-02-20 Juergen Vigna <jug@sad.it>
6822 * text2.C (getFont): get the drawing font of the Inset if this
6823 paragraph is inside an inset (only important for InsetERT for now).
6825 * buffer.C (insertErtContents): use new lanugage params in ERT
6828 * CutAndPaste.C: commenting out seemingly uneeded code.
6830 2002-02-19 Allan Rae <rae@lyx.org>
6832 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6833 Iterators might be simple to use but they also get invalidated.
6834 (removeAutoInsets): renamed saved cursor tracking variables and added
6835 some comments to clarify what everything does.
6837 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6844 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6845 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6848 * vc-backend.h: remove #include "support/syscall.h"
6852 * converter.C: rearrange #includes in Lars' approved fashion.
6854 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6855 forward declare class Timeout in the header file.
6857 * XFormsView.C: changes due to the above.
6859 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6862 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6863 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6865 2002-02-18 José Matos <jamatos@fep.up.pt>
6867 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6870 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6872 * a lot of small ws changes
6873 * add a lot of using std::XXX
6874 * use std construcs some places where approp.
6875 * use some exisint stuff from lyxfunctional where approp.
6876 * Make file changes to use partial linking (lets test this now...)
6878 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6882 remove #include "support/syscontr.h" as it's redundant. Always has been.
6890 change Systemcalls::System to Systemcalls::Wait and
6891 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6892 No change of functionality, just reflects the stripped down Systemcalls
6895 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6897 * debug.[Ch]: add a GRAPHICS type to the enum.
6899 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6901 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6903 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6906 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6908 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6909 match the changes below.
6911 * text2.C (toggleInset): if there is not editable inset at cursor
6912 position, try to see if cursor is _inside_ a collapsable inset
6915 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6917 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6918 document menu has a nice checkbox
6920 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6922 * lyxlength.C (asLatexString): change PW to output as percent of
6925 * lengthcommon.C: change '%' to 't%'
6927 * lyxfunc.C (dispatch): a few comments from Martin
6929 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6933 * BufferView_pimpl.h:
6934 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6937 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6939 * vspace.C (inPixels): fix compiler warning
6941 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6943 * lyxfunc.C (getStatus): fix status message for disabled commands.
6945 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6947 * BufferView_pimpl.C: fix crash on close buffer
6948 during selection (#227)
6950 2002-01-27 Herbert Voss <voss@lyx.org>
6952 * buffer.C: link old Figure to new graphic inset
6954 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6956 * FontLoader.C (getFontinfo): Change the latex font names in order
6957 to match the names of type1inst.
6959 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6961 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6963 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6966 (remove_files_with_extension): ditto
6967 (remove_file): ditto
6970 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6971 document is smaller than the work area height. Do not initialize
6972 static variables to 0.
6974 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6976 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6978 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6979 LFUN_LAYOUT_PARAGRAPHS.
6981 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6982 tabular. It is possible to provide a possible cell, which will
6983 typically be the actcell from the corresponding insettabular
6985 * lyxfunc.C (getStatus): small cleanup; disable
6986 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6989 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6991 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6993 * paragraph.C (startTeXParParams):
6994 (endTeXParParams): new methods. The LaTeX code to
6995 start/end paragraph formatting
6996 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6997 empty (fixes bug #200)
6999 * vspace.C (inPixels): adapt to the change below
7000 (inPixels): [later] more cleanups (remove unused variables)
7002 * lyxlength.C (inPixels): change to use a width and a height as
7005 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7007 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7008 Replaced with \paperwidth
7010 * DepTable.C (insert): add std:: qualifier
7012 2002-01-18 Allan Rae <rae@lyx.org>
7014 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7017 * text.C (drawInset): Turned out I didn't know enough about how
7018 rebreaking worked. This fixes most of the redraw problems. I see
7019 an occasional cursor trail when a line is broken now and the cursor
7020 placement can seem out by a few pixels also after a rebreak.
7022 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7024 * buffer.C (parseSingleLyXformat2Token): update because minipage
7025 width is now a LyXLength
7027 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7029 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7032 2002-01-17 Juergen Vigna <jug@sad.it>
7034 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7036 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7037 is set correctly and the inset is updated correctly.
7039 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7041 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7042 the beginning of the loop.
7044 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7046 * lyxrc.C: improve help for use_scalable_fonts
7048 2002-01-17 Allan Rae <rae@lyx.org>
7050 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7052 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7054 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7055 make sure to set their inset_owner to the right value (bug #171)
7057 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7060 * DepTable.C: Implement mtime checking to reduce time spent doing
7063 2002-01-16 Juergen Vigna <jug@sad.it>
7065 * tabular.C (GetAdditionalHeight): one of error fixed.
7067 * lyxrc.C (output): small fix in writing use_pspell.
7069 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7071 * sp_base.h: #include LString.h
7073 2002-01-16 Allan Rae <rae@lyx.org>
7075 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7076 Can someone check this please?
7078 * text.C (drawInset): It was possible that p.row would be removed by
7079 breakAgainOneRow upsetting a few other settings. There may be another
7080 small tweak possible by setting need_break_row = 0 when p.row has been
7081 removed but I don't know enough about the logic here.
7083 2002-01-15 Allan Rae <rae@lyx.org>
7085 * text.C (insertChar): removed conditional truism.
7087 * BufferView2.C (removeAutoInsets): More tweaks.
7088 cur_par_prev could be a stray pointer. Check for trailing empty line
7089 in case last line was cur_par and only had an error inset on it.
7091 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7093 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7096 * vc-backend.C (most methods):
7097 * exporter.C (Export):
7098 * converter.C (convert):
7100 * LyXSendto.C (SendtoApplyCB):
7101 * lyxfunc.C (dispatch):
7105 * lyx_cb.C (AutoSave):
7107 * BufferView_pimpl.C (MenuInsertLyXFile):
7108 * buffer.C (runChktex): use Buffer::filePath().
7110 * buffer.h: rename filename to filename_; rename filepath to
7111 filepath_ and make it private
7112 (filePath): new method
7114 * buffer.C (writeFile): use fileName()
7117 * lyx_main.C (init): fix starting of LyX when the binary is a
7118 link from so,ewhere else.
7120 * minibuffer.C: include <cctype> for isprint
7122 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7124 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7125 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7126 name clash with InsetCollapsable's width function.
7128 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7130 * lastfiles.C: include <iterator>
7132 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7134 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7137 * buffer.C (makeLaTeXFile): ditto.
7138 Also make loop operation more transparent.
7140 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7142 * ToolbarDefaults.C: remove trailing comma closing namespace.
7144 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7146 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7149 * trans.C (Load): comment out unused variable, allowed.
7151 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7153 * minibuffer.[Ch] (append_char): new method to recieve input from the
7154 drop-down completion browser. If a key was pressed, then recieve this
7155 char and append it to the existing string.
7156 (peek_event): modify the positioning data passed to the completion
7157 browser so that it can be placed above the minibuffer rather than below.
7158 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7160 * LyXAction.C (init): alloe error-next for readonly documents.
7162 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7165 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7167 * bufferlist.C (readFile): create the buffer _after_ checking that
7170 * lyxfunc.C (verboseDispatch): fix handling of arguments
7172 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7174 * lyxrc.C: use string::erase() instead of initializing to "".
7177 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7179 * BufferView_pimpl.h:
7180 * BufferView_pimpl.C:
7183 * text2.C: tell X when we have made a selection for copying
7185 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7187 * BufferView_pimpl.C (MenuInsertLyXFile):
7188 * lyxfunc.C (menuNew):
7190 (doImport): add shortcuts to directory buttons
7192 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7195 * lyxfunc.C (setStatusMessage):
7196 (getStatusMessage): new methods
7197 (getStatus):use setStatusMessage instead of setErrorMessage
7198 (dispatch): when function is disabled, set error message here
7199 [instead of in getStatus previously]
7201 * BufferView_pimpl.C (workAreaButtonRelease): update
7202 toolbar/menubar here too.
7204 2002-01-13 Allan Rae <rae@lyx.org>
7206 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7207 Now seems indestructible. Remaining task is to audit all other
7208 code affected by deleteEmptyParagraphMechanism. One small quirk
7209 left is that an empty document with an error in the preamble can
7210 be made to report an error but no error box appears. I don't know
7212 (removeAutoInsets): Improved comments.
7214 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7217 * Thesaurus.C: update for Aiksaurus 0.14
7219 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7221 * text2.C (firstParagraph): removed member function, all uses
7222 replaces with ownerParagraph
7223 (redoParagraphs): here
7225 (toggleAppendix): here
7226 * BufferView2.C (insertErrors): here
7227 (setCursorFromRow): here
7229 2002-01-13 Allan Rae <rae@lyx.org>
7231 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7232 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7233 There is still a way to segfault this although you may have to do this
7234 multiple times: Have an InsetERT with an unknown command in it.
7235 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7236 <down-arrow>, <Enter> again, View->DVI, BANG!
7238 * text2.C (setCursor):
7239 (deleteEmptyParagraphMechanism):
7240 * lyxtext.h (setCursor):
7241 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7242 Making use of the return value may help fix other bugs.
7244 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7246 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7248 * LyXView.C (updateMenubar): call MenuBar::update here
7249 (updateToolbar): but not here
7250 (showState): do not update toolbar/menubar
7252 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7253 should need to care about that.
7255 * lyxfunc.C (verboseDispatch): simplify a bit
7256 (getStatus): have a version which takes a pseudoaction, and
7257 another which requires a (kb_action,string).
7259 * LyXAction.C (retrieveActionArg): make it work also when action
7260 is not a pseudo-action.
7261 (getActionName): simplify a bit
7264 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7266 * lyxfunc.C (verboseDispatch): new families of methods with
7267 several ways to specify a command and a bool to indicate whether
7268 the command name and shortcut should be displayed in minibuffer
7269 (eventually, we could extend that to a finer bitmask like
7270 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7271 (dispatch): the pristine dispatch command which just, well,
7272 dispatchs! Note it still sets its result to minibuffer; I'm not
7275 * lyxfunc.h: remove setHintMessage
7277 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7279 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7281 * BufferView_pimpl.C (specialChar): delete new inset if we have
7282 not been able to insert it.
7284 * kbmap.C: revert to using int instead of kb_action, since all we
7285 are dealing with is pseudo-actions.
7287 * LyXAction.C (searchActionArg): change to return int instead of
7288 kb_action, since the result is a pseudoaction.
7290 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7292 * buffer.C (insertErtContents): Fix (partially) the font bug.
7294 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7296 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7297 as the other one is broken on my machine!
7299 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7302 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7304 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7306 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7307 reflect their actual use. Provide compatibility code for older lyxrc
7310 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7312 change names of popup font variables in line with the changes to lyxrc.C
7314 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7316 * buffer.C (asciiParagraph): avoid outputing a word twice after
7319 * lyxrc.C (getDescription): document that document_path and
7320 template_path can be empty.
7322 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7324 * LaTeXFeatures.C (getMacros):
7325 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7327 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7329 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7331 (getPackages): rename feature "floats" to "float". Use an array to
7332 iterate over 'simple' features (i.e. just a \usepackage). Add
7333 handling of "amsmath" (renamed from "amsstyle").
7335 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7337 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7340 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7342 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7343 FuncStaus::FuncStatus & FuncStaus::some_method().
7345 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7347 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7348 of the func_satus stuff. Edited and massaged in various ways by
7351 * lyxfunc.C (getStatus): use FuncStatus
7353 2002-01-08 Juergen Vigna <jug@sad.it>
7355 * text.C (nextBreakPoint): use function Inset::isChar().
7357 * paragraph.C (TeXOnePar): use function
7358 Inset::forceDefaultParagraphs.
7360 * buffer.C (latexParagraphs): use function
7361 Inset::forceDefaultParagraphs.
7363 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7365 * lyx_gui.C (init): set the style of the menu popups to
7366 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7368 2002-01-07 Juergen Vigna <jug@sad.it>
7370 * text.C (setHeightOfRow): small fix
7371 (prepareToPrint): don't look at alignment if we don't have the place
7374 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7376 * box.C: New file. Move the Box methods and functions out of box.h,
7377 following Lars' suggestion.
7379 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7381 * box.h: #include "support/LOstream.h", needed for inlined function.
7384 * lyxtextclasslist.C: added some using std declarations.
7386 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7388 * box.h: make signed dimensions to allow insets wider than
7389 the screen (bug #162)
7391 * BufferView_pimpl.C: add some insetHit debug
7393 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7395 * vc-backend.C: add FIXME
7397 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7399 * lyxfunc.C (getStatus): enable code for showing math font status
7402 2002-01-07 Juergen Vigna <jug@sad.it>
7404 * text.C (nextBreakPoint): removed debug output not needed anymore.
7406 2002-01-06 Juergen Vigna <jug@sad.it>
7408 * text.C (nextBreakPoint): fixed up this function we had this bug
7409 since ever but now hopefully we break row better.
7410 (insertChar): we have to check if an inset is the next char as it
7411 could now happen that a large inset is causing a break.
7413 2002-01-05 Juergen Vigna <jug@sad.it>
7415 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7416 if it doesn't like to be drawed.
7418 2002-01-04 Juergen Vigna <jug@sad.it>
7420 * BufferView2.C (lockInset): forgot to set a cursor.
7422 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7424 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7429 * form_maths_panel.C:
7430 * form_maths_panel.h:
7431 * form_maths_panel.fd: implemented sub- and super- buttons in math
7434 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7435 (or ^ space) to be used as in TeX (req'd by André).
7437 * lyxfunc.C: Allow ^ and _ again to be used both as
7438 super/subscript (mathed) and as themselves (in text).
7440 2002-01-03 Allan Rae <rae@lyx.org>
7442 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7443 "LyX" or the filename of the current buffer if it has one. This is a
7444 modified form of John Levon's patch.
7446 * XFormsView.C (setWindowTitle): also set icon title.
7448 * LyXView.h (setWindowTitle): signature changed.
7449 * XFormsView.h (setWindowTitle): ditto.
7451 2002-01-02 Juergen Vigna <jug@sad.it>
7453 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7455 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7457 * screen.C (topCursorVisible): introduce a temp var for
7458 text->cursor.row(), handle the case where this row is null. (kindo
7461 * text2.C (setCursor): add a couple of asserts.
7463 * paragraph.h (inset_iterator): add -> operator
7465 * paragraph.[Ch] (autoDeleteInsets): remove member function
7467 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7468 cursor pos correctly and handle inset deletion by itself.
7469 (insertErrors): move iterator declaration out of for expression
7471 * lyxtextclass.C: add <algorithm>
7473 * Makefile.am: added the new files to sources, removed layout.C
7475 * layout.C: removed file
7477 * layout.h: remove LYX_DUMMY_LAYOUT
7479 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7483 * lyxtextclass.[Ch]:
7484 * lyxtextclasslist.[Ch]: new files
7486 * include order changes to a lot of files, also changes because of
7489 2001-12-27 Juergen Vigna <jug@sad.it>
7491 * buffer.C (asciiParagraph): more fixes.
7493 * tabular.C (ascii): make ascii export support export of only the
7494 data separated by a column-delimiter.
7495 (ascii): better support for ascii export.
7497 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7499 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7501 * tabular_funcs.C: use a "using std::getline" instead of the
7502 previous fix from Angus (necessary for cxx + lyxstring)
7504 2001-12-24 Juergen Vigna <jug@sad.it>
7506 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7508 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7509 problems. First check a minipage also if we have some ert-contents
7510 (not only on par->size(), second set the right depth of the paragraph
7511 on the relink to the root-paragraph-list!
7513 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7514 which then did not anymore update the main paragraphs on undo/redo!
7516 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7518 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7519 code. Support all font-changing funcs (even those which are not in
7520 menu currently). Support for reporting font settings in
7521 mathed (disabled until Andre provides a function on mathed's side).
7523 * func_status.h (toggle): small helper function to set toggle
7526 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7528 * tabular_funcs.C: getline -> std::getline
7530 2001-12-21 Juergen Vigna <jug@sad.it>
7532 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7533 accessed and could be 0 (I couldn't generate this but it seems
7536 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7538 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7539 * tabular_funcs.h: here and include iosfwd
7541 2001-12-20 Juergen Vigna <jug@sad.it>
7543 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7544 inside inset but undo_par was.
7546 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7548 * Thesaurus.C: always include <config.h> in sources.
7552 * box.h: do not include <config.h> in header files
7554 * text.C (paintLastRow): remove unused variable
7556 * text.C (transformChar):
7558 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7561 * font.C (width): rewrite to use uppercase() instead of
7564 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7566 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7568 * lyxfind.C: clean up of find failure position change
7570 2001-12-20 Juergen Vigna <jug@sad.it>
7572 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7574 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7575 (TeXRow): added to LaTeX a single tabular row.
7576 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7577 (Latex): simplified and finally good LT-h/f support.
7578 (various_functions): just small adaptions for LT-h/f support.
7580 * tabular_funcs.[hC]: added and moved here all not classfunctions
7583 2001-12-19 Juergen Vigna <jug@sad.it>
7585 * tabular.[Ch]: better support for longtabular options (not finished
7588 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7590 * text.C (paintLastRow): use the label font instead of the font of
7591 the last character to compute the size of *_BOX. This makes more
7592 sense and avoids a crash with empty paragraphs.
7593 Use Painter::rectangle to draw EMPTY_BOX.
7595 2001-12-19 Juergen Vigna <jug@sad.it>
7597 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7598 the paragraphs if the replaced paragraph is not the first one!
7599 Tried to delete not used paragraphs but does not work yet so for
7600 now it's inside #ifdef's and by default off!
7602 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7604 * MenuBackend.C: include "lyx_main.h" instead of declaring
7605 lastfiles (actually was declared as LastFiles* instead of a
7608 2001-12-17 Juergen Vigna <jug@sad.it>
7610 * tabular.C (AppendColumn): applied John's fix
7612 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7616 * BufferView_pimpl.h:
7617 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7620 * box.h: new start of class for above
7622 * lyxfunc.C: ignore space-only minibuffer dispatches.
7623 Show the command name when it doesn't exist
7625 * minibuffer.C: don't add empty lines to the history
7627 * minibuffer.C: add a space on dropdown completion
7629 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7631 * text.C: fix line above/below drawing in insets
7633 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7635 * lyxlength.C (LyXLength): Initialize private variables.
7637 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7639 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7640 when inserting error insets.
7642 2001-12-13 Juergen Vigna <jug@sad.it>
7644 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7645 actually sometimes the before-paragraph.
7646 (setUndo): don't clear the redostack if we're not actually undoing!
7648 2001-12-06 Juergen Vigna <jug@sad.it>
7650 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7651 and fixed redoing of main paragraph, so we can use it now ;)
7653 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7655 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7657 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7660 2001-12-13 André Pönitz <poenitz@gmx.net>
7663 * undo_func.C: minor cleanup
7665 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7667 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7668 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7669 font in urw-fonts package which is marked as -urw-fontspecific and
7670 does not work (incidentally, changing the encoding in the
7671 fonts.dir of this package to -adobe-fontspecific fixes the
7674 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7675 is a crash when undoing first paragraph (Juergen, please take a
7676 look). THis does not mean the undo fix is wrong, just that it
7679 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7680 the (Paragraph*) version when needed instead of duplicating the
7683 * text.C (workWidth): use Inset::parOwner to find out where the
7684 inset has been inserted. This is a huge performance gain for large
7685 documents with lots of insets. If Inset::parOwner is not set, fall
7686 back on the brute force method
7688 * paragraph_pimpl.C (insertInset):
7689 * paragraph.C (Paragraph):
7690 (cutIntoMinibuffer): set parOwner of insets when
7691 inserting/removing them
7693 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7695 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7701 * mathed/formulabase.C:
7702 * mathed/math_cursor.[Ch]:
7703 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7706 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7708 * lyxlength.[Ch] (operator!=): new function
7710 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7712 * text.C (workWidth): use Inset::parOwner to find out where the
7713 inset has been inserted. This is a huge performance gain for large
7714 documents with lots of insets. If Inset::parOwner is not set, fall
7715 back on the brute force method
7717 * paragraph_pimpl.C (insertInset):
7718 * paragraph.C (Paragraph):
7719 (cutIntoMinibuffer): set parOwner of insets when
7720 inserting/removing them
7722 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7724 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7726 * tabular-old.C (getTokenValue):
7727 * tabular.C (getTokenValue):
7728 (write_attribute): new versions for LyXLength
7729 (everywhere): adjust the use of widths
7731 * tabular.h: change the type of widths from string to LyXLength
7733 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7735 * paragraph.C: fixed missing line number count when exporting
7736 Environments to LaTeX file
7738 * buffer.C: added informational message for checking line numbers.
7740 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7742 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7743 paragraph, do the 'double space' part, but not the 'empty
7746 * text.C (workWidth): small optimization
7747 (getLengthMarkerHeight): use minimal size for negative lengths.
7749 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7751 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7753 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7755 2001-12-11 André Pönitz <poenitz@gmx.net>
7758 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7760 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7762 * text2.C: keep selection on a setFont()
7764 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7766 * lyx_cb.C: another bv->text misuse, from insert label
7768 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7771 * kbsequence.C: re-instate nmodifier mask
7773 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7775 * lyx_main.h: make lyxGUI private.
7777 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7779 * lyxfind.C: place the cursor correctly on failed search
7781 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7783 * text.C (getLengthMarkerHeight): for small heights, the arrows
7784 are not always on top/bottom of the text
7785 (drawLengthMarker): smaller arrows; take the left margin in
7786 account; draw also vfills.
7788 (paintLastRow): remove special code for vfill and standard spaces,
7789 since everything is handled in drawLengthMarker now.
7791 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7793 * buffer.C (insertErtContents): try to handle font and language
7794 interaction a bit better.g
7796 * ColorHandler.C (updateColor): change the hash to cover the whole
7797 LColor enum, ws cleanup
7798 (getGCLinepars): ditto
7799 (getGCLinepars): only lookup in the linecache once.
7801 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7803 * iterators.C (operator++): Make the iterator more robust
7805 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7807 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7809 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7812 * text.C: better added space drawing
7814 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7817 * BufferView2.C: fix layout combo update on inset unlock
7819 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7821 * Makefile.am: don't compile unused files
7823 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7827 * LyXAction.C: remove old LFUN_LAYOUTNO
7829 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7831 * paragraph_pimpl.h:
7832 * paragraph_pimpl.C: isTextAt() doesn't need font param
7834 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7837 * lyxlex.C: little cleanup
7839 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7841 * BufferView_pimpl.C: fix insertAscii for insets
7843 2001-12-05 Juergen Vigna <jug@sad.it>
7845 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7846 set the right font on the "multi" paragraph paste!
7848 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7854 * lyxlength.C: remove out-commented code.
7870 * vc-backend.C: change "while(" to "while ("
7872 * lyxlength.[Ch]: add zero function to check if length is zero or
7874 * lyxgluelength.C: use it
7876 2001-12-05 Allan Rae <rae@lyx.org>
7878 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7879 Works for 2.95.3, from what I understand of Garst's reports this should
7880 work for other g++ versions. We're screwed if the abs(int) definition
7881 changed between bugfix releases of gcc.
7883 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7885 * text.C: fix chapter label offset !
7887 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7890 * text.C: fix hfill at end of line, clean up
7892 2001-12-04 Juergen Vigna <jug@sad.it>
7894 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7895 that we force an update of the inset and it's owners if neccessary.
7897 2001-12-03 Juergen Vigna <jug@sad.it>
7899 * text.C (rowLast): simplified code
7901 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7903 * lyxfunc.C: fix show options on timeout
7905 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7907 * screen.C (topCursorVisible): scroll half a page when the cursor
7908 reached top of bottom of screen
7910 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7912 * minibuffer.C: deactivate on loss of focus
7914 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7916 * vspace.[Ch] (operator!=): add operator.
7918 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7920 * BufferView_pimpl.C: refuse to open an inset when
7921 there's a selection.
7923 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7925 * BufferView_pimpl.C: allow to click on RHS of full row insets
7927 2001-11-30 Juergen Vigna <jug@sad.it>
7929 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7930 insets for undo reasons.
7932 2001-11-28 André Pönitz <poenitz@gmx.net>
7934 * vspace.[Ch]: cosmetical changes
7936 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7946 * kbsequence.C: part re-write of old kb code
7949 * WorkArea.C: remove Lgb_bug_find_hack
7951 2001-11-30 José Matos <jamatos@fep.up.pt>
7953 * buffer.C (makeDocBookFile): add a comment to point a hack.
7954 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7955 Fixed a double write of labels.
7957 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7960 * LaTeX.h Fixed bug in LaTeX class where it would not
7961 re-run latex if no depfiles were changed, but the .dvi was removed.
7963 2001-11-28 André Pönitz <poenitz@gmx.net>
7965 * all the files from the change on 2001/11/26:
7966 use lyx::layout_type instead of LyXTextClass::size_type
7967 use lyx::textclass_type instead of LyXTextClassList::size_type
7969 2001-11-29 Juergen Vigna <jug@sad.it>
7971 * text.C: added support for paragraph::isFreeSpacing()
7973 * buffer.C: same as above
7975 * paragraph.h: inserted isFreeSpacing() function to enable
7976 FreeSpacing inside InsetERT.
7978 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7979 of the paragraph's in the cut/copy buffer to 0!
7981 * text2.C (removeRow): remove the assert as it can!
7983 * lyxtext.h: added helper function firstRow returning firstrow and
7984 made firstrow private again.
7986 * BufferView2.C (lockInset): don't relock if we're already locked!
7988 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7990 (removeRow): added Assert::(firstrow)
7992 * debug.C: forgot to add INSETTEXT here.
7994 2001-11-28 Juergen Vigna <jug@sad.it>
7996 * sp_spell.C (initialize): changed error text to more general
7997 spellchecker command use (not only ispell!)
7999 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8001 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8003 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8005 * vspace.C: initialise lyxgluelength on failure
8007 2001-11-28 Allan Rae <rae@lyx.org>
8009 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8010 declaration & definition that looks like a function declaration.
8012 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8014 * BufferView2.C (copy):
8015 (copyEnvironment): do not clear the selection when doing a copy.
8017 * text.C (paintFirstRow): compilation fix
8019 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8021 * tabular.C (Latex): correct line count when writing latex.
8023 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8025 * paragraph_pimpl.h:
8026 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8029 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8033 * LColor.C: change vfillline->added_space
8035 * text.C: add markers and text for added space
8037 * vspace.C: fix comment
8039 2001-11-28 André Pönitz <poenitz@gmx.net>
8041 * paragraph.C: whitespace changes
8042 * all the other files from the change on 2001/11/26:
8043 change *::pos_type into lyx::pos_type
8045 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8047 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8048 language of the document when inserting error insets.
8050 2001-11-26 André Pönitz <poenitz@gmx.net>
8052 * BufferView_pimpl.[Ch]:
8060 * paragraph_pimpl.[Ch]:
8063 * text2.C: reduce header dependencies, introduce type for positions
8065 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8067 * <various>: change to use Alert.h
8069 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8071 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8072 when encountering an unknown token.
8073 (readLyXformat2): Show an error message if there were unknown tokens.
8075 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8078 * BufferView_pimpl.C:
8082 * text2.C: use par->isInset()
8084 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8086 * paragraph_pimpl.h:
8087 * paragraph_pimpl.C: cleanup
8089 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8091 * text2.C (removeRow):
8092 * text.C (setHeightOfRow): remove useless (and costly) call to
8095 2001-11-20 Allan Rae <rae@lyx.org>
8097 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8098 Now need Inset*::checkInsertChar() to return true for appropriate
8099 cases so that the characters in the minibuffer will actually be
8102 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8104 * text.C: change the order of the includes.
8105 (workWidth): initialize it at once.
8106 (workWidth): make maxw unsigned
8107 (setHeightOfRow): remove unused variable (inset)
8108 (selectSelectedWord): remove unused variable (inset)
8109 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8111 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8113 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8114 server is not running.
8116 (closeConnection): add debug info when server is disabled.
8118 * ColorHandler.C (getGCForeground): send debug message to GUI
8121 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8123 * kbmap.C (bind): modify because return conventions of
8124 kb_sequence::parse have changed.
8126 * kbsequence.C (parse): only ignore spaces and not any stupid
8127 control character. This avoids tests like s[i] <= ' ', which are
8128 guaranteed to fail with 8bit characters and signed chars.
8129 Change return code to string::npos when there have been no error
8130 (0 was a bad idea when error is at first character)
8132 2001-11-14 José Matos <jamatos@fep.up.pt>
8135 * buffer.C (simpleDocBookOnePar): removed unused argument.
8137 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8139 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8140 insets which are part of a word. Paragraph::isLetter takes care of
8141 that now. Use Paragraph::isInset to identify insets.
8142 (selectSelectedWord): do not test for hyphenation break.
8144 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8145 that protected spaces are considered as spaces.
8147 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8150 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8153 * lyxserver.C: fix it. and small cleanup.
8155 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8157 * BufferView_pimpl.C: use inline helpers
8160 * LaTeXFeatures.C: fix typos
8163 * Spacing.C: move spacing_string into class
8165 * ToolbarDefaults.C: move stuff into namespace anon
8167 * layout.h: update enum
8169 * lyxfunc.C: use better debug
8171 * minibuffer.h: fix typo
8175 * WorkArea.C: add and use Debug::WORKAREA
8179 * text2.C: code re-organisation, inline helpers
8181 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8183 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8184 std::vector.empty().
8186 2001-11-09 Allan Rae <rae@lyx.org>
8188 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8189 '\n's after tables. Tabular and ERT inset work now makes this no
8192 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8195 * minibuffer.C: fix crash, improve drop-down completion
8197 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8200 * lyxserver.C: invalidate fd's when doing endPipe()
8202 2001-11-08 José Matos <jamatos@fep.up.pt>
8204 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8205 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8208 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8210 2001-11-07 José Matos <jamatos@fep.up.pt>
8213 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8216 * buffer.C (sgmlOpenTag):
8217 * buffer.C (sgmlCloseTag): removed debug info.
8219 * buffer.h (sgmlOpenTag):
8220 * buffer.h (sgmlCloseTag): made public.
8222 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8224 * buffer.C (saveParamsAsDefaults):
8225 * lyx_cb.C (MenuLayoutSave): remove
8227 * LyXAction.C (init):
8229 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8231 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8233 * buffer.C (setPaperStuff): removed from here...
8235 * bufferparams.C (setPaperStuff): ... and moved there.
8237 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8241 * XFormsView.C: add support for drop-down completion
8243 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8245 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8248 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8250 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8253 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8255 * lyx_main.C: change ref to known bugs
8257 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8259 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8260 to work around older babel problems.
8262 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8264 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8266 2001-10-24 Juergen Vigna <jug@sad.it>
8268 * tabular-old.C (ReadOld): below variable changes reflected.
8270 * tabular.[Ch]: added ltType struct for longtable header/footer
8271 defines and changed all instances where they are used. Added
8272 future support for double top/bottom rows.
8274 2001-10-24 José Matos <jamatos@fep.up.pt>
8276 * buffer.h (docbookHandleCaption):
8277 * buffer.C (docbookHandleCaption): removed unused function.
8278 (makeDocBookFile): moved docbook supported version to v4.1.
8280 2001-10-24 José Matos <jamatos@fep.up.pt>
8283 * tabular.C (docbookRow): new function to export docbook code of a row.
8284 (DocBook): now honors the longtable flags.
8286 2001-10-23 José Matos <jamatos@fep.up.pt>
8289 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8290 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8292 * buffer.C (makeLinuxDocFile):
8293 (makeDocBookFile): reworked the preamble, more clean, and with
8294 support for lyx defined entities. Changed the document declaration
8295 to be more XML friendly.
8297 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8298 if we need to output XML that should be done with a filter.
8300 2001-10-22 Juergen Vigna <jug@sad.it>
8302 * sp_pspell.h (class PSpell): add alive function needed in the
8303 controller to see if the spellchecker could be started.
8305 2001-10-22 Juergen Vigna <jug@sad.it>
8307 * buffer.C (insertStringAsLines): modify the font for inserting
8308 chars in certain conditions by calling checkInsertChar(font).
8310 2001-10-19 Juergen Vigna <jug@sad.it>
8312 * text.C (workWidth): use getRow instead of wrong algorithm.
8313 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8315 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8320 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8322 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8324 * text.C (workWidth): do not search for the exact row when
8325 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8326 optimization for big documents.
8328 2001-10-18 Juergen Vigna <jug@sad.it>
8330 * text.C (workWidth): new function with added Inset * parameter.
8332 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8334 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8336 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8337 change return type of getColumnNearX.
8340 * text.C (changeRegionCase): use uppercase/lowercase instead of
8343 (rightMargin): simplify code by factoring out the uses of
8348 (appendParagraph): use Paragraph::size_type
8350 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8352 * vspace.C (asLatexString): add a missing break
8354 2001-10-15 Herbert Voss <voss@perce.de>
8356 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8358 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8360 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8363 2001-10-10 André Pönitz <poenitz@gmx.net>
8365 * lyxfunc.C: removed greek_kb_flag.
8367 2001-10-10 Herbert Voss <voss@perce.de>
8369 * lyx_main.C: delete global string help_lyxdir.
8371 2001-10-09 Herbert Voss <voss@perce.de>
8373 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8375 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8377 * lyx_main.C: added global string help_lyxdir.
8379 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8381 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8383 * lyxrc.C (set_font_norm_type): support iso8859-4
8385 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8387 * LaTeX.C (deplog): add another regex for MikTeX
8389 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8391 * lyxrc.C (set_font_norm_type): support iso8859-3
8393 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8395 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8397 * LaTeXFeatures.C: remove special case of french and index
8399 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8400 before \begin{document}). This solves several incompatibilities.
8402 2001-10-03 Garst Reese <reese@isn.net>
8404 * lyx_cb.C: change CheckTex error msg.
8406 2001-10-03 José Matos <jamatos@fep.up.pt>
8408 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8410 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8412 * .cvsignore: update
8414 * lyx_main.C (commandLineVersionInfo): use new style version info.
8416 * buffer.C (writeFile):
8419 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8421 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8423 * version.h: update to use stuff in version.C
8425 * version.C.in: new file. Contains version information determined
8426 at compile time. This is a merging of version.h and
8429 2001-10-03 Juergen Vigna <jug@sad.it>
8431 * BufferView_pimpl.C (update): don't change "dirty" status in
8434 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8436 * WorkArea.C (c-tor): re-position version string slightly.
8438 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8440 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8441 revert to previous code.
8443 WorkArea.[Ch]: (show, destroySplash): methods removed.
8445 WorkArea.C: rework code so that it's an amalgam of the codes before and
8446 after the splash screen was moved to WorkArea.
8448 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8451 * vspace.C (inPixels):
8454 * buffer.C (insertStringAsLines):
8455 (asciiParagraph): fix types to be large enough
8457 * lyxlex_pimpl.h: change member status from short to int
8459 * layout.h: fix type of endlabeltype
8462 * kbsequence.C (parse): change return type to string::size_type
8464 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8467 * Bullet.C (bulletSize):
8468 (bulletEntry): do not use short ints as parameters
8470 * BufferView2.C (insertLyXFile): change a char to an int.
8472 * WorkArea.C (WorkArea): remove unneeded floats in computation
8474 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8476 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8478 * paragraph.C (asString): Do not ignore newline/hfill chars when
8479 copying to the clipboard.
8481 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8483 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8484 after a multi-line inset.
8486 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8488 * paragraph.C (validate): Set NeedLyXFootnoteCode
8490 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8492 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8493 and decrease-error to decrease.
8495 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8497 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8498 it more readable (should be equivalent)
8500 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8502 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8504 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8506 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8507 of a cursor (row, etc.) after a character has been deleted
8508 (deleteEmptyParagraphMechanism): call the method above on _all_
8509 cursors held by the LyXText when a double space has been
8512 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8514 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8516 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8518 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8519 background. Use greyOut() and the new show() methods to toggle between
8520 the foreground and background. Add code to remove the splash after
8521 its initial showing.
8523 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8524 (create_forms): no longer call Dialogs::showSplash.
8526 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8528 * .cvsignore: add version_info.h
8530 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8532 * version_info.h.in: new file
8534 * Makefile.am: add version_info.h.in
8536 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8537 version_info.h instead of VERSION_INFO
8539 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8541 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8542 The ERT inset now returns string().
8544 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8546 * lyxtext.h, text.C (selectNextWord): renamed as
8547 selectNextWordToSpellcheck.
8549 * text.C (selectNextWordToSpellcheck): Modified to not select
8550 words inside an ERT inset.
8552 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8554 * lyx_cb.C (MenuLayoutSave): change a bit the question
8556 * sp_base.h: include <sys/types.h>
8558 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8560 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8562 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8564 * several files: fix typos in user-visible strings
8566 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8568 * text2.C (pasteSelection): do not set the selection, since it
8569 will be cleared later. Actually, the intent was to fix the way the
8570 selection was set, but I figured rmoving the code was just as good.
8572 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8574 * FontLoader.C (available): Check if font is available without
8577 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8579 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8581 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8583 * lyxrc.[Ch]: added display_graphics variable and associated code.
8585 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8587 * bufferparams.C (hasClassDefaults): new method. Returns true if
8588 the buffer parameters correspond to known class defaults
8590 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8592 * XFormsView.C (show): set minimum size to the main window.
8594 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8596 * text2.C (copySelection):
8598 * lyxfind.C (LyXReplace):
8599 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8600 LyXText::selectionAsString.
8602 * paragraph.C (asString): add "label" argument to the second form
8604 * text2.C (selectionAsString): add "label" argument and pass it to
8605 Paragraph::asString.
8607 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8609 * lyx_main.C (commandLineHelp): remove version information
8611 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8613 * lyx_main.C: add -version commandline option
8615 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8617 * paragraph.h: make the optional constructor arg required instead.
8618 some modifications to other files because of this.
8620 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8622 * lyxserver.C (C_LyXComm_callback): make it static
8624 * lyx_main.C (error_handler): make it static
8626 * lyx_gui.C (LyX_XErrHandler): make it static
8628 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8630 * WorkArea.C: make the extern "C" methods static.
8632 * Makefile.am (lyx_LDADD): simplify
8634 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8636 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8637 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8639 * LyXAction.C (init):
8640 * lyxfunc.C (dispatch): associated code removal.
8642 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8644 * lyxfont.h (isSymbolFont): shut off warning
8646 * text.C (setHeightOfRow):
8647 (getVisibleRow): fix crash with empty paragraphs which have a
8650 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8652 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8655 2001-09-04 José Matos <jamatos@fep.up.pt>
8658 * tabular.C (docbook): rename docBook method to docbook.
8660 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8662 * Makefile.am: add dependencies to main.o.
8664 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8666 * FontLoader.C (available): Return false if !lyxrc.use_gui
8668 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8670 * FontInfo.C (query):
8671 * converter.C (view):
8672 * importer.C (Import):
8673 * exporter.C (Export): Can not -> cannot.
8675 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8677 * BufferView_pimpl.C: allow to create index inset even if
8680 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8682 * buffer.C (getLists): replace boost::tie code with an explicit pair
8683 as boost::tie can break some compilers.
8685 * iterators.h: Added a std:: declaration to the return type of
8688 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8690 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8693 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8695 * iterators.[Ch]: New files. Provide paragraph iterators.
8697 * buffer.C (changeLanguage): Use paragraph iterators.
8698 (isMultiLingual): ditto
8700 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8702 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8704 * FontLoader.C: Support for cmr font.
8706 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8708 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8709 (available): New method.
8711 * FontInfo.C (getFontname): Use scalable fonts even when
8712 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8715 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8717 * converter.C (Formats::view): reverted! Incorrect fix.
8719 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8721 * converter.C (Formats::view): only output the -paper option
8722 if the dvi viewer is xdvi, thereby fixing bug #233429.
8724 2001-08-23 Herbert Voss <voss@perce>
8726 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8728 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8730 * Spacing.h (Spacing): Set space to Default on in the default
8733 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8735 * vc-backend.h (RCS::versionString): add RCS to version
8736 (CVS::versionString): add CVS to version
8738 * vc-backend.C (scanMaster): do not add CVS to version.
8739 (scanMaster): do not add RCS to version
8741 * lyxvc.C (versionString): new method
8743 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8745 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8747 * Spacing.C (set): initialize fval
8749 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8751 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8754 2001-08-16 Juergen Vigna <jug@sad.it>
8756 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8758 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8760 * BufferView_pimpl.C:
8763 * text2.C: setParagraph takes linespacing now
8765 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8767 * LyxAction.C: add internal LFUN_CITATION_INSERT
8769 * LyXView.C: actually apply fix
8771 * bufferlist.C: fix open non-existent file
8773 * lyxfind.C: fix indentation
8775 * lyxfunc.C: remove unneeded assert, fix typo
8777 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8779 * MenuBackend.C: use "Floatname List"
8781 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8783 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8784 when converting LaTeX layout to insetERT.
8785 Generate a non-collapsed float when reading old float
8787 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8789 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8792 2001-08-13 Juergen Vigna <jug@sad.it>
8794 * text.C (fill): return 0 instead of 20 as this seems to be the more
8797 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8799 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8802 2001-08-13 Juergen Vigna <jug@sad.it>
8804 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8806 (SearchBackward): comment out the unlocking of the inset_owner this
8807 should not be needed!
8809 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8811 * Many files: Remove inherit_language, and add latex_language
8813 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8816 2001-08-10 Juergen Vigna <jug@sad.it>
8818 * text.C (prepareToPrint): fixed hfill-width in draw!
8820 * BufferView2.C (selectLastWord): save the selection cursor as this
8821 now is cleared in the function LyXText::clearSelection!
8823 2001-08-08 Juergen Vigna <jug@sad.it>
8825 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8826 BACKSPACE type functions.
8828 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8829 is only cutted from the document but not put in the cut-buffer, where
8830 still the old stuff should be.
8832 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8834 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8836 * tabular.C (SetWidthOfCell): fixed special case where the width
8838 (LeftLine): handle '|' in align_special.
8840 (LeftAlreadyDrawed): ditto
8841 (SetWidthOfCell): ditto
8843 2001-08-07 Juergen Vigna <jug@sad.it>
8845 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8847 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8849 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8850 * lyxlex.[hC]: ditto
8852 2001-08-06 Juergen Vigna <jug@sad.it>
8854 * text.C (getVisibleRow): fix up row clearing a bit.
8856 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8858 * minibuffer.C: make sure the X server sees the changes in the input.
8860 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8862 * paragraph.C (getFont): split into...
8863 (getLabelFont): this
8864 (getLayoutFont): and this
8865 * paragraph_pimpl.C (realizeFont): calling this
8867 * text2.C (getFont): split into...
8868 (getLayoutFont): this
8869 (getLabelFont): and this
8870 (realizeFont): all three calling this
8872 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8875 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8877 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8879 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8881 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8882 layouts from the Quote inset insertion.
8884 2001-08-03 Juergen Vigna <jug@sad.it>
8886 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8888 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8889 only if status not is already CHANGED_IN_DRAW (second level).
8891 * text.C (draw): don't set the need_break_row when inside an
8894 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8896 * buffer.C (parseSingleLyXformat2Token): handle more latex
8899 * bufferview_funcs.[hC]: change function names to
8900 begin with small char, adjust other files.
8902 2001-08-02 André Pönitz <poenitz@gmx.net>
8905 BufferView_pimpl.C: remove broken special code for math-greek
8907 2001-08-02 Juergen Vigna <jug@sad.it>
8909 * BufferView_pimpl.C (update): redone this function so that we
8910 update the text again if there was a CHANGE_IN_DRAW.
8912 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8913 (drawFromTo): added a new internal bool which is used by draw() and
8915 (general): some cursor drawing problems fixed.
8917 2001-08-01 Juergen Vigna <jug@sad.it>
8919 * lyxfind.C (LyXFind): fixed
8920 (SearchForward): ditto
8921 (SearchBackward): ditto
8923 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8924 spurius drawing of the cursor in the main area.
8926 * text2.C (status): small fix which could lead to a segfault!
8927 (clearSelection): remove unneeded BufferView param.
8929 2001-08-01 André Pönitz <poenitz@gmx.net>
8931 * lyxfunc.C: small change due to changed mathed interface
8933 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8935 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8937 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8939 * lyxfunc.c: fail gracefully if file doesn't exist
8944 * BufferView_pimpl.C: IsDirWriteable() proto changed
8946 * LyXView.C: fix updateWindowTitle() to store the last title
8948 2001-07-31 Juergen Vigna <jug@sad.it>
8950 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8951 the font (wrong since using of Paragraph::highestFontInRange).
8953 * paragraph.C (highestFontInRange): added a default_size parameter.
8955 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8956 (setHeightOfRow): reformat
8958 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8960 * converter.[hC] + affected files: move to (inital-char)lowercase
8963 * ParagraphParameters.C (ParagraphParameters): remove commented code
8965 * PainterBase.[Ch]: remove commented code
8967 * LaTeXFeatures.h: add "bool floats" for float.sty
8969 * LaTeXFeatures.C (LaTeXFeatures): init floats
8970 (require): handle float
8971 (getPackages): do it with floats
8973 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8975 * BufferView_pimpl.C (Dispatch): improve handling of
8976 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8978 * commandtags.h: #include lyxfont.h here temporarily to avoid
8981 * bufferlist.h: include LString.h here.
8983 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8985 * text2.C (getStringToIndex): new method.
8987 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8989 * *: Reduced header file dependencies all over.
8991 2001-07-30 Baruch Even <baruch@lyx.org>
8993 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8995 2001-07-29 Baruch Even <baruch@lyx.org>
8997 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8999 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9001 * ParameterStruct.h (endif): add a default constructor to make
9002 sure that all variables is initialized.
9004 * ParagraphParameters.C (ParagraphParameters): adjust
9006 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9008 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9009 index; also, check that there is something to index, and that it
9010 does not span over several paragraphs.
9011 (doubleClick): use WHOLE_WORD_STRICT for double click.
9013 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9015 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9018 2001-07-26 Baruch Even <baruch@lyx.org>
9020 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9021 an InsetFig figure, backwards compatible reading of old figure code.
9023 2001-07-27 Juergen Vigna <jug@sad.it>
9025 * text2.C: font.realize function adaption.
9027 * text.C (draw): add a warnings lyxerr text if needed.
9029 * layout.C: font.realize function adaption.
9031 * language.C: add inherit_language and implement it's handlings
9033 * bufferview_funcs.C (StyleReset): remove language parameter from
9034 font creation (should be language_inherit now).
9036 * bufferparams.C (writeFile): handle ignore_language.
9038 * paragraph.C (getFontSettings): the language has to be resolved
9039 otherwise we have problems in LyXFont!
9041 * lyxfont.C (lyxWriteChanges): added document_language parameter
9042 (update): removed unneeded language parameter
9044 * paragraph.C (validate): fixed wrong output of color-package when
9045 using interface colors for certain fonts in certain environments,
9046 which should not seen as that on the final output.
9048 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9050 * BufferView_pimpl.C:
9055 * LyXAction.C: add thesaurus support
9058 * lyxfind.C: add "once" parameter, for thesaurus, to not
9059 move to the next match
9061 2001-07-26 Juergen Vigna <jug@sad.it>
9063 * lyxfont.C (realize): honor ignore_language too!
9066 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9068 * text.C (draw): one place more for ignore_language to not draw
9071 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9073 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9075 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9077 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9078 the minipage conversion problem.
9080 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9082 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9085 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9087 * BufferView.h: don't forward declare WorkArea
9089 * BufferView.C: don't include WorkArea.h
9091 2001-07-25 André Pönitz <poenitz@gmx.net>
9095 * lyxfunc.C: new LFUN 'math-space'
9097 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9099 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9101 * text2.C (toggleInset): call open/close
9103 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9105 * lyxfunc.C (dispatch): add debug for the disabled case
9107 * font.C (buttonText): make similar to rectText
9109 * buffer.C (readInset): comment out parsing of insetlist and
9112 * PainterBase.C (rectText): small correction
9114 * BufferView_pimpl.C: comment out insettheorem and insetlist
9115 * LyXAction.C: ditto
9116 * commandtags.h: ditto
9118 2001-07-24 Juergen Vigna <jug@sad.it>
9120 * text.C (draw): honor the ignore_language.
9122 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9124 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9126 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9129 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9131 * lyxtext.h: remove unused (and unimplemented) methods
9133 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9135 * text.C (getVisibleRow): honor background color
9138 * Painter.h: remove default color argument for fillRectangle
9140 * text.C (backgroundColor): new method
9142 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9144 * text.C (getVisibleRow): adjust
9146 * font.[Ch] (rectText): new method, metrics
9147 (buttonText): new method, metrics
9149 * PainterBase.[hC]: make rectText and buttonText always draw and take
9152 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9154 * ToolbarDefaults.C (read):
9155 * MenuBackend.C (read): allow escaping in all strings
9157 * BufferView_pimpl.C (insertAndEditInset): new method.
9158 (Dispatch): use insertAndEditInset whenever appropriate.
9160 * BufferView_pimpl.C (insertNote): removed
9162 * BufferView_pimpl.C (smartQuote): new method, moved from
9163 BufferView; if an insetquote cannot be inserted, insert a '"'
9166 * BufferView2.C: remove insertCorrectQuote();
9168 * lyxfunc.C (getStatus): Add support for all remaingin
9171 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9173 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9174 command (necessary to pass " as parameter of self-insert.
9176 * text.C (selectWordWhenUnderCursor):
9177 (selectWord): add word_location parameter
9178 (selectWordWhenUnderCursor): same + remove special code for word
9180 (selectNextWord): use kind() to guess type of insetspecialchar,
9183 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9184 (insertErtContents): create ert insets as collapsed.
9185 (readInset): better compatibility code for Info inset.
9187 2001-07-20 Juergen Vigna <jug@sad.it>
9189 * lyxfunc.C (dispatch): use always LyXFind now!
9191 * text2.C (init): add a reinit flag so that the LyXText can be
9192 reinited instead of deleted and reallocated (used in InsetText).
9194 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9200 2001-07-18 Juergen Vigna <jug@sad.it>
9202 * text.C (selectNextWord): handle insets inside inset by calling
9203 always the bv->text functions so that we can go up the_locking_inset!
9205 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9206 in strange locations when inside an inset!
9208 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9209 handling to include insets.
9211 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9213 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9215 * LyXAction.C (init):
9217 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9218 LIGATURE_BREAK, since the name is so stupid.
9220 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9222 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9225 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9227 * sp_form.[Ch]: remove.
9229 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9231 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9234 * src/buffer.C (readInset): ditto.
9236 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9238 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9239 menuSeparator(), endOfSentenceDot(), ldots() and
9240 hyphenationPoint(), which are therefore removed.
9241 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9243 * LyXAction.C (init):
9244 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9246 * paragraph.C (getWord): removed.
9248 * BufferView_pimpl.C (Dispatch): use last word or selection for
9249 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9251 * lyx_main.C (queryUserLyXDir): do not ask before creating
9252 user_dir, except if it has been named explicitely.
9254 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9256 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9257 a document of zero size.
9259 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9261 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9262 approriately in the c-tor and in require().
9263 (getPackages): output the appropriate LaTeX for natbib support.
9265 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9266 variables "use_natbib" and "use_numerical_citations" when reading the
9268 (readInset): read the various natbib cite commands.
9269 (validate): white-space change.
9271 * bufferparams.[Ch]: new variables "bool use_natbib" and
9272 "bool use_numerical_citations".
9273 (writeFile): output them in the LyX file.
9275 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9277 * lyxfunc.C (getStatus): add support for all the inset insertion
9280 * text2.C (insertInset):
9281 * paragraph.C (insetAllowed):
9282 * BufferView_pimpl.C (insertInset): update to take in account the
9283 renaming of insertInsetAllowed
9285 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9287 * text2.C (getInset): new method. returns inset at cursor position.
9289 * BufferView_pimpl.C (Dispatch): changes because of this.
9291 * LyXAction.C (init): rename open-stuff to inset-toggle.
9293 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9295 * text2.C (toggleInset): renamed from openStuff; use
9298 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9300 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9302 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9304 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9306 * buffer.C (readLyXformat2): Add filename to the error dialog
9308 2001-07-18 Juergen Vigna <jug@sad.it>
9310 * tabular.C (GetCellNumber): put an assert here instead of the check!
9312 2001-07-17 Juergen Vigna <jug@sad.it>
9314 * BufferView_pimpl.C (toggleSelection): adapted too.
9316 * text.C (selectNextWord): adapted for use with insets.
9317 (selectSelectedWord): ditto
9319 2001-07-17 Juergen Vigna <jug@sad.it>
9321 * sp_spell.C (PSpell): fix initialitation order.
9323 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9325 * paragraph.C: spacing
9327 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9329 * sp_spell.C: repair language selection for pspell
9331 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9333 * lyxfunc.h: change more methods to begin with lower char.
9335 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9337 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9338 for unknown layouts.
9340 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9342 * buffer.C (readLyXformat2): Generate an error dialog if there are
9345 2001-07-16 Juergen Vigna <jug@sad.it>
9347 * sp_spell.C: always compile ISpell part.
9349 * lyxrc.C: added use_pspell entry and it's handling.
9351 2001-07-13 Juergen Vigna <jug@sad.it>
9353 * sp_spell.C: removed double includes.
9355 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9357 Consistent use of Lsstream.h:
9358 * Lsstream.h: added using std::stringstream for consistencies sake.
9360 * buffer.C: removed using std::stringstream
9362 * lyxfont.C (stateText):
9363 * paragraph.C (asString):
9364 * text.C (selectNextWord, selectSelectedWord):
9365 * text2.C (setCounter):
9366 * vspace.C (asString, asLatexString):
9367 std::ostringstream -> ostringstream.
9369 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9371 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9372 * commandtags.h: add LFUN_HELP_ABOUTLYX
9373 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9375 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9377 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9379 * lyx_gui_misc.C: remove spellchecker
9380 * lyxfunc.C: showSpellchecker
9382 * sp_ispell.h: added
9383 * sp_pspell.h: added
9385 * sp_form.[Ch]: removed
9386 * spellchecker.[Ch]: removed
9388 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9390 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9392 (simpleTeXSpecialChars): Simply print the input character without
9393 any special translation if pass_thru is set.
9395 * layout.h: Added bool pass_thru to layout class for being able to
9396 implement pass through of a paragraph for Literate Programming.
9398 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9399 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9400 * layout.C (Read): add "passthru" to list of layout tags and add
9401 code to set the pass_thru boolean when it is read.
9403 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9405 * trans_decl.h: remove allowed from KmodInfo
9407 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9411 * paragraph_pimpl.C (erase): use boost::prior
9413 * Painter.C (text): use data() instead of c_str() when length is
9415 * WorkArea.C (putClipboard): ditto
9416 * font.h (width): ditto
9418 * BufferView2.C: use it-> instead of (*it). for iterators
9420 * paragraph_pimpl.C: ditto
9421 * paragraph.C: ditto
9422 * minibuffer.C: ditto
9427 * converter.C: ditto
9429 * Variables.C: ditto
9430 * TextCache.C: ditto
9431 * MenuBackend.C: ditto
9432 * LyXAction.C: ditto
9434 * FloatList.C: ditto
9436 * ColorHandler.C (LyXColorHandler): ditto
9438 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9440 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9442 * text2.C (openStuff): reintroduce this method (which had been
9443 nuked in NEW_INSETS frenzy).
9445 * lyxfunc.C (Dispatch): when an action has not been handled, use
9446 its name in the error message, not its number.
9448 * paragraph.C (inInset): change method name to begin with lowercase.
9451 * text2.C: updates because of this.
9453 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9455 * ToolbarDefaults.C (add): add spaces in error message
9457 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9459 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9460 (readLyXformat2): rename return_par to first_par, use lyxlex's
9461 pushToken and remove the manual push handling.
9462 (parseSingleLyXformat2Token): add another ert comp. variable:
9463 in_tabular, rename return_par to first_par. handle newlines better
9465 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9467 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9469 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9471 * text2.C (getParFromID): removed
9473 * buffer.C (getParFromID): new method moved form lyxtext.
9474 * BufferView2.C (insertErrors): adjust
9475 (setCursorFromRow): adjust
9476 * BufferView_pimpl.C (restorePosition): adjust
9477 * lyxfunc.C (Dispatch): adjust
9478 * undo_funcs.C (textUndo): adjust
9480 (textHandleUndo): adjust
9481 (textHandleUndo): adjust
9483 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9485 * buffer.C: up' the LYX_FORMAT
9487 * lyxfont.h: turn NO_LATEX on as default
9489 * buffer.C (insertErtContents): new methods of tex style compability.
9490 (parseSingleLyXformat2Token): use it several places.
9491 * tabular.C (OldFormatRead): and here
9493 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9495 * text2.C: remove some commented code.
9498 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9499 * trans.C: changes because of the above.
9501 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9503 * text2.C (setCounter): Fix counters bug with bibliography layout.
9505 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9507 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9508 own member functions
9509 (simpleTeXSpecialChars): ditto
9511 2001-07-06 Juergen Vigna <jug@sad.it>
9513 * a lot of files: changed the access to LyXText::status and the
9514 call of undo-functions.
9516 * undo.[Ch]: added a inset_id to the undo informations.
9518 * undo_funcs.[Ch]: added and moved here all undo functions.
9520 * lyxtext.h: give the status enum a weight, made status_ a private
9521 variable and made accessor functions for it, removed the whole bunch
9522 of undo-functions as they are now in their own file, make some
9523 functions publically available. Added function ownerParagraph with
9526 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9527 made InInset() a const function, added getParFromID() function.
9529 * buffer.[Ch]: added const version for inset_iterator functions,
9530 added getInsetFromID() function.
9532 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9533 changed undo functions for new version.
9535 2001-07-05 Juergen Vigna <jug@sad.it>
9537 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9538 unknow mechanism does not call the proper constructor but only this
9539 one also if I request the other!?
9541 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9543 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9545 * text2.C (LyXText): use initialization lists.
9547 * lyxtext.h (Selection): initialize set_ and mark_
9548 (init): remove method
9550 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9552 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9554 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9556 * screen.[Ch]: change method names to begin with lowercase
9558 * BufferView_pimpl.C (updateScrollbar): simplify further and
9559 hopefully make it a bit faster.
9561 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9563 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9564 calling directly xforms functions.
9566 * Painter.C (Painter):
9567 * lyx_cb.C (MenuWrite):
9568 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9571 * lyx_gui.C: remove bogus guiruntime extern declaration.
9573 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9575 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9577 (redoDrawingOfParagraph): ditto
9578 (redoParagraphs): ditto
9579 (cutSelection): don't create a object for CutAndPaste use the
9580 static method directly
9581 (pasteSelection): ditto
9583 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9586 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9588 * modifications to some other files because of this.
9590 * Makefile.am (lyx_SOURCES): add XFormsView
9592 * XFormsView.[Ch]: new files
9594 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9595 the main window. Move the gui dependent stuff to XFormsView
9597 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9599 * tabular.C (GetCellInset): update cur_cell also in the row/col
9600 version of this function.
9602 * lyxfunc.C: no need to include figure_form.h here.
9608 * lyxvc.C: no need to include forms.h here.
9610 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9612 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9614 * lyxfunc.C (Dispatch):
9616 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9617 constructor argument.
9619 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9621 * paragraph.C (Paragraph): dont't clear, and just set layout.
9622 (makeSameLayout): use params's copy contructor.
9624 * ParagraphParameters.[Ch] (makeSame): delete method
9626 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9628 * Variables.[Ch]: fix indentation, rename set to isSet
9630 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9632 * lyxfunc.C (Dispatch): fix typo
9634 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9636 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9639 * bufferlist.C: include assert.h for emergencyWrite().
9641 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9643 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9644 give up at last (bug #425202) !
9646 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9652 * spellchecker.C: strip spellchecker options and bring up
9653 preferences tab instead
9655 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9657 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9658 the istringstream constructor
9660 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9662 * paragraph.C (getLayout): fix return value
9664 * paragraph.h: do not declare getLayout as inline.
9666 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9668 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9670 * lyxcursor.h (operator<): new func
9671 (operator>): new func
9672 (operator>=): new func
9673 (operator<=): new func
9675 * text.C (changeCase): use selection.start and selection.end
9676 (changeRegionCase): require from to be <= to. Require par to be a
9679 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9681 2001-06-27 Juergen Vigna <jug@sad.it>
9683 * text.C (cursorLeftOneWord): changed to return the cursor and added
9684 overlay with BufferView * parameter which calls this one.
9686 (selectWord): use new getWord function.
9687 (changeCase): renamed from changeWordCase as and extended to work
9690 * lyxtext.h: added enum word_location
9692 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9693 changeCase as this operates now also on selections.
9695 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9697 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9699 * many files: send debug output to Debug::INFO instead of
9702 * converter.C (View):
9704 (Move): send debug output to Debug::FILES instead of console.
9706 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9708 * lyxfunc.C (getStatus): use func_status
9710 * func_status.h: new header, describing the results of
9713 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9716 2001-06-25 The LyX Project <jug@sad.it>
9718 * buffer.C (sgmlOpenTag):
9720 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9722 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9724 * text2.C: remove some dead code
9726 * tabular.C (GetCellInset): store the last cell checked (gotten)
9728 * tabular.h: add the helper for the speedup
9730 * lyxtext.h: remove some dead code
9732 2001-06-26 The LyX Project <Asger>
9734 * paragraph.C: Change export to LaTeX of alignment to
9735 \begin{center} and family for better roundtrip work with reLyX.
9737 * Tune the math drawing a bit.
9739 2001-06-25 The LyX Project <Asger>
9741 * LColor.C (LColor): New color for math background. New color
9744 2001-06-25 The LyX Project <jug@sad.it>
9746 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9749 * bufferlist.C (newFile): do not restrict to files ending with
9752 * BufferView_pimpl.C (MenuInsertLyXFile):
9754 2001-06-24 The LyX Project <jug@sad.it>
9756 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9759 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9761 * lyxtext.h: rename most methods to begin with a small char.
9762 Lots of changes because of this.
9764 * paragraph.C (Paragraph): do not call fitToSize
9765 (erase): call Pimpl::erase
9766 (insertChar): call Pimpl::insertChar
9767 (insertInset): call Pipl::insertInset
9768 (breakParagraph): do not call fitToSize
9769 (breakParagraphConservative): do not call fitToSize
9770 (fitToSize): remove method
9772 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9774 2001-06-24 The LyX Project <Asger>
9776 * Fix Qt compilation^2
9778 2001-06-24 The LyX Project <jug@sad.it>
9780 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9781 depthHook(getDepth()-1).
9784 * ParagraphParameters.h:
9785 * ParameterStruct.h: change type of depth to unsigned int ==
9786 depth_type. Many adaptations to other files before of that.
9788 2001-06-24 The LyX Project <Asger>
9790 * Fix Qt compilation.
9792 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9794 * paragraph.h: renamed several methods to begin with small letter.
9795 several changes to many parts of the code because of this.
9797 2001-06-23 The LyX Project <jug@sad.it>
9799 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9800 rewritten to discard all double spaces when KeepEmpty is off
9801 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9802 to only handle newlines but not fiddle with spaces and friends.
9804 * lyxfunc.C (MenuNew): when doing 'new from template', use
9805 template_path as default directory
9807 2001-06-23 The LyX Project <Asger>
9809 * Clean-up of header file includes all over
9810 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9812 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9814 * paragraph.h: renamed from lyxparagraph.h
9816 2001-06-23 Asger <lyx@violet.home.sad.it>
9818 * Buffer.h: Removed Buffer::resize
9819 * BufferList.h: Removed BufferList::resize
9820 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9821 the document lazily when we change the width, or the font settings.
9823 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9825 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9827 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9829 * buffer.h: remove out of date comment
9831 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9834 * screen.C: fix "theoretical" GC leak
9836 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9838 * LaTeX.C (scanAuxFile):
9839 (deplog): remove trailing \r when reading stream (useful under
9842 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9844 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9845 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9846 and BufferView::theLockingInset(Inset*), so should use them and not
9847 access bv_->text->the_locking_inset directly.
9849 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9851 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9854 * tex-defs.h: remove old unused file
9856 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9858 * BufferView_pimpl.C: fix typo, remove minibuffer message
9859 when buffer has loaded
9861 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9863 * lyxfunc.C (Dispatch): use stringstream
9864 (MenuNew): use stringstream
9865 (Open): use stringstream
9867 * importer.C (Import): use stringstream
9869 * bufferview_funcs.C (CurrentState): use stringstream
9871 * LaTeX.C (run): use stringstream
9873 * BufferView_pimpl.C (savePosition): use stringstream
9874 (restorePosition): use stringstream
9875 (MenuInsertLyXFile): use stringstream
9877 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9890 * vspace.C: removed // -*- C++ -*- as first line.
9893 * version.h: added // -*- C++ -*- as first line.
9895 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9897 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9899 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9902 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9904 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9907 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9909 * gettext.C: include LString.h even when --disable-nls is on.
9911 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9913 * converter.h (Get): changed argument type from int to
9914 FormatList::size_type to avoid unnecessary conversion.
9916 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9919 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9921 * gettext.h: include LString.h even when --disable-nls is on.
9923 2001-06-07 Juergen Vigna <jug@sad.it>
9925 * text.C (BreakAgain): subst spaces with tabs.
9927 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9928 (resizeInsetsLyXText): set force on resizeLyXText.
9930 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9932 * gettext.h (gettext_init):
9933 (locale_init): use a real definition instead of a macro
9935 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9937 * Bufferview_pimpl.C:
9939 * LColor.C: further lcolor tidies
9941 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9943 * BufferView_pimpl.C (updateScrollbar): simplify.
9945 * BufferView2.C: don't include insets/insetinfo.h, change
9946 prototype for insertInset and call the Pimpl version. let
9947 updateInset call Pimpl version.
9949 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9950 gotoInset to BufferView::Pimpl
9952 2001-06-01 Juergen Vigna <jug@sad.it>
9954 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9955 inside a LockingInset (is the update needed at all?).
9957 2001-05-31 Juergen Vigna <jug@sad.it>
9959 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9960 here not the old one otherwise how should we compare it afterwards
9963 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9968 * FontInfo.C: bring C functions into global namespace when
9971 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9973 * LString.h: make sure config.h has been loaded before LString.h.
9975 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9976 (one for each char read by EatLine!).
9978 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9981 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9983 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9984 to the same as the par we break from
9986 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9988 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9990 * MenuBackend.C (expand): also create menu entries for wide
9991 versions of the floats.
9993 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9995 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9997 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9998 frontends/Makefile.am
10004 * tabular.C (getTokenValue): add std::
10006 * tabular-old.C (getTokenValue): add std::
10007 (getTokenValue): ditto
10008 (getTokenValue): ditto
10010 * screen.C (ToggleSelection): adjust
10012 * lyxtext.h: put selection cursors inside a Selection struct.
10014 * lyxfunc.C (moveCursorUpdate): adjust
10016 * lyxfont.C (latexWriteStartChanges): add std::
10018 * lyxfind.C: adjust
10020 * font.h: delete with(char const *, LyXFont const &)
10022 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10024 * FontInfo.C (getFontname): add std::
10026 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10027 (workAreaButtonPress): adjust
10028 (tripleClick): adjust
10030 (moveCursorUpdate): adjust
10033 * BufferView2.C (gotoInset): adjust
10035 2001-05-30 Juergen Vigna <jug@sad.it>
10037 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10038 to check pspell I add this as default as I now have new pspell
10039 libraries and they seem to use this.
10041 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10043 * text2.C (CutSelection): make the cursor valid before the call to
10046 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10048 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10049 relied on 0 terminated strings and other horrors. Bug found due to
10050 the new assert in lyxstring!
10052 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10055 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10057 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10060 * lyxfunc.C (processKeySym): change method of getting to the
10063 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10064 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10065 * BufferView_pimpl.[Ch]: here as private methods.
10067 2001-05-28 Juergen Vigna <jug@sad.it>
10069 * text.C (SetHeightOfRow): added the update() call again as it is
10070 needed to initialize inset dimensions!
10072 2001-05-16 Juergen Vigna <jug@sad.it>
10074 * text2.C (SetCharFont): Add new function with BufferView * and
10075 bool toggleall parameters for setting insets internal fonts.
10076 (SetFont): Freeze the undo as we may change fonts in Insets and
10077 all this change should be inside only one Undo!
10079 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10080 setting font's in insets as for them we have the SetFont function!
10082 2001-05-15 Juergen Vigna <jug@sad.it>
10084 * text2.C (ClearSelection): to be sure we REALLY don't have any
10087 * tabular.C (TeXCellPreamble): fixed the left border problem for
10090 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10092 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10095 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10097 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10098 LFUN_BREAKPARAGRAPH.
10100 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10101 help test to "internal only", similar for LFUN_INSERT_URL
10103 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10104 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10105 auto_region_delete and deadkeys.
10107 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10110 * LColor.C: remove some dead entries, tidy a little
10112 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10114 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10116 (Dispatch): implement LFUN_ESCAPE
10118 * commandtags.h: add LFUN_ESCAPE
10120 * LyXAction.C (init): add entry for LFUN_ESCAPE
10122 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10123 Remove commented code.
10124 (insertNote): moved here
10125 (open_new_inset): moved here
10127 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10130 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10132 * kbmap.C (findbinding): clean it up and make it work correctly.
10134 * lyx_main.C (init): do not pass argc and argv as parameters
10136 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10138 * buffer.C: fix path for OS/2 & Win32
10142 * lyx_main.C: Added os:: class.
10144 * os2_defines.h: update
10146 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10148 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10149 better by trying again with reduced state.
10151 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10153 * lyxrc.C (read): print error about invalid key sequence only when
10154 debugging (because not all latinX keysyms are known to some X
10157 * kbsequence.C (getiso): add a few std:: qualifiers
10158 (getiso): comment out extra return statement.
10160 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10162 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10164 (Dispatch): enhance the accent inset a bit. (not perfect)
10166 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10168 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10170 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10172 * bufferlist.C (emergencyWrite): fix assert() call
10174 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10176 * text.C (InsertChar): Added trivial patch to only send the "you
10177 can not do multiple spaces this way" message once during a
10180 2001-05-08 Baruch Even <baruch@lyx.org>
10182 * Makefile.am: Changed order of libraries to get LyX to link properly
10183 with the gnome frontend.
10185 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10187 * LaTeXFeatures.h: add a std:: qualifier
10189 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10191 * paragraph.C (String): use stringstream
10193 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10195 * paragraph.C (writeFile): remove footflag arg
10197 * buffer.C (makeLaTeXFile): use stringstream
10198 (latexParagraphs): remove footnot gurba
10200 * LaTeXFeatures.C (getPackages): use stringstream
10201 (getMacros): likewise
10202 (getTClassPreamble): likewise
10203 (getFloatDefinitions): new method
10205 * paragraph.C (writeFile): reindent
10208 * WorkArea.h: revert the xpos + etc changes.
10210 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10212 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10214 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10215 (pasteSelection): likewise
10216 * text2.C (CreateUndo): likewise
10218 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10220 * minibuffer.C (peek_event): temporarily reduce the functionality
10221 of the minibuffer (to allow args on lfuns)
10223 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10224 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10226 * buffer.C (readInset): add compability reading of old float
10227 lists, add reading of new style float list.
10228 (readInset): avoid reevaluation of inscmd.getCmdName()
10229 (getLists): reindent
10231 * MenuBackend.C (MenuItem): implement parsing of
10232 md_floatlistinsert and md_floatinsert.
10233 (expand::LastFiles): move initalizaton of iterators out of loop,
10234 avoid reevaluation.
10235 (expand::Documents): introduce typdedef vector<string> Strings,
10237 (expand::ExportFormats): introduce typedef vector<Format const *>
10238 Formats, and use it.
10239 (expand): implement FloatListInsert and FloatInsert.
10241 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10242 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10243 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10245 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10247 (Dispatch::LFUN_FLOAT_LIST): implement
10249 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10251 * LaTeX.C (run): Fix problem with --export code.
10253 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10255 * BufferView.[Ch] (workarea): removed.
10256 (getClipboard) new method; wrapper for workarea()->getClipboard()
10258 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10261 * WorkArea.h (width, height, xpos, ypos): These methods all
10262 returned the dimensions of the work_area sub-area of WorkArea,
10263 resulting in a position error if the WorkArea were resized. Now
10264 return the dimensions of the entire WorkArea.
10266 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10268 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10270 * LaTeX.C (deplog): correct the syntax of regex reg1
10272 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10274 * undo.C: remove !NEW_INSETS cruft
10276 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10278 * text2.C: remove !NEW_INSETS cruft
10280 * text.C: remove !NEW_INSETS cruft
10282 * tabular.C: remove !NEW_INSETS cruft
10284 * spellchecker.C: remove !NEW_INSETS cruft
10286 * lyxtext.h: remove !NEW_INSETS cruft
10288 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10290 * lyxfunc.C: remove !NEW_INSETS cruft
10292 * lyxfind.C: remove !NEW_INSETS cruft
10294 * lyx_cb.C: remove !NEW_INSETS cruft
10296 * figureForm.C: remove !NEW_INSETS cruft
10298 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10300 * buffer.[Ch]: remove !NEW_INSETS cruft
10302 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10304 * CutAndPaste.C: remove !NEW_INSETS cruft
10306 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10308 * BufferView2.C: remove !NEW_INSETS cruft
10310 * BufferView.h: remove !NEW_INSETS cruft
10312 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10314 * Lsstream.h: include LString.h before the sstream headers to
10315 fix problem with gcc 2.95.3 and lyxstring
10317 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10319 * lyx_main.C: add using directives when needed for C functions
10320 declared in std:: namespace.
10322 2001-04-27 Juergen Vigna <jug@sad.it>
10324 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10325 (SetHeightOfRow): comment out the update call should not be needed!
10327 2001-04-13 Juergen Vigna <jug@sad.it>
10329 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10330 (LyXTabular): tried to minimize operator= operations (and realized
10331 hopfully Lars wish).
10333 2001-04-27 Juergen Vigna <jug@sad.it>
10335 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10337 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10339 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10341 * buffer.C (readInset): hack to make listof algorithm work
10343 * BufferView_pimpl.C: hack to make listof algorithm work
10345 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10347 * LyXAction.C: removed all !NEW_INSETS cruft
10348 (init): moved lfun_item in method
10350 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10352 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10354 * BufferView2.C (theLockingInset): white space.
10356 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10358 * minibuffer.C: include <iostream>
10360 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10362 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10364 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10366 * text.[Ch] (TransposeChars): new method
10368 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10370 * call message directly through LyXView instead of through LyXFunc
10371 * BufferView2.C: adjust
10372 * BufferView_pimpl.C: adjust
10373 * FontLoader.C: adjust
10375 * bufferview_funcs.C: adjust
10376 * converter.C: adjust
10377 * figureForm.C: adjust
10378 * importer.C: adjust
10380 * lyx_gui_misc.C: adjust
10381 * lyxfunc.C: adjust
10384 + more files in subdirs
10386 * lyxparagraph.h (size): move up int file
10389 * adjust all uses of Assert to lyx::Assert.
10391 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10392 lyxfunctional in namespace lyx
10393 * layout.C (hasLayout): ditto
10396 (delete_layout): ditto
10397 (NumberOfClass): ditto
10398 * converter.C (GetFormat): ditto
10403 * bufferlist.C (getFileNames): ditto
10404 (emergencyWriteAll): ditto
10407 * MenuBackend.C (hasSubmenu): ditto
10410 * BufferView_pimpl.C (getInsetByCode): ditto
10412 2001-04-18 Juergen Vigna <jug@sad.it>
10414 * vspace.C (asLatexString): fixed the 100% problem.
10416 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10418 * lyxfunc.C (Dispatch):
10420 * minibuffer.h: add a few std:: qualifiers
10422 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10424 * minibuffer.[Ch]: reimplement so that commands is initiated and
10425 run from lyxfunc, simplified som handling, and made the completion
10426 and history code for complete. wip.
10428 * lyxfunc.C (processKeySym): call message
10429 (miniDispatch): new temporary method
10430 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10431 (LFUN_MESSAGE): implement
10432 (LFUN_MESSAGE_PUSH): implement
10433 (LFUN_MESSAGE_POP): implement
10434 (initMiniBuffer): the initial/defualt minibuffer message.
10436 * lyxfont.[Ch]: inline some more getters
10438 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10440 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10442 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10443 (AutoSave): use LFUN_MESSAGE
10444 (Reconfigure): ditto
10446 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10448 * figureForm.C: use LFUN_MESSAGE
10450 * converter.C (runLaTeX): use LFUN_MESSAGE
10452 * bufferview_funcs.C: use LFUN_MESSAGE
10454 (changeDepth): ditto
10456 * bufferparams.h: use boost::
10458 * bufferlist.h: inherit privately from noncopyable
10460 * bufferlist.C (loadLyXFile): remove some commented code.
10462 * buffer.C (runChktex): use LFUN_MESSAGE
10464 * ShareContainer.h: inherit privately from noncopyable
10466 * ParagraphParameters.[hC] (depth): inline it.
10468 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10470 (message): new method
10471 (messagePush): ditto
10472 (messagePop): ditto
10473 (show): init minibuffer
10474 (showState): direct call
10476 * LaTeX.[Ch]: inherit privately from noncopyable
10477 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10478 instead of WriteStatus.
10480 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10482 * BufferView_pimpl.C (buffer): don't init minibuffer
10483 (workAreaButtonPress): use LFUN_MESSAGE
10484 (workAreaButtonRelease): ditto
10485 (savePosition): ditto
10486 (restorePosition): ditto
10487 (MenuInsertLyXFile): ditto
10488 (workAreaExpose): don't init minibuffer
10489 (update): remove commented code, simplify
10491 * BufferView2.C (openStuff): use LFUN_MESSAGE
10492 (toggleFloat): ditto
10495 (copyEnvironment): ditto
10496 (pasteEnvironment): ditto
10501 (updateInset): remove some commented code
10503 * lastfiles.h: inherit privately from noncopyable
10506 * lyx_main.h: ditto
10508 * lyxlex_pimpl.h: ditto
10510 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10511 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10512 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10514 * LyXAction.h: inherit privately from noncopyable, add methods
10515 func_begin, func_end, returning iterators to the func map.
10517 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10518 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10519 (func_begin): new method
10520 (func_end): new method
10522 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10524 (copySelection): ditto
10525 (pasteSelection): ditto
10527 * BufferView.C: whitespace change
10528 * BufferView.h: inherit privately from noncopyable
10530 2001-04-16 Allan Rae <rae@lyx.org>
10532 * tabular-old.C (l_getline):
10533 * spellchecker.C (sc_check_word):
10534 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10535 an unrecognised preprocessor directive. So ensure they're wrapped.
10537 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10539 * src/exporter.C (Export): Give an error message when path to file
10542 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10544 * LaTeX.C (deplog): Always check that foundfile exists.
10546 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10549 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10551 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10553 * tabular.[Ch] (getLabelList): implement new method
10555 * minibuffer.h: comment ouf setTiimer
10557 * minibuffer.C (ExecutingCB): constify res
10558 (peek_event): constify s
10559 (Set): constify ntext
10560 (Init): constify nicename
10562 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10564 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10565 (savePosition): use two params to Minibuffer::Set
10566 (restorePosition): ditto
10568 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10570 * lyx_main.C: include language.h
10572 * Makefile.am (lyx_main.o): add language.h
10574 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10580 * CutAndPaste.C: include gettext.h
10582 * lyxfont.h: remove old hack with ON and OFF.
10585 * lyxfont.h: do not include language.h...
10590 * bufferview_funcs.C:
10596 * paragraph.C: ... but do it here instead
10598 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10600 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10602 * tabular.C: small reformat
10604 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10607 (BreakParagraph): ditto
10608 (SetOnlyLayout): ditto
10611 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10614 * lastfiles.C: removed most using decl, add std:: where needed
10616 * buffer.C: ws changes
10618 * MenuBackend.C (class compare_format): put into anon namespace
10619 (expand): constify label, names, action, action2
10622 * text.C (SingleWidth): constify font
10623 (IsBoundary): constify rtl2
10624 (GetVisibleRow): constify ww
10626 * LaTeX.C (deplog): constify logfile
10628 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10630 (workAreaExpose): constify widthChange, heightChange
10632 * lyxrow.C (par): moved
10635 * lyxrow.h: as inlines here
10637 * lyxfont.h (shape): moved from lyxfont.C
10638 (emph): moved from lyxfont.C
10640 * lyxfont.C (LyXFont): use initialization list for all
10642 (shape): move to lyxfont.h as inline
10643 (emph): move to lyxfont.h as inline
10646 2001-04-04 Juergen Vigna <jug@sad.it>
10648 * vspace.C: had to include stdio.h for use of sscanf
10650 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10653 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10654 independent of xforms.
10656 2001-04-02 Juergen Vigna <jug@sad.it>
10658 * spellchecker.C: fixed namespace placing!
10660 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10662 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10663 the LyXParagraph * is 0.
10665 2001-03-29 Juergen Vigna <jug@sad.it>
10667 * vspace.C: added support for %, c%, p%, l%.
10668 (stringFromUnit): added helper function.
10669 (asLatexString): changed to give right results for the %-values.
10671 * buffer.C: convert the widthp in a width%.
10673 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10675 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10678 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10679 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10681 * lyx_cb.[Ch]: see above.
10683 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10687 * lyx.[Ch]: replaced by figure_form.[Ch].
10691 * lyxfunc.C: changed headers associated with above changes.
10693 2001-03-27 Juergen Vigna <jug@sad.it>
10695 * BufferView_pimpl.C: set the temporary cursor right!
10697 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10699 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10701 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10703 * LString.h: removed "using std::getline"!
10705 * BufferView_pimpl.C (Dispatch): changes due to changes in
10706 InsetInclude::Params.
10708 * buffer.C (tag_name): removed redundant break statements as they were
10709 producing lots of warnings with my compiler.
10711 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10713 * LString.h: add "using std::getline" when using the real <string>.
10715 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10717 * buffer.C: removed bitset usage.
10718 PAR_TAG moved to an anonymous name space.
10719 (tag_name): new funtion, also in the anonymous namespace.
10720 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10721 (makeDocBookFile): clean code. Completed transition from string arrays
10723 (SimpleDocBookOnePar): code clean.
10725 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10727 * tabular.C: add some comments.
10729 2001-03-22 Juergen Vigna <jug@sad.it>
10731 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10732 compatibility read a bit and fixed bug with minipage in different
10735 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10737 * buffer.C (pop_tag): removed.
10738 (push_tag): removed.
10739 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10740 array replaced with vector. Added support for CDATA sections.
10741 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10743 (makeDocBookFile): XML conformant declaration of CDATA section,
10744 fixed bug related to <emphasis> in the first paragraph char.
10745 (sgmlOpenTag): exclude empty tags.
10746 (sgmlCloseTag): ditto.
10748 * buffer.h (pop_tag): removed.
10749 (push_tag): removed.
10751 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10753 * language.h (Languages): added size_type and size().
10755 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10757 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10758 response on compability reading of minipages. One probliem is that
10759 the old usage of minipages was «flertydig»
10761 * several files here and in subdirs: don't use static at file
10762 scope use anon namespaces instead.
10764 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10766 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10767 LaTeX output. This is necessary for Literate document
10770 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10772 * buffer.C: insert hfill when needed.
10774 * tabular.C (l_getline): use string::erase, small whitespace change.
10776 * BufferView_pimpl.C: try the anon namespace.
10777 * WorkArea.C: ditto
10779 2001-03-16 Juergen Vigna <jug@sad.it>
10781 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10782 otherwise it won't open options-dialogs.
10784 * buffer.C: honor pextraWidth(p) on converting minipages.
10786 * tabular.C (l_getline): changed the functions to strip trailing \r.
10788 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10790 * BufferView_pimpl.C:
10791 * minibuffer..C: added "using SigC::slot" declaration.
10793 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10795 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10801 * paragraph.C: ditto
10803 * lyxtext.h: NO_PEXTRA
10805 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10807 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10808 * ParameterStruct.h: ditto
10809 * ParagraphParameters.h: ditto
10810 * lyxparagraph.h: ditto
10812 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10814 * buffer.C: add compability for minipage alignment.
10815 (latexParagraphs): remove unwanted pextra check.
10817 * several files: remove CXX_WORKING_NAMESPACES
10819 * buffer.C (pop_tag): tie is in namespace boost
10821 * BufferView.h: noncopyable is in namespace boost
10823 * lyx_main.h: ditto
10826 * lastfiles.h: ditto
10827 * bufferlist.h: ditto
10828 * ShareContainer.h: ditto
10830 * LyXAction.h: ditto
10833 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10835 * Merging changes from BRANCH_MVC back into HEAD.
10837 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10839 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10841 * BufferView_pimpl.C: change from intl.C
10845 * Makefile.am: move combox.*
10851 * intl.C: remove dialog (covered by prefs)
10853 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10855 * lyxfunc.C (Dispatch): removed redundant break statement.
10857 2001-03-14 Juergen Vigna <jug@sad.it>
10859 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10861 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10863 * buffer.C: add hack to fix compability reading of minipages.
10865 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10867 * buffer.C (getLists): Cleanup.
10869 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10871 * lyxfont.C (update): don't honor toggleall on font size.
10873 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10877 * Makefile.am: moved to frontends/xforms/
10881 * BufferView_pimpl.C: changes for moved mathpanel
10883 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10885 * gettext.h: fix gettext_init() in --disable-nls
10887 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10889 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10891 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10894 * lyx.h: strip external form
10896 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10898 * BufferView_pimpl.C: add comment, destroySplash()
10900 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10902 * BufferView_pimpl.C:
10906 * lyxfunc.C: use re-worked insetinclude
10908 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10910 * buffer.C: add using std::stringstream.
10912 * lyx_cb.C: readd using std::ios.
10914 * buffer.C: add using std::map.
10916 * BufferView_pimpl.C: add using std::vector.
10918 * ShareContainer.h: add std:: to swap.
10920 * buffer.h: add some typedefs
10921 * buffer.C (getLists): use them
10922 (getLists): renamed from getTocList.
10923 add a counter for the different float types and use it in the
10925 (getLists): use the same counter for the NEW_INSETS and the "non"
10928 * lyx_cb.h: remove unused items, includes, using etc.
10930 * ShareContainer.h: remove some commented code, add more comments
10931 and "documentation".
10933 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10935 * buffer.C (getTocList): make the list also when NEW_INSETS is
10938 * buffer.h: remove TocType
10940 * buffer.C (getTocList): change to return a map<string,
10941 vector<TocItem> >, implement for dynamic number of list.
10943 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10944 * text2.C (PasteSelection): adjust
10945 * CutAndPaste.C (pasteSelection): adjust
10947 * FloatList.C (FloatList): update from the new_insets branch.
10948 * Floating.[Ch]: ditto
10949 * LaTeXFeatures.C: ditto
10951 * lyxlex_pimpl.C: ditto
10953 * paragraph.C (Last): remove when NEW_INSETS is defined.
10955 * other file: changes because of the above.
10957 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10959 * lyxparagraph.h: rename next to next_, previous to previous_,
10960 make them private for NEW_INSETS. Rename Next() to next(),
10961 Previous() to previous().
10963 * other files: changes because of the above.
10965 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10968 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10971 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10973 * main.C (main): pass lyx_localedir to gettext_init().
10975 * gettext.h: remove locale_init and gettext_init macros
10977 * gettext.C (locale_init): new function
10978 (gettext_init): new function
10980 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10983 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10985 * Moved credits to frontends:
10986 * credits.[Ch]: removed
10987 * credits_form.[Ch]: removed
10988 * lyx_gui_misc.C: remove credits stuff
10991 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10993 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10995 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10996 unneeded destructor.
10998 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10999 a standalone pointer again.
11001 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11003 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11009 * ToolbarDefaults.C:
11018 * BufferView_pimpl.C: use new file dialog in GUII
11021 * lyx_cb.C: remove LayoutsCB to Toolbar
11023 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11025 * ShareContainer.h (get): add std:: qualifier
11027 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11029 * ShareContainer.h: define a proper ShareContainer::value_type
11030 type (and use typename to please compaq cxx)
11032 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11034 * lyxparagraph.h: move serveral local vars to
11035 ParameterStruct/ParagraphParameters., use ShareContainer in
11036 FontTable., make vars in FontTable private and add getter and
11039 * paragraph.C: changes because of the above.
11041 * lyxfont.h: remove copy constructor and copy assignment. (the
11042 default ones is ok), move number inside FontBits. move inlines to
11045 * lyxfont.C: add number to initializaton of statics, move several
11046 inlines here. constify several local vars. some whitespace
11047 cleanup. Dont hide outerscope variables.
11049 * Spacing.h: add two new constructors to match the set methods.
11051 * ShareContainer.h: new file, will perhaps be moved to support
11053 * ParameterStruct.h: new file
11055 * ParagraphParameters.h: new file
11057 * ParagraphParameters.C: new file
11059 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11060 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11062 * BufferView_pimpl.C: ParagraphParameter changes.
11063 * buffer.C: Likewise.
11064 * bufferview_funcs.C: Likewise.
11065 * text.C: Likewise.
11066 * text2.C: Likewise.
11068 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11070 * lyxfind.C (LyXReplace): do not redefine default argument in
11072 (IsStringInText): ditto
11073 (SearchForward): ditto
11074 (SearchBackward): ditto
11076 2001-03-06 Juergen Vigna <jug@sad.it>
11078 * lyxfind.C (IsStringInText): put parentes around expressions.
11080 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11082 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11084 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11086 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11088 * stl_string_fwd.h: add comment
11090 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11093 * tabular.C: remove unused DocBook methods
11099 killed DO_USE_DEFAULT_LANGUAGE
11101 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11103 * lyx_gui.C: do not include language.h.
11105 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11106 arguments in function implementation.
11108 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11110 * BufferView_pimpl.C: add <ctime>
11112 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11114 * BufferView_pimpl.C: add using std::find_if
11116 2001-02-27 José Matos <jamatos@fep.up.pt>
11118 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11121 2001-02-11 José Matos <jamatos@fep.up.pt>
11123 * buffer.C (makeDocBookFile): command styles now have a parameter as
11124 "title" by default.
11126 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11128 * layout_forms.[Ch]: removed
11129 * lyx_cb.[Ch]: out character
11130 * lyx_gui.C: out character
11131 * lyx_gui_misc.C: out character
11132 * bufferview_funcs.C: : out character,
11133 added toggleall as parameter in ToggleAndShow
11135 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11137 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11139 * text2.C (SetCurrentFont): Disable number property at boundary.
11141 2001-02-26 Juergen Vigna <jug@sad.it>
11143 * lyxfunc.C (getStatus): added a string argument override function so
11144 that this is correctly called from LyXFunc::Dispatch if it contains a
11145 do_not_use_argument which is used!
11146 (Dispatch): added check for "custom" export and call appropriate func.
11148 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11150 * lyxrc.C: Add language_command_local, language_use_babel and
11151 language_global_options.
11153 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11155 * buffer.C (makeLaTeXFile): Use language_use_babel and
11156 language_global_options.
11158 2001-02-23 Juergen Vigna <jug@sad.it>
11160 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11161 which works with LyXText and putted it inside BufferView. Here now we
11162 only call for that part the BufferView::Dispatch() function.
11164 * BufferView.C (Dispatch): added.
11166 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11167 functions which needs to use a LyXText over from LyXFunc.
11168 (MenuInsertLyXFile): added
11169 (getInsetByCode): added
11170 (moveCursorUpdate): added
11171 (static TEXT): added
11173 2001-02-22 Juergen Vigna <jug@sad.it>
11175 * BufferView_pimpl.C (update): call a status update to see if LyXText
11178 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11180 * vc-backend.C (revert): implement for CVS
11181 (getLog): implement for CVS
11183 2001-02-20 Juergen Vigna <jug@sad.it>
11185 * text2.C (ClearSelection): added BufferView param for inset_owner call
11187 * lyxfunc.C (TEXT): added this function and use it instead of
11188 directly owner->view()-text of getLyXText().
11190 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11192 * src/layout_forms.C: out preamble
11193 * src/layout_forms.h: out preamble
11194 * src/lyx_cb.C: out preamble
11195 * src/lyx_cb.h: out preamble
11196 * src/lyx_gui.C: out preamble
11197 * src/lyx_gui_misc.C: out preamble
11198 * src/lyxfunc.C: connect with guii preamble
11200 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11202 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11204 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11206 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11207 whether to run bibtex.
11209 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11211 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11213 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11215 * Makefile.am (lyx_SOURCES): removed bibforms.h
11217 * vspace.h: doxygen
11219 * text.C (GetVisibleRow): make several local vars const
11221 * tabular.C: small cleanup.
11223 * lyxserver.C (callback): use compare instead of strncmp
11225 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11226 inlines to after class or to paragraph.C
11228 * lyxfont.h: remove friend operator!=
11230 * converter.h: move friend bool operator< to non friend and after
11233 * combox.h: small cleanup
11235 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11236 to inlines after class def.
11238 * buffer.C (pop_tag): use string operations instead of strcmp
11240 * bmtable.c: doxygen, small cleanup
11242 * LaTeX.h: remove friend operator==
11244 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11256 * BufferView_pimpl.C:
11257 * BufferView.[Ch]: remove cruft
11259 2001-02-14 Juergen Vigna <jug@sad.it>
11261 * lyxfunc.C: removed #if 0 unused code
11263 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11265 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11267 * text2.C (SetSelection): added a BufferView * parameter
11269 2001-02-13 Juergen Vigna <jug@sad.it>
11271 * lyxfunc.C (Dispatch): fixed protected blank problem.
11272 * BufferView2.C (protectedBlank): added LyxText * parameter.
11274 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11275 (AppendColumn): same as above for column_info.
11277 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11278 (moveCursorUpdate): use a LyXText param for support of InsetText.
11280 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11281 (tripleClick): ditto
11283 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11285 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11287 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11289 * text2.C (SetSelection): set correct update status if inset_owner
11290 (ToggleFree): ditto
11292 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11294 * tabular.C: remove some commented code.
11296 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11298 * BufferView_pimpl.C: call hideSplash()
11300 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11303 * bibforms.h: remove
11306 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11307 add LFUN_CHILD_CREATE
11309 * counters.h: fix tiny typo
11314 * lyx.C: move splash to frontends/xforms/
11316 * lyx_gui_misc.C: move Include and Bibform to frontends
11318 * lyxvc.h: clarify comment
11320 * vspace.C: tiny housekeeping
11322 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11324 * text.C (PrepareToPrint): RTL Fix.
11326 * paragraph.C (GetUChar): New method.
11327 (String): Use GetUChar.
11329 * buffer.C (asciiParagraph): Use GetUChar.
11331 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11333 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11335 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11338 * buffer.C: rename to getLogName(), handle
11339 build log / latex log nicely
11341 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11344 * MenuBackend.h: remove support for reference menuitem type.
11346 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11348 * BufferView_pimpl.C: housekeeping
11349 * BufferView_pimpl.h:
11354 * minibuffer.h: move Timeout GUI-I
11356 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11358 * lyxrc.C (read): Update converters data-structures.
11360 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11362 * LaTeX.h (operator!=): add operator != for Aux_Info
11364 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11366 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11368 * LaTeXLog.C: deleted, useful code moved to Buffer
11371 * buffer.C: new function getLatexLogName()
11377 * lyxfunc.C: use frontends for LaTeX and VC logs
11379 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11381 * LaTeX.h: yet another std:: that Allan forgot.
11383 * Variables.C (set): renamed from isset(), because this clashes
11384 with some HP-UX macros (grr).
11386 2001-02-06 Allan Rae <rae@lyx.org>
11388 * LaTeX.h: Another bug fix. Missing std:: this time.
11390 2001-02-04 Allan Rae <rae@lyx.org>
11392 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11393 floats problem. I've left it commented out because it's not quite
11394 correct. It should also test that the current object is a table or
11395 figure inset. But I haven't gotten around to figuring out how to do
11396 that. I *think* it'll be something like: "table" == inset.type()
11398 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11401 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11403 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11404 all the citation/databases/styles in the auxilary file.
11405 (run): Rerun latex if there was a babel language error.
11407 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11409 * text.C (Backspace): Preserve the font when changing newline char
11411 (BreakParagraph): If the cursor is before a space, delete the space.
11413 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11415 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11417 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11418 new argument (code).
11419 (ChangeCitationsIfUnique): New method.
11421 * paragraph.C (GetPositionOfInset): Handle bibkey.
11423 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11425 * BufferView_pimpl.h: change type of Position::par_pos to
11426 LyXParagraph::size_type.
11428 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11430 * BufferView_pimpl.C (savePosition, restorePosition): Write
11431 messages to minibuffer.
11433 2001-01-28 José Matos <jamatos@fep.up.pt>
11435 * buffer.C (makeDocBookFile): adds support for document language.
11436 A silly restriction on the name of LatexCommand types where removed.
11437 Added support for CDATA sections, allows to chars unescaped, used
11438 among others in code, to avoid escape < and >.
11440 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11442 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11443 saved positions instrad of a stack. Furthermore, a position is
11444 stored using paragraph id/paragraph position.
11446 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11447 Remove LFUN_REF_BACK.
11449 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11451 * converter.C (dvipdfm_options): New method.
11453 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11455 * vspace.C (isValidLength): Fix for empty input string.
11457 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11459 * LyXAction.C (init): change description of LFUN_FIGURE to
11462 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11464 * LaTeX.C: add using directive
11466 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11468 * MenuBackend.C (expand): Fix the sorting of the formats.
11470 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11472 * lyx_main.C: tiny error message fix
11474 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11476 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11477 calling fl_initialize(). This fixes the problem with ',' as
11478 decimal separator in text files.
11480 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11482 * trans.C (process): Fix the keymap bug.
11484 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11486 * LaTeX.C (scanAuxFiles): New method. Provides support for
11487 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11488 (scanLogFile) Scan for "run BibTeX" messages.
11490 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11491 OT1 font encoding. Also, load the aecompl package if the ae
11494 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11496 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11498 * texrow.C (increasePos): turn two error messages into debug
11501 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11503 * LaTeX.C (scanAux): Handle the \@input macro.
11504 (runBibTeX): Use scanAux().
11506 * language.C (latex_options_): New field.
11508 * LaTeXFeatures.C (getMacros): Add language macros.
11510 * buffer.C (makeLaTeXFile): Small fix.
11512 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11514 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11516 * text2.C: add a using directive.
11518 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11523 * lyxfunc.C: kill LyXBell.
11525 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11527 * text.C (IsBoundary): Remove the error message
11529 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11531 * lyxrc.C (setDefaults): Correct initialization value for
11534 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11536 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11539 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11540 and GotoNextNote().
11542 * src/LyXAction.C: Added reference-next.
11544 * text.C (InsertChar): Use contains instead of strchr.
11546 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11548 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11550 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11551 alignment commands (when needed).
11553 * text.C (InsertChar): Add ':' to number separator chars.