1 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
3 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4 moved errorlist_.clear to showErrorList
6 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
8 * converter.C (scanLog, runLaTeX):
9 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
10 move the bv->showErrorList call to the callers
11 * lyxfunc.C: i.e. here...
13 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
14 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
15 namespace, the second to...
16 * buffer_funcs (BufferFormat, parseErrors): added
17 * errorlist.C (ErrorList(TeXErrors const &)): removed
19 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
21 * ToolbarBackend.C (getIcon): complain when icon cannot be found
23 2003-06-24 "Garst R. Reese" <reese@isn.net>
27 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
29 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
31 * version.C.in: change docversion to 1.4
33 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
35 * buffer.C: fix a bug just introduced
37 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
39 * buffer.[Ch]: added the parseError signal and use it, removed
41 * BufferView.[Ch] (addError): moved to ...
42 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
43 to the Buffer::parseError signal to catch (guess what) parse errors
44 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
46 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
48 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
49 ability to create a buffer and to return an existing one from
50 the list. Moved these functions to...
51 * buffer_funcs.[Ch]: added
52 * BufferView.[Ch] (loadLyXFile): added
53 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
54 job removed from bufferlist::loadLyXFile.
55 * buffer.C (setReadOnly): make it work without view
56 (i.e added an if (users))
58 2003-06-19 Angus Leeming <leeming@lyx.org>
62 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
63 with LFUN_DIALOG_SHOW <name> <data>.
65 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
67 * CutAndPaste.C (availableSelections): small compilation fix for
68 ancient (gcc 2.9x) compilers
70 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
72 * text3.C (cursorNext): add tmp var
74 * text2.C (updateCounters): for function calling out of for clause
75 (replaceSelectionWithString): ditto
76 (insertStringAsParagraphs): ditto
77 (getColumnNearX): add tmp var
78 (setCursorFromCoordinates): add tmp var
79 (cursorDownParagraph): add tmp var
80 (deleteEmptyParagraphMechanism): add tmp var
82 * text.C (insertChar): add tmp var
84 * rowpainter.C (paintDepthBar): add tmp var
86 * CutAndPaste.C (availableSelections): potentially check all
87 paragraphs in a cut to fill the shown strings.
89 2003-06-18 André Pönitz <poenitz@gmx.net>
91 * kbmap.[Ch]: use vector<> instead of list<>
93 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
95 * text3.C (dispatch): handle arg to LFUN_PASTE, call
96 pasteSelection with index
98 * text2.C (pasteSelection): modify, call pasteSelection with index
100 * paragraph.C (asString): reimplement version with no interval to
101 call the one with interval.
103 * lyxtext.h: add index arg to pasteSelection
105 * MenuBackend.C (MenuItem): handle PasteRecent
106 (Menu::read::Menutags): add md_pasterecent
108 (expandPasteRecent): new function
111 * MenuBackend.h: add PasteRecent to MenuItem::Kind
113 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
115 (availableSelections): new function
117 2003-06-17 Angus Leeming <leeming@lyx.org>
119 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
121 2003-06-17 Angus Leeming <leeming@lyx.org>
124 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
126 * lyxfunc.C (dispatch): invoke it.
128 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
130 * iterators.C (operator++, ParPosition): reintroduce some
131 const_cast for the benefit of older compilers.
133 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
135 * text3.C (dispatch): do not modify clipboard when doing
136 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
137 LFUN_DELETE_SKIP on a selection selection
139 2003-06-16 André Pönitz <poenitz@gmx.net>
145 * tabular.[Ch]: IU of clone() and getLabelList();
147 2003-06-13 André Pönitz <poenitz@gmx.net>
149 * tabular.h: compactification
151 2003-06-12 André Pönitz <poenitz@gmx.net>
155 * tabular_funcs.h: some renaming plus whitespace
157 2003-06-12 André Pönitz <poenitz@gmx.net>
160 * BufferView_pimpl.C:
166 * toc.C: Return a Paragraph & for ParIterator::operator*()
168 2003-06-11 John Levon <levon@movementarian.org>
172 * ToolbarBackend.C: add "Toolbars" section and
175 2003-06-10 Angus Leeming <leeming@lyx.org>
178 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
180 * lyxfunc.C (dispatch): invoke it.
182 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
184 * main.C: protect <ios> with HAVE_IOS
185 (main): protect sync_with_stdio with HAVE_IOS
187 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
189 * text2.C (cutSelection): adjust
190 (pasteSelection): adjust
192 * messages.C: handle get of empty string
194 * main.C (main): use sync_with_stdio(false)
196 * lyxfunc.C (dispatch): adjust
198 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
199 (WriteAs): remove unneeded BufferView arg.
201 * bufferparams.h: use correct types on papersize, papersize2 and
204 * bufferparams.C (readToken): adjust for type
205 (writeLaTeX): add missing cases to switch.
207 * bufferlist.C (quitWriteBuffer): adjust
210 * buffer.C (asciiParagraph): remove some commented code.
212 * CutAndPaste.C: remove current_view extern variable.
213 (cutSelection): add BufferParams arg.
214 (eraseSelection): add BufferParams arg.
215 (pasteSelection): add Buffer const & arg
217 2003-06-07 John Levon <levon@movementarian.org>
225 * paragraph.C: allow InsetERT to freely space lines,
226 and some consolidation of code
228 2003-06-06 José Matos <jamatos@fep.up.pt>
230 * buffer.C (makeDocBookFile): fix bug #821
232 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
234 * BufferView_pimpl.C (dispatch): use Dialogs::visible
236 2003-06-04 Angus Leeming <leeming@lyx.org>
238 * buffer.C: bump format to 224.
240 2003-06-05 André Pönitz <poenitz@gmx.net>
242 * text2.C (redoParagraphs): remove two const_cast<>
244 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
246 * ParagraphList.h: remove last remnants of NO_STD_LIST
248 2003-06-03 Angus Leeming <leeming@lyx.org>
250 * factory.C (createInset): small change to the way InsetExternal's params
253 2003-06-04 André Pönitz <poenitz@gmx.net>
255 * buffer.h: use Undo directly instead of shared_ptr<Undo>
258 * paragraph.[Ch]: some Inset -> UpdatableInset changes
260 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
262 * undo_funcs.C: make some simple cases of undo work again
264 2003-06-03 John Levon <levon@movementarian.org>
266 * ispell.C: HPUX doesn't have sys/select.h
269 2003-06-03 John Levon <levon@movementarian.org>
271 * CutAndPaste.C: update tabular and include inset
276 * paragraph.C: remove owningBuffer(), don't pass Buffer
279 * factory.C: insetGraphicsParams changed
281 2003-06-02 John Levon <levon@movementarian.org>
287 * text3.C: remove insetparent
289 2003-06-02 John Levon <levon@movementarian.org>
292 * buffer.C: fix inset_iterator.end(), move out of line
295 2003-06-01 John Levon <levon@movementarian.org>
297 * text3.C: use a proper cut/paste when doing inset
298 insert (from Jürgen Spitzmüller)
300 2003-06-01 John Levon <levon@movementarian.org>
302 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
304 2003-05-30 André Pönitz <poenitz@gmx.net>
306 * rowpainter.C: unify second drawing phase
308 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
310 * trans_mgr.C: remove one case of current_view
312 * text2.C (cursorBottom): delete NO_STD_LIST stuff
314 * paragraph_funcs.h: remove paragraph.h include
316 * paragraph.h: delete NO_STD_LIST stuff
318 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
320 * buffer.h: remove paragraph.h include
322 * ParagraphList.C: delete file
324 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
326 * toc.C (getTocList): adjust
328 * paragraph_pimpl.C (validate): adjust
330 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
332 * paragraph.C (Paragraph): adjust
333 (getPositionOfInset): use const_iterator, adjust
334 (bibitem): use const_iterator, adjust
335 (setInsetOwner): adjust
337 * iterators.C (operator++): adjust
339 * InsetList.[Ch]: Replace selfmade iterator with standard
340 vector::iterator also introduce const_iterator. Remove getPos,
341 getInset and setInset from InsetTable. Adjust accordingly.
343 * BufferView.C (lockInset): adjust
344 (ChangeInsets): adjust
346 * tabular.[Ch]: delete commented same_id functions
348 2003-05-28 John Levon <levon@movementarian.org>
350 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
352 2003-05-28 André Pönitz <poenitz@gmx.net>
354 * metricsinfo.[Ch]: remove 'fullredraw' member
356 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
358 * lyxtextclass.C (operator): remove caching.
360 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
364 * text2.C (cursorBottom): adjust
365 (setCounter): use ParagraphList::find, adjust
367 * text.C (workWidth): use ParagraphList::find, adjust
369 * lyxcursor.C (LyXCursor): adjust
371 * buffer.C (inset_iterator): adjust
373 * ParagraphList.h: make iterator(value_type) private, make
374 ParagraphList a friend of iterator.
376 * ParagraphList.C (find): new function
378 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
380 2003-05-27 André Pönitz <poenitz@gmx.net>
382 * dimension.[Ch]: a -> asc, d -> des, w -> wid
384 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
386 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
388 2003-05-26 John Levon <levon@movementarian.org>
390 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
392 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
394 * remove same_id from function signatures, adjust.
396 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
398 * undo_funcs.C (createUndo): use the id functions directly, adjust.
400 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
402 * paragraph.C (Paragraph): get rid of same_ids parameter
404 * ParagraphList.C (insert): adjust
407 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
409 * paragraph_funcs.C (breakParagraph): adjust
410 (breakParagraphConservative): adjust
412 * buffer.C (readParagraph): adjust
414 * ParagraphList.C (insert): take a reference instead of a pointer
417 * paragraph.[Ch] (id): new function
419 * bufferlist.C (newFile): adjust
421 * ParagraphList.C (ParagraphList): adjust
423 (push_back): take a reference instead of a pointer.
425 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
427 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
430 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
431 set else use old code.
433 * ParagraphList.C: remove all NO_NEXT code and only compile this
434 code of NO_STD_LIST is set.
436 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
438 * BufferView_pimpl.C:
448 * graphics/GraphicsConverter.C:
449 * graphics/PreviewLoader.C: header adjustment
451 2003-05-23 Angus Leeming <leeming@lyx.org>
453 * LaTeXFeatures.[Ch] (useBabel): new method.
454 * bufferparams.C (writeLaTeX): use it.
456 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
458 * ParagraphList.h (set): remove unused function.
460 2003-05-23 André Pönitz <poenitz@gmx.net>
463 * BufferView_pimpl.C:
467 * undo_funcs.C: setUndo reworked
469 * iterators.[Ch]: add access to topmost ParagraphList
471 * lyxtext.[Ch] (workWidth): add a const
473 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
475 * texrow.[Ch] (increasePos): remove function
476 * exporter.C (export): removed unused var and outdated comment
478 2003-05-23 Angus Leeming <leeming@lyx.org>
480 * latexrunparams.h: rename fragile as moving_arg.
481 * paragraph.C (simpleTeXOnePar): ditto.
482 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
484 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
486 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
488 (textUndoOrRedo): comment out a currently unused var.
490 * paragraph.h (NO_NEXT): enable NO_NEXT
492 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
494 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
496 * exporter.C (Export): adjust for removeAutoInsets removal.
498 * buffer.C (runChktex): adjust for removeAutoInsets removal.
500 * LyXAction.C (init): remove LFUN_REMOVEERRORS
502 * BufferView.[Ch] (removeAutoInsets): delete function
504 2003-05-22 Angus Leeming <leeming@lyx.org>
506 * latexrunparams.h: add a free_spacing variable.
508 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
509 to pass moving_arg, as the data is stored in runparams.fragile.
511 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
512 to Inset::latexOptional or to simpleTeXOnePar.
514 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
515 free_spacing arg to Inset::latexOptional.
517 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
520 2003-05-22 Angus Leeming <leeming@lyx.org>
522 * latexrunparams.h: add fragile and use_babel variables.
524 * bufferparams.[Ch] (writeLaTeX): return use_babel.
525 * buffer.C (makeLaTeXFile): store this returned value in
526 runparams.use_babel, thus passing it to the inset::latex methods.
528 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
529 simpleTeXSpecialChars as it is now stored in runparams.fragile.
531 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
532 longer has a fragile arg, as it is stored in runparams.fragile.
534 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
535 moving_arg parameter as the data is stored in runparams.fragile.
537 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
538 a fragile parameter as the data is stored in runparams.fragile.
540 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
542 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
544 2003-05-22 Angus Leeming <leeming@lyx.org>
546 * latexrunparams.h: add a 'bool nice' which defaults to false.
548 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
549 now encapsulated within runparams.
551 * bufferlist.C (updateIncludedTeXfiles):
552 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
554 2003-05-22 Angus Leeming <leeming@lyx.org>
556 * latexrunparams.h: new file containing struct LatexRunParams.
557 * Makefile.am: add new file.
559 * LaTeX.[Ch] (c-tor, run):
560 * buffer.[Ch] (makeLaTeXFile):
561 * bufferlist.[Ch] (updateIncludedTeXfiles):
562 * converter.C (convert, scanLog):
563 * converter.[Ch] (runLaTeX):
564 * exporter.C (Export):
565 * paragraph.[Ch] (simpleTeXOnePar):
566 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
567 * paragraph_funcs.[Ch] (latexParagraphs):
568 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
569 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
570 pass around a LatexRunParams parameter.
572 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
574 * paragraph.[Ch]: remove unused constructor
576 * ParagraphList.C (erase): new function, taking two iterators
578 2003-05-22 André Pönitz <poenitz@gmx.net>
580 * undo_funcs.C: remove duplicated code
582 * iterator.[Ch]: operator=
584 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
586 * tabular.C (SetMultiColumn): ws changes
588 * rowpainter.C (paintFirst): get rid of a ->previous
590 * lyx_cb.C (getPossibleLabel): parlist simplification
592 * BufferView.C (ChangeInsets): simplify slightly.
594 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
596 * LyXAction.C: new lfun space-insert, kill protected-space-insert
597 * lfuns.h: new LFUN_SPACE
598 * lyxfunc.C: protected space has a new lfun
599 * paragraph_funcs.C: read new space insets
601 * factory.C: handle new space insets
603 2003-05-22 André Pönitz <poenitz@gmx.net>
606 * BufferView_pimpl.C:
609 * undo_funcs.C: return a ParIterator from getParFromID.
611 * iterators.[Ch]: add two const's
613 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
615 * toc.C (getTocList): adjust
617 * iterators.[Ch]: rework for parlist
619 * buffer.C (par_iterator_begin): adjust
620 (par_iterator_end): adjust
622 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
624 * BufferView.C (removeAutoInsets): adjust
625 (ChangeInsets): adjust
627 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
629 * text.C (top_y): fix bug 1110
631 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
633 * errorlist.[Ch]: added
636 * BufferView_pimpl.C:
637 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
640 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
642 * Makefile.am: ensure that lyx is relinked upon changes to the
643 various "convenience" libs.
645 2003-05-20 Angus Leeming <leeming@lyx.org>
647 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
648 files are compiled in alphabetical order again.
650 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
652 2003-05-19 Angus Leeming <leeming@lyx.org>
654 * gettext.[Ch]: remove "char const * _(char const *)".
656 2003-05-19 André Pönitz <poenitz@gmx.net>
658 * dimension.[Ch]: promote from mathed/dimension.[Ch]
667 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
669 2003-05-19 André Pönitz <poenitz@gmx.net>
675 * paragraph_funcs.[Ch]:
677 * text3.C: more insetenv work
679 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
681 * ParagraphParameters.C (params2string): small bug fixed
683 2003-05-16 André Pönitz <poenitz@gmx.net>
686 * bufferview_funcs.C: patch from Kornel Benko to prevent
687 crash when _(...) is called twice in a statement
689 2003-05-16 André Pönitz <poenitz@gmx.net>
696 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
698 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
700 * lyx_main.C (init): remove spurious static_cast
702 2003-05-14 André Pönitz <poenitz@gmx.net>
704 * BufferView.C: fix format string
706 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
708 * BufferView.[Ch] (insertErrors): removed
709 * BufferView.[Ch] (showErrorList): added
710 * buffer.C (runChkTeX):
711 * converter.C (scanLog): call showErrorList instead of inserterrors
713 2003-05-13 André Pönitz <poenitz@gmx.net>
715 * BufferView_pimpl.C:
724 * tabular_funcs.h: tostr() from its own header
726 * ParagraphParameters.C:
733 2003-05-12 André Pönitz <poenitz@gmx.net>
736 * BufferView_pimpl.C:
740 * ParagraphParameters.C:
744 * bufferview_funcs.C:
761 * text3.C: boost::format -> bformat all over the place
764 2003-05-09 André Pönitz <poenitz@gmx.net>
766 * LColor.[Ch]: Pimpl the #include <map> away
768 2003-05-09 John Levon <levon@movementarian.org>
770 * bufferlist.C: never remove emergency saves
772 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
774 * Makefile.am: better lib building
776 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
778 * texrow.[Ch]: remove dependency on Paragraph and just store a id
780 * paragraph_pimpl.C (simpleTeXBlanks): adjust
781 (simpleTeXSpecialChars): adjust
782 (simpleTeXSpecialChars): adjust
783 * paragraph.C (simpleTeXOnePar): adjust
784 * buffer.C (makeLaTeXFile): adjust
786 * Makefile.am (BOOST_LIBS): allow boost as system lib.
788 * text2.C (changeDepth): parlist cleanup
789 (getColumnNearX): ditto
791 * rowpainter.C (getLabelFont): parlist cleanup
793 * bufferlist.C (newFile): parlist cleanup
795 * CutAndPaste.C (eraseSelection): parlist cleanup
797 * BufferView_pimpl.C (trackChanges): parlist cleanup
800 * BufferView.C (lockInset): parlist cleanup.
801 (ChangeInsets): ditto
803 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
805 * CutAndPaste.h: Update file header.
807 * CutAndPaste.C: Update file header.
808 Store the parts cut out of the Document in a limited_stack.
809 (copySelection): adjust
810 (pasteSelection): new function, takes the index in the limited stack.
811 (nrOfParagraphs): adjust
812 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
813 simplify error inset insertion.
814 (checkPastePossible): adjust
816 2003-05-06 John Levon <levon@movementarian.org>
818 * text2.C: don't cast wrap inset to float
820 2003-05-05 André Pönitz <poenitz@gmx.net>
823 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
825 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
826 few naked Paragraph *.
828 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
830 * bufferparams.C: Output warning if a document with missing
831 TeX document class is loaded
832 * exporter.C: Disable TeX exports if the document class is missing
835 * lyxtextclasslist.C: Handle new textclass.lst format; new method
836 isTeXClassAvailable()
838 2003-05-03 John Levon <levon@movementarian.org>
841 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
842 explicit cursor show/hide
844 * BufferView_pimpl.h:
845 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
846 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
848 * lyxfunc.C: hide cursor before dispatching.
853 * text3.C: remove explicit cursor hides
855 2003-05-02 André Pönitz <poenitz@gmx.net>
857 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
860 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
863 * text2.C: tiny whitespace
865 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
867 * undo_funcs.C: almost only ws changes.
869 * ParagraphList.C (splice): just return if pl is empty.
871 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
873 * ParagraphList.C (splice): new function.
875 * CutAndPaste.C (pasteSelection): use it
877 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
879 * CutAndPaste.C (pasteSelection): remove the last next and
880 previous from this file.
882 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
884 * CutAndPaste.C (pasteSelection): more clean up, user proper
885 ParagraphList functions for pasteing.
887 * ParagraphList.C (insert): new function, three arg insert
889 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
891 * ParagraphList.C (insert): new function, three arg insert
893 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
896 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
898 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
900 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
902 * CutAndPaste.C (pasteSelection): remove some unneeded code.
904 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
906 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
907 (copySelection): clean up a bit.
908 (pasteSelection): use make_pair
910 * ParagraphList.C (ParagraphList): implement copy constructor
911 (operator=): implement, base on copy constructor.
914 * paragraph.C (erase): return a bool
916 * paragraph_pimpl.C (erasePos): remove function, move contents...
917 (erase): ... here. Return a bool.
918 (erase): call erase instead of erasePos.
920 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
922 * ParagraphList.h: define PitPosPair
923 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
924 ParagraphList, fix a bug on pasting multiple pars
925 * text2.C: change interface to C&P
927 2003-04-30 André Pönitz <poenitz@gmx.net>
929 * undo_func.C: revert part of yesterday's patch 2
931 2003-04-30 John Levon <levon@movementarian.org>
933 * LColor.C: s/tabular/table/
935 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
937 * text3.C (dispatch): do not convert iterator -> pointer
938 * undo_funcs.C (setCursorParUndo): ditto
939 * text_funcs.C (transposeChars): ditto
941 * text2.C (setLayout): ws changes only
943 * text.C (breakParagraph): do not convert iterator -> pointer
945 (acceptChange): ditto
946 (rejectChange): ditto
951 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
954 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
956 * text3.C (gotoInset): YABG (yet another bad getChar)
958 2003-04-29 André Pönitz <poenitz@gmx.net>
960 * paragraph.h: make operator= private unimplemented as long as
963 * ParagraphList.C: whitespace
966 * paragraph_pimpl.[Ch]:
969 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
972 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
974 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
976 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
977 * paragraph.[Ch] (erase):
978 * paragraph_pimpl.[Ch] (erase): change return type and value
979 * text2.C (cutSelection): some rework
981 2003-04-28 John Levon <levon@movementarian.org>
983 * bufferlist.C: changes for unsaved changes dialog
985 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
987 * bufferlist.C (newFile): set language (messages_) for new
990 * buffer.C (readFile): ws changes only.
992 2003-04-28 André Pönitz <poenitz@gmx.net>
997 * BufferView_pimpl.C:
998 * BufferView.C: getParFromID related ParagraphList::iterator changes
1000 2003-04-28 André Pönitz <poenitz@gmx.net>
1002 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1005 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1007 * messages.C: remove one more localedir class variable.
1009 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1011 * messages.C (getLocaleDir): singleton generation function
1013 (Messages): add a default constructor.
1015 * main.C (main): do not setup localedir here, do not call
1018 * gettext.C (_): use it.
1019 (gettext_init): delete funciton
1021 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1023 * gettext.C (getLyXMessages): new singleton generating function.
1025 * buffer.C (updateDocLang): adjust
1027 * Makefile.am (messages.o): add target
1028 (main.o): remove target
1030 2003-04-27 John Levon <levon@movementarian.org>
1035 * lyxvc.C: specify cancel button in Alert::prompt
1037 2003-04-26 John Levon <levon@movementarian.org>
1042 * LyXAction.C: add LFUN_INSET_SETTINGS
1044 * lyxfunc.C: don't enable tabular-feature when there's
1045 just any locking inset
1047 2003-04-26 John Levon <levon@movementarian.org>
1049 * bufferlist.C: re-add Cancel to buffer close question
1051 * lyxfunc.C: fix import UI a bit
1053 2003-04-25 John Levon <levon@movementarian.org>
1055 * gettext.C: remove the broken asserts for now
1057 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1059 * messages.C: make case where setlocale cannot comply work better.
1061 * buffer.C (updateDocLang): new function
1062 (changeLanguage): use it
1065 * text2.C (setCounter): use B_ a bit.
1067 * lyxlayout.C (Read): be sure to trim the label strings.
1069 * messages.C (Messages): fix typo in comment
1071 * buffer.C (readFile): set message_ after file is loaded.
1072 (makeDocBookFile): remove double return
1073 (changeLanguage): reset message_ upon language change.
1074 (B_): new func, use this to get translated buffer strings.
1076 * main.C: add myself and Jean Marc as authors.
1078 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1080 * messages.[hC]: pimplify Messages, and three different pimpls to be
1081 used in different circumstances.
1083 * gettext.[Ch]: change for use with new message code.
1085 2003-04-24 André Pönitz <poenitz@gmx.net>
1087 * factory.C: support for eqref
1089 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1091 * messages.[Ch]: add missing char
1093 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1095 * messages.[Ch]: New files
1097 2003-04-18 John Levon <levon@movementarian.org>
1101 * BufferView_pimpl.C:
1105 * text2.C: remove layout-copy/paste (bug 778)
1107 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1109 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1111 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1113 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1114 if they succeed. Act accordingly.
1116 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1118 * text2.C (setCharFont): adjust
1119 (setCounter): adjust
1120 (insertStringAsLines): adjust
1122 * text.C (leftMargin): adjust
1123 (setHeightOfRow): adjust
1125 * rowpainter.C (paintFirst): adjust
1128 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1130 (isFirstInSequence): ditto
1131 (getEndLabel): ditto
1134 * paragraph.C (getParLanguage): comment out some hard stuff.
1136 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1138 (simpleDocBookOnePar): ditto
1139 (makeDocBookFile): use ParagraphList::iterator
1141 * CutAndPaste.C (pasteSelection): adjust
1143 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1145 * text2.C (getFont): adjust
1146 (getLayoutFont): adjust
1147 (getLabelFont): adjust
1149 * paragraph_funcs.C (TeXOnePar): adjust
1151 * buffer.C (simpleLinuxDocOnePar): adjust
1152 (simpleDocBookOnePar): adjust
1154 * CutAndPaste.C (pasteSelection): adjust
1156 * BufferView.C (getEncoding): adjust
1158 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1160 2003-04-16 John Levon <levon@movementarian.org>
1162 * lyxfind.C: use parlist stuff for search/changes
1164 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1166 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1168 * text2.C (deleteEmptyParagraphMechanism): adjust
1170 * text2.[Ch] (ownerParagraph): delete func (both of them
1172 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1174 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1176 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1178 * ParagraphList.C: prepare for NO_NEXT
1180 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1182 * text2.C (getFont): adjust
1183 (getLayoutFont): adjust
1184 (getLabelFont): adjust
1186 * paragraph.C (getFont): adjust
1187 (getLabelFont): adjust
1188 (getLayoutFont): adjust
1190 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1192 2003-04-15 John Levon <levon@movementarian.org>
1196 * lyx_main.C: handle Include in .ui files
1198 2003-04-15 John Levon <levon@movementarian.org>
1200 * MenuBackend.C: make the doc files length shorter
1203 * ToolbarBackend.C: handle toolbar placement flags,
1206 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1208 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1211 * paragraph_funcs.C (TeXOnePar): adjust
1213 * paragraph.C (getLabelFont): add outerfont arg, adjust
1214 (getLayoutFont): ditto
1215 (simpleTeXOnePar): adjust
1217 * paragraph_pimpl.C (realizeFont): delete func
1219 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1221 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1222 row argument, constify cur argument.
1224 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1226 * text2.C (getFont): adjust
1227 (getLayoutFont): adjust
1228 (getLabelFont): adjust
1230 * paragraph_funcs.C (TeXOnePar): adjust
1231 (outerFont): new func...
1232 (realizeFont): ...moved out from here, changed this to facilitate
1235 * paragraph.C (getFont): take outerfont as arg, adjust
1236 (simpleTeXOnePar): add outerfont arg, adjust
1238 * buffer.C (simpleLinuxDocOnePar): adjust
1239 (simpleDocBookOnePar): adjust
1241 * CutAndPaste.C (pasteSelection): adjust
1243 * BufferView.C (getEncoding): adjust
1245 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1247 * text2.C (setCharFont): adjust
1248 (setCounter): adjust
1250 * text.C (leftMargin): adjust
1251 (setHeightOfRow): adjust
1253 * rowpainter.C (paintFirst): adjust
1256 * paragraph_pimpl.C (realizeFont): adjust
1258 * paragraph.C (isFirstInSequence): move from here...
1259 * paragraph_funcs.C (isFirstInSequence): ...to here
1261 * paragraph.C (outerHook): move from here...
1262 * paragraph_funcs.C (outerHook): ...to here
1264 * paragraph.C (depthHook): move from here...
1265 * paragraph_funcs.C (depthHook): ...to here
1267 * paragraph.C (getEndLabel): move from here...
1268 * paragraph_funcs.C (getEndLabel): ...to here
1270 * text2.C (realizeFont): move from here...
1271 * paragraph_funcs.C (realizeFont): ...to here
1273 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1275 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1277 2003-04-14 Angus Leeming <leeming@lyx.org>
1279 * LColor.[Ch]: scrap LColor mathcursor.
1281 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1283 * lyxlex.[Ch] (text): delete function
1284 * trans.C (Load): adjust
1285 * paragraph_funcs.C (readParToken): adjust
1287 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1289 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1290 vector<char> instead of a char[].
1292 * lyxlex_pimpl.C (getString): adjust
1294 (lex): use getString
1298 * lyxlex.C (text): use pimpl_->getString()
1302 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1304 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1305 (makeFontEntriesLayoutSpecific): temp var for par.size()
1306 (setLayout): temp var for ownerParagraphs().end()
1307 (fullRebreak): temp var for rows().end()
1308 (selectionAsString): temp var for boost::next(startpit), realize
1309 that the while really is a regular for loop.
1310 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1311 setCursor in one place.
1312 (setParagraph): temp vr for ownerParagraphs().end()
1313 (updateCounters): make the while loop a for loop
1314 (cutSelection): temp var for ownerParagraphs().end()
1315 (updateInset): make the do {} while() a regular for loop
1316 (getCursorX): use temp vars
1317 (setCurrentFont): use temp vars
1318 (getColumnNearX): use temp vars
1320 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1322 * text.C (transformChar): use temp var for getChar
1323 (computeBidiTables): use temp var for row->par()
1324 (fill): move temp vars for row->par() and pit->layout() earlier in
1326 (labelFill): use temp var for row->par()
1327 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1328 asc and desc, realize that pit never changes and that firstpit is
1329 just a duplicate and not needed. Exchange rit->par() with pit in a
1331 (breakAgain): use a temp var for boost::next(rit)
1332 (breakAgainOneRow): ditto
1333 (breakParagraph): use a temp var for rows().begin()
1334 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1335 (cursorRightOneWord): use temp var for cursor.par() and
1336 cursor.pos(), remove usage of tmpcursor.
1337 (cursorLeftOneWord): use temp var for cursor.par() and
1338 cursor.pos() only set cur at end of function.
1340 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1342 * text.C, text2.C: exchange all usage of Paragraph::next with
1343 boost::next(ParagraphList::iterator)
1345 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1347 * text2.C (cursorTop): simplify implementation
1348 (cursorBottom): ditto
1349 (setParagraph): use ParagraphList::iterator
1350 (setCurrentFont): adjust
1351 (getColumnNearX): adjust
1352 (cursorRight): adjust
1353 (cursorLeft): remove usage of Paragraph::previous
1354 (cursorUpParagraph): ditto
1355 (deleteEmptyParagraphMechanism): slight cleanup
1357 * text.C (isBoundary): take a Paragraph const & instead of a
1359 (addressBreakPoint): ditto
1360 (leftMargin): remove usage of Paragraph::previous.
1361 (setHeightOfRow): ditto
1362 (cursorLeftOneWord): ditto
1363 (selectNextWordToSpellcheck): ditto
1366 (breakParagraph): remove one usage of Paragraph::next
1367 (redoParagraph): ditto
1368 (acceptChange): ditto
1369 (insertChar): adjust
1370 (rowBreakPoint): adjust
1372 * bufferview_funcs.C (toggleAndShow): adjust
1374 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1376 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1377 methods to access it.
1379 * text.C: Added updateRowPositions to compute all row positions.
1380 Make top_y and getRowNearY() to use the cached y position
1382 2003-04-11 John Levon <levon@movementarian.org>
1384 * text.C (rowBreakPoint): reintroduce the labelEnd
1385 checks, code copied from the row fill stuff. Deep voodoo.
1387 * text.C (fill): add a comment and debugging for the
1390 2003-04-11 John Levon <levon@movementarian.org>
1392 * text.C: make sure fullrow insets get wrapped to the next line,
1393 even when they're in a manual label
1395 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1397 * text2.C (insertParagraph): make it take ParagraphList::iterator
1399 (setLayout): make it return ParagraphList::iterator
1400 (redoParagraphs): ditto
1402 (checkParagraph): ditto
1404 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1406 * text2.C: adjust several funcs.
1407 (realizeFont): take a ParagraphList::iterator as arg.
1408 (getLayoutFont): ditto
1409 (getLabelFont): ditto
1410 (setCharFont): ditto
1412 * text.C: adjust several funcs.
1414 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1416 * text.C (selectNextWordToSpellcheck): don't accidentally
1419 2003-04-10 John Levon <levon@movementarian.org>
1421 * ToolbarBackend.C (getIcon): special handling for
1424 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1426 * text2.C (cursorRight): a getChar assert fixed
1428 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1430 * text2.C (getFont): change to take a ParagraphList::iterator
1431 instead of Paragraph*
1432 Adjust several functions.
1434 * text.C (transformChar): change to take a ParagraphList::iterator
1435 instead of Paragraph*
1436 (singleWidth): ditto
1437 Adjust several functions.
1439 * rowpainter.C: adjust several functions
1440 * rowpainter.h:store a ParagraphList::iterator and not a
1444 2003-04-09 John Levon <levon@movementarian.org>
1449 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1450 and the "help" bits as well
1452 2003-04-09 John Levon <levon@movementarian.org>
1455 * ToolbarBackend.C: allow multiple toolbars
1457 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1459 * undo_funcs.C (setCursorParUndo): adjust
1461 * text_funcs.C (transposeChars): adjust
1463 * text3.C (gotoNextInset): adjust
1466 * text2.C (setLayout): adjust
1467 (changeDepth): adjust
1469 (redoParagraphs): adjust
1470 (selectionAsString): adjust
1471 (setParagraph): adjust
1472 (insertInset): adjust
1473 (cutSelection): adjust
1474 (copySelection): adjust
1475 (pasteSelection): adjust
1476 (insertStringAsLines): adjust
1477 (updateInset): adjust
1478 (setCursor): change to take a ParagraphList::iterator parameter
1479 (setCursorIntern): change to take a ParagraphList::iterator parameter
1480 (setCurrentFont): adjust
1481 (cursorLeft): adjust
1482 (cursorRight): adjust
1483 (deleteEmptyParagraphMechanism): adjust
1485 * text.C (breakParagraph): adjust
1486 (insertChar): adjust
1487 (acceptChange): adjust
1488 (rejectChange): adjust
1489 (selectNextWordToSpellcheck): adjust
1490 (changeCase): adjust
1494 * lyxfind.C (SearchForward): adjust
1495 (SearchBackward): adjust
1496 (nextChange): adjust
1498 * lyxcursor.C (par): adjust
1500 * lyxcursor.h: store a ParagraphList::iterator instead of a
1503 * lyx_cb.C (getPossibleLabel): adjust
1505 * bufferview_funcs.C (toggleAndShow): adjust
1507 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1510 * BufferView.C (removeAutoInsets): adjust
1511 (lockedInsetStoreUndo): adjust
1513 2003-04-09 John Levon <levon@movementarian.org>
1515 * ToolbarBackend.C: try icon without argument
1516 if with argument fails
1518 2003-04-08 John Levon <levon@movementarian.org>
1521 * ToolbarBackend.C: add getIcon(), handle tooltip,
1522 and change from "Icon" to "Item".
1524 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1526 * BufferView.C (lockInset): another bad getchar crunched
1528 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1530 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1533 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1535 * lyxfind.C (searchForward, searchBackwards): bug 782
1537 2003-04-07 John Levon <levon@movementarian.org>
1539 * paragraph.C: remove dead comment
1541 * text.C: remove troublesome depth-fiddling code
1542 in leftMargin() and rightMargin() (bug 1017)
1544 * text.C: fix breaking of rows in nested lists
1547 * text2.C (updateCounters): fix up depth values
1550 2003-04-07 John Levon <levon@movementarian.org>
1552 * BufferView_pimpl.C: clear message when doc finishes resizing,
1553 and after a mouse event
1555 * lyxfunc.C: clear message after exiting inset
1557 2003-04-07 John Levon <levon@movementarian.org>
1559 * bufferview_funcs.C: show math status not outside
1560 status in the statusbar
1562 2003-04-07 John Levon <levon@movementarian.org>
1564 * lyxfunc.C: note status changed after a depth change
1566 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1568 * LaTeX.h: move AuxInfo operator==, != out of line.
1569 Remove LaTeX virtual destructor; nothing derives from it.
1570 Move operator()() out of public area and rename it startscript().
1571 Change protected for private.
1573 2003-04-04 Angus Leeming <leeming@lyx.org>
1576 * text2.C: remove unneeded #includes.
1578 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1580 * text2.C (dEPM): fix the heigth of the next row
1582 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1584 * text.C: squashed an invalid getChar requester + some ws changes
1586 2003-04-03 John Levon <levon@movementarian.org>
1588 * bufferview_funcs.h:
1589 * bufferview_funcs.C:
1592 * text2.C: make getStatus work for the env depth lfuns
1594 2003-04-03 John Levon <levon@movementarian.org>
1596 * bufferview_funcs.h:
1597 * bufferview_funcs.C:
1600 * text2.C: parlistize decDepth(), by merging it with incDepth()
1602 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1604 * lyxrow.h: store a ParagraphList::iterator instead of a
1605 Paragraph* and adjust other class functions to suit.
1607 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1610 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1612 * text2.C (setCursor): do not anchor to cursor row for the time being
1614 2003-04-02 John Levon <levon@movementarian.org>
1621 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1623 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1625 * paragraph.h: make ParagraphList and ParagraphList::iterator
1626 friends of Paragraph.
1628 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1630 * ParagraphList.C: Use the private next_ and previous_ from
1633 2003-04-01 John Levon <levon@movementarian.org>
1637 * Makefile.am: rename, remove defaults gunk
1640 * MenuBackend.C: remove defaults gunk
1643 * Languages.C: remove defaults gunk
1646 * lyx_main.C: error out if files couldn't be found.
1648 2003-04-02 John Levon <levon@movementarian.org>
1650 * text2.C: make incDepth() use parlist
1652 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1654 * undo_funcs.C (firstUndoParagraph): adjust
1656 * text3.C (gotoInset): adjust
1657 (dispatch): adjust, and rewrite loop.
1659 * text2.C (init): adjust, and rewrite loop.
1660 (redoParagraphs): adjust
1661 (updateInset): adjust, and rewrite loop.
1662 (deleteEmptyParagraphMechanism): adjust
1664 * tabular.C (LyXTabular): adjust
1665 (SetMultiColumn): adjust
1668 * lyxtext.[Ch] (ownerParagraph): delete function
1669 (ownerParagraphs): new function returns a ParagraphList.
1671 * BufferView.C (removeAutoInsets): adjust
1672 (insertErrors): adjust
1673 (setCursorFromRow): adjust
1675 2003-04-01 Angus Leeming <leeming@lyx.org>
1677 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1680 2003-04-02 John Levon <levon@movementarian.org>
1686 * text_funcs.C: make transposeChars a free function
1688 * lyxrow_funcs.C: remove wrong comment
1690 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1693 * rowpainter.C: adjust
1698 * lyxrow_funcs. [Ch]: new files
1700 * lyxrow.[Ch]: remove next and previous pointers
1701 (next,previous): remove accessor functions
1702 (isParEnd): move to lyxrow_funcs
1703 (lastPos): move to lyxrow_funcs
1704 (nextRowIsAllInset): move to lyxrow_funcs
1705 (lastPrintablePos): move to lyxrow_funcs
1706 (numberOfSeparators): move to lyxrow_funcs
1707 (numberOfHfills): move to lyxrow_funcs
1708 (numberOfLabelHfills): move to lyxrow_funcs
1709 (hfillExpansion): move to lyxrow_funcs
1713 * bufferview_funcs.C (toggleAndShow): adjust
1715 * RowList.h: Remove class RowList from file leave just a
1718 * RowList.C: delete file
1720 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1723 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1725 * text3.C (cursorPrevious): adjust
1726 (cursorNext): adjust
1729 * text2.C (redoHeightOfParagraph): adjust
1730 (redoDrawingOfParagraph): adjust
1733 * text.C (breakParagraph): adjust
1734 (insertChar): adjust
1737 * rowpainter.C (RowPainter): adjust
1738 (leftMargin): simplify and adjust
1739 (most rowpainter functions): adjust.
1741 * rowpainter.h: store the row as RowList::iterator not as Row*
1743 * lyxcursor.C (row): taka RowList::iterator as arg
1746 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1749 2003-04-01 Angus Leeming <leeming@lyx.org>
1751 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1752 stuff like bool Bool.
1754 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1756 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1759 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1761 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1764 * lyxtext.h (rows): drop one version and leve a const variant that
1765 returns a RowList::iterator.
1767 2003-03-31 Angus Leeming <leeming@lyx.org>
1769 * text.C (fill): ensure that the signature is the same as that in the
1772 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1774 * text2.C (redoParagraphs): adjust
1775 (updateCounters): adjust
1776 (checkParagraph): adjust
1777 (getColumnNearX): adjust and reformat a bit.
1779 * text.C (top_y): adjust
1781 (leftMargin): adjust
1782 (prepareToPrint): adjust
1784 (getRowNearY): adjust
1786 * lyxtext.h: make rowlist_ mutable.
1788 * RowList.h: add const_iterator
1789 * RowList.C: adjust for RowList::const_iterator.
1791 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1794 2003-03-31 John Levon <levon@movementarian.org>
1797 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1799 * lyx_main.C: set default fonts from using lyx_gui funcs
1801 * exporter.C: pdf_mode moved from lyxrc
1804 * lyxfunc.C: changes from above
1806 2003-03-31 John Levon <levon@movementarian.org>
1808 * lyx_main.C: fix to the last fix
1810 2003-03-31 John Levon <levon@movementarian.org>
1812 * bufferlist.C: "Load original" -> "Load Original"
1818 * format.C: more Alert cleanups
1820 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1822 * text2.C (removeParagraph): make it take a RowList::iterator as
1824 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1825 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1827 * text.C (anchor_row): make it take a RowList::iterator as arg,
1829 (computeBidiTables): make it take a const reference to Row instead
1830 of Row pointer, adjust.
1831 (leftMargin): make it take a RowList::iterator as arg, adjust.
1832 (rowBreakPoint): adjust
1833 (breakAgainOneRow): make it take a RowList::iterator as arg,
1835 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1837 * bufferview_funcs.C (toggleAndShow): adjust
1839 2003-03-30 John Levon <levon@movementarian.org>
1843 * boost-inst.C: moved to support
1845 * several files: changes as a result
1847 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1849 * text2.C (LyXText): adjust.
1851 (removeRow): make it take a RowList::iterator as arg, adjust.
1852 (fullRebreak): adjust
1853 (deleteEmptyParagraphMechanism): adjust
1854 (clearPaint): adjust
1857 * text.C (top_y): adjust
1858 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1859 (breakAgain): make it take a RowList::iterator as arg, adjust.
1860 (breakParagraph): adjust
1861 (insertChar): adjust
1864 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1865 need_break_row, and refresh_row.
1867 * text3.C (dispatch): adjust
1869 * text2.C (checkParagraph): adjust
1871 (setCursorFromCoordinates): adjust
1873 * text.C (top_y): adjust
1875 (getRow): make it return a RowList::iterator, adjust
1876 (getRowNearY): make it return a RowList::iterator, adjust
1878 * text2.C (init): adjust
1879 (insertRow): remove function
1880 (insertParagraph): adjust
1881 (redoParagraphs): adjust
1882 (fullRebreak): adjust
1883 (updateCounters): adjust
1885 * text.C (top_y): rewrite to use RowList iterators.
1887 (setHeightOfRow): rewrite to sue RowList iterators.
1888 (appendParagraph): adjust
1889 (breakAgain): adjust
1890 (breakAgainOneRow): adjust
1891 (breakParagraph): adjust
1893 (getRowNearY): adjust, and remove commented code.
1895 * lyxtext.h (firstRow): delete function
1896 (lastRow): delete function
1897 (rows): new function (const and non-const versions.)
1898 (insertRow): delete function
1900 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1902 2003-03-29 John Levon <levon@movementarian.org>
1904 * BufferView_pimpl.C: always update scrollbar top
1905 because pasting text when we're anchored could mean we
1906 miss an update altogether
1908 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1910 * text2.C (init): use rowlist_.end() and not 0.
1911 (insertRow): change to take a RowList::iterator as arg, adjust
1913 (insertParagraph): change to take a RowList::iterator as arg,
1915 (redoParagraphs): remove some debug msgs.
1917 * text.C (appendParagraph): change to take a RowList::iterator
1918 arg, adjust for this.
1919 (breakAgain): add an assert
1920 (breakAgainOneRow): ditto
1922 2003-03-29 John Levon <levon@movementarian.org>
1924 * text2.C: do not clear selection after inc/decDepth
1927 2003-03-29 John Levon <levon@movementarian.org>
1930 * buffer.C: fix broken strerrors according to Lars
1932 2003-03-29 John Levon <levon@movementarian.org>
1934 * converters.C: more Alert cleanups
1936 2003-03-29 John Levon <levon@movementarian.org>
1938 * bufferview_funcs.C: remove pointless Alert
1940 * buffer.C: fix confusing error message when
1941 a template is chmoded 000
1943 2003-03-29 John Levon <levon@movementarian.org>
1947 * BufferView_pimpl.C: Alert fixes
1951 * tabular-old.C: remove unused table compat reading
1953 2003-03-29 John Levon <levon@movementarian.org>
1958 * lyx_cb.C: more Alert cleanups
1960 * lyxfunc.C: don't allow chktex if not latex document
1962 2003-03-29 John Levon <levon@movementarian.org>
1966 * buffer.C: warnings pushed down from support/,
1969 2003-03-29 John Levon <levon@movementarian.org>
1971 * lyxfunc.C: safety check for C-r (revert)
1973 2003-03-29 John Levon <levon@movementarian.org>
1976 * bufferlist.C: several UI fixes using Alert::prompt.
1977 Fix the pointless looping quit code. Fix stupid revert
1982 * lyx_cb.C: use Alert::prompt
1984 * lyx_main.C: remove a silly question
1986 * lyxfunc.C: remove a couple of silly questions,
1989 2003-03-28 John Levon <levon@movementarian.org>
1991 * text2.C: fix bug 974 (End on empty par)
1993 2003-03-28 John Levon <levon@movementarian.org>
1995 * BufferView_pimpl.C:
1997 * lfuns.h: remove do-nothing math greek lfuns
1999 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2001 * lyxgluelength.h (isValidGlueLength): add default arg on
2002 parameter 2. Remove default arg from friend in class.
2004 * lyxlength.h (isValidLength): add default arg on parameter 2.
2005 Remove default arg from friend in class.
2007 * text2.C (LyXText): adjust, initialize refresh_row.
2011 (insertParagraph): adjst
2012 (redoParagraphs): adjust
2013 (fullRebreak): adjust
2014 (updateCounters): adjust
2015 (deleteEmptyParagraphMechanism): first attempt at fixing a
2018 * text.C (top_y): adjust
2019 (setHeightOfRow): adjust
2021 (getRowNearY): adjust
2023 * lyxtext.h: include RowList.h
2024 (~LyXText): not needed anymore, deleted.
2025 (firstRow): modify for RowList
2026 (lastRow): new function
2027 Delete firstrow and lastrow class variables, add a Rowlist
2028 rowlist_ class variable.
2030 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2033 * RowList.C (insert): fix case where it == begin().
2035 2003-03-26 Angus Leeming <leeming@lyx.org>
2037 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2038 the thesaurus dialog.
2040 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2042 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2044 * RowList.[Ch]: new files
2046 * ParagraphList.C (erase): handle the case where it == begin
2049 2003-03-25 John Levon <levon@movementarian.org>
2053 * aspell.C: add new aspell support
2056 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2059 2003-03-25 Angus Leeming <leeming@lyx.org>
2062 * LyXAction.C (init): new LFUN_INSET_INSERT.
2064 * BufferView_pimpl.C (dispatch): split out part of the
2065 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2067 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2070 2003-03-25 Angus Leeming <leeming@lyx.org>
2072 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2074 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2077 * text3.C: remove useless row->height(0)
2079 2003-03-25 John Levon <levon@movementarian.org>
2083 * text3.C: rename the refreshing stuff to better names
2085 2003-03-24 John Levon <levon@movementarian.org>
2087 * BufferView_pimpl.h:
2088 * BufferView_pimpl.C: update layout choice on a mouse
2091 2003-03-23 John Levon <levon@movementarian.org>
2093 * Makefile.am: fix commandtags.h reference
2095 2003-03-22 John Levon <levon@movementarian.org>
2097 * BufferView_pimpl.C:
2102 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2104 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2107 * text.C: take the rtl methods out of line
2109 2003-03-21 André Pönitz <poenitz@gmx.net>
2111 * metricsinfo.[Ch]: new files containing structures to be passed around
2112 during the two-phase-drawing...
2114 2003-03-21 André Pönitz <poenitz@gmx.net>
2116 * lyxtextclass.C: read 'environment' tag.
2118 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2120 * text2.C (removeRow): fix bug 964
2122 2003-03-20 John Levon <levon@movementarian.org>
2126 * text2.C: paint cleanups. Inset::update() dropped font
2129 2003-03-19 John Levon <levon@movementarian.org>
2131 * lyxfunc.C: only fitcursor/markDirty if available()
2133 2003-03-19 John Levon <levon@movementarian.org>
2135 * commandtags.h: rename to ...
2137 * lfuns.h: ... this, and renumber / cleanup
2139 2003-03-19 John Levon <levon@movementarian.org>
2141 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2142 fit the cursor after an lfun
2146 * BufferView_pimpl.h:
2147 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2149 * LyXAction.C: layout-character should have ReadOnly
2151 * ParagraphParameters.C:
2153 * bufferview_funcs.C:
2160 * undo_funcs.C: changes from above
2162 2003-03-18 John Levon <levon@movementarian.org>
2164 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2165 remove it from update()
2167 * lyxfunc.C: update layout choice after an lfun
2169 * text3.C: remove extra updateLayoutChoice()s
2171 2003-03-18 John Levon <levon@movementarian.org>
2173 * text.C: top_y change means full repaint, fix
2174 a drawing bug with cursor movement
2176 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2180 * text2.C: anchor row on setCursor
2182 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2184 * lyxtext.h: remove almost all mutable keywords
2187 * text3.C: remove const keywords accordingly
2189 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2191 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2193 (TeXEnvironment): ditto
2196 2003-03-17 John Levon <levon@movementarian.org>
2198 * text.C (rowBreakPoint): remove attempt to fix displayed
2199 math insets inside a manual label
2201 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2203 * lyxtext.h: remove BufferView* as first arg from almost all class
2205 * other files: adjust.
2207 2003-03-17 John Levon <levon@movementarian.org>
2211 * text2.C: more paint cleanups
2213 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2216 * rowpainter.C: remove "smart" background painting code
2218 2003-03-16 John Levon <levon@movementarian.org>
2223 * text3.C: add helper functions for setting refresh_row/y
2225 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2227 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2228 newline inset which *can* get inserted in the pass_thru layouts.
2229 This is primarily for literate documents.
2231 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2233 * buffer.C: increment LYX_FORMAT to 223
2235 2003-03-14 André Pönitz <poenitz@gmx.net>
2237 * textclass.h: prepare for environment handling, ws changes
2238 * lyxlayout.C: read latexheader and latexfooter tags
2240 2003-03-14 John Levon <levon@movementarian.org>
2242 * text2.C: rewrite ::status() a bit
2244 2003-03-13 John Levon <levon@movementarian.org>
2246 * lyxtext.h: add some docs
2248 2003-03-13 John Levon <levon@movementarian.org>
2253 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2255 2003-03-13 John Levon <levon@movementarian.org>
2257 * text3.C: fix appendix redrawing
2259 2003-03-13 John Levon <levon@movementarian.org>
2261 * text.C (setHeightOfRow):
2263 * rowpainter.C: make appendix mark have the text
2264 "Appendix" so the user knows what it is
2267 * LColor.C: s/appendixline/appendix/ from above
2269 2003-03-13 John Levon <levon@movementarian.org>
2271 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2273 * text.C: fix a getChar(pos) bug properly
2275 2003-03-13 Angus Leeming <leeming@lyx.org>
2278 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2279 Probably only temporary. Let's see how things pan out.
2281 * BufferView.C (unlockInset):
2282 * BufferView_pimpl.C (fitCursor):
2283 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2285 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2286 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2288 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2289 new functions that convert ParagraphParameters to and from a string.
2291 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2292 BufferView::Pimpl's dispatch.
2293 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2295 2003-03-13 André Pönitz <poenitz@gmx.net>
2299 * factory.C: make it aware of InsetEnv
2301 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2303 * text2.C (setCursor): never ask for one past last
2304 (setCursor): add some debugging messages.
2306 * text.C (singleWidth): never ask for one past last
2307 (singleWidth): ditto
2309 (rightMargin): ditto
2310 (rowBreakPoint): ditto
2311 (setHeightOfRow): ditto
2312 (prepareToPrint): ditto
2314 * rowpainter.C (paintBackground): never ask for one past last
2315 (paintText): never ask for one past last
2317 * paragraph_pimpl.C (getChar): make the assert stricter, never
2318 allow the one past last pos to be taken
2320 * paragraph.C (getChar): ws changes only
2322 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2323 (numberOfSeparators): ditto
2324 (numberOfHfills): ditto
2326 2003-03-12 John Levon <levon@movementarian.org>
2332 * paragraph_funcs.C: fix per-buffer authorlists
2334 2003-03-12 John Levon <levon@movementarian.org>
2336 * text.C: fix newline in right address
2338 2003-03-12 Angus Leeming <leeming@lyx.org>
2340 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2341 duplicate those in LyXFunc::dispatch.
2345 * ToolbarDefaults.C:
2346 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2347 Add LFUN_FONTFREE_UPDATE.
2349 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2350 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2352 * bufferview_func.[Ch]: several new functions to facilliate
2353 transfer of data to and from the character dialog.
2355 2003-03-12 John Levon <levon@movementarian.org>
2360 * paragraph_funcs.C:
2361 * paragraph_pimpl.C:
2365 * text3.C: remove META_NEWLINE in favour of an inset
2368 * rowpainter.C: remove paintNewline (done by inset)
2370 2003-03-12 John Levon <levon@movementarian.org>
2372 * paragraph_pimpl.C: complain about bad getChar()s
2373 for a while at least
2375 2003-03-12 John Levon <levon@movementarian.org>
2378 * buffer.C: move paragraph read into a separate function,
2379 a little renaming to reflect that.
2382 * bufferparams.C: remove the author_ids map, not necessary now
2385 * factory.C: moved Buffer::readInset to here
2387 * paragraph_funcs.h:
2388 * paragraph_funcs.C: readParagraph free function moved from
2391 * tabular.C: name change
2393 2003-03-12 John Levon <levon@movementarian.org>
2396 * ParagraphParameters.C: move par params input to
2399 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2400 behave like a normal read from the stream wrt reading
2401 a line vs. a \\token
2403 2003-03-12 John Levon <levon@movementarian.org>
2406 * ParagraphParameters.h:
2407 * ParagraphParameters.C: move output code to a
2410 2003-03-12 John Levon <levon@movementarian.org>
2412 * BufferView.C (insertLyXFile):
2415 * tabular.C: use a parlist iterator for creating the
2418 2003-03-12 John Levon <levon@movementarian.org>
2420 * buffer.C: make current_change static local not
2423 2003-03-12 John Levon <levon@movementarian.org>
2425 * buffer.C: fix insertStringAsLines for change tracking
2427 2003-03-12 John Levon <levon@movementarian.org>
2434 * bufferparams.C: move author list into params. Rename some
2435 functions. Move the header reading into a separate token
2436 loop. Move the header token reading into BufferParams.
2438 2003-03-12 John Levon <levon@movementarian.org>
2440 * changes.C: put debug inside lyxerr.debugging() checks
2442 2003-03-11 André Pönitz <poenitz@gmx.net>
2444 * factory.C: make it aware of InsetHFill
2446 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2448 * buffer.C (latexParagraphs): move function from here...
2449 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2452 2003-03-10 Angus Leeming <leeming@lyx.org>
2454 * LyXAction.C (init): fix bug in poplating array with multiple entries
2455 with the same LFUN (spotted by JMarc).
2457 2003-03-10 John Levon <levon@movementarian.org>
2460 * text2.C: move getColumnNearX() near its
2463 2003-03-10 John Levon <levon@movementarian.org>
2465 * text.C: fix break before a minipage
2467 2003-03-10 John Levon <levon@movementarian.org>
2469 * text.C: fix the last commit
2471 2003-03-09 John Levon <levon@movementarian.org>
2475 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2476 bug 365 (don't break before insets unless needed). Don't
2477 return a value > last under any circumstances.
2479 2003-03-09 Angus Leeming <leeming@lyx.org>
2481 * BufferView_pimpl.C (trackChanges, dispatch): call
2482 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2484 2003-03-09 Angus Leeming <leeming@lyx.org>
2486 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2487 than Dialogs::showAboutlyx().
2489 2003-03-09 Angus Leeming <leeming@lyx.org>
2491 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2492 than Dialogs::showTabularCreate().
2494 2003-03-09 John Levon <levon@movementarian.org>
2498 * text2.C: 3rd arg to nextBreakPoint was always the same.
2501 2003-03-08 John Levon <levon@movementarian.org>
2508 * text2.C: Remove the "main" bit from the "main body"
2511 2003-03-08 John Levon <levon@movementarian.org>
2513 * text.C (leftMargin): The left margin of an empty
2514 manual label paragraph should not include the label width
2517 * text.C (prepareToPrint): don't attempt to measure hfills
2518 for empty manual label paragraphs - the answer should be 0
2520 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2522 * CutAndPaste.C: remove commented code and reindent.
2524 2003-03-08 John Levon <levon@movementarian.org>
2527 * lyxfunc.C: move reloadBuffer()
2530 * BufferView.C: to here
2532 * lyxvc.C: add comment
2535 * vc-backend.C: call bv->reload() to avoid
2536 getStatus() check on MENURELOAD
2538 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2540 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2541 to an old format .dep file.
2543 2003-03-07 Angus Leeming <leeming@lyx.org>
2545 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2546 when the LFUN_MOUSE_RELEASE should have been handled by
2547 inset->localDispatch.
2549 2003-03-07 Angus Leeming <leeming@lyx.org>
2551 * BufferView_pimpl.C (dispatch):
2552 * LyXAction.C (init):
2553 * ToolbarDefaults.C (init):
2555 * lyxfunc.C (getStatus):
2556 remove LFUN_INSET_GRAPHICS.
2558 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2560 2003-03-07 Angus Leeming <leeming@lyx.org>
2563 * LyXAction.C (init):
2564 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2566 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2569 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2571 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2572 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2574 2003-03-07 Angus Leeming <leeming@lyx.org>
2576 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2579 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2581 * ParagraphList.C (front): new function
2584 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2586 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2587 and top_row_offset_. removed var first_y.
2589 * text2.C (LyXText, removeRow):
2591 * BufferView_pimpl.C:
2592 use these methods instead of using first_y
2594 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2596 * text2.C (pasteSelection): adjust for checkPastePossible
2598 * CutAndPaste.C: remove Paragraph * buf and replace with
2599 ParagraphList paragraphs.
2600 (DeleteBuffer): delete
2601 (cutSelection): change the tc type to textclass_type
2602 (copySelection): change the tc type to textclass_type
2603 (copySelection): adjust for ParagraphList
2604 (pasteSelection): change the tc type to textclass_type
2605 (pasteSelection): adjust for Paragraphlist
2606 (nrOfParagraphs): simplify for ParagraphList
2607 (checkPastePossible): simplify for ParagraphList
2608 (checkPastePossible): remove unused arg
2610 * ParagraphList.C (insert): handle the case where there are no
2613 * CutAndPaste.h: make CutAndPaste a namespace.
2615 * text3.C (dispatch): adjust
2617 * text.C (breakParagraph): add a ParagraphList as arg
2619 * paragraph_funcs.C (breakParagraph): change to take a
2620 BufferParams and a ParagraphList as args.
2621 (breakParagraphConservative): ditto
2622 (mergeParagraph): ditto
2623 (TeXDeeper): add a ParagraphList arg
2624 (TeXEnvironment): ditto
2627 * buffer.C (readLyXformat2): adjust
2628 (insertStringAsLines): adjust
2629 (latexParagraphs): adjust
2631 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2632 (cutSelection): adjust
2633 (pasteSelection): adjust
2635 * BufferView_pimpl.C (insertInset): adjust
2637 2003-03-05 Angus Leeming <leeming@lyx.org>
2640 * LyXAction.C (init):
2641 * BufferView_pimpl.C (dispatch):
2642 * lyxfunc.C (getStatus):
2643 remove LFUN_CHILD_INSERT.
2645 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2647 2003-03-05 Angus Leeming <leeming@lyx.org>
2650 * LyXAction.C (init):
2651 * src/factory.C (createInset):
2652 * lyxfunc.C (getStatus):
2653 * text3.C (dispatch):
2654 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2656 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2658 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2660 * ParagraphList.C (insert): handle insert right before end()
2661 (erase): fix cases where it can be first or last paragraph.
2663 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2665 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2666 Paragraph::next and Paragraph::previous
2669 * text.C (breakParagraph): adjust
2671 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2672 BufferParams& as arg.
2673 (breakParagraph): use ParagraphList::insert
2674 (breakParagraphConservative): take a Buffer* instead of a
2675 BufferParams& as arg.
2676 (breakParagraphConservative): use ParagraphList::insert.
2678 * buffer.C (insertStringAsLines): un-const it
2679 (insertStringAsLines): adjust
2681 * ParagraphList.C (insert): new function
2683 * CutAndPaste.C (pasteSelection): adjust
2685 * text.C (backspace): adjust
2687 * tabular.C (SetMultiColumn): adjust
2689 * CutAndPaste.C (cutSelection): adjust
2690 (pasteSelection): adjust
2692 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2693 Buffer const * as arg
2695 * ParagraphList.C (erase): new function
2696 * paragraph_funcs.C (mergeParagraph): use it
2697 (mergeParagraph): make it take a Buffer* instead of a
2698 BufferParams* as arg
2700 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2702 (breakParagraphConservative): ditto
2704 * paragraph.h: remove the breakParagraph friend
2706 * paragraph.C (eraseIntern): new function
2707 (setChange): new function
2709 * paragraph_funcs.C (mergeParagraph): make it take a
2710 ParagraphList::iterator instead of a Paragraph *, adjust
2713 * paragraph.h: move an #endif so that the change tracking stuff
2714 also works in the NO_NEXT case.
2716 2003-03-04 Angus Leeming <leeming@lyx.org>
2719 * LyXAction.C: new LFUN_INSET_MODIFY.
2721 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2722 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2724 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2726 * several files: ws changes only
2728 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2729 (TeXEnvironment): ditto
2732 * buffer.C (makeLaTeXFile): adjust
2733 (latexParagraphs): make it take ParagraphList::iterator as args
2735 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2737 * buffer.C (latexParagraphs): adjust
2739 * paragraph.C (TeXOnePar): move function...
2740 (optArgInset): move function...
2741 (TeXEnvironment): move function...
2742 * paragraph_pimpl.C (TeXDeeper): move function...
2743 * paragraph_funcs.C: ...here
2745 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2747 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2749 * buffer.C (readInset): remove compability code for old Figure and
2752 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2754 * buffer.C: ws changes
2757 * BufferView_pimpl.C: ditto
2760 * bufferlist.h: ditto
2764 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2766 * converter.[Ch]: split into itself +
2769 * Makefile.am: += graph.[Ch] + format.[Ch]
2776 * lyxrc.C: added #include "format.h"
2778 2003-02-27 Angus Leeming <leeming@lyx.org>
2780 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2783 * factory.C (createInset): add "label" to the factory.
2785 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2786 string and do no more.
2788 2003-02-27 Angus Leeming <leeming@lyx.org>
2791 * LyXAction.C (init):
2792 * factory.C (createInset):
2793 * BufferView_pimpl.C (dispatch):
2794 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2796 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2798 * lyxfunc.C (dispatch):
2799 * text3.C (dispatch): pass name to params2string.
2801 2003-02-26 Angus Leeming <leeming@lyx.org>
2803 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2805 Rearrange the ~includes. Strip out the unnecessary ones.
2807 * factory.C (createInset): reformat.
2808 create new insets for the various LFUN_XYZ_APPLY lfuns.
2810 2003-02-26 John Levon <levon@movementarian.org>
2813 * lyxrow.C: add isParStart,isParEnd helpers
2815 * paragraph.h: make isInserted/DeletedText take refs
2817 * paragraph_funcs.h:
2818 * paragraph_funcs.C: remove #if 0'd code
2823 * text.C: use lyxrow helpers above.
2824 Move draw and paint routines to RowPainter.
2825 Make several methods use refs not pointers.
2826 Make backgroundColor() const.
2827 Add markChangeInDraw(), isInInset().
2828 Merge changeRegionCase into changeCase.
2829 Make workWidth() shouldn't-happen code into an Assert.
2832 * rowpainter.C: new class for painting a row.
2835 * vspace.C: make inPixels take a ref
2837 2003-02-26 Angus Leeming <leeming@lyx.org>
2839 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2842 2003-02-25 John Levon <levon@movementarian.org>
2844 * ispell.C: give the forked command a more accurate name
2846 2003-02-22 John Levon <levon@movementarian.org>
2849 * toc.C: make TocItem store an id not a Paragraph *
2852 2003-02-21 Angus Leeming <leeming@lyx.org>
2854 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2855 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2856 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2857 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2858 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2859 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2861 * BufferView_pimpl.C (dispatch):
2862 * LyXAction.C (init):
2863 * factory.C (createInset):
2864 * lyxfunc.C (getStatus, dispatch):
2865 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2867 2003-02-21 Angus Leeming <leeming@lyx.org>
2869 * BufferView_pimpl.C (MenuInsertLyXFile):
2870 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2871 * lyxfunc.C (menuNew, open, doImport):
2872 no longer pass a LyXView & to fileDlg.
2874 2003-02-21 Angus Leeming <leeming@lyx.org>
2876 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2877 * LyXAction.C: change, BIBKEY to BIBITEM.
2878 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2879 Change InsetBibKey to InsetBibitem.
2880 Change BIBKEY_CODE to BIBITEM_CODE.
2881 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2882 * factory.C: replace insetbib.h with insetbibitem.h.
2883 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2884 * paragraph.C: replace insetbib.h with insetbibitem.h.
2885 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2886 Change bibkey() to bibitem().
2887 * text.C: remove insetbib.h.
2888 * text2.C: replace insetbib.h with insetbibitem.h.
2889 change bibkey() to bibitem().
2890 * text3.C: remove insetbib.h.
2891 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2893 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2895 * lyxrc.C (output): enclose user email in quotes (in case there are
2898 2003-02-18 John Levon <levon@movementarian.org>
2900 * buffer.h: add std::
2902 2003-02-17 John Levon <levon@movementarian.org>
2908 * pspell.C: reworking. Especially in ispell, a large
2909 number of clean ups and bug fixes.
2911 * lyxfunc.C: fix revert to behave sensibly
2913 2003-02-17 André Pönitz <poenitz@gmx.net>
2916 * commandtags.h: new LFUN_INSERT_BIBKEY
2926 * paragraph_func.C: remove special bibkey handling
2928 2003-02-17 John Levon <levon@movementarian.org>
2930 * text.C (Delete): fix case where delete at the end of
2931 the very first paragraph would not merge the pars
2933 2003-02-17 John Levon <levon@movementarian.org>
2935 * lyxrow.C: fix lastPrintablePos()
2937 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2939 * bufferparams.C (writeLaTeX): add a std:here
2941 * buffer.C: and remove a using directive there
2943 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2945 * buffer.C (makeLaTeXFile): move the code that generates the
2948 * bufferparams.C (writeLaTeX): ... in this new method
2950 * LaTeXFeatures.C (getEncodingSet): make const
2951 (getLanguages): make const
2953 * MenuBackend.C (binding): returns the binding associated to this
2955 (add): sets the status of each item by calling getStatus. Adds
2957 (read): add support for OptSubMenu
2958 (expand): remove extra separator at the end of expanded menu
2960 2003-02-15 John Levon <levon@movementarian.org>
2963 * BufferView_pimpl.C:
2965 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2966 inset code that had no actual effect. Remove unneeded status
2969 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2971 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2974 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2976 * text.C (drawLengthMarker): also draw an arrow marker for
2977 symbolic lengths (medskip...)
2979 2003-02-14 John Levon <levon@movementarian.org>
2982 * tabular.C: better method names
2984 2003-02-14 John Levon <levon@movementarian.org>
2986 * BufferView_pimpl.C:
2991 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2992 it's a more accurate name. Remove some pointless uses.
2994 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2996 * text2.C (LyXText): change order of initilizers to shut off
2999 2003-02-14 John Levon <levon@movementarian.org>
3001 * buffer.C: use ParIterator for getParFromID()
3005 * paragraph_pimpl.h:
3006 * paragraph_pimpl.C: remove unused getParFromID()
3008 2003-02-14 John Levon <levon@movementarian.org>
3010 * buffer.C: remove some very old #if 0'd parse code
3012 2003-02-13 John Levon <levon@movementarian.org>
3016 * text2.C: move hfillExpansion(), numberOfSeparators(),
3017 rowLast(), rowLastPrintable(), numberofHfills(),
3018 numberOfLabelHfills() ...
3021 * lyxrow.C: ... to member functions here.
3026 * text.C: remove LyXText::beginningOfMainBody(), and call
3027 p->beginningOfMainBody() directly. Move the check for
3028 LABEL_MANUAL into the latter.
3035 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3041 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3042 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3044 2003-02-13 John Levon <levon@movementarian.org>
3046 * CutAndPaste.C: remove debug
3048 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3050 * paragraph.C (asString): remove two unused variables
3052 * lyxtextclass.C (readTitleType):
3054 (LyXTextClass): handle new members titletype_ and titlename_
3056 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3058 2003-02-09 John Levon <levon@movementarian.org>
3061 * buffer.C: replace hand-coded list with a map for the dep clean
3063 2003-02-08 John Levon <levon@movementarian.org>
3065 * LaTeX.C: consolidate code into showRunMessage() helper
3067 2003-02-08 John Levon <levon@movementarian.org>
3072 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3073 and pass the size in explicitly
3075 * BufferView_pimpl.h:
3076 * BufferView_pimpl.C:
3078 * BufferView.C: add getCurrentChange()
3080 * BufferView_pimpl.h:
3081 * BufferView_pimpl.C: handle change lfuns
3083 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3084 for changes. Mark pasted paragraphs as new.
3086 * support/lyxtime.h:
3087 * support/lyxtime.C:
3088 * DepTable.C: abstract time_t as lyx::time_type
3091 * LColor.C: add colours for new text, deleted text, changebars
3093 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3094 package use "usenames" option.
3098 * LyXAction.C: add change lfuns
3102 * author.C: author handling
3105 * buffer.C: add a per-buffer author list, with first entry as
3106 current author. Handle new .lyx tokens for change tracking. Output
3107 author list to .lyx file. Output dvipost stuff to .tex preamble.
3108 Bump lyx format to 222.
3111 * bufferlist.C: add setCurrentAuthor() to reset current author details
3115 * bufferparams.C: add param for tracking
3117 * bufferview_funcs.C: output change info in minibuffer
3121 * changes.C: add change-tracking structure
3124 * debug.C: add CHANGES debug flag
3127 * lyxfind.C: add code for finding the next change piece
3130 * lyxrc.C: add user_name and user_email
3133 * lyxrow.C: add a metric for the top of the text line
3136 * text.C: implement accept/rejectChange()
3139 * text.C: paint changebars. Paint new/deleted text in the chosen
3140 colours. Strike through deleted text.
3144 * paragraph_pimpl.h:
3145 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3146 in the current change to the insert functions. Rework erase to
3147 mark text as deleted, adding an eraseIntern() and a range-based
3148 erase(). Implement per-paragraph change lookup and
3151 * paragraph_funcs.C: Fixup paste for change tracking.
3153 * tabular.C: mark added row/columns as new.
3155 * text.C: fix rowLast() to never return -1. Don't allow
3156 spellchecking of deleted text. Track transpose changes. Don't
3157 allow paragraph break or merge where appropriate.
3159 * text2.C: leave cursor at end of selection after a cut.
3161 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3163 * text.C (getLengthMarkerHeight):
3164 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3165 visible on screen too.
3167 2003-02-07 John Levon <levon@movementarian.org>
3169 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3171 2003-02-05 Angus Leeming <leeming@lyx.org>
3173 * lyxserver.C (read_ready): revert my patch of 11 September last year
3174 as it sends PC cpu through the roof. Presumably this means that
3175 the lyxserver will no longer run on an Alpha...
3177 2003-01-30 Angus Leeming <leeming@lyx.org>
3179 * factory.C (createInset): create an InsetCommandParam of type "index"
3180 and use it to 'do the right thing'.
3182 * text2.C (getStringToIndex): ensure that cursor position is always
3183 reset to the reset_cursor position.
3185 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3187 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3190 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3194 * lyxfunc.C: Output messages with identical spelling, punctuation,
3197 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3199 * MenuBackend.C (expandFormats): List only viewable export formats
3202 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3205 * lyxfunc.C (getStatus): Make sure that formats other than
3206 "fax" can also be disabled
3208 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3210 * text3.C (dispatch): put the lfuns that insert insets in 3
3211 groups, and call doInsertInset with appropriate arguments.
3212 (doInsertInset): new function, that creates an inset and inserts
3213 it according to some boolean parameters.
3215 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3217 * buffer.C (readFile): remember to pass on 'par' when calling
3218 readFile recursively.
3220 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3222 * MenuBackend.C (expandFormats): add "..." to import formats.
3224 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3226 * paragraph.C (asString): Remove XForms RTL hacks.
3228 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3229 * buffer.C: fix typo
3231 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3233 * Makefile.am (LIBS): delete var
3234 (lyx_LDADD): add @LIBS@ here instead.
3236 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3238 * Clarify the meaning of "wheel mouse jump"
3240 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3242 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3245 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3247 * importer.C (Loaders): do not preallocate 3 elements in the
3248 vector, since one ends up with 6 elements otherwise
3250 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3252 * DepTable.C (write): write the file name as last element of the
3253 .dep file (because it may contain spaces)
3254 (read): read info in the right order
3256 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3258 * paragraph_pimpl.C (simpleTeXBlanks):
3259 (simpleTeXSpecialChars):
3260 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3262 * tabular.C (latex): add some missing case statements. Reindent.
3264 * MenuBackend.C (expandToc): remove unused variable.
3266 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3275 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3278 2003-01-05 John Levon <levon@movementarian.org>
3281 * BufferView.C: add getEncoding()
3284 * kbsequence.C: do not store last keypress
3287 * lyxfunc.C: store last keypress here instead. Pass encoding
3290 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3292 * lyx_main.C (init): remove annoying error message when following
3293 symbolic links (bug #780)
3295 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3297 * text.C (insertChar):
3298 * lyxrc.C (getDescription): remove extra spaces
3300 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3302 * lyxrc.C (getDescription): remove extra spaces
3304 2002-12-20 John Levon <levon@movementarian.org>
3306 * text3.C: hack fix for page up/down across tall rows
3308 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3310 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3313 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3315 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3316 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3317 thesaurus is not compiled in
3319 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3321 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3323 2002-12-16 Angus Leeming <leeming@lyx.org>
3326 * lyx_main.C (init): remove override_x_deadkeys stuff.
3328 2002-12-12 John Levon <levon@movementarian.org>
3330 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3331 insert. Only remove shift modifier under strict
3334 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3336 * MenuBackend.C (expandToc): fix crash.
3338 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3340 * MenuBackend.C (expandToc): gettext on float names.
3342 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3344 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3345 implement bool empty() [bug 490]
3347 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3349 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3351 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3353 * several files: ws changes
3355 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3357 * text2.C (setCounter): clean up a bit, use boost.format.
3358 (updateCounters): initialize par upon declaration.
3360 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3361 if the layout exists. We do not just store the layout any more.
3362 (SwitchLayoutsBetweenClasses): use boost.format
3364 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3366 * converter.C (convert): if from and to files are the same, use a
3367 temporary files as intermediary
3369 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3372 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3374 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3376 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3378 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3380 * tabular.C (asciiPrintCell): use string(size, char) instead of
3383 * sgml.C (openTag): fix order of arguments to string constructor
3386 * lyxfunc.C (dispatch): use boost.format
3388 * lots of files: change "c" -> 'c'
3390 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3392 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3394 2002-11-25 Angus Leeming <leeming@lyx.org>
3396 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3398 * lyx_main.C (init): compile fix.
3400 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3402 * lyx_cb.C (start): boost.formatify
3403 do not include <iostream>
3405 * lengthcommon.C: ws only
3407 * boost-inst.C,BoostFormat.h: add more explict instantations
3409 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3411 * lots of files: handle USE_BOOST_FORMAT
3413 2002-11-21 John Levon <levon@movementarian.org>
3415 * pspell.C: fix compile
3417 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3419 * lyxfunc.C (dispatch): use boost::format
3423 * lyxfont.C (stateText): use boost::format
3425 * lyx_main.C (LyX): use boost::format
3427 (queryUserLyXDir): ditto
3430 (typedef boost::function): use the recommened syntax.
3432 * importer.C (Import): use boost::format
3434 * debug.C (showLevel): use boost::format
3436 * converter.C (view): use boost::format
3441 * bufferview_funcs.C (currentState): use boost::format
3443 * bufferlist.C (emergencyWrite): use boost::format
3445 * buffer.C (readLyXformat2): use boost::format
3446 (parseSingleLyXformat2Token): ditto
3448 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3450 * LaTeX.C (run): use boost::format
3452 * Chktex.C (scanLogFile): use boost::format
3454 * BufferView_pimpl.C (savePosition): use boost::format
3455 (restorePosition): ditto
3456 (MenuInsertLyXFile): ditto
3458 * BoostFormat.h: help file for explicit instation.
3460 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3462 * tabular.C (latex): Support for block alignment in fixed width
3465 2002-11-17 John Levon <levon@movementarian.org>
3467 * BufferView_pimpl.C:
3469 * lyxfunc.C: split filedialog into open/save
3471 2002-11-08 Juergen Vigna <jug@sad.it>
3473 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3474 by my last patch (hopefully).
3476 2002-11-08 John Levon <levon@movementarian.org>
3485 * toc.C: ParConstIterator, and use it (from Lars)
3487 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3489 * lyxtextclass.[Ch]: revise and add doxygen comments
3491 2002-11-07 John Levon <levon@movementarian.org>
3493 * text.C: fix progress value for spellchecker
3495 * toc.C: fix navigate menu for insetwrap inside minipage
3497 * paragraph_funcs.C: added FIXME for suspect code
3499 2002-11-07 John Levon <levon@movementarian.org>
3501 * BufferView_pimpl.C: fix redrawing of insets
3504 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3506 * text2.C (updateCounters): fix bug 668
3508 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3510 * text3.C (dispatch): Do not make the buffer dirty when moving the
3513 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3515 * vc-backend.C: STRCONV
3518 * text2.C (setCounter): STRCONV
3520 * paragraph.C (asString): STRCONV
3522 * lyxlength.C (asString): STRCONV
3523 (asLatexString): ditto
3525 * lyxgluelength.C (asString): STRCONV
3526 (asLatexString): ditto
3528 * lyxfunc.C (dispatch): STRCONV
3531 * lyxfont.C (stateText): STRCONV
3533 * importer.C (Import): STRCONV
3535 * counters.C (labelItem): STRCONV
3536 (numberLabel): ditto
3537 (numberLabel): remove unused ostringstream o
3542 * bufferview_funcs.C (currentState): STRCONV
3544 * buffer.C (readFile): STRCONV
3545 (asciiParagraph): ditto
3546 (makeLaTeXFile): ditto
3548 * Spacing.C (writeEnvirBegin): STRCONV
3550 * LaTeXFeatures.C (getLanguages): STRCONV
3551 (getPackages): ditto
3553 (getBabelOptions): ditto
3554 (getTClassPreamble): ditto
3555 (getLyXSGMLEntities): ditto
3556 (getIncludedFiles): ditto
3560 (scanAuxFile): ditto
3563 * LString.h: add the STRCONV macros
3565 * BufferView_pimpl.C (savePosition): STRCONV
3566 (restorePosition): ditto
3567 (MenuInsertLyXFile): ditto
3569 * vc-backend.C (scanMaster): change from submatch[...] to
3572 * funcrequest.C: include config.h
3574 * factory.C: include config.h
3576 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3578 * box.C: include config.h
3580 * LaTeX.C (scanAuxFile): change from submatch[...] to
3584 2002-10-25 Angus Leeming <leeming@lyx.org>
3586 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3588 * ispell.[Ch] (setError): new method.
3589 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3590 Use setError() insetead of goto END.
3592 * lyx_cb.C (AutoSave): move out child process into new class
3595 2002-10-30 John Levon <levon@movementarian.org>
3597 * text3.C: make start appendix undoable
3599 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3601 * lyxlength.C (inPixels): Fix returned value.
3603 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3606 2002-10-24 Angus Leeming <leeming@lyx.org>
3608 * lyxgluelength.h: no need to forward declare BufferParams
3609 or BufferView, so don't.
3611 2002-10-21 John Levon <levon@movementarian.org>
3613 * BufferView.C: menuUndo ->undo, redo
3615 * BufferView.h: document, remove dead, make some methods private
3617 * paragraph_funcs.h:
3618 * paragraph_funcs.C:
3619 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3624 * sgml.C: move sgml open/close tag into sgml.C
3626 * bufferview_funcs.h: unused prototype
3629 * lyxfunc.C: remove unused
3632 * text.C: remove unused
3634 2002-10-21 John Levon <levon@movementarian.org>
3638 * BufferView_pimpl.h:
3639 * BufferView_pimpl.C: fix mouse wheel handling based on
3640 patch from Darren Freeman
3642 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3644 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3646 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3648 * lyxlength.C (inPixels): Fix hanfling of negative length.
3649 Fix LyXLength::MU case.
3651 2002-10-16 John Levon <levon@movementarian.org>
3653 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3655 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3657 * converter.C (view): add support for $$i (file name) and $$p
3658 (file path) for the viewer command. If $$i is not specified, then
3659 it is appended to the command (for compatibility with old syntax)
3661 2002-10-14 Juergen Vigna <jug@sad.it>
3663 * undo_funcs.C (textHandleUndo): alter the order in which the
3664 new undopar is added to the LyXText, as we have to set first
3665 the right prev/next and then add it as otherwise the rebuild of
3666 LyXText is not correct. Also reset the cursor to the right paragraph,
3667 with this IMO we could remove the hack in "redoParagraphs()".
3669 2002-10-09 Angus Leeming <leeming@lyx.org>
3671 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3672 to turn off an optimisation if a new inset is to be inserted.
3674 2002-10-11 André Pönitz <poenitz@gmx.net>
3676 * lyxtext.h: make some functions public to allow access
3677 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3679 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3681 * text3.C (dispatch): when changing layout, avoid an infinite loop
3684 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3686 * lyxrc.C (read): treat a viewer or converter command of "none" as
3689 * MenuBackend.C (expandFormats): for an update, also allow the
3690 formats that are not viewable
3692 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3693 script if it is newer than the lyxrc.defaults in user directory
3695 2002-10-07 André Pönitz <poenitz@gmx.net>
3697 * text.C: Vitaly Lipatov's small i18n fix
3699 2002-09-25 Angus Leeming <leeming@lyx.org>
3701 * ispell.h: doxygen fix.
3703 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3705 * buffer.h (readFile): Add a new argument to the method, to allow
3706 reading of old-format templates.
3708 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3710 * toc.C (getTocList): Get TOC from InsetWrap.
3712 2002-09-16 John Levon <levon@movementarian.org>
3714 * lyxfunc.C: check tabular for cut/copy too
3716 2002-09-12 John Levon <levon@movementarian.org>
3721 * factory.C: add header
3723 * paragraph_funcs.h:
3724 * paragraph_funcs.C: cleanup
3726 2002-09-11 John Levon <levon@movementarian.org>
3728 * PrinterParams.h: odd/even default to true
3730 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3732 * PrinterParams.h: update printer parameters for new xforms dialog
3734 2002-09-11 Angus Leeming <leeming@lyx.org>
3736 * lyxserver.C (read_ready): re-write to make it more transparent
3737 and to make it work in coherent fashion under Tru64 Unix.
3739 2002-09-11 André Pönitz <poenitz@gmx.net>
3743 * text3.C: implement LFUN_WORDSEL
3745 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3747 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3748 make floatlist_ a boost::shared_ptr<FloatList>
3750 * lyxtextclass.C: include FloatList.h
3751 (LyXTextClass): initialize floatlist_
3752 (TextClassTags): add TC_NOFLOAT
3753 (Read): match "nofloat" to TC_NOFLOAT and use it.
3754 (readFloat): modify call to floatlist_
3758 * FloatList.[Ch] (FloatList): remove commented out float
3760 (erase): new function
3762 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3764 * MenuBackend.C (expandToc): fix crash when there is no document
3767 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3769 * many files: Add insetwrap.
3771 2002-09-09 John Levon <levon@movementarian.org>
3773 * text2.C: remove confusing and awkward depth wraparound
3775 2002-09-09 John Levon <levon@movementarian.org>
3777 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3780 * buffer.C: remove getIncludeonlyList()
3783 * lyxfunc.C: remove headers
3785 2002-09-09 Juergen Vigna <jug@sad.it>
3787 * text.C (getColumnNearX): fix form Michael this is most
3788 probably a cut&paste bug.
3790 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3792 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3794 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3795 references, ws changes.
3797 * text2.C (init): update counters after init
3798 (insertParagraph): no need to set counter on idividual paragraphs.
3799 (setCounter): access the counters object in the textclass object
3800 on in the buffer object.
3801 (updateCounters): ditto
3803 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3804 shared_ptr<Counters> to avoid loading counters.h in all
3806 (LyXTextClass): initialize ctrs_
3807 (TextClassTags): add TC_COUNTER, and ...
3808 (Read): use it here.
3809 (CounterTags): new tags
3810 (readCounter): new function
3811 (counters): new funtion
3812 (defaultLayoutName): return a const reference
3814 * counters.C (Counters): remove contructor
3815 (newCounter): remove a couple of unneeded statements.
3816 (newCounter): simplify a bit.
3817 (numberLabel): some small formatting changes.
3819 * buffer.[Ch]: remove all traces of counters, move the Counters
3820 object to the LyXTextClass.
3822 2002-09-06 Alain Castera <castera@in2p3.fr>
3824 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3825 package to set the horizontal alignment on fixed width columns.
3828 * lyx_sty.h: added tabularnewline macro def.
3830 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3832 2002-09-06 John Levon <levon@movementarian.org>
3834 * LyXAction.C: tooltips for sub/superscript
3836 * MenuBackend.C: a bit more verbose
3838 * lyxfunc.C: tiny clean
3840 * undo_funcs.C: document undo_frozen
3842 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3844 * counters.C (Counters): add missing algorithm counter.
3846 * text2.C (setCounter): lookup the counter with layouts latexname
3847 instead of by section number.
3848 (setCounter): use a hackish way to lookup the correct enum
3850 a float name->type change
3851 reset enum couners with counter name directly instead of depth value.
3853 * counters.C (Counters): remove the push_backs, change to use the
3854 float type not the float name.
3855 (labelItem): remove unused string, float name->type change
3857 * counters.h: don't include vector, loose the enums and sects vectors
3859 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3861 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3862 (Read): add float->TC_FLOAT to textclassTags
3863 (Read): and handle it in the switch
3864 (readFloat): new function
3866 * FloatList.C (FloatList): comment out the hardcoded float
3869 * lyxlayout.h: ws change.
3871 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3873 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3875 2002-09-03 Angus Leeming <leeming@lyx.org>
3877 * BufferView_pimpl.h: qualified name is not allowed in member
3878 declaration: WorkArea & Pimpl::workarea() const;
3880 * factory.C: added using std::endl directive.
3882 * text3.C: added using std::find and std::vector directives.
3884 2002-08-29 André Pönitz <poenitz@gmx.net>
3887 * text2.C: remove unused member number_of_rows
3890 * BufferView2.C: remove file, move contents to...
3891 * BufferView.C: ... here
3893 * BufferView_pimpl.C:
3894 * factory.C: move more inset creation to factory
3896 * vspace.C: avoid direct usage of LyXText, ws changes
3899 don't provide direct access to WorkArea, use two simple
3900 acessors haveSelction() and workHeight() instead
3903 2002-08-29 John Levon <levon@movementarian.org>
3905 * BufferView_pimpl.C (dispatch): do not continue when
3908 2002-08-28 André Pönitz <poenitz@gmx.net>
3910 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3913 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3915 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3917 * buffer.C: increment LYX_FORMAT to 221
3919 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3920 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3922 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3924 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3926 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3928 * factory.C (createInset): use LyXTextClass::floats
3930 * MenuBackend.C (expandFloatListInsert):
3931 (expandFloatInsert):
3934 * text2.C (setCounter):
3936 * LaTeXFeatures.C (useFloat):
3937 (getFloatDefinitions):
3939 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3941 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3942 floatlist_, with accessor floats().
3944 * FloatList.h: remove global FloatList
3946 2002-08-26 André Pönitz <poenitz@gmx.net>
3948 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3952 * BufferView_pimpl.C:
3953 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3955 2002-08-25 John Levon <levon@movementarian.org>
3957 * LyXAction.C: fix margin note description
3959 2002-08-24 John Levon <levon@movementarian.org>
3963 * bufferview_funcs.C:
3965 * undo_funcs.C: cleanups
3967 * lyxfunc.C: disable CUT/COPY when no selection
3969 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3971 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3972 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3974 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3975 Add backward compatibility to "mono", "gray" and "no".
3977 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3979 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3980 (and file_format >= 200).
3982 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3984 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3986 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3988 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3990 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3992 * BufferView_pimpl.C:
3999 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4000 inset and code to make it work with the paragraph code. The inset
4001 can be anywhere in the paragraph, but will only do the expected
4002 thing in LaTeX if the layout file contains the parameter line
4004 (or more generally, a nonzero value) for that layout.
4006 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4008 * paragraph.h: remove the declaration of undefined counters class
4011 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4013 * text2.C (setCounter): fixed enumeration mis-count as reported by
4014 Dr. Richard Hawkins.
4016 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4018 * paragraph_funcs.h: remove some unneeded includes
4020 * text.C (backspace): pasteParagraph now in global scipe
4022 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4023 (pasteSelection): ditto
4025 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4026 * paragraph_funcs.C (pasteParagraph): ... here
4028 2002-08-20 André Pönitz <poenitz@gmx.net>
4030 * commandtags.h: new LFUNs for swapping/copying table row/colums
4033 * lyxfunc.C: support for new lfuns
4035 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4038 * buffer.[Ch]: remove NO_COMPABILITY stuff
4040 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4042 * boost.C (throw_exception): new file, with helper function for
4043 boost compiled without exceptions.
4048 * ParameterStruct.h:
4049 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4051 * bufferlist.C (emergencyWriteAll): use boost bind
4053 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4055 * text.C: include paragraph_funcs.h
4056 (breakParagraph): breakParagraph is now in global scope
4058 * paragraph_funcs.[Ch]: new files
4060 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4063 * buffer.C: include paragraph_funcs.h
4064 (insertStringAsLines): breakParagraph is now in global scope
4066 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4069 * CutAndPaste.C: include paragraph_funcs.h
4070 (cutSelection): breakParagraphConservative is now in global scope
4071 (pasteSelection): ditto
4073 * buffer.h: declare oprator== and operator!= for
4074 Buffer::inset_iterator
4076 * bufferlist.C (emergencyWrite): don't use fmt(...)
4078 * text3.C: add using std::endl
4080 * BufferView.C (moveCursorUpdate): remove default arg
4082 2002-08-20 André Pönitz <poenitz@gmx.net>
4084 * buffer.[Ch]: move inline functions to .C
4087 * BufferView_pimpl.C:
4089 * buffer.[Ch]: use improved inset_iterator
4092 * paragraph.[Ch]: write one paragraph at a time
4094 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4096 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4097 style if style is not specified.
4099 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4101 * text2.C (setCounter): when searching for right label for a
4102 caption, make sure to recurse to parent insets (so that a caption
4103 in a minipage in a figure float works) (bug #568)
4105 2002-08-20 André Pönitz <poenitz@gmx.net>
4107 * text3.C: new file for LyXText::dispatch() and helpers
4109 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4111 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4113 2002-08-19 André Pönitz <poenitz@gmx.net>
4116 * text.C: new LyXText::dispatch()
4118 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4120 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4122 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4124 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4127 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4129 * Makefile.am: use $(variables) instead of @substitutions@
4131 2002-08-15 André Pönitz <poenitz@gmx.net>
4134 * BufferView_pimpl.C: streamlining mathed <-> outer world
4138 * LyXAction.C: remove unused LFUN_MATH
4140 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4142 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4144 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4146 * paragraph.C (Paragraph): reformat a bit
4147 (cutIntoMinibuffer): use builtin InsetList function instad of
4151 * buffer.C: include boost/bind.hpp, add using std::for_each
4152 (writeFileAscii): use ParagraphList iterators
4153 (validate): use for_each for validate traversal of paragraphs
4154 (getBibkeyList): use ParagraphList iterators
4155 (resizeInsets): use for_each to resizeInsetsLyXText for all
4157 (getParFromID): use ParagraphList iterators
4159 * BufferView2.C (lockInset): use paragraph list and iterators
4161 2002-08-14 John Levon <levon@movementarian.org>
4163 * lyxserver.C: remove spurious xforms include
4165 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4167 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4169 2002-08-13 André Pönitz <poenitz@gmx.net>
4172 * lyxfunc.C: further cleaning
4174 2002-08-13 André Pönitz <poenitz@gmx.net>
4176 * funcrequest.h: new constructor
4178 * funcrequest.C: move stuff here from .h
4181 * BufferView_pimpl.C:
4184 * lyxfunc.C: subsequent changes
4186 * lyxfunc.h: new view() member function
4188 * lyxfunc.C: subsequent changes
4190 2002-08-13 Angus Leeming <leeming@lyx.org>
4193 * BufferView_pimpl.C:
4201 changes due to the changed LyXView interface that now returns references
4202 to member variables not pointers.
4204 2002-08-13 Angus Leeming <leeming@lyx.org>
4206 * WordLangTuple (word, lang_code): return references to strings,
4211 * lyxtext.h: forward-declare WordLangTuple.
4216 * text.C: #include "WordLangTuple.h".
4219 * text.C: (selectNextWordToSpellcheck): constify return type.
4221 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4227 * paragraph_pimpl.h:
4230 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4232 Made updateCounter always count from start of buffer, and removed
4233 second argument (par).
4234 Reverted floats number display to '#'. Perhaps I'll try again when the
4235 code base is sanitized a bit.
4237 2002-08-12 Angus Leeming <leeming@lyx.org>
4239 * buffer.[Ch] (getLabelList): constify.
4241 2002-08-07 André Pönitz <poenitz@gmx.net>
4243 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4245 * funcrequest.h: extension to keep mouse (x,y) position
4247 2002-08-12 Juergen Vigna <jug@sad.it>
4249 * BufferView2.C (insertErrors): forbid undo when inserting error
4252 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4254 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4256 * ParagraphList.[Ch]: new files
4258 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4260 * BufferView2.C (lockInset): ParagraphList changes
4263 * bufferlist.C: ditto
4267 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4269 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4270 unused class variable counter_,
4272 * paragraph.[Ch] (getFirstCounter): delete unused function
4274 * counters.C: include LAssert.h
4275 (reset): add a new function with no arg, change other version to
4276 not have def. arg and to not allow empty arg.
4278 * text2.C (setCounter): remove empty arg from call to Counters::reset
4280 2002-08-11 John Levon <levon@movementarian.org>
4282 * Makefile.am: add WordLangTuple.h
4284 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4286 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4287 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4289 * insets/insettext.C: InsetList changes
4291 * graphics/GraphicsSupport.C (operator()): InsetList changes
4293 * toc.C (getTocList): InsetList changes
4295 * paragraph_pimpl.[Ch]: InsetList changes
4297 * paragraph.[Ch]: InsetList changes
4299 * buffer.C (inset_iterator): InsetList changes
4300 (setParagraph): ditto
4301 * buffer.h (inset_iterator): ditto
4302 * iterators.C (operator++): ditto
4303 * iterators.h: ditto
4305 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4307 * InsetList.[Ch]: new files, most InsetList handling moved out of
4310 * BufferView2.C (removeAutoInsets): InsetList changes
4312 (ChangeInsets): ditto
4314 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4316 * paragraph_pimpl.h (empty): new function
4318 * paragraph.[Ch] (empty): new function
4320 * other files: use the new Paragraph::empty function
4322 2002-08-09 John Levon <levon@movementarian.org>
4324 * lyxtext.h: remove unused refresh_height
4326 2002-08-09 John Levon <levon@movementarian.org>
4333 * paragraph.C: move sgml char escaping out of paragraph
4336 * paragraph.C: remove id setter
4340 * paragraph_pimpl.C: remove dead tex_code_break_column
4342 * bufferview_funcs.C: small cleanup
4344 * lyxfunc.C: remove dead proto
4346 * lyxtext.h: make some stuff private. Remove some dead stuff.
4348 * lyxgluelength.C: make as[LyX]String() readable
4350 2002-08-08 John Levon <levon@movementarian.org>
4355 * ToolbarDefaults.C:
4358 * toc.C: lyxaction cleanup
4360 2002-08-08 John Levon <levon@movementarian.org>
4362 * BufferView2.C: small cleanup
4365 * lyxfind.C: move unnecessary header into the .C
4367 2002-08-08 John Levon <levon@movementarian.org>
4369 * funcrequest.h: just tedious nonsense
4372 * lyx_main.C: cleanups
4375 * vspace.C: remove dead header lyx_main.h
4377 2002-08-07 Angus Leeming <leeming@lyx.org>
4380 * paragraph_pimpl.h:
4381 Forward declare class Counters in paragraph.h by moving the ctrs member
4382 variable into Paragraph::Pimpl.
4383 (counters): new method, returning a reference to pimpl_->ctrs.
4385 * text2.C: ensuing changes.
4387 2002-08-07 John Levon <levon@movementarian.org>
4389 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4391 * BufferView_pimpl.C: announce X selection on double/triple
4394 * lyx_main.C: use correct bool in batch dispatch
4396 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4398 2002-08-07 André Pönitz <poenitz@gmx.net>
4400 * funcrequest.h: new class to wrap a kb_action and its argument
4403 * BufferView_pimpl[Ch]:
4407 * lyxrc.C: subsequent changes
4410 2002-08-07 John Levon <levon@movementarian.org>
4412 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4413 document options change.
4415 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4420 * makefile.am: move counters functionality over from
4421 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4423 2002-08-06 John Levon <levon@movementarian.org>
4425 * WordLangTuple.h: new file for word + language code tuple
4436 * BufferView2.C: use WordLangTuple
4439 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4441 2002-08-06 John Levon <levon@movementarian.org>
4443 * lyx_main.C: fix cmdline batch handling
4445 2002-08-06 André Pönitz <poenitz@gmx.net>
4447 * lyxrc.C: set default for show_banner to true
4449 2002-08-06 John Levon <levon@movementarian.org>
4451 * pspell.C: fix a crash, and allow new aspell to work
4453 2002-08-06 John Levon <levon@movementarian.org>
4456 * kbmap.C: small cleanup
4459 * vspace.C: add const
4461 2002-08-05 John Levon <levon@movementarian.org>
4463 * LyXAction.C: back to tabular-insert
4465 2002-08-04 John Levon <levon@movementarian.org>
4468 * BufferView.C: cosmetic change
4470 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4480 * BufferView2.C: purge all "Lyx" not "LyX" strings
4483 * lyxcursor.C: attempt to add some documentation
4488 * ToolbarDefaults.C:
4489 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4490 merge with LFUN_TABULAR_INSERT
4497 * pspell.C: split up i/pspell implementations into separate
4498 files, many cleanups
4500 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4502 * text2.C: some cleanup
4504 * lyxfunc.C: don't check for isp_command == "none" any more, it
4505 didn't make any sense
4507 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4512 * makefile.am: move counters functionality over
4513 from text2.C/paragraph.[Ch] to counters.[Ch], and
4515 2002-08-02 John Levon <levon@movementarian.org>
4517 * buffer.C: s/lyxconvert/lyx2lyx/
4519 2002-08-02 Angus Leeming <leeming@lyx.org>
4521 * lyxlex.C: revert John's change as it breaks reading of the user
4524 2002-08-02 Angus Leeming <leeming@lyx.org>
4526 * importer.C (Import):
4527 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4528 changes due to LyXView::view() now returning a boost::shared_ptr.
4530 2002-08-02 John Levon <levon@movementarian.org>
4532 * lyxlex.C: small cleanup
4534 2002-08-02 John Levon <levon@movementarian.org>
4536 * text2.C (status): small cleanup, no logic change
4538 2002-08-01 John Levon <levon@movementarian.org>
4541 * buffer.C (writeFile): don't output alerts, caller
4545 * lyx_cb.C: from above
4547 * lyxfunc.C: allow to open non-existent files
4549 2002-07-31 John Levon <levon@movementarian.org>
4551 * lyxserver.C: don't let incidental errors get
4554 2002-07-30 John Levon <levon@movementarian.org>
4556 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4558 2002-07-30 John Levon <levon@movementarian.org>
4561 * lyxserver.C: remove I/O callback too
4563 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4565 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4568 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4570 * many files: strip,frontStrip -> trim,ltrim,rtrim
4572 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4574 * PrinterParams.h: remove extern containsOnly, and include
4575 support/lstrings.h instead.
4577 * LaTeX.C (scanAuxFile): modify because of strip changes
4579 * buffer.C (makeLaTeXFile): ditto
4580 * bufferparams.C (writeFile): ditt
4581 * lyxfont.C (stateText): ditto
4582 * lyxserver.C (read_ready): ditto
4583 * vc-backend.C (scanMaster): ditto
4585 * BufferView_pimpl.h: ws changes
4587 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4589 2002-07-26 André Pönitz <poenitz@gmx.net>
4591 * kb_sequence.C: remove unnedred usings
4593 2002-07-26 Juergen Vigna <jug@sad.it>
4595 * lyxfind.C (LyXReplace): we have to check better if the returned
4596 text is not of theLockingInset()->getLockingInset().
4598 2002-07-25 Juergen Vigna <jug@sad.it>
4600 * lyxfind.C (LyXReplace): don't replace if we don't get the
4603 * undo_funcs.C (createUndo): remove debugging code.
4605 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4607 * buffer.C (parseSingleLyXformat2Token): Use default placement
4608 when reading old floats.
4610 * FloatList.C (FloatList): Change the default placement of figure
4611 and tables to "tbp".
4613 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4615 * MenuBackend.C: using std::max
4617 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4619 * MenuBackend.C (expandToc):
4620 (expandToc2): code moved from xforms menu frontend. It is now
4621 generic and TOCs are transparent to menu frontends.
4623 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4625 * toc.C (getTocList): protect against buf=0
4627 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4628 Menu as first parameter. Now, this calls itself recursively to
4629 expand a whole tree (this will be useful for TOC handling)
4630 (expandFloatInsert): remove 'wide' version of floats
4632 * MenuBackend.h (submenuname): returns the name of the submenu.
4633 (submenu): returns the submenu itself, provided it has been
4634 created by MenuBackend::expand
4636 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4638 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4639 insets which have noFontChange == true. (bug #172)
4641 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4643 * BufferView_pimpl.C: add connection objects and use them...
4646 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4648 * MenuBackend.C (expandLastfiles):
4651 (expandFloatListInsert):
4652 (expandFloatInsert):
4653 (expand): split expand in parts
4655 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4657 * lyx_gui.C: use lyx_gui::exit()
4659 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4661 * LyXAction.C: show the failing pseudo action
4663 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4665 * buffer.C (readFile): Run the lyxconvert script in order to read
4668 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4672 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4674 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4678 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4680 2002-07-22 Herbert Voss <voss@lyx.org>
4683 * lyxlength.[Ch]: add support for the vertical lengths
4685 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4687 * toc.[Ch]: std:: fixes
4689 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4691 * lyxrc.C: do not include lyx_main.h
4693 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4699 * BufferView2.C: include "lyxlex.h"
4702 * bufferparams.h: do not #include "lyxlex.h"
4704 * lyxtextclasslist.C (Add): remove method
4705 (classlist): renamed to classlist_
4707 * paragraph_pimpl.C:
4711 * bufferview_funcs.C:
4716 * toc.C (getTocList): use BufferParams::getLyXTextClass
4718 * toc.C (getTocList): use InsetFloat::addToToc
4720 * toc.[Ch]: new files, containing helper functions to handle table
4723 * lyxfunc.C (dispatch): no need to remove spaces around command
4725 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4726 first command of the sequence; it is not very clever, but I do not
4727 have a better idea, actually
4729 * LyXAction.C (LookupFunc): make sure to remove space at the
4730 beginning and end of the command
4732 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4734 * MenuBackend.C (getMenubar): new method: return the menubar of
4736 (read): treat differently reading of menu and menubar (in
4737 particular, the menubar has no name now)
4738 (Menu::menubar): remove
4740 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4743 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4745 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4746 a bibitem inset in a RTL paragraph.
4748 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4750 * paragraph_pimpl.C: constify
4752 * BufferView_pimpl.C:
4754 * lyxfunc.C: fix dispatch in a nicer way
4756 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4758 * lyxfunc.C (dispatch):
4759 * BufferView_pimpl.C:
4760 * BufferView_pimpl.h:
4762 * BufferView.h: rename Dispatch() to dispatch()
4764 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4766 * lyxlayout.C (Read): honor DependsOn tag
4768 * lyxlayout.[Ch] (depends_on): new method
4770 * version.C.in: update lyx_docversion
4772 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4774 * paragraph.C (validate): remove from here...
4775 * paragraph_pimpl.C (validate): ... and move here
4776 (isTextAt): make it const
4778 * buffer.C (getLists): ws cleanup
4780 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4782 * language.C (read): Use iso8859-1 encoding in latex_lang
4783 (this prevents LyX from crashing when using iso10646-1 encoding).
4785 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4787 * text2.C (toggleInset): if cursor is inside an inset, close the
4788 inset and leave cursor _after_ it
4790 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4792 * lyxfunc.C: move minibuffer completion handling out of here
4794 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4796 * BufferView_pimpl.C:
4797 * LaTeX.C: fix dispatch calls
4799 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4801 * text.C (drawChars): Fix Arabic text rendering.
4803 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4807 * lyxfunc.C: remove message-push/pop
4811 * lyxfunc.C: rationalise some code by removing verboseDispatch
4812 in favour of a bool argument to dispatch()
4814 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4816 * lyx_main.C (init): make sure to read symlinks as absolute paths
4818 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4821 * lyxfunc.C: no need for commandshortcut to be a member
4823 2002-07-15 André Pönitz <poenitz@gmx.net>
4825 * converter.C: add support for $$s (scripts from lib/scripts dir)
4826 * lyx_main.C: white space
4828 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4832 * lyxrc.C: remove second exit confirmation
4834 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4839 * BufferView_pimpl.h:
4840 * BufferView_pimpl.C:
4841 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4843 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4845 * MenuBackend.C (expand): add numeric shortcuts to document menu
4847 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4849 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4851 * lyxfont.C (setLyXFamily):
4858 * buffer.C (asciiParagraph): use ascii_lowercase
4860 2002-07-15 Mike Fabian <mfabian@suse.de>
4862 * lyxlex_pimpl.C (search_kw):
4863 * lyxlex.C (getLongString):
4864 * converter.h (operator<):
4865 * converter.C (operator<):
4866 * buffer.C (parseSingleLyXformat2Token):
4868 * ToolbarDefaults.C (read):
4869 * MenuBackend.C (checkShortcuts):
4871 * LColor.C (getFromGUIName):
4872 (getFromLyXName): use the compare_ascii_no_case instead of
4873 compare_no_case, because in turkish, 'i' is not the lowercase
4874 version of 'I', and thus turkish locale breaks parsing of tags.
4876 2002-07-16 Angus Leeming <leeming@lyx.org>
4878 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4879 now takes a Buffer const & argument.
4881 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4883 * BufferView.C (resize): check there's a buffer to resize
4885 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4887 * lyxfunc.C: remove dead code
4890 * lyxserver.C: use lyx_guii::set_read_callback
4892 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4894 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4895 an inset in a RTL paragraph.
4897 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4899 * lyxfunc.C: repaint after a font size update
4901 2002-07-15 André Pönitz <poenitz@gmx.net>
4903 * lyxlength.C: inBP should be able to return negative values
4905 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4907 * lyxfunc.C: use lyx_gui::update_fonts()
4909 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4911 * lyxfunc.C: use lyx_gui::update_color()
4913 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4919 * lyxrc.C: remove file->new asks for name option, and let
4920 buffer-new take an argument
4922 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4924 * BufferView_pimpl.C: remove unneeded extra repaint()
4926 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4928 * LyXAction.C: allow command-sequence with NoBuffer
4930 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4932 2002-07-10 Angus Leeming <leeming@lyx.org>
4934 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4936 2002-07-09 Angus Leeming <leeming@lyx.org>
4938 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4940 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4942 * lengthcommon.h: whitespace
4944 * lyxfunc.C: update scrollbar after goto paragraph
4946 * lyxtext.h: factor out page break drawing, and fix it so
4947 page break/added space paints as selected nicely
4949 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4951 * BufferView_pimpl.C: add FIXMEs, clean up a little
4953 2002-07-09 André Pönitz <poenitz@gmx.net>
4955 * lyxfont.[Ch]: support for wasy symbols
4957 2002-07-08 André Pönitz <poenitz@gmx.net>
4959 * BufferView_pimpl.C: apply John's patch for #93.
4961 2002-07-05 Angus Leeming <leeming@lyx.org>
4963 * BufferView_pimpl.C (buffer): generate previews if desired.
4965 * LColor.h: add "preview" to the color enum.
4967 * LColor.C (LColor): add a corresponding entry to the items array.
4969 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4972 2002-07-05 Angus Leeming <leeming@lyx.org>
4974 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4975 The body of the code is now in the method that is passed an ostream &
4976 rather than a file name.
4977 Pass an additional only_preamble parameter, useful for the forthcoming
4980 2002-07-03 André Pönitz <poenitz@gmx.net>
4982 * lyxfunc.C: simplify getStatus() a bit for math stuff
4984 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4986 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4988 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4990 * text.C (changeRegionCase): do not change case of all the
4991 document when region ends at paragraph end (bug #461)
4993 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4995 * paragraph.C (startTeXParParams):
4996 (endTeXParParams): add \protect when necessary
4998 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5000 * BufferView_pimpl.C (workAreaExpose): remove warning
5002 2002-06-27 Angus Leeming <leeming@lyx.org>
5004 * Makefile.am: add lyxlayout_ptr_fwd.h.
5006 2002-06-26 André Pönitz <poenitz@gmx.net>
5008 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5010 2002-06-25 Angus Leeming <leeming@lyx.org>
5012 * lyxfunc.C (dispatch): Comment out the call to
5013 grfx::GCache::changeDisplay. The method no longer exists now that the
5014 pixmap generation part of the graphics loader has been moved into
5017 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5019 * text2.C: layout as layout
5021 * text.C: layout as layout
5023 * tabular.C (OldFormatRead): layout as layout
5025 * paragraph_pimpl.C (TeXDeeper): layout as layout
5026 (realizeFont): layout as layout
5028 * paragraph.C (writeFile): layout as layout
5029 (validate): layout as layout
5030 (getFont): layout as layout
5031 (getLabelFont): layout as layout
5032 (getLayoutFont): layout as layout
5033 (breakParagraph): layout as layout
5034 (stripLeadingSpaces): layout as layout
5035 (getEndLabel): layout as layout
5036 (getMaxDepthAfter): layout as layout
5037 (applyLayout): layout as layout
5038 (TeXOnePar): layout as layout
5039 (simpleTeXOnePar): layout as layout
5040 (TeXEnvironment): layout as layout
5041 (layout): layout as layout
5042 (layout): layout as layout
5044 * lyxtextclass.C (compare_name): new functor to work with
5045 shared_ptr, layout as layout
5046 (Read): layout as layout
5047 (hasLayout): layout as layout
5048 (operator): layout as layout
5049 (delete_layout): layout as layout
5050 (defaultLayout): layout as layout
5052 * lyxlayout_ptr_fwd.h: new file
5054 * lyxlayout.C (Read): layout as layout
5056 * lyx_cb.C (MenuInsertLabel): layout as layout
5058 * bufferlist.C (newFile): layout as layout
5060 * buffer.C (readLyXformat2): layout as layout
5061 (parseSingleLyXformat2Token): layout as layout
5062 (insertStringAsLines): layout as layout
5063 (asciiParagraph): layout as layout
5064 (latexParagraphs): layout as layout
5065 (makeLinuxDocFile): layout as layout
5066 (simpleLinuxDocOnePar): layout as layout
5067 (makeDocBookFile): layout as layout
5068 (simpleDocBookOnePar): layout as layout
5069 (getLists): layout as layout
5071 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5073 * CutAndPaste.C (cutSelection): layout as layout
5074 (pasteSelection): layout as layout
5075 (SwitchLayoutsBetweenClasses): layout as layout
5077 * BufferView_pimpl.C (Dispatch): layout as layout
5078 (smartQuote): layout as layout
5080 * BufferView2.C (unlockInset): layout as layout
5082 2002-06-24 André Pönitz <poenitz@gmx.net>
5084 * lyxfunc.C: fix #487
5086 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5090 * lyxfunc.C: remove display_shortcuts, show_banner
5092 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5094 * Buffer_pimpl.C: oops, update on resize
5096 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5103 * BufferView.C: use repaint()
5105 * BufferView_pimpl.h:
5106 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5107 as it's a clearer description. Remove superfluous
5110 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5112 * text.C: fix bug 488. Not ideal, but getting
5113 getWord() to work properly for the insets that
5114 matter is more difficult ...
5116 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5118 * BufferView_pimpl.C:
5121 * lyxfunc.C: remove the six million index lyxfuncs to just
5122 one, and DTRT (bug 458)
5124 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5128 * BufferView_pimpl.h:
5129 * BufferView_pimpl.C: clean up resize() stuff,
5130 and unnecessary updateScreen()s
5132 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5136 * BufferView_pimpl.h:
5137 * BufferView_pimpl.C:
5140 * minibuffer.C: remove focus management of workarea,
5141 not needed. Use screen's greyOut()
5143 2002-06-17 Herbert Voss <voss@lyx.org>
5145 * converter.C: (convert) do not post a message, when converting
5146 fails, let the calling function decide what to do in this case
5148 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5150 * lyxfunc.C: tidy up a little
5152 2002-06-16 <alstrup@diku.dk>
5154 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5155 Got rid of FORMS_H_LOCATION include. Now we are
5158 2002-06-15 LyX Development team <lyx@rilke>
5160 * buffer.[Ch] (sgmlOpenTag):
5161 (sgmlCloseTag): Added support for avoiding pernicious mixed
5162 content. Return number of lines written.
5165 (makeDocBookFile): Fixed calls to sgml*Tag.
5166 Simple white space clean.
5168 (simpleDocBookOnePar): Simple white space clean.
5170 * tabular.[Ch] (docBook): Renamed to docbook and got another
5171 argument to related with the pernicious mixed content.
5173 (docbookRow): Fixed calls for docbook inset method.
5175 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5177 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5178 so it's X11 independent.
5182 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5184 2002-06-15 Lyx Development team <lyx@electronia>
5186 * intl.h: Renamed getTrans to getTransManager.
5188 2002-06-14 Angus Leeming <leeming@lyx.org>
5190 * Makefile.am: nuke forgotten stl_string_fwd.h.
5192 2002-06-12 Angus Leeming <leeming@lyx.org>
5194 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5196 2002-06-13 Angus Leeming <leeming@lyx.org>
5199 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5201 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5203 * kbmap.C (getiso): add support for cyrillic and greek
5205 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5209 * BufferView_pimpl.h:
5210 * BufferView_pimpl.C: move bogus scrolling logic
5213 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5216 * BufferView_pimpl.C: view->resize() change
5218 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5220 * BufferView_pimpl.C: topCursorVisible
5223 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5227 * lyx_gui.C: move to frontends/
5231 * lyx_main.C: changes from above
5233 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5240 * lyx_main.C: minor tidy
5242 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5244 * BufferView_pimpl.h:
5245 * BufferView_pimpl.C:
5247 * BufferView.C: make painter() const,
5250 * BufferView2.C: use screen() accessor
5253 * lyx_main.C: some minor cleanup
5255 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5257 * BufferView_pimpl.h:
5258 * BufferView_pimpl.C: remove enter/leaveView,
5261 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5266 * BufferView_pimpl.h:
5267 * BufferView_pimpl.C: only construct screen once,
5270 * lyxrc.C: remove pointless comment
5272 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5275 * BufferView.C: remove active() and belowMouse()
5277 * BufferView_pimpl.h:
5278 * BufferView_pimpl.C: use workarea() not workarea_,
5279 and make it use a scoped_ptr instead
5281 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5283 * lyx_gui.C: add debug message on BadWindow
5285 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5287 * sp_spell.C: fdopen is not part of the C++ standard.
5289 * paragraph.C (InsetIterator): use >= instead of ==
5291 2002-06-07 Angus Leeming <leeming@lyx.org>
5293 Fixes needed to compile with Compaq cxx 6.5.
5294 * BufferView_pimpl.C:
5301 * lyxtextclasslist.C:
5306 all c-library variables have been moved into namespace std. Wrap
5307 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5312 Add a using std::abs declaration.
5314 * kbmap.h (modifier_pair):
5315 * paragraph.h (InsetTable, InsetList):
5316 * lyxfont.h (FontBits):
5317 type definition made public.
5319 * bufferlist.C (emergencyWriteAll): the compiler complains that
5320 there is more than one possible lyx::class_fun template to choose from.
5321 I re-named the void specialisation as lyx::void_class_fun.
5323 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5325 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5326 the compiler is is unable to find tostr in write_attribute.
5328 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5330 * buffer.C (sgmlError): hide #warning
5332 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5334 * xtl/*: get rid of xtl, which is not in use anyway
5336 * LyXAction.C (init):
5337 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5338 were unimplemented xtl experimentation
5340 2002-06-04 André Pönitz <poenitz@gmx.net>
5342 * lyxfunc.C: disable array operation on simple formulae
5344 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5346 * converter.C: constify a bit
5348 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5350 * lyx_gui.C: check xforms version correctly
5352 2002-04-30 Herbert Voss <voss@lyx.org>
5354 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5357 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5359 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5360 attempt to register it with a VCS)
5362 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5364 * lyx_main.C (init): honor variables LYX_DIR_13x and
5367 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5371 * lyx_main.C: fix a crash on bad command line,
5372 and give a useful exit status on error
5374 * lyxfunc.C (doImport): allow -i lyx to work
5376 2002-03-30 André Pönitz <poenitz@gmx.net>
5378 * lyxfunc.C: mathed font changes
5380 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5395 * trans_mgr.h: srcdocs, and some minor cleanups
5397 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5399 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5400 call getFont all the time)
5402 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5404 * switch from SigC signals to boost::signals
5406 2002-05-29 André Pönitz <poenitz@gmx.net>
5408 * paragraph_pimpl.C (getChar): don't call size() too often...
5410 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5412 * paragraph_pimpl.C (insertChar): do not try to update tables when
5413 appending (pos == size())
5415 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5416 in order to reduce drastically the number of comparisons needed to
5417 parse a large document
5419 2002-05-29 André Pönitz <poenitz@gmx.net>
5425 * textclasslist.[Ch]:
5426 * sp_ispell.h: whitespace change
5428 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5430 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5431 lyxaction directly now.
5433 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5437 * lyxvc.C: remove unused headers
5439 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5446 * undo_funcs.C: some cleanups. Use shared_ptr
5447 and a template for the undo stacks.
5449 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5451 * BufferView_pimpl.h:
5452 * BufferView_pimpl.C:
5459 * text2.C: use key_state/mouse_state
5461 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5463 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5466 * chset.C: change include order
5467 (loadFile): use boost regex and get rid of LRegex and LSubstring
5469 * Makefile.am (BOOST_LIBS): new variable
5472 * LaTeX.C: change include order.
5473 (scanAuxFile): use boost regex and get rid of LRegex and
5477 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5482 * FontInfo.C: moved to frontends/xforms/
5485 * FontLoader.C: moved into frontends for GUIIzation
5490 * lyxfunc.C: changes from above
5492 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5494 * LColor.C: remove spurious X include
5496 * BufferView_pimpl.C:
5501 * text2.C: move font metrics to frontends/
5503 2002-05-24 Juergen Vigna <jug@sad.it>
5505 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5506 setting the undo_cursor.
5508 * ParagraphParameters.h: include local includes first.
5510 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5512 * BufferView_pimpl.C:
5513 * BufferView_pimpl.h:
5517 * screen.C: move WorkArea into frontends/
5523 * BufferView2.C: move LyXScreen into frontends/
5527 * lyx_gui.C: move lyxlookup into frontends/xforms/
5529 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5532 * BufferView_pimpl.C:
5542 * bufferview_funcs.C:
5555 * vc-backend.C: move LyX/XFormsView into frontends/
5557 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5569 * text2.C: move Painter to frontends/
5571 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5573 * buffer.C: comment out some some code that depend upon lyx_format
5576 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5577 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5579 * buffer.h (NO_COMPABILITY): turn off compability
5581 * ColorHandler.C: include scoped_array.hpp
5583 * font.C: Use more specific smart_ptr header.
5586 * ShareContainer.h: ditto
5590 * BufferView_pimpl.h: ditto
5591 * ColorHandler.h: ditto
5593 * kbmap.C (defkey): change call to shared_ptr::reset
5595 2002-05-21 Juergen Vigna <jug@sad.it>
5597 * buffer.C (insertErtContents): fix to insert ert asis if it is
5598 non empty. Skip it completely if it contains only whitespaces.
5600 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5602 * BufferView_pimpl.C:
5603 * BufferView2.C: clear selection on paste (bug 393)
5605 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5607 * DepTable.C: include ctime
5609 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5611 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5613 2002-05-14 Juergen Vigna <jug@sad.it>
5615 * text.C (breakParagraph): fixed function to honor the keepempty
5616 layout in the right maner and also to permit the right breaking
5617 algorithm on empty or non empyt keepempty paragraphs.
5619 * paragraph.C (breakParagraph): we have to check also if the par
5620 is really empty (!size()) for isempty otherwise we do the wrong
5623 2002-05-10 Juergen Vigna <jug@sad.it>
5625 * buffer.[Ch] : The following are only changes to the ert
5626 compatibility read reading old LaTeX layout and font stuff and
5627 convert it to ERTInsets.
5629 * buffer.h: added isErtInset().
5631 * buffer.C (struct ErtComp): add a fromlayout bool to check
5632 if we're inside a LaTeX layout.
5633 (isErtInset): new helper function.
5634 (insertErtContents): look for other ert insets before this one
5635 and insert the contents there, so that we don't have subsequent
5636 ERT insets with nothing between them. This way we create only one
5637 inset with multiple paragraphs. Also check if we don't insert only
5638 spaces ' ' as they are ignored anyway afterwards in the .tex file
5639 so if we have only spaces we will ignore this latex part in the
5641 (parseSingleLyXformat2Token \\layout): better compatibility when
5642 reading layout-latex stuff.
5643 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5645 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5646 stuff after reading the inset only get the information back from
5649 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5651 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5653 * LaTeXFeatures.C (getBabelOptions): New method.
5655 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5657 * BufferView_pimpl.C (Dispatch): work around missing argument for
5660 2002-05-08 Juergen Vigna <jug@sad.it>
5662 * text.C (leftMargin): handle paragraph leftindent.
5664 * paragraph.C (writeFile): write the new \\leftindent tag.
5665 (validate): handle leftindent code.
5666 (TeXEnvironment): handle paragraphleftindent code again.
5668 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5670 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5671 for paragrap_extra indent code and new token \\leftindent.
5672 (latexParagraphs): handle the leftindent as environment.
5674 * ParameterStruct.h: added leftindent support.
5676 * ParagraphParameters.C (leftIndent): added support functions for
5677 the paragraph left indent.
5679 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5682 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5684 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5687 * text.C (computeBidiTables): No bidi in insetERT.
5689 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5692 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5694 * version.C.in: pre 5
5696 2002-05-02 José Matos <jamatos@fep.up.pt>
5697 * buffer.C (makeDocBookFile): white space changes, add newline to
5699 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5701 * tabular.C (docBook): fix typo.
5703 2002-05-03 Juergen Vigna <jug@sad.it>
5705 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5706 change in LyXText as we can not be sure it was not freed.
5707 (drawOneRow): remove unused code.
5709 * text.C (drawInset): redo the calculation of the need_break_row as
5710 it could have a row which was already freed.
5711 (draw): look at the return value of drawInset and return false if
5712 it also returned false.
5713 (paintRowText): look at the return value of draw and return false if
5714 it also returned false.
5716 * lyxtext.h: added bool return type to drawInset() and draw() so that
5717 if we have a change in the row so that the rowbreak has to be redone
5718 we abort drawing as it will be called again.
5720 2002-05-02 Juergen Vigna <jug@sad.it>
5722 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5723 a change in the maintext also if we're inside an inset.
5724 (Dispatch): set the cursor again after a break line and after the
5725 screen has been updated as it could be we're in a different row.
5727 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5728 to set the cursor behind the pargraph with > size().
5729 (setCursor): check also for the same paragraph when checking where
5730 to put the cursor if we have a NFR inset.
5732 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5733 parts of layout read further up as it still was in the wrong
5736 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5738 * screen.C (drawFromTo): change sine fullRebreak always return
5741 * buffer.C (parseSingleLyXformat2Token): reindent some
5743 * BufferView_pimpl.C (update): change since fullRebreak always
5745 (Dispatch): git rid of the last hardcoded "Standard"s.
5747 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5749 * text2.[Ch] (fullRebreak): make it return void now that we always
5752 2002-04-30 Juergen Vigna <jug@sad.it>
5754 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5755 ert compatibility check for "latex" layout.
5757 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5759 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5760 minipages: use col% instead of p%, and also use the current font.
5761 (makeLaTeXFile): Fix use babel condition.
5762 (parseSingleLyXformat2Token): Correct font when reading old floats.
5764 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5766 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5767 inserting list of floats.
5769 2002-04-25 Herbert Voss <voss@lyx.org>
5771 * MenuBackend.C (expand): don't add the graphics extensions to the
5774 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5776 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5777 non-existing layout, do not complain if it was the default layout
5778 of the original class (bug #342)
5780 2002-04-24 Juergen Vigna <jug@sad.it>
5782 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5783 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5785 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5787 * buffer.C (getBibkeyList): If using \bibliography, return the
5788 option field with the reference itself. Enables us to provide natbib
5789 support when using \bibliography.
5791 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5793 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5795 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5796 natbib is provided by the LaTeX class.
5798 2002-04-23 Juergen Vigna <jug@sad.it>
5800 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5803 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5805 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5807 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5809 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5810 ensuremath around textordmasculine, textordfeminine and
5813 2002-04-19 Juergen Vigna <jug@sad.it>
5815 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5816 reinitializing the buffer otherwise row-dimensions may be wrong.
5817 (update): reset also the selection cursors if they do exits otherwise
5818 their x/y positions may be wrong.
5820 * text2.C (cursorDown): don't enter the inset if we came from a row
5821 above and are one row over the inset.
5823 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5824 really leaving an inset.
5826 2002-04-18 Juergen Vigna <jug@sad.it>
5828 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5829 of the selected paragraph does not have the selected layout also if
5832 * text2.C (setLayout): fixed bug which did not change last selected
5835 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5836 changed the read and substituted \\end_float with \\end_inset!
5838 * BufferView_pimpl.C (cursorPrevious):
5839 (cursorNext): fixed to make it work with rows heigher than the work
5840 area without moving the cursor only the draw of the row.
5841 (workAreaMotionNotify): fix jumping over high rows.
5843 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5845 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5848 2002-04-16 Juergen Vigna <jug@sad.it>
5850 * text2.C (setCursor): set also the irow().
5851 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5853 (cursorDown): support for locking an inset if the x_fix value goes
5854 inside it. That way I can transverse insets too with cursor up/down.
5856 * lyxrow.h: added irow helper function same as other (i) functions.
5858 * BufferView_pimpl.C (cursorPrevious):
5859 (cursorNext): fixed for insets!
5861 2002-04-15 Juergen Vigna <jug@sad.it>
5863 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5864 position otherwise it is wrong in some cases.
5866 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5867 inside the inset before the call.
5869 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5871 * buffer.[Ch] (getBibkeyList): make it const.
5873 2002-04-12 Juergen Vigna <jug@sad.it>
5875 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5877 * text2.C (getCursorX): new helper function
5878 (setCursor): compute also ix_
5879 (setCursorFromCoordinates): set also ix.
5881 * lyxcursor.h: added ix_ and helper functions.
5883 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5885 * buffer.C (insertStringAsLines): dont break paragraph if the this
5886 paragraph is inside an inset which does not permit it!
5888 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5889 also with no chars on this paragraph.
5890 (paintRowText): only paint stuff if it's inside the workarea!
5892 * paragraph.C (breakParagraph): honor keepempty flag and break the
5893 paragraph always below not above.
5895 * BufferView2.C (unlockInset): update the paragraph layout on inset
5896 unlock as we changed paragraph in such a case.
5898 * lyxfind.C (LyXFind): clear the former selection if not found!
5900 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5901 again called in insertChar().
5903 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5904 an inset which uses the whole row!
5905 (rightMargin): ditto.
5906 (insertChar): force a rebreak if we inserted an inset!
5908 2002-03-28 Herbert Voss <voss@lyx.org>
5910 * lyxlength.[Ch]: add inBP() to get the right PS-point
5911 units (BigPoint). With inPixels we have rounding errors
5913 2002-04-11 Juergen Vigna <jug@sad.it>
5915 * text2.C (setCursorFromCoordinates): set iy to the right value.
5916 (setCursor): add check if row->previous exists!
5918 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5919 an old float_type as this was the case in the old code!
5921 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5923 * BufferView2.C (showLockedInsetCursor): use iy
5924 (fitLockedInsetCursor): ditto
5926 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5927 locked insets as there we have the right value now.
5929 * lyxcursor.C: added iy_ variable and iy functions to set to the
5930 baseline of cursor-y of the locked inset.
5932 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5933 (setCursor): fixed for insets which need a full row.
5935 * text.C (rowLastPrintable): don't ignore the last space when before
5936 an inset which needs a full row.
5937 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5938 as last character of a row when before a inset which needs a full row.
5940 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5942 * version.C.in: update date
5944 * text2.C (fullRebreak): try to always return true and see what
5947 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5949 * MenuBackend.C (expand): use Floating::listName
5951 * FloatList.C (FloatList): add listName argument to the built-in
5954 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5955 text associated with the float.
5957 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5959 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5961 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5963 * ShareContainer.h: add a couple of missing typenames.
5965 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5967 * lyxrc.C (getDescription): use _() correctly rather than N_().
5969 2002-03-28 Herbert Voss <voss@lyx.org>
5971 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5972 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5974 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5976 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5977 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5979 2002-03-29 Juergen Vigna <jug@sad.it>
5981 * lyxfunc.C (dispatch): add a missing fitCursor call.
5983 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5984 it was scrolled by a cursor move, so return the bool status.
5986 * BufferView.C (fitCursor): return the bool flag also to the outside
5987 world as this is needed.
5989 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5991 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5992 call the edit() as it is not needed (and wrong) IMO.
5993 (workAreaButtonPress): set the screen_first variable before evt.
5994 unlock the inset as this may change screen_first and then we have
5995 a wrong y position for the click!
5997 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5999 * MenuBackend.C (expand): another translation that I missed
6001 2002-03-28 Juergen Vigna <jug@sad.it>
6003 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6005 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6007 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6009 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6011 * MenuBackend.C (expand): fix export/view/update when there is no
6014 2002-03-27 Herbert Voss <voss@lyx.org>
6016 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6019 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6021 * bufferview_funcs.C (currentState): only show paragraph number
6022 for is DEVEL_VERSION is set.
6024 * lyxfunc.C (dispatch): put warning in INFO channel
6026 * MenuBackend.C (expand): translate the name of floats
6028 * FloatList.C (FloatList): mark the float names for translation
6030 * converter.C (convert): use LibScriptSearch
6032 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6034 * MenuBackend.C (defaults): fix default menu (we might as well get
6037 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6039 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6042 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6044 * lyxvc.C: reorder includes.
6046 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6048 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6051 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6053 * CutAndPaste.C: change layouts earlier on paste
6054 to avoid crashing when calling getFont()
6056 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6058 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6061 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6063 * WorkArea.C: remove 'Pending' debug message.
6065 * most files: ws cleanup
6067 * buffer.[Ch]: ws changes
6069 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6071 2002-03-21 Juergen Vigna <jug@sad.it>
6073 * tabular.C (SetMultiColumn): collapse also the contents of the
6074 cells and set the last border right. Added a Buffer const * param.
6076 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6078 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6081 2002-03-19 Juergen Vigna <jug@sad.it>
6083 * text2.C (clearSelection): reset also xsel_cache.
6085 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6086 where it needs to be called (John tells us to do so too :)
6087 (selectionLost): reset sel_cache.
6089 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6091 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6093 * text2.C (setCursorIntern): put debuging code in INSETS channel
6095 2002-03-19 André Pönitz <poenitz@gmx.net>
6097 * lyxfunc.C: tiny whitespace change
6099 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6101 * ToolbarDefaults.C (init):
6102 * LyXAction.C (init):
6104 * BufferView_pimpl.C (Dispatch):
6105 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6107 2002-03-19 Allan Rae <rae@lyx.org>
6109 * exporter.C (Export): removeAutoInsets before doing anything else.
6110 While I've just introduced a dependency on BufferView this really is
6111 the best place to clean the buffer otherwise you need to cleanup in
6112 a dozen places before calling export or cleanup in a dozen functions
6115 * converter.C (runLaTeX):
6116 (scanLog): Better handling of removeAutoInsets and screen updates.
6118 * lyxfunc.C (dispatch): small whitespace changes
6120 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6122 * WorkArea.C (C_WorkAreaEvent): return a value.
6123 (event_cb): return 1 if we handled the event, 0 otherwise.
6125 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6127 2002-03-18 Juergen Vigna <jug@sad.it>
6129 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6130 (GetAdditionalWidth): ditto.
6134 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6135 inset if we're there actually (probably not used right now but this
6136 is the direction to go for unifying code).
6137 (paste): disable code to clear the selection.
6139 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6140 inside an InsetText and move the check further up as it is in the
6143 * text2.C (pasteSelection): set a selection over the pasted text.
6145 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6147 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6148 and libgraphics to build on Cygwin.
6150 2002-03-15 Juergen Vigna <jug@sad.it>
6152 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6153 inserting an Inset into the paragraph. I know this is not the best
6154 fix but we already use current_view in CutAndPaste so we will remove
6155 all of it's using at the same time.
6157 * buffer.C (sgmlError): deactivated function till it is rewritten in
6158 the right mode, now it can create problems.
6160 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6161 before accessing it.
6163 2002-03-14 Juergen Vigna <jug@sad.it>
6165 * undo_funcs.C (textHandleUndo): do the right thing when updating
6166 the inset after the undo/redo.
6168 * text2.C (setCursor): just some testcode for #44 not ready yet.
6170 * undo_funcs.C (textHandleUndo): set the next() and previous()
6171 pointers of the paragraph to 0 before deleting otherwise we have
6172 problems with the Paragraph::[destructor].
6174 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6175 on a paragraph insertion.
6177 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6179 * buffer.C (asciiParagraph): use += operator for char append to
6182 * paragraph.C (getFontSettings): compare >= not just >
6183 (highestFontInRange): ditto
6186 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6188 * paragraph.C: change several algorithm to be more appripriate for
6189 the problem domain. This is lookip in FontList and in the InsetList.
6191 2002-03-13 André Pönitz <poenitz@gmx.net>
6194 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6196 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6201 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6203 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6205 * Painter.C (display): anon helper function, adjust code for this
6207 (pixmap): remove function.
6209 * Painter.h: remove private display variable.
6211 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6213 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6215 * WorkArea.[Ch]: remove figinset_canvas cruft.
6217 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6219 * lyxtextclass.C (operator): add one item cache optimization.
6221 * bufferlist.h: doxy changes
6223 * bufferlist.C: ws changes
6225 * DepTable.[Ch] (ext_exist): place const in the right spot.
6227 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6229 (workAreaExpose): call resizeInsets when the with BufferView changes.
6230 (Dispatch): adjust for protectedBlank removal
6231 (specialChar): call updateInset if the insert went ok.
6233 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6234 specialChar instead.
6236 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6238 * BufferView.h: doxy change
6240 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6242 * lyxtextclass.C (operator[]): remove non-const version
6243 (defaultLayout): remove non-const version
6245 2002-03-12 Juergen Vigna <jug@sad.it>
6247 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6248 did resize the LyXText too.
6250 * buffer.C (readLyXformat2): set layout information on newly allocated
6253 * tabular.C (OldFormatRead): set layout information on the paragraph.
6255 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6257 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6259 2002-03-11 Juergen Vigna <jug@sad.it>
6261 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6263 (resizeCurrentBuffer): force also the insets to resize themselfes.
6264 (moveCursorUpdate): fixed up for InsetText.
6266 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6269 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6270 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6271 value of Dialogs::tooltipsEnabled().
6272 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6274 2002-03-08 Juergen Vigna <jug@sad.it>
6276 * BufferView_pimpl.C (updateInset): update inset inside inset also
6277 if it isn't inside theLockingInset().
6279 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6281 * buffer.C (asciiParagraph): redo some of the word and line length
6283 (getLists): look for Caption instead of caption.
6285 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6287 * buffer.C (Buffer): initialize niceFile to true
6290 (makeDocBookFile): make sure niceFile is true on exit
6292 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6294 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6296 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6298 * LyXSendto.C: remove.
6299 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6300 * lyx_gui.C: remove now-redundant comment.
6301 * ColorHandler.h: remove forward declaration of class WorkArea.
6302 * lyxfunc.C: remove #include "WorkArea.h".
6304 2002-03-07 Juergen Vigna <jug@sad.it>
6306 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6307 got moved away with the DEPM and also set the inset_owner always
6308 right which before could have been omitted.
6310 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6312 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6313 wanted layout is not found.
6315 2002-03-07 Juergen Vigna <jug@sad.it>
6317 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6319 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6321 * paragraph.C (breakParagraph): use default layout not layout of
6323 (Paragraph): clear ParagraphParameters.
6325 2002-03-06 Juergen Vigna <jug@sad.it>
6327 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6328 otherwise it would not be a valid lenght. Fixed a special case in
6329 the minipage compatibility read where we end the document with a
6332 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6333 was set as it could be 0 for InsetTexts first entry.
6335 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6337 * paragraph.C (writeFile): if layout is empty write out
6338 defaultLayoutName().
6340 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6341 file without named layout we set layout to defaultLayoutName().
6343 2002-03-06 Juergen Vigna <jug@sad.it>
6345 * CutAndPaste.C (copySelection): set layout for new paragraph.
6347 * text.C (prepareToPrint): leave ERT inset left aligned
6348 (leftMargin): don't indent paragraphs inside ERT insets
6350 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6352 * paragraph.C (breakParagraph): dont call clear do the work manually
6354 * paragraph.[Ch] (clear): remove function
6356 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6358 * paragraph.C (Paragraph): dont call clear, the work has already
6361 * lyxtextclass.C (operator): assert if n is empty
6363 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6364 work manually instead.
6366 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6368 * BufferView_pimpl.C: protect selectionLost against text == 0
6370 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6372 * text.C (breakParagraph): fix a setting layout to '0' problem.
6374 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6376 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6377 final location of file, for the included files, and graphics.
6379 2002-03-05 Juergen Vigna <jug@sad.it>
6381 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6383 2002-03-04 Juergen Vigna <jug@sad.it>
6385 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6387 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6388 last column of multicolumn cells.
6389 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6391 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6393 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6394 file if it doesn't go to a temporary file.
6396 * buffer.C (sgmlOpenTag):
6397 (sgmlCloseTag): remove extra newline insertion.
6399 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6401 * text.C (getRowNearY): comment out debug msg
6403 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6405 * text2.C: first -> first_y
6407 * text.C (getRowNearY): add some attemts at a possible
6408 optimization, not working.
6410 * tabular.[Ch]: add BufferParams to several function so that newly
6411 created paragraph can be initialized to he default layotu for the
6414 * tabular-old.C (ReadOld): add buf->params to call of Init
6416 * screen.C: rename text->first to text->first_y
6418 * paragraph.C (breakParagraph): always set layout in the broken
6421 * lyxtextclass.C (Read): remove lowercase
6424 (delete_layout): ditto
6426 * lyxtext.h: rename first -> first_y
6428 * lyxlayout.C (Read): remove lowercase
6431 (obsoleted_by): ditto
6433 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6435 * buffer.C (insertErtContents): add params are to InsetERT
6436 (parseSingleLyXformat2Token): add code to check if a paragraphs
6437 layout really exist.
6438 (parseSingleLyXformat2Token): add params to several inset
6440 (asciiParagraph): remove lowercase, do the layout comparisons with
6443 * BufferView_pimpl.C (cursorNext): first -> first_y
6444 (resizeCurrentBuffer): first -> first_y
6445 (updateScrollbar): first -> first_y
6446 (scrollCB): first -> first_y
6447 (workAreaMotionNotify): first -> first_y
6448 (workAreaButtonPress): first -> first_y
6449 (checkInsetHit): first -> first_y
6450 (cursorPrevious): first -> first_y
6451 (cursorNext): first -> first_y
6452 (Dispatch): add buffer_->params to severl inset contructors
6454 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6456 * lyxlayout.C (Read): remove some debug info that I forgot.
6458 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6459 clean up the code slightly.
6460 (makeLinuxDocFile): ditto
6461 (makeDocBookFile): ditto
6463 * text2.C: layout as string
6465 * text.C: layout as string
6467 * paragraph_pimpl.C: layout as string
6469 * paragraph.[Ch]: layout as string
6471 * lyxtextclasslist.[Ch]: layout as string
6473 * lyxtextclass.[Ch]: layout as string
6475 * lyxtext.h: layout as string
6477 * lyxlayout.[Ch]: layout as string
6479 * lyx_cb.C: layout as string
6481 * bufferview_funcs.C: layout as string
6483 * bufferparams.C: layout as string
6485 * buffer.C: layout as string
6487 * LyXView.[Ch]: layout as string
6489 * LaTeXFeatures.[Ch]: layout as string
6491 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6493 * BufferView_pimpl.C: change current_layout to string, remove
6498 (workAreaButtonRelease): layout as string
6500 * BufferView2.C (unlockInset): adjust
6502 * vspace.C (asLatexCommand): use an explict temp variable.
6504 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6506 * Makefile.am: use FRONTEND_*
6508 2002-03-01 Juergen Vigna <jug@sad.it>
6510 * tabular.C (SetWidthOfMulticolCell): changed to something better
6511 I hope but still work in progress.
6512 (recalculateMulticolumnsOfColumn): renamed function from
6513 recalculateMulticolCells as it is more appropriate now.
6514 (SetWidthOfCell): calculate multicols better.
6516 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6518 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6520 * lyxfunc.C (processKeySym): print sequence also if it is
6521 `deleted' (complete)
6523 * kbsequence.C (print): print sequence even if it is deleted
6524 (complete would be a better word, actually).
6526 * lyxfunc.C (dispatch): print complete options after a prefix key
6528 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6530 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6532 * text2.C (setCharFont): eliminate setCharFont code duplication.
6534 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6536 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6537 LFUN_TABULAR_FEATURE (bug #177)
6539 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6541 * Makefile.am: remove figure.h
6543 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6545 * Bufferview_pimpl.C:
6557 * text2.C: remove #include "lyx_gui_misc.h".
6559 * LaTeX.C: added #include <cstdio>
6561 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6563 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6564 that the paragraph following this one can have.
6566 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6568 * vspace.C (asLatexCommand): fix bogus gcc warning
6570 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6572 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6574 * text2.C (setLayout): get rid of redundant code
6576 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6578 * text2.C (incDepth): make sure depth cannot be increased beyond
6581 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6583 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6584 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6586 * PainterBase.h (image):
6587 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6590 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6594 * BufferView_pimpl.C:
6595 * BufferView_pimpl.h:
6615 * sp_spell.C: remove fig inset, and the crap house of
6616 cards that follows it
6618 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6624 * nt_defines.h: move .h into support/
6626 * vms_defines.h: remove
6628 * WorkArea.C: add space in debug output
6632 * buffer.C: add WITH_WARNINGS
6636 * bufferlist.C: s/retrive/retrieve/, add docs
6647 * lyxgui.C: add ID to X error handler
6649 * lyxtestclass.c: fix typo
6651 2002-02-26 Juergen Vigna <jug@sad.it>
6653 * tabular_funcs.C (write_attribute): changed so that some default
6654 attributes are not written at all.
6655 (getTokenValue): set default values before trying to read the
6656 value so we have the return value always set as default if we don't
6657 find the token we search for.
6659 * tabular.C (Write): write bools as bools not as strings!
6661 2002-02-22 Juergen Vigna <jug@sad.it>
6663 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6664 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6666 * text.C (leftMargin): don't add an indent for paragraphs inside
6667 tabular cells (fix #208).
6669 2002-02-21 José Matos <jamatos@fep.up.pt>
6671 * tabular.C (docBook): fixed support for long tables.
6673 2002-02-20 Juergen Vigna <jug@sad.it>
6675 * text2.C (getFont): get the drawing font of the Inset if this
6676 paragraph is inside an inset (only important for InsetERT for now).
6678 * buffer.C (insertErtContents): use new lanugage params in ERT
6681 * CutAndPaste.C: commenting out seemingly uneeded code.
6683 2002-02-19 Allan Rae <rae@lyx.org>
6685 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6686 Iterators might be simple to use but they also get invalidated.
6687 (removeAutoInsets): renamed saved cursor tracking variables and added
6688 some comments to clarify what everything does.
6690 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6697 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6698 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6701 * vc-backend.h: remove #include "support/syscall.h"
6705 * converter.C: rearrange #includes in Lars' approved fashion.
6707 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6708 forward declare class Timeout in the header file.
6710 * XFormsView.C: changes due to the above.
6712 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6715 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6716 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6718 2002-02-18 José Matos <jamatos@fep.up.pt>
6720 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6723 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6725 * a lot of small ws changes
6726 * add a lot of using std::XXX
6727 * use std construcs some places where approp.
6728 * use some exisint stuff from lyxfunctional where approp.
6729 * Make file changes to use partial linking (lets test this now...)
6731 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6735 remove #include "support/syscontr.h" as it's redundant. Always has been.
6743 change Systemcalls::System to Systemcalls::Wait and
6744 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6745 No change of functionality, just reflects the stripped down Systemcalls
6748 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6750 * debug.[Ch]: add a GRAPHICS type to the enum.
6752 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6754 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6756 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6759 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6761 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6762 match the changes below.
6764 * text2.C (toggleInset): if there is not editable inset at cursor
6765 position, try to see if cursor is _inside_ a collapsable inset
6768 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6770 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6771 document menu has a nice checkbox
6773 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6775 * lyxlength.C (asLatexString): change PW to output as percent of
6778 * lengthcommon.C: change '%' to 't%'
6780 * lyxfunc.C (dispatch): a few comments from Martin
6782 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6786 * BufferView_pimpl.h:
6787 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6790 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6792 * vspace.C (inPixels): fix compiler warning
6794 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6796 * lyxfunc.C (getStatus): fix status message for disabled commands.
6798 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6800 * BufferView_pimpl.C: fix crash on close buffer
6801 during selection (#227)
6803 2002-01-27 Herbert Voss <voss@lyx.org>
6805 * buffer.C: link old Figure to new graphic inset
6807 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6809 * FontLoader.C (getFontinfo): Change the latex font names in order
6810 to match the names of type1inst.
6812 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6814 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6816 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6819 (remove_files_with_extension): ditto
6820 (remove_file): ditto
6823 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6824 document is smaller than the work area height. Do not initialize
6825 static variables to 0.
6827 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6829 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6831 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6832 LFUN_LAYOUT_PARAGRAPHS.
6834 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6835 tabular. It is possible to provide a possible cell, which will
6836 typically be the actcell from the corresponding insettabular
6838 * lyxfunc.C (getStatus): small cleanup; disable
6839 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6842 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6844 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6846 * paragraph.C (startTeXParParams):
6847 (endTeXParParams): new methods. The LaTeX code to
6848 start/end paragraph formatting
6849 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6850 empty (fixes bug #200)
6852 * vspace.C (inPixels): adapt to the change below
6853 (inPixels): [later] more cleanups (remove unused variables)
6855 * lyxlength.C (inPixels): change to use a width and a height as
6858 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6860 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6861 Replaced with \paperwidth
6863 * DepTable.C (insert): add std:: qualifier
6865 2002-01-18 Allan Rae <rae@lyx.org>
6867 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6870 * text.C (drawInset): Turned out I didn't know enough about how
6871 rebreaking worked. This fixes most of the redraw problems. I see
6872 an occasional cursor trail when a line is broken now and the cursor
6873 placement can seem out by a few pixels also after a rebreak.
6875 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6877 * buffer.C (parseSingleLyXformat2Token): update because minipage
6878 width is now a LyXLength
6880 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6882 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6885 2002-01-17 Juergen Vigna <jug@sad.it>
6887 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6889 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6890 is set correctly and the inset is updated correctly.
6892 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6894 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6895 the beginning of the loop.
6897 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6899 * lyxrc.C: improve help for use_scalable_fonts
6901 2002-01-17 Allan Rae <rae@lyx.org>
6903 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6905 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6907 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6908 make sure to set their inset_owner to the right value (bug #171)
6910 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6913 * DepTable.C: Implement mtime checking to reduce time spent doing
6916 2002-01-16 Juergen Vigna <jug@sad.it>
6918 * tabular.C (GetAdditionalHeight): one of error fixed.
6920 * lyxrc.C (output): small fix in writing use_pspell.
6922 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6924 * sp_base.h: #include LString.h
6926 2002-01-16 Allan Rae <rae@lyx.org>
6928 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6929 Can someone check this please?
6931 * text.C (drawInset): It was possible that p.row would be removed by
6932 breakAgainOneRow upsetting a few other settings. There may be another
6933 small tweak possible by setting need_break_row = 0 when p.row has been
6934 removed but I don't know enough about the logic here.
6936 2002-01-15 Allan Rae <rae@lyx.org>
6938 * text.C (insertChar): removed conditional truism.
6940 * BufferView2.C (removeAutoInsets): More tweaks.
6941 cur_par_prev could be a stray pointer. Check for trailing empty line
6942 in case last line was cur_par and only had an error inset on it.
6944 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6946 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6949 * vc-backend.C (most methods):
6950 * exporter.C (Export):
6951 * converter.C (convert):
6953 * LyXSendto.C (SendtoApplyCB):
6954 * lyxfunc.C (dispatch):
6958 * lyx_cb.C (AutoSave):
6960 * BufferView_pimpl.C (MenuInsertLyXFile):
6961 * buffer.C (runChktex): use Buffer::filePath().
6963 * buffer.h: rename filename to filename_; rename filepath to
6964 filepath_ and make it private
6965 (filePath): new method
6967 * buffer.C (writeFile): use fileName()
6970 * lyx_main.C (init): fix starting of LyX when the binary is a
6971 link from so,ewhere else.
6973 * minibuffer.C: include <cctype> for isprint
6975 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6977 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6978 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6979 name clash with InsetCollapsable's width function.
6981 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6983 * lastfiles.C: include <iterator>
6985 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6987 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6990 * buffer.C (makeLaTeXFile): ditto.
6991 Also make loop operation more transparent.
6993 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6995 * ToolbarDefaults.C: remove trailing comma closing namespace.
6997 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6999 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7002 * trans.C (Load): comment out unused variable, allowed.
7004 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7006 * minibuffer.[Ch] (append_char): new method to recieve input from the
7007 drop-down completion browser. If a key was pressed, then recieve this
7008 char and append it to the existing string.
7009 (peek_event): modify the positioning data passed to the completion
7010 browser so that it can be placed above the minibuffer rather than below.
7011 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7013 * LyXAction.C (init): alloe error-next for readonly documents.
7015 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7018 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7020 * bufferlist.C (readFile): create the buffer _after_ checking that
7023 * lyxfunc.C (verboseDispatch): fix handling of arguments
7025 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7027 * lyxrc.C: use string::erase() instead of initializing to "".
7030 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7032 * BufferView_pimpl.h:
7033 * BufferView_pimpl.C:
7036 * text2.C: tell X when we have made a selection for copying
7038 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7040 * BufferView_pimpl.C (MenuInsertLyXFile):
7041 * lyxfunc.C (menuNew):
7043 (doImport): add shortcuts to directory buttons
7045 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7048 * lyxfunc.C (setStatusMessage):
7049 (getStatusMessage): new methods
7050 (getStatus):use setStatusMessage instead of setErrorMessage
7051 (dispatch): when function is disabled, set error message here
7052 [instead of in getStatus previously]
7054 * BufferView_pimpl.C (workAreaButtonRelease): update
7055 toolbar/menubar here too.
7057 2002-01-13 Allan Rae <rae@lyx.org>
7059 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7060 Now seems indestructible. Remaining task is to audit all other
7061 code affected by deleteEmptyParagraphMechanism. One small quirk
7062 left is that an empty document with an error in the preamble can
7063 be made to report an error but no error box appears. I don't know
7065 (removeAutoInsets): Improved comments.
7067 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7070 * Thesaurus.C: update for Aiksaurus 0.14
7072 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7074 * text2.C (firstParagraph): removed member function, all uses
7075 replaces with ownerParagraph
7076 (redoParagraphs): here
7078 (toggleAppendix): here
7079 * BufferView2.C (insertErrors): here
7080 (setCursorFromRow): here
7082 2002-01-13 Allan Rae <rae@lyx.org>
7084 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7085 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7086 There is still a way to segfault this although you may have to do this
7087 multiple times: Have an InsetERT with an unknown command in it.
7088 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7089 <down-arrow>, <Enter> again, View->DVI, BANG!
7091 * text2.C (setCursor):
7092 (deleteEmptyParagraphMechanism):
7093 * lyxtext.h (setCursor):
7094 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7095 Making use of the return value may help fix other bugs.
7097 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7099 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7101 * LyXView.C (updateMenubar): call MenuBar::update here
7102 (updateToolbar): but not here
7103 (showState): do not update toolbar/menubar
7105 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7106 should need to care about that.
7108 * lyxfunc.C (verboseDispatch): simplify a bit
7109 (getStatus): have a version which takes a pseudoaction, and
7110 another which requires a (kb_action,string).
7112 * LyXAction.C (retrieveActionArg): make it work also when action
7113 is not a pseudo-action.
7114 (getActionName): simplify a bit
7117 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7119 * lyxfunc.C (verboseDispatch): new families of methods with
7120 several ways to specify a command and a bool to indicate whether
7121 the command name and shortcut should be displayed in minibuffer
7122 (eventually, we could extend that to a finer bitmask like
7123 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7124 (dispatch): the pristine dispatch command which just, well,
7125 dispatchs! Note it still sets its result to minibuffer; I'm not
7128 * lyxfunc.h: remove setHintMessage
7130 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7132 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7134 * BufferView_pimpl.C (specialChar): delete new inset if we have
7135 not been able to insert it.
7137 * kbmap.C: revert to using int instead of kb_action, since all we
7138 are dealing with is pseudo-actions.
7140 * LyXAction.C (searchActionArg): change to return int instead of
7141 kb_action, since the result is a pseudoaction.
7143 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7145 * buffer.C (insertErtContents): Fix (partially) the font bug.
7147 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7149 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7150 as the other one is broken on my machine!
7152 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7155 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7157 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7159 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7160 reflect their actual use. Provide compatibility code for older lyxrc
7163 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7165 change names of popup font variables in line with the changes to lyxrc.C
7167 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7169 * buffer.C (asciiParagraph): avoid outputing a word twice after
7172 * lyxrc.C (getDescription): document that document_path and
7173 template_path can be empty.
7175 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7177 * LaTeXFeatures.C (getMacros):
7178 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7180 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7182 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7184 (getPackages): rename feature "floats" to "float". Use an array to
7185 iterate over 'simple' features (i.e. just a \usepackage). Add
7186 handling of "amsmath" (renamed from "amsstyle").
7188 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7190 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7193 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7195 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7196 FuncStaus::FuncStatus & FuncStaus::some_method().
7198 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7200 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7201 of the func_satus stuff. Edited and massaged in various ways by
7204 * lyxfunc.C (getStatus): use FuncStatus
7206 2002-01-08 Juergen Vigna <jug@sad.it>
7208 * text.C (nextBreakPoint): use function Inset::isChar().
7210 * paragraph.C (TeXOnePar): use function
7211 Inset::forceDefaultParagraphs.
7213 * buffer.C (latexParagraphs): use function
7214 Inset::forceDefaultParagraphs.
7216 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7218 * lyx_gui.C (init): set the style of the menu popups to
7219 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7221 2002-01-07 Juergen Vigna <jug@sad.it>
7223 * text.C (setHeightOfRow): small fix
7224 (prepareToPrint): don't look at alignment if we don't have the place
7227 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7229 * box.C: New file. Move the Box methods and functions out of box.h,
7230 following Lars' suggestion.
7232 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7234 * box.h: #include "support/LOstream.h", needed for inlined function.
7237 * lyxtextclasslist.C: added some using std declarations.
7239 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7241 * box.h: make signed dimensions to allow insets wider than
7242 the screen (bug #162)
7244 * BufferView_pimpl.C: add some insetHit debug
7246 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7248 * vc-backend.C: add FIXME
7250 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7252 * lyxfunc.C (getStatus): enable code for showing math font status
7255 2002-01-07 Juergen Vigna <jug@sad.it>
7257 * text.C (nextBreakPoint): removed debug output not needed anymore.
7259 2002-01-06 Juergen Vigna <jug@sad.it>
7261 * text.C (nextBreakPoint): fixed up this function we had this bug
7262 since ever but now hopefully we break row better.
7263 (insertChar): we have to check if an inset is the next char as it
7264 could now happen that a large inset is causing a break.
7266 2002-01-05 Juergen Vigna <jug@sad.it>
7268 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7269 if it doesn't like to be drawed.
7271 2002-01-04 Juergen Vigna <jug@sad.it>
7273 * BufferView2.C (lockInset): forgot to set a cursor.
7275 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7277 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7282 * form_maths_panel.C:
7283 * form_maths_panel.h:
7284 * form_maths_panel.fd: implemented sub- and super- buttons in math
7287 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7288 (or ^ space) to be used as in TeX (req'd by André).
7290 * lyxfunc.C: Allow ^ and _ again to be used both as
7291 super/subscript (mathed) and as themselves (in text).
7293 2002-01-03 Allan Rae <rae@lyx.org>
7295 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7296 "LyX" or the filename of the current buffer if it has one. This is a
7297 modified form of John Levon's patch.
7299 * XFormsView.C (setWindowTitle): also set icon title.
7301 * LyXView.h (setWindowTitle): signature changed.
7302 * XFormsView.h (setWindowTitle): ditto.
7304 2002-01-02 Juergen Vigna <jug@sad.it>
7306 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7308 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7310 * screen.C (topCursorVisible): introduce a temp var for
7311 text->cursor.row(), handle the case where this row is null. (kindo
7314 * text2.C (setCursor): add a couple of asserts.
7316 * paragraph.h (inset_iterator): add -> operator
7318 * paragraph.[Ch] (autoDeleteInsets): remove member function
7320 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7321 cursor pos correctly and handle inset deletion by itself.
7322 (insertErrors): move iterator declaration out of for expression
7324 * lyxtextclass.C: add <algorithm>
7326 * Makefile.am: added the new files to sources, removed layout.C
7328 * layout.C: removed file
7330 * layout.h: remove LYX_DUMMY_LAYOUT
7332 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7336 * lyxtextclass.[Ch]:
7337 * lyxtextclasslist.[Ch]: new files
7339 * include order changes to a lot of files, also changes because of
7342 2001-12-27 Juergen Vigna <jug@sad.it>
7344 * buffer.C (asciiParagraph): more fixes.
7346 * tabular.C (ascii): make ascii export support export of only the
7347 data separated by a column-delimiter.
7348 (ascii): better support for ascii export.
7350 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7352 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7354 * tabular_funcs.C: use a "using std::getline" instead of the
7355 previous fix from Angus (necessary for cxx + lyxstring)
7357 2001-12-24 Juergen Vigna <jug@sad.it>
7359 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7361 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7362 problems. First check a minipage also if we have some ert-contents
7363 (not only on par->size(), second set the right depth of the paragraph
7364 on the relink to the root-paragraph-list!
7366 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7367 which then did not anymore update the main paragraphs on undo/redo!
7369 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7371 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7372 code. Support all font-changing funcs (even those which are not in
7373 menu currently). Support for reporting font settings in
7374 mathed (disabled until Andre provides a function on mathed's side).
7376 * func_status.h (toggle): small helper function to set toggle
7379 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7381 * tabular_funcs.C: getline -> std::getline
7383 2001-12-21 Juergen Vigna <jug@sad.it>
7385 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7386 accessed and could be 0 (I couldn't generate this but it seems
7389 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7391 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7392 * tabular_funcs.h: here and include iosfwd
7394 2001-12-20 Juergen Vigna <jug@sad.it>
7396 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7397 inside inset but undo_par was.
7399 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7401 * Thesaurus.C: always include <config.h> in sources.
7405 * box.h: do not include <config.h> in header files
7407 * text.C (paintLastRow): remove unused variable
7409 * text.C (transformChar):
7411 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7414 * font.C (width): rewrite to use uppercase() instead of
7417 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7419 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7421 * lyxfind.C: clean up of find failure position change
7423 2001-12-20 Juergen Vigna <jug@sad.it>
7425 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7427 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7428 (TeXRow): added to LaTeX a single tabular row.
7429 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7430 (Latex): simplified and finally good LT-h/f support.
7431 (various_functions): just small adaptions for LT-h/f support.
7433 * tabular_funcs.[hC]: added and moved here all not classfunctions
7436 2001-12-19 Juergen Vigna <jug@sad.it>
7438 * tabular.[Ch]: better support for longtabular options (not finished
7441 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7443 * text.C (paintLastRow): use the label font instead of the font of
7444 the last character to compute the size of *_BOX. This makes more
7445 sense and avoids a crash with empty paragraphs.
7446 Use Painter::rectangle to draw EMPTY_BOX.
7448 2001-12-19 Juergen Vigna <jug@sad.it>
7450 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7451 the paragraphs if the replaced paragraph is not the first one!
7452 Tried to delete not used paragraphs but does not work yet so for
7453 now it's inside #ifdef's and by default off!
7455 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7457 * MenuBackend.C: include "lyx_main.h" instead of declaring
7458 lastfiles (actually was declared as LastFiles* instead of a
7461 2001-12-17 Juergen Vigna <jug@sad.it>
7463 * tabular.C (AppendColumn): applied John's fix
7465 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7469 * BufferView_pimpl.h:
7470 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7473 * box.h: new start of class for above
7475 * lyxfunc.C: ignore space-only minibuffer dispatches.
7476 Show the command name when it doesn't exist
7478 * minibuffer.C: don't add empty lines to the history
7480 * minibuffer.C: add a space on dropdown completion
7482 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7484 * text.C: fix line above/below drawing in insets
7486 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7488 * lyxlength.C (LyXLength): Initialize private variables.
7490 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7492 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7493 when inserting error insets.
7495 2001-12-13 Juergen Vigna <jug@sad.it>
7497 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7498 actually sometimes the before-paragraph.
7499 (setUndo): don't clear the redostack if we're not actually undoing!
7501 2001-12-06 Juergen Vigna <jug@sad.it>
7503 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7504 and fixed redoing of main paragraph, so we can use it now ;)
7506 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7508 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7510 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7513 2001-12-13 André Pönitz <poenitz@gmx.net>
7516 * undo_func.C: minor cleanup
7518 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7520 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7521 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7522 font in urw-fonts package which is marked as -urw-fontspecific and
7523 does not work (incidentally, changing the encoding in the
7524 fonts.dir of this package to -adobe-fontspecific fixes the
7527 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7528 is a crash when undoing first paragraph (Juergen, please take a
7529 look). THis does not mean the undo fix is wrong, just that it
7532 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7533 the (Paragraph*) version when needed instead of duplicating the
7536 * text.C (workWidth): use Inset::parOwner to find out where the
7537 inset has been inserted. This is a huge performance gain for large
7538 documents with lots of insets. If Inset::parOwner is not set, fall
7539 back on the brute force method
7541 * paragraph_pimpl.C (insertInset):
7542 * paragraph.C (Paragraph):
7543 (cutIntoMinibuffer): set parOwner of insets when
7544 inserting/removing them
7546 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7548 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7554 * mathed/formulabase.C:
7555 * mathed/math_cursor.[Ch]:
7556 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7559 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7561 * lyxlength.[Ch] (operator!=): new function
7563 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7565 * text.C (workWidth): use Inset::parOwner to find out where the
7566 inset has been inserted. This is a huge performance gain for large
7567 documents with lots of insets. If Inset::parOwner is not set, fall
7568 back on the brute force method
7570 * paragraph_pimpl.C (insertInset):
7571 * paragraph.C (Paragraph):
7572 (cutIntoMinibuffer): set parOwner of insets when
7573 inserting/removing them
7575 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7577 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7579 * tabular-old.C (getTokenValue):
7580 * tabular.C (getTokenValue):
7581 (write_attribute): new versions for LyXLength
7582 (everywhere): adjust the use of widths
7584 * tabular.h: change the type of widths from string to LyXLength
7586 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7588 * paragraph.C: fixed missing line number count when exporting
7589 Environments to LaTeX file
7591 * buffer.C: added informational message for checking line numbers.
7593 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7595 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7596 paragraph, do the 'double space' part, but not the 'empty
7599 * text.C (workWidth): small optimization
7600 (getLengthMarkerHeight): use minimal size for negative lengths.
7602 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7604 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7606 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7608 2001-12-11 André Pönitz <poenitz@gmx.net>
7611 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7613 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7615 * text2.C: keep selection on a setFont()
7617 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7619 * lyx_cb.C: another bv->text misuse, from insert label
7621 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7624 * kbsequence.C: re-instate nmodifier mask
7626 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7628 * lyx_main.h: make lyxGUI private.
7630 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7632 * lyxfind.C: place the cursor correctly on failed search
7634 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7636 * text.C (getLengthMarkerHeight): for small heights, the arrows
7637 are not always on top/bottom of the text
7638 (drawLengthMarker): smaller arrows; take the left margin in
7639 account; draw also vfills.
7641 (paintLastRow): remove special code for vfill and standard spaces,
7642 since everything is handled in drawLengthMarker now.
7644 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7646 * buffer.C (insertErtContents): try to handle font and language
7647 interaction a bit better.g
7649 * ColorHandler.C (updateColor): change the hash to cover the whole
7650 LColor enum, ws cleanup
7651 (getGCLinepars): ditto
7652 (getGCLinepars): only lookup in the linecache once.
7654 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7656 * iterators.C (operator++): Make the iterator more robust
7658 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7660 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7662 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7665 * text.C: better added space drawing
7667 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7670 * BufferView2.C: fix layout combo update on inset unlock
7672 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7674 * Makefile.am: don't compile unused files
7676 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7680 * LyXAction.C: remove old LFUN_LAYOUTNO
7682 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7684 * paragraph_pimpl.h:
7685 * paragraph_pimpl.C: isTextAt() doesn't need font param
7687 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7690 * lyxlex.C: little cleanup
7692 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7694 * BufferView_pimpl.C: fix insertAscii for insets
7696 2001-12-05 Juergen Vigna <jug@sad.it>
7698 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7699 set the right font on the "multi" paragraph paste!
7701 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7707 * lyxlength.C: remove out-commented code.
7723 * vc-backend.C: change "while(" to "while ("
7725 * lyxlength.[Ch]: add zero function to check if length is zero or
7727 * lyxgluelength.C: use it
7729 2001-12-05 Allan Rae <rae@lyx.org>
7731 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7732 Works for 2.95.3, from what I understand of Garst's reports this should
7733 work for other g++ versions. We're screwed if the abs(int) definition
7734 changed between bugfix releases of gcc.
7736 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7738 * text.C: fix chapter label offset !
7740 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7743 * text.C: fix hfill at end of line, clean up
7745 2001-12-04 Juergen Vigna <jug@sad.it>
7747 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7748 that we force an update of the inset and it's owners if neccessary.
7750 2001-12-03 Juergen Vigna <jug@sad.it>
7752 * text.C (rowLast): simplified code
7754 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7756 * lyxfunc.C: fix show options on timeout
7758 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7760 * screen.C (topCursorVisible): scroll half a page when the cursor
7761 reached top of bottom of screen
7763 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7765 * minibuffer.C: deactivate on loss of focus
7767 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7769 * vspace.[Ch] (operator!=): add operator.
7771 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7773 * BufferView_pimpl.C: refuse to open an inset when
7774 there's a selection.
7776 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7778 * BufferView_pimpl.C: allow to click on RHS of full row insets
7780 2001-11-30 Juergen Vigna <jug@sad.it>
7782 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7783 insets for undo reasons.
7785 2001-11-28 André Pönitz <poenitz@gmx.net>
7787 * vspace.[Ch]: cosmetical changes
7789 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7799 * kbsequence.C: part re-write of old kb code
7802 * WorkArea.C: remove Lgb_bug_find_hack
7804 2001-11-30 José Matos <jamatos@fep.up.pt>
7806 * buffer.C (makeDocBookFile): add a comment to point a hack.
7807 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7808 Fixed a double write of labels.
7810 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7813 * LaTeX.h Fixed bug in LaTeX class where it would not
7814 re-run latex if no depfiles were changed, but the .dvi was removed.
7816 2001-11-28 André Pönitz <poenitz@gmx.net>
7818 * all the files from the change on 2001/11/26:
7819 use lyx::layout_type instead of LyXTextClass::size_type
7820 use lyx::textclass_type instead of LyXTextClassList::size_type
7822 2001-11-29 Juergen Vigna <jug@sad.it>
7824 * text.C: added support for paragraph::isFreeSpacing()
7826 * buffer.C: same as above
7828 * paragraph.h: inserted isFreeSpacing() function to enable
7829 FreeSpacing inside InsetERT.
7831 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7832 of the paragraph's in the cut/copy buffer to 0!
7834 * text2.C (removeRow): remove the assert as it can!
7836 * lyxtext.h: added helper function firstRow returning firstrow and
7837 made firstrow private again.
7839 * BufferView2.C (lockInset): don't relock if we're already locked!
7841 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7843 (removeRow): added Assert::(firstrow)
7845 * debug.C: forgot to add INSETTEXT here.
7847 2001-11-28 Juergen Vigna <jug@sad.it>
7849 * sp_spell.C (initialize): changed error text to more general
7850 spellchecker command use (not only ispell!)
7852 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7854 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7856 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7858 * vspace.C: initialise lyxgluelength on failure
7860 2001-11-28 Allan Rae <rae@lyx.org>
7862 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7863 declaration & definition that looks like a function declaration.
7865 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7867 * BufferView2.C (copy):
7868 (copyEnvironment): do not clear the selection when doing a copy.
7870 * text.C (paintFirstRow): compilation fix
7872 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7874 * tabular.C (Latex): correct line count when writing latex.
7876 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7878 * paragraph_pimpl.h:
7879 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7882 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7886 * LColor.C: change vfillline->added_space
7888 * text.C: add markers and text for added space
7890 * vspace.C: fix comment
7892 2001-11-28 André Pönitz <poenitz@gmx.net>
7894 * paragraph.C: whitespace changes
7895 * all the other files from the change on 2001/11/26:
7896 change *::pos_type into lyx::pos_type
7898 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7900 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7901 language of the document when inserting error insets.
7903 2001-11-26 André Pönitz <poenitz@gmx.net>
7905 * BufferView_pimpl.[Ch]:
7913 * paragraph_pimpl.[Ch]:
7916 * text2.C: reduce header dependencies, introduce type for positions
7918 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7920 * <various>: change to use Alert.h
7922 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7924 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7925 when encountering an unknown token.
7926 (readLyXformat2): Show an error message if there were unknown tokens.
7928 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7931 * BufferView_pimpl.C:
7935 * text2.C: use par->isInset()
7937 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7939 * paragraph_pimpl.h:
7940 * paragraph_pimpl.C: cleanup
7942 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7944 * text2.C (removeRow):
7945 * text.C (setHeightOfRow): remove useless (and costly) call to
7948 2001-11-20 Allan Rae <rae@lyx.org>
7950 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7951 Now need Inset*::checkInsertChar() to return true for appropriate
7952 cases so that the characters in the minibuffer will actually be
7955 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7957 * text.C: change the order of the includes.
7958 (workWidth): initialize it at once.
7959 (workWidth): make maxw unsigned
7960 (setHeightOfRow): remove unused variable (inset)
7961 (selectSelectedWord): remove unused variable (inset)
7962 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7964 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7966 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7967 server is not running.
7969 (closeConnection): add debug info when server is disabled.
7971 * ColorHandler.C (getGCForeground): send debug message to GUI
7974 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7976 * kbmap.C (bind): modify because return conventions of
7977 kb_sequence::parse have changed.
7979 * kbsequence.C (parse): only ignore spaces and not any stupid
7980 control character. This avoids tests like s[i] <= ' ', which are
7981 guaranteed to fail with 8bit characters and signed chars.
7982 Change return code to string::npos when there have been no error
7983 (0 was a bad idea when error is at first character)
7985 2001-11-14 José Matos <jamatos@fep.up.pt>
7988 * buffer.C (simpleDocBookOnePar): removed unused argument.
7990 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7992 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7993 insets which are part of a word. Paragraph::isLetter takes care of
7994 that now. Use Paragraph::isInset to identify insets.
7995 (selectSelectedWord): do not test for hyphenation break.
7997 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7998 that protected spaces are considered as spaces.
8000 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8003 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8006 * lyxserver.C: fix it. and small cleanup.
8008 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8010 * BufferView_pimpl.C: use inline helpers
8013 * LaTeXFeatures.C: fix typos
8016 * Spacing.C: move spacing_string into class
8018 * ToolbarDefaults.C: move stuff into namespace anon
8020 * layout.h: update enum
8022 * lyxfunc.C: use better debug
8024 * minibuffer.h: fix typo
8028 * WorkArea.C: add and use Debug::WORKAREA
8032 * text2.C: code re-organisation, inline helpers
8034 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8036 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8037 std::vector.empty().
8039 2001-11-09 Allan Rae <rae@lyx.org>
8041 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8042 '\n's after tables. Tabular and ERT inset work now makes this no
8045 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8048 * minibuffer.C: fix crash, improve drop-down completion
8050 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8053 * lyxserver.C: invalidate fd's when doing endPipe()
8055 2001-11-08 José Matos <jamatos@fep.up.pt>
8057 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8058 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8061 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8063 2001-11-07 José Matos <jamatos@fep.up.pt>
8066 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8069 * buffer.C (sgmlOpenTag):
8070 * buffer.C (sgmlCloseTag): removed debug info.
8072 * buffer.h (sgmlOpenTag):
8073 * buffer.h (sgmlCloseTag): made public.
8075 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8077 * buffer.C (saveParamsAsDefaults):
8078 * lyx_cb.C (MenuLayoutSave): remove
8080 * LyXAction.C (init):
8082 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8084 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8086 * buffer.C (setPaperStuff): removed from here...
8088 * bufferparams.C (setPaperStuff): ... and moved there.
8090 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8094 * XFormsView.C: add support for drop-down completion
8096 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8098 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8101 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8103 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8106 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8108 * lyx_main.C: change ref to known bugs
8110 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8112 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8113 to work around older babel problems.
8115 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8117 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8119 2001-10-24 Juergen Vigna <jug@sad.it>
8121 * tabular-old.C (ReadOld): below variable changes reflected.
8123 * tabular.[Ch]: added ltType struct for longtable header/footer
8124 defines and changed all instances where they are used. Added
8125 future support for double top/bottom rows.
8127 2001-10-24 José Matos <jamatos@fep.up.pt>
8129 * buffer.h (docbookHandleCaption):
8130 * buffer.C (docbookHandleCaption): removed unused function.
8131 (makeDocBookFile): moved docbook supported version to v4.1.
8133 2001-10-24 José Matos <jamatos@fep.up.pt>
8136 * tabular.C (docbookRow): new function to export docbook code of a row.
8137 (DocBook): now honors the longtable flags.
8139 2001-10-23 José Matos <jamatos@fep.up.pt>
8142 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8143 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8145 * buffer.C (makeLinuxDocFile):
8146 (makeDocBookFile): reworked the preamble, more clean, and with
8147 support for lyx defined entities. Changed the document declaration
8148 to be more XML friendly.
8150 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8151 if we need to output XML that should be done with a filter.
8153 2001-10-22 Juergen Vigna <jug@sad.it>
8155 * sp_pspell.h (class PSpell): add alive function needed in the
8156 controller to see if the spellchecker could be started.
8158 2001-10-22 Juergen Vigna <jug@sad.it>
8160 * buffer.C (insertStringAsLines): modify the font for inserting
8161 chars in certain conditions by calling checkInsertChar(font).
8163 2001-10-19 Juergen Vigna <jug@sad.it>
8165 * text.C (workWidth): use getRow instead of wrong algorithm.
8166 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8168 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8173 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8175 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8177 * text.C (workWidth): do not search for the exact row when
8178 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8179 optimization for big documents.
8181 2001-10-18 Juergen Vigna <jug@sad.it>
8183 * text.C (workWidth): new function with added Inset * parameter.
8185 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8187 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8189 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8190 change return type of getColumnNearX.
8193 * text.C (changeRegionCase): use uppercase/lowercase instead of
8196 (rightMargin): simplify code by factoring out the uses of
8201 (appendParagraph): use Paragraph::size_type
8203 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8205 * vspace.C (asLatexString): add a missing break
8207 2001-10-15 Herbert Voss <voss@perce.de>
8209 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8211 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8213 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8216 2001-10-10 André Pönitz <poenitz@gmx.net>
8218 * lyxfunc.C: removed greek_kb_flag.
8220 2001-10-10 Herbert Voss <voss@perce.de>
8222 * lyx_main.C: delete global string help_lyxdir.
8224 2001-10-09 Herbert Voss <voss@perce.de>
8226 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8228 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8230 * lyx_main.C: added global string help_lyxdir.
8232 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8234 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8236 * lyxrc.C (set_font_norm_type): support iso8859-4
8238 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8240 * LaTeX.C (deplog): add another regex for MikTeX
8242 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8244 * lyxrc.C (set_font_norm_type): support iso8859-3
8246 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8248 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8250 * LaTeXFeatures.C: remove special case of french and index
8252 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8253 before \begin{document}). This solves several incompatibilities.
8255 2001-10-03 Garst Reese <reese@isn.net>
8257 * lyx_cb.C: change CheckTex error msg.
8259 2001-10-03 José Matos <jamatos@fep.up.pt>
8261 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8263 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8265 * .cvsignore: update
8267 * lyx_main.C (commandLineVersionInfo): use new style version info.
8269 * buffer.C (writeFile):
8272 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8274 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8276 * version.h: update to use stuff in version.C
8278 * version.C.in: new file. Contains version information determined
8279 at compile time. This is a merging of version.h and
8282 2001-10-03 Juergen Vigna <jug@sad.it>
8284 * BufferView_pimpl.C (update): don't change "dirty" status in
8287 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8289 * WorkArea.C (c-tor): re-position version string slightly.
8291 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8293 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8294 revert to previous code.
8296 WorkArea.[Ch]: (show, destroySplash): methods removed.
8298 WorkArea.C: rework code so that it's an amalgam of the codes before and
8299 after the splash screen was moved to WorkArea.
8301 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8304 * vspace.C (inPixels):
8307 * buffer.C (insertStringAsLines):
8308 (asciiParagraph): fix types to be large enough
8310 * lyxlex_pimpl.h: change member status from short to int
8312 * layout.h: fix type of endlabeltype
8315 * kbsequence.C (parse): change return type to string::size_type
8317 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8320 * Bullet.C (bulletSize):
8321 (bulletEntry): do not use short ints as parameters
8323 * BufferView2.C (insertLyXFile): change a char to an int.
8325 * WorkArea.C (WorkArea): remove unneeded floats in computation
8327 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8329 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8331 * paragraph.C (asString): Do not ignore newline/hfill chars when
8332 copying to the clipboard.
8334 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8336 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8337 after a multi-line inset.
8339 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8341 * paragraph.C (validate): Set NeedLyXFootnoteCode
8343 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8345 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8346 and decrease-error to decrease.
8348 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8350 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8351 it more readable (should be equivalent)
8353 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8355 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8357 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8359 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8360 of a cursor (row, etc.) after a character has been deleted
8361 (deleteEmptyParagraphMechanism): call the method above on _all_
8362 cursors held by the LyXText when a double space has been
8365 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8367 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8369 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8371 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8372 background. Use greyOut() and the new show() methods to toggle between
8373 the foreground and background. Add code to remove the splash after
8374 its initial showing.
8376 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8377 (create_forms): no longer call Dialogs::showSplash.
8379 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8381 * .cvsignore: add version_info.h
8383 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8385 * version_info.h.in: new file
8387 * Makefile.am: add version_info.h.in
8389 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8390 version_info.h instead of VERSION_INFO
8392 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8394 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8395 The ERT inset now returns string().
8397 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8399 * lyxtext.h, text.C (selectNextWord): renamed as
8400 selectNextWordToSpellcheck.
8402 * text.C (selectNextWordToSpellcheck): Modified to not select
8403 words inside an ERT inset.
8405 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8407 * lyx_cb.C (MenuLayoutSave): change a bit the question
8409 * sp_base.h: include <sys/types.h>
8411 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8413 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8415 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8417 * several files: fix typos in user-visible strings
8419 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8421 * text2.C (pasteSelection): do not set the selection, since it
8422 will be cleared later. Actually, the intent was to fix the way the
8423 selection was set, but I figured rmoving the code was just as good.
8425 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8427 * FontLoader.C (available): Check if font is available without
8430 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8432 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8434 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8436 * lyxrc.[Ch]: added display_graphics variable and associated code.
8438 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8440 * bufferparams.C (hasClassDefaults): new method. Returns true if
8441 the buffer parameters correspond to known class defaults
8443 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8445 * XFormsView.C (show): set minimum size to the main window.
8447 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8449 * text2.C (copySelection):
8451 * lyxfind.C (LyXReplace):
8452 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8453 LyXText::selectionAsString.
8455 * paragraph.C (asString): add "label" argument to the second form
8457 * text2.C (selectionAsString): add "label" argument and pass it to
8458 Paragraph::asString.
8460 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8462 * lyx_main.C (commandLineHelp): remove version information
8464 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8466 * lyx_main.C: add -version commandline option
8468 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8470 * paragraph.h: make the optional constructor arg required instead.
8471 some modifications to other files because of this.
8473 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8475 * lyxserver.C (C_LyXComm_callback): make it static
8477 * lyx_main.C (error_handler): make it static
8479 * lyx_gui.C (LyX_XErrHandler): make it static
8481 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8483 * WorkArea.C: make the extern "C" methods static.
8485 * Makefile.am (lyx_LDADD): simplify
8487 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8489 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8490 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8492 * LyXAction.C (init):
8493 * lyxfunc.C (dispatch): associated code removal.
8495 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8497 * lyxfont.h (isSymbolFont): shut off warning
8499 * text.C (setHeightOfRow):
8500 (getVisibleRow): fix crash with empty paragraphs which have a
8503 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8505 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8508 2001-09-04 José Matos <jamatos@fep.up.pt>
8511 * tabular.C (docbook): rename docBook method to docbook.
8513 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8515 * Makefile.am: add dependencies to main.o.
8517 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8519 * FontLoader.C (available): Return false if !lyxrc.use_gui
8521 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8523 * FontInfo.C (query):
8524 * converter.C (view):
8525 * importer.C (Import):
8526 * exporter.C (Export): Can not -> cannot.
8528 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8530 * BufferView_pimpl.C: allow to create index inset even if
8533 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8535 * buffer.C (getLists): replace boost::tie code with an explicit pair
8536 as boost::tie can break some compilers.
8538 * iterators.h: Added a std:: declaration to the return type of
8541 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8543 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8546 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8548 * iterators.[Ch]: New files. Provide paragraph iterators.
8550 * buffer.C (changeLanguage): Use paragraph iterators.
8551 (isMultiLingual): ditto
8553 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8555 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8557 * FontLoader.C: Support for cmr font.
8559 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8561 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8562 (available): New method.
8564 * FontInfo.C (getFontname): Use scalable fonts even when
8565 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8568 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8570 * converter.C (Formats::view): reverted! Incorrect fix.
8572 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8574 * converter.C (Formats::view): only output the -paper option
8575 if the dvi viewer is xdvi, thereby fixing bug #233429.
8577 2001-08-23 Herbert Voss <voss@perce>
8579 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8581 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8583 * Spacing.h (Spacing): Set space to Default on in the default
8586 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8588 * vc-backend.h (RCS::versionString): add RCS to version
8589 (CVS::versionString): add CVS to version
8591 * vc-backend.C (scanMaster): do not add CVS to version.
8592 (scanMaster): do not add RCS to version
8594 * lyxvc.C (versionString): new method
8596 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8598 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8600 * Spacing.C (set): initialize fval
8602 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8604 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8607 2001-08-16 Juergen Vigna <jug@sad.it>
8609 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8611 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8613 * BufferView_pimpl.C:
8616 * text2.C: setParagraph takes linespacing now
8618 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8620 * LyxAction.C: add internal LFUN_CITATION_INSERT
8622 * LyXView.C: actually apply fix
8624 * bufferlist.C: fix open non-existent file
8626 * lyxfind.C: fix indentation
8628 * lyxfunc.C: remove unneeded assert, fix typo
8630 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8632 * MenuBackend.C: use "Floatname List"
8634 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8636 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8637 when converting LaTeX layout to insetERT.
8638 Generate a non-collapsed float when reading old float
8640 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8642 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8645 2001-08-13 Juergen Vigna <jug@sad.it>
8647 * text.C (fill): return 0 instead of 20 as this seems to be the more
8650 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8652 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8655 2001-08-13 Juergen Vigna <jug@sad.it>
8657 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8659 (SearchBackward): comment out the unlocking of the inset_owner this
8660 should not be needed!
8662 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8664 * Many files: Remove inherit_language, and add latex_language
8666 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8669 2001-08-10 Juergen Vigna <jug@sad.it>
8671 * text.C (prepareToPrint): fixed hfill-width in draw!
8673 * BufferView2.C (selectLastWord): save the selection cursor as this
8674 now is cleared in the function LyXText::clearSelection!
8676 2001-08-08 Juergen Vigna <jug@sad.it>
8678 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8679 BACKSPACE type functions.
8681 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8682 is only cutted from the document but not put in the cut-buffer, where
8683 still the old stuff should be.
8685 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8687 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8689 * tabular.C (SetWidthOfCell): fixed special case where the width
8691 (LeftLine): handle '|' in align_special.
8693 (LeftAlreadyDrawed): ditto
8694 (SetWidthOfCell): ditto
8696 2001-08-07 Juergen Vigna <jug@sad.it>
8698 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8700 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8702 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8703 * lyxlex.[hC]: ditto
8705 2001-08-06 Juergen Vigna <jug@sad.it>
8707 * text.C (getVisibleRow): fix up row clearing a bit.
8709 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8711 * minibuffer.C: make sure the X server sees the changes in the input.
8713 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8715 * paragraph.C (getFont): split into...
8716 (getLabelFont): this
8717 (getLayoutFont): and this
8718 * paragraph_pimpl.C (realizeFont): calling this
8720 * text2.C (getFont): split into...
8721 (getLayoutFont): this
8722 (getLabelFont): and this
8723 (realizeFont): all three calling this
8725 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8728 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8730 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8732 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8734 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8735 layouts from the Quote inset insertion.
8737 2001-08-03 Juergen Vigna <jug@sad.it>
8739 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8741 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8742 only if status not is already CHANGED_IN_DRAW (second level).
8744 * text.C (draw): don't set the need_break_row when inside an
8747 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8749 * buffer.C (parseSingleLyXformat2Token): handle more latex
8752 * bufferview_funcs.[hC]: change function names to
8753 begin with small char, adjust other files.
8755 2001-08-02 André Pönitz <poenitz@gmx.net>
8758 BufferView_pimpl.C: remove broken special code for math-greek
8760 2001-08-02 Juergen Vigna <jug@sad.it>
8762 * BufferView_pimpl.C (update): redone this function so that we
8763 update the text again if there was a CHANGE_IN_DRAW.
8765 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8766 (drawFromTo): added a new internal bool which is used by draw() and
8768 (general): some cursor drawing problems fixed.
8770 2001-08-01 Juergen Vigna <jug@sad.it>
8772 * lyxfind.C (LyXFind): fixed
8773 (SearchForward): ditto
8774 (SearchBackward): ditto
8776 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8777 spurius drawing of the cursor in the main area.
8779 * text2.C (status): small fix which could lead to a segfault!
8780 (clearSelection): remove unneeded BufferView param.
8782 2001-08-01 André Pönitz <poenitz@gmx.net>
8784 * lyxfunc.C: small change due to changed mathed interface
8786 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8788 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8790 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8792 * lyxfunc.c: fail gracefully if file doesn't exist
8797 * BufferView_pimpl.C: IsDirWriteable() proto changed
8799 * LyXView.C: fix updateWindowTitle() to store the last title
8801 2001-07-31 Juergen Vigna <jug@sad.it>
8803 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8804 the font (wrong since using of Paragraph::highestFontInRange).
8806 * paragraph.C (highestFontInRange): added a default_size parameter.
8808 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8809 (setHeightOfRow): reformat
8811 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8813 * converter.[hC] + affected files: move to (inital-char)lowercase
8816 * ParagraphParameters.C (ParagraphParameters): remove commented code
8818 * PainterBase.[Ch]: remove commented code
8820 * LaTeXFeatures.h: add "bool floats" for float.sty
8822 * LaTeXFeatures.C (LaTeXFeatures): init floats
8823 (require): handle float
8824 (getPackages): do it with floats
8826 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8828 * BufferView_pimpl.C (Dispatch): improve handling of
8829 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8831 * commandtags.h: #include lyxfont.h here temporarily to avoid
8834 * bufferlist.h: include LString.h here.
8836 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8838 * text2.C (getStringToIndex): new method.
8840 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8842 * *: Reduced header file dependencies all over.
8844 2001-07-30 Baruch Even <baruch@lyx.org>
8846 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8848 2001-07-29 Baruch Even <baruch@lyx.org>
8850 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8852 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8854 * ParameterStruct.h (endif): add a default constructor to make
8855 sure that all variables is initialized.
8857 * ParagraphParameters.C (ParagraphParameters): adjust
8859 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8861 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8862 index; also, check that there is something to index, and that it
8863 does not span over several paragraphs.
8864 (doubleClick): use WHOLE_WORD_STRICT for double click.
8866 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8868 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8871 2001-07-26 Baruch Even <baruch@lyx.org>
8873 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8874 an InsetFig figure, backwards compatible reading of old figure code.
8876 2001-07-27 Juergen Vigna <jug@sad.it>
8878 * text2.C: font.realize function adaption.
8880 * text.C (draw): add a warnings lyxerr text if needed.
8882 * layout.C: font.realize function adaption.
8884 * language.C: add inherit_language and implement it's handlings
8886 * bufferview_funcs.C (StyleReset): remove language parameter from
8887 font creation (should be language_inherit now).
8889 * bufferparams.C (writeFile): handle ignore_language.
8891 * paragraph.C (getFontSettings): the language has to be resolved
8892 otherwise we have problems in LyXFont!
8894 * lyxfont.C (lyxWriteChanges): added document_language parameter
8895 (update): removed unneeded language parameter
8897 * paragraph.C (validate): fixed wrong output of color-package when
8898 using interface colors for certain fonts in certain environments,
8899 which should not seen as that on the final output.
8901 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8903 * BufferView_pimpl.C:
8908 * LyXAction.C: add thesaurus support
8911 * lyxfind.C: add "once" parameter, for thesaurus, to not
8912 move to the next match
8914 2001-07-26 Juergen Vigna <jug@sad.it>
8916 * lyxfont.C (realize): honor ignore_language too!
8919 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8921 * text.C (draw): one place more for ignore_language to not draw
8924 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8926 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8928 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8930 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8931 the minipage conversion problem.
8933 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8935 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8938 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8940 * BufferView.h: don't forward declare WorkArea
8942 * BufferView.C: don't include WorkArea.h
8944 2001-07-25 André Pönitz <poenitz@gmx.net>
8948 * lyxfunc.C: new LFUN 'math-space'
8950 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8952 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8954 * text2.C (toggleInset): call open/close
8956 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8958 * lyxfunc.C (dispatch): add debug for the disabled case
8960 * font.C (buttonText): make similar to rectText
8962 * buffer.C (readInset): comment out parsing of insetlist and
8965 * PainterBase.C (rectText): small correction
8967 * BufferView_pimpl.C: comment out insettheorem and insetlist
8968 * LyXAction.C: ditto
8969 * commandtags.h: ditto
8971 2001-07-24 Juergen Vigna <jug@sad.it>
8973 * text.C (draw): honor the ignore_language.
8975 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8977 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8979 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8982 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8984 * lyxtext.h: remove unused (and unimplemented) methods
8986 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8988 * text.C (getVisibleRow): honor background color
8991 * Painter.h: remove default color argument for fillRectangle
8993 * text.C (backgroundColor): new method
8995 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8997 * text.C (getVisibleRow): adjust
8999 * font.[Ch] (rectText): new method, metrics
9000 (buttonText): new method, metrics
9002 * PainterBase.[hC]: make rectText and buttonText always draw and take
9005 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9007 * ToolbarDefaults.C (read):
9008 * MenuBackend.C (read): allow escaping in all strings
9010 * BufferView_pimpl.C (insertAndEditInset): new method.
9011 (Dispatch): use insertAndEditInset whenever appropriate.
9013 * BufferView_pimpl.C (insertNote): removed
9015 * BufferView_pimpl.C (smartQuote): new method, moved from
9016 BufferView; if an insetquote cannot be inserted, insert a '"'
9019 * BufferView2.C: remove insertCorrectQuote();
9021 * lyxfunc.C (getStatus): Add support for all remaingin
9024 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9026 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9027 command (necessary to pass " as parameter of self-insert.
9029 * text.C (selectWordWhenUnderCursor):
9030 (selectWord): add word_location parameter
9031 (selectWordWhenUnderCursor): same + remove special code for word
9033 (selectNextWord): use kind() to guess type of insetspecialchar,
9036 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9037 (insertErtContents): create ert insets as collapsed.
9038 (readInset): better compatibility code for Info inset.
9040 2001-07-20 Juergen Vigna <jug@sad.it>
9042 * lyxfunc.C (dispatch): use always LyXFind now!
9044 * text2.C (init): add a reinit flag so that the LyXText can be
9045 reinited instead of deleted and reallocated (used in InsetText).
9047 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9053 2001-07-18 Juergen Vigna <jug@sad.it>
9055 * text.C (selectNextWord): handle insets inside inset by calling
9056 always the bv->text functions so that we can go up the_locking_inset!
9058 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9059 in strange locations when inside an inset!
9061 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9062 handling to include insets.
9064 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9066 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9068 * LyXAction.C (init):
9070 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9071 LIGATURE_BREAK, since the name is so stupid.
9073 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9075 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9078 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9080 * sp_form.[Ch]: remove.
9082 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9084 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9087 * src/buffer.C (readInset): ditto.
9089 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9091 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9092 menuSeparator(), endOfSentenceDot(), ldots() and
9093 hyphenationPoint(), which are therefore removed.
9094 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9096 * LyXAction.C (init):
9097 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9099 * paragraph.C (getWord): removed.
9101 * BufferView_pimpl.C (Dispatch): use last word or selection for
9102 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9104 * lyx_main.C (queryUserLyXDir): do not ask before creating
9105 user_dir, except if it has been named explicitely.
9107 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9109 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9110 a document of zero size.
9112 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9114 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9115 approriately in the c-tor and in require().
9116 (getPackages): output the appropriate LaTeX for natbib support.
9118 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9119 variables "use_natbib" and "use_numerical_citations" when reading the
9121 (readInset): read the various natbib cite commands.
9122 (validate): white-space change.
9124 * bufferparams.[Ch]: new variables "bool use_natbib" and
9125 "bool use_numerical_citations".
9126 (writeFile): output them in the LyX file.
9128 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9130 * lyxfunc.C (getStatus): add support for all the inset insertion
9133 * text2.C (insertInset):
9134 * paragraph.C (insetAllowed):
9135 * BufferView_pimpl.C (insertInset): update to take in account the
9136 renaming of insertInsetAllowed
9138 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9140 * text2.C (getInset): new method. returns inset at cursor position.
9142 * BufferView_pimpl.C (Dispatch): changes because of this.
9144 * LyXAction.C (init): rename open-stuff to inset-toggle.
9146 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9148 * text2.C (toggleInset): renamed from openStuff; use
9151 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9153 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9155 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9157 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9159 * buffer.C (readLyXformat2): Add filename to the error dialog
9161 2001-07-18 Juergen Vigna <jug@sad.it>
9163 * tabular.C (GetCellNumber): put an assert here instead of the check!
9165 2001-07-17 Juergen Vigna <jug@sad.it>
9167 * BufferView_pimpl.C (toggleSelection): adapted too.
9169 * text.C (selectNextWord): adapted for use with insets.
9170 (selectSelectedWord): ditto
9172 2001-07-17 Juergen Vigna <jug@sad.it>
9174 * sp_spell.C (PSpell): fix initialitation order.
9176 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9178 * paragraph.C: spacing
9180 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9182 * sp_spell.C: repair language selection for pspell
9184 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9186 * lyxfunc.h: change more methods to begin with lower char.
9188 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9190 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9191 for unknown layouts.
9193 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9195 * buffer.C (readLyXformat2): Generate an error dialog if there are
9198 2001-07-16 Juergen Vigna <jug@sad.it>
9200 * sp_spell.C: always compile ISpell part.
9202 * lyxrc.C: added use_pspell entry and it's handling.
9204 2001-07-13 Juergen Vigna <jug@sad.it>
9206 * sp_spell.C: removed double includes.
9208 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9210 Consistent use of Lsstream.h:
9211 * Lsstream.h: added using std::stringstream for consistencies sake.
9213 * buffer.C: removed using std::stringstream
9215 * lyxfont.C (stateText):
9216 * paragraph.C (asString):
9217 * text.C (selectNextWord, selectSelectedWord):
9218 * text2.C (setCounter):
9219 * vspace.C (asString, asLatexString):
9220 std::ostringstream -> ostringstream.
9222 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9224 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9225 * commandtags.h: add LFUN_HELP_ABOUTLYX
9226 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9228 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9230 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9232 * lyx_gui_misc.C: remove spellchecker
9233 * lyxfunc.C: showSpellchecker
9235 * sp_ispell.h: added
9236 * sp_pspell.h: added
9238 * sp_form.[Ch]: removed
9239 * spellchecker.[Ch]: removed
9241 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9243 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9245 (simpleTeXSpecialChars): Simply print the input character without
9246 any special translation if pass_thru is set.
9248 * layout.h: Added bool pass_thru to layout class for being able to
9249 implement pass through of a paragraph for Literate Programming.
9251 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9252 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9253 * layout.C (Read): add "passthru" to list of layout tags and add
9254 code to set the pass_thru boolean when it is read.
9256 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9258 * trans_decl.h: remove allowed from KmodInfo
9260 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9264 * paragraph_pimpl.C (erase): use boost::prior
9266 * Painter.C (text): use data() instead of c_str() when length is
9268 * WorkArea.C (putClipboard): ditto
9269 * font.h (width): ditto
9271 * BufferView2.C: use it-> instead of (*it). for iterators
9273 * paragraph_pimpl.C: ditto
9274 * paragraph.C: ditto
9275 * minibuffer.C: ditto
9280 * converter.C: ditto
9282 * Variables.C: ditto
9283 * TextCache.C: ditto
9284 * MenuBackend.C: ditto
9285 * LyXAction.C: ditto
9287 * FloatList.C: ditto
9289 * ColorHandler.C (LyXColorHandler): ditto
9291 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9293 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9295 * text2.C (openStuff): reintroduce this method (which had been
9296 nuked in NEW_INSETS frenzy).
9298 * lyxfunc.C (Dispatch): when an action has not been handled, use
9299 its name in the error message, not its number.
9301 * paragraph.C (inInset): change method name to begin with lowercase.
9304 * text2.C: updates because of this.
9306 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9308 * ToolbarDefaults.C (add): add spaces in error message
9310 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9312 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9313 (readLyXformat2): rename return_par to first_par, use lyxlex's
9314 pushToken and remove the manual push handling.
9315 (parseSingleLyXformat2Token): add another ert comp. variable:
9316 in_tabular, rename return_par to first_par. handle newlines better
9318 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9320 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9322 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9324 * text2.C (getParFromID): removed
9326 * buffer.C (getParFromID): new method moved form lyxtext.
9327 * BufferView2.C (insertErrors): adjust
9328 (setCursorFromRow): adjust
9329 * BufferView_pimpl.C (restorePosition): adjust
9330 * lyxfunc.C (Dispatch): adjust
9331 * undo_funcs.C (textUndo): adjust
9333 (textHandleUndo): adjust
9334 (textHandleUndo): adjust
9336 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9338 * buffer.C: up' the LYX_FORMAT
9340 * lyxfont.h: turn NO_LATEX on as default
9342 * buffer.C (insertErtContents): new methods of tex style compability.
9343 (parseSingleLyXformat2Token): use it several places.
9344 * tabular.C (OldFormatRead): and here
9346 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9348 * text2.C: remove some commented code.
9351 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9352 * trans.C: changes because of the above.
9354 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9356 * text2.C (setCounter): Fix counters bug with bibliography layout.
9358 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9360 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9361 own member functions
9362 (simpleTeXSpecialChars): ditto
9364 2001-07-06 Juergen Vigna <jug@sad.it>
9366 * a lot of files: changed the access to LyXText::status and the
9367 call of undo-functions.
9369 * undo.[Ch]: added a inset_id to the undo informations.
9371 * undo_funcs.[Ch]: added and moved here all undo functions.
9373 * lyxtext.h: give the status enum a weight, made status_ a private
9374 variable and made accessor functions for it, removed the whole bunch
9375 of undo-functions as they are now in their own file, make some
9376 functions publically available. Added function ownerParagraph with
9379 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9380 made InInset() a const function, added getParFromID() function.
9382 * buffer.[Ch]: added const version for inset_iterator functions,
9383 added getInsetFromID() function.
9385 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9386 changed undo functions for new version.
9388 2001-07-05 Juergen Vigna <jug@sad.it>
9390 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9391 unknow mechanism does not call the proper constructor but only this
9392 one also if I request the other!?
9394 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9396 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9398 * text2.C (LyXText): use initialization lists.
9400 * lyxtext.h (Selection): initialize set_ and mark_
9401 (init): remove method
9403 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9405 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9407 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9409 * screen.[Ch]: change method names to begin with lowercase
9411 * BufferView_pimpl.C (updateScrollbar): simplify further and
9412 hopefully make it a bit faster.
9414 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9416 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9417 calling directly xforms functions.
9419 * Painter.C (Painter):
9420 * lyx_cb.C (MenuWrite):
9421 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9424 * lyx_gui.C: remove bogus guiruntime extern declaration.
9426 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9428 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9430 (redoDrawingOfParagraph): ditto
9431 (redoParagraphs): ditto
9432 (cutSelection): don't create a object for CutAndPaste use the
9433 static method directly
9434 (pasteSelection): ditto
9436 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9439 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9441 * modifications to some other files because of this.
9443 * Makefile.am (lyx_SOURCES): add XFormsView
9445 * XFormsView.[Ch]: new files
9447 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9448 the main window. Move the gui dependent stuff to XFormsView
9450 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9452 * tabular.C (GetCellInset): update cur_cell also in the row/col
9453 version of this function.
9455 * lyxfunc.C: no need to include figure_form.h here.
9461 * lyxvc.C: no need to include forms.h here.
9463 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9465 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9467 * lyxfunc.C (Dispatch):
9469 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9470 constructor argument.
9472 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9474 * paragraph.C (Paragraph): dont't clear, and just set layout.
9475 (makeSameLayout): use params's copy contructor.
9477 * ParagraphParameters.[Ch] (makeSame): delete method
9479 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9481 * Variables.[Ch]: fix indentation, rename set to isSet
9483 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9485 * lyxfunc.C (Dispatch): fix typo
9487 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9489 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9492 * bufferlist.C: include assert.h for emergencyWrite().
9494 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9496 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9497 give up at last (bug #425202) !
9499 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9505 * spellchecker.C: strip spellchecker options and bring up
9506 preferences tab instead
9508 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9510 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9511 the istringstream constructor
9513 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9515 * paragraph.C (getLayout): fix return value
9517 * paragraph.h: do not declare getLayout as inline.
9519 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9521 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9523 * lyxcursor.h (operator<): new func
9524 (operator>): new func
9525 (operator>=): new func
9526 (operator<=): new func
9528 * text.C (changeCase): use selection.start and selection.end
9529 (changeRegionCase): require from to be <= to. Require par to be a
9532 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9534 2001-06-27 Juergen Vigna <jug@sad.it>
9536 * text.C (cursorLeftOneWord): changed to return the cursor and added
9537 overlay with BufferView * parameter which calls this one.
9539 (selectWord): use new getWord function.
9540 (changeCase): renamed from changeWordCase as and extended to work
9543 * lyxtext.h: added enum word_location
9545 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9546 changeCase as this operates now also on selections.
9548 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9550 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9552 * many files: send debug output to Debug::INFO instead of
9555 * converter.C (View):
9557 (Move): send debug output to Debug::FILES instead of console.
9559 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9561 * lyxfunc.C (getStatus): use func_status
9563 * func_status.h: new header, describing the results of
9566 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9569 2001-06-25 The LyX Project <jug@sad.it>
9571 * buffer.C (sgmlOpenTag):
9573 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9575 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9577 * text2.C: remove some dead code
9579 * tabular.C (GetCellInset): store the last cell checked (gotten)
9581 * tabular.h: add the helper for the speedup
9583 * lyxtext.h: remove some dead code
9585 2001-06-26 The LyX Project <Asger>
9587 * paragraph.C: Change export to LaTeX of alignment to
9588 \begin{center} and family for better roundtrip work with reLyX.
9590 * Tune the math drawing a bit.
9592 2001-06-25 The LyX Project <Asger>
9594 * LColor.C (LColor): New color for math background. New color
9597 2001-06-25 The LyX Project <jug@sad.it>
9599 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9602 * bufferlist.C (newFile): do not restrict to files ending with
9605 * BufferView_pimpl.C (MenuInsertLyXFile):
9607 2001-06-24 The LyX Project <jug@sad.it>
9609 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9612 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9614 * lyxtext.h: rename most methods to begin with a small char.
9615 Lots of changes because of this.
9617 * paragraph.C (Paragraph): do not call fitToSize
9618 (erase): call Pimpl::erase
9619 (insertChar): call Pimpl::insertChar
9620 (insertInset): call Pipl::insertInset
9621 (breakParagraph): do not call fitToSize
9622 (breakParagraphConservative): do not call fitToSize
9623 (fitToSize): remove method
9625 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9627 2001-06-24 The LyX Project <Asger>
9629 * Fix Qt compilation^2
9631 2001-06-24 The LyX Project <jug@sad.it>
9633 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9634 depthHook(getDepth()-1).
9637 * ParagraphParameters.h:
9638 * ParameterStruct.h: change type of depth to unsigned int ==
9639 depth_type. Many adaptations to other files before of that.
9641 2001-06-24 The LyX Project <Asger>
9643 * Fix Qt compilation.
9645 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9647 * paragraph.h: renamed several methods to begin with small letter.
9648 several changes to many parts of the code because of this.
9650 2001-06-23 The LyX Project <jug@sad.it>
9652 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9653 rewritten to discard all double spaces when KeepEmpty is off
9654 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9655 to only handle newlines but not fiddle with spaces and friends.
9657 * lyxfunc.C (MenuNew): when doing 'new from template', use
9658 template_path as default directory
9660 2001-06-23 The LyX Project <Asger>
9662 * Clean-up of header file includes all over
9663 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9665 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9667 * paragraph.h: renamed from lyxparagraph.h
9669 2001-06-23 Asger <lyx@violet.home.sad.it>
9671 * Buffer.h: Removed Buffer::resize
9672 * BufferList.h: Removed BufferList::resize
9673 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9674 the document lazily when we change the width, or the font settings.
9676 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9678 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9680 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9682 * buffer.h: remove out of date comment
9684 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9687 * screen.C: fix "theoretical" GC leak
9689 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9691 * LaTeX.C (scanAuxFile):
9692 (deplog): remove trailing \r when reading stream (useful under
9695 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9697 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9698 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9699 and BufferView::theLockingInset(Inset*), so should use them and not
9700 access bv_->text->the_locking_inset directly.
9702 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9704 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9707 * tex-defs.h: remove old unused file
9709 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9711 * BufferView_pimpl.C: fix typo, remove minibuffer message
9712 when buffer has loaded
9714 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9716 * lyxfunc.C (Dispatch): use stringstream
9717 (MenuNew): use stringstream
9718 (Open): use stringstream
9720 * importer.C (Import): use stringstream
9722 * bufferview_funcs.C (CurrentState): use stringstream
9724 * LaTeX.C (run): use stringstream
9726 * BufferView_pimpl.C (savePosition): use stringstream
9727 (restorePosition): use stringstream
9728 (MenuInsertLyXFile): use stringstream
9730 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9743 * vspace.C: removed // -*- C++ -*- as first line.
9746 * version.h: added // -*- C++ -*- as first line.
9748 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9750 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9752 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9755 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9757 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9760 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9762 * gettext.C: include LString.h even when --disable-nls is on.
9764 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9766 * converter.h (Get): changed argument type from int to
9767 FormatList::size_type to avoid unnecessary conversion.
9769 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9772 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9774 * gettext.h: include LString.h even when --disable-nls is on.
9776 2001-06-07 Juergen Vigna <jug@sad.it>
9778 * text.C (BreakAgain): subst spaces with tabs.
9780 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9781 (resizeInsetsLyXText): set force on resizeLyXText.
9783 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9785 * gettext.h (gettext_init):
9786 (locale_init): use a real definition instead of a macro
9788 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9790 * Bufferview_pimpl.C:
9792 * LColor.C: further lcolor tidies
9794 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9796 * BufferView_pimpl.C (updateScrollbar): simplify.
9798 * BufferView2.C: don't include insets/insetinfo.h, change
9799 prototype for insertInset and call the Pimpl version. let
9800 updateInset call Pimpl version.
9802 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9803 gotoInset to BufferView::Pimpl
9805 2001-06-01 Juergen Vigna <jug@sad.it>
9807 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9808 inside a LockingInset (is the update needed at all?).
9810 2001-05-31 Juergen Vigna <jug@sad.it>
9812 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9813 here not the old one otherwise how should we compare it afterwards
9816 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9821 * FontInfo.C: bring C functions into global namespace when
9824 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9826 * LString.h: make sure config.h has been loaded before LString.h.
9828 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9829 (one for each char read by EatLine!).
9831 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9834 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9836 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9837 to the same as the par we break from
9839 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9841 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9843 * MenuBackend.C (expand): also create menu entries for wide
9844 versions of the floats.
9846 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9848 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9850 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9851 frontends/Makefile.am
9857 * tabular.C (getTokenValue): add std::
9859 * tabular-old.C (getTokenValue): add std::
9860 (getTokenValue): ditto
9861 (getTokenValue): ditto
9863 * screen.C (ToggleSelection): adjust
9865 * lyxtext.h: put selection cursors inside a Selection struct.
9867 * lyxfunc.C (moveCursorUpdate): adjust
9869 * lyxfont.C (latexWriteStartChanges): add std::
9873 * font.h: delete with(char const *, LyXFont const &)
9875 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9877 * FontInfo.C (getFontname): add std::
9879 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9880 (workAreaButtonPress): adjust
9881 (tripleClick): adjust
9883 (moveCursorUpdate): adjust
9886 * BufferView2.C (gotoInset): adjust
9888 2001-05-30 Juergen Vigna <jug@sad.it>
9890 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9891 to check pspell I add this as default as I now have new pspell
9892 libraries and they seem to use this.
9894 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9896 * text2.C (CutSelection): make the cursor valid before the call to
9899 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9901 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9902 relied on 0 terminated strings and other horrors. Bug found due to
9903 the new assert in lyxstring!
9905 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9908 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9910 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9913 * lyxfunc.C (processKeySym): change method of getting to the
9916 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9917 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9918 * BufferView_pimpl.[Ch]: here as private methods.
9920 2001-05-28 Juergen Vigna <jug@sad.it>
9922 * text.C (SetHeightOfRow): added the update() call again as it is
9923 needed to initialize inset dimensions!
9925 2001-05-16 Juergen Vigna <jug@sad.it>
9927 * text2.C (SetCharFont): Add new function with BufferView * and
9928 bool toggleall parameters for setting insets internal fonts.
9929 (SetFont): Freeze the undo as we may change fonts in Insets and
9930 all this change should be inside only one Undo!
9932 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9933 setting font's in insets as for them we have the SetFont function!
9935 2001-05-15 Juergen Vigna <jug@sad.it>
9937 * text2.C (ClearSelection): to be sure we REALLY don't have any
9940 * tabular.C (TeXCellPreamble): fixed the left border problem for
9943 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9945 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9948 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9950 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9951 LFUN_BREAKPARAGRAPH.
9953 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9954 help test to "internal only", similar for LFUN_INSERT_URL
9956 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9957 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9958 auto_region_delete and deadkeys.
9960 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9963 * LColor.C: remove some dead entries, tidy a little
9965 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9967 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9969 (Dispatch): implement LFUN_ESCAPE
9971 * commandtags.h: add LFUN_ESCAPE
9973 * LyXAction.C (init): add entry for LFUN_ESCAPE
9975 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9976 Remove commented code.
9977 (insertNote): moved here
9978 (open_new_inset): moved here
9980 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9983 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9985 * kbmap.C (findbinding): clean it up and make it work correctly.
9987 * lyx_main.C (init): do not pass argc and argv as parameters
9989 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9991 * buffer.C: fix path for OS/2 & Win32
9995 * lyx_main.C: Added os:: class.
9997 * os2_defines.h: update
9999 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10001 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10002 better by trying again with reduced state.
10004 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10006 * lyxrc.C (read): print error about invalid key sequence only when
10007 debugging (because not all latinX keysyms are known to some X
10010 * kbsequence.C (getiso): add a few std:: qualifiers
10011 (getiso): comment out extra return statement.
10013 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10015 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10017 (Dispatch): enhance the accent inset a bit. (not perfect)
10019 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10021 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10023 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10025 * bufferlist.C (emergencyWrite): fix assert() call
10027 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10029 * text.C (InsertChar): Added trivial patch to only send the "you
10030 can not do multiple spaces this way" message once during a
10033 2001-05-08 Baruch Even <baruch@lyx.org>
10035 * Makefile.am: Changed order of libraries to get LyX to link properly
10036 with the gnome frontend.
10038 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10040 * LaTeXFeatures.h: add a std:: qualifier
10042 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10044 * paragraph.C (String): use stringstream
10046 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10048 * paragraph.C (writeFile): remove footflag arg
10050 * buffer.C (makeLaTeXFile): use stringstream
10051 (latexParagraphs): remove footnot gurba
10053 * LaTeXFeatures.C (getPackages): use stringstream
10054 (getMacros): likewise
10055 (getTClassPreamble): likewise
10056 (getFloatDefinitions): new method
10058 * paragraph.C (writeFile): reindent
10061 * WorkArea.h: revert the xpos + etc changes.
10063 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10065 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10067 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10068 (pasteSelection): likewise
10069 * text2.C (CreateUndo): likewise
10071 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10073 * minibuffer.C (peek_event): temporarily reduce the functionality
10074 of the minibuffer (to allow args on lfuns)
10076 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10077 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10079 * buffer.C (readInset): add compability reading of old float
10080 lists, add reading of new style float list.
10081 (readInset): avoid reevaluation of inscmd.getCmdName()
10082 (getLists): reindent
10084 * MenuBackend.C (MenuItem): implement parsing of
10085 md_floatlistinsert and md_floatinsert.
10086 (expand::LastFiles): move initalizaton of iterators out of loop,
10087 avoid reevaluation.
10088 (expand::Documents): introduce typdedef vector<string> Strings,
10090 (expand::ExportFormats): introduce typedef vector<Format const *>
10091 Formats, and use it.
10092 (expand): implement FloatListInsert and FloatInsert.
10094 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10095 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10096 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10098 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10100 (Dispatch::LFUN_FLOAT_LIST): implement
10102 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10104 * LaTeX.C (run): Fix problem with --export code.
10106 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10108 * BufferView.[Ch] (workarea): removed.
10109 (getClipboard) new method; wrapper for workarea()->getClipboard()
10111 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10114 * WorkArea.h (width, height, xpos, ypos): These methods all
10115 returned the dimensions of the work_area sub-area of WorkArea,
10116 resulting in a position error if the WorkArea were resized. Now
10117 return the dimensions of the entire WorkArea.
10119 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10121 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10123 * LaTeX.C (deplog): correct the syntax of regex reg1
10125 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10127 * undo.C: remove !NEW_INSETS cruft
10129 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10131 * text2.C: remove !NEW_INSETS cruft
10133 * text.C: remove !NEW_INSETS cruft
10135 * tabular.C: remove !NEW_INSETS cruft
10137 * spellchecker.C: remove !NEW_INSETS cruft
10139 * lyxtext.h: remove !NEW_INSETS cruft
10141 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10143 * lyxfunc.C: remove !NEW_INSETS cruft
10145 * lyxfind.C: remove !NEW_INSETS cruft
10147 * lyx_cb.C: remove !NEW_INSETS cruft
10149 * figureForm.C: remove !NEW_INSETS cruft
10151 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10153 * buffer.[Ch]: remove !NEW_INSETS cruft
10155 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10157 * CutAndPaste.C: remove !NEW_INSETS cruft
10159 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10161 * BufferView2.C: remove !NEW_INSETS cruft
10163 * BufferView.h: remove !NEW_INSETS cruft
10165 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10167 * Lsstream.h: include LString.h before the sstream headers to
10168 fix problem with gcc 2.95.3 and lyxstring
10170 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10172 * lyx_main.C: add using directives when needed for C functions
10173 declared in std:: namespace.
10175 2001-04-27 Juergen Vigna <jug@sad.it>
10177 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10178 (SetHeightOfRow): comment out the update call should not be needed!
10180 2001-04-13 Juergen Vigna <jug@sad.it>
10182 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10183 (LyXTabular): tried to minimize operator= operations (and realized
10184 hopfully Lars wish).
10186 2001-04-27 Juergen Vigna <jug@sad.it>
10188 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10190 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10192 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10194 * buffer.C (readInset): hack to make listof algorithm work
10196 * BufferView_pimpl.C: hack to make listof algorithm work
10198 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10200 * LyXAction.C: removed all !NEW_INSETS cruft
10201 (init): moved lfun_item in method
10203 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10205 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10207 * BufferView2.C (theLockingInset): white space.
10209 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10211 * minibuffer.C: include <iostream>
10213 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10215 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10217 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10219 * text.[Ch] (TransposeChars): new method
10221 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10223 * call message directly through LyXView instead of through LyXFunc
10224 * BufferView2.C: adjust
10225 * BufferView_pimpl.C: adjust
10226 * FontLoader.C: adjust
10228 * bufferview_funcs.C: adjust
10229 * converter.C: adjust
10230 * figureForm.C: adjust
10231 * importer.C: adjust
10233 * lyx_gui_misc.C: adjust
10234 * lyxfunc.C: adjust
10237 + more files in subdirs
10239 * lyxparagraph.h (size): move up int file
10242 * adjust all uses of Assert to lyx::Assert.
10244 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10245 lyxfunctional in namespace lyx
10246 * layout.C (hasLayout): ditto
10249 (delete_layout): ditto
10250 (NumberOfClass): ditto
10251 * converter.C (GetFormat): ditto
10256 * bufferlist.C (getFileNames): ditto
10257 (emergencyWriteAll): ditto
10260 * MenuBackend.C (hasSubmenu): ditto
10263 * BufferView_pimpl.C (getInsetByCode): ditto
10265 2001-04-18 Juergen Vigna <jug@sad.it>
10267 * vspace.C (asLatexString): fixed the 100% problem.
10269 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10271 * lyxfunc.C (Dispatch):
10273 * minibuffer.h: add a few std:: qualifiers
10275 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10277 * minibuffer.[Ch]: reimplement so that commands is initiated and
10278 run from lyxfunc, simplified som handling, and made the completion
10279 and history code for complete. wip.
10281 * lyxfunc.C (processKeySym): call message
10282 (miniDispatch): new temporary method
10283 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10284 (LFUN_MESSAGE): implement
10285 (LFUN_MESSAGE_PUSH): implement
10286 (LFUN_MESSAGE_POP): implement
10287 (initMiniBuffer): the initial/defualt minibuffer message.
10289 * lyxfont.[Ch]: inline some more getters
10291 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10293 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10295 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10296 (AutoSave): use LFUN_MESSAGE
10297 (Reconfigure): ditto
10299 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10301 * figureForm.C: use LFUN_MESSAGE
10303 * converter.C (runLaTeX): use LFUN_MESSAGE
10305 * bufferview_funcs.C: use LFUN_MESSAGE
10307 (changeDepth): ditto
10309 * bufferparams.h: use boost::
10311 * bufferlist.h: inherit privately from noncopyable
10313 * bufferlist.C (loadLyXFile): remove some commented code.
10315 * buffer.C (runChktex): use LFUN_MESSAGE
10317 * ShareContainer.h: inherit privately from noncopyable
10319 * ParagraphParameters.[hC] (depth): inline it.
10321 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10323 (message): new method
10324 (messagePush): ditto
10325 (messagePop): ditto
10326 (show): init minibuffer
10327 (showState): direct call
10329 * LaTeX.[Ch]: inherit privately from noncopyable
10330 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10331 instead of WriteStatus.
10333 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10335 * BufferView_pimpl.C (buffer): don't init minibuffer
10336 (workAreaButtonPress): use LFUN_MESSAGE
10337 (workAreaButtonRelease): ditto
10338 (savePosition): ditto
10339 (restorePosition): ditto
10340 (MenuInsertLyXFile): ditto
10341 (workAreaExpose): don't init minibuffer
10342 (update): remove commented code, simplify
10344 * BufferView2.C (openStuff): use LFUN_MESSAGE
10345 (toggleFloat): ditto
10348 (copyEnvironment): ditto
10349 (pasteEnvironment): ditto
10354 (updateInset): remove some commented code
10356 * lastfiles.h: inherit privately from noncopyable
10359 * lyx_main.h: ditto
10361 * lyxlex_pimpl.h: ditto
10363 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10364 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10365 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10367 * LyXAction.h: inherit privately from noncopyable, add methods
10368 func_begin, func_end, returning iterators to the func map.
10370 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10371 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10372 (func_begin): new method
10373 (func_end): new method
10375 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10377 (copySelection): ditto
10378 (pasteSelection): ditto
10380 * BufferView.C: whitespace change
10381 * BufferView.h: inherit privately from noncopyable
10383 2001-04-16 Allan Rae <rae@lyx.org>
10385 * tabular-old.C (l_getline):
10386 * spellchecker.C (sc_check_word):
10387 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10388 an unrecognised preprocessor directive. So ensure they're wrapped.
10390 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10392 * src/exporter.C (Export): Give an error message when path to file
10395 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10397 * LaTeX.C (deplog): Always check that foundfile exists.
10399 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10402 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10404 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10406 * tabular.[Ch] (getLabelList): implement new method
10408 * minibuffer.h: comment ouf setTiimer
10410 * minibuffer.C (ExecutingCB): constify res
10411 (peek_event): constify s
10412 (Set): constify ntext
10413 (Init): constify nicename
10415 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10417 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10418 (savePosition): use two params to Minibuffer::Set
10419 (restorePosition): ditto
10421 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10423 * lyx_main.C: include language.h
10425 * Makefile.am (lyx_main.o): add language.h
10427 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10433 * CutAndPaste.C: include gettext.h
10435 * lyxfont.h: remove old hack with ON and OFF.
10438 * lyxfont.h: do not include language.h...
10443 * bufferview_funcs.C:
10449 * paragraph.C: ... but do it here instead
10451 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10453 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10455 * tabular.C: small reformat
10457 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10460 (BreakParagraph): ditto
10461 (SetOnlyLayout): ditto
10464 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10467 * lastfiles.C: removed most using decl, add std:: where needed
10469 * buffer.C: ws changes
10471 * MenuBackend.C (class compare_format): put into anon namespace
10472 (expand): constify label, names, action, action2
10475 * text.C (SingleWidth): constify font
10476 (IsBoundary): constify rtl2
10477 (GetVisibleRow): constify ww
10479 * LaTeX.C (deplog): constify logfile
10481 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10483 (workAreaExpose): constify widthChange, heightChange
10485 * lyxrow.C (par): moved
10488 * lyxrow.h: as inlines here
10490 * lyxfont.h (shape): moved from lyxfont.C
10491 (emph): moved from lyxfont.C
10493 * lyxfont.C (LyXFont): use initialization list for all
10495 (shape): move to lyxfont.h as inline
10496 (emph): move to lyxfont.h as inline
10499 2001-04-04 Juergen Vigna <jug@sad.it>
10501 * vspace.C: had to include stdio.h for use of sscanf
10503 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10506 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10507 independent of xforms.
10509 2001-04-02 Juergen Vigna <jug@sad.it>
10511 * spellchecker.C: fixed namespace placing!
10513 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10515 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10516 the LyXParagraph * is 0.
10518 2001-03-29 Juergen Vigna <jug@sad.it>
10520 * vspace.C: added support for %, c%, p%, l%.
10521 (stringFromUnit): added helper function.
10522 (asLatexString): changed to give right results for the %-values.
10524 * buffer.C: convert the widthp in a width%.
10526 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10528 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10531 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10532 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10534 * lyx_cb.[Ch]: see above.
10536 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10540 * lyx.[Ch]: replaced by figure_form.[Ch].
10544 * lyxfunc.C: changed headers associated with above changes.
10546 2001-03-27 Juergen Vigna <jug@sad.it>
10548 * BufferView_pimpl.C: set the temporary cursor right!
10550 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10552 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10554 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10556 * LString.h: removed "using std::getline"!
10558 * BufferView_pimpl.C (Dispatch): changes due to changes in
10559 InsetInclude::Params.
10561 * buffer.C (tag_name): removed redundant break statements as they were
10562 producing lots of warnings with my compiler.
10564 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10566 * LString.h: add "using std::getline" when using the real <string>.
10568 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10570 * buffer.C: removed bitset usage.
10571 PAR_TAG moved to an anonymous name space.
10572 (tag_name): new funtion, also in the anonymous namespace.
10573 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10574 (makeDocBookFile): clean code. Completed transition from string arrays
10576 (SimpleDocBookOnePar): code clean.
10578 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10580 * tabular.C: add some comments.
10582 2001-03-22 Juergen Vigna <jug@sad.it>
10584 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10585 compatibility read a bit and fixed bug with minipage in different
10588 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10590 * buffer.C (pop_tag): removed.
10591 (push_tag): removed.
10592 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10593 array replaced with vector. Added support for CDATA sections.
10594 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10596 (makeDocBookFile): XML conformant declaration of CDATA section,
10597 fixed bug related to <emphasis> in the first paragraph char.
10598 (sgmlOpenTag): exclude empty tags.
10599 (sgmlCloseTag): ditto.
10601 * buffer.h (pop_tag): removed.
10602 (push_tag): removed.
10604 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10606 * language.h (Languages): added size_type and size().
10608 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10610 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10611 response on compability reading of minipages. One probliem is that
10612 the old usage of minipages was «flertydig»
10614 * several files here and in subdirs: don't use static at file
10615 scope use anon namespaces instead.
10617 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10619 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10620 LaTeX output. This is necessary for Literate document
10623 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10625 * buffer.C: insert hfill when needed.
10627 * tabular.C (l_getline): use string::erase, small whitespace change.
10629 * BufferView_pimpl.C: try the anon namespace.
10630 * WorkArea.C: ditto
10632 2001-03-16 Juergen Vigna <jug@sad.it>
10634 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10635 otherwise it won't open options-dialogs.
10637 * buffer.C: honor pextraWidth(p) on converting minipages.
10639 * tabular.C (l_getline): changed the functions to strip trailing \r.
10641 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10643 * BufferView_pimpl.C:
10644 * minibuffer..C: added "using SigC::slot" declaration.
10646 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10648 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10654 * paragraph.C: ditto
10656 * lyxtext.h: NO_PEXTRA
10658 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10660 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10661 * ParameterStruct.h: ditto
10662 * ParagraphParameters.h: ditto
10663 * lyxparagraph.h: ditto
10665 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10667 * buffer.C: add compability for minipage alignment.
10668 (latexParagraphs): remove unwanted pextra check.
10670 * several files: remove CXX_WORKING_NAMESPACES
10672 * buffer.C (pop_tag): tie is in namespace boost
10674 * BufferView.h: noncopyable is in namespace boost
10676 * lyx_main.h: ditto
10679 * lastfiles.h: ditto
10680 * bufferlist.h: ditto
10681 * ShareContainer.h: ditto
10683 * LyXAction.h: ditto
10686 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10688 * Merging changes from BRANCH_MVC back into HEAD.
10690 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10692 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10694 * BufferView_pimpl.C: change from intl.C
10698 * Makefile.am: move combox.*
10704 * intl.C: remove dialog (covered by prefs)
10706 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10708 * lyxfunc.C (Dispatch): removed redundant break statement.
10710 2001-03-14 Juergen Vigna <jug@sad.it>
10712 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10714 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10716 * buffer.C: add hack to fix compability reading of minipages.
10718 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10720 * buffer.C (getLists): Cleanup.
10722 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10724 * lyxfont.C (update): don't honor toggleall on font size.
10726 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10730 * Makefile.am: moved to frontends/xforms/
10734 * BufferView_pimpl.C: changes for moved mathpanel
10736 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10738 * gettext.h: fix gettext_init() in --disable-nls
10740 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10742 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10744 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10747 * lyx.h: strip external form
10749 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10751 * BufferView_pimpl.C: add comment, destroySplash()
10753 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10755 * BufferView_pimpl.C:
10759 * lyxfunc.C: use re-worked insetinclude
10761 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10763 * buffer.C: add using std::stringstream.
10765 * lyx_cb.C: readd using std::ios.
10767 * buffer.C: add using std::map.
10769 * BufferView_pimpl.C: add using std::vector.
10771 * ShareContainer.h: add std:: to swap.
10773 * buffer.h: add some typedefs
10774 * buffer.C (getLists): use them
10775 (getLists): renamed from getTocList.
10776 add a counter for the different float types and use it in the
10778 (getLists): use the same counter for the NEW_INSETS and the "non"
10781 * lyx_cb.h: remove unused items, includes, using etc.
10783 * ShareContainer.h: remove some commented code, add more comments
10784 and "documentation".
10786 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10788 * buffer.C (getTocList): make the list also when NEW_INSETS is
10791 * buffer.h: remove TocType
10793 * buffer.C (getTocList): change to return a map<string,
10794 vector<TocItem> >, implement for dynamic number of list.
10796 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10797 * text2.C (PasteSelection): adjust
10798 * CutAndPaste.C (pasteSelection): adjust
10800 * FloatList.C (FloatList): update from the new_insets branch.
10801 * Floating.[Ch]: ditto
10802 * LaTeXFeatures.C: ditto
10804 * lyxlex_pimpl.C: ditto
10806 * paragraph.C (Last): remove when NEW_INSETS is defined.
10808 * other file: changes because of the above.
10810 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10812 * lyxparagraph.h: rename next to next_, previous to previous_,
10813 make them private for NEW_INSETS. Rename Next() to next(),
10814 Previous() to previous().
10816 * other files: changes because of the above.
10818 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10821 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10824 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10826 * main.C (main): pass lyx_localedir to gettext_init().
10828 * gettext.h: remove locale_init and gettext_init macros
10830 * gettext.C (locale_init): new function
10831 (gettext_init): new function
10833 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10836 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10838 * Moved credits to frontends:
10839 * credits.[Ch]: removed
10840 * credits_form.[Ch]: removed
10841 * lyx_gui_misc.C: remove credits stuff
10844 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10846 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10848 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10849 unneeded destructor.
10851 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10852 a standalone pointer again.
10854 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10856 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10862 * ToolbarDefaults.C:
10871 * BufferView_pimpl.C: use new file dialog in GUII
10874 * lyx_cb.C: remove LayoutsCB to Toolbar
10876 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10878 * ShareContainer.h (get): add std:: qualifier
10880 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10882 * ShareContainer.h: define a proper ShareContainer::value_type
10883 type (and use typename to please compaq cxx)
10885 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10887 * lyxparagraph.h: move serveral local vars to
10888 ParameterStruct/ParagraphParameters., use ShareContainer in
10889 FontTable., make vars in FontTable private and add getter and
10892 * paragraph.C: changes because of the above.
10894 * lyxfont.h: remove copy constructor and copy assignment. (the
10895 default ones is ok), move number inside FontBits. move inlines to
10898 * lyxfont.C: add number to initializaton of statics, move several
10899 inlines here. constify several local vars. some whitespace
10900 cleanup. Dont hide outerscope variables.
10902 * Spacing.h: add two new constructors to match the set methods.
10904 * ShareContainer.h: new file, will perhaps be moved to support
10906 * ParameterStruct.h: new file
10908 * ParagraphParameters.h: new file
10910 * ParagraphParameters.C: new file
10912 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10913 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10915 * BufferView_pimpl.C: ParagraphParameter changes.
10916 * buffer.C: Likewise.
10917 * bufferview_funcs.C: Likewise.
10918 * text.C: Likewise.
10919 * text2.C: Likewise.
10921 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10923 * lyxfind.C (LyXReplace): do not redefine default argument in
10925 (IsStringInText): ditto
10926 (SearchForward): ditto
10927 (SearchBackward): ditto
10929 2001-03-06 Juergen Vigna <jug@sad.it>
10931 * lyxfind.C (IsStringInText): put parentes around expressions.
10933 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10935 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10937 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10939 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10941 * stl_string_fwd.h: add comment
10943 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10946 * tabular.C: remove unused DocBook methods
10952 killed DO_USE_DEFAULT_LANGUAGE
10954 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10956 * lyx_gui.C: do not include language.h.
10958 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10959 arguments in function implementation.
10961 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10963 * BufferView_pimpl.C: add <ctime>
10965 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10967 * BufferView_pimpl.C: add using std::find_if
10969 2001-02-27 José Matos <jamatos@fep.up.pt>
10971 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10974 2001-02-11 José Matos <jamatos@fep.up.pt>
10976 * buffer.C (makeDocBookFile): command styles now have a parameter as
10977 "title" by default.
10979 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10981 * layout_forms.[Ch]: removed
10982 * lyx_cb.[Ch]: out character
10983 * lyx_gui.C: out character
10984 * lyx_gui_misc.C: out character
10985 * bufferview_funcs.C: : out character,
10986 added toggleall as parameter in ToggleAndShow
10988 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10990 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10992 * text2.C (SetCurrentFont): Disable number property at boundary.
10994 2001-02-26 Juergen Vigna <jug@sad.it>
10996 * lyxfunc.C (getStatus): added a string argument override function so
10997 that this is correctly called from LyXFunc::Dispatch if it contains a
10998 do_not_use_argument which is used!
10999 (Dispatch): added check for "custom" export and call appropriate func.
11001 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11003 * lyxrc.C: Add language_command_local, language_use_babel and
11004 language_global_options.
11006 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11008 * buffer.C (makeLaTeXFile): Use language_use_babel and
11009 language_global_options.
11011 2001-02-23 Juergen Vigna <jug@sad.it>
11013 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11014 which works with LyXText and putted it inside BufferView. Here now we
11015 only call for that part the BufferView::Dispatch() function.
11017 * BufferView.C (Dispatch): added.
11019 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11020 functions which needs to use a LyXText over from LyXFunc.
11021 (MenuInsertLyXFile): added
11022 (getInsetByCode): added
11023 (moveCursorUpdate): added
11024 (static TEXT): added
11026 2001-02-22 Juergen Vigna <jug@sad.it>
11028 * BufferView_pimpl.C (update): call a status update to see if LyXText
11031 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11033 * vc-backend.C (revert): implement for CVS
11034 (getLog): implement for CVS
11036 2001-02-20 Juergen Vigna <jug@sad.it>
11038 * text2.C (ClearSelection): added BufferView param for inset_owner call
11040 * lyxfunc.C (TEXT): added this function and use it instead of
11041 directly owner->view()-text of getLyXText().
11043 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11045 * src/layout_forms.C: out preamble
11046 * src/layout_forms.h: out preamble
11047 * src/lyx_cb.C: out preamble
11048 * src/lyx_cb.h: out preamble
11049 * src/lyx_gui.C: out preamble
11050 * src/lyx_gui_misc.C: out preamble
11051 * src/lyxfunc.C: connect with guii preamble
11053 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11055 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11057 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11059 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11060 whether to run bibtex.
11062 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11064 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11066 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11068 * Makefile.am (lyx_SOURCES): removed bibforms.h
11070 * vspace.h: doxygen
11072 * text.C (GetVisibleRow): make several local vars const
11074 * tabular.C: small cleanup.
11076 * lyxserver.C (callback): use compare instead of strncmp
11078 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11079 inlines to after class or to paragraph.C
11081 * lyxfont.h: remove friend operator!=
11083 * converter.h: move friend bool operator< to non friend and after
11086 * combox.h: small cleanup
11088 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11089 to inlines after class def.
11091 * buffer.C (pop_tag): use string operations instead of strcmp
11093 * bmtable.c: doxygen, small cleanup
11095 * LaTeX.h: remove friend operator==
11097 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11109 * BufferView_pimpl.C:
11110 * BufferView.[Ch]: remove cruft
11112 2001-02-14 Juergen Vigna <jug@sad.it>
11114 * lyxfunc.C: removed #if 0 unused code
11116 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11118 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11120 * text2.C (SetSelection): added a BufferView * parameter
11122 2001-02-13 Juergen Vigna <jug@sad.it>
11124 * lyxfunc.C (Dispatch): fixed protected blank problem.
11125 * BufferView2.C (protectedBlank): added LyxText * parameter.
11127 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11128 (AppendColumn): same as above for column_info.
11130 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11131 (moveCursorUpdate): use a LyXText param for support of InsetText.
11133 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11134 (tripleClick): ditto
11136 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11138 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11140 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11142 * text2.C (SetSelection): set correct update status if inset_owner
11143 (ToggleFree): ditto
11145 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11147 * tabular.C: remove some commented code.
11149 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11151 * BufferView_pimpl.C: call hideSplash()
11153 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11156 * bibforms.h: remove
11159 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11160 add LFUN_CHILD_CREATE
11162 * counters.h: fix tiny typo
11167 * lyx.C: move splash to frontends/xforms/
11169 * lyx_gui_misc.C: move Include and Bibform to frontends
11171 * lyxvc.h: clarify comment
11173 * vspace.C: tiny housekeeping
11175 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11177 * text.C (PrepareToPrint): RTL Fix.
11179 * paragraph.C (GetUChar): New method.
11180 (String): Use GetUChar.
11182 * buffer.C (asciiParagraph): Use GetUChar.
11184 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11186 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11188 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11191 * buffer.C: rename to getLogName(), handle
11192 build log / latex log nicely
11194 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11197 * MenuBackend.h: remove support for reference menuitem type.
11199 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11201 * BufferView_pimpl.C: housekeeping
11202 * BufferView_pimpl.h:
11207 * minibuffer.h: move Timeout GUI-I
11209 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11211 * lyxrc.C (read): Update converters data-structures.
11213 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11215 * LaTeX.h (operator!=): add operator != for Aux_Info
11217 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11219 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11221 * LaTeXLog.C: deleted, useful code moved to Buffer
11224 * buffer.C: new function getLatexLogName()
11230 * lyxfunc.C: use frontends for LaTeX and VC logs
11232 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11234 * LaTeX.h: yet another std:: that Allan forgot.
11236 * Variables.C (set): renamed from isset(), because this clashes
11237 with some HP-UX macros (grr).
11239 2001-02-06 Allan Rae <rae@lyx.org>
11241 * LaTeX.h: Another bug fix. Missing std:: this time.
11243 2001-02-04 Allan Rae <rae@lyx.org>
11245 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11246 floats problem. I've left it commented out because it's not quite
11247 correct. It should also test that the current object is a table or
11248 figure inset. But I haven't gotten around to figuring out how to do
11249 that. I *think* it'll be something like: "table" == inset.type()
11251 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11254 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11256 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11257 all the citation/databases/styles in the auxilary file.
11258 (run): Rerun latex if there was a babel language error.
11260 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11262 * text.C (Backspace): Preserve the font when changing newline char
11264 (BreakParagraph): If the cursor is before a space, delete the space.
11266 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11268 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11270 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11271 new argument (code).
11272 (ChangeCitationsIfUnique): New method.
11274 * paragraph.C (GetPositionOfInset): Handle bibkey.
11276 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11278 * BufferView_pimpl.h: change type of Position::par_pos to
11279 LyXParagraph::size_type.
11281 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11283 * BufferView_pimpl.C (savePosition, restorePosition): Write
11284 messages to minibuffer.
11286 2001-01-28 José Matos <jamatos@fep.up.pt>
11288 * buffer.C (makeDocBookFile): adds support for document language.
11289 A silly restriction on the name of LatexCommand types where removed.
11290 Added support for CDATA sections, allows to chars unescaped, used
11291 among others in code, to avoid escape < and >.
11293 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11295 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11296 saved positions instrad of a stack. Furthermore, a position is
11297 stored using paragraph id/paragraph position.
11299 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11300 Remove LFUN_REF_BACK.
11302 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11304 * converter.C (dvipdfm_options): New method.
11306 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11308 * vspace.C (isValidLength): Fix for empty input string.
11310 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11312 * LyXAction.C (init): change description of LFUN_FIGURE to
11315 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11317 * LaTeX.C: add using directive
11319 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11321 * MenuBackend.C (expand): Fix the sorting of the formats.
11323 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11325 * lyx_main.C: tiny error message fix
11327 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11329 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11330 calling fl_initialize(). This fixes the problem with ',' as
11331 decimal separator in text files.
11333 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11335 * trans.C (process): Fix the keymap bug.
11337 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11339 * LaTeX.C (scanAuxFiles): New method. Provides support for
11340 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11341 (scanLogFile) Scan for "run BibTeX" messages.
11343 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11344 OT1 font encoding. Also, load the aecompl package if the ae
11347 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11349 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11351 * texrow.C (increasePos): turn two error messages into debug
11354 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11356 * LaTeX.C (scanAux): Handle the \@input macro.
11357 (runBibTeX): Use scanAux().
11359 * language.C (latex_options_): New field.
11361 * LaTeXFeatures.C (getMacros): Add language macros.
11363 * buffer.C (makeLaTeXFile): Small fix.
11365 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11367 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11369 * text2.C: add a using directive.
11371 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11376 * lyxfunc.C: kill LyXBell.
11378 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11380 * text.C (IsBoundary): Remove the error message
11382 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11384 * lyxrc.C (setDefaults): Correct initialization value for
11387 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11389 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11392 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11393 and GotoNextNote().
11395 * src/LyXAction.C: Added reference-next.
11397 * text.C (InsertChar): Use contains instead of strchr.
11399 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11401 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11403 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11404 alignment commands (when needed).
11406 * text.C (InsertChar): Add ':' to number separator chars.