1 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * introduce namespace lyx::support
5 2003-06-30 André Pönitz <poenitz@gmx.net>
10 * text.C: re-enable --with-included-string
12 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
14 * textcursor.C: add <config.h>
16 * text.C (getWord): remove const from word_location arg
18 * lyxvc.C (getLogFile): fix const type order
20 * lyxtext.h: remove const from word_location arg, add arg name
22 * lyxlayout.h: currect type on labeltype.
24 * importer.C: correct \file
26 * converter.C (intToFormat): use std:: on ret val, ws changes
28 * bufferlist.h: correct \file
30 * buffer.C (makeLinuxDocFile): fix const type order
31 (makeDocBookFile): ditto
32 (fillWithBibKeys): use std:: on stdlib args.
34 * CutAndPaste.C: fix authors.
35 (availableSelections): use std:: on return vector
37 2003-06-27 André Pönitz <poenitz@gmx.net>
48 * text3.C: remove LyXCursor::row_ member
51 * text.C: rename fullRebreak() to partialRebreak() and implement
52 a fullRebreak() that really bereks fully
54 * textcursor.h: new struct for cursor-related data
56 2003-06-26 Alfredo Brauntein <abraunst@lyx.org>
58 * lyx_main.C (LyX): get full path of document loaded on the
61 2003-06-26 André Pönitz <poenitz@gmx.net>
63 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
64 remove unused/broken operator>,<,>=.
66 * text.C: remove only use of broken operator<= in an Assert().
68 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
70 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
71 moved errorlist_.clear to showErrorList
73 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
75 * converter.C (scanLog, runLaTeX):
76 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
77 move the bv->showErrorList call to the callers
78 * lyxfunc.C: i.e. here...
80 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
81 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
82 namespace, the second to...
83 * buffer_funcs (BufferFormat, parseErrors): added
84 * errorlist.C (ErrorList(TeXErrors const &)): removed
86 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
88 * ToolbarBackend.C (getIcon): complain when icon cannot be found
90 2003-06-24 "Garst R. Reese" <reese@isn.net>
94 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
96 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
98 * version.C.in: change docversion to 1.4
100 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
102 * buffer.C: fix a bug just introduced
104 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
106 * buffer.[Ch]: added the parseError signal and use it, removed
108 * BufferView.[Ch] (addError): moved to ...
109 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
110 to the Buffer::parseError signal to catch (guess what) parse errors
111 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
113 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
115 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
116 ability to create a buffer and to return an existing one from
117 the list. Moved these functions to...
118 * buffer_funcs.[Ch]: added
119 * BufferView.[Ch] (loadLyXFile): added
120 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
121 job removed from bufferlist::loadLyXFile.
122 * buffer.C (setReadOnly): make it work without view
123 (i.e added an if (users))
125 2003-06-19 Angus Leeming <leeming@lyx.org>
128 * LyXAction.C (init):
129 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
130 with LFUN_DIALOG_SHOW <name> <data>.
132 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
134 * CutAndPaste.C (availableSelections): small compilation fix for
135 ancient (gcc 2.9x) compilers
137 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
139 * text3.C (cursorNext): add tmp var
141 * text2.C (updateCounters): for function calling out of for clause
142 (replaceSelectionWithString): ditto
143 (insertStringAsParagraphs): ditto
144 (getColumnNearX): add tmp var
145 (setCursorFromCoordinates): add tmp var
146 (cursorDownParagraph): add tmp var
147 (deleteEmptyParagraphMechanism): add tmp var
149 * text.C (insertChar): add tmp var
151 * rowpainter.C (paintDepthBar): add tmp var
153 * CutAndPaste.C (availableSelections): potentially check all
154 paragraphs in a cut to fill the shown strings.
156 2003-06-18 André Pönitz <poenitz@gmx.net>
158 * kbmap.[Ch]: use vector<> instead of list<>
160 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
162 * text3.C (dispatch): handle arg to LFUN_PASTE, call
163 pasteSelection with index
165 * text2.C (pasteSelection): modify, call pasteSelection with index
167 * paragraph.C (asString): reimplement version with no interval to
168 call the one with interval.
170 * lyxtext.h: add index arg to pasteSelection
172 * MenuBackend.C (MenuItem): handle PasteRecent
173 (Menu::read::Menutags): add md_pasterecent
175 (expandPasteRecent): new function
178 * MenuBackend.h: add PasteRecent to MenuItem::Kind
180 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
182 (availableSelections): new function
184 2003-06-17 Angus Leeming <leeming@lyx.org>
186 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
188 2003-06-17 Angus Leeming <leeming@lyx.org>
191 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
193 * lyxfunc.C (dispatch): invoke it.
195 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
197 * iterators.C (operator++, ParPosition): reintroduce some
198 const_cast for the benefit of older compilers.
200 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
202 * text3.C (dispatch): do not modify clipboard when doing
203 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
204 LFUN_DELETE_SKIP on a selection selection
206 2003-06-16 André Pönitz <poenitz@gmx.net>
212 * tabular.[Ch]: IU of clone() and getLabelList();
214 2003-06-13 André Pönitz <poenitz@gmx.net>
216 * tabular.h: compactification
218 2003-06-12 André Pönitz <poenitz@gmx.net>
222 * tabular_funcs.h: some renaming plus whitespace
224 2003-06-12 André Pönitz <poenitz@gmx.net>
227 * BufferView_pimpl.C:
233 * toc.C: Return a Paragraph & for ParIterator::operator*()
235 2003-06-11 John Levon <levon@movementarian.org>
239 * ToolbarBackend.C: add "Toolbars" section and
242 2003-06-10 Angus Leeming <leeming@lyx.org>
245 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
247 * lyxfunc.C (dispatch): invoke it.
249 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
251 * main.C: protect <ios> with HAVE_IOS
252 (main): protect sync_with_stdio with HAVE_IOS
254 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
256 * text2.C (cutSelection): adjust
257 (pasteSelection): adjust
259 * messages.C: handle get of empty string
261 * main.C (main): use sync_with_stdio(false)
263 * lyxfunc.C (dispatch): adjust
265 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
266 (WriteAs): remove unneeded BufferView arg.
268 * bufferparams.h: use correct types on papersize, papersize2 and
271 * bufferparams.C (readToken): adjust for type
272 (writeLaTeX): add missing cases to switch.
274 * bufferlist.C (quitWriteBuffer): adjust
277 * buffer.C (asciiParagraph): remove some commented code.
279 * CutAndPaste.C: remove current_view extern variable.
280 (cutSelection): add BufferParams arg.
281 (eraseSelection): add BufferParams arg.
282 (pasteSelection): add Buffer const & arg
284 2003-06-07 John Levon <levon@movementarian.org>
292 * paragraph.C: allow InsetERT to freely space lines,
293 and some consolidation of code
295 2003-06-06 José Matos <jamatos@fep.up.pt>
297 * buffer.C (makeDocBookFile): fix bug #821
299 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
301 * BufferView_pimpl.C (dispatch): use Dialogs::visible
303 2003-06-04 Angus Leeming <leeming@lyx.org>
305 * buffer.C: bump format to 224.
307 2003-06-05 André Pönitz <poenitz@gmx.net>
309 * text2.C (redoParagraphs): remove two const_cast<>
311 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
313 * ParagraphList.h: remove last remnants of NO_STD_LIST
315 2003-06-03 Angus Leeming <leeming@lyx.org>
317 * factory.C (createInset): small change to the way InsetExternal's params
320 2003-06-04 André Pönitz <poenitz@gmx.net>
322 * buffer.h: use Undo directly instead of shared_ptr<Undo>
325 * paragraph.[Ch]: some Inset -> UpdatableInset changes
327 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
329 * undo_funcs.C: make some simple cases of undo work again
331 2003-06-03 John Levon <levon@movementarian.org>
333 * ispell.C: HPUX doesn't have sys/select.h
336 2003-06-03 John Levon <levon@movementarian.org>
338 * CutAndPaste.C: update tabular and include inset
343 * paragraph.C: remove owningBuffer(), don't pass Buffer
346 * factory.C: insetGraphicsParams changed
348 2003-06-02 John Levon <levon@movementarian.org>
354 * text3.C: remove insetparent
356 2003-06-02 John Levon <levon@movementarian.org>
359 * buffer.C: fix inset_iterator.end(), move out of line
362 2003-06-01 John Levon <levon@movementarian.org>
364 * text3.C: use a proper cut/paste when doing inset
365 insert (from Jürgen Spitzmüller)
367 2003-06-01 John Levon <levon@movementarian.org>
369 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
371 2003-05-30 André Pönitz <poenitz@gmx.net>
373 * rowpainter.C: unify second drawing phase
375 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
377 * trans_mgr.C: remove one case of current_view
379 * text2.C (cursorBottom): delete NO_STD_LIST stuff
381 * paragraph_funcs.h: remove paragraph.h include
383 * paragraph.h: delete NO_STD_LIST stuff
385 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
387 * buffer.h: remove paragraph.h include
389 * ParagraphList.C: delete file
391 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
393 * toc.C (getTocList): adjust
395 * paragraph_pimpl.C (validate): adjust
397 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
399 * paragraph.C (Paragraph): adjust
400 (getPositionOfInset): use const_iterator, adjust
401 (bibitem): use const_iterator, adjust
402 (setInsetOwner): adjust
404 * iterators.C (operator++): adjust
406 * InsetList.[Ch]: Replace selfmade iterator with standard
407 vector::iterator also introduce const_iterator. Remove getPos,
408 getInset and setInset from InsetTable. Adjust accordingly.
410 * BufferView.C (lockInset): adjust
411 (ChangeInsets): adjust
413 * tabular.[Ch]: delete commented same_id functions
415 2003-05-28 John Levon <levon@movementarian.org>
417 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
419 2003-05-28 André Pönitz <poenitz@gmx.net>
421 * metricsinfo.[Ch]: remove 'fullredraw' member
423 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
425 * lyxtextclass.C (operator): remove caching.
427 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
431 * text2.C (cursorBottom): adjust
432 (setCounter): use ParagraphList::find, adjust
434 * text.C (workWidth): use ParagraphList::find, adjust
436 * lyxcursor.C (LyXCursor): adjust
438 * buffer.C (inset_iterator): adjust
440 * ParagraphList.h: make iterator(value_type) private, make
441 ParagraphList a friend of iterator.
443 * ParagraphList.C (find): new function
445 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
447 2003-05-27 André Pönitz <poenitz@gmx.net>
449 * dimension.[Ch]: a -> asc, d -> des, w -> wid
451 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
453 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
455 2003-05-26 John Levon <levon@movementarian.org>
457 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
459 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
461 * remove same_id from function signatures, adjust.
463 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
465 * undo_funcs.C (createUndo): use the id functions directly, adjust.
467 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
469 * paragraph.C (Paragraph): get rid of same_ids parameter
471 * ParagraphList.C (insert): adjust
474 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
476 * paragraph_funcs.C (breakParagraph): adjust
477 (breakParagraphConservative): adjust
479 * buffer.C (readParagraph): adjust
481 * ParagraphList.C (insert): take a reference instead of a pointer
484 * paragraph.[Ch] (id): new function
486 * bufferlist.C (newFile): adjust
488 * ParagraphList.C (ParagraphList): adjust
490 (push_back): take a reference instead of a pointer.
492 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
494 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
497 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
498 set else use old code.
500 * ParagraphList.C: remove all NO_NEXT code and only compile this
501 code of NO_STD_LIST is set.
503 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
505 * BufferView_pimpl.C:
515 * graphics/GraphicsConverter.C:
516 * graphics/PreviewLoader.C: header adjustment
518 2003-05-23 Angus Leeming <leeming@lyx.org>
520 * LaTeXFeatures.[Ch] (useBabel): new method.
521 * bufferparams.C (writeLaTeX): use it.
523 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
525 * ParagraphList.h (set): remove unused function.
527 2003-05-23 André Pönitz <poenitz@gmx.net>
530 * BufferView_pimpl.C:
534 * undo_funcs.C: setUndo reworked
536 * iterators.[Ch]: add access to topmost ParagraphList
538 * lyxtext.[Ch] (workWidth): add a const
540 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
542 * texrow.[Ch] (increasePos): remove function
543 * exporter.C (export): removed unused var and outdated comment
545 2003-05-23 Angus Leeming <leeming@lyx.org>
547 * latexrunparams.h: rename fragile as moving_arg.
548 * paragraph.C (simpleTeXOnePar): ditto.
549 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
551 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
553 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
555 (textUndoOrRedo): comment out a currently unused var.
557 * paragraph.h (NO_NEXT): enable NO_NEXT
559 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
561 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
563 * exporter.C (Export): adjust for removeAutoInsets removal.
565 * buffer.C (runChktex): adjust for removeAutoInsets removal.
567 * LyXAction.C (init): remove LFUN_REMOVEERRORS
569 * BufferView.[Ch] (removeAutoInsets): delete function
571 2003-05-22 Angus Leeming <leeming@lyx.org>
573 * latexrunparams.h: add a free_spacing variable.
575 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
576 to pass moving_arg, as the data is stored in runparams.fragile.
578 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
579 to Inset::latexOptional or to simpleTeXOnePar.
581 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
582 free_spacing arg to Inset::latexOptional.
584 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
587 2003-05-22 Angus Leeming <leeming@lyx.org>
589 * latexrunparams.h: add fragile and use_babel variables.
591 * bufferparams.[Ch] (writeLaTeX): return use_babel.
592 * buffer.C (makeLaTeXFile): store this returned value in
593 runparams.use_babel, thus passing it to the inset::latex methods.
595 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
596 simpleTeXSpecialChars as it is now stored in runparams.fragile.
598 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
599 longer has a fragile arg, as it is stored in runparams.fragile.
601 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
602 moving_arg parameter as the data is stored in runparams.fragile.
604 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
605 a fragile parameter as the data is stored in runparams.fragile.
607 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
609 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
611 2003-05-22 Angus Leeming <leeming@lyx.org>
613 * latexrunparams.h: add a 'bool nice' which defaults to false.
615 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
616 now encapsulated within runparams.
618 * bufferlist.C (updateIncludedTeXfiles):
619 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
621 2003-05-22 Angus Leeming <leeming@lyx.org>
623 * latexrunparams.h: new file containing struct LatexRunParams.
624 * Makefile.am: add new file.
626 * LaTeX.[Ch] (c-tor, run):
627 * buffer.[Ch] (makeLaTeXFile):
628 * bufferlist.[Ch] (updateIncludedTeXfiles):
629 * converter.C (convert, scanLog):
630 * converter.[Ch] (runLaTeX):
631 * exporter.C (Export):
632 * paragraph.[Ch] (simpleTeXOnePar):
633 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
634 * paragraph_funcs.[Ch] (latexParagraphs):
635 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
636 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
637 pass around a LatexRunParams parameter.
639 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
641 * paragraph.[Ch]: remove unused constructor
643 * ParagraphList.C (erase): new function, taking two iterators
645 2003-05-22 André Pönitz <poenitz@gmx.net>
647 * undo_funcs.C: remove duplicated code
649 * iterator.[Ch]: operator=
651 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
653 * tabular.C (SetMultiColumn): ws changes
655 * rowpainter.C (paintFirst): get rid of a ->previous
657 * lyx_cb.C (getPossibleLabel): parlist simplification
659 * BufferView.C (ChangeInsets): simplify slightly.
661 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
663 * LyXAction.C: new lfun space-insert, kill protected-space-insert
664 * lfuns.h: new LFUN_SPACE
665 * lyxfunc.C: protected space has a new lfun
666 * paragraph_funcs.C: read new space insets
668 * factory.C: handle new space insets
670 2003-05-22 André Pönitz <poenitz@gmx.net>
673 * BufferView_pimpl.C:
676 * undo_funcs.C: return a ParIterator from getParFromID.
678 * iterators.[Ch]: add two const's
680 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
682 * toc.C (getTocList): adjust
684 * iterators.[Ch]: rework for parlist
686 * buffer.C (par_iterator_begin): adjust
687 (par_iterator_end): adjust
689 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
691 * BufferView.C (removeAutoInsets): adjust
692 (ChangeInsets): adjust
694 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
696 * text.C (top_y): fix bug 1110
698 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
700 * errorlist.[Ch]: added
703 * BufferView_pimpl.C:
704 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
707 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
709 * Makefile.am: ensure that lyx is relinked upon changes to the
710 various "convenience" libs.
712 2003-05-20 Angus Leeming <leeming@lyx.org>
714 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
715 files are compiled in alphabetical order again.
717 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
719 2003-05-19 Angus Leeming <leeming@lyx.org>
721 * gettext.[Ch]: remove "char const * _(char const *)".
723 2003-05-19 André Pönitz <poenitz@gmx.net>
725 * dimension.[Ch]: promote from mathed/dimension.[Ch]
734 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
736 2003-05-19 André Pönitz <poenitz@gmx.net>
742 * paragraph_funcs.[Ch]:
744 * text3.C: more insetenv work
746 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
748 * ParagraphParameters.C (params2string): small bug fixed
750 2003-05-16 André Pönitz <poenitz@gmx.net>
753 * bufferview_funcs.C: patch from Kornel Benko to prevent
754 crash when _(...) is called twice in a statement
756 2003-05-16 André Pönitz <poenitz@gmx.net>
763 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
765 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
767 * lyx_main.C (init): remove spurious static_cast
769 2003-05-14 André Pönitz <poenitz@gmx.net>
771 * BufferView.C: fix format string
773 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
775 * BufferView.[Ch] (insertErrors): removed
776 * BufferView.[Ch] (showErrorList): added
777 * buffer.C (runChkTeX):
778 * converter.C (scanLog): call showErrorList instead of inserterrors
780 2003-05-13 André Pönitz <poenitz@gmx.net>
782 * BufferView_pimpl.C:
791 * tabular_funcs.h: tostr() from its own header
793 * ParagraphParameters.C:
800 2003-05-12 André Pönitz <poenitz@gmx.net>
803 * BufferView_pimpl.C:
807 * ParagraphParameters.C:
811 * bufferview_funcs.C:
828 * text3.C: boost::format -> bformat all over the place
831 2003-05-09 André Pönitz <poenitz@gmx.net>
833 * LColor.[Ch]: Pimpl the #include <map> away
835 2003-05-09 John Levon <levon@movementarian.org>
837 * bufferlist.C: never remove emergency saves
839 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
841 * Makefile.am: better lib building
843 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
845 * texrow.[Ch]: remove dependency on Paragraph and just store a id
847 * paragraph_pimpl.C (simpleTeXBlanks): adjust
848 (simpleTeXSpecialChars): adjust
849 (simpleTeXSpecialChars): adjust
850 * paragraph.C (simpleTeXOnePar): adjust
851 * buffer.C (makeLaTeXFile): adjust
853 * Makefile.am (BOOST_LIBS): allow boost as system lib.
855 * text2.C (changeDepth): parlist cleanup
856 (getColumnNearX): ditto
858 * rowpainter.C (getLabelFont): parlist cleanup
860 * bufferlist.C (newFile): parlist cleanup
862 * CutAndPaste.C (eraseSelection): parlist cleanup
864 * BufferView_pimpl.C (trackChanges): parlist cleanup
867 * BufferView.C (lockInset): parlist cleanup.
868 (ChangeInsets): ditto
870 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
872 * CutAndPaste.h: Update file header.
874 * CutAndPaste.C: Update file header.
875 Store the parts cut out of the Document in a limited_stack.
876 (copySelection): adjust
877 (pasteSelection): new function, takes the index in the limited stack.
878 (nrOfParagraphs): adjust
879 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
880 simplify error inset insertion.
881 (checkPastePossible): adjust
883 2003-05-06 John Levon <levon@movementarian.org>
885 * text2.C: don't cast wrap inset to float
887 2003-05-05 André Pönitz <poenitz@gmx.net>
890 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
892 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
893 few naked Paragraph *.
895 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
897 * bufferparams.C: Output warning if a document with missing
898 TeX document class is loaded
899 * exporter.C: Disable TeX exports if the document class is missing
902 * lyxtextclasslist.C: Handle new textclass.lst format; new method
903 isTeXClassAvailable()
905 2003-05-03 John Levon <levon@movementarian.org>
908 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
909 explicit cursor show/hide
911 * BufferView_pimpl.h:
912 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
913 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
915 * lyxfunc.C: hide cursor before dispatching.
920 * text3.C: remove explicit cursor hides
922 2003-05-02 André Pönitz <poenitz@gmx.net>
924 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
927 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
930 * text2.C: tiny whitespace
932 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
934 * undo_funcs.C: almost only ws changes.
936 * ParagraphList.C (splice): just return if pl is empty.
938 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
940 * ParagraphList.C (splice): new function.
942 * CutAndPaste.C (pasteSelection): use it
944 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
946 * CutAndPaste.C (pasteSelection): remove the last next and
947 previous from this file.
949 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
951 * CutAndPaste.C (pasteSelection): more clean up, user proper
952 ParagraphList functions for pasteing.
954 * ParagraphList.C (insert): new function, three arg insert
956 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
958 * ParagraphList.C (insert): new function, three arg insert
960 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
963 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
965 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
967 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
969 * CutAndPaste.C (pasteSelection): remove some unneeded code.
971 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
973 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
974 (copySelection): clean up a bit.
975 (pasteSelection): use make_pair
977 * ParagraphList.C (ParagraphList): implement copy constructor
978 (operator=): implement, base on copy constructor.
981 * paragraph.C (erase): return a bool
983 * paragraph_pimpl.C (erasePos): remove function, move contents...
984 (erase): ... here. Return a bool.
985 (erase): call erase instead of erasePos.
987 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
989 * ParagraphList.h: define PitPosPair
990 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
991 ParagraphList, fix a bug on pasting multiple pars
992 * text2.C: change interface to C&P
994 2003-04-30 André Pönitz <poenitz@gmx.net>
996 * undo_func.C: revert part of yesterday's patch 2
998 2003-04-30 John Levon <levon@movementarian.org>
1000 * LColor.C: s/tabular/table/
1002 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1004 * text3.C (dispatch): do not convert iterator -> pointer
1005 * undo_funcs.C (setCursorParUndo): ditto
1006 * text_funcs.C (transposeChars): ditto
1008 * text2.C (setLayout): ws changes only
1010 * text.C (breakParagraph): do not convert iterator -> pointer
1012 (acceptChange): ditto
1013 (rejectChange): ditto
1018 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1021 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1023 * text3.C (gotoInset): YABG (yet another bad getChar)
1025 2003-04-29 André Pönitz <poenitz@gmx.net>
1027 * paragraph.h: make operator= private unimplemented as long as
1030 * ParagraphList.C: whitespace
1033 * paragraph_pimpl.[Ch]:
1034 * paragraph_funcs.C:
1036 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1039 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1041 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1043 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1044 * paragraph.[Ch] (erase):
1045 * paragraph_pimpl.[Ch] (erase): change return type and value
1046 * text2.C (cutSelection): some rework
1048 2003-04-28 John Levon <levon@movementarian.org>
1050 * bufferlist.C: changes for unsaved changes dialog
1052 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1054 * bufferlist.C (newFile): set language (messages_) for new
1057 * buffer.C (readFile): ws changes only.
1059 2003-04-28 André Pönitz <poenitz@gmx.net>
1064 * BufferView_pimpl.C:
1065 * BufferView.C: getParFromID related ParagraphList::iterator changes
1067 2003-04-28 André Pönitz <poenitz@gmx.net>
1069 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1072 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1074 * messages.C: remove one more localedir class variable.
1076 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1078 * messages.C (getLocaleDir): singleton generation function
1080 (Messages): add a default constructor.
1082 * main.C (main): do not setup localedir here, do not call
1085 * gettext.C (_): use it.
1086 (gettext_init): delete funciton
1088 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1090 * gettext.C (getLyXMessages): new singleton generating function.
1092 * buffer.C (updateDocLang): adjust
1094 * Makefile.am (messages.o): add target
1095 (main.o): remove target
1097 2003-04-27 John Levon <levon@movementarian.org>
1102 * lyxvc.C: specify cancel button in Alert::prompt
1104 2003-04-26 John Levon <levon@movementarian.org>
1109 * LyXAction.C: add LFUN_INSET_SETTINGS
1111 * lyxfunc.C: don't enable tabular-feature when there's
1112 just any locking inset
1114 2003-04-26 John Levon <levon@movementarian.org>
1116 * bufferlist.C: re-add Cancel to buffer close question
1118 * lyxfunc.C: fix import UI a bit
1120 2003-04-25 John Levon <levon@movementarian.org>
1122 * gettext.C: remove the broken asserts for now
1124 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1126 * messages.C: make case where setlocale cannot comply work better.
1128 * buffer.C (updateDocLang): new function
1129 (changeLanguage): use it
1132 * text2.C (setCounter): use B_ a bit.
1134 * lyxlayout.C (Read): be sure to trim the label strings.
1136 * messages.C (Messages): fix typo in comment
1138 * buffer.C (readFile): set message_ after file is loaded.
1139 (makeDocBookFile): remove double return
1140 (changeLanguage): reset message_ upon language change.
1141 (B_): new func, use this to get translated buffer strings.
1143 * main.C: add myself and Jean Marc as authors.
1145 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1147 * messages.[hC]: pimplify Messages, and three different pimpls to be
1148 used in different circumstances.
1150 * gettext.[Ch]: change for use with new message code.
1152 2003-04-24 André Pönitz <poenitz@gmx.net>
1154 * factory.C: support for eqref
1156 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1158 * messages.[Ch]: add missing char
1160 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1162 * messages.[Ch]: New files
1164 2003-04-18 John Levon <levon@movementarian.org>
1168 * BufferView_pimpl.C:
1172 * text2.C: remove layout-copy/paste (bug 778)
1174 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1176 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1178 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1180 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1181 if they succeed. Act accordingly.
1183 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1185 * text2.C (setCharFont): adjust
1186 (setCounter): adjust
1187 (insertStringAsLines): adjust
1189 * text.C (leftMargin): adjust
1190 (setHeightOfRow): adjust
1192 * rowpainter.C (paintFirst): adjust
1195 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1197 (isFirstInSequence): ditto
1198 (getEndLabel): ditto
1201 * paragraph.C (getParLanguage): comment out some hard stuff.
1203 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1205 (simpleDocBookOnePar): ditto
1206 (makeDocBookFile): use ParagraphList::iterator
1208 * CutAndPaste.C (pasteSelection): adjust
1210 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1212 * text2.C (getFont): adjust
1213 (getLayoutFont): adjust
1214 (getLabelFont): adjust
1216 * paragraph_funcs.C (TeXOnePar): adjust
1218 * buffer.C (simpleLinuxDocOnePar): adjust
1219 (simpleDocBookOnePar): adjust
1221 * CutAndPaste.C (pasteSelection): adjust
1223 * BufferView.C (getEncoding): adjust
1225 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1227 2003-04-16 John Levon <levon@movementarian.org>
1229 * lyxfind.C: use parlist stuff for search/changes
1231 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1233 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1235 * text2.C (deleteEmptyParagraphMechanism): adjust
1237 * text2.[Ch] (ownerParagraph): delete func (both of them
1239 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1241 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1243 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1245 * ParagraphList.C: prepare for NO_NEXT
1247 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1249 * text2.C (getFont): adjust
1250 (getLayoutFont): adjust
1251 (getLabelFont): adjust
1253 * paragraph.C (getFont): adjust
1254 (getLabelFont): adjust
1255 (getLayoutFont): adjust
1257 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1259 2003-04-15 John Levon <levon@movementarian.org>
1263 * lyx_main.C: handle Include in .ui files
1265 2003-04-15 John Levon <levon@movementarian.org>
1267 * MenuBackend.C: make the doc files length shorter
1270 * ToolbarBackend.C: handle toolbar placement flags,
1273 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1275 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1278 * paragraph_funcs.C (TeXOnePar): adjust
1280 * paragraph.C (getLabelFont): add outerfont arg, adjust
1281 (getLayoutFont): ditto
1282 (simpleTeXOnePar): adjust
1284 * paragraph_pimpl.C (realizeFont): delete func
1286 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1288 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1289 row argument, constify cur argument.
1291 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1293 * text2.C (getFont): adjust
1294 (getLayoutFont): adjust
1295 (getLabelFont): adjust
1297 * paragraph_funcs.C (TeXOnePar): adjust
1298 (outerFont): new func...
1299 (realizeFont): ...moved out from here, changed this to facilitate
1302 * paragraph.C (getFont): take outerfont as arg, adjust
1303 (simpleTeXOnePar): add outerfont arg, adjust
1305 * buffer.C (simpleLinuxDocOnePar): adjust
1306 (simpleDocBookOnePar): adjust
1308 * CutAndPaste.C (pasteSelection): adjust
1310 * BufferView.C (getEncoding): adjust
1312 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1314 * text2.C (setCharFont): adjust
1315 (setCounter): adjust
1317 * text.C (leftMargin): adjust
1318 (setHeightOfRow): adjust
1320 * rowpainter.C (paintFirst): adjust
1323 * paragraph_pimpl.C (realizeFont): adjust
1325 * paragraph.C (isFirstInSequence): move from here...
1326 * paragraph_funcs.C (isFirstInSequence): ...to here
1328 * paragraph.C (outerHook): move from here...
1329 * paragraph_funcs.C (outerHook): ...to here
1331 * paragraph.C (depthHook): move from here...
1332 * paragraph_funcs.C (depthHook): ...to here
1334 * paragraph.C (getEndLabel): move from here...
1335 * paragraph_funcs.C (getEndLabel): ...to here
1337 * text2.C (realizeFont): move from here...
1338 * paragraph_funcs.C (realizeFont): ...to here
1340 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1342 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1344 2003-04-14 Angus Leeming <leeming@lyx.org>
1346 * LColor.[Ch]: scrap LColor mathcursor.
1348 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1350 * lyxlex.[Ch] (text): delete function
1351 * trans.C (Load): adjust
1352 * paragraph_funcs.C (readParToken): adjust
1354 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1356 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1357 vector<char> instead of a char[].
1359 * lyxlex_pimpl.C (getString): adjust
1361 (lex): use getString
1365 * lyxlex.C (text): use pimpl_->getString()
1369 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1371 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1372 (makeFontEntriesLayoutSpecific): temp var for par.size()
1373 (setLayout): temp var for ownerParagraphs().end()
1374 (fullRebreak): temp var for rows().end()
1375 (selectionAsString): temp var for boost::next(startpit), realize
1376 that the while really is a regular for loop.
1377 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1378 setCursor in one place.
1379 (setParagraph): temp vr for ownerParagraphs().end()
1380 (updateCounters): make the while loop a for loop
1381 (cutSelection): temp var for ownerParagraphs().end()
1382 (updateInset): make the do {} while() a regular for loop
1383 (getCursorX): use temp vars
1384 (setCurrentFont): use temp vars
1385 (getColumnNearX): use temp vars
1387 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1389 * text.C (transformChar): use temp var for getChar
1390 (computeBidiTables): use temp var for row->par()
1391 (fill): move temp vars for row->par() and pit->layout() earlier in
1393 (labelFill): use temp var for row->par()
1394 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1395 asc and desc, realize that pit never changes and that firstpit is
1396 just a duplicate and not needed. Exchange rit->par() with pit in a
1398 (breakAgain): use a temp var for boost::next(rit)
1399 (breakAgainOneRow): ditto
1400 (breakParagraph): use a temp var for rows().begin()
1401 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1402 (cursorRightOneWord): use temp var for cursor.par() and
1403 cursor.pos(), remove usage of tmpcursor.
1404 (cursorLeftOneWord): use temp var for cursor.par() and
1405 cursor.pos() only set cur at end of function.
1407 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1409 * text.C, text2.C: exchange all usage of Paragraph::next with
1410 boost::next(ParagraphList::iterator)
1412 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1414 * text2.C (cursorTop): simplify implementation
1415 (cursorBottom): ditto
1416 (setParagraph): use ParagraphList::iterator
1417 (setCurrentFont): adjust
1418 (getColumnNearX): adjust
1419 (cursorRight): adjust
1420 (cursorLeft): remove usage of Paragraph::previous
1421 (cursorUpParagraph): ditto
1422 (deleteEmptyParagraphMechanism): slight cleanup
1424 * text.C (isBoundary): take a Paragraph const & instead of a
1426 (addressBreakPoint): ditto
1427 (leftMargin): remove usage of Paragraph::previous.
1428 (setHeightOfRow): ditto
1429 (cursorLeftOneWord): ditto
1430 (selectNextWordToSpellcheck): ditto
1433 (breakParagraph): remove one usage of Paragraph::next
1434 (redoParagraph): ditto
1435 (acceptChange): ditto
1436 (insertChar): adjust
1437 (rowBreakPoint): adjust
1439 * bufferview_funcs.C (toggleAndShow): adjust
1441 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1443 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1444 methods to access it.
1446 * text.C: Added updateRowPositions to compute all row positions.
1447 Make top_y and getRowNearY() to use the cached y position
1449 2003-04-11 John Levon <levon@movementarian.org>
1451 * text.C (rowBreakPoint): reintroduce the labelEnd
1452 checks, code copied from the row fill stuff. Deep voodoo.
1454 * text.C (fill): add a comment and debugging for the
1457 2003-04-11 John Levon <levon@movementarian.org>
1459 * text.C: make sure fullrow insets get wrapped to the next line,
1460 even when they're in a manual label
1462 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1464 * text2.C (insertParagraph): make it take ParagraphList::iterator
1466 (setLayout): make it return ParagraphList::iterator
1467 (redoParagraphs): ditto
1469 (checkParagraph): ditto
1471 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1473 * text2.C: adjust several funcs.
1474 (realizeFont): take a ParagraphList::iterator as arg.
1475 (getLayoutFont): ditto
1476 (getLabelFont): ditto
1477 (setCharFont): ditto
1479 * text.C: adjust several funcs.
1481 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1483 * text.C (selectNextWordToSpellcheck): don't accidentally
1486 2003-04-10 John Levon <levon@movementarian.org>
1488 * ToolbarBackend.C (getIcon): special handling for
1491 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1493 * text2.C (cursorRight): a getChar assert fixed
1495 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1497 * text2.C (getFont): change to take a ParagraphList::iterator
1498 instead of Paragraph*
1499 Adjust several functions.
1501 * text.C (transformChar): change to take a ParagraphList::iterator
1502 instead of Paragraph*
1503 (singleWidth): ditto
1504 Adjust several functions.
1506 * rowpainter.C: adjust several functions
1507 * rowpainter.h:store a ParagraphList::iterator and not a
1511 2003-04-09 John Levon <levon@movementarian.org>
1516 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1517 and the "help" bits as well
1519 2003-04-09 John Levon <levon@movementarian.org>
1522 * ToolbarBackend.C: allow multiple toolbars
1524 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1526 * undo_funcs.C (setCursorParUndo): adjust
1528 * text_funcs.C (transposeChars): adjust
1530 * text3.C (gotoNextInset): adjust
1533 * text2.C (setLayout): adjust
1534 (changeDepth): adjust
1536 (redoParagraphs): adjust
1537 (selectionAsString): adjust
1538 (setParagraph): adjust
1539 (insertInset): adjust
1540 (cutSelection): adjust
1541 (copySelection): adjust
1542 (pasteSelection): adjust
1543 (insertStringAsLines): adjust
1544 (updateInset): adjust
1545 (setCursor): change to take a ParagraphList::iterator parameter
1546 (setCursorIntern): change to take a ParagraphList::iterator parameter
1547 (setCurrentFont): adjust
1548 (cursorLeft): adjust
1549 (cursorRight): adjust
1550 (deleteEmptyParagraphMechanism): adjust
1552 * text.C (breakParagraph): adjust
1553 (insertChar): adjust
1554 (acceptChange): adjust
1555 (rejectChange): adjust
1556 (selectNextWordToSpellcheck): adjust
1557 (changeCase): adjust
1561 * lyxfind.C (SearchForward): adjust
1562 (SearchBackward): adjust
1563 (nextChange): adjust
1565 * lyxcursor.C (par): adjust
1567 * lyxcursor.h: store a ParagraphList::iterator instead of a
1570 * lyx_cb.C (getPossibleLabel): adjust
1572 * bufferview_funcs.C (toggleAndShow): adjust
1574 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1577 * BufferView.C (removeAutoInsets): adjust
1578 (lockedInsetStoreUndo): adjust
1580 2003-04-09 John Levon <levon@movementarian.org>
1582 * ToolbarBackend.C: try icon without argument
1583 if with argument fails
1585 2003-04-08 John Levon <levon@movementarian.org>
1588 * ToolbarBackend.C: add getIcon(), handle tooltip,
1589 and change from "Icon" to "Item".
1591 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1593 * BufferView.C (lockInset): another bad getchar crunched
1595 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1597 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1600 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1602 * lyxfind.C (searchForward, searchBackwards): bug 782
1604 2003-04-07 John Levon <levon@movementarian.org>
1606 * paragraph.C: remove dead comment
1608 * text.C: remove troublesome depth-fiddling code
1609 in leftMargin() and rightMargin() (bug 1017)
1611 * text.C: fix breaking of rows in nested lists
1614 * text2.C (updateCounters): fix up depth values
1617 2003-04-07 John Levon <levon@movementarian.org>
1619 * BufferView_pimpl.C: clear message when doc finishes resizing,
1620 and after a mouse event
1622 * lyxfunc.C: clear message after exiting inset
1624 2003-04-07 John Levon <levon@movementarian.org>
1626 * bufferview_funcs.C: show math status not outside
1627 status in the statusbar
1629 2003-04-07 John Levon <levon@movementarian.org>
1631 * lyxfunc.C: note status changed after a depth change
1633 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1635 * LaTeX.h: move AuxInfo operator==, != out of line.
1636 Remove LaTeX virtual destructor; nothing derives from it.
1637 Move operator()() out of public area and rename it startscript().
1638 Change protected for private.
1640 2003-04-04 Angus Leeming <leeming@lyx.org>
1643 * text2.C: remove unneeded #includes.
1645 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1647 * text2.C (dEPM): fix the heigth of the next row
1649 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1651 * text.C: squashed an invalid getChar requester + some ws changes
1653 2003-04-03 John Levon <levon@movementarian.org>
1655 * bufferview_funcs.h:
1656 * bufferview_funcs.C:
1659 * text2.C: make getStatus work for the env depth lfuns
1661 2003-04-03 John Levon <levon@movementarian.org>
1663 * bufferview_funcs.h:
1664 * bufferview_funcs.C:
1667 * text2.C: parlistize decDepth(), by merging it with incDepth()
1669 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1671 * lyxrow.h: store a ParagraphList::iterator instead of a
1672 Paragraph* and adjust other class functions to suit.
1674 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1677 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1679 * text2.C (setCursor): do not anchor to cursor row for the time being
1681 2003-04-02 John Levon <levon@movementarian.org>
1688 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1690 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1692 * paragraph.h: make ParagraphList and ParagraphList::iterator
1693 friends of Paragraph.
1695 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1697 * ParagraphList.C: Use the private next_ and previous_ from
1700 2003-04-01 John Levon <levon@movementarian.org>
1704 * Makefile.am: rename, remove defaults gunk
1707 * MenuBackend.C: remove defaults gunk
1710 * Languages.C: remove defaults gunk
1713 * lyx_main.C: error out if files couldn't be found.
1715 2003-04-02 John Levon <levon@movementarian.org>
1717 * text2.C: make incDepth() use parlist
1719 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1721 * undo_funcs.C (firstUndoParagraph): adjust
1723 * text3.C (gotoInset): adjust
1724 (dispatch): adjust, and rewrite loop.
1726 * text2.C (init): adjust, and rewrite loop.
1727 (redoParagraphs): adjust
1728 (updateInset): adjust, and rewrite loop.
1729 (deleteEmptyParagraphMechanism): adjust
1731 * tabular.C (LyXTabular): adjust
1732 (SetMultiColumn): adjust
1735 * lyxtext.[Ch] (ownerParagraph): delete function
1736 (ownerParagraphs): new function returns a ParagraphList.
1738 * BufferView.C (removeAutoInsets): adjust
1739 (insertErrors): adjust
1740 (setCursorFromRow): adjust
1742 2003-04-01 Angus Leeming <leeming@lyx.org>
1744 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1747 2003-04-02 John Levon <levon@movementarian.org>
1753 * text_funcs.C: make transposeChars a free function
1755 * lyxrow_funcs.C: remove wrong comment
1757 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1760 * rowpainter.C: adjust
1765 * lyxrow_funcs. [Ch]: new files
1767 * lyxrow.[Ch]: remove next and previous pointers
1768 (next,previous): remove accessor functions
1769 (isParEnd): move to lyxrow_funcs
1770 (lastPos): move to lyxrow_funcs
1771 (nextRowIsAllInset): move to lyxrow_funcs
1772 (lastPrintablePos): move to lyxrow_funcs
1773 (numberOfSeparators): move to lyxrow_funcs
1774 (numberOfHfills): move to lyxrow_funcs
1775 (numberOfLabelHfills): move to lyxrow_funcs
1776 (hfillExpansion): move to lyxrow_funcs
1780 * bufferview_funcs.C (toggleAndShow): adjust
1782 * RowList.h: Remove class RowList from file leave just a
1785 * RowList.C: delete file
1787 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1790 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1792 * text3.C (cursorPrevious): adjust
1793 (cursorNext): adjust
1796 * text2.C (redoHeightOfParagraph): adjust
1797 (redoDrawingOfParagraph): adjust
1800 * text.C (breakParagraph): adjust
1801 (insertChar): adjust
1804 * rowpainter.C (RowPainter): adjust
1805 (leftMargin): simplify and adjust
1806 (most rowpainter functions): adjust.
1808 * rowpainter.h: store the row as RowList::iterator not as Row*
1810 * lyxcursor.C (row): taka RowList::iterator as arg
1813 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1816 2003-04-01 Angus Leeming <leeming@lyx.org>
1818 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1819 stuff like bool Bool.
1821 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1823 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1826 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1828 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1831 * lyxtext.h (rows): drop one version and leve a const variant that
1832 returns a RowList::iterator.
1834 2003-03-31 Angus Leeming <leeming@lyx.org>
1836 * text.C (fill): ensure that the signature is the same as that in the
1839 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1841 * text2.C (redoParagraphs): adjust
1842 (updateCounters): adjust
1843 (checkParagraph): adjust
1844 (getColumnNearX): adjust and reformat a bit.
1846 * text.C (top_y): adjust
1848 (leftMargin): adjust
1849 (prepareToPrint): adjust
1851 (getRowNearY): adjust
1853 * lyxtext.h: make rowlist_ mutable.
1855 * RowList.h: add const_iterator
1856 * RowList.C: adjust for RowList::const_iterator.
1858 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1861 2003-03-31 John Levon <levon@movementarian.org>
1864 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1866 * lyx_main.C: set default fonts from using lyx_gui funcs
1868 * exporter.C: pdf_mode moved from lyxrc
1871 * lyxfunc.C: changes from above
1873 2003-03-31 John Levon <levon@movementarian.org>
1875 * lyx_main.C: fix to the last fix
1877 2003-03-31 John Levon <levon@movementarian.org>
1879 * bufferlist.C: "Load original" -> "Load Original"
1885 * format.C: more Alert cleanups
1887 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1889 * text2.C (removeParagraph): make it take a RowList::iterator as
1891 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1892 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1894 * text.C (anchor_row): make it take a RowList::iterator as arg,
1896 (computeBidiTables): make it take a const reference to Row instead
1897 of Row pointer, adjust.
1898 (leftMargin): make it take a RowList::iterator as arg, adjust.
1899 (rowBreakPoint): adjust
1900 (breakAgainOneRow): make it take a RowList::iterator as arg,
1902 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1904 * bufferview_funcs.C (toggleAndShow): adjust
1906 2003-03-30 John Levon <levon@movementarian.org>
1910 * boost-inst.C: moved to support
1912 * several files: changes as a result
1914 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1916 * text2.C (LyXText): adjust.
1918 (removeRow): make it take a RowList::iterator as arg, adjust.
1919 (fullRebreak): adjust
1920 (deleteEmptyParagraphMechanism): adjust
1921 (clearPaint): adjust
1924 * text.C (top_y): adjust
1925 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1926 (breakAgain): make it take a RowList::iterator as arg, adjust.
1927 (breakParagraph): adjust
1928 (insertChar): adjust
1931 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1932 need_break_row, and refresh_row.
1934 * text3.C (dispatch): adjust
1936 * text2.C (checkParagraph): adjust
1938 (setCursorFromCoordinates): adjust
1940 * text.C (top_y): adjust
1942 (getRow): make it return a RowList::iterator, adjust
1943 (getRowNearY): make it return a RowList::iterator, adjust
1945 * text2.C (init): adjust
1946 (insertRow): remove function
1947 (insertParagraph): adjust
1948 (redoParagraphs): adjust
1949 (fullRebreak): adjust
1950 (updateCounters): adjust
1952 * text.C (top_y): rewrite to use RowList iterators.
1954 (setHeightOfRow): rewrite to sue RowList iterators.
1955 (appendParagraph): adjust
1956 (breakAgain): adjust
1957 (breakAgainOneRow): adjust
1958 (breakParagraph): adjust
1960 (getRowNearY): adjust, and remove commented code.
1962 * lyxtext.h (firstRow): delete function
1963 (lastRow): delete function
1964 (rows): new function (const and non-const versions.)
1965 (insertRow): delete function
1967 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1969 2003-03-29 John Levon <levon@movementarian.org>
1971 * BufferView_pimpl.C: always update scrollbar top
1972 because pasting text when we're anchored could mean we
1973 miss an update altogether
1975 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1977 * text2.C (init): use rowlist_.end() and not 0.
1978 (insertRow): change to take a RowList::iterator as arg, adjust
1980 (insertParagraph): change to take a RowList::iterator as arg,
1982 (redoParagraphs): remove some debug msgs.
1984 * text.C (appendParagraph): change to take a RowList::iterator
1985 arg, adjust for this.
1986 (breakAgain): add an assert
1987 (breakAgainOneRow): ditto
1989 2003-03-29 John Levon <levon@movementarian.org>
1991 * text2.C: do not clear selection after inc/decDepth
1994 2003-03-29 John Levon <levon@movementarian.org>
1997 * buffer.C: fix broken strerrors according to Lars
1999 2003-03-29 John Levon <levon@movementarian.org>
2001 * converters.C: more Alert cleanups
2003 2003-03-29 John Levon <levon@movementarian.org>
2005 * bufferview_funcs.C: remove pointless Alert
2007 * buffer.C: fix confusing error message when
2008 a template is chmoded 000
2010 2003-03-29 John Levon <levon@movementarian.org>
2014 * BufferView_pimpl.C: Alert fixes
2018 * tabular-old.C: remove unused table compat reading
2020 2003-03-29 John Levon <levon@movementarian.org>
2025 * lyx_cb.C: more Alert cleanups
2027 * lyxfunc.C: don't allow chktex if not latex document
2029 2003-03-29 John Levon <levon@movementarian.org>
2033 * buffer.C: warnings pushed down from support/,
2036 2003-03-29 John Levon <levon@movementarian.org>
2038 * lyxfunc.C: safety check for C-r (revert)
2040 2003-03-29 John Levon <levon@movementarian.org>
2043 * bufferlist.C: several UI fixes using Alert::prompt.
2044 Fix the pointless looping quit code. Fix stupid revert
2049 * lyx_cb.C: use Alert::prompt
2051 * lyx_main.C: remove a silly question
2053 * lyxfunc.C: remove a couple of silly questions,
2056 2003-03-28 John Levon <levon@movementarian.org>
2058 * text2.C: fix bug 974 (End on empty par)
2060 2003-03-28 John Levon <levon@movementarian.org>
2062 * BufferView_pimpl.C:
2064 * lfuns.h: remove do-nothing math greek lfuns
2066 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2068 * lyxgluelength.h (isValidGlueLength): add default arg on
2069 parameter 2. Remove default arg from friend in class.
2071 * lyxlength.h (isValidLength): add default arg on parameter 2.
2072 Remove default arg from friend in class.
2074 * text2.C (LyXText): adjust, initialize refresh_row.
2078 (insertParagraph): adjst
2079 (redoParagraphs): adjust
2080 (fullRebreak): adjust
2081 (updateCounters): adjust
2082 (deleteEmptyParagraphMechanism): first attempt at fixing a
2085 * text.C (top_y): adjust
2086 (setHeightOfRow): adjust
2088 (getRowNearY): adjust
2090 * lyxtext.h: include RowList.h
2091 (~LyXText): not needed anymore, deleted.
2092 (firstRow): modify for RowList
2093 (lastRow): new function
2094 Delete firstrow and lastrow class variables, add a Rowlist
2095 rowlist_ class variable.
2097 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2100 * RowList.C (insert): fix case where it == begin().
2102 2003-03-26 Angus Leeming <leeming@lyx.org>
2104 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2105 the thesaurus dialog.
2107 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2109 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2111 * RowList.[Ch]: new files
2113 * ParagraphList.C (erase): handle the case where it == begin
2116 2003-03-25 John Levon <levon@movementarian.org>
2120 * aspell.C: add new aspell support
2123 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2126 2003-03-25 Angus Leeming <leeming@lyx.org>
2129 * LyXAction.C (init): new LFUN_INSET_INSERT.
2131 * BufferView_pimpl.C (dispatch): split out part of the
2132 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2134 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2137 2003-03-25 Angus Leeming <leeming@lyx.org>
2139 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2141 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2144 * text3.C: remove useless row->height(0)
2146 2003-03-25 John Levon <levon@movementarian.org>
2150 * text3.C: rename the refreshing stuff to better names
2152 2003-03-24 John Levon <levon@movementarian.org>
2154 * BufferView_pimpl.h:
2155 * BufferView_pimpl.C: update layout choice on a mouse
2158 2003-03-23 John Levon <levon@movementarian.org>
2160 * Makefile.am: fix commandtags.h reference
2162 2003-03-22 John Levon <levon@movementarian.org>
2164 * BufferView_pimpl.C:
2169 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2171 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2174 * text.C: take the rtl methods out of line
2176 2003-03-21 André Pönitz <poenitz@gmx.net>
2178 * metricsinfo.[Ch]: new files containing structures to be passed around
2179 during the two-phase-drawing...
2181 2003-03-21 André Pönitz <poenitz@gmx.net>
2183 * lyxtextclass.C: read 'environment' tag.
2185 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2187 * text2.C (removeRow): fix bug 964
2189 2003-03-20 John Levon <levon@movementarian.org>
2193 * text2.C: paint cleanups. Inset::update() dropped font
2196 2003-03-19 John Levon <levon@movementarian.org>
2198 * lyxfunc.C: only fitcursor/markDirty if available()
2200 2003-03-19 John Levon <levon@movementarian.org>
2202 * commandtags.h: rename to ...
2204 * lfuns.h: ... this, and renumber / cleanup
2206 2003-03-19 John Levon <levon@movementarian.org>
2208 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2209 fit the cursor after an lfun
2213 * BufferView_pimpl.h:
2214 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2216 * LyXAction.C: layout-character should have ReadOnly
2218 * ParagraphParameters.C:
2220 * bufferview_funcs.C:
2227 * undo_funcs.C: changes from above
2229 2003-03-18 John Levon <levon@movementarian.org>
2231 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2232 remove it from update()
2234 * lyxfunc.C: update layout choice after an lfun
2236 * text3.C: remove extra updateLayoutChoice()s
2238 2003-03-18 John Levon <levon@movementarian.org>
2240 * text.C: top_y change means full repaint, fix
2241 a drawing bug with cursor movement
2243 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2247 * text2.C: anchor row on setCursor
2249 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2251 * lyxtext.h: remove almost all mutable keywords
2254 * text3.C: remove const keywords accordingly
2256 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2258 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2260 (TeXEnvironment): ditto
2263 2003-03-17 John Levon <levon@movementarian.org>
2265 * text.C (rowBreakPoint): remove attempt to fix displayed
2266 math insets inside a manual label
2268 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2270 * lyxtext.h: remove BufferView* as first arg from almost all class
2272 * other files: adjust.
2274 2003-03-17 John Levon <levon@movementarian.org>
2278 * text2.C: more paint cleanups
2280 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2283 * rowpainter.C: remove "smart" background painting code
2285 2003-03-16 John Levon <levon@movementarian.org>
2290 * text3.C: add helper functions for setting refresh_row/y
2292 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2294 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2295 newline inset which *can* get inserted in the pass_thru layouts.
2296 This is primarily for literate documents.
2298 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2300 * buffer.C: increment LYX_FORMAT to 223
2302 2003-03-14 André Pönitz <poenitz@gmx.net>
2304 * textclass.h: prepare for environment handling, ws changes
2305 * lyxlayout.C: read latexheader and latexfooter tags
2307 2003-03-14 John Levon <levon@movementarian.org>
2309 * text2.C: rewrite ::status() a bit
2311 2003-03-13 John Levon <levon@movementarian.org>
2313 * lyxtext.h: add some docs
2315 2003-03-13 John Levon <levon@movementarian.org>
2320 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2322 2003-03-13 John Levon <levon@movementarian.org>
2324 * text3.C: fix appendix redrawing
2326 2003-03-13 John Levon <levon@movementarian.org>
2328 * text.C (setHeightOfRow):
2330 * rowpainter.C: make appendix mark have the text
2331 "Appendix" so the user knows what it is
2334 * LColor.C: s/appendixline/appendix/ from above
2336 2003-03-13 John Levon <levon@movementarian.org>
2338 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2340 * text.C: fix a getChar(pos) bug properly
2342 2003-03-13 Angus Leeming <leeming@lyx.org>
2345 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2346 Probably only temporary. Let's see how things pan out.
2348 * BufferView.C (unlockInset):
2349 * BufferView_pimpl.C (fitCursor):
2350 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2352 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2353 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2355 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2356 new functions that convert ParagraphParameters to and from a string.
2358 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2359 BufferView::Pimpl's dispatch.
2360 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2362 2003-03-13 André Pönitz <poenitz@gmx.net>
2366 * factory.C: make it aware of InsetEnv
2368 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2370 * text2.C (setCursor): never ask for one past last
2371 (setCursor): add some debugging messages.
2373 * text.C (singleWidth): never ask for one past last
2374 (singleWidth): ditto
2376 (rightMargin): ditto
2377 (rowBreakPoint): ditto
2378 (setHeightOfRow): ditto
2379 (prepareToPrint): ditto
2381 * rowpainter.C (paintBackground): never ask for one past last
2382 (paintText): never ask for one past last
2384 * paragraph_pimpl.C (getChar): make the assert stricter, never
2385 allow the one past last pos to be taken
2387 * paragraph.C (getChar): ws changes only
2389 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2390 (numberOfSeparators): ditto
2391 (numberOfHfills): ditto
2393 2003-03-12 John Levon <levon@movementarian.org>
2399 * paragraph_funcs.C: fix per-buffer authorlists
2401 2003-03-12 John Levon <levon@movementarian.org>
2403 * text.C: fix newline in right address
2405 2003-03-12 Angus Leeming <leeming@lyx.org>
2407 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2408 duplicate those in LyXFunc::dispatch.
2412 * ToolbarDefaults.C:
2413 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2414 Add LFUN_FONTFREE_UPDATE.
2416 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2417 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2419 * bufferview_func.[Ch]: several new functions to facilliate
2420 transfer of data to and from the character dialog.
2422 2003-03-12 John Levon <levon@movementarian.org>
2427 * paragraph_funcs.C:
2428 * paragraph_pimpl.C:
2432 * text3.C: remove META_NEWLINE in favour of an inset
2435 * rowpainter.C: remove paintNewline (done by inset)
2437 2003-03-12 John Levon <levon@movementarian.org>
2439 * paragraph_pimpl.C: complain about bad getChar()s
2440 for a while at least
2442 2003-03-12 John Levon <levon@movementarian.org>
2445 * buffer.C: move paragraph read into a separate function,
2446 a little renaming to reflect that.
2449 * bufferparams.C: remove the author_ids map, not necessary now
2452 * factory.C: moved Buffer::readInset to here
2454 * paragraph_funcs.h:
2455 * paragraph_funcs.C: readParagraph free function moved from
2458 * tabular.C: name change
2460 2003-03-12 John Levon <levon@movementarian.org>
2463 * ParagraphParameters.C: move par params input to
2466 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2467 behave like a normal read from the stream wrt reading
2468 a line vs. a \\token
2470 2003-03-12 John Levon <levon@movementarian.org>
2473 * ParagraphParameters.h:
2474 * ParagraphParameters.C: move output code to a
2477 2003-03-12 John Levon <levon@movementarian.org>
2479 * BufferView.C (insertLyXFile):
2482 * tabular.C: use a parlist iterator for creating the
2485 2003-03-12 John Levon <levon@movementarian.org>
2487 * buffer.C: make current_change static local not
2490 2003-03-12 John Levon <levon@movementarian.org>
2492 * buffer.C: fix insertStringAsLines for change tracking
2494 2003-03-12 John Levon <levon@movementarian.org>
2501 * bufferparams.C: move author list into params. Rename some
2502 functions. Move the header reading into a separate token
2503 loop. Move the header token reading into BufferParams.
2505 2003-03-12 John Levon <levon@movementarian.org>
2507 * changes.C: put debug inside lyxerr.debugging() checks
2509 2003-03-11 André Pönitz <poenitz@gmx.net>
2511 * factory.C: make it aware of InsetHFill
2513 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2515 * buffer.C (latexParagraphs): move function from here...
2516 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2519 2003-03-10 Angus Leeming <leeming@lyx.org>
2521 * LyXAction.C (init): fix bug in poplating array with multiple entries
2522 with the same LFUN (spotted by JMarc).
2524 2003-03-10 John Levon <levon@movementarian.org>
2527 * text2.C: move getColumnNearX() near its
2530 2003-03-10 John Levon <levon@movementarian.org>
2532 * text.C: fix break before a minipage
2534 2003-03-10 John Levon <levon@movementarian.org>
2536 * text.C: fix the last commit
2538 2003-03-09 John Levon <levon@movementarian.org>
2542 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2543 bug 365 (don't break before insets unless needed). Don't
2544 return a value > last under any circumstances.
2546 2003-03-09 Angus Leeming <leeming@lyx.org>
2548 * BufferView_pimpl.C (trackChanges, dispatch): call
2549 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2551 2003-03-09 Angus Leeming <leeming@lyx.org>
2553 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2554 than Dialogs::showAboutlyx().
2556 2003-03-09 Angus Leeming <leeming@lyx.org>
2558 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2559 than Dialogs::showTabularCreate().
2561 2003-03-09 John Levon <levon@movementarian.org>
2565 * text2.C: 3rd arg to nextBreakPoint was always the same.
2568 2003-03-08 John Levon <levon@movementarian.org>
2575 * text2.C: Remove the "main" bit from the "main body"
2578 2003-03-08 John Levon <levon@movementarian.org>
2580 * text.C (leftMargin): The left margin of an empty
2581 manual label paragraph should not include the label width
2584 * text.C (prepareToPrint): don't attempt to measure hfills
2585 for empty manual label paragraphs - the answer should be 0
2587 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2589 * CutAndPaste.C: remove commented code and reindent.
2591 2003-03-08 John Levon <levon@movementarian.org>
2594 * lyxfunc.C: move reloadBuffer()
2597 * BufferView.C: to here
2599 * lyxvc.C: add comment
2602 * vc-backend.C: call bv->reload() to avoid
2603 getStatus() check on MENURELOAD
2605 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2607 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2608 to an old format .dep file.
2610 2003-03-07 Angus Leeming <leeming@lyx.org>
2612 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2613 when the LFUN_MOUSE_RELEASE should have been handled by
2614 inset->localDispatch.
2616 2003-03-07 Angus Leeming <leeming@lyx.org>
2618 * BufferView_pimpl.C (dispatch):
2619 * LyXAction.C (init):
2620 * ToolbarDefaults.C (init):
2622 * lyxfunc.C (getStatus):
2623 remove LFUN_INSET_GRAPHICS.
2625 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2627 2003-03-07 Angus Leeming <leeming@lyx.org>
2630 * LyXAction.C (init):
2631 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2633 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2636 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2638 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2639 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2641 2003-03-07 Angus Leeming <leeming@lyx.org>
2643 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2646 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2648 * ParagraphList.C (front): new function
2651 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2653 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2654 and top_row_offset_. removed var first_y.
2656 * text2.C (LyXText, removeRow):
2658 * BufferView_pimpl.C:
2659 use these methods instead of using first_y
2661 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2663 * text2.C (pasteSelection): adjust for checkPastePossible
2665 * CutAndPaste.C: remove Paragraph * buf and replace with
2666 ParagraphList paragraphs.
2667 (DeleteBuffer): delete
2668 (cutSelection): change the tc type to textclass_type
2669 (copySelection): change the tc type to textclass_type
2670 (copySelection): adjust for ParagraphList
2671 (pasteSelection): change the tc type to textclass_type
2672 (pasteSelection): adjust for Paragraphlist
2673 (nrOfParagraphs): simplify for ParagraphList
2674 (checkPastePossible): simplify for ParagraphList
2675 (checkPastePossible): remove unused arg
2677 * ParagraphList.C (insert): handle the case where there are no
2680 * CutAndPaste.h: make CutAndPaste a namespace.
2682 * text3.C (dispatch): adjust
2684 * text.C (breakParagraph): add a ParagraphList as arg
2686 * paragraph_funcs.C (breakParagraph): change to take a
2687 BufferParams and a ParagraphList as args.
2688 (breakParagraphConservative): ditto
2689 (mergeParagraph): ditto
2690 (TeXDeeper): add a ParagraphList arg
2691 (TeXEnvironment): ditto
2694 * buffer.C (readLyXformat2): adjust
2695 (insertStringAsLines): adjust
2696 (latexParagraphs): adjust
2698 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2699 (cutSelection): adjust
2700 (pasteSelection): adjust
2702 * BufferView_pimpl.C (insertInset): adjust
2704 2003-03-05 Angus Leeming <leeming@lyx.org>
2707 * LyXAction.C (init):
2708 * BufferView_pimpl.C (dispatch):
2709 * lyxfunc.C (getStatus):
2710 remove LFUN_CHILD_INSERT.
2712 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2714 2003-03-05 Angus Leeming <leeming@lyx.org>
2717 * LyXAction.C (init):
2718 * src/factory.C (createInset):
2719 * lyxfunc.C (getStatus):
2720 * text3.C (dispatch):
2721 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2723 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2725 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2727 * ParagraphList.C (insert): handle insert right before end()
2728 (erase): fix cases where it can be first or last paragraph.
2730 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2732 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2733 Paragraph::next and Paragraph::previous
2736 * text.C (breakParagraph): adjust
2738 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2739 BufferParams& as arg.
2740 (breakParagraph): use ParagraphList::insert
2741 (breakParagraphConservative): take a Buffer* instead of a
2742 BufferParams& as arg.
2743 (breakParagraphConservative): use ParagraphList::insert.
2745 * buffer.C (insertStringAsLines): un-const it
2746 (insertStringAsLines): adjust
2748 * ParagraphList.C (insert): new function
2750 * CutAndPaste.C (pasteSelection): adjust
2752 * text.C (backspace): adjust
2754 * tabular.C (SetMultiColumn): adjust
2756 * CutAndPaste.C (cutSelection): adjust
2757 (pasteSelection): adjust
2759 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2760 Buffer const * as arg
2762 * ParagraphList.C (erase): new function
2763 * paragraph_funcs.C (mergeParagraph): use it
2764 (mergeParagraph): make it take a Buffer* instead of a
2765 BufferParams* as arg
2767 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2769 (breakParagraphConservative): ditto
2771 * paragraph.h: remove the breakParagraph friend
2773 * paragraph.C (eraseIntern): new function
2774 (setChange): new function
2776 * paragraph_funcs.C (mergeParagraph): make it take a
2777 ParagraphList::iterator instead of a Paragraph *, adjust
2780 * paragraph.h: move an #endif so that the change tracking stuff
2781 also works in the NO_NEXT case.
2783 2003-03-04 Angus Leeming <leeming@lyx.org>
2786 * LyXAction.C: new LFUN_INSET_MODIFY.
2788 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2789 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2791 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2793 * several files: ws changes only
2795 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2796 (TeXEnvironment): ditto
2799 * buffer.C (makeLaTeXFile): adjust
2800 (latexParagraphs): make it take ParagraphList::iterator as args
2802 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2804 * buffer.C (latexParagraphs): adjust
2806 * paragraph.C (TeXOnePar): move function...
2807 (optArgInset): move function...
2808 (TeXEnvironment): move function...
2809 * paragraph_pimpl.C (TeXDeeper): move function...
2810 * paragraph_funcs.C: ...here
2812 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2814 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2816 * buffer.C (readInset): remove compability code for old Figure and
2819 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2821 * buffer.C: ws changes
2824 * BufferView_pimpl.C: ditto
2827 * bufferlist.h: ditto
2831 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2833 * converter.[Ch]: split into itself +
2836 * Makefile.am: += graph.[Ch] + format.[Ch]
2843 * lyxrc.C: added #include "format.h"
2845 2003-02-27 Angus Leeming <leeming@lyx.org>
2847 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2850 * factory.C (createInset): add "label" to the factory.
2852 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2853 string and do no more.
2855 2003-02-27 Angus Leeming <leeming@lyx.org>
2858 * LyXAction.C (init):
2859 * factory.C (createInset):
2860 * BufferView_pimpl.C (dispatch):
2861 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2863 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2865 * lyxfunc.C (dispatch):
2866 * text3.C (dispatch): pass name to params2string.
2868 2003-02-26 Angus Leeming <leeming@lyx.org>
2870 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2872 Rearrange the ~includes. Strip out the unnecessary ones.
2874 * factory.C (createInset): reformat.
2875 create new insets for the various LFUN_XYZ_APPLY lfuns.
2877 2003-02-26 John Levon <levon@movementarian.org>
2880 * lyxrow.C: add isParStart,isParEnd helpers
2882 * paragraph.h: make isInserted/DeletedText take refs
2884 * paragraph_funcs.h:
2885 * paragraph_funcs.C: remove #if 0'd code
2890 * text.C: use lyxrow helpers above.
2891 Move draw and paint routines to RowPainter.
2892 Make several methods use refs not pointers.
2893 Make backgroundColor() const.
2894 Add markChangeInDraw(), isInInset().
2895 Merge changeRegionCase into changeCase.
2896 Make workWidth() shouldn't-happen code into an Assert.
2899 * rowpainter.C: new class for painting a row.
2902 * vspace.C: make inPixels take a ref
2904 2003-02-26 Angus Leeming <leeming@lyx.org>
2906 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2909 2003-02-25 John Levon <levon@movementarian.org>
2911 * ispell.C: give the forked command a more accurate name
2913 2003-02-22 John Levon <levon@movementarian.org>
2916 * toc.C: make TocItem store an id not a Paragraph *
2919 2003-02-21 Angus Leeming <leeming@lyx.org>
2921 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2922 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2923 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2924 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2925 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2926 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2928 * BufferView_pimpl.C (dispatch):
2929 * LyXAction.C (init):
2930 * factory.C (createInset):
2931 * lyxfunc.C (getStatus, dispatch):
2932 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2934 2003-02-21 Angus Leeming <leeming@lyx.org>
2936 * BufferView_pimpl.C (MenuInsertLyXFile):
2937 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2938 * lyxfunc.C (menuNew, open, doImport):
2939 no longer pass a LyXView & to fileDlg.
2941 2003-02-21 Angus Leeming <leeming@lyx.org>
2943 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2944 * LyXAction.C: change, BIBKEY to BIBITEM.
2945 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2946 Change InsetBibKey to InsetBibitem.
2947 Change BIBKEY_CODE to BIBITEM_CODE.
2948 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2949 * factory.C: replace insetbib.h with insetbibitem.h.
2950 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2951 * paragraph.C: replace insetbib.h with insetbibitem.h.
2952 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2953 Change bibkey() to bibitem().
2954 * text.C: remove insetbib.h.
2955 * text2.C: replace insetbib.h with insetbibitem.h.
2956 change bibkey() to bibitem().
2957 * text3.C: remove insetbib.h.
2958 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2960 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2962 * lyxrc.C (output): enclose user email in quotes (in case there are
2965 2003-02-18 John Levon <levon@movementarian.org>
2967 * buffer.h: add std::
2969 2003-02-17 John Levon <levon@movementarian.org>
2975 * pspell.C: reworking. Especially in ispell, a large
2976 number of clean ups and bug fixes.
2978 * lyxfunc.C: fix revert to behave sensibly
2980 2003-02-17 André Pönitz <poenitz@gmx.net>
2983 * commandtags.h: new LFUN_INSERT_BIBKEY
2993 * paragraph_func.C: remove special bibkey handling
2995 2003-02-17 John Levon <levon@movementarian.org>
2997 * text.C (Delete): fix case where delete at the end of
2998 the very first paragraph would not merge the pars
3000 2003-02-17 John Levon <levon@movementarian.org>
3002 * lyxrow.C: fix lastPrintablePos()
3004 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3006 * bufferparams.C (writeLaTeX): add a std:here
3008 * buffer.C: and remove a using directive there
3010 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3012 * buffer.C (makeLaTeXFile): move the code that generates the
3015 * bufferparams.C (writeLaTeX): ... in this new method
3017 * LaTeXFeatures.C (getEncodingSet): make const
3018 (getLanguages): make const
3020 * MenuBackend.C (binding): returns the binding associated to this
3022 (add): sets the status of each item by calling getStatus. Adds
3024 (read): add support for OptSubMenu
3025 (expand): remove extra separator at the end of expanded menu
3027 2003-02-15 John Levon <levon@movementarian.org>
3030 * BufferView_pimpl.C:
3032 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3033 inset code that had no actual effect. Remove unneeded status
3036 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3038 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3041 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3043 * text.C (drawLengthMarker): also draw an arrow marker for
3044 symbolic lengths (medskip...)
3046 2003-02-14 John Levon <levon@movementarian.org>
3049 * tabular.C: better method names
3051 2003-02-14 John Levon <levon@movementarian.org>
3053 * BufferView_pimpl.C:
3058 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3059 it's a more accurate name. Remove some pointless uses.
3061 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3063 * text2.C (LyXText): change order of initilizers to shut off
3066 2003-02-14 John Levon <levon@movementarian.org>
3068 * buffer.C: use ParIterator for getParFromID()
3072 * paragraph_pimpl.h:
3073 * paragraph_pimpl.C: remove unused getParFromID()
3075 2003-02-14 John Levon <levon@movementarian.org>
3077 * buffer.C: remove some very old #if 0'd parse code
3079 2003-02-13 John Levon <levon@movementarian.org>
3083 * text2.C: move hfillExpansion(), numberOfSeparators(),
3084 rowLast(), rowLastPrintable(), numberofHfills(),
3085 numberOfLabelHfills() ...
3088 * lyxrow.C: ... to member functions here.
3093 * text.C: remove LyXText::beginningOfMainBody(), and call
3094 p->beginningOfMainBody() directly. Move the check for
3095 LABEL_MANUAL into the latter.
3102 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3108 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3109 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3111 2003-02-13 John Levon <levon@movementarian.org>
3113 * CutAndPaste.C: remove debug
3115 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3117 * paragraph.C (asString): remove two unused variables
3119 * lyxtextclass.C (readTitleType):
3121 (LyXTextClass): handle new members titletype_ and titlename_
3123 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3125 2003-02-09 John Levon <levon@movementarian.org>
3128 * buffer.C: replace hand-coded list with a map for the dep clean
3130 2003-02-08 John Levon <levon@movementarian.org>
3132 * LaTeX.C: consolidate code into showRunMessage() helper
3134 2003-02-08 John Levon <levon@movementarian.org>
3139 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3140 and pass the size in explicitly
3142 * BufferView_pimpl.h:
3143 * BufferView_pimpl.C:
3145 * BufferView.C: add getCurrentChange()
3147 * BufferView_pimpl.h:
3148 * BufferView_pimpl.C: handle change lfuns
3150 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3151 for changes. Mark pasted paragraphs as new.
3153 * support/lyxtime.h:
3154 * support/lyxtime.C:
3155 * DepTable.C: abstract time_t as lyx::time_type
3158 * LColor.C: add colours for new text, deleted text, changebars
3160 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3161 package use "usenames" option.
3165 * LyXAction.C: add change lfuns
3169 * author.C: author handling
3172 * buffer.C: add a per-buffer author list, with first entry as
3173 current author. Handle new .lyx tokens for change tracking. Output
3174 author list to .lyx file. Output dvipost stuff to .tex preamble.
3175 Bump lyx format to 222.
3178 * bufferlist.C: add setCurrentAuthor() to reset current author details
3182 * bufferparams.C: add param for tracking
3184 * bufferview_funcs.C: output change info in minibuffer
3188 * changes.C: add change-tracking structure
3191 * debug.C: add CHANGES debug flag
3194 * lyxfind.C: add code for finding the next change piece
3197 * lyxrc.C: add user_name and user_email
3200 * lyxrow.C: add a metric for the top of the text line
3203 * text.C: implement accept/rejectChange()
3206 * text.C: paint changebars. Paint new/deleted text in the chosen
3207 colours. Strike through deleted text.
3211 * paragraph_pimpl.h:
3212 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3213 in the current change to the insert functions. Rework erase to
3214 mark text as deleted, adding an eraseIntern() and a range-based
3215 erase(). Implement per-paragraph change lookup and
3218 * paragraph_funcs.C: Fixup paste for change tracking.
3220 * tabular.C: mark added row/columns as new.
3222 * text.C: fix rowLast() to never return -1. Don't allow
3223 spellchecking of deleted text. Track transpose changes. Don't
3224 allow paragraph break or merge where appropriate.
3226 * text2.C: leave cursor at end of selection after a cut.
3228 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3230 * text.C (getLengthMarkerHeight):
3231 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3232 visible on screen too.
3234 2003-02-07 John Levon <levon@movementarian.org>
3236 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3238 2003-02-05 Angus Leeming <leeming@lyx.org>
3240 * lyxserver.C (read_ready): revert my patch of 11 September last year
3241 as it sends PC cpu through the roof. Presumably this means that
3242 the lyxserver will no longer run on an Alpha...
3244 2003-01-30 Angus Leeming <leeming@lyx.org>
3246 * factory.C (createInset): create an InsetCommandParam of type "index"
3247 and use it to 'do the right thing'.
3249 * text2.C (getStringToIndex): ensure that cursor position is always
3250 reset to the reset_cursor position.
3252 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3254 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3257 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3261 * lyxfunc.C: Output messages with identical spelling, punctuation,
3264 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3266 * MenuBackend.C (expandFormats): List only viewable export formats
3269 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3272 * lyxfunc.C (getStatus): Make sure that formats other than
3273 "fax" can also be disabled
3275 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3277 * text3.C (dispatch): put the lfuns that insert insets in 3
3278 groups, and call doInsertInset with appropriate arguments.
3279 (doInsertInset): new function, that creates an inset and inserts
3280 it according to some boolean parameters.
3282 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3284 * buffer.C (readFile): remember to pass on 'par' when calling
3285 readFile recursively.
3287 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3289 * MenuBackend.C (expandFormats): add "..." to import formats.
3291 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3293 * paragraph.C (asString): Remove XForms RTL hacks.
3295 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3296 * buffer.C: fix typo
3298 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3300 * Makefile.am (LIBS): delete var
3301 (lyx_LDADD): add @LIBS@ here instead.
3303 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3305 * Clarify the meaning of "wheel mouse jump"
3307 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3309 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3312 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3314 * importer.C (Loaders): do not preallocate 3 elements in the
3315 vector, since one ends up with 6 elements otherwise
3317 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3319 * DepTable.C (write): write the file name as last element of the
3320 .dep file (because it may contain spaces)
3321 (read): read info in the right order
3323 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3325 * paragraph_pimpl.C (simpleTeXBlanks):
3326 (simpleTeXSpecialChars):
3327 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3329 * tabular.C (latex): add some missing case statements. Reindent.
3331 * MenuBackend.C (expandToc): remove unused variable.
3333 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3342 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3345 2003-01-05 John Levon <levon@movementarian.org>
3348 * BufferView.C: add getEncoding()
3351 * kbsequence.C: do not store last keypress
3354 * lyxfunc.C: store last keypress here instead. Pass encoding
3357 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3359 * lyx_main.C (init): remove annoying error message when following
3360 symbolic links (bug #780)
3362 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3364 * text.C (insertChar):
3365 * lyxrc.C (getDescription): remove extra spaces
3367 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3369 * lyxrc.C (getDescription): remove extra spaces
3371 2002-12-20 John Levon <levon@movementarian.org>
3373 * text3.C: hack fix for page up/down across tall rows
3375 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3377 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3380 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3382 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3383 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3384 thesaurus is not compiled in
3386 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3388 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3390 2002-12-16 Angus Leeming <leeming@lyx.org>
3393 * lyx_main.C (init): remove override_x_deadkeys stuff.
3395 2002-12-12 John Levon <levon@movementarian.org>
3397 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3398 insert. Only remove shift modifier under strict
3401 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3403 * MenuBackend.C (expandToc): fix crash.
3405 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3407 * MenuBackend.C (expandToc): gettext on float names.
3409 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3411 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3412 implement bool empty() [bug 490]
3414 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3416 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3418 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3420 * several files: ws changes
3422 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3424 * text2.C (setCounter): clean up a bit, use boost.format.
3425 (updateCounters): initialize par upon declaration.
3427 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3428 if the layout exists. We do not just store the layout any more.
3429 (SwitchLayoutsBetweenClasses): use boost.format
3431 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3433 * converter.C (convert): if from and to files are the same, use a
3434 temporary files as intermediary
3436 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3439 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3441 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3443 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3445 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3447 * tabular.C (asciiPrintCell): use string(size, char) instead of
3450 * sgml.C (openTag): fix order of arguments to string constructor
3453 * lyxfunc.C (dispatch): use boost.format
3455 * lots of files: change "c" -> 'c'
3457 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3459 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3461 2002-11-25 Angus Leeming <leeming@lyx.org>
3463 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3465 * lyx_main.C (init): compile fix.
3467 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3469 * lyx_cb.C (start): boost.formatify
3470 do not include <iostream>
3472 * lengthcommon.C: ws only
3474 * boost-inst.C,BoostFormat.h: add more explict instantations
3476 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3478 * lots of files: handle USE_BOOST_FORMAT
3480 2002-11-21 John Levon <levon@movementarian.org>
3482 * pspell.C: fix compile
3484 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3486 * lyxfunc.C (dispatch): use boost::format
3490 * lyxfont.C (stateText): use boost::format
3492 * lyx_main.C (LyX): use boost::format
3494 (queryUserLyXDir): ditto
3497 (typedef boost::function): use the recommened syntax.
3499 * importer.C (Import): use boost::format
3501 * debug.C (showLevel): use boost::format
3503 * converter.C (view): use boost::format
3508 * bufferview_funcs.C (currentState): use boost::format
3510 * bufferlist.C (emergencyWrite): use boost::format
3512 * buffer.C (readLyXformat2): use boost::format
3513 (parseSingleLyXformat2Token): ditto
3515 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3517 * LaTeX.C (run): use boost::format
3519 * Chktex.C (scanLogFile): use boost::format
3521 * BufferView_pimpl.C (savePosition): use boost::format
3522 (restorePosition): ditto
3523 (MenuInsertLyXFile): ditto
3525 * BoostFormat.h: help file for explicit instation.
3527 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3529 * tabular.C (latex): Support for block alignment in fixed width
3532 2002-11-17 John Levon <levon@movementarian.org>
3534 * BufferView_pimpl.C:
3536 * lyxfunc.C: split filedialog into open/save
3538 2002-11-08 Juergen Vigna <jug@sad.it>
3540 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3541 by my last patch (hopefully).
3543 2002-11-08 John Levon <levon@movementarian.org>
3552 * toc.C: ParConstIterator, and use it (from Lars)
3554 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3556 * lyxtextclass.[Ch]: revise and add doxygen comments
3558 2002-11-07 John Levon <levon@movementarian.org>
3560 * text.C: fix progress value for spellchecker
3562 * toc.C: fix navigate menu for insetwrap inside minipage
3564 * paragraph_funcs.C: added FIXME for suspect code
3566 2002-11-07 John Levon <levon@movementarian.org>
3568 * BufferView_pimpl.C: fix redrawing of insets
3571 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3573 * text2.C (updateCounters): fix bug 668
3575 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3577 * text3.C (dispatch): Do not make the buffer dirty when moving the
3580 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3582 * vc-backend.C: STRCONV
3585 * text2.C (setCounter): STRCONV
3587 * paragraph.C (asString): STRCONV
3589 * lyxlength.C (asString): STRCONV
3590 (asLatexString): ditto
3592 * lyxgluelength.C (asString): STRCONV
3593 (asLatexString): ditto
3595 * lyxfunc.C (dispatch): STRCONV
3598 * lyxfont.C (stateText): STRCONV
3600 * importer.C (Import): STRCONV
3602 * counters.C (labelItem): STRCONV
3603 (numberLabel): ditto
3604 (numberLabel): remove unused ostringstream o
3609 * bufferview_funcs.C (currentState): STRCONV
3611 * buffer.C (readFile): STRCONV
3612 (asciiParagraph): ditto
3613 (makeLaTeXFile): ditto
3615 * Spacing.C (writeEnvirBegin): STRCONV
3617 * LaTeXFeatures.C (getLanguages): STRCONV
3618 (getPackages): ditto
3620 (getBabelOptions): ditto
3621 (getTClassPreamble): ditto
3622 (getLyXSGMLEntities): ditto
3623 (getIncludedFiles): ditto
3627 (scanAuxFile): ditto
3630 * LString.h: add the STRCONV macros
3632 * BufferView_pimpl.C (savePosition): STRCONV
3633 (restorePosition): ditto
3634 (MenuInsertLyXFile): ditto
3636 * vc-backend.C (scanMaster): change from submatch[...] to
3639 * funcrequest.C: include config.h
3641 * factory.C: include config.h
3643 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3645 * box.C: include config.h
3647 * LaTeX.C (scanAuxFile): change from submatch[...] to
3651 2002-10-25 Angus Leeming <leeming@lyx.org>
3653 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3655 * ispell.[Ch] (setError): new method.
3656 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3657 Use setError() insetead of goto END.
3659 * lyx_cb.C (AutoSave): move out child process into new class
3662 2002-10-30 John Levon <levon@movementarian.org>
3664 * text3.C: make start appendix undoable
3666 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3668 * lyxlength.C (inPixels): Fix returned value.
3670 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3673 2002-10-24 Angus Leeming <leeming@lyx.org>
3675 * lyxgluelength.h: no need to forward declare BufferParams
3676 or BufferView, so don't.
3678 2002-10-21 John Levon <levon@movementarian.org>
3680 * BufferView.C: menuUndo ->undo, redo
3682 * BufferView.h: document, remove dead, make some methods private
3684 * paragraph_funcs.h:
3685 * paragraph_funcs.C:
3686 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3691 * sgml.C: move sgml open/close tag into sgml.C
3693 * bufferview_funcs.h: unused prototype
3696 * lyxfunc.C: remove unused
3699 * text.C: remove unused
3701 2002-10-21 John Levon <levon@movementarian.org>
3705 * BufferView_pimpl.h:
3706 * BufferView_pimpl.C: fix mouse wheel handling based on
3707 patch from Darren Freeman
3709 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3711 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3713 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3715 * lyxlength.C (inPixels): Fix hanfling of negative length.
3716 Fix LyXLength::MU case.
3718 2002-10-16 John Levon <levon@movementarian.org>
3720 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3722 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3724 * converter.C (view): add support for $$i (file name) and $$p
3725 (file path) for the viewer command. If $$i is not specified, then
3726 it is appended to the command (for compatibility with old syntax)
3728 2002-10-14 Juergen Vigna <jug@sad.it>
3730 * undo_funcs.C (textHandleUndo): alter the order in which the
3731 new undopar is added to the LyXText, as we have to set first
3732 the right prev/next and then add it as otherwise the rebuild of
3733 LyXText is not correct. Also reset the cursor to the right paragraph,
3734 with this IMO we could remove the hack in "redoParagraphs()".
3736 2002-10-09 Angus Leeming <leeming@lyx.org>
3738 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3739 to turn off an optimisation if a new inset is to be inserted.
3741 2002-10-11 André Pönitz <poenitz@gmx.net>
3743 * lyxtext.h: make some functions public to allow access
3744 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3746 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3748 * text3.C (dispatch): when changing layout, avoid an infinite loop
3751 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3753 * lyxrc.C (read): treat a viewer or converter command of "none" as
3756 * MenuBackend.C (expandFormats): for an update, also allow the
3757 formats that are not viewable
3759 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3760 script if it is newer than the lyxrc.defaults in user directory
3762 2002-10-07 André Pönitz <poenitz@gmx.net>
3764 * text.C: Vitaly Lipatov's small i18n fix
3766 2002-09-25 Angus Leeming <leeming@lyx.org>
3768 * ispell.h: doxygen fix.
3770 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3772 * buffer.h (readFile): Add a new argument to the method, to allow
3773 reading of old-format templates.
3775 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3777 * toc.C (getTocList): Get TOC from InsetWrap.
3779 2002-09-16 John Levon <levon@movementarian.org>
3781 * lyxfunc.C: check tabular for cut/copy too
3783 2002-09-12 John Levon <levon@movementarian.org>
3788 * factory.C: add header
3790 * paragraph_funcs.h:
3791 * paragraph_funcs.C: cleanup
3793 2002-09-11 John Levon <levon@movementarian.org>
3795 * PrinterParams.h: odd/even default to true
3797 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3799 * PrinterParams.h: update printer parameters for new xforms dialog
3801 2002-09-11 Angus Leeming <leeming@lyx.org>
3803 * lyxserver.C (read_ready): re-write to make it more transparent
3804 and to make it work in coherent fashion under Tru64 Unix.
3806 2002-09-11 André Pönitz <poenitz@gmx.net>
3810 * text3.C: implement LFUN_WORDSEL
3812 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3814 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3815 make floatlist_ a boost::shared_ptr<FloatList>
3817 * lyxtextclass.C: include FloatList.h
3818 (LyXTextClass): initialize floatlist_
3819 (TextClassTags): add TC_NOFLOAT
3820 (Read): match "nofloat" to TC_NOFLOAT and use it.
3821 (readFloat): modify call to floatlist_
3825 * FloatList.[Ch] (FloatList): remove commented out float
3827 (erase): new function
3829 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3831 * MenuBackend.C (expandToc): fix crash when there is no document
3834 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3836 * many files: Add insetwrap.
3838 2002-09-09 John Levon <levon@movementarian.org>
3840 * text2.C: remove confusing and awkward depth wraparound
3842 2002-09-09 John Levon <levon@movementarian.org>
3844 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3847 * buffer.C: remove getIncludeonlyList()
3850 * lyxfunc.C: remove headers
3852 2002-09-09 Juergen Vigna <jug@sad.it>
3854 * text.C (getColumnNearX): fix form Michael this is most
3855 probably a cut&paste bug.
3857 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3859 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3861 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3862 references, ws changes.
3864 * text2.C (init): update counters after init
3865 (insertParagraph): no need to set counter on idividual paragraphs.
3866 (setCounter): access the counters object in the textclass object
3867 on in the buffer object.
3868 (updateCounters): ditto
3870 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3871 shared_ptr<Counters> to avoid loading counters.h in all
3873 (LyXTextClass): initialize ctrs_
3874 (TextClassTags): add TC_COUNTER, and ...
3875 (Read): use it here.
3876 (CounterTags): new tags
3877 (readCounter): new function
3878 (counters): new funtion
3879 (defaultLayoutName): return a const reference
3881 * counters.C (Counters): remove contructor
3882 (newCounter): remove a couple of unneeded statements.
3883 (newCounter): simplify a bit.
3884 (numberLabel): some small formatting changes.
3886 * buffer.[Ch]: remove all traces of counters, move the Counters
3887 object to the LyXTextClass.
3889 2002-09-06 Alain Castera <castera@in2p3.fr>
3891 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3892 package to set the horizontal alignment on fixed width columns.
3895 * lyx_sty.h: added tabularnewline macro def.
3897 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3899 2002-09-06 John Levon <levon@movementarian.org>
3901 * LyXAction.C: tooltips for sub/superscript
3903 * MenuBackend.C: a bit more verbose
3905 * lyxfunc.C: tiny clean
3907 * undo_funcs.C: document undo_frozen
3909 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3911 * counters.C (Counters): add missing algorithm counter.
3913 * text2.C (setCounter): lookup the counter with layouts latexname
3914 instead of by section number.
3915 (setCounter): use a hackish way to lookup the correct enum
3917 a float name->type change
3918 reset enum couners with counter name directly instead of depth value.
3920 * counters.C (Counters): remove the push_backs, change to use the
3921 float type not the float name.
3922 (labelItem): remove unused string, float name->type change
3924 * counters.h: don't include vector, loose the enums and sects vectors
3926 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3928 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3929 (Read): add float->TC_FLOAT to textclassTags
3930 (Read): and handle it in the switch
3931 (readFloat): new function
3933 * FloatList.C (FloatList): comment out the hardcoded float
3936 * lyxlayout.h: ws change.
3938 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3940 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3942 2002-09-03 Angus Leeming <leeming@lyx.org>
3944 * BufferView_pimpl.h: qualified name is not allowed in member
3945 declaration: WorkArea & Pimpl::workarea() const;
3947 * factory.C: added using std::endl directive.
3949 * text3.C: added using std::find and std::vector directives.
3951 2002-08-29 André Pönitz <poenitz@gmx.net>
3954 * text2.C: remove unused member number_of_rows
3957 * BufferView2.C: remove file, move contents to...
3958 * BufferView.C: ... here
3960 * BufferView_pimpl.C:
3961 * factory.C: move more inset creation to factory
3963 * vspace.C: avoid direct usage of LyXText, ws changes
3966 don't provide direct access to WorkArea, use two simple
3967 acessors haveSelction() and workHeight() instead
3970 2002-08-29 John Levon <levon@movementarian.org>
3972 * BufferView_pimpl.C (dispatch): do not continue when
3975 2002-08-28 André Pönitz <poenitz@gmx.net>
3977 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3980 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3982 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3984 * buffer.C: increment LYX_FORMAT to 221
3986 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3987 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3989 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3991 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3993 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3995 * factory.C (createInset): use LyXTextClass::floats
3997 * MenuBackend.C (expandFloatListInsert):
3998 (expandFloatInsert):
4001 * text2.C (setCounter):
4003 * LaTeXFeatures.C (useFloat):
4004 (getFloatDefinitions):
4006 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4008 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4009 floatlist_, with accessor floats().
4011 * FloatList.h: remove global FloatList
4013 2002-08-26 André Pönitz <poenitz@gmx.net>
4015 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4019 * BufferView_pimpl.C:
4020 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4022 2002-08-25 John Levon <levon@movementarian.org>
4024 * LyXAction.C: fix margin note description
4026 2002-08-24 John Levon <levon@movementarian.org>
4030 * bufferview_funcs.C:
4032 * undo_funcs.C: cleanups
4034 * lyxfunc.C: disable CUT/COPY when no selection
4036 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4038 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4039 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4041 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4042 Add backward compatibility to "mono", "gray" and "no".
4044 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4046 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4047 (and file_format >= 200).
4049 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4051 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4053 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4055 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4057 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4059 * BufferView_pimpl.C:
4066 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4067 inset and code to make it work with the paragraph code. The inset
4068 can be anywhere in the paragraph, but will only do the expected
4069 thing in LaTeX if the layout file contains the parameter line
4071 (or more generally, a nonzero value) for that layout.
4073 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4075 * paragraph.h: remove the declaration of undefined counters class
4078 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4080 * text2.C (setCounter): fixed enumeration mis-count as reported by
4081 Dr. Richard Hawkins.
4083 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4085 * paragraph_funcs.h: remove some unneeded includes
4087 * text.C (backspace): pasteParagraph now in global scipe
4089 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4090 (pasteSelection): ditto
4092 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4093 * paragraph_funcs.C (pasteParagraph): ... here
4095 2002-08-20 André Pönitz <poenitz@gmx.net>
4097 * commandtags.h: new LFUNs for swapping/copying table row/colums
4100 * lyxfunc.C: support for new lfuns
4102 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4105 * buffer.[Ch]: remove NO_COMPABILITY stuff
4107 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4109 * boost.C (throw_exception): new file, with helper function for
4110 boost compiled without exceptions.
4115 * ParameterStruct.h:
4116 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4118 * bufferlist.C (emergencyWriteAll): use boost bind
4120 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4122 * text.C: include paragraph_funcs.h
4123 (breakParagraph): breakParagraph is now in global scope
4125 * paragraph_funcs.[Ch]: new files
4127 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4130 * buffer.C: include paragraph_funcs.h
4131 (insertStringAsLines): breakParagraph is now in global scope
4133 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4136 * CutAndPaste.C: include paragraph_funcs.h
4137 (cutSelection): breakParagraphConservative is now in global scope
4138 (pasteSelection): ditto
4140 * buffer.h: declare oprator== and operator!= for
4141 Buffer::inset_iterator
4143 * bufferlist.C (emergencyWrite): don't use fmt(...)
4145 * text3.C: add using std::endl
4147 * BufferView.C (moveCursorUpdate): remove default arg
4149 2002-08-20 André Pönitz <poenitz@gmx.net>
4151 * buffer.[Ch]: move inline functions to .C
4154 * BufferView_pimpl.C:
4156 * buffer.[Ch]: use improved inset_iterator
4159 * paragraph.[Ch]: write one paragraph at a time
4161 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4163 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4164 style if style is not specified.
4166 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4168 * text2.C (setCounter): when searching for right label for a
4169 caption, make sure to recurse to parent insets (so that a caption
4170 in a minipage in a figure float works) (bug #568)
4172 2002-08-20 André Pönitz <poenitz@gmx.net>
4174 * text3.C: new file for LyXText::dispatch() and helpers
4176 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4178 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4180 2002-08-19 André Pönitz <poenitz@gmx.net>
4183 * text.C: new LyXText::dispatch()
4185 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4187 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4189 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4191 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4194 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4196 * Makefile.am: use $(variables) instead of @substitutions@
4198 2002-08-15 André Pönitz <poenitz@gmx.net>
4201 * BufferView_pimpl.C: streamlining mathed <-> outer world
4205 * LyXAction.C: remove unused LFUN_MATH
4207 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4209 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4211 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4213 * paragraph.C (Paragraph): reformat a bit
4214 (cutIntoMinibuffer): use builtin InsetList function instad of
4218 * buffer.C: include boost/bind.hpp, add using std::for_each
4219 (writeFileAscii): use ParagraphList iterators
4220 (validate): use for_each for validate traversal of paragraphs
4221 (getBibkeyList): use ParagraphList iterators
4222 (resizeInsets): use for_each to resizeInsetsLyXText for all
4224 (getParFromID): use ParagraphList iterators
4226 * BufferView2.C (lockInset): use paragraph list and iterators
4228 2002-08-14 John Levon <levon@movementarian.org>
4230 * lyxserver.C: remove spurious xforms include
4232 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4234 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4236 2002-08-13 André Pönitz <poenitz@gmx.net>
4239 * lyxfunc.C: further cleaning
4241 2002-08-13 André Pönitz <poenitz@gmx.net>
4243 * funcrequest.h: new constructor
4245 * funcrequest.C: move stuff here from .h
4248 * BufferView_pimpl.C:
4251 * lyxfunc.C: subsequent changes
4253 * lyxfunc.h: new view() member function
4255 * lyxfunc.C: subsequent changes
4257 2002-08-13 Angus Leeming <leeming@lyx.org>
4260 * BufferView_pimpl.C:
4268 changes due to the changed LyXView interface that now returns references
4269 to member variables not pointers.
4271 2002-08-13 Angus Leeming <leeming@lyx.org>
4273 * WordLangTuple (word, lang_code): return references to strings,
4278 * lyxtext.h: forward-declare WordLangTuple.
4283 * text.C: #include "WordLangTuple.h".
4286 * text.C: (selectNextWordToSpellcheck): constify return type.
4288 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4294 * paragraph_pimpl.h:
4297 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4299 Made updateCounter always count from start of buffer, and removed
4300 second argument (par).
4301 Reverted floats number display to '#'. Perhaps I'll try again when the
4302 code base is sanitized a bit.
4304 2002-08-12 Angus Leeming <leeming@lyx.org>
4306 * buffer.[Ch] (getLabelList): constify.
4308 2002-08-07 André Pönitz <poenitz@gmx.net>
4310 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4312 * funcrequest.h: extension to keep mouse (x,y) position
4314 2002-08-12 Juergen Vigna <jug@sad.it>
4316 * BufferView2.C (insertErrors): forbid undo when inserting error
4319 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4321 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4323 * ParagraphList.[Ch]: new files
4325 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4327 * BufferView2.C (lockInset): ParagraphList changes
4330 * bufferlist.C: ditto
4334 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4336 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4337 unused class variable counter_,
4339 * paragraph.[Ch] (getFirstCounter): delete unused function
4341 * counters.C: include LAssert.h
4342 (reset): add a new function with no arg, change other version to
4343 not have def. arg and to not allow empty arg.
4345 * text2.C (setCounter): remove empty arg from call to Counters::reset
4347 2002-08-11 John Levon <levon@movementarian.org>
4349 * Makefile.am: add WordLangTuple.h
4351 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4353 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4354 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4356 * insets/insettext.C: InsetList changes
4358 * graphics/GraphicsSupport.C (operator()): InsetList changes
4360 * toc.C (getTocList): InsetList changes
4362 * paragraph_pimpl.[Ch]: InsetList changes
4364 * paragraph.[Ch]: InsetList changes
4366 * buffer.C (inset_iterator): InsetList changes
4367 (setParagraph): ditto
4368 * buffer.h (inset_iterator): ditto
4369 * iterators.C (operator++): ditto
4370 * iterators.h: ditto
4372 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4374 * InsetList.[Ch]: new files, most InsetList handling moved out of
4377 * BufferView2.C (removeAutoInsets): InsetList changes
4379 (ChangeInsets): ditto
4381 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4383 * paragraph_pimpl.h (empty): new function
4385 * paragraph.[Ch] (empty): new function
4387 * other files: use the new Paragraph::empty function
4389 2002-08-09 John Levon <levon@movementarian.org>
4391 * lyxtext.h: remove unused refresh_height
4393 2002-08-09 John Levon <levon@movementarian.org>
4400 * paragraph.C: move sgml char escaping out of paragraph
4403 * paragraph.C: remove id setter
4407 * paragraph_pimpl.C: remove dead tex_code_break_column
4409 * bufferview_funcs.C: small cleanup
4411 * lyxfunc.C: remove dead proto
4413 * lyxtext.h: make some stuff private. Remove some dead stuff.
4415 * lyxgluelength.C: make as[LyX]String() readable
4417 2002-08-08 John Levon <levon@movementarian.org>
4422 * ToolbarDefaults.C:
4425 * toc.C: lyxaction cleanup
4427 2002-08-08 John Levon <levon@movementarian.org>
4429 * BufferView2.C: small cleanup
4432 * lyxfind.C: move unnecessary header into the .C
4434 2002-08-08 John Levon <levon@movementarian.org>
4436 * funcrequest.h: just tedious nonsense
4439 * lyx_main.C: cleanups
4442 * vspace.C: remove dead header lyx_main.h
4444 2002-08-07 Angus Leeming <leeming@lyx.org>
4447 * paragraph_pimpl.h:
4448 Forward declare class Counters in paragraph.h by moving the ctrs member
4449 variable into Paragraph::Pimpl.
4450 (counters): new method, returning a reference to pimpl_->ctrs.
4452 * text2.C: ensuing changes.
4454 2002-08-07 John Levon <levon@movementarian.org>
4456 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4458 * BufferView_pimpl.C: announce X selection on double/triple
4461 * lyx_main.C: use correct bool in batch dispatch
4463 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4465 2002-08-07 André Pönitz <poenitz@gmx.net>
4467 * funcrequest.h: new class to wrap a kb_action and its argument
4470 * BufferView_pimpl[Ch]:
4474 * lyxrc.C: subsequent changes
4477 2002-08-07 John Levon <levon@movementarian.org>
4479 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4480 document options change.
4482 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4487 * makefile.am: move counters functionality over from
4488 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4490 2002-08-06 John Levon <levon@movementarian.org>
4492 * WordLangTuple.h: new file for word + language code tuple
4503 * BufferView2.C: use WordLangTuple
4506 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4508 2002-08-06 John Levon <levon@movementarian.org>
4510 * lyx_main.C: fix cmdline batch handling
4512 2002-08-06 André Pönitz <poenitz@gmx.net>
4514 * lyxrc.C: set default for show_banner to true
4516 2002-08-06 John Levon <levon@movementarian.org>
4518 * pspell.C: fix a crash, and allow new aspell to work
4520 2002-08-06 John Levon <levon@movementarian.org>
4523 * kbmap.C: small cleanup
4526 * vspace.C: add const
4528 2002-08-05 John Levon <levon@movementarian.org>
4530 * LyXAction.C: back to tabular-insert
4532 2002-08-04 John Levon <levon@movementarian.org>
4535 * BufferView.C: cosmetic change
4537 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4547 * BufferView2.C: purge all "Lyx" not "LyX" strings
4550 * lyxcursor.C: attempt to add some documentation
4555 * ToolbarDefaults.C:
4556 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4557 merge with LFUN_TABULAR_INSERT
4564 * pspell.C: split up i/pspell implementations into separate
4565 files, many cleanups
4567 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4569 * text2.C: some cleanup
4571 * lyxfunc.C: don't check for isp_command == "none" any more, it
4572 didn't make any sense
4574 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4579 * makefile.am: move counters functionality over
4580 from text2.C/paragraph.[Ch] to counters.[Ch], and
4582 2002-08-02 John Levon <levon@movementarian.org>
4584 * buffer.C: s/lyxconvert/lyx2lyx/
4586 2002-08-02 Angus Leeming <leeming@lyx.org>
4588 * lyxlex.C: revert John's change as it breaks reading of the user
4591 2002-08-02 Angus Leeming <leeming@lyx.org>
4593 * importer.C (Import):
4594 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4595 changes due to LyXView::view() now returning a boost::shared_ptr.
4597 2002-08-02 John Levon <levon@movementarian.org>
4599 * lyxlex.C: small cleanup
4601 2002-08-02 John Levon <levon@movementarian.org>
4603 * text2.C (status): small cleanup, no logic change
4605 2002-08-01 John Levon <levon@movementarian.org>
4608 * buffer.C (writeFile): don't output alerts, caller
4612 * lyx_cb.C: from above
4614 * lyxfunc.C: allow to open non-existent files
4616 2002-07-31 John Levon <levon@movementarian.org>
4618 * lyxserver.C: don't let incidental errors get
4621 2002-07-30 John Levon <levon@movementarian.org>
4623 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4625 2002-07-30 John Levon <levon@movementarian.org>
4628 * lyxserver.C: remove I/O callback too
4630 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4632 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4635 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4637 * many files: strip,frontStrip -> trim,ltrim,rtrim
4639 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4641 * PrinterParams.h: remove extern containsOnly, and include
4642 support/lstrings.h instead.
4644 * LaTeX.C (scanAuxFile): modify because of strip changes
4646 * buffer.C (makeLaTeXFile): ditto
4647 * bufferparams.C (writeFile): ditt
4648 * lyxfont.C (stateText): ditto
4649 * lyxserver.C (read_ready): ditto
4650 * vc-backend.C (scanMaster): ditto
4652 * BufferView_pimpl.h: ws changes
4654 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4656 2002-07-26 André Pönitz <poenitz@gmx.net>
4658 * kb_sequence.C: remove unnedred usings
4660 2002-07-26 Juergen Vigna <jug@sad.it>
4662 * lyxfind.C (LyXReplace): we have to check better if the returned
4663 text is not of theLockingInset()->getLockingInset().
4665 2002-07-25 Juergen Vigna <jug@sad.it>
4667 * lyxfind.C (LyXReplace): don't replace if we don't get the
4670 * undo_funcs.C (createUndo): remove debugging code.
4672 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4674 * buffer.C (parseSingleLyXformat2Token): Use default placement
4675 when reading old floats.
4677 * FloatList.C (FloatList): Change the default placement of figure
4678 and tables to "tbp".
4680 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4682 * MenuBackend.C: using std::max
4684 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4686 * MenuBackend.C (expandToc):
4687 (expandToc2): code moved from xforms menu frontend. It is now
4688 generic and TOCs are transparent to menu frontends.
4690 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4692 * toc.C (getTocList): protect against buf=0
4694 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4695 Menu as first parameter. Now, this calls itself recursively to
4696 expand a whole tree (this will be useful for TOC handling)
4697 (expandFloatInsert): remove 'wide' version of floats
4699 * MenuBackend.h (submenuname): returns the name of the submenu.
4700 (submenu): returns the submenu itself, provided it has been
4701 created by MenuBackend::expand
4703 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4705 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4706 insets which have noFontChange == true. (bug #172)
4708 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4710 * BufferView_pimpl.C: add connection objects and use them...
4713 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4715 * MenuBackend.C (expandLastfiles):
4718 (expandFloatListInsert):
4719 (expandFloatInsert):
4720 (expand): split expand in parts
4722 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4724 * lyx_gui.C: use lyx_gui::exit()
4726 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4728 * LyXAction.C: show the failing pseudo action
4730 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4732 * buffer.C (readFile): Run the lyxconvert script in order to read
4735 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4739 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4741 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4745 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4747 2002-07-22 Herbert Voss <voss@lyx.org>
4750 * lyxlength.[Ch]: add support for the vertical lengths
4752 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4754 * toc.[Ch]: std:: fixes
4756 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4758 * lyxrc.C: do not include lyx_main.h
4760 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4766 * BufferView2.C: include "lyxlex.h"
4769 * bufferparams.h: do not #include "lyxlex.h"
4771 * lyxtextclasslist.C (Add): remove method
4772 (classlist): renamed to classlist_
4774 * paragraph_pimpl.C:
4778 * bufferview_funcs.C:
4783 * toc.C (getTocList): use BufferParams::getLyXTextClass
4785 * toc.C (getTocList): use InsetFloat::addToToc
4787 * toc.[Ch]: new files, containing helper functions to handle table
4790 * lyxfunc.C (dispatch): no need to remove spaces around command
4792 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4793 first command of the sequence; it is not very clever, but I do not
4794 have a better idea, actually
4796 * LyXAction.C (LookupFunc): make sure to remove space at the
4797 beginning and end of the command
4799 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4801 * MenuBackend.C (getMenubar): new method: return the menubar of
4803 (read): treat differently reading of menu and menubar (in
4804 particular, the menubar has no name now)
4805 (Menu::menubar): remove
4807 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4810 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4812 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4813 a bibitem inset in a RTL paragraph.
4815 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4817 * paragraph_pimpl.C: constify
4819 * BufferView_pimpl.C:
4821 * lyxfunc.C: fix dispatch in a nicer way
4823 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4825 * lyxfunc.C (dispatch):
4826 * BufferView_pimpl.C:
4827 * BufferView_pimpl.h:
4829 * BufferView.h: rename Dispatch() to dispatch()
4831 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4833 * lyxlayout.C (Read): honor DependsOn tag
4835 * lyxlayout.[Ch] (depends_on): new method
4837 * version.C.in: update lyx_docversion
4839 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4841 * paragraph.C (validate): remove from here...
4842 * paragraph_pimpl.C (validate): ... and move here
4843 (isTextAt): make it const
4845 * buffer.C (getLists): ws cleanup
4847 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4849 * language.C (read): Use iso8859-1 encoding in latex_lang
4850 (this prevents LyX from crashing when using iso10646-1 encoding).
4852 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4854 * text2.C (toggleInset): if cursor is inside an inset, close the
4855 inset and leave cursor _after_ it
4857 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4859 * lyxfunc.C: move minibuffer completion handling out of here
4861 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4863 * BufferView_pimpl.C:
4864 * LaTeX.C: fix dispatch calls
4866 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4868 * text.C (drawChars): Fix Arabic text rendering.
4870 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4874 * lyxfunc.C: remove message-push/pop
4878 * lyxfunc.C: rationalise some code by removing verboseDispatch
4879 in favour of a bool argument to dispatch()
4881 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4883 * lyx_main.C (init): make sure to read symlinks as absolute paths
4885 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4888 * lyxfunc.C: no need for commandshortcut to be a member
4890 2002-07-15 André Pönitz <poenitz@gmx.net>
4892 * converter.C: add support for $$s (scripts from lib/scripts dir)
4893 * lyx_main.C: white space
4895 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4899 * lyxrc.C: remove second exit confirmation
4901 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4906 * BufferView_pimpl.h:
4907 * BufferView_pimpl.C:
4908 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4910 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4912 * MenuBackend.C (expand): add numeric shortcuts to document menu
4914 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4916 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4918 * lyxfont.C (setLyXFamily):
4925 * buffer.C (asciiParagraph): use ascii_lowercase
4927 2002-07-15 Mike Fabian <mfabian@suse.de>
4929 * lyxlex_pimpl.C (search_kw):
4930 * lyxlex.C (getLongString):
4931 * converter.h (operator<):
4932 * converter.C (operator<):
4933 * buffer.C (parseSingleLyXformat2Token):
4935 * ToolbarDefaults.C (read):
4936 * MenuBackend.C (checkShortcuts):
4938 * LColor.C (getFromGUIName):
4939 (getFromLyXName): use the compare_ascii_no_case instead of
4940 compare_no_case, because in turkish, 'i' is not the lowercase
4941 version of 'I', and thus turkish locale breaks parsing of tags.
4943 2002-07-16 Angus Leeming <leeming@lyx.org>
4945 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4946 now takes a Buffer const & argument.
4948 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4950 * BufferView.C (resize): check there's a buffer to resize
4952 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4954 * lyxfunc.C: remove dead code
4957 * lyxserver.C: use lyx_guii::set_read_callback
4959 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4961 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4962 an inset in a RTL paragraph.
4964 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4966 * lyxfunc.C: repaint after a font size update
4968 2002-07-15 André Pönitz <poenitz@gmx.net>
4970 * lyxlength.C: inBP should be able to return negative values
4972 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4974 * lyxfunc.C: use lyx_gui::update_fonts()
4976 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4978 * lyxfunc.C: use lyx_gui::update_color()
4980 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4986 * lyxrc.C: remove file->new asks for name option, and let
4987 buffer-new take an argument
4989 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4991 * BufferView_pimpl.C: remove unneeded extra repaint()
4993 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4995 * LyXAction.C: allow command-sequence with NoBuffer
4997 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4999 2002-07-10 Angus Leeming <leeming@lyx.org>
5001 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5003 2002-07-09 Angus Leeming <leeming@lyx.org>
5005 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5007 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5009 * lengthcommon.h: whitespace
5011 * lyxfunc.C: update scrollbar after goto paragraph
5013 * lyxtext.h: factor out page break drawing, and fix it so
5014 page break/added space paints as selected nicely
5016 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5018 * BufferView_pimpl.C: add FIXMEs, clean up a little
5020 2002-07-09 André Pönitz <poenitz@gmx.net>
5022 * lyxfont.[Ch]: support for wasy symbols
5024 2002-07-08 André Pönitz <poenitz@gmx.net>
5026 * BufferView_pimpl.C: apply John's patch for #93.
5028 2002-07-05 Angus Leeming <leeming@lyx.org>
5030 * BufferView_pimpl.C (buffer): generate previews if desired.
5032 * LColor.h: add "preview" to the color enum.
5034 * LColor.C (LColor): add a corresponding entry to the items array.
5036 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5039 2002-07-05 Angus Leeming <leeming@lyx.org>
5041 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5042 The body of the code is now in the method that is passed an ostream &
5043 rather than a file name.
5044 Pass an additional only_preamble parameter, useful for the forthcoming
5047 2002-07-03 André Pönitz <poenitz@gmx.net>
5049 * lyxfunc.C: simplify getStatus() a bit for math stuff
5051 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5053 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5055 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5057 * text.C (changeRegionCase): do not change case of all the
5058 document when region ends at paragraph end (bug #461)
5060 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5062 * paragraph.C (startTeXParParams):
5063 (endTeXParParams): add \protect when necessary
5065 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5067 * BufferView_pimpl.C (workAreaExpose): remove warning
5069 2002-06-27 Angus Leeming <leeming@lyx.org>
5071 * Makefile.am: add lyxlayout_ptr_fwd.h.
5073 2002-06-26 André Pönitz <poenitz@gmx.net>
5075 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5077 2002-06-25 Angus Leeming <leeming@lyx.org>
5079 * lyxfunc.C (dispatch): Comment out the call to
5080 grfx::GCache::changeDisplay. The method no longer exists now that the
5081 pixmap generation part of the graphics loader has been moved into
5084 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5086 * text2.C: layout as layout
5088 * text.C: layout as layout
5090 * tabular.C (OldFormatRead): layout as layout
5092 * paragraph_pimpl.C (TeXDeeper): layout as layout
5093 (realizeFont): layout as layout
5095 * paragraph.C (writeFile): layout as layout
5096 (validate): layout as layout
5097 (getFont): layout as layout
5098 (getLabelFont): layout as layout
5099 (getLayoutFont): layout as layout
5100 (breakParagraph): layout as layout
5101 (stripLeadingSpaces): layout as layout
5102 (getEndLabel): layout as layout
5103 (getMaxDepthAfter): layout as layout
5104 (applyLayout): layout as layout
5105 (TeXOnePar): layout as layout
5106 (simpleTeXOnePar): layout as layout
5107 (TeXEnvironment): layout as layout
5108 (layout): layout as layout
5109 (layout): layout as layout
5111 * lyxtextclass.C (compare_name): new functor to work with
5112 shared_ptr, layout as layout
5113 (Read): layout as layout
5114 (hasLayout): layout as layout
5115 (operator): layout as layout
5116 (delete_layout): layout as layout
5117 (defaultLayout): layout as layout
5119 * lyxlayout_ptr_fwd.h: new file
5121 * lyxlayout.C (Read): layout as layout
5123 * lyx_cb.C (MenuInsertLabel): layout as layout
5125 * bufferlist.C (newFile): layout as layout
5127 * buffer.C (readLyXformat2): layout as layout
5128 (parseSingleLyXformat2Token): layout as layout
5129 (insertStringAsLines): layout as layout
5130 (asciiParagraph): layout as layout
5131 (latexParagraphs): layout as layout
5132 (makeLinuxDocFile): layout as layout
5133 (simpleLinuxDocOnePar): layout as layout
5134 (makeDocBookFile): layout as layout
5135 (simpleDocBookOnePar): layout as layout
5136 (getLists): layout as layout
5138 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5140 * CutAndPaste.C (cutSelection): layout as layout
5141 (pasteSelection): layout as layout
5142 (SwitchLayoutsBetweenClasses): layout as layout
5144 * BufferView_pimpl.C (Dispatch): layout as layout
5145 (smartQuote): layout as layout
5147 * BufferView2.C (unlockInset): layout as layout
5149 2002-06-24 André Pönitz <poenitz@gmx.net>
5151 * lyxfunc.C: fix #487
5153 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5157 * lyxfunc.C: remove display_shortcuts, show_banner
5159 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5161 * Buffer_pimpl.C: oops, update on resize
5163 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5170 * BufferView.C: use repaint()
5172 * BufferView_pimpl.h:
5173 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5174 as it's a clearer description. Remove superfluous
5177 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5179 * text.C: fix bug 488. Not ideal, but getting
5180 getWord() to work properly for the insets that
5181 matter is more difficult ...
5183 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5185 * BufferView_pimpl.C:
5188 * lyxfunc.C: remove the six million index lyxfuncs to just
5189 one, and DTRT (bug 458)
5191 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5195 * BufferView_pimpl.h:
5196 * BufferView_pimpl.C: clean up resize() stuff,
5197 and unnecessary updateScreen()s
5199 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5203 * BufferView_pimpl.h:
5204 * BufferView_pimpl.C:
5207 * minibuffer.C: remove focus management of workarea,
5208 not needed. Use screen's greyOut()
5210 2002-06-17 Herbert Voss <voss@lyx.org>
5212 * converter.C: (convert) do not post a message, when converting
5213 fails, let the calling function decide what to do in this case
5215 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5217 * lyxfunc.C: tidy up a little
5219 2002-06-16 <alstrup@diku.dk>
5221 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5222 Got rid of FORMS_H_LOCATION include. Now we are
5225 2002-06-15 LyX Development team <lyx@rilke>
5227 * buffer.[Ch] (sgmlOpenTag):
5228 (sgmlCloseTag): Added support for avoiding pernicious mixed
5229 content. Return number of lines written.
5232 (makeDocBookFile): Fixed calls to sgml*Tag.
5233 Simple white space clean.
5235 (simpleDocBookOnePar): Simple white space clean.
5237 * tabular.[Ch] (docBook): Renamed to docbook and got another
5238 argument to related with the pernicious mixed content.
5240 (docbookRow): Fixed calls for docbook inset method.
5242 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5244 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5245 so it's X11 independent.
5249 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5251 2002-06-15 Lyx Development team <lyx@electronia>
5253 * intl.h: Renamed getTrans to getTransManager.
5255 2002-06-14 Angus Leeming <leeming@lyx.org>
5257 * Makefile.am: nuke forgotten stl_string_fwd.h.
5259 2002-06-12 Angus Leeming <leeming@lyx.org>
5261 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5263 2002-06-13 Angus Leeming <leeming@lyx.org>
5266 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5268 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5270 * kbmap.C (getiso): add support for cyrillic and greek
5272 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5276 * BufferView_pimpl.h:
5277 * BufferView_pimpl.C: move bogus scrolling logic
5280 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5283 * BufferView_pimpl.C: view->resize() change
5285 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5287 * BufferView_pimpl.C: topCursorVisible
5290 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5294 * lyx_gui.C: move to frontends/
5298 * lyx_main.C: changes from above
5300 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5307 * lyx_main.C: minor tidy
5309 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5311 * BufferView_pimpl.h:
5312 * BufferView_pimpl.C:
5314 * BufferView.C: make painter() const,
5317 * BufferView2.C: use screen() accessor
5320 * lyx_main.C: some minor cleanup
5322 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5324 * BufferView_pimpl.h:
5325 * BufferView_pimpl.C: remove enter/leaveView,
5328 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5333 * BufferView_pimpl.h:
5334 * BufferView_pimpl.C: only construct screen once,
5337 * lyxrc.C: remove pointless comment
5339 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5342 * BufferView.C: remove active() and belowMouse()
5344 * BufferView_pimpl.h:
5345 * BufferView_pimpl.C: use workarea() not workarea_,
5346 and make it use a scoped_ptr instead
5348 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5350 * lyx_gui.C: add debug message on BadWindow
5352 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5354 * sp_spell.C: fdopen is not part of the C++ standard.
5356 * paragraph.C (InsetIterator): use >= instead of ==
5358 2002-06-07 Angus Leeming <leeming@lyx.org>
5360 Fixes needed to compile with Compaq cxx 6.5.
5361 * BufferView_pimpl.C:
5368 * lyxtextclasslist.C:
5373 all c-library variables have been moved into namespace std. Wrap
5374 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5379 Add a using std::abs declaration.
5381 * kbmap.h (modifier_pair):
5382 * paragraph.h (InsetTable, InsetList):
5383 * lyxfont.h (FontBits):
5384 type definition made public.
5386 * bufferlist.C (emergencyWriteAll): the compiler complains that
5387 there is more than one possible lyx::class_fun template to choose from.
5388 I re-named the void specialisation as lyx::void_class_fun.
5390 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5392 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5393 the compiler is is unable to find tostr in write_attribute.
5395 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5397 * buffer.C (sgmlError): hide #warning
5399 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5401 * xtl/*: get rid of xtl, which is not in use anyway
5403 * LyXAction.C (init):
5404 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5405 were unimplemented xtl experimentation
5407 2002-06-04 André Pönitz <poenitz@gmx.net>
5409 * lyxfunc.C: disable array operation on simple formulae
5411 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5413 * converter.C: constify a bit
5415 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5417 * lyx_gui.C: check xforms version correctly
5419 2002-04-30 Herbert Voss <voss@lyx.org>
5421 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5424 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5426 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5427 attempt to register it with a VCS)
5429 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5431 * lyx_main.C (init): honor variables LYX_DIR_13x and
5434 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5438 * lyx_main.C: fix a crash on bad command line,
5439 and give a useful exit status on error
5441 * lyxfunc.C (doImport): allow -i lyx to work
5443 2002-03-30 André Pönitz <poenitz@gmx.net>
5445 * lyxfunc.C: mathed font changes
5447 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5462 * trans_mgr.h: srcdocs, and some minor cleanups
5464 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5466 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5467 call getFont all the time)
5469 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5471 * switch from SigC signals to boost::signals
5473 2002-05-29 André Pönitz <poenitz@gmx.net>
5475 * paragraph_pimpl.C (getChar): don't call size() too often...
5477 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5479 * paragraph_pimpl.C (insertChar): do not try to update tables when
5480 appending (pos == size())
5482 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5483 in order to reduce drastically the number of comparisons needed to
5484 parse a large document
5486 2002-05-29 André Pönitz <poenitz@gmx.net>
5492 * textclasslist.[Ch]:
5493 * sp_ispell.h: whitespace change
5495 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5497 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5498 lyxaction directly now.
5500 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5504 * lyxvc.C: remove unused headers
5506 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5513 * undo_funcs.C: some cleanups. Use shared_ptr
5514 and a template for the undo stacks.
5516 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5518 * BufferView_pimpl.h:
5519 * BufferView_pimpl.C:
5526 * text2.C: use key_state/mouse_state
5528 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5530 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5533 * chset.C: change include order
5534 (loadFile): use boost regex and get rid of LRegex and LSubstring
5536 * Makefile.am (BOOST_LIBS): new variable
5539 * LaTeX.C: change include order.
5540 (scanAuxFile): use boost regex and get rid of LRegex and
5544 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5549 * FontInfo.C: moved to frontends/xforms/
5552 * FontLoader.C: moved into frontends for GUIIzation
5557 * lyxfunc.C: changes from above
5559 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5561 * LColor.C: remove spurious X include
5563 * BufferView_pimpl.C:
5568 * text2.C: move font metrics to frontends/
5570 2002-05-24 Juergen Vigna <jug@sad.it>
5572 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5573 setting the undo_cursor.
5575 * ParagraphParameters.h: include local includes first.
5577 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5579 * BufferView_pimpl.C:
5580 * BufferView_pimpl.h:
5584 * screen.C: move WorkArea into frontends/
5590 * BufferView2.C: move LyXScreen into frontends/
5594 * lyx_gui.C: move lyxlookup into frontends/xforms/
5596 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5599 * BufferView_pimpl.C:
5609 * bufferview_funcs.C:
5622 * vc-backend.C: move LyX/XFormsView into frontends/
5624 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5636 * text2.C: move Painter to frontends/
5638 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5640 * buffer.C: comment out some some code that depend upon lyx_format
5643 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5644 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5646 * buffer.h (NO_COMPABILITY): turn off compability
5648 * ColorHandler.C: include scoped_array.hpp
5650 * font.C: Use more specific smart_ptr header.
5653 * ShareContainer.h: ditto
5657 * BufferView_pimpl.h: ditto
5658 * ColorHandler.h: ditto
5660 * kbmap.C (defkey): change call to shared_ptr::reset
5662 2002-05-21 Juergen Vigna <jug@sad.it>
5664 * buffer.C (insertErtContents): fix to insert ert asis if it is
5665 non empty. Skip it completely if it contains only whitespaces.
5667 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5669 * BufferView_pimpl.C:
5670 * BufferView2.C: clear selection on paste (bug 393)
5672 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5674 * DepTable.C: include ctime
5676 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5678 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5680 2002-05-14 Juergen Vigna <jug@sad.it>
5682 * text.C (breakParagraph): fixed function to honor the keepempty
5683 layout in the right maner and also to permit the right breaking
5684 algorithm on empty or non empyt keepempty paragraphs.
5686 * paragraph.C (breakParagraph): we have to check also if the par
5687 is really empty (!size()) for isempty otherwise we do the wrong
5690 2002-05-10 Juergen Vigna <jug@sad.it>
5692 * buffer.[Ch] : The following are only changes to the ert
5693 compatibility read reading old LaTeX layout and font stuff and
5694 convert it to ERTInsets.
5696 * buffer.h: added isErtInset().
5698 * buffer.C (struct ErtComp): add a fromlayout bool to check
5699 if we're inside a LaTeX layout.
5700 (isErtInset): new helper function.
5701 (insertErtContents): look for other ert insets before this one
5702 and insert the contents there, so that we don't have subsequent
5703 ERT insets with nothing between them. This way we create only one
5704 inset with multiple paragraphs. Also check if we don't insert only
5705 spaces ' ' as they are ignored anyway afterwards in the .tex file
5706 so if we have only spaces we will ignore this latex part in the
5708 (parseSingleLyXformat2Token \\layout): better compatibility when
5709 reading layout-latex stuff.
5710 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5712 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5713 stuff after reading the inset only get the information back from
5716 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5718 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5720 * LaTeXFeatures.C (getBabelOptions): New method.
5722 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5724 * BufferView_pimpl.C (Dispatch): work around missing argument for
5727 2002-05-08 Juergen Vigna <jug@sad.it>
5729 * text.C (leftMargin): handle paragraph leftindent.
5731 * paragraph.C (writeFile): write the new \\leftindent tag.
5732 (validate): handle leftindent code.
5733 (TeXEnvironment): handle paragraphleftindent code again.
5735 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5737 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5738 for paragrap_extra indent code and new token \\leftindent.
5739 (latexParagraphs): handle the leftindent as environment.
5741 * ParameterStruct.h: added leftindent support.
5743 * ParagraphParameters.C (leftIndent): added support functions for
5744 the paragraph left indent.
5746 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5749 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5751 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5754 * text.C (computeBidiTables): No bidi in insetERT.
5756 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5759 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5761 * version.C.in: pre 5
5763 2002-05-02 José Matos <jamatos@fep.up.pt>
5764 * buffer.C (makeDocBookFile): white space changes, add newline to
5766 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5768 * tabular.C (docBook): fix typo.
5770 2002-05-03 Juergen Vigna <jug@sad.it>
5772 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5773 change in LyXText as we can not be sure it was not freed.
5774 (drawOneRow): remove unused code.
5776 * text.C (drawInset): redo the calculation of the need_break_row as
5777 it could have a row which was already freed.
5778 (draw): look at the return value of drawInset and return false if
5779 it also returned false.
5780 (paintRowText): look at the return value of draw and return false if
5781 it also returned false.
5783 * lyxtext.h: added bool return type to drawInset() and draw() so that
5784 if we have a change in the row so that the rowbreak has to be redone
5785 we abort drawing as it will be called again.
5787 2002-05-02 Juergen Vigna <jug@sad.it>
5789 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5790 a change in the maintext also if we're inside an inset.
5791 (Dispatch): set the cursor again after a break line and after the
5792 screen has been updated as it could be we're in a different row.
5794 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5795 to set the cursor behind the pargraph with > size().
5796 (setCursor): check also for the same paragraph when checking where
5797 to put the cursor if we have a NFR inset.
5799 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5800 parts of layout read further up as it still was in the wrong
5803 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5805 * screen.C (drawFromTo): change sine fullRebreak always return
5808 * buffer.C (parseSingleLyXformat2Token): reindent some
5810 * BufferView_pimpl.C (update): change since fullRebreak always
5812 (Dispatch): git rid of the last hardcoded "Standard"s.
5814 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5816 * text2.[Ch] (fullRebreak): make it return void now that we always
5819 2002-04-30 Juergen Vigna <jug@sad.it>
5821 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5822 ert compatibility check for "latex" layout.
5824 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5826 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5827 minipages: use col% instead of p%, and also use the current font.
5828 (makeLaTeXFile): Fix use babel condition.
5829 (parseSingleLyXformat2Token): Correct font when reading old floats.
5831 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5833 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5834 inserting list of floats.
5836 2002-04-25 Herbert Voss <voss@lyx.org>
5838 * MenuBackend.C (expand): don't add the graphics extensions to the
5841 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5843 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5844 non-existing layout, do not complain if it was the default layout
5845 of the original class (bug #342)
5847 2002-04-24 Juergen Vigna <jug@sad.it>
5849 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5850 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5852 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5854 * buffer.C (getBibkeyList): If using \bibliography, return the
5855 option field with the reference itself. Enables us to provide natbib
5856 support when using \bibliography.
5858 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5860 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5862 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5863 natbib is provided by the LaTeX class.
5865 2002-04-23 Juergen Vigna <jug@sad.it>
5867 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5870 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5872 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5874 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5876 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5877 ensuremath around textordmasculine, textordfeminine and
5880 2002-04-19 Juergen Vigna <jug@sad.it>
5882 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5883 reinitializing the buffer otherwise row-dimensions may be wrong.
5884 (update): reset also the selection cursors if they do exits otherwise
5885 their x/y positions may be wrong.
5887 * text2.C (cursorDown): don't enter the inset if we came from a row
5888 above and are one row over the inset.
5890 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5891 really leaving an inset.
5893 2002-04-18 Juergen Vigna <jug@sad.it>
5895 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5896 of the selected paragraph does not have the selected layout also if
5899 * text2.C (setLayout): fixed bug which did not change last selected
5902 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5903 changed the read and substituted \\end_float with \\end_inset!
5905 * BufferView_pimpl.C (cursorPrevious):
5906 (cursorNext): fixed to make it work with rows heigher than the work
5907 area without moving the cursor only the draw of the row.
5908 (workAreaMotionNotify): fix jumping over high rows.
5910 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5912 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5915 2002-04-16 Juergen Vigna <jug@sad.it>
5917 * text2.C (setCursor): set also the irow().
5918 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5920 (cursorDown): support for locking an inset if the x_fix value goes
5921 inside it. That way I can transverse insets too with cursor up/down.
5923 * lyxrow.h: added irow helper function same as other (i) functions.
5925 * BufferView_pimpl.C (cursorPrevious):
5926 (cursorNext): fixed for insets!
5928 2002-04-15 Juergen Vigna <jug@sad.it>
5930 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5931 position otherwise it is wrong in some cases.
5933 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5934 inside the inset before the call.
5936 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5938 * buffer.[Ch] (getBibkeyList): make it const.
5940 2002-04-12 Juergen Vigna <jug@sad.it>
5942 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5944 * text2.C (getCursorX): new helper function
5945 (setCursor): compute also ix_
5946 (setCursorFromCoordinates): set also ix.
5948 * lyxcursor.h: added ix_ and helper functions.
5950 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5952 * buffer.C (insertStringAsLines): dont break paragraph if the this
5953 paragraph is inside an inset which does not permit it!
5955 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5956 also with no chars on this paragraph.
5957 (paintRowText): only paint stuff if it's inside the workarea!
5959 * paragraph.C (breakParagraph): honor keepempty flag and break the
5960 paragraph always below not above.
5962 * BufferView2.C (unlockInset): update the paragraph layout on inset
5963 unlock as we changed paragraph in such a case.
5965 * lyxfind.C (LyXFind): clear the former selection if not found!
5967 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5968 again called in insertChar().
5970 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5971 an inset which uses the whole row!
5972 (rightMargin): ditto.
5973 (insertChar): force a rebreak if we inserted an inset!
5975 2002-03-28 Herbert Voss <voss@lyx.org>
5977 * lyxlength.[Ch]: add inBP() to get the right PS-point
5978 units (BigPoint). With inPixels we have rounding errors
5980 2002-04-11 Juergen Vigna <jug@sad.it>
5982 * text2.C (setCursorFromCoordinates): set iy to the right value.
5983 (setCursor): add check if row->previous exists!
5985 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5986 an old float_type as this was the case in the old code!
5988 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5990 * BufferView2.C (showLockedInsetCursor): use iy
5991 (fitLockedInsetCursor): ditto
5993 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5994 locked insets as there we have the right value now.
5996 * lyxcursor.C: added iy_ variable and iy functions to set to the
5997 baseline of cursor-y of the locked inset.
5999 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6000 (setCursor): fixed for insets which need a full row.
6002 * text.C (rowLastPrintable): don't ignore the last space when before
6003 an inset which needs a full row.
6004 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6005 as last character of a row when before a inset which needs a full row.
6007 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6009 * version.C.in: update date
6011 * text2.C (fullRebreak): try to always return true and see what
6014 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6016 * MenuBackend.C (expand): use Floating::listName
6018 * FloatList.C (FloatList): add listName argument to the built-in
6021 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6022 text associated with the float.
6024 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6026 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6028 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6030 * ShareContainer.h: add a couple of missing typenames.
6032 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6034 * lyxrc.C (getDescription): use _() correctly rather than N_().
6036 2002-03-28 Herbert Voss <voss@lyx.org>
6038 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6039 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6041 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6043 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6044 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6046 2002-03-29 Juergen Vigna <jug@sad.it>
6048 * lyxfunc.C (dispatch): add a missing fitCursor call.
6050 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6051 it was scrolled by a cursor move, so return the bool status.
6053 * BufferView.C (fitCursor): return the bool flag also to the outside
6054 world as this is needed.
6056 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6058 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6059 call the edit() as it is not needed (and wrong) IMO.
6060 (workAreaButtonPress): set the screen_first variable before evt.
6061 unlock the inset as this may change screen_first and then we have
6062 a wrong y position for the click!
6064 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6066 * MenuBackend.C (expand): another translation that I missed
6068 2002-03-28 Juergen Vigna <jug@sad.it>
6070 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6072 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6074 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6076 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6078 * MenuBackend.C (expand): fix export/view/update when there is no
6081 2002-03-27 Herbert Voss <voss@lyx.org>
6083 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6086 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6088 * bufferview_funcs.C (currentState): only show paragraph number
6089 for is DEVEL_VERSION is set.
6091 * lyxfunc.C (dispatch): put warning in INFO channel
6093 * MenuBackend.C (expand): translate the name of floats
6095 * FloatList.C (FloatList): mark the float names for translation
6097 * converter.C (convert): use LibScriptSearch
6099 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6101 * MenuBackend.C (defaults): fix default menu (we might as well get
6104 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6106 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6109 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6111 * lyxvc.C: reorder includes.
6113 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6115 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6118 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6120 * CutAndPaste.C: change layouts earlier on paste
6121 to avoid crashing when calling getFont()
6123 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6125 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6128 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6130 * WorkArea.C: remove 'Pending' debug message.
6132 * most files: ws cleanup
6134 * buffer.[Ch]: ws changes
6136 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6138 2002-03-21 Juergen Vigna <jug@sad.it>
6140 * tabular.C (SetMultiColumn): collapse also the contents of the
6141 cells and set the last border right. Added a Buffer const * param.
6143 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6145 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6148 2002-03-19 Juergen Vigna <jug@sad.it>
6150 * text2.C (clearSelection): reset also xsel_cache.
6152 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6153 where it needs to be called (John tells us to do so too :)
6154 (selectionLost): reset sel_cache.
6156 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6158 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6160 * text2.C (setCursorIntern): put debuging code in INSETS channel
6162 2002-03-19 André Pönitz <poenitz@gmx.net>
6164 * lyxfunc.C: tiny whitespace change
6166 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6168 * ToolbarDefaults.C (init):
6169 * LyXAction.C (init):
6171 * BufferView_pimpl.C (Dispatch):
6172 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6174 2002-03-19 Allan Rae <rae@lyx.org>
6176 * exporter.C (Export): removeAutoInsets before doing anything else.
6177 While I've just introduced a dependency on BufferView this really is
6178 the best place to clean the buffer otherwise you need to cleanup in
6179 a dozen places before calling export or cleanup in a dozen functions
6182 * converter.C (runLaTeX):
6183 (scanLog): Better handling of removeAutoInsets and screen updates.
6185 * lyxfunc.C (dispatch): small whitespace changes
6187 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6189 * WorkArea.C (C_WorkAreaEvent): return a value.
6190 (event_cb): return 1 if we handled the event, 0 otherwise.
6192 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6194 2002-03-18 Juergen Vigna <jug@sad.it>
6196 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6197 (GetAdditionalWidth): ditto.
6201 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6202 inset if we're there actually (probably not used right now but this
6203 is the direction to go for unifying code).
6204 (paste): disable code to clear the selection.
6206 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6207 inside an InsetText and move the check further up as it is in the
6210 * text2.C (pasteSelection): set a selection over the pasted text.
6212 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6214 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6215 and libgraphics to build on Cygwin.
6217 2002-03-15 Juergen Vigna <jug@sad.it>
6219 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6220 inserting an Inset into the paragraph. I know this is not the best
6221 fix but we already use current_view in CutAndPaste so we will remove
6222 all of it's using at the same time.
6224 * buffer.C (sgmlError): deactivated function till it is rewritten in
6225 the right mode, now it can create problems.
6227 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6228 before accessing it.
6230 2002-03-14 Juergen Vigna <jug@sad.it>
6232 * undo_funcs.C (textHandleUndo): do the right thing when updating
6233 the inset after the undo/redo.
6235 * text2.C (setCursor): just some testcode for #44 not ready yet.
6237 * undo_funcs.C (textHandleUndo): set the next() and previous()
6238 pointers of the paragraph to 0 before deleting otherwise we have
6239 problems with the Paragraph::[destructor].
6241 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6242 on a paragraph insertion.
6244 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6246 * buffer.C (asciiParagraph): use += operator for char append to
6249 * paragraph.C (getFontSettings): compare >= not just >
6250 (highestFontInRange): ditto
6253 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6255 * paragraph.C: change several algorithm to be more appripriate for
6256 the problem domain. This is lookip in FontList and in the InsetList.
6258 2002-03-13 André Pönitz <poenitz@gmx.net>
6261 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6263 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6268 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6270 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6272 * Painter.C (display): anon helper function, adjust code for this
6274 (pixmap): remove function.
6276 * Painter.h: remove private display variable.
6278 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6280 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6282 * WorkArea.[Ch]: remove figinset_canvas cruft.
6284 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6286 * lyxtextclass.C (operator): add one item cache optimization.
6288 * bufferlist.h: doxy changes
6290 * bufferlist.C: ws changes
6292 * DepTable.[Ch] (ext_exist): place const in the right spot.
6294 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6296 (workAreaExpose): call resizeInsets when the with BufferView changes.
6297 (Dispatch): adjust for protectedBlank removal
6298 (specialChar): call updateInset if the insert went ok.
6300 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6301 specialChar instead.
6303 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6305 * BufferView.h: doxy change
6307 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6309 * lyxtextclass.C (operator[]): remove non-const version
6310 (defaultLayout): remove non-const version
6312 2002-03-12 Juergen Vigna <jug@sad.it>
6314 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6315 did resize the LyXText too.
6317 * buffer.C (readLyXformat2): set layout information on newly allocated
6320 * tabular.C (OldFormatRead): set layout information on the paragraph.
6322 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6324 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6326 2002-03-11 Juergen Vigna <jug@sad.it>
6328 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6330 (resizeCurrentBuffer): force also the insets to resize themselfes.
6331 (moveCursorUpdate): fixed up for InsetText.
6333 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6336 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6337 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6338 value of Dialogs::tooltipsEnabled().
6339 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6341 2002-03-08 Juergen Vigna <jug@sad.it>
6343 * BufferView_pimpl.C (updateInset): update inset inside inset also
6344 if it isn't inside theLockingInset().
6346 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6348 * buffer.C (asciiParagraph): redo some of the word and line length
6350 (getLists): look for Caption instead of caption.
6352 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6354 * buffer.C (Buffer): initialize niceFile to true
6357 (makeDocBookFile): make sure niceFile is true on exit
6359 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6361 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6363 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6365 * LyXSendto.C: remove.
6366 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6367 * lyx_gui.C: remove now-redundant comment.
6368 * ColorHandler.h: remove forward declaration of class WorkArea.
6369 * lyxfunc.C: remove #include "WorkArea.h".
6371 2002-03-07 Juergen Vigna <jug@sad.it>
6373 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6374 got moved away with the DEPM and also set the inset_owner always
6375 right which before could have been omitted.
6377 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6379 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6380 wanted layout is not found.
6382 2002-03-07 Juergen Vigna <jug@sad.it>
6384 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6386 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6388 * paragraph.C (breakParagraph): use default layout not layout of
6390 (Paragraph): clear ParagraphParameters.
6392 2002-03-06 Juergen Vigna <jug@sad.it>
6394 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6395 otherwise it would not be a valid lenght. Fixed a special case in
6396 the minipage compatibility read where we end the document with a
6399 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6400 was set as it could be 0 for InsetTexts first entry.
6402 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6404 * paragraph.C (writeFile): if layout is empty write out
6405 defaultLayoutName().
6407 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6408 file without named layout we set layout to defaultLayoutName().
6410 2002-03-06 Juergen Vigna <jug@sad.it>
6412 * CutAndPaste.C (copySelection): set layout for new paragraph.
6414 * text.C (prepareToPrint): leave ERT inset left aligned
6415 (leftMargin): don't indent paragraphs inside ERT insets
6417 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6419 * paragraph.C (breakParagraph): dont call clear do the work manually
6421 * paragraph.[Ch] (clear): remove function
6423 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6425 * paragraph.C (Paragraph): dont call clear, the work has already
6428 * lyxtextclass.C (operator): assert if n is empty
6430 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6431 work manually instead.
6433 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6435 * BufferView_pimpl.C: protect selectionLost against text == 0
6437 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6439 * text.C (breakParagraph): fix a setting layout to '0' problem.
6441 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6443 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6444 final location of file, for the included files, and graphics.
6446 2002-03-05 Juergen Vigna <jug@sad.it>
6448 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6450 2002-03-04 Juergen Vigna <jug@sad.it>
6452 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6454 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6455 last column of multicolumn cells.
6456 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6458 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6460 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6461 file if it doesn't go to a temporary file.
6463 * buffer.C (sgmlOpenTag):
6464 (sgmlCloseTag): remove extra newline insertion.
6466 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6468 * text.C (getRowNearY): comment out debug msg
6470 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6472 * text2.C: first -> first_y
6474 * text.C (getRowNearY): add some attemts at a possible
6475 optimization, not working.
6477 * tabular.[Ch]: add BufferParams to several function so that newly
6478 created paragraph can be initialized to he default layotu for the
6481 * tabular-old.C (ReadOld): add buf->params to call of Init
6483 * screen.C: rename text->first to text->first_y
6485 * paragraph.C (breakParagraph): always set layout in the broken
6488 * lyxtextclass.C (Read): remove lowercase
6491 (delete_layout): ditto
6493 * lyxtext.h: rename first -> first_y
6495 * lyxlayout.C (Read): remove lowercase
6498 (obsoleted_by): ditto
6500 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6502 * buffer.C (insertErtContents): add params are to InsetERT
6503 (parseSingleLyXformat2Token): add code to check if a paragraphs
6504 layout really exist.
6505 (parseSingleLyXformat2Token): add params to several inset
6507 (asciiParagraph): remove lowercase, do the layout comparisons with
6510 * BufferView_pimpl.C (cursorNext): first -> first_y
6511 (resizeCurrentBuffer): first -> first_y
6512 (updateScrollbar): first -> first_y
6513 (scrollCB): first -> first_y
6514 (workAreaMotionNotify): first -> first_y
6515 (workAreaButtonPress): first -> first_y
6516 (checkInsetHit): first -> first_y
6517 (cursorPrevious): first -> first_y
6518 (cursorNext): first -> first_y
6519 (Dispatch): add buffer_->params to severl inset contructors
6521 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6523 * lyxlayout.C (Read): remove some debug info that I forgot.
6525 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6526 clean up the code slightly.
6527 (makeLinuxDocFile): ditto
6528 (makeDocBookFile): ditto
6530 * text2.C: layout as string
6532 * text.C: layout as string
6534 * paragraph_pimpl.C: layout as string
6536 * paragraph.[Ch]: layout as string
6538 * lyxtextclasslist.[Ch]: layout as string
6540 * lyxtextclass.[Ch]: layout as string
6542 * lyxtext.h: layout as string
6544 * lyxlayout.[Ch]: layout as string
6546 * lyx_cb.C: layout as string
6548 * bufferview_funcs.C: layout as string
6550 * bufferparams.C: layout as string
6552 * buffer.C: layout as string
6554 * LyXView.[Ch]: layout as string
6556 * LaTeXFeatures.[Ch]: layout as string
6558 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6560 * BufferView_pimpl.C: change current_layout to string, remove
6565 (workAreaButtonRelease): layout as string
6567 * BufferView2.C (unlockInset): adjust
6569 * vspace.C (asLatexCommand): use an explict temp variable.
6571 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6573 * Makefile.am: use FRONTEND_*
6575 2002-03-01 Juergen Vigna <jug@sad.it>
6577 * tabular.C (SetWidthOfMulticolCell): changed to something better
6578 I hope but still work in progress.
6579 (recalculateMulticolumnsOfColumn): renamed function from
6580 recalculateMulticolCells as it is more appropriate now.
6581 (SetWidthOfCell): calculate multicols better.
6583 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6585 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6587 * lyxfunc.C (processKeySym): print sequence also if it is
6588 `deleted' (complete)
6590 * kbsequence.C (print): print sequence even if it is deleted
6591 (complete would be a better word, actually).
6593 * lyxfunc.C (dispatch): print complete options after a prefix key
6595 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6597 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6599 * text2.C (setCharFont): eliminate setCharFont code duplication.
6601 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6603 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6604 LFUN_TABULAR_FEATURE (bug #177)
6606 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6608 * Makefile.am: remove figure.h
6610 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6612 * Bufferview_pimpl.C:
6624 * text2.C: remove #include "lyx_gui_misc.h".
6626 * LaTeX.C: added #include <cstdio>
6628 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6630 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6631 that the paragraph following this one can have.
6633 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6635 * vspace.C (asLatexCommand): fix bogus gcc warning
6637 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6639 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6641 * text2.C (setLayout): get rid of redundant code
6643 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6645 * text2.C (incDepth): make sure depth cannot be increased beyond
6648 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6650 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6651 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6653 * PainterBase.h (image):
6654 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6657 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6661 * BufferView_pimpl.C:
6662 * BufferView_pimpl.h:
6682 * sp_spell.C: remove fig inset, and the crap house of
6683 cards that follows it
6685 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6691 * nt_defines.h: move .h into support/
6693 * vms_defines.h: remove
6695 * WorkArea.C: add space in debug output
6699 * buffer.C: add WITH_WARNINGS
6703 * bufferlist.C: s/retrive/retrieve/, add docs
6714 * lyxgui.C: add ID to X error handler
6716 * lyxtestclass.c: fix typo
6718 2002-02-26 Juergen Vigna <jug@sad.it>
6720 * tabular_funcs.C (write_attribute): changed so that some default
6721 attributes are not written at all.
6722 (getTokenValue): set default values before trying to read the
6723 value so we have the return value always set as default if we don't
6724 find the token we search for.
6726 * tabular.C (Write): write bools as bools not as strings!
6728 2002-02-22 Juergen Vigna <jug@sad.it>
6730 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6731 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6733 * text.C (leftMargin): don't add an indent for paragraphs inside
6734 tabular cells (fix #208).
6736 2002-02-21 José Matos <jamatos@fep.up.pt>
6738 * tabular.C (docBook): fixed support for long tables.
6740 2002-02-20 Juergen Vigna <jug@sad.it>
6742 * text2.C (getFont): get the drawing font of the Inset if this
6743 paragraph is inside an inset (only important for InsetERT for now).
6745 * buffer.C (insertErtContents): use new lanugage params in ERT
6748 * CutAndPaste.C: commenting out seemingly uneeded code.
6750 2002-02-19 Allan Rae <rae@lyx.org>
6752 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6753 Iterators might be simple to use but they also get invalidated.
6754 (removeAutoInsets): renamed saved cursor tracking variables and added
6755 some comments to clarify what everything does.
6757 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6764 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6765 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6768 * vc-backend.h: remove #include "support/syscall.h"
6772 * converter.C: rearrange #includes in Lars' approved fashion.
6774 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6775 forward declare class Timeout in the header file.
6777 * XFormsView.C: changes due to the above.
6779 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6782 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6783 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6785 2002-02-18 José Matos <jamatos@fep.up.pt>
6787 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6790 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6792 * a lot of small ws changes
6793 * add a lot of using std::XXX
6794 * use std construcs some places where approp.
6795 * use some exisint stuff from lyxfunctional where approp.
6796 * Make file changes to use partial linking (lets test this now...)
6798 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6802 remove #include "support/syscontr.h" as it's redundant. Always has been.
6810 change Systemcalls::System to Systemcalls::Wait and
6811 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6812 No change of functionality, just reflects the stripped down Systemcalls
6815 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6817 * debug.[Ch]: add a GRAPHICS type to the enum.
6819 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6821 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6823 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6826 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6828 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6829 match the changes below.
6831 * text2.C (toggleInset): if there is not editable inset at cursor
6832 position, try to see if cursor is _inside_ a collapsable inset
6835 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6837 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6838 document menu has a nice checkbox
6840 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6842 * lyxlength.C (asLatexString): change PW to output as percent of
6845 * lengthcommon.C: change '%' to 't%'
6847 * lyxfunc.C (dispatch): a few comments from Martin
6849 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6853 * BufferView_pimpl.h:
6854 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6857 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6859 * vspace.C (inPixels): fix compiler warning
6861 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6863 * lyxfunc.C (getStatus): fix status message for disabled commands.
6865 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6867 * BufferView_pimpl.C: fix crash on close buffer
6868 during selection (#227)
6870 2002-01-27 Herbert Voss <voss@lyx.org>
6872 * buffer.C: link old Figure to new graphic inset
6874 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6876 * FontLoader.C (getFontinfo): Change the latex font names in order
6877 to match the names of type1inst.
6879 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6881 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6883 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6886 (remove_files_with_extension): ditto
6887 (remove_file): ditto
6890 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6891 document is smaller than the work area height. Do not initialize
6892 static variables to 0.
6894 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6896 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6898 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6899 LFUN_LAYOUT_PARAGRAPHS.
6901 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6902 tabular. It is possible to provide a possible cell, which will
6903 typically be the actcell from the corresponding insettabular
6905 * lyxfunc.C (getStatus): small cleanup; disable
6906 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6909 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6911 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6913 * paragraph.C (startTeXParParams):
6914 (endTeXParParams): new methods. The LaTeX code to
6915 start/end paragraph formatting
6916 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6917 empty (fixes bug #200)
6919 * vspace.C (inPixels): adapt to the change below
6920 (inPixels): [later] more cleanups (remove unused variables)
6922 * lyxlength.C (inPixels): change to use a width and a height as
6925 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6927 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6928 Replaced with \paperwidth
6930 * DepTable.C (insert): add std:: qualifier
6932 2002-01-18 Allan Rae <rae@lyx.org>
6934 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6937 * text.C (drawInset): Turned out I didn't know enough about how
6938 rebreaking worked. This fixes most of the redraw problems. I see
6939 an occasional cursor trail when a line is broken now and the cursor
6940 placement can seem out by a few pixels also after a rebreak.
6942 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6944 * buffer.C (parseSingleLyXformat2Token): update because minipage
6945 width is now a LyXLength
6947 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6949 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6952 2002-01-17 Juergen Vigna <jug@sad.it>
6954 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6956 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6957 is set correctly and the inset is updated correctly.
6959 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6961 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6962 the beginning of the loop.
6964 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6966 * lyxrc.C: improve help for use_scalable_fonts
6968 2002-01-17 Allan Rae <rae@lyx.org>
6970 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6972 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6974 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6975 make sure to set their inset_owner to the right value (bug #171)
6977 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6980 * DepTable.C: Implement mtime checking to reduce time spent doing
6983 2002-01-16 Juergen Vigna <jug@sad.it>
6985 * tabular.C (GetAdditionalHeight): one of error fixed.
6987 * lyxrc.C (output): small fix in writing use_pspell.
6989 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6991 * sp_base.h: #include LString.h
6993 2002-01-16 Allan Rae <rae@lyx.org>
6995 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6996 Can someone check this please?
6998 * text.C (drawInset): It was possible that p.row would be removed by
6999 breakAgainOneRow upsetting a few other settings. There may be another
7000 small tweak possible by setting need_break_row = 0 when p.row has been
7001 removed but I don't know enough about the logic here.
7003 2002-01-15 Allan Rae <rae@lyx.org>
7005 * text.C (insertChar): removed conditional truism.
7007 * BufferView2.C (removeAutoInsets): More tweaks.
7008 cur_par_prev could be a stray pointer. Check for trailing empty line
7009 in case last line was cur_par and only had an error inset on it.
7011 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7013 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7016 * vc-backend.C (most methods):
7017 * exporter.C (Export):
7018 * converter.C (convert):
7020 * LyXSendto.C (SendtoApplyCB):
7021 * lyxfunc.C (dispatch):
7025 * lyx_cb.C (AutoSave):
7027 * BufferView_pimpl.C (MenuInsertLyXFile):
7028 * buffer.C (runChktex): use Buffer::filePath().
7030 * buffer.h: rename filename to filename_; rename filepath to
7031 filepath_ and make it private
7032 (filePath): new method
7034 * buffer.C (writeFile): use fileName()
7037 * lyx_main.C (init): fix starting of LyX when the binary is a
7038 link from so,ewhere else.
7040 * minibuffer.C: include <cctype> for isprint
7042 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7044 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7045 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7046 name clash with InsetCollapsable's width function.
7048 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7050 * lastfiles.C: include <iterator>
7052 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7054 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7057 * buffer.C (makeLaTeXFile): ditto.
7058 Also make loop operation more transparent.
7060 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7062 * ToolbarDefaults.C: remove trailing comma closing namespace.
7064 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7066 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7069 * trans.C (Load): comment out unused variable, allowed.
7071 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7073 * minibuffer.[Ch] (append_char): new method to recieve input from the
7074 drop-down completion browser. If a key was pressed, then recieve this
7075 char and append it to the existing string.
7076 (peek_event): modify the positioning data passed to the completion
7077 browser so that it can be placed above the minibuffer rather than below.
7078 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7080 * LyXAction.C (init): alloe error-next for readonly documents.
7082 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7085 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7087 * bufferlist.C (readFile): create the buffer _after_ checking that
7090 * lyxfunc.C (verboseDispatch): fix handling of arguments
7092 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7094 * lyxrc.C: use string::erase() instead of initializing to "".
7097 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7099 * BufferView_pimpl.h:
7100 * BufferView_pimpl.C:
7103 * text2.C: tell X when we have made a selection for copying
7105 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7107 * BufferView_pimpl.C (MenuInsertLyXFile):
7108 * lyxfunc.C (menuNew):
7110 (doImport): add shortcuts to directory buttons
7112 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7115 * lyxfunc.C (setStatusMessage):
7116 (getStatusMessage): new methods
7117 (getStatus):use setStatusMessage instead of setErrorMessage
7118 (dispatch): when function is disabled, set error message here
7119 [instead of in getStatus previously]
7121 * BufferView_pimpl.C (workAreaButtonRelease): update
7122 toolbar/menubar here too.
7124 2002-01-13 Allan Rae <rae@lyx.org>
7126 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7127 Now seems indestructible. Remaining task is to audit all other
7128 code affected by deleteEmptyParagraphMechanism. One small quirk
7129 left is that an empty document with an error in the preamble can
7130 be made to report an error but no error box appears. I don't know
7132 (removeAutoInsets): Improved comments.
7134 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7137 * Thesaurus.C: update for Aiksaurus 0.14
7139 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7141 * text2.C (firstParagraph): removed member function, all uses
7142 replaces with ownerParagraph
7143 (redoParagraphs): here
7145 (toggleAppendix): here
7146 * BufferView2.C (insertErrors): here
7147 (setCursorFromRow): here
7149 2002-01-13 Allan Rae <rae@lyx.org>
7151 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7152 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7153 There is still a way to segfault this although you may have to do this
7154 multiple times: Have an InsetERT with an unknown command in it.
7155 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7156 <down-arrow>, <Enter> again, View->DVI, BANG!
7158 * text2.C (setCursor):
7159 (deleteEmptyParagraphMechanism):
7160 * lyxtext.h (setCursor):
7161 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7162 Making use of the return value may help fix other bugs.
7164 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7166 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7168 * LyXView.C (updateMenubar): call MenuBar::update here
7169 (updateToolbar): but not here
7170 (showState): do not update toolbar/menubar
7172 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7173 should need to care about that.
7175 * lyxfunc.C (verboseDispatch): simplify a bit
7176 (getStatus): have a version which takes a pseudoaction, and
7177 another which requires a (kb_action,string).
7179 * LyXAction.C (retrieveActionArg): make it work also when action
7180 is not a pseudo-action.
7181 (getActionName): simplify a bit
7184 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7186 * lyxfunc.C (verboseDispatch): new families of methods with
7187 several ways to specify a command and a bool to indicate whether
7188 the command name and shortcut should be displayed in minibuffer
7189 (eventually, we could extend that to a finer bitmask like
7190 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7191 (dispatch): the pristine dispatch command which just, well,
7192 dispatchs! Note it still sets its result to minibuffer; I'm not
7195 * lyxfunc.h: remove setHintMessage
7197 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7199 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7201 * BufferView_pimpl.C (specialChar): delete new inset if we have
7202 not been able to insert it.
7204 * kbmap.C: revert to using int instead of kb_action, since all we
7205 are dealing with is pseudo-actions.
7207 * LyXAction.C (searchActionArg): change to return int instead of
7208 kb_action, since the result is a pseudoaction.
7210 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7212 * buffer.C (insertErtContents): Fix (partially) the font bug.
7214 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7216 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7217 as the other one is broken on my machine!
7219 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7222 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7224 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7226 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7227 reflect their actual use. Provide compatibility code for older lyxrc
7230 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7232 change names of popup font variables in line with the changes to lyxrc.C
7234 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7236 * buffer.C (asciiParagraph): avoid outputing a word twice after
7239 * lyxrc.C (getDescription): document that document_path and
7240 template_path can be empty.
7242 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7244 * LaTeXFeatures.C (getMacros):
7245 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7247 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7249 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7251 (getPackages): rename feature "floats" to "float". Use an array to
7252 iterate over 'simple' features (i.e. just a \usepackage). Add
7253 handling of "amsmath" (renamed from "amsstyle").
7255 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7257 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7260 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7262 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7263 FuncStaus::FuncStatus & FuncStaus::some_method().
7265 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7267 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7268 of the func_satus stuff. Edited and massaged in various ways by
7271 * lyxfunc.C (getStatus): use FuncStatus
7273 2002-01-08 Juergen Vigna <jug@sad.it>
7275 * text.C (nextBreakPoint): use function Inset::isChar().
7277 * paragraph.C (TeXOnePar): use function
7278 Inset::forceDefaultParagraphs.
7280 * buffer.C (latexParagraphs): use function
7281 Inset::forceDefaultParagraphs.
7283 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7285 * lyx_gui.C (init): set the style of the menu popups to
7286 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7288 2002-01-07 Juergen Vigna <jug@sad.it>
7290 * text.C (setHeightOfRow): small fix
7291 (prepareToPrint): don't look at alignment if we don't have the place
7294 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7296 * box.C: New file. Move the Box methods and functions out of box.h,
7297 following Lars' suggestion.
7299 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7301 * box.h: #include "support/LOstream.h", needed for inlined function.
7304 * lyxtextclasslist.C: added some using std declarations.
7306 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7308 * box.h: make signed dimensions to allow insets wider than
7309 the screen (bug #162)
7311 * BufferView_pimpl.C: add some insetHit debug
7313 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7315 * vc-backend.C: add FIXME
7317 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7319 * lyxfunc.C (getStatus): enable code for showing math font status
7322 2002-01-07 Juergen Vigna <jug@sad.it>
7324 * text.C (nextBreakPoint): removed debug output not needed anymore.
7326 2002-01-06 Juergen Vigna <jug@sad.it>
7328 * text.C (nextBreakPoint): fixed up this function we had this bug
7329 since ever but now hopefully we break row better.
7330 (insertChar): we have to check if an inset is the next char as it
7331 could now happen that a large inset is causing a break.
7333 2002-01-05 Juergen Vigna <jug@sad.it>
7335 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7336 if it doesn't like to be drawed.
7338 2002-01-04 Juergen Vigna <jug@sad.it>
7340 * BufferView2.C (lockInset): forgot to set a cursor.
7342 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7344 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7349 * form_maths_panel.C:
7350 * form_maths_panel.h:
7351 * form_maths_panel.fd: implemented sub- and super- buttons in math
7354 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7355 (or ^ space) to be used as in TeX (req'd by André).
7357 * lyxfunc.C: Allow ^ and _ again to be used both as
7358 super/subscript (mathed) and as themselves (in text).
7360 2002-01-03 Allan Rae <rae@lyx.org>
7362 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7363 "LyX" or the filename of the current buffer if it has one. This is a
7364 modified form of John Levon's patch.
7366 * XFormsView.C (setWindowTitle): also set icon title.
7368 * LyXView.h (setWindowTitle): signature changed.
7369 * XFormsView.h (setWindowTitle): ditto.
7371 2002-01-02 Juergen Vigna <jug@sad.it>
7373 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7375 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7377 * screen.C (topCursorVisible): introduce a temp var for
7378 text->cursor.row(), handle the case where this row is null. (kindo
7381 * text2.C (setCursor): add a couple of asserts.
7383 * paragraph.h (inset_iterator): add -> operator
7385 * paragraph.[Ch] (autoDeleteInsets): remove member function
7387 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7388 cursor pos correctly and handle inset deletion by itself.
7389 (insertErrors): move iterator declaration out of for expression
7391 * lyxtextclass.C: add <algorithm>
7393 * Makefile.am: added the new files to sources, removed layout.C
7395 * layout.C: removed file
7397 * layout.h: remove LYX_DUMMY_LAYOUT
7399 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7403 * lyxtextclass.[Ch]:
7404 * lyxtextclasslist.[Ch]: new files
7406 * include order changes to a lot of files, also changes because of
7409 2001-12-27 Juergen Vigna <jug@sad.it>
7411 * buffer.C (asciiParagraph): more fixes.
7413 * tabular.C (ascii): make ascii export support export of only the
7414 data separated by a column-delimiter.
7415 (ascii): better support for ascii export.
7417 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7419 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7421 * tabular_funcs.C: use a "using std::getline" instead of the
7422 previous fix from Angus (necessary for cxx + lyxstring)
7424 2001-12-24 Juergen Vigna <jug@sad.it>
7426 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7428 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7429 problems. First check a minipage also if we have some ert-contents
7430 (not only on par->size(), second set the right depth of the paragraph
7431 on the relink to the root-paragraph-list!
7433 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7434 which then did not anymore update the main paragraphs on undo/redo!
7436 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7438 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7439 code. Support all font-changing funcs (even those which are not in
7440 menu currently). Support for reporting font settings in
7441 mathed (disabled until Andre provides a function on mathed's side).
7443 * func_status.h (toggle): small helper function to set toggle
7446 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7448 * tabular_funcs.C: getline -> std::getline
7450 2001-12-21 Juergen Vigna <jug@sad.it>
7452 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7453 accessed and could be 0 (I couldn't generate this but it seems
7456 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7458 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7459 * tabular_funcs.h: here and include iosfwd
7461 2001-12-20 Juergen Vigna <jug@sad.it>
7463 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7464 inside inset but undo_par was.
7466 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7468 * Thesaurus.C: always include <config.h> in sources.
7472 * box.h: do not include <config.h> in header files
7474 * text.C (paintLastRow): remove unused variable
7476 * text.C (transformChar):
7478 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7481 * font.C (width): rewrite to use uppercase() instead of
7484 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7486 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7488 * lyxfind.C: clean up of find failure position change
7490 2001-12-20 Juergen Vigna <jug@sad.it>
7492 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7494 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7495 (TeXRow): added to LaTeX a single tabular row.
7496 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7497 (Latex): simplified and finally good LT-h/f support.
7498 (various_functions): just small adaptions for LT-h/f support.
7500 * tabular_funcs.[hC]: added and moved here all not classfunctions
7503 2001-12-19 Juergen Vigna <jug@sad.it>
7505 * tabular.[Ch]: better support for longtabular options (not finished
7508 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7510 * text.C (paintLastRow): use the label font instead of the font of
7511 the last character to compute the size of *_BOX. This makes more
7512 sense and avoids a crash with empty paragraphs.
7513 Use Painter::rectangle to draw EMPTY_BOX.
7515 2001-12-19 Juergen Vigna <jug@sad.it>
7517 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7518 the paragraphs if the replaced paragraph is not the first one!
7519 Tried to delete not used paragraphs but does not work yet so for
7520 now it's inside #ifdef's and by default off!
7522 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7524 * MenuBackend.C: include "lyx_main.h" instead of declaring
7525 lastfiles (actually was declared as LastFiles* instead of a
7528 2001-12-17 Juergen Vigna <jug@sad.it>
7530 * tabular.C (AppendColumn): applied John's fix
7532 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7536 * BufferView_pimpl.h:
7537 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7540 * box.h: new start of class for above
7542 * lyxfunc.C: ignore space-only minibuffer dispatches.
7543 Show the command name when it doesn't exist
7545 * minibuffer.C: don't add empty lines to the history
7547 * minibuffer.C: add a space on dropdown completion
7549 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7551 * text.C: fix line above/below drawing in insets
7553 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7555 * lyxlength.C (LyXLength): Initialize private variables.
7557 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7559 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7560 when inserting error insets.
7562 2001-12-13 Juergen Vigna <jug@sad.it>
7564 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7565 actually sometimes the before-paragraph.
7566 (setUndo): don't clear the redostack if we're not actually undoing!
7568 2001-12-06 Juergen Vigna <jug@sad.it>
7570 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7571 and fixed redoing of main paragraph, so we can use it now ;)
7573 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7575 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7577 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7580 2001-12-13 André Pönitz <poenitz@gmx.net>
7583 * undo_func.C: minor cleanup
7585 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7587 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7588 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7589 font in urw-fonts package which is marked as -urw-fontspecific and
7590 does not work (incidentally, changing the encoding in the
7591 fonts.dir of this package to -adobe-fontspecific fixes the
7594 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7595 is a crash when undoing first paragraph (Juergen, please take a
7596 look). THis does not mean the undo fix is wrong, just that it
7599 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7600 the (Paragraph*) version when needed instead of duplicating the
7603 * text.C (workWidth): use Inset::parOwner to find out where the
7604 inset has been inserted. This is a huge performance gain for large
7605 documents with lots of insets. If Inset::parOwner is not set, fall
7606 back on the brute force method
7608 * paragraph_pimpl.C (insertInset):
7609 * paragraph.C (Paragraph):
7610 (cutIntoMinibuffer): set parOwner of insets when
7611 inserting/removing them
7613 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7615 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7621 * mathed/formulabase.C:
7622 * mathed/math_cursor.[Ch]:
7623 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7626 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7628 * lyxlength.[Ch] (operator!=): new function
7630 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7632 * text.C (workWidth): use Inset::parOwner to find out where the
7633 inset has been inserted. This is a huge performance gain for large
7634 documents with lots of insets. If Inset::parOwner is not set, fall
7635 back on the brute force method
7637 * paragraph_pimpl.C (insertInset):
7638 * paragraph.C (Paragraph):
7639 (cutIntoMinibuffer): set parOwner of insets when
7640 inserting/removing them
7642 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7644 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7646 * tabular-old.C (getTokenValue):
7647 * tabular.C (getTokenValue):
7648 (write_attribute): new versions for LyXLength
7649 (everywhere): adjust the use of widths
7651 * tabular.h: change the type of widths from string to LyXLength
7653 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7655 * paragraph.C: fixed missing line number count when exporting
7656 Environments to LaTeX file
7658 * buffer.C: added informational message for checking line numbers.
7660 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7662 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7663 paragraph, do the 'double space' part, but not the 'empty
7666 * text.C (workWidth): small optimization
7667 (getLengthMarkerHeight): use minimal size for negative lengths.
7669 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7671 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7673 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7675 2001-12-11 André Pönitz <poenitz@gmx.net>
7678 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7680 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7682 * text2.C: keep selection on a setFont()
7684 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7686 * lyx_cb.C: another bv->text misuse, from insert label
7688 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7691 * kbsequence.C: re-instate nmodifier mask
7693 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7695 * lyx_main.h: make lyxGUI private.
7697 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7699 * lyxfind.C: place the cursor correctly on failed search
7701 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7703 * text.C (getLengthMarkerHeight): for small heights, the arrows
7704 are not always on top/bottom of the text
7705 (drawLengthMarker): smaller arrows; take the left margin in
7706 account; draw also vfills.
7708 (paintLastRow): remove special code for vfill and standard spaces,
7709 since everything is handled in drawLengthMarker now.
7711 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7713 * buffer.C (insertErtContents): try to handle font and language
7714 interaction a bit better.g
7716 * ColorHandler.C (updateColor): change the hash to cover the whole
7717 LColor enum, ws cleanup
7718 (getGCLinepars): ditto
7719 (getGCLinepars): only lookup in the linecache once.
7721 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7723 * iterators.C (operator++): Make the iterator more robust
7725 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7727 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7729 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7732 * text.C: better added space drawing
7734 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7737 * BufferView2.C: fix layout combo update on inset unlock
7739 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7741 * Makefile.am: don't compile unused files
7743 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7747 * LyXAction.C: remove old LFUN_LAYOUTNO
7749 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7751 * paragraph_pimpl.h:
7752 * paragraph_pimpl.C: isTextAt() doesn't need font param
7754 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7757 * lyxlex.C: little cleanup
7759 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7761 * BufferView_pimpl.C: fix insertAscii for insets
7763 2001-12-05 Juergen Vigna <jug@sad.it>
7765 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7766 set the right font on the "multi" paragraph paste!
7768 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7774 * lyxlength.C: remove out-commented code.
7790 * vc-backend.C: change "while(" to "while ("
7792 * lyxlength.[Ch]: add zero function to check if length is zero or
7794 * lyxgluelength.C: use it
7796 2001-12-05 Allan Rae <rae@lyx.org>
7798 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7799 Works for 2.95.3, from what I understand of Garst's reports this should
7800 work for other g++ versions. We're screwed if the abs(int) definition
7801 changed between bugfix releases of gcc.
7803 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7805 * text.C: fix chapter label offset !
7807 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7810 * text.C: fix hfill at end of line, clean up
7812 2001-12-04 Juergen Vigna <jug@sad.it>
7814 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7815 that we force an update of the inset and it's owners if neccessary.
7817 2001-12-03 Juergen Vigna <jug@sad.it>
7819 * text.C (rowLast): simplified code
7821 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7823 * lyxfunc.C: fix show options on timeout
7825 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7827 * screen.C (topCursorVisible): scroll half a page when the cursor
7828 reached top of bottom of screen
7830 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7832 * minibuffer.C: deactivate on loss of focus
7834 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7836 * vspace.[Ch] (operator!=): add operator.
7838 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7840 * BufferView_pimpl.C: refuse to open an inset when
7841 there's a selection.
7843 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7845 * BufferView_pimpl.C: allow to click on RHS of full row insets
7847 2001-11-30 Juergen Vigna <jug@sad.it>
7849 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7850 insets for undo reasons.
7852 2001-11-28 André Pönitz <poenitz@gmx.net>
7854 * vspace.[Ch]: cosmetical changes
7856 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7866 * kbsequence.C: part re-write of old kb code
7869 * WorkArea.C: remove Lgb_bug_find_hack
7871 2001-11-30 José Matos <jamatos@fep.up.pt>
7873 * buffer.C (makeDocBookFile): add a comment to point a hack.
7874 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7875 Fixed a double write of labels.
7877 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7880 * LaTeX.h Fixed bug in LaTeX class where it would not
7881 re-run latex if no depfiles were changed, but the .dvi was removed.
7883 2001-11-28 André Pönitz <poenitz@gmx.net>
7885 * all the files from the change on 2001/11/26:
7886 use lyx::layout_type instead of LyXTextClass::size_type
7887 use lyx::textclass_type instead of LyXTextClassList::size_type
7889 2001-11-29 Juergen Vigna <jug@sad.it>
7891 * text.C: added support for paragraph::isFreeSpacing()
7893 * buffer.C: same as above
7895 * paragraph.h: inserted isFreeSpacing() function to enable
7896 FreeSpacing inside InsetERT.
7898 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7899 of the paragraph's in the cut/copy buffer to 0!
7901 * text2.C (removeRow): remove the assert as it can!
7903 * lyxtext.h: added helper function firstRow returning firstrow and
7904 made firstrow private again.
7906 * BufferView2.C (lockInset): don't relock if we're already locked!
7908 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7910 (removeRow): added Assert::(firstrow)
7912 * debug.C: forgot to add INSETTEXT here.
7914 2001-11-28 Juergen Vigna <jug@sad.it>
7916 * sp_spell.C (initialize): changed error text to more general
7917 spellchecker command use (not only ispell!)
7919 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7921 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7923 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7925 * vspace.C: initialise lyxgluelength on failure
7927 2001-11-28 Allan Rae <rae@lyx.org>
7929 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7930 declaration & definition that looks like a function declaration.
7932 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7934 * BufferView2.C (copy):
7935 (copyEnvironment): do not clear the selection when doing a copy.
7937 * text.C (paintFirstRow): compilation fix
7939 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7941 * tabular.C (Latex): correct line count when writing latex.
7943 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7945 * paragraph_pimpl.h:
7946 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7949 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7953 * LColor.C: change vfillline->added_space
7955 * text.C: add markers and text for added space
7957 * vspace.C: fix comment
7959 2001-11-28 André Pönitz <poenitz@gmx.net>
7961 * paragraph.C: whitespace changes
7962 * all the other files from the change on 2001/11/26:
7963 change *::pos_type into lyx::pos_type
7965 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7967 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7968 language of the document when inserting error insets.
7970 2001-11-26 André Pönitz <poenitz@gmx.net>
7972 * BufferView_pimpl.[Ch]:
7980 * paragraph_pimpl.[Ch]:
7983 * text2.C: reduce header dependencies, introduce type for positions
7985 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7987 * <various>: change to use Alert.h
7989 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7991 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7992 when encountering an unknown token.
7993 (readLyXformat2): Show an error message if there were unknown tokens.
7995 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7998 * BufferView_pimpl.C:
8002 * text2.C: use par->isInset()
8004 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8006 * paragraph_pimpl.h:
8007 * paragraph_pimpl.C: cleanup
8009 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8011 * text2.C (removeRow):
8012 * text.C (setHeightOfRow): remove useless (and costly) call to
8015 2001-11-20 Allan Rae <rae@lyx.org>
8017 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8018 Now need Inset*::checkInsertChar() to return true for appropriate
8019 cases so that the characters in the minibuffer will actually be
8022 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8024 * text.C: change the order of the includes.
8025 (workWidth): initialize it at once.
8026 (workWidth): make maxw unsigned
8027 (setHeightOfRow): remove unused variable (inset)
8028 (selectSelectedWord): remove unused variable (inset)
8029 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8031 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8033 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8034 server is not running.
8036 (closeConnection): add debug info when server is disabled.
8038 * ColorHandler.C (getGCForeground): send debug message to GUI
8041 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8043 * kbmap.C (bind): modify because return conventions of
8044 kb_sequence::parse have changed.
8046 * kbsequence.C (parse): only ignore spaces and not any stupid
8047 control character. This avoids tests like s[i] <= ' ', which are
8048 guaranteed to fail with 8bit characters and signed chars.
8049 Change return code to string::npos when there have been no error
8050 (0 was a bad idea when error is at first character)
8052 2001-11-14 José Matos <jamatos@fep.up.pt>
8055 * buffer.C (simpleDocBookOnePar): removed unused argument.
8057 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8059 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8060 insets which are part of a word. Paragraph::isLetter takes care of
8061 that now. Use Paragraph::isInset to identify insets.
8062 (selectSelectedWord): do not test for hyphenation break.
8064 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8065 that protected spaces are considered as spaces.
8067 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8070 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8073 * lyxserver.C: fix it. and small cleanup.
8075 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8077 * BufferView_pimpl.C: use inline helpers
8080 * LaTeXFeatures.C: fix typos
8083 * Spacing.C: move spacing_string into class
8085 * ToolbarDefaults.C: move stuff into namespace anon
8087 * layout.h: update enum
8089 * lyxfunc.C: use better debug
8091 * minibuffer.h: fix typo
8095 * WorkArea.C: add and use Debug::WORKAREA
8099 * text2.C: code re-organisation, inline helpers
8101 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8103 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8104 std::vector.empty().
8106 2001-11-09 Allan Rae <rae@lyx.org>
8108 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8109 '\n's after tables. Tabular and ERT inset work now makes this no
8112 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8115 * minibuffer.C: fix crash, improve drop-down completion
8117 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8120 * lyxserver.C: invalidate fd's when doing endPipe()
8122 2001-11-08 José Matos <jamatos@fep.up.pt>
8124 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8125 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8128 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8130 2001-11-07 José Matos <jamatos@fep.up.pt>
8133 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8136 * buffer.C (sgmlOpenTag):
8137 * buffer.C (sgmlCloseTag): removed debug info.
8139 * buffer.h (sgmlOpenTag):
8140 * buffer.h (sgmlCloseTag): made public.
8142 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8144 * buffer.C (saveParamsAsDefaults):
8145 * lyx_cb.C (MenuLayoutSave): remove
8147 * LyXAction.C (init):
8149 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8151 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8153 * buffer.C (setPaperStuff): removed from here...
8155 * bufferparams.C (setPaperStuff): ... and moved there.
8157 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8161 * XFormsView.C: add support for drop-down completion
8163 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8165 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8168 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8170 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8173 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8175 * lyx_main.C: change ref to known bugs
8177 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8179 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8180 to work around older babel problems.
8182 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8184 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8186 2001-10-24 Juergen Vigna <jug@sad.it>
8188 * tabular-old.C (ReadOld): below variable changes reflected.
8190 * tabular.[Ch]: added ltType struct for longtable header/footer
8191 defines and changed all instances where they are used. Added
8192 future support for double top/bottom rows.
8194 2001-10-24 José Matos <jamatos@fep.up.pt>
8196 * buffer.h (docbookHandleCaption):
8197 * buffer.C (docbookHandleCaption): removed unused function.
8198 (makeDocBookFile): moved docbook supported version to v4.1.
8200 2001-10-24 José Matos <jamatos@fep.up.pt>
8203 * tabular.C (docbookRow): new function to export docbook code of a row.
8204 (DocBook): now honors the longtable flags.
8206 2001-10-23 José Matos <jamatos@fep.up.pt>
8209 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8210 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8212 * buffer.C (makeLinuxDocFile):
8213 (makeDocBookFile): reworked the preamble, more clean, and with
8214 support for lyx defined entities. Changed the document declaration
8215 to be more XML friendly.
8217 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8218 if we need to output XML that should be done with a filter.
8220 2001-10-22 Juergen Vigna <jug@sad.it>
8222 * sp_pspell.h (class PSpell): add alive function needed in the
8223 controller to see if the spellchecker could be started.
8225 2001-10-22 Juergen Vigna <jug@sad.it>
8227 * buffer.C (insertStringAsLines): modify the font for inserting
8228 chars in certain conditions by calling checkInsertChar(font).
8230 2001-10-19 Juergen Vigna <jug@sad.it>
8232 * text.C (workWidth): use getRow instead of wrong algorithm.
8233 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8235 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8240 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8242 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8244 * text.C (workWidth): do not search for the exact row when
8245 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8246 optimization for big documents.
8248 2001-10-18 Juergen Vigna <jug@sad.it>
8250 * text.C (workWidth): new function with added Inset * parameter.
8252 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8254 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8256 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8257 change return type of getColumnNearX.
8260 * text.C (changeRegionCase): use uppercase/lowercase instead of
8263 (rightMargin): simplify code by factoring out the uses of
8268 (appendParagraph): use Paragraph::size_type
8270 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8272 * vspace.C (asLatexString): add a missing break
8274 2001-10-15 Herbert Voss <voss@perce.de>
8276 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8278 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8280 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8283 2001-10-10 André Pönitz <poenitz@gmx.net>
8285 * lyxfunc.C: removed greek_kb_flag.
8287 2001-10-10 Herbert Voss <voss@perce.de>
8289 * lyx_main.C: delete global string help_lyxdir.
8291 2001-10-09 Herbert Voss <voss@perce.de>
8293 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8295 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8297 * lyx_main.C: added global string help_lyxdir.
8299 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8301 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8303 * lyxrc.C (set_font_norm_type): support iso8859-4
8305 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8307 * LaTeX.C (deplog): add another regex for MikTeX
8309 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8311 * lyxrc.C (set_font_norm_type): support iso8859-3
8313 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8315 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8317 * LaTeXFeatures.C: remove special case of french and index
8319 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8320 before \begin{document}). This solves several incompatibilities.
8322 2001-10-03 Garst Reese <reese@isn.net>
8324 * lyx_cb.C: change CheckTex error msg.
8326 2001-10-03 José Matos <jamatos@fep.up.pt>
8328 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8330 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8332 * .cvsignore: update
8334 * lyx_main.C (commandLineVersionInfo): use new style version info.
8336 * buffer.C (writeFile):
8339 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8341 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8343 * version.h: update to use stuff in version.C
8345 * version.C.in: new file. Contains version information determined
8346 at compile time. This is a merging of version.h and
8349 2001-10-03 Juergen Vigna <jug@sad.it>
8351 * BufferView_pimpl.C (update): don't change "dirty" status in
8354 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8356 * WorkArea.C (c-tor): re-position version string slightly.
8358 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8360 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8361 revert to previous code.
8363 WorkArea.[Ch]: (show, destroySplash): methods removed.
8365 WorkArea.C: rework code so that it's an amalgam of the codes before and
8366 after the splash screen was moved to WorkArea.
8368 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8371 * vspace.C (inPixels):
8374 * buffer.C (insertStringAsLines):
8375 (asciiParagraph): fix types to be large enough
8377 * lyxlex_pimpl.h: change member status from short to int
8379 * layout.h: fix type of endlabeltype
8382 * kbsequence.C (parse): change return type to string::size_type
8384 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8387 * Bullet.C (bulletSize):
8388 (bulletEntry): do not use short ints as parameters
8390 * BufferView2.C (insertLyXFile): change a char to an int.
8392 * WorkArea.C (WorkArea): remove unneeded floats in computation
8394 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8396 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8398 * paragraph.C (asString): Do not ignore newline/hfill chars when
8399 copying to the clipboard.
8401 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8403 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8404 after a multi-line inset.
8406 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8408 * paragraph.C (validate): Set NeedLyXFootnoteCode
8410 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8412 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8413 and decrease-error to decrease.
8415 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8417 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8418 it more readable (should be equivalent)
8420 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8422 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8424 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8426 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8427 of a cursor (row, etc.) after a character has been deleted
8428 (deleteEmptyParagraphMechanism): call the method above on _all_
8429 cursors held by the LyXText when a double space has been
8432 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8434 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8436 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8438 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8439 background. Use greyOut() and the new show() methods to toggle between
8440 the foreground and background. Add code to remove the splash after
8441 its initial showing.
8443 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8444 (create_forms): no longer call Dialogs::showSplash.
8446 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8448 * .cvsignore: add version_info.h
8450 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8452 * version_info.h.in: new file
8454 * Makefile.am: add version_info.h.in
8456 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8457 version_info.h instead of VERSION_INFO
8459 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8461 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8462 The ERT inset now returns string().
8464 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8466 * lyxtext.h, text.C (selectNextWord): renamed as
8467 selectNextWordToSpellcheck.
8469 * text.C (selectNextWordToSpellcheck): Modified to not select
8470 words inside an ERT inset.
8472 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8474 * lyx_cb.C (MenuLayoutSave): change a bit the question
8476 * sp_base.h: include <sys/types.h>
8478 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8480 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8482 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8484 * several files: fix typos in user-visible strings
8486 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8488 * text2.C (pasteSelection): do not set the selection, since it
8489 will be cleared later. Actually, the intent was to fix the way the
8490 selection was set, but I figured rmoving the code was just as good.
8492 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8494 * FontLoader.C (available): Check if font is available without
8497 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8499 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8501 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8503 * lyxrc.[Ch]: added display_graphics variable and associated code.
8505 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8507 * bufferparams.C (hasClassDefaults): new method. Returns true if
8508 the buffer parameters correspond to known class defaults
8510 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8512 * XFormsView.C (show): set minimum size to the main window.
8514 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8516 * text2.C (copySelection):
8518 * lyxfind.C (LyXReplace):
8519 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8520 LyXText::selectionAsString.
8522 * paragraph.C (asString): add "label" argument to the second form
8524 * text2.C (selectionAsString): add "label" argument and pass it to
8525 Paragraph::asString.
8527 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8529 * lyx_main.C (commandLineHelp): remove version information
8531 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8533 * lyx_main.C: add -version commandline option
8535 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8537 * paragraph.h: make the optional constructor arg required instead.
8538 some modifications to other files because of this.
8540 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8542 * lyxserver.C (C_LyXComm_callback): make it static
8544 * lyx_main.C (error_handler): make it static
8546 * lyx_gui.C (LyX_XErrHandler): make it static
8548 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8550 * WorkArea.C: make the extern "C" methods static.
8552 * Makefile.am (lyx_LDADD): simplify
8554 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8556 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8557 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8559 * LyXAction.C (init):
8560 * lyxfunc.C (dispatch): associated code removal.
8562 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8564 * lyxfont.h (isSymbolFont): shut off warning
8566 * text.C (setHeightOfRow):
8567 (getVisibleRow): fix crash with empty paragraphs which have a
8570 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8572 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8575 2001-09-04 José Matos <jamatos@fep.up.pt>
8578 * tabular.C (docbook): rename docBook method to docbook.
8580 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8582 * Makefile.am: add dependencies to main.o.
8584 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8586 * FontLoader.C (available): Return false if !lyxrc.use_gui
8588 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8590 * FontInfo.C (query):
8591 * converter.C (view):
8592 * importer.C (Import):
8593 * exporter.C (Export): Can not -> cannot.
8595 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8597 * BufferView_pimpl.C: allow to create index inset even if
8600 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8602 * buffer.C (getLists): replace boost::tie code with an explicit pair
8603 as boost::tie can break some compilers.
8605 * iterators.h: Added a std:: declaration to the return type of
8608 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8610 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8613 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8615 * iterators.[Ch]: New files. Provide paragraph iterators.
8617 * buffer.C (changeLanguage): Use paragraph iterators.
8618 (isMultiLingual): ditto
8620 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8622 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8624 * FontLoader.C: Support for cmr font.
8626 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8628 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8629 (available): New method.
8631 * FontInfo.C (getFontname): Use scalable fonts even when
8632 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8635 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8637 * converter.C (Formats::view): reverted! Incorrect fix.
8639 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8641 * converter.C (Formats::view): only output the -paper option
8642 if the dvi viewer is xdvi, thereby fixing bug #233429.
8644 2001-08-23 Herbert Voss <voss@perce>
8646 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8648 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8650 * Spacing.h (Spacing): Set space to Default on in the default
8653 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8655 * vc-backend.h (RCS::versionString): add RCS to version
8656 (CVS::versionString): add CVS to version
8658 * vc-backend.C (scanMaster): do not add CVS to version.
8659 (scanMaster): do not add RCS to version
8661 * lyxvc.C (versionString): new method
8663 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8665 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8667 * Spacing.C (set): initialize fval
8669 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8671 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8674 2001-08-16 Juergen Vigna <jug@sad.it>
8676 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8678 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8680 * BufferView_pimpl.C:
8683 * text2.C: setParagraph takes linespacing now
8685 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8687 * LyxAction.C: add internal LFUN_CITATION_INSERT
8689 * LyXView.C: actually apply fix
8691 * bufferlist.C: fix open non-existent file
8693 * lyxfind.C: fix indentation
8695 * lyxfunc.C: remove unneeded assert, fix typo
8697 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8699 * MenuBackend.C: use "Floatname List"
8701 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8703 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8704 when converting LaTeX layout to insetERT.
8705 Generate a non-collapsed float when reading old float
8707 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8709 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8712 2001-08-13 Juergen Vigna <jug@sad.it>
8714 * text.C (fill): return 0 instead of 20 as this seems to be the more
8717 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8719 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8722 2001-08-13 Juergen Vigna <jug@sad.it>
8724 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8726 (SearchBackward): comment out the unlocking of the inset_owner this
8727 should not be needed!
8729 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8731 * Many files: Remove inherit_language, and add latex_language
8733 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8736 2001-08-10 Juergen Vigna <jug@sad.it>
8738 * text.C (prepareToPrint): fixed hfill-width in draw!
8740 * BufferView2.C (selectLastWord): save the selection cursor as this
8741 now is cleared in the function LyXText::clearSelection!
8743 2001-08-08 Juergen Vigna <jug@sad.it>
8745 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8746 BACKSPACE type functions.
8748 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8749 is only cutted from the document but not put in the cut-buffer, where
8750 still the old stuff should be.
8752 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8754 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8756 * tabular.C (SetWidthOfCell): fixed special case where the width
8758 (LeftLine): handle '|' in align_special.
8760 (LeftAlreadyDrawed): ditto
8761 (SetWidthOfCell): ditto
8763 2001-08-07 Juergen Vigna <jug@sad.it>
8765 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8767 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8769 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8770 * lyxlex.[hC]: ditto
8772 2001-08-06 Juergen Vigna <jug@sad.it>
8774 * text.C (getVisibleRow): fix up row clearing a bit.
8776 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8778 * minibuffer.C: make sure the X server sees the changes in the input.
8780 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8782 * paragraph.C (getFont): split into...
8783 (getLabelFont): this
8784 (getLayoutFont): and this
8785 * paragraph_pimpl.C (realizeFont): calling this
8787 * text2.C (getFont): split into...
8788 (getLayoutFont): this
8789 (getLabelFont): and this
8790 (realizeFont): all three calling this
8792 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8795 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8797 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8799 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8801 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8802 layouts from the Quote inset insertion.
8804 2001-08-03 Juergen Vigna <jug@sad.it>
8806 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8808 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8809 only if status not is already CHANGED_IN_DRAW (second level).
8811 * text.C (draw): don't set the need_break_row when inside an
8814 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8816 * buffer.C (parseSingleLyXformat2Token): handle more latex
8819 * bufferview_funcs.[hC]: change function names to
8820 begin with small char, adjust other files.
8822 2001-08-02 André Pönitz <poenitz@gmx.net>
8825 BufferView_pimpl.C: remove broken special code for math-greek
8827 2001-08-02 Juergen Vigna <jug@sad.it>
8829 * BufferView_pimpl.C (update): redone this function so that we
8830 update the text again if there was a CHANGE_IN_DRAW.
8832 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8833 (drawFromTo): added a new internal bool which is used by draw() and
8835 (general): some cursor drawing problems fixed.
8837 2001-08-01 Juergen Vigna <jug@sad.it>
8839 * lyxfind.C (LyXFind): fixed
8840 (SearchForward): ditto
8841 (SearchBackward): ditto
8843 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8844 spurius drawing of the cursor in the main area.
8846 * text2.C (status): small fix which could lead to a segfault!
8847 (clearSelection): remove unneeded BufferView param.
8849 2001-08-01 André Pönitz <poenitz@gmx.net>
8851 * lyxfunc.C: small change due to changed mathed interface
8853 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8855 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8857 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8859 * lyxfunc.c: fail gracefully if file doesn't exist
8864 * BufferView_pimpl.C: IsDirWriteable() proto changed
8866 * LyXView.C: fix updateWindowTitle() to store the last title
8868 2001-07-31 Juergen Vigna <jug@sad.it>
8870 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8871 the font (wrong since using of Paragraph::highestFontInRange).
8873 * paragraph.C (highestFontInRange): added a default_size parameter.
8875 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8876 (setHeightOfRow): reformat
8878 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8880 * converter.[hC] + affected files: move to (inital-char)lowercase
8883 * ParagraphParameters.C (ParagraphParameters): remove commented code
8885 * PainterBase.[Ch]: remove commented code
8887 * LaTeXFeatures.h: add "bool floats" for float.sty
8889 * LaTeXFeatures.C (LaTeXFeatures): init floats
8890 (require): handle float
8891 (getPackages): do it with floats
8893 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8895 * BufferView_pimpl.C (Dispatch): improve handling of
8896 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8898 * commandtags.h: #include lyxfont.h here temporarily to avoid
8901 * bufferlist.h: include LString.h here.
8903 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8905 * text2.C (getStringToIndex): new method.
8907 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8909 * *: Reduced header file dependencies all over.
8911 2001-07-30 Baruch Even <baruch@lyx.org>
8913 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8915 2001-07-29 Baruch Even <baruch@lyx.org>
8917 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8919 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8921 * ParameterStruct.h (endif): add a default constructor to make
8922 sure that all variables is initialized.
8924 * ParagraphParameters.C (ParagraphParameters): adjust
8926 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8928 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8929 index; also, check that there is something to index, and that it
8930 does not span over several paragraphs.
8931 (doubleClick): use WHOLE_WORD_STRICT for double click.
8933 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8935 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8938 2001-07-26 Baruch Even <baruch@lyx.org>
8940 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8941 an InsetFig figure, backwards compatible reading of old figure code.
8943 2001-07-27 Juergen Vigna <jug@sad.it>
8945 * text2.C: font.realize function adaption.
8947 * text.C (draw): add a warnings lyxerr text if needed.
8949 * layout.C: font.realize function adaption.
8951 * language.C: add inherit_language and implement it's handlings
8953 * bufferview_funcs.C (StyleReset): remove language parameter from
8954 font creation (should be language_inherit now).
8956 * bufferparams.C (writeFile): handle ignore_language.
8958 * paragraph.C (getFontSettings): the language has to be resolved
8959 otherwise we have problems in LyXFont!
8961 * lyxfont.C (lyxWriteChanges): added document_language parameter
8962 (update): removed unneeded language parameter
8964 * paragraph.C (validate): fixed wrong output of color-package when
8965 using interface colors for certain fonts in certain environments,
8966 which should not seen as that on the final output.
8968 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8970 * BufferView_pimpl.C:
8975 * LyXAction.C: add thesaurus support
8978 * lyxfind.C: add "once" parameter, for thesaurus, to not
8979 move to the next match
8981 2001-07-26 Juergen Vigna <jug@sad.it>
8983 * lyxfont.C (realize): honor ignore_language too!
8986 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8988 * text.C (draw): one place more for ignore_language to not draw
8991 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8993 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8995 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8997 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8998 the minipage conversion problem.
9000 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9002 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9005 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9007 * BufferView.h: don't forward declare WorkArea
9009 * BufferView.C: don't include WorkArea.h
9011 2001-07-25 André Pönitz <poenitz@gmx.net>
9015 * lyxfunc.C: new LFUN 'math-space'
9017 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9019 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9021 * text2.C (toggleInset): call open/close
9023 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9025 * lyxfunc.C (dispatch): add debug for the disabled case
9027 * font.C (buttonText): make similar to rectText
9029 * buffer.C (readInset): comment out parsing of insetlist and
9032 * PainterBase.C (rectText): small correction
9034 * BufferView_pimpl.C: comment out insettheorem and insetlist
9035 * LyXAction.C: ditto
9036 * commandtags.h: ditto
9038 2001-07-24 Juergen Vigna <jug@sad.it>
9040 * text.C (draw): honor the ignore_language.
9042 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9044 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9046 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9049 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9051 * lyxtext.h: remove unused (and unimplemented) methods
9053 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9055 * text.C (getVisibleRow): honor background color
9058 * Painter.h: remove default color argument for fillRectangle
9060 * text.C (backgroundColor): new method
9062 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9064 * text.C (getVisibleRow): adjust
9066 * font.[Ch] (rectText): new method, metrics
9067 (buttonText): new method, metrics
9069 * PainterBase.[hC]: make rectText and buttonText always draw and take
9072 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9074 * ToolbarDefaults.C (read):
9075 * MenuBackend.C (read): allow escaping in all strings
9077 * BufferView_pimpl.C (insertAndEditInset): new method.
9078 (Dispatch): use insertAndEditInset whenever appropriate.
9080 * BufferView_pimpl.C (insertNote): removed
9082 * BufferView_pimpl.C (smartQuote): new method, moved from
9083 BufferView; if an insetquote cannot be inserted, insert a '"'
9086 * BufferView2.C: remove insertCorrectQuote();
9088 * lyxfunc.C (getStatus): Add support for all remaingin
9091 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9093 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9094 command (necessary to pass " as parameter of self-insert.
9096 * text.C (selectWordWhenUnderCursor):
9097 (selectWord): add word_location parameter
9098 (selectWordWhenUnderCursor): same + remove special code for word
9100 (selectNextWord): use kind() to guess type of insetspecialchar,
9103 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9104 (insertErtContents): create ert insets as collapsed.
9105 (readInset): better compatibility code for Info inset.
9107 2001-07-20 Juergen Vigna <jug@sad.it>
9109 * lyxfunc.C (dispatch): use always LyXFind now!
9111 * text2.C (init): add a reinit flag so that the LyXText can be
9112 reinited instead of deleted and reallocated (used in InsetText).
9114 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9120 2001-07-18 Juergen Vigna <jug@sad.it>
9122 * text.C (selectNextWord): handle insets inside inset by calling
9123 always the bv->text functions so that we can go up the_locking_inset!
9125 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9126 in strange locations when inside an inset!
9128 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9129 handling to include insets.
9131 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9133 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9135 * LyXAction.C (init):
9137 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9138 LIGATURE_BREAK, since the name is so stupid.
9140 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9142 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9145 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9147 * sp_form.[Ch]: remove.
9149 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9151 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9154 * src/buffer.C (readInset): ditto.
9156 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9158 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9159 menuSeparator(), endOfSentenceDot(), ldots() and
9160 hyphenationPoint(), which are therefore removed.
9161 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9163 * LyXAction.C (init):
9164 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9166 * paragraph.C (getWord): removed.
9168 * BufferView_pimpl.C (Dispatch): use last word or selection for
9169 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9171 * lyx_main.C (queryUserLyXDir): do not ask before creating
9172 user_dir, except if it has been named explicitely.
9174 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9176 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9177 a document of zero size.
9179 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9181 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9182 approriately in the c-tor and in require().
9183 (getPackages): output the appropriate LaTeX for natbib support.
9185 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9186 variables "use_natbib" and "use_numerical_citations" when reading the
9188 (readInset): read the various natbib cite commands.
9189 (validate): white-space change.
9191 * bufferparams.[Ch]: new variables "bool use_natbib" and
9192 "bool use_numerical_citations".
9193 (writeFile): output them in the LyX file.
9195 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9197 * lyxfunc.C (getStatus): add support for all the inset insertion
9200 * text2.C (insertInset):
9201 * paragraph.C (insetAllowed):
9202 * BufferView_pimpl.C (insertInset): update to take in account the
9203 renaming of insertInsetAllowed
9205 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9207 * text2.C (getInset): new method. returns inset at cursor position.
9209 * BufferView_pimpl.C (Dispatch): changes because of this.
9211 * LyXAction.C (init): rename open-stuff to inset-toggle.
9213 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9215 * text2.C (toggleInset): renamed from openStuff; use
9218 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9220 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9222 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9224 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9226 * buffer.C (readLyXformat2): Add filename to the error dialog
9228 2001-07-18 Juergen Vigna <jug@sad.it>
9230 * tabular.C (GetCellNumber): put an assert here instead of the check!
9232 2001-07-17 Juergen Vigna <jug@sad.it>
9234 * BufferView_pimpl.C (toggleSelection): adapted too.
9236 * text.C (selectNextWord): adapted for use with insets.
9237 (selectSelectedWord): ditto
9239 2001-07-17 Juergen Vigna <jug@sad.it>
9241 * sp_spell.C (PSpell): fix initialitation order.
9243 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9245 * paragraph.C: spacing
9247 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9249 * sp_spell.C: repair language selection for pspell
9251 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9253 * lyxfunc.h: change more methods to begin with lower char.
9255 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9257 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9258 for unknown layouts.
9260 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9262 * buffer.C (readLyXformat2): Generate an error dialog if there are
9265 2001-07-16 Juergen Vigna <jug@sad.it>
9267 * sp_spell.C: always compile ISpell part.
9269 * lyxrc.C: added use_pspell entry and it's handling.
9271 2001-07-13 Juergen Vigna <jug@sad.it>
9273 * sp_spell.C: removed double includes.
9275 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9277 Consistent use of Lsstream.h:
9278 * Lsstream.h: added using std::stringstream for consistencies sake.
9280 * buffer.C: removed using std::stringstream
9282 * lyxfont.C (stateText):
9283 * paragraph.C (asString):
9284 * text.C (selectNextWord, selectSelectedWord):
9285 * text2.C (setCounter):
9286 * vspace.C (asString, asLatexString):
9287 std::ostringstream -> ostringstream.
9289 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9291 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9292 * commandtags.h: add LFUN_HELP_ABOUTLYX
9293 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9295 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9297 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9299 * lyx_gui_misc.C: remove spellchecker
9300 * lyxfunc.C: showSpellchecker
9302 * sp_ispell.h: added
9303 * sp_pspell.h: added
9305 * sp_form.[Ch]: removed
9306 * spellchecker.[Ch]: removed
9308 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9310 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9312 (simpleTeXSpecialChars): Simply print the input character without
9313 any special translation if pass_thru is set.
9315 * layout.h: Added bool pass_thru to layout class for being able to
9316 implement pass through of a paragraph for Literate Programming.
9318 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9319 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9320 * layout.C (Read): add "passthru" to list of layout tags and add
9321 code to set the pass_thru boolean when it is read.
9323 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9325 * trans_decl.h: remove allowed from KmodInfo
9327 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9331 * paragraph_pimpl.C (erase): use boost::prior
9333 * Painter.C (text): use data() instead of c_str() when length is
9335 * WorkArea.C (putClipboard): ditto
9336 * font.h (width): ditto
9338 * BufferView2.C: use it-> instead of (*it). for iterators
9340 * paragraph_pimpl.C: ditto
9341 * paragraph.C: ditto
9342 * minibuffer.C: ditto
9347 * converter.C: ditto
9349 * Variables.C: ditto
9350 * TextCache.C: ditto
9351 * MenuBackend.C: ditto
9352 * LyXAction.C: ditto
9354 * FloatList.C: ditto
9356 * ColorHandler.C (LyXColorHandler): ditto
9358 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9360 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9362 * text2.C (openStuff): reintroduce this method (which had been
9363 nuked in NEW_INSETS frenzy).
9365 * lyxfunc.C (Dispatch): when an action has not been handled, use
9366 its name in the error message, not its number.
9368 * paragraph.C (inInset): change method name to begin with lowercase.
9371 * text2.C: updates because of this.
9373 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9375 * ToolbarDefaults.C (add): add spaces in error message
9377 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9379 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9380 (readLyXformat2): rename return_par to first_par, use lyxlex's
9381 pushToken and remove the manual push handling.
9382 (parseSingleLyXformat2Token): add another ert comp. variable:
9383 in_tabular, rename return_par to first_par. handle newlines better
9385 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9387 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9389 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9391 * text2.C (getParFromID): removed
9393 * buffer.C (getParFromID): new method moved form lyxtext.
9394 * BufferView2.C (insertErrors): adjust
9395 (setCursorFromRow): adjust
9396 * BufferView_pimpl.C (restorePosition): adjust
9397 * lyxfunc.C (Dispatch): adjust
9398 * undo_funcs.C (textUndo): adjust
9400 (textHandleUndo): adjust
9401 (textHandleUndo): adjust
9403 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9405 * buffer.C: up' the LYX_FORMAT
9407 * lyxfont.h: turn NO_LATEX on as default
9409 * buffer.C (insertErtContents): new methods of tex style compability.
9410 (parseSingleLyXformat2Token): use it several places.
9411 * tabular.C (OldFormatRead): and here
9413 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9415 * text2.C: remove some commented code.
9418 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9419 * trans.C: changes because of the above.
9421 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9423 * text2.C (setCounter): Fix counters bug with bibliography layout.
9425 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9427 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9428 own member functions
9429 (simpleTeXSpecialChars): ditto
9431 2001-07-06 Juergen Vigna <jug@sad.it>
9433 * a lot of files: changed the access to LyXText::status and the
9434 call of undo-functions.
9436 * undo.[Ch]: added a inset_id to the undo informations.
9438 * undo_funcs.[Ch]: added and moved here all undo functions.
9440 * lyxtext.h: give the status enum a weight, made status_ a private
9441 variable and made accessor functions for it, removed the whole bunch
9442 of undo-functions as they are now in their own file, make some
9443 functions publically available. Added function ownerParagraph with
9446 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9447 made InInset() a const function, added getParFromID() function.
9449 * buffer.[Ch]: added const version for inset_iterator functions,
9450 added getInsetFromID() function.
9452 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9453 changed undo functions for new version.
9455 2001-07-05 Juergen Vigna <jug@sad.it>
9457 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9458 unknow mechanism does not call the proper constructor but only this
9459 one also if I request the other!?
9461 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9463 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9465 * text2.C (LyXText): use initialization lists.
9467 * lyxtext.h (Selection): initialize set_ and mark_
9468 (init): remove method
9470 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9472 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9474 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9476 * screen.[Ch]: change method names to begin with lowercase
9478 * BufferView_pimpl.C (updateScrollbar): simplify further and
9479 hopefully make it a bit faster.
9481 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9483 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9484 calling directly xforms functions.
9486 * Painter.C (Painter):
9487 * lyx_cb.C (MenuWrite):
9488 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9491 * lyx_gui.C: remove bogus guiruntime extern declaration.
9493 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9495 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9497 (redoDrawingOfParagraph): ditto
9498 (redoParagraphs): ditto
9499 (cutSelection): don't create a object for CutAndPaste use the
9500 static method directly
9501 (pasteSelection): ditto
9503 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9506 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9508 * modifications to some other files because of this.
9510 * Makefile.am (lyx_SOURCES): add XFormsView
9512 * XFormsView.[Ch]: new files
9514 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9515 the main window. Move the gui dependent stuff to XFormsView
9517 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9519 * tabular.C (GetCellInset): update cur_cell also in the row/col
9520 version of this function.
9522 * lyxfunc.C: no need to include figure_form.h here.
9528 * lyxvc.C: no need to include forms.h here.
9530 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9532 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9534 * lyxfunc.C (Dispatch):
9536 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9537 constructor argument.
9539 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9541 * paragraph.C (Paragraph): dont't clear, and just set layout.
9542 (makeSameLayout): use params's copy contructor.
9544 * ParagraphParameters.[Ch] (makeSame): delete method
9546 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9548 * Variables.[Ch]: fix indentation, rename set to isSet
9550 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9552 * lyxfunc.C (Dispatch): fix typo
9554 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9556 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9559 * bufferlist.C: include assert.h for emergencyWrite().
9561 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9563 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9564 give up at last (bug #425202) !
9566 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9572 * spellchecker.C: strip spellchecker options and bring up
9573 preferences tab instead
9575 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9577 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9578 the istringstream constructor
9580 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9582 * paragraph.C (getLayout): fix return value
9584 * paragraph.h: do not declare getLayout as inline.
9586 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9588 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9590 * lyxcursor.h (operator<): new func
9591 (operator>): new func
9592 (operator>=): new func
9593 (operator<=): new func
9595 * text.C (changeCase): use selection.start and selection.end
9596 (changeRegionCase): require from to be <= to. Require par to be a
9599 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9601 2001-06-27 Juergen Vigna <jug@sad.it>
9603 * text.C (cursorLeftOneWord): changed to return the cursor and added
9604 overlay with BufferView * parameter which calls this one.
9606 (selectWord): use new getWord function.
9607 (changeCase): renamed from changeWordCase as and extended to work
9610 * lyxtext.h: added enum word_location
9612 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9613 changeCase as this operates now also on selections.
9615 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9617 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9619 * many files: send debug output to Debug::INFO instead of
9622 * converter.C (View):
9624 (Move): send debug output to Debug::FILES instead of console.
9626 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9628 * lyxfunc.C (getStatus): use func_status
9630 * func_status.h: new header, describing the results of
9633 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9636 2001-06-25 The LyX Project <jug@sad.it>
9638 * buffer.C (sgmlOpenTag):
9640 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9642 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9644 * text2.C: remove some dead code
9646 * tabular.C (GetCellInset): store the last cell checked (gotten)
9648 * tabular.h: add the helper for the speedup
9650 * lyxtext.h: remove some dead code
9652 2001-06-26 The LyX Project <Asger>
9654 * paragraph.C: Change export to LaTeX of alignment to
9655 \begin{center} and family for better roundtrip work with reLyX.
9657 * Tune the math drawing a bit.
9659 2001-06-25 The LyX Project <Asger>
9661 * LColor.C (LColor): New color for math background. New color
9664 2001-06-25 The LyX Project <jug@sad.it>
9666 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9669 * bufferlist.C (newFile): do not restrict to files ending with
9672 * BufferView_pimpl.C (MenuInsertLyXFile):
9674 2001-06-24 The LyX Project <jug@sad.it>
9676 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9679 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9681 * lyxtext.h: rename most methods to begin with a small char.
9682 Lots of changes because of this.
9684 * paragraph.C (Paragraph): do not call fitToSize
9685 (erase): call Pimpl::erase
9686 (insertChar): call Pimpl::insertChar
9687 (insertInset): call Pipl::insertInset
9688 (breakParagraph): do not call fitToSize
9689 (breakParagraphConservative): do not call fitToSize
9690 (fitToSize): remove method
9692 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9694 2001-06-24 The LyX Project <Asger>
9696 * Fix Qt compilation^2
9698 2001-06-24 The LyX Project <jug@sad.it>
9700 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9701 depthHook(getDepth()-1).
9704 * ParagraphParameters.h:
9705 * ParameterStruct.h: change type of depth to unsigned int ==
9706 depth_type. Many adaptations to other files before of that.
9708 2001-06-24 The LyX Project <Asger>
9710 * Fix Qt compilation.
9712 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9714 * paragraph.h: renamed several methods to begin with small letter.
9715 several changes to many parts of the code because of this.
9717 2001-06-23 The LyX Project <jug@sad.it>
9719 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9720 rewritten to discard all double spaces when KeepEmpty is off
9721 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9722 to only handle newlines but not fiddle with spaces and friends.
9724 * lyxfunc.C (MenuNew): when doing 'new from template', use
9725 template_path as default directory
9727 2001-06-23 The LyX Project <Asger>
9729 * Clean-up of header file includes all over
9730 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9732 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9734 * paragraph.h: renamed from lyxparagraph.h
9736 2001-06-23 Asger <lyx@violet.home.sad.it>
9738 * Buffer.h: Removed Buffer::resize
9739 * BufferList.h: Removed BufferList::resize
9740 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9741 the document lazily when we change the width, or the font settings.
9743 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9745 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9747 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9749 * buffer.h: remove out of date comment
9751 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9754 * screen.C: fix "theoretical" GC leak
9756 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9758 * LaTeX.C (scanAuxFile):
9759 (deplog): remove trailing \r when reading stream (useful under
9762 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9764 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9765 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9766 and BufferView::theLockingInset(Inset*), so should use them and not
9767 access bv_->text->the_locking_inset directly.
9769 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9771 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9774 * tex-defs.h: remove old unused file
9776 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9778 * BufferView_pimpl.C: fix typo, remove minibuffer message
9779 when buffer has loaded
9781 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9783 * lyxfunc.C (Dispatch): use stringstream
9784 (MenuNew): use stringstream
9785 (Open): use stringstream
9787 * importer.C (Import): use stringstream
9789 * bufferview_funcs.C (CurrentState): use stringstream
9791 * LaTeX.C (run): use stringstream
9793 * BufferView_pimpl.C (savePosition): use stringstream
9794 (restorePosition): use stringstream
9795 (MenuInsertLyXFile): use stringstream
9797 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9810 * vspace.C: removed // -*- C++ -*- as first line.
9813 * version.h: added // -*- C++ -*- as first line.
9815 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9817 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9819 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9822 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9824 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9827 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9829 * gettext.C: include LString.h even when --disable-nls is on.
9831 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9833 * converter.h (Get): changed argument type from int to
9834 FormatList::size_type to avoid unnecessary conversion.
9836 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9839 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9841 * gettext.h: include LString.h even when --disable-nls is on.
9843 2001-06-07 Juergen Vigna <jug@sad.it>
9845 * text.C (BreakAgain): subst spaces with tabs.
9847 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9848 (resizeInsetsLyXText): set force on resizeLyXText.
9850 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9852 * gettext.h (gettext_init):
9853 (locale_init): use a real definition instead of a macro
9855 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9857 * Bufferview_pimpl.C:
9859 * LColor.C: further lcolor tidies
9861 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9863 * BufferView_pimpl.C (updateScrollbar): simplify.
9865 * BufferView2.C: don't include insets/insetinfo.h, change
9866 prototype for insertInset and call the Pimpl version. let
9867 updateInset call Pimpl version.
9869 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9870 gotoInset to BufferView::Pimpl
9872 2001-06-01 Juergen Vigna <jug@sad.it>
9874 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9875 inside a LockingInset (is the update needed at all?).
9877 2001-05-31 Juergen Vigna <jug@sad.it>
9879 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9880 here not the old one otherwise how should we compare it afterwards
9883 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9888 * FontInfo.C: bring C functions into global namespace when
9891 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9893 * LString.h: make sure config.h has been loaded before LString.h.
9895 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9896 (one for each char read by EatLine!).
9898 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9901 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9903 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9904 to the same as the par we break from
9906 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9908 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9910 * MenuBackend.C (expand): also create menu entries for wide
9911 versions of the floats.
9913 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9915 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9917 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9918 frontends/Makefile.am
9924 * tabular.C (getTokenValue): add std::
9926 * tabular-old.C (getTokenValue): add std::
9927 (getTokenValue): ditto
9928 (getTokenValue): ditto
9930 * screen.C (ToggleSelection): adjust
9932 * lyxtext.h: put selection cursors inside a Selection struct.
9934 * lyxfunc.C (moveCursorUpdate): adjust
9936 * lyxfont.C (latexWriteStartChanges): add std::
9940 * font.h: delete with(char const *, LyXFont const &)
9942 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9944 * FontInfo.C (getFontname): add std::
9946 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9947 (workAreaButtonPress): adjust
9948 (tripleClick): adjust
9950 (moveCursorUpdate): adjust
9953 * BufferView2.C (gotoInset): adjust
9955 2001-05-30 Juergen Vigna <jug@sad.it>
9957 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9958 to check pspell I add this as default as I now have new pspell
9959 libraries and they seem to use this.
9961 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9963 * text2.C (CutSelection): make the cursor valid before the call to
9966 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9968 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9969 relied on 0 terminated strings and other horrors. Bug found due to
9970 the new assert in lyxstring!
9972 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9975 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9977 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9980 * lyxfunc.C (processKeySym): change method of getting to the
9983 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9984 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9985 * BufferView_pimpl.[Ch]: here as private methods.
9987 2001-05-28 Juergen Vigna <jug@sad.it>
9989 * text.C (SetHeightOfRow): added the update() call again as it is
9990 needed to initialize inset dimensions!
9992 2001-05-16 Juergen Vigna <jug@sad.it>
9994 * text2.C (SetCharFont): Add new function with BufferView * and
9995 bool toggleall parameters for setting insets internal fonts.
9996 (SetFont): Freeze the undo as we may change fonts in Insets and
9997 all this change should be inside only one Undo!
9999 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10000 setting font's in insets as for them we have the SetFont function!
10002 2001-05-15 Juergen Vigna <jug@sad.it>
10004 * text2.C (ClearSelection): to be sure we REALLY don't have any
10007 * tabular.C (TeXCellPreamble): fixed the left border problem for
10010 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10012 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10015 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10017 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10018 LFUN_BREAKPARAGRAPH.
10020 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10021 help test to "internal only", similar for LFUN_INSERT_URL
10023 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10024 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10025 auto_region_delete and deadkeys.
10027 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10030 * LColor.C: remove some dead entries, tidy a little
10032 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10034 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10036 (Dispatch): implement LFUN_ESCAPE
10038 * commandtags.h: add LFUN_ESCAPE
10040 * LyXAction.C (init): add entry for LFUN_ESCAPE
10042 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10043 Remove commented code.
10044 (insertNote): moved here
10045 (open_new_inset): moved here
10047 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10050 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10052 * kbmap.C (findbinding): clean it up and make it work correctly.
10054 * lyx_main.C (init): do not pass argc and argv as parameters
10056 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10058 * buffer.C: fix path for OS/2 & Win32
10062 * lyx_main.C: Added os:: class.
10064 * os2_defines.h: update
10066 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10068 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10069 better by trying again with reduced state.
10071 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10073 * lyxrc.C (read): print error about invalid key sequence only when
10074 debugging (because not all latinX keysyms are known to some X
10077 * kbsequence.C (getiso): add a few std:: qualifiers
10078 (getiso): comment out extra return statement.
10080 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10082 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10084 (Dispatch): enhance the accent inset a bit. (not perfect)
10086 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10088 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10090 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10092 * bufferlist.C (emergencyWrite): fix assert() call
10094 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10096 * text.C (InsertChar): Added trivial patch to only send the "you
10097 can not do multiple spaces this way" message once during a
10100 2001-05-08 Baruch Even <baruch@lyx.org>
10102 * Makefile.am: Changed order of libraries to get LyX to link properly
10103 with the gnome frontend.
10105 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10107 * LaTeXFeatures.h: add a std:: qualifier
10109 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10111 * paragraph.C (String): use stringstream
10113 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10115 * paragraph.C (writeFile): remove footflag arg
10117 * buffer.C (makeLaTeXFile): use stringstream
10118 (latexParagraphs): remove footnot gurba
10120 * LaTeXFeatures.C (getPackages): use stringstream
10121 (getMacros): likewise
10122 (getTClassPreamble): likewise
10123 (getFloatDefinitions): new method
10125 * paragraph.C (writeFile): reindent
10128 * WorkArea.h: revert the xpos + etc changes.
10130 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10132 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10134 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10135 (pasteSelection): likewise
10136 * text2.C (CreateUndo): likewise
10138 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10140 * minibuffer.C (peek_event): temporarily reduce the functionality
10141 of the minibuffer (to allow args on lfuns)
10143 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10144 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10146 * buffer.C (readInset): add compability reading of old float
10147 lists, add reading of new style float list.
10148 (readInset): avoid reevaluation of inscmd.getCmdName()
10149 (getLists): reindent
10151 * MenuBackend.C (MenuItem): implement parsing of
10152 md_floatlistinsert and md_floatinsert.
10153 (expand::LastFiles): move initalizaton of iterators out of loop,
10154 avoid reevaluation.
10155 (expand::Documents): introduce typdedef vector<string> Strings,
10157 (expand::ExportFormats): introduce typedef vector<Format const *>
10158 Formats, and use it.
10159 (expand): implement FloatListInsert and FloatInsert.
10161 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10162 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10163 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10165 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10167 (Dispatch::LFUN_FLOAT_LIST): implement
10169 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10171 * LaTeX.C (run): Fix problem with --export code.
10173 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10175 * BufferView.[Ch] (workarea): removed.
10176 (getClipboard) new method; wrapper for workarea()->getClipboard()
10178 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10181 * WorkArea.h (width, height, xpos, ypos): These methods all
10182 returned the dimensions of the work_area sub-area of WorkArea,
10183 resulting in a position error if the WorkArea were resized. Now
10184 return the dimensions of the entire WorkArea.
10186 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10188 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10190 * LaTeX.C (deplog): correct the syntax of regex reg1
10192 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10194 * undo.C: remove !NEW_INSETS cruft
10196 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10198 * text2.C: remove !NEW_INSETS cruft
10200 * text.C: remove !NEW_INSETS cruft
10202 * tabular.C: remove !NEW_INSETS cruft
10204 * spellchecker.C: remove !NEW_INSETS cruft
10206 * lyxtext.h: remove !NEW_INSETS cruft
10208 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10210 * lyxfunc.C: remove !NEW_INSETS cruft
10212 * lyxfind.C: remove !NEW_INSETS cruft
10214 * lyx_cb.C: remove !NEW_INSETS cruft
10216 * figureForm.C: remove !NEW_INSETS cruft
10218 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10220 * buffer.[Ch]: remove !NEW_INSETS cruft
10222 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10224 * CutAndPaste.C: remove !NEW_INSETS cruft
10226 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10228 * BufferView2.C: remove !NEW_INSETS cruft
10230 * BufferView.h: remove !NEW_INSETS cruft
10232 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10234 * Lsstream.h: include LString.h before the sstream headers to
10235 fix problem with gcc 2.95.3 and lyxstring
10237 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10239 * lyx_main.C: add using directives when needed for C functions
10240 declared in std:: namespace.
10242 2001-04-27 Juergen Vigna <jug@sad.it>
10244 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10245 (SetHeightOfRow): comment out the update call should not be needed!
10247 2001-04-13 Juergen Vigna <jug@sad.it>
10249 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10250 (LyXTabular): tried to minimize operator= operations (and realized
10251 hopfully Lars wish).
10253 2001-04-27 Juergen Vigna <jug@sad.it>
10255 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10257 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10259 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10261 * buffer.C (readInset): hack to make listof algorithm work
10263 * BufferView_pimpl.C: hack to make listof algorithm work
10265 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10267 * LyXAction.C: removed all !NEW_INSETS cruft
10268 (init): moved lfun_item in method
10270 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10272 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10274 * BufferView2.C (theLockingInset): white space.
10276 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10278 * minibuffer.C: include <iostream>
10280 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10282 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10284 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10286 * text.[Ch] (TransposeChars): new method
10288 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10290 * call message directly through LyXView instead of through LyXFunc
10291 * BufferView2.C: adjust
10292 * BufferView_pimpl.C: adjust
10293 * FontLoader.C: adjust
10295 * bufferview_funcs.C: adjust
10296 * converter.C: adjust
10297 * figureForm.C: adjust
10298 * importer.C: adjust
10300 * lyx_gui_misc.C: adjust
10301 * lyxfunc.C: adjust
10304 + more files in subdirs
10306 * lyxparagraph.h (size): move up int file
10309 * adjust all uses of Assert to lyx::Assert.
10311 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10312 lyxfunctional in namespace lyx
10313 * layout.C (hasLayout): ditto
10316 (delete_layout): ditto
10317 (NumberOfClass): ditto
10318 * converter.C (GetFormat): ditto
10323 * bufferlist.C (getFileNames): ditto
10324 (emergencyWriteAll): ditto
10327 * MenuBackend.C (hasSubmenu): ditto
10330 * BufferView_pimpl.C (getInsetByCode): ditto
10332 2001-04-18 Juergen Vigna <jug@sad.it>
10334 * vspace.C (asLatexString): fixed the 100% problem.
10336 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10338 * lyxfunc.C (Dispatch):
10340 * minibuffer.h: add a few std:: qualifiers
10342 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10344 * minibuffer.[Ch]: reimplement so that commands is initiated and
10345 run from lyxfunc, simplified som handling, and made the completion
10346 and history code for complete. wip.
10348 * lyxfunc.C (processKeySym): call message
10349 (miniDispatch): new temporary method
10350 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10351 (LFUN_MESSAGE): implement
10352 (LFUN_MESSAGE_PUSH): implement
10353 (LFUN_MESSAGE_POP): implement
10354 (initMiniBuffer): the initial/defualt minibuffer message.
10356 * lyxfont.[Ch]: inline some more getters
10358 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10360 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10362 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10363 (AutoSave): use LFUN_MESSAGE
10364 (Reconfigure): ditto
10366 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10368 * figureForm.C: use LFUN_MESSAGE
10370 * converter.C (runLaTeX): use LFUN_MESSAGE
10372 * bufferview_funcs.C: use LFUN_MESSAGE
10374 (changeDepth): ditto
10376 * bufferparams.h: use boost::
10378 * bufferlist.h: inherit privately from noncopyable
10380 * bufferlist.C (loadLyXFile): remove some commented code.
10382 * buffer.C (runChktex): use LFUN_MESSAGE
10384 * ShareContainer.h: inherit privately from noncopyable
10386 * ParagraphParameters.[hC] (depth): inline it.
10388 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10390 (message): new method
10391 (messagePush): ditto
10392 (messagePop): ditto
10393 (show): init minibuffer
10394 (showState): direct call
10396 * LaTeX.[Ch]: inherit privately from noncopyable
10397 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10398 instead of WriteStatus.
10400 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10402 * BufferView_pimpl.C (buffer): don't init minibuffer
10403 (workAreaButtonPress): use LFUN_MESSAGE
10404 (workAreaButtonRelease): ditto
10405 (savePosition): ditto
10406 (restorePosition): ditto
10407 (MenuInsertLyXFile): ditto
10408 (workAreaExpose): don't init minibuffer
10409 (update): remove commented code, simplify
10411 * BufferView2.C (openStuff): use LFUN_MESSAGE
10412 (toggleFloat): ditto
10415 (copyEnvironment): ditto
10416 (pasteEnvironment): ditto
10421 (updateInset): remove some commented code
10423 * lastfiles.h: inherit privately from noncopyable
10426 * lyx_main.h: ditto
10428 * lyxlex_pimpl.h: ditto
10430 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10431 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10432 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10434 * LyXAction.h: inherit privately from noncopyable, add methods
10435 func_begin, func_end, returning iterators to the func map.
10437 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10438 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10439 (func_begin): new method
10440 (func_end): new method
10442 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10444 (copySelection): ditto
10445 (pasteSelection): ditto
10447 * BufferView.C: whitespace change
10448 * BufferView.h: inherit privately from noncopyable
10450 2001-04-16 Allan Rae <rae@lyx.org>
10452 * tabular-old.C (l_getline):
10453 * spellchecker.C (sc_check_word):
10454 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10455 an unrecognised preprocessor directive. So ensure they're wrapped.
10457 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10459 * src/exporter.C (Export): Give an error message when path to file
10462 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10464 * LaTeX.C (deplog): Always check that foundfile exists.
10466 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10469 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10471 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10473 * tabular.[Ch] (getLabelList): implement new method
10475 * minibuffer.h: comment ouf setTiimer
10477 * minibuffer.C (ExecutingCB): constify res
10478 (peek_event): constify s
10479 (Set): constify ntext
10480 (Init): constify nicename
10482 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10484 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10485 (savePosition): use two params to Minibuffer::Set
10486 (restorePosition): ditto
10488 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10490 * lyx_main.C: include language.h
10492 * Makefile.am (lyx_main.o): add language.h
10494 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10500 * CutAndPaste.C: include gettext.h
10502 * lyxfont.h: remove old hack with ON and OFF.
10505 * lyxfont.h: do not include language.h...
10510 * bufferview_funcs.C:
10516 * paragraph.C: ... but do it here instead
10518 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10520 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10522 * tabular.C: small reformat
10524 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10527 (BreakParagraph): ditto
10528 (SetOnlyLayout): ditto
10531 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10534 * lastfiles.C: removed most using decl, add std:: where needed
10536 * buffer.C: ws changes
10538 * MenuBackend.C (class compare_format): put into anon namespace
10539 (expand): constify label, names, action, action2
10542 * text.C (SingleWidth): constify font
10543 (IsBoundary): constify rtl2
10544 (GetVisibleRow): constify ww
10546 * LaTeX.C (deplog): constify logfile
10548 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10550 (workAreaExpose): constify widthChange, heightChange
10552 * lyxrow.C (par): moved
10555 * lyxrow.h: as inlines here
10557 * lyxfont.h (shape): moved from lyxfont.C
10558 (emph): moved from lyxfont.C
10560 * lyxfont.C (LyXFont): use initialization list for all
10562 (shape): move to lyxfont.h as inline
10563 (emph): move to lyxfont.h as inline
10566 2001-04-04 Juergen Vigna <jug@sad.it>
10568 * vspace.C: had to include stdio.h for use of sscanf
10570 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10573 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10574 independent of xforms.
10576 2001-04-02 Juergen Vigna <jug@sad.it>
10578 * spellchecker.C: fixed namespace placing!
10580 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10582 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10583 the LyXParagraph * is 0.
10585 2001-03-29 Juergen Vigna <jug@sad.it>
10587 * vspace.C: added support for %, c%, p%, l%.
10588 (stringFromUnit): added helper function.
10589 (asLatexString): changed to give right results for the %-values.
10591 * buffer.C: convert the widthp in a width%.
10593 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10595 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10598 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10599 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10601 * lyx_cb.[Ch]: see above.
10603 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10607 * lyx.[Ch]: replaced by figure_form.[Ch].
10611 * lyxfunc.C: changed headers associated with above changes.
10613 2001-03-27 Juergen Vigna <jug@sad.it>
10615 * BufferView_pimpl.C: set the temporary cursor right!
10617 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10619 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10621 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10623 * LString.h: removed "using std::getline"!
10625 * BufferView_pimpl.C (Dispatch): changes due to changes in
10626 InsetInclude::Params.
10628 * buffer.C (tag_name): removed redundant break statements as they were
10629 producing lots of warnings with my compiler.
10631 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10633 * LString.h: add "using std::getline" when using the real <string>.
10635 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10637 * buffer.C: removed bitset usage.
10638 PAR_TAG moved to an anonymous name space.
10639 (tag_name): new funtion, also in the anonymous namespace.
10640 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10641 (makeDocBookFile): clean code. Completed transition from string arrays
10643 (SimpleDocBookOnePar): code clean.
10645 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10647 * tabular.C: add some comments.
10649 2001-03-22 Juergen Vigna <jug@sad.it>
10651 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10652 compatibility read a bit and fixed bug with minipage in different
10655 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10657 * buffer.C (pop_tag): removed.
10658 (push_tag): removed.
10659 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10660 array replaced with vector. Added support for CDATA sections.
10661 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10663 (makeDocBookFile): XML conformant declaration of CDATA section,
10664 fixed bug related to <emphasis> in the first paragraph char.
10665 (sgmlOpenTag): exclude empty tags.
10666 (sgmlCloseTag): ditto.
10668 * buffer.h (pop_tag): removed.
10669 (push_tag): removed.
10671 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10673 * language.h (Languages): added size_type and size().
10675 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10677 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10678 response on compability reading of minipages. One probliem is that
10679 the old usage of minipages was «flertydig»
10681 * several files here and in subdirs: don't use static at file
10682 scope use anon namespaces instead.
10684 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10686 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10687 LaTeX output. This is necessary for Literate document
10690 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10692 * buffer.C: insert hfill when needed.
10694 * tabular.C (l_getline): use string::erase, small whitespace change.
10696 * BufferView_pimpl.C: try the anon namespace.
10697 * WorkArea.C: ditto
10699 2001-03-16 Juergen Vigna <jug@sad.it>
10701 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10702 otherwise it won't open options-dialogs.
10704 * buffer.C: honor pextraWidth(p) on converting minipages.
10706 * tabular.C (l_getline): changed the functions to strip trailing \r.
10708 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10710 * BufferView_pimpl.C:
10711 * minibuffer..C: added "using SigC::slot" declaration.
10713 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10715 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10721 * paragraph.C: ditto
10723 * lyxtext.h: NO_PEXTRA
10725 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10727 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10728 * ParameterStruct.h: ditto
10729 * ParagraphParameters.h: ditto
10730 * lyxparagraph.h: ditto
10732 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10734 * buffer.C: add compability for minipage alignment.
10735 (latexParagraphs): remove unwanted pextra check.
10737 * several files: remove CXX_WORKING_NAMESPACES
10739 * buffer.C (pop_tag): tie is in namespace boost
10741 * BufferView.h: noncopyable is in namespace boost
10743 * lyx_main.h: ditto
10746 * lastfiles.h: ditto
10747 * bufferlist.h: ditto
10748 * ShareContainer.h: ditto
10750 * LyXAction.h: ditto
10753 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10755 * Merging changes from BRANCH_MVC back into HEAD.
10757 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10759 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10761 * BufferView_pimpl.C: change from intl.C
10765 * Makefile.am: move combox.*
10771 * intl.C: remove dialog (covered by prefs)
10773 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10775 * lyxfunc.C (Dispatch): removed redundant break statement.
10777 2001-03-14 Juergen Vigna <jug@sad.it>
10779 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10781 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10783 * buffer.C: add hack to fix compability reading of minipages.
10785 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10787 * buffer.C (getLists): Cleanup.
10789 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10791 * lyxfont.C (update): don't honor toggleall on font size.
10793 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10797 * Makefile.am: moved to frontends/xforms/
10801 * BufferView_pimpl.C: changes for moved mathpanel
10803 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10805 * gettext.h: fix gettext_init() in --disable-nls
10807 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10809 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10811 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10814 * lyx.h: strip external form
10816 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10818 * BufferView_pimpl.C: add comment, destroySplash()
10820 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10822 * BufferView_pimpl.C:
10826 * lyxfunc.C: use re-worked insetinclude
10828 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10830 * buffer.C: add using std::stringstream.
10832 * lyx_cb.C: readd using std::ios.
10834 * buffer.C: add using std::map.
10836 * BufferView_pimpl.C: add using std::vector.
10838 * ShareContainer.h: add std:: to swap.
10840 * buffer.h: add some typedefs
10841 * buffer.C (getLists): use them
10842 (getLists): renamed from getTocList.
10843 add a counter for the different float types and use it in the
10845 (getLists): use the same counter for the NEW_INSETS and the "non"
10848 * lyx_cb.h: remove unused items, includes, using etc.
10850 * ShareContainer.h: remove some commented code, add more comments
10851 and "documentation".
10853 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10855 * buffer.C (getTocList): make the list also when NEW_INSETS is
10858 * buffer.h: remove TocType
10860 * buffer.C (getTocList): change to return a map<string,
10861 vector<TocItem> >, implement for dynamic number of list.
10863 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10864 * text2.C (PasteSelection): adjust
10865 * CutAndPaste.C (pasteSelection): adjust
10867 * FloatList.C (FloatList): update from the new_insets branch.
10868 * Floating.[Ch]: ditto
10869 * LaTeXFeatures.C: ditto
10871 * lyxlex_pimpl.C: ditto
10873 * paragraph.C (Last): remove when NEW_INSETS is defined.
10875 * other file: changes because of the above.
10877 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10879 * lyxparagraph.h: rename next to next_, previous to previous_,
10880 make them private for NEW_INSETS. Rename Next() to next(),
10881 Previous() to previous().
10883 * other files: changes because of the above.
10885 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10888 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10891 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10893 * main.C (main): pass lyx_localedir to gettext_init().
10895 * gettext.h: remove locale_init and gettext_init macros
10897 * gettext.C (locale_init): new function
10898 (gettext_init): new function
10900 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10903 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10905 * Moved credits to frontends:
10906 * credits.[Ch]: removed
10907 * credits_form.[Ch]: removed
10908 * lyx_gui_misc.C: remove credits stuff
10911 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10913 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10915 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10916 unneeded destructor.
10918 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10919 a standalone pointer again.
10921 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10923 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10929 * ToolbarDefaults.C:
10938 * BufferView_pimpl.C: use new file dialog in GUII
10941 * lyx_cb.C: remove LayoutsCB to Toolbar
10943 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10945 * ShareContainer.h (get): add std:: qualifier
10947 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10949 * ShareContainer.h: define a proper ShareContainer::value_type
10950 type (and use typename to please compaq cxx)
10952 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10954 * lyxparagraph.h: move serveral local vars to
10955 ParameterStruct/ParagraphParameters., use ShareContainer in
10956 FontTable., make vars in FontTable private and add getter and
10959 * paragraph.C: changes because of the above.
10961 * lyxfont.h: remove copy constructor and copy assignment. (the
10962 default ones is ok), move number inside FontBits. move inlines to
10965 * lyxfont.C: add number to initializaton of statics, move several
10966 inlines here. constify several local vars. some whitespace
10967 cleanup. Dont hide outerscope variables.
10969 * Spacing.h: add two new constructors to match the set methods.
10971 * ShareContainer.h: new file, will perhaps be moved to support
10973 * ParameterStruct.h: new file
10975 * ParagraphParameters.h: new file
10977 * ParagraphParameters.C: new file
10979 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10980 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10982 * BufferView_pimpl.C: ParagraphParameter changes.
10983 * buffer.C: Likewise.
10984 * bufferview_funcs.C: Likewise.
10985 * text.C: Likewise.
10986 * text2.C: Likewise.
10988 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10990 * lyxfind.C (LyXReplace): do not redefine default argument in
10992 (IsStringInText): ditto
10993 (SearchForward): ditto
10994 (SearchBackward): ditto
10996 2001-03-06 Juergen Vigna <jug@sad.it>
10998 * lyxfind.C (IsStringInText): put parentes around expressions.
11000 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11002 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11004 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11006 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11008 * stl_string_fwd.h: add comment
11010 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11013 * tabular.C: remove unused DocBook methods
11019 killed DO_USE_DEFAULT_LANGUAGE
11021 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11023 * lyx_gui.C: do not include language.h.
11025 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11026 arguments in function implementation.
11028 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11030 * BufferView_pimpl.C: add <ctime>
11032 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11034 * BufferView_pimpl.C: add using std::find_if
11036 2001-02-27 José Matos <jamatos@fep.up.pt>
11038 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11041 2001-02-11 José Matos <jamatos@fep.up.pt>
11043 * buffer.C (makeDocBookFile): command styles now have a parameter as
11044 "title" by default.
11046 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11048 * layout_forms.[Ch]: removed
11049 * lyx_cb.[Ch]: out character
11050 * lyx_gui.C: out character
11051 * lyx_gui_misc.C: out character
11052 * bufferview_funcs.C: : out character,
11053 added toggleall as parameter in ToggleAndShow
11055 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11057 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11059 * text2.C (SetCurrentFont): Disable number property at boundary.
11061 2001-02-26 Juergen Vigna <jug@sad.it>
11063 * lyxfunc.C (getStatus): added a string argument override function so
11064 that this is correctly called from LyXFunc::Dispatch if it contains a
11065 do_not_use_argument which is used!
11066 (Dispatch): added check for "custom" export and call appropriate func.
11068 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11070 * lyxrc.C: Add language_command_local, language_use_babel and
11071 language_global_options.
11073 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11075 * buffer.C (makeLaTeXFile): Use language_use_babel and
11076 language_global_options.
11078 2001-02-23 Juergen Vigna <jug@sad.it>
11080 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11081 which works with LyXText and putted it inside BufferView. Here now we
11082 only call for that part the BufferView::Dispatch() function.
11084 * BufferView.C (Dispatch): added.
11086 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11087 functions which needs to use a LyXText over from LyXFunc.
11088 (MenuInsertLyXFile): added
11089 (getInsetByCode): added
11090 (moveCursorUpdate): added
11091 (static TEXT): added
11093 2001-02-22 Juergen Vigna <jug@sad.it>
11095 * BufferView_pimpl.C (update): call a status update to see if LyXText
11098 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11100 * vc-backend.C (revert): implement for CVS
11101 (getLog): implement for CVS
11103 2001-02-20 Juergen Vigna <jug@sad.it>
11105 * text2.C (ClearSelection): added BufferView param for inset_owner call
11107 * lyxfunc.C (TEXT): added this function and use it instead of
11108 directly owner->view()-text of getLyXText().
11110 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11112 * src/layout_forms.C: out preamble
11113 * src/layout_forms.h: out preamble
11114 * src/lyx_cb.C: out preamble
11115 * src/lyx_cb.h: out preamble
11116 * src/lyx_gui.C: out preamble
11117 * src/lyx_gui_misc.C: out preamble
11118 * src/lyxfunc.C: connect with guii preamble
11120 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11122 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11124 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11126 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11127 whether to run bibtex.
11129 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11131 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11133 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11135 * Makefile.am (lyx_SOURCES): removed bibforms.h
11137 * vspace.h: doxygen
11139 * text.C (GetVisibleRow): make several local vars const
11141 * tabular.C: small cleanup.
11143 * lyxserver.C (callback): use compare instead of strncmp
11145 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11146 inlines to after class or to paragraph.C
11148 * lyxfont.h: remove friend operator!=
11150 * converter.h: move friend bool operator< to non friend and after
11153 * combox.h: small cleanup
11155 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11156 to inlines after class def.
11158 * buffer.C (pop_tag): use string operations instead of strcmp
11160 * bmtable.c: doxygen, small cleanup
11162 * LaTeX.h: remove friend operator==
11164 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11176 * BufferView_pimpl.C:
11177 * BufferView.[Ch]: remove cruft
11179 2001-02-14 Juergen Vigna <jug@sad.it>
11181 * lyxfunc.C: removed #if 0 unused code
11183 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11185 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11187 * text2.C (SetSelection): added a BufferView * parameter
11189 2001-02-13 Juergen Vigna <jug@sad.it>
11191 * lyxfunc.C (Dispatch): fixed protected blank problem.
11192 * BufferView2.C (protectedBlank): added LyxText * parameter.
11194 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11195 (AppendColumn): same as above for column_info.
11197 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11198 (moveCursorUpdate): use a LyXText param for support of InsetText.
11200 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11201 (tripleClick): ditto
11203 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11205 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11207 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11209 * text2.C (SetSelection): set correct update status if inset_owner
11210 (ToggleFree): ditto
11212 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11214 * tabular.C: remove some commented code.
11216 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11218 * BufferView_pimpl.C: call hideSplash()
11220 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11223 * bibforms.h: remove
11226 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11227 add LFUN_CHILD_CREATE
11229 * counters.h: fix tiny typo
11234 * lyx.C: move splash to frontends/xforms/
11236 * lyx_gui_misc.C: move Include and Bibform to frontends
11238 * lyxvc.h: clarify comment
11240 * vspace.C: tiny housekeeping
11242 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11244 * text.C (PrepareToPrint): RTL Fix.
11246 * paragraph.C (GetUChar): New method.
11247 (String): Use GetUChar.
11249 * buffer.C (asciiParagraph): Use GetUChar.
11251 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11253 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11255 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11258 * buffer.C: rename to getLogName(), handle
11259 build log / latex log nicely
11261 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11264 * MenuBackend.h: remove support for reference menuitem type.
11266 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11268 * BufferView_pimpl.C: housekeeping
11269 * BufferView_pimpl.h:
11274 * minibuffer.h: move Timeout GUI-I
11276 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11278 * lyxrc.C (read): Update converters data-structures.
11280 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11282 * LaTeX.h (operator!=): add operator != for Aux_Info
11284 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11286 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11288 * LaTeXLog.C: deleted, useful code moved to Buffer
11291 * buffer.C: new function getLatexLogName()
11297 * lyxfunc.C: use frontends for LaTeX and VC logs
11299 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11301 * LaTeX.h: yet another std:: that Allan forgot.
11303 * Variables.C (set): renamed from isset(), because this clashes
11304 with some HP-UX macros (grr).
11306 2001-02-06 Allan Rae <rae@lyx.org>
11308 * LaTeX.h: Another bug fix. Missing std:: this time.
11310 2001-02-04 Allan Rae <rae@lyx.org>
11312 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11313 floats problem. I've left it commented out because it's not quite
11314 correct. It should also test that the current object is a table or
11315 figure inset. But I haven't gotten around to figuring out how to do
11316 that. I *think* it'll be something like: "table" == inset.type()
11318 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11321 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11323 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11324 all the citation/databases/styles in the auxilary file.
11325 (run): Rerun latex if there was a babel language error.
11327 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11329 * text.C (Backspace): Preserve the font when changing newline char
11331 (BreakParagraph): If the cursor is before a space, delete the space.
11333 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11335 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11337 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11338 new argument (code).
11339 (ChangeCitationsIfUnique): New method.
11341 * paragraph.C (GetPositionOfInset): Handle bibkey.
11343 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11345 * BufferView_pimpl.h: change type of Position::par_pos to
11346 LyXParagraph::size_type.
11348 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11350 * BufferView_pimpl.C (savePosition, restorePosition): Write
11351 messages to minibuffer.
11353 2001-01-28 José Matos <jamatos@fep.up.pt>
11355 * buffer.C (makeDocBookFile): adds support for document language.
11356 A silly restriction on the name of LatexCommand types where removed.
11357 Added support for CDATA sections, allows to chars unescaped, used
11358 among others in code, to avoid escape < and >.
11360 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11362 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11363 saved positions instrad of a stack. Furthermore, a position is
11364 stored using paragraph id/paragraph position.
11366 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11367 Remove LFUN_REF_BACK.
11369 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11371 * converter.C (dvipdfm_options): New method.
11373 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11375 * vspace.C (isValidLength): Fix for empty input string.
11377 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11379 * LyXAction.C (init): change description of LFUN_FIGURE to
11382 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11384 * LaTeX.C: add using directive
11386 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11388 * MenuBackend.C (expand): Fix the sorting of the formats.
11390 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11392 * lyx_main.C: tiny error message fix
11394 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11396 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11397 calling fl_initialize(). This fixes the problem with ',' as
11398 decimal separator in text files.
11400 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11402 * trans.C (process): Fix the keymap bug.
11404 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11406 * LaTeX.C (scanAuxFiles): New method. Provides support for
11407 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11408 (scanLogFile) Scan for "run BibTeX" messages.
11410 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11411 OT1 font encoding. Also, load the aecompl package if the ae
11414 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11416 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11418 * texrow.C (increasePos): turn two error messages into debug
11421 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11423 * LaTeX.C (scanAux): Handle the \@input macro.
11424 (runBibTeX): Use scanAux().
11426 * language.C (latex_options_): New field.
11428 * LaTeXFeatures.C (getMacros): Add language macros.
11430 * buffer.C (makeLaTeXFile): Small fix.
11432 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11434 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11436 * text2.C: add a using directive.
11438 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11443 * lyxfunc.C: kill LyXBell.
11445 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11447 * text.C (IsBoundary): Remove the error message
11449 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11451 * lyxrc.C (setDefaults): Correct initialization value for
11454 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11456 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11459 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11460 and GotoNextNote().
11462 * src/LyXAction.C: Added reference-next.
11464 * text.C (InsertChar): Use contains instead of strchr.
11466 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11468 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11470 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11471 alignment commands (when needed).
11473 * text.C (InsertChar): Add ':' to number separator chars.