2 2003-07-01 André Pönitz <poenitz@gmx.net>
9 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
10 text*.C to text_func.C
12 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
14 * introduce namespace lyx::support
16 2003-06-30 André Pönitz <poenitz@gmx.net>
21 * text.C: re-enable --with-included-string
23 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
25 * textcursor.C: add <config.h>
27 * text.C (getWord): remove const from word_location arg
29 * lyxvc.C (getLogFile): fix const type order
31 * lyxtext.h: remove const from word_location arg, add arg name
33 * lyxlayout.h: currect type on labeltype.
35 * importer.C: correct \file
37 * converter.C (intToFormat): use std:: on ret val, ws changes
39 * bufferlist.h: correct \file
41 * buffer.C (makeLinuxDocFile): fix const type order
42 (makeDocBookFile): ditto
43 (fillWithBibKeys): use std:: on stdlib args.
45 * CutAndPaste.C: fix authors.
46 (availableSelections): use std:: on return vector
48 2003-06-27 André Pönitz <poenitz@gmx.net>
59 * text3.C: remove LyXCursor::row_ member
62 * text.C: rename fullRebreak() to partialRebreak() and implement
63 a fullRebreak() that really bereks fully
65 * textcursor.h: new struct for cursor-related data
67 2003-06-26 Alfredo Brauntein <abraunst@lyx.org>
69 * lyx_main.C (LyX): get full path of document loaded on the
72 2003-06-26 André Pönitz <poenitz@gmx.net>
74 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
75 remove unused/broken operator>,<,>=.
77 * text.C: remove only use of broken operator<= in an Assert().
79 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
81 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
82 moved errorlist_.clear to showErrorList
84 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
86 * converter.C (scanLog, runLaTeX):
87 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
88 move the bv->showErrorList call to the callers
89 * lyxfunc.C: i.e. here...
91 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
92 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
93 namespace, the second to...
94 * buffer_funcs (BufferFormat, parseErrors): added
95 * errorlist.C (ErrorList(TeXErrors const &)): removed
97 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
99 * ToolbarBackend.C (getIcon): complain when icon cannot be found
101 2003-06-24 "Garst R. Reese" <reese@isn.net>
105 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
107 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
109 * version.C.in: change docversion to 1.4
111 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
113 * buffer.C: fix a bug just introduced
115 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
117 * buffer.[Ch]: added the parseError signal and use it, removed
119 * BufferView.[Ch] (addError): moved to ...
120 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
121 to the Buffer::parseError signal to catch (guess what) parse errors
122 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
124 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
126 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
127 ability to create a buffer and to return an existing one from
128 the list. Moved these functions to...
129 * buffer_funcs.[Ch]: added
130 * BufferView.[Ch] (loadLyXFile): added
131 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
132 job removed from bufferlist::loadLyXFile.
133 * buffer.C (setReadOnly): make it work without view
134 (i.e added an if (users))
136 2003-06-19 Angus Leeming <leeming@lyx.org>
139 * LyXAction.C (init):
140 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
141 with LFUN_DIALOG_SHOW <name> <data>.
143 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
145 * CutAndPaste.C (availableSelections): small compilation fix for
146 ancient (gcc 2.9x) compilers
148 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
150 * text3.C (cursorNext): add tmp var
152 * text2.C (updateCounters): for function calling out of for clause
153 (replaceSelectionWithString): ditto
154 (insertStringAsParagraphs): ditto
155 (getColumnNearX): add tmp var
156 (setCursorFromCoordinates): add tmp var
157 (cursorDownParagraph): add tmp var
158 (deleteEmptyParagraphMechanism): add tmp var
160 * text.C (insertChar): add tmp var
162 * rowpainter.C (paintDepthBar): add tmp var
164 * CutAndPaste.C (availableSelections): potentially check all
165 paragraphs in a cut to fill the shown strings.
167 2003-06-18 André Pönitz <poenitz@gmx.net>
169 * kbmap.[Ch]: use vector<> instead of list<>
171 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
173 * text3.C (dispatch): handle arg to LFUN_PASTE, call
174 pasteSelection with index
176 * text2.C (pasteSelection): modify, call pasteSelection with index
178 * paragraph.C (asString): reimplement version with no interval to
179 call the one with interval.
181 * lyxtext.h: add index arg to pasteSelection
183 * MenuBackend.C (MenuItem): handle PasteRecent
184 (Menu::read::Menutags): add md_pasterecent
186 (expandPasteRecent): new function
189 * MenuBackend.h: add PasteRecent to MenuItem::Kind
191 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
193 (availableSelections): new function
195 2003-06-17 Angus Leeming <leeming@lyx.org>
197 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
199 2003-06-17 Angus Leeming <leeming@lyx.org>
202 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
204 * lyxfunc.C (dispatch): invoke it.
206 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
208 * iterators.C (operator++, ParPosition): reintroduce some
209 const_cast for the benefit of older compilers.
211 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 * text3.C (dispatch): do not modify clipboard when doing
214 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
215 LFUN_DELETE_SKIP on a selection selection
217 2003-06-16 André Pönitz <poenitz@gmx.net>
223 * tabular.[Ch]: IU of clone() and getLabelList();
225 2003-06-13 André Pönitz <poenitz@gmx.net>
227 * tabular.h: compactification
229 2003-06-12 André Pönitz <poenitz@gmx.net>
233 * tabular_funcs.h: some renaming plus whitespace
235 2003-06-12 André Pönitz <poenitz@gmx.net>
238 * BufferView_pimpl.C:
244 * toc.C: Return a Paragraph & for ParIterator::operator*()
246 2003-06-11 John Levon <levon@movementarian.org>
250 * ToolbarBackend.C: add "Toolbars" section and
253 2003-06-10 Angus Leeming <leeming@lyx.org>
256 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
258 * lyxfunc.C (dispatch): invoke it.
260 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
262 * main.C: protect <ios> with HAVE_IOS
263 (main): protect sync_with_stdio with HAVE_IOS
265 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
267 * text2.C (cutSelection): adjust
268 (pasteSelection): adjust
270 * messages.C: handle get of empty string
272 * main.C (main): use sync_with_stdio(false)
274 * lyxfunc.C (dispatch): adjust
276 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
277 (WriteAs): remove unneeded BufferView arg.
279 * bufferparams.h: use correct types on papersize, papersize2 and
282 * bufferparams.C (readToken): adjust for type
283 (writeLaTeX): add missing cases to switch.
285 * bufferlist.C (quitWriteBuffer): adjust
288 * buffer.C (asciiParagraph): remove some commented code.
290 * CutAndPaste.C: remove current_view extern variable.
291 (cutSelection): add BufferParams arg.
292 (eraseSelection): add BufferParams arg.
293 (pasteSelection): add Buffer const & arg
295 2003-06-07 John Levon <levon@movementarian.org>
303 * paragraph.C: allow InsetERT to freely space lines,
304 and some consolidation of code
306 2003-06-06 José Matos <jamatos@fep.up.pt>
308 * buffer.C (makeDocBookFile): fix bug #821
310 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
312 * BufferView_pimpl.C (dispatch): use Dialogs::visible
314 2003-06-04 Angus Leeming <leeming@lyx.org>
316 * buffer.C: bump format to 224.
318 2003-06-05 André Pönitz <poenitz@gmx.net>
320 * text2.C (redoParagraphs): remove two const_cast<>
322 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
324 * ParagraphList.h: remove last remnants of NO_STD_LIST
326 2003-06-03 Angus Leeming <leeming@lyx.org>
328 * factory.C (createInset): small change to the way InsetExternal's params
331 2003-06-04 André Pönitz <poenitz@gmx.net>
333 * buffer.h: use Undo directly instead of shared_ptr<Undo>
336 * paragraph.[Ch]: some Inset -> UpdatableInset changes
338 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
340 * undo_funcs.C: make some simple cases of undo work again
342 2003-06-03 John Levon <levon@movementarian.org>
344 * ispell.C: HPUX doesn't have sys/select.h
347 2003-06-03 John Levon <levon@movementarian.org>
349 * CutAndPaste.C: update tabular and include inset
354 * paragraph.C: remove owningBuffer(), don't pass Buffer
357 * factory.C: insetGraphicsParams changed
359 2003-06-02 John Levon <levon@movementarian.org>
365 * text3.C: remove insetparent
367 2003-06-02 John Levon <levon@movementarian.org>
370 * buffer.C: fix inset_iterator.end(), move out of line
373 2003-06-01 John Levon <levon@movementarian.org>
375 * text3.C: use a proper cut/paste when doing inset
376 insert (from Jürgen Spitzmüller)
378 2003-06-01 John Levon <levon@movementarian.org>
380 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
382 2003-05-30 André Pönitz <poenitz@gmx.net>
384 * rowpainter.C: unify second drawing phase
386 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
388 * trans_mgr.C: remove one case of current_view
390 * text2.C (cursorBottom): delete NO_STD_LIST stuff
392 * paragraph_funcs.h: remove paragraph.h include
394 * paragraph.h: delete NO_STD_LIST stuff
396 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
398 * buffer.h: remove paragraph.h include
400 * ParagraphList.C: delete file
402 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
404 * toc.C (getTocList): adjust
406 * paragraph_pimpl.C (validate): adjust
408 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
410 * paragraph.C (Paragraph): adjust
411 (getPositionOfInset): use const_iterator, adjust
412 (bibitem): use const_iterator, adjust
413 (setInsetOwner): adjust
415 * iterators.C (operator++): adjust
417 * InsetList.[Ch]: Replace selfmade iterator with standard
418 vector::iterator also introduce const_iterator. Remove getPos,
419 getInset and setInset from InsetTable. Adjust accordingly.
421 * BufferView.C (lockInset): adjust
422 (ChangeInsets): adjust
424 * tabular.[Ch]: delete commented same_id functions
426 2003-05-28 John Levon <levon@movementarian.org>
428 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
430 2003-05-28 André Pönitz <poenitz@gmx.net>
432 * metricsinfo.[Ch]: remove 'fullredraw' member
434 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
436 * lyxtextclass.C (operator): remove caching.
438 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
442 * text2.C (cursorBottom): adjust
443 (setCounter): use ParagraphList::find, adjust
445 * text.C (workWidth): use ParagraphList::find, adjust
447 * lyxcursor.C (LyXCursor): adjust
449 * buffer.C (inset_iterator): adjust
451 * ParagraphList.h: make iterator(value_type) private, make
452 ParagraphList a friend of iterator.
454 * ParagraphList.C (find): new function
456 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
458 2003-05-27 André Pönitz <poenitz@gmx.net>
460 * dimension.[Ch]: a -> asc, d -> des, w -> wid
462 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
464 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
466 2003-05-26 John Levon <levon@movementarian.org>
468 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
470 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
472 * remove same_id from function signatures, adjust.
474 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
476 * undo_funcs.C (createUndo): use the id functions directly, adjust.
478 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
480 * paragraph.C (Paragraph): get rid of same_ids parameter
482 * ParagraphList.C (insert): adjust
485 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
487 * paragraph_funcs.C (breakParagraph): adjust
488 (breakParagraphConservative): adjust
490 * buffer.C (readParagraph): adjust
492 * ParagraphList.C (insert): take a reference instead of a pointer
495 * paragraph.[Ch] (id): new function
497 * bufferlist.C (newFile): adjust
499 * ParagraphList.C (ParagraphList): adjust
501 (push_back): take a reference instead of a pointer.
503 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
505 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
508 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
509 set else use old code.
511 * ParagraphList.C: remove all NO_NEXT code and only compile this
512 code of NO_STD_LIST is set.
514 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
516 * BufferView_pimpl.C:
526 * graphics/GraphicsConverter.C:
527 * graphics/PreviewLoader.C: header adjustment
529 2003-05-23 Angus Leeming <leeming@lyx.org>
531 * LaTeXFeatures.[Ch] (useBabel): new method.
532 * bufferparams.C (writeLaTeX): use it.
534 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
536 * ParagraphList.h (set): remove unused function.
538 2003-05-23 André Pönitz <poenitz@gmx.net>
541 * BufferView_pimpl.C:
545 * undo_funcs.C: setUndo reworked
547 * iterators.[Ch]: add access to topmost ParagraphList
549 * lyxtext.[Ch] (workWidth): add a const
551 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
553 * texrow.[Ch] (increasePos): remove function
554 * exporter.C (export): removed unused var and outdated comment
556 2003-05-23 Angus Leeming <leeming@lyx.org>
558 * latexrunparams.h: rename fragile as moving_arg.
559 * paragraph.C (simpleTeXOnePar): ditto.
560 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
562 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
564 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
566 (textUndoOrRedo): comment out a currently unused var.
568 * paragraph.h (NO_NEXT): enable NO_NEXT
570 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
572 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
574 * exporter.C (Export): adjust for removeAutoInsets removal.
576 * buffer.C (runChktex): adjust for removeAutoInsets removal.
578 * LyXAction.C (init): remove LFUN_REMOVEERRORS
580 * BufferView.[Ch] (removeAutoInsets): delete function
582 2003-05-22 Angus Leeming <leeming@lyx.org>
584 * latexrunparams.h: add a free_spacing variable.
586 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
587 to pass moving_arg, as the data is stored in runparams.fragile.
589 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
590 to Inset::latexOptional or to simpleTeXOnePar.
592 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
593 free_spacing arg to Inset::latexOptional.
595 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
598 2003-05-22 Angus Leeming <leeming@lyx.org>
600 * latexrunparams.h: add fragile and use_babel variables.
602 * bufferparams.[Ch] (writeLaTeX): return use_babel.
603 * buffer.C (makeLaTeXFile): store this returned value in
604 runparams.use_babel, thus passing it to the inset::latex methods.
606 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
607 simpleTeXSpecialChars as it is now stored in runparams.fragile.
609 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
610 longer has a fragile arg, as it is stored in runparams.fragile.
612 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
613 moving_arg parameter as the data is stored in runparams.fragile.
615 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
616 a fragile parameter as the data is stored in runparams.fragile.
618 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
620 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
622 2003-05-22 Angus Leeming <leeming@lyx.org>
624 * latexrunparams.h: add a 'bool nice' which defaults to false.
626 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
627 now encapsulated within runparams.
629 * bufferlist.C (updateIncludedTeXfiles):
630 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
632 2003-05-22 Angus Leeming <leeming@lyx.org>
634 * latexrunparams.h: new file containing struct LatexRunParams.
635 * Makefile.am: add new file.
637 * LaTeX.[Ch] (c-tor, run):
638 * buffer.[Ch] (makeLaTeXFile):
639 * bufferlist.[Ch] (updateIncludedTeXfiles):
640 * converter.C (convert, scanLog):
641 * converter.[Ch] (runLaTeX):
642 * exporter.C (Export):
643 * paragraph.[Ch] (simpleTeXOnePar):
644 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
645 * paragraph_funcs.[Ch] (latexParagraphs):
646 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
647 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
648 pass around a LatexRunParams parameter.
650 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
652 * paragraph.[Ch]: remove unused constructor
654 * ParagraphList.C (erase): new function, taking two iterators
656 2003-05-22 André Pönitz <poenitz@gmx.net>
658 * undo_funcs.C: remove duplicated code
660 * iterator.[Ch]: operator=
662 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
664 * tabular.C (SetMultiColumn): ws changes
666 * rowpainter.C (paintFirst): get rid of a ->previous
668 * lyx_cb.C (getPossibleLabel): parlist simplification
670 * BufferView.C (ChangeInsets): simplify slightly.
672 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
674 * LyXAction.C: new lfun space-insert, kill protected-space-insert
675 * lfuns.h: new LFUN_SPACE
676 * lyxfunc.C: protected space has a new lfun
677 * paragraph_funcs.C: read new space insets
679 * factory.C: handle new space insets
681 2003-05-22 André Pönitz <poenitz@gmx.net>
684 * BufferView_pimpl.C:
687 * undo_funcs.C: return a ParIterator from getParFromID.
689 * iterators.[Ch]: add two const's
691 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
693 * toc.C (getTocList): adjust
695 * iterators.[Ch]: rework for parlist
697 * buffer.C (par_iterator_begin): adjust
698 (par_iterator_end): adjust
700 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
702 * BufferView.C (removeAutoInsets): adjust
703 (ChangeInsets): adjust
705 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
707 * text.C (top_y): fix bug 1110
709 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
711 * errorlist.[Ch]: added
714 * BufferView_pimpl.C:
715 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
718 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
720 * Makefile.am: ensure that lyx is relinked upon changes to the
721 various "convenience" libs.
723 2003-05-20 Angus Leeming <leeming@lyx.org>
725 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
726 files are compiled in alphabetical order again.
728 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
730 2003-05-19 Angus Leeming <leeming@lyx.org>
732 * gettext.[Ch]: remove "char const * _(char const *)".
734 2003-05-19 André Pönitz <poenitz@gmx.net>
736 * dimension.[Ch]: promote from mathed/dimension.[Ch]
745 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
747 2003-05-19 André Pönitz <poenitz@gmx.net>
753 * paragraph_funcs.[Ch]:
755 * text3.C: more insetenv work
757 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
759 * ParagraphParameters.C (params2string): small bug fixed
761 2003-05-16 André Pönitz <poenitz@gmx.net>
764 * bufferview_funcs.C: patch from Kornel Benko to prevent
765 crash when _(...) is called twice in a statement
767 2003-05-16 André Pönitz <poenitz@gmx.net>
774 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
776 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
778 * lyx_main.C (init): remove spurious static_cast
780 2003-05-14 André Pönitz <poenitz@gmx.net>
782 * BufferView.C: fix format string
784 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
786 * BufferView.[Ch] (insertErrors): removed
787 * BufferView.[Ch] (showErrorList): added
788 * buffer.C (runChkTeX):
789 * converter.C (scanLog): call showErrorList instead of inserterrors
791 2003-05-13 André Pönitz <poenitz@gmx.net>
793 * BufferView_pimpl.C:
802 * tabular_funcs.h: tostr() from its own header
804 * ParagraphParameters.C:
811 2003-05-12 André Pönitz <poenitz@gmx.net>
814 * BufferView_pimpl.C:
818 * ParagraphParameters.C:
822 * bufferview_funcs.C:
839 * text3.C: boost::format -> bformat all over the place
842 2003-05-09 André Pönitz <poenitz@gmx.net>
844 * LColor.[Ch]: Pimpl the #include <map> away
846 2003-05-09 John Levon <levon@movementarian.org>
848 * bufferlist.C: never remove emergency saves
850 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
852 * Makefile.am: better lib building
854 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
856 * texrow.[Ch]: remove dependency on Paragraph and just store a id
858 * paragraph_pimpl.C (simpleTeXBlanks): adjust
859 (simpleTeXSpecialChars): adjust
860 (simpleTeXSpecialChars): adjust
861 * paragraph.C (simpleTeXOnePar): adjust
862 * buffer.C (makeLaTeXFile): adjust
864 * Makefile.am (BOOST_LIBS): allow boost as system lib.
866 * text2.C (changeDepth): parlist cleanup
867 (getColumnNearX): ditto
869 * rowpainter.C (getLabelFont): parlist cleanup
871 * bufferlist.C (newFile): parlist cleanup
873 * CutAndPaste.C (eraseSelection): parlist cleanup
875 * BufferView_pimpl.C (trackChanges): parlist cleanup
878 * BufferView.C (lockInset): parlist cleanup.
879 (ChangeInsets): ditto
881 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
883 * CutAndPaste.h: Update file header.
885 * CutAndPaste.C: Update file header.
886 Store the parts cut out of the Document in a limited_stack.
887 (copySelection): adjust
888 (pasteSelection): new function, takes the index in the limited stack.
889 (nrOfParagraphs): adjust
890 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
891 simplify error inset insertion.
892 (checkPastePossible): adjust
894 2003-05-06 John Levon <levon@movementarian.org>
896 * text2.C: don't cast wrap inset to float
898 2003-05-05 André Pönitz <poenitz@gmx.net>
901 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
903 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
904 few naked Paragraph *.
906 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
908 * bufferparams.C: Output warning if a document with missing
909 TeX document class is loaded
910 * exporter.C: Disable TeX exports if the document class is missing
913 * lyxtextclasslist.C: Handle new textclass.lst format; new method
914 isTeXClassAvailable()
916 2003-05-03 John Levon <levon@movementarian.org>
919 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
920 explicit cursor show/hide
922 * BufferView_pimpl.h:
923 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
924 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
926 * lyxfunc.C: hide cursor before dispatching.
931 * text3.C: remove explicit cursor hides
933 2003-05-02 André Pönitz <poenitz@gmx.net>
935 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
938 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
941 * text2.C: tiny whitespace
943 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
945 * undo_funcs.C: almost only ws changes.
947 * ParagraphList.C (splice): just return if pl is empty.
949 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
951 * ParagraphList.C (splice): new function.
953 * CutAndPaste.C (pasteSelection): use it
955 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
957 * CutAndPaste.C (pasteSelection): remove the last next and
958 previous from this file.
960 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
962 * CutAndPaste.C (pasteSelection): more clean up, user proper
963 ParagraphList functions for pasteing.
965 * ParagraphList.C (insert): new function, three arg insert
967 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
969 * ParagraphList.C (insert): new function, three arg insert
971 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
974 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
976 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
978 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
980 * CutAndPaste.C (pasteSelection): remove some unneeded code.
982 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
984 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
985 (copySelection): clean up a bit.
986 (pasteSelection): use make_pair
988 * ParagraphList.C (ParagraphList): implement copy constructor
989 (operator=): implement, base on copy constructor.
992 * paragraph.C (erase): return a bool
994 * paragraph_pimpl.C (erasePos): remove function, move contents...
995 (erase): ... here. Return a bool.
996 (erase): call erase instead of erasePos.
998 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1000 * ParagraphList.h: define PitPosPair
1001 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1002 ParagraphList, fix a bug on pasting multiple pars
1003 * text2.C: change interface to C&P
1005 2003-04-30 André Pönitz <poenitz@gmx.net>
1007 * undo_func.C: revert part of yesterday's patch 2
1009 2003-04-30 John Levon <levon@movementarian.org>
1011 * LColor.C: s/tabular/table/
1013 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1015 * text3.C (dispatch): do not convert iterator -> pointer
1016 * undo_funcs.C (setCursorParUndo): ditto
1017 * text_funcs.C (transposeChars): ditto
1019 * text2.C (setLayout): ws changes only
1021 * text.C (breakParagraph): do not convert iterator -> pointer
1023 (acceptChange): ditto
1024 (rejectChange): ditto
1029 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1032 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1034 * text3.C (gotoInset): YABG (yet another bad getChar)
1036 2003-04-29 André Pönitz <poenitz@gmx.net>
1038 * paragraph.h: make operator= private unimplemented as long as
1041 * ParagraphList.C: whitespace
1044 * paragraph_pimpl.[Ch]:
1045 * paragraph_funcs.C:
1047 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1050 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1052 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1054 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1055 * paragraph.[Ch] (erase):
1056 * paragraph_pimpl.[Ch] (erase): change return type and value
1057 * text2.C (cutSelection): some rework
1059 2003-04-28 John Levon <levon@movementarian.org>
1061 * bufferlist.C: changes for unsaved changes dialog
1063 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1065 * bufferlist.C (newFile): set language (messages_) for new
1068 * buffer.C (readFile): ws changes only.
1070 2003-04-28 André Pönitz <poenitz@gmx.net>
1075 * BufferView_pimpl.C:
1076 * BufferView.C: getParFromID related ParagraphList::iterator changes
1078 2003-04-28 André Pönitz <poenitz@gmx.net>
1080 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1083 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1085 * messages.C: remove one more localedir class variable.
1087 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1089 * messages.C (getLocaleDir): singleton generation function
1091 (Messages): add a default constructor.
1093 * main.C (main): do not setup localedir here, do not call
1096 * gettext.C (_): use it.
1097 (gettext_init): delete funciton
1099 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1101 * gettext.C (getLyXMessages): new singleton generating function.
1103 * buffer.C (updateDocLang): adjust
1105 * Makefile.am (messages.o): add target
1106 (main.o): remove target
1108 2003-04-27 John Levon <levon@movementarian.org>
1113 * lyxvc.C: specify cancel button in Alert::prompt
1115 2003-04-26 John Levon <levon@movementarian.org>
1120 * LyXAction.C: add LFUN_INSET_SETTINGS
1122 * lyxfunc.C: don't enable tabular-feature when there's
1123 just any locking inset
1125 2003-04-26 John Levon <levon@movementarian.org>
1127 * bufferlist.C: re-add Cancel to buffer close question
1129 * lyxfunc.C: fix import UI a bit
1131 2003-04-25 John Levon <levon@movementarian.org>
1133 * gettext.C: remove the broken asserts for now
1135 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1137 * messages.C: make case where setlocale cannot comply work better.
1139 * buffer.C (updateDocLang): new function
1140 (changeLanguage): use it
1143 * text2.C (setCounter): use B_ a bit.
1145 * lyxlayout.C (Read): be sure to trim the label strings.
1147 * messages.C (Messages): fix typo in comment
1149 * buffer.C (readFile): set message_ after file is loaded.
1150 (makeDocBookFile): remove double return
1151 (changeLanguage): reset message_ upon language change.
1152 (B_): new func, use this to get translated buffer strings.
1154 * main.C: add myself and Jean Marc as authors.
1156 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1158 * messages.[hC]: pimplify Messages, and three different pimpls to be
1159 used in different circumstances.
1161 * gettext.[Ch]: change for use with new message code.
1163 2003-04-24 André Pönitz <poenitz@gmx.net>
1165 * factory.C: support for eqref
1167 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1169 * messages.[Ch]: add missing char
1171 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1173 * messages.[Ch]: New files
1175 2003-04-18 John Levon <levon@movementarian.org>
1179 * BufferView_pimpl.C:
1183 * text2.C: remove layout-copy/paste (bug 778)
1185 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1187 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1189 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1191 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1192 if they succeed. Act accordingly.
1194 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1196 * text2.C (setCharFont): adjust
1197 (setCounter): adjust
1198 (insertStringAsLines): adjust
1200 * text.C (leftMargin): adjust
1201 (setHeightOfRow): adjust
1203 * rowpainter.C (paintFirst): adjust
1206 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1208 (isFirstInSequence): ditto
1209 (getEndLabel): ditto
1212 * paragraph.C (getParLanguage): comment out some hard stuff.
1214 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1216 (simpleDocBookOnePar): ditto
1217 (makeDocBookFile): use ParagraphList::iterator
1219 * CutAndPaste.C (pasteSelection): adjust
1221 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1223 * text2.C (getFont): adjust
1224 (getLayoutFont): adjust
1225 (getLabelFont): adjust
1227 * paragraph_funcs.C (TeXOnePar): adjust
1229 * buffer.C (simpleLinuxDocOnePar): adjust
1230 (simpleDocBookOnePar): adjust
1232 * CutAndPaste.C (pasteSelection): adjust
1234 * BufferView.C (getEncoding): adjust
1236 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1238 2003-04-16 John Levon <levon@movementarian.org>
1240 * lyxfind.C: use parlist stuff for search/changes
1242 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1244 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1246 * text2.C (deleteEmptyParagraphMechanism): adjust
1248 * text2.[Ch] (ownerParagraph): delete func (both of them
1250 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1252 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1254 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1256 * ParagraphList.C: prepare for NO_NEXT
1258 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1260 * text2.C (getFont): adjust
1261 (getLayoutFont): adjust
1262 (getLabelFont): adjust
1264 * paragraph.C (getFont): adjust
1265 (getLabelFont): adjust
1266 (getLayoutFont): adjust
1268 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1270 2003-04-15 John Levon <levon@movementarian.org>
1274 * lyx_main.C: handle Include in .ui files
1276 2003-04-15 John Levon <levon@movementarian.org>
1278 * MenuBackend.C: make the doc files length shorter
1281 * ToolbarBackend.C: handle toolbar placement flags,
1284 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1286 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1289 * paragraph_funcs.C (TeXOnePar): adjust
1291 * paragraph.C (getLabelFont): add outerfont arg, adjust
1292 (getLayoutFont): ditto
1293 (simpleTeXOnePar): adjust
1295 * paragraph_pimpl.C (realizeFont): delete func
1297 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1299 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1300 row argument, constify cur argument.
1302 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1304 * text2.C (getFont): adjust
1305 (getLayoutFont): adjust
1306 (getLabelFont): adjust
1308 * paragraph_funcs.C (TeXOnePar): adjust
1309 (outerFont): new func...
1310 (realizeFont): ...moved out from here, changed this to facilitate
1313 * paragraph.C (getFont): take outerfont as arg, adjust
1314 (simpleTeXOnePar): add outerfont arg, adjust
1316 * buffer.C (simpleLinuxDocOnePar): adjust
1317 (simpleDocBookOnePar): adjust
1319 * CutAndPaste.C (pasteSelection): adjust
1321 * BufferView.C (getEncoding): adjust
1323 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1325 * text2.C (setCharFont): adjust
1326 (setCounter): adjust
1328 * text.C (leftMargin): adjust
1329 (setHeightOfRow): adjust
1331 * rowpainter.C (paintFirst): adjust
1334 * paragraph_pimpl.C (realizeFont): adjust
1336 * paragraph.C (isFirstInSequence): move from here...
1337 * paragraph_funcs.C (isFirstInSequence): ...to here
1339 * paragraph.C (outerHook): move from here...
1340 * paragraph_funcs.C (outerHook): ...to here
1342 * paragraph.C (depthHook): move from here...
1343 * paragraph_funcs.C (depthHook): ...to here
1345 * paragraph.C (getEndLabel): move from here...
1346 * paragraph_funcs.C (getEndLabel): ...to here
1348 * text2.C (realizeFont): move from here...
1349 * paragraph_funcs.C (realizeFont): ...to here
1351 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1353 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1355 2003-04-14 Angus Leeming <leeming@lyx.org>
1357 * LColor.[Ch]: scrap LColor mathcursor.
1359 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1361 * lyxlex.[Ch] (text): delete function
1362 * trans.C (Load): adjust
1363 * paragraph_funcs.C (readParToken): adjust
1365 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1367 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1368 vector<char> instead of a char[].
1370 * lyxlex_pimpl.C (getString): adjust
1372 (lex): use getString
1376 * lyxlex.C (text): use pimpl_->getString()
1380 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1382 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1383 (makeFontEntriesLayoutSpecific): temp var for par.size()
1384 (setLayout): temp var for ownerParagraphs().end()
1385 (fullRebreak): temp var for rows().end()
1386 (selectionAsString): temp var for boost::next(startpit), realize
1387 that the while really is a regular for loop.
1388 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1389 setCursor in one place.
1390 (setParagraph): temp vr for ownerParagraphs().end()
1391 (updateCounters): make the while loop a for loop
1392 (cutSelection): temp var for ownerParagraphs().end()
1393 (updateInset): make the do {} while() a regular for loop
1394 (getCursorX): use temp vars
1395 (setCurrentFont): use temp vars
1396 (getColumnNearX): use temp vars
1398 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1400 * text.C (transformChar): use temp var for getChar
1401 (computeBidiTables): use temp var for row->par()
1402 (fill): move temp vars for row->par() and pit->layout() earlier in
1404 (labelFill): use temp var for row->par()
1405 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1406 asc and desc, realize that pit never changes and that firstpit is
1407 just a duplicate and not needed. Exchange rit->par() with pit in a
1409 (breakAgain): use a temp var for boost::next(rit)
1410 (breakAgainOneRow): ditto
1411 (breakParagraph): use a temp var for rows().begin()
1412 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1413 (cursorRightOneWord): use temp var for cursor.par() and
1414 cursor.pos(), remove usage of tmpcursor.
1415 (cursorLeftOneWord): use temp var for cursor.par() and
1416 cursor.pos() only set cur at end of function.
1418 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1420 * text.C, text2.C: exchange all usage of Paragraph::next with
1421 boost::next(ParagraphList::iterator)
1423 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1425 * text2.C (cursorTop): simplify implementation
1426 (cursorBottom): ditto
1427 (setParagraph): use ParagraphList::iterator
1428 (setCurrentFont): adjust
1429 (getColumnNearX): adjust
1430 (cursorRight): adjust
1431 (cursorLeft): remove usage of Paragraph::previous
1432 (cursorUpParagraph): ditto
1433 (deleteEmptyParagraphMechanism): slight cleanup
1435 * text.C (isBoundary): take a Paragraph const & instead of a
1437 (addressBreakPoint): ditto
1438 (leftMargin): remove usage of Paragraph::previous.
1439 (setHeightOfRow): ditto
1440 (cursorLeftOneWord): ditto
1441 (selectNextWordToSpellcheck): ditto
1444 (breakParagraph): remove one usage of Paragraph::next
1445 (redoParagraph): ditto
1446 (acceptChange): ditto
1447 (insertChar): adjust
1448 (rowBreakPoint): adjust
1450 * bufferview_funcs.C (toggleAndShow): adjust
1452 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1454 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1455 methods to access it.
1457 * text.C: Added updateRowPositions to compute all row positions.
1458 Make top_y and getRowNearY() to use the cached y position
1460 2003-04-11 John Levon <levon@movementarian.org>
1462 * text.C (rowBreakPoint): reintroduce the labelEnd
1463 checks, code copied from the row fill stuff. Deep voodoo.
1465 * text.C (fill): add a comment and debugging for the
1468 2003-04-11 John Levon <levon@movementarian.org>
1470 * text.C: make sure fullrow insets get wrapped to the next line,
1471 even when they're in a manual label
1473 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1475 * text2.C (insertParagraph): make it take ParagraphList::iterator
1477 (setLayout): make it return ParagraphList::iterator
1478 (redoParagraphs): ditto
1480 (checkParagraph): ditto
1482 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1484 * text2.C: adjust several funcs.
1485 (realizeFont): take a ParagraphList::iterator as arg.
1486 (getLayoutFont): ditto
1487 (getLabelFont): ditto
1488 (setCharFont): ditto
1490 * text.C: adjust several funcs.
1492 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1494 * text.C (selectNextWordToSpellcheck): don't accidentally
1497 2003-04-10 John Levon <levon@movementarian.org>
1499 * ToolbarBackend.C (getIcon): special handling for
1502 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1504 * text2.C (cursorRight): a getChar assert fixed
1506 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1508 * text2.C (getFont): change to take a ParagraphList::iterator
1509 instead of Paragraph*
1510 Adjust several functions.
1512 * text.C (transformChar): change to take a ParagraphList::iterator
1513 instead of Paragraph*
1514 (singleWidth): ditto
1515 Adjust several functions.
1517 * rowpainter.C: adjust several functions
1518 * rowpainter.h:store a ParagraphList::iterator and not a
1522 2003-04-09 John Levon <levon@movementarian.org>
1527 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1528 and the "help" bits as well
1530 2003-04-09 John Levon <levon@movementarian.org>
1533 * ToolbarBackend.C: allow multiple toolbars
1535 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1537 * undo_funcs.C (setCursorParUndo): adjust
1539 * text_funcs.C (transposeChars): adjust
1541 * text3.C (gotoNextInset): adjust
1544 * text2.C (setLayout): adjust
1545 (changeDepth): adjust
1547 (redoParagraphs): adjust
1548 (selectionAsString): adjust
1549 (setParagraph): adjust
1550 (insertInset): adjust
1551 (cutSelection): adjust
1552 (copySelection): adjust
1553 (pasteSelection): adjust
1554 (insertStringAsLines): adjust
1555 (updateInset): adjust
1556 (setCursor): change to take a ParagraphList::iterator parameter
1557 (setCursorIntern): change to take a ParagraphList::iterator parameter
1558 (setCurrentFont): adjust
1559 (cursorLeft): adjust
1560 (cursorRight): adjust
1561 (deleteEmptyParagraphMechanism): adjust
1563 * text.C (breakParagraph): adjust
1564 (insertChar): adjust
1565 (acceptChange): adjust
1566 (rejectChange): adjust
1567 (selectNextWordToSpellcheck): adjust
1568 (changeCase): adjust
1572 * lyxfind.C (SearchForward): adjust
1573 (SearchBackward): adjust
1574 (nextChange): adjust
1576 * lyxcursor.C (par): adjust
1578 * lyxcursor.h: store a ParagraphList::iterator instead of a
1581 * lyx_cb.C (getPossibleLabel): adjust
1583 * bufferview_funcs.C (toggleAndShow): adjust
1585 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1588 * BufferView.C (removeAutoInsets): adjust
1589 (lockedInsetStoreUndo): adjust
1591 2003-04-09 John Levon <levon@movementarian.org>
1593 * ToolbarBackend.C: try icon without argument
1594 if with argument fails
1596 2003-04-08 John Levon <levon@movementarian.org>
1599 * ToolbarBackend.C: add getIcon(), handle tooltip,
1600 and change from "Icon" to "Item".
1602 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1604 * BufferView.C (lockInset): another bad getchar crunched
1606 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1608 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1611 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1613 * lyxfind.C (searchForward, searchBackwards): bug 782
1615 2003-04-07 John Levon <levon@movementarian.org>
1617 * paragraph.C: remove dead comment
1619 * text.C: remove troublesome depth-fiddling code
1620 in leftMargin() and rightMargin() (bug 1017)
1622 * text.C: fix breaking of rows in nested lists
1625 * text2.C (updateCounters): fix up depth values
1628 2003-04-07 John Levon <levon@movementarian.org>
1630 * BufferView_pimpl.C: clear message when doc finishes resizing,
1631 and after a mouse event
1633 * lyxfunc.C: clear message after exiting inset
1635 2003-04-07 John Levon <levon@movementarian.org>
1637 * bufferview_funcs.C: show math status not outside
1638 status in the statusbar
1640 2003-04-07 John Levon <levon@movementarian.org>
1642 * lyxfunc.C: note status changed after a depth change
1644 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1646 * LaTeX.h: move AuxInfo operator==, != out of line.
1647 Remove LaTeX virtual destructor; nothing derives from it.
1648 Move operator()() out of public area and rename it startscript().
1649 Change protected for private.
1651 2003-04-04 Angus Leeming <leeming@lyx.org>
1654 * text2.C: remove unneeded #includes.
1656 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1658 * text2.C (dEPM): fix the heigth of the next row
1660 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1662 * text.C: squashed an invalid getChar requester + some ws changes
1664 2003-04-03 John Levon <levon@movementarian.org>
1666 * bufferview_funcs.h:
1667 * bufferview_funcs.C:
1670 * text2.C: make getStatus work for the env depth lfuns
1672 2003-04-03 John Levon <levon@movementarian.org>
1674 * bufferview_funcs.h:
1675 * bufferview_funcs.C:
1678 * text2.C: parlistize decDepth(), by merging it with incDepth()
1680 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1682 * lyxrow.h: store a ParagraphList::iterator instead of a
1683 Paragraph* and adjust other class functions to suit.
1685 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1688 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1690 * text2.C (setCursor): do not anchor to cursor row for the time being
1692 2003-04-02 John Levon <levon@movementarian.org>
1699 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1701 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1703 * paragraph.h: make ParagraphList and ParagraphList::iterator
1704 friends of Paragraph.
1706 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1708 * ParagraphList.C: Use the private next_ and previous_ from
1711 2003-04-01 John Levon <levon@movementarian.org>
1715 * Makefile.am: rename, remove defaults gunk
1718 * MenuBackend.C: remove defaults gunk
1721 * Languages.C: remove defaults gunk
1724 * lyx_main.C: error out if files couldn't be found.
1726 2003-04-02 John Levon <levon@movementarian.org>
1728 * text2.C: make incDepth() use parlist
1730 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1732 * undo_funcs.C (firstUndoParagraph): adjust
1734 * text3.C (gotoInset): adjust
1735 (dispatch): adjust, and rewrite loop.
1737 * text2.C (init): adjust, and rewrite loop.
1738 (redoParagraphs): adjust
1739 (updateInset): adjust, and rewrite loop.
1740 (deleteEmptyParagraphMechanism): adjust
1742 * tabular.C (LyXTabular): adjust
1743 (SetMultiColumn): adjust
1746 * lyxtext.[Ch] (ownerParagraph): delete function
1747 (ownerParagraphs): new function returns a ParagraphList.
1749 * BufferView.C (removeAutoInsets): adjust
1750 (insertErrors): adjust
1751 (setCursorFromRow): adjust
1753 2003-04-01 Angus Leeming <leeming@lyx.org>
1755 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1758 2003-04-02 John Levon <levon@movementarian.org>
1764 * text_funcs.C: make transposeChars a free function
1766 * lyxrow_funcs.C: remove wrong comment
1768 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1771 * rowpainter.C: adjust
1776 * lyxrow_funcs. [Ch]: new files
1778 * lyxrow.[Ch]: remove next and previous pointers
1779 (next,previous): remove accessor functions
1780 (isParEnd): move to lyxrow_funcs
1781 (lastPos): move to lyxrow_funcs
1782 (nextRowIsAllInset): move to lyxrow_funcs
1783 (lastPrintablePos): move to lyxrow_funcs
1784 (numberOfSeparators): move to lyxrow_funcs
1785 (numberOfHfills): move to lyxrow_funcs
1786 (numberOfLabelHfills): move to lyxrow_funcs
1787 (hfillExpansion): move to lyxrow_funcs
1791 * bufferview_funcs.C (toggleAndShow): adjust
1793 * RowList.h: Remove class RowList from file leave just a
1796 * RowList.C: delete file
1798 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1801 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1803 * text3.C (cursorPrevious): adjust
1804 (cursorNext): adjust
1807 * text2.C (redoHeightOfParagraph): adjust
1808 (redoDrawingOfParagraph): adjust
1811 * text.C (breakParagraph): adjust
1812 (insertChar): adjust
1815 * rowpainter.C (RowPainter): adjust
1816 (leftMargin): simplify and adjust
1817 (most rowpainter functions): adjust.
1819 * rowpainter.h: store the row as RowList::iterator not as Row*
1821 * lyxcursor.C (row): taka RowList::iterator as arg
1824 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1827 2003-04-01 Angus Leeming <leeming@lyx.org>
1829 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1830 stuff like bool Bool.
1832 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1834 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1837 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1839 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1842 * lyxtext.h (rows): drop one version and leve a const variant that
1843 returns a RowList::iterator.
1845 2003-03-31 Angus Leeming <leeming@lyx.org>
1847 * text.C (fill): ensure that the signature is the same as that in the
1850 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1852 * text2.C (redoParagraphs): adjust
1853 (updateCounters): adjust
1854 (checkParagraph): adjust
1855 (getColumnNearX): adjust and reformat a bit.
1857 * text.C (top_y): adjust
1859 (leftMargin): adjust
1860 (prepareToPrint): adjust
1862 (getRowNearY): adjust
1864 * lyxtext.h: make rowlist_ mutable.
1866 * RowList.h: add const_iterator
1867 * RowList.C: adjust for RowList::const_iterator.
1869 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1872 2003-03-31 John Levon <levon@movementarian.org>
1875 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1877 * lyx_main.C: set default fonts from using lyx_gui funcs
1879 * exporter.C: pdf_mode moved from lyxrc
1882 * lyxfunc.C: changes from above
1884 2003-03-31 John Levon <levon@movementarian.org>
1886 * lyx_main.C: fix to the last fix
1888 2003-03-31 John Levon <levon@movementarian.org>
1890 * bufferlist.C: "Load original" -> "Load Original"
1896 * format.C: more Alert cleanups
1898 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1900 * text2.C (removeParagraph): make it take a RowList::iterator as
1902 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1903 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1905 * text.C (anchor_row): make it take a RowList::iterator as arg,
1907 (computeBidiTables): make it take a const reference to Row instead
1908 of Row pointer, adjust.
1909 (leftMargin): make it take a RowList::iterator as arg, adjust.
1910 (rowBreakPoint): adjust
1911 (breakAgainOneRow): make it take a RowList::iterator as arg,
1913 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1915 * bufferview_funcs.C (toggleAndShow): adjust
1917 2003-03-30 John Levon <levon@movementarian.org>
1921 * boost-inst.C: moved to support
1923 * several files: changes as a result
1925 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1927 * text2.C (LyXText): adjust.
1929 (removeRow): make it take a RowList::iterator as arg, adjust.
1930 (fullRebreak): adjust
1931 (deleteEmptyParagraphMechanism): adjust
1932 (clearPaint): adjust
1935 * text.C (top_y): adjust
1936 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1937 (breakAgain): make it take a RowList::iterator as arg, adjust.
1938 (breakParagraph): adjust
1939 (insertChar): adjust
1942 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1943 need_break_row, and refresh_row.
1945 * text3.C (dispatch): adjust
1947 * text2.C (checkParagraph): adjust
1949 (setCursorFromCoordinates): adjust
1951 * text.C (top_y): adjust
1953 (getRow): make it return a RowList::iterator, adjust
1954 (getRowNearY): make it return a RowList::iterator, adjust
1956 * text2.C (init): adjust
1957 (insertRow): remove function
1958 (insertParagraph): adjust
1959 (redoParagraphs): adjust
1960 (fullRebreak): adjust
1961 (updateCounters): adjust
1963 * text.C (top_y): rewrite to use RowList iterators.
1965 (setHeightOfRow): rewrite to sue RowList iterators.
1966 (appendParagraph): adjust
1967 (breakAgain): adjust
1968 (breakAgainOneRow): adjust
1969 (breakParagraph): adjust
1971 (getRowNearY): adjust, and remove commented code.
1973 * lyxtext.h (firstRow): delete function
1974 (lastRow): delete function
1975 (rows): new function (const and non-const versions.)
1976 (insertRow): delete function
1978 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1980 2003-03-29 John Levon <levon@movementarian.org>
1982 * BufferView_pimpl.C: always update scrollbar top
1983 because pasting text when we're anchored could mean we
1984 miss an update altogether
1986 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1988 * text2.C (init): use rowlist_.end() and not 0.
1989 (insertRow): change to take a RowList::iterator as arg, adjust
1991 (insertParagraph): change to take a RowList::iterator as arg,
1993 (redoParagraphs): remove some debug msgs.
1995 * text.C (appendParagraph): change to take a RowList::iterator
1996 arg, adjust for this.
1997 (breakAgain): add an assert
1998 (breakAgainOneRow): ditto
2000 2003-03-29 John Levon <levon@movementarian.org>
2002 * text2.C: do not clear selection after inc/decDepth
2005 2003-03-29 John Levon <levon@movementarian.org>
2008 * buffer.C: fix broken strerrors according to Lars
2010 2003-03-29 John Levon <levon@movementarian.org>
2012 * converters.C: more Alert cleanups
2014 2003-03-29 John Levon <levon@movementarian.org>
2016 * bufferview_funcs.C: remove pointless Alert
2018 * buffer.C: fix confusing error message when
2019 a template is chmoded 000
2021 2003-03-29 John Levon <levon@movementarian.org>
2025 * BufferView_pimpl.C: Alert fixes
2029 * tabular-old.C: remove unused table compat reading
2031 2003-03-29 John Levon <levon@movementarian.org>
2036 * lyx_cb.C: more Alert cleanups
2038 * lyxfunc.C: don't allow chktex if not latex document
2040 2003-03-29 John Levon <levon@movementarian.org>
2044 * buffer.C: warnings pushed down from support/,
2047 2003-03-29 John Levon <levon@movementarian.org>
2049 * lyxfunc.C: safety check for C-r (revert)
2051 2003-03-29 John Levon <levon@movementarian.org>
2054 * bufferlist.C: several UI fixes using Alert::prompt.
2055 Fix the pointless looping quit code. Fix stupid revert
2060 * lyx_cb.C: use Alert::prompt
2062 * lyx_main.C: remove a silly question
2064 * lyxfunc.C: remove a couple of silly questions,
2067 2003-03-28 John Levon <levon@movementarian.org>
2069 * text2.C: fix bug 974 (End on empty par)
2071 2003-03-28 John Levon <levon@movementarian.org>
2073 * BufferView_pimpl.C:
2075 * lfuns.h: remove do-nothing math greek lfuns
2077 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2079 * lyxgluelength.h (isValidGlueLength): add default arg on
2080 parameter 2. Remove default arg from friend in class.
2082 * lyxlength.h (isValidLength): add default arg on parameter 2.
2083 Remove default arg from friend in class.
2085 * text2.C (LyXText): adjust, initialize refresh_row.
2089 (insertParagraph): adjst
2090 (redoParagraphs): adjust
2091 (fullRebreak): adjust
2092 (updateCounters): adjust
2093 (deleteEmptyParagraphMechanism): first attempt at fixing a
2096 * text.C (top_y): adjust
2097 (setHeightOfRow): adjust
2099 (getRowNearY): adjust
2101 * lyxtext.h: include RowList.h
2102 (~LyXText): not needed anymore, deleted.
2103 (firstRow): modify for RowList
2104 (lastRow): new function
2105 Delete firstrow and lastrow class variables, add a Rowlist
2106 rowlist_ class variable.
2108 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2111 * RowList.C (insert): fix case where it == begin().
2113 2003-03-26 Angus Leeming <leeming@lyx.org>
2115 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2116 the thesaurus dialog.
2118 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2120 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2122 * RowList.[Ch]: new files
2124 * ParagraphList.C (erase): handle the case where it == begin
2127 2003-03-25 John Levon <levon@movementarian.org>
2131 * aspell.C: add new aspell support
2134 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2137 2003-03-25 Angus Leeming <leeming@lyx.org>
2140 * LyXAction.C (init): new LFUN_INSET_INSERT.
2142 * BufferView_pimpl.C (dispatch): split out part of the
2143 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2145 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2148 2003-03-25 Angus Leeming <leeming@lyx.org>
2150 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2152 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2155 * text3.C: remove useless row->height(0)
2157 2003-03-25 John Levon <levon@movementarian.org>
2161 * text3.C: rename the refreshing stuff to better names
2163 2003-03-24 John Levon <levon@movementarian.org>
2165 * BufferView_pimpl.h:
2166 * BufferView_pimpl.C: update layout choice on a mouse
2169 2003-03-23 John Levon <levon@movementarian.org>
2171 * Makefile.am: fix commandtags.h reference
2173 2003-03-22 John Levon <levon@movementarian.org>
2175 * BufferView_pimpl.C:
2180 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2182 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2185 * text.C: take the rtl methods out of line
2187 2003-03-21 André Pönitz <poenitz@gmx.net>
2189 * metricsinfo.[Ch]: new files containing structures to be passed around
2190 during the two-phase-drawing...
2192 2003-03-21 André Pönitz <poenitz@gmx.net>
2194 * lyxtextclass.C: read 'environment' tag.
2196 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2198 * text2.C (removeRow): fix bug 964
2200 2003-03-20 John Levon <levon@movementarian.org>
2204 * text2.C: paint cleanups. Inset::update() dropped font
2207 2003-03-19 John Levon <levon@movementarian.org>
2209 * lyxfunc.C: only fitcursor/markDirty if available()
2211 2003-03-19 John Levon <levon@movementarian.org>
2213 * commandtags.h: rename to ...
2215 * lfuns.h: ... this, and renumber / cleanup
2217 2003-03-19 John Levon <levon@movementarian.org>
2219 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2220 fit the cursor after an lfun
2224 * BufferView_pimpl.h:
2225 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2227 * LyXAction.C: layout-character should have ReadOnly
2229 * ParagraphParameters.C:
2231 * bufferview_funcs.C:
2238 * undo_funcs.C: changes from above
2240 2003-03-18 John Levon <levon@movementarian.org>
2242 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2243 remove it from update()
2245 * lyxfunc.C: update layout choice after an lfun
2247 * text3.C: remove extra updateLayoutChoice()s
2249 2003-03-18 John Levon <levon@movementarian.org>
2251 * text.C: top_y change means full repaint, fix
2252 a drawing bug with cursor movement
2254 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2258 * text2.C: anchor row on setCursor
2260 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2262 * lyxtext.h: remove almost all mutable keywords
2265 * text3.C: remove const keywords accordingly
2267 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2269 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2271 (TeXEnvironment): ditto
2274 2003-03-17 John Levon <levon@movementarian.org>
2276 * text.C (rowBreakPoint): remove attempt to fix displayed
2277 math insets inside a manual label
2279 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2281 * lyxtext.h: remove BufferView* as first arg from almost all class
2283 * other files: adjust.
2285 2003-03-17 John Levon <levon@movementarian.org>
2289 * text2.C: more paint cleanups
2291 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2294 * rowpainter.C: remove "smart" background painting code
2296 2003-03-16 John Levon <levon@movementarian.org>
2301 * text3.C: add helper functions for setting refresh_row/y
2303 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2305 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2306 newline inset which *can* get inserted in the pass_thru layouts.
2307 This is primarily for literate documents.
2309 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2311 * buffer.C: increment LYX_FORMAT to 223
2313 2003-03-14 André Pönitz <poenitz@gmx.net>
2315 * textclass.h: prepare for environment handling, ws changes
2316 * lyxlayout.C: read latexheader and latexfooter tags
2318 2003-03-14 John Levon <levon@movementarian.org>
2320 * text2.C: rewrite ::status() a bit
2322 2003-03-13 John Levon <levon@movementarian.org>
2324 * lyxtext.h: add some docs
2326 2003-03-13 John Levon <levon@movementarian.org>
2331 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2333 2003-03-13 John Levon <levon@movementarian.org>
2335 * text3.C: fix appendix redrawing
2337 2003-03-13 John Levon <levon@movementarian.org>
2339 * text.C (setHeightOfRow):
2341 * rowpainter.C: make appendix mark have the text
2342 "Appendix" so the user knows what it is
2345 * LColor.C: s/appendixline/appendix/ from above
2347 2003-03-13 John Levon <levon@movementarian.org>
2349 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2351 * text.C: fix a getChar(pos) bug properly
2353 2003-03-13 Angus Leeming <leeming@lyx.org>
2356 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2357 Probably only temporary. Let's see how things pan out.
2359 * BufferView.C (unlockInset):
2360 * BufferView_pimpl.C (fitCursor):
2361 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2363 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2364 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2366 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2367 new functions that convert ParagraphParameters to and from a string.
2369 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2370 BufferView::Pimpl's dispatch.
2371 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2373 2003-03-13 André Pönitz <poenitz@gmx.net>
2377 * factory.C: make it aware of InsetEnv
2379 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2381 * text2.C (setCursor): never ask for one past last
2382 (setCursor): add some debugging messages.
2384 * text.C (singleWidth): never ask for one past last
2385 (singleWidth): ditto
2387 (rightMargin): ditto
2388 (rowBreakPoint): ditto
2389 (setHeightOfRow): ditto
2390 (prepareToPrint): ditto
2392 * rowpainter.C (paintBackground): never ask for one past last
2393 (paintText): never ask for one past last
2395 * paragraph_pimpl.C (getChar): make the assert stricter, never
2396 allow the one past last pos to be taken
2398 * paragraph.C (getChar): ws changes only
2400 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2401 (numberOfSeparators): ditto
2402 (numberOfHfills): ditto
2404 2003-03-12 John Levon <levon@movementarian.org>
2410 * paragraph_funcs.C: fix per-buffer authorlists
2412 2003-03-12 John Levon <levon@movementarian.org>
2414 * text.C: fix newline in right address
2416 2003-03-12 Angus Leeming <leeming@lyx.org>
2418 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2419 duplicate those in LyXFunc::dispatch.
2423 * ToolbarDefaults.C:
2424 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2425 Add LFUN_FONTFREE_UPDATE.
2427 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2428 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2430 * bufferview_func.[Ch]: several new functions to facilliate
2431 transfer of data to and from the character dialog.
2433 2003-03-12 John Levon <levon@movementarian.org>
2438 * paragraph_funcs.C:
2439 * paragraph_pimpl.C:
2443 * text3.C: remove META_NEWLINE in favour of an inset
2446 * rowpainter.C: remove paintNewline (done by inset)
2448 2003-03-12 John Levon <levon@movementarian.org>
2450 * paragraph_pimpl.C: complain about bad getChar()s
2451 for a while at least
2453 2003-03-12 John Levon <levon@movementarian.org>
2456 * buffer.C: move paragraph read into a separate function,
2457 a little renaming to reflect that.
2460 * bufferparams.C: remove the author_ids map, not necessary now
2463 * factory.C: moved Buffer::readInset to here
2465 * paragraph_funcs.h:
2466 * paragraph_funcs.C: readParagraph free function moved from
2469 * tabular.C: name change
2471 2003-03-12 John Levon <levon@movementarian.org>
2474 * ParagraphParameters.C: move par params input to
2477 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2478 behave like a normal read from the stream wrt reading
2479 a line vs. a \\token
2481 2003-03-12 John Levon <levon@movementarian.org>
2484 * ParagraphParameters.h:
2485 * ParagraphParameters.C: move output code to a
2488 2003-03-12 John Levon <levon@movementarian.org>
2490 * BufferView.C (insertLyXFile):
2493 * tabular.C: use a parlist iterator for creating the
2496 2003-03-12 John Levon <levon@movementarian.org>
2498 * buffer.C: make current_change static local not
2501 2003-03-12 John Levon <levon@movementarian.org>
2503 * buffer.C: fix insertStringAsLines for change tracking
2505 2003-03-12 John Levon <levon@movementarian.org>
2512 * bufferparams.C: move author list into params. Rename some
2513 functions. Move the header reading into a separate token
2514 loop. Move the header token reading into BufferParams.
2516 2003-03-12 John Levon <levon@movementarian.org>
2518 * changes.C: put debug inside lyxerr.debugging() checks
2520 2003-03-11 André Pönitz <poenitz@gmx.net>
2522 * factory.C: make it aware of InsetHFill
2524 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2526 * buffer.C (latexParagraphs): move function from here...
2527 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2530 2003-03-10 Angus Leeming <leeming@lyx.org>
2532 * LyXAction.C (init): fix bug in poplating array with multiple entries
2533 with the same LFUN (spotted by JMarc).
2535 2003-03-10 John Levon <levon@movementarian.org>
2538 * text2.C: move getColumnNearX() near its
2541 2003-03-10 John Levon <levon@movementarian.org>
2543 * text.C: fix break before a minipage
2545 2003-03-10 John Levon <levon@movementarian.org>
2547 * text.C: fix the last commit
2549 2003-03-09 John Levon <levon@movementarian.org>
2553 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2554 bug 365 (don't break before insets unless needed). Don't
2555 return a value > last under any circumstances.
2557 2003-03-09 Angus Leeming <leeming@lyx.org>
2559 * BufferView_pimpl.C (trackChanges, dispatch): call
2560 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2562 2003-03-09 Angus Leeming <leeming@lyx.org>
2564 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2565 than Dialogs::showAboutlyx().
2567 2003-03-09 Angus Leeming <leeming@lyx.org>
2569 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2570 than Dialogs::showTabularCreate().
2572 2003-03-09 John Levon <levon@movementarian.org>
2576 * text2.C: 3rd arg to nextBreakPoint was always the same.
2579 2003-03-08 John Levon <levon@movementarian.org>
2586 * text2.C: Remove the "main" bit from the "main body"
2589 2003-03-08 John Levon <levon@movementarian.org>
2591 * text.C (leftMargin): The left margin of an empty
2592 manual label paragraph should not include the label width
2595 * text.C (prepareToPrint): don't attempt to measure hfills
2596 for empty manual label paragraphs - the answer should be 0
2598 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2600 * CutAndPaste.C: remove commented code and reindent.
2602 2003-03-08 John Levon <levon@movementarian.org>
2605 * lyxfunc.C: move reloadBuffer()
2608 * BufferView.C: to here
2610 * lyxvc.C: add comment
2613 * vc-backend.C: call bv->reload() to avoid
2614 getStatus() check on MENURELOAD
2616 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2618 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2619 to an old format .dep file.
2621 2003-03-07 Angus Leeming <leeming@lyx.org>
2623 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2624 when the LFUN_MOUSE_RELEASE should have been handled by
2625 inset->localDispatch.
2627 2003-03-07 Angus Leeming <leeming@lyx.org>
2629 * BufferView_pimpl.C (dispatch):
2630 * LyXAction.C (init):
2631 * ToolbarDefaults.C (init):
2633 * lyxfunc.C (getStatus):
2634 remove LFUN_INSET_GRAPHICS.
2636 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2638 2003-03-07 Angus Leeming <leeming@lyx.org>
2641 * LyXAction.C (init):
2642 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2644 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2647 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2649 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2650 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2652 2003-03-07 Angus Leeming <leeming@lyx.org>
2654 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2657 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2659 * ParagraphList.C (front): new function
2662 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2664 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2665 and top_row_offset_. removed var first_y.
2667 * text2.C (LyXText, removeRow):
2669 * BufferView_pimpl.C:
2670 use these methods instead of using first_y
2672 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2674 * text2.C (pasteSelection): adjust for checkPastePossible
2676 * CutAndPaste.C: remove Paragraph * buf and replace with
2677 ParagraphList paragraphs.
2678 (DeleteBuffer): delete
2679 (cutSelection): change the tc type to textclass_type
2680 (copySelection): change the tc type to textclass_type
2681 (copySelection): adjust for ParagraphList
2682 (pasteSelection): change the tc type to textclass_type
2683 (pasteSelection): adjust for Paragraphlist
2684 (nrOfParagraphs): simplify for ParagraphList
2685 (checkPastePossible): simplify for ParagraphList
2686 (checkPastePossible): remove unused arg
2688 * ParagraphList.C (insert): handle the case where there are no
2691 * CutAndPaste.h: make CutAndPaste a namespace.
2693 * text3.C (dispatch): adjust
2695 * text.C (breakParagraph): add a ParagraphList as arg
2697 * paragraph_funcs.C (breakParagraph): change to take a
2698 BufferParams and a ParagraphList as args.
2699 (breakParagraphConservative): ditto
2700 (mergeParagraph): ditto
2701 (TeXDeeper): add a ParagraphList arg
2702 (TeXEnvironment): ditto
2705 * buffer.C (readLyXformat2): adjust
2706 (insertStringAsLines): adjust
2707 (latexParagraphs): adjust
2709 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2710 (cutSelection): adjust
2711 (pasteSelection): adjust
2713 * BufferView_pimpl.C (insertInset): adjust
2715 2003-03-05 Angus Leeming <leeming@lyx.org>
2718 * LyXAction.C (init):
2719 * BufferView_pimpl.C (dispatch):
2720 * lyxfunc.C (getStatus):
2721 remove LFUN_CHILD_INSERT.
2723 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2725 2003-03-05 Angus Leeming <leeming@lyx.org>
2728 * LyXAction.C (init):
2729 * src/factory.C (createInset):
2730 * lyxfunc.C (getStatus):
2731 * text3.C (dispatch):
2732 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2734 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2736 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2738 * ParagraphList.C (insert): handle insert right before end()
2739 (erase): fix cases where it can be first or last paragraph.
2741 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2743 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2744 Paragraph::next and Paragraph::previous
2747 * text.C (breakParagraph): adjust
2749 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2750 BufferParams& as arg.
2751 (breakParagraph): use ParagraphList::insert
2752 (breakParagraphConservative): take a Buffer* instead of a
2753 BufferParams& as arg.
2754 (breakParagraphConservative): use ParagraphList::insert.
2756 * buffer.C (insertStringAsLines): un-const it
2757 (insertStringAsLines): adjust
2759 * ParagraphList.C (insert): new function
2761 * CutAndPaste.C (pasteSelection): adjust
2763 * text.C (backspace): adjust
2765 * tabular.C (SetMultiColumn): adjust
2767 * CutAndPaste.C (cutSelection): adjust
2768 (pasteSelection): adjust
2770 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2771 Buffer const * as arg
2773 * ParagraphList.C (erase): new function
2774 * paragraph_funcs.C (mergeParagraph): use it
2775 (mergeParagraph): make it take a Buffer* instead of a
2776 BufferParams* as arg
2778 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2780 (breakParagraphConservative): ditto
2782 * paragraph.h: remove the breakParagraph friend
2784 * paragraph.C (eraseIntern): new function
2785 (setChange): new function
2787 * paragraph_funcs.C (mergeParagraph): make it take a
2788 ParagraphList::iterator instead of a Paragraph *, adjust
2791 * paragraph.h: move an #endif so that the change tracking stuff
2792 also works in the NO_NEXT case.
2794 2003-03-04 Angus Leeming <leeming@lyx.org>
2797 * LyXAction.C: new LFUN_INSET_MODIFY.
2799 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2800 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2802 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2804 * several files: ws changes only
2806 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2807 (TeXEnvironment): ditto
2810 * buffer.C (makeLaTeXFile): adjust
2811 (latexParagraphs): make it take ParagraphList::iterator as args
2813 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2815 * buffer.C (latexParagraphs): adjust
2817 * paragraph.C (TeXOnePar): move function...
2818 (optArgInset): move function...
2819 (TeXEnvironment): move function...
2820 * paragraph_pimpl.C (TeXDeeper): move function...
2821 * paragraph_funcs.C: ...here
2823 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2825 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2827 * buffer.C (readInset): remove compability code for old Figure and
2830 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2832 * buffer.C: ws changes
2835 * BufferView_pimpl.C: ditto
2838 * bufferlist.h: ditto
2842 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2844 * converter.[Ch]: split into itself +
2847 * Makefile.am: += graph.[Ch] + format.[Ch]
2854 * lyxrc.C: added #include "format.h"
2856 2003-02-27 Angus Leeming <leeming@lyx.org>
2858 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2861 * factory.C (createInset): add "label" to the factory.
2863 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2864 string and do no more.
2866 2003-02-27 Angus Leeming <leeming@lyx.org>
2869 * LyXAction.C (init):
2870 * factory.C (createInset):
2871 * BufferView_pimpl.C (dispatch):
2872 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2874 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2876 * lyxfunc.C (dispatch):
2877 * text3.C (dispatch): pass name to params2string.
2879 2003-02-26 Angus Leeming <leeming@lyx.org>
2881 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2883 Rearrange the ~includes. Strip out the unnecessary ones.
2885 * factory.C (createInset): reformat.
2886 create new insets for the various LFUN_XYZ_APPLY lfuns.
2888 2003-02-26 John Levon <levon@movementarian.org>
2891 * lyxrow.C: add isParStart,isParEnd helpers
2893 * paragraph.h: make isInserted/DeletedText take refs
2895 * paragraph_funcs.h:
2896 * paragraph_funcs.C: remove #if 0'd code
2901 * text.C: use lyxrow helpers above.
2902 Move draw and paint routines to RowPainter.
2903 Make several methods use refs not pointers.
2904 Make backgroundColor() const.
2905 Add markChangeInDraw(), isInInset().
2906 Merge changeRegionCase into changeCase.
2907 Make workWidth() shouldn't-happen code into an Assert.
2910 * rowpainter.C: new class for painting a row.
2913 * vspace.C: make inPixels take a ref
2915 2003-02-26 Angus Leeming <leeming@lyx.org>
2917 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2920 2003-02-25 John Levon <levon@movementarian.org>
2922 * ispell.C: give the forked command a more accurate name
2924 2003-02-22 John Levon <levon@movementarian.org>
2927 * toc.C: make TocItem store an id not a Paragraph *
2930 2003-02-21 Angus Leeming <leeming@lyx.org>
2932 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2933 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2934 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2935 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2936 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2937 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2939 * BufferView_pimpl.C (dispatch):
2940 * LyXAction.C (init):
2941 * factory.C (createInset):
2942 * lyxfunc.C (getStatus, dispatch):
2943 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2945 2003-02-21 Angus Leeming <leeming@lyx.org>
2947 * BufferView_pimpl.C (MenuInsertLyXFile):
2948 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2949 * lyxfunc.C (menuNew, open, doImport):
2950 no longer pass a LyXView & to fileDlg.
2952 2003-02-21 Angus Leeming <leeming@lyx.org>
2954 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2955 * LyXAction.C: change, BIBKEY to BIBITEM.
2956 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2957 Change InsetBibKey to InsetBibitem.
2958 Change BIBKEY_CODE to BIBITEM_CODE.
2959 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2960 * factory.C: replace insetbib.h with insetbibitem.h.
2961 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2962 * paragraph.C: replace insetbib.h with insetbibitem.h.
2963 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2964 Change bibkey() to bibitem().
2965 * text.C: remove insetbib.h.
2966 * text2.C: replace insetbib.h with insetbibitem.h.
2967 change bibkey() to bibitem().
2968 * text3.C: remove insetbib.h.
2969 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2971 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2973 * lyxrc.C (output): enclose user email in quotes (in case there are
2976 2003-02-18 John Levon <levon@movementarian.org>
2978 * buffer.h: add std::
2980 2003-02-17 John Levon <levon@movementarian.org>
2986 * pspell.C: reworking. Especially in ispell, a large
2987 number of clean ups and bug fixes.
2989 * lyxfunc.C: fix revert to behave sensibly
2991 2003-02-17 André Pönitz <poenitz@gmx.net>
2994 * commandtags.h: new LFUN_INSERT_BIBKEY
3004 * paragraph_func.C: remove special bibkey handling
3006 2003-02-17 John Levon <levon@movementarian.org>
3008 * text.C (Delete): fix case where delete at the end of
3009 the very first paragraph would not merge the pars
3011 2003-02-17 John Levon <levon@movementarian.org>
3013 * lyxrow.C: fix lastPrintablePos()
3015 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3017 * bufferparams.C (writeLaTeX): add a std:here
3019 * buffer.C: and remove a using directive there
3021 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3023 * buffer.C (makeLaTeXFile): move the code that generates the
3026 * bufferparams.C (writeLaTeX): ... in this new method
3028 * LaTeXFeatures.C (getEncodingSet): make const
3029 (getLanguages): make const
3031 * MenuBackend.C (binding): returns the binding associated to this
3033 (add): sets the status of each item by calling getStatus. Adds
3035 (read): add support for OptSubMenu
3036 (expand): remove extra separator at the end of expanded menu
3038 2003-02-15 John Levon <levon@movementarian.org>
3041 * BufferView_pimpl.C:
3043 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3044 inset code that had no actual effect. Remove unneeded status
3047 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3049 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3052 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3054 * text.C (drawLengthMarker): also draw an arrow marker for
3055 symbolic lengths (medskip...)
3057 2003-02-14 John Levon <levon@movementarian.org>
3060 * tabular.C: better method names
3062 2003-02-14 John Levon <levon@movementarian.org>
3064 * BufferView_pimpl.C:
3069 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3070 it's a more accurate name. Remove some pointless uses.
3072 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3074 * text2.C (LyXText): change order of initilizers to shut off
3077 2003-02-14 John Levon <levon@movementarian.org>
3079 * buffer.C: use ParIterator for getParFromID()
3083 * paragraph_pimpl.h:
3084 * paragraph_pimpl.C: remove unused getParFromID()
3086 2003-02-14 John Levon <levon@movementarian.org>
3088 * buffer.C: remove some very old #if 0'd parse code
3090 2003-02-13 John Levon <levon@movementarian.org>
3094 * text2.C: move hfillExpansion(), numberOfSeparators(),
3095 rowLast(), rowLastPrintable(), numberofHfills(),
3096 numberOfLabelHfills() ...
3099 * lyxrow.C: ... to member functions here.
3104 * text.C: remove LyXText::beginningOfMainBody(), and call
3105 p->beginningOfMainBody() directly. Move the check for
3106 LABEL_MANUAL into the latter.
3113 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3119 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3120 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3122 2003-02-13 John Levon <levon@movementarian.org>
3124 * CutAndPaste.C: remove debug
3126 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3128 * paragraph.C (asString): remove two unused variables
3130 * lyxtextclass.C (readTitleType):
3132 (LyXTextClass): handle new members titletype_ and titlename_
3134 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3136 2003-02-09 John Levon <levon@movementarian.org>
3139 * buffer.C: replace hand-coded list with a map for the dep clean
3141 2003-02-08 John Levon <levon@movementarian.org>
3143 * LaTeX.C: consolidate code into showRunMessage() helper
3145 2003-02-08 John Levon <levon@movementarian.org>
3150 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3151 and pass the size in explicitly
3153 * BufferView_pimpl.h:
3154 * BufferView_pimpl.C:
3156 * BufferView.C: add getCurrentChange()
3158 * BufferView_pimpl.h:
3159 * BufferView_pimpl.C: handle change lfuns
3161 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3162 for changes. Mark pasted paragraphs as new.
3164 * support/lyxtime.h:
3165 * support/lyxtime.C:
3166 * DepTable.C: abstract time_t as lyx::time_type
3169 * LColor.C: add colours for new text, deleted text, changebars
3171 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3172 package use "usenames" option.
3176 * LyXAction.C: add change lfuns
3180 * author.C: author handling
3183 * buffer.C: add a per-buffer author list, with first entry as
3184 current author. Handle new .lyx tokens for change tracking. Output
3185 author list to .lyx file. Output dvipost stuff to .tex preamble.
3186 Bump lyx format to 222.
3189 * bufferlist.C: add setCurrentAuthor() to reset current author details
3193 * bufferparams.C: add param for tracking
3195 * bufferview_funcs.C: output change info in minibuffer
3199 * changes.C: add change-tracking structure
3202 * debug.C: add CHANGES debug flag
3205 * lyxfind.C: add code for finding the next change piece
3208 * lyxrc.C: add user_name and user_email
3211 * lyxrow.C: add a metric for the top of the text line
3214 * text.C: implement accept/rejectChange()
3217 * text.C: paint changebars. Paint new/deleted text in the chosen
3218 colours. Strike through deleted text.
3222 * paragraph_pimpl.h:
3223 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3224 in the current change to the insert functions. Rework erase to
3225 mark text as deleted, adding an eraseIntern() and a range-based
3226 erase(). Implement per-paragraph change lookup and
3229 * paragraph_funcs.C: Fixup paste for change tracking.
3231 * tabular.C: mark added row/columns as new.
3233 * text.C: fix rowLast() to never return -1. Don't allow
3234 spellchecking of deleted text. Track transpose changes. Don't
3235 allow paragraph break or merge where appropriate.
3237 * text2.C: leave cursor at end of selection after a cut.
3239 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3241 * text.C (getLengthMarkerHeight):
3242 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3243 visible on screen too.
3245 2003-02-07 John Levon <levon@movementarian.org>
3247 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3249 2003-02-05 Angus Leeming <leeming@lyx.org>
3251 * lyxserver.C (read_ready): revert my patch of 11 September last year
3252 as it sends PC cpu through the roof. Presumably this means that
3253 the lyxserver will no longer run on an Alpha...
3255 2003-01-30 Angus Leeming <leeming@lyx.org>
3257 * factory.C (createInset): create an InsetCommandParam of type "index"
3258 and use it to 'do the right thing'.
3260 * text2.C (getStringToIndex): ensure that cursor position is always
3261 reset to the reset_cursor position.
3263 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3265 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3268 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3272 * lyxfunc.C: Output messages with identical spelling, punctuation,
3275 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3277 * MenuBackend.C (expandFormats): List only viewable export formats
3280 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3283 * lyxfunc.C (getStatus): Make sure that formats other than
3284 "fax" can also be disabled
3286 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3288 * text3.C (dispatch): put the lfuns that insert insets in 3
3289 groups, and call doInsertInset with appropriate arguments.
3290 (doInsertInset): new function, that creates an inset and inserts
3291 it according to some boolean parameters.
3293 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3295 * buffer.C (readFile): remember to pass on 'par' when calling
3296 readFile recursively.
3298 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3300 * MenuBackend.C (expandFormats): add "..." to import formats.
3302 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3304 * paragraph.C (asString): Remove XForms RTL hacks.
3306 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3307 * buffer.C: fix typo
3309 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3311 * Makefile.am (LIBS): delete var
3312 (lyx_LDADD): add @LIBS@ here instead.
3314 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3316 * Clarify the meaning of "wheel mouse jump"
3318 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3320 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3323 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3325 * importer.C (Loaders): do not preallocate 3 elements in the
3326 vector, since one ends up with 6 elements otherwise
3328 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3330 * DepTable.C (write): write the file name as last element of the
3331 .dep file (because it may contain spaces)
3332 (read): read info in the right order
3334 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3336 * paragraph_pimpl.C (simpleTeXBlanks):
3337 (simpleTeXSpecialChars):
3338 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3340 * tabular.C (latex): add some missing case statements. Reindent.
3342 * MenuBackend.C (expandToc): remove unused variable.
3344 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3353 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3356 2003-01-05 John Levon <levon@movementarian.org>
3359 * BufferView.C: add getEncoding()
3362 * kbsequence.C: do not store last keypress
3365 * lyxfunc.C: store last keypress here instead. Pass encoding
3368 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3370 * lyx_main.C (init): remove annoying error message when following
3371 symbolic links (bug #780)
3373 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3375 * text.C (insertChar):
3376 * lyxrc.C (getDescription): remove extra spaces
3378 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3380 * lyxrc.C (getDescription): remove extra spaces
3382 2002-12-20 John Levon <levon@movementarian.org>
3384 * text3.C: hack fix for page up/down across tall rows
3386 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3388 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3391 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3393 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3394 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3395 thesaurus is not compiled in
3397 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3399 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3401 2002-12-16 Angus Leeming <leeming@lyx.org>
3404 * lyx_main.C (init): remove override_x_deadkeys stuff.
3406 2002-12-12 John Levon <levon@movementarian.org>
3408 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3409 insert. Only remove shift modifier under strict
3412 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3414 * MenuBackend.C (expandToc): fix crash.
3416 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3418 * MenuBackend.C (expandToc): gettext on float names.
3420 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3422 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3423 implement bool empty() [bug 490]
3425 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3427 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3429 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3431 * several files: ws changes
3433 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3435 * text2.C (setCounter): clean up a bit, use boost.format.
3436 (updateCounters): initialize par upon declaration.
3438 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3439 if the layout exists. We do not just store the layout any more.
3440 (SwitchLayoutsBetweenClasses): use boost.format
3442 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3444 * converter.C (convert): if from and to files are the same, use a
3445 temporary files as intermediary
3447 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3450 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3452 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3454 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3456 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3458 * tabular.C (asciiPrintCell): use string(size, char) instead of
3461 * sgml.C (openTag): fix order of arguments to string constructor
3464 * lyxfunc.C (dispatch): use boost.format
3466 * lots of files: change "c" -> 'c'
3468 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3470 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3472 2002-11-25 Angus Leeming <leeming@lyx.org>
3474 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3476 * lyx_main.C (init): compile fix.
3478 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3480 * lyx_cb.C (start): boost.formatify
3481 do not include <iostream>
3483 * lengthcommon.C: ws only
3485 * boost-inst.C,BoostFormat.h: add more explict instantations
3487 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3489 * lots of files: handle USE_BOOST_FORMAT
3491 2002-11-21 John Levon <levon@movementarian.org>
3493 * pspell.C: fix compile
3495 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3497 * lyxfunc.C (dispatch): use boost::format
3501 * lyxfont.C (stateText): use boost::format
3503 * lyx_main.C (LyX): use boost::format
3505 (queryUserLyXDir): ditto
3508 (typedef boost::function): use the recommened syntax.
3510 * importer.C (Import): use boost::format
3512 * debug.C (showLevel): use boost::format
3514 * converter.C (view): use boost::format
3519 * bufferview_funcs.C (currentState): use boost::format
3521 * bufferlist.C (emergencyWrite): use boost::format
3523 * buffer.C (readLyXformat2): use boost::format
3524 (parseSingleLyXformat2Token): ditto
3526 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3528 * LaTeX.C (run): use boost::format
3530 * Chktex.C (scanLogFile): use boost::format
3532 * BufferView_pimpl.C (savePosition): use boost::format
3533 (restorePosition): ditto
3534 (MenuInsertLyXFile): ditto
3536 * BoostFormat.h: help file for explicit instation.
3538 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3540 * tabular.C (latex): Support for block alignment in fixed width
3543 2002-11-17 John Levon <levon@movementarian.org>
3545 * BufferView_pimpl.C:
3547 * lyxfunc.C: split filedialog into open/save
3549 2002-11-08 Juergen Vigna <jug@sad.it>
3551 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3552 by my last patch (hopefully).
3554 2002-11-08 John Levon <levon@movementarian.org>
3563 * toc.C: ParConstIterator, and use it (from Lars)
3565 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3567 * lyxtextclass.[Ch]: revise and add doxygen comments
3569 2002-11-07 John Levon <levon@movementarian.org>
3571 * text.C: fix progress value for spellchecker
3573 * toc.C: fix navigate menu for insetwrap inside minipage
3575 * paragraph_funcs.C: added FIXME for suspect code
3577 2002-11-07 John Levon <levon@movementarian.org>
3579 * BufferView_pimpl.C: fix redrawing of insets
3582 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3584 * text2.C (updateCounters): fix bug 668
3586 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3588 * text3.C (dispatch): Do not make the buffer dirty when moving the
3591 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3593 * vc-backend.C: STRCONV
3596 * text2.C (setCounter): STRCONV
3598 * paragraph.C (asString): STRCONV
3600 * lyxlength.C (asString): STRCONV
3601 (asLatexString): ditto
3603 * lyxgluelength.C (asString): STRCONV
3604 (asLatexString): ditto
3606 * lyxfunc.C (dispatch): STRCONV
3609 * lyxfont.C (stateText): STRCONV
3611 * importer.C (Import): STRCONV
3613 * counters.C (labelItem): STRCONV
3614 (numberLabel): ditto
3615 (numberLabel): remove unused ostringstream o
3620 * bufferview_funcs.C (currentState): STRCONV
3622 * buffer.C (readFile): STRCONV
3623 (asciiParagraph): ditto
3624 (makeLaTeXFile): ditto
3626 * Spacing.C (writeEnvirBegin): STRCONV
3628 * LaTeXFeatures.C (getLanguages): STRCONV
3629 (getPackages): ditto
3631 (getBabelOptions): ditto
3632 (getTClassPreamble): ditto
3633 (getLyXSGMLEntities): ditto
3634 (getIncludedFiles): ditto
3638 (scanAuxFile): ditto
3641 * LString.h: add the STRCONV macros
3643 * BufferView_pimpl.C (savePosition): STRCONV
3644 (restorePosition): ditto
3645 (MenuInsertLyXFile): ditto
3647 * vc-backend.C (scanMaster): change from submatch[...] to
3650 * funcrequest.C: include config.h
3652 * factory.C: include config.h
3654 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3656 * box.C: include config.h
3658 * LaTeX.C (scanAuxFile): change from submatch[...] to
3662 2002-10-25 Angus Leeming <leeming@lyx.org>
3664 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3666 * ispell.[Ch] (setError): new method.
3667 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3668 Use setError() insetead of goto END.
3670 * lyx_cb.C (AutoSave): move out child process into new class
3673 2002-10-30 John Levon <levon@movementarian.org>
3675 * text3.C: make start appendix undoable
3677 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3679 * lyxlength.C (inPixels): Fix returned value.
3681 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3684 2002-10-24 Angus Leeming <leeming@lyx.org>
3686 * lyxgluelength.h: no need to forward declare BufferParams
3687 or BufferView, so don't.
3689 2002-10-21 John Levon <levon@movementarian.org>
3691 * BufferView.C: menuUndo ->undo, redo
3693 * BufferView.h: document, remove dead, make some methods private
3695 * paragraph_funcs.h:
3696 * paragraph_funcs.C:
3697 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3702 * sgml.C: move sgml open/close tag into sgml.C
3704 * bufferview_funcs.h: unused prototype
3707 * lyxfunc.C: remove unused
3710 * text.C: remove unused
3712 2002-10-21 John Levon <levon@movementarian.org>
3716 * BufferView_pimpl.h:
3717 * BufferView_pimpl.C: fix mouse wheel handling based on
3718 patch from Darren Freeman
3720 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3722 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3724 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3726 * lyxlength.C (inPixels): Fix hanfling of negative length.
3727 Fix LyXLength::MU case.
3729 2002-10-16 John Levon <levon@movementarian.org>
3731 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3733 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3735 * converter.C (view): add support for $$i (file name) and $$p
3736 (file path) for the viewer command. If $$i is not specified, then
3737 it is appended to the command (for compatibility with old syntax)
3739 2002-10-14 Juergen Vigna <jug@sad.it>
3741 * undo_funcs.C (textHandleUndo): alter the order in which the
3742 new undopar is added to the LyXText, as we have to set first
3743 the right prev/next and then add it as otherwise the rebuild of
3744 LyXText is not correct. Also reset the cursor to the right paragraph,
3745 with this IMO we could remove the hack in "redoParagraphs()".
3747 2002-10-09 Angus Leeming <leeming@lyx.org>
3749 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3750 to turn off an optimisation if a new inset is to be inserted.
3752 2002-10-11 André Pönitz <poenitz@gmx.net>
3754 * lyxtext.h: make some functions public to allow access
3755 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3757 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3759 * text3.C (dispatch): when changing layout, avoid an infinite loop
3762 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3764 * lyxrc.C (read): treat a viewer or converter command of "none" as
3767 * MenuBackend.C (expandFormats): for an update, also allow the
3768 formats that are not viewable
3770 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3771 script if it is newer than the lyxrc.defaults in user directory
3773 2002-10-07 André Pönitz <poenitz@gmx.net>
3775 * text.C: Vitaly Lipatov's small i18n fix
3777 2002-09-25 Angus Leeming <leeming@lyx.org>
3779 * ispell.h: doxygen fix.
3781 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3783 * buffer.h (readFile): Add a new argument to the method, to allow
3784 reading of old-format templates.
3786 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3788 * toc.C (getTocList): Get TOC from InsetWrap.
3790 2002-09-16 John Levon <levon@movementarian.org>
3792 * lyxfunc.C: check tabular for cut/copy too
3794 2002-09-12 John Levon <levon@movementarian.org>
3799 * factory.C: add header
3801 * paragraph_funcs.h:
3802 * paragraph_funcs.C: cleanup
3804 2002-09-11 John Levon <levon@movementarian.org>
3806 * PrinterParams.h: odd/even default to true
3808 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3810 * PrinterParams.h: update printer parameters for new xforms dialog
3812 2002-09-11 Angus Leeming <leeming@lyx.org>
3814 * lyxserver.C (read_ready): re-write to make it more transparent
3815 and to make it work in coherent fashion under Tru64 Unix.
3817 2002-09-11 André Pönitz <poenitz@gmx.net>
3821 * text3.C: implement LFUN_WORDSEL
3823 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3825 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3826 make floatlist_ a boost::shared_ptr<FloatList>
3828 * lyxtextclass.C: include FloatList.h
3829 (LyXTextClass): initialize floatlist_
3830 (TextClassTags): add TC_NOFLOAT
3831 (Read): match "nofloat" to TC_NOFLOAT and use it.
3832 (readFloat): modify call to floatlist_
3836 * FloatList.[Ch] (FloatList): remove commented out float
3838 (erase): new function
3840 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3842 * MenuBackend.C (expandToc): fix crash when there is no document
3845 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3847 * many files: Add insetwrap.
3849 2002-09-09 John Levon <levon@movementarian.org>
3851 * text2.C: remove confusing and awkward depth wraparound
3853 2002-09-09 John Levon <levon@movementarian.org>
3855 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3858 * buffer.C: remove getIncludeonlyList()
3861 * lyxfunc.C: remove headers
3863 2002-09-09 Juergen Vigna <jug@sad.it>
3865 * text.C (getColumnNearX): fix form Michael this is most
3866 probably a cut&paste bug.
3868 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3870 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3872 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3873 references, ws changes.
3875 * text2.C (init): update counters after init
3876 (insertParagraph): no need to set counter on idividual paragraphs.
3877 (setCounter): access the counters object in the textclass object
3878 on in the buffer object.
3879 (updateCounters): ditto
3881 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3882 shared_ptr<Counters> to avoid loading counters.h in all
3884 (LyXTextClass): initialize ctrs_
3885 (TextClassTags): add TC_COUNTER, and ...
3886 (Read): use it here.
3887 (CounterTags): new tags
3888 (readCounter): new function
3889 (counters): new funtion
3890 (defaultLayoutName): return a const reference
3892 * counters.C (Counters): remove contructor
3893 (newCounter): remove a couple of unneeded statements.
3894 (newCounter): simplify a bit.
3895 (numberLabel): some small formatting changes.
3897 * buffer.[Ch]: remove all traces of counters, move the Counters
3898 object to the LyXTextClass.
3900 2002-09-06 Alain Castera <castera@in2p3.fr>
3902 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3903 package to set the horizontal alignment on fixed width columns.
3906 * lyx_sty.h: added tabularnewline macro def.
3908 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3910 2002-09-06 John Levon <levon@movementarian.org>
3912 * LyXAction.C: tooltips for sub/superscript
3914 * MenuBackend.C: a bit more verbose
3916 * lyxfunc.C: tiny clean
3918 * undo_funcs.C: document undo_frozen
3920 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3922 * counters.C (Counters): add missing algorithm counter.
3924 * text2.C (setCounter): lookup the counter with layouts latexname
3925 instead of by section number.
3926 (setCounter): use a hackish way to lookup the correct enum
3928 a float name->type change
3929 reset enum couners with counter name directly instead of depth value.
3931 * counters.C (Counters): remove the push_backs, change to use the
3932 float type not the float name.
3933 (labelItem): remove unused string, float name->type change
3935 * counters.h: don't include vector, loose the enums and sects vectors
3937 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3939 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3940 (Read): add float->TC_FLOAT to textclassTags
3941 (Read): and handle it in the switch
3942 (readFloat): new function
3944 * FloatList.C (FloatList): comment out the hardcoded float
3947 * lyxlayout.h: ws change.
3949 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3951 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3953 2002-09-03 Angus Leeming <leeming@lyx.org>
3955 * BufferView_pimpl.h: qualified name is not allowed in member
3956 declaration: WorkArea & Pimpl::workarea() const;
3958 * factory.C: added using std::endl directive.
3960 * text3.C: added using std::find and std::vector directives.
3962 2002-08-29 André Pönitz <poenitz@gmx.net>
3965 * text2.C: remove unused member number_of_rows
3968 * BufferView2.C: remove file, move contents to...
3969 * BufferView.C: ... here
3971 * BufferView_pimpl.C:
3972 * factory.C: move more inset creation to factory
3974 * vspace.C: avoid direct usage of LyXText, ws changes
3977 don't provide direct access to WorkArea, use two simple
3978 acessors haveSelction() and workHeight() instead
3981 2002-08-29 John Levon <levon@movementarian.org>
3983 * BufferView_pimpl.C (dispatch): do not continue when
3986 2002-08-28 André Pönitz <poenitz@gmx.net>
3988 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3991 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3993 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3995 * buffer.C: increment LYX_FORMAT to 221
3997 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3998 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4000 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4002 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4004 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4006 * factory.C (createInset): use LyXTextClass::floats
4008 * MenuBackend.C (expandFloatListInsert):
4009 (expandFloatInsert):
4012 * text2.C (setCounter):
4014 * LaTeXFeatures.C (useFloat):
4015 (getFloatDefinitions):
4017 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4019 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4020 floatlist_, with accessor floats().
4022 * FloatList.h: remove global FloatList
4024 2002-08-26 André Pönitz <poenitz@gmx.net>
4026 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4030 * BufferView_pimpl.C:
4031 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4033 2002-08-25 John Levon <levon@movementarian.org>
4035 * LyXAction.C: fix margin note description
4037 2002-08-24 John Levon <levon@movementarian.org>
4041 * bufferview_funcs.C:
4043 * undo_funcs.C: cleanups
4045 * lyxfunc.C: disable CUT/COPY when no selection
4047 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4049 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4050 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4052 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4053 Add backward compatibility to "mono", "gray" and "no".
4055 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4057 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4058 (and file_format >= 200).
4060 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4062 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4064 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4066 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4068 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4070 * BufferView_pimpl.C:
4077 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4078 inset and code to make it work with the paragraph code. The inset
4079 can be anywhere in the paragraph, but will only do the expected
4080 thing in LaTeX if the layout file contains the parameter line
4082 (or more generally, a nonzero value) for that layout.
4084 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4086 * paragraph.h: remove the declaration of undefined counters class
4089 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4091 * text2.C (setCounter): fixed enumeration mis-count as reported by
4092 Dr. Richard Hawkins.
4094 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4096 * paragraph_funcs.h: remove some unneeded includes
4098 * text.C (backspace): pasteParagraph now in global scipe
4100 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4101 (pasteSelection): ditto
4103 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4104 * paragraph_funcs.C (pasteParagraph): ... here
4106 2002-08-20 André Pönitz <poenitz@gmx.net>
4108 * commandtags.h: new LFUNs for swapping/copying table row/colums
4111 * lyxfunc.C: support for new lfuns
4113 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4116 * buffer.[Ch]: remove NO_COMPABILITY stuff
4118 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4120 * boost.C (throw_exception): new file, with helper function for
4121 boost compiled without exceptions.
4126 * ParameterStruct.h:
4127 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4129 * bufferlist.C (emergencyWriteAll): use boost bind
4131 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4133 * text.C: include paragraph_funcs.h
4134 (breakParagraph): breakParagraph is now in global scope
4136 * paragraph_funcs.[Ch]: new files
4138 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4141 * buffer.C: include paragraph_funcs.h
4142 (insertStringAsLines): breakParagraph is now in global scope
4144 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4147 * CutAndPaste.C: include paragraph_funcs.h
4148 (cutSelection): breakParagraphConservative is now in global scope
4149 (pasteSelection): ditto
4151 * buffer.h: declare oprator== and operator!= for
4152 Buffer::inset_iterator
4154 * bufferlist.C (emergencyWrite): don't use fmt(...)
4156 * text3.C: add using std::endl
4158 * BufferView.C (moveCursorUpdate): remove default arg
4160 2002-08-20 André Pönitz <poenitz@gmx.net>
4162 * buffer.[Ch]: move inline functions to .C
4165 * BufferView_pimpl.C:
4167 * buffer.[Ch]: use improved inset_iterator
4170 * paragraph.[Ch]: write one paragraph at a time
4172 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4174 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4175 style if style is not specified.
4177 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4179 * text2.C (setCounter): when searching for right label for a
4180 caption, make sure to recurse to parent insets (so that a caption
4181 in a minipage in a figure float works) (bug #568)
4183 2002-08-20 André Pönitz <poenitz@gmx.net>
4185 * text3.C: new file for LyXText::dispatch() and helpers
4187 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4189 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4191 2002-08-19 André Pönitz <poenitz@gmx.net>
4194 * text.C: new LyXText::dispatch()
4196 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4198 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4200 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4202 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4205 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4207 * Makefile.am: use $(variables) instead of @substitutions@
4209 2002-08-15 André Pönitz <poenitz@gmx.net>
4212 * BufferView_pimpl.C: streamlining mathed <-> outer world
4216 * LyXAction.C: remove unused LFUN_MATH
4218 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4220 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4222 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4224 * paragraph.C (Paragraph): reformat a bit
4225 (cutIntoMinibuffer): use builtin InsetList function instad of
4229 * buffer.C: include boost/bind.hpp, add using std::for_each
4230 (writeFileAscii): use ParagraphList iterators
4231 (validate): use for_each for validate traversal of paragraphs
4232 (getBibkeyList): use ParagraphList iterators
4233 (resizeInsets): use for_each to resizeInsetsLyXText for all
4235 (getParFromID): use ParagraphList iterators
4237 * BufferView2.C (lockInset): use paragraph list and iterators
4239 2002-08-14 John Levon <levon@movementarian.org>
4241 * lyxserver.C: remove spurious xforms include
4243 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4245 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4247 2002-08-13 André Pönitz <poenitz@gmx.net>
4250 * lyxfunc.C: further cleaning
4252 2002-08-13 André Pönitz <poenitz@gmx.net>
4254 * funcrequest.h: new constructor
4256 * funcrequest.C: move stuff here from .h
4259 * BufferView_pimpl.C:
4262 * lyxfunc.C: subsequent changes
4264 * lyxfunc.h: new view() member function
4266 * lyxfunc.C: subsequent changes
4268 2002-08-13 Angus Leeming <leeming@lyx.org>
4271 * BufferView_pimpl.C:
4279 changes due to the changed LyXView interface that now returns references
4280 to member variables not pointers.
4282 2002-08-13 Angus Leeming <leeming@lyx.org>
4284 * WordLangTuple (word, lang_code): return references to strings,
4289 * lyxtext.h: forward-declare WordLangTuple.
4294 * text.C: #include "WordLangTuple.h".
4297 * text.C: (selectNextWordToSpellcheck): constify return type.
4299 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4305 * paragraph_pimpl.h:
4308 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4310 Made updateCounter always count from start of buffer, and removed
4311 second argument (par).
4312 Reverted floats number display to '#'. Perhaps I'll try again when the
4313 code base is sanitized a bit.
4315 2002-08-12 Angus Leeming <leeming@lyx.org>
4317 * buffer.[Ch] (getLabelList): constify.
4319 2002-08-07 André Pönitz <poenitz@gmx.net>
4321 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4323 * funcrequest.h: extension to keep mouse (x,y) position
4325 2002-08-12 Juergen Vigna <jug@sad.it>
4327 * BufferView2.C (insertErrors): forbid undo when inserting error
4330 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4332 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4334 * ParagraphList.[Ch]: new files
4336 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4338 * BufferView2.C (lockInset): ParagraphList changes
4341 * bufferlist.C: ditto
4345 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4347 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4348 unused class variable counter_,
4350 * paragraph.[Ch] (getFirstCounter): delete unused function
4352 * counters.C: include LAssert.h
4353 (reset): add a new function with no arg, change other version to
4354 not have def. arg and to not allow empty arg.
4356 * text2.C (setCounter): remove empty arg from call to Counters::reset
4358 2002-08-11 John Levon <levon@movementarian.org>
4360 * Makefile.am: add WordLangTuple.h
4362 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4364 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4365 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4367 * insets/insettext.C: InsetList changes
4369 * graphics/GraphicsSupport.C (operator()): InsetList changes
4371 * toc.C (getTocList): InsetList changes
4373 * paragraph_pimpl.[Ch]: InsetList changes
4375 * paragraph.[Ch]: InsetList changes
4377 * buffer.C (inset_iterator): InsetList changes
4378 (setParagraph): ditto
4379 * buffer.h (inset_iterator): ditto
4380 * iterators.C (operator++): ditto
4381 * iterators.h: ditto
4383 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4385 * InsetList.[Ch]: new files, most InsetList handling moved out of
4388 * BufferView2.C (removeAutoInsets): InsetList changes
4390 (ChangeInsets): ditto
4392 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4394 * paragraph_pimpl.h (empty): new function
4396 * paragraph.[Ch] (empty): new function
4398 * other files: use the new Paragraph::empty function
4400 2002-08-09 John Levon <levon@movementarian.org>
4402 * lyxtext.h: remove unused refresh_height
4404 2002-08-09 John Levon <levon@movementarian.org>
4411 * paragraph.C: move sgml char escaping out of paragraph
4414 * paragraph.C: remove id setter
4418 * paragraph_pimpl.C: remove dead tex_code_break_column
4420 * bufferview_funcs.C: small cleanup
4422 * lyxfunc.C: remove dead proto
4424 * lyxtext.h: make some stuff private. Remove some dead stuff.
4426 * lyxgluelength.C: make as[LyX]String() readable
4428 2002-08-08 John Levon <levon@movementarian.org>
4433 * ToolbarDefaults.C:
4436 * toc.C: lyxaction cleanup
4438 2002-08-08 John Levon <levon@movementarian.org>
4440 * BufferView2.C: small cleanup
4443 * lyxfind.C: move unnecessary header into the .C
4445 2002-08-08 John Levon <levon@movementarian.org>
4447 * funcrequest.h: just tedious nonsense
4450 * lyx_main.C: cleanups
4453 * vspace.C: remove dead header lyx_main.h
4455 2002-08-07 Angus Leeming <leeming@lyx.org>
4458 * paragraph_pimpl.h:
4459 Forward declare class Counters in paragraph.h by moving the ctrs member
4460 variable into Paragraph::Pimpl.
4461 (counters): new method, returning a reference to pimpl_->ctrs.
4463 * text2.C: ensuing changes.
4465 2002-08-07 John Levon <levon@movementarian.org>
4467 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4469 * BufferView_pimpl.C: announce X selection on double/triple
4472 * lyx_main.C: use correct bool in batch dispatch
4474 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4476 2002-08-07 André Pönitz <poenitz@gmx.net>
4478 * funcrequest.h: new class to wrap a kb_action and its argument
4481 * BufferView_pimpl[Ch]:
4485 * lyxrc.C: subsequent changes
4488 2002-08-07 John Levon <levon@movementarian.org>
4490 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4491 document options change.
4493 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4498 * makefile.am: move counters functionality over from
4499 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4501 2002-08-06 John Levon <levon@movementarian.org>
4503 * WordLangTuple.h: new file for word + language code tuple
4514 * BufferView2.C: use WordLangTuple
4517 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4519 2002-08-06 John Levon <levon@movementarian.org>
4521 * lyx_main.C: fix cmdline batch handling
4523 2002-08-06 André Pönitz <poenitz@gmx.net>
4525 * lyxrc.C: set default for show_banner to true
4527 2002-08-06 John Levon <levon@movementarian.org>
4529 * pspell.C: fix a crash, and allow new aspell to work
4531 2002-08-06 John Levon <levon@movementarian.org>
4534 * kbmap.C: small cleanup
4537 * vspace.C: add const
4539 2002-08-05 John Levon <levon@movementarian.org>
4541 * LyXAction.C: back to tabular-insert
4543 2002-08-04 John Levon <levon@movementarian.org>
4546 * BufferView.C: cosmetic change
4548 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4558 * BufferView2.C: purge all "Lyx" not "LyX" strings
4561 * lyxcursor.C: attempt to add some documentation
4566 * ToolbarDefaults.C:
4567 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4568 merge with LFUN_TABULAR_INSERT
4575 * pspell.C: split up i/pspell implementations into separate
4576 files, many cleanups
4578 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4580 * text2.C: some cleanup
4582 * lyxfunc.C: don't check for isp_command == "none" any more, it
4583 didn't make any sense
4585 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4590 * makefile.am: move counters functionality over
4591 from text2.C/paragraph.[Ch] to counters.[Ch], and
4593 2002-08-02 John Levon <levon@movementarian.org>
4595 * buffer.C: s/lyxconvert/lyx2lyx/
4597 2002-08-02 Angus Leeming <leeming@lyx.org>
4599 * lyxlex.C: revert John's change as it breaks reading of the user
4602 2002-08-02 Angus Leeming <leeming@lyx.org>
4604 * importer.C (Import):
4605 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4606 changes due to LyXView::view() now returning a boost::shared_ptr.
4608 2002-08-02 John Levon <levon@movementarian.org>
4610 * lyxlex.C: small cleanup
4612 2002-08-02 John Levon <levon@movementarian.org>
4614 * text2.C (status): small cleanup, no logic change
4616 2002-08-01 John Levon <levon@movementarian.org>
4619 * buffer.C (writeFile): don't output alerts, caller
4623 * lyx_cb.C: from above
4625 * lyxfunc.C: allow to open non-existent files
4627 2002-07-31 John Levon <levon@movementarian.org>
4629 * lyxserver.C: don't let incidental errors get
4632 2002-07-30 John Levon <levon@movementarian.org>
4634 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4636 2002-07-30 John Levon <levon@movementarian.org>
4639 * lyxserver.C: remove I/O callback too
4641 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4643 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4646 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4648 * many files: strip,frontStrip -> trim,ltrim,rtrim
4650 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4652 * PrinterParams.h: remove extern containsOnly, and include
4653 support/lstrings.h instead.
4655 * LaTeX.C (scanAuxFile): modify because of strip changes
4657 * buffer.C (makeLaTeXFile): ditto
4658 * bufferparams.C (writeFile): ditt
4659 * lyxfont.C (stateText): ditto
4660 * lyxserver.C (read_ready): ditto
4661 * vc-backend.C (scanMaster): ditto
4663 * BufferView_pimpl.h: ws changes
4665 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4667 2002-07-26 André Pönitz <poenitz@gmx.net>
4669 * kb_sequence.C: remove unnedred usings
4671 2002-07-26 Juergen Vigna <jug@sad.it>
4673 * lyxfind.C (LyXReplace): we have to check better if the returned
4674 text is not of theLockingInset()->getLockingInset().
4676 2002-07-25 Juergen Vigna <jug@sad.it>
4678 * lyxfind.C (LyXReplace): don't replace if we don't get the
4681 * undo_funcs.C (createUndo): remove debugging code.
4683 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4685 * buffer.C (parseSingleLyXformat2Token): Use default placement
4686 when reading old floats.
4688 * FloatList.C (FloatList): Change the default placement of figure
4689 and tables to "tbp".
4691 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4693 * MenuBackend.C: using std::max
4695 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4697 * MenuBackend.C (expandToc):
4698 (expandToc2): code moved from xforms menu frontend. It is now
4699 generic and TOCs are transparent to menu frontends.
4701 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4703 * toc.C (getTocList): protect against buf=0
4705 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4706 Menu as first parameter. Now, this calls itself recursively to
4707 expand a whole tree (this will be useful for TOC handling)
4708 (expandFloatInsert): remove 'wide' version of floats
4710 * MenuBackend.h (submenuname): returns the name of the submenu.
4711 (submenu): returns the submenu itself, provided it has been
4712 created by MenuBackend::expand
4714 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4716 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4717 insets which have noFontChange == true. (bug #172)
4719 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4721 * BufferView_pimpl.C: add connection objects and use them...
4724 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4726 * MenuBackend.C (expandLastfiles):
4729 (expandFloatListInsert):
4730 (expandFloatInsert):
4731 (expand): split expand in parts
4733 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4735 * lyx_gui.C: use lyx_gui::exit()
4737 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4739 * LyXAction.C: show the failing pseudo action
4741 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4743 * buffer.C (readFile): Run the lyxconvert script in order to read
4746 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4750 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4752 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4756 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4758 2002-07-22 Herbert Voss <voss@lyx.org>
4761 * lyxlength.[Ch]: add support for the vertical lengths
4763 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4765 * toc.[Ch]: std:: fixes
4767 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4769 * lyxrc.C: do not include lyx_main.h
4771 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4777 * BufferView2.C: include "lyxlex.h"
4780 * bufferparams.h: do not #include "lyxlex.h"
4782 * lyxtextclasslist.C (Add): remove method
4783 (classlist): renamed to classlist_
4785 * paragraph_pimpl.C:
4789 * bufferview_funcs.C:
4794 * toc.C (getTocList): use BufferParams::getLyXTextClass
4796 * toc.C (getTocList): use InsetFloat::addToToc
4798 * toc.[Ch]: new files, containing helper functions to handle table
4801 * lyxfunc.C (dispatch): no need to remove spaces around command
4803 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4804 first command of the sequence; it is not very clever, but I do not
4805 have a better idea, actually
4807 * LyXAction.C (LookupFunc): make sure to remove space at the
4808 beginning and end of the command
4810 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4812 * MenuBackend.C (getMenubar): new method: return the menubar of
4814 (read): treat differently reading of menu and menubar (in
4815 particular, the menubar has no name now)
4816 (Menu::menubar): remove
4818 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4821 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4823 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4824 a bibitem inset in a RTL paragraph.
4826 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4828 * paragraph_pimpl.C: constify
4830 * BufferView_pimpl.C:
4832 * lyxfunc.C: fix dispatch in a nicer way
4834 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4836 * lyxfunc.C (dispatch):
4837 * BufferView_pimpl.C:
4838 * BufferView_pimpl.h:
4840 * BufferView.h: rename Dispatch() to dispatch()
4842 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4844 * lyxlayout.C (Read): honor DependsOn tag
4846 * lyxlayout.[Ch] (depends_on): new method
4848 * version.C.in: update lyx_docversion
4850 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4852 * paragraph.C (validate): remove from here...
4853 * paragraph_pimpl.C (validate): ... and move here
4854 (isTextAt): make it const
4856 * buffer.C (getLists): ws cleanup
4858 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4860 * language.C (read): Use iso8859-1 encoding in latex_lang
4861 (this prevents LyX from crashing when using iso10646-1 encoding).
4863 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4865 * text2.C (toggleInset): if cursor is inside an inset, close the
4866 inset and leave cursor _after_ it
4868 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4870 * lyxfunc.C: move minibuffer completion handling out of here
4872 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4874 * BufferView_pimpl.C:
4875 * LaTeX.C: fix dispatch calls
4877 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4879 * text.C (drawChars): Fix Arabic text rendering.
4881 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4885 * lyxfunc.C: remove message-push/pop
4889 * lyxfunc.C: rationalise some code by removing verboseDispatch
4890 in favour of a bool argument to dispatch()
4892 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4894 * lyx_main.C (init): make sure to read symlinks as absolute paths
4896 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4899 * lyxfunc.C: no need for commandshortcut to be a member
4901 2002-07-15 André Pönitz <poenitz@gmx.net>
4903 * converter.C: add support for $$s (scripts from lib/scripts dir)
4904 * lyx_main.C: white space
4906 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4910 * lyxrc.C: remove second exit confirmation
4912 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4917 * BufferView_pimpl.h:
4918 * BufferView_pimpl.C:
4919 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4921 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4923 * MenuBackend.C (expand): add numeric shortcuts to document menu
4925 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4927 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4929 * lyxfont.C (setLyXFamily):
4936 * buffer.C (asciiParagraph): use ascii_lowercase
4938 2002-07-15 Mike Fabian <mfabian@suse.de>
4940 * lyxlex_pimpl.C (search_kw):
4941 * lyxlex.C (getLongString):
4942 * converter.h (operator<):
4943 * converter.C (operator<):
4944 * buffer.C (parseSingleLyXformat2Token):
4946 * ToolbarDefaults.C (read):
4947 * MenuBackend.C (checkShortcuts):
4949 * LColor.C (getFromGUIName):
4950 (getFromLyXName): use the compare_ascii_no_case instead of
4951 compare_no_case, because in turkish, 'i' is not the lowercase
4952 version of 'I', and thus turkish locale breaks parsing of tags.
4954 2002-07-16 Angus Leeming <leeming@lyx.org>
4956 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4957 now takes a Buffer const & argument.
4959 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4961 * BufferView.C (resize): check there's a buffer to resize
4963 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4965 * lyxfunc.C: remove dead code
4968 * lyxserver.C: use lyx_guii::set_read_callback
4970 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4972 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4973 an inset in a RTL paragraph.
4975 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4977 * lyxfunc.C: repaint after a font size update
4979 2002-07-15 André Pönitz <poenitz@gmx.net>
4981 * lyxlength.C: inBP should be able to return negative values
4983 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4985 * lyxfunc.C: use lyx_gui::update_fonts()
4987 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4989 * lyxfunc.C: use lyx_gui::update_color()
4991 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4997 * lyxrc.C: remove file->new asks for name option, and let
4998 buffer-new take an argument
5000 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5002 * BufferView_pimpl.C: remove unneeded extra repaint()
5004 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5006 * LyXAction.C: allow command-sequence with NoBuffer
5008 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5010 2002-07-10 Angus Leeming <leeming@lyx.org>
5012 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5014 2002-07-09 Angus Leeming <leeming@lyx.org>
5016 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5018 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5020 * lengthcommon.h: whitespace
5022 * lyxfunc.C: update scrollbar after goto paragraph
5024 * lyxtext.h: factor out page break drawing, and fix it so
5025 page break/added space paints as selected nicely
5027 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5029 * BufferView_pimpl.C: add FIXMEs, clean up a little
5031 2002-07-09 André Pönitz <poenitz@gmx.net>
5033 * lyxfont.[Ch]: support for wasy symbols
5035 2002-07-08 André Pönitz <poenitz@gmx.net>
5037 * BufferView_pimpl.C: apply John's patch for #93.
5039 2002-07-05 Angus Leeming <leeming@lyx.org>
5041 * BufferView_pimpl.C (buffer): generate previews if desired.
5043 * LColor.h: add "preview" to the color enum.
5045 * LColor.C (LColor): add a corresponding entry to the items array.
5047 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5050 2002-07-05 Angus Leeming <leeming@lyx.org>
5052 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5053 The body of the code is now in the method that is passed an ostream &
5054 rather than a file name.
5055 Pass an additional only_preamble parameter, useful for the forthcoming
5058 2002-07-03 André Pönitz <poenitz@gmx.net>
5060 * lyxfunc.C: simplify getStatus() a bit for math stuff
5062 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5064 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5066 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5068 * text.C (changeRegionCase): do not change case of all the
5069 document when region ends at paragraph end (bug #461)
5071 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5073 * paragraph.C (startTeXParParams):
5074 (endTeXParParams): add \protect when necessary
5076 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5078 * BufferView_pimpl.C (workAreaExpose): remove warning
5080 2002-06-27 Angus Leeming <leeming@lyx.org>
5082 * Makefile.am: add lyxlayout_ptr_fwd.h.
5084 2002-06-26 André Pönitz <poenitz@gmx.net>
5086 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5088 2002-06-25 Angus Leeming <leeming@lyx.org>
5090 * lyxfunc.C (dispatch): Comment out the call to
5091 grfx::GCache::changeDisplay. The method no longer exists now that the
5092 pixmap generation part of the graphics loader has been moved into
5095 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5097 * text2.C: layout as layout
5099 * text.C: layout as layout
5101 * tabular.C (OldFormatRead): layout as layout
5103 * paragraph_pimpl.C (TeXDeeper): layout as layout
5104 (realizeFont): layout as layout
5106 * paragraph.C (writeFile): layout as layout
5107 (validate): layout as layout
5108 (getFont): layout as layout
5109 (getLabelFont): layout as layout
5110 (getLayoutFont): layout as layout
5111 (breakParagraph): layout as layout
5112 (stripLeadingSpaces): layout as layout
5113 (getEndLabel): layout as layout
5114 (getMaxDepthAfter): layout as layout
5115 (applyLayout): layout as layout
5116 (TeXOnePar): layout as layout
5117 (simpleTeXOnePar): layout as layout
5118 (TeXEnvironment): layout as layout
5119 (layout): layout as layout
5120 (layout): layout as layout
5122 * lyxtextclass.C (compare_name): new functor to work with
5123 shared_ptr, layout as layout
5124 (Read): layout as layout
5125 (hasLayout): layout as layout
5126 (operator): layout as layout
5127 (delete_layout): layout as layout
5128 (defaultLayout): layout as layout
5130 * lyxlayout_ptr_fwd.h: new file
5132 * lyxlayout.C (Read): layout as layout
5134 * lyx_cb.C (MenuInsertLabel): layout as layout
5136 * bufferlist.C (newFile): layout as layout
5138 * buffer.C (readLyXformat2): layout as layout
5139 (parseSingleLyXformat2Token): layout as layout
5140 (insertStringAsLines): layout as layout
5141 (asciiParagraph): layout as layout
5142 (latexParagraphs): layout as layout
5143 (makeLinuxDocFile): layout as layout
5144 (simpleLinuxDocOnePar): layout as layout
5145 (makeDocBookFile): layout as layout
5146 (simpleDocBookOnePar): layout as layout
5147 (getLists): layout as layout
5149 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5151 * CutAndPaste.C (cutSelection): layout as layout
5152 (pasteSelection): layout as layout
5153 (SwitchLayoutsBetweenClasses): layout as layout
5155 * BufferView_pimpl.C (Dispatch): layout as layout
5156 (smartQuote): layout as layout
5158 * BufferView2.C (unlockInset): layout as layout
5160 2002-06-24 André Pönitz <poenitz@gmx.net>
5162 * lyxfunc.C: fix #487
5164 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5168 * lyxfunc.C: remove display_shortcuts, show_banner
5170 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5172 * Buffer_pimpl.C: oops, update on resize
5174 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5181 * BufferView.C: use repaint()
5183 * BufferView_pimpl.h:
5184 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5185 as it's a clearer description. Remove superfluous
5188 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5190 * text.C: fix bug 488. Not ideal, but getting
5191 getWord() to work properly for the insets that
5192 matter is more difficult ...
5194 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5196 * BufferView_pimpl.C:
5199 * lyxfunc.C: remove the six million index lyxfuncs to just
5200 one, and DTRT (bug 458)
5202 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5206 * BufferView_pimpl.h:
5207 * BufferView_pimpl.C: clean up resize() stuff,
5208 and unnecessary updateScreen()s
5210 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5214 * BufferView_pimpl.h:
5215 * BufferView_pimpl.C:
5218 * minibuffer.C: remove focus management of workarea,
5219 not needed. Use screen's greyOut()
5221 2002-06-17 Herbert Voss <voss@lyx.org>
5223 * converter.C: (convert) do not post a message, when converting
5224 fails, let the calling function decide what to do in this case
5226 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5228 * lyxfunc.C: tidy up a little
5230 2002-06-16 <alstrup@diku.dk>
5232 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5233 Got rid of FORMS_H_LOCATION include. Now we are
5236 2002-06-15 LyX Development team <lyx@rilke>
5238 * buffer.[Ch] (sgmlOpenTag):
5239 (sgmlCloseTag): Added support for avoiding pernicious mixed
5240 content. Return number of lines written.
5243 (makeDocBookFile): Fixed calls to sgml*Tag.
5244 Simple white space clean.
5246 (simpleDocBookOnePar): Simple white space clean.
5248 * tabular.[Ch] (docBook): Renamed to docbook and got another
5249 argument to related with the pernicious mixed content.
5251 (docbookRow): Fixed calls for docbook inset method.
5253 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5255 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5256 so it's X11 independent.
5260 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5262 2002-06-15 Lyx Development team <lyx@electronia>
5264 * intl.h: Renamed getTrans to getTransManager.
5266 2002-06-14 Angus Leeming <leeming@lyx.org>
5268 * Makefile.am: nuke forgotten stl_string_fwd.h.
5270 2002-06-12 Angus Leeming <leeming@lyx.org>
5272 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5274 2002-06-13 Angus Leeming <leeming@lyx.org>
5277 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5279 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5281 * kbmap.C (getiso): add support for cyrillic and greek
5283 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5287 * BufferView_pimpl.h:
5288 * BufferView_pimpl.C: move bogus scrolling logic
5291 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5294 * BufferView_pimpl.C: view->resize() change
5296 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5298 * BufferView_pimpl.C: topCursorVisible
5301 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5305 * lyx_gui.C: move to frontends/
5309 * lyx_main.C: changes from above
5311 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5318 * lyx_main.C: minor tidy
5320 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5322 * BufferView_pimpl.h:
5323 * BufferView_pimpl.C:
5325 * BufferView.C: make painter() const,
5328 * BufferView2.C: use screen() accessor
5331 * lyx_main.C: some minor cleanup
5333 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5335 * BufferView_pimpl.h:
5336 * BufferView_pimpl.C: remove enter/leaveView,
5339 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5344 * BufferView_pimpl.h:
5345 * BufferView_pimpl.C: only construct screen once,
5348 * lyxrc.C: remove pointless comment
5350 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5353 * BufferView.C: remove active() and belowMouse()
5355 * BufferView_pimpl.h:
5356 * BufferView_pimpl.C: use workarea() not workarea_,
5357 and make it use a scoped_ptr instead
5359 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5361 * lyx_gui.C: add debug message on BadWindow
5363 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5365 * sp_spell.C: fdopen is not part of the C++ standard.
5367 * paragraph.C (InsetIterator): use >= instead of ==
5369 2002-06-07 Angus Leeming <leeming@lyx.org>
5371 Fixes needed to compile with Compaq cxx 6.5.
5372 * BufferView_pimpl.C:
5379 * lyxtextclasslist.C:
5384 all c-library variables have been moved into namespace std. Wrap
5385 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5390 Add a using std::abs declaration.
5392 * kbmap.h (modifier_pair):
5393 * paragraph.h (InsetTable, InsetList):
5394 * lyxfont.h (FontBits):
5395 type definition made public.
5397 * bufferlist.C (emergencyWriteAll): the compiler complains that
5398 there is more than one possible lyx::class_fun template to choose from.
5399 I re-named the void specialisation as lyx::void_class_fun.
5401 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5403 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5404 the compiler is is unable to find tostr in write_attribute.
5406 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5408 * buffer.C (sgmlError): hide #warning
5410 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5412 * xtl/*: get rid of xtl, which is not in use anyway
5414 * LyXAction.C (init):
5415 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5416 were unimplemented xtl experimentation
5418 2002-06-04 André Pönitz <poenitz@gmx.net>
5420 * lyxfunc.C: disable array operation on simple formulae
5422 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5424 * converter.C: constify a bit
5426 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5428 * lyx_gui.C: check xforms version correctly
5430 2002-04-30 Herbert Voss <voss@lyx.org>
5432 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5435 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5437 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5438 attempt to register it with a VCS)
5440 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5442 * lyx_main.C (init): honor variables LYX_DIR_13x and
5445 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5449 * lyx_main.C: fix a crash on bad command line,
5450 and give a useful exit status on error
5452 * lyxfunc.C (doImport): allow -i lyx to work
5454 2002-03-30 André Pönitz <poenitz@gmx.net>
5456 * lyxfunc.C: mathed font changes
5458 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5473 * trans_mgr.h: srcdocs, and some minor cleanups
5475 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5477 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5478 call getFont all the time)
5480 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5482 * switch from SigC signals to boost::signals
5484 2002-05-29 André Pönitz <poenitz@gmx.net>
5486 * paragraph_pimpl.C (getChar): don't call size() too often...
5488 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5490 * paragraph_pimpl.C (insertChar): do not try to update tables when
5491 appending (pos == size())
5493 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5494 in order to reduce drastically the number of comparisons needed to
5495 parse a large document
5497 2002-05-29 André Pönitz <poenitz@gmx.net>
5503 * textclasslist.[Ch]:
5504 * sp_ispell.h: whitespace change
5506 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5508 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5509 lyxaction directly now.
5511 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5515 * lyxvc.C: remove unused headers
5517 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5524 * undo_funcs.C: some cleanups. Use shared_ptr
5525 and a template for the undo stacks.
5527 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5529 * BufferView_pimpl.h:
5530 * BufferView_pimpl.C:
5537 * text2.C: use key_state/mouse_state
5539 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5541 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5544 * chset.C: change include order
5545 (loadFile): use boost regex and get rid of LRegex and LSubstring
5547 * Makefile.am (BOOST_LIBS): new variable
5550 * LaTeX.C: change include order.
5551 (scanAuxFile): use boost regex and get rid of LRegex and
5555 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5560 * FontInfo.C: moved to frontends/xforms/
5563 * FontLoader.C: moved into frontends for GUIIzation
5568 * lyxfunc.C: changes from above
5570 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5572 * LColor.C: remove spurious X include
5574 * BufferView_pimpl.C:
5579 * text2.C: move font metrics to frontends/
5581 2002-05-24 Juergen Vigna <jug@sad.it>
5583 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5584 setting the undo_cursor.
5586 * ParagraphParameters.h: include local includes first.
5588 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5590 * BufferView_pimpl.C:
5591 * BufferView_pimpl.h:
5595 * screen.C: move WorkArea into frontends/
5601 * BufferView2.C: move LyXScreen into frontends/
5605 * lyx_gui.C: move lyxlookup into frontends/xforms/
5607 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5610 * BufferView_pimpl.C:
5620 * bufferview_funcs.C:
5633 * vc-backend.C: move LyX/XFormsView into frontends/
5635 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5647 * text2.C: move Painter to frontends/
5649 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5651 * buffer.C: comment out some some code that depend upon lyx_format
5654 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5655 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5657 * buffer.h (NO_COMPABILITY): turn off compability
5659 * ColorHandler.C: include scoped_array.hpp
5661 * font.C: Use more specific smart_ptr header.
5664 * ShareContainer.h: ditto
5668 * BufferView_pimpl.h: ditto
5669 * ColorHandler.h: ditto
5671 * kbmap.C (defkey): change call to shared_ptr::reset
5673 2002-05-21 Juergen Vigna <jug@sad.it>
5675 * buffer.C (insertErtContents): fix to insert ert asis if it is
5676 non empty. Skip it completely if it contains only whitespaces.
5678 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5680 * BufferView_pimpl.C:
5681 * BufferView2.C: clear selection on paste (bug 393)
5683 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5685 * DepTable.C: include ctime
5687 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5689 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5691 2002-05-14 Juergen Vigna <jug@sad.it>
5693 * text.C (breakParagraph): fixed function to honor the keepempty
5694 layout in the right maner and also to permit the right breaking
5695 algorithm on empty or non empyt keepempty paragraphs.
5697 * paragraph.C (breakParagraph): we have to check also if the par
5698 is really empty (!size()) for isempty otherwise we do the wrong
5701 2002-05-10 Juergen Vigna <jug@sad.it>
5703 * buffer.[Ch] : The following are only changes to the ert
5704 compatibility read reading old LaTeX layout and font stuff and
5705 convert it to ERTInsets.
5707 * buffer.h: added isErtInset().
5709 * buffer.C (struct ErtComp): add a fromlayout bool to check
5710 if we're inside a LaTeX layout.
5711 (isErtInset): new helper function.
5712 (insertErtContents): look for other ert insets before this one
5713 and insert the contents there, so that we don't have subsequent
5714 ERT insets with nothing between them. This way we create only one
5715 inset with multiple paragraphs. Also check if we don't insert only
5716 spaces ' ' as they are ignored anyway afterwards in the .tex file
5717 so if we have only spaces we will ignore this latex part in the
5719 (parseSingleLyXformat2Token \\layout): better compatibility when
5720 reading layout-latex stuff.
5721 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5723 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5724 stuff after reading the inset only get the information back from
5727 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5729 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5731 * LaTeXFeatures.C (getBabelOptions): New method.
5733 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5735 * BufferView_pimpl.C (Dispatch): work around missing argument for
5738 2002-05-08 Juergen Vigna <jug@sad.it>
5740 * text.C (leftMargin): handle paragraph leftindent.
5742 * paragraph.C (writeFile): write the new \\leftindent tag.
5743 (validate): handle leftindent code.
5744 (TeXEnvironment): handle paragraphleftindent code again.
5746 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5748 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5749 for paragrap_extra indent code and new token \\leftindent.
5750 (latexParagraphs): handle the leftindent as environment.
5752 * ParameterStruct.h: added leftindent support.
5754 * ParagraphParameters.C (leftIndent): added support functions for
5755 the paragraph left indent.
5757 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5760 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5762 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5765 * text.C (computeBidiTables): No bidi in insetERT.
5767 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5770 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5772 * version.C.in: pre 5
5774 2002-05-02 José Matos <jamatos@fep.up.pt>
5775 * buffer.C (makeDocBookFile): white space changes, add newline to
5777 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5779 * tabular.C (docBook): fix typo.
5781 2002-05-03 Juergen Vigna <jug@sad.it>
5783 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5784 change in LyXText as we can not be sure it was not freed.
5785 (drawOneRow): remove unused code.
5787 * text.C (drawInset): redo the calculation of the need_break_row as
5788 it could have a row which was already freed.
5789 (draw): look at the return value of drawInset and return false if
5790 it also returned false.
5791 (paintRowText): look at the return value of draw and return false if
5792 it also returned false.
5794 * lyxtext.h: added bool return type to drawInset() and draw() so that
5795 if we have a change in the row so that the rowbreak has to be redone
5796 we abort drawing as it will be called again.
5798 2002-05-02 Juergen Vigna <jug@sad.it>
5800 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5801 a change in the maintext also if we're inside an inset.
5802 (Dispatch): set the cursor again after a break line and after the
5803 screen has been updated as it could be we're in a different row.
5805 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5806 to set the cursor behind the pargraph with > size().
5807 (setCursor): check also for the same paragraph when checking where
5808 to put the cursor if we have a NFR inset.
5810 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5811 parts of layout read further up as it still was in the wrong
5814 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5816 * screen.C (drawFromTo): change sine fullRebreak always return
5819 * buffer.C (parseSingleLyXformat2Token): reindent some
5821 * BufferView_pimpl.C (update): change since fullRebreak always
5823 (Dispatch): git rid of the last hardcoded "Standard"s.
5825 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5827 * text2.[Ch] (fullRebreak): make it return void now that we always
5830 2002-04-30 Juergen Vigna <jug@sad.it>
5832 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5833 ert compatibility check for "latex" layout.
5835 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5837 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5838 minipages: use col% instead of p%, and also use the current font.
5839 (makeLaTeXFile): Fix use babel condition.
5840 (parseSingleLyXformat2Token): Correct font when reading old floats.
5842 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5844 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5845 inserting list of floats.
5847 2002-04-25 Herbert Voss <voss@lyx.org>
5849 * MenuBackend.C (expand): don't add the graphics extensions to the
5852 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5854 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5855 non-existing layout, do not complain if it was the default layout
5856 of the original class (bug #342)
5858 2002-04-24 Juergen Vigna <jug@sad.it>
5860 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5861 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5863 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5865 * buffer.C (getBibkeyList): If using \bibliography, return the
5866 option field with the reference itself. Enables us to provide natbib
5867 support when using \bibliography.
5869 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5871 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5873 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5874 natbib is provided by the LaTeX class.
5876 2002-04-23 Juergen Vigna <jug@sad.it>
5878 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5881 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5883 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5885 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5887 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5888 ensuremath around textordmasculine, textordfeminine and
5891 2002-04-19 Juergen Vigna <jug@sad.it>
5893 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5894 reinitializing the buffer otherwise row-dimensions may be wrong.
5895 (update): reset also the selection cursors if they do exits otherwise
5896 their x/y positions may be wrong.
5898 * text2.C (cursorDown): don't enter the inset if we came from a row
5899 above and are one row over the inset.
5901 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5902 really leaving an inset.
5904 2002-04-18 Juergen Vigna <jug@sad.it>
5906 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5907 of the selected paragraph does not have the selected layout also if
5910 * text2.C (setLayout): fixed bug which did not change last selected
5913 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5914 changed the read and substituted \\end_float with \\end_inset!
5916 * BufferView_pimpl.C (cursorPrevious):
5917 (cursorNext): fixed to make it work with rows heigher than the work
5918 area without moving the cursor only the draw of the row.
5919 (workAreaMotionNotify): fix jumping over high rows.
5921 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5923 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5926 2002-04-16 Juergen Vigna <jug@sad.it>
5928 * text2.C (setCursor): set also the irow().
5929 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5931 (cursorDown): support for locking an inset if the x_fix value goes
5932 inside it. That way I can transverse insets too with cursor up/down.
5934 * lyxrow.h: added irow helper function same as other (i) functions.
5936 * BufferView_pimpl.C (cursorPrevious):
5937 (cursorNext): fixed for insets!
5939 2002-04-15 Juergen Vigna <jug@sad.it>
5941 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5942 position otherwise it is wrong in some cases.
5944 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5945 inside the inset before the call.
5947 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5949 * buffer.[Ch] (getBibkeyList): make it const.
5951 2002-04-12 Juergen Vigna <jug@sad.it>
5953 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5955 * text2.C (getCursorX): new helper function
5956 (setCursor): compute also ix_
5957 (setCursorFromCoordinates): set also ix.
5959 * lyxcursor.h: added ix_ and helper functions.
5961 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5963 * buffer.C (insertStringAsLines): dont break paragraph if the this
5964 paragraph is inside an inset which does not permit it!
5966 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5967 also with no chars on this paragraph.
5968 (paintRowText): only paint stuff if it's inside the workarea!
5970 * paragraph.C (breakParagraph): honor keepempty flag and break the
5971 paragraph always below not above.
5973 * BufferView2.C (unlockInset): update the paragraph layout on inset
5974 unlock as we changed paragraph in such a case.
5976 * lyxfind.C (LyXFind): clear the former selection if not found!
5978 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5979 again called in insertChar().
5981 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5982 an inset which uses the whole row!
5983 (rightMargin): ditto.
5984 (insertChar): force a rebreak if we inserted an inset!
5986 2002-03-28 Herbert Voss <voss@lyx.org>
5988 * lyxlength.[Ch]: add inBP() to get the right PS-point
5989 units (BigPoint). With inPixels we have rounding errors
5991 2002-04-11 Juergen Vigna <jug@sad.it>
5993 * text2.C (setCursorFromCoordinates): set iy to the right value.
5994 (setCursor): add check if row->previous exists!
5996 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5997 an old float_type as this was the case in the old code!
5999 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6001 * BufferView2.C (showLockedInsetCursor): use iy
6002 (fitLockedInsetCursor): ditto
6004 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6005 locked insets as there we have the right value now.
6007 * lyxcursor.C: added iy_ variable and iy functions to set to the
6008 baseline of cursor-y of the locked inset.
6010 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6011 (setCursor): fixed for insets which need a full row.
6013 * text.C (rowLastPrintable): don't ignore the last space when before
6014 an inset which needs a full row.
6015 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6016 as last character of a row when before a inset which needs a full row.
6018 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6020 * version.C.in: update date
6022 * text2.C (fullRebreak): try to always return true and see what
6025 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6027 * MenuBackend.C (expand): use Floating::listName
6029 * FloatList.C (FloatList): add listName argument to the built-in
6032 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6033 text associated with the float.
6035 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6037 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6039 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6041 * ShareContainer.h: add a couple of missing typenames.
6043 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6045 * lyxrc.C (getDescription): use _() correctly rather than N_().
6047 2002-03-28 Herbert Voss <voss@lyx.org>
6049 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6050 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6052 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6054 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6055 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6057 2002-03-29 Juergen Vigna <jug@sad.it>
6059 * lyxfunc.C (dispatch): add a missing fitCursor call.
6061 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6062 it was scrolled by a cursor move, so return the bool status.
6064 * BufferView.C (fitCursor): return the bool flag also to the outside
6065 world as this is needed.
6067 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6069 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6070 call the edit() as it is not needed (and wrong) IMO.
6071 (workAreaButtonPress): set the screen_first variable before evt.
6072 unlock the inset as this may change screen_first and then we have
6073 a wrong y position for the click!
6075 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6077 * MenuBackend.C (expand): another translation that I missed
6079 2002-03-28 Juergen Vigna <jug@sad.it>
6081 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6083 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6085 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6087 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6089 * MenuBackend.C (expand): fix export/view/update when there is no
6092 2002-03-27 Herbert Voss <voss@lyx.org>
6094 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6097 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6099 * bufferview_funcs.C (currentState): only show paragraph number
6100 for is DEVEL_VERSION is set.
6102 * lyxfunc.C (dispatch): put warning in INFO channel
6104 * MenuBackend.C (expand): translate the name of floats
6106 * FloatList.C (FloatList): mark the float names for translation
6108 * converter.C (convert): use LibScriptSearch
6110 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6112 * MenuBackend.C (defaults): fix default menu (we might as well get
6115 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6117 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6120 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6122 * lyxvc.C: reorder includes.
6124 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6126 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6129 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6131 * CutAndPaste.C: change layouts earlier on paste
6132 to avoid crashing when calling getFont()
6134 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6136 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6139 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6141 * WorkArea.C: remove 'Pending' debug message.
6143 * most files: ws cleanup
6145 * buffer.[Ch]: ws changes
6147 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6149 2002-03-21 Juergen Vigna <jug@sad.it>
6151 * tabular.C (SetMultiColumn): collapse also the contents of the
6152 cells and set the last border right. Added a Buffer const * param.
6154 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6156 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6159 2002-03-19 Juergen Vigna <jug@sad.it>
6161 * text2.C (clearSelection): reset also xsel_cache.
6163 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6164 where it needs to be called (John tells us to do so too :)
6165 (selectionLost): reset sel_cache.
6167 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6169 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6171 * text2.C (setCursorIntern): put debuging code in INSETS channel
6173 2002-03-19 André Pönitz <poenitz@gmx.net>
6175 * lyxfunc.C: tiny whitespace change
6177 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6179 * ToolbarDefaults.C (init):
6180 * LyXAction.C (init):
6182 * BufferView_pimpl.C (Dispatch):
6183 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6185 2002-03-19 Allan Rae <rae@lyx.org>
6187 * exporter.C (Export): removeAutoInsets before doing anything else.
6188 While I've just introduced a dependency on BufferView this really is
6189 the best place to clean the buffer otherwise you need to cleanup in
6190 a dozen places before calling export or cleanup in a dozen functions
6193 * converter.C (runLaTeX):
6194 (scanLog): Better handling of removeAutoInsets and screen updates.
6196 * lyxfunc.C (dispatch): small whitespace changes
6198 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6200 * WorkArea.C (C_WorkAreaEvent): return a value.
6201 (event_cb): return 1 if we handled the event, 0 otherwise.
6203 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6205 2002-03-18 Juergen Vigna <jug@sad.it>
6207 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6208 (GetAdditionalWidth): ditto.
6212 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6213 inset if we're there actually (probably not used right now but this
6214 is the direction to go for unifying code).
6215 (paste): disable code to clear the selection.
6217 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6218 inside an InsetText and move the check further up as it is in the
6221 * text2.C (pasteSelection): set a selection over the pasted text.
6223 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6225 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6226 and libgraphics to build on Cygwin.
6228 2002-03-15 Juergen Vigna <jug@sad.it>
6230 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6231 inserting an Inset into the paragraph. I know this is not the best
6232 fix but we already use current_view in CutAndPaste so we will remove
6233 all of it's using at the same time.
6235 * buffer.C (sgmlError): deactivated function till it is rewritten in
6236 the right mode, now it can create problems.
6238 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6239 before accessing it.
6241 2002-03-14 Juergen Vigna <jug@sad.it>
6243 * undo_funcs.C (textHandleUndo): do the right thing when updating
6244 the inset after the undo/redo.
6246 * text2.C (setCursor): just some testcode for #44 not ready yet.
6248 * undo_funcs.C (textHandleUndo): set the next() and previous()
6249 pointers of the paragraph to 0 before deleting otherwise we have
6250 problems with the Paragraph::[destructor].
6252 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6253 on a paragraph insertion.
6255 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6257 * buffer.C (asciiParagraph): use += operator for char append to
6260 * paragraph.C (getFontSettings): compare >= not just >
6261 (highestFontInRange): ditto
6264 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6266 * paragraph.C: change several algorithm to be more appripriate for
6267 the problem domain. This is lookip in FontList and in the InsetList.
6269 2002-03-13 André Pönitz <poenitz@gmx.net>
6272 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6274 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6279 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6281 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6283 * Painter.C (display): anon helper function, adjust code for this
6285 (pixmap): remove function.
6287 * Painter.h: remove private display variable.
6289 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6291 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6293 * WorkArea.[Ch]: remove figinset_canvas cruft.
6295 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6297 * lyxtextclass.C (operator): add one item cache optimization.
6299 * bufferlist.h: doxy changes
6301 * bufferlist.C: ws changes
6303 * DepTable.[Ch] (ext_exist): place const in the right spot.
6305 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6307 (workAreaExpose): call resizeInsets when the with BufferView changes.
6308 (Dispatch): adjust for protectedBlank removal
6309 (specialChar): call updateInset if the insert went ok.
6311 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6312 specialChar instead.
6314 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6316 * BufferView.h: doxy change
6318 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6320 * lyxtextclass.C (operator[]): remove non-const version
6321 (defaultLayout): remove non-const version
6323 2002-03-12 Juergen Vigna <jug@sad.it>
6325 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6326 did resize the LyXText too.
6328 * buffer.C (readLyXformat2): set layout information on newly allocated
6331 * tabular.C (OldFormatRead): set layout information on the paragraph.
6333 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6335 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6337 2002-03-11 Juergen Vigna <jug@sad.it>
6339 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6341 (resizeCurrentBuffer): force also the insets to resize themselfes.
6342 (moveCursorUpdate): fixed up for InsetText.
6344 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6347 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6348 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6349 value of Dialogs::tooltipsEnabled().
6350 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6352 2002-03-08 Juergen Vigna <jug@sad.it>
6354 * BufferView_pimpl.C (updateInset): update inset inside inset also
6355 if it isn't inside theLockingInset().
6357 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6359 * buffer.C (asciiParagraph): redo some of the word and line length
6361 (getLists): look for Caption instead of caption.
6363 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6365 * buffer.C (Buffer): initialize niceFile to true
6368 (makeDocBookFile): make sure niceFile is true on exit
6370 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6372 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6374 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6376 * LyXSendto.C: remove.
6377 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6378 * lyx_gui.C: remove now-redundant comment.
6379 * ColorHandler.h: remove forward declaration of class WorkArea.
6380 * lyxfunc.C: remove #include "WorkArea.h".
6382 2002-03-07 Juergen Vigna <jug@sad.it>
6384 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6385 got moved away with the DEPM and also set the inset_owner always
6386 right which before could have been omitted.
6388 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6390 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6391 wanted layout is not found.
6393 2002-03-07 Juergen Vigna <jug@sad.it>
6395 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6397 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6399 * paragraph.C (breakParagraph): use default layout not layout of
6401 (Paragraph): clear ParagraphParameters.
6403 2002-03-06 Juergen Vigna <jug@sad.it>
6405 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6406 otherwise it would not be a valid lenght. Fixed a special case in
6407 the minipage compatibility read where we end the document with a
6410 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6411 was set as it could be 0 for InsetTexts first entry.
6413 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6415 * paragraph.C (writeFile): if layout is empty write out
6416 defaultLayoutName().
6418 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6419 file without named layout we set layout to defaultLayoutName().
6421 2002-03-06 Juergen Vigna <jug@sad.it>
6423 * CutAndPaste.C (copySelection): set layout for new paragraph.
6425 * text.C (prepareToPrint): leave ERT inset left aligned
6426 (leftMargin): don't indent paragraphs inside ERT insets
6428 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6430 * paragraph.C (breakParagraph): dont call clear do the work manually
6432 * paragraph.[Ch] (clear): remove function
6434 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6436 * paragraph.C (Paragraph): dont call clear, the work has already
6439 * lyxtextclass.C (operator): assert if n is empty
6441 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6442 work manually instead.
6444 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6446 * BufferView_pimpl.C: protect selectionLost against text == 0
6448 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6450 * text.C (breakParagraph): fix a setting layout to '0' problem.
6452 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6454 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6455 final location of file, for the included files, and graphics.
6457 2002-03-05 Juergen Vigna <jug@sad.it>
6459 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6461 2002-03-04 Juergen Vigna <jug@sad.it>
6463 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6465 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6466 last column of multicolumn cells.
6467 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6469 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6471 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6472 file if it doesn't go to a temporary file.
6474 * buffer.C (sgmlOpenTag):
6475 (sgmlCloseTag): remove extra newline insertion.
6477 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6479 * text.C (getRowNearY): comment out debug msg
6481 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6483 * text2.C: first -> first_y
6485 * text.C (getRowNearY): add some attemts at a possible
6486 optimization, not working.
6488 * tabular.[Ch]: add BufferParams to several function so that newly
6489 created paragraph can be initialized to he default layotu for the
6492 * tabular-old.C (ReadOld): add buf->params to call of Init
6494 * screen.C: rename text->first to text->first_y
6496 * paragraph.C (breakParagraph): always set layout in the broken
6499 * lyxtextclass.C (Read): remove lowercase
6502 (delete_layout): ditto
6504 * lyxtext.h: rename first -> first_y
6506 * lyxlayout.C (Read): remove lowercase
6509 (obsoleted_by): ditto
6511 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6513 * buffer.C (insertErtContents): add params are to InsetERT
6514 (parseSingleLyXformat2Token): add code to check if a paragraphs
6515 layout really exist.
6516 (parseSingleLyXformat2Token): add params to several inset
6518 (asciiParagraph): remove lowercase, do the layout comparisons with
6521 * BufferView_pimpl.C (cursorNext): first -> first_y
6522 (resizeCurrentBuffer): first -> first_y
6523 (updateScrollbar): first -> first_y
6524 (scrollCB): first -> first_y
6525 (workAreaMotionNotify): first -> first_y
6526 (workAreaButtonPress): first -> first_y
6527 (checkInsetHit): first -> first_y
6528 (cursorPrevious): first -> first_y
6529 (cursorNext): first -> first_y
6530 (Dispatch): add buffer_->params to severl inset contructors
6532 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6534 * lyxlayout.C (Read): remove some debug info that I forgot.
6536 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6537 clean up the code slightly.
6538 (makeLinuxDocFile): ditto
6539 (makeDocBookFile): ditto
6541 * text2.C: layout as string
6543 * text.C: layout as string
6545 * paragraph_pimpl.C: layout as string
6547 * paragraph.[Ch]: layout as string
6549 * lyxtextclasslist.[Ch]: layout as string
6551 * lyxtextclass.[Ch]: layout as string
6553 * lyxtext.h: layout as string
6555 * lyxlayout.[Ch]: layout as string
6557 * lyx_cb.C: layout as string
6559 * bufferview_funcs.C: layout as string
6561 * bufferparams.C: layout as string
6563 * buffer.C: layout as string
6565 * LyXView.[Ch]: layout as string
6567 * LaTeXFeatures.[Ch]: layout as string
6569 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6571 * BufferView_pimpl.C: change current_layout to string, remove
6576 (workAreaButtonRelease): layout as string
6578 * BufferView2.C (unlockInset): adjust
6580 * vspace.C (asLatexCommand): use an explict temp variable.
6582 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6584 * Makefile.am: use FRONTEND_*
6586 2002-03-01 Juergen Vigna <jug@sad.it>
6588 * tabular.C (SetWidthOfMulticolCell): changed to something better
6589 I hope but still work in progress.
6590 (recalculateMulticolumnsOfColumn): renamed function from
6591 recalculateMulticolCells as it is more appropriate now.
6592 (SetWidthOfCell): calculate multicols better.
6594 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6596 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6598 * lyxfunc.C (processKeySym): print sequence also if it is
6599 `deleted' (complete)
6601 * kbsequence.C (print): print sequence even if it is deleted
6602 (complete would be a better word, actually).
6604 * lyxfunc.C (dispatch): print complete options after a prefix key
6606 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6608 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6610 * text2.C (setCharFont): eliminate setCharFont code duplication.
6612 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6614 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6615 LFUN_TABULAR_FEATURE (bug #177)
6617 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6619 * Makefile.am: remove figure.h
6621 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6623 * Bufferview_pimpl.C:
6635 * text2.C: remove #include "lyx_gui_misc.h".
6637 * LaTeX.C: added #include <cstdio>
6639 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6641 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6642 that the paragraph following this one can have.
6644 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6646 * vspace.C (asLatexCommand): fix bogus gcc warning
6648 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6650 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6652 * text2.C (setLayout): get rid of redundant code
6654 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6656 * text2.C (incDepth): make sure depth cannot be increased beyond
6659 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6661 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6662 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6664 * PainterBase.h (image):
6665 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6668 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6672 * BufferView_pimpl.C:
6673 * BufferView_pimpl.h:
6693 * sp_spell.C: remove fig inset, and the crap house of
6694 cards that follows it
6696 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6702 * nt_defines.h: move .h into support/
6704 * vms_defines.h: remove
6706 * WorkArea.C: add space in debug output
6710 * buffer.C: add WITH_WARNINGS
6714 * bufferlist.C: s/retrive/retrieve/, add docs
6725 * lyxgui.C: add ID to X error handler
6727 * lyxtestclass.c: fix typo
6729 2002-02-26 Juergen Vigna <jug@sad.it>
6731 * tabular_funcs.C (write_attribute): changed so that some default
6732 attributes are not written at all.
6733 (getTokenValue): set default values before trying to read the
6734 value so we have the return value always set as default if we don't
6735 find the token we search for.
6737 * tabular.C (Write): write bools as bools not as strings!
6739 2002-02-22 Juergen Vigna <jug@sad.it>
6741 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6742 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6744 * text.C (leftMargin): don't add an indent for paragraphs inside
6745 tabular cells (fix #208).
6747 2002-02-21 José Matos <jamatos@fep.up.pt>
6749 * tabular.C (docBook): fixed support for long tables.
6751 2002-02-20 Juergen Vigna <jug@sad.it>
6753 * text2.C (getFont): get the drawing font of the Inset if this
6754 paragraph is inside an inset (only important for InsetERT for now).
6756 * buffer.C (insertErtContents): use new lanugage params in ERT
6759 * CutAndPaste.C: commenting out seemingly uneeded code.
6761 2002-02-19 Allan Rae <rae@lyx.org>
6763 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6764 Iterators might be simple to use but they also get invalidated.
6765 (removeAutoInsets): renamed saved cursor tracking variables and added
6766 some comments to clarify what everything does.
6768 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6775 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6776 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6779 * vc-backend.h: remove #include "support/syscall.h"
6783 * converter.C: rearrange #includes in Lars' approved fashion.
6785 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6786 forward declare class Timeout in the header file.
6788 * XFormsView.C: changes due to the above.
6790 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6793 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6794 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6796 2002-02-18 José Matos <jamatos@fep.up.pt>
6798 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6801 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6803 * a lot of small ws changes
6804 * add a lot of using std::XXX
6805 * use std construcs some places where approp.
6806 * use some exisint stuff from lyxfunctional where approp.
6807 * Make file changes to use partial linking (lets test this now...)
6809 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6813 remove #include "support/syscontr.h" as it's redundant. Always has been.
6821 change Systemcalls::System to Systemcalls::Wait and
6822 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6823 No change of functionality, just reflects the stripped down Systemcalls
6826 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6828 * debug.[Ch]: add a GRAPHICS type to the enum.
6830 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6832 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6834 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6837 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6839 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6840 match the changes below.
6842 * text2.C (toggleInset): if there is not editable inset at cursor
6843 position, try to see if cursor is _inside_ a collapsable inset
6846 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6848 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6849 document menu has a nice checkbox
6851 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6853 * lyxlength.C (asLatexString): change PW to output as percent of
6856 * lengthcommon.C: change '%' to 't%'
6858 * lyxfunc.C (dispatch): a few comments from Martin
6860 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6864 * BufferView_pimpl.h:
6865 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6868 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6870 * vspace.C (inPixels): fix compiler warning
6872 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6874 * lyxfunc.C (getStatus): fix status message for disabled commands.
6876 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6878 * BufferView_pimpl.C: fix crash on close buffer
6879 during selection (#227)
6881 2002-01-27 Herbert Voss <voss@lyx.org>
6883 * buffer.C: link old Figure to new graphic inset
6885 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6887 * FontLoader.C (getFontinfo): Change the latex font names in order
6888 to match the names of type1inst.
6890 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6892 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6894 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6897 (remove_files_with_extension): ditto
6898 (remove_file): ditto
6901 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6902 document is smaller than the work area height. Do not initialize
6903 static variables to 0.
6905 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6907 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6909 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6910 LFUN_LAYOUT_PARAGRAPHS.
6912 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6913 tabular. It is possible to provide a possible cell, which will
6914 typically be the actcell from the corresponding insettabular
6916 * lyxfunc.C (getStatus): small cleanup; disable
6917 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6920 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6922 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6924 * paragraph.C (startTeXParParams):
6925 (endTeXParParams): new methods. The LaTeX code to
6926 start/end paragraph formatting
6927 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6928 empty (fixes bug #200)
6930 * vspace.C (inPixels): adapt to the change below
6931 (inPixels): [later] more cleanups (remove unused variables)
6933 * lyxlength.C (inPixels): change to use a width and a height as
6936 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6938 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6939 Replaced with \paperwidth
6941 * DepTable.C (insert): add std:: qualifier
6943 2002-01-18 Allan Rae <rae@lyx.org>
6945 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6948 * text.C (drawInset): Turned out I didn't know enough about how
6949 rebreaking worked. This fixes most of the redraw problems. I see
6950 an occasional cursor trail when a line is broken now and the cursor
6951 placement can seem out by a few pixels also after a rebreak.
6953 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6955 * buffer.C (parseSingleLyXformat2Token): update because minipage
6956 width is now a LyXLength
6958 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6960 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6963 2002-01-17 Juergen Vigna <jug@sad.it>
6965 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6967 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6968 is set correctly and the inset is updated correctly.
6970 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6972 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6973 the beginning of the loop.
6975 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6977 * lyxrc.C: improve help for use_scalable_fonts
6979 2002-01-17 Allan Rae <rae@lyx.org>
6981 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6983 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6985 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6986 make sure to set their inset_owner to the right value (bug #171)
6988 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6991 * DepTable.C: Implement mtime checking to reduce time spent doing
6994 2002-01-16 Juergen Vigna <jug@sad.it>
6996 * tabular.C (GetAdditionalHeight): one of error fixed.
6998 * lyxrc.C (output): small fix in writing use_pspell.
7000 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7002 * sp_base.h: #include LString.h
7004 2002-01-16 Allan Rae <rae@lyx.org>
7006 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7007 Can someone check this please?
7009 * text.C (drawInset): It was possible that p.row would be removed by
7010 breakAgainOneRow upsetting a few other settings. There may be another
7011 small tweak possible by setting need_break_row = 0 when p.row has been
7012 removed but I don't know enough about the logic here.
7014 2002-01-15 Allan Rae <rae@lyx.org>
7016 * text.C (insertChar): removed conditional truism.
7018 * BufferView2.C (removeAutoInsets): More tweaks.
7019 cur_par_prev could be a stray pointer. Check for trailing empty line
7020 in case last line was cur_par and only had an error inset on it.
7022 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7024 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7027 * vc-backend.C (most methods):
7028 * exporter.C (Export):
7029 * converter.C (convert):
7031 * LyXSendto.C (SendtoApplyCB):
7032 * lyxfunc.C (dispatch):
7036 * lyx_cb.C (AutoSave):
7038 * BufferView_pimpl.C (MenuInsertLyXFile):
7039 * buffer.C (runChktex): use Buffer::filePath().
7041 * buffer.h: rename filename to filename_; rename filepath to
7042 filepath_ and make it private
7043 (filePath): new method
7045 * buffer.C (writeFile): use fileName()
7048 * lyx_main.C (init): fix starting of LyX when the binary is a
7049 link from so,ewhere else.
7051 * minibuffer.C: include <cctype> for isprint
7053 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7055 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7056 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7057 name clash with InsetCollapsable's width function.
7059 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7061 * lastfiles.C: include <iterator>
7063 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7065 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7068 * buffer.C (makeLaTeXFile): ditto.
7069 Also make loop operation more transparent.
7071 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7073 * ToolbarDefaults.C: remove trailing comma closing namespace.
7075 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7077 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7080 * trans.C (Load): comment out unused variable, allowed.
7082 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7084 * minibuffer.[Ch] (append_char): new method to recieve input from the
7085 drop-down completion browser. If a key was pressed, then recieve this
7086 char and append it to the existing string.
7087 (peek_event): modify the positioning data passed to the completion
7088 browser so that it can be placed above the minibuffer rather than below.
7089 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7091 * LyXAction.C (init): alloe error-next for readonly documents.
7093 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7096 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7098 * bufferlist.C (readFile): create the buffer _after_ checking that
7101 * lyxfunc.C (verboseDispatch): fix handling of arguments
7103 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7105 * lyxrc.C: use string::erase() instead of initializing to "".
7108 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7110 * BufferView_pimpl.h:
7111 * BufferView_pimpl.C:
7114 * text2.C: tell X when we have made a selection for copying
7116 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7118 * BufferView_pimpl.C (MenuInsertLyXFile):
7119 * lyxfunc.C (menuNew):
7121 (doImport): add shortcuts to directory buttons
7123 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7126 * lyxfunc.C (setStatusMessage):
7127 (getStatusMessage): new methods
7128 (getStatus):use setStatusMessage instead of setErrorMessage
7129 (dispatch): when function is disabled, set error message here
7130 [instead of in getStatus previously]
7132 * BufferView_pimpl.C (workAreaButtonRelease): update
7133 toolbar/menubar here too.
7135 2002-01-13 Allan Rae <rae@lyx.org>
7137 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7138 Now seems indestructible. Remaining task is to audit all other
7139 code affected by deleteEmptyParagraphMechanism. One small quirk
7140 left is that an empty document with an error in the preamble can
7141 be made to report an error but no error box appears. I don't know
7143 (removeAutoInsets): Improved comments.
7145 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7148 * Thesaurus.C: update for Aiksaurus 0.14
7150 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7152 * text2.C (firstParagraph): removed member function, all uses
7153 replaces with ownerParagraph
7154 (redoParagraphs): here
7156 (toggleAppendix): here
7157 * BufferView2.C (insertErrors): here
7158 (setCursorFromRow): here
7160 2002-01-13 Allan Rae <rae@lyx.org>
7162 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7163 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7164 There is still a way to segfault this although you may have to do this
7165 multiple times: Have an InsetERT with an unknown command in it.
7166 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7167 <down-arrow>, <Enter> again, View->DVI, BANG!
7169 * text2.C (setCursor):
7170 (deleteEmptyParagraphMechanism):
7171 * lyxtext.h (setCursor):
7172 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7173 Making use of the return value may help fix other bugs.
7175 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7177 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7179 * LyXView.C (updateMenubar): call MenuBar::update here
7180 (updateToolbar): but not here
7181 (showState): do not update toolbar/menubar
7183 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7184 should need to care about that.
7186 * lyxfunc.C (verboseDispatch): simplify a bit
7187 (getStatus): have a version which takes a pseudoaction, and
7188 another which requires a (kb_action,string).
7190 * LyXAction.C (retrieveActionArg): make it work also when action
7191 is not a pseudo-action.
7192 (getActionName): simplify a bit
7195 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7197 * lyxfunc.C (verboseDispatch): new families of methods with
7198 several ways to specify a command and a bool to indicate whether
7199 the command name and shortcut should be displayed in minibuffer
7200 (eventually, we could extend that to a finer bitmask like
7201 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7202 (dispatch): the pristine dispatch command which just, well,
7203 dispatchs! Note it still sets its result to minibuffer; I'm not
7206 * lyxfunc.h: remove setHintMessage
7208 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7210 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7212 * BufferView_pimpl.C (specialChar): delete new inset if we have
7213 not been able to insert it.
7215 * kbmap.C: revert to using int instead of kb_action, since all we
7216 are dealing with is pseudo-actions.
7218 * LyXAction.C (searchActionArg): change to return int instead of
7219 kb_action, since the result is a pseudoaction.
7221 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7223 * buffer.C (insertErtContents): Fix (partially) the font bug.
7225 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7227 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7228 as the other one is broken on my machine!
7230 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7233 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7235 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7237 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7238 reflect their actual use. Provide compatibility code for older lyxrc
7241 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7243 change names of popup font variables in line with the changes to lyxrc.C
7245 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7247 * buffer.C (asciiParagraph): avoid outputing a word twice after
7250 * lyxrc.C (getDescription): document that document_path and
7251 template_path can be empty.
7253 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7255 * LaTeXFeatures.C (getMacros):
7256 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7258 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7260 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7262 (getPackages): rename feature "floats" to "float". Use an array to
7263 iterate over 'simple' features (i.e. just a \usepackage). Add
7264 handling of "amsmath" (renamed from "amsstyle").
7266 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7268 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7271 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7273 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7274 FuncStaus::FuncStatus & FuncStaus::some_method().
7276 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7278 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7279 of the func_satus stuff. Edited and massaged in various ways by
7282 * lyxfunc.C (getStatus): use FuncStatus
7284 2002-01-08 Juergen Vigna <jug@sad.it>
7286 * text.C (nextBreakPoint): use function Inset::isChar().
7288 * paragraph.C (TeXOnePar): use function
7289 Inset::forceDefaultParagraphs.
7291 * buffer.C (latexParagraphs): use function
7292 Inset::forceDefaultParagraphs.
7294 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7296 * lyx_gui.C (init): set the style of the menu popups to
7297 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7299 2002-01-07 Juergen Vigna <jug@sad.it>
7301 * text.C (setHeightOfRow): small fix
7302 (prepareToPrint): don't look at alignment if we don't have the place
7305 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7307 * box.C: New file. Move the Box methods and functions out of box.h,
7308 following Lars' suggestion.
7310 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7312 * box.h: #include "support/LOstream.h", needed for inlined function.
7315 * lyxtextclasslist.C: added some using std declarations.
7317 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7319 * box.h: make signed dimensions to allow insets wider than
7320 the screen (bug #162)
7322 * BufferView_pimpl.C: add some insetHit debug
7324 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7326 * vc-backend.C: add FIXME
7328 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7330 * lyxfunc.C (getStatus): enable code for showing math font status
7333 2002-01-07 Juergen Vigna <jug@sad.it>
7335 * text.C (nextBreakPoint): removed debug output not needed anymore.
7337 2002-01-06 Juergen Vigna <jug@sad.it>
7339 * text.C (nextBreakPoint): fixed up this function we had this bug
7340 since ever but now hopefully we break row better.
7341 (insertChar): we have to check if an inset is the next char as it
7342 could now happen that a large inset is causing a break.
7344 2002-01-05 Juergen Vigna <jug@sad.it>
7346 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7347 if it doesn't like to be drawed.
7349 2002-01-04 Juergen Vigna <jug@sad.it>
7351 * BufferView2.C (lockInset): forgot to set a cursor.
7353 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7355 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7360 * form_maths_panel.C:
7361 * form_maths_panel.h:
7362 * form_maths_panel.fd: implemented sub- and super- buttons in math
7365 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7366 (or ^ space) to be used as in TeX (req'd by André).
7368 * lyxfunc.C: Allow ^ and _ again to be used both as
7369 super/subscript (mathed) and as themselves (in text).
7371 2002-01-03 Allan Rae <rae@lyx.org>
7373 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7374 "LyX" or the filename of the current buffer if it has one. This is a
7375 modified form of John Levon's patch.
7377 * XFormsView.C (setWindowTitle): also set icon title.
7379 * LyXView.h (setWindowTitle): signature changed.
7380 * XFormsView.h (setWindowTitle): ditto.
7382 2002-01-02 Juergen Vigna <jug@sad.it>
7384 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7386 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7388 * screen.C (topCursorVisible): introduce a temp var for
7389 text->cursor.row(), handle the case where this row is null. (kindo
7392 * text2.C (setCursor): add a couple of asserts.
7394 * paragraph.h (inset_iterator): add -> operator
7396 * paragraph.[Ch] (autoDeleteInsets): remove member function
7398 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7399 cursor pos correctly and handle inset deletion by itself.
7400 (insertErrors): move iterator declaration out of for expression
7402 * lyxtextclass.C: add <algorithm>
7404 * Makefile.am: added the new files to sources, removed layout.C
7406 * layout.C: removed file
7408 * layout.h: remove LYX_DUMMY_LAYOUT
7410 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7414 * lyxtextclass.[Ch]:
7415 * lyxtextclasslist.[Ch]: new files
7417 * include order changes to a lot of files, also changes because of
7420 2001-12-27 Juergen Vigna <jug@sad.it>
7422 * buffer.C (asciiParagraph): more fixes.
7424 * tabular.C (ascii): make ascii export support export of only the
7425 data separated by a column-delimiter.
7426 (ascii): better support for ascii export.
7428 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7430 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7432 * tabular_funcs.C: use a "using std::getline" instead of the
7433 previous fix from Angus (necessary for cxx + lyxstring)
7435 2001-12-24 Juergen Vigna <jug@sad.it>
7437 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7439 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7440 problems. First check a minipage also if we have some ert-contents
7441 (not only on par->size(), second set the right depth of the paragraph
7442 on the relink to the root-paragraph-list!
7444 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7445 which then did not anymore update the main paragraphs on undo/redo!
7447 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7449 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7450 code. Support all font-changing funcs (even those which are not in
7451 menu currently). Support for reporting font settings in
7452 mathed (disabled until Andre provides a function on mathed's side).
7454 * func_status.h (toggle): small helper function to set toggle
7457 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7459 * tabular_funcs.C: getline -> std::getline
7461 2001-12-21 Juergen Vigna <jug@sad.it>
7463 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7464 accessed and could be 0 (I couldn't generate this but it seems
7467 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7469 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7470 * tabular_funcs.h: here and include iosfwd
7472 2001-12-20 Juergen Vigna <jug@sad.it>
7474 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7475 inside inset but undo_par was.
7477 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7479 * Thesaurus.C: always include <config.h> in sources.
7483 * box.h: do not include <config.h> in header files
7485 * text.C (paintLastRow): remove unused variable
7487 * text.C (transformChar):
7489 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7492 * font.C (width): rewrite to use uppercase() instead of
7495 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7497 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7499 * lyxfind.C: clean up of find failure position change
7501 2001-12-20 Juergen Vigna <jug@sad.it>
7503 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7505 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7506 (TeXRow): added to LaTeX a single tabular row.
7507 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7508 (Latex): simplified and finally good LT-h/f support.
7509 (various_functions): just small adaptions for LT-h/f support.
7511 * tabular_funcs.[hC]: added and moved here all not classfunctions
7514 2001-12-19 Juergen Vigna <jug@sad.it>
7516 * tabular.[Ch]: better support for longtabular options (not finished
7519 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7521 * text.C (paintLastRow): use the label font instead of the font of
7522 the last character to compute the size of *_BOX. This makes more
7523 sense and avoids a crash with empty paragraphs.
7524 Use Painter::rectangle to draw EMPTY_BOX.
7526 2001-12-19 Juergen Vigna <jug@sad.it>
7528 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7529 the paragraphs if the replaced paragraph is not the first one!
7530 Tried to delete not used paragraphs but does not work yet so for
7531 now it's inside #ifdef's and by default off!
7533 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7535 * MenuBackend.C: include "lyx_main.h" instead of declaring
7536 lastfiles (actually was declared as LastFiles* instead of a
7539 2001-12-17 Juergen Vigna <jug@sad.it>
7541 * tabular.C (AppendColumn): applied John's fix
7543 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7547 * BufferView_pimpl.h:
7548 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7551 * box.h: new start of class for above
7553 * lyxfunc.C: ignore space-only minibuffer dispatches.
7554 Show the command name when it doesn't exist
7556 * minibuffer.C: don't add empty lines to the history
7558 * minibuffer.C: add a space on dropdown completion
7560 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7562 * text.C: fix line above/below drawing in insets
7564 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7566 * lyxlength.C (LyXLength): Initialize private variables.
7568 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7570 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7571 when inserting error insets.
7573 2001-12-13 Juergen Vigna <jug@sad.it>
7575 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7576 actually sometimes the before-paragraph.
7577 (setUndo): don't clear the redostack if we're not actually undoing!
7579 2001-12-06 Juergen Vigna <jug@sad.it>
7581 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7582 and fixed redoing of main paragraph, so we can use it now ;)
7584 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7586 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7588 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7591 2001-12-13 André Pönitz <poenitz@gmx.net>
7594 * undo_func.C: minor cleanup
7596 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7598 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7599 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7600 font in urw-fonts package which is marked as -urw-fontspecific and
7601 does not work (incidentally, changing the encoding in the
7602 fonts.dir of this package to -adobe-fontspecific fixes the
7605 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7606 is a crash when undoing first paragraph (Juergen, please take a
7607 look). THis does not mean the undo fix is wrong, just that it
7610 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7611 the (Paragraph*) version when needed instead of duplicating the
7614 * text.C (workWidth): use Inset::parOwner to find out where the
7615 inset has been inserted. This is a huge performance gain for large
7616 documents with lots of insets. If Inset::parOwner is not set, fall
7617 back on the brute force method
7619 * paragraph_pimpl.C (insertInset):
7620 * paragraph.C (Paragraph):
7621 (cutIntoMinibuffer): set parOwner of insets when
7622 inserting/removing them
7624 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7626 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7632 * mathed/formulabase.C:
7633 * mathed/math_cursor.[Ch]:
7634 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7637 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7639 * lyxlength.[Ch] (operator!=): new function
7641 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7643 * text.C (workWidth): use Inset::parOwner to find out where the
7644 inset has been inserted. This is a huge performance gain for large
7645 documents with lots of insets. If Inset::parOwner is not set, fall
7646 back on the brute force method
7648 * paragraph_pimpl.C (insertInset):
7649 * paragraph.C (Paragraph):
7650 (cutIntoMinibuffer): set parOwner of insets when
7651 inserting/removing them
7653 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7655 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7657 * tabular-old.C (getTokenValue):
7658 * tabular.C (getTokenValue):
7659 (write_attribute): new versions for LyXLength
7660 (everywhere): adjust the use of widths
7662 * tabular.h: change the type of widths from string to LyXLength
7664 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7666 * paragraph.C: fixed missing line number count when exporting
7667 Environments to LaTeX file
7669 * buffer.C: added informational message for checking line numbers.
7671 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7673 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7674 paragraph, do the 'double space' part, but not the 'empty
7677 * text.C (workWidth): small optimization
7678 (getLengthMarkerHeight): use minimal size for negative lengths.
7680 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7682 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7684 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7686 2001-12-11 André Pönitz <poenitz@gmx.net>
7689 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7691 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7693 * text2.C: keep selection on a setFont()
7695 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7697 * lyx_cb.C: another bv->text misuse, from insert label
7699 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7702 * kbsequence.C: re-instate nmodifier mask
7704 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7706 * lyx_main.h: make lyxGUI private.
7708 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7710 * lyxfind.C: place the cursor correctly on failed search
7712 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7714 * text.C (getLengthMarkerHeight): for small heights, the arrows
7715 are not always on top/bottom of the text
7716 (drawLengthMarker): smaller arrows; take the left margin in
7717 account; draw also vfills.
7719 (paintLastRow): remove special code for vfill and standard spaces,
7720 since everything is handled in drawLengthMarker now.
7722 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7724 * buffer.C (insertErtContents): try to handle font and language
7725 interaction a bit better.g
7727 * ColorHandler.C (updateColor): change the hash to cover the whole
7728 LColor enum, ws cleanup
7729 (getGCLinepars): ditto
7730 (getGCLinepars): only lookup in the linecache once.
7732 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7734 * iterators.C (operator++): Make the iterator more robust
7736 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7738 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7740 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7743 * text.C: better added space drawing
7745 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7748 * BufferView2.C: fix layout combo update on inset unlock
7750 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7752 * Makefile.am: don't compile unused files
7754 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7758 * LyXAction.C: remove old LFUN_LAYOUTNO
7760 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7762 * paragraph_pimpl.h:
7763 * paragraph_pimpl.C: isTextAt() doesn't need font param
7765 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7768 * lyxlex.C: little cleanup
7770 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7772 * BufferView_pimpl.C: fix insertAscii for insets
7774 2001-12-05 Juergen Vigna <jug@sad.it>
7776 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7777 set the right font on the "multi" paragraph paste!
7779 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7785 * lyxlength.C: remove out-commented code.
7801 * vc-backend.C: change "while(" to "while ("
7803 * lyxlength.[Ch]: add zero function to check if length is zero or
7805 * lyxgluelength.C: use it
7807 2001-12-05 Allan Rae <rae@lyx.org>
7809 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7810 Works for 2.95.3, from what I understand of Garst's reports this should
7811 work for other g++ versions. We're screwed if the abs(int) definition
7812 changed between bugfix releases of gcc.
7814 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7816 * text.C: fix chapter label offset !
7818 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7821 * text.C: fix hfill at end of line, clean up
7823 2001-12-04 Juergen Vigna <jug@sad.it>
7825 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7826 that we force an update of the inset and it's owners if neccessary.
7828 2001-12-03 Juergen Vigna <jug@sad.it>
7830 * text.C (rowLast): simplified code
7832 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7834 * lyxfunc.C: fix show options on timeout
7836 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7838 * screen.C (topCursorVisible): scroll half a page when the cursor
7839 reached top of bottom of screen
7841 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7843 * minibuffer.C: deactivate on loss of focus
7845 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7847 * vspace.[Ch] (operator!=): add operator.
7849 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7851 * BufferView_pimpl.C: refuse to open an inset when
7852 there's a selection.
7854 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7856 * BufferView_pimpl.C: allow to click on RHS of full row insets
7858 2001-11-30 Juergen Vigna <jug@sad.it>
7860 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7861 insets for undo reasons.
7863 2001-11-28 André Pönitz <poenitz@gmx.net>
7865 * vspace.[Ch]: cosmetical changes
7867 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7877 * kbsequence.C: part re-write of old kb code
7880 * WorkArea.C: remove Lgb_bug_find_hack
7882 2001-11-30 José Matos <jamatos@fep.up.pt>
7884 * buffer.C (makeDocBookFile): add a comment to point a hack.
7885 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7886 Fixed a double write of labels.
7888 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7891 * LaTeX.h Fixed bug in LaTeX class where it would not
7892 re-run latex if no depfiles were changed, but the .dvi was removed.
7894 2001-11-28 André Pönitz <poenitz@gmx.net>
7896 * all the files from the change on 2001/11/26:
7897 use lyx::layout_type instead of LyXTextClass::size_type
7898 use lyx::textclass_type instead of LyXTextClassList::size_type
7900 2001-11-29 Juergen Vigna <jug@sad.it>
7902 * text.C: added support for paragraph::isFreeSpacing()
7904 * buffer.C: same as above
7906 * paragraph.h: inserted isFreeSpacing() function to enable
7907 FreeSpacing inside InsetERT.
7909 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7910 of the paragraph's in the cut/copy buffer to 0!
7912 * text2.C (removeRow): remove the assert as it can!
7914 * lyxtext.h: added helper function firstRow returning firstrow and
7915 made firstrow private again.
7917 * BufferView2.C (lockInset): don't relock if we're already locked!
7919 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7921 (removeRow): added Assert::(firstrow)
7923 * debug.C: forgot to add INSETTEXT here.
7925 2001-11-28 Juergen Vigna <jug@sad.it>
7927 * sp_spell.C (initialize): changed error text to more general
7928 spellchecker command use (not only ispell!)
7930 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7932 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7934 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7936 * vspace.C: initialise lyxgluelength on failure
7938 2001-11-28 Allan Rae <rae@lyx.org>
7940 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7941 declaration & definition that looks like a function declaration.
7943 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7945 * BufferView2.C (copy):
7946 (copyEnvironment): do not clear the selection when doing a copy.
7948 * text.C (paintFirstRow): compilation fix
7950 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7952 * tabular.C (Latex): correct line count when writing latex.
7954 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7956 * paragraph_pimpl.h:
7957 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7960 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7964 * LColor.C: change vfillline->added_space
7966 * text.C: add markers and text for added space
7968 * vspace.C: fix comment
7970 2001-11-28 André Pönitz <poenitz@gmx.net>
7972 * paragraph.C: whitespace changes
7973 * all the other files from the change on 2001/11/26:
7974 change *::pos_type into lyx::pos_type
7976 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7978 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7979 language of the document when inserting error insets.
7981 2001-11-26 André Pönitz <poenitz@gmx.net>
7983 * BufferView_pimpl.[Ch]:
7991 * paragraph_pimpl.[Ch]:
7994 * text2.C: reduce header dependencies, introduce type for positions
7996 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7998 * <various>: change to use Alert.h
8000 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8002 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8003 when encountering an unknown token.
8004 (readLyXformat2): Show an error message if there were unknown tokens.
8006 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8009 * BufferView_pimpl.C:
8013 * text2.C: use par->isInset()
8015 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8017 * paragraph_pimpl.h:
8018 * paragraph_pimpl.C: cleanup
8020 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8022 * text2.C (removeRow):
8023 * text.C (setHeightOfRow): remove useless (and costly) call to
8026 2001-11-20 Allan Rae <rae@lyx.org>
8028 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8029 Now need Inset*::checkInsertChar() to return true for appropriate
8030 cases so that the characters in the minibuffer will actually be
8033 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8035 * text.C: change the order of the includes.
8036 (workWidth): initialize it at once.
8037 (workWidth): make maxw unsigned
8038 (setHeightOfRow): remove unused variable (inset)
8039 (selectSelectedWord): remove unused variable (inset)
8040 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8042 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8044 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8045 server is not running.
8047 (closeConnection): add debug info when server is disabled.
8049 * ColorHandler.C (getGCForeground): send debug message to GUI
8052 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8054 * kbmap.C (bind): modify because return conventions of
8055 kb_sequence::parse have changed.
8057 * kbsequence.C (parse): only ignore spaces and not any stupid
8058 control character. This avoids tests like s[i] <= ' ', which are
8059 guaranteed to fail with 8bit characters and signed chars.
8060 Change return code to string::npos when there have been no error
8061 (0 was a bad idea when error is at first character)
8063 2001-11-14 José Matos <jamatos@fep.up.pt>
8066 * buffer.C (simpleDocBookOnePar): removed unused argument.
8068 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8070 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8071 insets which are part of a word. Paragraph::isLetter takes care of
8072 that now. Use Paragraph::isInset to identify insets.
8073 (selectSelectedWord): do not test for hyphenation break.
8075 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8076 that protected spaces are considered as spaces.
8078 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8081 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8084 * lyxserver.C: fix it. and small cleanup.
8086 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8088 * BufferView_pimpl.C: use inline helpers
8091 * LaTeXFeatures.C: fix typos
8094 * Spacing.C: move spacing_string into class
8096 * ToolbarDefaults.C: move stuff into namespace anon
8098 * layout.h: update enum
8100 * lyxfunc.C: use better debug
8102 * minibuffer.h: fix typo
8106 * WorkArea.C: add and use Debug::WORKAREA
8110 * text2.C: code re-organisation, inline helpers
8112 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8114 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8115 std::vector.empty().
8117 2001-11-09 Allan Rae <rae@lyx.org>
8119 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8120 '\n's after tables. Tabular and ERT inset work now makes this no
8123 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8126 * minibuffer.C: fix crash, improve drop-down completion
8128 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8131 * lyxserver.C: invalidate fd's when doing endPipe()
8133 2001-11-08 José Matos <jamatos@fep.up.pt>
8135 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8136 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8139 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8141 2001-11-07 José Matos <jamatos@fep.up.pt>
8144 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8147 * buffer.C (sgmlOpenTag):
8148 * buffer.C (sgmlCloseTag): removed debug info.
8150 * buffer.h (sgmlOpenTag):
8151 * buffer.h (sgmlCloseTag): made public.
8153 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8155 * buffer.C (saveParamsAsDefaults):
8156 * lyx_cb.C (MenuLayoutSave): remove
8158 * LyXAction.C (init):
8160 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8162 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8164 * buffer.C (setPaperStuff): removed from here...
8166 * bufferparams.C (setPaperStuff): ... and moved there.
8168 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8172 * XFormsView.C: add support for drop-down completion
8174 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8176 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8179 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8181 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8184 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8186 * lyx_main.C: change ref to known bugs
8188 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8190 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8191 to work around older babel problems.
8193 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8195 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8197 2001-10-24 Juergen Vigna <jug@sad.it>
8199 * tabular-old.C (ReadOld): below variable changes reflected.
8201 * tabular.[Ch]: added ltType struct for longtable header/footer
8202 defines and changed all instances where they are used. Added
8203 future support for double top/bottom rows.
8205 2001-10-24 José Matos <jamatos@fep.up.pt>
8207 * buffer.h (docbookHandleCaption):
8208 * buffer.C (docbookHandleCaption): removed unused function.
8209 (makeDocBookFile): moved docbook supported version to v4.1.
8211 2001-10-24 José Matos <jamatos@fep.up.pt>
8214 * tabular.C (docbookRow): new function to export docbook code of a row.
8215 (DocBook): now honors the longtable flags.
8217 2001-10-23 José Matos <jamatos@fep.up.pt>
8220 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8221 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8223 * buffer.C (makeLinuxDocFile):
8224 (makeDocBookFile): reworked the preamble, more clean, and with
8225 support for lyx defined entities. Changed the document declaration
8226 to be more XML friendly.
8228 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8229 if we need to output XML that should be done with a filter.
8231 2001-10-22 Juergen Vigna <jug@sad.it>
8233 * sp_pspell.h (class PSpell): add alive function needed in the
8234 controller to see if the spellchecker could be started.
8236 2001-10-22 Juergen Vigna <jug@sad.it>
8238 * buffer.C (insertStringAsLines): modify the font for inserting
8239 chars in certain conditions by calling checkInsertChar(font).
8241 2001-10-19 Juergen Vigna <jug@sad.it>
8243 * text.C (workWidth): use getRow instead of wrong algorithm.
8244 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8246 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8251 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8253 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8255 * text.C (workWidth): do not search for the exact row when
8256 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8257 optimization for big documents.
8259 2001-10-18 Juergen Vigna <jug@sad.it>
8261 * text.C (workWidth): new function with added Inset * parameter.
8263 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8265 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8267 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8268 change return type of getColumnNearX.
8271 * text.C (changeRegionCase): use uppercase/lowercase instead of
8274 (rightMargin): simplify code by factoring out the uses of
8279 (appendParagraph): use Paragraph::size_type
8281 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8283 * vspace.C (asLatexString): add a missing break
8285 2001-10-15 Herbert Voss <voss@perce.de>
8287 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8289 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8291 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8294 2001-10-10 André Pönitz <poenitz@gmx.net>
8296 * lyxfunc.C: removed greek_kb_flag.
8298 2001-10-10 Herbert Voss <voss@perce.de>
8300 * lyx_main.C: delete global string help_lyxdir.
8302 2001-10-09 Herbert Voss <voss@perce.de>
8304 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8306 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8308 * lyx_main.C: added global string help_lyxdir.
8310 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8312 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8314 * lyxrc.C (set_font_norm_type): support iso8859-4
8316 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8318 * LaTeX.C (deplog): add another regex for MikTeX
8320 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8322 * lyxrc.C (set_font_norm_type): support iso8859-3
8324 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8326 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8328 * LaTeXFeatures.C: remove special case of french and index
8330 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8331 before \begin{document}). This solves several incompatibilities.
8333 2001-10-03 Garst Reese <reese@isn.net>
8335 * lyx_cb.C: change CheckTex error msg.
8337 2001-10-03 José Matos <jamatos@fep.up.pt>
8339 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8341 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8343 * .cvsignore: update
8345 * lyx_main.C (commandLineVersionInfo): use new style version info.
8347 * buffer.C (writeFile):
8350 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8352 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8354 * version.h: update to use stuff in version.C
8356 * version.C.in: new file. Contains version information determined
8357 at compile time. This is a merging of version.h and
8360 2001-10-03 Juergen Vigna <jug@sad.it>
8362 * BufferView_pimpl.C (update): don't change "dirty" status in
8365 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8367 * WorkArea.C (c-tor): re-position version string slightly.
8369 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8371 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8372 revert to previous code.
8374 WorkArea.[Ch]: (show, destroySplash): methods removed.
8376 WorkArea.C: rework code so that it's an amalgam of the codes before and
8377 after the splash screen was moved to WorkArea.
8379 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8382 * vspace.C (inPixels):
8385 * buffer.C (insertStringAsLines):
8386 (asciiParagraph): fix types to be large enough
8388 * lyxlex_pimpl.h: change member status from short to int
8390 * layout.h: fix type of endlabeltype
8393 * kbsequence.C (parse): change return type to string::size_type
8395 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8398 * Bullet.C (bulletSize):
8399 (bulletEntry): do not use short ints as parameters
8401 * BufferView2.C (insertLyXFile): change a char to an int.
8403 * WorkArea.C (WorkArea): remove unneeded floats in computation
8405 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8407 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8409 * paragraph.C (asString): Do not ignore newline/hfill chars when
8410 copying to the clipboard.
8412 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8414 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8415 after a multi-line inset.
8417 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8419 * paragraph.C (validate): Set NeedLyXFootnoteCode
8421 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8423 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8424 and decrease-error to decrease.
8426 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8428 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8429 it more readable (should be equivalent)
8431 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8433 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8435 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8437 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8438 of a cursor (row, etc.) after a character has been deleted
8439 (deleteEmptyParagraphMechanism): call the method above on _all_
8440 cursors held by the LyXText when a double space has been
8443 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8445 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8447 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8449 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8450 background. Use greyOut() and the new show() methods to toggle between
8451 the foreground and background. Add code to remove the splash after
8452 its initial showing.
8454 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8455 (create_forms): no longer call Dialogs::showSplash.
8457 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8459 * .cvsignore: add version_info.h
8461 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8463 * version_info.h.in: new file
8465 * Makefile.am: add version_info.h.in
8467 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8468 version_info.h instead of VERSION_INFO
8470 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8472 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8473 The ERT inset now returns string().
8475 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8477 * lyxtext.h, text.C (selectNextWord): renamed as
8478 selectNextWordToSpellcheck.
8480 * text.C (selectNextWordToSpellcheck): Modified to not select
8481 words inside an ERT inset.
8483 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8485 * lyx_cb.C (MenuLayoutSave): change a bit the question
8487 * sp_base.h: include <sys/types.h>
8489 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8491 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8493 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8495 * several files: fix typos in user-visible strings
8497 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8499 * text2.C (pasteSelection): do not set the selection, since it
8500 will be cleared later. Actually, the intent was to fix the way the
8501 selection was set, but I figured rmoving the code was just as good.
8503 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8505 * FontLoader.C (available): Check if font is available without
8508 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8510 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8512 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8514 * lyxrc.[Ch]: added display_graphics variable and associated code.
8516 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8518 * bufferparams.C (hasClassDefaults): new method. Returns true if
8519 the buffer parameters correspond to known class defaults
8521 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8523 * XFormsView.C (show): set minimum size to the main window.
8525 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8527 * text2.C (copySelection):
8529 * lyxfind.C (LyXReplace):
8530 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8531 LyXText::selectionAsString.
8533 * paragraph.C (asString): add "label" argument to the second form
8535 * text2.C (selectionAsString): add "label" argument and pass it to
8536 Paragraph::asString.
8538 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8540 * lyx_main.C (commandLineHelp): remove version information
8542 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8544 * lyx_main.C: add -version commandline option
8546 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8548 * paragraph.h: make the optional constructor arg required instead.
8549 some modifications to other files because of this.
8551 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8553 * lyxserver.C (C_LyXComm_callback): make it static
8555 * lyx_main.C (error_handler): make it static
8557 * lyx_gui.C (LyX_XErrHandler): make it static
8559 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8561 * WorkArea.C: make the extern "C" methods static.
8563 * Makefile.am (lyx_LDADD): simplify
8565 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8567 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8568 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8570 * LyXAction.C (init):
8571 * lyxfunc.C (dispatch): associated code removal.
8573 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8575 * lyxfont.h (isSymbolFont): shut off warning
8577 * text.C (setHeightOfRow):
8578 (getVisibleRow): fix crash with empty paragraphs which have a
8581 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8583 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8586 2001-09-04 José Matos <jamatos@fep.up.pt>
8589 * tabular.C (docbook): rename docBook method to docbook.
8591 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8593 * Makefile.am: add dependencies to main.o.
8595 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8597 * FontLoader.C (available): Return false if !lyxrc.use_gui
8599 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8601 * FontInfo.C (query):
8602 * converter.C (view):
8603 * importer.C (Import):
8604 * exporter.C (Export): Can not -> cannot.
8606 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8608 * BufferView_pimpl.C: allow to create index inset even if
8611 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8613 * buffer.C (getLists): replace boost::tie code with an explicit pair
8614 as boost::tie can break some compilers.
8616 * iterators.h: Added a std:: declaration to the return type of
8619 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8621 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8624 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8626 * iterators.[Ch]: New files. Provide paragraph iterators.
8628 * buffer.C (changeLanguage): Use paragraph iterators.
8629 (isMultiLingual): ditto
8631 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8633 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8635 * FontLoader.C: Support for cmr font.
8637 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8639 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8640 (available): New method.
8642 * FontInfo.C (getFontname): Use scalable fonts even when
8643 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8646 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8648 * converter.C (Formats::view): reverted! Incorrect fix.
8650 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8652 * converter.C (Formats::view): only output the -paper option
8653 if the dvi viewer is xdvi, thereby fixing bug #233429.
8655 2001-08-23 Herbert Voss <voss@perce>
8657 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8659 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8661 * Spacing.h (Spacing): Set space to Default on in the default
8664 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8666 * vc-backend.h (RCS::versionString): add RCS to version
8667 (CVS::versionString): add CVS to version
8669 * vc-backend.C (scanMaster): do not add CVS to version.
8670 (scanMaster): do not add RCS to version
8672 * lyxvc.C (versionString): new method
8674 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8676 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8678 * Spacing.C (set): initialize fval
8680 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8682 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8685 2001-08-16 Juergen Vigna <jug@sad.it>
8687 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8689 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8691 * BufferView_pimpl.C:
8694 * text2.C: setParagraph takes linespacing now
8696 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8698 * LyxAction.C: add internal LFUN_CITATION_INSERT
8700 * LyXView.C: actually apply fix
8702 * bufferlist.C: fix open non-existent file
8704 * lyxfind.C: fix indentation
8706 * lyxfunc.C: remove unneeded assert, fix typo
8708 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8710 * MenuBackend.C: use "Floatname List"
8712 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8714 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8715 when converting LaTeX layout to insetERT.
8716 Generate a non-collapsed float when reading old float
8718 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8720 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8723 2001-08-13 Juergen Vigna <jug@sad.it>
8725 * text.C (fill): return 0 instead of 20 as this seems to be the more
8728 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8730 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8733 2001-08-13 Juergen Vigna <jug@sad.it>
8735 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8737 (SearchBackward): comment out the unlocking of the inset_owner this
8738 should not be needed!
8740 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8742 * Many files: Remove inherit_language, and add latex_language
8744 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8747 2001-08-10 Juergen Vigna <jug@sad.it>
8749 * text.C (prepareToPrint): fixed hfill-width in draw!
8751 * BufferView2.C (selectLastWord): save the selection cursor as this
8752 now is cleared in the function LyXText::clearSelection!
8754 2001-08-08 Juergen Vigna <jug@sad.it>
8756 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8757 BACKSPACE type functions.
8759 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8760 is only cutted from the document but not put in the cut-buffer, where
8761 still the old stuff should be.
8763 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8765 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8767 * tabular.C (SetWidthOfCell): fixed special case where the width
8769 (LeftLine): handle '|' in align_special.
8771 (LeftAlreadyDrawed): ditto
8772 (SetWidthOfCell): ditto
8774 2001-08-07 Juergen Vigna <jug@sad.it>
8776 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8778 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8780 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8781 * lyxlex.[hC]: ditto
8783 2001-08-06 Juergen Vigna <jug@sad.it>
8785 * text.C (getVisibleRow): fix up row clearing a bit.
8787 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8789 * minibuffer.C: make sure the X server sees the changes in the input.
8791 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8793 * paragraph.C (getFont): split into...
8794 (getLabelFont): this
8795 (getLayoutFont): and this
8796 * paragraph_pimpl.C (realizeFont): calling this
8798 * text2.C (getFont): split into...
8799 (getLayoutFont): this
8800 (getLabelFont): and this
8801 (realizeFont): all three calling this
8803 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8806 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8808 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8810 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8812 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8813 layouts from the Quote inset insertion.
8815 2001-08-03 Juergen Vigna <jug@sad.it>
8817 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8819 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8820 only if status not is already CHANGED_IN_DRAW (second level).
8822 * text.C (draw): don't set the need_break_row when inside an
8825 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8827 * buffer.C (parseSingleLyXformat2Token): handle more latex
8830 * bufferview_funcs.[hC]: change function names to
8831 begin with small char, adjust other files.
8833 2001-08-02 André Pönitz <poenitz@gmx.net>
8836 BufferView_pimpl.C: remove broken special code for math-greek
8838 2001-08-02 Juergen Vigna <jug@sad.it>
8840 * BufferView_pimpl.C (update): redone this function so that we
8841 update the text again if there was a CHANGE_IN_DRAW.
8843 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8844 (drawFromTo): added a new internal bool which is used by draw() and
8846 (general): some cursor drawing problems fixed.
8848 2001-08-01 Juergen Vigna <jug@sad.it>
8850 * lyxfind.C (LyXFind): fixed
8851 (SearchForward): ditto
8852 (SearchBackward): ditto
8854 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8855 spurius drawing of the cursor in the main area.
8857 * text2.C (status): small fix which could lead to a segfault!
8858 (clearSelection): remove unneeded BufferView param.
8860 2001-08-01 André Pönitz <poenitz@gmx.net>
8862 * lyxfunc.C: small change due to changed mathed interface
8864 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8866 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8868 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8870 * lyxfunc.c: fail gracefully if file doesn't exist
8875 * BufferView_pimpl.C: IsDirWriteable() proto changed
8877 * LyXView.C: fix updateWindowTitle() to store the last title
8879 2001-07-31 Juergen Vigna <jug@sad.it>
8881 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8882 the font (wrong since using of Paragraph::highestFontInRange).
8884 * paragraph.C (highestFontInRange): added a default_size parameter.
8886 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8887 (setHeightOfRow): reformat
8889 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8891 * converter.[hC] + affected files: move to (inital-char)lowercase
8894 * ParagraphParameters.C (ParagraphParameters): remove commented code
8896 * PainterBase.[Ch]: remove commented code
8898 * LaTeXFeatures.h: add "bool floats" for float.sty
8900 * LaTeXFeatures.C (LaTeXFeatures): init floats
8901 (require): handle float
8902 (getPackages): do it with floats
8904 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8906 * BufferView_pimpl.C (Dispatch): improve handling of
8907 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8909 * commandtags.h: #include lyxfont.h here temporarily to avoid
8912 * bufferlist.h: include LString.h here.
8914 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8916 * text2.C (getStringToIndex): new method.
8918 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8920 * *: Reduced header file dependencies all over.
8922 2001-07-30 Baruch Even <baruch@lyx.org>
8924 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8926 2001-07-29 Baruch Even <baruch@lyx.org>
8928 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8930 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8932 * ParameterStruct.h (endif): add a default constructor to make
8933 sure that all variables is initialized.
8935 * ParagraphParameters.C (ParagraphParameters): adjust
8937 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8939 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8940 index; also, check that there is something to index, and that it
8941 does not span over several paragraphs.
8942 (doubleClick): use WHOLE_WORD_STRICT for double click.
8944 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8946 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8949 2001-07-26 Baruch Even <baruch@lyx.org>
8951 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8952 an InsetFig figure, backwards compatible reading of old figure code.
8954 2001-07-27 Juergen Vigna <jug@sad.it>
8956 * text2.C: font.realize function adaption.
8958 * text.C (draw): add a warnings lyxerr text if needed.
8960 * layout.C: font.realize function adaption.
8962 * language.C: add inherit_language and implement it's handlings
8964 * bufferview_funcs.C (StyleReset): remove language parameter from
8965 font creation (should be language_inherit now).
8967 * bufferparams.C (writeFile): handle ignore_language.
8969 * paragraph.C (getFontSettings): the language has to be resolved
8970 otherwise we have problems in LyXFont!
8972 * lyxfont.C (lyxWriteChanges): added document_language parameter
8973 (update): removed unneeded language parameter
8975 * paragraph.C (validate): fixed wrong output of color-package when
8976 using interface colors for certain fonts in certain environments,
8977 which should not seen as that on the final output.
8979 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8981 * BufferView_pimpl.C:
8986 * LyXAction.C: add thesaurus support
8989 * lyxfind.C: add "once" parameter, for thesaurus, to not
8990 move to the next match
8992 2001-07-26 Juergen Vigna <jug@sad.it>
8994 * lyxfont.C (realize): honor ignore_language too!
8997 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8999 * text.C (draw): one place more for ignore_language to not draw
9002 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9004 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9006 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9008 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9009 the minipage conversion problem.
9011 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9013 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9016 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9018 * BufferView.h: don't forward declare WorkArea
9020 * BufferView.C: don't include WorkArea.h
9022 2001-07-25 André Pönitz <poenitz@gmx.net>
9026 * lyxfunc.C: new LFUN 'math-space'
9028 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9030 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9032 * text2.C (toggleInset): call open/close
9034 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9036 * lyxfunc.C (dispatch): add debug for the disabled case
9038 * font.C (buttonText): make similar to rectText
9040 * buffer.C (readInset): comment out parsing of insetlist and
9043 * PainterBase.C (rectText): small correction
9045 * BufferView_pimpl.C: comment out insettheorem and insetlist
9046 * LyXAction.C: ditto
9047 * commandtags.h: ditto
9049 2001-07-24 Juergen Vigna <jug@sad.it>
9051 * text.C (draw): honor the ignore_language.
9053 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9055 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9057 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9060 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9062 * lyxtext.h: remove unused (and unimplemented) methods
9064 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9066 * text.C (getVisibleRow): honor background color
9069 * Painter.h: remove default color argument for fillRectangle
9071 * text.C (backgroundColor): new method
9073 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9075 * text.C (getVisibleRow): adjust
9077 * font.[Ch] (rectText): new method, metrics
9078 (buttonText): new method, metrics
9080 * PainterBase.[hC]: make rectText and buttonText always draw and take
9083 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9085 * ToolbarDefaults.C (read):
9086 * MenuBackend.C (read): allow escaping in all strings
9088 * BufferView_pimpl.C (insertAndEditInset): new method.
9089 (Dispatch): use insertAndEditInset whenever appropriate.
9091 * BufferView_pimpl.C (insertNote): removed
9093 * BufferView_pimpl.C (smartQuote): new method, moved from
9094 BufferView; if an insetquote cannot be inserted, insert a '"'
9097 * BufferView2.C: remove insertCorrectQuote();
9099 * lyxfunc.C (getStatus): Add support for all remaingin
9102 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9104 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9105 command (necessary to pass " as parameter of self-insert.
9107 * text.C (selectWordWhenUnderCursor):
9108 (selectWord): add word_location parameter
9109 (selectWordWhenUnderCursor): same + remove special code for word
9111 (selectNextWord): use kind() to guess type of insetspecialchar,
9114 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9115 (insertErtContents): create ert insets as collapsed.
9116 (readInset): better compatibility code for Info inset.
9118 2001-07-20 Juergen Vigna <jug@sad.it>
9120 * lyxfunc.C (dispatch): use always LyXFind now!
9122 * text2.C (init): add a reinit flag so that the LyXText can be
9123 reinited instead of deleted and reallocated (used in InsetText).
9125 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9131 2001-07-18 Juergen Vigna <jug@sad.it>
9133 * text.C (selectNextWord): handle insets inside inset by calling
9134 always the bv->text functions so that we can go up the_locking_inset!
9136 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9137 in strange locations when inside an inset!
9139 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9140 handling to include insets.
9142 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9144 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9146 * LyXAction.C (init):
9148 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9149 LIGATURE_BREAK, since the name is so stupid.
9151 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9153 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9156 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9158 * sp_form.[Ch]: remove.
9160 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9162 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9165 * src/buffer.C (readInset): ditto.
9167 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9169 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9170 menuSeparator(), endOfSentenceDot(), ldots() and
9171 hyphenationPoint(), which are therefore removed.
9172 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9174 * LyXAction.C (init):
9175 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9177 * paragraph.C (getWord): removed.
9179 * BufferView_pimpl.C (Dispatch): use last word or selection for
9180 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9182 * lyx_main.C (queryUserLyXDir): do not ask before creating
9183 user_dir, except if it has been named explicitely.
9185 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9187 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9188 a document of zero size.
9190 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9192 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9193 approriately in the c-tor and in require().
9194 (getPackages): output the appropriate LaTeX for natbib support.
9196 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9197 variables "use_natbib" and "use_numerical_citations" when reading the
9199 (readInset): read the various natbib cite commands.
9200 (validate): white-space change.
9202 * bufferparams.[Ch]: new variables "bool use_natbib" and
9203 "bool use_numerical_citations".
9204 (writeFile): output them in the LyX file.
9206 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9208 * lyxfunc.C (getStatus): add support for all the inset insertion
9211 * text2.C (insertInset):
9212 * paragraph.C (insetAllowed):
9213 * BufferView_pimpl.C (insertInset): update to take in account the
9214 renaming of insertInsetAllowed
9216 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9218 * text2.C (getInset): new method. returns inset at cursor position.
9220 * BufferView_pimpl.C (Dispatch): changes because of this.
9222 * LyXAction.C (init): rename open-stuff to inset-toggle.
9224 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9226 * text2.C (toggleInset): renamed from openStuff; use
9229 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9231 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9233 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9235 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9237 * buffer.C (readLyXformat2): Add filename to the error dialog
9239 2001-07-18 Juergen Vigna <jug@sad.it>
9241 * tabular.C (GetCellNumber): put an assert here instead of the check!
9243 2001-07-17 Juergen Vigna <jug@sad.it>
9245 * BufferView_pimpl.C (toggleSelection): adapted too.
9247 * text.C (selectNextWord): adapted for use with insets.
9248 (selectSelectedWord): ditto
9250 2001-07-17 Juergen Vigna <jug@sad.it>
9252 * sp_spell.C (PSpell): fix initialitation order.
9254 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9256 * paragraph.C: spacing
9258 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9260 * sp_spell.C: repair language selection for pspell
9262 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9264 * lyxfunc.h: change more methods to begin with lower char.
9266 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9268 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9269 for unknown layouts.
9271 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9273 * buffer.C (readLyXformat2): Generate an error dialog if there are
9276 2001-07-16 Juergen Vigna <jug@sad.it>
9278 * sp_spell.C: always compile ISpell part.
9280 * lyxrc.C: added use_pspell entry and it's handling.
9282 2001-07-13 Juergen Vigna <jug@sad.it>
9284 * sp_spell.C: removed double includes.
9286 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9288 Consistent use of Lsstream.h:
9289 * Lsstream.h: added using std::stringstream for consistencies sake.
9291 * buffer.C: removed using std::stringstream
9293 * lyxfont.C (stateText):
9294 * paragraph.C (asString):
9295 * text.C (selectNextWord, selectSelectedWord):
9296 * text2.C (setCounter):
9297 * vspace.C (asString, asLatexString):
9298 std::ostringstream -> ostringstream.
9300 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9302 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9303 * commandtags.h: add LFUN_HELP_ABOUTLYX
9304 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9306 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9308 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9310 * lyx_gui_misc.C: remove spellchecker
9311 * lyxfunc.C: showSpellchecker
9313 * sp_ispell.h: added
9314 * sp_pspell.h: added
9316 * sp_form.[Ch]: removed
9317 * spellchecker.[Ch]: removed
9319 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9321 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9323 (simpleTeXSpecialChars): Simply print the input character without
9324 any special translation if pass_thru is set.
9326 * layout.h: Added bool pass_thru to layout class for being able to
9327 implement pass through of a paragraph for Literate Programming.
9329 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9330 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9331 * layout.C (Read): add "passthru" to list of layout tags and add
9332 code to set the pass_thru boolean when it is read.
9334 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9336 * trans_decl.h: remove allowed from KmodInfo
9338 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9342 * paragraph_pimpl.C (erase): use boost::prior
9344 * Painter.C (text): use data() instead of c_str() when length is
9346 * WorkArea.C (putClipboard): ditto
9347 * font.h (width): ditto
9349 * BufferView2.C: use it-> instead of (*it). for iterators
9351 * paragraph_pimpl.C: ditto
9352 * paragraph.C: ditto
9353 * minibuffer.C: ditto
9358 * converter.C: ditto
9360 * Variables.C: ditto
9361 * TextCache.C: ditto
9362 * MenuBackend.C: ditto
9363 * LyXAction.C: ditto
9365 * FloatList.C: ditto
9367 * ColorHandler.C (LyXColorHandler): ditto
9369 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9371 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9373 * text2.C (openStuff): reintroduce this method (which had been
9374 nuked in NEW_INSETS frenzy).
9376 * lyxfunc.C (Dispatch): when an action has not been handled, use
9377 its name in the error message, not its number.
9379 * paragraph.C (inInset): change method name to begin with lowercase.
9382 * text2.C: updates because of this.
9384 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9386 * ToolbarDefaults.C (add): add spaces in error message
9388 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9390 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9391 (readLyXformat2): rename return_par to first_par, use lyxlex's
9392 pushToken and remove the manual push handling.
9393 (parseSingleLyXformat2Token): add another ert comp. variable:
9394 in_tabular, rename return_par to first_par. handle newlines better
9396 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9398 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9400 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9402 * text2.C (getParFromID): removed
9404 * buffer.C (getParFromID): new method moved form lyxtext.
9405 * BufferView2.C (insertErrors): adjust
9406 (setCursorFromRow): adjust
9407 * BufferView_pimpl.C (restorePosition): adjust
9408 * lyxfunc.C (Dispatch): adjust
9409 * undo_funcs.C (textUndo): adjust
9411 (textHandleUndo): adjust
9412 (textHandleUndo): adjust
9414 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9416 * buffer.C: up' the LYX_FORMAT
9418 * lyxfont.h: turn NO_LATEX on as default
9420 * buffer.C (insertErtContents): new methods of tex style compability.
9421 (parseSingleLyXformat2Token): use it several places.
9422 * tabular.C (OldFormatRead): and here
9424 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9426 * text2.C: remove some commented code.
9429 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9430 * trans.C: changes because of the above.
9432 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9434 * text2.C (setCounter): Fix counters bug with bibliography layout.
9436 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9438 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9439 own member functions
9440 (simpleTeXSpecialChars): ditto
9442 2001-07-06 Juergen Vigna <jug@sad.it>
9444 * a lot of files: changed the access to LyXText::status and the
9445 call of undo-functions.
9447 * undo.[Ch]: added a inset_id to the undo informations.
9449 * undo_funcs.[Ch]: added and moved here all undo functions.
9451 * lyxtext.h: give the status enum a weight, made status_ a private
9452 variable and made accessor functions for it, removed the whole bunch
9453 of undo-functions as they are now in their own file, make some
9454 functions publically available. Added function ownerParagraph with
9457 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9458 made InInset() a const function, added getParFromID() function.
9460 * buffer.[Ch]: added const version for inset_iterator functions,
9461 added getInsetFromID() function.
9463 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9464 changed undo functions for new version.
9466 2001-07-05 Juergen Vigna <jug@sad.it>
9468 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9469 unknow mechanism does not call the proper constructor but only this
9470 one also if I request the other!?
9472 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9474 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9476 * text2.C (LyXText): use initialization lists.
9478 * lyxtext.h (Selection): initialize set_ and mark_
9479 (init): remove method
9481 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9483 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9485 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9487 * screen.[Ch]: change method names to begin with lowercase
9489 * BufferView_pimpl.C (updateScrollbar): simplify further and
9490 hopefully make it a bit faster.
9492 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9494 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9495 calling directly xforms functions.
9497 * Painter.C (Painter):
9498 * lyx_cb.C (MenuWrite):
9499 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9502 * lyx_gui.C: remove bogus guiruntime extern declaration.
9504 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9506 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9508 (redoDrawingOfParagraph): ditto
9509 (redoParagraphs): ditto
9510 (cutSelection): don't create a object for CutAndPaste use the
9511 static method directly
9512 (pasteSelection): ditto
9514 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9517 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9519 * modifications to some other files because of this.
9521 * Makefile.am (lyx_SOURCES): add XFormsView
9523 * XFormsView.[Ch]: new files
9525 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9526 the main window. Move the gui dependent stuff to XFormsView
9528 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9530 * tabular.C (GetCellInset): update cur_cell also in the row/col
9531 version of this function.
9533 * lyxfunc.C: no need to include figure_form.h here.
9539 * lyxvc.C: no need to include forms.h here.
9541 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9543 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9545 * lyxfunc.C (Dispatch):
9547 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9548 constructor argument.
9550 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9552 * paragraph.C (Paragraph): dont't clear, and just set layout.
9553 (makeSameLayout): use params's copy contructor.
9555 * ParagraphParameters.[Ch] (makeSame): delete method
9557 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9559 * Variables.[Ch]: fix indentation, rename set to isSet
9561 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9563 * lyxfunc.C (Dispatch): fix typo
9565 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9567 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9570 * bufferlist.C: include assert.h for emergencyWrite().
9572 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9574 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9575 give up at last (bug #425202) !
9577 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9583 * spellchecker.C: strip spellchecker options and bring up
9584 preferences tab instead
9586 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9588 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9589 the istringstream constructor
9591 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9593 * paragraph.C (getLayout): fix return value
9595 * paragraph.h: do not declare getLayout as inline.
9597 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9599 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9601 * lyxcursor.h (operator<): new func
9602 (operator>): new func
9603 (operator>=): new func
9604 (operator<=): new func
9606 * text.C (changeCase): use selection.start and selection.end
9607 (changeRegionCase): require from to be <= to. Require par to be a
9610 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9612 2001-06-27 Juergen Vigna <jug@sad.it>
9614 * text.C (cursorLeftOneWord): changed to return the cursor and added
9615 overlay with BufferView * parameter which calls this one.
9617 (selectWord): use new getWord function.
9618 (changeCase): renamed from changeWordCase as and extended to work
9621 * lyxtext.h: added enum word_location
9623 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9624 changeCase as this operates now also on selections.
9626 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9628 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9630 * many files: send debug output to Debug::INFO instead of
9633 * converter.C (View):
9635 (Move): send debug output to Debug::FILES instead of console.
9637 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9639 * lyxfunc.C (getStatus): use func_status
9641 * func_status.h: new header, describing the results of
9644 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9647 2001-06-25 The LyX Project <jug@sad.it>
9649 * buffer.C (sgmlOpenTag):
9651 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9653 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9655 * text2.C: remove some dead code
9657 * tabular.C (GetCellInset): store the last cell checked (gotten)
9659 * tabular.h: add the helper for the speedup
9661 * lyxtext.h: remove some dead code
9663 2001-06-26 The LyX Project <Asger>
9665 * paragraph.C: Change export to LaTeX of alignment to
9666 \begin{center} and family for better roundtrip work with reLyX.
9668 * Tune the math drawing a bit.
9670 2001-06-25 The LyX Project <Asger>
9672 * LColor.C (LColor): New color for math background. New color
9675 2001-06-25 The LyX Project <jug@sad.it>
9677 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9680 * bufferlist.C (newFile): do not restrict to files ending with
9683 * BufferView_pimpl.C (MenuInsertLyXFile):
9685 2001-06-24 The LyX Project <jug@sad.it>
9687 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9690 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9692 * lyxtext.h: rename most methods to begin with a small char.
9693 Lots of changes because of this.
9695 * paragraph.C (Paragraph): do not call fitToSize
9696 (erase): call Pimpl::erase
9697 (insertChar): call Pimpl::insertChar
9698 (insertInset): call Pipl::insertInset
9699 (breakParagraph): do not call fitToSize
9700 (breakParagraphConservative): do not call fitToSize
9701 (fitToSize): remove method
9703 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9705 2001-06-24 The LyX Project <Asger>
9707 * Fix Qt compilation^2
9709 2001-06-24 The LyX Project <jug@sad.it>
9711 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9712 depthHook(getDepth()-1).
9715 * ParagraphParameters.h:
9716 * ParameterStruct.h: change type of depth to unsigned int ==
9717 depth_type. Many adaptations to other files before of that.
9719 2001-06-24 The LyX Project <Asger>
9721 * Fix Qt compilation.
9723 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9725 * paragraph.h: renamed several methods to begin with small letter.
9726 several changes to many parts of the code because of this.
9728 2001-06-23 The LyX Project <jug@sad.it>
9730 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9731 rewritten to discard all double spaces when KeepEmpty is off
9732 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9733 to only handle newlines but not fiddle with spaces and friends.
9735 * lyxfunc.C (MenuNew): when doing 'new from template', use
9736 template_path as default directory
9738 2001-06-23 The LyX Project <Asger>
9740 * Clean-up of header file includes all over
9741 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9743 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9745 * paragraph.h: renamed from lyxparagraph.h
9747 2001-06-23 Asger <lyx@violet.home.sad.it>
9749 * Buffer.h: Removed Buffer::resize
9750 * BufferList.h: Removed BufferList::resize
9751 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9752 the document lazily when we change the width, or the font settings.
9754 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9756 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9758 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9760 * buffer.h: remove out of date comment
9762 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9765 * screen.C: fix "theoretical" GC leak
9767 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9769 * LaTeX.C (scanAuxFile):
9770 (deplog): remove trailing \r when reading stream (useful under
9773 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9775 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9776 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9777 and BufferView::theLockingInset(Inset*), so should use them and not
9778 access bv_->text->the_locking_inset directly.
9780 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9782 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9785 * tex-defs.h: remove old unused file
9787 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9789 * BufferView_pimpl.C: fix typo, remove minibuffer message
9790 when buffer has loaded
9792 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9794 * lyxfunc.C (Dispatch): use stringstream
9795 (MenuNew): use stringstream
9796 (Open): use stringstream
9798 * importer.C (Import): use stringstream
9800 * bufferview_funcs.C (CurrentState): use stringstream
9802 * LaTeX.C (run): use stringstream
9804 * BufferView_pimpl.C (savePosition): use stringstream
9805 (restorePosition): use stringstream
9806 (MenuInsertLyXFile): use stringstream
9808 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9821 * vspace.C: removed // -*- C++ -*- as first line.
9824 * version.h: added // -*- C++ -*- as first line.
9826 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9828 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9830 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9833 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9835 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9838 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9840 * gettext.C: include LString.h even when --disable-nls is on.
9842 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9844 * converter.h (Get): changed argument type from int to
9845 FormatList::size_type to avoid unnecessary conversion.
9847 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9850 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9852 * gettext.h: include LString.h even when --disable-nls is on.
9854 2001-06-07 Juergen Vigna <jug@sad.it>
9856 * text.C (BreakAgain): subst spaces with tabs.
9858 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9859 (resizeInsetsLyXText): set force on resizeLyXText.
9861 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9863 * gettext.h (gettext_init):
9864 (locale_init): use a real definition instead of a macro
9866 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9868 * Bufferview_pimpl.C:
9870 * LColor.C: further lcolor tidies
9872 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9874 * BufferView_pimpl.C (updateScrollbar): simplify.
9876 * BufferView2.C: don't include insets/insetinfo.h, change
9877 prototype for insertInset and call the Pimpl version. let
9878 updateInset call Pimpl version.
9880 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9881 gotoInset to BufferView::Pimpl
9883 2001-06-01 Juergen Vigna <jug@sad.it>
9885 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9886 inside a LockingInset (is the update needed at all?).
9888 2001-05-31 Juergen Vigna <jug@sad.it>
9890 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9891 here not the old one otherwise how should we compare it afterwards
9894 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9899 * FontInfo.C: bring C functions into global namespace when
9902 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9904 * LString.h: make sure config.h has been loaded before LString.h.
9906 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9907 (one for each char read by EatLine!).
9909 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9912 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9914 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9915 to the same as the par we break from
9917 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9919 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9921 * MenuBackend.C (expand): also create menu entries for wide
9922 versions of the floats.
9924 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9926 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9928 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9929 frontends/Makefile.am
9935 * tabular.C (getTokenValue): add std::
9937 * tabular-old.C (getTokenValue): add std::
9938 (getTokenValue): ditto
9939 (getTokenValue): ditto
9941 * screen.C (ToggleSelection): adjust
9943 * lyxtext.h: put selection cursors inside a Selection struct.
9945 * lyxfunc.C (moveCursorUpdate): adjust
9947 * lyxfont.C (latexWriteStartChanges): add std::
9951 * font.h: delete with(char const *, LyXFont const &)
9953 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9955 * FontInfo.C (getFontname): add std::
9957 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9958 (workAreaButtonPress): adjust
9959 (tripleClick): adjust
9961 (moveCursorUpdate): adjust
9964 * BufferView2.C (gotoInset): adjust
9966 2001-05-30 Juergen Vigna <jug@sad.it>
9968 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9969 to check pspell I add this as default as I now have new pspell
9970 libraries and they seem to use this.
9972 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9974 * text2.C (CutSelection): make the cursor valid before the call to
9977 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9979 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9980 relied on 0 terminated strings and other horrors. Bug found due to
9981 the new assert in lyxstring!
9983 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9986 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9988 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9991 * lyxfunc.C (processKeySym): change method of getting to the
9994 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9995 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9996 * BufferView_pimpl.[Ch]: here as private methods.
9998 2001-05-28 Juergen Vigna <jug@sad.it>
10000 * text.C (SetHeightOfRow): added the update() call again as it is
10001 needed to initialize inset dimensions!
10003 2001-05-16 Juergen Vigna <jug@sad.it>
10005 * text2.C (SetCharFont): Add new function with BufferView * and
10006 bool toggleall parameters for setting insets internal fonts.
10007 (SetFont): Freeze the undo as we may change fonts in Insets and
10008 all this change should be inside only one Undo!
10010 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10011 setting font's in insets as for them we have the SetFont function!
10013 2001-05-15 Juergen Vigna <jug@sad.it>
10015 * text2.C (ClearSelection): to be sure we REALLY don't have any
10018 * tabular.C (TeXCellPreamble): fixed the left border problem for
10021 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10023 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10026 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10028 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10029 LFUN_BREAKPARAGRAPH.
10031 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10032 help test to "internal only", similar for LFUN_INSERT_URL
10034 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10035 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10036 auto_region_delete and deadkeys.
10038 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10041 * LColor.C: remove some dead entries, tidy a little
10043 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10045 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10047 (Dispatch): implement LFUN_ESCAPE
10049 * commandtags.h: add LFUN_ESCAPE
10051 * LyXAction.C (init): add entry for LFUN_ESCAPE
10053 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10054 Remove commented code.
10055 (insertNote): moved here
10056 (open_new_inset): moved here
10058 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10061 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10063 * kbmap.C (findbinding): clean it up and make it work correctly.
10065 * lyx_main.C (init): do not pass argc and argv as parameters
10067 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10069 * buffer.C: fix path for OS/2 & Win32
10073 * lyx_main.C: Added os:: class.
10075 * os2_defines.h: update
10077 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10079 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10080 better by trying again with reduced state.
10082 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10084 * lyxrc.C (read): print error about invalid key sequence only when
10085 debugging (because not all latinX keysyms are known to some X
10088 * kbsequence.C (getiso): add a few std:: qualifiers
10089 (getiso): comment out extra return statement.
10091 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10093 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10095 (Dispatch): enhance the accent inset a bit. (not perfect)
10097 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10099 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10101 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10103 * bufferlist.C (emergencyWrite): fix assert() call
10105 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10107 * text.C (InsertChar): Added trivial patch to only send the "you
10108 can not do multiple spaces this way" message once during a
10111 2001-05-08 Baruch Even <baruch@lyx.org>
10113 * Makefile.am: Changed order of libraries to get LyX to link properly
10114 with the gnome frontend.
10116 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10118 * LaTeXFeatures.h: add a std:: qualifier
10120 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10122 * paragraph.C (String): use stringstream
10124 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10126 * paragraph.C (writeFile): remove footflag arg
10128 * buffer.C (makeLaTeXFile): use stringstream
10129 (latexParagraphs): remove footnot gurba
10131 * LaTeXFeatures.C (getPackages): use stringstream
10132 (getMacros): likewise
10133 (getTClassPreamble): likewise
10134 (getFloatDefinitions): new method
10136 * paragraph.C (writeFile): reindent
10139 * WorkArea.h: revert the xpos + etc changes.
10141 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10143 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10145 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10146 (pasteSelection): likewise
10147 * text2.C (CreateUndo): likewise
10149 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10151 * minibuffer.C (peek_event): temporarily reduce the functionality
10152 of the minibuffer (to allow args on lfuns)
10154 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10155 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10157 * buffer.C (readInset): add compability reading of old float
10158 lists, add reading of new style float list.
10159 (readInset): avoid reevaluation of inscmd.getCmdName()
10160 (getLists): reindent
10162 * MenuBackend.C (MenuItem): implement parsing of
10163 md_floatlistinsert and md_floatinsert.
10164 (expand::LastFiles): move initalizaton of iterators out of loop,
10165 avoid reevaluation.
10166 (expand::Documents): introduce typdedef vector<string> Strings,
10168 (expand::ExportFormats): introduce typedef vector<Format const *>
10169 Formats, and use it.
10170 (expand): implement FloatListInsert and FloatInsert.
10172 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10173 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10174 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10176 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10178 (Dispatch::LFUN_FLOAT_LIST): implement
10180 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10182 * LaTeX.C (run): Fix problem with --export code.
10184 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10186 * BufferView.[Ch] (workarea): removed.
10187 (getClipboard) new method; wrapper for workarea()->getClipboard()
10189 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10192 * WorkArea.h (width, height, xpos, ypos): These methods all
10193 returned the dimensions of the work_area sub-area of WorkArea,
10194 resulting in a position error if the WorkArea were resized. Now
10195 return the dimensions of the entire WorkArea.
10197 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10199 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10201 * LaTeX.C (deplog): correct the syntax of regex reg1
10203 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10205 * undo.C: remove !NEW_INSETS cruft
10207 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10209 * text2.C: remove !NEW_INSETS cruft
10211 * text.C: remove !NEW_INSETS cruft
10213 * tabular.C: remove !NEW_INSETS cruft
10215 * spellchecker.C: remove !NEW_INSETS cruft
10217 * lyxtext.h: remove !NEW_INSETS cruft
10219 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10221 * lyxfunc.C: remove !NEW_INSETS cruft
10223 * lyxfind.C: remove !NEW_INSETS cruft
10225 * lyx_cb.C: remove !NEW_INSETS cruft
10227 * figureForm.C: remove !NEW_INSETS cruft
10229 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10231 * buffer.[Ch]: remove !NEW_INSETS cruft
10233 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10235 * CutAndPaste.C: remove !NEW_INSETS cruft
10237 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10239 * BufferView2.C: remove !NEW_INSETS cruft
10241 * BufferView.h: remove !NEW_INSETS cruft
10243 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10245 * Lsstream.h: include LString.h before the sstream headers to
10246 fix problem with gcc 2.95.3 and lyxstring
10248 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10250 * lyx_main.C: add using directives when needed for C functions
10251 declared in std:: namespace.
10253 2001-04-27 Juergen Vigna <jug@sad.it>
10255 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10256 (SetHeightOfRow): comment out the update call should not be needed!
10258 2001-04-13 Juergen Vigna <jug@sad.it>
10260 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10261 (LyXTabular): tried to minimize operator= operations (and realized
10262 hopfully Lars wish).
10264 2001-04-27 Juergen Vigna <jug@sad.it>
10266 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10268 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10270 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10272 * buffer.C (readInset): hack to make listof algorithm work
10274 * BufferView_pimpl.C: hack to make listof algorithm work
10276 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10278 * LyXAction.C: removed all !NEW_INSETS cruft
10279 (init): moved lfun_item in method
10281 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10283 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10285 * BufferView2.C (theLockingInset): white space.
10287 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10289 * minibuffer.C: include <iostream>
10291 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10293 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10295 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10297 * text.[Ch] (TransposeChars): new method
10299 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10301 * call message directly through LyXView instead of through LyXFunc
10302 * BufferView2.C: adjust
10303 * BufferView_pimpl.C: adjust
10304 * FontLoader.C: adjust
10306 * bufferview_funcs.C: adjust
10307 * converter.C: adjust
10308 * figureForm.C: adjust
10309 * importer.C: adjust
10311 * lyx_gui_misc.C: adjust
10312 * lyxfunc.C: adjust
10315 + more files in subdirs
10317 * lyxparagraph.h (size): move up int file
10320 * adjust all uses of Assert to lyx::Assert.
10322 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10323 lyxfunctional in namespace lyx
10324 * layout.C (hasLayout): ditto
10327 (delete_layout): ditto
10328 (NumberOfClass): ditto
10329 * converter.C (GetFormat): ditto
10334 * bufferlist.C (getFileNames): ditto
10335 (emergencyWriteAll): ditto
10338 * MenuBackend.C (hasSubmenu): ditto
10341 * BufferView_pimpl.C (getInsetByCode): ditto
10343 2001-04-18 Juergen Vigna <jug@sad.it>
10345 * vspace.C (asLatexString): fixed the 100% problem.
10347 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10349 * lyxfunc.C (Dispatch):
10351 * minibuffer.h: add a few std:: qualifiers
10353 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10355 * minibuffer.[Ch]: reimplement so that commands is initiated and
10356 run from lyxfunc, simplified som handling, and made the completion
10357 and history code for complete. wip.
10359 * lyxfunc.C (processKeySym): call message
10360 (miniDispatch): new temporary method
10361 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10362 (LFUN_MESSAGE): implement
10363 (LFUN_MESSAGE_PUSH): implement
10364 (LFUN_MESSAGE_POP): implement
10365 (initMiniBuffer): the initial/defualt minibuffer message.
10367 * lyxfont.[Ch]: inline some more getters
10369 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10371 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10373 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10374 (AutoSave): use LFUN_MESSAGE
10375 (Reconfigure): ditto
10377 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10379 * figureForm.C: use LFUN_MESSAGE
10381 * converter.C (runLaTeX): use LFUN_MESSAGE
10383 * bufferview_funcs.C: use LFUN_MESSAGE
10385 (changeDepth): ditto
10387 * bufferparams.h: use boost::
10389 * bufferlist.h: inherit privately from noncopyable
10391 * bufferlist.C (loadLyXFile): remove some commented code.
10393 * buffer.C (runChktex): use LFUN_MESSAGE
10395 * ShareContainer.h: inherit privately from noncopyable
10397 * ParagraphParameters.[hC] (depth): inline it.
10399 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10401 (message): new method
10402 (messagePush): ditto
10403 (messagePop): ditto
10404 (show): init minibuffer
10405 (showState): direct call
10407 * LaTeX.[Ch]: inherit privately from noncopyable
10408 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10409 instead of WriteStatus.
10411 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10413 * BufferView_pimpl.C (buffer): don't init minibuffer
10414 (workAreaButtonPress): use LFUN_MESSAGE
10415 (workAreaButtonRelease): ditto
10416 (savePosition): ditto
10417 (restorePosition): ditto
10418 (MenuInsertLyXFile): ditto
10419 (workAreaExpose): don't init minibuffer
10420 (update): remove commented code, simplify
10422 * BufferView2.C (openStuff): use LFUN_MESSAGE
10423 (toggleFloat): ditto
10426 (copyEnvironment): ditto
10427 (pasteEnvironment): ditto
10432 (updateInset): remove some commented code
10434 * lastfiles.h: inherit privately from noncopyable
10437 * lyx_main.h: ditto
10439 * lyxlex_pimpl.h: ditto
10441 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10442 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10443 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10445 * LyXAction.h: inherit privately from noncopyable, add methods
10446 func_begin, func_end, returning iterators to the func map.
10448 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10449 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10450 (func_begin): new method
10451 (func_end): new method
10453 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10455 (copySelection): ditto
10456 (pasteSelection): ditto
10458 * BufferView.C: whitespace change
10459 * BufferView.h: inherit privately from noncopyable
10461 2001-04-16 Allan Rae <rae@lyx.org>
10463 * tabular-old.C (l_getline):
10464 * spellchecker.C (sc_check_word):
10465 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10466 an unrecognised preprocessor directive. So ensure they're wrapped.
10468 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10470 * src/exporter.C (Export): Give an error message when path to file
10473 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10475 * LaTeX.C (deplog): Always check that foundfile exists.
10477 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10480 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10482 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10484 * tabular.[Ch] (getLabelList): implement new method
10486 * minibuffer.h: comment ouf setTiimer
10488 * minibuffer.C (ExecutingCB): constify res
10489 (peek_event): constify s
10490 (Set): constify ntext
10491 (Init): constify nicename
10493 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10495 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10496 (savePosition): use two params to Minibuffer::Set
10497 (restorePosition): ditto
10499 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10501 * lyx_main.C: include language.h
10503 * Makefile.am (lyx_main.o): add language.h
10505 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10511 * CutAndPaste.C: include gettext.h
10513 * lyxfont.h: remove old hack with ON and OFF.
10516 * lyxfont.h: do not include language.h...
10521 * bufferview_funcs.C:
10527 * paragraph.C: ... but do it here instead
10529 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10531 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10533 * tabular.C: small reformat
10535 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10538 (BreakParagraph): ditto
10539 (SetOnlyLayout): ditto
10542 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10545 * lastfiles.C: removed most using decl, add std:: where needed
10547 * buffer.C: ws changes
10549 * MenuBackend.C (class compare_format): put into anon namespace
10550 (expand): constify label, names, action, action2
10553 * text.C (SingleWidth): constify font
10554 (IsBoundary): constify rtl2
10555 (GetVisibleRow): constify ww
10557 * LaTeX.C (deplog): constify logfile
10559 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10561 (workAreaExpose): constify widthChange, heightChange
10563 * lyxrow.C (par): moved
10566 * lyxrow.h: as inlines here
10568 * lyxfont.h (shape): moved from lyxfont.C
10569 (emph): moved from lyxfont.C
10571 * lyxfont.C (LyXFont): use initialization list for all
10573 (shape): move to lyxfont.h as inline
10574 (emph): move to lyxfont.h as inline
10577 2001-04-04 Juergen Vigna <jug@sad.it>
10579 * vspace.C: had to include stdio.h for use of sscanf
10581 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10584 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10585 independent of xforms.
10587 2001-04-02 Juergen Vigna <jug@sad.it>
10589 * spellchecker.C: fixed namespace placing!
10591 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10593 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10594 the LyXParagraph * is 0.
10596 2001-03-29 Juergen Vigna <jug@sad.it>
10598 * vspace.C: added support for %, c%, p%, l%.
10599 (stringFromUnit): added helper function.
10600 (asLatexString): changed to give right results for the %-values.
10602 * buffer.C: convert the widthp in a width%.
10604 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10606 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10609 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10610 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10612 * lyx_cb.[Ch]: see above.
10614 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10618 * lyx.[Ch]: replaced by figure_form.[Ch].
10622 * lyxfunc.C: changed headers associated with above changes.
10624 2001-03-27 Juergen Vigna <jug@sad.it>
10626 * BufferView_pimpl.C: set the temporary cursor right!
10628 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10630 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10632 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10634 * LString.h: removed "using std::getline"!
10636 * BufferView_pimpl.C (Dispatch): changes due to changes in
10637 InsetInclude::Params.
10639 * buffer.C (tag_name): removed redundant break statements as they were
10640 producing lots of warnings with my compiler.
10642 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10644 * LString.h: add "using std::getline" when using the real <string>.
10646 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10648 * buffer.C: removed bitset usage.
10649 PAR_TAG moved to an anonymous name space.
10650 (tag_name): new funtion, also in the anonymous namespace.
10651 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10652 (makeDocBookFile): clean code. Completed transition from string arrays
10654 (SimpleDocBookOnePar): code clean.
10656 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10658 * tabular.C: add some comments.
10660 2001-03-22 Juergen Vigna <jug@sad.it>
10662 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10663 compatibility read a bit and fixed bug with minipage in different
10666 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10668 * buffer.C (pop_tag): removed.
10669 (push_tag): removed.
10670 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10671 array replaced with vector. Added support for CDATA sections.
10672 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10674 (makeDocBookFile): XML conformant declaration of CDATA section,
10675 fixed bug related to <emphasis> in the first paragraph char.
10676 (sgmlOpenTag): exclude empty tags.
10677 (sgmlCloseTag): ditto.
10679 * buffer.h (pop_tag): removed.
10680 (push_tag): removed.
10682 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10684 * language.h (Languages): added size_type and size().
10686 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10688 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10689 response on compability reading of minipages. One probliem is that
10690 the old usage of minipages was «flertydig»
10692 * several files here and in subdirs: don't use static at file
10693 scope use anon namespaces instead.
10695 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10697 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10698 LaTeX output. This is necessary for Literate document
10701 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10703 * buffer.C: insert hfill when needed.
10705 * tabular.C (l_getline): use string::erase, small whitespace change.
10707 * BufferView_pimpl.C: try the anon namespace.
10708 * WorkArea.C: ditto
10710 2001-03-16 Juergen Vigna <jug@sad.it>
10712 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10713 otherwise it won't open options-dialogs.
10715 * buffer.C: honor pextraWidth(p) on converting minipages.
10717 * tabular.C (l_getline): changed the functions to strip trailing \r.
10719 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10721 * BufferView_pimpl.C:
10722 * minibuffer..C: added "using SigC::slot" declaration.
10724 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10726 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10732 * paragraph.C: ditto
10734 * lyxtext.h: NO_PEXTRA
10736 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10738 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10739 * ParameterStruct.h: ditto
10740 * ParagraphParameters.h: ditto
10741 * lyxparagraph.h: ditto
10743 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10745 * buffer.C: add compability for minipage alignment.
10746 (latexParagraphs): remove unwanted pextra check.
10748 * several files: remove CXX_WORKING_NAMESPACES
10750 * buffer.C (pop_tag): tie is in namespace boost
10752 * BufferView.h: noncopyable is in namespace boost
10754 * lyx_main.h: ditto
10757 * lastfiles.h: ditto
10758 * bufferlist.h: ditto
10759 * ShareContainer.h: ditto
10761 * LyXAction.h: ditto
10764 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10766 * Merging changes from BRANCH_MVC back into HEAD.
10768 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10770 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10772 * BufferView_pimpl.C: change from intl.C
10776 * Makefile.am: move combox.*
10782 * intl.C: remove dialog (covered by prefs)
10784 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10786 * lyxfunc.C (Dispatch): removed redundant break statement.
10788 2001-03-14 Juergen Vigna <jug@sad.it>
10790 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10792 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10794 * buffer.C: add hack to fix compability reading of minipages.
10796 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10798 * buffer.C (getLists): Cleanup.
10800 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10802 * lyxfont.C (update): don't honor toggleall on font size.
10804 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10808 * Makefile.am: moved to frontends/xforms/
10812 * BufferView_pimpl.C: changes for moved mathpanel
10814 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10816 * gettext.h: fix gettext_init() in --disable-nls
10818 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10820 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10822 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10825 * lyx.h: strip external form
10827 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10829 * BufferView_pimpl.C: add comment, destroySplash()
10831 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10833 * BufferView_pimpl.C:
10837 * lyxfunc.C: use re-worked insetinclude
10839 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10841 * buffer.C: add using std::stringstream.
10843 * lyx_cb.C: readd using std::ios.
10845 * buffer.C: add using std::map.
10847 * BufferView_pimpl.C: add using std::vector.
10849 * ShareContainer.h: add std:: to swap.
10851 * buffer.h: add some typedefs
10852 * buffer.C (getLists): use them
10853 (getLists): renamed from getTocList.
10854 add a counter for the different float types and use it in the
10856 (getLists): use the same counter for the NEW_INSETS and the "non"
10859 * lyx_cb.h: remove unused items, includes, using etc.
10861 * ShareContainer.h: remove some commented code, add more comments
10862 and "documentation".
10864 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10866 * buffer.C (getTocList): make the list also when NEW_INSETS is
10869 * buffer.h: remove TocType
10871 * buffer.C (getTocList): change to return a map<string,
10872 vector<TocItem> >, implement for dynamic number of list.
10874 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10875 * text2.C (PasteSelection): adjust
10876 * CutAndPaste.C (pasteSelection): adjust
10878 * FloatList.C (FloatList): update from the new_insets branch.
10879 * Floating.[Ch]: ditto
10880 * LaTeXFeatures.C: ditto
10882 * lyxlex_pimpl.C: ditto
10884 * paragraph.C (Last): remove when NEW_INSETS is defined.
10886 * other file: changes because of the above.
10888 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10890 * lyxparagraph.h: rename next to next_, previous to previous_,
10891 make them private for NEW_INSETS. Rename Next() to next(),
10892 Previous() to previous().
10894 * other files: changes because of the above.
10896 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10899 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10902 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10904 * main.C (main): pass lyx_localedir to gettext_init().
10906 * gettext.h: remove locale_init and gettext_init macros
10908 * gettext.C (locale_init): new function
10909 (gettext_init): new function
10911 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10914 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10916 * Moved credits to frontends:
10917 * credits.[Ch]: removed
10918 * credits_form.[Ch]: removed
10919 * lyx_gui_misc.C: remove credits stuff
10922 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10924 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10926 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10927 unneeded destructor.
10929 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10930 a standalone pointer again.
10932 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10934 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10940 * ToolbarDefaults.C:
10949 * BufferView_pimpl.C: use new file dialog in GUII
10952 * lyx_cb.C: remove LayoutsCB to Toolbar
10954 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10956 * ShareContainer.h (get): add std:: qualifier
10958 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10960 * ShareContainer.h: define a proper ShareContainer::value_type
10961 type (and use typename to please compaq cxx)
10963 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10965 * lyxparagraph.h: move serveral local vars to
10966 ParameterStruct/ParagraphParameters., use ShareContainer in
10967 FontTable., make vars in FontTable private and add getter and
10970 * paragraph.C: changes because of the above.
10972 * lyxfont.h: remove copy constructor and copy assignment. (the
10973 default ones is ok), move number inside FontBits. move inlines to
10976 * lyxfont.C: add number to initializaton of statics, move several
10977 inlines here. constify several local vars. some whitespace
10978 cleanup. Dont hide outerscope variables.
10980 * Spacing.h: add two new constructors to match the set methods.
10982 * ShareContainer.h: new file, will perhaps be moved to support
10984 * ParameterStruct.h: new file
10986 * ParagraphParameters.h: new file
10988 * ParagraphParameters.C: new file
10990 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10991 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10993 * BufferView_pimpl.C: ParagraphParameter changes.
10994 * buffer.C: Likewise.
10995 * bufferview_funcs.C: Likewise.
10996 * text.C: Likewise.
10997 * text2.C: Likewise.
10999 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11001 * lyxfind.C (LyXReplace): do not redefine default argument in
11003 (IsStringInText): ditto
11004 (SearchForward): ditto
11005 (SearchBackward): ditto
11007 2001-03-06 Juergen Vigna <jug@sad.it>
11009 * lyxfind.C (IsStringInText): put parentes around expressions.
11011 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11013 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11015 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11017 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11019 * stl_string_fwd.h: add comment
11021 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11024 * tabular.C: remove unused DocBook methods
11030 killed DO_USE_DEFAULT_LANGUAGE
11032 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11034 * lyx_gui.C: do not include language.h.
11036 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11037 arguments in function implementation.
11039 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11041 * BufferView_pimpl.C: add <ctime>
11043 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11045 * BufferView_pimpl.C: add using std::find_if
11047 2001-02-27 José Matos <jamatos@fep.up.pt>
11049 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11052 2001-02-11 José Matos <jamatos@fep.up.pt>
11054 * buffer.C (makeDocBookFile): command styles now have a parameter as
11055 "title" by default.
11057 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11059 * layout_forms.[Ch]: removed
11060 * lyx_cb.[Ch]: out character
11061 * lyx_gui.C: out character
11062 * lyx_gui_misc.C: out character
11063 * bufferview_funcs.C: : out character,
11064 added toggleall as parameter in ToggleAndShow
11066 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11068 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11070 * text2.C (SetCurrentFont): Disable number property at boundary.
11072 2001-02-26 Juergen Vigna <jug@sad.it>
11074 * lyxfunc.C (getStatus): added a string argument override function so
11075 that this is correctly called from LyXFunc::Dispatch if it contains a
11076 do_not_use_argument which is used!
11077 (Dispatch): added check for "custom" export and call appropriate func.
11079 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11081 * lyxrc.C: Add language_command_local, language_use_babel and
11082 language_global_options.
11084 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11086 * buffer.C (makeLaTeXFile): Use language_use_babel and
11087 language_global_options.
11089 2001-02-23 Juergen Vigna <jug@sad.it>
11091 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11092 which works with LyXText and putted it inside BufferView. Here now we
11093 only call for that part the BufferView::Dispatch() function.
11095 * BufferView.C (Dispatch): added.
11097 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11098 functions which needs to use a LyXText over from LyXFunc.
11099 (MenuInsertLyXFile): added
11100 (getInsetByCode): added
11101 (moveCursorUpdate): added
11102 (static TEXT): added
11104 2001-02-22 Juergen Vigna <jug@sad.it>
11106 * BufferView_pimpl.C (update): call a status update to see if LyXText
11109 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11111 * vc-backend.C (revert): implement for CVS
11112 (getLog): implement for CVS
11114 2001-02-20 Juergen Vigna <jug@sad.it>
11116 * text2.C (ClearSelection): added BufferView param for inset_owner call
11118 * lyxfunc.C (TEXT): added this function and use it instead of
11119 directly owner->view()-text of getLyXText().
11121 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11123 * src/layout_forms.C: out preamble
11124 * src/layout_forms.h: out preamble
11125 * src/lyx_cb.C: out preamble
11126 * src/lyx_cb.h: out preamble
11127 * src/lyx_gui.C: out preamble
11128 * src/lyx_gui_misc.C: out preamble
11129 * src/lyxfunc.C: connect with guii preamble
11131 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11133 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11135 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11137 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11138 whether to run bibtex.
11140 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11142 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11144 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11146 * Makefile.am (lyx_SOURCES): removed bibforms.h
11148 * vspace.h: doxygen
11150 * text.C (GetVisibleRow): make several local vars const
11152 * tabular.C: small cleanup.
11154 * lyxserver.C (callback): use compare instead of strncmp
11156 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11157 inlines to after class or to paragraph.C
11159 * lyxfont.h: remove friend operator!=
11161 * converter.h: move friend bool operator< to non friend and after
11164 * combox.h: small cleanup
11166 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11167 to inlines after class def.
11169 * buffer.C (pop_tag): use string operations instead of strcmp
11171 * bmtable.c: doxygen, small cleanup
11173 * LaTeX.h: remove friend operator==
11175 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11187 * BufferView_pimpl.C:
11188 * BufferView.[Ch]: remove cruft
11190 2001-02-14 Juergen Vigna <jug@sad.it>
11192 * lyxfunc.C: removed #if 0 unused code
11194 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11196 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11198 * text2.C (SetSelection): added a BufferView * parameter
11200 2001-02-13 Juergen Vigna <jug@sad.it>
11202 * lyxfunc.C (Dispatch): fixed protected blank problem.
11203 * BufferView2.C (protectedBlank): added LyxText * parameter.
11205 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11206 (AppendColumn): same as above for column_info.
11208 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11209 (moveCursorUpdate): use a LyXText param for support of InsetText.
11211 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11212 (tripleClick): ditto
11214 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11216 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11218 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11220 * text2.C (SetSelection): set correct update status if inset_owner
11221 (ToggleFree): ditto
11223 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11225 * tabular.C: remove some commented code.
11227 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11229 * BufferView_pimpl.C: call hideSplash()
11231 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11234 * bibforms.h: remove
11237 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11238 add LFUN_CHILD_CREATE
11240 * counters.h: fix tiny typo
11245 * lyx.C: move splash to frontends/xforms/
11247 * lyx_gui_misc.C: move Include and Bibform to frontends
11249 * lyxvc.h: clarify comment
11251 * vspace.C: tiny housekeeping
11253 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11255 * text.C (PrepareToPrint): RTL Fix.
11257 * paragraph.C (GetUChar): New method.
11258 (String): Use GetUChar.
11260 * buffer.C (asciiParagraph): Use GetUChar.
11262 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11264 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11266 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11269 * buffer.C: rename to getLogName(), handle
11270 build log / latex log nicely
11272 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11275 * MenuBackend.h: remove support for reference menuitem type.
11277 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11279 * BufferView_pimpl.C: housekeeping
11280 * BufferView_pimpl.h:
11285 * minibuffer.h: move Timeout GUI-I
11287 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11289 * lyxrc.C (read): Update converters data-structures.
11291 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11293 * LaTeX.h (operator!=): add operator != for Aux_Info
11295 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11297 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11299 * LaTeXLog.C: deleted, useful code moved to Buffer
11302 * buffer.C: new function getLatexLogName()
11308 * lyxfunc.C: use frontends for LaTeX and VC logs
11310 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11312 * LaTeX.h: yet another std:: that Allan forgot.
11314 * Variables.C (set): renamed from isset(), because this clashes
11315 with some HP-UX macros (grr).
11317 2001-02-06 Allan Rae <rae@lyx.org>
11319 * LaTeX.h: Another bug fix. Missing std:: this time.
11321 2001-02-04 Allan Rae <rae@lyx.org>
11323 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11324 floats problem. I've left it commented out because it's not quite
11325 correct. It should also test that the current object is a table or
11326 figure inset. But I haven't gotten around to figuring out how to do
11327 that. I *think* it'll be something like: "table" == inset.type()
11329 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11332 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11334 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11335 all the citation/databases/styles in the auxilary file.
11336 (run): Rerun latex if there was a babel language error.
11338 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11340 * text.C (Backspace): Preserve the font when changing newline char
11342 (BreakParagraph): If the cursor is before a space, delete the space.
11344 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11346 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11348 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11349 new argument (code).
11350 (ChangeCitationsIfUnique): New method.
11352 * paragraph.C (GetPositionOfInset): Handle bibkey.
11354 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11356 * BufferView_pimpl.h: change type of Position::par_pos to
11357 LyXParagraph::size_type.
11359 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11361 * BufferView_pimpl.C (savePosition, restorePosition): Write
11362 messages to minibuffer.
11364 2001-01-28 José Matos <jamatos@fep.up.pt>
11366 * buffer.C (makeDocBookFile): adds support for document language.
11367 A silly restriction on the name of LatexCommand types where removed.
11368 Added support for CDATA sections, allows to chars unescaped, used
11369 among others in code, to avoid escape < and >.
11371 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11373 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11374 saved positions instrad of a stack. Furthermore, a position is
11375 stored using paragraph id/paragraph position.
11377 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11378 Remove LFUN_REF_BACK.
11380 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11382 * converter.C (dvipdfm_options): New method.
11384 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11386 * vspace.C (isValidLength): Fix for empty input string.
11388 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11390 * LyXAction.C (init): change description of LFUN_FIGURE to
11393 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11395 * LaTeX.C: add using directive
11397 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11399 * MenuBackend.C (expand): Fix the sorting of the formats.
11401 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11403 * lyx_main.C: tiny error message fix
11405 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11407 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11408 calling fl_initialize(). This fixes the problem with ',' as
11409 decimal separator in text files.
11411 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11413 * trans.C (process): Fix the keymap bug.
11415 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11417 * LaTeX.C (scanAuxFiles): New method. Provides support for
11418 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11419 (scanLogFile) Scan for "run BibTeX" messages.
11421 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11422 OT1 font encoding. Also, load the aecompl package if the ae
11425 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11427 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11429 * texrow.C (increasePos): turn two error messages into debug
11432 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11434 * LaTeX.C (scanAux): Handle the \@input macro.
11435 (runBibTeX): Use scanAux().
11437 * language.C (latex_options_): New field.
11439 * LaTeXFeatures.C (getMacros): Add language macros.
11441 * buffer.C (makeLaTeXFile): Small fix.
11443 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11445 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11447 * text2.C: add a using directive.
11449 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11454 * lyxfunc.C: kill LyXBell.
11456 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11458 * text.C (IsBoundary): Remove the error message
11460 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11462 * lyxrc.C (setDefaults): Correct initialization value for
11465 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11467 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11470 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11471 and GotoNextNote().
11473 * src/LyXAction.C: Added reference-next.
11475 * text.C (InsertChar): Use contains instead of strchr.
11477 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11479 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11481 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11482 alignment commands (when needed).
11484 * text.C (InsertChar): Add ':' to number separator chars.