1 2003-06-19 Angus Leeming <leeming@lyx.org>
5 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6 with LFUN_DIALOG_SHOW <name> <data>.
8 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10 * CutAndPaste.C (availableSelections): small compilation fix for
11 ancient (gcc 2.9x) compilers
13 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
15 * text3.C (cursorNext): add tmp var
17 * text2.C (updateCounters): for function calling out of for clause
18 (replaceSelectionWithString): ditto
19 (insertStringAsParagraphs): ditto
20 (getColumnNearX): add tmp var
21 (setCursorFromCoordinates): add tmp var
22 (cursorDownParagraph): add tmp var
23 (deleteEmptyParagraphMechanism): add tmp var
25 * text.C (insertChar): add tmp var
27 * rowpainter.C (paintDepthBar): add tmp var
29 * CutAndPaste.C (availableSelections): potentially check all
30 paragraphs in a cut to fill the shown strings.
32 2003-06-18 André Pönitz <poenitz@gmx.net>
34 * kbmap.[Ch]: use vector<> instead of list<>
36 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
38 * text3.C (dispatch): handle arg to LFUN_PASTE, call
39 pasteSelection with index
41 * text2.C (pasteSelection): modify, call pasteSelection with index
43 * paragraph.C (asString): reimplement version with no interval to
44 call the one with interval.
46 * lyxtext.h: add index arg to pasteSelection
48 * MenuBackend.C (MenuItem): handle PasteRecent
49 (Menu::read::Menutags): add md_pasterecent
51 (expandPasteRecent): new function
54 * MenuBackend.h: add PasteRecent to MenuItem::Kind
56 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
58 (availableSelections): new function
60 2003-06-17 Angus Leeming <leeming@lyx.org>
62 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
64 2003-06-17 Angus Leeming <leeming@lyx.org>
67 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
69 * lyxfunc.C (dispatch): invoke it.
71 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
73 * iterators.C (operator++, ParPosition): reintroduce some
74 const_cast for the benefit of older compilers.
76 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
78 * text3.C (dispatch): do not modify clipboard when doing
79 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
80 LFUN_DELETE_SKIP on a selection selection
82 2003-06-16 André Pönitz <poenitz@gmx.net>
88 * tabular.[Ch]: IU of clone() and getLabelList();
90 2003-06-13 André Pönitz <poenitz@gmx.net>
92 * tabular.h: compactification
94 2003-06-12 André Pönitz <poenitz@gmx.net>
98 * tabular_funcs.h: some renaming plus whitespace
100 2003-06-12 André Pönitz <poenitz@gmx.net>
103 * BufferView_pimpl.C:
109 * toc.C: Return a Paragraph & for ParIterator::operator*()
111 2003-06-11 John Levon <levon@movementarian.org>
115 * ToolbarBackend.C: add "Toolbars" section and
118 2003-06-10 Angus Leeming <leeming@lyx.org>
121 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
123 * lyxfunc.C (dispatch): invoke it.
125 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
127 * main.C: protect <ios> with HAVE_IOS
128 (main): protect sync_with_stdio with HAVE_IOS
130 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
132 * text2.C (cutSelection): adjust
133 (pasteSelection): adjust
135 * messages.C: handle get of empty string
137 * main.C (main): use sync_with_stdio(false)
139 * lyxfunc.C (dispatch): adjust
141 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
142 (WriteAs): remove unneeded BufferView arg.
144 * bufferparams.h: use correct types on papersize, papersize2 and
147 * bufferparams.C (readToken): adjust for type
148 (writeLaTeX): add missing cases to switch.
150 * bufferlist.C (quitWriteBuffer): adjust
153 * buffer.C (asciiParagraph): remove some commented code.
155 * CutAndPaste.C: remove current_view extern variable.
156 (cutSelection): add BufferParams arg.
157 (eraseSelection): add BufferParams arg.
158 (pasteSelection): add Buffer const & arg
160 2003-06-07 John Levon <levon@movementarian.org>
168 * paragraph.C: allow InsetERT to freely space lines,
169 and some consolidation of code
171 2003-06-06 José Matos <jamatos@fep.up.pt>
173 * buffer.C (makeDocBookFile): fix bug #821
175 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
177 * BufferView_pimpl.C (dispatch): use Dialogs::visible
179 2003-06-04 Angus Leeming <leeming@lyx.org>
181 * buffer.C: bump format to 224.
183 2003-06-05 André Pönitz <poenitz@gmx.net>
185 * text2.C (redoParagraphs): remove two const_cast<>
187 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
189 * ParagraphList.h: remove last remnants of NO_STD_LIST
191 2003-06-03 Angus Leeming <leeming@lyx.org>
193 * factory.C (createInset): small change to the way InsetExternal's params
196 2003-06-04 André Pönitz <poenitz@gmx.net>
198 * buffer.h: use Undo directly instead of shared_ptr<Undo>
201 * paragraph.[Ch]: some Inset -> UpdatableInset changes
203 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
205 * undo_funcs.C: make some simple cases of undo work again
207 2003-06-03 John Levon <levon@movementarian.org>
209 * ispell.C: HPUX doesn't have sys/select.h
212 2003-06-03 John Levon <levon@movementarian.org>
214 * CutAndPaste.C: update tabular and include inset
219 * paragraph.C: remove owningBuffer(), don't pass Buffer
222 * factory.C: insetGraphicsParams changed
224 2003-06-02 John Levon <levon@movementarian.org>
230 * text3.C: remove insetparent
232 2003-06-02 John Levon <levon@movementarian.org>
235 * buffer.C: fix inset_iterator.end(), move out of line
238 2003-06-01 John Levon <levon@movementarian.org>
240 * text3.C: use a proper cut/paste when doing inset
241 insert (from Jürgen Spitzmüller)
243 2003-06-01 John Levon <levon@movementarian.org>
245 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
247 2003-05-30 André Pönitz <poenitz@gmx.net>
249 * rowpainter.C: unify second drawing phase
251 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
253 * trans_mgr.C: remove one case of current_view
255 * text2.C (cursorBottom): delete NO_STD_LIST stuff
257 * paragraph_funcs.h: remove paragraph.h include
259 * paragraph.h: delete NO_STD_LIST stuff
261 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
263 * buffer.h: remove paragraph.h include
265 * ParagraphList.C: delete file
267 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
269 * toc.C (getTocList): adjust
271 * paragraph_pimpl.C (validate): adjust
273 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
275 * paragraph.C (Paragraph): adjust
276 (getPositionOfInset): use const_iterator, adjust
277 (bibitem): use const_iterator, adjust
278 (setInsetOwner): adjust
280 * iterators.C (operator++): adjust
282 * InsetList.[Ch]: Replace selfmade iterator with standard
283 vector::iterator also introduce const_iterator. Remove getPos,
284 getInset and setInset from InsetTable. Adjust accordingly.
286 * BufferView.C (lockInset): adjust
287 (ChangeInsets): adjust
289 * tabular.[Ch]: delete commented same_id functions
291 2003-05-28 John Levon <levon@movementarian.org>
293 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
295 2003-05-28 André Pönitz <poenitz@gmx.net>
297 * metricsinfo.[Ch]: remove 'fullredraw' member
299 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
301 * lyxtextclass.C (operator): remove caching.
303 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
307 * text2.C (cursorBottom): adjust
308 (setCounter): use ParagraphList::find, adjust
310 * text.C (workWidth): use ParagraphList::find, adjust
312 * lyxcursor.C (LyXCursor): adjust
314 * buffer.C (inset_iterator): adjust
316 * ParagraphList.h: make iterator(value_type) private, make
317 ParagraphList a friend of iterator.
319 * ParagraphList.C (find): new function
321 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
323 2003-05-27 André Pönitz <poenitz@gmx.net>
325 * dimension.[Ch]: a -> asc, d -> des, w -> wid
327 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
329 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
331 2003-05-26 John Levon <levon@movementarian.org>
333 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
335 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
337 * remove same_id from function signatures, adjust.
339 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
341 * undo_funcs.C (createUndo): use the id functions directly, adjust.
343 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
345 * paragraph.C (Paragraph): get rid of same_ids parameter
347 * ParagraphList.C (insert): adjust
350 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
352 * paragraph_funcs.C (breakParagraph): adjust
353 (breakParagraphConservative): adjust
355 * buffer.C (readParagraph): adjust
357 * ParagraphList.C (insert): take a reference instead of a pointer
360 * paragraph.[Ch] (id): new function
362 * bufferlist.C (newFile): adjust
364 * ParagraphList.C (ParagraphList): adjust
366 (push_back): take a reference instead of a pointer.
368 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
370 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
373 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
374 set else use old code.
376 * ParagraphList.C: remove all NO_NEXT code and only compile this
377 code of NO_STD_LIST is set.
379 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
381 * BufferView_pimpl.C:
391 * graphics/GraphicsConverter.C:
392 * graphics/PreviewLoader.C: header adjustment
394 2003-05-23 Angus Leeming <leeming@lyx.org>
396 * LaTeXFeatures.[Ch] (useBabel): new method.
397 * bufferparams.C (writeLaTeX): use it.
399 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
401 * ParagraphList.h (set): remove unused function.
403 2003-05-23 André Pönitz <poenitz@gmx.net>
406 * BufferView_pimpl.C:
410 * undo_funcs.C: setUndo reworked
412 * iterators.[Ch]: add access to topmost ParagraphList
414 * lyxtext.[Ch] (workWidth): add a const
416 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
418 * texrow.[Ch] (increasePos): remove function
419 * exporter.C (export): removed unused var and outdated comment
421 2003-05-23 Angus Leeming <leeming@lyx.org>
423 * latexrunparams.h: rename fragile as moving_arg.
424 * paragraph.C (simpleTeXOnePar): ditto.
425 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
427 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
429 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
431 (textUndoOrRedo): comment out a currently unused var.
433 * paragraph.h (NO_NEXT): enable NO_NEXT
435 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
437 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
439 * exporter.C (Export): adjust for removeAutoInsets removal.
441 * buffer.C (runChktex): adjust for removeAutoInsets removal.
443 * LyXAction.C (init): remove LFUN_REMOVEERRORS
445 * BufferView.[Ch] (removeAutoInsets): delete function
447 2003-05-22 Angus Leeming <leeming@lyx.org>
449 * latexrunparams.h: add a free_spacing variable.
451 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
452 to pass moving_arg, as the data is stored in runparams.fragile.
454 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
455 to Inset::latexOptional or to simpleTeXOnePar.
457 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
458 free_spacing arg to Inset::latexOptional.
460 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
463 2003-05-22 Angus Leeming <leeming@lyx.org>
465 * latexrunparams.h: add fragile and use_babel variables.
467 * bufferparams.[Ch] (writeLaTeX): return use_babel.
468 * buffer.C (makeLaTeXFile): store this returned value in
469 runparams.use_babel, thus passing it to the inset::latex methods.
471 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
472 simpleTeXSpecialChars as it is now stored in runparams.fragile.
474 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
475 longer has a fragile arg, as it is stored in runparams.fragile.
477 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
478 moving_arg parameter as the data is stored in runparams.fragile.
480 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
481 a fragile parameter as the data is stored in runparams.fragile.
483 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
485 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
487 2003-05-22 Angus Leeming <leeming@lyx.org>
489 * latexrunparams.h: add a 'bool nice' which defaults to false.
491 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
492 now encapsulated within runparams.
494 * bufferlist.C (updateIncludedTeXfiles):
495 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
497 2003-05-22 Angus Leeming <leeming@lyx.org>
499 * latexrunparams.h: new file containing struct LatexRunParams.
500 * Makefile.am: add new file.
502 * LaTeX.[Ch] (c-tor, run):
503 * buffer.[Ch] (makeLaTeXFile):
504 * bufferlist.[Ch] (updateIncludedTeXfiles):
505 * converter.C (convert, scanLog):
506 * converter.[Ch] (runLaTeX):
507 * exporter.C (Export):
508 * paragraph.[Ch] (simpleTeXOnePar):
509 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
510 * paragraph_funcs.[Ch] (latexParagraphs):
511 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
512 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
513 pass around a LatexRunParams parameter.
515 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
517 * paragraph.[Ch]: remove unused constructor
519 * ParagraphList.C (erase): new function, taking two iterators
521 2003-05-22 André Pönitz <poenitz@gmx.net>
523 * undo_funcs.C: remove duplicated code
525 * iterator.[Ch]: operator=
527 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
529 * tabular.C (SetMultiColumn): ws changes
531 * rowpainter.C (paintFirst): get rid of a ->previous
533 * lyx_cb.C (getPossibleLabel): parlist simplification
535 * BufferView.C (ChangeInsets): simplify slightly.
537 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
539 * LyXAction.C: new lfun space-insert, kill protected-space-insert
540 * lfuns.h: new LFUN_SPACE
541 * lyxfunc.C: protected space has a new lfun
542 * paragraph_funcs.C: read new space insets
544 * factory.C: handle new space insets
546 2003-05-22 André Pönitz <poenitz@gmx.net>
549 * BufferView_pimpl.C:
552 * undo_funcs.C: return a ParIterator from getParFromID.
554 * iterators.[Ch]: add two const's
556 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
558 * toc.C (getTocList): adjust
560 * iterators.[Ch]: rework for parlist
562 * buffer.C (par_iterator_begin): adjust
563 (par_iterator_end): adjust
565 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
567 * BufferView.C (removeAutoInsets): adjust
568 (ChangeInsets): adjust
570 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
572 * text.C (top_y): fix bug 1110
574 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
576 * errorlist.[Ch]: added
579 * BufferView_pimpl.C:
580 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
583 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
585 * Makefile.am: ensure that lyx is relinked upon changes to the
586 various "convenience" libs.
588 2003-05-20 Angus Leeming <leeming@lyx.org>
590 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
591 files are compiled in alphabetical order again.
593 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
595 2003-05-19 Angus Leeming <leeming@lyx.org>
597 * gettext.[Ch]: remove "char const * _(char const *)".
599 2003-05-19 André Pönitz <poenitz@gmx.net>
601 * dimension.[Ch]: promote from mathed/dimension.[Ch]
610 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
612 2003-05-19 André Pönitz <poenitz@gmx.net>
618 * paragraph_funcs.[Ch]:
620 * text3.C: more insetenv work
622 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
624 * ParagraphParameters.C (params2string): small bug fixed
626 2003-05-16 André Pönitz <poenitz@gmx.net>
629 * bufferview_funcs.C: patch from Kornel Benko to prevent
630 crash when _(...) is called twice in a statement
632 2003-05-16 André Pönitz <poenitz@gmx.net>
639 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
641 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
643 * lyx_main.C (init): remove spurious static_cast
645 2003-05-14 André Pönitz <poenitz@gmx.net>
647 * BufferView.C: fix format string
649 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
651 * BufferView.[Ch] (insertErrors): removed
652 * BufferView.[Ch] (showErrorList): added
653 * buffer.C (runChkTeX):
654 * converter.C (scanLog): call showErrorList instead of inserterrors
656 2003-05-13 André Pönitz <poenitz@gmx.net>
658 * BufferView_pimpl.C:
667 * tabular_funcs.h: tostr() from its own header
669 * ParagraphParameters.C:
676 2003-05-12 André Pönitz <poenitz@gmx.net>
679 * BufferView_pimpl.C:
683 * ParagraphParameters.C:
687 * bufferview_funcs.C:
704 * text3.C: boost::format -> bformat all over the place
707 2003-05-09 André Pönitz <poenitz@gmx.net>
709 * LColor.[Ch]: Pimpl the #include <map> away
711 2003-05-09 John Levon <levon@movementarian.org>
713 * bufferlist.C: never remove emergency saves
715 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
717 * Makefile.am: better lib building
719 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
721 * texrow.[Ch]: remove dependency on Paragraph and just store a id
723 * paragraph_pimpl.C (simpleTeXBlanks): adjust
724 (simpleTeXSpecialChars): adjust
725 (simpleTeXSpecialChars): adjust
726 * paragraph.C (simpleTeXOnePar): adjust
727 * buffer.C (makeLaTeXFile): adjust
729 * Makefile.am (BOOST_LIBS): allow boost as system lib.
731 * text2.C (changeDepth): parlist cleanup
732 (getColumnNearX): ditto
734 * rowpainter.C (getLabelFont): parlist cleanup
736 * bufferlist.C (newFile): parlist cleanup
738 * CutAndPaste.C (eraseSelection): parlist cleanup
740 * BufferView_pimpl.C (trackChanges): parlist cleanup
743 * BufferView.C (lockInset): parlist cleanup.
744 (ChangeInsets): ditto
746 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
748 * CutAndPaste.h: Update file header.
750 * CutAndPaste.C: Update file header.
751 Store the parts cut out of the Document in a limited_stack.
752 (copySelection): adjust
753 (pasteSelection): new function, takes the index in the limited stack.
754 (nrOfParagraphs): adjust
755 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
756 simplify error inset insertion.
757 (checkPastePossible): adjust
759 2003-05-06 John Levon <levon@movementarian.org>
761 * text2.C: don't cast wrap inset to float
763 2003-05-05 André Pönitz <poenitz@gmx.net>
766 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
768 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
769 few naked Paragraph *.
771 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
773 * bufferparams.C: Output warning if a document with missing
774 TeX document class is loaded
775 * exporter.C: Disable TeX exports if the document class is missing
778 * lyxtextclasslist.C: Handle new textclass.lst format; new method
779 isTeXClassAvailable()
781 2003-05-03 John Levon <levon@movementarian.org>
784 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
785 explicit cursor show/hide
787 * BufferView_pimpl.h:
788 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
789 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
791 * lyxfunc.C: hide cursor before dispatching.
796 * text3.C: remove explicit cursor hides
798 2003-05-02 André Pönitz <poenitz@gmx.net>
800 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
803 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
806 * text2.C: tiny whitespace
808 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
810 * undo_funcs.C: almost only ws changes.
812 * ParagraphList.C (splice): just return if pl is empty.
814 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
816 * ParagraphList.C (splice): new function.
818 * CutAndPaste.C (pasteSelection): use it
820 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
822 * CutAndPaste.C (pasteSelection): remove the last next and
823 previous from this file.
825 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
827 * CutAndPaste.C (pasteSelection): more clean up, user proper
828 ParagraphList functions for pasteing.
830 * ParagraphList.C (insert): new function, three arg insert
832 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
834 * ParagraphList.C (insert): new function, three arg insert
836 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
839 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
841 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
843 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
845 * CutAndPaste.C (pasteSelection): remove some unneeded code.
847 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
849 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
850 (copySelection): clean up a bit.
851 (pasteSelection): use make_pair
853 * ParagraphList.C (ParagraphList): implement copy constructor
854 (operator=): implement, base on copy constructor.
857 * paragraph.C (erase): return a bool
859 * paragraph_pimpl.C (erasePos): remove function, move contents...
860 (erase): ... here. Return a bool.
861 (erase): call erase instead of erasePos.
863 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
865 * ParagraphList.h: define PitPosPair
866 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
867 ParagraphList, fix a bug on pasting multiple pars
868 * text2.C: change interface to C&P
870 2003-04-30 André Pönitz <poenitz@gmx.net>
872 * undo_func.C: revert part of yesterday's patch 2
874 2003-04-30 John Levon <levon@movementarian.org>
876 * LColor.C: s/tabular/table/
878 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
880 * text3.C (dispatch): do not convert iterator -> pointer
881 * undo_funcs.C (setCursorParUndo): ditto
882 * text_funcs.C (transposeChars): ditto
884 * text2.C (setLayout): ws changes only
886 * text.C (breakParagraph): do not convert iterator -> pointer
888 (acceptChange): ditto
889 (rejectChange): ditto
894 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
897 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
899 * text3.C (gotoInset): YABG (yet another bad getChar)
901 2003-04-29 André Pönitz <poenitz@gmx.net>
903 * paragraph.h: make operator= private unimplemented as long as
906 * ParagraphList.C: whitespace
909 * paragraph_pimpl.[Ch]:
912 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
915 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
917 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
919 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
920 * paragraph.[Ch] (erase):
921 * paragraph_pimpl.[Ch] (erase): change return type and value
922 * text2.C (cutSelection): some rework
924 2003-04-28 John Levon <levon@movementarian.org>
926 * bufferlist.C: changes for unsaved changes dialog
928 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
930 * bufferlist.C (newFile): set language (messages_) for new
933 * buffer.C (readFile): ws changes only.
935 2003-04-28 André Pönitz <poenitz@gmx.net>
940 * BufferView_pimpl.C:
941 * BufferView.C: getParFromID related ParagraphList::iterator changes
943 2003-04-28 André Pönitz <poenitz@gmx.net>
945 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
948 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
950 * messages.C: remove one more localedir class variable.
952 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
954 * messages.C (getLocaleDir): singleton generation function
956 (Messages): add a default constructor.
958 * main.C (main): do not setup localedir here, do not call
961 * gettext.C (_): use it.
962 (gettext_init): delete funciton
964 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
966 * gettext.C (getLyXMessages): new singleton generating function.
968 * buffer.C (updateDocLang): adjust
970 * Makefile.am (messages.o): add target
971 (main.o): remove target
973 2003-04-27 John Levon <levon@movementarian.org>
978 * lyxvc.C: specify cancel button in Alert::prompt
980 2003-04-26 John Levon <levon@movementarian.org>
985 * LyXAction.C: add LFUN_INSET_SETTINGS
987 * lyxfunc.C: don't enable tabular-feature when there's
988 just any locking inset
990 2003-04-26 John Levon <levon@movementarian.org>
992 * bufferlist.C: re-add Cancel to buffer close question
994 * lyxfunc.C: fix import UI a bit
996 2003-04-25 John Levon <levon@movementarian.org>
998 * gettext.C: remove the broken asserts for now
1000 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1002 * messages.C: make case where setlocale cannot comply work better.
1004 * buffer.C (updateDocLang): new function
1005 (changeLanguage): use it
1008 * text2.C (setCounter): use B_ a bit.
1010 * lyxlayout.C (Read): be sure to trim the label strings.
1012 * messages.C (Messages): fix typo in comment
1014 * buffer.C (readFile): set message_ after file is loaded.
1015 (makeDocBookFile): remove double return
1016 (changeLanguage): reset message_ upon language change.
1017 (B_): new func, use this to get translated buffer strings.
1019 * main.C: add myself and Jean Marc as authors.
1021 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1023 * messages.[hC]: pimplify Messages, and three different pimpls to be
1024 used in different circumstances.
1026 * gettext.[Ch]: change for use with new message code.
1028 2003-04-24 André Pönitz <poenitz@gmx.net>
1030 * factory.C: support for eqref
1032 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1034 * messages.[Ch]: add missing char
1036 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1038 * messages.[Ch]: New files
1040 2003-04-18 John Levon <levon@movementarian.org>
1044 * BufferView_pimpl.C:
1048 * text2.C: remove layout-copy/paste (bug 778)
1050 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1052 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1054 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1056 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1057 if they succeed. Act accordingly.
1059 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1061 * text2.C (setCharFont): adjust
1062 (setCounter): adjust
1063 (insertStringAsLines): adjust
1065 * text.C (leftMargin): adjust
1066 (setHeightOfRow): adjust
1068 * rowpainter.C (paintFirst): adjust
1071 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1073 (isFirstInSequence): ditto
1074 (getEndLabel): ditto
1077 * paragraph.C (getParLanguage): comment out some hard stuff.
1079 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1081 (simpleDocBookOnePar): ditto
1082 (makeDocBookFile): use ParagraphList::iterator
1084 * CutAndPaste.C (pasteSelection): adjust
1086 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1088 * text2.C (getFont): adjust
1089 (getLayoutFont): adjust
1090 (getLabelFont): adjust
1092 * paragraph_funcs.C (TeXOnePar): adjust
1094 * buffer.C (simpleLinuxDocOnePar): adjust
1095 (simpleDocBookOnePar): adjust
1097 * CutAndPaste.C (pasteSelection): adjust
1099 * BufferView.C (getEncoding): adjust
1101 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1103 2003-04-16 John Levon <levon@movementarian.org>
1105 * lyxfind.C: use parlist stuff for search/changes
1107 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1109 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1111 * text2.C (deleteEmptyParagraphMechanism): adjust
1113 * text2.[Ch] (ownerParagraph): delete func (both of them
1115 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1117 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1119 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1121 * ParagraphList.C: prepare for NO_NEXT
1123 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1125 * text2.C (getFont): adjust
1126 (getLayoutFont): adjust
1127 (getLabelFont): adjust
1129 * paragraph.C (getFont): adjust
1130 (getLabelFont): adjust
1131 (getLayoutFont): adjust
1133 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1135 2003-04-15 John Levon <levon@movementarian.org>
1139 * lyx_main.C: handle Include in .ui files
1141 2003-04-15 John Levon <levon@movementarian.org>
1143 * MenuBackend.C: make the doc files length shorter
1146 * ToolbarBackend.C: handle toolbar placement flags,
1149 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1151 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1154 * paragraph_funcs.C (TeXOnePar): adjust
1156 * paragraph.C (getLabelFont): add outerfont arg, adjust
1157 (getLayoutFont): ditto
1158 (simpleTeXOnePar): adjust
1160 * paragraph_pimpl.C (realizeFont): delete func
1162 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1164 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1165 row argument, constify cur argument.
1167 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1169 * text2.C (getFont): adjust
1170 (getLayoutFont): adjust
1171 (getLabelFont): adjust
1173 * paragraph_funcs.C (TeXOnePar): adjust
1174 (outerFont): new func...
1175 (realizeFont): ...moved out from here, changed this to facilitate
1178 * paragraph.C (getFont): take outerfont as arg, adjust
1179 (simpleTeXOnePar): add outerfont arg, adjust
1181 * buffer.C (simpleLinuxDocOnePar): adjust
1182 (simpleDocBookOnePar): adjust
1184 * CutAndPaste.C (pasteSelection): adjust
1186 * BufferView.C (getEncoding): adjust
1188 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1190 * text2.C (setCharFont): adjust
1191 (setCounter): adjust
1193 * text.C (leftMargin): adjust
1194 (setHeightOfRow): adjust
1196 * rowpainter.C (paintFirst): adjust
1199 * paragraph_pimpl.C (realizeFont): adjust
1201 * paragraph.C (isFirstInSequence): move from here...
1202 * paragraph_funcs.C (isFirstInSequence): ...to here
1204 * paragraph.C (outerHook): move from here...
1205 * paragraph_funcs.C (outerHook): ...to here
1207 * paragraph.C (depthHook): move from here...
1208 * paragraph_funcs.C (depthHook): ...to here
1210 * paragraph.C (getEndLabel): move from here...
1211 * paragraph_funcs.C (getEndLabel): ...to here
1213 * text2.C (realizeFont): move from here...
1214 * paragraph_funcs.C (realizeFont): ...to here
1216 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1218 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1220 2003-04-14 Angus Leeming <leeming@lyx.org>
1222 * LColor.[Ch]: scrap LColor mathcursor.
1224 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1226 * lyxlex.[Ch] (text): delete function
1227 * trans.C (Load): adjust
1228 * paragraph_funcs.C (readParToken): adjust
1230 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1232 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1233 vector<char> instead of a char[].
1235 * lyxlex_pimpl.C (getString): adjust
1237 (lex): use getString
1241 * lyxlex.C (text): use pimpl_->getString()
1245 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1247 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1248 (makeFontEntriesLayoutSpecific): temp var for par.size()
1249 (setLayout): temp var for ownerParagraphs().end()
1250 (fullRebreak): temp var for rows().end()
1251 (selectionAsString): temp var for boost::next(startpit), realize
1252 that the while really is a regular for loop.
1253 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1254 setCursor in one place.
1255 (setParagraph): temp vr for ownerParagraphs().end()
1256 (updateCounters): make the while loop a for loop
1257 (cutSelection): temp var for ownerParagraphs().end()
1258 (updateInset): make the do {} while() a regular for loop
1259 (getCursorX): use temp vars
1260 (setCurrentFont): use temp vars
1261 (getColumnNearX): use temp vars
1263 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1265 * text.C (transformChar): use temp var for getChar
1266 (computeBidiTables): use temp var for row->par()
1267 (fill): move temp vars for row->par() and pit->layout() earlier in
1269 (labelFill): use temp var for row->par()
1270 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1271 asc and desc, realize that pit never changes and that firstpit is
1272 just a duplicate and not needed. Exchange rit->par() with pit in a
1274 (breakAgain): use a temp var for boost::next(rit)
1275 (breakAgainOneRow): ditto
1276 (breakParagraph): use a temp var for rows().begin()
1277 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1278 (cursorRightOneWord): use temp var for cursor.par() and
1279 cursor.pos(), remove usage of tmpcursor.
1280 (cursorLeftOneWord): use temp var for cursor.par() and
1281 cursor.pos() only set cur at end of function.
1283 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1285 * text.C, text2.C: exchange all usage of Paragraph::next with
1286 boost::next(ParagraphList::iterator)
1288 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1290 * text2.C (cursorTop): simplify implementation
1291 (cursorBottom): ditto
1292 (setParagraph): use ParagraphList::iterator
1293 (setCurrentFont): adjust
1294 (getColumnNearX): adjust
1295 (cursorRight): adjust
1296 (cursorLeft): remove usage of Paragraph::previous
1297 (cursorUpParagraph): ditto
1298 (deleteEmptyParagraphMechanism): slight cleanup
1300 * text.C (isBoundary): take a Paragraph const & instead of a
1302 (addressBreakPoint): ditto
1303 (leftMargin): remove usage of Paragraph::previous.
1304 (setHeightOfRow): ditto
1305 (cursorLeftOneWord): ditto
1306 (selectNextWordToSpellcheck): ditto
1309 (breakParagraph): remove one usage of Paragraph::next
1310 (redoParagraph): ditto
1311 (acceptChange): ditto
1312 (insertChar): adjust
1313 (rowBreakPoint): adjust
1315 * bufferview_funcs.C (toggleAndShow): adjust
1317 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1319 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1320 methods to access it.
1322 * text.C: Added updateRowPositions to compute all row positions.
1323 Make top_y and getRowNearY() to use the cached y position
1325 2003-04-11 John Levon <levon@movementarian.org>
1327 * text.C (rowBreakPoint): reintroduce the labelEnd
1328 checks, code copied from the row fill stuff. Deep voodoo.
1330 * text.C (fill): add a comment and debugging for the
1333 2003-04-11 John Levon <levon@movementarian.org>
1335 * text.C: make sure fullrow insets get wrapped to the next line,
1336 even when they're in a manual label
1338 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1340 * text2.C (insertParagraph): make it take ParagraphList::iterator
1342 (setLayout): make it return ParagraphList::iterator
1343 (redoParagraphs): ditto
1345 (checkParagraph): ditto
1347 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1349 * text2.C: adjust several funcs.
1350 (realizeFont): take a ParagraphList::iterator as arg.
1351 (getLayoutFont): ditto
1352 (getLabelFont): ditto
1353 (setCharFont): ditto
1355 * text.C: adjust several funcs.
1357 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1359 * text.C (selectNextWordToSpellcheck): don't accidentally
1362 2003-04-10 John Levon <levon@movementarian.org>
1364 * ToolbarBackend.C (getIcon): special handling for
1367 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1369 * text2.C (cursorRight): a getChar assert fixed
1371 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1373 * text2.C (getFont): change to take a ParagraphList::iterator
1374 instead of Paragraph*
1375 Adjust several functions.
1377 * text.C (transformChar): change to take a ParagraphList::iterator
1378 instead of Paragraph*
1379 (singleWidth): ditto
1380 Adjust several functions.
1382 * rowpainter.C: adjust several functions
1383 * rowpainter.h:store a ParagraphList::iterator and not a
1387 2003-04-09 John Levon <levon@movementarian.org>
1392 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1393 and the "help" bits as well
1395 2003-04-09 John Levon <levon@movementarian.org>
1398 * ToolbarBackend.C: allow multiple toolbars
1400 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1402 * undo_funcs.C (setCursorParUndo): adjust
1404 * text_funcs.C (transposeChars): adjust
1406 * text3.C (gotoNextInset): adjust
1409 * text2.C (setLayout): adjust
1410 (changeDepth): adjust
1412 (redoParagraphs): adjust
1413 (selectionAsString): adjust
1414 (setParagraph): adjust
1415 (insertInset): adjust
1416 (cutSelection): adjust
1417 (copySelection): adjust
1418 (pasteSelection): adjust
1419 (insertStringAsLines): adjust
1420 (updateInset): adjust
1421 (setCursor): change to take a ParagraphList::iterator parameter
1422 (setCursorIntern): change to take a ParagraphList::iterator parameter
1423 (setCurrentFont): adjust
1424 (cursorLeft): adjust
1425 (cursorRight): adjust
1426 (deleteEmptyParagraphMechanism): adjust
1428 * text.C (breakParagraph): adjust
1429 (insertChar): adjust
1430 (acceptChange): adjust
1431 (rejectChange): adjust
1432 (selectNextWordToSpellcheck): adjust
1433 (changeCase): adjust
1437 * lyxfind.C (SearchForward): adjust
1438 (SearchBackward): adjust
1439 (nextChange): adjust
1441 * lyxcursor.C (par): adjust
1443 * lyxcursor.h: store a ParagraphList::iterator instead of a
1446 * lyx_cb.C (getPossibleLabel): adjust
1448 * bufferview_funcs.C (toggleAndShow): adjust
1450 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1453 * BufferView.C (removeAutoInsets): adjust
1454 (lockedInsetStoreUndo): adjust
1456 2003-04-09 John Levon <levon@movementarian.org>
1458 * ToolbarBackend.C: try icon without argument
1459 if with argument fails
1461 2003-04-08 John Levon <levon@movementarian.org>
1464 * ToolbarBackend.C: add getIcon(), handle tooltip,
1465 and change from "Icon" to "Item".
1467 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1469 * BufferView.C (lockInset): another bad getchar crunched
1471 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1473 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1476 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1478 * lyxfind.C (searchForward, searchBackwards): bug 782
1480 2003-04-07 John Levon <levon@movementarian.org>
1482 * paragraph.C: remove dead comment
1484 * text.C: remove troublesome depth-fiddling code
1485 in leftMargin() and rightMargin() (bug 1017)
1487 * text.C: fix breaking of rows in nested lists
1490 * text2.C (updateCounters): fix up depth values
1493 2003-04-07 John Levon <levon@movementarian.org>
1495 * BufferView_pimpl.C: clear message when doc finishes resizing,
1496 and after a mouse event
1498 * lyxfunc.C: clear message after exiting inset
1500 2003-04-07 John Levon <levon@movementarian.org>
1502 * bufferview_funcs.C: show math status not outside
1503 status in the statusbar
1505 2003-04-07 John Levon <levon@movementarian.org>
1507 * lyxfunc.C: note status changed after a depth change
1509 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1511 * LaTeX.h: move AuxInfo operator==, != out of line.
1512 Remove LaTeX virtual destructor; nothing derives from it.
1513 Move operator()() out of public area and rename it startscript().
1514 Change protected for private.
1516 2003-04-04 Angus Leeming <leeming@lyx.org>
1519 * text2.C: remove unneeded #includes.
1521 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1523 * text2.C (dEPM): fix the heigth of the next row
1525 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1527 * text.C: squashed an invalid getChar requester + some ws changes
1529 2003-04-03 John Levon <levon@movementarian.org>
1531 * bufferview_funcs.h:
1532 * bufferview_funcs.C:
1535 * text2.C: make getStatus work for the env depth lfuns
1537 2003-04-03 John Levon <levon@movementarian.org>
1539 * bufferview_funcs.h:
1540 * bufferview_funcs.C:
1543 * text2.C: parlistize decDepth(), by merging it with incDepth()
1545 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1547 * lyxrow.h: store a ParagraphList::iterator instead of a
1548 Paragraph* and adjust other class functions to suit.
1550 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1553 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1555 * text2.C (setCursor): do not anchor to cursor row for the time being
1557 2003-04-02 John Levon <levon@movementarian.org>
1564 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1566 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1568 * paragraph.h: make ParagraphList and ParagraphList::iterator
1569 friends of Paragraph.
1571 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1573 * ParagraphList.C: Use the private next_ and previous_ from
1576 2003-04-01 John Levon <levon@movementarian.org>
1580 * Makefile.am: rename, remove defaults gunk
1583 * MenuBackend.C: remove defaults gunk
1586 * Languages.C: remove defaults gunk
1589 * lyx_main.C: error out if files couldn't be found.
1591 2003-04-02 John Levon <levon@movementarian.org>
1593 * text2.C: make incDepth() use parlist
1595 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1597 * undo_funcs.C (firstUndoParagraph): adjust
1599 * text3.C (gotoInset): adjust
1600 (dispatch): adjust, and rewrite loop.
1602 * text2.C (init): adjust, and rewrite loop.
1603 (redoParagraphs): adjust
1604 (updateInset): adjust, and rewrite loop.
1605 (deleteEmptyParagraphMechanism): adjust
1607 * tabular.C (LyXTabular): adjust
1608 (SetMultiColumn): adjust
1611 * lyxtext.[Ch] (ownerParagraph): delete function
1612 (ownerParagraphs): new function returns a ParagraphList.
1614 * BufferView.C (removeAutoInsets): adjust
1615 (insertErrors): adjust
1616 (setCursorFromRow): adjust
1618 2003-04-01 Angus Leeming <leeming@lyx.org>
1620 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1623 2003-04-02 John Levon <levon@movementarian.org>
1629 * text_funcs.C: make transposeChars a free function
1631 * lyxrow_funcs.C: remove wrong comment
1633 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1636 * rowpainter.C: adjust
1641 * lyxrow_funcs. [Ch]: new files
1643 * lyxrow.[Ch]: remove next and previous pointers
1644 (next,previous): remove accessor functions
1645 (isParEnd): move to lyxrow_funcs
1646 (lastPos): move to lyxrow_funcs
1647 (nextRowIsAllInset): move to lyxrow_funcs
1648 (lastPrintablePos): move to lyxrow_funcs
1649 (numberOfSeparators): move to lyxrow_funcs
1650 (numberOfHfills): move to lyxrow_funcs
1651 (numberOfLabelHfills): move to lyxrow_funcs
1652 (hfillExpansion): move to lyxrow_funcs
1656 * bufferview_funcs.C (toggleAndShow): adjust
1658 * RowList.h: Remove class RowList from file leave just a
1661 * RowList.C: delete file
1663 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1666 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1668 * text3.C (cursorPrevious): adjust
1669 (cursorNext): adjust
1672 * text2.C (redoHeightOfParagraph): adjust
1673 (redoDrawingOfParagraph): adjust
1676 * text.C (breakParagraph): adjust
1677 (insertChar): adjust
1680 * rowpainter.C (RowPainter): adjust
1681 (leftMargin): simplify and adjust
1682 (most rowpainter functions): adjust.
1684 * rowpainter.h: store the row as RowList::iterator not as Row*
1686 * lyxcursor.C (row): taka RowList::iterator as arg
1689 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1692 2003-04-01 Angus Leeming <leeming@lyx.org>
1694 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1695 stuff like bool Bool.
1697 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1699 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1702 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1704 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1707 * lyxtext.h (rows): drop one version and leve a const variant that
1708 returns a RowList::iterator.
1710 2003-03-31 Angus Leeming <leeming@lyx.org>
1712 * text.C (fill): ensure that the signature is the same as that in the
1715 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1717 * text2.C (redoParagraphs): adjust
1718 (updateCounters): adjust
1719 (checkParagraph): adjust
1720 (getColumnNearX): adjust and reformat a bit.
1722 * text.C (top_y): adjust
1724 (leftMargin): adjust
1725 (prepareToPrint): adjust
1727 (getRowNearY): adjust
1729 * lyxtext.h: make rowlist_ mutable.
1731 * RowList.h: add const_iterator
1732 * RowList.C: adjust for RowList::const_iterator.
1734 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1737 2003-03-31 John Levon <levon@movementarian.org>
1740 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1742 * lyx_main.C: set default fonts from using lyx_gui funcs
1744 * exporter.C: pdf_mode moved from lyxrc
1747 * lyxfunc.C: changes from above
1749 2003-03-31 John Levon <levon@movementarian.org>
1751 * lyx_main.C: fix to the last fix
1753 2003-03-31 John Levon <levon@movementarian.org>
1755 * bufferlist.C: "Load original" -> "Load Original"
1761 * format.C: more Alert cleanups
1763 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1765 * text2.C (removeParagraph): make it take a RowList::iterator as
1767 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1768 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1770 * text.C (anchor_row): make it take a RowList::iterator as arg,
1772 (computeBidiTables): make it take a const reference to Row instead
1773 of Row pointer, adjust.
1774 (leftMargin): make it take a RowList::iterator as arg, adjust.
1775 (rowBreakPoint): adjust
1776 (breakAgainOneRow): make it take a RowList::iterator as arg,
1778 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1780 * bufferview_funcs.C (toggleAndShow): adjust
1782 2003-03-30 John Levon <levon@movementarian.org>
1786 * boost-inst.C: moved to support
1788 * several files: changes as a result
1790 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1792 * text2.C (LyXText): adjust.
1794 (removeRow): make it take a RowList::iterator as arg, adjust.
1795 (fullRebreak): adjust
1796 (deleteEmptyParagraphMechanism): adjust
1797 (clearPaint): adjust
1800 * text.C (top_y): adjust
1801 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1802 (breakAgain): make it take a RowList::iterator as arg, adjust.
1803 (breakParagraph): adjust
1804 (insertChar): adjust
1807 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1808 need_break_row, and refresh_row.
1810 * text3.C (dispatch): adjust
1812 * text2.C (checkParagraph): adjust
1814 (setCursorFromCoordinates): adjust
1816 * text.C (top_y): adjust
1818 (getRow): make it return a RowList::iterator, adjust
1819 (getRowNearY): make it return a RowList::iterator, adjust
1821 * text2.C (init): adjust
1822 (insertRow): remove function
1823 (insertParagraph): adjust
1824 (redoParagraphs): adjust
1825 (fullRebreak): adjust
1826 (updateCounters): adjust
1828 * text.C (top_y): rewrite to use RowList iterators.
1830 (setHeightOfRow): rewrite to sue RowList iterators.
1831 (appendParagraph): adjust
1832 (breakAgain): adjust
1833 (breakAgainOneRow): adjust
1834 (breakParagraph): adjust
1836 (getRowNearY): adjust, and remove commented code.
1838 * lyxtext.h (firstRow): delete function
1839 (lastRow): delete function
1840 (rows): new function (const and non-const versions.)
1841 (insertRow): delete function
1843 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1845 2003-03-29 John Levon <levon@movementarian.org>
1847 * BufferView_pimpl.C: always update scrollbar top
1848 because pasting text when we're anchored could mean we
1849 miss an update altogether
1851 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1853 * text2.C (init): use rowlist_.end() and not 0.
1854 (insertRow): change to take a RowList::iterator as arg, adjust
1856 (insertParagraph): change to take a RowList::iterator as arg,
1858 (redoParagraphs): remove some debug msgs.
1860 * text.C (appendParagraph): change to take a RowList::iterator
1861 arg, adjust for this.
1862 (breakAgain): add an assert
1863 (breakAgainOneRow): ditto
1865 2003-03-29 John Levon <levon@movementarian.org>
1867 * text2.C: do not clear selection after inc/decDepth
1870 2003-03-29 John Levon <levon@movementarian.org>
1873 * buffer.C: fix broken strerrors according to Lars
1875 2003-03-29 John Levon <levon@movementarian.org>
1877 * converters.C: more Alert cleanups
1879 2003-03-29 John Levon <levon@movementarian.org>
1881 * bufferview_funcs.C: remove pointless Alert
1883 * buffer.C: fix confusing error message when
1884 a template is chmoded 000
1886 2003-03-29 John Levon <levon@movementarian.org>
1890 * BufferView_pimpl.C: Alert fixes
1894 * tabular-old.C: remove unused table compat reading
1896 2003-03-29 John Levon <levon@movementarian.org>
1901 * lyx_cb.C: more Alert cleanups
1903 * lyxfunc.C: don't allow chktex if not latex document
1905 2003-03-29 John Levon <levon@movementarian.org>
1909 * buffer.C: warnings pushed down from support/,
1912 2003-03-29 John Levon <levon@movementarian.org>
1914 * lyxfunc.C: safety check for C-r (revert)
1916 2003-03-29 John Levon <levon@movementarian.org>
1919 * bufferlist.C: several UI fixes using Alert::prompt.
1920 Fix the pointless looping quit code. Fix stupid revert
1925 * lyx_cb.C: use Alert::prompt
1927 * lyx_main.C: remove a silly question
1929 * lyxfunc.C: remove a couple of silly questions,
1932 2003-03-28 John Levon <levon@movementarian.org>
1934 * text2.C: fix bug 974 (End on empty par)
1936 2003-03-28 John Levon <levon@movementarian.org>
1938 * BufferView_pimpl.C:
1940 * lfuns.h: remove do-nothing math greek lfuns
1942 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1944 * lyxgluelength.h (isValidGlueLength): add default arg on
1945 parameter 2. Remove default arg from friend in class.
1947 * lyxlength.h (isValidLength): add default arg on parameter 2.
1948 Remove default arg from friend in class.
1950 * text2.C (LyXText): adjust, initialize refresh_row.
1954 (insertParagraph): adjst
1955 (redoParagraphs): adjust
1956 (fullRebreak): adjust
1957 (updateCounters): adjust
1958 (deleteEmptyParagraphMechanism): first attempt at fixing a
1961 * text.C (top_y): adjust
1962 (setHeightOfRow): adjust
1964 (getRowNearY): adjust
1966 * lyxtext.h: include RowList.h
1967 (~LyXText): not needed anymore, deleted.
1968 (firstRow): modify for RowList
1969 (lastRow): new function
1970 Delete firstrow and lastrow class variables, add a Rowlist
1971 rowlist_ class variable.
1973 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1976 * RowList.C (insert): fix case where it == begin().
1978 2003-03-26 Angus Leeming <leeming@lyx.org>
1980 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1981 the thesaurus dialog.
1983 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1985 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1987 * RowList.[Ch]: new files
1989 * ParagraphList.C (erase): handle the case where it == begin
1992 2003-03-25 John Levon <levon@movementarian.org>
1996 * aspell.C: add new aspell support
1999 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2002 2003-03-25 Angus Leeming <leeming@lyx.org>
2005 * LyXAction.C (init): new LFUN_INSET_INSERT.
2007 * BufferView_pimpl.C (dispatch): split out part of the
2008 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2010 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2013 2003-03-25 Angus Leeming <leeming@lyx.org>
2015 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2017 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2020 * text3.C: remove useless row->height(0)
2022 2003-03-25 John Levon <levon@movementarian.org>
2026 * text3.C: rename the refreshing stuff to better names
2028 2003-03-24 John Levon <levon@movementarian.org>
2030 * BufferView_pimpl.h:
2031 * BufferView_pimpl.C: update layout choice on a mouse
2034 2003-03-23 John Levon <levon@movementarian.org>
2036 * Makefile.am: fix commandtags.h reference
2038 2003-03-22 John Levon <levon@movementarian.org>
2040 * BufferView_pimpl.C:
2045 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2047 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2050 * text.C: take the rtl methods out of line
2052 2003-03-21 André Pönitz <poenitz@gmx.net>
2054 * metricsinfo.[Ch]: new files containing structures to be passed around
2055 during the two-phase-drawing...
2057 2003-03-21 André Pönitz <poenitz@gmx.net>
2059 * lyxtextclass.C: read 'environment' tag.
2061 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2063 * text2.C (removeRow): fix bug 964
2065 2003-03-20 John Levon <levon@movementarian.org>
2069 * text2.C: paint cleanups. Inset::update() dropped font
2072 2003-03-19 John Levon <levon@movementarian.org>
2074 * lyxfunc.C: only fitcursor/markDirty if available()
2076 2003-03-19 John Levon <levon@movementarian.org>
2078 * commandtags.h: rename to ...
2080 * lfuns.h: ... this, and renumber / cleanup
2082 2003-03-19 John Levon <levon@movementarian.org>
2084 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2085 fit the cursor after an lfun
2089 * BufferView_pimpl.h:
2090 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2092 * LyXAction.C: layout-character should have ReadOnly
2094 * ParagraphParameters.C:
2096 * bufferview_funcs.C:
2103 * undo_funcs.C: changes from above
2105 2003-03-18 John Levon <levon@movementarian.org>
2107 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2108 remove it from update()
2110 * lyxfunc.C: update layout choice after an lfun
2112 * text3.C: remove extra updateLayoutChoice()s
2114 2003-03-18 John Levon <levon@movementarian.org>
2116 * text.C: top_y change means full repaint, fix
2117 a drawing bug with cursor movement
2119 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2123 * text2.C: anchor row on setCursor
2125 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2127 * lyxtext.h: remove almost all mutable keywords
2130 * text3.C: remove const keywords accordingly
2132 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2134 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2136 (TeXEnvironment): ditto
2139 2003-03-17 John Levon <levon@movementarian.org>
2141 * text.C (rowBreakPoint): remove attempt to fix displayed
2142 math insets inside a manual label
2144 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2146 * lyxtext.h: remove BufferView* as first arg from almost all class
2148 * other files: adjust.
2150 2003-03-17 John Levon <levon@movementarian.org>
2154 * text2.C: more paint cleanups
2156 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2159 * rowpainter.C: remove "smart" background painting code
2161 2003-03-16 John Levon <levon@movementarian.org>
2166 * text3.C: add helper functions for setting refresh_row/y
2168 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2170 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2171 newline inset which *can* get inserted in the pass_thru layouts.
2172 This is primarily for literate documents.
2174 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2176 * buffer.C: increment LYX_FORMAT to 223
2178 2003-03-14 André Pönitz <poenitz@gmx.net>
2180 * textclass.h: prepare for environment handling, ws changes
2181 * lyxlayout.C: read latexheader and latexfooter tags
2183 2003-03-14 John Levon <levon@movementarian.org>
2185 * text2.C: rewrite ::status() a bit
2187 2003-03-13 John Levon <levon@movementarian.org>
2189 * lyxtext.h: add some docs
2191 2003-03-13 John Levon <levon@movementarian.org>
2196 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2198 2003-03-13 John Levon <levon@movementarian.org>
2200 * text3.C: fix appendix redrawing
2202 2003-03-13 John Levon <levon@movementarian.org>
2204 * text.C (setHeightOfRow):
2206 * rowpainter.C: make appendix mark have the text
2207 "Appendix" so the user knows what it is
2210 * LColor.C: s/appendixline/appendix/ from above
2212 2003-03-13 John Levon <levon@movementarian.org>
2214 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2216 * text.C: fix a getChar(pos) bug properly
2218 2003-03-13 Angus Leeming <leeming@lyx.org>
2221 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2222 Probably only temporary. Let's see how things pan out.
2224 * BufferView.C (unlockInset):
2225 * BufferView_pimpl.C (fitCursor):
2226 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2228 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2229 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2231 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2232 new functions that convert ParagraphParameters to and from a string.
2234 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2235 BufferView::Pimpl's dispatch.
2236 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2238 2003-03-13 André Pönitz <poenitz@gmx.net>
2242 * factory.C: make it aware of InsetEnv
2244 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2246 * text2.C (setCursor): never ask for one past last
2247 (setCursor): add some debugging messages.
2249 * text.C (singleWidth): never ask for one past last
2250 (singleWidth): ditto
2252 (rightMargin): ditto
2253 (rowBreakPoint): ditto
2254 (setHeightOfRow): ditto
2255 (prepareToPrint): ditto
2257 * rowpainter.C (paintBackground): never ask for one past last
2258 (paintText): never ask for one past last
2260 * paragraph_pimpl.C (getChar): make the assert stricter, never
2261 allow the one past last pos to be taken
2263 * paragraph.C (getChar): ws changes only
2265 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2266 (numberOfSeparators): ditto
2267 (numberOfHfills): ditto
2269 2003-03-12 John Levon <levon@movementarian.org>
2275 * paragraph_funcs.C: fix per-buffer authorlists
2277 2003-03-12 John Levon <levon@movementarian.org>
2279 * text.C: fix newline in right address
2281 2003-03-12 Angus Leeming <leeming@lyx.org>
2283 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2284 duplicate those in LyXFunc::dispatch.
2288 * ToolbarDefaults.C:
2289 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2290 Add LFUN_FONTFREE_UPDATE.
2292 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2293 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2295 * bufferview_func.[Ch]: several new functions to facilliate
2296 transfer of data to and from the character dialog.
2298 2003-03-12 John Levon <levon@movementarian.org>
2303 * paragraph_funcs.C:
2304 * paragraph_pimpl.C:
2308 * text3.C: remove META_NEWLINE in favour of an inset
2311 * rowpainter.C: remove paintNewline (done by inset)
2313 2003-03-12 John Levon <levon@movementarian.org>
2315 * paragraph_pimpl.C: complain about bad getChar()s
2316 for a while at least
2318 2003-03-12 John Levon <levon@movementarian.org>
2321 * buffer.C: move paragraph read into a separate function,
2322 a little renaming to reflect that.
2325 * bufferparams.C: remove the author_ids map, not necessary now
2328 * factory.C: moved Buffer::readInset to here
2330 * paragraph_funcs.h:
2331 * paragraph_funcs.C: readParagraph free function moved from
2334 * tabular.C: name change
2336 2003-03-12 John Levon <levon@movementarian.org>
2339 * ParagraphParameters.C: move par params input to
2342 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2343 behave like a normal read from the stream wrt reading
2344 a line vs. a \\token
2346 2003-03-12 John Levon <levon@movementarian.org>
2349 * ParagraphParameters.h:
2350 * ParagraphParameters.C: move output code to a
2353 2003-03-12 John Levon <levon@movementarian.org>
2355 * BufferView.C (insertLyXFile):
2358 * tabular.C: use a parlist iterator for creating the
2361 2003-03-12 John Levon <levon@movementarian.org>
2363 * buffer.C: make current_change static local not
2366 2003-03-12 John Levon <levon@movementarian.org>
2368 * buffer.C: fix insertStringAsLines for change tracking
2370 2003-03-12 John Levon <levon@movementarian.org>
2377 * bufferparams.C: move author list into params. Rename some
2378 functions. Move the header reading into a separate token
2379 loop. Move the header token reading into BufferParams.
2381 2003-03-12 John Levon <levon@movementarian.org>
2383 * changes.C: put debug inside lyxerr.debugging() checks
2385 2003-03-11 André Pönitz <poenitz@gmx.net>
2387 * factory.C: make it aware of InsetHFill
2389 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2391 * buffer.C (latexParagraphs): move function from here...
2392 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2395 2003-03-10 Angus Leeming <leeming@lyx.org>
2397 * LyXAction.C (init): fix bug in poplating array with multiple entries
2398 with the same LFUN (spotted by JMarc).
2400 2003-03-10 John Levon <levon@movementarian.org>
2403 * text2.C: move getColumnNearX() near its
2406 2003-03-10 John Levon <levon@movementarian.org>
2408 * text.C: fix break before a minipage
2410 2003-03-10 John Levon <levon@movementarian.org>
2412 * text.C: fix the last commit
2414 2003-03-09 John Levon <levon@movementarian.org>
2418 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2419 bug 365 (don't break before insets unless needed). Don't
2420 return a value > last under any circumstances.
2422 2003-03-09 Angus Leeming <leeming@lyx.org>
2424 * BufferView_pimpl.C (trackChanges, dispatch): call
2425 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2427 2003-03-09 Angus Leeming <leeming@lyx.org>
2429 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2430 than Dialogs::showAboutlyx().
2432 2003-03-09 Angus Leeming <leeming@lyx.org>
2434 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2435 than Dialogs::showTabularCreate().
2437 2003-03-09 John Levon <levon@movementarian.org>
2441 * text2.C: 3rd arg to nextBreakPoint was always the same.
2444 2003-03-08 John Levon <levon@movementarian.org>
2451 * text2.C: Remove the "main" bit from the "main body"
2454 2003-03-08 John Levon <levon@movementarian.org>
2456 * text.C (leftMargin): The left margin of an empty
2457 manual label paragraph should not include the label width
2460 * text.C (prepareToPrint): don't attempt to measure hfills
2461 for empty manual label paragraphs - the answer should be 0
2463 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2465 * CutAndPaste.C: remove commented code and reindent.
2467 2003-03-08 John Levon <levon@movementarian.org>
2470 * lyxfunc.C: move reloadBuffer()
2473 * BufferView.C: to here
2475 * lyxvc.C: add comment
2478 * vc-backend.C: call bv->reload() to avoid
2479 getStatus() check on MENURELOAD
2481 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2483 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2484 to an old format .dep file.
2486 2003-03-07 Angus Leeming <leeming@lyx.org>
2488 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2489 when the LFUN_MOUSE_RELEASE should have been handled by
2490 inset->localDispatch.
2492 2003-03-07 Angus Leeming <leeming@lyx.org>
2494 * BufferView_pimpl.C (dispatch):
2495 * LyXAction.C (init):
2496 * ToolbarDefaults.C (init):
2498 * lyxfunc.C (getStatus):
2499 remove LFUN_INSET_GRAPHICS.
2501 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2503 2003-03-07 Angus Leeming <leeming@lyx.org>
2506 * LyXAction.C (init):
2507 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2509 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2512 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2514 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2515 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2517 2003-03-07 Angus Leeming <leeming@lyx.org>
2519 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2522 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2524 * ParagraphList.C (front): new function
2527 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2529 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2530 and top_row_offset_. removed var first_y.
2532 * text2.C (LyXText, removeRow):
2534 * BufferView_pimpl.C:
2535 use these methods instead of using first_y
2537 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2539 * text2.C (pasteSelection): adjust for checkPastePossible
2541 * CutAndPaste.C: remove Paragraph * buf and replace with
2542 ParagraphList paragraphs.
2543 (DeleteBuffer): delete
2544 (cutSelection): change the tc type to textclass_type
2545 (copySelection): change the tc type to textclass_type
2546 (copySelection): adjust for ParagraphList
2547 (pasteSelection): change the tc type to textclass_type
2548 (pasteSelection): adjust for Paragraphlist
2549 (nrOfParagraphs): simplify for ParagraphList
2550 (checkPastePossible): simplify for ParagraphList
2551 (checkPastePossible): remove unused arg
2553 * ParagraphList.C (insert): handle the case where there are no
2556 * CutAndPaste.h: make CutAndPaste a namespace.
2558 * text3.C (dispatch): adjust
2560 * text.C (breakParagraph): add a ParagraphList as arg
2562 * paragraph_funcs.C (breakParagraph): change to take a
2563 BufferParams and a ParagraphList as args.
2564 (breakParagraphConservative): ditto
2565 (mergeParagraph): ditto
2566 (TeXDeeper): add a ParagraphList arg
2567 (TeXEnvironment): ditto
2570 * buffer.C (readLyXformat2): adjust
2571 (insertStringAsLines): adjust
2572 (latexParagraphs): adjust
2574 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2575 (cutSelection): adjust
2576 (pasteSelection): adjust
2578 * BufferView_pimpl.C (insertInset): adjust
2580 2003-03-05 Angus Leeming <leeming@lyx.org>
2583 * LyXAction.C (init):
2584 * BufferView_pimpl.C (dispatch):
2585 * lyxfunc.C (getStatus):
2586 remove LFUN_CHILD_INSERT.
2588 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2590 2003-03-05 Angus Leeming <leeming@lyx.org>
2593 * LyXAction.C (init):
2594 * src/factory.C (createInset):
2595 * lyxfunc.C (getStatus):
2596 * text3.C (dispatch):
2597 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2599 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2601 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2603 * ParagraphList.C (insert): handle insert right before end()
2604 (erase): fix cases where it can be first or last paragraph.
2606 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2608 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2609 Paragraph::next and Paragraph::previous
2612 * text.C (breakParagraph): adjust
2614 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2615 BufferParams& as arg.
2616 (breakParagraph): use ParagraphList::insert
2617 (breakParagraphConservative): take a Buffer* instead of a
2618 BufferParams& as arg.
2619 (breakParagraphConservative): use ParagraphList::insert.
2621 * buffer.C (insertStringAsLines): un-const it
2622 (insertStringAsLines): adjust
2624 * ParagraphList.C (insert): new function
2626 * CutAndPaste.C (pasteSelection): adjust
2628 * text.C (backspace): adjust
2630 * tabular.C (SetMultiColumn): adjust
2632 * CutAndPaste.C (cutSelection): adjust
2633 (pasteSelection): adjust
2635 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2636 Buffer const * as arg
2638 * ParagraphList.C (erase): new function
2639 * paragraph_funcs.C (mergeParagraph): use it
2640 (mergeParagraph): make it take a Buffer* instead of a
2641 BufferParams* as arg
2643 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2645 (breakParagraphConservative): ditto
2647 * paragraph.h: remove the breakParagraph friend
2649 * paragraph.C (eraseIntern): new function
2650 (setChange): new function
2652 * paragraph_funcs.C (mergeParagraph): make it take a
2653 ParagraphList::iterator instead of a Paragraph *, adjust
2656 * paragraph.h: move an #endif so that the change tracking stuff
2657 also works in the NO_NEXT case.
2659 2003-03-04 Angus Leeming <leeming@lyx.org>
2662 * LyXAction.C: new LFUN_INSET_MODIFY.
2664 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2665 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2667 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2669 * several files: ws changes only
2671 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2672 (TeXEnvironment): ditto
2675 * buffer.C (makeLaTeXFile): adjust
2676 (latexParagraphs): make it take ParagraphList::iterator as args
2678 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2680 * buffer.C (latexParagraphs): adjust
2682 * paragraph.C (TeXOnePar): move function...
2683 (optArgInset): move function...
2684 (TeXEnvironment): move function...
2685 * paragraph_pimpl.C (TeXDeeper): move function...
2686 * paragraph_funcs.C: ...here
2688 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2690 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2692 * buffer.C (readInset): remove compability code for old Figure and
2695 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2697 * buffer.C: ws changes
2700 * BufferView_pimpl.C: ditto
2703 * bufferlist.h: ditto
2707 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2709 * converter.[Ch]: split into itself +
2712 * Makefile.am: += graph.[Ch] + format.[Ch]
2719 * lyxrc.C: added #include "format.h"
2721 2003-02-27 Angus Leeming <leeming@lyx.org>
2723 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2726 * factory.C (createInset): add "label" to the factory.
2728 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2729 string and do no more.
2731 2003-02-27 Angus Leeming <leeming@lyx.org>
2734 * LyXAction.C (init):
2735 * factory.C (createInset):
2736 * BufferView_pimpl.C (dispatch):
2737 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2739 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2741 * lyxfunc.C (dispatch):
2742 * text3.C (dispatch): pass name to params2string.
2744 2003-02-26 Angus Leeming <leeming@lyx.org>
2746 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2748 Rearrange the ~includes. Strip out the unnecessary ones.
2750 * factory.C (createInset): reformat.
2751 create new insets for the various LFUN_XYZ_APPLY lfuns.
2753 2003-02-26 John Levon <levon@movementarian.org>
2756 * lyxrow.C: add isParStart,isParEnd helpers
2758 * paragraph.h: make isInserted/DeletedText take refs
2760 * paragraph_funcs.h:
2761 * paragraph_funcs.C: remove #if 0'd code
2766 * text.C: use lyxrow helpers above.
2767 Move draw and paint routines to RowPainter.
2768 Make several methods use refs not pointers.
2769 Make backgroundColor() const.
2770 Add markChangeInDraw(), isInInset().
2771 Merge changeRegionCase into changeCase.
2772 Make workWidth() shouldn't-happen code into an Assert.
2775 * rowpainter.C: new class for painting a row.
2778 * vspace.C: make inPixels take a ref
2780 2003-02-26 Angus Leeming <leeming@lyx.org>
2782 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2785 2003-02-25 John Levon <levon@movementarian.org>
2787 * ispell.C: give the forked command a more accurate name
2789 2003-02-22 John Levon <levon@movementarian.org>
2792 * toc.C: make TocItem store an id not a Paragraph *
2795 2003-02-21 Angus Leeming <leeming@lyx.org>
2797 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2798 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2799 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2800 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2801 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2802 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2804 * BufferView_pimpl.C (dispatch):
2805 * LyXAction.C (init):
2806 * factory.C (createInset):
2807 * lyxfunc.C (getStatus, dispatch):
2808 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2810 2003-02-21 Angus Leeming <leeming@lyx.org>
2812 * BufferView_pimpl.C (MenuInsertLyXFile):
2813 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2814 * lyxfunc.C (menuNew, open, doImport):
2815 no longer pass a LyXView & to fileDlg.
2817 2003-02-21 Angus Leeming <leeming@lyx.org>
2819 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2820 * LyXAction.C: change, BIBKEY to BIBITEM.
2821 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2822 Change InsetBibKey to InsetBibitem.
2823 Change BIBKEY_CODE to BIBITEM_CODE.
2824 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2825 * factory.C: replace insetbib.h with insetbibitem.h.
2826 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2827 * paragraph.C: replace insetbib.h with insetbibitem.h.
2828 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2829 Change bibkey() to bibitem().
2830 * text.C: remove insetbib.h.
2831 * text2.C: replace insetbib.h with insetbibitem.h.
2832 change bibkey() to bibitem().
2833 * text3.C: remove insetbib.h.
2834 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2836 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2838 * lyxrc.C (output): enclose user email in quotes (in case there are
2841 2003-02-18 John Levon <levon@movementarian.org>
2843 * buffer.h: add std::
2845 2003-02-17 John Levon <levon@movementarian.org>
2851 * pspell.C: reworking. Especially in ispell, a large
2852 number of clean ups and bug fixes.
2854 * lyxfunc.C: fix revert to behave sensibly
2856 2003-02-17 André Pönitz <poenitz@gmx.net>
2859 * commandtags.h: new LFUN_INSERT_BIBKEY
2869 * paragraph_func.C: remove special bibkey handling
2871 2003-02-17 John Levon <levon@movementarian.org>
2873 * text.C (Delete): fix case where delete at the end of
2874 the very first paragraph would not merge the pars
2876 2003-02-17 John Levon <levon@movementarian.org>
2878 * lyxrow.C: fix lastPrintablePos()
2880 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2882 * bufferparams.C (writeLaTeX): add a std:here
2884 * buffer.C: and remove a using directive there
2886 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2888 * buffer.C (makeLaTeXFile): move the code that generates the
2891 * bufferparams.C (writeLaTeX): ... in this new method
2893 * LaTeXFeatures.C (getEncodingSet): make const
2894 (getLanguages): make const
2896 * MenuBackend.C (binding): returns the binding associated to this
2898 (add): sets the status of each item by calling getStatus. Adds
2900 (read): add support for OptSubMenu
2901 (expand): remove extra separator at the end of expanded menu
2903 2003-02-15 John Levon <levon@movementarian.org>
2906 * BufferView_pimpl.C:
2908 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2909 inset code that had no actual effect. Remove unneeded status
2912 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2914 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2917 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2919 * text.C (drawLengthMarker): also draw an arrow marker for
2920 symbolic lengths (medskip...)
2922 2003-02-14 John Levon <levon@movementarian.org>
2925 * tabular.C: better method names
2927 2003-02-14 John Levon <levon@movementarian.org>
2929 * BufferView_pimpl.C:
2934 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2935 it's a more accurate name. Remove some pointless uses.
2937 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2939 * text2.C (LyXText): change order of initilizers to shut off
2942 2003-02-14 John Levon <levon@movementarian.org>
2944 * buffer.C: use ParIterator for getParFromID()
2948 * paragraph_pimpl.h:
2949 * paragraph_pimpl.C: remove unused getParFromID()
2951 2003-02-14 John Levon <levon@movementarian.org>
2953 * buffer.C: remove some very old #if 0'd parse code
2955 2003-02-13 John Levon <levon@movementarian.org>
2959 * text2.C: move hfillExpansion(), numberOfSeparators(),
2960 rowLast(), rowLastPrintable(), numberofHfills(),
2961 numberOfLabelHfills() ...
2964 * lyxrow.C: ... to member functions here.
2969 * text.C: remove LyXText::beginningOfMainBody(), and call
2970 p->beginningOfMainBody() directly. Move the check for
2971 LABEL_MANUAL into the latter.
2978 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2984 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2985 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2987 2003-02-13 John Levon <levon@movementarian.org>
2989 * CutAndPaste.C: remove debug
2991 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2993 * paragraph.C (asString): remove two unused variables
2995 * lyxtextclass.C (readTitleType):
2997 (LyXTextClass): handle new members titletype_ and titlename_
2999 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3001 2003-02-09 John Levon <levon@movementarian.org>
3004 * buffer.C: replace hand-coded list with a map for the dep clean
3006 2003-02-08 John Levon <levon@movementarian.org>
3008 * LaTeX.C: consolidate code into showRunMessage() helper
3010 2003-02-08 John Levon <levon@movementarian.org>
3015 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3016 and pass the size in explicitly
3018 * BufferView_pimpl.h:
3019 * BufferView_pimpl.C:
3021 * BufferView.C: add getCurrentChange()
3023 * BufferView_pimpl.h:
3024 * BufferView_pimpl.C: handle change lfuns
3026 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3027 for changes. Mark pasted paragraphs as new.
3029 * support/lyxtime.h:
3030 * support/lyxtime.C:
3031 * DepTable.C: abstract time_t as lyx::time_type
3034 * LColor.C: add colours for new text, deleted text, changebars
3036 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3037 package use "usenames" option.
3041 * LyXAction.C: add change lfuns
3045 * author.C: author handling
3048 * buffer.C: add a per-buffer author list, with first entry as
3049 current author. Handle new .lyx tokens for change tracking. Output
3050 author list to .lyx file. Output dvipost stuff to .tex preamble.
3051 Bump lyx format to 222.
3054 * bufferlist.C: add setCurrentAuthor() to reset current author details
3058 * bufferparams.C: add param for tracking
3060 * bufferview_funcs.C: output change info in minibuffer
3064 * changes.C: add change-tracking structure
3067 * debug.C: add CHANGES debug flag
3070 * lyxfind.C: add code for finding the next change piece
3073 * lyxrc.C: add user_name and user_email
3076 * lyxrow.C: add a metric for the top of the text line
3079 * text.C: implement accept/rejectChange()
3082 * text.C: paint changebars. Paint new/deleted text in the chosen
3083 colours. Strike through deleted text.
3087 * paragraph_pimpl.h:
3088 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3089 in the current change to the insert functions. Rework erase to
3090 mark text as deleted, adding an eraseIntern() and a range-based
3091 erase(). Implement per-paragraph change lookup and
3094 * paragraph_funcs.C: Fixup paste for change tracking.
3096 * tabular.C: mark added row/columns as new.
3098 * text.C: fix rowLast() to never return -1. Don't allow
3099 spellchecking of deleted text. Track transpose changes. Don't
3100 allow paragraph break or merge where appropriate.
3102 * text2.C: leave cursor at end of selection after a cut.
3104 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3106 * text.C (getLengthMarkerHeight):
3107 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3108 visible on screen too.
3110 2003-02-07 John Levon <levon@movementarian.org>
3112 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3114 2003-02-05 Angus Leeming <leeming@lyx.org>
3116 * lyxserver.C (read_ready): revert my patch of 11 September last year
3117 as it sends PC cpu through the roof. Presumably this means that
3118 the lyxserver will no longer run on an Alpha...
3120 2003-01-30 Angus Leeming <leeming@lyx.org>
3122 * factory.C (createInset): create an InsetCommandParam of type "index"
3123 and use it to 'do the right thing'.
3125 * text2.C (getStringToIndex): ensure that cursor position is always
3126 reset to the reset_cursor position.
3128 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3130 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3133 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3137 * lyxfunc.C: Output messages with identical spelling, punctuation,
3140 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3142 * MenuBackend.C (expandFormats): List only viewable export formats
3145 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3148 * lyxfunc.C (getStatus): Make sure that formats other than
3149 "fax" can also be disabled
3151 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3153 * text3.C (dispatch): put the lfuns that insert insets in 3
3154 groups, and call doInsertInset with appropriate arguments.
3155 (doInsertInset): new function, that creates an inset and inserts
3156 it according to some boolean parameters.
3158 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3160 * buffer.C (readFile): remember to pass on 'par' when calling
3161 readFile recursively.
3163 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3165 * MenuBackend.C (expandFormats): add "..." to import formats.
3167 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3169 * paragraph.C (asString): Remove XForms RTL hacks.
3171 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3172 * buffer.C: fix typo
3174 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3176 * Makefile.am (LIBS): delete var
3177 (lyx_LDADD): add @LIBS@ here instead.
3179 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3181 * Clarify the meaning of "wheel mouse jump"
3183 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3185 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3188 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3190 * importer.C (Loaders): do not preallocate 3 elements in the
3191 vector, since one ends up with 6 elements otherwise
3193 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3195 * DepTable.C (write): write the file name as last element of the
3196 .dep file (because it may contain spaces)
3197 (read): read info in the right order
3199 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3201 * paragraph_pimpl.C (simpleTeXBlanks):
3202 (simpleTeXSpecialChars):
3203 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3205 * tabular.C (latex): add some missing case statements. Reindent.
3207 * MenuBackend.C (expandToc): remove unused variable.
3209 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3218 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3221 2003-01-05 John Levon <levon@movementarian.org>
3224 * BufferView.C: add getEncoding()
3227 * kbsequence.C: do not store last keypress
3230 * lyxfunc.C: store last keypress here instead. Pass encoding
3233 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3235 * lyx_main.C (init): remove annoying error message when following
3236 symbolic links (bug #780)
3238 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3240 * text.C (insertChar):
3241 * lyxrc.C (getDescription): remove extra spaces
3243 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3245 * lyxrc.C (getDescription): remove extra spaces
3247 2002-12-20 John Levon <levon@movementarian.org>
3249 * text3.C: hack fix for page up/down across tall rows
3251 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3253 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3256 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3258 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3259 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3260 thesaurus is not compiled in
3262 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3264 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3266 2002-12-16 Angus Leeming <leeming@lyx.org>
3269 * lyx_main.C (init): remove override_x_deadkeys stuff.
3271 2002-12-12 John Levon <levon@movementarian.org>
3273 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3274 insert. Only remove shift modifier under strict
3277 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3279 * MenuBackend.C (expandToc): fix crash.
3281 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3283 * MenuBackend.C (expandToc): gettext on float names.
3285 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3287 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3288 implement bool empty() [bug 490]
3290 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3292 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3294 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3296 * several files: ws changes
3298 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3300 * text2.C (setCounter): clean up a bit, use boost.format.
3301 (updateCounters): initialize par upon declaration.
3303 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3304 if the layout exists. We do not just store the layout any more.
3305 (SwitchLayoutsBetweenClasses): use boost.format
3307 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3309 * converter.C (convert): if from and to files are the same, use a
3310 temporary files as intermediary
3312 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3315 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3317 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3319 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3321 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3323 * tabular.C (asciiPrintCell): use string(size, char) instead of
3326 * sgml.C (openTag): fix order of arguments to string constructor
3329 * lyxfunc.C (dispatch): use boost.format
3331 * lots of files: change "c" -> 'c'
3333 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3335 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3337 2002-11-25 Angus Leeming <leeming@lyx.org>
3339 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3341 * lyx_main.C (init): compile fix.
3343 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3345 * lyx_cb.C (start): boost.formatify
3346 do not include <iostream>
3348 * lengthcommon.C: ws only
3350 * boost-inst.C,BoostFormat.h: add more explict instantations
3352 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3354 * lots of files: handle USE_BOOST_FORMAT
3356 2002-11-21 John Levon <levon@movementarian.org>
3358 * pspell.C: fix compile
3360 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3362 * lyxfunc.C (dispatch): use boost::format
3366 * lyxfont.C (stateText): use boost::format
3368 * lyx_main.C (LyX): use boost::format
3370 (queryUserLyXDir): ditto
3373 (typedef boost::function): use the recommened syntax.
3375 * importer.C (Import): use boost::format
3377 * debug.C (showLevel): use boost::format
3379 * converter.C (view): use boost::format
3384 * bufferview_funcs.C (currentState): use boost::format
3386 * bufferlist.C (emergencyWrite): use boost::format
3388 * buffer.C (readLyXformat2): use boost::format
3389 (parseSingleLyXformat2Token): ditto
3391 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3393 * LaTeX.C (run): use boost::format
3395 * Chktex.C (scanLogFile): use boost::format
3397 * BufferView_pimpl.C (savePosition): use boost::format
3398 (restorePosition): ditto
3399 (MenuInsertLyXFile): ditto
3401 * BoostFormat.h: help file for explicit instation.
3403 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3405 * tabular.C (latex): Support for block alignment in fixed width
3408 2002-11-17 John Levon <levon@movementarian.org>
3410 * BufferView_pimpl.C:
3412 * lyxfunc.C: split filedialog into open/save
3414 2002-11-08 Juergen Vigna <jug@sad.it>
3416 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3417 by my last patch (hopefully).
3419 2002-11-08 John Levon <levon@movementarian.org>
3428 * toc.C: ParConstIterator, and use it (from Lars)
3430 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3432 * lyxtextclass.[Ch]: revise and add doxygen comments
3434 2002-11-07 John Levon <levon@movementarian.org>
3436 * text.C: fix progress value for spellchecker
3438 * toc.C: fix navigate menu for insetwrap inside minipage
3440 * paragraph_funcs.C: added FIXME for suspect code
3442 2002-11-07 John Levon <levon@movementarian.org>
3444 * BufferView_pimpl.C: fix redrawing of insets
3447 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3449 * text2.C (updateCounters): fix bug 668
3451 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3453 * text3.C (dispatch): Do not make the buffer dirty when moving the
3456 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3458 * vc-backend.C: STRCONV
3461 * text2.C (setCounter): STRCONV
3463 * paragraph.C (asString): STRCONV
3465 * lyxlength.C (asString): STRCONV
3466 (asLatexString): ditto
3468 * lyxgluelength.C (asString): STRCONV
3469 (asLatexString): ditto
3471 * lyxfunc.C (dispatch): STRCONV
3474 * lyxfont.C (stateText): STRCONV
3476 * importer.C (Import): STRCONV
3478 * counters.C (labelItem): STRCONV
3479 (numberLabel): ditto
3480 (numberLabel): remove unused ostringstream o
3485 * bufferview_funcs.C (currentState): STRCONV
3487 * buffer.C (readFile): STRCONV
3488 (asciiParagraph): ditto
3489 (makeLaTeXFile): ditto
3491 * Spacing.C (writeEnvirBegin): STRCONV
3493 * LaTeXFeatures.C (getLanguages): STRCONV
3494 (getPackages): ditto
3496 (getBabelOptions): ditto
3497 (getTClassPreamble): ditto
3498 (getLyXSGMLEntities): ditto
3499 (getIncludedFiles): ditto
3503 (scanAuxFile): ditto
3506 * LString.h: add the STRCONV macros
3508 * BufferView_pimpl.C (savePosition): STRCONV
3509 (restorePosition): ditto
3510 (MenuInsertLyXFile): ditto
3512 * vc-backend.C (scanMaster): change from submatch[...] to
3515 * funcrequest.C: include config.h
3517 * factory.C: include config.h
3519 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3521 * box.C: include config.h
3523 * LaTeX.C (scanAuxFile): change from submatch[...] to
3527 2002-10-25 Angus Leeming <leeming@lyx.org>
3529 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3531 * ispell.[Ch] (setError): new method.
3532 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3533 Use setError() insetead of goto END.
3535 * lyx_cb.C (AutoSave): move out child process into new class
3538 2002-10-30 John Levon <levon@movementarian.org>
3540 * text3.C: make start appendix undoable
3542 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3544 * lyxlength.C (inPixels): Fix returned value.
3546 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3549 2002-10-24 Angus Leeming <leeming@lyx.org>
3551 * lyxgluelength.h: no need to forward declare BufferParams
3552 or BufferView, so don't.
3554 2002-10-21 John Levon <levon@movementarian.org>
3556 * BufferView.C: menuUndo ->undo, redo
3558 * BufferView.h: document, remove dead, make some methods private
3560 * paragraph_funcs.h:
3561 * paragraph_funcs.C:
3562 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3567 * sgml.C: move sgml open/close tag into sgml.C
3569 * bufferview_funcs.h: unused prototype
3572 * lyxfunc.C: remove unused
3575 * text.C: remove unused
3577 2002-10-21 John Levon <levon@movementarian.org>
3581 * BufferView_pimpl.h:
3582 * BufferView_pimpl.C: fix mouse wheel handling based on
3583 patch from Darren Freeman
3585 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3587 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3589 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3591 * lyxlength.C (inPixels): Fix hanfling of negative length.
3592 Fix LyXLength::MU case.
3594 2002-10-16 John Levon <levon@movementarian.org>
3596 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3598 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3600 * converter.C (view): add support for $$i (file name) and $$p
3601 (file path) for the viewer command. If $$i is not specified, then
3602 it is appended to the command (for compatibility with old syntax)
3604 2002-10-14 Juergen Vigna <jug@sad.it>
3606 * undo_funcs.C (textHandleUndo): alter the order in which the
3607 new undopar is added to the LyXText, as we have to set first
3608 the right prev/next and then add it as otherwise the rebuild of
3609 LyXText is not correct. Also reset the cursor to the right paragraph,
3610 with this IMO we could remove the hack in "redoParagraphs()".
3612 2002-10-09 Angus Leeming <leeming@lyx.org>
3614 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3615 to turn off an optimisation if a new inset is to be inserted.
3617 2002-10-11 André Pönitz <poenitz@gmx.net>
3619 * lyxtext.h: make some functions public to allow access
3620 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3622 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3624 * text3.C (dispatch): when changing layout, avoid an infinite loop
3627 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3629 * lyxrc.C (read): treat a viewer or converter command of "none" as
3632 * MenuBackend.C (expandFormats): for an update, also allow the
3633 formats that are not viewable
3635 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3636 script if it is newer than the lyxrc.defaults in user directory
3638 2002-10-07 André Pönitz <poenitz@gmx.net>
3640 * text.C: Vitaly Lipatov's small i18n fix
3642 2002-09-25 Angus Leeming <leeming@lyx.org>
3644 * ispell.h: doxygen fix.
3646 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3648 * buffer.h (readFile): Add a new argument to the method, to allow
3649 reading of old-format templates.
3651 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3653 * toc.C (getTocList): Get TOC from InsetWrap.
3655 2002-09-16 John Levon <levon@movementarian.org>
3657 * lyxfunc.C: check tabular for cut/copy too
3659 2002-09-12 John Levon <levon@movementarian.org>
3664 * factory.C: add header
3666 * paragraph_funcs.h:
3667 * paragraph_funcs.C: cleanup
3669 2002-09-11 John Levon <levon@movementarian.org>
3671 * PrinterParams.h: odd/even default to true
3673 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3675 * PrinterParams.h: update printer parameters for new xforms dialog
3677 2002-09-11 Angus Leeming <leeming@lyx.org>
3679 * lyxserver.C (read_ready): re-write to make it more transparent
3680 and to make it work in coherent fashion under Tru64 Unix.
3682 2002-09-11 André Pönitz <poenitz@gmx.net>
3686 * text3.C: implement LFUN_WORDSEL
3688 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3690 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3691 make floatlist_ a boost::shared_ptr<FloatList>
3693 * lyxtextclass.C: include FloatList.h
3694 (LyXTextClass): initialize floatlist_
3695 (TextClassTags): add TC_NOFLOAT
3696 (Read): match "nofloat" to TC_NOFLOAT and use it.
3697 (readFloat): modify call to floatlist_
3701 * FloatList.[Ch] (FloatList): remove commented out float
3703 (erase): new function
3705 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3707 * MenuBackend.C (expandToc): fix crash when there is no document
3710 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3712 * many files: Add insetwrap.
3714 2002-09-09 John Levon <levon@movementarian.org>
3716 * text2.C: remove confusing and awkward depth wraparound
3718 2002-09-09 John Levon <levon@movementarian.org>
3720 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3723 * buffer.C: remove getIncludeonlyList()
3726 * lyxfunc.C: remove headers
3728 2002-09-09 Juergen Vigna <jug@sad.it>
3730 * text.C (getColumnNearX): fix form Michael this is most
3731 probably a cut&paste bug.
3733 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3735 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3737 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3738 references, ws changes.
3740 * text2.C (init): update counters after init
3741 (insertParagraph): no need to set counter on idividual paragraphs.
3742 (setCounter): access the counters object in the textclass object
3743 on in the buffer object.
3744 (updateCounters): ditto
3746 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3747 shared_ptr<Counters> to avoid loading counters.h in all
3749 (LyXTextClass): initialize ctrs_
3750 (TextClassTags): add TC_COUNTER, and ...
3751 (Read): use it here.
3752 (CounterTags): new tags
3753 (readCounter): new function
3754 (counters): new funtion
3755 (defaultLayoutName): return a const reference
3757 * counters.C (Counters): remove contructor
3758 (newCounter): remove a couple of unneeded statements.
3759 (newCounter): simplify a bit.
3760 (numberLabel): some small formatting changes.
3762 * buffer.[Ch]: remove all traces of counters, move the Counters
3763 object to the LyXTextClass.
3765 2002-09-06 Alain Castera <castera@in2p3.fr>
3767 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3768 package to set the horizontal alignment on fixed width columns.
3771 * lyx_sty.h: added tabularnewline macro def.
3773 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3775 2002-09-06 John Levon <levon@movementarian.org>
3777 * LyXAction.C: tooltips for sub/superscript
3779 * MenuBackend.C: a bit more verbose
3781 * lyxfunc.C: tiny clean
3783 * undo_funcs.C: document undo_frozen
3785 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3787 * counters.C (Counters): add missing algorithm counter.
3789 * text2.C (setCounter): lookup the counter with layouts latexname
3790 instead of by section number.
3791 (setCounter): use a hackish way to lookup the correct enum
3793 a float name->type change
3794 reset enum couners with counter name directly instead of depth value.
3796 * counters.C (Counters): remove the push_backs, change to use the
3797 float type not the float name.
3798 (labelItem): remove unused string, float name->type change
3800 * counters.h: don't include vector, loose the enums and sects vectors
3802 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3804 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3805 (Read): add float->TC_FLOAT to textclassTags
3806 (Read): and handle it in the switch
3807 (readFloat): new function
3809 * FloatList.C (FloatList): comment out the hardcoded float
3812 * lyxlayout.h: ws change.
3814 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3816 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3818 2002-09-03 Angus Leeming <leeming@lyx.org>
3820 * BufferView_pimpl.h: qualified name is not allowed in member
3821 declaration: WorkArea & Pimpl::workarea() const;
3823 * factory.C: added using std::endl directive.
3825 * text3.C: added using std::find and std::vector directives.
3827 2002-08-29 André Pönitz <poenitz@gmx.net>
3830 * text2.C: remove unused member number_of_rows
3833 * BufferView2.C: remove file, move contents to...
3834 * BufferView.C: ... here
3836 * BufferView_pimpl.C:
3837 * factory.C: move more inset creation to factory
3839 * vspace.C: avoid direct usage of LyXText, ws changes
3842 don't provide direct access to WorkArea, use two simple
3843 acessors haveSelction() and workHeight() instead
3846 2002-08-29 John Levon <levon@movementarian.org>
3848 * BufferView_pimpl.C (dispatch): do not continue when
3851 2002-08-28 André Pönitz <poenitz@gmx.net>
3853 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3856 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3858 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3860 * buffer.C: increment LYX_FORMAT to 221
3862 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3863 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3865 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3867 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3869 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3871 * factory.C (createInset): use LyXTextClass::floats
3873 * MenuBackend.C (expandFloatListInsert):
3874 (expandFloatInsert):
3877 * text2.C (setCounter):
3879 * LaTeXFeatures.C (useFloat):
3880 (getFloatDefinitions):
3882 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3884 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3885 floatlist_, with accessor floats().
3887 * FloatList.h: remove global FloatList
3889 2002-08-26 André Pönitz <poenitz@gmx.net>
3891 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3895 * BufferView_pimpl.C:
3896 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3898 2002-08-25 John Levon <levon@movementarian.org>
3900 * LyXAction.C: fix margin note description
3902 2002-08-24 John Levon <levon@movementarian.org>
3906 * bufferview_funcs.C:
3908 * undo_funcs.C: cleanups
3910 * lyxfunc.C: disable CUT/COPY when no selection
3912 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3914 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3915 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3917 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3918 Add backward compatibility to "mono", "gray" and "no".
3920 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3922 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3923 (and file_format >= 200).
3925 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3927 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3929 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3931 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3933 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3935 * BufferView_pimpl.C:
3942 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3943 inset and code to make it work with the paragraph code. The inset
3944 can be anywhere in the paragraph, but will only do the expected
3945 thing in LaTeX if the layout file contains the parameter line
3947 (or more generally, a nonzero value) for that layout.
3949 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3951 * paragraph.h: remove the declaration of undefined counters class
3954 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3956 * text2.C (setCounter): fixed enumeration mis-count as reported by
3957 Dr. Richard Hawkins.
3959 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3961 * paragraph_funcs.h: remove some unneeded includes
3963 * text.C (backspace): pasteParagraph now in global scipe
3965 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3966 (pasteSelection): ditto
3968 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3969 * paragraph_funcs.C (pasteParagraph): ... here
3971 2002-08-20 André Pönitz <poenitz@gmx.net>
3973 * commandtags.h: new LFUNs for swapping/copying table row/colums
3976 * lyxfunc.C: support for new lfuns
3978 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3981 * buffer.[Ch]: remove NO_COMPABILITY stuff
3983 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3985 * boost.C (throw_exception): new file, with helper function for
3986 boost compiled without exceptions.
3991 * ParameterStruct.h:
3992 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3994 * bufferlist.C (emergencyWriteAll): use boost bind
3996 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3998 * text.C: include paragraph_funcs.h
3999 (breakParagraph): breakParagraph is now in global scope
4001 * paragraph_funcs.[Ch]: new files
4003 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4006 * buffer.C: include paragraph_funcs.h
4007 (insertStringAsLines): breakParagraph is now in global scope
4009 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4012 * CutAndPaste.C: include paragraph_funcs.h
4013 (cutSelection): breakParagraphConservative is now in global scope
4014 (pasteSelection): ditto
4016 * buffer.h: declare oprator== and operator!= for
4017 Buffer::inset_iterator
4019 * bufferlist.C (emergencyWrite): don't use fmt(...)
4021 * text3.C: add using std::endl
4023 * BufferView.C (moveCursorUpdate): remove default arg
4025 2002-08-20 André Pönitz <poenitz@gmx.net>
4027 * buffer.[Ch]: move inline functions to .C
4030 * BufferView_pimpl.C:
4032 * buffer.[Ch]: use improved inset_iterator
4035 * paragraph.[Ch]: write one paragraph at a time
4037 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4039 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4040 style if style is not specified.
4042 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4044 * text2.C (setCounter): when searching for right label for a
4045 caption, make sure to recurse to parent insets (so that a caption
4046 in a minipage in a figure float works) (bug #568)
4048 2002-08-20 André Pönitz <poenitz@gmx.net>
4050 * text3.C: new file for LyXText::dispatch() and helpers
4052 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4054 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4056 2002-08-19 André Pönitz <poenitz@gmx.net>
4059 * text.C: new LyXText::dispatch()
4061 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4063 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4065 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4067 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4070 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4072 * Makefile.am: use $(variables) instead of @substitutions@
4074 2002-08-15 André Pönitz <poenitz@gmx.net>
4077 * BufferView_pimpl.C: streamlining mathed <-> outer world
4081 * LyXAction.C: remove unused LFUN_MATH
4083 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4085 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4087 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4089 * paragraph.C (Paragraph): reformat a bit
4090 (cutIntoMinibuffer): use builtin InsetList function instad of
4094 * buffer.C: include boost/bind.hpp, add using std::for_each
4095 (writeFileAscii): use ParagraphList iterators
4096 (validate): use for_each for validate traversal of paragraphs
4097 (getBibkeyList): use ParagraphList iterators
4098 (resizeInsets): use for_each to resizeInsetsLyXText for all
4100 (getParFromID): use ParagraphList iterators
4102 * BufferView2.C (lockInset): use paragraph list and iterators
4104 2002-08-14 John Levon <levon@movementarian.org>
4106 * lyxserver.C: remove spurious xforms include
4108 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4110 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4112 2002-08-13 André Pönitz <poenitz@gmx.net>
4115 * lyxfunc.C: further cleaning
4117 2002-08-13 André Pönitz <poenitz@gmx.net>
4119 * funcrequest.h: new constructor
4121 * funcrequest.C: move stuff here from .h
4124 * BufferView_pimpl.C:
4127 * lyxfunc.C: subsequent changes
4129 * lyxfunc.h: new view() member function
4131 * lyxfunc.C: subsequent changes
4133 2002-08-13 Angus Leeming <leeming@lyx.org>
4136 * BufferView_pimpl.C:
4144 changes due to the changed LyXView interface that now returns references
4145 to member variables not pointers.
4147 2002-08-13 Angus Leeming <leeming@lyx.org>
4149 * WordLangTuple (word, lang_code): return references to strings,
4154 * lyxtext.h: forward-declare WordLangTuple.
4159 * text.C: #include "WordLangTuple.h".
4162 * text.C: (selectNextWordToSpellcheck): constify return type.
4164 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4170 * paragraph_pimpl.h:
4173 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4175 Made updateCounter always count from start of buffer, and removed
4176 second argument (par).
4177 Reverted floats number display to '#'. Perhaps I'll try again when the
4178 code base is sanitized a bit.
4180 2002-08-12 Angus Leeming <leeming@lyx.org>
4182 * buffer.[Ch] (getLabelList): constify.
4184 2002-08-07 André Pönitz <poenitz@gmx.net>
4186 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4188 * funcrequest.h: extension to keep mouse (x,y) position
4190 2002-08-12 Juergen Vigna <jug@sad.it>
4192 * BufferView2.C (insertErrors): forbid undo when inserting error
4195 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4197 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4199 * ParagraphList.[Ch]: new files
4201 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4203 * BufferView2.C (lockInset): ParagraphList changes
4206 * bufferlist.C: ditto
4210 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4212 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4213 unused class variable counter_,
4215 * paragraph.[Ch] (getFirstCounter): delete unused function
4217 * counters.C: include LAssert.h
4218 (reset): add a new function with no arg, change other version to
4219 not have def. arg and to not allow empty arg.
4221 * text2.C (setCounter): remove empty arg from call to Counters::reset
4223 2002-08-11 John Levon <levon@movementarian.org>
4225 * Makefile.am: add WordLangTuple.h
4227 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4229 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4230 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4232 * insets/insettext.C: InsetList changes
4234 * graphics/GraphicsSupport.C (operator()): InsetList changes
4236 * toc.C (getTocList): InsetList changes
4238 * paragraph_pimpl.[Ch]: InsetList changes
4240 * paragraph.[Ch]: InsetList changes
4242 * buffer.C (inset_iterator): InsetList changes
4243 (setParagraph): ditto
4244 * buffer.h (inset_iterator): ditto
4245 * iterators.C (operator++): ditto
4246 * iterators.h: ditto
4248 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4250 * InsetList.[Ch]: new files, most InsetList handling moved out of
4253 * BufferView2.C (removeAutoInsets): InsetList changes
4255 (ChangeInsets): ditto
4257 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4259 * paragraph_pimpl.h (empty): new function
4261 * paragraph.[Ch] (empty): new function
4263 * other files: use the new Paragraph::empty function
4265 2002-08-09 John Levon <levon@movementarian.org>
4267 * lyxtext.h: remove unused refresh_height
4269 2002-08-09 John Levon <levon@movementarian.org>
4276 * paragraph.C: move sgml char escaping out of paragraph
4279 * paragraph.C: remove id setter
4283 * paragraph_pimpl.C: remove dead tex_code_break_column
4285 * bufferview_funcs.C: small cleanup
4287 * lyxfunc.C: remove dead proto
4289 * lyxtext.h: make some stuff private. Remove some dead stuff.
4291 * lyxgluelength.C: make as[LyX]String() readable
4293 2002-08-08 John Levon <levon@movementarian.org>
4298 * ToolbarDefaults.C:
4301 * toc.C: lyxaction cleanup
4303 2002-08-08 John Levon <levon@movementarian.org>
4305 * BufferView2.C: small cleanup
4308 * lyxfind.C: move unnecessary header into the .C
4310 2002-08-08 John Levon <levon@movementarian.org>
4312 * funcrequest.h: just tedious nonsense
4315 * lyx_main.C: cleanups
4318 * vspace.C: remove dead header lyx_main.h
4320 2002-08-07 Angus Leeming <leeming@lyx.org>
4323 * paragraph_pimpl.h:
4324 Forward declare class Counters in paragraph.h by moving the ctrs member
4325 variable into Paragraph::Pimpl.
4326 (counters): new method, returning a reference to pimpl_->ctrs.
4328 * text2.C: ensuing changes.
4330 2002-08-07 John Levon <levon@movementarian.org>
4332 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4334 * BufferView_pimpl.C: announce X selection on double/triple
4337 * lyx_main.C: use correct bool in batch dispatch
4339 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4341 2002-08-07 André Pönitz <poenitz@gmx.net>
4343 * funcrequest.h: new class to wrap a kb_action and its argument
4346 * BufferView_pimpl[Ch]:
4350 * lyxrc.C: subsequent changes
4353 2002-08-07 John Levon <levon@movementarian.org>
4355 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4356 document options change.
4358 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4363 * makefile.am: move counters functionality over from
4364 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4366 2002-08-06 John Levon <levon@movementarian.org>
4368 * WordLangTuple.h: new file for word + language code tuple
4379 * BufferView2.C: use WordLangTuple
4382 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4384 2002-08-06 John Levon <levon@movementarian.org>
4386 * lyx_main.C: fix cmdline batch handling
4388 2002-08-06 André Pönitz <poenitz@gmx.net>
4390 * lyxrc.C: set default for show_banner to true
4392 2002-08-06 John Levon <levon@movementarian.org>
4394 * pspell.C: fix a crash, and allow new aspell to work
4396 2002-08-06 John Levon <levon@movementarian.org>
4399 * kbmap.C: small cleanup
4402 * vspace.C: add const
4404 2002-08-05 John Levon <levon@movementarian.org>
4406 * LyXAction.C: back to tabular-insert
4408 2002-08-04 John Levon <levon@movementarian.org>
4411 * BufferView.C: cosmetic change
4413 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4423 * BufferView2.C: purge all "Lyx" not "LyX" strings
4426 * lyxcursor.C: attempt to add some documentation
4431 * ToolbarDefaults.C:
4432 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4433 merge with LFUN_TABULAR_INSERT
4440 * pspell.C: split up i/pspell implementations into separate
4441 files, many cleanups
4443 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4445 * text2.C: some cleanup
4447 * lyxfunc.C: don't check for isp_command == "none" any more, it
4448 didn't make any sense
4450 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4455 * makefile.am: move counters functionality over
4456 from text2.C/paragraph.[Ch] to counters.[Ch], and
4458 2002-08-02 John Levon <levon@movementarian.org>
4460 * buffer.C: s/lyxconvert/lyx2lyx/
4462 2002-08-02 Angus Leeming <leeming@lyx.org>
4464 * lyxlex.C: revert John's change as it breaks reading of the user
4467 2002-08-02 Angus Leeming <leeming@lyx.org>
4469 * importer.C (Import):
4470 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4471 changes due to LyXView::view() now returning a boost::shared_ptr.
4473 2002-08-02 John Levon <levon@movementarian.org>
4475 * lyxlex.C: small cleanup
4477 2002-08-02 John Levon <levon@movementarian.org>
4479 * text2.C (status): small cleanup, no logic change
4481 2002-08-01 John Levon <levon@movementarian.org>
4484 * buffer.C (writeFile): don't output alerts, caller
4488 * lyx_cb.C: from above
4490 * lyxfunc.C: allow to open non-existent files
4492 2002-07-31 John Levon <levon@movementarian.org>
4494 * lyxserver.C: don't let incidental errors get
4497 2002-07-30 John Levon <levon@movementarian.org>
4499 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4501 2002-07-30 John Levon <levon@movementarian.org>
4504 * lyxserver.C: remove I/O callback too
4506 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4508 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4511 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4513 * many files: strip,frontStrip -> trim,ltrim,rtrim
4515 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4517 * PrinterParams.h: remove extern containsOnly, and include
4518 support/lstrings.h instead.
4520 * LaTeX.C (scanAuxFile): modify because of strip changes
4522 * buffer.C (makeLaTeXFile): ditto
4523 * bufferparams.C (writeFile): ditt
4524 * lyxfont.C (stateText): ditto
4525 * lyxserver.C (read_ready): ditto
4526 * vc-backend.C (scanMaster): ditto
4528 * BufferView_pimpl.h: ws changes
4530 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4532 2002-07-26 André Pönitz <poenitz@gmx.net>
4534 * kb_sequence.C: remove unnedred usings
4536 2002-07-26 Juergen Vigna <jug@sad.it>
4538 * lyxfind.C (LyXReplace): we have to check better if the returned
4539 text is not of theLockingInset()->getLockingInset().
4541 2002-07-25 Juergen Vigna <jug@sad.it>
4543 * lyxfind.C (LyXReplace): don't replace if we don't get the
4546 * undo_funcs.C (createUndo): remove debugging code.
4548 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4550 * buffer.C (parseSingleLyXformat2Token): Use default placement
4551 when reading old floats.
4553 * FloatList.C (FloatList): Change the default placement of figure
4554 and tables to "tbp".
4556 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4558 * MenuBackend.C: using std::max
4560 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4562 * MenuBackend.C (expandToc):
4563 (expandToc2): code moved from xforms menu frontend. It is now
4564 generic and TOCs are transparent to menu frontends.
4566 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4568 * toc.C (getTocList): protect against buf=0
4570 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4571 Menu as first parameter. Now, this calls itself recursively to
4572 expand a whole tree (this will be useful for TOC handling)
4573 (expandFloatInsert): remove 'wide' version of floats
4575 * MenuBackend.h (submenuname): returns the name of the submenu.
4576 (submenu): returns the submenu itself, provided it has been
4577 created by MenuBackend::expand
4579 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4581 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4582 insets which have noFontChange == true. (bug #172)
4584 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4586 * BufferView_pimpl.C: add connection objects and use them...
4589 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4591 * MenuBackend.C (expandLastfiles):
4594 (expandFloatListInsert):
4595 (expandFloatInsert):
4596 (expand): split expand in parts
4598 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4600 * lyx_gui.C: use lyx_gui::exit()
4602 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4604 * LyXAction.C: show the failing pseudo action
4606 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4608 * buffer.C (readFile): Run the lyxconvert script in order to read
4611 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4615 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4617 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4621 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4623 2002-07-22 Herbert Voss <voss@lyx.org>
4626 * lyxlength.[Ch]: add support for the vertical lengths
4628 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4630 * toc.[Ch]: std:: fixes
4632 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4634 * lyxrc.C: do not include lyx_main.h
4636 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4642 * BufferView2.C: include "lyxlex.h"
4645 * bufferparams.h: do not #include "lyxlex.h"
4647 * lyxtextclasslist.C (Add): remove method
4648 (classlist): renamed to classlist_
4650 * paragraph_pimpl.C:
4654 * bufferview_funcs.C:
4659 * toc.C (getTocList): use BufferParams::getLyXTextClass
4661 * toc.C (getTocList): use InsetFloat::addToToc
4663 * toc.[Ch]: new files, containing helper functions to handle table
4666 * lyxfunc.C (dispatch): no need to remove spaces around command
4668 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4669 first command of the sequence; it is not very clever, but I do not
4670 have a better idea, actually
4672 * LyXAction.C (LookupFunc): make sure to remove space at the
4673 beginning and end of the command
4675 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4677 * MenuBackend.C (getMenubar): new method: return the menubar of
4679 (read): treat differently reading of menu and menubar (in
4680 particular, the menubar has no name now)
4681 (Menu::menubar): remove
4683 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4686 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4688 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4689 a bibitem inset in a RTL paragraph.
4691 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4693 * paragraph_pimpl.C: constify
4695 * BufferView_pimpl.C:
4697 * lyxfunc.C: fix dispatch in a nicer way
4699 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4701 * lyxfunc.C (dispatch):
4702 * BufferView_pimpl.C:
4703 * BufferView_pimpl.h:
4705 * BufferView.h: rename Dispatch() to dispatch()
4707 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4709 * lyxlayout.C (Read): honor DependsOn tag
4711 * lyxlayout.[Ch] (depends_on): new method
4713 * version.C.in: update lyx_docversion
4715 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4717 * paragraph.C (validate): remove from here...
4718 * paragraph_pimpl.C (validate): ... and move here
4719 (isTextAt): make it const
4721 * buffer.C (getLists): ws cleanup
4723 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4725 * language.C (read): Use iso8859-1 encoding in latex_lang
4726 (this prevents LyX from crashing when using iso10646-1 encoding).
4728 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4730 * text2.C (toggleInset): if cursor is inside an inset, close the
4731 inset and leave cursor _after_ it
4733 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4735 * lyxfunc.C: move minibuffer completion handling out of here
4737 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4739 * BufferView_pimpl.C:
4740 * LaTeX.C: fix dispatch calls
4742 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4744 * text.C (drawChars): Fix Arabic text rendering.
4746 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4750 * lyxfunc.C: remove message-push/pop
4754 * lyxfunc.C: rationalise some code by removing verboseDispatch
4755 in favour of a bool argument to dispatch()
4757 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4759 * lyx_main.C (init): make sure to read symlinks as absolute paths
4761 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4764 * lyxfunc.C: no need for commandshortcut to be a member
4766 2002-07-15 André Pönitz <poenitz@gmx.net>
4768 * converter.C: add support for $$s (scripts from lib/scripts dir)
4769 * lyx_main.C: white space
4771 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4775 * lyxrc.C: remove second exit confirmation
4777 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4782 * BufferView_pimpl.h:
4783 * BufferView_pimpl.C:
4784 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4786 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4788 * MenuBackend.C (expand): add numeric shortcuts to document menu
4790 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4792 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4794 * lyxfont.C (setLyXFamily):
4801 * buffer.C (asciiParagraph): use ascii_lowercase
4803 2002-07-15 Mike Fabian <mfabian@suse.de>
4805 * lyxlex_pimpl.C (search_kw):
4806 * lyxlex.C (getLongString):
4807 * converter.h (operator<):
4808 * converter.C (operator<):
4809 * buffer.C (parseSingleLyXformat2Token):
4811 * ToolbarDefaults.C (read):
4812 * MenuBackend.C (checkShortcuts):
4814 * LColor.C (getFromGUIName):
4815 (getFromLyXName): use the compare_ascii_no_case instead of
4816 compare_no_case, because in turkish, 'i' is not the lowercase
4817 version of 'I', and thus turkish locale breaks parsing of tags.
4819 2002-07-16 Angus Leeming <leeming@lyx.org>
4821 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4822 now takes a Buffer const & argument.
4824 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4826 * BufferView.C (resize): check there's a buffer to resize
4828 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4830 * lyxfunc.C: remove dead code
4833 * lyxserver.C: use lyx_guii::set_read_callback
4835 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4837 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4838 an inset in a RTL paragraph.
4840 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4842 * lyxfunc.C: repaint after a font size update
4844 2002-07-15 André Pönitz <poenitz@gmx.net>
4846 * lyxlength.C: inBP should be able to return negative values
4848 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4850 * lyxfunc.C: use lyx_gui::update_fonts()
4852 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4854 * lyxfunc.C: use lyx_gui::update_color()
4856 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4862 * lyxrc.C: remove file->new asks for name option, and let
4863 buffer-new take an argument
4865 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4867 * BufferView_pimpl.C: remove unneeded extra repaint()
4869 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4871 * LyXAction.C: allow command-sequence with NoBuffer
4873 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4875 2002-07-10 Angus Leeming <leeming@lyx.org>
4877 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4879 2002-07-09 Angus Leeming <leeming@lyx.org>
4881 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4883 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4885 * lengthcommon.h: whitespace
4887 * lyxfunc.C: update scrollbar after goto paragraph
4889 * lyxtext.h: factor out page break drawing, and fix it so
4890 page break/added space paints as selected nicely
4892 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4894 * BufferView_pimpl.C: add FIXMEs, clean up a little
4896 2002-07-09 André Pönitz <poenitz@gmx.net>
4898 * lyxfont.[Ch]: support for wasy symbols
4900 2002-07-08 André Pönitz <poenitz@gmx.net>
4902 * BufferView_pimpl.C: apply John's patch for #93.
4904 2002-07-05 Angus Leeming <leeming@lyx.org>
4906 * BufferView_pimpl.C (buffer): generate previews if desired.
4908 * LColor.h: add "preview" to the color enum.
4910 * LColor.C (LColor): add a corresponding entry to the items array.
4912 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4915 2002-07-05 Angus Leeming <leeming@lyx.org>
4917 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4918 The body of the code is now in the method that is passed an ostream &
4919 rather than a file name.
4920 Pass an additional only_preamble parameter, useful for the forthcoming
4923 2002-07-03 André Pönitz <poenitz@gmx.net>
4925 * lyxfunc.C: simplify getStatus() a bit for math stuff
4927 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4929 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4931 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4933 * text.C (changeRegionCase): do not change case of all the
4934 document when region ends at paragraph end (bug #461)
4936 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4938 * paragraph.C (startTeXParParams):
4939 (endTeXParParams): add \protect when necessary
4941 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4943 * BufferView_pimpl.C (workAreaExpose): remove warning
4945 2002-06-27 Angus Leeming <leeming@lyx.org>
4947 * Makefile.am: add lyxlayout_ptr_fwd.h.
4949 2002-06-26 André Pönitz <poenitz@gmx.net>
4951 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4953 2002-06-25 Angus Leeming <leeming@lyx.org>
4955 * lyxfunc.C (dispatch): Comment out the call to
4956 grfx::GCache::changeDisplay. The method no longer exists now that the
4957 pixmap generation part of the graphics loader has been moved into
4960 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4962 * text2.C: layout as layout
4964 * text.C: layout as layout
4966 * tabular.C (OldFormatRead): layout as layout
4968 * paragraph_pimpl.C (TeXDeeper): layout as layout
4969 (realizeFont): layout as layout
4971 * paragraph.C (writeFile): layout as layout
4972 (validate): layout as layout
4973 (getFont): layout as layout
4974 (getLabelFont): layout as layout
4975 (getLayoutFont): layout as layout
4976 (breakParagraph): layout as layout
4977 (stripLeadingSpaces): layout as layout
4978 (getEndLabel): layout as layout
4979 (getMaxDepthAfter): layout as layout
4980 (applyLayout): layout as layout
4981 (TeXOnePar): layout as layout
4982 (simpleTeXOnePar): layout as layout
4983 (TeXEnvironment): layout as layout
4984 (layout): layout as layout
4985 (layout): layout as layout
4987 * lyxtextclass.C (compare_name): new functor to work with
4988 shared_ptr, layout as layout
4989 (Read): layout as layout
4990 (hasLayout): layout as layout
4991 (operator): layout as layout
4992 (delete_layout): layout as layout
4993 (defaultLayout): layout as layout
4995 * lyxlayout_ptr_fwd.h: new file
4997 * lyxlayout.C (Read): layout as layout
4999 * lyx_cb.C (MenuInsertLabel): layout as layout
5001 * bufferlist.C (newFile): layout as layout
5003 * buffer.C (readLyXformat2): layout as layout
5004 (parseSingleLyXformat2Token): layout as layout
5005 (insertStringAsLines): layout as layout
5006 (asciiParagraph): layout as layout
5007 (latexParagraphs): layout as layout
5008 (makeLinuxDocFile): layout as layout
5009 (simpleLinuxDocOnePar): layout as layout
5010 (makeDocBookFile): layout as layout
5011 (simpleDocBookOnePar): layout as layout
5012 (getLists): layout as layout
5014 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5016 * CutAndPaste.C (cutSelection): layout as layout
5017 (pasteSelection): layout as layout
5018 (SwitchLayoutsBetweenClasses): layout as layout
5020 * BufferView_pimpl.C (Dispatch): layout as layout
5021 (smartQuote): layout as layout
5023 * BufferView2.C (unlockInset): layout as layout
5025 2002-06-24 André Pönitz <poenitz@gmx.net>
5027 * lyxfunc.C: fix #487
5029 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5033 * lyxfunc.C: remove display_shortcuts, show_banner
5035 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5037 * Buffer_pimpl.C: oops, update on resize
5039 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5046 * BufferView.C: use repaint()
5048 * BufferView_pimpl.h:
5049 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5050 as it's a clearer description. Remove superfluous
5053 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5055 * text.C: fix bug 488. Not ideal, but getting
5056 getWord() to work properly for the insets that
5057 matter is more difficult ...
5059 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5061 * BufferView_pimpl.C:
5064 * lyxfunc.C: remove the six million index lyxfuncs to just
5065 one, and DTRT (bug 458)
5067 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5071 * BufferView_pimpl.h:
5072 * BufferView_pimpl.C: clean up resize() stuff,
5073 and unnecessary updateScreen()s
5075 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5079 * BufferView_pimpl.h:
5080 * BufferView_pimpl.C:
5083 * minibuffer.C: remove focus management of workarea,
5084 not needed. Use screen's greyOut()
5086 2002-06-17 Herbert Voss <voss@lyx.org>
5088 * converter.C: (convert) do not post a message, when converting
5089 fails, let the calling function decide what to do in this case
5091 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5093 * lyxfunc.C: tidy up a little
5095 2002-06-16 <alstrup@diku.dk>
5097 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5098 Got rid of FORMS_H_LOCATION include. Now we are
5101 2002-06-15 LyX Development team <lyx@rilke>
5103 * buffer.[Ch] (sgmlOpenTag):
5104 (sgmlCloseTag): Added support for avoiding pernicious mixed
5105 content. Return number of lines written.
5108 (makeDocBookFile): Fixed calls to sgml*Tag.
5109 Simple white space clean.
5111 (simpleDocBookOnePar): Simple white space clean.
5113 * tabular.[Ch] (docBook): Renamed to docbook and got another
5114 argument to related with the pernicious mixed content.
5116 (docbookRow): Fixed calls for docbook inset method.
5118 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5120 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5121 so it's X11 independent.
5125 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5127 2002-06-15 Lyx Development team <lyx@electronia>
5129 * intl.h: Renamed getTrans to getTransManager.
5131 2002-06-14 Angus Leeming <leeming@lyx.org>
5133 * Makefile.am: nuke forgotten stl_string_fwd.h.
5135 2002-06-12 Angus Leeming <leeming@lyx.org>
5137 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5139 2002-06-13 Angus Leeming <leeming@lyx.org>
5142 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5144 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5146 * kbmap.C (getiso): add support for cyrillic and greek
5148 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5152 * BufferView_pimpl.h:
5153 * BufferView_pimpl.C: move bogus scrolling logic
5156 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5159 * BufferView_pimpl.C: view->resize() change
5161 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5163 * BufferView_pimpl.C: topCursorVisible
5166 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5170 * lyx_gui.C: move to frontends/
5174 * lyx_main.C: changes from above
5176 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5183 * lyx_main.C: minor tidy
5185 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5187 * BufferView_pimpl.h:
5188 * BufferView_pimpl.C:
5190 * BufferView.C: make painter() const,
5193 * BufferView2.C: use screen() accessor
5196 * lyx_main.C: some minor cleanup
5198 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5200 * BufferView_pimpl.h:
5201 * BufferView_pimpl.C: remove enter/leaveView,
5204 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5209 * BufferView_pimpl.h:
5210 * BufferView_pimpl.C: only construct screen once,
5213 * lyxrc.C: remove pointless comment
5215 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5218 * BufferView.C: remove active() and belowMouse()
5220 * BufferView_pimpl.h:
5221 * BufferView_pimpl.C: use workarea() not workarea_,
5222 and make it use a scoped_ptr instead
5224 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5226 * lyx_gui.C: add debug message on BadWindow
5228 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5230 * sp_spell.C: fdopen is not part of the C++ standard.
5232 * paragraph.C (InsetIterator): use >= instead of ==
5234 2002-06-07 Angus Leeming <leeming@lyx.org>
5236 Fixes needed to compile with Compaq cxx 6.5.
5237 * BufferView_pimpl.C:
5244 * lyxtextclasslist.C:
5249 all c-library variables have been moved into namespace std. Wrap
5250 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5255 Add a using std::abs declaration.
5257 * kbmap.h (modifier_pair):
5258 * paragraph.h (InsetTable, InsetList):
5259 * lyxfont.h (FontBits):
5260 type definition made public.
5262 * bufferlist.C (emergencyWriteAll): the compiler complains that
5263 there is more than one possible lyx::class_fun template to choose from.
5264 I re-named the void specialisation as lyx::void_class_fun.
5266 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5268 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5269 the compiler is is unable to find tostr in write_attribute.
5271 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5273 * buffer.C (sgmlError): hide #warning
5275 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5277 * xtl/*: get rid of xtl, which is not in use anyway
5279 * LyXAction.C (init):
5280 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5281 were unimplemented xtl experimentation
5283 2002-06-04 André Pönitz <poenitz@gmx.net>
5285 * lyxfunc.C: disable array operation on simple formulae
5287 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5289 * converter.C: constify a bit
5291 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5293 * lyx_gui.C: check xforms version correctly
5295 2002-04-30 Herbert Voss <voss@lyx.org>
5297 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5300 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5302 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5303 attempt to register it with a VCS)
5305 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5307 * lyx_main.C (init): honor variables LYX_DIR_13x and
5310 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5314 * lyx_main.C: fix a crash on bad command line,
5315 and give a useful exit status on error
5317 * lyxfunc.C (doImport): allow -i lyx to work
5319 2002-03-30 André Pönitz <poenitz@gmx.net>
5321 * lyxfunc.C: mathed font changes
5323 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5338 * trans_mgr.h: srcdocs, and some minor cleanups
5340 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5342 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5343 call getFont all the time)
5345 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5347 * switch from SigC signals to boost::signals
5349 2002-05-29 André Pönitz <poenitz@gmx.net>
5351 * paragraph_pimpl.C (getChar): don't call size() too often...
5353 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5355 * paragraph_pimpl.C (insertChar): do not try to update tables when
5356 appending (pos == size())
5358 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5359 in order to reduce drastically the number of comparisons needed to
5360 parse a large document
5362 2002-05-29 André Pönitz <poenitz@gmx.net>
5368 * textclasslist.[Ch]:
5369 * sp_ispell.h: whitespace change
5371 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5373 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5374 lyxaction directly now.
5376 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5380 * lyxvc.C: remove unused headers
5382 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5389 * undo_funcs.C: some cleanups. Use shared_ptr
5390 and a template for the undo stacks.
5392 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5394 * BufferView_pimpl.h:
5395 * BufferView_pimpl.C:
5402 * text2.C: use key_state/mouse_state
5404 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5406 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5409 * chset.C: change include order
5410 (loadFile): use boost regex and get rid of LRegex and LSubstring
5412 * Makefile.am (BOOST_LIBS): new variable
5415 * LaTeX.C: change include order.
5416 (scanAuxFile): use boost regex and get rid of LRegex and
5420 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5425 * FontInfo.C: moved to frontends/xforms/
5428 * FontLoader.C: moved into frontends for GUIIzation
5433 * lyxfunc.C: changes from above
5435 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5437 * LColor.C: remove spurious X include
5439 * BufferView_pimpl.C:
5444 * text2.C: move font metrics to frontends/
5446 2002-05-24 Juergen Vigna <jug@sad.it>
5448 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5449 setting the undo_cursor.
5451 * ParagraphParameters.h: include local includes first.
5453 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5455 * BufferView_pimpl.C:
5456 * BufferView_pimpl.h:
5460 * screen.C: move WorkArea into frontends/
5466 * BufferView2.C: move LyXScreen into frontends/
5470 * lyx_gui.C: move lyxlookup into frontends/xforms/
5472 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5475 * BufferView_pimpl.C:
5485 * bufferview_funcs.C:
5498 * vc-backend.C: move LyX/XFormsView into frontends/
5500 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5512 * text2.C: move Painter to frontends/
5514 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5516 * buffer.C: comment out some some code that depend upon lyx_format
5519 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5520 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5522 * buffer.h (NO_COMPABILITY): turn off compability
5524 * ColorHandler.C: include scoped_array.hpp
5526 * font.C: Use more specific smart_ptr header.
5529 * ShareContainer.h: ditto
5533 * BufferView_pimpl.h: ditto
5534 * ColorHandler.h: ditto
5536 * kbmap.C (defkey): change call to shared_ptr::reset
5538 2002-05-21 Juergen Vigna <jug@sad.it>
5540 * buffer.C (insertErtContents): fix to insert ert asis if it is
5541 non empty. Skip it completely if it contains only whitespaces.
5543 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5545 * BufferView_pimpl.C:
5546 * BufferView2.C: clear selection on paste (bug 393)
5548 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5550 * DepTable.C: include ctime
5552 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5554 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5556 2002-05-14 Juergen Vigna <jug@sad.it>
5558 * text.C (breakParagraph): fixed function to honor the keepempty
5559 layout in the right maner and also to permit the right breaking
5560 algorithm on empty or non empyt keepempty paragraphs.
5562 * paragraph.C (breakParagraph): we have to check also if the par
5563 is really empty (!size()) for isempty otherwise we do the wrong
5566 2002-05-10 Juergen Vigna <jug@sad.it>
5568 * buffer.[Ch] : The following are only changes to the ert
5569 compatibility read reading old LaTeX layout and font stuff and
5570 convert it to ERTInsets.
5572 * buffer.h: added isErtInset().
5574 * buffer.C (struct ErtComp): add a fromlayout bool to check
5575 if we're inside a LaTeX layout.
5576 (isErtInset): new helper function.
5577 (insertErtContents): look for other ert insets before this one
5578 and insert the contents there, so that we don't have subsequent
5579 ERT insets with nothing between them. This way we create only one
5580 inset with multiple paragraphs. Also check if we don't insert only
5581 spaces ' ' as they are ignored anyway afterwards in the .tex file
5582 so if we have only spaces we will ignore this latex part in the
5584 (parseSingleLyXformat2Token \\layout): better compatibility when
5585 reading layout-latex stuff.
5586 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5588 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5589 stuff after reading the inset only get the information back from
5592 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5594 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5596 * LaTeXFeatures.C (getBabelOptions): New method.
5598 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5600 * BufferView_pimpl.C (Dispatch): work around missing argument for
5603 2002-05-08 Juergen Vigna <jug@sad.it>
5605 * text.C (leftMargin): handle paragraph leftindent.
5607 * paragraph.C (writeFile): write the new \\leftindent tag.
5608 (validate): handle leftindent code.
5609 (TeXEnvironment): handle paragraphleftindent code again.
5611 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5613 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5614 for paragrap_extra indent code and new token \\leftindent.
5615 (latexParagraphs): handle the leftindent as environment.
5617 * ParameterStruct.h: added leftindent support.
5619 * ParagraphParameters.C (leftIndent): added support functions for
5620 the paragraph left indent.
5622 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5625 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5627 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5630 * text.C (computeBidiTables): No bidi in insetERT.
5632 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5635 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5637 * version.C.in: pre 5
5639 2002-05-02 José Matos <jamatos@fep.up.pt>
5640 * buffer.C (makeDocBookFile): white space changes, add newline to
5642 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5644 * tabular.C (docBook): fix typo.
5646 2002-05-03 Juergen Vigna <jug@sad.it>
5648 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5649 change in LyXText as we can not be sure it was not freed.
5650 (drawOneRow): remove unused code.
5652 * text.C (drawInset): redo the calculation of the need_break_row as
5653 it could have a row which was already freed.
5654 (draw): look at the return value of drawInset and return false if
5655 it also returned false.
5656 (paintRowText): look at the return value of draw and return false if
5657 it also returned false.
5659 * lyxtext.h: added bool return type to drawInset() and draw() so that
5660 if we have a change in the row so that the rowbreak has to be redone
5661 we abort drawing as it will be called again.
5663 2002-05-02 Juergen Vigna <jug@sad.it>
5665 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5666 a change in the maintext also if we're inside an inset.
5667 (Dispatch): set the cursor again after a break line and after the
5668 screen has been updated as it could be we're in a different row.
5670 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5671 to set the cursor behind the pargraph with > size().
5672 (setCursor): check also for the same paragraph when checking where
5673 to put the cursor if we have a NFR inset.
5675 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5676 parts of layout read further up as it still was in the wrong
5679 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5681 * screen.C (drawFromTo): change sine fullRebreak always return
5684 * buffer.C (parseSingleLyXformat2Token): reindent some
5686 * BufferView_pimpl.C (update): change since fullRebreak always
5688 (Dispatch): git rid of the last hardcoded "Standard"s.
5690 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5692 * text2.[Ch] (fullRebreak): make it return void now that we always
5695 2002-04-30 Juergen Vigna <jug@sad.it>
5697 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5698 ert compatibility check for "latex" layout.
5700 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5702 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5703 minipages: use col% instead of p%, and also use the current font.
5704 (makeLaTeXFile): Fix use babel condition.
5705 (parseSingleLyXformat2Token): Correct font when reading old floats.
5707 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5709 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5710 inserting list of floats.
5712 2002-04-25 Herbert Voss <voss@lyx.org>
5714 * MenuBackend.C (expand): don't add the graphics extensions to the
5717 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5719 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5720 non-existing layout, do not complain if it was the default layout
5721 of the original class (bug #342)
5723 2002-04-24 Juergen Vigna <jug@sad.it>
5725 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5726 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5728 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5730 * buffer.C (getBibkeyList): If using \bibliography, return the
5731 option field with the reference itself. Enables us to provide natbib
5732 support when using \bibliography.
5734 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5736 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5738 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5739 natbib is provided by the LaTeX class.
5741 2002-04-23 Juergen Vigna <jug@sad.it>
5743 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5746 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5748 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5750 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5752 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5753 ensuremath around textordmasculine, textordfeminine and
5756 2002-04-19 Juergen Vigna <jug@sad.it>
5758 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5759 reinitializing the buffer otherwise row-dimensions may be wrong.
5760 (update): reset also the selection cursors if they do exits otherwise
5761 their x/y positions may be wrong.
5763 * text2.C (cursorDown): don't enter the inset if we came from a row
5764 above and are one row over the inset.
5766 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5767 really leaving an inset.
5769 2002-04-18 Juergen Vigna <jug@sad.it>
5771 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5772 of the selected paragraph does not have the selected layout also if
5775 * text2.C (setLayout): fixed bug which did not change last selected
5778 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5779 changed the read and substituted \\end_float with \\end_inset!
5781 * BufferView_pimpl.C (cursorPrevious):
5782 (cursorNext): fixed to make it work with rows heigher than the work
5783 area without moving the cursor only the draw of the row.
5784 (workAreaMotionNotify): fix jumping over high rows.
5786 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5788 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5791 2002-04-16 Juergen Vigna <jug@sad.it>
5793 * text2.C (setCursor): set also the irow().
5794 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5796 (cursorDown): support for locking an inset if the x_fix value goes
5797 inside it. That way I can transverse insets too with cursor up/down.
5799 * lyxrow.h: added irow helper function same as other (i) functions.
5801 * BufferView_pimpl.C (cursorPrevious):
5802 (cursorNext): fixed for insets!
5804 2002-04-15 Juergen Vigna <jug@sad.it>
5806 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5807 position otherwise it is wrong in some cases.
5809 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5810 inside the inset before the call.
5812 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5814 * buffer.[Ch] (getBibkeyList): make it const.
5816 2002-04-12 Juergen Vigna <jug@sad.it>
5818 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5820 * text2.C (getCursorX): new helper function
5821 (setCursor): compute also ix_
5822 (setCursorFromCoordinates): set also ix.
5824 * lyxcursor.h: added ix_ and helper functions.
5826 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5828 * buffer.C (insertStringAsLines): dont break paragraph if the this
5829 paragraph is inside an inset which does not permit it!
5831 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5832 also with no chars on this paragraph.
5833 (paintRowText): only paint stuff if it's inside the workarea!
5835 * paragraph.C (breakParagraph): honor keepempty flag and break the
5836 paragraph always below not above.
5838 * BufferView2.C (unlockInset): update the paragraph layout on inset
5839 unlock as we changed paragraph in such a case.
5841 * lyxfind.C (LyXFind): clear the former selection if not found!
5843 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5844 again called in insertChar().
5846 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5847 an inset which uses the whole row!
5848 (rightMargin): ditto.
5849 (insertChar): force a rebreak if we inserted an inset!
5851 2002-03-28 Herbert Voss <voss@lyx.org>
5853 * lyxlength.[Ch]: add inBP() to get the right PS-point
5854 units (BigPoint). With inPixels we have rounding errors
5856 2002-04-11 Juergen Vigna <jug@sad.it>
5858 * text2.C (setCursorFromCoordinates): set iy to the right value.
5859 (setCursor): add check if row->previous exists!
5861 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5862 an old float_type as this was the case in the old code!
5864 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5866 * BufferView2.C (showLockedInsetCursor): use iy
5867 (fitLockedInsetCursor): ditto
5869 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5870 locked insets as there we have the right value now.
5872 * lyxcursor.C: added iy_ variable and iy functions to set to the
5873 baseline of cursor-y of the locked inset.
5875 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5876 (setCursor): fixed for insets which need a full row.
5878 * text.C (rowLastPrintable): don't ignore the last space when before
5879 an inset which needs a full row.
5880 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5881 as last character of a row when before a inset which needs a full row.
5883 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5885 * version.C.in: update date
5887 * text2.C (fullRebreak): try to always return true and see what
5890 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5892 * MenuBackend.C (expand): use Floating::listName
5894 * FloatList.C (FloatList): add listName argument to the built-in
5897 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5898 text associated with the float.
5900 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5902 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5904 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5906 * ShareContainer.h: add a couple of missing typenames.
5908 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5910 * lyxrc.C (getDescription): use _() correctly rather than N_().
5912 2002-03-28 Herbert Voss <voss@lyx.org>
5914 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5915 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5917 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5919 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5920 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5922 2002-03-29 Juergen Vigna <jug@sad.it>
5924 * lyxfunc.C (dispatch): add a missing fitCursor call.
5926 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5927 it was scrolled by a cursor move, so return the bool status.
5929 * BufferView.C (fitCursor): return the bool flag also to the outside
5930 world as this is needed.
5932 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5934 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5935 call the edit() as it is not needed (and wrong) IMO.
5936 (workAreaButtonPress): set the screen_first variable before evt.
5937 unlock the inset as this may change screen_first and then we have
5938 a wrong y position for the click!
5940 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5942 * MenuBackend.C (expand): another translation that I missed
5944 2002-03-28 Juergen Vigna <jug@sad.it>
5946 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5948 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5950 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5952 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5954 * MenuBackend.C (expand): fix export/view/update when there is no
5957 2002-03-27 Herbert Voss <voss@lyx.org>
5959 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5962 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5964 * bufferview_funcs.C (currentState): only show paragraph number
5965 for is DEVEL_VERSION is set.
5967 * lyxfunc.C (dispatch): put warning in INFO channel
5969 * MenuBackend.C (expand): translate the name of floats
5971 * FloatList.C (FloatList): mark the float names for translation
5973 * converter.C (convert): use LibScriptSearch
5975 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5977 * MenuBackend.C (defaults): fix default menu (we might as well get
5980 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5982 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5985 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5987 * lyxvc.C: reorder includes.
5989 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5991 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5994 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5996 * CutAndPaste.C: change layouts earlier on paste
5997 to avoid crashing when calling getFont()
5999 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6001 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6004 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6006 * WorkArea.C: remove 'Pending' debug message.
6008 * most files: ws cleanup
6010 * buffer.[Ch]: ws changes
6012 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6014 2002-03-21 Juergen Vigna <jug@sad.it>
6016 * tabular.C (SetMultiColumn): collapse also the contents of the
6017 cells and set the last border right. Added a Buffer const * param.
6019 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6021 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6024 2002-03-19 Juergen Vigna <jug@sad.it>
6026 * text2.C (clearSelection): reset also xsel_cache.
6028 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6029 where it needs to be called (John tells us to do so too :)
6030 (selectionLost): reset sel_cache.
6032 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6034 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6036 * text2.C (setCursorIntern): put debuging code in INSETS channel
6038 2002-03-19 André Pönitz <poenitz@gmx.net>
6040 * lyxfunc.C: tiny whitespace change
6042 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6044 * ToolbarDefaults.C (init):
6045 * LyXAction.C (init):
6047 * BufferView_pimpl.C (Dispatch):
6048 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6050 2002-03-19 Allan Rae <rae@lyx.org>
6052 * exporter.C (Export): removeAutoInsets before doing anything else.
6053 While I've just introduced a dependency on BufferView this really is
6054 the best place to clean the buffer otherwise you need to cleanup in
6055 a dozen places before calling export or cleanup in a dozen functions
6058 * converter.C (runLaTeX):
6059 (scanLog): Better handling of removeAutoInsets and screen updates.
6061 * lyxfunc.C (dispatch): small whitespace changes
6063 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6065 * WorkArea.C (C_WorkAreaEvent): return a value.
6066 (event_cb): return 1 if we handled the event, 0 otherwise.
6068 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6070 2002-03-18 Juergen Vigna <jug@sad.it>
6072 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6073 (GetAdditionalWidth): ditto.
6077 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6078 inset if we're there actually (probably not used right now but this
6079 is the direction to go for unifying code).
6080 (paste): disable code to clear the selection.
6082 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6083 inside an InsetText and move the check further up as it is in the
6086 * text2.C (pasteSelection): set a selection over the pasted text.
6088 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6090 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6091 and libgraphics to build on Cygwin.
6093 2002-03-15 Juergen Vigna <jug@sad.it>
6095 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6096 inserting an Inset into the paragraph. I know this is not the best
6097 fix but we already use current_view in CutAndPaste so we will remove
6098 all of it's using at the same time.
6100 * buffer.C (sgmlError): deactivated function till it is rewritten in
6101 the right mode, now it can create problems.
6103 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6104 before accessing it.
6106 2002-03-14 Juergen Vigna <jug@sad.it>
6108 * undo_funcs.C (textHandleUndo): do the right thing when updating
6109 the inset after the undo/redo.
6111 * text2.C (setCursor): just some testcode for #44 not ready yet.
6113 * undo_funcs.C (textHandleUndo): set the next() and previous()
6114 pointers of the paragraph to 0 before deleting otherwise we have
6115 problems with the Paragraph::[destructor].
6117 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6118 on a paragraph insertion.
6120 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6122 * buffer.C (asciiParagraph): use += operator for char append to
6125 * paragraph.C (getFontSettings): compare >= not just >
6126 (highestFontInRange): ditto
6129 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6131 * paragraph.C: change several algorithm to be more appripriate for
6132 the problem domain. This is lookip in FontList and in the InsetList.
6134 2002-03-13 André Pönitz <poenitz@gmx.net>
6137 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6139 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6144 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6146 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6148 * Painter.C (display): anon helper function, adjust code for this
6150 (pixmap): remove function.
6152 * Painter.h: remove private display variable.
6154 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6156 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6158 * WorkArea.[Ch]: remove figinset_canvas cruft.
6160 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6162 * lyxtextclass.C (operator): add one item cache optimization.
6164 * bufferlist.h: doxy changes
6166 * bufferlist.C: ws changes
6168 * DepTable.[Ch] (ext_exist): place const in the right spot.
6170 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6172 (workAreaExpose): call resizeInsets when the with BufferView changes.
6173 (Dispatch): adjust for protectedBlank removal
6174 (specialChar): call updateInset if the insert went ok.
6176 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6177 specialChar instead.
6179 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6181 * BufferView.h: doxy change
6183 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6185 * lyxtextclass.C (operator[]): remove non-const version
6186 (defaultLayout): remove non-const version
6188 2002-03-12 Juergen Vigna <jug@sad.it>
6190 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6191 did resize the LyXText too.
6193 * buffer.C (readLyXformat2): set layout information on newly allocated
6196 * tabular.C (OldFormatRead): set layout information on the paragraph.
6198 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6200 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6202 2002-03-11 Juergen Vigna <jug@sad.it>
6204 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6206 (resizeCurrentBuffer): force also the insets to resize themselfes.
6207 (moveCursorUpdate): fixed up for InsetText.
6209 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6212 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6213 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6214 value of Dialogs::tooltipsEnabled().
6215 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6217 2002-03-08 Juergen Vigna <jug@sad.it>
6219 * BufferView_pimpl.C (updateInset): update inset inside inset also
6220 if it isn't inside theLockingInset().
6222 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6224 * buffer.C (asciiParagraph): redo some of the word and line length
6226 (getLists): look for Caption instead of caption.
6228 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6230 * buffer.C (Buffer): initialize niceFile to true
6233 (makeDocBookFile): make sure niceFile is true on exit
6235 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6237 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6239 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6241 * LyXSendto.C: remove.
6242 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6243 * lyx_gui.C: remove now-redundant comment.
6244 * ColorHandler.h: remove forward declaration of class WorkArea.
6245 * lyxfunc.C: remove #include "WorkArea.h".
6247 2002-03-07 Juergen Vigna <jug@sad.it>
6249 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6250 got moved away with the DEPM and also set the inset_owner always
6251 right which before could have been omitted.
6253 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6255 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6256 wanted layout is not found.
6258 2002-03-07 Juergen Vigna <jug@sad.it>
6260 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6262 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6264 * paragraph.C (breakParagraph): use default layout not layout of
6266 (Paragraph): clear ParagraphParameters.
6268 2002-03-06 Juergen Vigna <jug@sad.it>
6270 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6271 otherwise it would not be a valid lenght. Fixed a special case in
6272 the minipage compatibility read where we end the document with a
6275 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6276 was set as it could be 0 for InsetTexts first entry.
6278 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6280 * paragraph.C (writeFile): if layout is empty write out
6281 defaultLayoutName().
6283 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6284 file without named layout we set layout to defaultLayoutName().
6286 2002-03-06 Juergen Vigna <jug@sad.it>
6288 * CutAndPaste.C (copySelection): set layout for new paragraph.
6290 * text.C (prepareToPrint): leave ERT inset left aligned
6291 (leftMargin): don't indent paragraphs inside ERT insets
6293 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6295 * paragraph.C (breakParagraph): dont call clear do the work manually
6297 * paragraph.[Ch] (clear): remove function
6299 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6301 * paragraph.C (Paragraph): dont call clear, the work has already
6304 * lyxtextclass.C (operator): assert if n is empty
6306 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6307 work manually instead.
6309 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6311 * BufferView_pimpl.C: protect selectionLost against text == 0
6313 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6315 * text.C (breakParagraph): fix a setting layout to '0' problem.
6317 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6319 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6320 final location of file, for the included files, and graphics.
6322 2002-03-05 Juergen Vigna <jug@sad.it>
6324 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6326 2002-03-04 Juergen Vigna <jug@sad.it>
6328 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6330 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6331 last column of multicolumn cells.
6332 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6334 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6336 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6337 file if it doesn't go to a temporary file.
6339 * buffer.C (sgmlOpenTag):
6340 (sgmlCloseTag): remove extra newline insertion.
6342 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6344 * text.C (getRowNearY): comment out debug msg
6346 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6348 * text2.C: first -> first_y
6350 * text.C (getRowNearY): add some attemts at a possible
6351 optimization, not working.
6353 * tabular.[Ch]: add BufferParams to several function so that newly
6354 created paragraph can be initialized to he default layotu for the
6357 * tabular-old.C (ReadOld): add buf->params to call of Init
6359 * screen.C: rename text->first to text->first_y
6361 * paragraph.C (breakParagraph): always set layout in the broken
6364 * lyxtextclass.C (Read): remove lowercase
6367 (delete_layout): ditto
6369 * lyxtext.h: rename first -> first_y
6371 * lyxlayout.C (Read): remove lowercase
6374 (obsoleted_by): ditto
6376 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6378 * buffer.C (insertErtContents): add params are to InsetERT
6379 (parseSingleLyXformat2Token): add code to check if a paragraphs
6380 layout really exist.
6381 (parseSingleLyXformat2Token): add params to several inset
6383 (asciiParagraph): remove lowercase, do the layout comparisons with
6386 * BufferView_pimpl.C (cursorNext): first -> first_y
6387 (resizeCurrentBuffer): first -> first_y
6388 (updateScrollbar): first -> first_y
6389 (scrollCB): first -> first_y
6390 (workAreaMotionNotify): first -> first_y
6391 (workAreaButtonPress): first -> first_y
6392 (checkInsetHit): first -> first_y
6393 (cursorPrevious): first -> first_y
6394 (cursorNext): first -> first_y
6395 (Dispatch): add buffer_->params to severl inset contructors
6397 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6399 * lyxlayout.C (Read): remove some debug info that I forgot.
6401 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6402 clean up the code slightly.
6403 (makeLinuxDocFile): ditto
6404 (makeDocBookFile): ditto
6406 * text2.C: layout as string
6408 * text.C: layout as string
6410 * paragraph_pimpl.C: layout as string
6412 * paragraph.[Ch]: layout as string
6414 * lyxtextclasslist.[Ch]: layout as string
6416 * lyxtextclass.[Ch]: layout as string
6418 * lyxtext.h: layout as string
6420 * lyxlayout.[Ch]: layout as string
6422 * lyx_cb.C: layout as string
6424 * bufferview_funcs.C: layout as string
6426 * bufferparams.C: layout as string
6428 * buffer.C: layout as string
6430 * LyXView.[Ch]: layout as string
6432 * LaTeXFeatures.[Ch]: layout as string
6434 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6436 * BufferView_pimpl.C: change current_layout to string, remove
6441 (workAreaButtonRelease): layout as string
6443 * BufferView2.C (unlockInset): adjust
6445 * vspace.C (asLatexCommand): use an explict temp variable.
6447 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6449 * Makefile.am: use FRONTEND_*
6451 2002-03-01 Juergen Vigna <jug@sad.it>
6453 * tabular.C (SetWidthOfMulticolCell): changed to something better
6454 I hope but still work in progress.
6455 (recalculateMulticolumnsOfColumn): renamed function from
6456 recalculateMulticolCells as it is more appropriate now.
6457 (SetWidthOfCell): calculate multicols better.
6459 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6461 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6463 * lyxfunc.C (processKeySym): print sequence also if it is
6464 `deleted' (complete)
6466 * kbsequence.C (print): print sequence even if it is deleted
6467 (complete would be a better word, actually).
6469 * lyxfunc.C (dispatch): print complete options after a prefix key
6471 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6473 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6475 * text2.C (setCharFont): eliminate setCharFont code duplication.
6477 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6479 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6480 LFUN_TABULAR_FEATURE (bug #177)
6482 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6484 * Makefile.am: remove figure.h
6486 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6488 * Bufferview_pimpl.C:
6500 * text2.C: remove #include "lyx_gui_misc.h".
6502 * LaTeX.C: added #include <cstdio>
6504 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6506 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6507 that the paragraph following this one can have.
6509 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6511 * vspace.C (asLatexCommand): fix bogus gcc warning
6513 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6515 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6517 * text2.C (setLayout): get rid of redundant code
6519 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6521 * text2.C (incDepth): make sure depth cannot be increased beyond
6524 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6526 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6527 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6529 * PainterBase.h (image):
6530 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6533 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6537 * BufferView_pimpl.C:
6538 * BufferView_pimpl.h:
6558 * sp_spell.C: remove fig inset, and the crap house of
6559 cards that follows it
6561 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6567 * nt_defines.h: move .h into support/
6569 * vms_defines.h: remove
6571 * WorkArea.C: add space in debug output
6575 * buffer.C: add WITH_WARNINGS
6579 * bufferlist.C: s/retrive/retrieve/, add docs
6590 * lyxgui.C: add ID to X error handler
6592 * lyxtestclass.c: fix typo
6594 2002-02-26 Juergen Vigna <jug@sad.it>
6596 * tabular_funcs.C (write_attribute): changed so that some default
6597 attributes are not written at all.
6598 (getTokenValue): set default values before trying to read the
6599 value so we have the return value always set as default if we don't
6600 find the token we search for.
6602 * tabular.C (Write): write bools as bools not as strings!
6604 2002-02-22 Juergen Vigna <jug@sad.it>
6606 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6607 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6609 * text.C (leftMargin): don't add an indent for paragraphs inside
6610 tabular cells (fix #208).
6612 2002-02-21 José Matos <jamatos@fep.up.pt>
6614 * tabular.C (docBook): fixed support for long tables.
6616 2002-02-20 Juergen Vigna <jug@sad.it>
6618 * text2.C (getFont): get the drawing font of the Inset if this
6619 paragraph is inside an inset (only important for InsetERT for now).
6621 * buffer.C (insertErtContents): use new lanugage params in ERT
6624 * CutAndPaste.C: commenting out seemingly uneeded code.
6626 2002-02-19 Allan Rae <rae@lyx.org>
6628 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6629 Iterators might be simple to use but they also get invalidated.
6630 (removeAutoInsets): renamed saved cursor tracking variables and added
6631 some comments to clarify what everything does.
6633 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6640 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6641 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6644 * vc-backend.h: remove #include "support/syscall.h"
6648 * converter.C: rearrange #includes in Lars' approved fashion.
6650 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6651 forward declare class Timeout in the header file.
6653 * XFormsView.C: changes due to the above.
6655 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6658 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6659 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6661 2002-02-18 José Matos <jamatos@fep.up.pt>
6663 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6666 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6668 * a lot of small ws changes
6669 * add a lot of using std::XXX
6670 * use std construcs some places where approp.
6671 * use some exisint stuff from lyxfunctional where approp.
6672 * Make file changes to use partial linking (lets test this now...)
6674 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6678 remove #include "support/syscontr.h" as it's redundant. Always has been.
6686 change Systemcalls::System to Systemcalls::Wait and
6687 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6688 No change of functionality, just reflects the stripped down Systemcalls
6691 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6693 * debug.[Ch]: add a GRAPHICS type to the enum.
6695 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6697 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6699 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6702 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6704 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6705 match the changes below.
6707 * text2.C (toggleInset): if there is not editable inset at cursor
6708 position, try to see if cursor is _inside_ a collapsable inset
6711 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6713 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6714 document menu has a nice checkbox
6716 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6718 * lyxlength.C (asLatexString): change PW to output as percent of
6721 * lengthcommon.C: change '%' to 't%'
6723 * lyxfunc.C (dispatch): a few comments from Martin
6725 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6729 * BufferView_pimpl.h:
6730 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6733 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6735 * vspace.C (inPixels): fix compiler warning
6737 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6739 * lyxfunc.C (getStatus): fix status message for disabled commands.
6741 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6743 * BufferView_pimpl.C: fix crash on close buffer
6744 during selection (#227)
6746 2002-01-27 Herbert Voss <voss@lyx.org>
6748 * buffer.C: link old Figure to new graphic inset
6750 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6752 * FontLoader.C (getFontinfo): Change the latex font names in order
6753 to match the names of type1inst.
6755 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6757 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6759 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6762 (remove_files_with_extension): ditto
6763 (remove_file): ditto
6766 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6767 document is smaller than the work area height. Do not initialize
6768 static variables to 0.
6770 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6772 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6774 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6775 LFUN_LAYOUT_PARAGRAPHS.
6777 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6778 tabular. It is possible to provide a possible cell, which will
6779 typically be the actcell from the corresponding insettabular
6781 * lyxfunc.C (getStatus): small cleanup; disable
6782 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6785 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6787 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6789 * paragraph.C (startTeXParParams):
6790 (endTeXParParams): new methods. The LaTeX code to
6791 start/end paragraph formatting
6792 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6793 empty (fixes bug #200)
6795 * vspace.C (inPixels): adapt to the change below
6796 (inPixels): [later] more cleanups (remove unused variables)
6798 * lyxlength.C (inPixels): change to use a width and a height as
6801 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6803 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6804 Replaced with \paperwidth
6806 * DepTable.C (insert): add std:: qualifier
6808 2002-01-18 Allan Rae <rae@lyx.org>
6810 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6813 * text.C (drawInset): Turned out I didn't know enough about how
6814 rebreaking worked. This fixes most of the redraw problems. I see
6815 an occasional cursor trail when a line is broken now and the cursor
6816 placement can seem out by a few pixels also after a rebreak.
6818 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6820 * buffer.C (parseSingleLyXformat2Token): update because minipage
6821 width is now a LyXLength
6823 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6825 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6828 2002-01-17 Juergen Vigna <jug@sad.it>
6830 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6832 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6833 is set correctly and the inset is updated correctly.
6835 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6837 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6838 the beginning of the loop.
6840 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6842 * lyxrc.C: improve help for use_scalable_fonts
6844 2002-01-17 Allan Rae <rae@lyx.org>
6846 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6848 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6850 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6851 make sure to set their inset_owner to the right value (bug #171)
6853 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6856 * DepTable.C: Implement mtime checking to reduce time spent doing
6859 2002-01-16 Juergen Vigna <jug@sad.it>
6861 * tabular.C (GetAdditionalHeight): one of error fixed.
6863 * lyxrc.C (output): small fix in writing use_pspell.
6865 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6867 * sp_base.h: #include LString.h
6869 2002-01-16 Allan Rae <rae@lyx.org>
6871 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6872 Can someone check this please?
6874 * text.C (drawInset): It was possible that p.row would be removed by
6875 breakAgainOneRow upsetting a few other settings. There may be another
6876 small tweak possible by setting need_break_row = 0 when p.row has been
6877 removed but I don't know enough about the logic here.
6879 2002-01-15 Allan Rae <rae@lyx.org>
6881 * text.C (insertChar): removed conditional truism.
6883 * BufferView2.C (removeAutoInsets): More tweaks.
6884 cur_par_prev could be a stray pointer. Check for trailing empty line
6885 in case last line was cur_par and only had an error inset on it.
6887 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6889 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6892 * vc-backend.C (most methods):
6893 * exporter.C (Export):
6894 * converter.C (convert):
6896 * LyXSendto.C (SendtoApplyCB):
6897 * lyxfunc.C (dispatch):
6901 * lyx_cb.C (AutoSave):
6903 * BufferView_pimpl.C (MenuInsertLyXFile):
6904 * buffer.C (runChktex): use Buffer::filePath().
6906 * buffer.h: rename filename to filename_; rename filepath to
6907 filepath_ and make it private
6908 (filePath): new method
6910 * buffer.C (writeFile): use fileName()
6913 * lyx_main.C (init): fix starting of LyX when the binary is a
6914 link from so,ewhere else.
6916 * minibuffer.C: include <cctype> for isprint
6918 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6920 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6921 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6922 name clash with InsetCollapsable's width function.
6924 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6926 * lastfiles.C: include <iterator>
6928 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6930 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6933 * buffer.C (makeLaTeXFile): ditto.
6934 Also make loop operation more transparent.
6936 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6938 * ToolbarDefaults.C: remove trailing comma closing namespace.
6940 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6942 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6945 * trans.C (Load): comment out unused variable, allowed.
6947 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6949 * minibuffer.[Ch] (append_char): new method to recieve input from the
6950 drop-down completion browser. If a key was pressed, then recieve this
6951 char and append it to the existing string.
6952 (peek_event): modify the positioning data passed to the completion
6953 browser so that it can be placed above the minibuffer rather than below.
6954 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6956 * LyXAction.C (init): alloe error-next for readonly documents.
6958 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6961 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6963 * bufferlist.C (readFile): create the buffer _after_ checking that
6966 * lyxfunc.C (verboseDispatch): fix handling of arguments
6968 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6970 * lyxrc.C: use string::erase() instead of initializing to "".
6973 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6975 * BufferView_pimpl.h:
6976 * BufferView_pimpl.C:
6979 * text2.C: tell X when we have made a selection for copying
6981 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6983 * BufferView_pimpl.C (MenuInsertLyXFile):
6984 * lyxfunc.C (menuNew):
6986 (doImport): add shortcuts to directory buttons
6988 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6991 * lyxfunc.C (setStatusMessage):
6992 (getStatusMessage): new methods
6993 (getStatus):use setStatusMessage instead of setErrorMessage
6994 (dispatch): when function is disabled, set error message here
6995 [instead of in getStatus previously]
6997 * BufferView_pimpl.C (workAreaButtonRelease): update
6998 toolbar/menubar here too.
7000 2002-01-13 Allan Rae <rae@lyx.org>
7002 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7003 Now seems indestructible. Remaining task is to audit all other
7004 code affected by deleteEmptyParagraphMechanism. One small quirk
7005 left is that an empty document with an error in the preamble can
7006 be made to report an error but no error box appears. I don't know
7008 (removeAutoInsets): Improved comments.
7010 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7013 * Thesaurus.C: update for Aiksaurus 0.14
7015 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7017 * text2.C (firstParagraph): removed member function, all uses
7018 replaces with ownerParagraph
7019 (redoParagraphs): here
7021 (toggleAppendix): here
7022 * BufferView2.C (insertErrors): here
7023 (setCursorFromRow): here
7025 2002-01-13 Allan Rae <rae@lyx.org>
7027 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7028 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7029 There is still a way to segfault this although you may have to do this
7030 multiple times: Have an InsetERT with an unknown command in it.
7031 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7032 <down-arrow>, <Enter> again, View->DVI, BANG!
7034 * text2.C (setCursor):
7035 (deleteEmptyParagraphMechanism):
7036 * lyxtext.h (setCursor):
7037 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7038 Making use of the return value may help fix other bugs.
7040 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7042 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7044 * LyXView.C (updateMenubar): call MenuBar::update here
7045 (updateToolbar): but not here
7046 (showState): do not update toolbar/menubar
7048 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7049 should need to care about that.
7051 * lyxfunc.C (verboseDispatch): simplify a bit
7052 (getStatus): have a version which takes a pseudoaction, and
7053 another which requires a (kb_action,string).
7055 * LyXAction.C (retrieveActionArg): make it work also when action
7056 is not a pseudo-action.
7057 (getActionName): simplify a bit
7060 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7062 * lyxfunc.C (verboseDispatch): new families of methods with
7063 several ways to specify a command and a bool to indicate whether
7064 the command name and shortcut should be displayed in minibuffer
7065 (eventually, we could extend that to a finer bitmask like
7066 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7067 (dispatch): the pristine dispatch command which just, well,
7068 dispatchs! Note it still sets its result to minibuffer; I'm not
7071 * lyxfunc.h: remove setHintMessage
7073 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7075 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7077 * BufferView_pimpl.C (specialChar): delete new inset if we have
7078 not been able to insert it.
7080 * kbmap.C: revert to using int instead of kb_action, since all we
7081 are dealing with is pseudo-actions.
7083 * LyXAction.C (searchActionArg): change to return int instead of
7084 kb_action, since the result is a pseudoaction.
7086 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7088 * buffer.C (insertErtContents): Fix (partially) the font bug.
7090 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7092 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7093 as the other one is broken on my machine!
7095 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7098 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7100 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7102 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7103 reflect their actual use. Provide compatibility code for older lyxrc
7106 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7108 change names of popup font variables in line with the changes to lyxrc.C
7110 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7112 * buffer.C (asciiParagraph): avoid outputing a word twice after
7115 * lyxrc.C (getDescription): document that document_path and
7116 template_path can be empty.
7118 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7120 * LaTeXFeatures.C (getMacros):
7121 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7123 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7125 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7127 (getPackages): rename feature "floats" to "float". Use an array to
7128 iterate over 'simple' features (i.e. just a \usepackage). Add
7129 handling of "amsmath" (renamed from "amsstyle").
7131 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7133 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7136 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7138 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7139 FuncStaus::FuncStatus & FuncStaus::some_method().
7141 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7143 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7144 of the func_satus stuff. Edited and massaged in various ways by
7147 * lyxfunc.C (getStatus): use FuncStatus
7149 2002-01-08 Juergen Vigna <jug@sad.it>
7151 * text.C (nextBreakPoint): use function Inset::isChar().
7153 * paragraph.C (TeXOnePar): use function
7154 Inset::forceDefaultParagraphs.
7156 * buffer.C (latexParagraphs): use function
7157 Inset::forceDefaultParagraphs.
7159 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7161 * lyx_gui.C (init): set the style of the menu popups to
7162 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7164 2002-01-07 Juergen Vigna <jug@sad.it>
7166 * text.C (setHeightOfRow): small fix
7167 (prepareToPrint): don't look at alignment if we don't have the place
7170 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7172 * box.C: New file. Move the Box methods and functions out of box.h,
7173 following Lars' suggestion.
7175 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7177 * box.h: #include "support/LOstream.h", needed for inlined function.
7180 * lyxtextclasslist.C: added some using std declarations.
7182 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7184 * box.h: make signed dimensions to allow insets wider than
7185 the screen (bug #162)
7187 * BufferView_pimpl.C: add some insetHit debug
7189 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7191 * vc-backend.C: add FIXME
7193 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7195 * lyxfunc.C (getStatus): enable code for showing math font status
7198 2002-01-07 Juergen Vigna <jug@sad.it>
7200 * text.C (nextBreakPoint): removed debug output not needed anymore.
7202 2002-01-06 Juergen Vigna <jug@sad.it>
7204 * text.C (nextBreakPoint): fixed up this function we had this bug
7205 since ever but now hopefully we break row better.
7206 (insertChar): we have to check if an inset is the next char as it
7207 could now happen that a large inset is causing a break.
7209 2002-01-05 Juergen Vigna <jug@sad.it>
7211 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7212 if it doesn't like to be drawed.
7214 2002-01-04 Juergen Vigna <jug@sad.it>
7216 * BufferView2.C (lockInset): forgot to set a cursor.
7218 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7220 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7225 * form_maths_panel.C:
7226 * form_maths_panel.h:
7227 * form_maths_panel.fd: implemented sub- and super- buttons in math
7230 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7231 (or ^ space) to be used as in TeX (req'd by André).
7233 * lyxfunc.C: Allow ^ and _ again to be used both as
7234 super/subscript (mathed) and as themselves (in text).
7236 2002-01-03 Allan Rae <rae@lyx.org>
7238 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7239 "LyX" or the filename of the current buffer if it has one. This is a
7240 modified form of John Levon's patch.
7242 * XFormsView.C (setWindowTitle): also set icon title.
7244 * LyXView.h (setWindowTitle): signature changed.
7245 * XFormsView.h (setWindowTitle): ditto.
7247 2002-01-02 Juergen Vigna <jug@sad.it>
7249 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7251 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7253 * screen.C (topCursorVisible): introduce a temp var for
7254 text->cursor.row(), handle the case where this row is null. (kindo
7257 * text2.C (setCursor): add a couple of asserts.
7259 * paragraph.h (inset_iterator): add -> operator
7261 * paragraph.[Ch] (autoDeleteInsets): remove member function
7263 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7264 cursor pos correctly and handle inset deletion by itself.
7265 (insertErrors): move iterator declaration out of for expression
7267 * lyxtextclass.C: add <algorithm>
7269 * Makefile.am: added the new files to sources, removed layout.C
7271 * layout.C: removed file
7273 * layout.h: remove LYX_DUMMY_LAYOUT
7275 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7279 * lyxtextclass.[Ch]:
7280 * lyxtextclasslist.[Ch]: new files
7282 * include order changes to a lot of files, also changes because of
7285 2001-12-27 Juergen Vigna <jug@sad.it>
7287 * buffer.C (asciiParagraph): more fixes.
7289 * tabular.C (ascii): make ascii export support export of only the
7290 data separated by a column-delimiter.
7291 (ascii): better support for ascii export.
7293 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7295 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7297 * tabular_funcs.C: use a "using std::getline" instead of the
7298 previous fix from Angus (necessary for cxx + lyxstring)
7300 2001-12-24 Juergen Vigna <jug@sad.it>
7302 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7304 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7305 problems. First check a minipage also if we have some ert-contents
7306 (not only on par->size(), second set the right depth of the paragraph
7307 on the relink to the root-paragraph-list!
7309 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7310 which then did not anymore update the main paragraphs on undo/redo!
7312 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7314 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7315 code. Support all font-changing funcs (even those which are not in
7316 menu currently). Support for reporting font settings in
7317 mathed (disabled until Andre provides a function on mathed's side).
7319 * func_status.h (toggle): small helper function to set toggle
7322 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7324 * tabular_funcs.C: getline -> std::getline
7326 2001-12-21 Juergen Vigna <jug@sad.it>
7328 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7329 accessed and could be 0 (I couldn't generate this but it seems
7332 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7334 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7335 * tabular_funcs.h: here and include iosfwd
7337 2001-12-20 Juergen Vigna <jug@sad.it>
7339 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7340 inside inset but undo_par was.
7342 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7344 * Thesaurus.C: always include <config.h> in sources.
7348 * box.h: do not include <config.h> in header files
7350 * text.C (paintLastRow): remove unused variable
7352 * text.C (transformChar):
7354 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7357 * font.C (width): rewrite to use uppercase() instead of
7360 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7362 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7364 * lyxfind.C: clean up of find failure position change
7366 2001-12-20 Juergen Vigna <jug@sad.it>
7368 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7370 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7371 (TeXRow): added to LaTeX a single tabular row.
7372 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7373 (Latex): simplified and finally good LT-h/f support.
7374 (various_functions): just small adaptions for LT-h/f support.
7376 * tabular_funcs.[hC]: added and moved here all not classfunctions
7379 2001-12-19 Juergen Vigna <jug@sad.it>
7381 * tabular.[Ch]: better support for longtabular options (not finished
7384 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7386 * text.C (paintLastRow): use the label font instead of the font of
7387 the last character to compute the size of *_BOX. This makes more
7388 sense and avoids a crash with empty paragraphs.
7389 Use Painter::rectangle to draw EMPTY_BOX.
7391 2001-12-19 Juergen Vigna <jug@sad.it>
7393 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7394 the paragraphs if the replaced paragraph is not the first one!
7395 Tried to delete not used paragraphs but does not work yet so for
7396 now it's inside #ifdef's and by default off!
7398 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7400 * MenuBackend.C: include "lyx_main.h" instead of declaring
7401 lastfiles (actually was declared as LastFiles* instead of a
7404 2001-12-17 Juergen Vigna <jug@sad.it>
7406 * tabular.C (AppendColumn): applied John's fix
7408 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7412 * BufferView_pimpl.h:
7413 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7416 * box.h: new start of class for above
7418 * lyxfunc.C: ignore space-only minibuffer dispatches.
7419 Show the command name when it doesn't exist
7421 * minibuffer.C: don't add empty lines to the history
7423 * minibuffer.C: add a space on dropdown completion
7425 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7427 * text.C: fix line above/below drawing in insets
7429 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7431 * lyxlength.C (LyXLength): Initialize private variables.
7433 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7435 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7436 when inserting error insets.
7438 2001-12-13 Juergen Vigna <jug@sad.it>
7440 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7441 actually sometimes the before-paragraph.
7442 (setUndo): don't clear the redostack if we're not actually undoing!
7444 2001-12-06 Juergen Vigna <jug@sad.it>
7446 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7447 and fixed redoing of main paragraph, so we can use it now ;)
7449 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7451 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7453 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7456 2001-12-13 André Pönitz <poenitz@gmx.net>
7459 * undo_func.C: minor cleanup
7461 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7463 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7464 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7465 font in urw-fonts package which is marked as -urw-fontspecific and
7466 does not work (incidentally, changing the encoding in the
7467 fonts.dir of this package to -adobe-fontspecific fixes the
7470 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7471 is a crash when undoing first paragraph (Juergen, please take a
7472 look). THis does not mean the undo fix is wrong, just that it
7475 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7476 the (Paragraph*) version when needed instead of duplicating the
7479 * text.C (workWidth): use Inset::parOwner to find out where the
7480 inset has been inserted. This is a huge performance gain for large
7481 documents with lots of insets. If Inset::parOwner is not set, fall
7482 back on the brute force method
7484 * paragraph_pimpl.C (insertInset):
7485 * paragraph.C (Paragraph):
7486 (cutIntoMinibuffer): set parOwner of insets when
7487 inserting/removing them
7489 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7491 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7497 * mathed/formulabase.C:
7498 * mathed/math_cursor.[Ch]:
7499 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7502 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7504 * lyxlength.[Ch] (operator!=): new function
7506 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7508 * text.C (workWidth): use Inset::parOwner to find out where the
7509 inset has been inserted. This is a huge performance gain for large
7510 documents with lots of insets. If Inset::parOwner is not set, fall
7511 back on the brute force method
7513 * paragraph_pimpl.C (insertInset):
7514 * paragraph.C (Paragraph):
7515 (cutIntoMinibuffer): set parOwner of insets when
7516 inserting/removing them
7518 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7520 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7522 * tabular-old.C (getTokenValue):
7523 * tabular.C (getTokenValue):
7524 (write_attribute): new versions for LyXLength
7525 (everywhere): adjust the use of widths
7527 * tabular.h: change the type of widths from string to LyXLength
7529 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7531 * paragraph.C: fixed missing line number count when exporting
7532 Environments to LaTeX file
7534 * buffer.C: added informational message for checking line numbers.
7536 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7538 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7539 paragraph, do the 'double space' part, but not the 'empty
7542 * text.C (workWidth): small optimization
7543 (getLengthMarkerHeight): use minimal size for negative lengths.
7545 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7547 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7549 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7551 2001-12-11 André Pönitz <poenitz@gmx.net>
7554 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7556 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7558 * text2.C: keep selection on a setFont()
7560 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7562 * lyx_cb.C: another bv->text misuse, from insert label
7564 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7567 * kbsequence.C: re-instate nmodifier mask
7569 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7571 * lyx_main.h: make lyxGUI private.
7573 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7575 * lyxfind.C: place the cursor correctly on failed search
7577 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7579 * text.C (getLengthMarkerHeight): for small heights, the arrows
7580 are not always on top/bottom of the text
7581 (drawLengthMarker): smaller arrows; take the left margin in
7582 account; draw also vfills.
7584 (paintLastRow): remove special code for vfill and standard spaces,
7585 since everything is handled in drawLengthMarker now.
7587 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7589 * buffer.C (insertErtContents): try to handle font and language
7590 interaction a bit better.g
7592 * ColorHandler.C (updateColor): change the hash to cover the whole
7593 LColor enum, ws cleanup
7594 (getGCLinepars): ditto
7595 (getGCLinepars): only lookup in the linecache once.
7597 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7599 * iterators.C (operator++): Make the iterator more robust
7601 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7603 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7605 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7608 * text.C: better added space drawing
7610 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7613 * BufferView2.C: fix layout combo update on inset unlock
7615 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7617 * Makefile.am: don't compile unused files
7619 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7623 * LyXAction.C: remove old LFUN_LAYOUTNO
7625 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7627 * paragraph_pimpl.h:
7628 * paragraph_pimpl.C: isTextAt() doesn't need font param
7630 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7633 * lyxlex.C: little cleanup
7635 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7637 * BufferView_pimpl.C: fix insertAscii for insets
7639 2001-12-05 Juergen Vigna <jug@sad.it>
7641 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7642 set the right font on the "multi" paragraph paste!
7644 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7650 * lyxlength.C: remove out-commented code.
7666 * vc-backend.C: change "while(" to "while ("
7668 * lyxlength.[Ch]: add zero function to check if length is zero or
7670 * lyxgluelength.C: use it
7672 2001-12-05 Allan Rae <rae@lyx.org>
7674 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7675 Works for 2.95.3, from what I understand of Garst's reports this should
7676 work for other g++ versions. We're screwed if the abs(int) definition
7677 changed between bugfix releases of gcc.
7679 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7681 * text.C: fix chapter label offset !
7683 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7686 * text.C: fix hfill at end of line, clean up
7688 2001-12-04 Juergen Vigna <jug@sad.it>
7690 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7691 that we force an update of the inset and it's owners if neccessary.
7693 2001-12-03 Juergen Vigna <jug@sad.it>
7695 * text.C (rowLast): simplified code
7697 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7699 * lyxfunc.C: fix show options on timeout
7701 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7703 * screen.C (topCursorVisible): scroll half a page when the cursor
7704 reached top of bottom of screen
7706 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7708 * minibuffer.C: deactivate on loss of focus
7710 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7712 * vspace.[Ch] (operator!=): add operator.
7714 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7716 * BufferView_pimpl.C: refuse to open an inset when
7717 there's a selection.
7719 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7721 * BufferView_pimpl.C: allow to click on RHS of full row insets
7723 2001-11-30 Juergen Vigna <jug@sad.it>
7725 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7726 insets for undo reasons.
7728 2001-11-28 André Pönitz <poenitz@gmx.net>
7730 * vspace.[Ch]: cosmetical changes
7732 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7742 * kbsequence.C: part re-write of old kb code
7745 * WorkArea.C: remove Lgb_bug_find_hack
7747 2001-11-30 José Matos <jamatos@fep.up.pt>
7749 * buffer.C (makeDocBookFile): add a comment to point a hack.
7750 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7751 Fixed a double write of labels.
7753 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7756 * LaTeX.h Fixed bug in LaTeX class where it would not
7757 re-run latex if no depfiles were changed, but the .dvi was removed.
7759 2001-11-28 André Pönitz <poenitz@gmx.net>
7761 * all the files from the change on 2001/11/26:
7762 use lyx::layout_type instead of LyXTextClass::size_type
7763 use lyx::textclass_type instead of LyXTextClassList::size_type
7765 2001-11-29 Juergen Vigna <jug@sad.it>
7767 * text.C: added support for paragraph::isFreeSpacing()
7769 * buffer.C: same as above
7771 * paragraph.h: inserted isFreeSpacing() function to enable
7772 FreeSpacing inside InsetERT.
7774 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7775 of the paragraph's in the cut/copy buffer to 0!
7777 * text2.C (removeRow): remove the assert as it can!
7779 * lyxtext.h: added helper function firstRow returning firstrow and
7780 made firstrow private again.
7782 * BufferView2.C (lockInset): don't relock if we're already locked!
7784 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7786 (removeRow): added Assert::(firstrow)
7788 * debug.C: forgot to add INSETTEXT here.
7790 2001-11-28 Juergen Vigna <jug@sad.it>
7792 * sp_spell.C (initialize): changed error text to more general
7793 spellchecker command use (not only ispell!)
7795 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7797 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7799 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7801 * vspace.C: initialise lyxgluelength on failure
7803 2001-11-28 Allan Rae <rae@lyx.org>
7805 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7806 declaration & definition that looks like a function declaration.
7808 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7810 * BufferView2.C (copy):
7811 (copyEnvironment): do not clear the selection when doing a copy.
7813 * text.C (paintFirstRow): compilation fix
7815 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7817 * tabular.C (Latex): correct line count when writing latex.
7819 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7821 * paragraph_pimpl.h:
7822 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7825 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7829 * LColor.C: change vfillline->added_space
7831 * text.C: add markers and text for added space
7833 * vspace.C: fix comment
7835 2001-11-28 André Pönitz <poenitz@gmx.net>
7837 * paragraph.C: whitespace changes
7838 * all the other files from the change on 2001/11/26:
7839 change *::pos_type into lyx::pos_type
7841 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7843 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7844 language of the document when inserting error insets.
7846 2001-11-26 André Pönitz <poenitz@gmx.net>
7848 * BufferView_pimpl.[Ch]:
7856 * paragraph_pimpl.[Ch]:
7859 * text2.C: reduce header dependencies, introduce type for positions
7861 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7863 * <various>: change to use Alert.h
7865 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7867 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7868 when encountering an unknown token.
7869 (readLyXformat2): Show an error message if there were unknown tokens.
7871 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7874 * BufferView_pimpl.C:
7878 * text2.C: use par->isInset()
7880 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7882 * paragraph_pimpl.h:
7883 * paragraph_pimpl.C: cleanup
7885 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7887 * text2.C (removeRow):
7888 * text.C (setHeightOfRow): remove useless (and costly) call to
7891 2001-11-20 Allan Rae <rae@lyx.org>
7893 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7894 Now need Inset*::checkInsertChar() to return true for appropriate
7895 cases so that the characters in the minibuffer will actually be
7898 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7900 * text.C: change the order of the includes.
7901 (workWidth): initialize it at once.
7902 (workWidth): make maxw unsigned
7903 (setHeightOfRow): remove unused variable (inset)
7904 (selectSelectedWord): remove unused variable (inset)
7905 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7907 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7909 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7910 server is not running.
7912 (closeConnection): add debug info when server is disabled.
7914 * ColorHandler.C (getGCForeground): send debug message to GUI
7917 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7919 * kbmap.C (bind): modify because return conventions of
7920 kb_sequence::parse have changed.
7922 * kbsequence.C (parse): only ignore spaces and not any stupid
7923 control character. This avoids tests like s[i] <= ' ', which are
7924 guaranteed to fail with 8bit characters and signed chars.
7925 Change return code to string::npos when there have been no error
7926 (0 was a bad idea when error is at first character)
7928 2001-11-14 José Matos <jamatos@fep.up.pt>
7931 * buffer.C (simpleDocBookOnePar): removed unused argument.
7933 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7935 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7936 insets which are part of a word. Paragraph::isLetter takes care of
7937 that now. Use Paragraph::isInset to identify insets.
7938 (selectSelectedWord): do not test for hyphenation break.
7940 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7941 that protected spaces are considered as spaces.
7943 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7946 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7949 * lyxserver.C: fix it. and small cleanup.
7951 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7953 * BufferView_pimpl.C: use inline helpers
7956 * LaTeXFeatures.C: fix typos
7959 * Spacing.C: move spacing_string into class
7961 * ToolbarDefaults.C: move stuff into namespace anon
7963 * layout.h: update enum
7965 * lyxfunc.C: use better debug
7967 * minibuffer.h: fix typo
7971 * WorkArea.C: add and use Debug::WORKAREA
7975 * text2.C: code re-organisation, inline helpers
7977 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7979 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7980 std::vector.empty().
7982 2001-11-09 Allan Rae <rae@lyx.org>
7984 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7985 '\n's after tables. Tabular and ERT inset work now makes this no
7988 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7991 * minibuffer.C: fix crash, improve drop-down completion
7993 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7996 * lyxserver.C: invalidate fd's when doing endPipe()
7998 2001-11-08 José Matos <jamatos@fep.up.pt>
8000 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8001 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8004 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8006 2001-11-07 José Matos <jamatos@fep.up.pt>
8009 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8012 * buffer.C (sgmlOpenTag):
8013 * buffer.C (sgmlCloseTag): removed debug info.
8015 * buffer.h (sgmlOpenTag):
8016 * buffer.h (sgmlCloseTag): made public.
8018 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8020 * buffer.C (saveParamsAsDefaults):
8021 * lyx_cb.C (MenuLayoutSave): remove
8023 * LyXAction.C (init):
8025 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8027 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8029 * buffer.C (setPaperStuff): removed from here...
8031 * bufferparams.C (setPaperStuff): ... and moved there.
8033 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8037 * XFormsView.C: add support for drop-down completion
8039 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8041 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8044 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8046 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8049 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8051 * lyx_main.C: change ref to known bugs
8053 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8055 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8056 to work around older babel problems.
8058 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8060 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8062 2001-10-24 Juergen Vigna <jug@sad.it>
8064 * tabular-old.C (ReadOld): below variable changes reflected.
8066 * tabular.[Ch]: added ltType struct for longtable header/footer
8067 defines and changed all instances where they are used. Added
8068 future support for double top/bottom rows.
8070 2001-10-24 José Matos <jamatos@fep.up.pt>
8072 * buffer.h (docbookHandleCaption):
8073 * buffer.C (docbookHandleCaption): removed unused function.
8074 (makeDocBookFile): moved docbook supported version to v4.1.
8076 2001-10-24 José Matos <jamatos@fep.up.pt>
8079 * tabular.C (docbookRow): new function to export docbook code of a row.
8080 (DocBook): now honors the longtable flags.
8082 2001-10-23 José Matos <jamatos@fep.up.pt>
8085 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8086 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8088 * buffer.C (makeLinuxDocFile):
8089 (makeDocBookFile): reworked the preamble, more clean, and with
8090 support for lyx defined entities. Changed the document declaration
8091 to be more XML friendly.
8093 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8094 if we need to output XML that should be done with a filter.
8096 2001-10-22 Juergen Vigna <jug@sad.it>
8098 * sp_pspell.h (class PSpell): add alive function needed in the
8099 controller to see if the spellchecker could be started.
8101 2001-10-22 Juergen Vigna <jug@sad.it>
8103 * buffer.C (insertStringAsLines): modify the font for inserting
8104 chars in certain conditions by calling checkInsertChar(font).
8106 2001-10-19 Juergen Vigna <jug@sad.it>
8108 * text.C (workWidth): use getRow instead of wrong algorithm.
8109 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8111 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8116 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8118 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8120 * text.C (workWidth): do not search for the exact row when
8121 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8122 optimization for big documents.
8124 2001-10-18 Juergen Vigna <jug@sad.it>
8126 * text.C (workWidth): new function with added Inset * parameter.
8128 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8130 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8132 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8133 change return type of getColumnNearX.
8136 * text.C (changeRegionCase): use uppercase/lowercase instead of
8139 (rightMargin): simplify code by factoring out the uses of
8144 (appendParagraph): use Paragraph::size_type
8146 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8148 * vspace.C (asLatexString): add a missing break
8150 2001-10-15 Herbert Voss <voss@perce.de>
8152 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8154 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8156 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8159 2001-10-10 André Pönitz <poenitz@gmx.net>
8161 * lyxfunc.C: removed greek_kb_flag.
8163 2001-10-10 Herbert Voss <voss@perce.de>
8165 * lyx_main.C: delete global string help_lyxdir.
8167 2001-10-09 Herbert Voss <voss@perce.de>
8169 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8171 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8173 * lyx_main.C: added global string help_lyxdir.
8175 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8177 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8179 * lyxrc.C (set_font_norm_type): support iso8859-4
8181 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8183 * LaTeX.C (deplog): add another regex for MikTeX
8185 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8187 * lyxrc.C (set_font_norm_type): support iso8859-3
8189 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8191 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8193 * LaTeXFeatures.C: remove special case of french and index
8195 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8196 before \begin{document}). This solves several incompatibilities.
8198 2001-10-03 Garst Reese <reese@isn.net>
8200 * lyx_cb.C: change CheckTex error msg.
8202 2001-10-03 José Matos <jamatos@fep.up.pt>
8204 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8206 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8208 * .cvsignore: update
8210 * lyx_main.C (commandLineVersionInfo): use new style version info.
8212 * buffer.C (writeFile):
8215 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8217 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8219 * version.h: update to use stuff in version.C
8221 * version.C.in: new file. Contains version information determined
8222 at compile time. This is a merging of version.h and
8225 2001-10-03 Juergen Vigna <jug@sad.it>
8227 * BufferView_pimpl.C (update): don't change "dirty" status in
8230 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8232 * WorkArea.C (c-tor): re-position version string slightly.
8234 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8236 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8237 revert to previous code.
8239 WorkArea.[Ch]: (show, destroySplash): methods removed.
8241 WorkArea.C: rework code so that it's an amalgam of the codes before and
8242 after the splash screen was moved to WorkArea.
8244 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8247 * vspace.C (inPixels):
8250 * buffer.C (insertStringAsLines):
8251 (asciiParagraph): fix types to be large enough
8253 * lyxlex_pimpl.h: change member status from short to int
8255 * layout.h: fix type of endlabeltype
8258 * kbsequence.C (parse): change return type to string::size_type
8260 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8263 * Bullet.C (bulletSize):
8264 (bulletEntry): do not use short ints as parameters
8266 * BufferView2.C (insertLyXFile): change a char to an int.
8268 * WorkArea.C (WorkArea): remove unneeded floats in computation
8270 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8272 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8274 * paragraph.C (asString): Do not ignore newline/hfill chars when
8275 copying to the clipboard.
8277 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8279 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8280 after a multi-line inset.
8282 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8284 * paragraph.C (validate): Set NeedLyXFootnoteCode
8286 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8288 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8289 and decrease-error to decrease.
8291 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8293 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8294 it more readable (should be equivalent)
8296 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8298 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8300 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8302 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8303 of a cursor (row, etc.) after a character has been deleted
8304 (deleteEmptyParagraphMechanism): call the method above on _all_
8305 cursors held by the LyXText when a double space has been
8308 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8310 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8312 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8314 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8315 background. Use greyOut() and the new show() methods to toggle between
8316 the foreground and background. Add code to remove the splash after
8317 its initial showing.
8319 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8320 (create_forms): no longer call Dialogs::showSplash.
8322 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8324 * .cvsignore: add version_info.h
8326 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8328 * version_info.h.in: new file
8330 * Makefile.am: add version_info.h.in
8332 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8333 version_info.h instead of VERSION_INFO
8335 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8337 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8338 The ERT inset now returns string().
8340 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8342 * lyxtext.h, text.C (selectNextWord): renamed as
8343 selectNextWordToSpellcheck.
8345 * text.C (selectNextWordToSpellcheck): Modified to not select
8346 words inside an ERT inset.
8348 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8350 * lyx_cb.C (MenuLayoutSave): change a bit the question
8352 * sp_base.h: include <sys/types.h>
8354 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8356 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8358 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8360 * several files: fix typos in user-visible strings
8362 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8364 * text2.C (pasteSelection): do not set the selection, since it
8365 will be cleared later. Actually, the intent was to fix the way the
8366 selection was set, but I figured rmoving the code was just as good.
8368 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8370 * FontLoader.C (available): Check if font is available without
8373 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8375 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8377 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8379 * lyxrc.[Ch]: added display_graphics variable and associated code.
8381 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8383 * bufferparams.C (hasClassDefaults): new method. Returns true if
8384 the buffer parameters correspond to known class defaults
8386 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8388 * XFormsView.C (show): set minimum size to the main window.
8390 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8392 * text2.C (copySelection):
8394 * lyxfind.C (LyXReplace):
8395 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8396 LyXText::selectionAsString.
8398 * paragraph.C (asString): add "label" argument to the second form
8400 * text2.C (selectionAsString): add "label" argument and pass it to
8401 Paragraph::asString.
8403 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8405 * lyx_main.C (commandLineHelp): remove version information
8407 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8409 * lyx_main.C: add -version commandline option
8411 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8413 * paragraph.h: make the optional constructor arg required instead.
8414 some modifications to other files because of this.
8416 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8418 * lyxserver.C (C_LyXComm_callback): make it static
8420 * lyx_main.C (error_handler): make it static
8422 * lyx_gui.C (LyX_XErrHandler): make it static
8424 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8426 * WorkArea.C: make the extern "C" methods static.
8428 * Makefile.am (lyx_LDADD): simplify
8430 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8432 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8433 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8435 * LyXAction.C (init):
8436 * lyxfunc.C (dispatch): associated code removal.
8438 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8440 * lyxfont.h (isSymbolFont): shut off warning
8442 * text.C (setHeightOfRow):
8443 (getVisibleRow): fix crash with empty paragraphs which have a
8446 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8448 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8451 2001-09-04 José Matos <jamatos@fep.up.pt>
8454 * tabular.C (docbook): rename docBook method to docbook.
8456 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8458 * Makefile.am: add dependencies to main.o.
8460 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8462 * FontLoader.C (available): Return false if !lyxrc.use_gui
8464 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8466 * FontInfo.C (query):
8467 * converter.C (view):
8468 * importer.C (Import):
8469 * exporter.C (Export): Can not -> cannot.
8471 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8473 * BufferView_pimpl.C: allow to create index inset even if
8476 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8478 * buffer.C (getLists): replace boost::tie code with an explicit pair
8479 as boost::tie can break some compilers.
8481 * iterators.h: Added a std:: declaration to the return type of
8484 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8486 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8489 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8491 * iterators.[Ch]: New files. Provide paragraph iterators.
8493 * buffer.C (changeLanguage): Use paragraph iterators.
8494 (isMultiLingual): ditto
8496 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8498 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8500 * FontLoader.C: Support for cmr font.
8502 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8504 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8505 (available): New method.
8507 * FontInfo.C (getFontname): Use scalable fonts even when
8508 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8511 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8513 * converter.C (Formats::view): reverted! Incorrect fix.
8515 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8517 * converter.C (Formats::view): only output the -paper option
8518 if the dvi viewer is xdvi, thereby fixing bug #233429.
8520 2001-08-23 Herbert Voss <voss@perce>
8522 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8524 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8526 * Spacing.h (Spacing): Set space to Default on in the default
8529 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8531 * vc-backend.h (RCS::versionString): add RCS to version
8532 (CVS::versionString): add CVS to version
8534 * vc-backend.C (scanMaster): do not add CVS to version.
8535 (scanMaster): do not add RCS to version
8537 * lyxvc.C (versionString): new method
8539 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8541 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8543 * Spacing.C (set): initialize fval
8545 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8547 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8550 2001-08-16 Juergen Vigna <jug@sad.it>
8552 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8554 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8556 * BufferView_pimpl.C:
8559 * text2.C: setParagraph takes linespacing now
8561 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8563 * LyxAction.C: add internal LFUN_CITATION_INSERT
8565 * LyXView.C: actually apply fix
8567 * bufferlist.C: fix open non-existent file
8569 * lyxfind.C: fix indentation
8571 * lyxfunc.C: remove unneeded assert, fix typo
8573 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8575 * MenuBackend.C: use "Floatname List"
8577 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8579 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8580 when converting LaTeX layout to insetERT.
8581 Generate a non-collapsed float when reading old float
8583 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8585 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8588 2001-08-13 Juergen Vigna <jug@sad.it>
8590 * text.C (fill): return 0 instead of 20 as this seems to be the more
8593 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8595 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8598 2001-08-13 Juergen Vigna <jug@sad.it>
8600 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8602 (SearchBackward): comment out the unlocking of the inset_owner this
8603 should not be needed!
8605 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8607 * Many files: Remove inherit_language, and add latex_language
8609 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8612 2001-08-10 Juergen Vigna <jug@sad.it>
8614 * text.C (prepareToPrint): fixed hfill-width in draw!
8616 * BufferView2.C (selectLastWord): save the selection cursor as this
8617 now is cleared in the function LyXText::clearSelection!
8619 2001-08-08 Juergen Vigna <jug@sad.it>
8621 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8622 BACKSPACE type functions.
8624 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8625 is only cutted from the document but not put in the cut-buffer, where
8626 still the old stuff should be.
8628 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8630 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8632 * tabular.C (SetWidthOfCell): fixed special case where the width
8634 (LeftLine): handle '|' in align_special.
8636 (LeftAlreadyDrawed): ditto
8637 (SetWidthOfCell): ditto
8639 2001-08-07 Juergen Vigna <jug@sad.it>
8641 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8643 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8645 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8646 * lyxlex.[hC]: ditto
8648 2001-08-06 Juergen Vigna <jug@sad.it>
8650 * text.C (getVisibleRow): fix up row clearing a bit.
8652 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8654 * minibuffer.C: make sure the X server sees the changes in the input.
8656 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8658 * paragraph.C (getFont): split into...
8659 (getLabelFont): this
8660 (getLayoutFont): and this
8661 * paragraph_pimpl.C (realizeFont): calling this
8663 * text2.C (getFont): split into...
8664 (getLayoutFont): this
8665 (getLabelFont): and this
8666 (realizeFont): all three calling this
8668 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8671 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8673 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8675 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8677 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8678 layouts from the Quote inset insertion.
8680 2001-08-03 Juergen Vigna <jug@sad.it>
8682 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8684 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8685 only if status not is already CHANGED_IN_DRAW (second level).
8687 * text.C (draw): don't set the need_break_row when inside an
8690 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8692 * buffer.C (parseSingleLyXformat2Token): handle more latex
8695 * bufferview_funcs.[hC]: change function names to
8696 begin with small char, adjust other files.
8698 2001-08-02 André Pönitz <poenitz@gmx.net>
8701 BufferView_pimpl.C: remove broken special code for math-greek
8703 2001-08-02 Juergen Vigna <jug@sad.it>
8705 * BufferView_pimpl.C (update): redone this function so that we
8706 update the text again if there was a CHANGE_IN_DRAW.
8708 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8709 (drawFromTo): added a new internal bool which is used by draw() and
8711 (general): some cursor drawing problems fixed.
8713 2001-08-01 Juergen Vigna <jug@sad.it>
8715 * lyxfind.C (LyXFind): fixed
8716 (SearchForward): ditto
8717 (SearchBackward): ditto
8719 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8720 spurius drawing of the cursor in the main area.
8722 * text2.C (status): small fix which could lead to a segfault!
8723 (clearSelection): remove unneeded BufferView param.
8725 2001-08-01 André Pönitz <poenitz@gmx.net>
8727 * lyxfunc.C: small change due to changed mathed interface
8729 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8731 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8733 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8735 * lyxfunc.c: fail gracefully if file doesn't exist
8740 * BufferView_pimpl.C: IsDirWriteable() proto changed
8742 * LyXView.C: fix updateWindowTitle() to store the last title
8744 2001-07-31 Juergen Vigna <jug@sad.it>
8746 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8747 the font (wrong since using of Paragraph::highestFontInRange).
8749 * paragraph.C (highestFontInRange): added a default_size parameter.
8751 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8752 (setHeightOfRow): reformat
8754 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8756 * converter.[hC] + affected files: move to (inital-char)lowercase
8759 * ParagraphParameters.C (ParagraphParameters): remove commented code
8761 * PainterBase.[Ch]: remove commented code
8763 * LaTeXFeatures.h: add "bool floats" for float.sty
8765 * LaTeXFeatures.C (LaTeXFeatures): init floats
8766 (require): handle float
8767 (getPackages): do it with floats
8769 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8771 * BufferView_pimpl.C (Dispatch): improve handling of
8772 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8774 * commandtags.h: #include lyxfont.h here temporarily to avoid
8777 * bufferlist.h: include LString.h here.
8779 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8781 * text2.C (getStringToIndex): new method.
8783 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8785 * *: Reduced header file dependencies all over.
8787 2001-07-30 Baruch Even <baruch@lyx.org>
8789 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8791 2001-07-29 Baruch Even <baruch@lyx.org>
8793 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8795 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8797 * ParameterStruct.h (endif): add a default constructor to make
8798 sure that all variables is initialized.
8800 * ParagraphParameters.C (ParagraphParameters): adjust
8802 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8804 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8805 index; also, check that there is something to index, and that it
8806 does not span over several paragraphs.
8807 (doubleClick): use WHOLE_WORD_STRICT for double click.
8809 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8811 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8814 2001-07-26 Baruch Even <baruch@lyx.org>
8816 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8817 an InsetFig figure, backwards compatible reading of old figure code.
8819 2001-07-27 Juergen Vigna <jug@sad.it>
8821 * text2.C: font.realize function adaption.
8823 * text.C (draw): add a warnings lyxerr text if needed.
8825 * layout.C: font.realize function adaption.
8827 * language.C: add inherit_language and implement it's handlings
8829 * bufferview_funcs.C (StyleReset): remove language parameter from
8830 font creation (should be language_inherit now).
8832 * bufferparams.C (writeFile): handle ignore_language.
8834 * paragraph.C (getFontSettings): the language has to be resolved
8835 otherwise we have problems in LyXFont!
8837 * lyxfont.C (lyxWriteChanges): added document_language parameter
8838 (update): removed unneeded language parameter
8840 * paragraph.C (validate): fixed wrong output of color-package when
8841 using interface colors for certain fonts in certain environments,
8842 which should not seen as that on the final output.
8844 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8846 * BufferView_pimpl.C:
8851 * LyXAction.C: add thesaurus support
8854 * lyxfind.C: add "once" parameter, for thesaurus, to not
8855 move to the next match
8857 2001-07-26 Juergen Vigna <jug@sad.it>
8859 * lyxfont.C (realize): honor ignore_language too!
8862 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8864 * text.C (draw): one place more for ignore_language to not draw
8867 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8869 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8871 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8873 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8874 the minipage conversion problem.
8876 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8878 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8881 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8883 * BufferView.h: don't forward declare WorkArea
8885 * BufferView.C: don't include WorkArea.h
8887 2001-07-25 André Pönitz <poenitz@gmx.net>
8891 * lyxfunc.C: new LFUN 'math-space'
8893 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8895 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8897 * text2.C (toggleInset): call open/close
8899 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8901 * lyxfunc.C (dispatch): add debug for the disabled case
8903 * font.C (buttonText): make similar to rectText
8905 * buffer.C (readInset): comment out parsing of insetlist and
8908 * PainterBase.C (rectText): small correction
8910 * BufferView_pimpl.C: comment out insettheorem and insetlist
8911 * LyXAction.C: ditto
8912 * commandtags.h: ditto
8914 2001-07-24 Juergen Vigna <jug@sad.it>
8916 * text.C (draw): honor the ignore_language.
8918 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8920 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8922 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8925 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8927 * lyxtext.h: remove unused (and unimplemented) methods
8929 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8931 * text.C (getVisibleRow): honor background color
8934 * Painter.h: remove default color argument for fillRectangle
8936 * text.C (backgroundColor): new method
8938 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8940 * text.C (getVisibleRow): adjust
8942 * font.[Ch] (rectText): new method, metrics
8943 (buttonText): new method, metrics
8945 * PainterBase.[hC]: make rectText and buttonText always draw and take
8948 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8950 * ToolbarDefaults.C (read):
8951 * MenuBackend.C (read): allow escaping in all strings
8953 * BufferView_pimpl.C (insertAndEditInset): new method.
8954 (Dispatch): use insertAndEditInset whenever appropriate.
8956 * BufferView_pimpl.C (insertNote): removed
8958 * BufferView_pimpl.C (smartQuote): new method, moved from
8959 BufferView; if an insetquote cannot be inserted, insert a '"'
8962 * BufferView2.C: remove insertCorrectQuote();
8964 * lyxfunc.C (getStatus): Add support for all remaingin
8967 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8969 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8970 command (necessary to pass " as parameter of self-insert.
8972 * text.C (selectWordWhenUnderCursor):
8973 (selectWord): add word_location parameter
8974 (selectWordWhenUnderCursor): same + remove special code for word
8976 (selectNextWord): use kind() to guess type of insetspecialchar,
8979 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8980 (insertErtContents): create ert insets as collapsed.
8981 (readInset): better compatibility code for Info inset.
8983 2001-07-20 Juergen Vigna <jug@sad.it>
8985 * lyxfunc.C (dispatch): use always LyXFind now!
8987 * text2.C (init): add a reinit flag so that the LyXText can be
8988 reinited instead of deleted and reallocated (used in InsetText).
8990 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8996 2001-07-18 Juergen Vigna <jug@sad.it>
8998 * text.C (selectNextWord): handle insets inside inset by calling
8999 always the bv->text functions so that we can go up the_locking_inset!
9001 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9002 in strange locations when inside an inset!
9004 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9005 handling to include insets.
9007 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9009 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9011 * LyXAction.C (init):
9013 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9014 LIGATURE_BREAK, since the name is so stupid.
9016 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9018 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9021 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9023 * sp_form.[Ch]: remove.
9025 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9027 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9030 * src/buffer.C (readInset): ditto.
9032 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9034 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9035 menuSeparator(), endOfSentenceDot(), ldots() and
9036 hyphenationPoint(), which are therefore removed.
9037 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9039 * LyXAction.C (init):
9040 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9042 * paragraph.C (getWord): removed.
9044 * BufferView_pimpl.C (Dispatch): use last word or selection for
9045 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9047 * lyx_main.C (queryUserLyXDir): do not ask before creating
9048 user_dir, except if it has been named explicitely.
9050 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9052 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9053 a document of zero size.
9055 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9057 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9058 approriately in the c-tor and in require().
9059 (getPackages): output the appropriate LaTeX for natbib support.
9061 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9062 variables "use_natbib" and "use_numerical_citations" when reading the
9064 (readInset): read the various natbib cite commands.
9065 (validate): white-space change.
9067 * bufferparams.[Ch]: new variables "bool use_natbib" and
9068 "bool use_numerical_citations".
9069 (writeFile): output them in the LyX file.
9071 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9073 * lyxfunc.C (getStatus): add support for all the inset insertion
9076 * text2.C (insertInset):
9077 * paragraph.C (insetAllowed):
9078 * BufferView_pimpl.C (insertInset): update to take in account the
9079 renaming of insertInsetAllowed
9081 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9083 * text2.C (getInset): new method. returns inset at cursor position.
9085 * BufferView_pimpl.C (Dispatch): changes because of this.
9087 * LyXAction.C (init): rename open-stuff to inset-toggle.
9089 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9091 * text2.C (toggleInset): renamed from openStuff; use
9094 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9096 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9098 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9100 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9102 * buffer.C (readLyXformat2): Add filename to the error dialog
9104 2001-07-18 Juergen Vigna <jug@sad.it>
9106 * tabular.C (GetCellNumber): put an assert here instead of the check!
9108 2001-07-17 Juergen Vigna <jug@sad.it>
9110 * BufferView_pimpl.C (toggleSelection): adapted too.
9112 * text.C (selectNextWord): adapted for use with insets.
9113 (selectSelectedWord): ditto
9115 2001-07-17 Juergen Vigna <jug@sad.it>
9117 * sp_spell.C (PSpell): fix initialitation order.
9119 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9121 * paragraph.C: spacing
9123 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9125 * sp_spell.C: repair language selection for pspell
9127 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9129 * lyxfunc.h: change more methods to begin with lower char.
9131 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9133 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9134 for unknown layouts.
9136 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9138 * buffer.C (readLyXformat2): Generate an error dialog if there are
9141 2001-07-16 Juergen Vigna <jug@sad.it>
9143 * sp_spell.C: always compile ISpell part.
9145 * lyxrc.C: added use_pspell entry and it's handling.
9147 2001-07-13 Juergen Vigna <jug@sad.it>
9149 * sp_spell.C: removed double includes.
9151 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9153 Consistent use of Lsstream.h:
9154 * Lsstream.h: added using std::stringstream for consistencies sake.
9156 * buffer.C: removed using std::stringstream
9158 * lyxfont.C (stateText):
9159 * paragraph.C (asString):
9160 * text.C (selectNextWord, selectSelectedWord):
9161 * text2.C (setCounter):
9162 * vspace.C (asString, asLatexString):
9163 std::ostringstream -> ostringstream.
9165 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9167 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9168 * commandtags.h: add LFUN_HELP_ABOUTLYX
9169 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9171 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9173 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9175 * lyx_gui_misc.C: remove spellchecker
9176 * lyxfunc.C: showSpellchecker
9178 * sp_ispell.h: added
9179 * sp_pspell.h: added
9181 * sp_form.[Ch]: removed
9182 * spellchecker.[Ch]: removed
9184 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9186 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9188 (simpleTeXSpecialChars): Simply print the input character without
9189 any special translation if pass_thru is set.
9191 * layout.h: Added bool pass_thru to layout class for being able to
9192 implement pass through of a paragraph for Literate Programming.
9194 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9195 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9196 * layout.C (Read): add "passthru" to list of layout tags and add
9197 code to set the pass_thru boolean when it is read.
9199 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9201 * trans_decl.h: remove allowed from KmodInfo
9203 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9207 * paragraph_pimpl.C (erase): use boost::prior
9209 * Painter.C (text): use data() instead of c_str() when length is
9211 * WorkArea.C (putClipboard): ditto
9212 * font.h (width): ditto
9214 * BufferView2.C: use it-> instead of (*it). for iterators
9216 * paragraph_pimpl.C: ditto
9217 * paragraph.C: ditto
9218 * minibuffer.C: ditto
9223 * converter.C: ditto
9225 * Variables.C: ditto
9226 * TextCache.C: ditto
9227 * MenuBackend.C: ditto
9228 * LyXAction.C: ditto
9230 * FloatList.C: ditto
9232 * ColorHandler.C (LyXColorHandler): ditto
9234 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9236 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9238 * text2.C (openStuff): reintroduce this method (which had been
9239 nuked in NEW_INSETS frenzy).
9241 * lyxfunc.C (Dispatch): when an action has not been handled, use
9242 its name in the error message, not its number.
9244 * paragraph.C (inInset): change method name to begin with lowercase.
9247 * text2.C: updates because of this.
9249 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9251 * ToolbarDefaults.C (add): add spaces in error message
9253 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9255 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9256 (readLyXformat2): rename return_par to first_par, use lyxlex's
9257 pushToken and remove the manual push handling.
9258 (parseSingleLyXformat2Token): add another ert comp. variable:
9259 in_tabular, rename return_par to first_par. handle newlines better
9261 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9263 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9265 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9267 * text2.C (getParFromID): removed
9269 * buffer.C (getParFromID): new method moved form lyxtext.
9270 * BufferView2.C (insertErrors): adjust
9271 (setCursorFromRow): adjust
9272 * BufferView_pimpl.C (restorePosition): adjust
9273 * lyxfunc.C (Dispatch): adjust
9274 * undo_funcs.C (textUndo): adjust
9276 (textHandleUndo): adjust
9277 (textHandleUndo): adjust
9279 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9281 * buffer.C: up' the LYX_FORMAT
9283 * lyxfont.h: turn NO_LATEX on as default
9285 * buffer.C (insertErtContents): new methods of tex style compability.
9286 (parseSingleLyXformat2Token): use it several places.
9287 * tabular.C (OldFormatRead): and here
9289 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9291 * text2.C: remove some commented code.
9294 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9295 * trans.C: changes because of the above.
9297 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9299 * text2.C (setCounter): Fix counters bug with bibliography layout.
9301 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9303 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9304 own member functions
9305 (simpleTeXSpecialChars): ditto
9307 2001-07-06 Juergen Vigna <jug@sad.it>
9309 * a lot of files: changed the access to LyXText::status and the
9310 call of undo-functions.
9312 * undo.[Ch]: added a inset_id to the undo informations.
9314 * undo_funcs.[Ch]: added and moved here all undo functions.
9316 * lyxtext.h: give the status enum a weight, made status_ a private
9317 variable and made accessor functions for it, removed the whole bunch
9318 of undo-functions as they are now in their own file, make some
9319 functions publically available. Added function ownerParagraph with
9322 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9323 made InInset() a const function, added getParFromID() function.
9325 * buffer.[Ch]: added const version for inset_iterator functions,
9326 added getInsetFromID() function.
9328 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9329 changed undo functions for new version.
9331 2001-07-05 Juergen Vigna <jug@sad.it>
9333 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9334 unknow mechanism does not call the proper constructor but only this
9335 one also if I request the other!?
9337 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9339 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9341 * text2.C (LyXText): use initialization lists.
9343 * lyxtext.h (Selection): initialize set_ and mark_
9344 (init): remove method
9346 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9348 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9350 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9352 * screen.[Ch]: change method names to begin with lowercase
9354 * BufferView_pimpl.C (updateScrollbar): simplify further and
9355 hopefully make it a bit faster.
9357 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9359 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9360 calling directly xforms functions.
9362 * Painter.C (Painter):
9363 * lyx_cb.C (MenuWrite):
9364 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9367 * lyx_gui.C: remove bogus guiruntime extern declaration.
9369 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9371 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9373 (redoDrawingOfParagraph): ditto
9374 (redoParagraphs): ditto
9375 (cutSelection): don't create a object for CutAndPaste use the
9376 static method directly
9377 (pasteSelection): ditto
9379 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9382 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9384 * modifications to some other files because of this.
9386 * Makefile.am (lyx_SOURCES): add XFormsView
9388 * XFormsView.[Ch]: new files
9390 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9391 the main window. Move the gui dependent stuff to XFormsView
9393 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9395 * tabular.C (GetCellInset): update cur_cell also in the row/col
9396 version of this function.
9398 * lyxfunc.C: no need to include figure_form.h here.
9404 * lyxvc.C: no need to include forms.h here.
9406 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9408 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9410 * lyxfunc.C (Dispatch):
9412 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9413 constructor argument.
9415 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9417 * paragraph.C (Paragraph): dont't clear, and just set layout.
9418 (makeSameLayout): use params's copy contructor.
9420 * ParagraphParameters.[Ch] (makeSame): delete method
9422 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9424 * Variables.[Ch]: fix indentation, rename set to isSet
9426 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9428 * lyxfunc.C (Dispatch): fix typo
9430 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9432 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9435 * bufferlist.C: include assert.h for emergencyWrite().
9437 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9439 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9440 give up at last (bug #425202) !
9442 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9448 * spellchecker.C: strip spellchecker options and bring up
9449 preferences tab instead
9451 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9453 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9454 the istringstream constructor
9456 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9458 * paragraph.C (getLayout): fix return value
9460 * paragraph.h: do not declare getLayout as inline.
9462 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9464 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9466 * lyxcursor.h (operator<): new func
9467 (operator>): new func
9468 (operator>=): new func
9469 (operator<=): new func
9471 * text.C (changeCase): use selection.start and selection.end
9472 (changeRegionCase): require from to be <= to. Require par to be a
9475 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9477 2001-06-27 Juergen Vigna <jug@sad.it>
9479 * text.C (cursorLeftOneWord): changed to return the cursor and added
9480 overlay with BufferView * parameter which calls this one.
9482 (selectWord): use new getWord function.
9483 (changeCase): renamed from changeWordCase as and extended to work
9486 * lyxtext.h: added enum word_location
9488 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9489 changeCase as this operates now also on selections.
9491 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9493 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9495 * many files: send debug output to Debug::INFO instead of
9498 * converter.C (View):
9500 (Move): send debug output to Debug::FILES instead of console.
9502 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9504 * lyxfunc.C (getStatus): use func_status
9506 * func_status.h: new header, describing the results of
9509 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9512 2001-06-25 The LyX Project <jug@sad.it>
9514 * buffer.C (sgmlOpenTag):
9516 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9518 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9520 * text2.C: remove some dead code
9522 * tabular.C (GetCellInset): store the last cell checked (gotten)
9524 * tabular.h: add the helper for the speedup
9526 * lyxtext.h: remove some dead code
9528 2001-06-26 The LyX Project <Asger>
9530 * paragraph.C: Change export to LaTeX of alignment to
9531 \begin{center} and family for better roundtrip work with reLyX.
9533 * Tune the math drawing a bit.
9535 2001-06-25 The LyX Project <Asger>
9537 * LColor.C (LColor): New color for math background. New color
9540 2001-06-25 The LyX Project <jug@sad.it>
9542 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9545 * bufferlist.C (newFile): do not restrict to files ending with
9548 * BufferView_pimpl.C (MenuInsertLyXFile):
9550 2001-06-24 The LyX Project <jug@sad.it>
9552 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9555 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9557 * lyxtext.h: rename most methods to begin with a small char.
9558 Lots of changes because of this.
9560 * paragraph.C (Paragraph): do not call fitToSize
9561 (erase): call Pimpl::erase
9562 (insertChar): call Pimpl::insertChar
9563 (insertInset): call Pipl::insertInset
9564 (breakParagraph): do not call fitToSize
9565 (breakParagraphConservative): do not call fitToSize
9566 (fitToSize): remove method
9568 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9570 2001-06-24 The LyX Project <Asger>
9572 * Fix Qt compilation^2
9574 2001-06-24 The LyX Project <jug@sad.it>
9576 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9577 depthHook(getDepth()-1).
9580 * ParagraphParameters.h:
9581 * ParameterStruct.h: change type of depth to unsigned int ==
9582 depth_type. Many adaptations to other files before of that.
9584 2001-06-24 The LyX Project <Asger>
9586 * Fix Qt compilation.
9588 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9590 * paragraph.h: renamed several methods to begin with small letter.
9591 several changes to many parts of the code because of this.
9593 2001-06-23 The LyX Project <jug@sad.it>
9595 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9596 rewritten to discard all double spaces when KeepEmpty is off
9597 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9598 to only handle newlines but not fiddle with spaces and friends.
9600 * lyxfunc.C (MenuNew): when doing 'new from template', use
9601 template_path as default directory
9603 2001-06-23 The LyX Project <Asger>
9605 * Clean-up of header file includes all over
9606 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9608 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9610 * paragraph.h: renamed from lyxparagraph.h
9612 2001-06-23 Asger <lyx@violet.home.sad.it>
9614 * Buffer.h: Removed Buffer::resize
9615 * BufferList.h: Removed BufferList::resize
9616 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9617 the document lazily when we change the width, or the font settings.
9619 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9621 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9623 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9625 * buffer.h: remove out of date comment
9627 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9630 * screen.C: fix "theoretical" GC leak
9632 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9634 * LaTeX.C (scanAuxFile):
9635 (deplog): remove trailing \r when reading stream (useful under
9638 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9640 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9641 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9642 and BufferView::theLockingInset(Inset*), so should use them and not
9643 access bv_->text->the_locking_inset directly.
9645 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9647 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9650 * tex-defs.h: remove old unused file
9652 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9654 * BufferView_pimpl.C: fix typo, remove minibuffer message
9655 when buffer has loaded
9657 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9659 * lyxfunc.C (Dispatch): use stringstream
9660 (MenuNew): use stringstream
9661 (Open): use stringstream
9663 * importer.C (Import): use stringstream
9665 * bufferview_funcs.C (CurrentState): use stringstream
9667 * LaTeX.C (run): use stringstream
9669 * BufferView_pimpl.C (savePosition): use stringstream
9670 (restorePosition): use stringstream
9671 (MenuInsertLyXFile): use stringstream
9673 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9686 * vspace.C: removed // -*- C++ -*- as first line.
9689 * version.h: added // -*- C++ -*- as first line.
9691 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9693 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9695 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9698 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9700 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9703 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9705 * gettext.C: include LString.h even when --disable-nls is on.
9707 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9709 * converter.h (Get): changed argument type from int to
9710 FormatList::size_type to avoid unnecessary conversion.
9712 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9715 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9717 * gettext.h: include LString.h even when --disable-nls is on.
9719 2001-06-07 Juergen Vigna <jug@sad.it>
9721 * text.C (BreakAgain): subst spaces with tabs.
9723 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9724 (resizeInsetsLyXText): set force on resizeLyXText.
9726 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9728 * gettext.h (gettext_init):
9729 (locale_init): use a real definition instead of a macro
9731 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9733 * Bufferview_pimpl.C:
9735 * LColor.C: further lcolor tidies
9737 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9739 * BufferView_pimpl.C (updateScrollbar): simplify.
9741 * BufferView2.C: don't include insets/insetinfo.h, change
9742 prototype for insertInset and call the Pimpl version. let
9743 updateInset call Pimpl version.
9745 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9746 gotoInset to BufferView::Pimpl
9748 2001-06-01 Juergen Vigna <jug@sad.it>
9750 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9751 inside a LockingInset (is the update needed at all?).
9753 2001-05-31 Juergen Vigna <jug@sad.it>
9755 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9756 here not the old one otherwise how should we compare it afterwards
9759 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9764 * FontInfo.C: bring C functions into global namespace when
9767 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9769 * LString.h: make sure config.h has been loaded before LString.h.
9771 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9772 (one for each char read by EatLine!).
9774 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9777 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9779 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9780 to the same as the par we break from
9782 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9784 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9786 * MenuBackend.C (expand): also create menu entries for wide
9787 versions of the floats.
9789 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9791 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9793 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9794 frontends/Makefile.am
9800 * tabular.C (getTokenValue): add std::
9802 * tabular-old.C (getTokenValue): add std::
9803 (getTokenValue): ditto
9804 (getTokenValue): ditto
9806 * screen.C (ToggleSelection): adjust
9808 * lyxtext.h: put selection cursors inside a Selection struct.
9810 * lyxfunc.C (moveCursorUpdate): adjust
9812 * lyxfont.C (latexWriteStartChanges): add std::
9816 * font.h: delete with(char const *, LyXFont const &)
9818 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9820 * FontInfo.C (getFontname): add std::
9822 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9823 (workAreaButtonPress): adjust
9824 (tripleClick): adjust
9826 (moveCursorUpdate): adjust
9829 * BufferView2.C (gotoInset): adjust
9831 2001-05-30 Juergen Vigna <jug@sad.it>
9833 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9834 to check pspell I add this as default as I now have new pspell
9835 libraries and they seem to use this.
9837 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9839 * text2.C (CutSelection): make the cursor valid before the call to
9842 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9844 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9845 relied on 0 terminated strings and other horrors. Bug found due to
9846 the new assert in lyxstring!
9848 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9851 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9853 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9856 * lyxfunc.C (processKeySym): change method of getting to the
9859 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9860 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9861 * BufferView_pimpl.[Ch]: here as private methods.
9863 2001-05-28 Juergen Vigna <jug@sad.it>
9865 * text.C (SetHeightOfRow): added the update() call again as it is
9866 needed to initialize inset dimensions!
9868 2001-05-16 Juergen Vigna <jug@sad.it>
9870 * text2.C (SetCharFont): Add new function with BufferView * and
9871 bool toggleall parameters for setting insets internal fonts.
9872 (SetFont): Freeze the undo as we may change fonts in Insets and
9873 all this change should be inside only one Undo!
9875 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9876 setting font's in insets as for them we have the SetFont function!
9878 2001-05-15 Juergen Vigna <jug@sad.it>
9880 * text2.C (ClearSelection): to be sure we REALLY don't have any
9883 * tabular.C (TeXCellPreamble): fixed the left border problem for
9886 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9888 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9891 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9893 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9894 LFUN_BREAKPARAGRAPH.
9896 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9897 help test to "internal only", similar for LFUN_INSERT_URL
9899 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9900 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9901 auto_region_delete and deadkeys.
9903 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9906 * LColor.C: remove some dead entries, tidy a little
9908 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9910 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9912 (Dispatch): implement LFUN_ESCAPE
9914 * commandtags.h: add LFUN_ESCAPE
9916 * LyXAction.C (init): add entry for LFUN_ESCAPE
9918 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9919 Remove commented code.
9920 (insertNote): moved here
9921 (open_new_inset): moved here
9923 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9926 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9928 * kbmap.C (findbinding): clean it up and make it work correctly.
9930 * lyx_main.C (init): do not pass argc and argv as parameters
9932 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9934 * buffer.C: fix path for OS/2 & Win32
9938 * lyx_main.C: Added os:: class.
9940 * os2_defines.h: update
9942 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9944 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9945 better by trying again with reduced state.
9947 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9949 * lyxrc.C (read): print error about invalid key sequence only when
9950 debugging (because not all latinX keysyms are known to some X
9953 * kbsequence.C (getiso): add a few std:: qualifiers
9954 (getiso): comment out extra return statement.
9956 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9958 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9960 (Dispatch): enhance the accent inset a bit. (not perfect)
9962 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9964 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9966 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9968 * bufferlist.C (emergencyWrite): fix assert() call
9970 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9972 * text.C (InsertChar): Added trivial patch to only send the "you
9973 can not do multiple spaces this way" message once during a
9976 2001-05-08 Baruch Even <baruch@lyx.org>
9978 * Makefile.am: Changed order of libraries to get LyX to link properly
9979 with the gnome frontend.
9981 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9983 * LaTeXFeatures.h: add a std:: qualifier
9985 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9987 * paragraph.C (String): use stringstream
9989 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9991 * paragraph.C (writeFile): remove footflag arg
9993 * buffer.C (makeLaTeXFile): use stringstream
9994 (latexParagraphs): remove footnot gurba
9996 * LaTeXFeatures.C (getPackages): use stringstream
9997 (getMacros): likewise
9998 (getTClassPreamble): likewise
9999 (getFloatDefinitions): new method
10001 * paragraph.C (writeFile): reindent
10004 * WorkArea.h: revert the xpos + etc changes.
10006 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10008 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10010 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10011 (pasteSelection): likewise
10012 * text2.C (CreateUndo): likewise
10014 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10016 * minibuffer.C (peek_event): temporarily reduce the functionality
10017 of the minibuffer (to allow args on lfuns)
10019 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10020 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10022 * buffer.C (readInset): add compability reading of old float
10023 lists, add reading of new style float list.
10024 (readInset): avoid reevaluation of inscmd.getCmdName()
10025 (getLists): reindent
10027 * MenuBackend.C (MenuItem): implement parsing of
10028 md_floatlistinsert and md_floatinsert.
10029 (expand::LastFiles): move initalizaton of iterators out of loop,
10030 avoid reevaluation.
10031 (expand::Documents): introduce typdedef vector<string> Strings,
10033 (expand::ExportFormats): introduce typedef vector<Format const *>
10034 Formats, and use it.
10035 (expand): implement FloatListInsert and FloatInsert.
10037 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10038 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10039 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10041 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10043 (Dispatch::LFUN_FLOAT_LIST): implement
10045 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10047 * LaTeX.C (run): Fix problem with --export code.
10049 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10051 * BufferView.[Ch] (workarea): removed.
10052 (getClipboard) new method; wrapper for workarea()->getClipboard()
10054 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10057 * WorkArea.h (width, height, xpos, ypos): These methods all
10058 returned the dimensions of the work_area sub-area of WorkArea,
10059 resulting in a position error if the WorkArea were resized. Now
10060 return the dimensions of the entire WorkArea.
10062 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10064 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10066 * LaTeX.C (deplog): correct the syntax of regex reg1
10068 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10070 * undo.C: remove !NEW_INSETS cruft
10072 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10074 * text2.C: remove !NEW_INSETS cruft
10076 * text.C: remove !NEW_INSETS cruft
10078 * tabular.C: remove !NEW_INSETS cruft
10080 * spellchecker.C: remove !NEW_INSETS cruft
10082 * lyxtext.h: remove !NEW_INSETS cruft
10084 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10086 * lyxfunc.C: remove !NEW_INSETS cruft
10088 * lyxfind.C: remove !NEW_INSETS cruft
10090 * lyx_cb.C: remove !NEW_INSETS cruft
10092 * figureForm.C: remove !NEW_INSETS cruft
10094 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10096 * buffer.[Ch]: remove !NEW_INSETS cruft
10098 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10100 * CutAndPaste.C: remove !NEW_INSETS cruft
10102 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10104 * BufferView2.C: remove !NEW_INSETS cruft
10106 * BufferView.h: remove !NEW_INSETS cruft
10108 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10110 * Lsstream.h: include LString.h before the sstream headers to
10111 fix problem with gcc 2.95.3 and lyxstring
10113 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10115 * lyx_main.C: add using directives when needed for C functions
10116 declared in std:: namespace.
10118 2001-04-27 Juergen Vigna <jug@sad.it>
10120 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10121 (SetHeightOfRow): comment out the update call should not be needed!
10123 2001-04-13 Juergen Vigna <jug@sad.it>
10125 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10126 (LyXTabular): tried to minimize operator= operations (and realized
10127 hopfully Lars wish).
10129 2001-04-27 Juergen Vigna <jug@sad.it>
10131 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10133 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10135 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10137 * buffer.C (readInset): hack to make listof algorithm work
10139 * BufferView_pimpl.C: hack to make listof algorithm work
10141 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10143 * LyXAction.C: removed all !NEW_INSETS cruft
10144 (init): moved lfun_item in method
10146 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10148 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10150 * BufferView2.C (theLockingInset): white space.
10152 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10154 * minibuffer.C: include <iostream>
10156 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10158 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10160 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10162 * text.[Ch] (TransposeChars): new method
10164 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10166 * call message directly through LyXView instead of through LyXFunc
10167 * BufferView2.C: adjust
10168 * BufferView_pimpl.C: adjust
10169 * FontLoader.C: adjust
10171 * bufferview_funcs.C: adjust
10172 * converter.C: adjust
10173 * figureForm.C: adjust
10174 * importer.C: adjust
10176 * lyx_gui_misc.C: adjust
10177 * lyxfunc.C: adjust
10180 + more files in subdirs
10182 * lyxparagraph.h (size): move up int file
10185 * adjust all uses of Assert to lyx::Assert.
10187 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10188 lyxfunctional in namespace lyx
10189 * layout.C (hasLayout): ditto
10192 (delete_layout): ditto
10193 (NumberOfClass): ditto
10194 * converter.C (GetFormat): ditto
10199 * bufferlist.C (getFileNames): ditto
10200 (emergencyWriteAll): ditto
10203 * MenuBackend.C (hasSubmenu): ditto
10206 * BufferView_pimpl.C (getInsetByCode): ditto
10208 2001-04-18 Juergen Vigna <jug@sad.it>
10210 * vspace.C (asLatexString): fixed the 100% problem.
10212 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10214 * lyxfunc.C (Dispatch):
10216 * minibuffer.h: add a few std:: qualifiers
10218 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10220 * minibuffer.[Ch]: reimplement so that commands is initiated and
10221 run from lyxfunc, simplified som handling, and made the completion
10222 and history code for complete. wip.
10224 * lyxfunc.C (processKeySym): call message
10225 (miniDispatch): new temporary method
10226 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10227 (LFUN_MESSAGE): implement
10228 (LFUN_MESSAGE_PUSH): implement
10229 (LFUN_MESSAGE_POP): implement
10230 (initMiniBuffer): the initial/defualt minibuffer message.
10232 * lyxfont.[Ch]: inline some more getters
10234 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10236 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10238 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10239 (AutoSave): use LFUN_MESSAGE
10240 (Reconfigure): ditto
10242 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10244 * figureForm.C: use LFUN_MESSAGE
10246 * converter.C (runLaTeX): use LFUN_MESSAGE
10248 * bufferview_funcs.C: use LFUN_MESSAGE
10250 (changeDepth): ditto
10252 * bufferparams.h: use boost::
10254 * bufferlist.h: inherit privately from noncopyable
10256 * bufferlist.C (loadLyXFile): remove some commented code.
10258 * buffer.C (runChktex): use LFUN_MESSAGE
10260 * ShareContainer.h: inherit privately from noncopyable
10262 * ParagraphParameters.[hC] (depth): inline it.
10264 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10266 (message): new method
10267 (messagePush): ditto
10268 (messagePop): ditto
10269 (show): init minibuffer
10270 (showState): direct call
10272 * LaTeX.[Ch]: inherit privately from noncopyable
10273 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10274 instead of WriteStatus.
10276 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10278 * BufferView_pimpl.C (buffer): don't init minibuffer
10279 (workAreaButtonPress): use LFUN_MESSAGE
10280 (workAreaButtonRelease): ditto
10281 (savePosition): ditto
10282 (restorePosition): ditto
10283 (MenuInsertLyXFile): ditto
10284 (workAreaExpose): don't init minibuffer
10285 (update): remove commented code, simplify
10287 * BufferView2.C (openStuff): use LFUN_MESSAGE
10288 (toggleFloat): ditto
10291 (copyEnvironment): ditto
10292 (pasteEnvironment): ditto
10297 (updateInset): remove some commented code
10299 * lastfiles.h: inherit privately from noncopyable
10302 * lyx_main.h: ditto
10304 * lyxlex_pimpl.h: ditto
10306 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10307 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10308 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10310 * LyXAction.h: inherit privately from noncopyable, add methods
10311 func_begin, func_end, returning iterators to the func map.
10313 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10314 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10315 (func_begin): new method
10316 (func_end): new method
10318 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10320 (copySelection): ditto
10321 (pasteSelection): ditto
10323 * BufferView.C: whitespace change
10324 * BufferView.h: inherit privately from noncopyable
10326 2001-04-16 Allan Rae <rae@lyx.org>
10328 * tabular-old.C (l_getline):
10329 * spellchecker.C (sc_check_word):
10330 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10331 an unrecognised preprocessor directive. So ensure they're wrapped.
10333 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10335 * src/exporter.C (Export): Give an error message when path to file
10338 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10340 * LaTeX.C (deplog): Always check that foundfile exists.
10342 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10345 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10347 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10349 * tabular.[Ch] (getLabelList): implement new method
10351 * minibuffer.h: comment ouf setTiimer
10353 * minibuffer.C (ExecutingCB): constify res
10354 (peek_event): constify s
10355 (Set): constify ntext
10356 (Init): constify nicename
10358 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10360 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10361 (savePosition): use two params to Minibuffer::Set
10362 (restorePosition): ditto
10364 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10366 * lyx_main.C: include language.h
10368 * Makefile.am (lyx_main.o): add language.h
10370 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10376 * CutAndPaste.C: include gettext.h
10378 * lyxfont.h: remove old hack with ON and OFF.
10381 * lyxfont.h: do not include language.h...
10386 * bufferview_funcs.C:
10392 * paragraph.C: ... but do it here instead
10394 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10396 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10398 * tabular.C: small reformat
10400 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10403 (BreakParagraph): ditto
10404 (SetOnlyLayout): ditto
10407 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10410 * lastfiles.C: removed most using decl, add std:: where needed
10412 * buffer.C: ws changes
10414 * MenuBackend.C (class compare_format): put into anon namespace
10415 (expand): constify label, names, action, action2
10418 * text.C (SingleWidth): constify font
10419 (IsBoundary): constify rtl2
10420 (GetVisibleRow): constify ww
10422 * LaTeX.C (deplog): constify logfile
10424 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10426 (workAreaExpose): constify widthChange, heightChange
10428 * lyxrow.C (par): moved
10431 * lyxrow.h: as inlines here
10433 * lyxfont.h (shape): moved from lyxfont.C
10434 (emph): moved from lyxfont.C
10436 * lyxfont.C (LyXFont): use initialization list for all
10438 (shape): move to lyxfont.h as inline
10439 (emph): move to lyxfont.h as inline
10442 2001-04-04 Juergen Vigna <jug@sad.it>
10444 * vspace.C: had to include stdio.h for use of sscanf
10446 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10449 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10450 independent of xforms.
10452 2001-04-02 Juergen Vigna <jug@sad.it>
10454 * spellchecker.C: fixed namespace placing!
10456 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10458 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10459 the LyXParagraph * is 0.
10461 2001-03-29 Juergen Vigna <jug@sad.it>
10463 * vspace.C: added support for %, c%, p%, l%.
10464 (stringFromUnit): added helper function.
10465 (asLatexString): changed to give right results for the %-values.
10467 * buffer.C: convert the widthp in a width%.
10469 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10471 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10474 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10475 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10477 * lyx_cb.[Ch]: see above.
10479 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10483 * lyx.[Ch]: replaced by figure_form.[Ch].
10487 * lyxfunc.C: changed headers associated with above changes.
10489 2001-03-27 Juergen Vigna <jug@sad.it>
10491 * BufferView_pimpl.C: set the temporary cursor right!
10493 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10495 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10497 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10499 * LString.h: removed "using std::getline"!
10501 * BufferView_pimpl.C (Dispatch): changes due to changes in
10502 InsetInclude::Params.
10504 * buffer.C (tag_name): removed redundant break statements as they were
10505 producing lots of warnings with my compiler.
10507 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10509 * LString.h: add "using std::getline" when using the real <string>.
10511 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10513 * buffer.C: removed bitset usage.
10514 PAR_TAG moved to an anonymous name space.
10515 (tag_name): new funtion, also in the anonymous namespace.
10516 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10517 (makeDocBookFile): clean code. Completed transition from string arrays
10519 (SimpleDocBookOnePar): code clean.
10521 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10523 * tabular.C: add some comments.
10525 2001-03-22 Juergen Vigna <jug@sad.it>
10527 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10528 compatibility read a bit and fixed bug with minipage in different
10531 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10533 * buffer.C (pop_tag): removed.
10534 (push_tag): removed.
10535 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10536 array replaced with vector. Added support for CDATA sections.
10537 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10539 (makeDocBookFile): XML conformant declaration of CDATA section,
10540 fixed bug related to <emphasis> in the first paragraph char.
10541 (sgmlOpenTag): exclude empty tags.
10542 (sgmlCloseTag): ditto.
10544 * buffer.h (pop_tag): removed.
10545 (push_tag): removed.
10547 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10549 * language.h (Languages): added size_type and size().
10551 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10553 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10554 response on compability reading of minipages. One probliem is that
10555 the old usage of minipages was «flertydig»
10557 * several files here and in subdirs: don't use static at file
10558 scope use anon namespaces instead.
10560 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10562 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10563 LaTeX output. This is necessary for Literate document
10566 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10568 * buffer.C: insert hfill when needed.
10570 * tabular.C (l_getline): use string::erase, small whitespace change.
10572 * BufferView_pimpl.C: try the anon namespace.
10573 * WorkArea.C: ditto
10575 2001-03-16 Juergen Vigna <jug@sad.it>
10577 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10578 otherwise it won't open options-dialogs.
10580 * buffer.C: honor pextraWidth(p) on converting minipages.
10582 * tabular.C (l_getline): changed the functions to strip trailing \r.
10584 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10586 * BufferView_pimpl.C:
10587 * minibuffer..C: added "using SigC::slot" declaration.
10589 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10591 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10597 * paragraph.C: ditto
10599 * lyxtext.h: NO_PEXTRA
10601 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10603 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10604 * ParameterStruct.h: ditto
10605 * ParagraphParameters.h: ditto
10606 * lyxparagraph.h: ditto
10608 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10610 * buffer.C: add compability for minipage alignment.
10611 (latexParagraphs): remove unwanted pextra check.
10613 * several files: remove CXX_WORKING_NAMESPACES
10615 * buffer.C (pop_tag): tie is in namespace boost
10617 * BufferView.h: noncopyable is in namespace boost
10619 * lyx_main.h: ditto
10622 * lastfiles.h: ditto
10623 * bufferlist.h: ditto
10624 * ShareContainer.h: ditto
10626 * LyXAction.h: ditto
10629 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10631 * Merging changes from BRANCH_MVC back into HEAD.
10633 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10635 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10637 * BufferView_pimpl.C: change from intl.C
10641 * Makefile.am: move combox.*
10647 * intl.C: remove dialog (covered by prefs)
10649 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10651 * lyxfunc.C (Dispatch): removed redundant break statement.
10653 2001-03-14 Juergen Vigna <jug@sad.it>
10655 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10657 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10659 * buffer.C: add hack to fix compability reading of minipages.
10661 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10663 * buffer.C (getLists): Cleanup.
10665 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10667 * lyxfont.C (update): don't honor toggleall on font size.
10669 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10673 * Makefile.am: moved to frontends/xforms/
10677 * BufferView_pimpl.C: changes for moved mathpanel
10679 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10681 * gettext.h: fix gettext_init() in --disable-nls
10683 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10685 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10687 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10690 * lyx.h: strip external form
10692 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10694 * BufferView_pimpl.C: add comment, destroySplash()
10696 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10698 * BufferView_pimpl.C:
10702 * lyxfunc.C: use re-worked insetinclude
10704 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10706 * buffer.C: add using std::stringstream.
10708 * lyx_cb.C: readd using std::ios.
10710 * buffer.C: add using std::map.
10712 * BufferView_pimpl.C: add using std::vector.
10714 * ShareContainer.h: add std:: to swap.
10716 * buffer.h: add some typedefs
10717 * buffer.C (getLists): use them
10718 (getLists): renamed from getTocList.
10719 add a counter for the different float types and use it in the
10721 (getLists): use the same counter for the NEW_INSETS and the "non"
10724 * lyx_cb.h: remove unused items, includes, using etc.
10726 * ShareContainer.h: remove some commented code, add more comments
10727 and "documentation".
10729 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10731 * buffer.C (getTocList): make the list also when NEW_INSETS is
10734 * buffer.h: remove TocType
10736 * buffer.C (getTocList): change to return a map<string,
10737 vector<TocItem> >, implement for dynamic number of list.
10739 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10740 * text2.C (PasteSelection): adjust
10741 * CutAndPaste.C (pasteSelection): adjust
10743 * FloatList.C (FloatList): update from the new_insets branch.
10744 * Floating.[Ch]: ditto
10745 * LaTeXFeatures.C: ditto
10747 * lyxlex_pimpl.C: ditto
10749 * paragraph.C (Last): remove when NEW_INSETS is defined.
10751 * other file: changes because of the above.
10753 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10755 * lyxparagraph.h: rename next to next_, previous to previous_,
10756 make them private for NEW_INSETS. Rename Next() to next(),
10757 Previous() to previous().
10759 * other files: changes because of the above.
10761 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10764 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10767 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10769 * main.C (main): pass lyx_localedir to gettext_init().
10771 * gettext.h: remove locale_init and gettext_init macros
10773 * gettext.C (locale_init): new function
10774 (gettext_init): new function
10776 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10779 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10781 * Moved credits to frontends:
10782 * credits.[Ch]: removed
10783 * credits_form.[Ch]: removed
10784 * lyx_gui_misc.C: remove credits stuff
10787 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10789 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10791 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10792 unneeded destructor.
10794 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10795 a standalone pointer again.
10797 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10799 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10805 * ToolbarDefaults.C:
10814 * BufferView_pimpl.C: use new file dialog in GUII
10817 * lyx_cb.C: remove LayoutsCB to Toolbar
10819 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10821 * ShareContainer.h (get): add std:: qualifier
10823 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10825 * ShareContainer.h: define a proper ShareContainer::value_type
10826 type (and use typename to please compaq cxx)
10828 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10830 * lyxparagraph.h: move serveral local vars to
10831 ParameterStruct/ParagraphParameters., use ShareContainer in
10832 FontTable., make vars in FontTable private and add getter and
10835 * paragraph.C: changes because of the above.
10837 * lyxfont.h: remove copy constructor and copy assignment. (the
10838 default ones is ok), move number inside FontBits. move inlines to
10841 * lyxfont.C: add number to initializaton of statics, move several
10842 inlines here. constify several local vars. some whitespace
10843 cleanup. Dont hide outerscope variables.
10845 * Spacing.h: add two new constructors to match the set methods.
10847 * ShareContainer.h: new file, will perhaps be moved to support
10849 * ParameterStruct.h: new file
10851 * ParagraphParameters.h: new file
10853 * ParagraphParameters.C: new file
10855 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10856 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10858 * BufferView_pimpl.C: ParagraphParameter changes.
10859 * buffer.C: Likewise.
10860 * bufferview_funcs.C: Likewise.
10861 * text.C: Likewise.
10862 * text2.C: Likewise.
10864 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10866 * lyxfind.C (LyXReplace): do not redefine default argument in
10868 (IsStringInText): ditto
10869 (SearchForward): ditto
10870 (SearchBackward): ditto
10872 2001-03-06 Juergen Vigna <jug@sad.it>
10874 * lyxfind.C (IsStringInText): put parentes around expressions.
10876 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10878 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10880 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10882 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10884 * stl_string_fwd.h: add comment
10886 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10889 * tabular.C: remove unused DocBook methods
10895 killed DO_USE_DEFAULT_LANGUAGE
10897 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10899 * lyx_gui.C: do not include language.h.
10901 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10902 arguments in function implementation.
10904 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10906 * BufferView_pimpl.C: add <ctime>
10908 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10910 * BufferView_pimpl.C: add using std::find_if
10912 2001-02-27 José Matos <jamatos@fep.up.pt>
10914 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10917 2001-02-11 José Matos <jamatos@fep.up.pt>
10919 * buffer.C (makeDocBookFile): command styles now have a parameter as
10920 "title" by default.
10922 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10924 * layout_forms.[Ch]: removed
10925 * lyx_cb.[Ch]: out character
10926 * lyx_gui.C: out character
10927 * lyx_gui_misc.C: out character
10928 * bufferview_funcs.C: : out character,
10929 added toggleall as parameter in ToggleAndShow
10931 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10933 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10935 * text2.C (SetCurrentFont): Disable number property at boundary.
10937 2001-02-26 Juergen Vigna <jug@sad.it>
10939 * lyxfunc.C (getStatus): added a string argument override function so
10940 that this is correctly called from LyXFunc::Dispatch if it contains a
10941 do_not_use_argument which is used!
10942 (Dispatch): added check for "custom" export and call appropriate func.
10944 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10946 * lyxrc.C: Add language_command_local, language_use_babel and
10947 language_global_options.
10949 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10951 * buffer.C (makeLaTeXFile): Use language_use_babel and
10952 language_global_options.
10954 2001-02-23 Juergen Vigna <jug@sad.it>
10956 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10957 which works with LyXText and putted it inside BufferView. Here now we
10958 only call for that part the BufferView::Dispatch() function.
10960 * BufferView.C (Dispatch): added.
10962 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10963 functions which needs to use a LyXText over from LyXFunc.
10964 (MenuInsertLyXFile): added
10965 (getInsetByCode): added
10966 (moveCursorUpdate): added
10967 (static TEXT): added
10969 2001-02-22 Juergen Vigna <jug@sad.it>
10971 * BufferView_pimpl.C (update): call a status update to see if LyXText
10974 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10976 * vc-backend.C (revert): implement for CVS
10977 (getLog): implement for CVS
10979 2001-02-20 Juergen Vigna <jug@sad.it>
10981 * text2.C (ClearSelection): added BufferView param for inset_owner call
10983 * lyxfunc.C (TEXT): added this function and use it instead of
10984 directly owner->view()-text of getLyXText().
10986 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10988 * src/layout_forms.C: out preamble
10989 * src/layout_forms.h: out preamble
10990 * src/lyx_cb.C: out preamble
10991 * src/lyx_cb.h: out preamble
10992 * src/lyx_gui.C: out preamble
10993 * src/lyx_gui_misc.C: out preamble
10994 * src/lyxfunc.C: connect with guii preamble
10996 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10998 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11000 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11002 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11003 whether to run bibtex.
11005 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11007 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11009 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11011 * Makefile.am (lyx_SOURCES): removed bibforms.h
11013 * vspace.h: doxygen
11015 * text.C (GetVisibleRow): make several local vars const
11017 * tabular.C: small cleanup.
11019 * lyxserver.C (callback): use compare instead of strncmp
11021 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11022 inlines to after class or to paragraph.C
11024 * lyxfont.h: remove friend operator!=
11026 * converter.h: move friend bool operator< to non friend and after
11029 * combox.h: small cleanup
11031 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11032 to inlines after class def.
11034 * buffer.C (pop_tag): use string operations instead of strcmp
11036 * bmtable.c: doxygen, small cleanup
11038 * LaTeX.h: remove friend operator==
11040 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11052 * BufferView_pimpl.C:
11053 * BufferView.[Ch]: remove cruft
11055 2001-02-14 Juergen Vigna <jug@sad.it>
11057 * lyxfunc.C: removed #if 0 unused code
11059 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11061 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11063 * text2.C (SetSelection): added a BufferView * parameter
11065 2001-02-13 Juergen Vigna <jug@sad.it>
11067 * lyxfunc.C (Dispatch): fixed protected blank problem.
11068 * BufferView2.C (protectedBlank): added LyxText * parameter.
11070 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11071 (AppendColumn): same as above for column_info.
11073 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11074 (moveCursorUpdate): use a LyXText param for support of InsetText.
11076 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11077 (tripleClick): ditto
11079 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11081 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11083 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11085 * text2.C (SetSelection): set correct update status if inset_owner
11086 (ToggleFree): ditto
11088 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11090 * tabular.C: remove some commented code.
11092 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11094 * BufferView_pimpl.C: call hideSplash()
11096 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11099 * bibforms.h: remove
11102 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11103 add LFUN_CHILD_CREATE
11105 * counters.h: fix tiny typo
11110 * lyx.C: move splash to frontends/xforms/
11112 * lyx_gui_misc.C: move Include and Bibform to frontends
11114 * lyxvc.h: clarify comment
11116 * vspace.C: tiny housekeeping
11118 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11120 * text.C (PrepareToPrint): RTL Fix.
11122 * paragraph.C (GetUChar): New method.
11123 (String): Use GetUChar.
11125 * buffer.C (asciiParagraph): Use GetUChar.
11127 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11129 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11131 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11134 * buffer.C: rename to getLogName(), handle
11135 build log / latex log nicely
11137 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11140 * MenuBackend.h: remove support for reference menuitem type.
11142 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11144 * BufferView_pimpl.C: housekeeping
11145 * BufferView_pimpl.h:
11150 * minibuffer.h: move Timeout GUI-I
11152 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11154 * lyxrc.C (read): Update converters data-structures.
11156 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11158 * LaTeX.h (operator!=): add operator != for Aux_Info
11160 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11162 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11164 * LaTeXLog.C: deleted, useful code moved to Buffer
11167 * buffer.C: new function getLatexLogName()
11173 * lyxfunc.C: use frontends for LaTeX and VC logs
11175 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11177 * LaTeX.h: yet another std:: that Allan forgot.
11179 * Variables.C (set): renamed from isset(), because this clashes
11180 with some HP-UX macros (grr).
11182 2001-02-06 Allan Rae <rae@lyx.org>
11184 * LaTeX.h: Another bug fix. Missing std:: this time.
11186 2001-02-04 Allan Rae <rae@lyx.org>
11188 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11189 floats problem. I've left it commented out because it's not quite
11190 correct. It should also test that the current object is a table or
11191 figure inset. But I haven't gotten around to figuring out how to do
11192 that. I *think* it'll be something like: "table" == inset.type()
11194 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11197 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11199 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11200 all the citation/databases/styles in the auxilary file.
11201 (run): Rerun latex if there was a babel language error.
11203 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11205 * text.C (Backspace): Preserve the font when changing newline char
11207 (BreakParagraph): If the cursor is before a space, delete the space.
11209 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11211 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11213 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11214 new argument (code).
11215 (ChangeCitationsIfUnique): New method.
11217 * paragraph.C (GetPositionOfInset): Handle bibkey.
11219 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11221 * BufferView_pimpl.h: change type of Position::par_pos to
11222 LyXParagraph::size_type.
11224 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11226 * BufferView_pimpl.C (savePosition, restorePosition): Write
11227 messages to minibuffer.
11229 2001-01-28 José Matos <jamatos@fep.up.pt>
11231 * buffer.C (makeDocBookFile): adds support for document language.
11232 A silly restriction on the name of LatexCommand types where removed.
11233 Added support for CDATA sections, allows to chars unescaped, used
11234 among others in code, to avoid escape < and >.
11236 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11238 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11239 saved positions instrad of a stack. Furthermore, a position is
11240 stored using paragraph id/paragraph position.
11242 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11243 Remove LFUN_REF_BACK.
11245 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11247 * converter.C (dvipdfm_options): New method.
11249 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11251 * vspace.C (isValidLength): Fix for empty input string.
11253 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11255 * LyXAction.C (init): change description of LFUN_FIGURE to
11258 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11260 * LaTeX.C: add using directive
11262 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11264 * MenuBackend.C (expand): Fix the sorting of the formats.
11266 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11268 * lyx_main.C: tiny error message fix
11270 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11272 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11273 calling fl_initialize(). This fixes the problem with ',' as
11274 decimal separator in text files.
11276 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11278 * trans.C (process): Fix the keymap bug.
11280 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11282 * LaTeX.C (scanAuxFiles): New method. Provides support for
11283 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11284 (scanLogFile) Scan for "run BibTeX" messages.
11286 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11287 OT1 font encoding. Also, load the aecompl package if the ae
11290 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11292 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11294 * texrow.C (increasePos): turn two error messages into debug
11297 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11299 * LaTeX.C (scanAux): Handle the \@input macro.
11300 (runBibTeX): Use scanAux().
11302 * language.C (latex_options_): New field.
11304 * LaTeXFeatures.C (getMacros): Add language macros.
11306 * buffer.C (makeLaTeXFile): Small fix.
11308 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11310 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11312 * text2.C: add a using directive.
11314 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11319 * lyxfunc.C: kill LyXBell.
11321 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11323 * text.C (IsBoundary): Remove the error message
11325 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11327 * lyxrc.C (setDefaults): Correct initialization value for
11330 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11332 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11335 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11336 and GotoNextNote().
11338 * src/LyXAction.C: Added reference-next.
11340 * text.C (InsertChar): Use contains instead of strchr.
11342 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11344 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11346 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11347 alignment commands (when needed).
11349 * text.C (InsertChar): Add ':' to number separator chars.