1 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * CutAndPaste.C (availableSelections): potentially check all
4 paragraphs in a cut to fill the shown strings.
6 2003-06-18 André Pönitz <poenitz@gmx.net>
8 * kbmap.[Ch]: use vector<> instead of list<>
10 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
12 * text3.C (dispatch): handle arg to LFUN_PASTE, call
13 pasteSelection with index
15 * text2.C (pasteSelection): modify, call pasteSelection with index
17 * paragraph.C (asString): reimplement version with no interval to
18 call the one with interval.
20 * lyxtext.h: add index arg to pasteSelection
22 * MenuBackend.C (MenuItem): handle PasteRecent
23 (Menu::read::Menutags): add md_pasterecent
25 (expandPasteRecent): new function
28 * MenuBackend.h: add PasteRecent to MenuItem::Kind
30 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
32 (availableSelections): new function
34 2003-06-17 Angus Leeming <leeming@lyx.org>
36 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
38 2003-06-17 Angus Leeming <leeming@lyx.org>
41 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
43 * lyxfunc.C (dispatch): invoke it.
45 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
47 * iterators.C (operator++, ParPosition): reintroduce some
48 const_cast for the benefit of older compilers.
50 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
52 * text3.C (dispatch): do not modify clipboard when doing
53 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
54 LFUN_DELETE_SKIP on a selection selection
56 2003-06-16 André Pönitz <poenitz@gmx.net>
62 * tabular.[Ch]: IU of clone() and getLabelList();
64 2003-06-13 André Pönitz <poenitz@gmx.net>
66 * tabular.h: compactification
68 2003-06-12 André Pönitz <poenitz@gmx.net>
72 * tabular_funcs.h: some renaming plus whitespace
74 2003-06-12 André Pönitz <poenitz@gmx.net>
83 * toc.C: Return a Paragraph & for ParIterator::operator*()
85 2003-06-11 John Levon <levon@movementarian.org>
89 * ToolbarBackend.C: add "Toolbars" section and
92 2003-06-10 Angus Leeming <leeming@lyx.org>
95 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
97 * lyxfunc.C (dispatch): invoke it.
99 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
101 * main.C: protect <ios> with HAVE_IOS
102 (main): protect sync_with_stdio with HAVE_IOS
104 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
106 * text2.C (cutSelection): adjust
107 (pasteSelection): adjust
109 * messages.C: handle get of empty string
111 * main.C (main): use sync_with_stdio(false)
113 * lyxfunc.C (dispatch): adjust
115 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
116 (WriteAs): remove unneeded BufferView arg.
118 * bufferparams.h: use correct types on papersize, papersize2 and
121 * bufferparams.C (readToken): adjust for type
122 (writeLaTeX): add missing cases to switch.
124 * bufferlist.C (quitWriteBuffer): adjust
127 * buffer.C (asciiParagraph): remove some commented code.
129 * CutAndPaste.C: remove current_view extern variable.
130 (cutSelection): add BufferParams arg.
131 (eraseSelection): add BufferParams arg.
132 (pasteSelection): add Buffer const & arg
134 2003-06-07 John Levon <levon@movementarian.org>
142 * paragraph.C: allow InsetERT to freely space lines,
143 and some consolidation of code
145 2003-06-06 José Matos <jamatos@fep.up.pt>
147 * buffer.C (makeDocBookFile): fix bug #821
149 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
151 * BufferView_pimpl.C (dispatch): use Dialogs::visible
153 2003-06-04 Angus Leeming <leeming@lyx.org>
155 * buffer.C: bump format to 224.
157 2003-06-05 André Pönitz <poenitz@gmx.net>
159 * text2.C (redoParagraphs): remove two const_cast<>
161 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
163 * ParagraphList.h: remove last remnants of NO_STD_LIST
165 2003-06-03 Angus Leeming <leeming@lyx.org>
167 * factory.C (createInset): small change to the way InsetExternal's params
170 2003-06-04 André Pönitz <poenitz@gmx.net>
172 * buffer.h: use Undo directly instead of shared_ptr<Undo>
175 * paragraph.[Ch]: some Inset -> UpdatableInset changes
177 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
179 * undo_funcs.C: make some simple cases of undo work again
181 2003-06-03 John Levon <levon@movementarian.org>
183 * ispell.C: HPUX doesn't have sys/select.h
186 2003-06-03 John Levon <levon@movementarian.org>
188 * CutAndPaste.C: update tabular and include inset
193 * paragraph.C: remove owningBuffer(), don't pass Buffer
196 * factory.C: insetGraphicsParams changed
198 2003-06-02 John Levon <levon@movementarian.org>
204 * text3.C: remove insetparent
206 2003-06-02 John Levon <levon@movementarian.org>
209 * buffer.C: fix inset_iterator.end(), move out of line
212 2003-06-01 John Levon <levon@movementarian.org>
214 * text3.C: use a proper cut/paste when doing inset
215 insert (from Jürgen Spitzmüller)
217 2003-06-01 John Levon <levon@movementarian.org>
219 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
221 2003-05-30 André Pönitz <poenitz@gmx.net>
223 * rowpainter.C: unify second drawing phase
225 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
227 * trans_mgr.C: remove one case of current_view
229 * text2.C (cursorBottom): delete NO_STD_LIST stuff
231 * paragraph_funcs.h: remove paragraph.h include
233 * paragraph.h: delete NO_STD_LIST stuff
235 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
237 * buffer.h: remove paragraph.h include
239 * ParagraphList.C: delete file
241 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
243 * toc.C (getTocList): adjust
245 * paragraph_pimpl.C (validate): adjust
247 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
249 * paragraph.C (Paragraph): adjust
250 (getPositionOfInset): use const_iterator, adjust
251 (bibitem): use const_iterator, adjust
252 (setInsetOwner): adjust
254 * iterators.C (operator++): adjust
256 * InsetList.[Ch]: Replace selfmade iterator with standard
257 vector::iterator also introduce const_iterator. Remove getPos,
258 getInset and setInset from InsetTable. Adjust accordingly.
260 * BufferView.C (lockInset): adjust
261 (ChangeInsets): adjust
263 * tabular.[Ch]: delete commented same_id functions
265 2003-05-28 John Levon <levon@movementarian.org>
267 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
269 2003-05-28 André Pönitz <poenitz@gmx.net>
271 * metricsinfo.[Ch]: remove 'fullredraw' member
273 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
275 * lyxtextclass.C (operator): remove caching.
277 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
281 * text2.C (cursorBottom): adjust
282 (setCounter): use ParagraphList::find, adjust
284 * text.C (workWidth): use ParagraphList::find, adjust
286 * lyxcursor.C (LyXCursor): adjust
288 * buffer.C (inset_iterator): adjust
290 * ParagraphList.h: make iterator(value_type) private, make
291 ParagraphList a friend of iterator.
293 * ParagraphList.C (find): new function
295 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
297 2003-05-27 André Pönitz <poenitz@gmx.net>
299 * dimension.[Ch]: a -> asc, d -> des, w -> wid
301 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
303 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
305 2003-05-26 John Levon <levon@movementarian.org>
307 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
309 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
311 * remove same_id from function signatures, adjust.
313 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
315 * undo_funcs.C (createUndo): use the id functions directly, adjust.
317 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
319 * paragraph.C (Paragraph): get rid of same_ids parameter
321 * ParagraphList.C (insert): adjust
324 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
326 * paragraph_funcs.C (breakParagraph): adjust
327 (breakParagraphConservative): adjust
329 * buffer.C (readParagraph): adjust
331 * ParagraphList.C (insert): take a reference instead of a pointer
334 * paragraph.[Ch] (id): new function
336 * bufferlist.C (newFile): adjust
338 * ParagraphList.C (ParagraphList): adjust
340 (push_back): take a reference instead of a pointer.
342 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
344 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
347 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
348 set else use old code.
350 * ParagraphList.C: remove all NO_NEXT code and only compile this
351 code of NO_STD_LIST is set.
353 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
355 * BufferView_pimpl.C:
365 * graphics/GraphicsConverter.C:
366 * graphics/PreviewLoader.C: header adjustment
368 2003-05-23 Angus Leeming <leeming@lyx.org>
370 * LaTeXFeatures.[Ch] (useBabel): new method.
371 * bufferparams.C (writeLaTeX): use it.
373 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
375 * ParagraphList.h (set): remove unused function.
377 2003-05-23 André Pönitz <poenitz@gmx.net>
380 * BufferView_pimpl.C:
384 * undo_funcs.C: setUndo reworked
386 * iterators.[Ch]: add access to topmost ParagraphList
388 * lyxtext.[Ch] (workWidth): add a const
390 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
392 * texrow.[Ch] (increasePos): remove function
393 * exporter.C (export): removed unused var and outdated comment
395 2003-05-23 Angus Leeming <leeming@lyx.org>
397 * latexrunparams.h: rename fragile as moving_arg.
398 * paragraph.C (simpleTeXOnePar): ditto.
399 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
401 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
403 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
405 (textUndoOrRedo): comment out a currently unused var.
407 * paragraph.h (NO_NEXT): enable NO_NEXT
409 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
411 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
413 * exporter.C (Export): adjust for removeAutoInsets removal.
415 * buffer.C (runChktex): adjust for removeAutoInsets removal.
417 * LyXAction.C (init): remove LFUN_REMOVEERRORS
419 * BufferView.[Ch] (removeAutoInsets): delete function
421 2003-05-22 Angus Leeming <leeming@lyx.org>
423 * latexrunparams.h: add a free_spacing variable.
425 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
426 to pass moving_arg, as the data is stored in runparams.fragile.
428 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
429 to Inset::latexOptional or to simpleTeXOnePar.
431 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
432 free_spacing arg to Inset::latexOptional.
434 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
437 2003-05-22 Angus Leeming <leeming@lyx.org>
439 * latexrunparams.h: add fragile and use_babel variables.
441 * bufferparams.[Ch] (writeLaTeX): return use_babel.
442 * buffer.C (makeLaTeXFile): store this returned value in
443 runparams.use_babel, thus passing it to the inset::latex methods.
445 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
446 simpleTeXSpecialChars as it is now stored in runparams.fragile.
448 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
449 longer has a fragile arg, as it is stored in runparams.fragile.
451 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
452 moving_arg parameter as the data is stored in runparams.fragile.
454 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
455 a fragile parameter as the data is stored in runparams.fragile.
457 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
459 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
461 2003-05-22 Angus Leeming <leeming@lyx.org>
463 * latexrunparams.h: add a 'bool nice' which defaults to false.
465 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
466 now encapsulated within runparams.
468 * bufferlist.C (updateIncludedTeXfiles):
469 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
471 2003-05-22 Angus Leeming <leeming@lyx.org>
473 * latexrunparams.h: new file containing struct LatexRunParams.
474 * Makefile.am: add new file.
476 * LaTeX.[Ch] (c-tor, run):
477 * buffer.[Ch] (makeLaTeXFile):
478 * bufferlist.[Ch] (updateIncludedTeXfiles):
479 * converter.C (convert, scanLog):
480 * converter.[Ch] (runLaTeX):
481 * exporter.C (Export):
482 * paragraph.[Ch] (simpleTeXOnePar):
483 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
484 * paragraph_funcs.[Ch] (latexParagraphs):
485 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
486 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
487 pass around a LatexRunParams parameter.
489 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
491 * paragraph.[Ch]: remove unused constructor
493 * ParagraphList.C (erase): new function, taking two iterators
495 2003-05-22 André Pönitz <poenitz@gmx.net>
497 * undo_funcs.C: remove duplicated code
499 * iterator.[Ch]: operator=
501 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
503 * tabular.C (SetMultiColumn): ws changes
505 * rowpainter.C (paintFirst): get rid of a ->previous
507 * lyx_cb.C (getPossibleLabel): parlist simplification
509 * BufferView.C (ChangeInsets): simplify slightly.
511 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
513 * LyXAction.C: new lfun space-insert, kill protected-space-insert
514 * lfuns.h: new LFUN_SPACE
515 * lyxfunc.C: protected space has a new lfun
516 * paragraph_funcs.C: read new space insets
518 * factory.C: handle new space insets
520 2003-05-22 André Pönitz <poenitz@gmx.net>
523 * BufferView_pimpl.C:
526 * undo_funcs.C: return a ParIterator from getParFromID.
528 * iterators.[Ch]: add two const's
530 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
532 * toc.C (getTocList): adjust
534 * iterators.[Ch]: rework for parlist
536 * buffer.C (par_iterator_begin): adjust
537 (par_iterator_end): adjust
539 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
541 * BufferView.C (removeAutoInsets): adjust
542 (ChangeInsets): adjust
544 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
546 * text.C (top_y): fix bug 1110
548 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
550 * errorlist.[Ch]: added
553 * BufferView_pimpl.C:
554 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
557 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
559 * Makefile.am: ensure that lyx is relinked upon changes to the
560 various "convenience" libs.
562 2003-05-20 Angus Leeming <leeming@lyx.org>
564 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
565 files are compiled in alphabetical order again.
567 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
569 2003-05-19 Angus Leeming <leeming@lyx.org>
571 * gettext.[Ch]: remove "char const * _(char const *)".
573 2003-05-19 André Pönitz <poenitz@gmx.net>
575 * dimension.[Ch]: promote from mathed/dimension.[Ch]
584 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
586 2003-05-19 André Pönitz <poenitz@gmx.net>
592 * paragraph_funcs.[Ch]:
594 * text3.C: more insetenv work
596 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
598 * ParagraphParameters.C (params2string): small bug fixed
600 2003-05-16 André Pönitz <poenitz@gmx.net>
603 * bufferview_funcs.C: patch from Kornel Benko to prevent
604 crash when _(...) is called twice in a statement
606 2003-05-16 André Pönitz <poenitz@gmx.net>
613 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
615 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
617 * lyx_main.C (init): remove spurious static_cast
619 2003-05-14 André Pönitz <poenitz@gmx.net>
621 * BufferView.C: fix format string
623 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
625 * BufferView.[Ch] (insertErrors): removed
626 * BufferView.[Ch] (showErrorList): added
627 * buffer.C (runChkTeX):
628 * converter.C (scanLog): call showErrorList instead of inserterrors
630 2003-05-13 André Pönitz <poenitz@gmx.net>
632 * BufferView_pimpl.C:
641 * tabular_funcs.h: tostr() from its own header
643 * ParagraphParameters.C:
650 2003-05-12 André Pönitz <poenitz@gmx.net>
653 * BufferView_pimpl.C:
657 * ParagraphParameters.C:
661 * bufferview_funcs.C:
678 * text3.C: boost::format -> bformat all over the place
681 2003-05-09 André Pönitz <poenitz@gmx.net>
683 * LColor.[Ch]: Pimpl the #include <map> away
685 2003-05-09 John Levon <levon@movementarian.org>
687 * bufferlist.C: never remove emergency saves
689 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
691 * Makefile.am: better lib building
693 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
695 * texrow.[Ch]: remove dependency on Paragraph and just store a id
697 * paragraph_pimpl.C (simpleTeXBlanks): adjust
698 (simpleTeXSpecialChars): adjust
699 (simpleTeXSpecialChars): adjust
700 * paragraph.C (simpleTeXOnePar): adjust
701 * buffer.C (makeLaTeXFile): adjust
703 * Makefile.am (BOOST_LIBS): allow boost as system lib.
705 * text2.C (changeDepth): parlist cleanup
706 (getColumnNearX): ditto
708 * rowpainter.C (getLabelFont): parlist cleanup
710 * bufferlist.C (newFile): parlist cleanup
712 * CutAndPaste.C (eraseSelection): parlist cleanup
714 * BufferView_pimpl.C (trackChanges): parlist cleanup
717 * BufferView.C (lockInset): parlist cleanup.
718 (ChangeInsets): ditto
720 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
722 * CutAndPaste.h: Update file header.
724 * CutAndPaste.C: Update file header.
725 Store the parts cut out of the Document in a limited_stack.
726 (copySelection): adjust
727 (pasteSelection): new function, takes the index in the limited stack.
728 (nrOfParagraphs): adjust
729 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
730 simplify error inset insertion.
731 (checkPastePossible): adjust
733 2003-05-06 John Levon <levon@movementarian.org>
735 * text2.C: don't cast wrap inset to float
737 2003-05-05 André Pönitz <poenitz@gmx.net>
740 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
742 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
743 few naked Paragraph *.
745 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
747 * bufferparams.C: Output warning if a document with missing
748 TeX document class is loaded
749 * exporter.C: Disable TeX exports if the document class is missing
752 * lyxtextclasslist.C: Handle new textclass.lst format; new method
753 isTeXClassAvailable()
755 2003-05-03 John Levon <levon@movementarian.org>
758 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
759 explicit cursor show/hide
761 * BufferView_pimpl.h:
762 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
763 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
765 * lyxfunc.C: hide cursor before dispatching.
770 * text3.C: remove explicit cursor hides
772 2003-05-02 André Pönitz <poenitz@gmx.net>
774 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
777 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
780 * text2.C: tiny whitespace
782 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
784 * undo_funcs.C: almost only ws changes.
786 * ParagraphList.C (splice): just return if pl is empty.
788 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
790 * ParagraphList.C (splice): new function.
792 * CutAndPaste.C (pasteSelection): use it
794 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
796 * CutAndPaste.C (pasteSelection): remove the last next and
797 previous from this file.
799 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
801 * CutAndPaste.C (pasteSelection): more clean up, user proper
802 ParagraphList functions for pasteing.
804 * ParagraphList.C (insert): new function, three arg insert
806 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
808 * ParagraphList.C (insert): new function, three arg insert
810 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
813 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
815 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
817 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
819 * CutAndPaste.C (pasteSelection): remove some unneeded code.
821 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
823 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
824 (copySelection): clean up a bit.
825 (pasteSelection): use make_pair
827 * ParagraphList.C (ParagraphList): implement copy constructor
828 (operator=): implement, base on copy constructor.
831 * paragraph.C (erase): return a bool
833 * paragraph_pimpl.C (erasePos): remove function, move contents...
834 (erase): ... here. Return a bool.
835 (erase): call erase instead of erasePos.
837 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
839 * ParagraphList.h: define PitPosPair
840 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
841 ParagraphList, fix a bug on pasting multiple pars
842 * text2.C: change interface to C&P
844 2003-04-30 André Pönitz <poenitz@gmx.net>
846 * undo_func.C: revert part of yesterday's patch 2
848 2003-04-30 John Levon <levon@movementarian.org>
850 * LColor.C: s/tabular/table/
852 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
854 * text3.C (dispatch): do not convert iterator -> pointer
855 * undo_funcs.C (setCursorParUndo): ditto
856 * text_funcs.C (transposeChars): ditto
858 * text2.C (setLayout): ws changes only
860 * text.C (breakParagraph): do not convert iterator -> pointer
862 (acceptChange): ditto
863 (rejectChange): ditto
868 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
871 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
873 * text3.C (gotoInset): YABG (yet another bad getChar)
875 2003-04-29 André Pönitz <poenitz@gmx.net>
877 * paragraph.h: make operator= private unimplemented as long as
880 * ParagraphList.C: whitespace
883 * paragraph_pimpl.[Ch]:
886 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
889 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
891 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
893 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
894 * paragraph.[Ch] (erase):
895 * paragraph_pimpl.[Ch] (erase): change return type and value
896 * text2.C (cutSelection): some rework
898 2003-04-28 John Levon <levon@movementarian.org>
900 * bufferlist.C: changes for unsaved changes dialog
902 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
904 * bufferlist.C (newFile): set language (messages_) for new
907 * buffer.C (readFile): ws changes only.
909 2003-04-28 André Pönitz <poenitz@gmx.net>
914 * BufferView_pimpl.C:
915 * BufferView.C: getParFromID related ParagraphList::iterator changes
917 2003-04-28 André Pönitz <poenitz@gmx.net>
919 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
922 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
924 * messages.C: remove one more localedir class variable.
926 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
928 * messages.C (getLocaleDir): singleton generation function
930 (Messages): add a default constructor.
932 * main.C (main): do not setup localedir here, do not call
935 * gettext.C (_): use it.
936 (gettext_init): delete funciton
938 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
940 * gettext.C (getLyXMessages): new singleton generating function.
942 * buffer.C (updateDocLang): adjust
944 * Makefile.am (messages.o): add target
945 (main.o): remove target
947 2003-04-27 John Levon <levon@movementarian.org>
952 * lyxvc.C: specify cancel button in Alert::prompt
954 2003-04-26 John Levon <levon@movementarian.org>
959 * LyXAction.C: add LFUN_INSET_SETTINGS
961 * lyxfunc.C: don't enable tabular-feature when there's
962 just any locking inset
964 2003-04-26 John Levon <levon@movementarian.org>
966 * bufferlist.C: re-add Cancel to buffer close question
968 * lyxfunc.C: fix import UI a bit
970 2003-04-25 John Levon <levon@movementarian.org>
972 * gettext.C: remove the broken asserts for now
974 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
976 * messages.C: make case where setlocale cannot comply work better.
978 * buffer.C (updateDocLang): new function
979 (changeLanguage): use it
982 * text2.C (setCounter): use B_ a bit.
984 * lyxlayout.C (Read): be sure to trim the label strings.
986 * messages.C (Messages): fix typo in comment
988 * buffer.C (readFile): set message_ after file is loaded.
989 (makeDocBookFile): remove double return
990 (changeLanguage): reset message_ upon language change.
991 (B_): new func, use this to get translated buffer strings.
993 * main.C: add myself and Jean Marc as authors.
995 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
997 * messages.[hC]: pimplify Messages, and three different pimpls to be
998 used in different circumstances.
1000 * gettext.[Ch]: change for use with new message code.
1002 2003-04-24 André Pönitz <poenitz@gmx.net>
1004 * factory.C: support for eqref
1006 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1008 * messages.[Ch]: add missing char
1010 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1012 * messages.[Ch]: New files
1014 2003-04-18 John Levon <levon@movementarian.org>
1018 * BufferView_pimpl.C:
1022 * text2.C: remove layout-copy/paste (bug 778)
1024 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1026 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1028 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1030 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1031 if they succeed. Act accordingly.
1033 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1035 * text2.C (setCharFont): adjust
1036 (setCounter): adjust
1037 (insertStringAsLines): adjust
1039 * text.C (leftMargin): adjust
1040 (setHeightOfRow): adjust
1042 * rowpainter.C (paintFirst): adjust
1045 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1047 (isFirstInSequence): ditto
1048 (getEndLabel): ditto
1051 * paragraph.C (getParLanguage): comment out some hard stuff.
1053 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1055 (simpleDocBookOnePar): ditto
1056 (makeDocBookFile): use ParagraphList::iterator
1058 * CutAndPaste.C (pasteSelection): adjust
1060 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1062 * text2.C (getFont): adjust
1063 (getLayoutFont): adjust
1064 (getLabelFont): adjust
1066 * paragraph_funcs.C (TeXOnePar): adjust
1068 * buffer.C (simpleLinuxDocOnePar): adjust
1069 (simpleDocBookOnePar): adjust
1071 * CutAndPaste.C (pasteSelection): adjust
1073 * BufferView.C (getEncoding): adjust
1075 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1077 2003-04-16 John Levon <levon@movementarian.org>
1079 * lyxfind.C: use parlist stuff for search/changes
1081 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1083 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1085 * text2.C (deleteEmptyParagraphMechanism): adjust
1087 * text2.[Ch] (ownerParagraph): delete func (both of them
1089 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1091 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1093 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1095 * ParagraphList.C: prepare for NO_NEXT
1097 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1099 * text2.C (getFont): adjust
1100 (getLayoutFont): adjust
1101 (getLabelFont): adjust
1103 * paragraph.C (getFont): adjust
1104 (getLabelFont): adjust
1105 (getLayoutFont): adjust
1107 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1109 2003-04-15 John Levon <levon@movementarian.org>
1113 * lyx_main.C: handle Include in .ui files
1115 2003-04-15 John Levon <levon@movementarian.org>
1117 * MenuBackend.C: make the doc files length shorter
1120 * ToolbarBackend.C: handle toolbar placement flags,
1123 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1125 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1128 * paragraph_funcs.C (TeXOnePar): adjust
1130 * paragraph.C (getLabelFont): add outerfont arg, adjust
1131 (getLayoutFont): ditto
1132 (simpleTeXOnePar): adjust
1134 * paragraph_pimpl.C (realizeFont): delete func
1136 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1138 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1139 row argument, constify cur argument.
1141 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1143 * text2.C (getFont): adjust
1144 (getLayoutFont): adjust
1145 (getLabelFont): adjust
1147 * paragraph_funcs.C (TeXOnePar): adjust
1148 (outerFont): new func...
1149 (realizeFont): ...moved out from here, changed this to facilitate
1152 * paragraph.C (getFont): take outerfont as arg, adjust
1153 (simpleTeXOnePar): add outerfont arg, adjust
1155 * buffer.C (simpleLinuxDocOnePar): adjust
1156 (simpleDocBookOnePar): adjust
1158 * CutAndPaste.C (pasteSelection): adjust
1160 * BufferView.C (getEncoding): adjust
1162 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1164 * text2.C (setCharFont): adjust
1165 (setCounter): adjust
1167 * text.C (leftMargin): adjust
1168 (setHeightOfRow): adjust
1170 * rowpainter.C (paintFirst): adjust
1173 * paragraph_pimpl.C (realizeFont): adjust
1175 * paragraph.C (isFirstInSequence): move from here...
1176 * paragraph_funcs.C (isFirstInSequence): ...to here
1178 * paragraph.C (outerHook): move from here...
1179 * paragraph_funcs.C (outerHook): ...to here
1181 * paragraph.C (depthHook): move from here...
1182 * paragraph_funcs.C (depthHook): ...to here
1184 * paragraph.C (getEndLabel): move from here...
1185 * paragraph_funcs.C (getEndLabel): ...to here
1187 * text2.C (realizeFont): move from here...
1188 * paragraph_funcs.C (realizeFont): ...to here
1190 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1192 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1194 2003-04-14 Angus Leeming <leeming@lyx.org>
1196 * LColor.[Ch]: scrap LColor mathcursor.
1198 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1200 * lyxlex.[Ch] (text): delete function
1201 * trans.C (Load): adjust
1202 * paragraph_funcs.C (readParToken): adjust
1204 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1206 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1207 vector<char> instead of a char[].
1209 * lyxlex_pimpl.C (getString): adjust
1211 (lex): use getString
1215 * lyxlex.C (text): use pimpl_->getString()
1219 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1221 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1222 (makeFontEntriesLayoutSpecific): temp var for par.size()
1223 (setLayout): temp var for ownerParagraphs().end()
1224 (fullRebreak): temp var for rows().end()
1225 (selectionAsString): temp var for boost::next(startpit), realize
1226 that the while really is a regular for loop.
1227 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1228 setCursor in one place.
1229 (setParagraph): temp vr for ownerParagraphs().end()
1230 (updateCounters): make the while loop a for loop
1231 (cutSelection): temp var for ownerParagraphs().end()
1232 (updateInset): make the do {} while() a regular for loop
1233 (getCursorX): use temp vars
1234 (setCurrentFont): use temp vars
1235 (getColumnNearX): use temp vars
1237 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1239 * text.C (transformChar): use temp var for getChar
1240 (computeBidiTables): use temp var for row->par()
1241 (fill): move temp vars for row->par() and pit->layout() earlier in
1243 (labelFill): use temp var for row->par()
1244 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1245 asc and desc, realize that pit never changes and that firstpit is
1246 just a duplicate and not needed. Exchange rit->par() with pit in a
1248 (breakAgain): use a temp var for boost::next(rit)
1249 (breakAgainOneRow): ditto
1250 (breakParagraph): use a temp var for rows().begin()
1251 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1252 (cursorRightOneWord): use temp var for cursor.par() and
1253 cursor.pos(), remove usage of tmpcursor.
1254 (cursorLeftOneWord): use temp var for cursor.par() and
1255 cursor.pos() only set cur at end of function.
1257 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1259 * text.C, text2.C: exchange all usage of Paragraph::next with
1260 boost::next(ParagraphList::iterator)
1262 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1264 * text2.C (cursorTop): simplify implementation
1265 (cursorBottom): ditto
1266 (setParagraph): use ParagraphList::iterator
1267 (setCurrentFont): adjust
1268 (getColumnNearX): adjust
1269 (cursorRight): adjust
1270 (cursorLeft): remove usage of Paragraph::previous
1271 (cursorUpParagraph): ditto
1272 (deleteEmptyParagraphMechanism): slight cleanup
1274 * text.C (isBoundary): take a Paragraph const & instead of a
1276 (addressBreakPoint): ditto
1277 (leftMargin): remove usage of Paragraph::previous.
1278 (setHeightOfRow): ditto
1279 (cursorLeftOneWord): ditto
1280 (selectNextWordToSpellcheck): ditto
1283 (breakParagraph): remove one usage of Paragraph::next
1284 (redoParagraph): ditto
1285 (acceptChange): ditto
1286 (insertChar): adjust
1287 (rowBreakPoint): adjust
1289 * bufferview_funcs.C (toggleAndShow): adjust
1291 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1293 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1294 methods to access it.
1296 * text.C: Added updateRowPositions to compute all row positions.
1297 Make top_y and getRowNearY() to use the cached y position
1299 2003-04-11 John Levon <levon@movementarian.org>
1301 * text.C (rowBreakPoint): reintroduce the labelEnd
1302 checks, code copied from the row fill stuff. Deep voodoo.
1304 * text.C (fill): add a comment and debugging for the
1307 2003-04-11 John Levon <levon@movementarian.org>
1309 * text.C: make sure fullrow insets get wrapped to the next line,
1310 even when they're in a manual label
1312 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1314 * text2.C (insertParagraph): make it take ParagraphList::iterator
1316 (setLayout): make it return ParagraphList::iterator
1317 (redoParagraphs): ditto
1319 (checkParagraph): ditto
1321 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1323 * text2.C: adjust several funcs.
1324 (realizeFont): take a ParagraphList::iterator as arg.
1325 (getLayoutFont): ditto
1326 (getLabelFont): ditto
1327 (setCharFont): ditto
1329 * text.C: adjust several funcs.
1331 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1333 * text.C (selectNextWordToSpellcheck): don't accidentally
1336 2003-04-10 John Levon <levon@movementarian.org>
1338 * ToolbarBackend.C (getIcon): special handling for
1341 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1343 * text2.C (cursorRight): a getChar assert fixed
1345 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1347 * text2.C (getFont): change to take a ParagraphList::iterator
1348 instead of Paragraph*
1349 Adjust several functions.
1351 * text.C (transformChar): change to take a ParagraphList::iterator
1352 instead of Paragraph*
1353 (singleWidth): ditto
1354 Adjust several functions.
1356 * rowpainter.C: adjust several functions
1357 * rowpainter.h:store a ParagraphList::iterator and not a
1361 2003-04-09 John Levon <levon@movementarian.org>
1366 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1367 and the "help" bits as well
1369 2003-04-09 John Levon <levon@movementarian.org>
1372 * ToolbarBackend.C: allow multiple toolbars
1374 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1376 * undo_funcs.C (setCursorParUndo): adjust
1378 * text_funcs.C (transposeChars): adjust
1380 * text3.C (gotoNextInset): adjust
1383 * text2.C (setLayout): adjust
1384 (changeDepth): adjust
1386 (redoParagraphs): adjust
1387 (selectionAsString): adjust
1388 (setParagraph): adjust
1389 (insertInset): adjust
1390 (cutSelection): adjust
1391 (copySelection): adjust
1392 (pasteSelection): adjust
1393 (insertStringAsLines): adjust
1394 (updateInset): adjust
1395 (setCursor): change to take a ParagraphList::iterator parameter
1396 (setCursorIntern): change to take a ParagraphList::iterator parameter
1397 (setCurrentFont): adjust
1398 (cursorLeft): adjust
1399 (cursorRight): adjust
1400 (deleteEmptyParagraphMechanism): adjust
1402 * text.C (breakParagraph): adjust
1403 (insertChar): adjust
1404 (acceptChange): adjust
1405 (rejectChange): adjust
1406 (selectNextWordToSpellcheck): adjust
1407 (changeCase): adjust
1411 * lyxfind.C (SearchForward): adjust
1412 (SearchBackward): adjust
1413 (nextChange): adjust
1415 * lyxcursor.C (par): adjust
1417 * lyxcursor.h: store a ParagraphList::iterator instead of a
1420 * lyx_cb.C (getPossibleLabel): adjust
1422 * bufferview_funcs.C (toggleAndShow): adjust
1424 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1427 * BufferView.C (removeAutoInsets): adjust
1428 (lockedInsetStoreUndo): adjust
1430 2003-04-09 John Levon <levon@movementarian.org>
1432 * ToolbarBackend.C: try icon without argument
1433 if with argument fails
1435 2003-04-08 John Levon <levon@movementarian.org>
1438 * ToolbarBackend.C: add getIcon(), handle tooltip,
1439 and change from "Icon" to "Item".
1441 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1443 * BufferView.C (lockInset): another bad getchar crunched
1445 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1447 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1450 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1452 * lyxfind.C (searchForward, searchBackwards): bug 782
1454 2003-04-07 John Levon <levon@movementarian.org>
1456 * paragraph.C: remove dead comment
1458 * text.C: remove troublesome depth-fiddling code
1459 in leftMargin() and rightMargin() (bug 1017)
1461 * text.C: fix breaking of rows in nested lists
1464 * text2.C (updateCounters): fix up depth values
1467 2003-04-07 John Levon <levon@movementarian.org>
1469 * BufferView_pimpl.C: clear message when doc finishes resizing,
1470 and after a mouse event
1472 * lyxfunc.C: clear message after exiting inset
1474 2003-04-07 John Levon <levon@movementarian.org>
1476 * bufferview_funcs.C: show math status not outside
1477 status in the statusbar
1479 2003-04-07 John Levon <levon@movementarian.org>
1481 * lyxfunc.C: note status changed after a depth change
1483 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1485 * LaTeX.h: move AuxInfo operator==, != out of line.
1486 Remove LaTeX virtual destructor; nothing derives from it.
1487 Move operator()() out of public area and rename it startscript().
1488 Change protected for private.
1490 2003-04-04 Angus Leeming <leeming@lyx.org>
1493 * text2.C: remove unneeded #includes.
1495 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1497 * text2.C (dEPM): fix the heigth of the next row
1499 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1501 * text.C: squashed an invalid getChar requester + some ws changes
1503 2003-04-03 John Levon <levon@movementarian.org>
1505 * bufferview_funcs.h:
1506 * bufferview_funcs.C:
1509 * text2.C: make getStatus work for the env depth lfuns
1511 2003-04-03 John Levon <levon@movementarian.org>
1513 * bufferview_funcs.h:
1514 * bufferview_funcs.C:
1517 * text2.C: parlistize decDepth(), by merging it with incDepth()
1519 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1521 * lyxrow.h: store a ParagraphList::iterator instead of a
1522 Paragraph* and adjust other class functions to suit.
1524 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1527 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1529 * text2.C (setCursor): do not anchor to cursor row for the time being
1531 2003-04-02 John Levon <levon@movementarian.org>
1538 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1540 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1542 * paragraph.h: make ParagraphList and ParagraphList::iterator
1543 friends of Paragraph.
1545 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1547 * ParagraphList.C: Use the private next_ and previous_ from
1550 2003-04-01 John Levon <levon@movementarian.org>
1554 * Makefile.am: rename, remove defaults gunk
1557 * MenuBackend.C: remove defaults gunk
1560 * Languages.C: remove defaults gunk
1563 * lyx_main.C: error out if files couldn't be found.
1565 2003-04-02 John Levon <levon@movementarian.org>
1567 * text2.C: make incDepth() use parlist
1569 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1571 * undo_funcs.C (firstUndoParagraph): adjust
1573 * text3.C (gotoInset): adjust
1574 (dispatch): adjust, and rewrite loop.
1576 * text2.C (init): adjust, and rewrite loop.
1577 (redoParagraphs): adjust
1578 (updateInset): adjust, and rewrite loop.
1579 (deleteEmptyParagraphMechanism): adjust
1581 * tabular.C (LyXTabular): adjust
1582 (SetMultiColumn): adjust
1585 * lyxtext.[Ch] (ownerParagraph): delete function
1586 (ownerParagraphs): new function returns a ParagraphList.
1588 * BufferView.C (removeAutoInsets): adjust
1589 (insertErrors): adjust
1590 (setCursorFromRow): adjust
1592 2003-04-01 Angus Leeming <leeming@lyx.org>
1594 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1597 2003-04-02 John Levon <levon@movementarian.org>
1603 * text_funcs.C: make transposeChars a free function
1605 * lyxrow_funcs.C: remove wrong comment
1607 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1610 * rowpainter.C: adjust
1615 * lyxrow_funcs. [Ch]: new files
1617 * lyxrow.[Ch]: remove next and previous pointers
1618 (next,previous): remove accessor functions
1619 (isParEnd): move to lyxrow_funcs
1620 (lastPos): move to lyxrow_funcs
1621 (nextRowIsAllInset): move to lyxrow_funcs
1622 (lastPrintablePos): move to lyxrow_funcs
1623 (numberOfSeparators): move to lyxrow_funcs
1624 (numberOfHfills): move to lyxrow_funcs
1625 (numberOfLabelHfills): move to lyxrow_funcs
1626 (hfillExpansion): move to lyxrow_funcs
1630 * bufferview_funcs.C (toggleAndShow): adjust
1632 * RowList.h: Remove class RowList from file leave just a
1635 * RowList.C: delete file
1637 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1640 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1642 * text3.C (cursorPrevious): adjust
1643 (cursorNext): adjust
1646 * text2.C (redoHeightOfParagraph): adjust
1647 (redoDrawingOfParagraph): adjust
1650 * text.C (breakParagraph): adjust
1651 (insertChar): adjust
1654 * rowpainter.C (RowPainter): adjust
1655 (leftMargin): simplify and adjust
1656 (most rowpainter functions): adjust.
1658 * rowpainter.h: store the row as RowList::iterator not as Row*
1660 * lyxcursor.C (row): taka RowList::iterator as arg
1663 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1666 2003-04-01 Angus Leeming <leeming@lyx.org>
1668 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1669 stuff like bool Bool.
1671 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1673 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1676 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1678 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1681 * lyxtext.h (rows): drop one version and leve a const variant that
1682 returns a RowList::iterator.
1684 2003-03-31 Angus Leeming <leeming@lyx.org>
1686 * text.C (fill): ensure that the signature is the same as that in the
1689 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1691 * text2.C (redoParagraphs): adjust
1692 (updateCounters): adjust
1693 (checkParagraph): adjust
1694 (getColumnNearX): adjust and reformat a bit.
1696 * text.C (top_y): adjust
1698 (leftMargin): adjust
1699 (prepareToPrint): adjust
1701 (getRowNearY): adjust
1703 * lyxtext.h: make rowlist_ mutable.
1705 * RowList.h: add const_iterator
1706 * RowList.C: adjust for RowList::const_iterator.
1708 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1711 2003-03-31 John Levon <levon@movementarian.org>
1714 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1716 * lyx_main.C: set default fonts from using lyx_gui funcs
1718 * exporter.C: pdf_mode moved from lyxrc
1721 * lyxfunc.C: changes from above
1723 2003-03-31 John Levon <levon@movementarian.org>
1725 * lyx_main.C: fix to the last fix
1727 2003-03-31 John Levon <levon@movementarian.org>
1729 * bufferlist.C: "Load original" -> "Load Original"
1735 * format.C: more Alert cleanups
1737 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1739 * text2.C (removeParagraph): make it take a RowList::iterator as
1741 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1742 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1744 * text.C (anchor_row): make it take a RowList::iterator as arg,
1746 (computeBidiTables): make it take a const reference to Row instead
1747 of Row pointer, adjust.
1748 (leftMargin): make it take a RowList::iterator as arg, adjust.
1749 (rowBreakPoint): adjust
1750 (breakAgainOneRow): make it take a RowList::iterator as arg,
1752 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1754 * bufferview_funcs.C (toggleAndShow): adjust
1756 2003-03-30 John Levon <levon@movementarian.org>
1760 * boost-inst.C: moved to support
1762 * several files: changes as a result
1764 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1766 * text2.C (LyXText): adjust.
1768 (removeRow): make it take a RowList::iterator as arg, adjust.
1769 (fullRebreak): adjust
1770 (deleteEmptyParagraphMechanism): adjust
1771 (clearPaint): adjust
1774 * text.C (top_y): adjust
1775 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1776 (breakAgain): make it take a RowList::iterator as arg, adjust.
1777 (breakParagraph): adjust
1778 (insertChar): adjust
1781 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1782 need_break_row, and refresh_row.
1784 * text3.C (dispatch): adjust
1786 * text2.C (checkParagraph): adjust
1788 (setCursorFromCoordinates): adjust
1790 * text.C (top_y): adjust
1792 (getRow): make it return a RowList::iterator, adjust
1793 (getRowNearY): make it return a RowList::iterator, adjust
1795 * text2.C (init): adjust
1796 (insertRow): remove function
1797 (insertParagraph): adjust
1798 (redoParagraphs): adjust
1799 (fullRebreak): adjust
1800 (updateCounters): adjust
1802 * text.C (top_y): rewrite to use RowList iterators.
1804 (setHeightOfRow): rewrite to sue RowList iterators.
1805 (appendParagraph): adjust
1806 (breakAgain): adjust
1807 (breakAgainOneRow): adjust
1808 (breakParagraph): adjust
1810 (getRowNearY): adjust, and remove commented code.
1812 * lyxtext.h (firstRow): delete function
1813 (lastRow): delete function
1814 (rows): new function (const and non-const versions.)
1815 (insertRow): delete function
1817 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1819 2003-03-29 John Levon <levon@movementarian.org>
1821 * BufferView_pimpl.C: always update scrollbar top
1822 because pasting text when we're anchored could mean we
1823 miss an update altogether
1825 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1827 * text2.C (init): use rowlist_.end() and not 0.
1828 (insertRow): change to take a RowList::iterator as arg, adjust
1830 (insertParagraph): change to take a RowList::iterator as arg,
1832 (redoParagraphs): remove some debug msgs.
1834 * text.C (appendParagraph): change to take a RowList::iterator
1835 arg, adjust for this.
1836 (breakAgain): add an assert
1837 (breakAgainOneRow): ditto
1839 2003-03-29 John Levon <levon@movementarian.org>
1841 * text2.C: do not clear selection after inc/decDepth
1844 2003-03-29 John Levon <levon@movementarian.org>
1847 * buffer.C: fix broken strerrors according to Lars
1849 2003-03-29 John Levon <levon@movementarian.org>
1851 * converters.C: more Alert cleanups
1853 2003-03-29 John Levon <levon@movementarian.org>
1855 * bufferview_funcs.C: remove pointless Alert
1857 * buffer.C: fix confusing error message when
1858 a template is chmoded 000
1860 2003-03-29 John Levon <levon@movementarian.org>
1864 * BufferView_pimpl.C: Alert fixes
1868 * tabular-old.C: remove unused table compat reading
1870 2003-03-29 John Levon <levon@movementarian.org>
1875 * lyx_cb.C: more Alert cleanups
1877 * lyxfunc.C: don't allow chktex if not latex document
1879 2003-03-29 John Levon <levon@movementarian.org>
1883 * buffer.C: warnings pushed down from support/,
1886 2003-03-29 John Levon <levon@movementarian.org>
1888 * lyxfunc.C: safety check for C-r (revert)
1890 2003-03-29 John Levon <levon@movementarian.org>
1893 * bufferlist.C: several UI fixes using Alert::prompt.
1894 Fix the pointless looping quit code. Fix stupid revert
1899 * lyx_cb.C: use Alert::prompt
1901 * lyx_main.C: remove a silly question
1903 * lyxfunc.C: remove a couple of silly questions,
1906 2003-03-28 John Levon <levon@movementarian.org>
1908 * text2.C: fix bug 974 (End on empty par)
1910 2003-03-28 John Levon <levon@movementarian.org>
1912 * BufferView_pimpl.C:
1914 * lfuns.h: remove do-nothing math greek lfuns
1916 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1918 * lyxgluelength.h (isValidGlueLength): add default arg on
1919 parameter 2. Remove default arg from friend in class.
1921 * lyxlength.h (isValidLength): add default arg on parameter 2.
1922 Remove default arg from friend in class.
1924 * text2.C (LyXText): adjust, initialize refresh_row.
1928 (insertParagraph): adjst
1929 (redoParagraphs): adjust
1930 (fullRebreak): adjust
1931 (updateCounters): adjust
1932 (deleteEmptyParagraphMechanism): first attempt at fixing a
1935 * text.C (top_y): adjust
1936 (setHeightOfRow): adjust
1938 (getRowNearY): adjust
1940 * lyxtext.h: include RowList.h
1941 (~LyXText): not needed anymore, deleted.
1942 (firstRow): modify for RowList
1943 (lastRow): new function
1944 Delete firstrow and lastrow class variables, add a Rowlist
1945 rowlist_ class variable.
1947 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1950 * RowList.C (insert): fix case where it == begin().
1952 2003-03-26 Angus Leeming <leeming@lyx.org>
1954 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1955 the thesaurus dialog.
1957 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1959 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1961 * RowList.[Ch]: new files
1963 * ParagraphList.C (erase): handle the case where it == begin
1966 2003-03-25 John Levon <levon@movementarian.org>
1970 * aspell.C: add new aspell support
1973 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1976 2003-03-25 Angus Leeming <leeming@lyx.org>
1979 * LyXAction.C (init): new LFUN_INSET_INSERT.
1981 * BufferView_pimpl.C (dispatch): split out part of the
1982 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1984 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1987 2003-03-25 Angus Leeming <leeming@lyx.org>
1989 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1991 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1994 * text3.C: remove useless row->height(0)
1996 2003-03-25 John Levon <levon@movementarian.org>
2000 * text3.C: rename the refreshing stuff to better names
2002 2003-03-24 John Levon <levon@movementarian.org>
2004 * BufferView_pimpl.h:
2005 * BufferView_pimpl.C: update layout choice on a mouse
2008 2003-03-23 John Levon <levon@movementarian.org>
2010 * Makefile.am: fix commandtags.h reference
2012 2003-03-22 John Levon <levon@movementarian.org>
2014 * BufferView_pimpl.C:
2019 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2021 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2024 * text.C: take the rtl methods out of line
2026 2003-03-21 André Pönitz <poenitz@gmx.net>
2028 * metricsinfo.[Ch]: new files containing structures to be passed around
2029 during the two-phase-drawing...
2031 2003-03-21 André Pönitz <poenitz@gmx.net>
2033 * lyxtextclass.C: read 'environment' tag.
2035 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2037 * text2.C (removeRow): fix bug 964
2039 2003-03-20 John Levon <levon@movementarian.org>
2043 * text2.C: paint cleanups. Inset::update() dropped font
2046 2003-03-19 John Levon <levon@movementarian.org>
2048 * lyxfunc.C: only fitcursor/markDirty if available()
2050 2003-03-19 John Levon <levon@movementarian.org>
2052 * commandtags.h: rename to ...
2054 * lfuns.h: ... this, and renumber / cleanup
2056 2003-03-19 John Levon <levon@movementarian.org>
2058 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2059 fit the cursor after an lfun
2063 * BufferView_pimpl.h:
2064 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2066 * LyXAction.C: layout-character should have ReadOnly
2068 * ParagraphParameters.C:
2070 * bufferview_funcs.C:
2077 * undo_funcs.C: changes from above
2079 2003-03-18 John Levon <levon@movementarian.org>
2081 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2082 remove it from update()
2084 * lyxfunc.C: update layout choice after an lfun
2086 * text3.C: remove extra updateLayoutChoice()s
2088 2003-03-18 John Levon <levon@movementarian.org>
2090 * text.C: top_y change means full repaint, fix
2091 a drawing bug with cursor movement
2093 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2097 * text2.C: anchor row on setCursor
2099 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2101 * lyxtext.h: remove almost all mutable keywords
2104 * text3.C: remove const keywords accordingly
2106 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2108 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2110 (TeXEnvironment): ditto
2113 2003-03-17 John Levon <levon@movementarian.org>
2115 * text.C (rowBreakPoint): remove attempt to fix displayed
2116 math insets inside a manual label
2118 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2120 * lyxtext.h: remove BufferView* as first arg from almost all class
2122 * other files: adjust.
2124 2003-03-17 John Levon <levon@movementarian.org>
2128 * text2.C: more paint cleanups
2130 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2133 * rowpainter.C: remove "smart" background painting code
2135 2003-03-16 John Levon <levon@movementarian.org>
2140 * text3.C: add helper functions for setting refresh_row/y
2142 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2144 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2145 newline inset which *can* get inserted in the pass_thru layouts.
2146 This is primarily for literate documents.
2148 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2150 * buffer.C: increment LYX_FORMAT to 223
2152 2003-03-14 André Pönitz <poenitz@gmx.net>
2154 * textclass.h: prepare for environment handling, ws changes
2155 * lyxlayout.C: read latexheader and latexfooter tags
2157 2003-03-14 John Levon <levon@movementarian.org>
2159 * text2.C: rewrite ::status() a bit
2161 2003-03-13 John Levon <levon@movementarian.org>
2163 * lyxtext.h: add some docs
2165 2003-03-13 John Levon <levon@movementarian.org>
2170 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2172 2003-03-13 John Levon <levon@movementarian.org>
2174 * text3.C: fix appendix redrawing
2176 2003-03-13 John Levon <levon@movementarian.org>
2178 * text.C (setHeightOfRow):
2180 * rowpainter.C: make appendix mark have the text
2181 "Appendix" so the user knows what it is
2184 * LColor.C: s/appendixline/appendix/ from above
2186 2003-03-13 John Levon <levon@movementarian.org>
2188 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2190 * text.C: fix a getChar(pos) bug properly
2192 2003-03-13 Angus Leeming <leeming@lyx.org>
2195 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2196 Probably only temporary. Let's see how things pan out.
2198 * BufferView.C (unlockInset):
2199 * BufferView_pimpl.C (fitCursor):
2200 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2202 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2203 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2205 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2206 new functions that convert ParagraphParameters to and from a string.
2208 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2209 BufferView::Pimpl's dispatch.
2210 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2212 2003-03-13 André Pönitz <poenitz@gmx.net>
2216 * factory.C: make it aware of InsetEnv
2218 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2220 * text2.C (setCursor): never ask for one past last
2221 (setCursor): add some debugging messages.
2223 * text.C (singleWidth): never ask for one past last
2224 (singleWidth): ditto
2226 (rightMargin): ditto
2227 (rowBreakPoint): ditto
2228 (setHeightOfRow): ditto
2229 (prepareToPrint): ditto
2231 * rowpainter.C (paintBackground): never ask for one past last
2232 (paintText): never ask for one past last
2234 * paragraph_pimpl.C (getChar): make the assert stricter, never
2235 allow the one past last pos to be taken
2237 * paragraph.C (getChar): ws changes only
2239 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2240 (numberOfSeparators): ditto
2241 (numberOfHfills): ditto
2243 2003-03-12 John Levon <levon@movementarian.org>
2249 * paragraph_funcs.C: fix per-buffer authorlists
2251 2003-03-12 John Levon <levon@movementarian.org>
2253 * text.C: fix newline in right address
2255 2003-03-12 Angus Leeming <leeming@lyx.org>
2257 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2258 duplicate those in LyXFunc::dispatch.
2262 * ToolbarDefaults.C:
2263 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2264 Add LFUN_FONTFREE_UPDATE.
2266 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2267 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2269 * bufferview_func.[Ch]: several new functions to facilliate
2270 transfer of data to and from the character dialog.
2272 2003-03-12 John Levon <levon@movementarian.org>
2277 * paragraph_funcs.C:
2278 * paragraph_pimpl.C:
2282 * text3.C: remove META_NEWLINE in favour of an inset
2285 * rowpainter.C: remove paintNewline (done by inset)
2287 2003-03-12 John Levon <levon@movementarian.org>
2289 * paragraph_pimpl.C: complain about bad getChar()s
2290 for a while at least
2292 2003-03-12 John Levon <levon@movementarian.org>
2295 * buffer.C: move paragraph read into a separate function,
2296 a little renaming to reflect that.
2299 * bufferparams.C: remove the author_ids map, not necessary now
2302 * factory.C: moved Buffer::readInset to here
2304 * paragraph_funcs.h:
2305 * paragraph_funcs.C: readParagraph free function moved from
2308 * tabular.C: name change
2310 2003-03-12 John Levon <levon@movementarian.org>
2313 * ParagraphParameters.C: move par params input to
2316 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2317 behave like a normal read from the stream wrt reading
2318 a line vs. a \\token
2320 2003-03-12 John Levon <levon@movementarian.org>
2323 * ParagraphParameters.h:
2324 * ParagraphParameters.C: move output code to a
2327 2003-03-12 John Levon <levon@movementarian.org>
2329 * BufferView.C (insertLyXFile):
2332 * tabular.C: use a parlist iterator for creating the
2335 2003-03-12 John Levon <levon@movementarian.org>
2337 * buffer.C: make current_change static local not
2340 2003-03-12 John Levon <levon@movementarian.org>
2342 * buffer.C: fix insertStringAsLines for change tracking
2344 2003-03-12 John Levon <levon@movementarian.org>
2351 * bufferparams.C: move author list into params. Rename some
2352 functions. Move the header reading into a separate token
2353 loop. Move the header token reading into BufferParams.
2355 2003-03-12 John Levon <levon@movementarian.org>
2357 * changes.C: put debug inside lyxerr.debugging() checks
2359 2003-03-11 André Pönitz <poenitz@gmx.net>
2361 * factory.C: make it aware of InsetHFill
2363 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2365 * buffer.C (latexParagraphs): move function from here...
2366 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2369 2003-03-10 Angus Leeming <leeming@lyx.org>
2371 * LyXAction.C (init): fix bug in poplating array with multiple entries
2372 with the same LFUN (spotted by JMarc).
2374 2003-03-10 John Levon <levon@movementarian.org>
2377 * text2.C: move getColumnNearX() near its
2380 2003-03-10 John Levon <levon@movementarian.org>
2382 * text.C: fix break before a minipage
2384 2003-03-10 John Levon <levon@movementarian.org>
2386 * text.C: fix the last commit
2388 2003-03-09 John Levon <levon@movementarian.org>
2392 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2393 bug 365 (don't break before insets unless needed). Don't
2394 return a value > last under any circumstances.
2396 2003-03-09 Angus Leeming <leeming@lyx.org>
2398 * BufferView_pimpl.C (trackChanges, dispatch): call
2399 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2401 2003-03-09 Angus Leeming <leeming@lyx.org>
2403 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2404 than Dialogs::showAboutlyx().
2406 2003-03-09 Angus Leeming <leeming@lyx.org>
2408 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2409 than Dialogs::showTabularCreate().
2411 2003-03-09 John Levon <levon@movementarian.org>
2415 * text2.C: 3rd arg to nextBreakPoint was always the same.
2418 2003-03-08 John Levon <levon@movementarian.org>
2425 * text2.C: Remove the "main" bit from the "main body"
2428 2003-03-08 John Levon <levon@movementarian.org>
2430 * text.C (leftMargin): The left margin of an empty
2431 manual label paragraph should not include the label width
2434 * text.C (prepareToPrint): don't attempt to measure hfills
2435 for empty manual label paragraphs - the answer should be 0
2437 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2439 * CutAndPaste.C: remove commented code and reindent.
2441 2003-03-08 John Levon <levon@movementarian.org>
2444 * lyxfunc.C: move reloadBuffer()
2447 * BufferView.C: to here
2449 * lyxvc.C: add comment
2452 * vc-backend.C: call bv->reload() to avoid
2453 getStatus() check on MENURELOAD
2455 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2457 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2458 to an old format .dep file.
2460 2003-03-07 Angus Leeming <leeming@lyx.org>
2462 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2463 when the LFUN_MOUSE_RELEASE should have been handled by
2464 inset->localDispatch.
2466 2003-03-07 Angus Leeming <leeming@lyx.org>
2468 * BufferView_pimpl.C (dispatch):
2469 * LyXAction.C (init):
2470 * ToolbarDefaults.C (init):
2472 * lyxfunc.C (getStatus):
2473 remove LFUN_INSET_GRAPHICS.
2475 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2477 2003-03-07 Angus Leeming <leeming@lyx.org>
2480 * LyXAction.C (init):
2481 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2483 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2486 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2488 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2489 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2491 2003-03-07 Angus Leeming <leeming@lyx.org>
2493 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2496 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2498 * ParagraphList.C (front): new function
2501 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2503 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2504 and top_row_offset_. removed var first_y.
2506 * text2.C (LyXText, removeRow):
2508 * BufferView_pimpl.C:
2509 use these methods instead of using first_y
2511 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2513 * text2.C (pasteSelection): adjust for checkPastePossible
2515 * CutAndPaste.C: remove Paragraph * buf and replace with
2516 ParagraphList paragraphs.
2517 (DeleteBuffer): delete
2518 (cutSelection): change the tc type to textclass_type
2519 (copySelection): change the tc type to textclass_type
2520 (copySelection): adjust for ParagraphList
2521 (pasteSelection): change the tc type to textclass_type
2522 (pasteSelection): adjust for Paragraphlist
2523 (nrOfParagraphs): simplify for ParagraphList
2524 (checkPastePossible): simplify for ParagraphList
2525 (checkPastePossible): remove unused arg
2527 * ParagraphList.C (insert): handle the case where there are no
2530 * CutAndPaste.h: make CutAndPaste a namespace.
2532 * text3.C (dispatch): adjust
2534 * text.C (breakParagraph): add a ParagraphList as arg
2536 * paragraph_funcs.C (breakParagraph): change to take a
2537 BufferParams and a ParagraphList as args.
2538 (breakParagraphConservative): ditto
2539 (mergeParagraph): ditto
2540 (TeXDeeper): add a ParagraphList arg
2541 (TeXEnvironment): ditto
2544 * buffer.C (readLyXformat2): adjust
2545 (insertStringAsLines): adjust
2546 (latexParagraphs): adjust
2548 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2549 (cutSelection): adjust
2550 (pasteSelection): adjust
2552 * BufferView_pimpl.C (insertInset): adjust
2554 2003-03-05 Angus Leeming <leeming@lyx.org>
2557 * LyXAction.C (init):
2558 * BufferView_pimpl.C (dispatch):
2559 * lyxfunc.C (getStatus):
2560 remove LFUN_CHILD_INSERT.
2562 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2564 2003-03-05 Angus Leeming <leeming@lyx.org>
2567 * LyXAction.C (init):
2568 * src/factory.C (createInset):
2569 * lyxfunc.C (getStatus):
2570 * text3.C (dispatch):
2571 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2573 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2575 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2577 * ParagraphList.C (insert): handle insert right before end()
2578 (erase): fix cases where it can be first or last paragraph.
2580 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2582 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2583 Paragraph::next and Paragraph::previous
2586 * text.C (breakParagraph): adjust
2588 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2589 BufferParams& as arg.
2590 (breakParagraph): use ParagraphList::insert
2591 (breakParagraphConservative): take a Buffer* instead of a
2592 BufferParams& as arg.
2593 (breakParagraphConservative): use ParagraphList::insert.
2595 * buffer.C (insertStringAsLines): un-const it
2596 (insertStringAsLines): adjust
2598 * ParagraphList.C (insert): new function
2600 * CutAndPaste.C (pasteSelection): adjust
2602 * text.C (backspace): adjust
2604 * tabular.C (SetMultiColumn): adjust
2606 * CutAndPaste.C (cutSelection): adjust
2607 (pasteSelection): adjust
2609 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2610 Buffer const * as arg
2612 * ParagraphList.C (erase): new function
2613 * paragraph_funcs.C (mergeParagraph): use it
2614 (mergeParagraph): make it take a Buffer* instead of a
2615 BufferParams* as arg
2617 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2619 (breakParagraphConservative): ditto
2621 * paragraph.h: remove the breakParagraph friend
2623 * paragraph.C (eraseIntern): new function
2624 (setChange): new function
2626 * paragraph_funcs.C (mergeParagraph): make it take a
2627 ParagraphList::iterator instead of a Paragraph *, adjust
2630 * paragraph.h: move an #endif so that the change tracking stuff
2631 also works in the NO_NEXT case.
2633 2003-03-04 Angus Leeming <leeming@lyx.org>
2636 * LyXAction.C: new LFUN_INSET_MODIFY.
2638 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2639 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2641 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2643 * several files: ws changes only
2645 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2646 (TeXEnvironment): ditto
2649 * buffer.C (makeLaTeXFile): adjust
2650 (latexParagraphs): make it take ParagraphList::iterator as args
2652 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2654 * buffer.C (latexParagraphs): adjust
2656 * paragraph.C (TeXOnePar): move function...
2657 (optArgInset): move function...
2658 (TeXEnvironment): move function...
2659 * paragraph_pimpl.C (TeXDeeper): move function...
2660 * paragraph_funcs.C: ...here
2662 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2664 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2666 * buffer.C (readInset): remove compability code for old Figure and
2669 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2671 * buffer.C: ws changes
2674 * BufferView_pimpl.C: ditto
2677 * bufferlist.h: ditto
2681 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2683 * converter.[Ch]: split into itself +
2686 * Makefile.am: += graph.[Ch] + format.[Ch]
2693 * lyxrc.C: added #include "format.h"
2695 2003-02-27 Angus Leeming <leeming@lyx.org>
2697 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2700 * factory.C (createInset): add "label" to the factory.
2702 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2703 string and do no more.
2705 2003-02-27 Angus Leeming <leeming@lyx.org>
2708 * LyXAction.C (init):
2709 * factory.C (createInset):
2710 * BufferView_pimpl.C (dispatch):
2711 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2713 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2715 * lyxfunc.C (dispatch):
2716 * text3.C (dispatch): pass name to params2string.
2718 2003-02-26 Angus Leeming <leeming@lyx.org>
2720 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2722 Rearrange the ~includes. Strip out the unnecessary ones.
2724 * factory.C (createInset): reformat.
2725 create new insets for the various LFUN_XYZ_APPLY lfuns.
2727 2003-02-26 John Levon <levon@movementarian.org>
2730 * lyxrow.C: add isParStart,isParEnd helpers
2732 * paragraph.h: make isInserted/DeletedText take refs
2734 * paragraph_funcs.h:
2735 * paragraph_funcs.C: remove #if 0'd code
2740 * text.C: use lyxrow helpers above.
2741 Move draw and paint routines to RowPainter.
2742 Make several methods use refs not pointers.
2743 Make backgroundColor() const.
2744 Add markChangeInDraw(), isInInset().
2745 Merge changeRegionCase into changeCase.
2746 Make workWidth() shouldn't-happen code into an Assert.
2749 * rowpainter.C: new class for painting a row.
2752 * vspace.C: make inPixels take a ref
2754 2003-02-26 Angus Leeming <leeming@lyx.org>
2756 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2759 2003-02-25 John Levon <levon@movementarian.org>
2761 * ispell.C: give the forked command a more accurate name
2763 2003-02-22 John Levon <levon@movementarian.org>
2766 * toc.C: make TocItem store an id not a Paragraph *
2769 2003-02-21 Angus Leeming <leeming@lyx.org>
2771 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2772 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2773 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2774 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2775 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2776 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2778 * BufferView_pimpl.C (dispatch):
2779 * LyXAction.C (init):
2780 * factory.C (createInset):
2781 * lyxfunc.C (getStatus, dispatch):
2782 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2784 2003-02-21 Angus Leeming <leeming@lyx.org>
2786 * BufferView_pimpl.C (MenuInsertLyXFile):
2787 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2788 * lyxfunc.C (menuNew, open, doImport):
2789 no longer pass a LyXView & to fileDlg.
2791 2003-02-21 Angus Leeming <leeming@lyx.org>
2793 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2794 * LyXAction.C: change, BIBKEY to BIBITEM.
2795 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2796 Change InsetBibKey to InsetBibitem.
2797 Change BIBKEY_CODE to BIBITEM_CODE.
2798 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2799 * factory.C: replace insetbib.h with insetbibitem.h.
2800 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2801 * paragraph.C: replace insetbib.h with insetbibitem.h.
2802 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2803 Change bibkey() to bibitem().
2804 * text.C: remove insetbib.h.
2805 * text2.C: replace insetbib.h with insetbibitem.h.
2806 change bibkey() to bibitem().
2807 * text3.C: remove insetbib.h.
2808 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2810 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2812 * lyxrc.C (output): enclose user email in quotes (in case there are
2815 2003-02-18 John Levon <levon@movementarian.org>
2817 * buffer.h: add std::
2819 2003-02-17 John Levon <levon@movementarian.org>
2825 * pspell.C: reworking. Especially in ispell, a large
2826 number of clean ups and bug fixes.
2828 * lyxfunc.C: fix revert to behave sensibly
2830 2003-02-17 André Pönitz <poenitz@gmx.net>
2833 * commandtags.h: new LFUN_INSERT_BIBKEY
2843 * paragraph_func.C: remove special bibkey handling
2845 2003-02-17 John Levon <levon@movementarian.org>
2847 * text.C (Delete): fix case where delete at the end of
2848 the very first paragraph would not merge the pars
2850 2003-02-17 John Levon <levon@movementarian.org>
2852 * lyxrow.C: fix lastPrintablePos()
2854 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2856 * bufferparams.C (writeLaTeX): add a std:here
2858 * buffer.C: and remove a using directive there
2860 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2862 * buffer.C (makeLaTeXFile): move the code that generates the
2865 * bufferparams.C (writeLaTeX): ... in this new method
2867 * LaTeXFeatures.C (getEncodingSet): make const
2868 (getLanguages): make const
2870 * MenuBackend.C (binding): returns the binding associated to this
2872 (add): sets the status of each item by calling getStatus. Adds
2874 (read): add support for OptSubMenu
2875 (expand): remove extra separator at the end of expanded menu
2877 2003-02-15 John Levon <levon@movementarian.org>
2880 * BufferView_pimpl.C:
2882 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2883 inset code that had no actual effect. Remove unneeded status
2886 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2888 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2891 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2893 * text.C (drawLengthMarker): also draw an arrow marker for
2894 symbolic lengths (medskip...)
2896 2003-02-14 John Levon <levon@movementarian.org>
2899 * tabular.C: better method names
2901 2003-02-14 John Levon <levon@movementarian.org>
2903 * BufferView_pimpl.C:
2908 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2909 it's a more accurate name. Remove some pointless uses.
2911 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2913 * text2.C (LyXText): change order of initilizers to shut off
2916 2003-02-14 John Levon <levon@movementarian.org>
2918 * buffer.C: use ParIterator for getParFromID()
2922 * paragraph_pimpl.h:
2923 * paragraph_pimpl.C: remove unused getParFromID()
2925 2003-02-14 John Levon <levon@movementarian.org>
2927 * buffer.C: remove some very old #if 0'd parse code
2929 2003-02-13 John Levon <levon@movementarian.org>
2933 * text2.C: move hfillExpansion(), numberOfSeparators(),
2934 rowLast(), rowLastPrintable(), numberofHfills(),
2935 numberOfLabelHfills() ...
2938 * lyxrow.C: ... to member functions here.
2943 * text.C: remove LyXText::beginningOfMainBody(), and call
2944 p->beginningOfMainBody() directly. Move the check for
2945 LABEL_MANUAL into the latter.
2952 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2958 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2959 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2961 2003-02-13 John Levon <levon@movementarian.org>
2963 * CutAndPaste.C: remove debug
2965 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2967 * paragraph.C (asString): remove two unused variables
2969 * lyxtextclass.C (readTitleType):
2971 (LyXTextClass): handle new members titletype_ and titlename_
2973 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2975 2003-02-09 John Levon <levon@movementarian.org>
2978 * buffer.C: replace hand-coded list with a map for the dep clean
2980 2003-02-08 John Levon <levon@movementarian.org>
2982 * LaTeX.C: consolidate code into showRunMessage() helper
2984 2003-02-08 John Levon <levon@movementarian.org>
2989 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2990 and pass the size in explicitly
2992 * BufferView_pimpl.h:
2993 * BufferView_pimpl.C:
2995 * BufferView.C: add getCurrentChange()
2997 * BufferView_pimpl.h:
2998 * BufferView_pimpl.C: handle change lfuns
3000 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3001 for changes. Mark pasted paragraphs as new.
3003 * support/lyxtime.h:
3004 * support/lyxtime.C:
3005 * DepTable.C: abstract time_t as lyx::time_type
3008 * LColor.C: add colours for new text, deleted text, changebars
3010 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3011 package use "usenames" option.
3015 * LyXAction.C: add change lfuns
3019 * author.C: author handling
3022 * buffer.C: add a per-buffer author list, with first entry as
3023 current author. Handle new .lyx tokens for change tracking. Output
3024 author list to .lyx file. Output dvipost stuff to .tex preamble.
3025 Bump lyx format to 222.
3028 * bufferlist.C: add setCurrentAuthor() to reset current author details
3032 * bufferparams.C: add param for tracking
3034 * bufferview_funcs.C: output change info in minibuffer
3038 * changes.C: add change-tracking structure
3041 * debug.C: add CHANGES debug flag
3044 * lyxfind.C: add code for finding the next change piece
3047 * lyxrc.C: add user_name and user_email
3050 * lyxrow.C: add a metric for the top of the text line
3053 * text.C: implement accept/rejectChange()
3056 * text.C: paint changebars. Paint new/deleted text in the chosen
3057 colours. Strike through deleted text.
3061 * paragraph_pimpl.h:
3062 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3063 in the current change to the insert functions. Rework erase to
3064 mark text as deleted, adding an eraseIntern() and a range-based
3065 erase(). Implement per-paragraph change lookup and
3068 * paragraph_funcs.C: Fixup paste for change tracking.
3070 * tabular.C: mark added row/columns as new.
3072 * text.C: fix rowLast() to never return -1. Don't allow
3073 spellchecking of deleted text. Track transpose changes. Don't
3074 allow paragraph break or merge where appropriate.
3076 * text2.C: leave cursor at end of selection after a cut.
3078 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3080 * text.C (getLengthMarkerHeight):
3081 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3082 visible on screen too.
3084 2003-02-07 John Levon <levon@movementarian.org>
3086 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3088 2003-02-05 Angus Leeming <leeming@lyx.org>
3090 * lyxserver.C (read_ready): revert my patch of 11 September last year
3091 as it sends PC cpu through the roof. Presumably this means that
3092 the lyxserver will no longer run on an Alpha...
3094 2003-01-30 Angus Leeming <leeming@lyx.org>
3096 * factory.C (createInset): create an InsetCommandParam of type "index"
3097 and use it to 'do the right thing'.
3099 * text2.C (getStringToIndex): ensure that cursor position is always
3100 reset to the reset_cursor position.
3102 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3104 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3107 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3111 * lyxfunc.C: Output messages with identical spelling, punctuation,
3114 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3116 * MenuBackend.C (expandFormats): List only viewable export formats
3119 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3122 * lyxfunc.C (getStatus): Make sure that formats other than
3123 "fax" can also be disabled
3125 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3127 * text3.C (dispatch): put the lfuns that insert insets in 3
3128 groups, and call doInsertInset with appropriate arguments.
3129 (doInsertInset): new function, that creates an inset and inserts
3130 it according to some boolean parameters.
3132 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3134 * buffer.C (readFile): remember to pass on 'par' when calling
3135 readFile recursively.
3137 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3139 * MenuBackend.C (expandFormats): add "..." to import formats.
3141 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3143 * paragraph.C (asString): Remove XForms RTL hacks.
3145 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3146 * buffer.C: fix typo
3148 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3150 * Makefile.am (LIBS): delete var
3151 (lyx_LDADD): add @LIBS@ here instead.
3153 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3155 * Clarify the meaning of "wheel mouse jump"
3157 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3159 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3162 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3164 * importer.C (Loaders): do not preallocate 3 elements in the
3165 vector, since one ends up with 6 elements otherwise
3167 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3169 * DepTable.C (write): write the file name as last element of the
3170 .dep file (because it may contain spaces)
3171 (read): read info in the right order
3173 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3175 * paragraph_pimpl.C (simpleTeXBlanks):
3176 (simpleTeXSpecialChars):
3177 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3179 * tabular.C (latex): add some missing case statements. Reindent.
3181 * MenuBackend.C (expandToc): remove unused variable.
3183 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3192 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3195 2003-01-05 John Levon <levon@movementarian.org>
3198 * BufferView.C: add getEncoding()
3201 * kbsequence.C: do not store last keypress
3204 * lyxfunc.C: store last keypress here instead. Pass encoding
3207 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3209 * lyx_main.C (init): remove annoying error message when following
3210 symbolic links (bug #780)
3212 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3214 * text.C (insertChar):
3215 * lyxrc.C (getDescription): remove extra spaces
3217 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3219 * lyxrc.C (getDescription): remove extra spaces
3221 2002-12-20 John Levon <levon@movementarian.org>
3223 * text3.C: hack fix for page up/down across tall rows
3225 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3227 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3230 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3232 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3233 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3234 thesaurus is not compiled in
3236 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3238 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3240 2002-12-16 Angus Leeming <leeming@lyx.org>
3243 * lyx_main.C (init): remove override_x_deadkeys stuff.
3245 2002-12-12 John Levon <levon@movementarian.org>
3247 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3248 insert. Only remove shift modifier under strict
3251 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3253 * MenuBackend.C (expandToc): fix crash.
3255 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3257 * MenuBackend.C (expandToc): gettext on float names.
3259 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3261 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3262 implement bool empty() [bug 490]
3264 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3266 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3268 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3270 * several files: ws changes
3272 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3274 * text2.C (setCounter): clean up a bit, use boost.format.
3275 (updateCounters): initialize par upon declaration.
3277 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3278 if the layout exists. We do not just store the layout any more.
3279 (SwitchLayoutsBetweenClasses): use boost.format
3281 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3283 * converter.C (convert): if from and to files are the same, use a
3284 temporary files as intermediary
3286 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3289 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3291 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3293 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3295 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3297 * tabular.C (asciiPrintCell): use string(size, char) instead of
3300 * sgml.C (openTag): fix order of arguments to string constructor
3303 * lyxfunc.C (dispatch): use boost.format
3305 * lots of files: change "c" -> 'c'
3307 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3309 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3311 2002-11-25 Angus Leeming <leeming@lyx.org>
3313 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3315 * lyx_main.C (init): compile fix.
3317 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3319 * lyx_cb.C (start): boost.formatify
3320 do not include <iostream>
3322 * lengthcommon.C: ws only
3324 * boost-inst.C,BoostFormat.h: add more explict instantations
3326 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3328 * lots of files: handle USE_BOOST_FORMAT
3330 2002-11-21 John Levon <levon@movementarian.org>
3332 * pspell.C: fix compile
3334 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3336 * lyxfunc.C (dispatch): use boost::format
3340 * lyxfont.C (stateText): use boost::format
3342 * lyx_main.C (LyX): use boost::format
3344 (queryUserLyXDir): ditto
3347 (typedef boost::function): use the recommened syntax.
3349 * importer.C (Import): use boost::format
3351 * debug.C (showLevel): use boost::format
3353 * converter.C (view): use boost::format
3358 * bufferview_funcs.C (currentState): use boost::format
3360 * bufferlist.C (emergencyWrite): use boost::format
3362 * buffer.C (readLyXformat2): use boost::format
3363 (parseSingleLyXformat2Token): ditto
3365 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3367 * LaTeX.C (run): use boost::format
3369 * Chktex.C (scanLogFile): use boost::format
3371 * BufferView_pimpl.C (savePosition): use boost::format
3372 (restorePosition): ditto
3373 (MenuInsertLyXFile): ditto
3375 * BoostFormat.h: help file for explicit instation.
3377 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3379 * tabular.C (latex): Support for block alignment in fixed width
3382 2002-11-17 John Levon <levon@movementarian.org>
3384 * BufferView_pimpl.C:
3386 * lyxfunc.C: split filedialog into open/save
3388 2002-11-08 Juergen Vigna <jug@sad.it>
3390 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3391 by my last patch (hopefully).
3393 2002-11-08 John Levon <levon@movementarian.org>
3402 * toc.C: ParConstIterator, and use it (from Lars)
3404 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3406 * lyxtextclass.[Ch]: revise and add doxygen comments
3408 2002-11-07 John Levon <levon@movementarian.org>
3410 * text.C: fix progress value for spellchecker
3412 * toc.C: fix navigate menu for insetwrap inside minipage
3414 * paragraph_funcs.C: added FIXME for suspect code
3416 2002-11-07 John Levon <levon@movementarian.org>
3418 * BufferView_pimpl.C: fix redrawing of insets
3421 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3423 * text2.C (updateCounters): fix bug 668
3425 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3427 * text3.C (dispatch): Do not make the buffer dirty when moving the
3430 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3432 * vc-backend.C: STRCONV
3435 * text2.C (setCounter): STRCONV
3437 * paragraph.C (asString): STRCONV
3439 * lyxlength.C (asString): STRCONV
3440 (asLatexString): ditto
3442 * lyxgluelength.C (asString): STRCONV
3443 (asLatexString): ditto
3445 * lyxfunc.C (dispatch): STRCONV
3448 * lyxfont.C (stateText): STRCONV
3450 * importer.C (Import): STRCONV
3452 * counters.C (labelItem): STRCONV
3453 (numberLabel): ditto
3454 (numberLabel): remove unused ostringstream o
3459 * bufferview_funcs.C (currentState): STRCONV
3461 * buffer.C (readFile): STRCONV
3462 (asciiParagraph): ditto
3463 (makeLaTeXFile): ditto
3465 * Spacing.C (writeEnvirBegin): STRCONV
3467 * LaTeXFeatures.C (getLanguages): STRCONV
3468 (getPackages): ditto
3470 (getBabelOptions): ditto
3471 (getTClassPreamble): ditto
3472 (getLyXSGMLEntities): ditto
3473 (getIncludedFiles): ditto
3477 (scanAuxFile): ditto
3480 * LString.h: add the STRCONV macros
3482 * BufferView_pimpl.C (savePosition): STRCONV
3483 (restorePosition): ditto
3484 (MenuInsertLyXFile): ditto
3486 * vc-backend.C (scanMaster): change from submatch[...] to
3489 * funcrequest.C: include config.h
3491 * factory.C: include config.h
3493 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3495 * box.C: include config.h
3497 * LaTeX.C (scanAuxFile): change from submatch[...] to
3501 2002-10-25 Angus Leeming <leeming@lyx.org>
3503 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3505 * ispell.[Ch] (setError): new method.
3506 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3507 Use setError() insetead of goto END.
3509 * lyx_cb.C (AutoSave): move out child process into new class
3512 2002-10-30 John Levon <levon@movementarian.org>
3514 * text3.C: make start appendix undoable
3516 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3518 * lyxlength.C (inPixels): Fix returned value.
3520 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3523 2002-10-24 Angus Leeming <leeming@lyx.org>
3525 * lyxgluelength.h: no need to forward declare BufferParams
3526 or BufferView, so don't.
3528 2002-10-21 John Levon <levon@movementarian.org>
3530 * BufferView.C: menuUndo ->undo, redo
3532 * BufferView.h: document, remove dead, make some methods private
3534 * paragraph_funcs.h:
3535 * paragraph_funcs.C:
3536 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3541 * sgml.C: move sgml open/close tag into sgml.C
3543 * bufferview_funcs.h: unused prototype
3546 * lyxfunc.C: remove unused
3549 * text.C: remove unused
3551 2002-10-21 John Levon <levon@movementarian.org>
3555 * BufferView_pimpl.h:
3556 * BufferView_pimpl.C: fix mouse wheel handling based on
3557 patch from Darren Freeman
3559 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3561 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3563 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3565 * lyxlength.C (inPixels): Fix hanfling of negative length.
3566 Fix LyXLength::MU case.
3568 2002-10-16 John Levon <levon@movementarian.org>
3570 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3572 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3574 * converter.C (view): add support for $$i (file name) and $$p
3575 (file path) for the viewer command. If $$i is not specified, then
3576 it is appended to the command (for compatibility with old syntax)
3578 2002-10-14 Juergen Vigna <jug@sad.it>
3580 * undo_funcs.C (textHandleUndo): alter the order in which the
3581 new undopar is added to the LyXText, as we have to set first
3582 the right prev/next and then add it as otherwise the rebuild of
3583 LyXText is not correct. Also reset the cursor to the right paragraph,
3584 with this IMO we could remove the hack in "redoParagraphs()".
3586 2002-10-09 Angus Leeming <leeming@lyx.org>
3588 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3589 to turn off an optimisation if a new inset is to be inserted.
3591 2002-10-11 André Pönitz <poenitz@gmx.net>
3593 * lyxtext.h: make some functions public to allow access
3594 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3596 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3598 * text3.C (dispatch): when changing layout, avoid an infinite loop
3601 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3603 * lyxrc.C (read): treat a viewer or converter command of "none" as
3606 * MenuBackend.C (expandFormats): for an update, also allow the
3607 formats that are not viewable
3609 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3610 script if it is newer than the lyxrc.defaults in user directory
3612 2002-10-07 André Pönitz <poenitz@gmx.net>
3614 * text.C: Vitaly Lipatov's small i18n fix
3616 2002-09-25 Angus Leeming <leeming@lyx.org>
3618 * ispell.h: doxygen fix.
3620 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3622 * buffer.h (readFile): Add a new argument to the method, to allow
3623 reading of old-format templates.
3625 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3627 * toc.C (getTocList): Get TOC from InsetWrap.
3629 2002-09-16 John Levon <levon@movementarian.org>
3631 * lyxfunc.C: check tabular for cut/copy too
3633 2002-09-12 John Levon <levon@movementarian.org>
3638 * factory.C: add header
3640 * paragraph_funcs.h:
3641 * paragraph_funcs.C: cleanup
3643 2002-09-11 John Levon <levon@movementarian.org>
3645 * PrinterParams.h: odd/even default to true
3647 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3649 * PrinterParams.h: update printer parameters for new xforms dialog
3651 2002-09-11 Angus Leeming <leeming@lyx.org>
3653 * lyxserver.C (read_ready): re-write to make it more transparent
3654 and to make it work in coherent fashion under Tru64 Unix.
3656 2002-09-11 André Pönitz <poenitz@gmx.net>
3660 * text3.C: implement LFUN_WORDSEL
3662 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3664 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3665 make floatlist_ a boost::shared_ptr<FloatList>
3667 * lyxtextclass.C: include FloatList.h
3668 (LyXTextClass): initialize floatlist_
3669 (TextClassTags): add TC_NOFLOAT
3670 (Read): match "nofloat" to TC_NOFLOAT and use it.
3671 (readFloat): modify call to floatlist_
3675 * FloatList.[Ch] (FloatList): remove commented out float
3677 (erase): new function
3679 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3681 * MenuBackend.C (expandToc): fix crash when there is no document
3684 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3686 * many files: Add insetwrap.
3688 2002-09-09 John Levon <levon@movementarian.org>
3690 * text2.C: remove confusing and awkward depth wraparound
3692 2002-09-09 John Levon <levon@movementarian.org>
3694 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3697 * buffer.C: remove getIncludeonlyList()
3700 * lyxfunc.C: remove headers
3702 2002-09-09 Juergen Vigna <jug@sad.it>
3704 * text.C (getColumnNearX): fix form Michael this is most
3705 probably a cut&paste bug.
3707 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3709 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3711 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3712 references, ws changes.
3714 * text2.C (init): update counters after init
3715 (insertParagraph): no need to set counter on idividual paragraphs.
3716 (setCounter): access the counters object in the textclass object
3717 on in the buffer object.
3718 (updateCounters): ditto
3720 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3721 shared_ptr<Counters> to avoid loading counters.h in all
3723 (LyXTextClass): initialize ctrs_
3724 (TextClassTags): add TC_COUNTER, and ...
3725 (Read): use it here.
3726 (CounterTags): new tags
3727 (readCounter): new function
3728 (counters): new funtion
3729 (defaultLayoutName): return a const reference
3731 * counters.C (Counters): remove contructor
3732 (newCounter): remove a couple of unneeded statements.
3733 (newCounter): simplify a bit.
3734 (numberLabel): some small formatting changes.
3736 * buffer.[Ch]: remove all traces of counters, move the Counters
3737 object to the LyXTextClass.
3739 2002-09-06 Alain Castera <castera@in2p3.fr>
3741 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3742 package to set the horizontal alignment on fixed width columns.
3745 * lyx_sty.h: added tabularnewline macro def.
3747 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3749 2002-09-06 John Levon <levon@movementarian.org>
3751 * LyXAction.C: tooltips for sub/superscript
3753 * MenuBackend.C: a bit more verbose
3755 * lyxfunc.C: tiny clean
3757 * undo_funcs.C: document undo_frozen
3759 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3761 * counters.C (Counters): add missing algorithm counter.
3763 * text2.C (setCounter): lookup the counter with layouts latexname
3764 instead of by section number.
3765 (setCounter): use a hackish way to lookup the correct enum
3767 a float name->type change
3768 reset enum couners with counter name directly instead of depth value.
3770 * counters.C (Counters): remove the push_backs, change to use the
3771 float type not the float name.
3772 (labelItem): remove unused string, float name->type change
3774 * counters.h: don't include vector, loose the enums and sects vectors
3776 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3778 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3779 (Read): add float->TC_FLOAT to textclassTags
3780 (Read): and handle it in the switch
3781 (readFloat): new function
3783 * FloatList.C (FloatList): comment out the hardcoded float
3786 * lyxlayout.h: ws change.
3788 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3790 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3792 2002-09-03 Angus Leeming <leeming@lyx.org>
3794 * BufferView_pimpl.h: qualified name is not allowed in member
3795 declaration: WorkArea & Pimpl::workarea() const;
3797 * factory.C: added using std::endl directive.
3799 * text3.C: added using std::find and std::vector directives.
3801 2002-08-29 André Pönitz <poenitz@gmx.net>
3804 * text2.C: remove unused member number_of_rows
3807 * BufferView2.C: remove file, move contents to...
3808 * BufferView.C: ... here
3810 * BufferView_pimpl.C:
3811 * factory.C: move more inset creation to factory
3813 * vspace.C: avoid direct usage of LyXText, ws changes
3816 don't provide direct access to WorkArea, use two simple
3817 acessors haveSelction() and workHeight() instead
3820 2002-08-29 John Levon <levon@movementarian.org>
3822 * BufferView_pimpl.C (dispatch): do not continue when
3825 2002-08-28 André Pönitz <poenitz@gmx.net>
3827 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3830 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3832 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3834 * buffer.C: increment LYX_FORMAT to 221
3836 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3837 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3839 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3841 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3843 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3845 * factory.C (createInset): use LyXTextClass::floats
3847 * MenuBackend.C (expandFloatListInsert):
3848 (expandFloatInsert):
3851 * text2.C (setCounter):
3853 * LaTeXFeatures.C (useFloat):
3854 (getFloatDefinitions):
3856 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3858 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3859 floatlist_, with accessor floats().
3861 * FloatList.h: remove global FloatList
3863 2002-08-26 André Pönitz <poenitz@gmx.net>
3865 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3869 * BufferView_pimpl.C:
3870 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3872 2002-08-25 John Levon <levon@movementarian.org>
3874 * LyXAction.C: fix margin note description
3876 2002-08-24 John Levon <levon@movementarian.org>
3880 * bufferview_funcs.C:
3882 * undo_funcs.C: cleanups
3884 * lyxfunc.C: disable CUT/COPY when no selection
3886 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3888 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3889 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3891 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3892 Add backward compatibility to "mono", "gray" and "no".
3894 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3896 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3897 (and file_format >= 200).
3899 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3901 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3903 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3905 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3907 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3909 * BufferView_pimpl.C:
3916 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3917 inset and code to make it work with the paragraph code. The inset
3918 can be anywhere in the paragraph, but will only do the expected
3919 thing in LaTeX if the layout file contains the parameter line
3921 (or more generally, a nonzero value) for that layout.
3923 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3925 * paragraph.h: remove the declaration of undefined counters class
3928 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3930 * text2.C (setCounter): fixed enumeration mis-count as reported by
3931 Dr. Richard Hawkins.
3933 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3935 * paragraph_funcs.h: remove some unneeded includes
3937 * text.C (backspace): pasteParagraph now in global scipe
3939 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3940 (pasteSelection): ditto
3942 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3943 * paragraph_funcs.C (pasteParagraph): ... here
3945 2002-08-20 André Pönitz <poenitz@gmx.net>
3947 * commandtags.h: new LFUNs for swapping/copying table row/colums
3950 * lyxfunc.C: support for new lfuns
3952 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3955 * buffer.[Ch]: remove NO_COMPABILITY stuff
3957 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3959 * boost.C (throw_exception): new file, with helper function for
3960 boost compiled without exceptions.
3965 * ParameterStruct.h:
3966 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3968 * bufferlist.C (emergencyWriteAll): use boost bind
3970 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3972 * text.C: include paragraph_funcs.h
3973 (breakParagraph): breakParagraph is now in global scope
3975 * paragraph_funcs.[Ch]: new files
3977 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3980 * buffer.C: include paragraph_funcs.h
3981 (insertStringAsLines): breakParagraph is now in global scope
3983 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3986 * CutAndPaste.C: include paragraph_funcs.h
3987 (cutSelection): breakParagraphConservative is now in global scope
3988 (pasteSelection): ditto
3990 * buffer.h: declare oprator== and operator!= for
3991 Buffer::inset_iterator
3993 * bufferlist.C (emergencyWrite): don't use fmt(...)
3995 * text3.C: add using std::endl
3997 * BufferView.C (moveCursorUpdate): remove default arg
3999 2002-08-20 André Pönitz <poenitz@gmx.net>
4001 * buffer.[Ch]: move inline functions to .C
4004 * BufferView_pimpl.C:
4006 * buffer.[Ch]: use improved inset_iterator
4009 * paragraph.[Ch]: write one paragraph at a time
4011 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4013 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4014 style if style is not specified.
4016 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4018 * text2.C (setCounter): when searching for right label for a
4019 caption, make sure to recurse to parent insets (so that a caption
4020 in a minipage in a figure float works) (bug #568)
4022 2002-08-20 André Pönitz <poenitz@gmx.net>
4024 * text3.C: new file for LyXText::dispatch() and helpers
4026 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4028 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4030 2002-08-19 André Pönitz <poenitz@gmx.net>
4033 * text.C: new LyXText::dispatch()
4035 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4037 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4039 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4041 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4044 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4046 * Makefile.am: use $(variables) instead of @substitutions@
4048 2002-08-15 André Pönitz <poenitz@gmx.net>
4051 * BufferView_pimpl.C: streamlining mathed <-> outer world
4055 * LyXAction.C: remove unused LFUN_MATH
4057 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4059 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4061 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4063 * paragraph.C (Paragraph): reformat a bit
4064 (cutIntoMinibuffer): use builtin InsetList function instad of
4068 * buffer.C: include boost/bind.hpp, add using std::for_each
4069 (writeFileAscii): use ParagraphList iterators
4070 (validate): use for_each for validate traversal of paragraphs
4071 (getBibkeyList): use ParagraphList iterators
4072 (resizeInsets): use for_each to resizeInsetsLyXText for all
4074 (getParFromID): use ParagraphList iterators
4076 * BufferView2.C (lockInset): use paragraph list and iterators
4078 2002-08-14 John Levon <levon@movementarian.org>
4080 * lyxserver.C: remove spurious xforms include
4082 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4084 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4086 2002-08-13 André Pönitz <poenitz@gmx.net>
4089 * lyxfunc.C: further cleaning
4091 2002-08-13 André Pönitz <poenitz@gmx.net>
4093 * funcrequest.h: new constructor
4095 * funcrequest.C: move stuff here from .h
4098 * BufferView_pimpl.C:
4101 * lyxfunc.C: subsequent changes
4103 * lyxfunc.h: new view() member function
4105 * lyxfunc.C: subsequent changes
4107 2002-08-13 Angus Leeming <leeming@lyx.org>
4110 * BufferView_pimpl.C:
4118 changes due to the changed LyXView interface that now returns references
4119 to member variables not pointers.
4121 2002-08-13 Angus Leeming <leeming@lyx.org>
4123 * WordLangTuple (word, lang_code): return references to strings,
4128 * lyxtext.h: forward-declare WordLangTuple.
4133 * text.C: #include "WordLangTuple.h".
4136 * text.C: (selectNextWordToSpellcheck): constify return type.
4138 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4144 * paragraph_pimpl.h:
4147 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4149 Made updateCounter always count from start of buffer, and removed
4150 second argument (par).
4151 Reverted floats number display to '#'. Perhaps I'll try again when the
4152 code base is sanitized a bit.
4154 2002-08-12 Angus Leeming <leeming@lyx.org>
4156 * buffer.[Ch] (getLabelList): constify.
4158 2002-08-07 André Pönitz <poenitz@gmx.net>
4160 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4162 * funcrequest.h: extension to keep mouse (x,y) position
4164 2002-08-12 Juergen Vigna <jug@sad.it>
4166 * BufferView2.C (insertErrors): forbid undo when inserting error
4169 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4171 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4173 * ParagraphList.[Ch]: new files
4175 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4177 * BufferView2.C (lockInset): ParagraphList changes
4180 * bufferlist.C: ditto
4184 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4186 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4187 unused class variable counter_,
4189 * paragraph.[Ch] (getFirstCounter): delete unused function
4191 * counters.C: include LAssert.h
4192 (reset): add a new function with no arg, change other version to
4193 not have def. arg and to not allow empty arg.
4195 * text2.C (setCounter): remove empty arg from call to Counters::reset
4197 2002-08-11 John Levon <levon@movementarian.org>
4199 * Makefile.am: add WordLangTuple.h
4201 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4203 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4204 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4206 * insets/insettext.C: InsetList changes
4208 * graphics/GraphicsSupport.C (operator()): InsetList changes
4210 * toc.C (getTocList): InsetList changes
4212 * paragraph_pimpl.[Ch]: InsetList changes
4214 * paragraph.[Ch]: InsetList changes
4216 * buffer.C (inset_iterator): InsetList changes
4217 (setParagraph): ditto
4218 * buffer.h (inset_iterator): ditto
4219 * iterators.C (operator++): ditto
4220 * iterators.h: ditto
4222 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4224 * InsetList.[Ch]: new files, most InsetList handling moved out of
4227 * BufferView2.C (removeAutoInsets): InsetList changes
4229 (ChangeInsets): ditto
4231 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4233 * paragraph_pimpl.h (empty): new function
4235 * paragraph.[Ch] (empty): new function
4237 * other files: use the new Paragraph::empty function
4239 2002-08-09 John Levon <levon@movementarian.org>
4241 * lyxtext.h: remove unused refresh_height
4243 2002-08-09 John Levon <levon@movementarian.org>
4250 * paragraph.C: move sgml char escaping out of paragraph
4253 * paragraph.C: remove id setter
4257 * paragraph_pimpl.C: remove dead tex_code_break_column
4259 * bufferview_funcs.C: small cleanup
4261 * lyxfunc.C: remove dead proto
4263 * lyxtext.h: make some stuff private. Remove some dead stuff.
4265 * lyxgluelength.C: make as[LyX]String() readable
4267 2002-08-08 John Levon <levon@movementarian.org>
4272 * ToolbarDefaults.C:
4275 * toc.C: lyxaction cleanup
4277 2002-08-08 John Levon <levon@movementarian.org>
4279 * BufferView2.C: small cleanup
4282 * lyxfind.C: move unnecessary header into the .C
4284 2002-08-08 John Levon <levon@movementarian.org>
4286 * funcrequest.h: just tedious nonsense
4289 * lyx_main.C: cleanups
4292 * vspace.C: remove dead header lyx_main.h
4294 2002-08-07 Angus Leeming <leeming@lyx.org>
4297 * paragraph_pimpl.h:
4298 Forward declare class Counters in paragraph.h by moving the ctrs member
4299 variable into Paragraph::Pimpl.
4300 (counters): new method, returning a reference to pimpl_->ctrs.
4302 * text2.C: ensuing changes.
4304 2002-08-07 John Levon <levon@movementarian.org>
4306 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4308 * BufferView_pimpl.C: announce X selection on double/triple
4311 * lyx_main.C: use correct bool in batch dispatch
4313 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4315 2002-08-07 André Pönitz <poenitz@gmx.net>
4317 * funcrequest.h: new class to wrap a kb_action and its argument
4320 * BufferView_pimpl[Ch]:
4324 * lyxrc.C: subsequent changes
4327 2002-08-07 John Levon <levon@movementarian.org>
4329 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4330 document options change.
4332 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4337 * makefile.am: move counters functionality over from
4338 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4340 2002-08-06 John Levon <levon@movementarian.org>
4342 * WordLangTuple.h: new file for word + language code tuple
4353 * BufferView2.C: use WordLangTuple
4356 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4358 2002-08-06 John Levon <levon@movementarian.org>
4360 * lyx_main.C: fix cmdline batch handling
4362 2002-08-06 André Pönitz <poenitz@gmx.net>
4364 * lyxrc.C: set default for show_banner to true
4366 2002-08-06 John Levon <levon@movementarian.org>
4368 * pspell.C: fix a crash, and allow new aspell to work
4370 2002-08-06 John Levon <levon@movementarian.org>
4373 * kbmap.C: small cleanup
4376 * vspace.C: add const
4378 2002-08-05 John Levon <levon@movementarian.org>
4380 * LyXAction.C: back to tabular-insert
4382 2002-08-04 John Levon <levon@movementarian.org>
4385 * BufferView.C: cosmetic change
4387 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4397 * BufferView2.C: purge all "Lyx" not "LyX" strings
4400 * lyxcursor.C: attempt to add some documentation
4405 * ToolbarDefaults.C:
4406 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4407 merge with LFUN_TABULAR_INSERT
4414 * pspell.C: split up i/pspell implementations into separate
4415 files, many cleanups
4417 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4419 * text2.C: some cleanup
4421 * lyxfunc.C: don't check for isp_command == "none" any more, it
4422 didn't make any sense
4424 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4429 * makefile.am: move counters functionality over
4430 from text2.C/paragraph.[Ch] to counters.[Ch], and
4432 2002-08-02 John Levon <levon@movementarian.org>
4434 * buffer.C: s/lyxconvert/lyx2lyx/
4436 2002-08-02 Angus Leeming <leeming@lyx.org>
4438 * lyxlex.C: revert John's change as it breaks reading of the user
4441 2002-08-02 Angus Leeming <leeming@lyx.org>
4443 * importer.C (Import):
4444 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4445 changes due to LyXView::view() now returning a boost::shared_ptr.
4447 2002-08-02 John Levon <levon@movementarian.org>
4449 * lyxlex.C: small cleanup
4451 2002-08-02 John Levon <levon@movementarian.org>
4453 * text2.C (status): small cleanup, no logic change
4455 2002-08-01 John Levon <levon@movementarian.org>
4458 * buffer.C (writeFile): don't output alerts, caller
4462 * lyx_cb.C: from above
4464 * lyxfunc.C: allow to open non-existent files
4466 2002-07-31 John Levon <levon@movementarian.org>
4468 * lyxserver.C: don't let incidental errors get
4471 2002-07-30 John Levon <levon@movementarian.org>
4473 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4475 2002-07-30 John Levon <levon@movementarian.org>
4478 * lyxserver.C: remove I/O callback too
4480 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4482 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4485 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4487 * many files: strip,frontStrip -> trim,ltrim,rtrim
4489 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4491 * PrinterParams.h: remove extern containsOnly, and include
4492 support/lstrings.h instead.
4494 * LaTeX.C (scanAuxFile): modify because of strip changes
4496 * buffer.C (makeLaTeXFile): ditto
4497 * bufferparams.C (writeFile): ditt
4498 * lyxfont.C (stateText): ditto
4499 * lyxserver.C (read_ready): ditto
4500 * vc-backend.C (scanMaster): ditto
4502 * BufferView_pimpl.h: ws changes
4504 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4506 2002-07-26 André Pönitz <poenitz@gmx.net>
4508 * kb_sequence.C: remove unnedred usings
4510 2002-07-26 Juergen Vigna <jug@sad.it>
4512 * lyxfind.C (LyXReplace): we have to check better if the returned
4513 text is not of theLockingInset()->getLockingInset().
4515 2002-07-25 Juergen Vigna <jug@sad.it>
4517 * lyxfind.C (LyXReplace): don't replace if we don't get the
4520 * undo_funcs.C (createUndo): remove debugging code.
4522 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4524 * buffer.C (parseSingleLyXformat2Token): Use default placement
4525 when reading old floats.
4527 * FloatList.C (FloatList): Change the default placement of figure
4528 and tables to "tbp".
4530 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4532 * MenuBackend.C: using std::max
4534 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4536 * MenuBackend.C (expandToc):
4537 (expandToc2): code moved from xforms menu frontend. It is now
4538 generic and TOCs are transparent to menu frontends.
4540 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4542 * toc.C (getTocList): protect against buf=0
4544 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4545 Menu as first parameter. Now, this calls itself recursively to
4546 expand a whole tree (this will be useful for TOC handling)
4547 (expandFloatInsert): remove 'wide' version of floats
4549 * MenuBackend.h (submenuname): returns the name of the submenu.
4550 (submenu): returns the submenu itself, provided it has been
4551 created by MenuBackend::expand
4553 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4555 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4556 insets which have noFontChange == true. (bug #172)
4558 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4560 * BufferView_pimpl.C: add connection objects and use them...
4563 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4565 * MenuBackend.C (expandLastfiles):
4568 (expandFloatListInsert):
4569 (expandFloatInsert):
4570 (expand): split expand in parts
4572 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4574 * lyx_gui.C: use lyx_gui::exit()
4576 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4578 * LyXAction.C: show the failing pseudo action
4580 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4582 * buffer.C (readFile): Run the lyxconvert script in order to read
4585 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4589 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4591 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4595 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4597 2002-07-22 Herbert Voss <voss@lyx.org>
4600 * lyxlength.[Ch]: add support for the vertical lengths
4602 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4604 * toc.[Ch]: std:: fixes
4606 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4608 * lyxrc.C: do not include lyx_main.h
4610 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4616 * BufferView2.C: include "lyxlex.h"
4619 * bufferparams.h: do not #include "lyxlex.h"
4621 * lyxtextclasslist.C (Add): remove method
4622 (classlist): renamed to classlist_
4624 * paragraph_pimpl.C:
4628 * bufferview_funcs.C:
4633 * toc.C (getTocList): use BufferParams::getLyXTextClass
4635 * toc.C (getTocList): use InsetFloat::addToToc
4637 * toc.[Ch]: new files, containing helper functions to handle table
4640 * lyxfunc.C (dispatch): no need to remove spaces around command
4642 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4643 first command of the sequence; it is not very clever, but I do not
4644 have a better idea, actually
4646 * LyXAction.C (LookupFunc): make sure to remove space at the
4647 beginning and end of the command
4649 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4651 * MenuBackend.C (getMenubar): new method: return the menubar of
4653 (read): treat differently reading of menu and menubar (in
4654 particular, the menubar has no name now)
4655 (Menu::menubar): remove
4657 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4660 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4662 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4663 a bibitem inset in a RTL paragraph.
4665 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4667 * paragraph_pimpl.C: constify
4669 * BufferView_pimpl.C:
4671 * lyxfunc.C: fix dispatch in a nicer way
4673 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4675 * lyxfunc.C (dispatch):
4676 * BufferView_pimpl.C:
4677 * BufferView_pimpl.h:
4679 * BufferView.h: rename Dispatch() to dispatch()
4681 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4683 * lyxlayout.C (Read): honor DependsOn tag
4685 * lyxlayout.[Ch] (depends_on): new method
4687 * version.C.in: update lyx_docversion
4689 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4691 * paragraph.C (validate): remove from here...
4692 * paragraph_pimpl.C (validate): ... and move here
4693 (isTextAt): make it const
4695 * buffer.C (getLists): ws cleanup
4697 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4699 * language.C (read): Use iso8859-1 encoding in latex_lang
4700 (this prevents LyX from crashing when using iso10646-1 encoding).
4702 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4704 * text2.C (toggleInset): if cursor is inside an inset, close the
4705 inset and leave cursor _after_ it
4707 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4709 * lyxfunc.C: move minibuffer completion handling out of here
4711 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4713 * BufferView_pimpl.C:
4714 * LaTeX.C: fix dispatch calls
4716 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4718 * text.C (drawChars): Fix Arabic text rendering.
4720 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4724 * lyxfunc.C: remove message-push/pop
4728 * lyxfunc.C: rationalise some code by removing verboseDispatch
4729 in favour of a bool argument to dispatch()
4731 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4733 * lyx_main.C (init): make sure to read symlinks as absolute paths
4735 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4738 * lyxfunc.C: no need for commandshortcut to be a member
4740 2002-07-15 André Pönitz <poenitz@gmx.net>
4742 * converter.C: add support for $$s (scripts from lib/scripts dir)
4743 * lyx_main.C: white space
4745 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4749 * lyxrc.C: remove second exit confirmation
4751 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4756 * BufferView_pimpl.h:
4757 * BufferView_pimpl.C:
4758 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4760 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4762 * MenuBackend.C (expand): add numeric shortcuts to document menu
4764 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4766 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4768 * lyxfont.C (setLyXFamily):
4775 * buffer.C (asciiParagraph): use ascii_lowercase
4777 2002-07-15 Mike Fabian <mfabian@suse.de>
4779 * lyxlex_pimpl.C (search_kw):
4780 * lyxlex.C (getLongString):
4781 * converter.h (operator<):
4782 * converter.C (operator<):
4783 * buffer.C (parseSingleLyXformat2Token):
4785 * ToolbarDefaults.C (read):
4786 * MenuBackend.C (checkShortcuts):
4788 * LColor.C (getFromGUIName):
4789 (getFromLyXName): use the compare_ascii_no_case instead of
4790 compare_no_case, because in turkish, 'i' is not the lowercase
4791 version of 'I', and thus turkish locale breaks parsing of tags.
4793 2002-07-16 Angus Leeming <leeming@lyx.org>
4795 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4796 now takes a Buffer const & argument.
4798 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4800 * BufferView.C (resize): check there's a buffer to resize
4802 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4804 * lyxfunc.C: remove dead code
4807 * lyxserver.C: use lyx_guii::set_read_callback
4809 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4811 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4812 an inset in a RTL paragraph.
4814 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4816 * lyxfunc.C: repaint after a font size update
4818 2002-07-15 André Pönitz <poenitz@gmx.net>
4820 * lyxlength.C: inBP should be able to return negative values
4822 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4824 * lyxfunc.C: use lyx_gui::update_fonts()
4826 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4828 * lyxfunc.C: use lyx_gui::update_color()
4830 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4836 * lyxrc.C: remove file->new asks for name option, and let
4837 buffer-new take an argument
4839 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4841 * BufferView_pimpl.C: remove unneeded extra repaint()
4843 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4845 * LyXAction.C: allow command-sequence with NoBuffer
4847 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4849 2002-07-10 Angus Leeming <leeming@lyx.org>
4851 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4853 2002-07-09 Angus Leeming <leeming@lyx.org>
4855 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4857 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4859 * lengthcommon.h: whitespace
4861 * lyxfunc.C: update scrollbar after goto paragraph
4863 * lyxtext.h: factor out page break drawing, and fix it so
4864 page break/added space paints as selected nicely
4866 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4868 * BufferView_pimpl.C: add FIXMEs, clean up a little
4870 2002-07-09 André Pönitz <poenitz@gmx.net>
4872 * lyxfont.[Ch]: support for wasy symbols
4874 2002-07-08 André Pönitz <poenitz@gmx.net>
4876 * BufferView_pimpl.C: apply John's patch for #93.
4878 2002-07-05 Angus Leeming <leeming@lyx.org>
4880 * BufferView_pimpl.C (buffer): generate previews if desired.
4882 * LColor.h: add "preview" to the color enum.
4884 * LColor.C (LColor): add a corresponding entry to the items array.
4886 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4889 2002-07-05 Angus Leeming <leeming@lyx.org>
4891 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4892 The body of the code is now in the method that is passed an ostream &
4893 rather than a file name.
4894 Pass an additional only_preamble parameter, useful for the forthcoming
4897 2002-07-03 André Pönitz <poenitz@gmx.net>
4899 * lyxfunc.C: simplify getStatus() a bit for math stuff
4901 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4903 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4905 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4907 * text.C (changeRegionCase): do not change case of all the
4908 document when region ends at paragraph end (bug #461)
4910 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4912 * paragraph.C (startTeXParParams):
4913 (endTeXParParams): add \protect when necessary
4915 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4917 * BufferView_pimpl.C (workAreaExpose): remove warning
4919 2002-06-27 Angus Leeming <leeming@lyx.org>
4921 * Makefile.am: add lyxlayout_ptr_fwd.h.
4923 2002-06-26 André Pönitz <poenitz@gmx.net>
4925 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4927 2002-06-25 Angus Leeming <leeming@lyx.org>
4929 * lyxfunc.C (dispatch): Comment out the call to
4930 grfx::GCache::changeDisplay. The method no longer exists now that the
4931 pixmap generation part of the graphics loader has been moved into
4934 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4936 * text2.C: layout as layout
4938 * text.C: layout as layout
4940 * tabular.C (OldFormatRead): layout as layout
4942 * paragraph_pimpl.C (TeXDeeper): layout as layout
4943 (realizeFont): layout as layout
4945 * paragraph.C (writeFile): layout as layout
4946 (validate): layout as layout
4947 (getFont): layout as layout
4948 (getLabelFont): layout as layout
4949 (getLayoutFont): layout as layout
4950 (breakParagraph): layout as layout
4951 (stripLeadingSpaces): layout as layout
4952 (getEndLabel): layout as layout
4953 (getMaxDepthAfter): layout as layout
4954 (applyLayout): layout as layout
4955 (TeXOnePar): layout as layout
4956 (simpleTeXOnePar): layout as layout
4957 (TeXEnvironment): layout as layout
4958 (layout): layout as layout
4959 (layout): layout as layout
4961 * lyxtextclass.C (compare_name): new functor to work with
4962 shared_ptr, layout as layout
4963 (Read): layout as layout
4964 (hasLayout): layout as layout
4965 (operator): layout as layout
4966 (delete_layout): layout as layout
4967 (defaultLayout): layout as layout
4969 * lyxlayout_ptr_fwd.h: new file
4971 * lyxlayout.C (Read): layout as layout
4973 * lyx_cb.C (MenuInsertLabel): layout as layout
4975 * bufferlist.C (newFile): layout as layout
4977 * buffer.C (readLyXformat2): layout as layout
4978 (parseSingleLyXformat2Token): layout as layout
4979 (insertStringAsLines): layout as layout
4980 (asciiParagraph): layout as layout
4981 (latexParagraphs): layout as layout
4982 (makeLinuxDocFile): layout as layout
4983 (simpleLinuxDocOnePar): layout as layout
4984 (makeDocBookFile): layout as layout
4985 (simpleDocBookOnePar): layout as layout
4986 (getLists): layout as layout
4988 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4990 * CutAndPaste.C (cutSelection): layout as layout
4991 (pasteSelection): layout as layout
4992 (SwitchLayoutsBetweenClasses): layout as layout
4994 * BufferView_pimpl.C (Dispatch): layout as layout
4995 (smartQuote): layout as layout
4997 * BufferView2.C (unlockInset): layout as layout
4999 2002-06-24 André Pönitz <poenitz@gmx.net>
5001 * lyxfunc.C: fix #487
5003 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5007 * lyxfunc.C: remove display_shortcuts, show_banner
5009 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5011 * Buffer_pimpl.C: oops, update on resize
5013 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5020 * BufferView.C: use repaint()
5022 * BufferView_pimpl.h:
5023 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5024 as it's a clearer description. Remove superfluous
5027 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5029 * text.C: fix bug 488. Not ideal, but getting
5030 getWord() to work properly for the insets that
5031 matter is more difficult ...
5033 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5035 * BufferView_pimpl.C:
5038 * lyxfunc.C: remove the six million index lyxfuncs to just
5039 one, and DTRT (bug 458)
5041 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5045 * BufferView_pimpl.h:
5046 * BufferView_pimpl.C: clean up resize() stuff,
5047 and unnecessary updateScreen()s
5049 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5053 * BufferView_pimpl.h:
5054 * BufferView_pimpl.C:
5057 * minibuffer.C: remove focus management of workarea,
5058 not needed. Use screen's greyOut()
5060 2002-06-17 Herbert Voss <voss@lyx.org>
5062 * converter.C: (convert) do not post a message, when converting
5063 fails, let the calling function decide what to do in this case
5065 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5067 * lyxfunc.C: tidy up a little
5069 2002-06-16 <alstrup@diku.dk>
5071 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5072 Got rid of FORMS_H_LOCATION include. Now we are
5075 2002-06-15 LyX Development team <lyx@rilke>
5077 * buffer.[Ch] (sgmlOpenTag):
5078 (sgmlCloseTag): Added support for avoiding pernicious mixed
5079 content. Return number of lines written.
5082 (makeDocBookFile): Fixed calls to sgml*Tag.
5083 Simple white space clean.
5085 (simpleDocBookOnePar): Simple white space clean.
5087 * tabular.[Ch] (docBook): Renamed to docbook and got another
5088 argument to related with the pernicious mixed content.
5090 (docbookRow): Fixed calls for docbook inset method.
5092 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5094 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5095 so it's X11 independent.
5099 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5101 2002-06-15 Lyx Development team <lyx@electronia>
5103 * intl.h: Renamed getTrans to getTransManager.
5105 2002-06-14 Angus Leeming <leeming@lyx.org>
5107 * Makefile.am: nuke forgotten stl_string_fwd.h.
5109 2002-06-12 Angus Leeming <leeming@lyx.org>
5111 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5113 2002-06-13 Angus Leeming <leeming@lyx.org>
5116 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5118 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5120 * kbmap.C (getiso): add support for cyrillic and greek
5122 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5126 * BufferView_pimpl.h:
5127 * BufferView_pimpl.C: move bogus scrolling logic
5130 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5133 * BufferView_pimpl.C: view->resize() change
5135 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5137 * BufferView_pimpl.C: topCursorVisible
5140 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5144 * lyx_gui.C: move to frontends/
5148 * lyx_main.C: changes from above
5150 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5157 * lyx_main.C: minor tidy
5159 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5161 * BufferView_pimpl.h:
5162 * BufferView_pimpl.C:
5164 * BufferView.C: make painter() const,
5167 * BufferView2.C: use screen() accessor
5170 * lyx_main.C: some minor cleanup
5172 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5174 * BufferView_pimpl.h:
5175 * BufferView_pimpl.C: remove enter/leaveView,
5178 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5183 * BufferView_pimpl.h:
5184 * BufferView_pimpl.C: only construct screen once,
5187 * lyxrc.C: remove pointless comment
5189 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5192 * BufferView.C: remove active() and belowMouse()
5194 * BufferView_pimpl.h:
5195 * BufferView_pimpl.C: use workarea() not workarea_,
5196 and make it use a scoped_ptr instead
5198 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5200 * lyx_gui.C: add debug message on BadWindow
5202 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5204 * sp_spell.C: fdopen is not part of the C++ standard.
5206 * paragraph.C (InsetIterator): use >= instead of ==
5208 2002-06-07 Angus Leeming <leeming@lyx.org>
5210 Fixes needed to compile with Compaq cxx 6.5.
5211 * BufferView_pimpl.C:
5218 * lyxtextclasslist.C:
5223 all c-library variables have been moved into namespace std. Wrap
5224 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5229 Add a using std::abs declaration.
5231 * kbmap.h (modifier_pair):
5232 * paragraph.h (InsetTable, InsetList):
5233 * lyxfont.h (FontBits):
5234 type definition made public.
5236 * bufferlist.C (emergencyWriteAll): the compiler complains that
5237 there is more than one possible lyx::class_fun template to choose from.
5238 I re-named the void specialisation as lyx::void_class_fun.
5240 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5242 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5243 the compiler is is unable to find tostr in write_attribute.
5245 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5247 * buffer.C (sgmlError): hide #warning
5249 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5251 * xtl/*: get rid of xtl, which is not in use anyway
5253 * LyXAction.C (init):
5254 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5255 were unimplemented xtl experimentation
5257 2002-06-04 André Pönitz <poenitz@gmx.net>
5259 * lyxfunc.C: disable array operation on simple formulae
5261 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5263 * converter.C: constify a bit
5265 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5267 * lyx_gui.C: check xforms version correctly
5269 2002-04-30 Herbert Voss <voss@lyx.org>
5271 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5274 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5276 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5277 attempt to register it with a VCS)
5279 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5281 * lyx_main.C (init): honor variables LYX_DIR_13x and
5284 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5288 * lyx_main.C: fix a crash on bad command line,
5289 and give a useful exit status on error
5291 * lyxfunc.C (doImport): allow -i lyx to work
5293 2002-03-30 André Pönitz <poenitz@gmx.net>
5295 * lyxfunc.C: mathed font changes
5297 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5312 * trans_mgr.h: srcdocs, and some minor cleanups
5314 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5316 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5317 call getFont all the time)
5319 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5321 * switch from SigC signals to boost::signals
5323 2002-05-29 André Pönitz <poenitz@gmx.net>
5325 * paragraph_pimpl.C (getChar): don't call size() too often...
5327 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5329 * paragraph_pimpl.C (insertChar): do not try to update tables when
5330 appending (pos == size())
5332 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5333 in order to reduce drastically the number of comparisons needed to
5334 parse a large document
5336 2002-05-29 André Pönitz <poenitz@gmx.net>
5342 * textclasslist.[Ch]:
5343 * sp_ispell.h: whitespace change
5345 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5347 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5348 lyxaction directly now.
5350 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5354 * lyxvc.C: remove unused headers
5356 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5363 * undo_funcs.C: some cleanups. Use shared_ptr
5364 and a template for the undo stacks.
5366 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5368 * BufferView_pimpl.h:
5369 * BufferView_pimpl.C:
5376 * text2.C: use key_state/mouse_state
5378 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5380 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5383 * chset.C: change include order
5384 (loadFile): use boost regex and get rid of LRegex and LSubstring
5386 * Makefile.am (BOOST_LIBS): new variable
5389 * LaTeX.C: change include order.
5390 (scanAuxFile): use boost regex and get rid of LRegex and
5394 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5399 * FontInfo.C: moved to frontends/xforms/
5402 * FontLoader.C: moved into frontends for GUIIzation
5407 * lyxfunc.C: changes from above
5409 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5411 * LColor.C: remove spurious X include
5413 * BufferView_pimpl.C:
5418 * text2.C: move font metrics to frontends/
5420 2002-05-24 Juergen Vigna <jug@sad.it>
5422 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5423 setting the undo_cursor.
5425 * ParagraphParameters.h: include local includes first.
5427 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5429 * BufferView_pimpl.C:
5430 * BufferView_pimpl.h:
5434 * screen.C: move WorkArea into frontends/
5440 * BufferView2.C: move LyXScreen into frontends/
5444 * lyx_gui.C: move lyxlookup into frontends/xforms/
5446 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5449 * BufferView_pimpl.C:
5459 * bufferview_funcs.C:
5472 * vc-backend.C: move LyX/XFormsView into frontends/
5474 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5486 * text2.C: move Painter to frontends/
5488 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5490 * buffer.C: comment out some some code that depend upon lyx_format
5493 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5494 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5496 * buffer.h (NO_COMPABILITY): turn off compability
5498 * ColorHandler.C: include scoped_array.hpp
5500 * font.C: Use more specific smart_ptr header.
5503 * ShareContainer.h: ditto
5507 * BufferView_pimpl.h: ditto
5508 * ColorHandler.h: ditto
5510 * kbmap.C (defkey): change call to shared_ptr::reset
5512 2002-05-21 Juergen Vigna <jug@sad.it>
5514 * buffer.C (insertErtContents): fix to insert ert asis if it is
5515 non empty. Skip it completely if it contains only whitespaces.
5517 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5519 * BufferView_pimpl.C:
5520 * BufferView2.C: clear selection on paste (bug 393)
5522 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5524 * DepTable.C: include ctime
5526 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5528 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5530 2002-05-14 Juergen Vigna <jug@sad.it>
5532 * text.C (breakParagraph): fixed function to honor the keepempty
5533 layout in the right maner and also to permit the right breaking
5534 algorithm on empty or non empyt keepempty paragraphs.
5536 * paragraph.C (breakParagraph): we have to check also if the par
5537 is really empty (!size()) for isempty otherwise we do the wrong
5540 2002-05-10 Juergen Vigna <jug@sad.it>
5542 * buffer.[Ch] : The following are only changes to the ert
5543 compatibility read reading old LaTeX layout and font stuff and
5544 convert it to ERTInsets.
5546 * buffer.h: added isErtInset().
5548 * buffer.C (struct ErtComp): add a fromlayout bool to check
5549 if we're inside a LaTeX layout.
5550 (isErtInset): new helper function.
5551 (insertErtContents): look for other ert insets before this one
5552 and insert the contents there, so that we don't have subsequent
5553 ERT insets with nothing between them. This way we create only one
5554 inset with multiple paragraphs. Also check if we don't insert only
5555 spaces ' ' as they are ignored anyway afterwards in the .tex file
5556 so if we have only spaces we will ignore this latex part in the
5558 (parseSingleLyXformat2Token \\layout): better compatibility when
5559 reading layout-latex stuff.
5560 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5562 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5563 stuff after reading the inset only get the information back from
5566 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5568 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5570 * LaTeXFeatures.C (getBabelOptions): New method.
5572 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5574 * BufferView_pimpl.C (Dispatch): work around missing argument for
5577 2002-05-08 Juergen Vigna <jug@sad.it>
5579 * text.C (leftMargin): handle paragraph leftindent.
5581 * paragraph.C (writeFile): write the new \\leftindent tag.
5582 (validate): handle leftindent code.
5583 (TeXEnvironment): handle paragraphleftindent code again.
5585 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5587 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5588 for paragrap_extra indent code and new token \\leftindent.
5589 (latexParagraphs): handle the leftindent as environment.
5591 * ParameterStruct.h: added leftindent support.
5593 * ParagraphParameters.C (leftIndent): added support functions for
5594 the paragraph left indent.
5596 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5599 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5601 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5604 * text.C (computeBidiTables): No bidi in insetERT.
5606 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5609 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5611 * version.C.in: pre 5
5613 2002-05-02 José Matos <jamatos@fep.up.pt>
5614 * buffer.C (makeDocBookFile): white space changes, add newline to
5616 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5618 * tabular.C (docBook): fix typo.
5620 2002-05-03 Juergen Vigna <jug@sad.it>
5622 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5623 change in LyXText as we can not be sure it was not freed.
5624 (drawOneRow): remove unused code.
5626 * text.C (drawInset): redo the calculation of the need_break_row as
5627 it could have a row which was already freed.
5628 (draw): look at the return value of drawInset and return false if
5629 it also returned false.
5630 (paintRowText): look at the return value of draw and return false if
5631 it also returned false.
5633 * lyxtext.h: added bool return type to drawInset() and draw() so that
5634 if we have a change in the row so that the rowbreak has to be redone
5635 we abort drawing as it will be called again.
5637 2002-05-02 Juergen Vigna <jug@sad.it>
5639 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5640 a change in the maintext also if we're inside an inset.
5641 (Dispatch): set the cursor again after a break line and after the
5642 screen has been updated as it could be we're in a different row.
5644 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5645 to set the cursor behind the pargraph with > size().
5646 (setCursor): check also for the same paragraph when checking where
5647 to put the cursor if we have a NFR inset.
5649 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5650 parts of layout read further up as it still was in the wrong
5653 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5655 * screen.C (drawFromTo): change sine fullRebreak always return
5658 * buffer.C (parseSingleLyXformat2Token): reindent some
5660 * BufferView_pimpl.C (update): change since fullRebreak always
5662 (Dispatch): git rid of the last hardcoded "Standard"s.
5664 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5666 * text2.[Ch] (fullRebreak): make it return void now that we always
5669 2002-04-30 Juergen Vigna <jug@sad.it>
5671 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5672 ert compatibility check for "latex" layout.
5674 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5676 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5677 minipages: use col% instead of p%, and also use the current font.
5678 (makeLaTeXFile): Fix use babel condition.
5679 (parseSingleLyXformat2Token): Correct font when reading old floats.
5681 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5683 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5684 inserting list of floats.
5686 2002-04-25 Herbert Voss <voss@lyx.org>
5688 * MenuBackend.C (expand): don't add the graphics extensions to the
5691 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5693 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5694 non-existing layout, do not complain if it was the default layout
5695 of the original class (bug #342)
5697 2002-04-24 Juergen Vigna <jug@sad.it>
5699 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5700 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5702 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5704 * buffer.C (getBibkeyList): If using \bibliography, return the
5705 option field with the reference itself. Enables us to provide natbib
5706 support when using \bibliography.
5708 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5710 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5712 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5713 natbib is provided by the LaTeX class.
5715 2002-04-23 Juergen Vigna <jug@sad.it>
5717 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5720 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5722 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5724 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5726 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5727 ensuremath around textordmasculine, textordfeminine and
5730 2002-04-19 Juergen Vigna <jug@sad.it>
5732 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5733 reinitializing the buffer otherwise row-dimensions may be wrong.
5734 (update): reset also the selection cursors if they do exits otherwise
5735 their x/y positions may be wrong.
5737 * text2.C (cursorDown): don't enter the inset if we came from a row
5738 above and are one row over the inset.
5740 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5741 really leaving an inset.
5743 2002-04-18 Juergen Vigna <jug@sad.it>
5745 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5746 of the selected paragraph does not have the selected layout also if
5749 * text2.C (setLayout): fixed bug which did not change last selected
5752 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5753 changed the read and substituted \\end_float with \\end_inset!
5755 * BufferView_pimpl.C (cursorPrevious):
5756 (cursorNext): fixed to make it work with rows heigher than the work
5757 area without moving the cursor only the draw of the row.
5758 (workAreaMotionNotify): fix jumping over high rows.
5760 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5762 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5765 2002-04-16 Juergen Vigna <jug@sad.it>
5767 * text2.C (setCursor): set also the irow().
5768 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5770 (cursorDown): support for locking an inset if the x_fix value goes
5771 inside it. That way I can transverse insets too with cursor up/down.
5773 * lyxrow.h: added irow helper function same as other (i) functions.
5775 * BufferView_pimpl.C (cursorPrevious):
5776 (cursorNext): fixed for insets!
5778 2002-04-15 Juergen Vigna <jug@sad.it>
5780 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5781 position otherwise it is wrong in some cases.
5783 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5784 inside the inset before the call.
5786 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5788 * buffer.[Ch] (getBibkeyList): make it const.
5790 2002-04-12 Juergen Vigna <jug@sad.it>
5792 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5794 * text2.C (getCursorX): new helper function
5795 (setCursor): compute also ix_
5796 (setCursorFromCoordinates): set also ix.
5798 * lyxcursor.h: added ix_ and helper functions.
5800 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5802 * buffer.C (insertStringAsLines): dont break paragraph if the this
5803 paragraph is inside an inset which does not permit it!
5805 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5806 also with no chars on this paragraph.
5807 (paintRowText): only paint stuff if it's inside the workarea!
5809 * paragraph.C (breakParagraph): honor keepempty flag and break the
5810 paragraph always below not above.
5812 * BufferView2.C (unlockInset): update the paragraph layout on inset
5813 unlock as we changed paragraph in such a case.
5815 * lyxfind.C (LyXFind): clear the former selection if not found!
5817 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5818 again called in insertChar().
5820 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5821 an inset which uses the whole row!
5822 (rightMargin): ditto.
5823 (insertChar): force a rebreak if we inserted an inset!
5825 2002-03-28 Herbert Voss <voss@lyx.org>
5827 * lyxlength.[Ch]: add inBP() to get the right PS-point
5828 units (BigPoint). With inPixels we have rounding errors
5830 2002-04-11 Juergen Vigna <jug@sad.it>
5832 * text2.C (setCursorFromCoordinates): set iy to the right value.
5833 (setCursor): add check if row->previous exists!
5835 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5836 an old float_type as this was the case in the old code!
5838 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5840 * BufferView2.C (showLockedInsetCursor): use iy
5841 (fitLockedInsetCursor): ditto
5843 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5844 locked insets as there we have the right value now.
5846 * lyxcursor.C: added iy_ variable and iy functions to set to the
5847 baseline of cursor-y of the locked inset.
5849 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5850 (setCursor): fixed for insets which need a full row.
5852 * text.C (rowLastPrintable): don't ignore the last space when before
5853 an inset which needs a full row.
5854 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5855 as last character of a row when before a inset which needs a full row.
5857 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5859 * version.C.in: update date
5861 * text2.C (fullRebreak): try to always return true and see what
5864 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5866 * MenuBackend.C (expand): use Floating::listName
5868 * FloatList.C (FloatList): add listName argument to the built-in
5871 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5872 text associated with the float.
5874 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5876 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5878 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5880 * ShareContainer.h: add a couple of missing typenames.
5882 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5884 * lyxrc.C (getDescription): use _() correctly rather than N_().
5886 2002-03-28 Herbert Voss <voss@lyx.org>
5888 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5889 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5891 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5893 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5894 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5896 2002-03-29 Juergen Vigna <jug@sad.it>
5898 * lyxfunc.C (dispatch): add a missing fitCursor call.
5900 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5901 it was scrolled by a cursor move, so return the bool status.
5903 * BufferView.C (fitCursor): return the bool flag also to the outside
5904 world as this is needed.
5906 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5908 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5909 call the edit() as it is not needed (and wrong) IMO.
5910 (workAreaButtonPress): set the screen_first variable before evt.
5911 unlock the inset as this may change screen_first and then we have
5912 a wrong y position for the click!
5914 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5916 * MenuBackend.C (expand): another translation that I missed
5918 2002-03-28 Juergen Vigna <jug@sad.it>
5920 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5922 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5924 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5926 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5928 * MenuBackend.C (expand): fix export/view/update when there is no
5931 2002-03-27 Herbert Voss <voss@lyx.org>
5933 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5936 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5938 * bufferview_funcs.C (currentState): only show paragraph number
5939 for is DEVEL_VERSION is set.
5941 * lyxfunc.C (dispatch): put warning in INFO channel
5943 * MenuBackend.C (expand): translate the name of floats
5945 * FloatList.C (FloatList): mark the float names for translation
5947 * converter.C (convert): use LibScriptSearch
5949 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5951 * MenuBackend.C (defaults): fix default menu (we might as well get
5954 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5956 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5959 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5961 * lyxvc.C: reorder includes.
5963 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5965 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5968 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5970 * CutAndPaste.C: change layouts earlier on paste
5971 to avoid crashing when calling getFont()
5973 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5975 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5978 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5980 * WorkArea.C: remove 'Pending' debug message.
5982 * most files: ws cleanup
5984 * buffer.[Ch]: ws changes
5986 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5988 2002-03-21 Juergen Vigna <jug@sad.it>
5990 * tabular.C (SetMultiColumn): collapse also the contents of the
5991 cells and set the last border right. Added a Buffer const * param.
5993 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5995 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5998 2002-03-19 Juergen Vigna <jug@sad.it>
6000 * text2.C (clearSelection): reset also xsel_cache.
6002 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6003 where it needs to be called (John tells us to do so too :)
6004 (selectionLost): reset sel_cache.
6006 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6008 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6010 * text2.C (setCursorIntern): put debuging code in INSETS channel
6012 2002-03-19 André Pönitz <poenitz@gmx.net>
6014 * lyxfunc.C: tiny whitespace change
6016 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6018 * ToolbarDefaults.C (init):
6019 * LyXAction.C (init):
6021 * BufferView_pimpl.C (Dispatch):
6022 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6024 2002-03-19 Allan Rae <rae@lyx.org>
6026 * exporter.C (Export): removeAutoInsets before doing anything else.
6027 While I've just introduced a dependency on BufferView this really is
6028 the best place to clean the buffer otherwise you need to cleanup in
6029 a dozen places before calling export or cleanup in a dozen functions
6032 * converter.C (runLaTeX):
6033 (scanLog): Better handling of removeAutoInsets and screen updates.
6035 * lyxfunc.C (dispatch): small whitespace changes
6037 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6039 * WorkArea.C (C_WorkAreaEvent): return a value.
6040 (event_cb): return 1 if we handled the event, 0 otherwise.
6042 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6044 2002-03-18 Juergen Vigna <jug@sad.it>
6046 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6047 (GetAdditionalWidth): ditto.
6051 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6052 inset if we're there actually (probably not used right now but this
6053 is the direction to go for unifying code).
6054 (paste): disable code to clear the selection.
6056 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6057 inside an InsetText and move the check further up as it is in the
6060 * text2.C (pasteSelection): set a selection over the pasted text.
6062 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6064 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6065 and libgraphics to build on Cygwin.
6067 2002-03-15 Juergen Vigna <jug@sad.it>
6069 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6070 inserting an Inset into the paragraph. I know this is not the best
6071 fix but we already use current_view in CutAndPaste so we will remove
6072 all of it's using at the same time.
6074 * buffer.C (sgmlError): deactivated function till it is rewritten in
6075 the right mode, now it can create problems.
6077 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6078 before accessing it.
6080 2002-03-14 Juergen Vigna <jug@sad.it>
6082 * undo_funcs.C (textHandleUndo): do the right thing when updating
6083 the inset after the undo/redo.
6085 * text2.C (setCursor): just some testcode for #44 not ready yet.
6087 * undo_funcs.C (textHandleUndo): set the next() and previous()
6088 pointers of the paragraph to 0 before deleting otherwise we have
6089 problems with the Paragraph::[destructor].
6091 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6092 on a paragraph insertion.
6094 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6096 * buffer.C (asciiParagraph): use += operator for char append to
6099 * paragraph.C (getFontSettings): compare >= not just >
6100 (highestFontInRange): ditto
6103 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6105 * paragraph.C: change several algorithm to be more appripriate for
6106 the problem domain. This is lookip in FontList and in the InsetList.
6108 2002-03-13 André Pönitz <poenitz@gmx.net>
6111 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6113 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6118 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6120 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6122 * Painter.C (display): anon helper function, adjust code for this
6124 (pixmap): remove function.
6126 * Painter.h: remove private display variable.
6128 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6130 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6132 * WorkArea.[Ch]: remove figinset_canvas cruft.
6134 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6136 * lyxtextclass.C (operator): add one item cache optimization.
6138 * bufferlist.h: doxy changes
6140 * bufferlist.C: ws changes
6142 * DepTable.[Ch] (ext_exist): place const in the right spot.
6144 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6146 (workAreaExpose): call resizeInsets when the with BufferView changes.
6147 (Dispatch): adjust for protectedBlank removal
6148 (specialChar): call updateInset if the insert went ok.
6150 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6151 specialChar instead.
6153 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6155 * BufferView.h: doxy change
6157 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6159 * lyxtextclass.C (operator[]): remove non-const version
6160 (defaultLayout): remove non-const version
6162 2002-03-12 Juergen Vigna <jug@sad.it>
6164 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6165 did resize the LyXText too.
6167 * buffer.C (readLyXformat2): set layout information on newly allocated
6170 * tabular.C (OldFormatRead): set layout information on the paragraph.
6172 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6174 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6176 2002-03-11 Juergen Vigna <jug@sad.it>
6178 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6180 (resizeCurrentBuffer): force also the insets to resize themselfes.
6181 (moveCursorUpdate): fixed up for InsetText.
6183 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6186 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6187 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6188 value of Dialogs::tooltipsEnabled().
6189 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6191 2002-03-08 Juergen Vigna <jug@sad.it>
6193 * BufferView_pimpl.C (updateInset): update inset inside inset also
6194 if it isn't inside theLockingInset().
6196 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6198 * buffer.C (asciiParagraph): redo some of the word and line length
6200 (getLists): look for Caption instead of caption.
6202 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6204 * buffer.C (Buffer): initialize niceFile to true
6207 (makeDocBookFile): make sure niceFile is true on exit
6209 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6211 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6213 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6215 * LyXSendto.C: remove.
6216 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6217 * lyx_gui.C: remove now-redundant comment.
6218 * ColorHandler.h: remove forward declaration of class WorkArea.
6219 * lyxfunc.C: remove #include "WorkArea.h".
6221 2002-03-07 Juergen Vigna <jug@sad.it>
6223 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6224 got moved away with the DEPM and also set the inset_owner always
6225 right which before could have been omitted.
6227 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6229 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6230 wanted layout is not found.
6232 2002-03-07 Juergen Vigna <jug@sad.it>
6234 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6236 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6238 * paragraph.C (breakParagraph): use default layout not layout of
6240 (Paragraph): clear ParagraphParameters.
6242 2002-03-06 Juergen Vigna <jug@sad.it>
6244 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6245 otherwise it would not be a valid lenght. Fixed a special case in
6246 the minipage compatibility read where we end the document with a
6249 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6250 was set as it could be 0 for InsetTexts first entry.
6252 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6254 * paragraph.C (writeFile): if layout is empty write out
6255 defaultLayoutName().
6257 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6258 file without named layout we set layout to defaultLayoutName().
6260 2002-03-06 Juergen Vigna <jug@sad.it>
6262 * CutAndPaste.C (copySelection): set layout for new paragraph.
6264 * text.C (prepareToPrint): leave ERT inset left aligned
6265 (leftMargin): don't indent paragraphs inside ERT insets
6267 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6269 * paragraph.C (breakParagraph): dont call clear do the work manually
6271 * paragraph.[Ch] (clear): remove function
6273 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6275 * paragraph.C (Paragraph): dont call clear, the work has already
6278 * lyxtextclass.C (operator): assert if n is empty
6280 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6281 work manually instead.
6283 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6285 * BufferView_pimpl.C: protect selectionLost against text == 0
6287 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6289 * text.C (breakParagraph): fix a setting layout to '0' problem.
6291 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6293 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6294 final location of file, for the included files, and graphics.
6296 2002-03-05 Juergen Vigna <jug@sad.it>
6298 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6300 2002-03-04 Juergen Vigna <jug@sad.it>
6302 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6304 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6305 last column of multicolumn cells.
6306 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6308 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6310 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6311 file if it doesn't go to a temporary file.
6313 * buffer.C (sgmlOpenTag):
6314 (sgmlCloseTag): remove extra newline insertion.
6316 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6318 * text.C (getRowNearY): comment out debug msg
6320 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6322 * text2.C: first -> first_y
6324 * text.C (getRowNearY): add some attemts at a possible
6325 optimization, not working.
6327 * tabular.[Ch]: add BufferParams to several function so that newly
6328 created paragraph can be initialized to he default layotu for the
6331 * tabular-old.C (ReadOld): add buf->params to call of Init
6333 * screen.C: rename text->first to text->first_y
6335 * paragraph.C (breakParagraph): always set layout in the broken
6338 * lyxtextclass.C (Read): remove lowercase
6341 (delete_layout): ditto
6343 * lyxtext.h: rename first -> first_y
6345 * lyxlayout.C (Read): remove lowercase
6348 (obsoleted_by): ditto
6350 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6352 * buffer.C (insertErtContents): add params are to InsetERT
6353 (parseSingleLyXformat2Token): add code to check if a paragraphs
6354 layout really exist.
6355 (parseSingleLyXformat2Token): add params to several inset
6357 (asciiParagraph): remove lowercase, do the layout comparisons with
6360 * BufferView_pimpl.C (cursorNext): first -> first_y
6361 (resizeCurrentBuffer): first -> first_y
6362 (updateScrollbar): first -> first_y
6363 (scrollCB): first -> first_y
6364 (workAreaMotionNotify): first -> first_y
6365 (workAreaButtonPress): first -> first_y
6366 (checkInsetHit): first -> first_y
6367 (cursorPrevious): first -> first_y
6368 (cursorNext): first -> first_y
6369 (Dispatch): add buffer_->params to severl inset contructors
6371 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6373 * lyxlayout.C (Read): remove some debug info that I forgot.
6375 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6376 clean up the code slightly.
6377 (makeLinuxDocFile): ditto
6378 (makeDocBookFile): ditto
6380 * text2.C: layout as string
6382 * text.C: layout as string
6384 * paragraph_pimpl.C: layout as string
6386 * paragraph.[Ch]: layout as string
6388 * lyxtextclasslist.[Ch]: layout as string
6390 * lyxtextclass.[Ch]: layout as string
6392 * lyxtext.h: layout as string
6394 * lyxlayout.[Ch]: layout as string
6396 * lyx_cb.C: layout as string
6398 * bufferview_funcs.C: layout as string
6400 * bufferparams.C: layout as string
6402 * buffer.C: layout as string
6404 * LyXView.[Ch]: layout as string
6406 * LaTeXFeatures.[Ch]: layout as string
6408 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6410 * BufferView_pimpl.C: change current_layout to string, remove
6415 (workAreaButtonRelease): layout as string
6417 * BufferView2.C (unlockInset): adjust
6419 * vspace.C (asLatexCommand): use an explict temp variable.
6421 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6423 * Makefile.am: use FRONTEND_*
6425 2002-03-01 Juergen Vigna <jug@sad.it>
6427 * tabular.C (SetWidthOfMulticolCell): changed to something better
6428 I hope but still work in progress.
6429 (recalculateMulticolumnsOfColumn): renamed function from
6430 recalculateMulticolCells as it is more appropriate now.
6431 (SetWidthOfCell): calculate multicols better.
6433 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6435 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6437 * lyxfunc.C (processKeySym): print sequence also if it is
6438 `deleted' (complete)
6440 * kbsequence.C (print): print sequence even if it is deleted
6441 (complete would be a better word, actually).
6443 * lyxfunc.C (dispatch): print complete options after a prefix key
6445 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6447 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6449 * text2.C (setCharFont): eliminate setCharFont code duplication.
6451 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6453 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6454 LFUN_TABULAR_FEATURE (bug #177)
6456 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6458 * Makefile.am: remove figure.h
6460 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6462 * Bufferview_pimpl.C:
6474 * text2.C: remove #include "lyx_gui_misc.h".
6476 * LaTeX.C: added #include <cstdio>
6478 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6480 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6481 that the paragraph following this one can have.
6483 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6485 * vspace.C (asLatexCommand): fix bogus gcc warning
6487 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6489 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6491 * text2.C (setLayout): get rid of redundant code
6493 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6495 * text2.C (incDepth): make sure depth cannot be increased beyond
6498 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6500 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6501 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6503 * PainterBase.h (image):
6504 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6507 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6511 * BufferView_pimpl.C:
6512 * BufferView_pimpl.h:
6532 * sp_spell.C: remove fig inset, and the crap house of
6533 cards that follows it
6535 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6541 * nt_defines.h: move .h into support/
6543 * vms_defines.h: remove
6545 * WorkArea.C: add space in debug output
6549 * buffer.C: add WITH_WARNINGS
6553 * bufferlist.C: s/retrive/retrieve/, add docs
6564 * lyxgui.C: add ID to X error handler
6566 * lyxtestclass.c: fix typo
6568 2002-02-26 Juergen Vigna <jug@sad.it>
6570 * tabular_funcs.C (write_attribute): changed so that some default
6571 attributes are not written at all.
6572 (getTokenValue): set default values before trying to read the
6573 value so we have the return value always set as default if we don't
6574 find the token we search for.
6576 * tabular.C (Write): write bools as bools not as strings!
6578 2002-02-22 Juergen Vigna <jug@sad.it>
6580 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6581 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6583 * text.C (leftMargin): don't add an indent for paragraphs inside
6584 tabular cells (fix #208).
6586 2002-02-21 José Matos <jamatos@fep.up.pt>
6588 * tabular.C (docBook): fixed support for long tables.
6590 2002-02-20 Juergen Vigna <jug@sad.it>
6592 * text2.C (getFont): get the drawing font of the Inset if this
6593 paragraph is inside an inset (only important for InsetERT for now).
6595 * buffer.C (insertErtContents): use new lanugage params in ERT
6598 * CutAndPaste.C: commenting out seemingly uneeded code.
6600 2002-02-19 Allan Rae <rae@lyx.org>
6602 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6603 Iterators might be simple to use but they also get invalidated.
6604 (removeAutoInsets): renamed saved cursor tracking variables and added
6605 some comments to clarify what everything does.
6607 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6614 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6615 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6618 * vc-backend.h: remove #include "support/syscall.h"
6622 * converter.C: rearrange #includes in Lars' approved fashion.
6624 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6625 forward declare class Timeout in the header file.
6627 * XFormsView.C: changes due to the above.
6629 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6632 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6633 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6635 2002-02-18 José Matos <jamatos@fep.up.pt>
6637 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6640 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6642 * a lot of small ws changes
6643 * add a lot of using std::XXX
6644 * use std construcs some places where approp.
6645 * use some exisint stuff from lyxfunctional where approp.
6646 * Make file changes to use partial linking (lets test this now...)
6648 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6652 remove #include "support/syscontr.h" as it's redundant. Always has been.
6660 change Systemcalls::System to Systemcalls::Wait and
6661 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6662 No change of functionality, just reflects the stripped down Systemcalls
6665 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6667 * debug.[Ch]: add a GRAPHICS type to the enum.
6669 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6671 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6673 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6676 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6678 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6679 match the changes below.
6681 * text2.C (toggleInset): if there is not editable inset at cursor
6682 position, try to see if cursor is _inside_ a collapsable inset
6685 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6687 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6688 document menu has a nice checkbox
6690 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6692 * lyxlength.C (asLatexString): change PW to output as percent of
6695 * lengthcommon.C: change '%' to 't%'
6697 * lyxfunc.C (dispatch): a few comments from Martin
6699 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6703 * BufferView_pimpl.h:
6704 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6707 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6709 * vspace.C (inPixels): fix compiler warning
6711 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6713 * lyxfunc.C (getStatus): fix status message for disabled commands.
6715 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6717 * BufferView_pimpl.C: fix crash on close buffer
6718 during selection (#227)
6720 2002-01-27 Herbert Voss <voss@lyx.org>
6722 * buffer.C: link old Figure to new graphic inset
6724 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6726 * FontLoader.C (getFontinfo): Change the latex font names in order
6727 to match the names of type1inst.
6729 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6731 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6733 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6736 (remove_files_with_extension): ditto
6737 (remove_file): ditto
6740 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6741 document is smaller than the work area height. Do not initialize
6742 static variables to 0.
6744 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6746 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6748 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6749 LFUN_LAYOUT_PARAGRAPHS.
6751 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6752 tabular. It is possible to provide a possible cell, which will
6753 typically be the actcell from the corresponding insettabular
6755 * lyxfunc.C (getStatus): small cleanup; disable
6756 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6759 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6761 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6763 * paragraph.C (startTeXParParams):
6764 (endTeXParParams): new methods. The LaTeX code to
6765 start/end paragraph formatting
6766 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6767 empty (fixes bug #200)
6769 * vspace.C (inPixels): adapt to the change below
6770 (inPixels): [later] more cleanups (remove unused variables)
6772 * lyxlength.C (inPixels): change to use a width and a height as
6775 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6777 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6778 Replaced with \paperwidth
6780 * DepTable.C (insert): add std:: qualifier
6782 2002-01-18 Allan Rae <rae@lyx.org>
6784 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6787 * text.C (drawInset): Turned out I didn't know enough about how
6788 rebreaking worked. This fixes most of the redraw problems. I see
6789 an occasional cursor trail when a line is broken now and the cursor
6790 placement can seem out by a few pixels also after a rebreak.
6792 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6794 * buffer.C (parseSingleLyXformat2Token): update because minipage
6795 width is now a LyXLength
6797 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6799 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6802 2002-01-17 Juergen Vigna <jug@sad.it>
6804 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6806 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6807 is set correctly and the inset is updated correctly.
6809 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6811 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6812 the beginning of the loop.
6814 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6816 * lyxrc.C: improve help for use_scalable_fonts
6818 2002-01-17 Allan Rae <rae@lyx.org>
6820 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6822 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6824 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6825 make sure to set their inset_owner to the right value (bug #171)
6827 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6830 * DepTable.C: Implement mtime checking to reduce time spent doing
6833 2002-01-16 Juergen Vigna <jug@sad.it>
6835 * tabular.C (GetAdditionalHeight): one of error fixed.
6837 * lyxrc.C (output): small fix in writing use_pspell.
6839 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6841 * sp_base.h: #include LString.h
6843 2002-01-16 Allan Rae <rae@lyx.org>
6845 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6846 Can someone check this please?
6848 * text.C (drawInset): It was possible that p.row would be removed by
6849 breakAgainOneRow upsetting a few other settings. There may be another
6850 small tweak possible by setting need_break_row = 0 when p.row has been
6851 removed but I don't know enough about the logic here.
6853 2002-01-15 Allan Rae <rae@lyx.org>
6855 * text.C (insertChar): removed conditional truism.
6857 * BufferView2.C (removeAutoInsets): More tweaks.
6858 cur_par_prev could be a stray pointer. Check for trailing empty line
6859 in case last line was cur_par and only had an error inset on it.
6861 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6863 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6866 * vc-backend.C (most methods):
6867 * exporter.C (Export):
6868 * converter.C (convert):
6870 * LyXSendto.C (SendtoApplyCB):
6871 * lyxfunc.C (dispatch):
6875 * lyx_cb.C (AutoSave):
6877 * BufferView_pimpl.C (MenuInsertLyXFile):
6878 * buffer.C (runChktex): use Buffer::filePath().
6880 * buffer.h: rename filename to filename_; rename filepath to
6881 filepath_ and make it private
6882 (filePath): new method
6884 * buffer.C (writeFile): use fileName()
6887 * lyx_main.C (init): fix starting of LyX when the binary is a
6888 link from so,ewhere else.
6890 * minibuffer.C: include <cctype> for isprint
6892 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6894 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6895 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6896 name clash with InsetCollapsable's width function.
6898 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6900 * lastfiles.C: include <iterator>
6902 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6904 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6907 * buffer.C (makeLaTeXFile): ditto.
6908 Also make loop operation more transparent.
6910 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6912 * ToolbarDefaults.C: remove trailing comma closing namespace.
6914 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6916 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6919 * trans.C (Load): comment out unused variable, allowed.
6921 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6923 * minibuffer.[Ch] (append_char): new method to recieve input from the
6924 drop-down completion browser. If a key was pressed, then recieve this
6925 char and append it to the existing string.
6926 (peek_event): modify the positioning data passed to the completion
6927 browser so that it can be placed above the minibuffer rather than below.
6928 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6930 * LyXAction.C (init): alloe error-next for readonly documents.
6932 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6935 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6937 * bufferlist.C (readFile): create the buffer _after_ checking that
6940 * lyxfunc.C (verboseDispatch): fix handling of arguments
6942 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6944 * lyxrc.C: use string::erase() instead of initializing to "".
6947 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6949 * BufferView_pimpl.h:
6950 * BufferView_pimpl.C:
6953 * text2.C: tell X when we have made a selection for copying
6955 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6957 * BufferView_pimpl.C (MenuInsertLyXFile):
6958 * lyxfunc.C (menuNew):
6960 (doImport): add shortcuts to directory buttons
6962 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6965 * lyxfunc.C (setStatusMessage):
6966 (getStatusMessage): new methods
6967 (getStatus):use setStatusMessage instead of setErrorMessage
6968 (dispatch): when function is disabled, set error message here
6969 [instead of in getStatus previously]
6971 * BufferView_pimpl.C (workAreaButtonRelease): update
6972 toolbar/menubar here too.
6974 2002-01-13 Allan Rae <rae@lyx.org>
6976 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6977 Now seems indestructible. Remaining task is to audit all other
6978 code affected by deleteEmptyParagraphMechanism. One small quirk
6979 left is that an empty document with an error in the preamble can
6980 be made to report an error but no error box appears. I don't know
6982 (removeAutoInsets): Improved comments.
6984 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6987 * Thesaurus.C: update for Aiksaurus 0.14
6989 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6991 * text2.C (firstParagraph): removed member function, all uses
6992 replaces with ownerParagraph
6993 (redoParagraphs): here
6995 (toggleAppendix): here
6996 * BufferView2.C (insertErrors): here
6997 (setCursorFromRow): here
6999 2002-01-13 Allan Rae <rae@lyx.org>
7001 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7002 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7003 There is still a way to segfault this although you may have to do this
7004 multiple times: Have an InsetERT with an unknown command in it.
7005 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7006 <down-arrow>, <Enter> again, View->DVI, BANG!
7008 * text2.C (setCursor):
7009 (deleteEmptyParagraphMechanism):
7010 * lyxtext.h (setCursor):
7011 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7012 Making use of the return value may help fix other bugs.
7014 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7016 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7018 * LyXView.C (updateMenubar): call MenuBar::update here
7019 (updateToolbar): but not here
7020 (showState): do not update toolbar/menubar
7022 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7023 should need to care about that.
7025 * lyxfunc.C (verboseDispatch): simplify a bit
7026 (getStatus): have a version which takes a pseudoaction, and
7027 another which requires a (kb_action,string).
7029 * LyXAction.C (retrieveActionArg): make it work also when action
7030 is not a pseudo-action.
7031 (getActionName): simplify a bit
7034 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7036 * lyxfunc.C (verboseDispatch): new families of methods with
7037 several ways to specify a command and a bool to indicate whether
7038 the command name and shortcut should be displayed in minibuffer
7039 (eventually, we could extend that to a finer bitmask like
7040 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7041 (dispatch): the pristine dispatch command which just, well,
7042 dispatchs! Note it still sets its result to minibuffer; I'm not
7045 * lyxfunc.h: remove setHintMessage
7047 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7049 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7051 * BufferView_pimpl.C (specialChar): delete new inset if we have
7052 not been able to insert it.
7054 * kbmap.C: revert to using int instead of kb_action, since all we
7055 are dealing with is pseudo-actions.
7057 * LyXAction.C (searchActionArg): change to return int instead of
7058 kb_action, since the result is a pseudoaction.
7060 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7062 * buffer.C (insertErtContents): Fix (partially) the font bug.
7064 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7066 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7067 as the other one is broken on my machine!
7069 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7072 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7074 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7076 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7077 reflect their actual use. Provide compatibility code for older lyxrc
7080 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7082 change names of popup font variables in line with the changes to lyxrc.C
7084 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7086 * buffer.C (asciiParagraph): avoid outputing a word twice after
7089 * lyxrc.C (getDescription): document that document_path and
7090 template_path can be empty.
7092 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7094 * LaTeXFeatures.C (getMacros):
7095 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7097 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7099 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7101 (getPackages): rename feature "floats" to "float". Use an array to
7102 iterate over 'simple' features (i.e. just a \usepackage). Add
7103 handling of "amsmath" (renamed from "amsstyle").
7105 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7107 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7110 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7112 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7113 FuncStaus::FuncStatus & FuncStaus::some_method().
7115 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7117 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7118 of the func_satus stuff. Edited and massaged in various ways by
7121 * lyxfunc.C (getStatus): use FuncStatus
7123 2002-01-08 Juergen Vigna <jug@sad.it>
7125 * text.C (nextBreakPoint): use function Inset::isChar().
7127 * paragraph.C (TeXOnePar): use function
7128 Inset::forceDefaultParagraphs.
7130 * buffer.C (latexParagraphs): use function
7131 Inset::forceDefaultParagraphs.
7133 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7135 * lyx_gui.C (init): set the style of the menu popups to
7136 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7138 2002-01-07 Juergen Vigna <jug@sad.it>
7140 * text.C (setHeightOfRow): small fix
7141 (prepareToPrint): don't look at alignment if we don't have the place
7144 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7146 * box.C: New file. Move the Box methods and functions out of box.h,
7147 following Lars' suggestion.
7149 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7151 * box.h: #include "support/LOstream.h", needed for inlined function.
7154 * lyxtextclasslist.C: added some using std declarations.
7156 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7158 * box.h: make signed dimensions to allow insets wider than
7159 the screen (bug #162)
7161 * BufferView_pimpl.C: add some insetHit debug
7163 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7165 * vc-backend.C: add FIXME
7167 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7169 * lyxfunc.C (getStatus): enable code for showing math font status
7172 2002-01-07 Juergen Vigna <jug@sad.it>
7174 * text.C (nextBreakPoint): removed debug output not needed anymore.
7176 2002-01-06 Juergen Vigna <jug@sad.it>
7178 * text.C (nextBreakPoint): fixed up this function we had this bug
7179 since ever but now hopefully we break row better.
7180 (insertChar): we have to check if an inset is the next char as it
7181 could now happen that a large inset is causing a break.
7183 2002-01-05 Juergen Vigna <jug@sad.it>
7185 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7186 if it doesn't like to be drawed.
7188 2002-01-04 Juergen Vigna <jug@sad.it>
7190 * BufferView2.C (lockInset): forgot to set a cursor.
7192 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7194 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7199 * form_maths_panel.C:
7200 * form_maths_panel.h:
7201 * form_maths_panel.fd: implemented sub- and super- buttons in math
7204 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7205 (or ^ space) to be used as in TeX (req'd by André).
7207 * lyxfunc.C: Allow ^ and _ again to be used both as
7208 super/subscript (mathed) and as themselves (in text).
7210 2002-01-03 Allan Rae <rae@lyx.org>
7212 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7213 "LyX" or the filename of the current buffer if it has one. This is a
7214 modified form of John Levon's patch.
7216 * XFormsView.C (setWindowTitle): also set icon title.
7218 * LyXView.h (setWindowTitle): signature changed.
7219 * XFormsView.h (setWindowTitle): ditto.
7221 2002-01-02 Juergen Vigna <jug@sad.it>
7223 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7225 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7227 * screen.C (topCursorVisible): introduce a temp var for
7228 text->cursor.row(), handle the case where this row is null. (kindo
7231 * text2.C (setCursor): add a couple of asserts.
7233 * paragraph.h (inset_iterator): add -> operator
7235 * paragraph.[Ch] (autoDeleteInsets): remove member function
7237 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7238 cursor pos correctly and handle inset deletion by itself.
7239 (insertErrors): move iterator declaration out of for expression
7241 * lyxtextclass.C: add <algorithm>
7243 * Makefile.am: added the new files to sources, removed layout.C
7245 * layout.C: removed file
7247 * layout.h: remove LYX_DUMMY_LAYOUT
7249 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7253 * lyxtextclass.[Ch]:
7254 * lyxtextclasslist.[Ch]: new files
7256 * include order changes to a lot of files, also changes because of
7259 2001-12-27 Juergen Vigna <jug@sad.it>
7261 * buffer.C (asciiParagraph): more fixes.
7263 * tabular.C (ascii): make ascii export support export of only the
7264 data separated by a column-delimiter.
7265 (ascii): better support for ascii export.
7267 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7269 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7271 * tabular_funcs.C: use a "using std::getline" instead of the
7272 previous fix from Angus (necessary for cxx + lyxstring)
7274 2001-12-24 Juergen Vigna <jug@sad.it>
7276 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7278 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7279 problems. First check a minipage also if we have some ert-contents
7280 (not only on par->size(), second set the right depth of the paragraph
7281 on the relink to the root-paragraph-list!
7283 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7284 which then did not anymore update the main paragraphs on undo/redo!
7286 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7288 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7289 code. Support all font-changing funcs (even those which are not in
7290 menu currently). Support for reporting font settings in
7291 mathed (disabled until Andre provides a function on mathed's side).
7293 * func_status.h (toggle): small helper function to set toggle
7296 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7298 * tabular_funcs.C: getline -> std::getline
7300 2001-12-21 Juergen Vigna <jug@sad.it>
7302 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7303 accessed and could be 0 (I couldn't generate this but it seems
7306 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7308 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7309 * tabular_funcs.h: here and include iosfwd
7311 2001-12-20 Juergen Vigna <jug@sad.it>
7313 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7314 inside inset but undo_par was.
7316 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7318 * Thesaurus.C: always include <config.h> in sources.
7322 * box.h: do not include <config.h> in header files
7324 * text.C (paintLastRow): remove unused variable
7326 * text.C (transformChar):
7328 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7331 * font.C (width): rewrite to use uppercase() instead of
7334 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7336 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7338 * lyxfind.C: clean up of find failure position change
7340 2001-12-20 Juergen Vigna <jug@sad.it>
7342 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7344 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7345 (TeXRow): added to LaTeX a single tabular row.
7346 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7347 (Latex): simplified and finally good LT-h/f support.
7348 (various_functions): just small adaptions for LT-h/f support.
7350 * tabular_funcs.[hC]: added and moved here all not classfunctions
7353 2001-12-19 Juergen Vigna <jug@sad.it>
7355 * tabular.[Ch]: better support for longtabular options (not finished
7358 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7360 * text.C (paintLastRow): use the label font instead of the font of
7361 the last character to compute the size of *_BOX. This makes more
7362 sense and avoids a crash with empty paragraphs.
7363 Use Painter::rectangle to draw EMPTY_BOX.
7365 2001-12-19 Juergen Vigna <jug@sad.it>
7367 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7368 the paragraphs if the replaced paragraph is not the first one!
7369 Tried to delete not used paragraphs but does not work yet so for
7370 now it's inside #ifdef's and by default off!
7372 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7374 * MenuBackend.C: include "lyx_main.h" instead of declaring
7375 lastfiles (actually was declared as LastFiles* instead of a
7378 2001-12-17 Juergen Vigna <jug@sad.it>
7380 * tabular.C (AppendColumn): applied John's fix
7382 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7386 * BufferView_pimpl.h:
7387 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7390 * box.h: new start of class for above
7392 * lyxfunc.C: ignore space-only minibuffer dispatches.
7393 Show the command name when it doesn't exist
7395 * minibuffer.C: don't add empty lines to the history
7397 * minibuffer.C: add a space on dropdown completion
7399 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7401 * text.C: fix line above/below drawing in insets
7403 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7405 * lyxlength.C (LyXLength): Initialize private variables.
7407 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7409 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7410 when inserting error insets.
7412 2001-12-13 Juergen Vigna <jug@sad.it>
7414 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7415 actually sometimes the before-paragraph.
7416 (setUndo): don't clear the redostack if we're not actually undoing!
7418 2001-12-06 Juergen Vigna <jug@sad.it>
7420 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7421 and fixed redoing of main paragraph, so we can use it now ;)
7423 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7425 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7427 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7430 2001-12-13 André Pönitz <poenitz@gmx.net>
7433 * undo_func.C: minor cleanup
7435 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7437 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7438 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7439 font in urw-fonts package which is marked as -urw-fontspecific and
7440 does not work (incidentally, changing the encoding in the
7441 fonts.dir of this package to -adobe-fontspecific fixes the
7444 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7445 is a crash when undoing first paragraph (Juergen, please take a
7446 look). THis does not mean the undo fix is wrong, just that it
7449 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7450 the (Paragraph*) version when needed instead of duplicating the
7453 * text.C (workWidth): use Inset::parOwner to find out where the
7454 inset has been inserted. This is a huge performance gain for large
7455 documents with lots of insets. If Inset::parOwner is not set, fall
7456 back on the brute force method
7458 * paragraph_pimpl.C (insertInset):
7459 * paragraph.C (Paragraph):
7460 (cutIntoMinibuffer): set parOwner of insets when
7461 inserting/removing them
7463 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7465 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7471 * mathed/formulabase.C:
7472 * mathed/math_cursor.[Ch]:
7473 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7476 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7478 * lyxlength.[Ch] (operator!=): new function
7480 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7482 * text.C (workWidth): use Inset::parOwner to find out where the
7483 inset has been inserted. This is a huge performance gain for large
7484 documents with lots of insets. If Inset::parOwner is not set, fall
7485 back on the brute force method
7487 * paragraph_pimpl.C (insertInset):
7488 * paragraph.C (Paragraph):
7489 (cutIntoMinibuffer): set parOwner of insets when
7490 inserting/removing them
7492 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7494 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7496 * tabular-old.C (getTokenValue):
7497 * tabular.C (getTokenValue):
7498 (write_attribute): new versions for LyXLength
7499 (everywhere): adjust the use of widths
7501 * tabular.h: change the type of widths from string to LyXLength
7503 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7505 * paragraph.C: fixed missing line number count when exporting
7506 Environments to LaTeX file
7508 * buffer.C: added informational message for checking line numbers.
7510 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7512 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7513 paragraph, do the 'double space' part, but not the 'empty
7516 * text.C (workWidth): small optimization
7517 (getLengthMarkerHeight): use minimal size for negative lengths.
7519 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7521 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7523 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7525 2001-12-11 André Pönitz <poenitz@gmx.net>
7528 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7530 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7532 * text2.C: keep selection on a setFont()
7534 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7536 * lyx_cb.C: another bv->text misuse, from insert label
7538 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7541 * kbsequence.C: re-instate nmodifier mask
7543 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7545 * lyx_main.h: make lyxGUI private.
7547 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7549 * lyxfind.C: place the cursor correctly on failed search
7551 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7553 * text.C (getLengthMarkerHeight): for small heights, the arrows
7554 are not always on top/bottom of the text
7555 (drawLengthMarker): smaller arrows; take the left margin in
7556 account; draw also vfills.
7558 (paintLastRow): remove special code for vfill and standard spaces,
7559 since everything is handled in drawLengthMarker now.
7561 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7563 * buffer.C (insertErtContents): try to handle font and language
7564 interaction a bit better.g
7566 * ColorHandler.C (updateColor): change the hash to cover the whole
7567 LColor enum, ws cleanup
7568 (getGCLinepars): ditto
7569 (getGCLinepars): only lookup in the linecache once.
7571 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7573 * iterators.C (operator++): Make the iterator more robust
7575 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7577 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7579 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7582 * text.C: better added space drawing
7584 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7587 * BufferView2.C: fix layout combo update on inset unlock
7589 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7591 * Makefile.am: don't compile unused files
7593 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7597 * LyXAction.C: remove old LFUN_LAYOUTNO
7599 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7601 * paragraph_pimpl.h:
7602 * paragraph_pimpl.C: isTextAt() doesn't need font param
7604 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7607 * lyxlex.C: little cleanup
7609 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7611 * BufferView_pimpl.C: fix insertAscii for insets
7613 2001-12-05 Juergen Vigna <jug@sad.it>
7615 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7616 set the right font on the "multi" paragraph paste!
7618 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7624 * lyxlength.C: remove out-commented code.
7640 * vc-backend.C: change "while(" to "while ("
7642 * lyxlength.[Ch]: add zero function to check if length is zero or
7644 * lyxgluelength.C: use it
7646 2001-12-05 Allan Rae <rae@lyx.org>
7648 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7649 Works for 2.95.3, from what I understand of Garst's reports this should
7650 work for other g++ versions. We're screwed if the abs(int) definition
7651 changed between bugfix releases of gcc.
7653 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7655 * text.C: fix chapter label offset !
7657 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7660 * text.C: fix hfill at end of line, clean up
7662 2001-12-04 Juergen Vigna <jug@sad.it>
7664 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7665 that we force an update of the inset and it's owners if neccessary.
7667 2001-12-03 Juergen Vigna <jug@sad.it>
7669 * text.C (rowLast): simplified code
7671 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7673 * lyxfunc.C: fix show options on timeout
7675 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7677 * screen.C (topCursorVisible): scroll half a page when the cursor
7678 reached top of bottom of screen
7680 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7682 * minibuffer.C: deactivate on loss of focus
7684 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7686 * vspace.[Ch] (operator!=): add operator.
7688 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7690 * BufferView_pimpl.C: refuse to open an inset when
7691 there's a selection.
7693 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7695 * BufferView_pimpl.C: allow to click on RHS of full row insets
7697 2001-11-30 Juergen Vigna <jug@sad.it>
7699 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7700 insets for undo reasons.
7702 2001-11-28 André Pönitz <poenitz@gmx.net>
7704 * vspace.[Ch]: cosmetical changes
7706 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7716 * kbsequence.C: part re-write of old kb code
7719 * WorkArea.C: remove Lgb_bug_find_hack
7721 2001-11-30 José Matos <jamatos@fep.up.pt>
7723 * buffer.C (makeDocBookFile): add a comment to point a hack.
7724 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7725 Fixed a double write of labels.
7727 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7730 * LaTeX.h Fixed bug in LaTeX class where it would not
7731 re-run latex if no depfiles were changed, but the .dvi was removed.
7733 2001-11-28 André Pönitz <poenitz@gmx.net>
7735 * all the files from the change on 2001/11/26:
7736 use lyx::layout_type instead of LyXTextClass::size_type
7737 use lyx::textclass_type instead of LyXTextClassList::size_type
7739 2001-11-29 Juergen Vigna <jug@sad.it>
7741 * text.C: added support for paragraph::isFreeSpacing()
7743 * buffer.C: same as above
7745 * paragraph.h: inserted isFreeSpacing() function to enable
7746 FreeSpacing inside InsetERT.
7748 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7749 of the paragraph's in the cut/copy buffer to 0!
7751 * text2.C (removeRow): remove the assert as it can!
7753 * lyxtext.h: added helper function firstRow returning firstrow and
7754 made firstrow private again.
7756 * BufferView2.C (lockInset): don't relock if we're already locked!
7758 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7760 (removeRow): added Assert::(firstrow)
7762 * debug.C: forgot to add INSETTEXT here.
7764 2001-11-28 Juergen Vigna <jug@sad.it>
7766 * sp_spell.C (initialize): changed error text to more general
7767 spellchecker command use (not only ispell!)
7769 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7771 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7773 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7775 * vspace.C: initialise lyxgluelength on failure
7777 2001-11-28 Allan Rae <rae@lyx.org>
7779 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7780 declaration & definition that looks like a function declaration.
7782 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7784 * BufferView2.C (copy):
7785 (copyEnvironment): do not clear the selection when doing a copy.
7787 * text.C (paintFirstRow): compilation fix
7789 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7791 * tabular.C (Latex): correct line count when writing latex.
7793 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7795 * paragraph_pimpl.h:
7796 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7799 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7803 * LColor.C: change vfillline->added_space
7805 * text.C: add markers and text for added space
7807 * vspace.C: fix comment
7809 2001-11-28 André Pönitz <poenitz@gmx.net>
7811 * paragraph.C: whitespace changes
7812 * all the other files from the change on 2001/11/26:
7813 change *::pos_type into lyx::pos_type
7815 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7817 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7818 language of the document when inserting error insets.
7820 2001-11-26 André Pönitz <poenitz@gmx.net>
7822 * BufferView_pimpl.[Ch]:
7830 * paragraph_pimpl.[Ch]:
7833 * text2.C: reduce header dependencies, introduce type for positions
7835 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7837 * <various>: change to use Alert.h
7839 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7841 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7842 when encountering an unknown token.
7843 (readLyXformat2): Show an error message if there were unknown tokens.
7845 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7848 * BufferView_pimpl.C:
7852 * text2.C: use par->isInset()
7854 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7856 * paragraph_pimpl.h:
7857 * paragraph_pimpl.C: cleanup
7859 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7861 * text2.C (removeRow):
7862 * text.C (setHeightOfRow): remove useless (and costly) call to
7865 2001-11-20 Allan Rae <rae@lyx.org>
7867 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7868 Now need Inset*::checkInsertChar() to return true for appropriate
7869 cases so that the characters in the minibuffer will actually be
7872 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7874 * text.C: change the order of the includes.
7875 (workWidth): initialize it at once.
7876 (workWidth): make maxw unsigned
7877 (setHeightOfRow): remove unused variable (inset)
7878 (selectSelectedWord): remove unused variable (inset)
7879 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7881 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7883 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7884 server is not running.
7886 (closeConnection): add debug info when server is disabled.
7888 * ColorHandler.C (getGCForeground): send debug message to GUI
7891 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7893 * kbmap.C (bind): modify because return conventions of
7894 kb_sequence::parse have changed.
7896 * kbsequence.C (parse): only ignore spaces and not any stupid
7897 control character. This avoids tests like s[i] <= ' ', which are
7898 guaranteed to fail with 8bit characters and signed chars.
7899 Change return code to string::npos when there have been no error
7900 (0 was a bad idea when error is at first character)
7902 2001-11-14 José Matos <jamatos@fep.up.pt>
7905 * buffer.C (simpleDocBookOnePar): removed unused argument.
7907 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7909 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7910 insets which are part of a word. Paragraph::isLetter takes care of
7911 that now. Use Paragraph::isInset to identify insets.
7912 (selectSelectedWord): do not test for hyphenation break.
7914 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7915 that protected spaces are considered as spaces.
7917 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7920 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7923 * lyxserver.C: fix it. and small cleanup.
7925 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7927 * BufferView_pimpl.C: use inline helpers
7930 * LaTeXFeatures.C: fix typos
7933 * Spacing.C: move spacing_string into class
7935 * ToolbarDefaults.C: move stuff into namespace anon
7937 * layout.h: update enum
7939 * lyxfunc.C: use better debug
7941 * minibuffer.h: fix typo
7945 * WorkArea.C: add and use Debug::WORKAREA
7949 * text2.C: code re-organisation, inline helpers
7951 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7953 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7954 std::vector.empty().
7956 2001-11-09 Allan Rae <rae@lyx.org>
7958 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7959 '\n's after tables. Tabular and ERT inset work now makes this no
7962 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7965 * minibuffer.C: fix crash, improve drop-down completion
7967 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7970 * lyxserver.C: invalidate fd's when doing endPipe()
7972 2001-11-08 José Matos <jamatos@fep.up.pt>
7974 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7975 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7978 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7980 2001-11-07 José Matos <jamatos@fep.up.pt>
7983 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7986 * buffer.C (sgmlOpenTag):
7987 * buffer.C (sgmlCloseTag): removed debug info.
7989 * buffer.h (sgmlOpenTag):
7990 * buffer.h (sgmlCloseTag): made public.
7992 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7994 * buffer.C (saveParamsAsDefaults):
7995 * lyx_cb.C (MenuLayoutSave): remove
7997 * LyXAction.C (init):
7999 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8001 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8003 * buffer.C (setPaperStuff): removed from here...
8005 * bufferparams.C (setPaperStuff): ... and moved there.
8007 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8011 * XFormsView.C: add support for drop-down completion
8013 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8015 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8018 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8020 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8023 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8025 * lyx_main.C: change ref to known bugs
8027 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8029 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8030 to work around older babel problems.
8032 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8034 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8036 2001-10-24 Juergen Vigna <jug@sad.it>
8038 * tabular-old.C (ReadOld): below variable changes reflected.
8040 * tabular.[Ch]: added ltType struct for longtable header/footer
8041 defines and changed all instances where they are used. Added
8042 future support for double top/bottom rows.
8044 2001-10-24 José Matos <jamatos@fep.up.pt>
8046 * buffer.h (docbookHandleCaption):
8047 * buffer.C (docbookHandleCaption): removed unused function.
8048 (makeDocBookFile): moved docbook supported version to v4.1.
8050 2001-10-24 José Matos <jamatos@fep.up.pt>
8053 * tabular.C (docbookRow): new function to export docbook code of a row.
8054 (DocBook): now honors the longtable flags.
8056 2001-10-23 José Matos <jamatos@fep.up.pt>
8059 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8060 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8062 * buffer.C (makeLinuxDocFile):
8063 (makeDocBookFile): reworked the preamble, more clean, and with
8064 support for lyx defined entities. Changed the document declaration
8065 to be more XML friendly.
8067 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8068 if we need to output XML that should be done with a filter.
8070 2001-10-22 Juergen Vigna <jug@sad.it>
8072 * sp_pspell.h (class PSpell): add alive function needed in the
8073 controller to see if the spellchecker could be started.
8075 2001-10-22 Juergen Vigna <jug@sad.it>
8077 * buffer.C (insertStringAsLines): modify the font for inserting
8078 chars in certain conditions by calling checkInsertChar(font).
8080 2001-10-19 Juergen Vigna <jug@sad.it>
8082 * text.C (workWidth): use getRow instead of wrong algorithm.
8083 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8085 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8090 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8092 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8094 * text.C (workWidth): do not search for the exact row when
8095 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8096 optimization for big documents.
8098 2001-10-18 Juergen Vigna <jug@sad.it>
8100 * text.C (workWidth): new function with added Inset * parameter.
8102 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8104 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8106 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8107 change return type of getColumnNearX.
8110 * text.C (changeRegionCase): use uppercase/lowercase instead of
8113 (rightMargin): simplify code by factoring out the uses of
8118 (appendParagraph): use Paragraph::size_type
8120 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8122 * vspace.C (asLatexString): add a missing break
8124 2001-10-15 Herbert Voss <voss@perce.de>
8126 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8128 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8130 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8133 2001-10-10 André Pönitz <poenitz@gmx.net>
8135 * lyxfunc.C: removed greek_kb_flag.
8137 2001-10-10 Herbert Voss <voss@perce.de>
8139 * lyx_main.C: delete global string help_lyxdir.
8141 2001-10-09 Herbert Voss <voss@perce.de>
8143 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8145 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8147 * lyx_main.C: added global string help_lyxdir.
8149 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8151 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8153 * lyxrc.C (set_font_norm_type): support iso8859-4
8155 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8157 * LaTeX.C (deplog): add another regex for MikTeX
8159 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8161 * lyxrc.C (set_font_norm_type): support iso8859-3
8163 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8165 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8167 * LaTeXFeatures.C: remove special case of french and index
8169 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8170 before \begin{document}). This solves several incompatibilities.
8172 2001-10-03 Garst Reese <reese@isn.net>
8174 * lyx_cb.C: change CheckTex error msg.
8176 2001-10-03 José Matos <jamatos@fep.up.pt>
8178 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8180 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8182 * .cvsignore: update
8184 * lyx_main.C (commandLineVersionInfo): use new style version info.
8186 * buffer.C (writeFile):
8189 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8191 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8193 * version.h: update to use stuff in version.C
8195 * version.C.in: new file. Contains version information determined
8196 at compile time. This is a merging of version.h and
8199 2001-10-03 Juergen Vigna <jug@sad.it>
8201 * BufferView_pimpl.C (update): don't change "dirty" status in
8204 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8206 * WorkArea.C (c-tor): re-position version string slightly.
8208 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8210 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8211 revert to previous code.
8213 WorkArea.[Ch]: (show, destroySplash): methods removed.
8215 WorkArea.C: rework code so that it's an amalgam of the codes before and
8216 after the splash screen was moved to WorkArea.
8218 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8221 * vspace.C (inPixels):
8224 * buffer.C (insertStringAsLines):
8225 (asciiParagraph): fix types to be large enough
8227 * lyxlex_pimpl.h: change member status from short to int
8229 * layout.h: fix type of endlabeltype
8232 * kbsequence.C (parse): change return type to string::size_type
8234 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8237 * Bullet.C (bulletSize):
8238 (bulletEntry): do not use short ints as parameters
8240 * BufferView2.C (insertLyXFile): change a char to an int.
8242 * WorkArea.C (WorkArea): remove unneeded floats in computation
8244 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8246 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8248 * paragraph.C (asString): Do not ignore newline/hfill chars when
8249 copying to the clipboard.
8251 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8253 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8254 after a multi-line inset.
8256 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8258 * paragraph.C (validate): Set NeedLyXFootnoteCode
8260 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8262 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8263 and decrease-error to decrease.
8265 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8267 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8268 it more readable (should be equivalent)
8270 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8272 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8274 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8276 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8277 of a cursor (row, etc.) after a character has been deleted
8278 (deleteEmptyParagraphMechanism): call the method above on _all_
8279 cursors held by the LyXText when a double space has been
8282 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8284 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8286 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8288 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8289 background. Use greyOut() and the new show() methods to toggle between
8290 the foreground and background. Add code to remove the splash after
8291 its initial showing.
8293 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8294 (create_forms): no longer call Dialogs::showSplash.
8296 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8298 * .cvsignore: add version_info.h
8300 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8302 * version_info.h.in: new file
8304 * Makefile.am: add version_info.h.in
8306 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8307 version_info.h instead of VERSION_INFO
8309 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8311 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8312 The ERT inset now returns string().
8314 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8316 * lyxtext.h, text.C (selectNextWord): renamed as
8317 selectNextWordToSpellcheck.
8319 * text.C (selectNextWordToSpellcheck): Modified to not select
8320 words inside an ERT inset.
8322 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8324 * lyx_cb.C (MenuLayoutSave): change a bit the question
8326 * sp_base.h: include <sys/types.h>
8328 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8330 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8332 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8334 * several files: fix typos in user-visible strings
8336 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8338 * text2.C (pasteSelection): do not set the selection, since it
8339 will be cleared later. Actually, the intent was to fix the way the
8340 selection was set, but I figured rmoving the code was just as good.
8342 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8344 * FontLoader.C (available): Check if font is available without
8347 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8349 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8351 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8353 * lyxrc.[Ch]: added display_graphics variable and associated code.
8355 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8357 * bufferparams.C (hasClassDefaults): new method. Returns true if
8358 the buffer parameters correspond to known class defaults
8360 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8362 * XFormsView.C (show): set minimum size to the main window.
8364 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8366 * text2.C (copySelection):
8368 * lyxfind.C (LyXReplace):
8369 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8370 LyXText::selectionAsString.
8372 * paragraph.C (asString): add "label" argument to the second form
8374 * text2.C (selectionAsString): add "label" argument and pass it to
8375 Paragraph::asString.
8377 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8379 * lyx_main.C (commandLineHelp): remove version information
8381 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8383 * lyx_main.C: add -version commandline option
8385 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8387 * paragraph.h: make the optional constructor arg required instead.
8388 some modifications to other files because of this.
8390 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8392 * lyxserver.C (C_LyXComm_callback): make it static
8394 * lyx_main.C (error_handler): make it static
8396 * lyx_gui.C (LyX_XErrHandler): make it static
8398 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8400 * WorkArea.C: make the extern "C" methods static.
8402 * Makefile.am (lyx_LDADD): simplify
8404 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8406 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8407 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8409 * LyXAction.C (init):
8410 * lyxfunc.C (dispatch): associated code removal.
8412 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8414 * lyxfont.h (isSymbolFont): shut off warning
8416 * text.C (setHeightOfRow):
8417 (getVisibleRow): fix crash with empty paragraphs which have a
8420 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8422 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8425 2001-09-04 José Matos <jamatos@fep.up.pt>
8428 * tabular.C (docbook): rename docBook method to docbook.
8430 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8432 * Makefile.am: add dependencies to main.o.
8434 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8436 * FontLoader.C (available): Return false if !lyxrc.use_gui
8438 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8440 * FontInfo.C (query):
8441 * converter.C (view):
8442 * importer.C (Import):
8443 * exporter.C (Export): Can not -> cannot.
8445 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8447 * BufferView_pimpl.C: allow to create index inset even if
8450 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8452 * buffer.C (getLists): replace boost::tie code with an explicit pair
8453 as boost::tie can break some compilers.
8455 * iterators.h: Added a std:: declaration to the return type of
8458 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8460 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8463 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8465 * iterators.[Ch]: New files. Provide paragraph iterators.
8467 * buffer.C (changeLanguage): Use paragraph iterators.
8468 (isMultiLingual): ditto
8470 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8472 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8474 * FontLoader.C: Support for cmr font.
8476 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8478 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8479 (available): New method.
8481 * FontInfo.C (getFontname): Use scalable fonts even when
8482 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8485 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8487 * converter.C (Formats::view): reverted! Incorrect fix.
8489 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8491 * converter.C (Formats::view): only output the -paper option
8492 if the dvi viewer is xdvi, thereby fixing bug #233429.
8494 2001-08-23 Herbert Voss <voss@perce>
8496 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8498 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8500 * Spacing.h (Spacing): Set space to Default on in the default
8503 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8505 * vc-backend.h (RCS::versionString): add RCS to version
8506 (CVS::versionString): add CVS to version
8508 * vc-backend.C (scanMaster): do not add CVS to version.
8509 (scanMaster): do not add RCS to version
8511 * lyxvc.C (versionString): new method
8513 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8515 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8517 * Spacing.C (set): initialize fval
8519 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8521 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8524 2001-08-16 Juergen Vigna <jug@sad.it>
8526 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8528 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8530 * BufferView_pimpl.C:
8533 * text2.C: setParagraph takes linespacing now
8535 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8537 * LyxAction.C: add internal LFUN_CITATION_INSERT
8539 * LyXView.C: actually apply fix
8541 * bufferlist.C: fix open non-existent file
8543 * lyxfind.C: fix indentation
8545 * lyxfunc.C: remove unneeded assert, fix typo
8547 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8549 * MenuBackend.C: use "Floatname List"
8551 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8553 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8554 when converting LaTeX layout to insetERT.
8555 Generate a non-collapsed float when reading old float
8557 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8559 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8562 2001-08-13 Juergen Vigna <jug@sad.it>
8564 * text.C (fill): return 0 instead of 20 as this seems to be the more
8567 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8569 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8572 2001-08-13 Juergen Vigna <jug@sad.it>
8574 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8576 (SearchBackward): comment out the unlocking of the inset_owner this
8577 should not be needed!
8579 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8581 * Many files: Remove inherit_language, and add latex_language
8583 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8586 2001-08-10 Juergen Vigna <jug@sad.it>
8588 * text.C (prepareToPrint): fixed hfill-width in draw!
8590 * BufferView2.C (selectLastWord): save the selection cursor as this
8591 now is cleared in the function LyXText::clearSelection!
8593 2001-08-08 Juergen Vigna <jug@sad.it>
8595 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8596 BACKSPACE type functions.
8598 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8599 is only cutted from the document but not put in the cut-buffer, where
8600 still the old stuff should be.
8602 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8604 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8606 * tabular.C (SetWidthOfCell): fixed special case where the width
8608 (LeftLine): handle '|' in align_special.
8610 (LeftAlreadyDrawed): ditto
8611 (SetWidthOfCell): ditto
8613 2001-08-07 Juergen Vigna <jug@sad.it>
8615 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8617 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8619 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8620 * lyxlex.[hC]: ditto
8622 2001-08-06 Juergen Vigna <jug@sad.it>
8624 * text.C (getVisibleRow): fix up row clearing a bit.
8626 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8628 * minibuffer.C: make sure the X server sees the changes in the input.
8630 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8632 * paragraph.C (getFont): split into...
8633 (getLabelFont): this
8634 (getLayoutFont): and this
8635 * paragraph_pimpl.C (realizeFont): calling this
8637 * text2.C (getFont): split into...
8638 (getLayoutFont): this
8639 (getLabelFont): and this
8640 (realizeFont): all three calling this
8642 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8645 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8647 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8649 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8651 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8652 layouts from the Quote inset insertion.
8654 2001-08-03 Juergen Vigna <jug@sad.it>
8656 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8658 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8659 only if status not is already CHANGED_IN_DRAW (second level).
8661 * text.C (draw): don't set the need_break_row when inside an
8664 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8666 * buffer.C (parseSingleLyXformat2Token): handle more latex
8669 * bufferview_funcs.[hC]: change function names to
8670 begin with small char, adjust other files.
8672 2001-08-02 André Pönitz <poenitz@gmx.net>
8675 BufferView_pimpl.C: remove broken special code for math-greek
8677 2001-08-02 Juergen Vigna <jug@sad.it>
8679 * BufferView_pimpl.C (update): redone this function so that we
8680 update the text again if there was a CHANGE_IN_DRAW.
8682 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8683 (drawFromTo): added a new internal bool which is used by draw() and
8685 (general): some cursor drawing problems fixed.
8687 2001-08-01 Juergen Vigna <jug@sad.it>
8689 * lyxfind.C (LyXFind): fixed
8690 (SearchForward): ditto
8691 (SearchBackward): ditto
8693 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8694 spurius drawing of the cursor in the main area.
8696 * text2.C (status): small fix which could lead to a segfault!
8697 (clearSelection): remove unneeded BufferView param.
8699 2001-08-01 André Pönitz <poenitz@gmx.net>
8701 * lyxfunc.C: small change due to changed mathed interface
8703 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8705 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8707 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8709 * lyxfunc.c: fail gracefully if file doesn't exist
8714 * BufferView_pimpl.C: IsDirWriteable() proto changed
8716 * LyXView.C: fix updateWindowTitle() to store the last title
8718 2001-07-31 Juergen Vigna <jug@sad.it>
8720 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8721 the font (wrong since using of Paragraph::highestFontInRange).
8723 * paragraph.C (highestFontInRange): added a default_size parameter.
8725 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8726 (setHeightOfRow): reformat
8728 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8730 * converter.[hC] + affected files: move to (inital-char)lowercase
8733 * ParagraphParameters.C (ParagraphParameters): remove commented code
8735 * PainterBase.[Ch]: remove commented code
8737 * LaTeXFeatures.h: add "bool floats" for float.sty
8739 * LaTeXFeatures.C (LaTeXFeatures): init floats
8740 (require): handle float
8741 (getPackages): do it with floats
8743 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8745 * BufferView_pimpl.C (Dispatch): improve handling of
8746 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8748 * commandtags.h: #include lyxfont.h here temporarily to avoid
8751 * bufferlist.h: include LString.h here.
8753 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8755 * text2.C (getStringToIndex): new method.
8757 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8759 * *: Reduced header file dependencies all over.
8761 2001-07-30 Baruch Even <baruch@lyx.org>
8763 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8765 2001-07-29 Baruch Even <baruch@lyx.org>
8767 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8769 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8771 * ParameterStruct.h (endif): add a default constructor to make
8772 sure that all variables is initialized.
8774 * ParagraphParameters.C (ParagraphParameters): adjust
8776 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8778 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8779 index; also, check that there is something to index, and that it
8780 does not span over several paragraphs.
8781 (doubleClick): use WHOLE_WORD_STRICT for double click.
8783 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8785 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8788 2001-07-26 Baruch Even <baruch@lyx.org>
8790 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8791 an InsetFig figure, backwards compatible reading of old figure code.
8793 2001-07-27 Juergen Vigna <jug@sad.it>
8795 * text2.C: font.realize function adaption.
8797 * text.C (draw): add a warnings lyxerr text if needed.
8799 * layout.C: font.realize function adaption.
8801 * language.C: add inherit_language and implement it's handlings
8803 * bufferview_funcs.C (StyleReset): remove language parameter from
8804 font creation (should be language_inherit now).
8806 * bufferparams.C (writeFile): handle ignore_language.
8808 * paragraph.C (getFontSettings): the language has to be resolved
8809 otherwise we have problems in LyXFont!
8811 * lyxfont.C (lyxWriteChanges): added document_language parameter
8812 (update): removed unneeded language parameter
8814 * paragraph.C (validate): fixed wrong output of color-package when
8815 using interface colors for certain fonts in certain environments,
8816 which should not seen as that on the final output.
8818 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8820 * BufferView_pimpl.C:
8825 * LyXAction.C: add thesaurus support
8828 * lyxfind.C: add "once" parameter, for thesaurus, to not
8829 move to the next match
8831 2001-07-26 Juergen Vigna <jug@sad.it>
8833 * lyxfont.C (realize): honor ignore_language too!
8836 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8838 * text.C (draw): one place more for ignore_language to not draw
8841 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8843 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8845 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8847 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8848 the minipage conversion problem.
8850 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8852 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8855 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8857 * BufferView.h: don't forward declare WorkArea
8859 * BufferView.C: don't include WorkArea.h
8861 2001-07-25 André Pönitz <poenitz@gmx.net>
8865 * lyxfunc.C: new LFUN 'math-space'
8867 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8869 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8871 * text2.C (toggleInset): call open/close
8873 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8875 * lyxfunc.C (dispatch): add debug for the disabled case
8877 * font.C (buttonText): make similar to rectText
8879 * buffer.C (readInset): comment out parsing of insetlist and
8882 * PainterBase.C (rectText): small correction
8884 * BufferView_pimpl.C: comment out insettheorem and insetlist
8885 * LyXAction.C: ditto
8886 * commandtags.h: ditto
8888 2001-07-24 Juergen Vigna <jug@sad.it>
8890 * text.C (draw): honor the ignore_language.
8892 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8894 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8896 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8899 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8901 * lyxtext.h: remove unused (and unimplemented) methods
8903 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8905 * text.C (getVisibleRow): honor background color
8908 * Painter.h: remove default color argument for fillRectangle
8910 * text.C (backgroundColor): new method
8912 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8914 * text.C (getVisibleRow): adjust
8916 * font.[Ch] (rectText): new method, metrics
8917 (buttonText): new method, metrics
8919 * PainterBase.[hC]: make rectText and buttonText always draw and take
8922 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8924 * ToolbarDefaults.C (read):
8925 * MenuBackend.C (read): allow escaping in all strings
8927 * BufferView_pimpl.C (insertAndEditInset): new method.
8928 (Dispatch): use insertAndEditInset whenever appropriate.
8930 * BufferView_pimpl.C (insertNote): removed
8932 * BufferView_pimpl.C (smartQuote): new method, moved from
8933 BufferView; if an insetquote cannot be inserted, insert a '"'
8936 * BufferView2.C: remove insertCorrectQuote();
8938 * lyxfunc.C (getStatus): Add support for all remaingin
8941 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8943 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8944 command (necessary to pass " as parameter of self-insert.
8946 * text.C (selectWordWhenUnderCursor):
8947 (selectWord): add word_location parameter
8948 (selectWordWhenUnderCursor): same + remove special code for word
8950 (selectNextWord): use kind() to guess type of insetspecialchar,
8953 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8954 (insertErtContents): create ert insets as collapsed.
8955 (readInset): better compatibility code for Info inset.
8957 2001-07-20 Juergen Vigna <jug@sad.it>
8959 * lyxfunc.C (dispatch): use always LyXFind now!
8961 * text2.C (init): add a reinit flag so that the LyXText can be
8962 reinited instead of deleted and reallocated (used in InsetText).
8964 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8970 2001-07-18 Juergen Vigna <jug@sad.it>
8972 * text.C (selectNextWord): handle insets inside inset by calling
8973 always the bv->text functions so that we can go up the_locking_inset!
8975 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8976 in strange locations when inside an inset!
8978 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8979 handling to include insets.
8981 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8983 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8985 * LyXAction.C (init):
8987 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8988 LIGATURE_BREAK, since the name is so stupid.
8990 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8992 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8995 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8997 * sp_form.[Ch]: remove.
8999 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9001 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9004 * src/buffer.C (readInset): ditto.
9006 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9008 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9009 menuSeparator(), endOfSentenceDot(), ldots() and
9010 hyphenationPoint(), which are therefore removed.
9011 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9013 * LyXAction.C (init):
9014 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9016 * paragraph.C (getWord): removed.
9018 * BufferView_pimpl.C (Dispatch): use last word or selection for
9019 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9021 * lyx_main.C (queryUserLyXDir): do not ask before creating
9022 user_dir, except if it has been named explicitely.
9024 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9026 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9027 a document of zero size.
9029 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9031 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9032 approriately in the c-tor and in require().
9033 (getPackages): output the appropriate LaTeX for natbib support.
9035 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9036 variables "use_natbib" and "use_numerical_citations" when reading the
9038 (readInset): read the various natbib cite commands.
9039 (validate): white-space change.
9041 * bufferparams.[Ch]: new variables "bool use_natbib" and
9042 "bool use_numerical_citations".
9043 (writeFile): output them in the LyX file.
9045 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9047 * lyxfunc.C (getStatus): add support for all the inset insertion
9050 * text2.C (insertInset):
9051 * paragraph.C (insetAllowed):
9052 * BufferView_pimpl.C (insertInset): update to take in account the
9053 renaming of insertInsetAllowed
9055 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9057 * text2.C (getInset): new method. returns inset at cursor position.
9059 * BufferView_pimpl.C (Dispatch): changes because of this.
9061 * LyXAction.C (init): rename open-stuff to inset-toggle.
9063 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9065 * text2.C (toggleInset): renamed from openStuff; use
9068 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9070 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9072 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9074 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9076 * buffer.C (readLyXformat2): Add filename to the error dialog
9078 2001-07-18 Juergen Vigna <jug@sad.it>
9080 * tabular.C (GetCellNumber): put an assert here instead of the check!
9082 2001-07-17 Juergen Vigna <jug@sad.it>
9084 * BufferView_pimpl.C (toggleSelection): adapted too.
9086 * text.C (selectNextWord): adapted for use with insets.
9087 (selectSelectedWord): ditto
9089 2001-07-17 Juergen Vigna <jug@sad.it>
9091 * sp_spell.C (PSpell): fix initialitation order.
9093 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9095 * paragraph.C: spacing
9097 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9099 * sp_spell.C: repair language selection for pspell
9101 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9103 * lyxfunc.h: change more methods to begin with lower char.
9105 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9107 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9108 for unknown layouts.
9110 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9112 * buffer.C (readLyXformat2): Generate an error dialog if there are
9115 2001-07-16 Juergen Vigna <jug@sad.it>
9117 * sp_spell.C: always compile ISpell part.
9119 * lyxrc.C: added use_pspell entry and it's handling.
9121 2001-07-13 Juergen Vigna <jug@sad.it>
9123 * sp_spell.C: removed double includes.
9125 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9127 Consistent use of Lsstream.h:
9128 * Lsstream.h: added using std::stringstream for consistencies sake.
9130 * buffer.C: removed using std::stringstream
9132 * lyxfont.C (stateText):
9133 * paragraph.C (asString):
9134 * text.C (selectNextWord, selectSelectedWord):
9135 * text2.C (setCounter):
9136 * vspace.C (asString, asLatexString):
9137 std::ostringstream -> ostringstream.
9139 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9141 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9142 * commandtags.h: add LFUN_HELP_ABOUTLYX
9143 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9145 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9147 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9149 * lyx_gui_misc.C: remove spellchecker
9150 * lyxfunc.C: showSpellchecker
9152 * sp_ispell.h: added
9153 * sp_pspell.h: added
9155 * sp_form.[Ch]: removed
9156 * spellchecker.[Ch]: removed
9158 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9160 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9162 (simpleTeXSpecialChars): Simply print the input character without
9163 any special translation if pass_thru is set.
9165 * layout.h: Added bool pass_thru to layout class for being able to
9166 implement pass through of a paragraph for Literate Programming.
9168 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9169 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9170 * layout.C (Read): add "passthru" to list of layout tags and add
9171 code to set the pass_thru boolean when it is read.
9173 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9175 * trans_decl.h: remove allowed from KmodInfo
9177 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9181 * paragraph_pimpl.C (erase): use boost::prior
9183 * Painter.C (text): use data() instead of c_str() when length is
9185 * WorkArea.C (putClipboard): ditto
9186 * font.h (width): ditto
9188 * BufferView2.C: use it-> instead of (*it). for iterators
9190 * paragraph_pimpl.C: ditto
9191 * paragraph.C: ditto
9192 * minibuffer.C: ditto
9197 * converter.C: ditto
9199 * Variables.C: ditto
9200 * TextCache.C: ditto
9201 * MenuBackend.C: ditto
9202 * LyXAction.C: ditto
9204 * FloatList.C: ditto
9206 * ColorHandler.C (LyXColorHandler): ditto
9208 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9210 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9212 * text2.C (openStuff): reintroduce this method (which had been
9213 nuked in NEW_INSETS frenzy).
9215 * lyxfunc.C (Dispatch): when an action has not been handled, use
9216 its name in the error message, not its number.
9218 * paragraph.C (inInset): change method name to begin with lowercase.
9221 * text2.C: updates because of this.
9223 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9225 * ToolbarDefaults.C (add): add spaces in error message
9227 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9229 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9230 (readLyXformat2): rename return_par to first_par, use lyxlex's
9231 pushToken and remove the manual push handling.
9232 (parseSingleLyXformat2Token): add another ert comp. variable:
9233 in_tabular, rename return_par to first_par. handle newlines better
9235 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9237 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9239 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9241 * text2.C (getParFromID): removed
9243 * buffer.C (getParFromID): new method moved form lyxtext.
9244 * BufferView2.C (insertErrors): adjust
9245 (setCursorFromRow): adjust
9246 * BufferView_pimpl.C (restorePosition): adjust
9247 * lyxfunc.C (Dispatch): adjust
9248 * undo_funcs.C (textUndo): adjust
9250 (textHandleUndo): adjust
9251 (textHandleUndo): adjust
9253 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9255 * buffer.C: up' the LYX_FORMAT
9257 * lyxfont.h: turn NO_LATEX on as default
9259 * buffer.C (insertErtContents): new methods of tex style compability.
9260 (parseSingleLyXformat2Token): use it several places.
9261 * tabular.C (OldFormatRead): and here
9263 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9265 * text2.C: remove some commented code.
9268 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9269 * trans.C: changes because of the above.
9271 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9273 * text2.C (setCounter): Fix counters bug with bibliography layout.
9275 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9277 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9278 own member functions
9279 (simpleTeXSpecialChars): ditto
9281 2001-07-06 Juergen Vigna <jug@sad.it>
9283 * a lot of files: changed the access to LyXText::status and the
9284 call of undo-functions.
9286 * undo.[Ch]: added a inset_id to the undo informations.
9288 * undo_funcs.[Ch]: added and moved here all undo functions.
9290 * lyxtext.h: give the status enum a weight, made status_ a private
9291 variable and made accessor functions for it, removed the whole bunch
9292 of undo-functions as they are now in their own file, make some
9293 functions publically available. Added function ownerParagraph with
9296 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9297 made InInset() a const function, added getParFromID() function.
9299 * buffer.[Ch]: added const version for inset_iterator functions,
9300 added getInsetFromID() function.
9302 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9303 changed undo functions for new version.
9305 2001-07-05 Juergen Vigna <jug@sad.it>
9307 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9308 unknow mechanism does not call the proper constructor but only this
9309 one also if I request the other!?
9311 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9313 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9315 * text2.C (LyXText): use initialization lists.
9317 * lyxtext.h (Selection): initialize set_ and mark_
9318 (init): remove method
9320 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9322 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9324 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9326 * screen.[Ch]: change method names to begin with lowercase
9328 * BufferView_pimpl.C (updateScrollbar): simplify further and
9329 hopefully make it a bit faster.
9331 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9333 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9334 calling directly xforms functions.
9336 * Painter.C (Painter):
9337 * lyx_cb.C (MenuWrite):
9338 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9341 * lyx_gui.C: remove bogus guiruntime extern declaration.
9343 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9345 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9347 (redoDrawingOfParagraph): ditto
9348 (redoParagraphs): ditto
9349 (cutSelection): don't create a object for CutAndPaste use the
9350 static method directly
9351 (pasteSelection): ditto
9353 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9356 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9358 * modifications to some other files because of this.
9360 * Makefile.am (lyx_SOURCES): add XFormsView
9362 * XFormsView.[Ch]: new files
9364 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9365 the main window. Move the gui dependent stuff to XFormsView
9367 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9369 * tabular.C (GetCellInset): update cur_cell also in the row/col
9370 version of this function.
9372 * lyxfunc.C: no need to include figure_form.h here.
9378 * lyxvc.C: no need to include forms.h here.
9380 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9382 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9384 * lyxfunc.C (Dispatch):
9386 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9387 constructor argument.
9389 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9391 * paragraph.C (Paragraph): dont't clear, and just set layout.
9392 (makeSameLayout): use params's copy contructor.
9394 * ParagraphParameters.[Ch] (makeSame): delete method
9396 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9398 * Variables.[Ch]: fix indentation, rename set to isSet
9400 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9402 * lyxfunc.C (Dispatch): fix typo
9404 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9406 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9409 * bufferlist.C: include assert.h for emergencyWrite().
9411 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9413 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9414 give up at last (bug #425202) !
9416 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9422 * spellchecker.C: strip spellchecker options and bring up
9423 preferences tab instead
9425 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9427 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9428 the istringstream constructor
9430 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9432 * paragraph.C (getLayout): fix return value
9434 * paragraph.h: do not declare getLayout as inline.
9436 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9438 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9440 * lyxcursor.h (operator<): new func
9441 (operator>): new func
9442 (operator>=): new func
9443 (operator<=): new func
9445 * text.C (changeCase): use selection.start and selection.end
9446 (changeRegionCase): require from to be <= to. Require par to be a
9449 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9451 2001-06-27 Juergen Vigna <jug@sad.it>
9453 * text.C (cursorLeftOneWord): changed to return the cursor and added
9454 overlay with BufferView * parameter which calls this one.
9456 (selectWord): use new getWord function.
9457 (changeCase): renamed from changeWordCase as and extended to work
9460 * lyxtext.h: added enum word_location
9462 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9463 changeCase as this operates now also on selections.
9465 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9467 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9469 * many files: send debug output to Debug::INFO instead of
9472 * converter.C (View):
9474 (Move): send debug output to Debug::FILES instead of console.
9476 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9478 * lyxfunc.C (getStatus): use func_status
9480 * func_status.h: new header, describing the results of
9483 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9486 2001-06-25 The LyX Project <jug@sad.it>
9488 * buffer.C (sgmlOpenTag):
9490 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9492 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9494 * text2.C: remove some dead code
9496 * tabular.C (GetCellInset): store the last cell checked (gotten)
9498 * tabular.h: add the helper for the speedup
9500 * lyxtext.h: remove some dead code
9502 2001-06-26 The LyX Project <Asger>
9504 * paragraph.C: Change export to LaTeX of alignment to
9505 \begin{center} and family for better roundtrip work with reLyX.
9507 * Tune the math drawing a bit.
9509 2001-06-25 The LyX Project <Asger>
9511 * LColor.C (LColor): New color for math background. New color
9514 2001-06-25 The LyX Project <jug@sad.it>
9516 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9519 * bufferlist.C (newFile): do not restrict to files ending with
9522 * BufferView_pimpl.C (MenuInsertLyXFile):
9524 2001-06-24 The LyX Project <jug@sad.it>
9526 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9529 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9531 * lyxtext.h: rename most methods to begin with a small char.
9532 Lots of changes because of this.
9534 * paragraph.C (Paragraph): do not call fitToSize
9535 (erase): call Pimpl::erase
9536 (insertChar): call Pimpl::insertChar
9537 (insertInset): call Pipl::insertInset
9538 (breakParagraph): do not call fitToSize
9539 (breakParagraphConservative): do not call fitToSize
9540 (fitToSize): remove method
9542 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9544 2001-06-24 The LyX Project <Asger>
9546 * Fix Qt compilation^2
9548 2001-06-24 The LyX Project <jug@sad.it>
9550 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9551 depthHook(getDepth()-1).
9554 * ParagraphParameters.h:
9555 * ParameterStruct.h: change type of depth to unsigned int ==
9556 depth_type. Many adaptations to other files before of that.
9558 2001-06-24 The LyX Project <Asger>
9560 * Fix Qt compilation.
9562 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9564 * paragraph.h: renamed several methods to begin with small letter.
9565 several changes to many parts of the code because of this.
9567 2001-06-23 The LyX Project <jug@sad.it>
9569 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9570 rewritten to discard all double spaces when KeepEmpty is off
9571 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9572 to only handle newlines but not fiddle with spaces and friends.
9574 * lyxfunc.C (MenuNew): when doing 'new from template', use
9575 template_path as default directory
9577 2001-06-23 The LyX Project <Asger>
9579 * Clean-up of header file includes all over
9580 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9582 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9584 * paragraph.h: renamed from lyxparagraph.h
9586 2001-06-23 Asger <lyx@violet.home.sad.it>
9588 * Buffer.h: Removed Buffer::resize
9589 * BufferList.h: Removed BufferList::resize
9590 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9591 the document lazily when we change the width, or the font settings.
9593 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9595 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9597 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9599 * buffer.h: remove out of date comment
9601 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9604 * screen.C: fix "theoretical" GC leak
9606 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9608 * LaTeX.C (scanAuxFile):
9609 (deplog): remove trailing \r when reading stream (useful under
9612 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9614 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9615 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9616 and BufferView::theLockingInset(Inset*), so should use them and not
9617 access bv_->text->the_locking_inset directly.
9619 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9621 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9624 * tex-defs.h: remove old unused file
9626 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9628 * BufferView_pimpl.C: fix typo, remove minibuffer message
9629 when buffer has loaded
9631 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9633 * lyxfunc.C (Dispatch): use stringstream
9634 (MenuNew): use stringstream
9635 (Open): use stringstream
9637 * importer.C (Import): use stringstream
9639 * bufferview_funcs.C (CurrentState): use stringstream
9641 * LaTeX.C (run): use stringstream
9643 * BufferView_pimpl.C (savePosition): use stringstream
9644 (restorePosition): use stringstream
9645 (MenuInsertLyXFile): use stringstream
9647 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9660 * vspace.C: removed // -*- C++ -*- as first line.
9663 * version.h: added // -*- C++ -*- as first line.
9665 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9667 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9669 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9672 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9674 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9677 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9679 * gettext.C: include LString.h even when --disable-nls is on.
9681 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9683 * converter.h (Get): changed argument type from int to
9684 FormatList::size_type to avoid unnecessary conversion.
9686 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9689 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9691 * gettext.h: include LString.h even when --disable-nls is on.
9693 2001-06-07 Juergen Vigna <jug@sad.it>
9695 * text.C (BreakAgain): subst spaces with tabs.
9697 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9698 (resizeInsetsLyXText): set force on resizeLyXText.
9700 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9702 * gettext.h (gettext_init):
9703 (locale_init): use a real definition instead of a macro
9705 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9707 * Bufferview_pimpl.C:
9709 * LColor.C: further lcolor tidies
9711 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9713 * BufferView_pimpl.C (updateScrollbar): simplify.
9715 * BufferView2.C: don't include insets/insetinfo.h, change
9716 prototype for insertInset and call the Pimpl version. let
9717 updateInset call Pimpl version.
9719 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9720 gotoInset to BufferView::Pimpl
9722 2001-06-01 Juergen Vigna <jug@sad.it>
9724 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9725 inside a LockingInset (is the update needed at all?).
9727 2001-05-31 Juergen Vigna <jug@sad.it>
9729 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9730 here not the old one otherwise how should we compare it afterwards
9733 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9738 * FontInfo.C: bring C functions into global namespace when
9741 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9743 * LString.h: make sure config.h has been loaded before LString.h.
9745 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9746 (one for each char read by EatLine!).
9748 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9751 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9753 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9754 to the same as the par we break from
9756 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9758 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9760 * MenuBackend.C (expand): also create menu entries for wide
9761 versions of the floats.
9763 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9765 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9767 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9768 frontends/Makefile.am
9774 * tabular.C (getTokenValue): add std::
9776 * tabular-old.C (getTokenValue): add std::
9777 (getTokenValue): ditto
9778 (getTokenValue): ditto
9780 * screen.C (ToggleSelection): adjust
9782 * lyxtext.h: put selection cursors inside a Selection struct.
9784 * lyxfunc.C (moveCursorUpdate): adjust
9786 * lyxfont.C (latexWriteStartChanges): add std::
9790 * font.h: delete with(char const *, LyXFont const &)
9792 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9794 * FontInfo.C (getFontname): add std::
9796 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9797 (workAreaButtonPress): adjust
9798 (tripleClick): adjust
9800 (moveCursorUpdate): adjust
9803 * BufferView2.C (gotoInset): adjust
9805 2001-05-30 Juergen Vigna <jug@sad.it>
9807 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9808 to check pspell I add this as default as I now have new pspell
9809 libraries and they seem to use this.
9811 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9813 * text2.C (CutSelection): make the cursor valid before the call to
9816 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9818 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9819 relied on 0 terminated strings and other horrors. Bug found due to
9820 the new assert in lyxstring!
9822 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9825 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9827 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9830 * lyxfunc.C (processKeySym): change method of getting to the
9833 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9834 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9835 * BufferView_pimpl.[Ch]: here as private methods.
9837 2001-05-28 Juergen Vigna <jug@sad.it>
9839 * text.C (SetHeightOfRow): added the update() call again as it is
9840 needed to initialize inset dimensions!
9842 2001-05-16 Juergen Vigna <jug@sad.it>
9844 * text2.C (SetCharFont): Add new function with BufferView * and
9845 bool toggleall parameters for setting insets internal fonts.
9846 (SetFont): Freeze the undo as we may change fonts in Insets and
9847 all this change should be inside only one Undo!
9849 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9850 setting font's in insets as for them we have the SetFont function!
9852 2001-05-15 Juergen Vigna <jug@sad.it>
9854 * text2.C (ClearSelection): to be sure we REALLY don't have any
9857 * tabular.C (TeXCellPreamble): fixed the left border problem for
9860 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9862 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9865 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9867 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9868 LFUN_BREAKPARAGRAPH.
9870 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9871 help test to "internal only", similar for LFUN_INSERT_URL
9873 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9874 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9875 auto_region_delete and deadkeys.
9877 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9880 * LColor.C: remove some dead entries, tidy a little
9882 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9884 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9886 (Dispatch): implement LFUN_ESCAPE
9888 * commandtags.h: add LFUN_ESCAPE
9890 * LyXAction.C (init): add entry for LFUN_ESCAPE
9892 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9893 Remove commented code.
9894 (insertNote): moved here
9895 (open_new_inset): moved here
9897 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9900 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9902 * kbmap.C (findbinding): clean it up and make it work correctly.
9904 * lyx_main.C (init): do not pass argc and argv as parameters
9906 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9908 * buffer.C: fix path for OS/2 & Win32
9912 * lyx_main.C: Added os:: class.
9914 * os2_defines.h: update
9916 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9918 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9919 better by trying again with reduced state.
9921 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9923 * lyxrc.C (read): print error about invalid key sequence only when
9924 debugging (because not all latinX keysyms are known to some X
9927 * kbsequence.C (getiso): add a few std:: qualifiers
9928 (getiso): comment out extra return statement.
9930 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9932 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9934 (Dispatch): enhance the accent inset a bit. (not perfect)
9936 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9938 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9940 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9942 * bufferlist.C (emergencyWrite): fix assert() call
9944 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9946 * text.C (InsertChar): Added trivial patch to only send the "you
9947 can not do multiple spaces this way" message once during a
9950 2001-05-08 Baruch Even <baruch@lyx.org>
9952 * Makefile.am: Changed order of libraries to get LyX to link properly
9953 with the gnome frontend.
9955 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9957 * LaTeXFeatures.h: add a std:: qualifier
9959 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9961 * paragraph.C (String): use stringstream
9963 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9965 * paragraph.C (writeFile): remove footflag arg
9967 * buffer.C (makeLaTeXFile): use stringstream
9968 (latexParagraphs): remove footnot gurba
9970 * LaTeXFeatures.C (getPackages): use stringstream
9971 (getMacros): likewise
9972 (getTClassPreamble): likewise
9973 (getFloatDefinitions): new method
9975 * paragraph.C (writeFile): reindent
9978 * WorkArea.h: revert the xpos + etc changes.
9980 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9982 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9984 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9985 (pasteSelection): likewise
9986 * text2.C (CreateUndo): likewise
9988 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9990 * minibuffer.C (peek_event): temporarily reduce the functionality
9991 of the minibuffer (to allow args on lfuns)
9993 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9994 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9996 * buffer.C (readInset): add compability reading of old float
9997 lists, add reading of new style float list.
9998 (readInset): avoid reevaluation of inscmd.getCmdName()
9999 (getLists): reindent
10001 * MenuBackend.C (MenuItem): implement parsing of
10002 md_floatlistinsert and md_floatinsert.
10003 (expand::LastFiles): move initalizaton of iterators out of loop,
10004 avoid reevaluation.
10005 (expand::Documents): introduce typdedef vector<string> Strings,
10007 (expand::ExportFormats): introduce typedef vector<Format const *>
10008 Formats, and use it.
10009 (expand): implement FloatListInsert and FloatInsert.
10011 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10012 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10013 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10015 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10017 (Dispatch::LFUN_FLOAT_LIST): implement
10019 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10021 * LaTeX.C (run): Fix problem with --export code.
10023 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10025 * BufferView.[Ch] (workarea): removed.
10026 (getClipboard) new method; wrapper for workarea()->getClipboard()
10028 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10031 * WorkArea.h (width, height, xpos, ypos): These methods all
10032 returned the dimensions of the work_area sub-area of WorkArea,
10033 resulting in a position error if the WorkArea were resized. Now
10034 return the dimensions of the entire WorkArea.
10036 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10038 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10040 * LaTeX.C (deplog): correct the syntax of regex reg1
10042 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10044 * undo.C: remove !NEW_INSETS cruft
10046 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10048 * text2.C: remove !NEW_INSETS cruft
10050 * text.C: remove !NEW_INSETS cruft
10052 * tabular.C: remove !NEW_INSETS cruft
10054 * spellchecker.C: remove !NEW_INSETS cruft
10056 * lyxtext.h: remove !NEW_INSETS cruft
10058 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10060 * lyxfunc.C: remove !NEW_INSETS cruft
10062 * lyxfind.C: remove !NEW_INSETS cruft
10064 * lyx_cb.C: remove !NEW_INSETS cruft
10066 * figureForm.C: remove !NEW_INSETS cruft
10068 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10070 * buffer.[Ch]: remove !NEW_INSETS cruft
10072 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10074 * CutAndPaste.C: remove !NEW_INSETS cruft
10076 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10078 * BufferView2.C: remove !NEW_INSETS cruft
10080 * BufferView.h: remove !NEW_INSETS cruft
10082 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10084 * Lsstream.h: include LString.h before the sstream headers to
10085 fix problem with gcc 2.95.3 and lyxstring
10087 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10089 * lyx_main.C: add using directives when needed for C functions
10090 declared in std:: namespace.
10092 2001-04-27 Juergen Vigna <jug@sad.it>
10094 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10095 (SetHeightOfRow): comment out the update call should not be needed!
10097 2001-04-13 Juergen Vigna <jug@sad.it>
10099 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10100 (LyXTabular): tried to minimize operator= operations (and realized
10101 hopfully Lars wish).
10103 2001-04-27 Juergen Vigna <jug@sad.it>
10105 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10107 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10109 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10111 * buffer.C (readInset): hack to make listof algorithm work
10113 * BufferView_pimpl.C: hack to make listof algorithm work
10115 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10117 * LyXAction.C: removed all !NEW_INSETS cruft
10118 (init): moved lfun_item in method
10120 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10122 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10124 * BufferView2.C (theLockingInset): white space.
10126 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10128 * minibuffer.C: include <iostream>
10130 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10132 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10134 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10136 * text.[Ch] (TransposeChars): new method
10138 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10140 * call message directly through LyXView instead of through LyXFunc
10141 * BufferView2.C: adjust
10142 * BufferView_pimpl.C: adjust
10143 * FontLoader.C: adjust
10145 * bufferview_funcs.C: adjust
10146 * converter.C: adjust
10147 * figureForm.C: adjust
10148 * importer.C: adjust
10150 * lyx_gui_misc.C: adjust
10151 * lyxfunc.C: adjust
10154 + more files in subdirs
10156 * lyxparagraph.h (size): move up int file
10159 * adjust all uses of Assert to lyx::Assert.
10161 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10162 lyxfunctional in namespace lyx
10163 * layout.C (hasLayout): ditto
10166 (delete_layout): ditto
10167 (NumberOfClass): ditto
10168 * converter.C (GetFormat): ditto
10173 * bufferlist.C (getFileNames): ditto
10174 (emergencyWriteAll): ditto
10177 * MenuBackend.C (hasSubmenu): ditto
10180 * BufferView_pimpl.C (getInsetByCode): ditto
10182 2001-04-18 Juergen Vigna <jug@sad.it>
10184 * vspace.C (asLatexString): fixed the 100% problem.
10186 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10188 * lyxfunc.C (Dispatch):
10190 * minibuffer.h: add a few std:: qualifiers
10192 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10194 * minibuffer.[Ch]: reimplement so that commands is initiated and
10195 run from lyxfunc, simplified som handling, and made the completion
10196 and history code for complete. wip.
10198 * lyxfunc.C (processKeySym): call message
10199 (miniDispatch): new temporary method
10200 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10201 (LFUN_MESSAGE): implement
10202 (LFUN_MESSAGE_PUSH): implement
10203 (LFUN_MESSAGE_POP): implement
10204 (initMiniBuffer): the initial/defualt minibuffer message.
10206 * lyxfont.[Ch]: inline some more getters
10208 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10210 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10212 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10213 (AutoSave): use LFUN_MESSAGE
10214 (Reconfigure): ditto
10216 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10218 * figureForm.C: use LFUN_MESSAGE
10220 * converter.C (runLaTeX): use LFUN_MESSAGE
10222 * bufferview_funcs.C: use LFUN_MESSAGE
10224 (changeDepth): ditto
10226 * bufferparams.h: use boost::
10228 * bufferlist.h: inherit privately from noncopyable
10230 * bufferlist.C (loadLyXFile): remove some commented code.
10232 * buffer.C (runChktex): use LFUN_MESSAGE
10234 * ShareContainer.h: inherit privately from noncopyable
10236 * ParagraphParameters.[hC] (depth): inline it.
10238 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10240 (message): new method
10241 (messagePush): ditto
10242 (messagePop): ditto
10243 (show): init minibuffer
10244 (showState): direct call
10246 * LaTeX.[Ch]: inherit privately from noncopyable
10247 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10248 instead of WriteStatus.
10250 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10252 * BufferView_pimpl.C (buffer): don't init minibuffer
10253 (workAreaButtonPress): use LFUN_MESSAGE
10254 (workAreaButtonRelease): ditto
10255 (savePosition): ditto
10256 (restorePosition): ditto
10257 (MenuInsertLyXFile): ditto
10258 (workAreaExpose): don't init minibuffer
10259 (update): remove commented code, simplify
10261 * BufferView2.C (openStuff): use LFUN_MESSAGE
10262 (toggleFloat): ditto
10265 (copyEnvironment): ditto
10266 (pasteEnvironment): ditto
10271 (updateInset): remove some commented code
10273 * lastfiles.h: inherit privately from noncopyable
10276 * lyx_main.h: ditto
10278 * lyxlex_pimpl.h: ditto
10280 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10281 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10282 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10284 * LyXAction.h: inherit privately from noncopyable, add methods
10285 func_begin, func_end, returning iterators to the func map.
10287 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10288 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10289 (func_begin): new method
10290 (func_end): new method
10292 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10294 (copySelection): ditto
10295 (pasteSelection): ditto
10297 * BufferView.C: whitespace change
10298 * BufferView.h: inherit privately from noncopyable
10300 2001-04-16 Allan Rae <rae@lyx.org>
10302 * tabular-old.C (l_getline):
10303 * spellchecker.C (sc_check_word):
10304 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10305 an unrecognised preprocessor directive. So ensure they're wrapped.
10307 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10309 * src/exporter.C (Export): Give an error message when path to file
10312 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10314 * LaTeX.C (deplog): Always check that foundfile exists.
10316 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10319 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10321 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10323 * tabular.[Ch] (getLabelList): implement new method
10325 * minibuffer.h: comment ouf setTiimer
10327 * minibuffer.C (ExecutingCB): constify res
10328 (peek_event): constify s
10329 (Set): constify ntext
10330 (Init): constify nicename
10332 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10334 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10335 (savePosition): use two params to Minibuffer::Set
10336 (restorePosition): ditto
10338 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10340 * lyx_main.C: include language.h
10342 * Makefile.am (lyx_main.o): add language.h
10344 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10350 * CutAndPaste.C: include gettext.h
10352 * lyxfont.h: remove old hack with ON and OFF.
10355 * lyxfont.h: do not include language.h...
10360 * bufferview_funcs.C:
10366 * paragraph.C: ... but do it here instead
10368 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10370 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10372 * tabular.C: small reformat
10374 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10377 (BreakParagraph): ditto
10378 (SetOnlyLayout): ditto
10381 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10384 * lastfiles.C: removed most using decl, add std:: where needed
10386 * buffer.C: ws changes
10388 * MenuBackend.C (class compare_format): put into anon namespace
10389 (expand): constify label, names, action, action2
10392 * text.C (SingleWidth): constify font
10393 (IsBoundary): constify rtl2
10394 (GetVisibleRow): constify ww
10396 * LaTeX.C (deplog): constify logfile
10398 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10400 (workAreaExpose): constify widthChange, heightChange
10402 * lyxrow.C (par): moved
10405 * lyxrow.h: as inlines here
10407 * lyxfont.h (shape): moved from lyxfont.C
10408 (emph): moved from lyxfont.C
10410 * lyxfont.C (LyXFont): use initialization list for all
10412 (shape): move to lyxfont.h as inline
10413 (emph): move to lyxfont.h as inline
10416 2001-04-04 Juergen Vigna <jug@sad.it>
10418 * vspace.C: had to include stdio.h for use of sscanf
10420 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10423 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10424 independent of xforms.
10426 2001-04-02 Juergen Vigna <jug@sad.it>
10428 * spellchecker.C: fixed namespace placing!
10430 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10432 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10433 the LyXParagraph * is 0.
10435 2001-03-29 Juergen Vigna <jug@sad.it>
10437 * vspace.C: added support for %, c%, p%, l%.
10438 (stringFromUnit): added helper function.
10439 (asLatexString): changed to give right results for the %-values.
10441 * buffer.C: convert the widthp in a width%.
10443 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10445 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10448 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10449 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10451 * lyx_cb.[Ch]: see above.
10453 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10457 * lyx.[Ch]: replaced by figure_form.[Ch].
10461 * lyxfunc.C: changed headers associated with above changes.
10463 2001-03-27 Juergen Vigna <jug@sad.it>
10465 * BufferView_pimpl.C: set the temporary cursor right!
10467 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10469 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10471 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10473 * LString.h: removed "using std::getline"!
10475 * BufferView_pimpl.C (Dispatch): changes due to changes in
10476 InsetInclude::Params.
10478 * buffer.C (tag_name): removed redundant break statements as they were
10479 producing lots of warnings with my compiler.
10481 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10483 * LString.h: add "using std::getline" when using the real <string>.
10485 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10487 * buffer.C: removed bitset usage.
10488 PAR_TAG moved to an anonymous name space.
10489 (tag_name): new funtion, also in the anonymous namespace.
10490 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10491 (makeDocBookFile): clean code. Completed transition from string arrays
10493 (SimpleDocBookOnePar): code clean.
10495 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10497 * tabular.C: add some comments.
10499 2001-03-22 Juergen Vigna <jug@sad.it>
10501 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10502 compatibility read a bit and fixed bug with minipage in different
10505 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10507 * buffer.C (pop_tag): removed.
10508 (push_tag): removed.
10509 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10510 array replaced with vector. Added support for CDATA sections.
10511 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10513 (makeDocBookFile): XML conformant declaration of CDATA section,
10514 fixed bug related to <emphasis> in the first paragraph char.
10515 (sgmlOpenTag): exclude empty tags.
10516 (sgmlCloseTag): ditto.
10518 * buffer.h (pop_tag): removed.
10519 (push_tag): removed.
10521 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10523 * language.h (Languages): added size_type and size().
10525 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10527 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10528 response on compability reading of minipages. One probliem is that
10529 the old usage of minipages was «flertydig»
10531 * several files here and in subdirs: don't use static at file
10532 scope use anon namespaces instead.
10534 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10536 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10537 LaTeX output. This is necessary for Literate document
10540 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10542 * buffer.C: insert hfill when needed.
10544 * tabular.C (l_getline): use string::erase, small whitespace change.
10546 * BufferView_pimpl.C: try the anon namespace.
10547 * WorkArea.C: ditto
10549 2001-03-16 Juergen Vigna <jug@sad.it>
10551 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10552 otherwise it won't open options-dialogs.
10554 * buffer.C: honor pextraWidth(p) on converting minipages.
10556 * tabular.C (l_getline): changed the functions to strip trailing \r.
10558 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10560 * BufferView_pimpl.C:
10561 * minibuffer..C: added "using SigC::slot" declaration.
10563 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10565 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10571 * paragraph.C: ditto
10573 * lyxtext.h: NO_PEXTRA
10575 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10577 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10578 * ParameterStruct.h: ditto
10579 * ParagraphParameters.h: ditto
10580 * lyxparagraph.h: ditto
10582 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10584 * buffer.C: add compability for minipage alignment.
10585 (latexParagraphs): remove unwanted pextra check.
10587 * several files: remove CXX_WORKING_NAMESPACES
10589 * buffer.C (pop_tag): tie is in namespace boost
10591 * BufferView.h: noncopyable is in namespace boost
10593 * lyx_main.h: ditto
10596 * lastfiles.h: ditto
10597 * bufferlist.h: ditto
10598 * ShareContainer.h: ditto
10600 * LyXAction.h: ditto
10603 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10605 * Merging changes from BRANCH_MVC back into HEAD.
10607 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10609 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10611 * BufferView_pimpl.C: change from intl.C
10615 * Makefile.am: move combox.*
10621 * intl.C: remove dialog (covered by prefs)
10623 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10625 * lyxfunc.C (Dispatch): removed redundant break statement.
10627 2001-03-14 Juergen Vigna <jug@sad.it>
10629 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10631 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10633 * buffer.C: add hack to fix compability reading of minipages.
10635 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10637 * buffer.C (getLists): Cleanup.
10639 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10641 * lyxfont.C (update): don't honor toggleall on font size.
10643 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10647 * Makefile.am: moved to frontends/xforms/
10651 * BufferView_pimpl.C: changes for moved mathpanel
10653 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10655 * gettext.h: fix gettext_init() in --disable-nls
10657 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10659 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10661 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10664 * lyx.h: strip external form
10666 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10668 * BufferView_pimpl.C: add comment, destroySplash()
10670 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10672 * BufferView_pimpl.C:
10676 * lyxfunc.C: use re-worked insetinclude
10678 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10680 * buffer.C: add using std::stringstream.
10682 * lyx_cb.C: readd using std::ios.
10684 * buffer.C: add using std::map.
10686 * BufferView_pimpl.C: add using std::vector.
10688 * ShareContainer.h: add std:: to swap.
10690 * buffer.h: add some typedefs
10691 * buffer.C (getLists): use them
10692 (getLists): renamed from getTocList.
10693 add a counter for the different float types and use it in the
10695 (getLists): use the same counter for the NEW_INSETS and the "non"
10698 * lyx_cb.h: remove unused items, includes, using etc.
10700 * ShareContainer.h: remove some commented code, add more comments
10701 and "documentation".
10703 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10705 * buffer.C (getTocList): make the list also when NEW_INSETS is
10708 * buffer.h: remove TocType
10710 * buffer.C (getTocList): change to return a map<string,
10711 vector<TocItem> >, implement for dynamic number of list.
10713 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10714 * text2.C (PasteSelection): adjust
10715 * CutAndPaste.C (pasteSelection): adjust
10717 * FloatList.C (FloatList): update from the new_insets branch.
10718 * Floating.[Ch]: ditto
10719 * LaTeXFeatures.C: ditto
10721 * lyxlex_pimpl.C: ditto
10723 * paragraph.C (Last): remove when NEW_INSETS is defined.
10725 * other file: changes because of the above.
10727 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10729 * lyxparagraph.h: rename next to next_, previous to previous_,
10730 make them private for NEW_INSETS. Rename Next() to next(),
10731 Previous() to previous().
10733 * other files: changes because of the above.
10735 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10738 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10741 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10743 * main.C (main): pass lyx_localedir to gettext_init().
10745 * gettext.h: remove locale_init and gettext_init macros
10747 * gettext.C (locale_init): new function
10748 (gettext_init): new function
10750 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10753 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10755 * Moved credits to frontends:
10756 * credits.[Ch]: removed
10757 * credits_form.[Ch]: removed
10758 * lyx_gui_misc.C: remove credits stuff
10761 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10763 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10765 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10766 unneeded destructor.
10768 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10769 a standalone pointer again.
10771 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10773 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10779 * ToolbarDefaults.C:
10788 * BufferView_pimpl.C: use new file dialog in GUII
10791 * lyx_cb.C: remove LayoutsCB to Toolbar
10793 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10795 * ShareContainer.h (get): add std:: qualifier
10797 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10799 * ShareContainer.h: define a proper ShareContainer::value_type
10800 type (and use typename to please compaq cxx)
10802 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10804 * lyxparagraph.h: move serveral local vars to
10805 ParameterStruct/ParagraphParameters., use ShareContainer in
10806 FontTable., make vars in FontTable private and add getter and
10809 * paragraph.C: changes because of the above.
10811 * lyxfont.h: remove copy constructor and copy assignment. (the
10812 default ones is ok), move number inside FontBits. move inlines to
10815 * lyxfont.C: add number to initializaton of statics, move several
10816 inlines here. constify several local vars. some whitespace
10817 cleanup. Dont hide outerscope variables.
10819 * Spacing.h: add two new constructors to match the set methods.
10821 * ShareContainer.h: new file, will perhaps be moved to support
10823 * ParameterStruct.h: new file
10825 * ParagraphParameters.h: new file
10827 * ParagraphParameters.C: new file
10829 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10830 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10832 * BufferView_pimpl.C: ParagraphParameter changes.
10833 * buffer.C: Likewise.
10834 * bufferview_funcs.C: Likewise.
10835 * text.C: Likewise.
10836 * text2.C: Likewise.
10838 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10840 * lyxfind.C (LyXReplace): do not redefine default argument in
10842 (IsStringInText): ditto
10843 (SearchForward): ditto
10844 (SearchBackward): ditto
10846 2001-03-06 Juergen Vigna <jug@sad.it>
10848 * lyxfind.C (IsStringInText): put parentes around expressions.
10850 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10852 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10854 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10856 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10858 * stl_string_fwd.h: add comment
10860 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10863 * tabular.C: remove unused DocBook methods
10869 killed DO_USE_DEFAULT_LANGUAGE
10871 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10873 * lyx_gui.C: do not include language.h.
10875 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10876 arguments in function implementation.
10878 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10880 * BufferView_pimpl.C: add <ctime>
10882 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10884 * BufferView_pimpl.C: add using std::find_if
10886 2001-02-27 José Matos <jamatos@fep.up.pt>
10888 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10891 2001-02-11 José Matos <jamatos@fep.up.pt>
10893 * buffer.C (makeDocBookFile): command styles now have a parameter as
10894 "title" by default.
10896 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10898 * layout_forms.[Ch]: removed
10899 * lyx_cb.[Ch]: out character
10900 * lyx_gui.C: out character
10901 * lyx_gui_misc.C: out character
10902 * bufferview_funcs.C: : out character,
10903 added toggleall as parameter in ToggleAndShow
10905 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10907 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10909 * text2.C (SetCurrentFont): Disable number property at boundary.
10911 2001-02-26 Juergen Vigna <jug@sad.it>
10913 * lyxfunc.C (getStatus): added a string argument override function so
10914 that this is correctly called from LyXFunc::Dispatch if it contains a
10915 do_not_use_argument which is used!
10916 (Dispatch): added check for "custom" export and call appropriate func.
10918 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10920 * lyxrc.C: Add language_command_local, language_use_babel and
10921 language_global_options.
10923 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10925 * buffer.C (makeLaTeXFile): Use language_use_babel and
10926 language_global_options.
10928 2001-02-23 Juergen Vigna <jug@sad.it>
10930 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10931 which works with LyXText and putted it inside BufferView. Here now we
10932 only call for that part the BufferView::Dispatch() function.
10934 * BufferView.C (Dispatch): added.
10936 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10937 functions which needs to use a LyXText over from LyXFunc.
10938 (MenuInsertLyXFile): added
10939 (getInsetByCode): added
10940 (moveCursorUpdate): added
10941 (static TEXT): added
10943 2001-02-22 Juergen Vigna <jug@sad.it>
10945 * BufferView_pimpl.C (update): call a status update to see if LyXText
10948 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10950 * vc-backend.C (revert): implement for CVS
10951 (getLog): implement for CVS
10953 2001-02-20 Juergen Vigna <jug@sad.it>
10955 * text2.C (ClearSelection): added BufferView param for inset_owner call
10957 * lyxfunc.C (TEXT): added this function and use it instead of
10958 directly owner->view()-text of getLyXText().
10960 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10962 * src/layout_forms.C: out preamble
10963 * src/layout_forms.h: out preamble
10964 * src/lyx_cb.C: out preamble
10965 * src/lyx_cb.h: out preamble
10966 * src/lyx_gui.C: out preamble
10967 * src/lyx_gui_misc.C: out preamble
10968 * src/lyxfunc.C: connect with guii preamble
10970 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10972 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10974 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10976 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10977 whether to run bibtex.
10979 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10981 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10983 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10985 * Makefile.am (lyx_SOURCES): removed bibforms.h
10987 * vspace.h: doxygen
10989 * text.C (GetVisibleRow): make several local vars const
10991 * tabular.C: small cleanup.
10993 * lyxserver.C (callback): use compare instead of strncmp
10995 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10996 inlines to after class or to paragraph.C
10998 * lyxfont.h: remove friend operator!=
11000 * converter.h: move friend bool operator< to non friend and after
11003 * combox.h: small cleanup
11005 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11006 to inlines after class def.
11008 * buffer.C (pop_tag): use string operations instead of strcmp
11010 * bmtable.c: doxygen, small cleanup
11012 * LaTeX.h: remove friend operator==
11014 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11026 * BufferView_pimpl.C:
11027 * BufferView.[Ch]: remove cruft
11029 2001-02-14 Juergen Vigna <jug@sad.it>
11031 * lyxfunc.C: removed #if 0 unused code
11033 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11035 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11037 * text2.C (SetSelection): added a BufferView * parameter
11039 2001-02-13 Juergen Vigna <jug@sad.it>
11041 * lyxfunc.C (Dispatch): fixed protected blank problem.
11042 * BufferView2.C (protectedBlank): added LyxText * parameter.
11044 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11045 (AppendColumn): same as above for column_info.
11047 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11048 (moveCursorUpdate): use a LyXText param for support of InsetText.
11050 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11051 (tripleClick): ditto
11053 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11055 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11057 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11059 * text2.C (SetSelection): set correct update status if inset_owner
11060 (ToggleFree): ditto
11062 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11064 * tabular.C: remove some commented code.
11066 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11068 * BufferView_pimpl.C: call hideSplash()
11070 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11073 * bibforms.h: remove
11076 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11077 add LFUN_CHILD_CREATE
11079 * counters.h: fix tiny typo
11084 * lyx.C: move splash to frontends/xforms/
11086 * lyx_gui_misc.C: move Include and Bibform to frontends
11088 * lyxvc.h: clarify comment
11090 * vspace.C: tiny housekeeping
11092 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11094 * text.C (PrepareToPrint): RTL Fix.
11096 * paragraph.C (GetUChar): New method.
11097 (String): Use GetUChar.
11099 * buffer.C (asciiParagraph): Use GetUChar.
11101 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11103 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11105 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11108 * buffer.C: rename to getLogName(), handle
11109 build log / latex log nicely
11111 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11114 * MenuBackend.h: remove support for reference menuitem type.
11116 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11118 * BufferView_pimpl.C: housekeeping
11119 * BufferView_pimpl.h:
11124 * minibuffer.h: move Timeout GUI-I
11126 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11128 * lyxrc.C (read): Update converters data-structures.
11130 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11132 * LaTeX.h (operator!=): add operator != for Aux_Info
11134 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11136 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11138 * LaTeXLog.C: deleted, useful code moved to Buffer
11141 * buffer.C: new function getLatexLogName()
11147 * lyxfunc.C: use frontends for LaTeX and VC logs
11149 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11151 * LaTeX.h: yet another std:: that Allan forgot.
11153 * Variables.C (set): renamed from isset(), because this clashes
11154 with some HP-UX macros (grr).
11156 2001-02-06 Allan Rae <rae@lyx.org>
11158 * LaTeX.h: Another bug fix. Missing std:: this time.
11160 2001-02-04 Allan Rae <rae@lyx.org>
11162 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11163 floats problem. I've left it commented out because it's not quite
11164 correct. It should also test that the current object is a table or
11165 figure inset. But I haven't gotten around to figuring out how to do
11166 that. I *think* it'll be something like: "table" == inset.type()
11168 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11171 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11173 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11174 all the citation/databases/styles in the auxilary file.
11175 (run): Rerun latex if there was a babel language error.
11177 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11179 * text.C (Backspace): Preserve the font when changing newline char
11181 (BreakParagraph): If the cursor is before a space, delete the space.
11183 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11185 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11187 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11188 new argument (code).
11189 (ChangeCitationsIfUnique): New method.
11191 * paragraph.C (GetPositionOfInset): Handle bibkey.
11193 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11195 * BufferView_pimpl.h: change type of Position::par_pos to
11196 LyXParagraph::size_type.
11198 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11200 * BufferView_pimpl.C (savePosition, restorePosition): Write
11201 messages to minibuffer.
11203 2001-01-28 José Matos <jamatos@fep.up.pt>
11205 * buffer.C (makeDocBookFile): adds support for document language.
11206 A silly restriction on the name of LatexCommand types where removed.
11207 Added support for CDATA sections, allows to chars unescaped, used
11208 among others in code, to avoid escape < and >.
11210 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11212 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11213 saved positions instrad of a stack. Furthermore, a position is
11214 stored using paragraph id/paragraph position.
11216 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11217 Remove LFUN_REF_BACK.
11219 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11221 * converter.C (dvipdfm_options): New method.
11223 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11225 * vspace.C (isValidLength): Fix for empty input string.
11227 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11229 * LyXAction.C (init): change description of LFUN_FIGURE to
11232 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11234 * LaTeX.C: add using directive
11236 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11238 * MenuBackend.C (expand): Fix the sorting of the formats.
11240 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11242 * lyx_main.C: tiny error message fix
11244 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11246 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11247 calling fl_initialize(). This fixes the problem with ',' as
11248 decimal separator in text files.
11250 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11252 * trans.C (process): Fix the keymap bug.
11254 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11256 * LaTeX.C (scanAuxFiles): New method. Provides support for
11257 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11258 (scanLogFile) Scan for "run BibTeX" messages.
11260 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11261 OT1 font encoding. Also, load the aecompl package if the ae
11264 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11266 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11268 * texrow.C (increasePos): turn two error messages into debug
11271 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11273 * LaTeX.C (scanAux): Handle the \@input macro.
11274 (runBibTeX): Use scanAux().
11276 * language.C (latex_options_): New field.
11278 * LaTeXFeatures.C (getMacros): Add language macros.
11280 * buffer.C (makeLaTeXFile): Small fix.
11282 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11284 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11286 * text2.C: add a using directive.
11288 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11293 * lyxfunc.C: kill LyXBell.
11295 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11297 * text.C (IsBoundary): Remove the error message
11299 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11301 * lyxrc.C (setDefaults): Correct initialization value for
11304 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11306 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11309 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11310 and GotoNextNote().
11312 * src/LyXAction.C: Added reference-next.
11314 * text.C (InsertChar): Use contains instead of strchr.
11316 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11318 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11320 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11321 alignment commands (when needed).
11323 * text.C (InsertChar): Add ':' to number separator chars.