1 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4 by not having a special case, and always doing a full rebreak of
5 the document after undo.
7 2003-07-23 Angus Leeming <leeming@lyx.org>
9 * factory.C (createInset): InsetExternal::setParams now takes a
12 2003-07-23 Angus Leeming <leeming@lyx.org>
14 * factory.C (createInset): changed interface to the external and
15 graphics mailers' string2params functions.
17 2003-07-23 Angus Leeming <leeming@lyx.org>
19 * factory.C (createInset): pass a
20 Buffer const * parameter to InsetExternalMailer's string2params.
22 2003-07-22 John Levon <levon@movementarian.org>
24 * Thesaurus.h: include the right aiksaurus header
26 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
28 * MenuBackend.C (expand): check menu shortcuts unconditionally
30 2003-07-21 Angus Leeming <leeming@lyx.org>
32 * factory.C (createInset): pass a
33 buffer_path parameter to InsetGraphicsMailer's string2params.
35 2003-07-21 Angus Leeming <leeming@lyx.org>
37 * BufferView_pimpl.C (buffer):
40 * lyxfunc.C (dispatch):
41 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
42 rather than the grfx shortcut.
44 2003-07-21 André Pönitz <poenitz@gmx.net>
46 * rowpainter.C: remove unused variables
49 * tabular_funcs.h: move to tabular.C
52 * tabular.[Ch]: basic optical cleaning
54 * author.h: pass references, not values
56 2003-07-18 André Pönitz <poenitz@gmx.net>
64 * text3.C: two-phase drawing for InsetText and InsetTabular
65 some float -> int changes.
67 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
69 * lyx_main.C: fix the fix
71 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
73 * lyx_main.C: fix a crash in batch mode if no files specified
76 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
78 * format.[Ch] (papersize): moved to BufferParams
79 * converter.[Ch] (dvips_options): moved to BufferParams
80 (dvipdfm_options): moved to anon namespace
81 * bufferparams.[Ch]: added above functions.
83 2003-07-17 André Pönitz <poenitz@gmx.net>
87 * text2.C: don't call inset->update() anymore
89 * metricsinfo.[Ch]: add convenience constructor
91 2003-07-16 André Pönitz <poenitz@gmx.net>
96 * text2.C: replace the LyXCursor::irow_ member with
97 on-demand computation of the value
99 2003-07-16 John Levon <levon@movementarian.org>
101 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
103 2003-07-15 André Pönitz <poenitz@gmx.net>
106 * text2.C: remove no more needed refresh_row
108 2003-07-15 André Pönitz <poenitz@gmx.net>
113 * text3.C: refresh_status tristate -> need_update bool
115 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
117 * lyxtext.h (init): remove reinit argument (act as if always true)
118 * text2.C: adjust to that
120 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
122 * bufferview_funcs.[Ch]: introduce function replaceSelection()
123 * text3.C: use it to delete selections in some cases
124 (bugs 441, 673, 702, 954).
126 2003-07-14 André Pönitz <poenitz@gmx.net>
128 * rowpainter.[Ch]: reduce interface
130 2003-07-14 André Pönitz <poenitz@gmx.net>
132 * BufferView_pimpl.C:
133 * text2.C: adjust after removing unused BufferView * argument
135 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
137 * text2.C (init): fix a crash fired on resize
139 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
141 * buffer.[Ch]: added new closing signal
142 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
143 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
144 BufferView::Pimpl via the closing the signal
146 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
148 * buffer.[Ch]: take out all bv-related from buffer
150 * BufferView_pimpl.[Ch]: connect to new signals
151 * CutAndPaste.C: removed useless asserts
152 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
155 * lyxfunc.C: moved view-related funciontality from vc here
156 * paragraph.C: removed outdated comments
159 2003-07-10 André Pönitz <poenitz@gmx.net>
161 * BufferView_pimpl.C:
165 * text2.C: remove InsetText::InnerCache, clean up consequences
167 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
169 * ispell.C: fix two typos in error messages
171 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
173 * Extend Note inset to other forms of annotation like Comment
174 and Greyedout. Right button click gives dialog.
176 Files modified or added (+):
182 * Makefile.am in frontends/xforms, frontends/xforms/forms,
183 frontends/controllers
187 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
189 * aspell.C: add missing namespace lyx::support
191 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
193 * BufferView.[Ch] (newFile): Add
194 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
195 * LaTeX.[Ch] (message): added this signal and use it
196 * buffer.[Ch] (busy, message): added these signals and use them
197 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
201 * importer.C: use buffer signals instead of direct bv calling
202 * lyx_cb.[Ch] (ShowMessage): removed
206 * text2.C: use buffer signals
208 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
210 * introduce namespace lyx::graphics
212 2003-07-02 André Pönitz <poenitz@gmx.net>
214 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
216 2003-07-01 André Pönitz <poenitz@gmx.net>
223 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
224 text*.C to text_func.C
226 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
228 * introduce namespace lyx::support
230 2003-06-30 André Pönitz <poenitz@gmx.net>
235 * text.C: re-enable --with-included-string
237 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
239 * textcursor.C: add <config.h>
241 * text.C (getWord): remove const from word_location arg
243 * lyxvc.C (getLogFile): fix const type order
245 * lyxtext.h: remove const from word_location arg, add arg name
247 * lyxlayout.h: currect type on labeltype.
249 * importer.C: correct \file
251 * converter.C (intToFormat): use std:: on ret val, ws changes
253 * bufferlist.h: correct \file
255 * buffer.C (makeLinuxDocFile): fix const type order
256 (makeDocBookFile): ditto
257 (fillWithBibKeys): use std:: on stdlib args.
259 * CutAndPaste.C: fix authors.
260 (availableSelections): use std:: on return vector
262 2003-06-27 André Pönitz <poenitz@gmx.net>
264 * BufferView_pimpl.C:
265 * bufferview_funcs.C:
273 * text3.C: remove LyXCursor::row_ member
276 * text.C: rename fullRebreak() to partialRebreak() and implement
277 a fullRebreak() that really bereks fully
279 * textcursor.h: new struct for cursor-related data
281 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
283 * lyx_main.C (LyX): get full path of document loaded on the
286 2003-06-26 André Pönitz <poenitz@gmx.net>
288 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
289 remove unused/broken operator>,<,>=.
291 * text.C: remove only use of broken operator<= in an Assert().
293 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
295 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
296 moved errorlist_.clear to showErrorList
298 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
300 * converter.C (scanLog, runLaTeX):
301 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
302 move the bv->showErrorList call to the callers
303 * lyxfunc.C: i.e. here...
305 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
306 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
307 namespace, the second to...
308 * buffer_funcs (BufferFormat, parseErrors): added
309 * errorlist.C (ErrorList(TeXErrors const &)): removed
311 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
313 * ToolbarBackend.C (getIcon): complain when icon cannot be found
315 2003-06-24 "Garst R. Reese" <reese@isn.net>
319 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
321 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
323 * version.C.in: change docversion to 1.4
325 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
327 * buffer.C: fix a bug just introduced
329 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
331 * buffer.[Ch]: added the parseError signal and use it, removed
333 * BufferView.[Ch] (addError): moved to ...
334 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
335 to the Buffer::parseError signal to catch (guess what) parse errors
336 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
338 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
340 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
341 ability to create a buffer and to return an existing one from
342 the list. Moved these functions to...
343 * buffer_funcs.[Ch]: added
344 * BufferView.[Ch] (loadLyXFile): added
345 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
346 job removed from bufferlist::loadLyXFile.
347 * buffer.C (setReadOnly): make it work without view
348 (i.e added an if (users))
350 2003-06-19 Angus Leeming <leeming@lyx.org>
353 * LyXAction.C (init):
354 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
355 with LFUN_DIALOG_SHOW <name> <data>.
357 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
359 * CutAndPaste.C (availableSelections): small compilation fix for
360 ancient (gcc 2.9x) compilers
362 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
364 * text3.C (cursorNext): add tmp var
366 * text2.C (updateCounters): for function calling out of for clause
367 (replaceSelectionWithString): ditto
368 (insertStringAsParagraphs): ditto
369 (getColumnNearX): add tmp var
370 (setCursorFromCoordinates): add tmp var
371 (cursorDownParagraph): add tmp var
372 (deleteEmptyParagraphMechanism): add tmp var
374 * text.C (insertChar): add tmp var
376 * rowpainter.C (paintDepthBar): add tmp var
378 * CutAndPaste.C (availableSelections): potentially check all
379 paragraphs in a cut to fill the shown strings.
381 2003-06-18 André Pönitz <poenitz@gmx.net>
383 * kbmap.[Ch]: use vector<> instead of list<>
385 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
387 * text3.C (dispatch): handle arg to LFUN_PASTE, call
388 pasteSelection with index
390 * text2.C (pasteSelection): modify, call pasteSelection with index
392 * paragraph.C (asString): reimplement version with no interval to
393 call the one with interval.
395 * lyxtext.h: add index arg to pasteSelection
397 * MenuBackend.C (MenuItem): handle PasteRecent
398 (Menu::read::Menutags): add md_pasterecent
400 (expandPasteRecent): new function
403 * MenuBackend.h: add PasteRecent to MenuItem::Kind
405 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
407 (availableSelections): new function
409 2003-06-17 Angus Leeming <leeming@lyx.org>
411 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
413 2003-06-17 Angus Leeming <leeming@lyx.org>
416 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
418 * lyxfunc.C (dispatch): invoke it.
420 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
422 * iterators.C (operator++, ParPosition): reintroduce some
423 const_cast for the benefit of older compilers.
425 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
427 * text3.C (dispatch): do not modify clipboard when doing
428 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
429 LFUN_DELETE_SKIP on a selection selection
431 2003-06-16 André Pönitz <poenitz@gmx.net>
437 * tabular.[Ch]: IU of clone() and getLabelList();
439 2003-06-13 André Pönitz <poenitz@gmx.net>
441 * tabular.h: compactification
443 2003-06-12 André Pönitz <poenitz@gmx.net>
447 * tabular_funcs.h: some renaming plus whitespace
449 2003-06-12 André Pönitz <poenitz@gmx.net>
452 * BufferView_pimpl.C:
458 * toc.C: Return a Paragraph & for ParIterator::operator*()
460 2003-06-11 John Levon <levon@movementarian.org>
464 * ToolbarBackend.C: add "Toolbars" section and
467 2003-06-10 Angus Leeming <leeming@lyx.org>
470 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
472 * lyxfunc.C (dispatch): invoke it.
474 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
476 * main.C: protect <ios> with HAVE_IOS
477 (main): protect sync_with_stdio with HAVE_IOS
479 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
481 * text2.C (cutSelection): adjust
482 (pasteSelection): adjust
484 * messages.C: handle get of empty string
486 * main.C (main): use sync_with_stdio(false)
488 * lyxfunc.C (dispatch): adjust
490 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
491 (WriteAs): remove unneeded BufferView arg.
493 * bufferparams.h: use correct types on papersize, papersize2 and
496 * bufferparams.C (readToken): adjust for type
497 (writeLaTeX): add missing cases to switch.
499 * bufferlist.C (quitWriteBuffer): adjust
502 * buffer.C (asciiParagraph): remove some commented code.
504 * CutAndPaste.C: remove current_view extern variable.
505 (cutSelection): add BufferParams arg.
506 (eraseSelection): add BufferParams arg.
507 (pasteSelection): add Buffer const & arg
509 2003-06-07 John Levon <levon@movementarian.org>
517 * paragraph.C: allow InsetERT to freely space lines,
518 and some consolidation of code
520 2003-06-06 José Matos <jamatos@fep.up.pt>
522 * buffer.C (makeDocBookFile): fix bug #821
524 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
526 * BufferView_pimpl.C (dispatch): use Dialogs::visible
528 2003-06-04 Angus Leeming <leeming@lyx.org>
530 * buffer.C: bump format to 224.
532 2003-06-05 André Pönitz <poenitz@gmx.net>
534 * text2.C (redoParagraphs): remove two const_cast<>
536 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
538 * ParagraphList.h: remove last remnants of NO_STD_LIST
540 2003-06-03 Angus Leeming <leeming@lyx.org>
542 * factory.C (createInset): small change to the way InsetExternal's params
545 2003-06-04 André Pönitz <poenitz@gmx.net>
547 * buffer.h: use Undo directly instead of shared_ptr<Undo>
550 * paragraph.[Ch]: some Inset -> UpdatableInset changes
552 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
554 * undo_funcs.C: make some simple cases of undo work again
556 2003-06-03 John Levon <levon@movementarian.org>
558 * ispell.C: HPUX doesn't have sys/select.h
561 2003-06-03 John Levon <levon@movementarian.org>
563 * CutAndPaste.C: update tabular and include inset
568 * paragraph.C: remove owningBuffer(), don't pass Buffer
571 * factory.C: insetGraphicsParams changed
573 2003-06-02 John Levon <levon@movementarian.org>
579 * text3.C: remove insetparent
581 2003-06-02 John Levon <levon@movementarian.org>
584 * buffer.C: fix inset_iterator.end(), move out of line
587 2003-06-01 John Levon <levon@movementarian.org>
589 * text3.C: use a proper cut/paste when doing inset
590 insert (from Jürgen Spitzmüller)
592 2003-06-01 John Levon <levon@movementarian.org>
594 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
596 2003-05-30 André Pönitz <poenitz@gmx.net>
598 * rowpainter.C: unify second drawing phase
600 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
602 * trans_mgr.C: remove one case of current_view
604 * text2.C (cursorBottom): delete NO_STD_LIST stuff
606 * paragraph_funcs.h: remove paragraph.h include
608 * paragraph.h: delete NO_STD_LIST stuff
610 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
612 * buffer.h: remove paragraph.h include
614 * ParagraphList.C: delete file
616 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
618 * toc.C (getTocList): adjust
620 * paragraph_pimpl.C (validate): adjust
622 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
624 * paragraph.C (Paragraph): adjust
625 (getPositionOfInset): use const_iterator, adjust
626 (bibitem): use const_iterator, adjust
627 (setInsetOwner): adjust
629 * iterators.C (operator++): adjust
631 * InsetList.[Ch]: Replace selfmade iterator with standard
632 vector::iterator also introduce const_iterator. Remove getPos,
633 getInset and setInset from InsetTable. Adjust accordingly.
635 * BufferView.C (lockInset): adjust
636 (ChangeInsets): adjust
638 * tabular.[Ch]: delete commented same_id functions
640 2003-05-28 John Levon <levon@movementarian.org>
642 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
644 2003-05-28 André Pönitz <poenitz@gmx.net>
646 * metricsinfo.[Ch]: remove 'fullredraw' member
648 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
650 * lyxtextclass.C (operator): remove caching.
652 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
656 * text2.C (cursorBottom): adjust
657 (setCounter): use ParagraphList::find, adjust
659 * text.C (workWidth): use ParagraphList::find, adjust
661 * lyxcursor.C (LyXCursor): adjust
663 * buffer.C (inset_iterator): adjust
665 * ParagraphList.h: make iterator(value_type) private, make
666 ParagraphList a friend of iterator.
668 * ParagraphList.C (find): new function
670 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
672 2003-05-27 André Pönitz <poenitz@gmx.net>
674 * dimension.[Ch]: a -> asc, d -> des, w -> wid
676 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
678 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
680 2003-05-26 John Levon <levon@movementarian.org>
682 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
684 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
686 * remove same_id from function signatures, adjust.
688 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
690 * undo_funcs.C (createUndo): use the id functions directly, adjust.
692 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
694 * paragraph.C (Paragraph): get rid of same_ids parameter
696 * ParagraphList.C (insert): adjust
699 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
701 * paragraph_funcs.C (breakParagraph): adjust
702 (breakParagraphConservative): adjust
704 * buffer.C (readParagraph): adjust
706 * ParagraphList.C (insert): take a reference instead of a pointer
709 * paragraph.[Ch] (id): new function
711 * bufferlist.C (newFile): adjust
713 * ParagraphList.C (ParagraphList): adjust
715 (push_back): take a reference instead of a pointer.
717 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
719 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
722 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
723 set else use old code.
725 * ParagraphList.C: remove all NO_NEXT code and only compile this
726 code of NO_STD_LIST is set.
728 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
730 * BufferView_pimpl.C:
740 * graphics/GraphicsConverter.C:
741 * graphics/PreviewLoader.C: header adjustment
743 2003-05-23 Angus Leeming <leeming@lyx.org>
745 * LaTeXFeatures.[Ch] (useBabel): new method.
746 * bufferparams.C (writeLaTeX): use it.
748 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
750 * ParagraphList.h (set): remove unused function.
752 2003-05-23 André Pönitz <poenitz@gmx.net>
755 * BufferView_pimpl.C:
759 * undo_funcs.C: setUndo reworked
761 * iterators.[Ch]: add access to topmost ParagraphList
763 * lyxtext.[Ch] (workWidth): add a const
765 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
767 * texrow.[Ch] (increasePos): remove function
768 * exporter.C (export): removed unused var and outdated comment
770 2003-05-23 Angus Leeming <leeming@lyx.org>
772 * latexrunparams.h: rename fragile as moving_arg.
773 * paragraph.C (simpleTeXOnePar): ditto.
774 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
776 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
778 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
780 (textUndoOrRedo): comment out a currently unused var.
782 * paragraph.h (NO_NEXT): enable NO_NEXT
784 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
786 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
788 * exporter.C (Export): adjust for removeAutoInsets removal.
790 * buffer.C (runChktex): adjust for removeAutoInsets removal.
792 * LyXAction.C (init): remove LFUN_REMOVEERRORS
794 * BufferView.[Ch] (removeAutoInsets): delete function
796 2003-05-22 Angus Leeming <leeming@lyx.org>
798 * latexrunparams.h: add a free_spacing variable.
800 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
801 to pass moving_arg, as the data is stored in runparams.fragile.
803 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
804 to Inset::latexOptional or to simpleTeXOnePar.
806 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
807 free_spacing arg to Inset::latexOptional.
809 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
812 2003-05-22 Angus Leeming <leeming@lyx.org>
814 * latexrunparams.h: add fragile and use_babel variables.
816 * bufferparams.[Ch] (writeLaTeX): return use_babel.
817 * buffer.C (makeLaTeXFile): store this returned value in
818 runparams.use_babel, thus passing it to the inset::latex methods.
820 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
821 simpleTeXSpecialChars as it is now stored in runparams.fragile.
823 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
824 longer has a fragile arg, as it is stored in runparams.fragile.
826 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
827 moving_arg parameter as the data is stored in runparams.fragile.
829 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
830 a fragile parameter as the data is stored in runparams.fragile.
832 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
834 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
836 2003-05-22 Angus Leeming <leeming@lyx.org>
838 * latexrunparams.h: add a 'bool nice' which defaults to false.
840 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
841 now encapsulated within runparams.
843 * bufferlist.C (updateIncludedTeXfiles):
844 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
846 2003-05-22 Angus Leeming <leeming@lyx.org>
848 * latexrunparams.h: new file containing struct LatexRunParams.
849 * Makefile.am: add new file.
851 * LaTeX.[Ch] (c-tor, run):
852 * buffer.[Ch] (makeLaTeXFile):
853 * bufferlist.[Ch] (updateIncludedTeXfiles):
854 * converter.C (convert, scanLog):
855 * converter.[Ch] (runLaTeX):
856 * exporter.C (Export):
857 * paragraph.[Ch] (simpleTeXOnePar):
858 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
859 * paragraph_funcs.[Ch] (latexParagraphs):
860 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
861 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
862 pass around a LatexRunParams parameter.
864 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
866 * paragraph.[Ch]: remove unused constructor
868 * ParagraphList.C (erase): new function, taking two iterators
870 2003-05-22 André Pönitz <poenitz@gmx.net>
872 * undo_funcs.C: remove duplicated code
874 * iterator.[Ch]: operator=
876 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
878 * tabular.C (SetMultiColumn): ws changes
880 * rowpainter.C (paintFirst): get rid of a ->previous
882 * lyx_cb.C (getPossibleLabel): parlist simplification
884 * BufferView.C (ChangeInsets): simplify slightly.
886 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
888 * LyXAction.C: new lfun space-insert, kill protected-space-insert
889 * lfuns.h: new LFUN_SPACE
890 * lyxfunc.C: protected space has a new lfun
891 * paragraph_funcs.C: read new space insets
893 * factory.C: handle new space insets
895 2003-05-22 André Pönitz <poenitz@gmx.net>
898 * BufferView_pimpl.C:
901 * undo_funcs.C: return a ParIterator from getParFromID.
903 * iterators.[Ch]: add two const's
905 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
907 * toc.C (getTocList): adjust
909 * iterators.[Ch]: rework for parlist
911 * buffer.C (par_iterator_begin): adjust
912 (par_iterator_end): adjust
914 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
916 * BufferView.C (removeAutoInsets): adjust
917 (ChangeInsets): adjust
919 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
921 * text.C (top_y): fix bug 1110
923 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
925 * errorlist.[Ch]: added
928 * BufferView_pimpl.C:
929 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
932 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
934 * Makefile.am: ensure that lyx is relinked upon changes to the
935 various "convenience" libs.
937 2003-05-20 Angus Leeming <leeming@lyx.org>
939 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
940 files are compiled in alphabetical order again.
942 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
944 2003-05-19 Angus Leeming <leeming@lyx.org>
946 * gettext.[Ch]: remove "char const * _(char const *)".
948 2003-05-19 André Pönitz <poenitz@gmx.net>
950 * dimension.[Ch]: promote from mathed/dimension.[Ch]
959 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
961 2003-05-19 André Pönitz <poenitz@gmx.net>
967 * paragraph_funcs.[Ch]:
969 * text3.C: more insetenv work
971 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
973 * ParagraphParameters.C (params2string): small bug fixed
975 2003-05-16 André Pönitz <poenitz@gmx.net>
978 * bufferview_funcs.C: patch from Kornel Benko to prevent
979 crash when _(...) is called twice in a statement
981 2003-05-16 André Pönitz <poenitz@gmx.net>
988 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
990 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
992 * lyx_main.C (init): remove spurious static_cast
994 2003-05-14 André Pönitz <poenitz@gmx.net>
996 * BufferView.C: fix format string
998 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1000 * BufferView.[Ch] (insertErrors): removed
1001 * BufferView.[Ch] (showErrorList): added
1002 * buffer.C (runChkTeX):
1003 * converter.C (scanLog): call showErrorList instead of inserterrors
1005 2003-05-13 André Pönitz <poenitz@gmx.net>
1007 * BufferView_pimpl.C:
1009 * bufferview_func.C:
1016 * tabular_funcs.h: tostr() from its own header
1018 * ParagraphParameters.C:
1023 * text3.C: STRCONV()
1025 2003-05-12 André Pönitz <poenitz@gmx.net>
1028 * BufferView_pimpl.C:
1032 * ParagraphParameters.C:
1036 * bufferview_funcs.C:
1049 * paragraph_funcs.C:
1053 * text3.C: boost::format -> bformat all over the place
1056 2003-05-09 André Pönitz <poenitz@gmx.net>
1058 * LColor.[Ch]: Pimpl the #include <map> away
1060 2003-05-09 John Levon <levon@movementarian.org>
1062 * bufferlist.C: never remove emergency saves
1064 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1066 * Makefile.am: better lib building
1068 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1070 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1072 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1073 (simpleTeXSpecialChars): adjust
1074 (simpleTeXSpecialChars): adjust
1075 * paragraph.C (simpleTeXOnePar): adjust
1076 * buffer.C (makeLaTeXFile): adjust
1078 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1080 * text2.C (changeDepth): parlist cleanup
1081 (getColumnNearX): ditto
1083 * rowpainter.C (getLabelFont): parlist cleanup
1085 * bufferlist.C (newFile): parlist cleanup
1087 * CutAndPaste.C (eraseSelection): parlist cleanup
1089 * BufferView_pimpl.C (trackChanges): parlist cleanup
1092 * BufferView.C (lockInset): parlist cleanup.
1093 (ChangeInsets): ditto
1095 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1097 * CutAndPaste.h: Update file header.
1099 * CutAndPaste.C: Update file header.
1100 Store the parts cut out of the Document in a limited_stack.
1101 (copySelection): adjust
1102 (pasteSelection): new function, takes the index in the limited stack.
1103 (nrOfParagraphs): adjust
1104 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1105 simplify error inset insertion.
1106 (checkPastePossible): adjust
1108 2003-05-06 John Levon <levon@movementarian.org>
1110 * text2.C: don't cast wrap inset to float
1112 2003-05-05 André Pönitz <poenitz@gmx.net>
1115 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1117 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1118 few naked Paragraph *.
1120 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1122 * bufferparams.C: Output warning if a document with missing
1123 TeX document class is loaded
1124 * exporter.C: Disable TeX exports if the document class is missing
1127 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1128 isTeXClassAvailable()
1130 2003-05-03 John Levon <levon@movementarian.org>
1133 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1134 explicit cursor show/hide
1136 * BufferView_pimpl.h:
1137 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1138 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1140 * lyxfunc.C: hide cursor before dispatching.
1145 * text3.C: remove explicit cursor hides
1147 2003-05-02 André Pönitz <poenitz@gmx.net>
1149 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1152 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1155 * text2.C: tiny whitespace
1157 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1159 * undo_funcs.C: almost only ws changes.
1161 * ParagraphList.C (splice): just return if pl is empty.
1163 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1165 * ParagraphList.C (splice): new function.
1167 * CutAndPaste.C (pasteSelection): use it
1169 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1171 * CutAndPaste.C (pasteSelection): remove the last next and
1172 previous from this file.
1174 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1176 * CutAndPaste.C (pasteSelection): more clean up, user proper
1177 ParagraphList functions for pasteing.
1179 * ParagraphList.C (insert): new function, three arg insert
1181 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1183 * ParagraphList.C (insert): new function, three arg insert
1185 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1188 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1190 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1192 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1194 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1196 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1198 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1199 (copySelection): clean up a bit.
1200 (pasteSelection): use make_pair
1202 * ParagraphList.C (ParagraphList): implement copy constructor
1203 (operator=): implement, base on copy constructor.
1206 * paragraph.C (erase): return a bool
1208 * paragraph_pimpl.C (erasePos): remove function, move contents...
1209 (erase): ... here. Return a bool.
1210 (erase): call erase instead of erasePos.
1212 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1214 * ParagraphList.h: define PitPosPair
1215 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1216 ParagraphList, fix a bug on pasting multiple pars
1217 * text2.C: change interface to C&P
1219 2003-04-30 André Pönitz <poenitz@gmx.net>
1221 * undo_func.C: revert part of yesterday's patch 2
1223 2003-04-30 John Levon <levon@movementarian.org>
1225 * LColor.C: s/tabular/table/
1227 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1229 * text3.C (dispatch): do not convert iterator -> pointer
1230 * undo_funcs.C (setCursorParUndo): ditto
1231 * text_funcs.C (transposeChars): ditto
1233 * text2.C (setLayout): ws changes only
1235 * text.C (breakParagraph): do not convert iterator -> pointer
1237 (acceptChange): ditto
1238 (rejectChange): ditto
1243 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1246 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1248 * text3.C (gotoInset): YABG (yet another bad getChar)
1250 2003-04-29 André Pönitz <poenitz@gmx.net>
1252 * paragraph.h: make operator= private unimplemented as long as
1255 * ParagraphList.C: whitespace
1258 * paragraph_pimpl.[Ch]:
1259 * paragraph_funcs.C:
1261 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1264 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1266 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1268 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1269 * paragraph.[Ch] (erase):
1270 * paragraph_pimpl.[Ch] (erase): change return type and value
1271 * text2.C (cutSelection): some rework
1273 2003-04-28 John Levon <levon@movementarian.org>
1275 * bufferlist.C: changes for unsaved changes dialog
1277 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1279 * bufferlist.C (newFile): set language (messages_) for new
1282 * buffer.C (readFile): ws changes only.
1284 2003-04-28 André Pönitz <poenitz@gmx.net>
1289 * BufferView_pimpl.C:
1290 * BufferView.C: getParFromID related ParagraphList::iterator changes
1292 2003-04-28 André Pönitz <poenitz@gmx.net>
1294 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1297 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1299 * messages.C: remove one more localedir class variable.
1301 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1303 * messages.C (getLocaleDir): singleton generation function
1305 (Messages): add a default constructor.
1307 * main.C (main): do not setup localedir here, do not call
1310 * gettext.C (_): use it.
1311 (gettext_init): delete funciton
1313 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1315 * gettext.C (getLyXMessages): new singleton generating function.
1317 * buffer.C (updateDocLang): adjust
1319 * Makefile.am (messages.o): add target
1320 (main.o): remove target
1322 2003-04-27 John Levon <levon@movementarian.org>
1327 * lyxvc.C: specify cancel button in Alert::prompt
1329 2003-04-26 John Levon <levon@movementarian.org>
1334 * LyXAction.C: add LFUN_INSET_SETTINGS
1336 * lyxfunc.C: don't enable tabular-feature when there's
1337 just any locking inset
1339 2003-04-26 John Levon <levon@movementarian.org>
1341 * bufferlist.C: re-add Cancel to buffer close question
1343 * lyxfunc.C: fix import UI a bit
1345 2003-04-25 John Levon <levon@movementarian.org>
1347 * gettext.C: remove the broken asserts for now
1349 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1351 * messages.C: make case where setlocale cannot comply work better.
1353 * buffer.C (updateDocLang): new function
1354 (changeLanguage): use it
1357 * text2.C (setCounter): use B_ a bit.
1359 * lyxlayout.C (Read): be sure to trim the label strings.
1361 * messages.C (Messages): fix typo in comment
1363 * buffer.C (readFile): set message_ after file is loaded.
1364 (makeDocBookFile): remove double return
1365 (changeLanguage): reset message_ upon language change.
1366 (B_): new func, use this to get translated buffer strings.
1368 * main.C: add myself and Jean Marc as authors.
1370 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1372 * messages.[hC]: pimplify Messages, and three different pimpls to be
1373 used in different circumstances.
1375 * gettext.[Ch]: change for use with new message code.
1377 2003-04-24 André Pönitz <poenitz@gmx.net>
1379 * factory.C: support for eqref
1381 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1383 * messages.[Ch]: add missing char
1385 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1387 * messages.[Ch]: New files
1389 2003-04-18 John Levon <levon@movementarian.org>
1393 * BufferView_pimpl.C:
1397 * text2.C: remove layout-copy/paste (bug 778)
1399 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1401 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1403 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1405 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1406 if they succeed. Act accordingly.
1408 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1410 * text2.C (setCharFont): adjust
1411 (setCounter): adjust
1412 (insertStringAsLines): adjust
1414 * text.C (leftMargin): adjust
1415 (setHeightOfRow): adjust
1417 * rowpainter.C (paintFirst): adjust
1420 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1422 (isFirstInSequence): ditto
1423 (getEndLabel): ditto
1426 * paragraph.C (getParLanguage): comment out some hard stuff.
1428 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1430 (simpleDocBookOnePar): ditto
1431 (makeDocBookFile): use ParagraphList::iterator
1433 * CutAndPaste.C (pasteSelection): adjust
1435 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1437 * text2.C (getFont): adjust
1438 (getLayoutFont): adjust
1439 (getLabelFont): adjust
1441 * paragraph_funcs.C (TeXOnePar): adjust
1443 * buffer.C (simpleLinuxDocOnePar): adjust
1444 (simpleDocBookOnePar): adjust
1446 * CutAndPaste.C (pasteSelection): adjust
1448 * BufferView.C (getEncoding): adjust
1450 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1452 2003-04-16 John Levon <levon@movementarian.org>
1454 * lyxfind.C: use parlist stuff for search/changes
1456 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1458 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1460 * text2.C (deleteEmptyParagraphMechanism): adjust
1462 * text2.[Ch] (ownerParagraph): delete func (both of them
1464 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1466 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1468 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1470 * ParagraphList.C: prepare for NO_NEXT
1472 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1474 * text2.C (getFont): adjust
1475 (getLayoutFont): adjust
1476 (getLabelFont): adjust
1478 * paragraph.C (getFont): adjust
1479 (getLabelFont): adjust
1480 (getLayoutFont): adjust
1482 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1484 2003-04-15 John Levon <levon@movementarian.org>
1488 * lyx_main.C: handle Include in .ui files
1490 2003-04-15 John Levon <levon@movementarian.org>
1492 * MenuBackend.C: make the doc files length shorter
1495 * ToolbarBackend.C: handle toolbar placement flags,
1498 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1500 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1503 * paragraph_funcs.C (TeXOnePar): adjust
1505 * paragraph.C (getLabelFont): add outerfont arg, adjust
1506 (getLayoutFont): ditto
1507 (simpleTeXOnePar): adjust
1509 * paragraph_pimpl.C (realizeFont): delete func
1511 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1513 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1514 row argument, constify cur argument.
1516 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1518 * text2.C (getFont): adjust
1519 (getLayoutFont): adjust
1520 (getLabelFont): adjust
1522 * paragraph_funcs.C (TeXOnePar): adjust
1523 (outerFont): new func...
1524 (realizeFont): ...moved out from here, changed this to facilitate
1527 * paragraph.C (getFont): take outerfont as arg, adjust
1528 (simpleTeXOnePar): add outerfont arg, adjust
1530 * buffer.C (simpleLinuxDocOnePar): adjust
1531 (simpleDocBookOnePar): adjust
1533 * CutAndPaste.C (pasteSelection): adjust
1535 * BufferView.C (getEncoding): adjust
1537 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1539 * text2.C (setCharFont): adjust
1540 (setCounter): adjust
1542 * text.C (leftMargin): adjust
1543 (setHeightOfRow): adjust
1545 * rowpainter.C (paintFirst): adjust
1548 * paragraph_pimpl.C (realizeFont): adjust
1550 * paragraph.C (isFirstInSequence): move from here...
1551 * paragraph_funcs.C (isFirstInSequence): ...to here
1553 * paragraph.C (outerHook): move from here...
1554 * paragraph_funcs.C (outerHook): ...to here
1556 * paragraph.C (depthHook): move from here...
1557 * paragraph_funcs.C (depthHook): ...to here
1559 * paragraph.C (getEndLabel): move from here...
1560 * paragraph_funcs.C (getEndLabel): ...to here
1562 * text2.C (realizeFont): move from here...
1563 * paragraph_funcs.C (realizeFont): ...to here
1565 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1567 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1569 2003-04-14 Angus Leeming <leeming@lyx.org>
1571 * LColor.[Ch]: scrap LColor mathcursor.
1573 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1575 * lyxlex.[Ch] (text): delete function
1576 * trans.C (Load): adjust
1577 * paragraph_funcs.C (readParToken): adjust
1579 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1581 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1582 vector<char> instead of a char[].
1584 * lyxlex_pimpl.C (getString): adjust
1586 (lex): use getString
1590 * lyxlex.C (text): use pimpl_->getString()
1594 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1596 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1597 (makeFontEntriesLayoutSpecific): temp var for par.size()
1598 (setLayout): temp var for ownerParagraphs().end()
1599 (fullRebreak): temp var for rows().end()
1600 (selectionAsString): temp var for boost::next(startpit), realize
1601 that the while really is a regular for loop.
1602 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1603 setCursor in one place.
1604 (setParagraph): temp vr for ownerParagraphs().end()
1605 (updateCounters): make the while loop a for loop
1606 (cutSelection): temp var for ownerParagraphs().end()
1607 (updateInset): make the do {} while() a regular for loop
1608 (getCursorX): use temp vars
1609 (setCurrentFont): use temp vars
1610 (getColumnNearX): use temp vars
1612 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1614 * text.C (transformChar): use temp var for getChar
1615 (computeBidiTables): use temp var for row->par()
1616 (fill): move temp vars for row->par() and pit->layout() earlier in
1618 (labelFill): use temp var for row->par()
1619 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1620 asc and desc, realize that pit never changes and that firstpit is
1621 just a duplicate and not needed. Exchange rit->par() with pit in a
1623 (breakAgain): use a temp var for boost::next(rit)
1624 (breakAgainOneRow): ditto
1625 (breakParagraph): use a temp var for rows().begin()
1626 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1627 (cursorRightOneWord): use temp var for cursor.par() and
1628 cursor.pos(), remove usage of tmpcursor.
1629 (cursorLeftOneWord): use temp var for cursor.par() and
1630 cursor.pos() only set cur at end of function.
1632 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1634 * text.C, text2.C: exchange all usage of Paragraph::next with
1635 boost::next(ParagraphList::iterator)
1637 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1639 * text2.C (cursorTop): simplify implementation
1640 (cursorBottom): ditto
1641 (setParagraph): use ParagraphList::iterator
1642 (setCurrentFont): adjust
1643 (getColumnNearX): adjust
1644 (cursorRight): adjust
1645 (cursorLeft): remove usage of Paragraph::previous
1646 (cursorUpParagraph): ditto
1647 (deleteEmptyParagraphMechanism): slight cleanup
1649 * text.C (isBoundary): take a Paragraph const & instead of a
1651 (addressBreakPoint): ditto
1652 (leftMargin): remove usage of Paragraph::previous.
1653 (setHeightOfRow): ditto
1654 (cursorLeftOneWord): ditto
1655 (selectNextWordToSpellcheck): ditto
1658 (breakParagraph): remove one usage of Paragraph::next
1659 (redoParagraph): ditto
1660 (acceptChange): ditto
1661 (insertChar): adjust
1662 (rowBreakPoint): adjust
1664 * bufferview_funcs.C (toggleAndShow): adjust
1666 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1668 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1669 methods to access it.
1671 * text.C: Added updateRowPositions to compute all row positions.
1672 Make top_y and getRowNearY() to use the cached y position
1674 2003-04-11 John Levon <levon@movementarian.org>
1676 * text.C (rowBreakPoint): reintroduce the labelEnd
1677 checks, code copied from the row fill stuff. Deep voodoo.
1679 * text.C (fill): add a comment and debugging for the
1682 2003-04-11 John Levon <levon@movementarian.org>
1684 * text.C: make sure fullrow insets get wrapped to the next line,
1685 even when they're in a manual label
1687 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1689 * text2.C (insertParagraph): make it take ParagraphList::iterator
1691 (setLayout): make it return ParagraphList::iterator
1692 (redoParagraphs): ditto
1694 (checkParagraph): ditto
1696 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1698 * text2.C: adjust several funcs.
1699 (realizeFont): take a ParagraphList::iterator as arg.
1700 (getLayoutFont): ditto
1701 (getLabelFont): ditto
1702 (setCharFont): ditto
1704 * text.C: adjust several funcs.
1706 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1708 * text.C (selectNextWordToSpellcheck): don't accidentally
1711 2003-04-10 John Levon <levon@movementarian.org>
1713 * ToolbarBackend.C (getIcon): special handling for
1716 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1718 * text2.C (cursorRight): a getChar assert fixed
1720 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1722 * text2.C (getFont): change to take a ParagraphList::iterator
1723 instead of Paragraph*
1724 Adjust several functions.
1726 * text.C (transformChar): change to take a ParagraphList::iterator
1727 instead of Paragraph*
1728 (singleWidth): ditto
1729 Adjust several functions.
1731 * rowpainter.C: adjust several functions
1732 * rowpainter.h:store a ParagraphList::iterator and not a
1736 2003-04-09 John Levon <levon@movementarian.org>
1741 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1742 and the "help" bits as well
1744 2003-04-09 John Levon <levon@movementarian.org>
1747 * ToolbarBackend.C: allow multiple toolbars
1749 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1751 * undo_funcs.C (setCursorParUndo): adjust
1753 * text_funcs.C (transposeChars): adjust
1755 * text3.C (gotoNextInset): adjust
1758 * text2.C (setLayout): adjust
1759 (changeDepth): adjust
1761 (redoParagraphs): adjust
1762 (selectionAsString): adjust
1763 (setParagraph): adjust
1764 (insertInset): adjust
1765 (cutSelection): adjust
1766 (copySelection): adjust
1767 (pasteSelection): adjust
1768 (insertStringAsLines): adjust
1769 (updateInset): adjust
1770 (setCursor): change to take a ParagraphList::iterator parameter
1771 (setCursorIntern): change to take a ParagraphList::iterator parameter
1772 (setCurrentFont): adjust
1773 (cursorLeft): adjust
1774 (cursorRight): adjust
1775 (deleteEmptyParagraphMechanism): adjust
1777 * text.C (breakParagraph): adjust
1778 (insertChar): adjust
1779 (acceptChange): adjust
1780 (rejectChange): adjust
1781 (selectNextWordToSpellcheck): adjust
1782 (changeCase): adjust
1786 * lyxfind.C (SearchForward): adjust
1787 (SearchBackward): adjust
1788 (nextChange): adjust
1790 * lyxcursor.C (par): adjust
1792 * lyxcursor.h: store a ParagraphList::iterator instead of a
1795 * lyx_cb.C (getPossibleLabel): adjust
1797 * bufferview_funcs.C (toggleAndShow): adjust
1799 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1802 * BufferView.C (removeAutoInsets): adjust
1803 (lockedInsetStoreUndo): adjust
1805 2003-04-09 John Levon <levon@movementarian.org>
1807 * ToolbarBackend.C: try icon without argument
1808 if with argument fails
1810 2003-04-08 John Levon <levon@movementarian.org>
1813 * ToolbarBackend.C: add getIcon(), handle tooltip,
1814 and change from "Icon" to "Item".
1816 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1818 * BufferView.C (lockInset): another bad getchar crunched
1820 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1822 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1825 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1827 * lyxfind.C (searchForward, searchBackwards): bug 782
1829 2003-04-07 John Levon <levon@movementarian.org>
1831 * paragraph.C: remove dead comment
1833 * text.C: remove troublesome depth-fiddling code
1834 in leftMargin() and rightMargin() (bug 1017)
1836 * text.C: fix breaking of rows in nested lists
1839 * text2.C (updateCounters): fix up depth values
1842 2003-04-07 John Levon <levon@movementarian.org>
1844 * BufferView_pimpl.C: clear message when doc finishes resizing,
1845 and after a mouse event
1847 * lyxfunc.C: clear message after exiting inset
1849 2003-04-07 John Levon <levon@movementarian.org>
1851 * bufferview_funcs.C: show math status not outside
1852 status in the statusbar
1854 2003-04-07 John Levon <levon@movementarian.org>
1856 * lyxfunc.C: note status changed after a depth change
1858 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1860 * LaTeX.h: move AuxInfo operator==, != out of line.
1861 Remove LaTeX virtual destructor; nothing derives from it.
1862 Move operator()() out of public area and rename it startscript().
1863 Change protected for private.
1865 2003-04-04 Angus Leeming <leeming@lyx.org>
1868 * text2.C: remove unneeded #includes.
1870 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1872 * text2.C (dEPM): fix the heigth of the next row
1874 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1876 * text.C: squashed an invalid getChar requester + some ws changes
1878 2003-04-03 John Levon <levon@movementarian.org>
1880 * bufferview_funcs.h:
1881 * bufferview_funcs.C:
1884 * text2.C: make getStatus work for the env depth lfuns
1886 2003-04-03 John Levon <levon@movementarian.org>
1888 * bufferview_funcs.h:
1889 * bufferview_funcs.C:
1892 * text2.C: parlistize decDepth(), by merging it with incDepth()
1894 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1896 * lyxrow.h: store a ParagraphList::iterator instead of a
1897 Paragraph* and adjust other class functions to suit.
1899 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1902 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1904 * text2.C (setCursor): do not anchor to cursor row for the time being
1906 2003-04-02 John Levon <levon@movementarian.org>
1913 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1915 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1917 * paragraph.h: make ParagraphList and ParagraphList::iterator
1918 friends of Paragraph.
1920 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1922 * ParagraphList.C: Use the private next_ and previous_ from
1925 2003-04-01 John Levon <levon@movementarian.org>
1929 * Makefile.am: rename, remove defaults gunk
1932 * MenuBackend.C: remove defaults gunk
1935 * Languages.C: remove defaults gunk
1938 * lyx_main.C: error out if files couldn't be found.
1940 2003-04-02 John Levon <levon@movementarian.org>
1942 * text2.C: make incDepth() use parlist
1944 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1946 * undo_funcs.C (firstUndoParagraph): adjust
1948 * text3.C (gotoInset): adjust
1949 (dispatch): adjust, and rewrite loop.
1951 * text2.C (init): adjust, and rewrite loop.
1952 (redoParagraphs): adjust
1953 (updateInset): adjust, and rewrite loop.
1954 (deleteEmptyParagraphMechanism): adjust
1956 * tabular.C (LyXTabular): adjust
1957 (SetMultiColumn): adjust
1960 * lyxtext.[Ch] (ownerParagraph): delete function
1961 (ownerParagraphs): new function returns a ParagraphList.
1963 * BufferView.C (removeAutoInsets): adjust
1964 (insertErrors): adjust
1965 (setCursorFromRow): adjust
1967 2003-04-01 Angus Leeming <leeming@lyx.org>
1969 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1972 2003-04-02 John Levon <levon@movementarian.org>
1978 * text_funcs.C: make transposeChars a free function
1980 * lyxrow_funcs.C: remove wrong comment
1982 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1985 * rowpainter.C: adjust
1990 * lyxrow_funcs. [Ch]: new files
1992 * lyxrow.[Ch]: remove next and previous pointers
1993 (next,previous): remove accessor functions
1994 (isParEnd): move to lyxrow_funcs
1995 (lastPos): move to lyxrow_funcs
1996 (nextRowIsAllInset): move to lyxrow_funcs
1997 (lastPrintablePos): move to lyxrow_funcs
1998 (numberOfSeparators): move to lyxrow_funcs
1999 (numberOfHfills): move to lyxrow_funcs
2000 (numberOfLabelHfills): move to lyxrow_funcs
2001 (hfillExpansion): move to lyxrow_funcs
2005 * bufferview_funcs.C (toggleAndShow): adjust
2007 * RowList.h: Remove class RowList from file leave just a
2010 * RowList.C: delete file
2012 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2015 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2017 * text3.C (cursorPrevious): adjust
2018 (cursorNext): adjust
2021 * text2.C (redoHeightOfParagraph): adjust
2022 (redoDrawingOfParagraph): adjust
2025 * text.C (breakParagraph): adjust
2026 (insertChar): adjust
2029 * rowpainter.C (RowPainter): adjust
2030 (leftMargin): simplify and adjust
2031 (most rowpainter functions): adjust.
2033 * rowpainter.h: store the row as RowList::iterator not as Row*
2035 * lyxcursor.C (row): taka RowList::iterator as arg
2038 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2041 2003-04-01 Angus Leeming <leeming@lyx.org>
2043 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2044 stuff like bool Bool.
2046 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2048 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2051 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2053 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2056 * lyxtext.h (rows): drop one version and leve a const variant that
2057 returns a RowList::iterator.
2059 2003-03-31 Angus Leeming <leeming@lyx.org>
2061 * text.C (fill): ensure that the signature is the same as that in the
2064 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2066 * text2.C (redoParagraphs): adjust
2067 (updateCounters): adjust
2068 (checkParagraph): adjust
2069 (getColumnNearX): adjust and reformat a bit.
2071 * text.C (top_y): adjust
2073 (leftMargin): adjust
2074 (prepareToPrint): adjust
2076 (getRowNearY): adjust
2078 * lyxtext.h: make rowlist_ mutable.
2080 * RowList.h: add const_iterator
2081 * RowList.C: adjust for RowList::const_iterator.
2083 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2086 2003-03-31 John Levon <levon@movementarian.org>
2089 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2091 * lyx_main.C: set default fonts from using lyx_gui funcs
2093 * exporter.C: pdf_mode moved from lyxrc
2096 * lyxfunc.C: changes from above
2098 2003-03-31 John Levon <levon@movementarian.org>
2100 * lyx_main.C: fix to the last fix
2102 2003-03-31 John Levon <levon@movementarian.org>
2104 * bufferlist.C: "Load original" -> "Load Original"
2110 * format.C: more Alert cleanups
2112 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2114 * text2.C (removeParagraph): make it take a RowList::iterator as
2116 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2117 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2119 * text.C (anchor_row): make it take a RowList::iterator as arg,
2121 (computeBidiTables): make it take a const reference to Row instead
2122 of Row pointer, adjust.
2123 (leftMargin): make it take a RowList::iterator as arg, adjust.
2124 (rowBreakPoint): adjust
2125 (breakAgainOneRow): make it take a RowList::iterator as arg,
2127 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2129 * bufferview_funcs.C (toggleAndShow): adjust
2131 2003-03-30 John Levon <levon@movementarian.org>
2135 * boost-inst.C: moved to support
2137 * several files: changes as a result
2139 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2141 * text2.C (LyXText): adjust.
2143 (removeRow): make it take a RowList::iterator as arg, adjust.
2144 (fullRebreak): adjust
2145 (deleteEmptyParagraphMechanism): adjust
2146 (clearPaint): adjust
2149 * text.C (top_y): adjust
2150 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2151 (breakAgain): make it take a RowList::iterator as arg, adjust.
2152 (breakParagraph): adjust
2153 (insertChar): adjust
2156 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2157 need_break_row, and refresh_row.
2159 * text3.C (dispatch): adjust
2161 * text2.C (checkParagraph): adjust
2163 (setCursorFromCoordinates): adjust
2165 * text.C (top_y): adjust
2167 (getRow): make it return a RowList::iterator, adjust
2168 (getRowNearY): make it return a RowList::iterator, adjust
2170 * text2.C (init): adjust
2171 (insertRow): remove function
2172 (insertParagraph): adjust
2173 (redoParagraphs): adjust
2174 (fullRebreak): adjust
2175 (updateCounters): adjust
2177 * text.C (top_y): rewrite to use RowList iterators.
2179 (setHeightOfRow): rewrite to sue RowList iterators.
2180 (appendParagraph): adjust
2181 (breakAgain): adjust
2182 (breakAgainOneRow): adjust
2183 (breakParagraph): adjust
2185 (getRowNearY): adjust, and remove commented code.
2187 * lyxtext.h (firstRow): delete function
2188 (lastRow): delete function
2189 (rows): new function (const and non-const versions.)
2190 (insertRow): delete function
2192 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2194 2003-03-29 John Levon <levon@movementarian.org>
2196 * BufferView_pimpl.C: always update scrollbar top
2197 because pasting text when we're anchored could mean we
2198 miss an update altogether
2200 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2202 * text2.C (init): use rowlist_.end() and not 0.
2203 (insertRow): change to take a RowList::iterator as arg, adjust
2205 (insertParagraph): change to take a RowList::iterator as arg,
2207 (redoParagraphs): remove some debug msgs.
2209 * text.C (appendParagraph): change to take a RowList::iterator
2210 arg, adjust for this.
2211 (breakAgain): add an assert
2212 (breakAgainOneRow): ditto
2214 2003-03-29 John Levon <levon@movementarian.org>
2216 * text2.C: do not clear selection after inc/decDepth
2219 2003-03-29 John Levon <levon@movementarian.org>
2222 * buffer.C: fix broken strerrors according to Lars
2224 2003-03-29 John Levon <levon@movementarian.org>
2226 * converters.C: more Alert cleanups
2228 2003-03-29 John Levon <levon@movementarian.org>
2230 * bufferview_funcs.C: remove pointless Alert
2232 * buffer.C: fix confusing error message when
2233 a template is chmoded 000
2235 2003-03-29 John Levon <levon@movementarian.org>
2239 * BufferView_pimpl.C: Alert fixes
2243 * tabular-old.C: remove unused table compat reading
2245 2003-03-29 John Levon <levon@movementarian.org>
2250 * lyx_cb.C: more Alert cleanups
2252 * lyxfunc.C: don't allow chktex if not latex document
2254 2003-03-29 John Levon <levon@movementarian.org>
2258 * buffer.C: warnings pushed down from support/,
2261 2003-03-29 John Levon <levon@movementarian.org>
2263 * lyxfunc.C: safety check for C-r (revert)
2265 2003-03-29 John Levon <levon@movementarian.org>
2268 * bufferlist.C: several UI fixes using Alert::prompt.
2269 Fix the pointless looping quit code. Fix stupid revert
2274 * lyx_cb.C: use Alert::prompt
2276 * lyx_main.C: remove a silly question
2278 * lyxfunc.C: remove a couple of silly questions,
2281 2003-03-28 John Levon <levon@movementarian.org>
2283 * text2.C: fix bug 974 (End on empty par)
2285 2003-03-28 John Levon <levon@movementarian.org>
2287 * BufferView_pimpl.C:
2289 * lfuns.h: remove do-nothing math greek lfuns
2291 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2293 * lyxgluelength.h (isValidGlueLength): add default arg on
2294 parameter 2. Remove default arg from friend in class.
2296 * lyxlength.h (isValidLength): add default arg on parameter 2.
2297 Remove default arg from friend in class.
2299 * text2.C (LyXText): adjust, initialize refresh_row.
2303 (insertParagraph): adjst
2304 (redoParagraphs): adjust
2305 (fullRebreak): adjust
2306 (updateCounters): adjust
2307 (deleteEmptyParagraphMechanism): first attempt at fixing a
2310 * text.C (top_y): adjust
2311 (setHeightOfRow): adjust
2313 (getRowNearY): adjust
2315 * lyxtext.h: include RowList.h
2316 (~LyXText): not needed anymore, deleted.
2317 (firstRow): modify for RowList
2318 (lastRow): new function
2319 Delete firstrow and lastrow class variables, add a Rowlist
2320 rowlist_ class variable.
2322 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2325 * RowList.C (insert): fix case where it == begin().
2327 2003-03-26 Angus Leeming <leeming@lyx.org>
2329 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2330 the thesaurus dialog.
2332 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2334 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2336 * RowList.[Ch]: new files
2338 * ParagraphList.C (erase): handle the case where it == begin
2341 2003-03-25 John Levon <levon@movementarian.org>
2345 * aspell.C: add new aspell support
2348 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2351 2003-03-25 Angus Leeming <leeming@lyx.org>
2354 * LyXAction.C (init): new LFUN_INSET_INSERT.
2356 * BufferView_pimpl.C (dispatch): split out part of the
2357 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2359 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2362 2003-03-25 Angus Leeming <leeming@lyx.org>
2364 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2366 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2369 * text3.C: remove useless row->height(0)
2371 2003-03-25 John Levon <levon@movementarian.org>
2375 * text3.C: rename the refreshing stuff to better names
2377 2003-03-24 John Levon <levon@movementarian.org>
2379 * BufferView_pimpl.h:
2380 * BufferView_pimpl.C: update layout choice on a mouse
2383 2003-03-23 John Levon <levon@movementarian.org>
2385 * Makefile.am: fix commandtags.h reference
2387 2003-03-22 John Levon <levon@movementarian.org>
2389 * BufferView_pimpl.C:
2394 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2396 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2399 * text.C: take the rtl methods out of line
2401 2003-03-21 André Pönitz <poenitz@gmx.net>
2403 * metricsinfo.[Ch]: new files containing structures to be passed around
2404 during the two-phase-drawing...
2406 2003-03-21 André Pönitz <poenitz@gmx.net>
2408 * lyxtextclass.C: read 'environment' tag.
2410 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2412 * text2.C (removeRow): fix bug 964
2414 2003-03-20 John Levon <levon@movementarian.org>
2418 * text2.C: paint cleanups. Inset::update() dropped font
2421 2003-03-19 John Levon <levon@movementarian.org>
2423 * lyxfunc.C: only fitcursor/markDirty if available()
2425 2003-03-19 John Levon <levon@movementarian.org>
2427 * commandtags.h: rename to ...
2429 * lfuns.h: ... this, and renumber / cleanup
2431 2003-03-19 John Levon <levon@movementarian.org>
2433 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2434 fit the cursor after an lfun
2438 * BufferView_pimpl.h:
2439 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2441 * LyXAction.C: layout-character should have ReadOnly
2443 * ParagraphParameters.C:
2445 * bufferview_funcs.C:
2452 * undo_funcs.C: changes from above
2454 2003-03-18 John Levon <levon@movementarian.org>
2456 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2457 remove it from update()
2459 * lyxfunc.C: update layout choice after an lfun
2461 * text3.C: remove extra updateLayoutChoice()s
2463 2003-03-18 John Levon <levon@movementarian.org>
2465 * text.C: top_y change means full repaint, fix
2466 a drawing bug with cursor movement
2468 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2472 * text2.C: anchor row on setCursor
2474 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2476 * lyxtext.h: remove almost all mutable keywords
2479 * text3.C: remove const keywords accordingly
2481 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2483 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2485 (TeXEnvironment): ditto
2488 2003-03-17 John Levon <levon@movementarian.org>
2490 * text.C (rowBreakPoint): remove attempt to fix displayed
2491 math insets inside a manual label
2493 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2495 * lyxtext.h: remove BufferView* as first arg from almost all class
2497 * other files: adjust.
2499 2003-03-17 John Levon <levon@movementarian.org>
2503 * text2.C: more paint cleanups
2505 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2508 * rowpainter.C: remove "smart" background painting code
2510 2003-03-16 John Levon <levon@movementarian.org>
2515 * text3.C: add helper functions for setting refresh_row/y
2517 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2519 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2520 newline inset which *can* get inserted in the pass_thru layouts.
2521 This is primarily for literate documents.
2523 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2525 * buffer.C: increment LYX_FORMAT to 223
2527 2003-03-14 André Pönitz <poenitz@gmx.net>
2529 * textclass.h: prepare for environment handling, ws changes
2530 * lyxlayout.C: read latexheader and latexfooter tags
2532 2003-03-14 John Levon <levon@movementarian.org>
2534 * text2.C: rewrite ::status() a bit
2536 2003-03-13 John Levon <levon@movementarian.org>
2538 * lyxtext.h: add some docs
2540 2003-03-13 John Levon <levon@movementarian.org>
2545 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2547 2003-03-13 John Levon <levon@movementarian.org>
2549 * text3.C: fix appendix redrawing
2551 2003-03-13 John Levon <levon@movementarian.org>
2553 * text.C (setHeightOfRow):
2555 * rowpainter.C: make appendix mark have the text
2556 "Appendix" so the user knows what it is
2559 * LColor.C: s/appendixline/appendix/ from above
2561 2003-03-13 John Levon <levon@movementarian.org>
2563 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2565 * text.C: fix a getChar(pos) bug properly
2567 2003-03-13 Angus Leeming <leeming@lyx.org>
2570 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2571 Probably only temporary. Let's see how things pan out.
2573 * BufferView.C (unlockInset):
2574 * BufferView_pimpl.C (fitCursor):
2575 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2577 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2578 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2580 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2581 new functions that convert ParagraphParameters to and from a string.
2583 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2584 BufferView::Pimpl's dispatch.
2585 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2587 2003-03-13 André Pönitz <poenitz@gmx.net>
2591 * factory.C: make it aware of InsetEnv
2593 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2595 * text2.C (setCursor): never ask for one past last
2596 (setCursor): add some debugging messages.
2598 * text.C (singleWidth): never ask for one past last
2599 (singleWidth): ditto
2601 (rightMargin): ditto
2602 (rowBreakPoint): ditto
2603 (setHeightOfRow): ditto
2604 (prepareToPrint): ditto
2606 * rowpainter.C (paintBackground): never ask for one past last
2607 (paintText): never ask for one past last
2609 * paragraph_pimpl.C (getChar): make the assert stricter, never
2610 allow the one past last pos to be taken
2612 * paragraph.C (getChar): ws changes only
2614 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2615 (numberOfSeparators): ditto
2616 (numberOfHfills): ditto
2618 2003-03-12 John Levon <levon@movementarian.org>
2624 * paragraph_funcs.C: fix per-buffer authorlists
2626 2003-03-12 John Levon <levon@movementarian.org>
2628 * text.C: fix newline in right address
2630 2003-03-12 Angus Leeming <leeming@lyx.org>
2632 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2633 duplicate those in LyXFunc::dispatch.
2637 * ToolbarDefaults.C:
2638 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2639 Add LFUN_FONTFREE_UPDATE.
2641 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2642 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2644 * bufferview_func.[Ch]: several new functions to facilliate
2645 transfer of data to and from the character dialog.
2647 2003-03-12 John Levon <levon@movementarian.org>
2652 * paragraph_funcs.C:
2653 * paragraph_pimpl.C:
2657 * text3.C: remove META_NEWLINE in favour of an inset
2660 * rowpainter.C: remove paintNewline (done by inset)
2662 2003-03-12 John Levon <levon@movementarian.org>
2664 * paragraph_pimpl.C: complain about bad getChar()s
2665 for a while at least
2667 2003-03-12 John Levon <levon@movementarian.org>
2670 * buffer.C: move paragraph read into a separate function,
2671 a little renaming to reflect that.
2674 * bufferparams.C: remove the author_ids map, not necessary now
2677 * factory.C: moved Buffer::readInset to here
2679 * paragraph_funcs.h:
2680 * paragraph_funcs.C: readParagraph free function moved from
2683 * tabular.C: name change
2685 2003-03-12 John Levon <levon@movementarian.org>
2688 * ParagraphParameters.C: move par params input to
2691 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2692 behave like a normal read from the stream wrt reading
2693 a line vs. a \\token
2695 2003-03-12 John Levon <levon@movementarian.org>
2698 * ParagraphParameters.h:
2699 * ParagraphParameters.C: move output code to a
2702 2003-03-12 John Levon <levon@movementarian.org>
2704 * BufferView.C (insertLyXFile):
2707 * tabular.C: use a parlist iterator for creating the
2710 2003-03-12 John Levon <levon@movementarian.org>
2712 * buffer.C: make current_change static local not
2715 2003-03-12 John Levon <levon@movementarian.org>
2717 * buffer.C: fix insertStringAsLines for change tracking
2719 2003-03-12 John Levon <levon@movementarian.org>
2726 * bufferparams.C: move author list into params. Rename some
2727 functions. Move the header reading into a separate token
2728 loop. Move the header token reading into BufferParams.
2730 2003-03-12 John Levon <levon@movementarian.org>
2732 * changes.C: put debug inside lyxerr.debugging() checks
2734 2003-03-11 André Pönitz <poenitz@gmx.net>
2736 * factory.C: make it aware of InsetHFill
2738 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2740 * buffer.C (latexParagraphs): move function from here...
2741 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2744 2003-03-10 Angus Leeming <leeming@lyx.org>
2746 * LyXAction.C (init): fix bug in poplating array with multiple entries
2747 with the same LFUN (spotted by JMarc).
2749 2003-03-10 John Levon <levon@movementarian.org>
2752 * text2.C: move getColumnNearX() near its
2755 2003-03-10 John Levon <levon@movementarian.org>
2757 * text.C: fix break before a minipage
2759 2003-03-10 John Levon <levon@movementarian.org>
2761 * text.C: fix the last commit
2763 2003-03-09 John Levon <levon@movementarian.org>
2767 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2768 bug 365 (don't break before insets unless needed). Don't
2769 return a value > last under any circumstances.
2771 2003-03-09 Angus Leeming <leeming@lyx.org>
2773 * BufferView_pimpl.C (trackChanges, dispatch): call
2774 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2776 2003-03-09 Angus Leeming <leeming@lyx.org>
2778 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2779 than Dialogs::showAboutlyx().
2781 2003-03-09 Angus Leeming <leeming@lyx.org>
2783 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2784 than Dialogs::showTabularCreate().
2786 2003-03-09 John Levon <levon@movementarian.org>
2790 * text2.C: 3rd arg to nextBreakPoint was always the same.
2793 2003-03-08 John Levon <levon@movementarian.org>
2800 * text2.C: Remove the "main" bit from the "main body"
2803 2003-03-08 John Levon <levon@movementarian.org>
2805 * text.C (leftMargin): The left margin of an empty
2806 manual label paragraph should not include the label width
2809 * text.C (prepareToPrint): don't attempt to measure hfills
2810 for empty manual label paragraphs - the answer should be 0
2812 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2814 * CutAndPaste.C: remove commented code and reindent.
2816 2003-03-08 John Levon <levon@movementarian.org>
2819 * lyxfunc.C: move reloadBuffer()
2822 * BufferView.C: to here
2824 * lyxvc.C: add comment
2827 * vc-backend.C: call bv->reload() to avoid
2828 getStatus() check on MENURELOAD
2830 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2832 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2833 to an old format .dep file.
2835 2003-03-07 Angus Leeming <leeming@lyx.org>
2837 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2838 when the LFUN_MOUSE_RELEASE should have been handled by
2839 inset->localDispatch.
2841 2003-03-07 Angus Leeming <leeming@lyx.org>
2843 * BufferView_pimpl.C (dispatch):
2844 * LyXAction.C (init):
2845 * ToolbarDefaults.C (init):
2847 * lyxfunc.C (getStatus):
2848 remove LFUN_INSET_GRAPHICS.
2850 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2852 2003-03-07 Angus Leeming <leeming@lyx.org>
2855 * LyXAction.C (init):
2856 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2858 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2861 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2863 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2864 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2866 2003-03-07 Angus Leeming <leeming@lyx.org>
2868 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2871 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2873 * ParagraphList.C (front): new function
2876 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2878 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2879 and top_row_offset_. removed var first_y.
2881 * text2.C (LyXText, removeRow):
2883 * BufferView_pimpl.C:
2884 use these methods instead of using first_y
2886 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2888 * text2.C (pasteSelection): adjust for checkPastePossible
2890 * CutAndPaste.C: remove Paragraph * buf and replace with
2891 ParagraphList paragraphs.
2892 (DeleteBuffer): delete
2893 (cutSelection): change the tc type to textclass_type
2894 (copySelection): change the tc type to textclass_type
2895 (copySelection): adjust for ParagraphList
2896 (pasteSelection): change the tc type to textclass_type
2897 (pasteSelection): adjust for Paragraphlist
2898 (nrOfParagraphs): simplify for ParagraphList
2899 (checkPastePossible): simplify for ParagraphList
2900 (checkPastePossible): remove unused arg
2902 * ParagraphList.C (insert): handle the case where there are no
2905 * CutAndPaste.h: make CutAndPaste a namespace.
2907 * text3.C (dispatch): adjust
2909 * text.C (breakParagraph): add a ParagraphList as arg
2911 * paragraph_funcs.C (breakParagraph): change to take a
2912 BufferParams and a ParagraphList as args.
2913 (breakParagraphConservative): ditto
2914 (mergeParagraph): ditto
2915 (TeXDeeper): add a ParagraphList arg
2916 (TeXEnvironment): ditto
2919 * buffer.C (readLyXformat2): adjust
2920 (insertStringAsLines): adjust
2921 (latexParagraphs): adjust
2923 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2924 (cutSelection): adjust
2925 (pasteSelection): adjust
2927 * BufferView_pimpl.C (insertInset): adjust
2929 2003-03-05 Angus Leeming <leeming@lyx.org>
2932 * LyXAction.C (init):
2933 * BufferView_pimpl.C (dispatch):
2934 * lyxfunc.C (getStatus):
2935 remove LFUN_CHILD_INSERT.
2937 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2939 2003-03-05 Angus Leeming <leeming@lyx.org>
2942 * LyXAction.C (init):
2943 * src/factory.C (createInset):
2944 * lyxfunc.C (getStatus):
2945 * text3.C (dispatch):
2946 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2948 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2950 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2952 * ParagraphList.C (insert): handle insert right before end()
2953 (erase): fix cases where it can be first or last paragraph.
2955 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2957 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2958 Paragraph::next and Paragraph::previous
2961 * text.C (breakParagraph): adjust
2963 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2964 BufferParams& as arg.
2965 (breakParagraph): use ParagraphList::insert
2966 (breakParagraphConservative): take a Buffer* instead of a
2967 BufferParams& as arg.
2968 (breakParagraphConservative): use ParagraphList::insert.
2970 * buffer.C (insertStringAsLines): un-const it
2971 (insertStringAsLines): adjust
2973 * ParagraphList.C (insert): new function
2975 * CutAndPaste.C (pasteSelection): adjust
2977 * text.C (backspace): adjust
2979 * tabular.C (SetMultiColumn): adjust
2981 * CutAndPaste.C (cutSelection): adjust
2982 (pasteSelection): adjust
2984 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2985 Buffer const * as arg
2987 * ParagraphList.C (erase): new function
2988 * paragraph_funcs.C (mergeParagraph): use it
2989 (mergeParagraph): make it take a Buffer* instead of a
2990 BufferParams* as arg
2992 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2994 (breakParagraphConservative): ditto
2996 * paragraph.h: remove the breakParagraph friend
2998 * paragraph.C (eraseIntern): new function
2999 (setChange): new function
3001 * paragraph_funcs.C (mergeParagraph): make it take a
3002 ParagraphList::iterator instead of a Paragraph *, adjust
3005 * paragraph.h: move an #endif so that the change tracking stuff
3006 also works in the NO_NEXT case.
3008 2003-03-04 Angus Leeming <leeming@lyx.org>
3011 * LyXAction.C: new LFUN_INSET_MODIFY.
3013 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3014 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3016 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3018 * several files: ws changes only
3020 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3021 (TeXEnvironment): ditto
3024 * buffer.C (makeLaTeXFile): adjust
3025 (latexParagraphs): make it take ParagraphList::iterator as args
3027 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3029 * buffer.C (latexParagraphs): adjust
3031 * paragraph.C (TeXOnePar): move function...
3032 (optArgInset): move function...
3033 (TeXEnvironment): move function...
3034 * paragraph_pimpl.C (TeXDeeper): move function...
3035 * paragraph_funcs.C: ...here
3037 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3039 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3041 * buffer.C (readInset): remove compability code for old Figure and
3044 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3046 * buffer.C: ws changes
3049 * BufferView_pimpl.C: ditto
3052 * bufferlist.h: ditto
3056 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3058 * converter.[Ch]: split into itself +
3061 * Makefile.am: += graph.[Ch] + format.[Ch]
3068 * lyxrc.C: added #include "format.h"
3070 2003-02-27 Angus Leeming <leeming@lyx.org>
3072 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3075 * factory.C (createInset): add "label" to the factory.
3077 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3078 string and do no more.
3080 2003-02-27 Angus Leeming <leeming@lyx.org>
3083 * LyXAction.C (init):
3084 * factory.C (createInset):
3085 * BufferView_pimpl.C (dispatch):
3086 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3088 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3090 * lyxfunc.C (dispatch):
3091 * text3.C (dispatch): pass name to params2string.
3093 2003-02-26 Angus Leeming <leeming@lyx.org>
3095 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3097 Rearrange the ~includes. Strip out the unnecessary ones.
3099 * factory.C (createInset): reformat.
3100 create new insets for the various LFUN_XYZ_APPLY lfuns.
3102 2003-02-26 John Levon <levon@movementarian.org>
3105 * lyxrow.C: add isParStart,isParEnd helpers
3107 * paragraph.h: make isInserted/DeletedText take refs
3109 * paragraph_funcs.h:
3110 * paragraph_funcs.C: remove #if 0'd code
3115 * text.C: use lyxrow helpers above.
3116 Move draw and paint routines to RowPainter.
3117 Make several methods use refs not pointers.
3118 Make backgroundColor() const.
3119 Add markChangeInDraw(), isInInset().
3120 Merge changeRegionCase into changeCase.
3121 Make workWidth() shouldn't-happen code into an Assert.
3124 * rowpainter.C: new class for painting a row.
3127 * vspace.C: make inPixels take a ref
3129 2003-02-26 Angus Leeming <leeming@lyx.org>
3131 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3134 2003-02-25 John Levon <levon@movementarian.org>
3136 * ispell.C: give the forked command a more accurate name
3138 2003-02-22 John Levon <levon@movementarian.org>
3141 * toc.C: make TocItem store an id not a Paragraph *
3144 2003-02-21 Angus Leeming <leeming@lyx.org>
3146 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3147 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3148 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3149 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3150 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3151 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3153 * BufferView_pimpl.C (dispatch):
3154 * LyXAction.C (init):
3155 * factory.C (createInset):
3156 * lyxfunc.C (getStatus, dispatch):
3157 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3159 2003-02-21 Angus Leeming <leeming@lyx.org>
3161 * BufferView_pimpl.C (MenuInsertLyXFile):
3162 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3163 * lyxfunc.C (menuNew, open, doImport):
3164 no longer pass a LyXView & to fileDlg.
3166 2003-02-21 Angus Leeming <leeming@lyx.org>
3168 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3169 * LyXAction.C: change, BIBKEY to BIBITEM.
3170 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3171 Change InsetBibKey to InsetBibitem.
3172 Change BIBKEY_CODE to BIBITEM_CODE.
3173 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3174 * factory.C: replace insetbib.h with insetbibitem.h.
3175 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3176 * paragraph.C: replace insetbib.h with insetbibitem.h.
3177 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3178 Change bibkey() to bibitem().
3179 * text.C: remove insetbib.h.
3180 * text2.C: replace insetbib.h with insetbibitem.h.
3181 change bibkey() to bibitem().
3182 * text3.C: remove insetbib.h.
3183 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3185 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3187 * lyxrc.C (output): enclose user email in quotes (in case there are
3190 2003-02-18 John Levon <levon@movementarian.org>
3192 * buffer.h: add std::
3194 2003-02-17 John Levon <levon@movementarian.org>
3200 * pspell.C: reworking. Especially in ispell, a large
3201 number of clean ups and bug fixes.
3203 * lyxfunc.C: fix revert to behave sensibly
3205 2003-02-17 André Pönitz <poenitz@gmx.net>
3208 * commandtags.h: new LFUN_INSERT_BIBKEY
3218 * paragraph_func.C: remove special bibkey handling
3220 2003-02-17 John Levon <levon@movementarian.org>
3222 * text.C (Delete): fix case where delete at the end of
3223 the very first paragraph would not merge the pars
3225 2003-02-17 John Levon <levon@movementarian.org>
3227 * lyxrow.C: fix lastPrintablePos()
3229 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3231 * bufferparams.C (writeLaTeX): add a std:here
3233 * buffer.C: and remove a using directive there
3235 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3237 * buffer.C (makeLaTeXFile): move the code that generates the
3240 * bufferparams.C (writeLaTeX): ... in this new method
3242 * LaTeXFeatures.C (getEncodingSet): make const
3243 (getLanguages): make const
3245 * MenuBackend.C (binding): returns the binding associated to this
3247 (add): sets the status of each item by calling getStatus. Adds
3249 (read): add support for OptSubMenu
3250 (expand): remove extra separator at the end of expanded menu
3252 2003-02-15 John Levon <levon@movementarian.org>
3255 * BufferView_pimpl.C:
3257 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3258 inset code that had no actual effect. Remove unneeded status
3261 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3263 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3266 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3268 * text.C (drawLengthMarker): also draw an arrow marker for
3269 symbolic lengths (medskip...)
3271 2003-02-14 John Levon <levon@movementarian.org>
3274 * tabular.C: better method names
3276 2003-02-14 John Levon <levon@movementarian.org>
3278 * BufferView_pimpl.C:
3283 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3284 it's a more accurate name. Remove some pointless uses.
3286 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3288 * text2.C (LyXText): change order of initilizers to shut off
3291 2003-02-14 John Levon <levon@movementarian.org>
3293 * buffer.C: use ParIterator for getParFromID()
3297 * paragraph_pimpl.h:
3298 * paragraph_pimpl.C: remove unused getParFromID()
3300 2003-02-14 John Levon <levon@movementarian.org>
3302 * buffer.C: remove some very old #if 0'd parse code
3304 2003-02-13 John Levon <levon@movementarian.org>
3308 * text2.C: move hfillExpansion(), numberOfSeparators(),
3309 rowLast(), rowLastPrintable(), numberofHfills(),
3310 numberOfLabelHfills() ...
3313 * lyxrow.C: ... to member functions here.
3318 * text.C: remove LyXText::beginningOfMainBody(), and call
3319 p->beginningOfMainBody() directly. Move the check for
3320 LABEL_MANUAL into the latter.
3327 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3333 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3334 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3336 2003-02-13 John Levon <levon@movementarian.org>
3338 * CutAndPaste.C: remove debug
3340 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3342 * paragraph.C (asString): remove two unused variables
3344 * lyxtextclass.C (readTitleType):
3346 (LyXTextClass): handle new members titletype_ and titlename_
3348 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3350 2003-02-09 John Levon <levon@movementarian.org>
3353 * buffer.C: replace hand-coded list with a map for the dep clean
3355 2003-02-08 John Levon <levon@movementarian.org>
3357 * LaTeX.C: consolidate code into showRunMessage() helper
3359 2003-02-08 John Levon <levon@movementarian.org>
3364 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3365 and pass the size in explicitly
3367 * BufferView_pimpl.h:
3368 * BufferView_pimpl.C:
3370 * BufferView.C: add getCurrentChange()
3372 * BufferView_pimpl.h:
3373 * BufferView_pimpl.C: handle change lfuns
3375 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3376 for changes. Mark pasted paragraphs as new.
3378 * support/lyxtime.h:
3379 * support/lyxtime.C:
3380 * DepTable.C: abstract time_t as lyx::time_type
3383 * LColor.C: add colours for new text, deleted text, changebars
3385 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3386 package use "usenames" option.
3390 * LyXAction.C: add change lfuns
3394 * author.C: author handling
3397 * buffer.C: add a per-buffer author list, with first entry as
3398 current author. Handle new .lyx tokens for change tracking. Output
3399 author list to .lyx file. Output dvipost stuff to .tex preamble.
3400 Bump lyx format to 222.
3403 * bufferlist.C: add setCurrentAuthor() to reset current author details
3407 * bufferparams.C: add param for tracking
3409 * bufferview_funcs.C: output change info in minibuffer
3413 * changes.C: add change-tracking structure
3416 * debug.C: add CHANGES debug flag
3419 * lyxfind.C: add code for finding the next change piece
3422 * lyxrc.C: add user_name and user_email
3425 * lyxrow.C: add a metric for the top of the text line
3428 * text.C: implement accept/rejectChange()
3431 * text.C: paint changebars. Paint new/deleted text in the chosen
3432 colours. Strike through deleted text.
3436 * paragraph_pimpl.h:
3437 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3438 in the current change to the insert functions. Rework erase to
3439 mark text as deleted, adding an eraseIntern() and a range-based
3440 erase(). Implement per-paragraph change lookup and
3443 * paragraph_funcs.C: Fixup paste for change tracking.
3445 * tabular.C: mark added row/columns as new.
3447 * text.C: fix rowLast() to never return -1. Don't allow
3448 spellchecking of deleted text. Track transpose changes. Don't
3449 allow paragraph break or merge where appropriate.
3451 * text2.C: leave cursor at end of selection after a cut.
3453 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3455 * text.C (getLengthMarkerHeight):
3456 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3457 visible on screen too.
3459 2003-02-07 John Levon <levon@movementarian.org>
3461 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3463 2003-02-05 Angus Leeming <leeming@lyx.org>
3465 * lyxserver.C (read_ready): revert my patch of 11 September last year
3466 as it sends PC cpu through the roof. Presumably this means that
3467 the lyxserver will no longer run on an Alpha...
3469 2003-01-30 Angus Leeming <leeming@lyx.org>
3471 * factory.C (createInset): create an InsetCommandParam of type "index"
3472 and use it to 'do the right thing'.
3474 * text2.C (getStringToIndex): ensure that cursor position is always
3475 reset to the reset_cursor position.
3477 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3479 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3482 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3486 * lyxfunc.C: Output messages with identical spelling, punctuation,
3489 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3491 * MenuBackend.C (expandFormats): List only viewable export formats
3494 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3497 * lyxfunc.C (getStatus): Make sure that formats other than
3498 "fax" can also be disabled
3500 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3502 * text3.C (dispatch): put the lfuns that insert insets in 3
3503 groups, and call doInsertInset with appropriate arguments.
3504 (doInsertInset): new function, that creates an inset and inserts
3505 it according to some boolean parameters.
3507 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3509 * buffer.C (readFile): remember to pass on 'par' when calling
3510 readFile recursively.
3512 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3514 * MenuBackend.C (expandFormats): add "..." to import formats.
3516 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3518 * paragraph.C (asString): Remove XForms RTL hacks.
3520 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3521 * buffer.C: fix typo
3523 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3525 * Makefile.am (LIBS): delete var
3526 (lyx_LDADD): add @LIBS@ here instead.
3528 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3530 * Clarify the meaning of "wheel mouse jump"
3532 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3534 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3537 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3539 * importer.C (Loaders): do not preallocate 3 elements in the
3540 vector, since one ends up with 6 elements otherwise
3542 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3544 * DepTable.C (write): write the file name as last element of the
3545 .dep file (because it may contain spaces)
3546 (read): read info in the right order
3548 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3550 * paragraph_pimpl.C (simpleTeXBlanks):
3551 (simpleTeXSpecialChars):
3552 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3554 * tabular.C (latex): add some missing case statements. Reindent.
3556 * MenuBackend.C (expandToc): remove unused variable.
3558 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3567 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3570 2003-01-05 John Levon <levon@movementarian.org>
3573 * BufferView.C: add getEncoding()
3576 * kbsequence.C: do not store last keypress
3579 * lyxfunc.C: store last keypress here instead. Pass encoding
3582 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3584 * lyx_main.C (init): remove annoying error message when following
3585 symbolic links (bug #780)
3587 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3589 * text.C (insertChar):
3590 * lyxrc.C (getDescription): remove extra spaces
3592 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3594 * lyxrc.C (getDescription): remove extra spaces
3596 2002-12-20 John Levon <levon@movementarian.org>
3598 * text3.C: hack fix for page up/down across tall rows
3600 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3602 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3605 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3607 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3608 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3609 thesaurus is not compiled in
3611 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3613 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3615 2002-12-16 Angus Leeming <leeming@lyx.org>
3618 * lyx_main.C (init): remove override_x_deadkeys stuff.
3620 2002-12-12 John Levon <levon@movementarian.org>
3622 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3623 insert. Only remove shift modifier under strict
3626 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3628 * MenuBackend.C (expandToc): fix crash.
3630 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3632 * MenuBackend.C (expandToc): gettext on float names.
3634 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3636 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3637 implement bool empty() [bug 490]
3639 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3641 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3643 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3645 * several files: ws changes
3647 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3649 * text2.C (setCounter): clean up a bit, use boost.format.
3650 (updateCounters): initialize par upon declaration.
3652 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3653 if the layout exists. We do not just store the layout any more.
3654 (SwitchLayoutsBetweenClasses): use boost.format
3656 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3658 * converter.C (convert): if from and to files are the same, use a
3659 temporary files as intermediary
3661 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3664 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3666 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3668 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3670 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3672 * tabular.C (asciiPrintCell): use string(size, char) instead of
3675 * sgml.C (openTag): fix order of arguments to string constructor
3678 * lyxfunc.C (dispatch): use boost.format
3680 * lots of files: change "c" -> 'c'
3682 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3684 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3686 2002-11-25 Angus Leeming <leeming@lyx.org>
3688 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3690 * lyx_main.C (init): compile fix.
3692 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3694 * lyx_cb.C (start): boost.formatify
3695 do not include <iostream>
3697 * lengthcommon.C: ws only
3699 * boost-inst.C,BoostFormat.h: add more explict instantations
3701 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3703 * lots of files: handle USE_BOOST_FORMAT
3705 2002-11-21 John Levon <levon@movementarian.org>
3707 * pspell.C: fix compile
3709 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3711 * lyxfunc.C (dispatch): use boost::format
3715 * lyxfont.C (stateText): use boost::format
3717 * lyx_main.C (LyX): use boost::format
3719 (queryUserLyXDir): ditto
3722 (typedef boost::function): use the recommened syntax.
3724 * importer.C (Import): use boost::format
3726 * debug.C (showLevel): use boost::format
3728 * converter.C (view): use boost::format
3733 * bufferview_funcs.C (currentState): use boost::format
3735 * bufferlist.C (emergencyWrite): use boost::format
3737 * buffer.C (readLyXformat2): use boost::format
3738 (parseSingleLyXformat2Token): ditto
3740 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3742 * LaTeX.C (run): use boost::format
3744 * Chktex.C (scanLogFile): use boost::format
3746 * BufferView_pimpl.C (savePosition): use boost::format
3747 (restorePosition): ditto
3748 (MenuInsertLyXFile): ditto
3750 * BoostFormat.h: help file for explicit instation.
3752 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3754 * tabular.C (latex): Support for block alignment in fixed width
3757 2002-11-17 John Levon <levon@movementarian.org>
3759 * BufferView_pimpl.C:
3761 * lyxfunc.C: split filedialog into open/save
3763 2002-11-08 Juergen Vigna <jug@sad.it>
3765 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3766 by my last patch (hopefully).
3768 2002-11-08 John Levon <levon@movementarian.org>
3777 * toc.C: ParConstIterator, and use it (from Lars)
3779 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3781 * lyxtextclass.[Ch]: revise and add doxygen comments
3783 2002-11-07 John Levon <levon@movementarian.org>
3785 * text.C: fix progress value for spellchecker
3787 * toc.C: fix navigate menu for insetwrap inside minipage
3789 * paragraph_funcs.C: added FIXME for suspect code
3791 2002-11-07 John Levon <levon@movementarian.org>
3793 * BufferView_pimpl.C: fix redrawing of insets
3796 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3798 * text2.C (updateCounters): fix bug 668
3800 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3802 * text3.C (dispatch): Do not make the buffer dirty when moving the
3805 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3807 * vc-backend.C: STRCONV
3810 * text2.C (setCounter): STRCONV
3812 * paragraph.C (asString): STRCONV
3814 * lyxlength.C (asString): STRCONV
3815 (asLatexString): ditto
3817 * lyxgluelength.C (asString): STRCONV
3818 (asLatexString): ditto
3820 * lyxfunc.C (dispatch): STRCONV
3823 * lyxfont.C (stateText): STRCONV
3825 * importer.C (Import): STRCONV
3827 * counters.C (labelItem): STRCONV
3828 (numberLabel): ditto
3829 (numberLabel): remove unused ostringstream o
3834 * bufferview_funcs.C (currentState): STRCONV
3836 * buffer.C (readFile): STRCONV
3837 (asciiParagraph): ditto
3838 (makeLaTeXFile): ditto
3840 * Spacing.C (writeEnvirBegin): STRCONV
3842 * LaTeXFeatures.C (getLanguages): STRCONV
3843 (getPackages): ditto
3845 (getBabelOptions): ditto
3846 (getTClassPreamble): ditto
3847 (getLyXSGMLEntities): ditto
3848 (getIncludedFiles): ditto
3852 (scanAuxFile): ditto
3855 * LString.h: add the STRCONV macros
3857 * BufferView_pimpl.C (savePosition): STRCONV
3858 (restorePosition): ditto
3859 (MenuInsertLyXFile): ditto
3861 * vc-backend.C (scanMaster): change from submatch[...] to
3864 * funcrequest.C: include config.h
3866 * factory.C: include config.h
3868 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3870 * box.C: include config.h
3872 * LaTeX.C (scanAuxFile): change from submatch[...] to
3876 2002-10-25 Angus Leeming <leeming@lyx.org>
3878 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3880 * ispell.[Ch] (setError): new method.
3881 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3882 Use setError() insetead of goto END.
3884 * lyx_cb.C (AutoSave): move out child process into new class
3887 2002-10-30 John Levon <levon@movementarian.org>
3889 * text3.C: make start appendix undoable
3891 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3893 * lyxlength.C (inPixels): Fix returned value.
3895 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3898 2002-10-24 Angus Leeming <leeming@lyx.org>
3900 * lyxgluelength.h: no need to forward declare BufferParams
3901 or BufferView, so don't.
3903 2002-10-21 John Levon <levon@movementarian.org>
3905 * BufferView.C: menuUndo ->undo, redo
3907 * BufferView.h: document, remove dead, make some methods private
3909 * paragraph_funcs.h:
3910 * paragraph_funcs.C:
3911 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3916 * sgml.C: move sgml open/close tag into sgml.C
3918 * bufferview_funcs.h: unused prototype
3921 * lyxfunc.C: remove unused
3924 * text.C: remove unused
3926 2002-10-21 John Levon <levon@movementarian.org>
3930 * BufferView_pimpl.h:
3931 * BufferView_pimpl.C: fix mouse wheel handling based on
3932 patch from Darren Freeman
3934 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3936 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3938 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3940 * lyxlength.C (inPixels): Fix hanfling of negative length.
3941 Fix LyXLength::MU case.
3943 2002-10-16 John Levon <levon@movementarian.org>
3945 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3947 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3949 * converter.C (view): add support for $$i (file name) and $$p
3950 (file path) for the viewer command. If $$i is not specified, then
3951 it is appended to the command (for compatibility with old syntax)
3953 2002-10-14 Juergen Vigna <jug@sad.it>
3955 * undo_funcs.C (textHandleUndo): alter the order in which the
3956 new undopar is added to the LyXText, as we have to set first
3957 the right prev/next and then add it as otherwise the rebuild of
3958 LyXText is not correct. Also reset the cursor to the right paragraph,
3959 with this IMO we could remove the hack in "redoParagraphs()".
3961 2002-10-09 Angus Leeming <leeming@lyx.org>
3963 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3964 to turn off an optimisation if a new inset is to be inserted.
3966 2002-10-11 André Pönitz <poenitz@gmx.net>
3968 * lyxtext.h: make some functions public to allow access
3969 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3971 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3973 * text3.C (dispatch): when changing layout, avoid an infinite loop
3976 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3978 * lyxrc.C (read): treat a viewer or converter command of "none" as
3981 * MenuBackend.C (expandFormats): for an update, also allow the
3982 formats that are not viewable
3984 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3985 script if it is newer than the lyxrc.defaults in user directory
3987 2002-10-07 André Pönitz <poenitz@gmx.net>
3989 * text.C: Vitaly Lipatov's small i18n fix
3991 2002-09-25 Angus Leeming <leeming@lyx.org>
3993 * ispell.h: doxygen fix.
3995 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3997 * buffer.h (readFile): Add a new argument to the method, to allow
3998 reading of old-format templates.
4000 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4002 * toc.C (getTocList): Get TOC from InsetWrap.
4004 2002-09-16 John Levon <levon@movementarian.org>
4006 * lyxfunc.C: check tabular for cut/copy too
4008 2002-09-12 John Levon <levon@movementarian.org>
4013 * factory.C: add header
4015 * paragraph_funcs.h:
4016 * paragraph_funcs.C: cleanup
4018 2002-09-11 John Levon <levon@movementarian.org>
4020 * PrinterParams.h: odd/even default to true
4022 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4024 * PrinterParams.h: update printer parameters for new xforms dialog
4026 2002-09-11 Angus Leeming <leeming@lyx.org>
4028 * lyxserver.C (read_ready): re-write to make it more transparent
4029 and to make it work in coherent fashion under Tru64 Unix.
4031 2002-09-11 André Pönitz <poenitz@gmx.net>
4035 * text3.C: implement LFUN_WORDSEL
4037 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4039 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4040 make floatlist_ a boost::shared_ptr<FloatList>
4042 * lyxtextclass.C: include FloatList.h
4043 (LyXTextClass): initialize floatlist_
4044 (TextClassTags): add TC_NOFLOAT
4045 (Read): match "nofloat" to TC_NOFLOAT and use it.
4046 (readFloat): modify call to floatlist_
4050 * FloatList.[Ch] (FloatList): remove commented out float
4052 (erase): new function
4054 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4056 * MenuBackend.C (expandToc): fix crash when there is no document
4059 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4061 * many files: Add insetwrap.
4063 2002-09-09 John Levon <levon@movementarian.org>
4065 * text2.C: remove confusing and awkward depth wraparound
4067 2002-09-09 John Levon <levon@movementarian.org>
4069 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4072 * buffer.C: remove getIncludeonlyList()
4075 * lyxfunc.C: remove headers
4077 2002-09-09 Juergen Vigna <jug@sad.it>
4079 * text.C (getColumnNearX): fix form Michael this is most
4080 probably a cut&paste bug.
4082 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4084 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4086 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4087 references, ws changes.
4089 * text2.C (init): update counters after init
4090 (insertParagraph): no need to set counter on idividual paragraphs.
4091 (setCounter): access the counters object in the textclass object
4092 on in the buffer object.
4093 (updateCounters): ditto
4095 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4096 shared_ptr<Counters> to avoid loading counters.h in all
4098 (LyXTextClass): initialize ctrs_
4099 (TextClassTags): add TC_COUNTER, and ...
4100 (Read): use it here.
4101 (CounterTags): new tags
4102 (readCounter): new function
4103 (counters): new funtion
4104 (defaultLayoutName): return a const reference
4106 * counters.C (Counters): remove contructor
4107 (newCounter): remove a couple of unneeded statements.
4108 (newCounter): simplify a bit.
4109 (numberLabel): some small formatting changes.
4111 * buffer.[Ch]: remove all traces of counters, move the Counters
4112 object to the LyXTextClass.
4114 2002-09-06 Alain Castera <castera@in2p3.fr>
4116 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4117 package to set the horizontal alignment on fixed width columns.
4120 * lyx_sty.h: added tabularnewline macro def.
4122 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4124 2002-09-06 John Levon <levon@movementarian.org>
4126 * LyXAction.C: tooltips for sub/superscript
4128 * MenuBackend.C: a bit more verbose
4130 * lyxfunc.C: tiny clean
4132 * undo_funcs.C: document undo_frozen
4134 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4136 * counters.C (Counters): add missing algorithm counter.
4138 * text2.C (setCounter): lookup the counter with layouts latexname
4139 instead of by section number.
4140 (setCounter): use a hackish way to lookup the correct enum
4142 a float name->type change
4143 reset enum couners with counter name directly instead of depth value.
4145 * counters.C (Counters): remove the push_backs, change to use the
4146 float type not the float name.
4147 (labelItem): remove unused string, float name->type change
4149 * counters.h: don't include vector, loose the enums and sects vectors
4151 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4153 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4154 (Read): add float->TC_FLOAT to textclassTags
4155 (Read): and handle it in the switch
4156 (readFloat): new function
4158 * FloatList.C (FloatList): comment out the hardcoded float
4161 * lyxlayout.h: ws change.
4163 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4165 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4167 2002-09-03 Angus Leeming <leeming@lyx.org>
4169 * BufferView_pimpl.h: qualified name is not allowed in member
4170 declaration: WorkArea & Pimpl::workarea() const;
4172 * factory.C: added using std::endl directive.
4174 * text3.C: added using std::find and std::vector directives.
4176 2002-08-29 André Pönitz <poenitz@gmx.net>
4179 * text2.C: remove unused member number_of_rows
4182 * BufferView2.C: remove file, move contents to...
4183 * BufferView.C: ... here
4185 * BufferView_pimpl.C:
4186 * factory.C: move more inset creation to factory
4188 * vspace.C: avoid direct usage of LyXText, ws changes
4191 don't provide direct access to WorkArea, use two simple
4192 acessors haveSelction() and workHeight() instead
4195 2002-08-29 John Levon <levon@movementarian.org>
4197 * BufferView_pimpl.C (dispatch): do not continue when
4200 2002-08-28 André Pönitz <poenitz@gmx.net>
4202 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4205 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4207 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4209 * buffer.C: increment LYX_FORMAT to 221
4211 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4212 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4214 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4216 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4218 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4220 * factory.C (createInset): use LyXTextClass::floats
4222 * MenuBackend.C (expandFloatListInsert):
4223 (expandFloatInsert):
4226 * text2.C (setCounter):
4228 * LaTeXFeatures.C (useFloat):
4229 (getFloatDefinitions):
4231 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4233 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4234 floatlist_, with accessor floats().
4236 * FloatList.h: remove global FloatList
4238 2002-08-26 André Pönitz <poenitz@gmx.net>
4240 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4244 * BufferView_pimpl.C:
4245 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4247 2002-08-25 John Levon <levon@movementarian.org>
4249 * LyXAction.C: fix margin note description
4251 2002-08-24 John Levon <levon@movementarian.org>
4255 * bufferview_funcs.C:
4257 * undo_funcs.C: cleanups
4259 * lyxfunc.C: disable CUT/COPY when no selection
4261 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4263 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4264 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4266 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4267 Add backward compatibility to "mono", "gray" and "no".
4269 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4271 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4272 (and file_format >= 200).
4274 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4276 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4278 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4280 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4282 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4284 * BufferView_pimpl.C:
4291 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4292 inset and code to make it work with the paragraph code. The inset
4293 can be anywhere in the paragraph, but will only do the expected
4294 thing in LaTeX if the layout file contains the parameter line
4296 (or more generally, a nonzero value) for that layout.
4298 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4300 * paragraph.h: remove the declaration of undefined counters class
4303 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4305 * text2.C (setCounter): fixed enumeration mis-count as reported by
4306 Dr. Richard Hawkins.
4308 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4310 * paragraph_funcs.h: remove some unneeded includes
4312 * text.C (backspace): pasteParagraph now in global scipe
4314 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4315 (pasteSelection): ditto
4317 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4318 * paragraph_funcs.C (pasteParagraph): ... here
4320 2002-08-20 André Pönitz <poenitz@gmx.net>
4322 * commandtags.h: new LFUNs for swapping/copying table row/colums
4325 * lyxfunc.C: support for new lfuns
4327 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4330 * buffer.[Ch]: remove NO_COMPABILITY stuff
4332 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4334 * boost.C (throw_exception): new file, with helper function for
4335 boost compiled without exceptions.
4340 * ParameterStruct.h:
4341 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4343 * bufferlist.C (emergencyWriteAll): use boost bind
4345 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4347 * text.C: include paragraph_funcs.h
4348 (breakParagraph): breakParagraph is now in global scope
4350 * paragraph_funcs.[Ch]: new files
4352 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4355 * buffer.C: include paragraph_funcs.h
4356 (insertStringAsLines): breakParagraph is now in global scope
4358 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4361 * CutAndPaste.C: include paragraph_funcs.h
4362 (cutSelection): breakParagraphConservative is now in global scope
4363 (pasteSelection): ditto
4365 * buffer.h: declare oprator== and operator!= for
4366 Buffer::inset_iterator
4368 * bufferlist.C (emergencyWrite): don't use fmt(...)
4370 * text3.C: add using std::endl
4372 * BufferView.C (moveCursorUpdate): remove default arg
4374 2002-08-20 André Pönitz <poenitz@gmx.net>
4376 * buffer.[Ch]: move inline functions to .C
4379 * BufferView_pimpl.C:
4381 * buffer.[Ch]: use improved inset_iterator
4384 * paragraph.[Ch]: write one paragraph at a time
4386 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4388 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4389 style if style is not specified.
4391 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4393 * text2.C (setCounter): when searching for right label for a
4394 caption, make sure to recurse to parent insets (so that a caption
4395 in a minipage in a figure float works) (bug #568)
4397 2002-08-20 André Pönitz <poenitz@gmx.net>
4399 * text3.C: new file for LyXText::dispatch() and helpers
4401 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4403 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4405 2002-08-19 André Pönitz <poenitz@gmx.net>
4408 * text.C: new LyXText::dispatch()
4410 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4412 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4414 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4416 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4419 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4421 * Makefile.am: use $(variables) instead of @substitutions@
4423 2002-08-15 André Pönitz <poenitz@gmx.net>
4426 * BufferView_pimpl.C: streamlining mathed <-> outer world
4430 * LyXAction.C: remove unused LFUN_MATH
4432 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4434 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4436 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4438 * paragraph.C (Paragraph): reformat a bit
4439 (cutIntoMinibuffer): use builtin InsetList function instad of
4443 * buffer.C: include boost/bind.hpp, add using std::for_each
4444 (writeFileAscii): use ParagraphList iterators
4445 (validate): use for_each for validate traversal of paragraphs
4446 (getBibkeyList): use ParagraphList iterators
4447 (resizeInsets): use for_each to resizeInsetsLyXText for all
4449 (getParFromID): use ParagraphList iterators
4451 * BufferView2.C (lockInset): use paragraph list and iterators
4453 2002-08-14 John Levon <levon@movementarian.org>
4455 * lyxserver.C: remove spurious xforms include
4457 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4459 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4461 2002-08-13 André Pönitz <poenitz@gmx.net>
4464 * lyxfunc.C: further cleaning
4466 2002-08-13 André Pönitz <poenitz@gmx.net>
4468 * funcrequest.h: new constructor
4470 * funcrequest.C: move stuff here from .h
4473 * BufferView_pimpl.C:
4476 * lyxfunc.C: subsequent changes
4478 * lyxfunc.h: new view() member function
4480 * lyxfunc.C: subsequent changes
4482 2002-08-13 Angus Leeming <leeming@lyx.org>
4485 * BufferView_pimpl.C:
4493 changes due to the changed LyXView interface that now returns references
4494 to member variables not pointers.
4496 2002-08-13 Angus Leeming <leeming@lyx.org>
4498 * WordLangTuple (word, lang_code): return references to strings,
4503 * lyxtext.h: forward-declare WordLangTuple.
4508 * text.C: #include "WordLangTuple.h".
4511 * text.C: (selectNextWordToSpellcheck): constify return type.
4513 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4519 * paragraph_pimpl.h:
4522 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4524 Made updateCounter always count from start of buffer, and removed
4525 second argument (par).
4526 Reverted floats number display to '#'. Perhaps I'll try again when the
4527 code base is sanitized a bit.
4529 2002-08-12 Angus Leeming <leeming@lyx.org>
4531 * buffer.[Ch] (getLabelList): constify.
4533 2002-08-07 André Pönitz <poenitz@gmx.net>
4535 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4537 * funcrequest.h: extension to keep mouse (x,y) position
4539 2002-08-12 Juergen Vigna <jug@sad.it>
4541 * BufferView2.C (insertErrors): forbid undo when inserting error
4544 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4546 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4548 * ParagraphList.[Ch]: new files
4550 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4552 * BufferView2.C (lockInset): ParagraphList changes
4555 * bufferlist.C: ditto
4559 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4561 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4562 unused class variable counter_,
4564 * paragraph.[Ch] (getFirstCounter): delete unused function
4566 * counters.C: include LAssert.h
4567 (reset): add a new function with no arg, change other version to
4568 not have def. arg and to not allow empty arg.
4570 * text2.C (setCounter): remove empty arg from call to Counters::reset
4572 2002-08-11 John Levon <levon@movementarian.org>
4574 * Makefile.am: add WordLangTuple.h
4576 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4578 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4579 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4581 * insets/insettext.C: InsetList changes
4583 * graphics/GraphicsSupport.C (operator()): InsetList changes
4585 * toc.C (getTocList): InsetList changes
4587 * paragraph_pimpl.[Ch]: InsetList changes
4589 * paragraph.[Ch]: InsetList changes
4591 * buffer.C (inset_iterator): InsetList changes
4592 (setParagraph): ditto
4593 * buffer.h (inset_iterator): ditto
4594 * iterators.C (operator++): ditto
4595 * iterators.h: ditto
4597 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4599 * InsetList.[Ch]: new files, most InsetList handling moved out of
4602 * BufferView2.C (removeAutoInsets): InsetList changes
4604 (ChangeInsets): ditto
4606 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4608 * paragraph_pimpl.h (empty): new function
4610 * paragraph.[Ch] (empty): new function
4612 * other files: use the new Paragraph::empty function
4614 2002-08-09 John Levon <levon@movementarian.org>
4616 * lyxtext.h: remove unused refresh_height
4618 2002-08-09 John Levon <levon@movementarian.org>
4625 * paragraph.C: move sgml char escaping out of paragraph
4628 * paragraph.C: remove id setter
4632 * paragraph_pimpl.C: remove dead tex_code_break_column
4634 * bufferview_funcs.C: small cleanup
4636 * lyxfunc.C: remove dead proto
4638 * lyxtext.h: make some stuff private. Remove some dead stuff.
4640 * lyxgluelength.C: make as[LyX]String() readable
4642 2002-08-08 John Levon <levon@movementarian.org>
4647 * ToolbarDefaults.C:
4650 * toc.C: lyxaction cleanup
4652 2002-08-08 John Levon <levon@movementarian.org>
4654 * BufferView2.C: small cleanup
4657 * lyxfind.C: move unnecessary header into the .C
4659 2002-08-08 John Levon <levon@movementarian.org>
4661 * funcrequest.h: just tedious nonsense
4664 * lyx_main.C: cleanups
4667 * vspace.C: remove dead header lyx_main.h
4669 2002-08-07 Angus Leeming <leeming@lyx.org>
4672 * paragraph_pimpl.h:
4673 Forward declare class Counters in paragraph.h by moving the ctrs member
4674 variable into Paragraph::Pimpl.
4675 (counters): new method, returning a reference to pimpl_->ctrs.
4677 * text2.C: ensuing changes.
4679 2002-08-07 John Levon <levon@movementarian.org>
4681 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4683 * BufferView_pimpl.C: announce X selection on double/triple
4686 * lyx_main.C: use correct bool in batch dispatch
4688 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4690 2002-08-07 André Pönitz <poenitz@gmx.net>
4692 * funcrequest.h: new class to wrap a kb_action and its argument
4695 * BufferView_pimpl[Ch]:
4699 * lyxrc.C: subsequent changes
4702 2002-08-07 John Levon <levon@movementarian.org>
4704 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4705 document options change.
4707 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4712 * makefile.am: move counters functionality over from
4713 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4715 2002-08-06 John Levon <levon@movementarian.org>
4717 * WordLangTuple.h: new file for word + language code tuple
4728 * BufferView2.C: use WordLangTuple
4731 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4733 2002-08-06 John Levon <levon@movementarian.org>
4735 * lyx_main.C: fix cmdline batch handling
4737 2002-08-06 André Pönitz <poenitz@gmx.net>
4739 * lyxrc.C: set default for show_banner to true
4741 2002-08-06 John Levon <levon@movementarian.org>
4743 * pspell.C: fix a crash, and allow new aspell to work
4745 2002-08-06 John Levon <levon@movementarian.org>
4748 * kbmap.C: small cleanup
4751 * vspace.C: add const
4753 2002-08-05 John Levon <levon@movementarian.org>
4755 * LyXAction.C: back to tabular-insert
4757 2002-08-04 John Levon <levon@movementarian.org>
4760 * BufferView.C: cosmetic change
4762 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4772 * BufferView2.C: purge all "Lyx" not "LyX" strings
4775 * lyxcursor.C: attempt to add some documentation
4780 * ToolbarDefaults.C:
4781 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4782 merge with LFUN_TABULAR_INSERT
4789 * pspell.C: split up i/pspell implementations into separate
4790 files, many cleanups
4792 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4794 * text2.C: some cleanup
4796 * lyxfunc.C: don't check for isp_command == "none" any more, it
4797 didn't make any sense
4799 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4804 * makefile.am: move counters functionality over
4805 from text2.C/paragraph.[Ch] to counters.[Ch], and
4807 2002-08-02 John Levon <levon@movementarian.org>
4809 * buffer.C: s/lyxconvert/lyx2lyx/
4811 2002-08-02 Angus Leeming <leeming@lyx.org>
4813 * lyxlex.C: revert John's change as it breaks reading of the user
4816 2002-08-02 Angus Leeming <leeming@lyx.org>
4818 * importer.C (Import):
4819 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4820 changes due to LyXView::view() now returning a boost::shared_ptr.
4822 2002-08-02 John Levon <levon@movementarian.org>
4824 * lyxlex.C: small cleanup
4826 2002-08-02 John Levon <levon@movementarian.org>
4828 * text2.C (status): small cleanup, no logic change
4830 2002-08-01 John Levon <levon@movementarian.org>
4833 * buffer.C (writeFile): don't output alerts, caller
4837 * lyx_cb.C: from above
4839 * lyxfunc.C: allow to open non-existent files
4841 2002-07-31 John Levon <levon@movementarian.org>
4843 * lyxserver.C: don't let incidental errors get
4846 2002-07-30 John Levon <levon@movementarian.org>
4848 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4850 2002-07-30 John Levon <levon@movementarian.org>
4853 * lyxserver.C: remove I/O callback too
4855 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4857 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4860 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4862 * many files: strip,frontStrip -> trim,ltrim,rtrim
4864 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4866 * PrinterParams.h: remove extern containsOnly, and include
4867 support/lstrings.h instead.
4869 * LaTeX.C (scanAuxFile): modify because of strip changes
4871 * buffer.C (makeLaTeXFile): ditto
4872 * bufferparams.C (writeFile): ditt
4873 * lyxfont.C (stateText): ditto
4874 * lyxserver.C (read_ready): ditto
4875 * vc-backend.C (scanMaster): ditto
4877 * BufferView_pimpl.h: ws changes
4879 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4881 2002-07-26 André Pönitz <poenitz@gmx.net>
4883 * kb_sequence.C: remove unnedred usings
4885 2002-07-26 Juergen Vigna <jug@sad.it>
4887 * lyxfind.C (LyXReplace): we have to check better if the returned
4888 text is not of theLockingInset()->getLockingInset().
4890 2002-07-25 Juergen Vigna <jug@sad.it>
4892 * lyxfind.C (LyXReplace): don't replace if we don't get the
4895 * undo_funcs.C (createUndo): remove debugging code.
4897 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4899 * buffer.C (parseSingleLyXformat2Token): Use default placement
4900 when reading old floats.
4902 * FloatList.C (FloatList): Change the default placement of figure
4903 and tables to "tbp".
4905 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4907 * MenuBackend.C: using std::max
4909 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4911 * MenuBackend.C (expandToc):
4912 (expandToc2): code moved from xforms menu frontend. It is now
4913 generic and TOCs are transparent to menu frontends.
4915 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4917 * toc.C (getTocList): protect against buf=0
4919 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4920 Menu as first parameter. Now, this calls itself recursively to
4921 expand a whole tree (this will be useful for TOC handling)
4922 (expandFloatInsert): remove 'wide' version of floats
4924 * MenuBackend.h (submenuname): returns the name of the submenu.
4925 (submenu): returns the submenu itself, provided it has been
4926 created by MenuBackend::expand
4928 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4930 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4931 insets which have noFontChange == true. (bug #172)
4933 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4935 * BufferView_pimpl.C: add connection objects and use them...
4938 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4940 * MenuBackend.C (expandLastfiles):
4943 (expandFloatListInsert):
4944 (expandFloatInsert):
4945 (expand): split expand in parts
4947 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4949 * lyx_gui.C: use lyx_gui::exit()
4951 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4953 * LyXAction.C: show the failing pseudo action
4955 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4957 * buffer.C (readFile): Run the lyxconvert script in order to read
4960 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4964 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4966 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4970 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4972 2002-07-22 Herbert Voss <voss@lyx.org>
4975 * lyxlength.[Ch]: add support for the vertical lengths
4977 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4979 * toc.[Ch]: std:: fixes
4981 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4983 * lyxrc.C: do not include lyx_main.h
4985 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4991 * BufferView2.C: include "lyxlex.h"
4994 * bufferparams.h: do not #include "lyxlex.h"
4996 * lyxtextclasslist.C (Add): remove method
4997 (classlist): renamed to classlist_
4999 * paragraph_pimpl.C:
5003 * bufferview_funcs.C:
5008 * toc.C (getTocList): use BufferParams::getLyXTextClass
5010 * toc.C (getTocList): use InsetFloat::addToToc
5012 * toc.[Ch]: new files, containing helper functions to handle table
5015 * lyxfunc.C (dispatch): no need to remove spaces around command
5017 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5018 first command of the sequence; it is not very clever, but I do not
5019 have a better idea, actually
5021 * LyXAction.C (LookupFunc): make sure to remove space at the
5022 beginning and end of the command
5024 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5026 * MenuBackend.C (getMenubar): new method: return the menubar of
5028 (read): treat differently reading of menu and menubar (in
5029 particular, the menubar has no name now)
5030 (Menu::menubar): remove
5032 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5035 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5037 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5038 a bibitem inset in a RTL paragraph.
5040 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5042 * paragraph_pimpl.C: constify
5044 * BufferView_pimpl.C:
5046 * lyxfunc.C: fix dispatch in a nicer way
5048 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5050 * lyxfunc.C (dispatch):
5051 * BufferView_pimpl.C:
5052 * BufferView_pimpl.h:
5054 * BufferView.h: rename Dispatch() to dispatch()
5056 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5058 * lyxlayout.C (Read): honor DependsOn tag
5060 * lyxlayout.[Ch] (depends_on): new method
5062 * version.C.in: update lyx_docversion
5064 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5066 * paragraph.C (validate): remove from here...
5067 * paragraph_pimpl.C (validate): ... and move here
5068 (isTextAt): make it const
5070 * buffer.C (getLists): ws cleanup
5072 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5074 * language.C (read): Use iso8859-1 encoding in latex_lang
5075 (this prevents LyX from crashing when using iso10646-1 encoding).
5077 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5079 * text2.C (toggleInset): if cursor is inside an inset, close the
5080 inset and leave cursor _after_ it
5082 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5084 * lyxfunc.C: move minibuffer completion handling out of here
5086 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5088 * BufferView_pimpl.C:
5089 * LaTeX.C: fix dispatch calls
5091 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5093 * text.C (drawChars): Fix Arabic text rendering.
5095 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5099 * lyxfunc.C: remove message-push/pop
5103 * lyxfunc.C: rationalise some code by removing verboseDispatch
5104 in favour of a bool argument to dispatch()
5106 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5108 * lyx_main.C (init): make sure to read symlinks as absolute paths
5110 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5113 * lyxfunc.C: no need for commandshortcut to be a member
5115 2002-07-15 André Pönitz <poenitz@gmx.net>
5117 * converter.C: add support for $$s (scripts from lib/scripts dir)
5118 * lyx_main.C: white space
5120 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5124 * lyxrc.C: remove second exit confirmation
5126 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5131 * BufferView_pimpl.h:
5132 * BufferView_pimpl.C:
5133 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5135 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5137 * MenuBackend.C (expand): add numeric shortcuts to document menu
5139 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5141 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5143 * lyxfont.C (setLyXFamily):
5150 * buffer.C (asciiParagraph): use ascii_lowercase
5152 2002-07-15 Mike Fabian <mfabian@suse.de>
5154 * lyxlex_pimpl.C (search_kw):
5155 * lyxlex.C (getLongString):
5156 * converter.h (operator<):
5157 * converter.C (operator<):
5158 * buffer.C (parseSingleLyXformat2Token):
5160 * ToolbarDefaults.C (read):
5161 * MenuBackend.C (checkShortcuts):
5163 * LColor.C (getFromGUIName):
5164 (getFromLyXName): use the compare_ascii_no_case instead of
5165 compare_no_case, because in turkish, 'i' is not the lowercase
5166 version of 'I', and thus turkish locale breaks parsing of tags.
5168 2002-07-16 Angus Leeming <leeming@lyx.org>
5170 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5171 now takes a Buffer const & argument.
5173 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5175 * BufferView.C (resize): check there's a buffer to resize
5177 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5179 * lyxfunc.C: remove dead code
5182 * lyxserver.C: use lyx_guii::set_read_callback
5184 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5186 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5187 an inset in a RTL paragraph.
5189 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5191 * lyxfunc.C: repaint after a font size update
5193 2002-07-15 André Pönitz <poenitz@gmx.net>
5195 * lyxlength.C: inBP should be able to return negative values
5197 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5199 * lyxfunc.C: use lyx_gui::update_fonts()
5201 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5203 * lyxfunc.C: use lyx_gui::update_color()
5205 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5211 * lyxrc.C: remove file->new asks for name option, and let
5212 buffer-new take an argument
5214 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5216 * BufferView_pimpl.C: remove unneeded extra repaint()
5218 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5220 * LyXAction.C: allow command-sequence with NoBuffer
5222 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5224 2002-07-10 Angus Leeming <leeming@lyx.org>
5226 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5228 2002-07-09 Angus Leeming <leeming@lyx.org>
5230 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5232 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5234 * lengthcommon.h: whitespace
5236 * lyxfunc.C: update scrollbar after goto paragraph
5238 * lyxtext.h: factor out page break drawing, and fix it so
5239 page break/added space paints as selected nicely
5241 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5243 * BufferView_pimpl.C: add FIXMEs, clean up a little
5245 2002-07-09 André Pönitz <poenitz@gmx.net>
5247 * lyxfont.[Ch]: support for wasy symbols
5249 2002-07-08 André Pönitz <poenitz@gmx.net>
5251 * BufferView_pimpl.C: apply John's patch for #93.
5253 2002-07-05 Angus Leeming <leeming@lyx.org>
5255 * BufferView_pimpl.C (buffer): generate previews if desired.
5257 * LColor.h: add "preview" to the color enum.
5259 * LColor.C (LColor): add a corresponding entry to the items array.
5261 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5264 2002-07-05 Angus Leeming <leeming@lyx.org>
5266 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5267 The body of the code is now in the method that is passed an ostream &
5268 rather than a file name.
5269 Pass an additional only_preamble parameter, useful for the forthcoming
5272 2002-07-03 André Pönitz <poenitz@gmx.net>
5274 * lyxfunc.C: simplify getStatus() a bit for math stuff
5276 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5278 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5280 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5282 * text.C (changeRegionCase): do not change case of all the
5283 document when region ends at paragraph end (bug #461)
5285 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5287 * paragraph.C (startTeXParParams):
5288 (endTeXParParams): add \protect when necessary
5290 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5292 * BufferView_pimpl.C (workAreaExpose): remove warning
5294 2002-06-27 Angus Leeming <leeming@lyx.org>
5296 * Makefile.am: add lyxlayout_ptr_fwd.h.
5298 2002-06-26 André Pönitz <poenitz@gmx.net>
5300 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5302 2002-06-25 Angus Leeming <leeming@lyx.org>
5304 * lyxfunc.C (dispatch): Comment out the call to
5305 grfx::GCache::changeDisplay. The method no longer exists now that the
5306 pixmap generation part of the graphics loader has been moved into
5309 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5311 * text2.C: layout as layout
5313 * text.C: layout as layout
5315 * tabular.C (OldFormatRead): layout as layout
5317 * paragraph_pimpl.C (TeXDeeper): layout as layout
5318 (realizeFont): layout as layout
5320 * paragraph.C (writeFile): layout as layout
5321 (validate): layout as layout
5322 (getFont): layout as layout
5323 (getLabelFont): layout as layout
5324 (getLayoutFont): layout as layout
5325 (breakParagraph): layout as layout
5326 (stripLeadingSpaces): layout as layout
5327 (getEndLabel): layout as layout
5328 (getMaxDepthAfter): layout as layout
5329 (applyLayout): layout as layout
5330 (TeXOnePar): layout as layout
5331 (simpleTeXOnePar): layout as layout
5332 (TeXEnvironment): layout as layout
5333 (layout): layout as layout
5334 (layout): layout as layout
5336 * lyxtextclass.C (compare_name): new functor to work with
5337 shared_ptr, layout as layout
5338 (Read): layout as layout
5339 (hasLayout): layout as layout
5340 (operator): layout as layout
5341 (delete_layout): layout as layout
5342 (defaultLayout): layout as layout
5344 * lyxlayout_ptr_fwd.h: new file
5346 * lyxlayout.C (Read): layout as layout
5348 * lyx_cb.C (MenuInsertLabel): layout as layout
5350 * bufferlist.C (newFile): layout as layout
5352 * buffer.C (readLyXformat2): layout as layout
5353 (parseSingleLyXformat2Token): layout as layout
5354 (insertStringAsLines): layout as layout
5355 (asciiParagraph): layout as layout
5356 (latexParagraphs): layout as layout
5357 (makeLinuxDocFile): layout as layout
5358 (simpleLinuxDocOnePar): layout as layout
5359 (makeDocBookFile): layout as layout
5360 (simpleDocBookOnePar): layout as layout
5361 (getLists): layout as layout
5363 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5365 * CutAndPaste.C (cutSelection): layout as layout
5366 (pasteSelection): layout as layout
5367 (SwitchLayoutsBetweenClasses): layout as layout
5369 * BufferView_pimpl.C (Dispatch): layout as layout
5370 (smartQuote): layout as layout
5372 * BufferView2.C (unlockInset): layout as layout
5374 2002-06-24 André Pönitz <poenitz@gmx.net>
5376 * lyxfunc.C: fix #487
5378 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5382 * lyxfunc.C: remove display_shortcuts, show_banner
5384 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5386 * Buffer_pimpl.C: oops, update on resize
5388 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5395 * BufferView.C: use repaint()
5397 * BufferView_pimpl.h:
5398 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5399 as it's a clearer description. Remove superfluous
5402 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5404 * text.C: fix bug 488. Not ideal, but getting
5405 getWord() to work properly for the insets that
5406 matter is more difficult ...
5408 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5410 * BufferView_pimpl.C:
5413 * lyxfunc.C: remove the six million index lyxfuncs to just
5414 one, and DTRT (bug 458)
5416 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5420 * BufferView_pimpl.h:
5421 * BufferView_pimpl.C: clean up resize() stuff,
5422 and unnecessary updateScreen()s
5424 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5428 * BufferView_pimpl.h:
5429 * BufferView_pimpl.C:
5432 * minibuffer.C: remove focus management of workarea,
5433 not needed. Use screen's greyOut()
5435 2002-06-17 Herbert Voss <voss@lyx.org>
5437 * converter.C: (convert) do not post a message, when converting
5438 fails, let the calling function decide what to do in this case
5440 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5442 * lyxfunc.C: tidy up a little
5444 2002-06-16 <alstrup@diku.dk>
5446 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5447 Got rid of FORMS_H_LOCATION include. Now we are
5450 2002-06-15 LyX Development team <lyx@rilke>
5452 * buffer.[Ch] (sgmlOpenTag):
5453 (sgmlCloseTag): Added support for avoiding pernicious mixed
5454 content. Return number of lines written.
5457 (makeDocBookFile): Fixed calls to sgml*Tag.
5458 Simple white space clean.
5460 (simpleDocBookOnePar): Simple white space clean.
5462 * tabular.[Ch] (docBook): Renamed to docbook and got another
5463 argument to related with the pernicious mixed content.
5465 (docbookRow): Fixed calls for docbook inset method.
5467 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5469 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5470 so it's X11 independent.
5474 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5476 2002-06-15 Lyx Development team <lyx@electronia>
5478 * intl.h: Renamed getTrans to getTransManager.
5480 2002-06-14 Angus Leeming <leeming@lyx.org>
5482 * Makefile.am: nuke forgotten stl_string_fwd.h.
5484 2002-06-12 Angus Leeming <leeming@lyx.org>
5486 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5488 2002-06-13 Angus Leeming <leeming@lyx.org>
5491 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5493 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5495 * kbmap.C (getiso): add support for cyrillic and greek
5497 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5501 * BufferView_pimpl.h:
5502 * BufferView_pimpl.C: move bogus scrolling logic
5505 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5508 * BufferView_pimpl.C: view->resize() change
5510 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5512 * BufferView_pimpl.C: topCursorVisible
5515 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5519 * lyx_gui.C: move to frontends/
5523 * lyx_main.C: changes from above
5525 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5532 * lyx_main.C: minor tidy
5534 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5536 * BufferView_pimpl.h:
5537 * BufferView_pimpl.C:
5539 * BufferView.C: make painter() const,
5542 * BufferView2.C: use screen() accessor
5545 * lyx_main.C: some minor cleanup
5547 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5549 * BufferView_pimpl.h:
5550 * BufferView_pimpl.C: remove enter/leaveView,
5553 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5558 * BufferView_pimpl.h:
5559 * BufferView_pimpl.C: only construct screen once,
5562 * lyxrc.C: remove pointless comment
5564 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5567 * BufferView.C: remove active() and belowMouse()
5569 * BufferView_pimpl.h:
5570 * BufferView_pimpl.C: use workarea() not workarea_,
5571 and make it use a scoped_ptr instead
5573 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5575 * lyx_gui.C: add debug message on BadWindow
5577 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5579 * sp_spell.C: fdopen is not part of the C++ standard.
5581 * paragraph.C (InsetIterator): use >= instead of ==
5583 2002-06-07 Angus Leeming <leeming@lyx.org>
5585 Fixes needed to compile with Compaq cxx 6.5.
5586 * BufferView_pimpl.C:
5593 * lyxtextclasslist.C:
5598 all c-library variables have been moved into namespace std. Wrap
5599 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5604 Add a using std::abs declaration.
5606 * kbmap.h (modifier_pair):
5607 * paragraph.h (InsetTable, InsetList):
5608 * lyxfont.h (FontBits):
5609 type definition made public.
5611 * bufferlist.C (emergencyWriteAll): the compiler complains that
5612 there is more than one possible lyx::class_fun template to choose from.
5613 I re-named the void specialisation as lyx::void_class_fun.
5615 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5617 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5618 the compiler is is unable to find tostr in write_attribute.
5620 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5622 * buffer.C (sgmlError): hide #warning
5624 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5626 * xtl/*: get rid of xtl, which is not in use anyway
5628 * LyXAction.C (init):
5629 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5630 were unimplemented xtl experimentation
5632 2002-06-04 André Pönitz <poenitz@gmx.net>
5634 * lyxfunc.C: disable array operation on simple formulae
5636 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5638 * converter.C: constify a bit
5640 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5642 * lyx_gui.C: check xforms version correctly
5644 2002-04-30 Herbert Voss <voss@lyx.org>
5646 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5649 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5651 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5652 attempt to register it with a VCS)
5654 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5656 * lyx_main.C (init): honor variables LYX_DIR_13x and
5659 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5663 * lyx_main.C: fix a crash on bad command line,
5664 and give a useful exit status on error
5666 * lyxfunc.C (doImport): allow -i lyx to work
5668 2002-03-30 André Pönitz <poenitz@gmx.net>
5670 * lyxfunc.C: mathed font changes
5672 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5687 * trans_mgr.h: srcdocs, and some minor cleanups
5689 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5691 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5692 call getFont all the time)
5694 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5696 * switch from SigC signals to boost::signals
5698 2002-05-29 André Pönitz <poenitz@gmx.net>
5700 * paragraph_pimpl.C (getChar): don't call size() too often...
5702 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5704 * paragraph_pimpl.C (insertChar): do not try to update tables when
5705 appending (pos == size())
5707 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5708 in order to reduce drastically the number of comparisons needed to
5709 parse a large document
5711 2002-05-29 André Pönitz <poenitz@gmx.net>
5717 * textclasslist.[Ch]:
5718 * sp_ispell.h: whitespace change
5720 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5722 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5723 lyxaction directly now.
5725 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5729 * lyxvc.C: remove unused headers
5731 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5738 * undo_funcs.C: some cleanups. Use shared_ptr
5739 and a template for the undo stacks.
5741 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5743 * BufferView_pimpl.h:
5744 * BufferView_pimpl.C:
5751 * text2.C: use key_state/mouse_state
5753 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5755 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5758 * chset.C: change include order
5759 (loadFile): use boost regex and get rid of LRegex and LSubstring
5761 * Makefile.am (BOOST_LIBS): new variable
5764 * LaTeX.C: change include order.
5765 (scanAuxFile): use boost regex and get rid of LRegex and
5769 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5774 * FontInfo.C: moved to frontends/xforms/
5777 * FontLoader.C: moved into frontends for GUIIzation
5782 * lyxfunc.C: changes from above
5784 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5786 * LColor.C: remove spurious X include
5788 * BufferView_pimpl.C:
5793 * text2.C: move font metrics to frontends/
5795 2002-05-24 Juergen Vigna <jug@sad.it>
5797 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5798 setting the undo_cursor.
5800 * ParagraphParameters.h: include local includes first.
5802 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5804 * BufferView_pimpl.C:
5805 * BufferView_pimpl.h:
5809 * screen.C: move WorkArea into frontends/
5815 * BufferView2.C: move LyXScreen into frontends/
5819 * lyx_gui.C: move lyxlookup into frontends/xforms/
5821 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5824 * BufferView_pimpl.C:
5834 * bufferview_funcs.C:
5847 * vc-backend.C: move LyX/XFormsView into frontends/
5849 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5861 * text2.C: move Painter to frontends/
5863 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5865 * buffer.C: comment out some some code that depend upon lyx_format
5868 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5869 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5871 * buffer.h (NO_COMPABILITY): turn off compability
5873 * ColorHandler.C: include scoped_array.hpp
5875 * font.C: Use more specific smart_ptr header.
5878 * ShareContainer.h: ditto
5882 * BufferView_pimpl.h: ditto
5883 * ColorHandler.h: ditto
5885 * kbmap.C (defkey): change call to shared_ptr::reset
5887 2002-05-21 Juergen Vigna <jug@sad.it>
5889 * buffer.C (insertErtContents): fix to insert ert asis if it is
5890 non empty. Skip it completely if it contains only whitespaces.
5892 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5894 * BufferView_pimpl.C:
5895 * BufferView2.C: clear selection on paste (bug 393)
5897 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5899 * DepTable.C: include ctime
5901 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5903 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5905 2002-05-14 Juergen Vigna <jug@sad.it>
5907 * text.C (breakParagraph): fixed function to honor the keepempty
5908 layout in the right maner and also to permit the right breaking
5909 algorithm on empty or non empyt keepempty paragraphs.
5911 * paragraph.C (breakParagraph): we have to check also if the par
5912 is really empty (!size()) for isempty otherwise we do the wrong
5915 2002-05-10 Juergen Vigna <jug@sad.it>
5917 * buffer.[Ch] : The following are only changes to the ert
5918 compatibility read reading old LaTeX layout and font stuff and
5919 convert it to ERTInsets.
5921 * buffer.h: added isErtInset().
5923 * buffer.C (struct ErtComp): add a fromlayout bool to check
5924 if we're inside a LaTeX layout.
5925 (isErtInset): new helper function.
5926 (insertErtContents): look for other ert insets before this one
5927 and insert the contents there, so that we don't have subsequent
5928 ERT insets with nothing between them. This way we create only one
5929 inset with multiple paragraphs. Also check if we don't insert only
5930 spaces ' ' as they are ignored anyway afterwards in the .tex file
5931 so if we have only spaces we will ignore this latex part in the
5933 (parseSingleLyXformat2Token \\layout): better compatibility when
5934 reading layout-latex stuff.
5935 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5937 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5938 stuff after reading the inset only get the information back from
5941 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5943 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5945 * LaTeXFeatures.C (getBabelOptions): New method.
5947 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5949 * BufferView_pimpl.C (Dispatch): work around missing argument for
5952 2002-05-08 Juergen Vigna <jug@sad.it>
5954 * text.C (leftMargin): handle paragraph leftindent.
5956 * paragraph.C (writeFile): write the new \\leftindent tag.
5957 (validate): handle leftindent code.
5958 (TeXEnvironment): handle paragraphleftindent code again.
5960 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5962 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5963 for paragrap_extra indent code and new token \\leftindent.
5964 (latexParagraphs): handle the leftindent as environment.
5966 * ParameterStruct.h: added leftindent support.
5968 * ParagraphParameters.C (leftIndent): added support functions for
5969 the paragraph left indent.
5971 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5974 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5976 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5979 * text.C (computeBidiTables): No bidi in insetERT.
5981 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5984 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5986 * version.C.in: pre 5
5988 2002-05-02 José Matos <jamatos@fep.up.pt>
5989 * buffer.C (makeDocBookFile): white space changes, add newline to
5991 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5993 * tabular.C (docBook): fix typo.
5995 2002-05-03 Juergen Vigna <jug@sad.it>
5997 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5998 change in LyXText as we can not be sure it was not freed.
5999 (drawOneRow): remove unused code.
6001 * text.C (drawInset): redo the calculation of the need_break_row as
6002 it could have a row which was already freed.
6003 (draw): look at the return value of drawInset and return false if
6004 it also returned false.
6005 (paintRowText): look at the return value of draw and return false if
6006 it also returned false.
6008 * lyxtext.h: added bool return type to drawInset() and draw() so that
6009 if we have a change in the row so that the rowbreak has to be redone
6010 we abort drawing as it will be called again.
6012 2002-05-02 Juergen Vigna <jug@sad.it>
6014 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6015 a change in the maintext also if we're inside an inset.
6016 (Dispatch): set the cursor again after a break line and after the
6017 screen has been updated as it could be we're in a different row.
6019 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6020 to set the cursor behind the pargraph with > size().
6021 (setCursor): check also for the same paragraph when checking where
6022 to put the cursor if we have a NFR inset.
6024 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6025 parts of layout read further up as it still was in the wrong
6028 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6030 * screen.C (drawFromTo): change sine fullRebreak always return
6033 * buffer.C (parseSingleLyXformat2Token): reindent some
6035 * BufferView_pimpl.C (update): change since fullRebreak always
6037 (Dispatch): git rid of the last hardcoded "Standard"s.
6039 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6041 * text2.[Ch] (fullRebreak): make it return void now that we always
6044 2002-04-30 Juergen Vigna <jug@sad.it>
6046 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6047 ert compatibility check for "latex" layout.
6049 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6051 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6052 minipages: use col% instead of p%, and also use the current font.
6053 (makeLaTeXFile): Fix use babel condition.
6054 (parseSingleLyXformat2Token): Correct font when reading old floats.
6056 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6058 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6059 inserting list of floats.
6061 2002-04-25 Herbert Voss <voss@lyx.org>
6063 * MenuBackend.C (expand): don't add the graphics extensions to the
6066 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6068 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6069 non-existing layout, do not complain if it was the default layout
6070 of the original class (bug #342)
6072 2002-04-24 Juergen Vigna <jug@sad.it>
6074 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6075 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6077 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6079 * buffer.C (getBibkeyList): If using \bibliography, return the
6080 option field with the reference itself. Enables us to provide natbib
6081 support when using \bibliography.
6083 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6085 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6087 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6088 natbib is provided by the LaTeX class.
6090 2002-04-23 Juergen Vigna <jug@sad.it>
6092 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6095 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6097 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6099 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6101 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6102 ensuremath around textordmasculine, textordfeminine and
6105 2002-04-19 Juergen Vigna <jug@sad.it>
6107 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6108 reinitializing the buffer otherwise row-dimensions may be wrong.
6109 (update): reset also the selection cursors if they do exits otherwise
6110 their x/y positions may be wrong.
6112 * text2.C (cursorDown): don't enter the inset if we came from a row
6113 above and are one row over the inset.
6115 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6116 really leaving an inset.
6118 2002-04-18 Juergen Vigna <jug@sad.it>
6120 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6121 of the selected paragraph does not have the selected layout also if
6124 * text2.C (setLayout): fixed bug which did not change last selected
6127 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6128 changed the read and substituted \\end_float with \\end_inset!
6130 * BufferView_pimpl.C (cursorPrevious):
6131 (cursorNext): fixed to make it work with rows heigher than the work
6132 area without moving the cursor only the draw of the row.
6133 (workAreaMotionNotify): fix jumping over high rows.
6135 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6137 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6140 2002-04-16 Juergen Vigna <jug@sad.it>
6142 * text2.C (setCursor): set also the irow().
6143 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6145 (cursorDown): support for locking an inset if the x_fix value goes
6146 inside it. That way I can transverse insets too with cursor up/down.
6148 * lyxrow.h: added irow helper function same as other (i) functions.
6150 * BufferView_pimpl.C (cursorPrevious):
6151 (cursorNext): fixed for insets!
6153 2002-04-15 Juergen Vigna <jug@sad.it>
6155 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6156 position otherwise it is wrong in some cases.
6158 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6159 inside the inset before the call.
6161 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6163 * buffer.[Ch] (getBibkeyList): make it const.
6165 2002-04-12 Juergen Vigna <jug@sad.it>
6167 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6169 * text2.C (getCursorX): new helper function
6170 (setCursor): compute also ix_
6171 (setCursorFromCoordinates): set also ix.
6173 * lyxcursor.h: added ix_ and helper functions.
6175 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6177 * buffer.C (insertStringAsLines): dont break paragraph if the this
6178 paragraph is inside an inset which does not permit it!
6180 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6181 also with no chars on this paragraph.
6182 (paintRowText): only paint stuff if it's inside the workarea!
6184 * paragraph.C (breakParagraph): honor keepempty flag and break the
6185 paragraph always below not above.
6187 * BufferView2.C (unlockInset): update the paragraph layout on inset
6188 unlock as we changed paragraph in such a case.
6190 * lyxfind.C (LyXFind): clear the former selection if not found!
6192 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6193 again called in insertChar().
6195 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6196 an inset which uses the whole row!
6197 (rightMargin): ditto.
6198 (insertChar): force a rebreak if we inserted an inset!
6200 2002-03-28 Herbert Voss <voss@lyx.org>
6202 * lyxlength.[Ch]: add inBP() to get the right PS-point
6203 units (BigPoint). With inPixels we have rounding errors
6205 2002-04-11 Juergen Vigna <jug@sad.it>
6207 * text2.C (setCursorFromCoordinates): set iy to the right value.
6208 (setCursor): add check if row->previous exists!
6210 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6211 an old float_type as this was the case in the old code!
6213 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6215 * BufferView2.C (showLockedInsetCursor): use iy
6216 (fitLockedInsetCursor): ditto
6218 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6219 locked insets as there we have the right value now.
6221 * lyxcursor.C: added iy_ variable and iy functions to set to the
6222 baseline of cursor-y of the locked inset.
6224 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6225 (setCursor): fixed for insets which need a full row.
6227 * text.C (rowLastPrintable): don't ignore the last space when before
6228 an inset which needs a full row.
6229 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6230 as last character of a row when before a inset which needs a full row.
6232 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6234 * version.C.in: update date
6236 * text2.C (fullRebreak): try to always return true and see what
6239 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6241 * MenuBackend.C (expand): use Floating::listName
6243 * FloatList.C (FloatList): add listName argument to the built-in
6246 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6247 text associated with the float.
6249 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6251 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6253 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6255 * ShareContainer.h: add a couple of missing typenames.
6257 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6259 * lyxrc.C (getDescription): use _() correctly rather than N_().
6261 2002-03-28 Herbert Voss <voss@lyx.org>
6263 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6264 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6266 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6268 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6269 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6271 2002-03-29 Juergen Vigna <jug@sad.it>
6273 * lyxfunc.C (dispatch): add a missing fitCursor call.
6275 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6276 it was scrolled by a cursor move, so return the bool status.
6278 * BufferView.C (fitCursor): return the bool flag also to the outside
6279 world as this is needed.
6281 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6283 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6284 call the edit() as it is not needed (and wrong) IMO.
6285 (workAreaButtonPress): set the screen_first variable before evt.
6286 unlock the inset as this may change screen_first and then we have
6287 a wrong y position for the click!
6289 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6291 * MenuBackend.C (expand): another translation that I missed
6293 2002-03-28 Juergen Vigna <jug@sad.it>
6295 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6297 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6299 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6301 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6303 * MenuBackend.C (expand): fix export/view/update when there is no
6306 2002-03-27 Herbert Voss <voss@lyx.org>
6308 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6311 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6313 * bufferview_funcs.C (currentState): only show paragraph number
6314 for is DEVEL_VERSION is set.
6316 * lyxfunc.C (dispatch): put warning in INFO channel
6318 * MenuBackend.C (expand): translate the name of floats
6320 * FloatList.C (FloatList): mark the float names for translation
6322 * converter.C (convert): use LibScriptSearch
6324 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6326 * MenuBackend.C (defaults): fix default menu (we might as well get
6329 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6331 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6334 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6336 * lyxvc.C: reorder includes.
6338 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6340 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6343 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6345 * CutAndPaste.C: change layouts earlier on paste
6346 to avoid crashing when calling getFont()
6348 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6350 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6353 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6355 * WorkArea.C: remove 'Pending' debug message.
6357 * most files: ws cleanup
6359 * buffer.[Ch]: ws changes
6361 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6363 2002-03-21 Juergen Vigna <jug@sad.it>
6365 * tabular.C (SetMultiColumn): collapse also the contents of the
6366 cells and set the last border right. Added a Buffer const * param.
6368 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6370 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6373 2002-03-19 Juergen Vigna <jug@sad.it>
6375 * text2.C (clearSelection): reset also xsel_cache.
6377 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6378 where it needs to be called (John tells us to do so too :)
6379 (selectionLost): reset sel_cache.
6381 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6383 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6385 * text2.C (setCursorIntern): put debuging code in INSETS channel
6387 2002-03-19 André Pönitz <poenitz@gmx.net>
6389 * lyxfunc.C: tiny whitespace change
6391 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6393 * ToolbarDefaults.C (init):
6394 * LyXAction.C (init):
6396 * BufferView_pimpl.C (Dispatch):
6397 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6399 2002-03-19 Allan Rae <rae@lyx.org>
6401 * exporter.C (Export): removeAutoInsets before doing anything else.
6402 While I've just introduced a dependency on BufferView this really is
6403 the best place to clean the buffer otherwise you need to cleanup in
6404 a dozen places before calling export or cleanup in a dozen functions
6407 * converter.C (runLaTeX):
6408 (scanLog): Better handling of removeAutoInsets and screen updates.
6410 * lyxfunc.C (dispatch): small whitespace changes
6412 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6414 * WorkArea.C (C_WorkAreaEvent): return a value.
6415 (event_cb): return 1 if we handled the event, 0 otherwise.
6417 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6419 2002-03-18 Juergen Vigna <jug@sad.it>
6421 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6422 (GetAdditionalWidth): ditto.
6426 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6427 inset if we're there actually (probably not used right now but this
6428 is the direction to go for unifying code).
6429 (paste): disable code to clear the selection.
6431 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6432 inside an InsetText and move the check further up as it is in the
6435 * text2.C (pasteSelection): set a selection over the pasted text.
6437 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6439 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6440 and libgraphics to build on Cygwin.
6442 2002-03-15 Juergen Vigna <jug@sad.it>
6444 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6445 inserting an Inset into the paragraph. I know this is not the best
6446 fix but we already use current_view in CutAndPaste so we will remove
6447 all of it's using at the same time.
6449 * buffer.C (sgmlError): deactivated function till it is rewritten in
6450 the right mode, now it can create problems.
6452 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6453 before accessing it.
6455 2002-03-14 Juergen Vigna <jug@sad.it>
6457 * undo_funcs.C (textHandleUndo): do the right thing when updating
6458 the inset after the undo/redo.
6460 * text2.C (setCursor): just some testcode for #44 not ready yet.
6462 * undo_funcs.C (textHandleUndo): set the next() and previous()
6463 pointers of the paragraph to 0 before deleting otherwise we have
6464 problems with the Paragraph::[destructor].
6466 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6467 on a paragraph insertion.
6469 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6471 * buffer.C (asciiParagraph): use += operator for char append to
6474 * paragraph.C (getFontSettings): compare >= not just >
6475 (highestFontInRange): ditto
6478 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6480 * paragraph.C: change several algorithm to be more appripriate for
6481 the problem domain. This is lookip in FontList and in the InsetList.
6483 2002-03-13 André Pönitz <poenitz@gmx.net>
6486 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6488 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6493 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6495 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6497 * Painter.C (display): anon helper function, adjust code for this
6499 (pixmap): remove function.
6501 * Painter.h: remove private display variable.
6503 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6505 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6507 * WorkArea.[Ch]: remove figinset_canvas cruft.
6509 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6511 * lyxtextclass.C (operator): add one item cache optimization.
6513 * bufferlist.h: doxy changes
6515 * bufferlist.C: ws changes
6517 * DepTable.[Ch] (ext_exist): place const in the right spot.
6519 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6521 (workAreaExpose): call resizeInsets when the with BufferView changes.
6522 (Dispatch): adjust for protectedBlank removal
6523 (specialChar): call updateInset if the insert went ok.
6525 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6526 specialChar instead.
6528 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6530 * BufferView.h: doxy change
6532 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6534 * lyxtextclass.C (operator[]): remove non-const version
6535 (defaultLayout): remove non-const version
6537 2002-03-12 Juergen Vigna <jug@sad.it>
6539 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6540 did resize the LyXText too.
6542 * buffer.C (readLyXformat2): set layout information on newly allocated
6545 * tabular.C (OldFormatRead): set layout information on the paragraph.
6547 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6549 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6551 2002-03-11 Juergen Vigna <jug@sad.it>
6553 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6555 (resizeCurrentBuffer): force also the insets to resize themselfes.
6556 (moveCursorUpdate): fixed up for InsetText.
6558 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6561 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6562 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6563 value of Dialogs::tooltipsEnabled().
6564 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6566 2002-03-08 Juergen Vigna <jug@sad.it>
6568 * BufferView_pimpl.C (updateInset): update inset inside inset also
6569 if it isn't inside theLockingInset().
6571 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6573 * buffer.C (asciiParagraph): redo some of the word and line length
6575 (getLists): look for Caption instead of caption.
6577 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6579 * buffer.C (Buffer): initialize niceFile to true
6582 (makeDocBookFile): make sure niceFile is true on exit
6584 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6586 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6588 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6590 * LyXSendto.C: remove.
6591 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6592 * lyx_gui.C: remove now-redundant comment.
6593 * ColorHandler.h: remove forward declaration of class WorkArea.
6594 * lyxfunc.C: remove #include "WorkArea.h".
6596 2002-03-07 Juergen Vigna <jug@sad.it>
6598 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6599 got moved away with the DEPM and also set the inset_owner always
6600 right which before could have been omitted.
6602 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6604 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6605 wanted layout is not found.
6607 2002-03-07 Juergen Vigna <jug@sad.it>
6609 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6611 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6613 * paragraph.C (breakParagraph): use default layout not layout of
6615 (Paragraph): clear ParagraphParameters.
6617 2002-03-06 Juergen Vigna <jug@sad.it>
6619 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6620 otherwise it would not be a valid lenght. Fixed a special case in
6621 the minipage compatibility read where we end the document with a
6624 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6625 was set as it could be 0 for InsetTexts first entry.
6627 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6629 * paragraph.C (writeFile): if layout is empty write out
6630 defaultLayoutName().
6632 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6633 file without named layout we set layout to defaultLayoutName().
6635 2002-03-06 Juergen Vigna <jug@sad.it>
6637 * CutAndPaste.C (copySelection): set layout for new paragraph.
6639 * text.C (prepareToPrint): leave ERT inset left aligned
6640 (leftMargin): don't indent paragraphs inside ERT insets
6642 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6644 * paragraph.C (breakParagraph): dont call clear do the work manually
6646 * paragraph.[Ch] (clear): remove function
6648 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6650 * paragraph.C (Paragraph): dont call clear, the work has already
6653 * lyxtextclass.C (operator): assert if n is empty
6655 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6656 work manually instead.
6658 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6660 * BufferView_pimpl.C: protect selectionLost against text == 0
6662 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6664 * text.C (breakParagraph): fix a setting layout to '0' problem.
6666 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6668 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6669 final location of file, for the included files, and graphics.
6671 2002-03-05 Juergen Vigna <jug@sad.it>
6673 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6675 2002-03-04 Juergen Vigna <jug@sad.it>
6677 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6679 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6680 last column of multicolumn cells.
6681 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6683 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6685 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6686 file if it doesn't go to a temporary file.
6688 * buffer.C (sgmlOpenTag):
6689 (sgmlCloseTag): remove extra newline insertion.
6691 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6693 * text.C (getRowNearY): comment out debug msg
6695 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6697 * text2.C: first -> first_y
6699 * text.C (getRowNearY): add some attemts at a possible
6700 optimization, not working.
6702 * tabular.[Ch]: add BufferParams to several function so that newly
6703 created paragraph can be initialized to he default layotu for the
6706 * tabular-old.C (ReadOld): add buf->params to call of Init
6708 * screen.C: rename text->first to text->first_y
6710 * paragraph.C (breakParagraph): always set layout in the broken
6713 * lyxtextclass.C (Read): remove lowercase
6716 (delete_layout): ditto
6718 * lyxtext.h: rename first -> first_y
6720 * lyxlayout.C (Read): remove lowercase
6723 (obsoleted_by): ditto
6725 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6727 * buffer.C (insertErtContents): add params are to InsetERT
6728 (parseSingleLyXformat2Token): add code to check if a paragraphs
6729 layout really exist.
6730 (parseSingleLyXformat2Token): add params to several inset
6732 (asciiParagraph): remove lowercase, do the layout comparisons with
6735 * BufferView_pimpl.C (cursorNext): first -> first_y
6736 (resizeCurrentBuffer): first -> first_y
6737 (updateScrollbar): first -> first_y
6738 (scrollCB): first -> first_y
6739 (workAreaMotionNotify): first -> first_y
6740 (workAreaButtonPress): first -> first_y
6741 (checkInsetHit): first -> first_y
6742 (cursorPrevious): first -> first_y
6743 (cursorNext): first -> first_y
6744 (Dispatch): add buffer_->params to severl inset contructors
6746 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6748 * lyxlayout.C (Read): remove some debug info that I forgot.
6750 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6751 clean up the code slightly.
6752 (makeLinuxDocFile): ditto
6753 (makeDocBookFile): ditto
6755 * text2.C: layout as string
6757 * text.C: layout as string
6759 * paragraph_pimpl.C: layout as string
6761 * paragraph.[Ch]: layout as string
6763 * lyxtextclasslist.[Ch]: layout as string
6765 * lyxtextclass.[Ch]: layout as string
6767 * lyxtext.h: layout as string
6769 * lyxlayout.[Ch]: layout as string
6771 * lyx_cb.C: layout as string
6773 * bufferview_funcs.C: layout as string
6775 * bufferparams.C: layout as string
6777 * buffer.C: layout as string
6779 * LyXView.[Ch]: layout as string
6781 * LaTeXFeatures.[Ch]: layout as string
6783 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6785 * BufferView_pimpl.C: change current_layout to string, remove
6790 (workAreaButtonRelease): layout as string
6792 * BufferView2.C (unlockInset): adjust
6794 * vspace.C (asLatexCommand): use an explict temp variable.
6796 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6798 * Makefile.am: use FRONTEND_*
6800 2002-03-01 Juergen Vigna <jug@sad.it>
6802 * tabular.C (SetWidthOfMulticolCell): changed to something better
6803 I hope but still work in progress.
6804 (recalculateMulticolumnsOfColumn): renamed function from
6805 recalculateMulticolCells as it is more appropriate now.
6806 (SetWidthOfCell): calculate multicols better.
6808 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6810 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6812 * lyxfunc.C (processKeySym): print sequence also if it is
6813 `deleted' (complete)
6815 * kbsequence.C (print): print sequence even if it is deleted
6816 (complete would be a better word, actually).
6818 * lyxfunc.C (dispatch): print complete options after a prefix key
6820 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6822 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6824 * text2.C (setCharFont): eliminate setCharFont code duplication.
6826 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6828 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6829 LFUN_TABULAR_FEATURE (bug #177)
6831 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6833 * Makefile.am: remove figure.h
6835 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6837 * Bufferview_pimpl.C:
6849 * text2.C: remove #include "lyx_gui_misc.h".
6851 * LaTeX.C: added #include <cstdio>
6853 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6855 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6856 that the paragraph following this one can have.
6858 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6860 * vspace.C (asLatexCommand): fix bogus gcc warning
6862 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6864 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6866 * text2.C (setLayout): get rid of redundant code
6868 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6870 * text2.C (incDepth): make sure depth cannot be increased beyond
6873 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6875 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6876 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6878 * PainterBase.h (image):
6879 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6882 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6886 * BufferView_pimpl.C:
6887 * BufferView_pimpl.h:
6907 * sp_spell.C: remove fig inset, and the crap house of
6908 cards that follows it
6910 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6916 * nt_defines.h: move .h into support/
6918 * vms_defines.h: remove
6920 * WorkArea.C: add space in debug output
6924 * buffer.C: add WITH_WARNINGS
6928 * bufferlist.C: s/retrive/retrieve/, add docs
6939 * lyxgui.C: add ID to X error handler
6941 * lyxtestclass.c: fix typo
6943 2002-02-26 Juergen Vigna <jug@sad.it>
6945 * tabular_funcs.C (write_attribute): changed so that some default
6946 attributes are not written at all.
6947 (getTokenValue): set default values before trying to read the
6948 value so we have the return value always set as default if we don't
6949 find the token we search for.
6951 * tabular.C (Write): write bools as bools not as strings!
6953 2002-02-22 Juergen Vigna <jug@sad.it>
6955 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6956 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6958 * text.C (leftMargin): don't add an indent for paragraphs inside
6959 tabular cells (fix #208).
6961 2002-02-21 José Matos <jamatos@fep.up.pt>
6963 * tabular.C (docBook): fixed support for long tables.
6965 2002-02-20 Juergen Vigna <jug@sad.it>
6967 * text2.C (getFont): get the drawing font of the Inset if this
6968 paragraph is inside an inset (only important for InsetERT for now).
6970 * buffer.C (insertErtContents): use new lanugage params in ERT
6973 * CutAndPaste.C: commenting out seemingly uneeded code.
6975 2002-02-19 Allan Rae <rae@lyx.org>
6977 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6978 Iterators might be simple to use but they also get invalidated.
6979 (removeAutoInsets): renamed saved cursor tracking variables and added
6980 some comments to clarify what everything does.
6982 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6989 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6990 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6993 * vc-backend.h: remove #include "support/syscall.h"
6997 * converter.C: rearrange #includes in Lars' approved fashion.
6999 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7000 forward declare class Timeout in the header file.
7002 * XFormsView.C: changes due to the above.
7004 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7007 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7008 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7010 2002-02-18 José Matos <jamatos@fep.up.pt>
7012 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7015 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7017 * a lot of small ws changes
7018 * add a lot of using std::XXX
7019 * use std construcs some places where approp.
7020 * use some exisint stuff from lyxfunctional where approp.
7021 * Make file changes to use partial linking (lets test this now...)
7023 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7027 remove #include "support/syscontr.h" as it's redundant. Always has been.
7035 change Systemcalls::System to Systemcalls::Wait and
7036 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7037 No change of functionality, just reflects the stripped down Systemcalls
7040 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7042 * debug.[Ch]: add a GRAPHICS type to the enum.
7044 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7046 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7048 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7051 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7053 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7054 match the changes below.
7056 * text2.C (toggleInset): if there is not editable inset at cursor
7057 position, try to see if cursor is _inside_ a collapsable inset
7060 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7062 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7063 document menu has a nice checkbox
7065 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7067 * lyxlength.C (asLatexString): change PW to output as percent of
7070 * lengthcommon.C: change '%' to 't%'
7072 * lyxfunc.C (dispatch): a few comments from Martin
7074 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7078 * BufferView_pimpl.h:
7079 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7082 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7084 * vspace.C (inPixels): fix compiler warning
7086 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7088 * lyxfunc.C (getStatus): fix status message for disabled commands.
7090 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7092 * BufferView_pimpl.C: fix crash on close buffer
7093 during selection (#227)
7095 2002-01-27 Herbert Voss <voss@lyx.org>
7097 * buffer.C: link old Figure to new graphic inset
7099 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7101 * FontLoader.C (getFontinfo): Change the latex font names in order
7102 to match the names of type1inst.
7104 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7106 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7108 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7111 (remove_files_with_extension): ditto
7112 (remove_file): ditto
7115 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7116 document is smaller than the work area height. Do not initialize
7117 static variables to 0.
7119 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7121 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7123 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7124 LFUN_LAYOUT_PARAGRAPHS.
7126 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7127 tabular. It is possible to provide a possible cell, which will
7128 typically be the actcell from the corresponding insettabular
7130 * lyxfunc.C (getStatus): small cleanup; disable
7131 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7134 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7136 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7138 * paragraph.C (startTeXParParams):
7139 (endTeXParParams): new methods. The LaTeX code to
7140 start/end paragraph formatting
7141 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7142 empty (fixes bug #200)
7144 * vspace.C (inPixels): adapt to the change below
7145 (inPixels): [later] more cleanups (remove unused variables)
7147 * lyxlength.C (inPixels): change to use a width and a height as
7150 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7152 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7153 Replaced with \paperwidth
7155 * DepTable.C (insert): add std:: qualifier
7157 2002-01-18 Allan Rae <rae@lyx.org>
7159 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7162 * text.C (drawInset): Turned out I didn't know enough about how
7163 rebreaking worked. This fixes most of the redraw problems. I see
7164 an occasional cursor trail when a line is broken now and the cursor
7165 placement can seem out by a few pixels also after a rebreak.
7167 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7169 * buffer.C (parseSingleLyXformat2Token): update because minipage
7170 width is now a LyXLength
7172 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7174 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7177 2002-01-17 Juergen Vigna <jug@sad.it>
7179 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7181 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7182 is set correctly and the inset is updated correctly.
7184 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7186 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7187 the beginning of the loop.
7189 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7191 * lyxrc.C: improve help for use_scalable_fonts
7193 2002-01-17 Allan Rae <rae@lyx.org>
7195 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7197 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7199 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7200 make sure to set their inset_owner to the right value (bug #171)
7202 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7205 * DepTable.C: Implement mtime checking to reduce time spent doing
7208 2002-01-16 Juergen Vigna <jug@sad.it>
7210 * tabular.C (GetAdditionalHeight): one of error fixed.
7212 * lyxrc.C (output): small fix in writing use_pspell.
7214 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7216 * sp_base.h: #include LString.h
7218 2002-01-16 Allan Rae <rae@lyx.org>
7220 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7221 Can someone check this please?
7223 * text.C (drawInset): It was possible that p.row would be removed by
7224 breakAgainOneRow upsetting a few other settings. There may be another
7225 small tweak possible by setting need_break_row = 0 when p.row has been
7226 removed but I don't know enough about the logic here.
7228 2002-01-15 Allan Rae <rae@lyx.org>
7230 * text.C (insertChar): removed conditional truism.
7232 * BufferView2.C (removeAutoInsets): More tweaks.
7233 cur_par_prev could be a stray pointer. Check for trailing empty line
7234 in case last line was cur_par and only had an error inset on it.
7236 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7238 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7241 * vc-backend.C (most methods):
7242 * exporter.C (Export):
7243 * converter.C (convert):
7245 * LyXSendto.C (SendtoApplyCB):
7246 * lyxfunc.C (dispatch):
7250 * lyx_cb.C (AutoSave):
7252 * BufferView_pimpl.C (MenuInsertLyXFile):
7253 * buffer.C (runChktex): use Buffer::filePath().
7255 * buffer.h: rename filename to filename_; rename filepath to
7256 filepath_ and make it private
7257 (filePath): new method
7259 * buffer.C (writeFile): use fileName()
7262 * lyx_main.C (init): fix starting of LyX when the binary is a
7263 link from so,ewhere else.
7265 * minibuffer.C: include <cctype> for isprint
7267 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7269 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7270 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7271 name clash with InsetCollapsable's width function.
7273 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7275 * lastfiles.C: include <iterator>
7277 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7279 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7282 * buffer.C (makeLaTeXFile): ditto.
7283 Also make loop operation more transparent.
7285 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7287 * ToolbarDefaults.C: remove trailing comma closing namespace.
7289 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7291 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7294 * trans.C (Load): comment out unused variable, allowed.
7296 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7298 * minibuffer.[Ch] (append_char): new method to recieve input from the
7299 drop-down completion browser. If a key was pressed, then recieve this
7300 char and append it to the existing string.
7301 (peek_event): modify the positioning data passed to the completion
7302 browser so that it can be placed above the minibuffer rather than below.
7303 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7305 * LyXAction.C (init): alloe error-next for readonly documents.
7307 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7310 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7312 * bufferlist.C (readFile): create the buffer _after_ checking that
7315 * lyxfunc.C (verboseDispatch): fix handling of arguments
7317 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7319 * lyxrc.C: use string::erase() instead of initializing to "".
7322 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7324 * BufferView_pimpl.h:
7325 * BufferView_pimpl.C:
7328 * text2.C: tell X when we have made a selection for copying
7330 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7332 * BufferView_pimpl.C (MenuInsertLyXFile):
7333 * lyxfunc.C (menuNew):
7335 (doImport): add shortcuts to directory buttons
7337 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7340 * lyxfunc.C (setStatusMessage):
7341 (getStatusMessage): new methods
7342 (getStatus):use setStatusMessage instead of setErrorMessage
7343 (dispatch): when function is disabled, set error message here
7344 [instead of in getStatus previously]
7346 * BufferView_pimpl.C (workAreaButtonRelease): update
7347 toolbar/menubar here too.
7349 2002-01-13 Allan Rae <rae@lyx.org>
7351 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7352 Now seems indestructible. Remaining task is to audit all other
7353 code affected by deleteEmptyParagraphMechanism. One small quirk
7354 left is that an empty document with an error in the preamble can
7355 be made to report an error but no error box appears. I don't know
7357 (removeAutoInsets): Improved comments.
7359 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7362 * Thesaurus.C: update for Aiksaurus 0.14
7364 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7366 * text2.C (firstParagraph): removed member function, all uses
7367 replaces with ownerParagraph
7368 (redoParagraphs): here
7370 (toggleAppendix): here
7371 * BufferView2.C (insertErrors): here
7372 (setCursorFromRow): here
7374 2002-01-13 Allan Rae <rae@lyx.org>
7376 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7377 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7378 There is still a way to segfault this although you may have to do this
7379 multiple times: Have an InsetERT with an unknown command in it.
7380 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7381 <down-arrow>, <Enter> again, View->DVI, BANG!
7383 * text2.C (setCursor):
7384 (deleteEmptyParagraphMechanism):
7385 * lyxtext.h (setCursor):
7386 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7387 Making use of the return value may help fix other bugs.
7389 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7391 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7393 * LyXView.C (updateMenubar): call MenuBar::update here
7394 (updateToolbar): but not here
7395 (showState): do not update toolbar/menubar
7397 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7398 should need to care about that.
7400 * lyxfunc.C (verboseDispatch): simplify a bit
7401 (getStatus): have a version which takes a pseudoaction, and
7402 another which requires a (kb_action,string).
7404 * LyXAction.C (retrieveActionArg): make it work also when action
7405 is not a pseudo-action.
7406 (getActionName): simplify a bit
7409 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7411 * lyxfunc.C (verboseDispatch): new families of methods with
7412 several ways to specify a command and a bool to indicate whether
7413 the command name and shortcut should be displayed in minibuffer
7414 (eventually, we could extend that to a finer bitmask like
7415 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7416 (dispatch): the pristine dispatch command which just, well,
7417 dispatchs! Note it still sets its result to minibuffer; I'm not
7420 * lyxfunc.h: remove setHintMessage
7422 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7424 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7426 * BufferView_pimpl.C (specialChar): delete new inset if we have
7427 not been able to insert it.
7429 * kbmap.C: revert to using int instead of kb_action, since all we
7430 are dealing with is pseudo-actions.
7432 * LyXAction.C (searchActionArg): change to return int instead of
7433 kb_action, since the result is a pseudoaction.
7435 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7437 * buffer.C (insertErtContents): Fix (partially) the font bug.
7439 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7441 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7442 as the other one is broken on my machine!
7444 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7447 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7449 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7451 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7452 reflect their actual use. Provide compatibility code for older lyxrc
7455 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7457 change names of popup font variables in line with the changes to lyxrc.C
7459 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7461 * buffer.C (asciiParagraph): avoid outputing a word twice after
7464 * lyxrc.C (getDescription): document that document_path and
7465 template_path can be empty.
7467 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7469 * LaTeXFeatures.C (getMacros):
7470 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7472 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7474 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7476 (getPackages): rename feature "floats" to "float". Use an array to
7477 iterate over 'simple' features (i.e. just a \usepackage). Add
7478 handling of "amsmath" (renamed from "amsstyle").
7480 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7482 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7485 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7487 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7488 FuncStaus::FuncStatus & FuncStaus::some_method().
7490 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7492 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7493 of the func_satus stuff. Edited and massaged in various ways by
7496 * lyxfunc.C (getStatus): use FuncStatus
7498 2002-01-08 Juergen Vigna <jug@sad.it>
7500 * text.C (nextBreakPoint): use function Inset::isChar().
7502 * paragraph.C (TeXOnePar): use function
7503 Inset::forceDefaultParagraphs.
7505 * buffer.C (latexParagraphs): use function
7506 Inset::forceDefaultParagraphs.
7508 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7510 * lyx_gui.C (init): set the style of the menu popups to
7511 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7513 2002-01-07 Juergen Vigna <jug@sad.it>
7515 * text.C (setHeightOfRow): small fix
7516 (prepareToPrint): don't look at alignment if we don't have the place
7519 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7521 * box.C: New file. Move the Box methods and functions out of box.h,
7522 following Lars' suggestion.
7524 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7526 * box.h: #include "support/LOstream.h", needed for inlined function.
7529 * lyxtextclasslist.C: added some using std declarations.
7531 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7533 * box.h: make signed dimensions to allow insets wider than
7534 the screen (bug #162)
7536 * BufferView_pimpl.C: add some insetHit debug
7538 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7540 * vc-backend.C: add FIXME
7542 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7544 * lyxfunc.C (getStatus): enable code for showing math font status
7547 2002-01-07 Juergen Vigna <jug@sad.it>
7549 * text.C (nextBreakPoint): removed debug output not needed anymore.
7551 2002-01-06 Juergen Vigna <jug@sad.it>
7553 * text.C (nextBreakPoint): fixed up this function we had this bug
7554 since ever but now hopefully we break row better.
7555 (insertChar): we have to check if an inset is the next char as it
7556 could now happen that a large inset is causing a break.
7558 2002-01-05 Juergen Vigna <jug@sad.it>
7560 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7561 if it doesn't like to be drawed.
7563 2002-01-04 Juergen Vigna <jug@sad.it>
7565 * BufferView2.C (lockInset): forgot to set a cursor.
7567 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7569 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7574 * form_maths_panel.C:
7575 * form_maths_panel.h:
7576 * form_maths_panel.fd: implemented sub- and super- buttons in math
7579 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7580 (or ^ space) to be used as in TeX (req'd by André).
7582 * lyxfunc.C: Allow ^ and _ again to be used both as
7583 super/subscript (mathed) and as themselves (in text).
7585 2002-01-03 Allan Rae <rae@lyx.org>
7587 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7588 "LyX" or the filename of the current buffer if it has one. This is a
7589 modified form of John Levon's patch.
7591 * XFormsView.C (setWindowTitle): also set icon title.
7593 * LyXView.h (setWindowTitle): signature changed.
7594 * XFormsView.h (setWindowTitle): ditto.
7596 2002-01-02 Juergen Vigna <jug@sad.it>
7598 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7600 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7602 * screen.C (topCursorVisible): introduce a temp var for
7603 text->cursor.row(), handle the case where this row is null. (kindo
7606 * text2.C (setCursor): add a couple of asserts.
7608 * paragraph.h (inset_iterator): add -> operator
7610 * paragraph.[Ch] (autoDeleteInsets): remove member function
7612 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7613 cursor pos correctly and handle inset deletion by itself.
7614 (insertErrors): move iterator declaration out of for expression
7616 * lyxtextclass.C: add <algorithm>
7618 * Makefile.am: added the new files to sources, removed layout.C
7620 * layout.C: removed file
7622 * layout.h: remove LYX_DUMMY_LAYOUT
7624 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7628 * lyxtextclass.[Ch]:
7629 * lyxtextclasslist.[Ch]: new files
7631 * include order changes to a lot of files, also changes because of
7634 2001-12-27 Juergen Vigna <jug@sad.it>
7636 * buffer.C (asciiParagraph): more fixes.
7638 * tabular.C (ascii): make ascii export support export of only the
7639 data separated by a column-delimiter.
7640 (ascii): better support for ascii export.
7642 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7644 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7646 * tabular_funcs.C: use a "using std::getline" instead of the
7647 previous fix from Angus (necessary for cxx + lyxstring)
7649 2001-12-24 Juergen Vigna <jug@sad.it>
7651 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7653 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7654 problems. First check a minipage also if we have some ert-contents
7655 (not only on par->size(), second set the right depth of the paragraph
7656 on the relink to the root-paragraph-list!
7658 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7659 which then did not anymore update the main paragraphs on undo/redo!
7661 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7663 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7664 code. Support all font-changing funcs (even those which are not in
7665 menu currently). Support for reporting font settings in
7666 mathed (disabled until Andre provides a function on mathed's side).
7668 * func_status.h (toggle): small helper function to set toggle
7671 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7673 * tabular_funcs.C: getline -> std::getline
7675 2001-12-21 Juergen Vigna <jug@sad.it>
7677 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7678 accessed and could be 0 (I couldn't generate this but it seems
7681 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7683 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7684 * tabular_funcs.h: here and include iosfwd
7686 2001-12-20 Juergen Vigna <jug@sad.it>
7688 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7689 inside inset but undo_par was.
7691 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7693 * Thesaurus.C: always include <config.h> in sources.
7697 * box.h: do not include <config.h> in header files
7699 * text.C (paintLastRow): remove unused variable
7701 * text.C (transformChar):
7703 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7706 * font.C (width): rewrite to use uppercase() instead of
7709 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7711 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7713 * lyxfind.C: clean up of find failure position change
7715 2001-12-20 Juergen Vigna <jug@sad.it>
7717 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7719 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7720 (TeXRow): added to LaTeX a single tabular row.
7721 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7722 (Latex): simplified and finally good LT-h/f support.
7723 (various_functions): just small adaptions for LT-h/f support.
7725 * tabular_funcs.[hC]: added and moved here all not classfunctions
7728 2001-12-19 Juergen Vigna <jug@sad.it>
7730 * tabular.[Ch]: better support for longtabular options (not finished
7733 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7735 * text.C (paintLastRow): use the label font instead of the font of
7736 the last character to compute the size of *_BOX. This makes more
7737 sense and avoids a crash with empty paragraphs.
7738 Use Painter::rectangle to draw EMPTY_BOX.
7740 2001-12-19 Juergen Vigna <jug@sad.it>
7742 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7743 the paragraphs if the replaced paragraph is not the first one!
7744 Tried to delete not used paragraphs but does not work yet so for
7745 now it's inside #ifdef's and by default off!
7747 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7749 * MenuBackend.C: include "lyx_main.h" instead of declaring
7750 lastfiles (actually was declared as LastFiles* instead of a
7753 2001-12-17 Juergen Vigna <jug@sad.it>
7755 * tabular.C (AppendColumn): applied John's fix
7757 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7761 * BufferView_pimpl.h:
7762 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7765 * box.h: new start of class for above
7767 * lyxfunc.C: ignore space-only minibuffer dispatches.
7768 Show the command name when it doesn't exist
7770 * minibuffer.C: don't add empty lines to the history
7772 * minibuffer.C: add a space on dropdown completion
7774 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7776 * text.C: fix line above/below drawing in insets
7778 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7780 * lyxlength.C (LyXLength): Initialize private variables.
7782 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7784 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7785 when inserting error insets.
7787 2001-12-13 Juergen Vigna <jug@sad.it>
7789 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7790 actually sometimes the before-paragraph.
7791 (setUndo): don't clear the redostack if we're not actually undoing!
7793 2001-12-06 Juergen Vigna <jug@sad.it>
7795 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7796 and fixed redoing of main paragraph, so we can use it now ;)
7798 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7800 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7802 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7805 2001-12-13 André Pönitz <poenitz@gmx.net>
7808 * undo_func.C: minor cleanup
7810 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7812 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7813 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7814 font in urw-fonts package which is marked as -urw-fontspecific and
7815 does not work (incidentally, changing the encoding in the
7816 fonts.dir of this package to -adobe-fontspecific fixes the
7819 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7820 is a crash when undoing first paragraph (Juergen, please take a
7821 look). THis does not mean the undo fix is wrong, just that it
7824 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7825 the (Paragraph*) version when needed instead of duplicating the
7828 * text.C (workWidth): use Inset::parOwner to find out where the
7829 inset has been inserted. This is a huge performance gain for large
7830 documents with lots of insets. If Inset::parOwner is not set, fall
7831 back on the brute force method
7833 * paragraph_pimpl.C (insertInset):
7834 * paragraph.C (Paragraph):
7835 (cutIntoMinibuffer): set parOwner of insets when
7836 inserting/removing them
7838 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7840 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7846 * mathed/formulabase.C:
7847 * mathed/math_cursor.[Ch]:
7848 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7851 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7853 * lyxlength.[Ch] (operator!=): new function
7855 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7857 * text.C (workWidth): use Inset::parOwner to find out where the
7858 inset has been inserted. This is a huge performance gain for large
7859 documents with lots of insets. If Inset::parOwner is not set, fall
7860 back on the brute force method
7862 * paragraph_pimpl.C (insertInset):
7863 * paragraph.C (Paragraph):
7864 (cutIntoMinibuffer): set parOwner of insets when
7865 inserting/removing them
7867 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7869 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7871 * tabular-old.C (getTokenValue):
7872 * tabular.C (getTokenValue):
7873 (write_attribute): new versions for LyXLength
7874 (everywhere): adjust the use of widths
7876 * tabular.h: change the type of widths from string to LyXLength
7878 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7880 * paragraph.C: fixed missing line number count when exporting
7881 Environments to LaTeX file
7883 * buffer.C: added informational message for checking line numbers.
7885 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7887 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7888 paragraph, do the 'double space' part, but not the 'empty
7891 * text.C (workWidth): small optimization
7892 (getLengthMarkerHeight): use minimal size for negative lengths.
7894 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7896 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7898 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7900 2001-12-11 André Pönitz <poenitz@gmx.net>
7903 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7905 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7907 * text2.C: keep selection on a setFont()
7909 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7911 * lyx_cb.C: another bv->text misuse, from insert label
7913 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7916 * kbsequence.C: re-instate nmodifier mask
7918 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7920 * lyx_main.h: make lyxGUI private.
7922 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7924 * lyxfind.C: place the cursor correctly on failed search
7926 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7928 * text.C (getLengthMarkerHeight): for small heights, the arrows
7929 are not always on top/bottom of the text
7930 (drawLengthMarker): smaller arrows; take the left margin in
7931 account; draw also vfills.
7933 (paintLastRow): remove special code for vfill and standard spaces,
7934 since everything is handled in drawLengthMarker now.
7936 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7938 * buffer.C (insertErtContents): try to handle font and language
7939 interaction a bit better.g
7941 * ColorHandler.C (updateColor): change the hash to cover the whole
7942 LColor enum, ws cleanup
7943 (getGCLinepars): ditto
7944 (getGCLinepars): only lookup in the linecache once.
7946 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7948 * iterators.C (operator++): Make the iterator more robust
7950 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7952 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7954 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7957 * text.C: better added space drawing
7959 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7962 * BufferView2.C: fix layout combo update on inset unlock
7964 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7966 * Makefile.am: don't compile unused files
7968 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7972 * LyXAction.C: remove old LFUN_LAYOUTNO
7974 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7976 * paragraph_pimpl.h:
7977 * paragraph_pimpl.C: isTextAt() doesn't need font param
7979 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7982 * lyxlex.C: little cleanup
7984 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7986 * BufferView_pimpl.C: fix insertAscii for insets
7988 2001-12-05 Juergen Vigna <jug@sad.it>
7990 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7991 set the right font on the "multi" paragraph paste!
7993 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7999 * lyxlength.C: remove out-commented code.
8015 * vc-backend.C: change "while(" to "while ("
8017 * lyxlength.[Ch]: add zero function to check if length is zero or
8019 * lyxgluelength.C: use it
8021 2001-12-05 Allan Rae <rae@lyx.org>
8023 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8024 Works for 2.95.3, from what I understand of Garst's reports this should
8025 work for other g++ versions. We're screwed if the abs(int) definition
8026 changed between bugfix releases of gcc.
8028 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8030 * text.C: fix chapter label offset !
8032 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8035 * text.C: fix hfill at end of line, clean up
8037 2001-12-04 Juergen Vigna <jug@sad.it>
8039 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8040 that we force an update of the inset and it's owners if neccessary.
8042 2001-12-03 Juergen Vigna <jug@sad.it>
8044 * text.C (rowLast): simplified code
8046 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8048 * lyxfunc.C: fix show options on timeout
8050 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8052 * screen.C (topCursorVisible): scroll half a page when the cursor
8053 reached top of bottom of screen
8055 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8057 * minibuffer.C: deactivate on loss of focus
8059 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8061 * vspace.[Ch] (operator!=): add operator.
8063 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8065 * BufferView_pimpl.C: refuse to open an inset when
8066 there's a selection.
8068 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8070 * BufferView_pimpl.C: allow to click on RHS of full row insets
8072 2001-11-30 Juergen Vigna <jug@sad.it>
8074 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8075 insets for undo reasons.
8077 2001-11-28 André Pönitz <poenitz@gmx.net>
8079 * vspace.[Ch]: cosmetical changes
8081 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8091 * kbsequence.C: part re-write of old kb code
8094 * WorkArea.C: remove Lgb_bug_find_hack
8096 2001-11-30 José Matos <jamatos@fep.up.pt>
8098 * buffer.C (makeDocBookFile): add a comment to point a hack.
8099 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8100 Fixed a double write of labels.
8102 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8105 * LaTeX.h Fixed bug in LaTeX class where it would not
8106 re-run latex if no depfiles were changed, but the .dvi was removed.
8108 2001-11-28 André Pönitz <poenitz@gmx.net>
8110 * all the files from the change on 2001/11/26:
8111 use lyx::layout_type instead of LyXTextClass::size_type
8112 use lyx::textclass_type instead of LyXTextClassList::size_type
8114 2001-11-29 Juergen Vigna <jug@sad.it>
8116 * text.C: added support for paragraph::isFreeSpacing()
8118 * buffer.C: same as above
8120 * paragraph.h: inserted isFreeSpacing() function to enable
8121 FreeSpacing inside InsetERT.
8123 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8124 of the paragraph's in the cut/copy buffer to 0!
8126 * text2.C (removeRow): remove the assert as it can!
8128 * lyxtext.h: added helper function firstRow returning firstrow and
8129 made firstrow private again.
8131 * BufferView2.C (lockInset): don't relock if we're already locked!
8133 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8135 (removeRow): added Assert::(firstrow)
8137 * debug.C: forgot to add INSETTEXT here.
8139 2001-11-28 Juergen Vigna <jug@sad.it>
8141 * sp_spell.C (initialize): changed error text to more general
8142 spellchecker command use (not only ispell!)
8144 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8146 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8148 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8150 * vspace.C: initialise lyxgluelength on failure
8152 2001-11-28 Allan Rae <rae@lyx.org>
8154 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8155 declaration & definition that looks like a function declaration.
8157 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8159 * BufferView2.C (copy):
8160 (copyEnvironment): do not clear the selection when doing a copy.
8162 * text.C (paintFirstRow): compilation fix
8164 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8166 * tabular.C (Latex): correct line count when writing latex.
8168 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8170 * paragraph_pimpl.h:
8171 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8174 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8178 * LColor.C: change vfillline->added_space
8180 * text.C: add markers and text for added space
8182 * vspace.C: fix comment
8184 2001-11-28 André Pönitz <poenitz@gmx.net>
8186 * paragraph.C: whitespace changes
8187 * all the other files from the change on 2001/11/26:
8188 change *::pos_type into lyx::pos_type
8190 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8192 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8193 language of the document when inserting error insets.
8195 2001-11-26 André Pönitz <poenitz@gmx.net>
8197 * BufferView_pimpl.[Ch]:
8205 * paragraph_pimpl.[Ch]:
8208 * text2.C: reduce header dependencies, introduce type for positions
8210 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8212 * <various>: change to use Alert.h
8214 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8216 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8217 when encountering an unknown token.
8218 (readLyXformat2): Show an error message if there were unknown tokens.
8220 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8223 * BufferView_pimpl.C:
8227 * text2.C: use par->isInset()
8229 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8231 * paragraph_pimpl.h:
8232 * paragraph_pimpl.C: cleanup
8234 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8236 * text2.C (removeRow):
8237 * text.C (setHeightOfRow): remove useless (and costly) call to
8240 2001-11-20 Allan Rae <rae@lyx.org>
8242 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8243 Now need Inset*::checkInsertChar() to return true for appropriate
8244 cases so that the characters in the minibuffer will actually be
8247 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8249 * text.C: change the order of the includes.
8250 (workWidth): initialize it at once.
8251 (workWidth): make maxw unsigned
8252 (setHeightOfRow): remove unused variable (inset)
8253 (selectSelectedWord): remove unused variable (inset)
8254 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8256 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8258 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8259 server is not running.
8261 (closeConnection): add debug info when server is disabled.
8263 * ColorHandler.C (getGCForeground): send debug message to GUI
8266 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8268 * kbmap.C (bind): modify because return conventions of
8269 kb_sequence::parse have changed.
8271 * kbsequence.C (parse): only ignore spaces and not any stupid
8272 control character. This avoids tests like s[i] <= ' ', which are
8273 guaranteed to fail with 8bit characters and signed chars.
8274 Change return code to string::npos when there have been no error
8275 (0 was a bad idea when error is at first character)
8277 2001-11-14 José Matos <jamatos@fep.up.pt>
8280 * buffer.C (simpleDocBookOnePar): removed unused argument.
8282 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8284 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8285 insets which are part of a word. Paragraph::isLetter takes care of
8286 that now. Use Paragraph::isInset to identify insets.
8287 (selectSelectedWord): do not test for hyphenation break.
8289 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8290 that protected spaces are considered as spaces.
8292 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8295 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8298 * lyxserver.C: fix it. and small cleanup.
8300 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8302 * BufferView_pimpl.C: use inline helpers
8305 * LaTeXFeatures.C: fix typos
8308 * Spacing.C: move spacing_string into class
8310 * ToolbarDefaults.C: move stuff into namespace anon
8312 * layout.h: update enum
8314 * lyxfunc.C: use better debug
8316 * minibuffer.h: fix typo
8320 * WorkArea.C: add and use Debug::WORKAREA
8324 * text2.C: code re-organisation, inline helpers
8326 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8328 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8329 std::vector.empty().
8331 2001-11-09 Allan Rae <rae@lyx.org>
8333 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8334 '\n's after tables. Tabular and ERT inset work now makes this no
8337 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8340 * minibuffer.C: fix crash, improve drop-down completion
8342 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8345 * lyxserver.C: invalidate fd's when doing endPipe()
8347 2001-11-08 José Matos <jamatos@fep.up.pt>
8349 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8350 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8353 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8355 2001-11-07 José Matos <jamatos@fep.up.pt>
8358 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8361 * buffer.C (sgmlOpenTag):
8362 * buffer.C (sgmlCloseTag): removed debug info.
8364 * buffer.h (sgmlOpenTag):
8365 * buffer.h (sgmlCloseTag): made public.
8367 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8369 * buffer.C (saveParamsAsDefaults):
8370 * lyx_cb.C (MenuLayoutSave): remove
8372 * LyXAction.C (init):
8374 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8376 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8378 * buffer.C (setPaperStuff): removed from here...
8380 * bufferparams.C (setPaperStuff): ... and moved there.
8382 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8386 * XFormsView.C: add support for drop-down completion
8388 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8390 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8393 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8395 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8398 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8400 * lyx_main.C: change ref to known bugs
8402 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8404 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8405 to work around older babel problems.
8407 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8409 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8411 2001-10-24 Juergen Vigna <jug@sad.it>
8413 * tabular-old.C (ReadOld): below variable changes reflected.
8415 * tabular.[Ch]: added ltType struct for longtable header/footer
8416 defines and changed all instances where they are used. Added
8417 future support for double top/bottom rows.
8419 2001-10-24 José Matos <jamatos@fep.up.pt>
8421 * buffer.h (docbookHandleCaption):
8422 * buffer.C (docbookHandleCaption): removed unused function.
8423 (makeDocBookFile): moved docbook supported version to v4.1.
8425 2001-10-24 José Matos <jamatos@fep.up.pt>
8428 * tabular.C (docbookRow): new function to export docbook code of a row.
8429 (DocBook): now honors the longtable flags.
8431 2001-10-23 José Matos <jamatos@fep.up.pt>
8434 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8435 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8437 * buffer.C (makeLinuxDocFile):
8438 (makeDocBookFile): reworked the preamble, more clean, and with
8439 support for lyx defined entities. Changed the document declaration
8440 to be more XML friendly.
8442 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8443 if we need to output XML that should be done with a filter.
8445 2001-10-22 Juergen Vigna <jug@sad.it>
8447 * sp_pspell.h (class PSpell): add alive function needed in the
8448 controller to see if the spellchecker could be started.
8450 2001-10-22 Juergen Vigna <jug@sad.it>
8452 * buffer.C (insertStringAsLines): modify the font for inserting
8453 chars in certain conditions by calling checkInsertChar(font).
8455 2001-10-19 Juergen Vigna <jug@sad.it>
8457 * text.C (workWidth): use getRow instead of wrong algorithm.
8458 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8460 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8465 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8467 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8469 * text.C (workWidth): do not search for the exact row when
8470 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8471 optimization for big documents.
8473 2001-10-18 Juergen Vigna <jug@sad.it>
8475 * text.C (workWidth): new function with added Inset * parameter.
8477 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8479 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8481 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8482 change return type of getColumnNearX.
8485 * text.C (changeRegionCase): use uppercase/lowercase instead of
8488 (rightMargin): simplify code by factoring out the uses of
8493 (appendParagraph): use Paragraph::size_type
8495 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8497 * vspace.C (asLatexString): add a missing break
8499 2001-10-15 Herbert Voss <voss@perce.de>
8501 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8503 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8505 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8508 2001-10-10 André Pönitz <poenitz@gmx.net>
8510 * lyxfunc.C: removed greek_kb_flag.
8512 2001-10-10 Herbert Voss <voss@perce.de>
8514 * lyx_main.C: delete global string help_lyxdir.
8516 2001-10-09 Herbert Voss <voss@perce.de>
8518 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8520 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8522 * lyx_main.C: added global string help_lyxdir.
8524 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8526 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8528 * lyxrc.C (set_font_norm_type): support iso8859-4
8530 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8532 * LaTeX.C (deplog): add another regex for MikTeX
8534 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8536 * lyxrc.C (set_font_norm_type): support iso8859-3
8538 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8540 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8542 * LaTeXFeatures.C: remove special case of french and index
8544 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8545 before \begin{document}). This solves several incompatibilities.
8547 2001-10-03 Garst Reese <reese@isn.net>
8549 * lyx_cb.C: change CheckTex error msg.
8551 2001-10-03 José Matos <jamatos@fep.up.pt>
8553 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8555 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8557 * .cvsignore: update
8559 * lyx_main.C (commandLineVersionInfo): use new style version info.
8561 * buffer.C (writeFile):
8564 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8566 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8568 * version.h: update to use stuff in version.C
8570 * version.C.in: new file. Contains version information determined
8571 at compile time. This is a merging of version.h and
8574 2001-10-03 Juergen Vigna <jug@sad.it>
8576 * BufferView_pimpl.C (update): don't change "dirty" status in
8579 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8581 * WorkArea.C (c-tor): re-position version string slightly.
8583 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8585 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8586 revert to previous code.
8588 WorkArea.[Ch]: (show, destroySplash): methods removed.
8590 WorkArea.C: rework code so that it's an amalgam of the codes before and
8591 after the splash screen was moved to WorkArea.
8593 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8596 * vspace.C (inPixels):
8599 * buffer.C (insertStringAsLines):
8600 (asciiParagraph): fix types to be large enough
8602 * lyxlex_pimpl.h: change member status from short to int
8604 * layout.h: fix type of endlabeltype
8607 * kbsequence.C (parse): change return type to string::size_type
8609 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8612 * Bullet.C (bulletSize):
8613 (bulletEntry): do not use short ints as parameters
8615 * BufferView2.C (insertLyXFile): change a char to an int.
8617 * WorkArea.C (WorkArea): remove unneeded floats in computation
8619 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8621 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8623 * paragraph.C (asString): Do not ignore newline/hfill chars when
8624 copying to the clipboard.
8626 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8628 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8629 after a multi-line inset.
8631 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8633 * paragraph.C (validate): Set NeedLyXFootnoteCode
8635 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8637 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8638 and decrease-error to decrease.
8640 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8642 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8643 it more readable (should be equivalent)
8645 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8647 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8649 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8651 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8652 of a cursor (row, etc.) after a character has been deleted
8653 (deleteEmptyParagraphMechanism): call the method above on _all_
8654 cursors held by the LyXText when a double space has been
8657 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8659 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8661 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8663 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8664 background. Use greyOut() and the new show() methods to toggle between
8665 the foreground and background. Add code to remove the splash after
8666 its initial showing.
8668 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8669 (create_forms): no longer call Dialogs::showSplash.
8671 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8673 * .cvsignore: add version_info.h
8675 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8677 * version_info.h.in: new file
8679 * Makefile.am: add version_info.h.in
8681 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8682 version_info.h instead of VERSION_INFO
8684 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8686 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8687 The ERT inset now returns string().
8689 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8691 * lyxtext.h, text.C (selectNextWord): renamed as
8692 selectNextWordToSpellcheck.
8694 * text.C (selectNextWordToSpellcheck): Modified to not select
8695 words inside an ERT inset.
8697 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8699 * lyx_cb.C (MenuLayoutSave): change a bit the question
8701 * sp_base.h: include <sys/types.h>
8703 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8705 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8707 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8709 * several files: fix typos in user-visible strings
8711 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8713 * text2.C (pasteSelection): do not set the selection, since it
8714 will be cleared later. Actually, the intent was to fix the way the
8715 selection was set, but I figured rmoving the code was just as good.
8717 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8719 * FontLoader.C (available): Check if font is available without
8722 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8724 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8726 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8728 * lyxrc.[Ch]: added display_graphics variable and associated code.
8730 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8732 * bufferparams.C (hasClassDefaults): new method. Returns true if
8733 the buffer parameters correspond to known class defaults
8735 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8737 * XFormsView.C (show): set minimum size to the main window.
8739 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8741 * text2.C (copySelection):
8743 * lyxfind.C (LyXReplace):
8744 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8745 LyXText::selectionAsString.
8747 * paragraph.C (asString): add "label" argument to the second form
8749 * text2.C (selectionAsString): add "label" argument and pass it to
8750 Paragraph::asString.
8752 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8754 * lyx_main.C (commandLineHelp): remove version information
8756 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8758 * lyx_main.C: add -version commandline option
8760 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8762 * paragraph.h: make the optional constructor arg required instead.
8763 some modifications to other files because of this.
8765 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8767 * lyxserver.C (C_LyXComm_callback): make it static
8769 * lyx_main.C (error_handler): make it static
8771 * lyx_gui.C (LyX_XErrHandler): make it static
8773 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8775 * WorkArea.C: make the extern "C" methods static.
8777 * Makefile.am (lyx_LDADD): simplify
8779 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8781 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8782 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8784 * LyXAction.C (init):
8785 * lyxfunc.C (dispatch): associated code removal.
8787 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8789 * lyxfont.h (isSymbolFont): shut off warning
8791 * text.C (setHeightOfRow):
8792 (getVisibleRow): fix crash with empty paragraphs which have a
8795 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8797 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8800 2001-09-04 José Matos <jamatos@fep.up.pt>
8803 * tabular.C (docbook): rename docBook method to docbook.
8805 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8807 * Makefile.am: add dependencies to main.o.
8809 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8811 * FontLoader.C (available): Return false if !lyxrc.use_gui
8813 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8815 * FontInfo.C (query):
8816 * converter.C (view):
8817 * importer.C (Import):
8818 * exporter.C (Export): Can not -> cannot.
8820 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8822 * BufferView_pimpl.C: allow to create index inset even if
8825 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8827 * buffer.C (getLists): replace boost::tie code with an explicit pair
8828 as boost::tie can break some compilers.
8830 * iterators.h: Added a std:: declaration to the return type of
8833 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8835 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8838 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8840 * iterators.[Ch]: New files. Provide paragraph iterators.
8842 * buffer.C (changeLanguage): Use paragraph iterators.
8843 (isMultiLingual): ditto
8845 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8847 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8849 * FontLoader.C: Support for cmr font.
8851 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8853 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8854 (available): New method.
8856 * FontInfo.C (getFontname): Use scalable fonts even when
8857 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8860 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8862 * converter.C (Formats::view): reverted! Incorrect fix.
8864 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8866 * converter.C (Formats::view): only output the -paper option
8867 if the dvi viewer is xdvi, thereby fixing bug #233429.
8869 2001-08-23 Herbert Voss <voss@perce>
8871 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8873 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8875 * Spacing.h (Spacing): Set space to Default on in the default
8878 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8880 * vc-backend.h (RCS::versionString): add RCS to version
8881 (CVS::versionString): add CVS to version
8883 * vc-backend.C (scanMaster): do not add CVS to version.
8884 (scanMaster): do not add RCS to version
8886 * lyxvc.C (versionString): new method
8888 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8890 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8892 * Spacing.C (set): initialize fval
8894 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8896 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8899 2001-08-16 Juergen Vigna <jug@sad.it>
8901 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8903 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8905 * BufferView_pimpl.C:
8908 * text2.C: setParagraph takes linespacing now
8910 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8912 * LyxAction.C: add internal LFUN_CITATION_INSERT
8914 * LyXView.C: actually apply fix
8916 * bufferlist.C: fix open non-existent file
8918 * lyxfind.C: fix indentation
8920 * lyxfunc.C: remove unneeded assert, fix typo
8922 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8924 * MenuBackend.C: use "Floatname List"
8926 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8928 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8929 when converting LaTeX layout to insetERT.
8930 Generate a non-collapsed float when reading old float
8932 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8934 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8937 2001-08-13 Juergen Vigna <jug@sad.it>
8939 * text.C (fill): return 0 instead of 20 as this seems to be the more
8942 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8944 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8947 2001-08-13 Juergen Vigna <jug@sad.it>
8949 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8951 (SearchBackward): comment out the unlocking of the inset_owner this
8952 should not be needed!
8954 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8956 * Many files: Remove inherit_language, and add latex_language
8958 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8961 2001-08-10 Juergen Vigna <jug@sad.it>
8963 * text.C (prepareToPrint): fixed hfill-width in draw!
8965 * BufferView2.C (selectLastWord): save the selection cursor as this
8966 now is cleared in the function LyXText::clearSelection!
8968 2001-08-08 Juergen Vigna <jug@sad.it>
8970 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8971 BACKSPACE type functions.
8973 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8974 is only cutted from the document but not put in the cut-buffer, where
8975 still the old stuff should be.
8977 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8979 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8981 * tabular.C (SetWidthOfCell): fixed special case where the width
8983 (LeftLine): handle '|' in align_special.
8985 (LeftAlreadyDrawed): ditto
8986 (SetWidthOfCell): ditto
8988 2001-08-07 Juergen Vigna <jug@sad.it>
8990 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8992 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8994 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8995 * lyxlex.[hC]: ditto
8997 2001-08-06 Juergen Vigna <jug@sad.it>
8999 * text.C (getVisibleRow): fix up row clearing a bit.
9001 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9003 * minibuffer.C: make sure the X server sees the changes in the input.
9005 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9007 * paragraph.C (getFont): split into...
9008 (getLabelFont): this
9009 (getLayoutFont): and this
9010 * paragraph_pimpl.C (realizeFont): calling this
9012 * text2.C (getFont): split into...
9013 (getLayoutFont): this
9014 (getLabelFont): and this
9015 (realizeFont): all three calling this
9017 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9020 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9022 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9024 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9026 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9027 layouts from the Quote inset insertion.
9029 2001-08-03 Juergen Vigna <jug@sad.it>
9031 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9033 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9034 only if status not is already CHANGED_IN_DRAW (second level).
9036 * text.C (draw): don't set the need_break_row when inside an
9039 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9041 * buffer.C (parseSingleLyXformat2Token): handle more latex
9044 * bufferview_funcs.[hC]: change function names to
9045 begin with small char, adjust other files.
9047 2001-08-02 André Pönitz <poenitz@gmx.net>
9050 BufferView_pimpl.C: remove broken special code for math-greek
9052 2001-08-02 Juergen Vigna <jug@sad.it>
9054 * BufferView_pimpl.C (update): redone this function so that we
9055 update the text again if there was a CHANGE_IN_DRAW.
9057 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9058 (drawFromTo): added a new internal bool which is used by draw() and
9060 (general): some cursor drawing problems fixed.
9062 2001-08-01 Juergen Vigna <jug@sad.it>
9064 * lyxfind.C (LyXFind): fixed
9065 (SearchForward): ditto
9066 (SearchBackward): ditto
9068 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9069 spurius drawing of the cursor in the main area.
9071 * text2.C (status): small fix which could lead to a segfault!
9072 (clearSelection): remove unneeded BufferView param.
9074 2001-08-01 André Pönitz <poenitz@gmx.net>
9076 * lyxfunc.C: small change due to changed mathed interface
9078 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9080 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9082 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9084 * lyxfunc.c: fail gracefully if file doesn't exist
9089 * BufferView_pimpl.C: IsDirWriteable() proto changed
9091 * LyXView.C: fix updateWindowTitle() to store the last title
9093 2001-07-31 Juergen Vigna <jug@sad.it>
9095 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9096 the font (wrong since using of Paragraph::highestFontInRange).
9098 * paragraph.C (highestFontInRange): added a default_size parameter.
9100 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9101 (setHeightOfRow): reformat
9103 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9105 * converter.[hC] + affected files: move to (inital-char)lowercase
9108 * ParagraphParameters.C (ParagraphParameters): remove commented code
9110 * PainterBase.[Ch]: remove commented code
9112 * LaTeXFeatures.h: add "bool floats" for float.sty
9114 * LaTeXFeatures.C (LaTeXFeatures): init floats
9115 (require): handle float
9116 (getPackages): do it with floats
9118 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9120 * BufferView_pimpl.C (Dispatch): improve handling of
9121 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9123 * commandtags.h: #include lyxfont.h here temporarily to avoid
9126 * bufferlist.h: include LString.h here.
9128 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9130 * text2.C (getStringToIndex): new method.
9132 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9134 * *: Reduced header file dependencies all over.
9136 2001-07-30 Baruch Even <baruch@lyx.org>
9138 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9140 2001-07-29 Baruch Even <baruch@lyx.org>
9142 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9144 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9146 * ParameterStruct.h (endif): add a default constructor to make
9147 sure that all variables is initialized.
9149 * ParagraphParameters.C (ParagraphParameters): adjust
9151 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9153 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9154 index; also, check that there is something to index, and that it
9155 does not span over several paragraphs.
9156 (doubleClick): use WHOLE_WORD_STRICT for double click.
9158 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9160 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9163 2001-07-26 Baruch Even <baruch@lyx.org>
9165 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9166 an InsetFig figure, backwards compatible reading of old figure code.
9168 2001-07-27 Juergen Vigna <jug@sad.it>
9170 * text2.C: font.realize function adaption.
9172 * text.C (draw): add a warnings lyxerr text if needed.
9174 * layout.C: font.realize function adaption.
9176 * language.C: add inherit_language and implement it's handlings
9178 * bufferview_funcs.C (StyleReset): remove language parameter from
9179 font creation (should be language_inherit now).
9181 * bufferparams.C (writeFile): handle ignore_language.
9183 * paragraph.C (getFontSettings): the language has to be resolved
9184 otherwise we have problems in LyXFont!
9186 * lyxfont.C (lyxWriteChanges): added document_language parameter
9187 (update): removed unneeded language parameter
9189 * paragraph.C (validate): fixed wrong output of color-package when
9190 using interface colors for certain fonts in certain environments,
9191 which should not seen as that on the final output.
9193 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9195 * BufferView_pimpl.C:
9200 * LyXAction.C: add thesaurus support
9203 * lyxfind.C: add "once" parameter, for thesaurus, to not
9204 move to the next match
9206 2001-07-26 Juergen Vigna <jug@sad.it>
9208 * lyxfont.C (realize): honor ignore_language too!
9211 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9213 * text.C (draw): one place more for ignore_language to not draw
9216 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9218 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9220 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9222 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9223 the minipage conversion problem.
9225 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9227 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9230 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9232 * BufferView.h: don't forward declare WorkArea
9234 * BufferView.C: don't include WorkArea.h
9236 2001-07-25 André Pönitz <poenitz@gmx.net>
9240 * lyxfunc.C: new LFUN 'math-space'
9242 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9244 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9246 * text2.C (toggleInset): call open/close
9248 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9250 * lyxfunc.C (dispatch): add debug for the disabled case
9252 * font.C (buttonText): make similar to rectText
9254 * buffer.C (readInset): comment out parsing of insetlist and
9257 * PainterBase.C (rectText): small correction
9259 * BufferView_pimpl.C: comment out insettheorem and insetlist
9260 * LyXAction.C: ditto
9261 * commandtags.h: ditto
9263 2001-07-24 Juergen Vigna <jug@sad.it>
9265 * text.C (draw): honor the ignore_language.
9267 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9269 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9271 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9274 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9276 * lyxtext.h: remove unused (and unimplemented) methods
9278 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9280 * text.C (getVisibleRow): honor background color
9283 * Painter.h: remove default color argument for fillRectangle
9285 * text.C (backgroundColor): new method
9287 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9289 * text.C (getVisibleRow): adjust
9291 * font.[Ch] (rectText): new method, metrics
9292 (buttonText): new method, metrics
9294 * PainterBase.[hC]: make rectText and buttonText always draw and take
9297 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9299 * ToolbarDefaults.C (read):
9300 * MenuBackend.C (read): allow escaping in all strings
9302 * BufferView_pimpl.C (insertAndEditInset): new method.
9303 (Dispatch): use insertAndEditInset whenever appropriate.
9305 * BufferView_pimpl.C (insertNote): removed
9307 * BufferView_pimpl.C (smartQuote): new method, moved from
9308 BufferView; if an insetquote cannot be inserted, insert a '"'
9311 * BufferView2.C: remove insertCorrectQuote();
9313 * lyxfunc.C (getStatus): Add support for all remaingin
9316 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9318 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9319 command (necessary to pass " as parameter of self-insert.
9321 * text.C (selectWordWhenUnderCursor):
9322 (selectWord): add word_location parameter
9323 (selectWordWhenUnderCursor): same + remove special code for word
9325 (selectNextWord): use kind() to guess type of insetspecialchar,
9328 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9329 (insertErtContents): create ert insets as collapsed.
9330 (readInset): better compatibility code for Info inset.
9332 2001-07-20 Juergen Vigna <jug@sad.it>
9334 * lyxfunc.C (dispatch): use always LyXFind now!
9336 * text2.C (init): add a reinit flag so that the LyXText can be
9337 reinited instead of deleted and reallocated (used in InsetText).
9339 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9345 2001-07-18 Juergen Vigna <jug@sad.it>
9347 * text.C (selectNextWord): handle insets inside inset by calling
9348 always the bv->text functions so that we can go up the_locking_inset!
9350 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9351 in strange locations when inside an inset!
9353 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9354 handling to include insets.
9356 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9358 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9360 * LyXAction.C (init):
9362 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9363 LIGATURE_BREAK, since the name is so stupid.
9365 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9367 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9370 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9372 * sp_form.[Ch]: remove.
9374 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9376 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9379 * src/buffer.C (readInset): ditto.
9381 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9383 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9384 menuSeparator(), endOfSentenceDot(), ldots() and
9385 hyphenationPoint(), which are therefore removed.
9386 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9388 * LyXAction.C (init):
9389 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9391 * paragraph.C (getWord): removed.
9393 * BufferView_pimpl.C (Dispatch): use last word or selection for
9394 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9396 * lyx_main.C (queryUserLyXDir): do not ask before creating
9397 user_dir, except if it has been named explicitely.
9399 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9401 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9402 a document of zero size.
9404 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9406 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9407 approriately in the c-tor and in require().
9408 (getPackages): output the appropriate LaTeX for natbib support.
9410 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9411 variables "use_natbib" and "use_numerical_citations" when reading the
9413 (readInset): read the various natbib cite commands.
9414 (validate): white-space change.
9416 * bufferparams.[Ch]: new variables "bool use_natbib" and
9417 "bool use_numerical_citations".
9418 (writeFile): output them in the LyX file.
9420 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9422 * lyxfunc.C (getStatus): add support for all the inset insertion
9425 * text2.C (insertInset):
9426 * paragraph.C (insetAllowed):
9427 * BufferView_pimpl.C (insertInset): update to take in account the
9428 renaming of insertInsetAllowed
9430 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9432 * text2.C (getInset): new method. returns inset at cursor position.
9434 * BufferView_pimpl.C (Dispatch): changes because of this.
9436 * LyXAction.C (init): rename open-stuff to inset-toggle.
9438 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9440 * text2.C (toggleInset): renamed from openStuff; use
9443 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9445 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9447 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9449 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9451 * buffer.C (readLyXformat2): Add filename to the error dialog
9453 2001-07-18 Juergen Vigna <jug@sad.it>
9455 * tabular.C (GetCellNumber): put an assert here instead of the check!
9457 2001-07-17 Juergen Vigna <jug@sad.it>
9459 * BufferView_pimpl.C (toggleSelection): adapted too.
9461 * text.C (selectNextWord): adapted for use with insets.
9462 (selectSelectedWord): ditto
9464 2001-07-17 Juergen Vigna <jug@sad.it>
9466 * sp_spell.C (PSpell): fix initialitation order.
9468 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9470 * paragraph.C: spacing
9472 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9474 * sp_spell.C: repair language selection for pspell
9476 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9478 * lyxfunc.h: change more methods to begin with lower char.
9480 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9482 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9483 for unknown layouts.
9485 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9487 * buffer.C (readLyXformat2): Generate an error dialog if there are
9490 2001-07-16 Juergen Vigna <jug@sad.it>
9492 * sp_spell.C: always compile ISpell part.
9494 * lyxrc.C: added use_pspell entry and it's handling.
9496 2001-07-13 Juergen Vigna <jug@sad.it>
9498 * sp_spell.C: removed double includes.
9500 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9502 Consistent use of Lsstream.h:
9503 * Lsstream.h: added using std::stringstream for consistencies sake.
9505 * buffer.C: removed using std::stringstream
9507 * lyxfont.C (stateText):
9508 * paragraph.C (asString):
9509 * text.C (selectNextWord, selectSelectedWord):
9510 * text2.C (setCounter):
9511 * vspace.C (asString, asLatexString):
9512 std::ostringstream -> ostringstream.
9514 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9516 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9517 * commandtags.h: add LFUN_HELP_ABOUTLYX
9518 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9520 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9522 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9524 * lyx_gui_misc.C: remove spellchecker
9525 * lyxfunc.C: showSpellchecker
9527 * sp_ispell.h: added
9528 * sp_pspell.h: added
9530 * sp_form.[Ch]: removed
9531 * spellchecker.[Ch]: removed
9533 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9535 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9537 (simpleTeXSpecialChars): Simply print the input character without
9538 any special translation if pass_thru is set.
9540 * layout.h: Added bool pass_thru to layout class for being able to
9541 implement pass through of a paragraph for Literate Programming.
9543 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9544 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9545 * layout.C (Read): add "passthru" to list of layout tags and add
9546 code to set the pass_thru boolean when it is read.
9548 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9550 * trans_decl.h: remove allowed from KmodInfo
9552 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9556 * paragraph_pimpl.C (erase): use boost::prior
9558 * Painter.C (text): use data() instead of c_str() when length is
9560 * WorkArea.C (putClipboard): ditto
9561 * font.h (width): ditto
9563 * BufferView2.C: use it-> instead of (*it). for iterators
9565 * paragraph_pimpl.C: ditto
9566 * paragraph.C: ditto
9567 * minibuffer.C: ditto
9572 * converter.C: ditto
9574 * Variables.C: ditto
9575 * TextCache.C: ditto
9576 * MenuBackend.C: ditto
9577 * LyXAction.C: ditto
9579 * FloatList.C: ditto
9581 * ColorHandler.C (LyXColorHandler): ditto
9583 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9585 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9587 * text2.C (openStuff): reintroduce this method (which had been
9588 nuked in NEW_INSETS frenzy).
9590 * lyxfunc.C (Dispatch): when an action has not been handled, use
9591 its name in the error message, not its number.
9593 * paragraph.C (inInset): change method name to begin with lowercase.
9596 * text2.C: updates because of this.
9598 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9600 * ToolbarDefaults.C (add): add spaces in error message
9602 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9604 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9605 (readLyXformat2): rename return_par to first_par, use lyxlex's
9606 pushToken and remove the manual push handling.
9607 (parseSingleLyXformat2Token): add another ert comp. variable:
9608 in_tabular, rename return_par to first_par. handle newlines better
9610 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9612 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9614 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9616 * text2.C (getParFromID): removed
9618 * buffer.C (getParFromID): new method moved form lyxtext.
9619 * BufferView2.C (insertErrors): adjust
9620 (setCursorFromRow): adjust
9621 * BufferView_pimpl.C (restorePosition): adjust
9622 * lyxfunc.C (Dispatch): adjust
9623 * undo_funcs.C (textUndo): adjust
9625 (textHandleUndo): adjust
9626 (textHandleUndo): adjust
9628 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9630 * buffer.C: up' the LYX_FORMAT
9632 * lyxfont.h: turn NO_LATEX on as default
9634 * buffer.C (insertErtContents): new methods of tex style compability.
9635 (parseSingleLyXformat2Token): use it several places.
9636 * tabular.C (OldFormatRead): and here
9638 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9640 * text2.C: remove some commented code.
9643 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9644 * trans.C: changes because of the above.
9646 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9648 * text2.C (setCounter): Fix counters bug with bibliography layout.
9650 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9652 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9653 own member functions
9654 (simpleTeXSpecialChars): ditto
9656 2001-07-06 Juergen Vigna <jug@sad.it>
9658 * a lot of files: changed the access to LyXText::status and the
9659 call of undo-functions.
9661 * undo.[Ch]: added a inset_id to the undo informations.
9663 * undo_funcs.[Ch]: added and moved here all undo functions.
9665 * lyxtext.h: give the status enum a weight, made status_ a private
9666 variable and made accessor functions for it, removed the whole bunch
9667 of undo-functions as they are now in their own file, make some
9668 functions publically available. Added function ownerParagraph with
9671 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9672 made InInset() a const function, added getParFromID() function.
9674 * buffer.[Ch]: added const version for inset_iterator functions,
9675 added getInsetFromID() function.
9677 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9678 changed undo functions for new version.
9680 2001-07-05 Juergen Vigna <jug@sad.it>
9682 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9683 unknow mechanism does not call the proper constructor but only this
9684 one also if I request the other!?
9686 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9688 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9690 * text2.C (LyXText): use initialization lists.
9692 * lyxtext.h (Selection): initialize set_ and mark_
9693 (init): remove method
9695 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9697 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9699 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9701 * screen.[Ch]: change method names to begin with lowercase
9703 * BufferView_pimpl.C (updateScrollbar): simplify further and
9704 hopefully make it a bit faster.
9706 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9708 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9709 calling directly xforms functions.
9711 * Painter.C (Painter):
9712 * lyx_cb.C (MenuWrite):
9713 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9716 * lyx_gui.C: remove bogus guiruntime extern declaration.
9718 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9720 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9722 (redoDrawingOfParagraph): ditto
9723 (redoParagraphs): ditto
9724 (cutSelection): don't create a object for CutAndPaste use the
9725 static method directly
9726 (pasteSelection): ditto
9728 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9731 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9733 * modifications to some other files because of this.
9735 * Makefile.am (lyx_SOURCES): add XFormsView
9737 * XFormsView.[Ch]: new files
9739 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9740 the main window. Move the gui dependent stuff to XFormsView
9742 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9744 * tabular.C (GetCellInset): update cur_cell also in the row/col
9745 version of this function.
9747 * lyxfunc.C: no need to include figure_form.h here.
9753 * lyxvc.C: no need to include forms.h here.
9755 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9757 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9759 * lyxfunc.C (Dispatch):
9761 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9762 constructor argument.
9764 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9766 * paragraph.C (Paragraph): dont't clear, and just set layout.
9767 (makeSameLayout): use params's copy contructor.
9769 * ParagraphParameters.[Ch] (makeSame): delete method
9771 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9773 * Variables.[Ch]: fix indentation, rename set to isSet
9775 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9777 * lyxfunc.C (Dispatch): fix typo
9779 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9781 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9784 * bufferlist.C: include assert.h for emergencyWrite().
9786 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9788 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9789 give up at last (bug #425202) !
9791 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9797 * spellchecker.C: strip spellchecker options and bring up
9798 preferences tab instead
9800 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9802 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9803 the istringstream constructor
9805 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9807 * paragraph.C (getLayout): fix return value
9809 * paragraph.h: do not declare getLayout as inline.
9811 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9813 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9815 * lyxcursor.h (operator<): new func
9816 (operator>): new func
9817 (operator>=): new func
9818 (operator<=): new func
9820 * text.C (changeCase): use selection.start and selection.end
9821 (changeRegionCase): require from to be <= to. Require par to be a
9824 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9826 2001-06-27 Juergen Vigna <jug@sad.it>
9828 * text.C (cursorLeftOneWord): changed to return the cursor and added
9829 overlay with BufferView * parameter which calls this one.
9831 (selectWord): use new getWord function.
9832 (changeCase): renamed from changeWordCase as and extended to work
9835 * lyxtext.h: added enum word_location
9837 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9838 changeCase as this operates now also on selections.
9840 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9842 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9844 * many files: send debug output to Debug::INFO instead of
9847 * converter.C (View):
9849 (Move): send debug output to Debug::FILES instead of console.
9851 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9853 * lyxfunc.C (getStatus): use func_status
9855 * func_status.h: new header, describing the results of
9858 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9861 2001-06-25 The LyX Project <jug@sad.it>
9863 * buffer.C (sgmlOpenTag):
9865 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9867 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9869 * text2.C: remove some dead code
9871 * tabular.C (GetCellInset): store the last cell checked (gotten)
9873 * tabular.h: add the helper for the speedup
9875 * lyxtext.h: remove some dead code
9877 2001-06-26 The LyX Project <Asger>
9879 * paragraph.C: Change export to LaTeX of alignment to
9880 \begin{center} and family for better roundtrip work with reLyX.
9882 * Tune the math drawing a bit.
9884 2001-06-25 The LyX Project <Asger>
9886 * LColor.C (LColor): New color for math background. New color
9889 2001-06-25 The LyX Project <jug@sad.it>
9891 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9894 * bufferlist.C (newFile): do not restrict to files ending with
9897 * BufferView_pimpl.C (MenuInsertLyXFile):
9899 2001-06-24 The LyX Project <jug@sad.it>
9901 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9904 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9906 * lyxtext.h: rename most methods to begin with a small char.
9907 Lots of changes because of this.
9909 * paragraph.C (Paragraph): do not call fitToSize
9910 (erase): call Pimpl::erase
9911 (insertChar): call Pimpl::insertChar
9912 (insertInset): call Pipl::insertInset
9913 (breakParagraph): do not call fitToSize
9914 (breakParagraphConservative): do not call fitToSize
9915 (fitToSize): remove method
9917 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9919 2001-06-24 The LyX Project <Asger>
9921 * Fix Qt compilation^2
9923 2001-06-24 The LyX Project <jug@sad.it>
9925 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9926 depthHook(getDepth()-1).
9929 * ParagraphParameters.h:
9930 * ParameterStruct.h: change type of depth to unsigned int ==
9931 depth_type. Many adaptations to other files before of that.
9933 2001-06-24 The LyX Project <Asger>
9935 * Fix Qt compilation.
9937 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9939 * paragraph.h: renamed several methods to begin with small letter.
9940 several changes to many parts of the code because of this.
9942 2001-06-23 The LyX Project <jug@sad.it>
9944 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9945 rewritten to discard all double spaces when KeepEmpty is off
9946 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9947 to only handle newlines but not fiddle with spaces and friends.
9949 * lyxfunc.C (MenuNew): when doing 'new from template', use
9950 template_path as default directory
9952 2001-06-23 The LyX Project <Asger>
9954 * Clean-up of header file includes all over
9955 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9957 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9959 * paragraph.h: renamed from lyxparagraph.h
9961 2001-06-23 Asger <lyx@violet.home.sad.it>
9963 * Buffer.h: Removed Buffer::resize
9964 * BufferList.h: Removed BufferList::resize
9965 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9966 the document lazily when we change the width, or the font settings.
9968 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9970 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9972 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9974 * buffer.h: remove out of date comment
9976 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9979 * screen.C: fix "theoretical" GC leak
9981 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9983 * LaTeX.C (scanAuxFile):
9984 (deplog): remove trailing \r when reading stream (useful under
9987 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9989 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9990 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9991 and BufferView::theLockingInset(Inset*), so should use them and not
9992 access bv_->text->the_locking_inset directly.
9994 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9996 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9999 * tex-defs.h: remove old unused file
10001 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10003 * BufferView_pimpl.C: fix typo, remove minibuffer message
10004 when buffer has loaded
10006 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10008 * lyxfunc.C (Dispatch): use stringstream
10009 (MenuNew): use stringstream
10010 (Open): use stringstream
10012 * importer.C (Import): use stringstream
10014 * bufferview_funcs.C (CurrentState): use stringstream
10016 * LaTeX.C (run): use stringstream
10018 * BufferView_pimpl.C (savePosition): use stringstream
10019 (restorePosition): use stringstream
10020 (MenuInsertLyXFile): use stringstream
10022 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10035 * vspace.C: removed // -*- C++ -*- as first line.
10038 * version.h: added // -*- C++ -*- as first line.
10040 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10042 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10044 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10047 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10049 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10052 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10054 * gettext.C: include LString.h even when --disable-nls is on.
10056 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10058 * converter.h (Get): changed argument type from int to
10059 FormatList::size_type to avoid unnecessary conversion.
10061 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10064 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10066 * gettext.h: include LString.h even when --disable-nls is on.
10068 2001-06-07 Juergen Vigna <jug@sad.it>
10070 * text.C (BreakAgain): subst spaces with tabs.
10072 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10073 (resizeInsetsLyXText): set force on resizeLyXText.
10075 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10077 * gettext.h (gettext_init):
10078 (locale_init): use a real definition instead of a macro
10080 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10082 * Bufferview_pimpl.C:
10084 * LColor.C: further lcolor tidies
10086 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10088 * BufferView_pimpl.C (updateScrollbar): simplify.
10090 * BufferView2.C: don't include insets/insetinfo.h, change
10091 prototype for insertInset and call the Pimpl version. let
10092 updateInset call Pimpl version.
10094 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10095 gotoInset to BufferView::Pimpl
10097 2001-06-01 Juergen Vigna <jug@sad.it>
10099 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10100 inside a LockingInset (is the update needed at all?).
10102 2001-05-31 Juergen Vigna <jug@sad.it>
10104 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10105 here not the old one otherwise how should we compare it afterwards
10108 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10113 * FontInfo.C: bring C functions into global namespace when
10116 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10118 * LString.h: make sure config.h has been loaded before LString.h.
10120 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10121 (one for each char read by EatLine!).
10123 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10126 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10128 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10129 to the same as the par we break from
10131 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10133 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10135 * MenuBackend.C (expand): also create menu entries for wide
10136 versions of the floats.
10138 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10140 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10142 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10143 frontends/Makefile.am
10149 * tabular.C (getTokenValue): add std::
10151 * tabular-old.C (getTokenValue): add std::
10152 (getTokenValue): ditto
10153 (getTokenValue): ditto
10155 * screen.C (ToggleSelection): adjust
10157 * lyxtext.h: put selection cursors inside a Selection struct.
10159 * lyxfunc.C (moveCursorUpdate): adjust
10161 * lyxfont.C (latexWriteStartChanges): add std::
10163 * lyxfind.C: adjust
10165 * font.h: delete with(char const *, LyXFont const &)
10167 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10169 * FontInfo.C (getFontname): add std::
10171 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10172 (workAreaButtonPress): adjust
10173 (tripleClick): adjust
10175 (moveCursorUpdate): adjust
10178 * BufferView2.C (gotoInset): adjust
10180 2001-05-30 Juergen Vigna <jug@sad.it>
10182 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10183 to check pspell I add this as default as I now have new pspell
10184 libraries and they seem to use this.
10186 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10188 * text2.C (CutSelection): make the cursor valid before the call to
10191 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10193 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10194 relied on 0 terminated strings and other horrors. Bug found due to
10195 the new assert in lyxstring!
10197 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10200 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10202 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10205 * lyxfunc.C (processKeySym): change method of getting to the
10208 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10209 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10210 * BufferView_pimpl.[Ch]: here as private methods.
10212 2001-05-28 Juergen Vigna <jug@sad.it>
10214 * text.C (SetHeightOfRow): added the update() call again as it is
10215 needed to initialize inset dimensions!
10217 2001-05-16 Juergen Vigna <jug@sad.it>
10219 * text2.C (SetCharFont): Add new function with BufferView * and
10220 bool toggleall parameters for setting insets internal fonts.
10221 (SetFont): Freeze the undo as we may change fonts in Insets and
10222 all this change should be inside only one Undo!
10224 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10225 setting font's in insets as for them we have the SetFont function!
10227 2001-05-15 Juergen Vigna <jug@sad.it>
10229 * text2.C (ClearSelection): to be sure we REALLY don't have any
10232 * tabular.C (TeXCellPreamble): fixed the left border problem for
10235 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10237 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10240 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10242 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10243 LFUN_BREAKPARAGRAPH.
10245 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10246 help test to "internal only", similar for LFUN_INSERT_URL
10248 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10249 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10250 auto_region_delete and deadkeys.
10252 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10255 * LColor.C: remove some dead entries, tidy a little
10257 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10259 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10261 (Dispatch): implement LFUN_ESCAPE
10263 * commandtags.h: add LFUN_ESCAPE
10265 * LyXAction.C (init): add entry for LFUN_ESCAPE
10267 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10268 Remove commented code.
10269 (insertNote): moved here
10270 (open_new_inset): moved here
10272 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10275 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10277 * kbmap.C (findbinding): clean it up and make it work correctly.
10279 * lyx_main.C (init): do not pass argc and argv as parameters
10281 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10283 * buffer.C: fix path for OS/2 & Win32
10287 * lyx_main.C: Added os:: class.
10289 * os2_defines.h: update
10291 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10293 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10294 better by trying again with reduced state.
10296 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10298 * lyxrc.C (read): print error about invalid key sequence only when
10299 debugging (because not all latinX keysyms are known to some X
10302 * kbsequence.C (getiso): add a few std:: qualifiers
10303 (getiso): comment out extra return statement.
10305 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10307 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10309 (Dispatch): enhance the accent inset a bit. (not perfect)
10311 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10313 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10315 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10317 * bufferlist.C (emergencyWrite): fix assert() call
10319 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10321 * text.C (InsertChar): Added trivial patch to only send the "you
10322 can not do multiple spaces this way" message once during a
10325 2001-05-08 Baruch Even <baruch@lyx.org>
10327 * Makefile.am: Changed order of libraries to get LyX to link properly
10328 with the gnome frontend.
10330 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10332 * LaTeXFeatures.h: add a std:: qualifier
10334 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10336 * paragraph.C (String): use stringstream
10338 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10340 * paragraph.C (writeFile): remove footflag arg
10342 * buffer.C (makeLaTeXFile): use stringstream
10343 (latexParagraphs): remove footnot gurba
10345 * LaTeXFeatures.C (getPackages): use stringstream
10346 (getMacros): likewise
10347 (getTClassPreamble): likewise
10348 (getFloatDefinitions): new method
10350 * paragraph.C (writeFile): reindent
10353 * WorkArea.h: revert the xpos + etc changes.
10355 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10357 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10359 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10360 (pasteSelection): likewise
10361 * text2.C (CreateUndo): likewise
10363 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10365 * minibuffer.C (peek_event): temporarily reduce the functionality
10366 of the minibuffer (to allow args on lfuns)
10368 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10369 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10371 * buffer.C (readInset): add compability reading of old float
10372 lists, add reading of new style float list.
10373 (readInset): avoid reevaluation of inscmd.getCmdName()
10374 (getLists): reindent
10376 * MenuBackend.C (MenuItem): implement parsing of
10377 md_floatlistinsert and md_floatinsert.
10378 (expand::LastFiles): move initalizaton of iterators out of loop,
10379 avoid reevaluation.
10380 (expand::Documents): introduce typdedef vector<string> Strings,
10382 (expand::ExportFormats): introduce typedef vector<Format const *>
10383 Formats, and use it.
10384 (expand): implement FloatListInsert and FloatInsert.
10386 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10387 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10388 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10390 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10392 (Dispatch::LFUN_FLOAT_LIST): implement
10394 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10396 * LaTeX.C (run): Fix problem with --export code.
10398 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10400 * BufferView.[Ch] (workarea): removed.
10401 (getClipboard) new method; wrapper for workarea()->getClipboard()
10403 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10406 * WorkArea.h (width, height, xpos, ypos): These methods all
10407 returned the dimensions of the work_area sub-area of WorkArea,
10408 resulting in a position error if the WorkArea were resized. Now
10409 return the dimensions of the entire WorkArea.
10411 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10413 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10415 * LaTeX.C (deplog): correct the syntax of regex reg1
10417 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10419 * undo.C: remove !NEW_INSETS cruft
10421 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10423 * text2.C: remove !NEW_INSETS cruft
10425 * text.C: remove !NEW_INSETS cruft
10427 * tabular.C: remove !NEW_INSETS cruft
10429 * spellchecker.C: remove !NEW_INSETS cruft
10431 * lyxtext.h: remove !NEW_INSETS cruft
10433 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10435 * lyxfunc.C: remove !NEW_INSETS cruft
10437 * lyxfind.C: remove !NEW_INSETS cruft
10439 * lyx_cb.C: remove !NEW_INSETS cruft
10441 * figureForm.C: remove !NEW_INSETS cruft
10443 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10445 * buffer.[Ch]: remove !NEW_INSETS cruft
10447 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10449 * CutAndPaste.C: remove !NEW_INSETS cruft
10451 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10453 * BufferView2.C: remove !NEW_INSETS cruft
10455 * BufferView.h: remove !NEW_INSETS cruft
10457 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10459 * Lsstream.h: include LString.h before the sstream headers to
10460 fix problem with gcc 2.95.3 and lyxstring
10462 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10464 * lyx_main.C: add using directives when needed for C functions
10465 declared in std:: namespace.
10467 2001-04-27 Juergen Vigna <jug@sad.it>
10469 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10470 (SetHeightOfRow): comment out the update call should not be needed!
10472 2001-04-13 Juergen Vigna <jug@sad.it>
10474 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10475 (LyXTabular): tried to minimize operator= operations (and realized
10476 hopfully Lars wish).
10478 2001-04-27 Juergen Vigna <jug@sad.it>
10480 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10482 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10484 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10486 * buffer.C (readInset): hack to make listof algorithm work
10488 * BufferView_pimpl.C: hack to make listof algorithm work
10490 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10492 * LyXAction.C: removed all !NEW_INSETS cruft
10493 (init): moved lfun_item in method
10495 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10497 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10499 * BufferView2.C (theLockingInset): white space.
10501 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10503 * minibuffer.C: include <iostream>
10505 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10507 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10509 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10511 * text.[Ch] (TransposeChars): new method
10513 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10515 * call message directly through LyXView instead of through LyXFunc
10516 * BufferView2.C: adjust
10517 * BufferView_pimpl.C: adjust
10518 * FontLoader.C: adjust
10520 * bufferview_funcs.C: adjust
10521 * converter.C: adjust
10522 * figureForm.C: adjust
10523 * importer.C: adjust
10525 * lyx_gui_misc.C: adjust
10526 * lyxfunc.C: adjust
10529 + more files in subdirs
10531 * lyxparagraph.h (size): move up int file
10534 * adjust all uses of Assert to lyx::Assert.
10536 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10537 lyxfunctional in namespace lyx
10538 * layout.C (hasLayout): ditto
10541 (delete_layout): ditto
10542 (NumberOfClass): ditto
10543 * converter.C (GetFormat): ditto
10548 * bufferlist.C (getFileNames): ditto
10549 (emergencyWriteAll): ditto
10552 * MenuBackend.C (hasSubmenu): ditto
10555 * BufferView_pimpl.C (getInsetByCode): ditto
10557 2001-04-18 Juergen Vigna <jug@sad.it>
10559 * vspace.C (asLatexString): fixed the 100% problem.
10561 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10563 * lyxfunc.C (Dispatch):
10565 * minibuffer.h: add a few std:: qualifiers
10567 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10569 * minibuffer.[Ch]: reimplement so that commands is initiated and
10570 run from lyxfunc, simplified som handling, and made the completion
10571 and history code for complete. wip.
10573 * lyxfunc.C (processKeySym): call message
10574 (miniDispatch): new temporary method
10575 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10576 (LFUN_MESSAGE): implement
10577 (LFUN_MESSAGE_PUSH): implement
10578 (LFUN_MESSAGE_POP): implement
10579 (initMiniBuffer): the initial/defualt minibuffer message.
10581 * lyxfont.[Ch]: inline some more getters
10583 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10585 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10587 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10588 (AutoSave): use LFUN_MESSAGE
10589 (Reconfigure): ditto
10591 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10593 * figureForm.C: use LFUN_MESSAGE
10595 * converter.C (runLaTeX): use LFUN_MESSAGE
10597 * bufferview_funcs.C: use LFUN_MESSAGE
10599 (changeDepth): ditto
10601 * bufferparams.h: use boost::
10603 * bufferlist.h: inherit privately from noncopyable
10605 * bufferlist.C (loadLyXFile): remove some commented code.
10607 * buffer.C (runChktex): use LFUN_MESSAGE
10609 * ShareContainer.h: inherit privately from noncopyable
10611 * ParagraphParameters.[hC] (depth): inline it.
10613 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10615 (message): new method
10616 (messagePush): ditto
10617 (messagePop): ditto
10618 (show): init minibuffer
10619 (showState): direct call
10621 * LaTeX.[Ch]: inherit privately from noncopyable
10622 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10623 instead of WriteStatus.
10625 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10627 * BufferView_pimpl.C (buffer): don't init minibuffer
10628 (workAreaButtonPress): use LFUN_MESSAGE
10629 (workAreaButtonRelease): ditto
10630 (savePosition): ditto
10631 (restorePosition): ditto
10632 (MenuInsertLyXFile): ditto
10633 (workAreaExpose): don't init minibuffer
10634 (update): remove commented code, simplify
10636 * BufferView2.C (openStuff): use LFUN_MESSAGE
10637 (toggleFloat): ditto
10640 (copyEnvironment): ditto
10641 (pasteEnvironment): ditto
10646 (updateInset): remove some commented code
10648 * lastfiles.h: inherit privately from noncopyable
10651 * lyx_main.h: ditto
10653 * lyxlex_pimpl.h: ditto
10655 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10656 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10657 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10659 * LyXAction.h: inherit privately from noncopyable, add methods
10660 func_begin, func_end, returning iterators to the func map.
10662 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10663 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10664 (func_begin): new method
10665 (func_end): new method
10667 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10669 (copySelection): ditto
10670 (pasteSelection): ditto
10672 * BufferView.C: whitespace change
10673 * BufferView.h: inherit privately from noncopyable
10675 2001-04-16 Allan Rae <rae@lyx.org>
10677 * tabular-old.C (l_getline):
10678 * spellchecker.C (sc_check_word):
10679 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10680 an unrecognised preprocessor directive. So ensure they're wrapped.
10682 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10684 * src/exporter.C (Export): Give an error message when path to file
10687 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10689 * LaTeX.C (deplog): Always check that foundfile exists.
10691 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10694 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10696 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10698 * tabular.[Ch] (getLabelList): implement new method
10700 * minibuffer.h: comment ouf setTiimer
10702 * minibuffer.C (ExecutingCB): constify res
10703 (peek_event): constify s
10704 (Set): constify ntext
10705 (Init): constify nicename
10707 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10709 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10710 (savePosition): use two params to Minibuffer::Set
10711 (restorePosition): ditto
10713 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10715 * lyx_main.C: include language.h
10717 * Makefile.am (lyx_main.o): add language.h
10719 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10725 * CutAndPaste.C: include gettext.h
10727 * lyxfont.h: remove old hack with ON and OFF.
10730 * lyxfont.h: do not include language.h...
10735 * bufferview_funcs.C:
10741 * paragraph.C: ... but do it here instead
10743 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10745 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10747 * tabular.C: small reformat
10749 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10752 (BreakParagraph): ditto
10753 (SetOnlyLayout): ditto
10756 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10759 * lastfiles.C: removed most using decl, add std:: where needed
10761 * buffer.C: ws changes
10763 * MenuBackend.C (class compare_format): put into anon namespace
10764 (expand): constify label, names, action, action2
10767 * text.C (SingleWidth): constify font
10768 (IsBoundary): constify rtl2
10769 (GetVisibleRow): constify ww
10771 * LaTeX.C (deplog): constify logfile
10773 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10775 (workAreaExpose): constify widthChange, heightChange
10777 * lyxrow.C (par): moved
10780 * lyxrow.h: as inlines here
10782 * lyxfont.h (shape): moved from lyxfont.C
10783 (emph): moved from lyxfont.C
10785 * lyxfont.C (LyXFont): use initialization list for all
10787 (shape): move to lyxfont.h as inline
10788 (emph): move to lyxfont.h as inline
10791 2001-04-04 Juergen Vigna <jug@sad.it>
10793 * vspace.C: had to include stdio.h for use of sscanf
10795 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10798 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10799 independent of xforms.
10801 2001-04-02 Juergen Vigna <jug@sad.it>
10803 * spellchecker.C: fixed namespace placing!
10805 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10807 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10808 the LyXParagraph * is 0.
10810 2001-03-29 Juergen Vigna <jug@sad.it>
10812 * vspace.C: added support for %, c%, p%, l%.
10813 (stringFromUnit): added helper function.
10814 (asLatexString): changed to give right results for the %-values.
10816 * buffer.C: convert the widthp in a width%.
10818 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10820 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10823 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10824 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10826 * lyx_cb.[Ch]: see above.
10828 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10832 * lyx.[Ch]: replaced by figure_form.[Ch].
10836 * lyxfunc.C: changed headers associated with above changes.
10838 2001-03-27 Juergen Vigna <jug@sad.it>
10840 * BufferView_pimpl.C: set the temporary cursor right!
10842 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10844 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10846 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10848 * LString.h: removed "using std::getline"!
10850 * BufferView_pimpl.C (Dispatch): changes due to changes in
10851 InsetInclude::Params.
10853 * buffer.C (tag_name): removed redundant break statements as they were
10854 producing lots of warnings with my compiler.
10856 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10858 * LString.h: add "using std::getline" when using the real <string>.
10860 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10862 * buffer.C: removed bitset usage.
10863 PAR_TAG moved to an anonymous name space.
10864 (tag_name): new funtion, also in the anonymous namespace.
10865 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10866 (makeDocBookFile): clean code. Completed transition from string arrays
10868 (SimpleDocBookOnePar): code clean.
10870 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10872 * tabular.C: add some comments.
10874 2001-03-22 Juergen Vigna <jug@sad.it>
10876 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10877 compatibility read a bit and fixed bug with minipage in different
10880 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10882 * buffer.C (pop_tag): removed.
10883 (push_tag): removed.
10884 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10885 array replaced with vector. Added support for CDATA sections.
10886 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10888 (makeDocBookFile): XML conformant declaration of CDATA section,
10889 fixed bug related to <emphasis> in the first paragraph char.
10890 (sgmlOpenTag): exclude empty tags.
10891 (sgmlCloseTag): ditto.
10893 * buffer.h (pop_tag): removed.
10894 (push_tag): removed.
10896 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10898 * language.h (Languages): added size_type and size().
10900 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10902 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10903 response on compability reading of minipages. One probliem is that
10904 the old usage of minipages was «flertydig»
10906 * several files here and in subdirs: don't use static at file
10907 scope use anon namespaces instead.
10909 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10911 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10912 LaTeX output. This is necessary for Literate document
10915 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10917 * buffer.C: insert hfill when needed.
10919 * tabular.C (l_getline): use string::erase, small whitespace change.
10921 * BufferView_pimpl.C: try the anon namespace.
10922 * WorkArea.C: ditto
10924 2001-03-16 Juergen Vigna <jug@sad.it>
10926 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10927 otherwise it won't open options-dialogs.
10929 * buffer.C: honor pextraWidth(p) on converting minipages.
10931 * tabular.C (l_getline): changed the functions to strip trailing \r.
10933 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10935 * BufferView_pimpl.C:
10936 * minibuffer..C: added "using SigC::slot" declaration.
10938 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10940 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10946 * paragraph.C: ditto
10948 * lyxtext.h: NO_PEXTRA
10950 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10952 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10953 * ParameterStruct.h: ditto
10954 * ParagraphParameters.h: ditto
10955 * lyxparagraph.h: ditto
10957 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10959 * buffer.C: add compability for minipage alignment.
10960 (latexParagraphs): remove unwanted pextra check.
10962 * several files: remove CXX_WORKING_NAMESPACES
10964 * buffer.C (pop_tag): tie is in namespace boost
10966 * BufferView.h: noncopyable is in namespace boost
10968 * lyx_main.h: ditto
10971 * lastfiles.h: ditto
10972 * bufferlist.h: ditto
10973 * ShareContainer.h: ditto
10975 * LyXAction.h: ditto
10978 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10980 * Merging changes from BRANCH_MVC back into HEAD.
10982 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10984 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10986 * BufferView_pimpl.C: change from intl.C
10990 * Makefile.am: move combox.*
10996 * intl.C: remove dialog (covered by prefs)
10998 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11000 * lyxfunc.C (Dispatch): removed redundant break statement.
11002 2001-03-14 Juergen Vigna <jug@sad.it>
11004 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11006 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11008 * buffer.C: add hack to fix compability reading of minipages.
11010 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11012 * buffer.C (getLists): Cleanup.
11014 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11016 * lyxfont.C (update): don't honor toggleall on font size.
11018 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11022 * Makefile.am: moved to frontends/xforms/
11026 * BufferView_pimpl.C: changes for moved mathpanel
11028 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11030 * gettext.h: fix gettext_init() in --disable-nls
11032 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11034 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11036 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11039 * lyx.h: strip external form
11041 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11043 * BufferView_pimpl.C: add comment, destroySplash()
11045 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11047 * BufferView_pimpl.C:
11051 * lyxfunc.C: use re-worked insetinclude
11053 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11055 * buffer.C: add using std::stringstream.
11057 * lyx_cb.C: readd using std::ios.
11059 * buffer.C: add using std::map.
11061 * BufferView_pimpl.C: add using std::vector.
11063 * ShareContainer.h: add std:: to swap.
11065 * buffer.h: add some typedefs
11066 * buffer.C (getLists): use them
11067 (getLists): renamed from getTocList.
11068 add a counter for the different float types and use it in the
11070 (getLists): use the same counter for the NEW_INSETS and the "non"
11073 * lyx_cb.h: remove unused items, includes, using etc.
11075 * ShareContainer.h: remove some commented code, add more comments
11076 and "documentation".
11078 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11080 * buffer.C (getTocList): make the list also when NEW_INSETS is
11083 * buffer.h: remove TocType
11085 * buffer.C (getTocList): change to return a map<string,
11086 vector<TocItem> >, implement for dynamic number of list.
11088 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11089 * text2.C (PasteSelection): adjust
11090 * CutAndPaste.C (pasteSelection): adjust
11092 * FloatList.C (FloatList): update from the new_insets branch.
11093 * Floating.[Ch]: ditto
11094 * LaTeXFeatures.C: ditto
11096 * lyxlex_pimpl.C: ditto
11098 * paragraph.C (Last): remove when NEW_INSETS is defined.
11100 * other file: changes because of the above.
11102 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11104 * lyxparagraph.h: rename next to next_, previous to previous_,
11105 make them private for NEW_INSETS. Rename Next() to next(),
11106 Previous() to previous().
11108 * other files: changes because of the above.
11110 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11113 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11116 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11118 * main.C (main): pass lyx_localedir to gettext_init().
11120 * gettext.h: remove locale_init and gettext_init macros
11122 * gettext.C (locale_init): new function
11123 (gettext_init): new function
11125 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11128 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11130 * Moved credits to frontends:
11131 * credits.[Ch]: removed
11132 * credits_form.[Ch]: removed
11133 * lyx_gui_misc.C: remove credits stuff
11136 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11138 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11140 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11141 unneeded destructor.
11143 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11144 a standalone pointer again.
11146 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11148 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11154 * ToolbarDefaults.C:
11163 * BufferView_pimpl.C: use new file dialog in GUII
11166 * lyx_cb.C: remove LayoutsCB to Toolbar
11168 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11170 * ShareContainer.h (get): add std:: qualifier
11172 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11174 * ShareContainer.h: define a proper ShareContainer::value_type
11175 type (and use typename to please compaq cxx)
11177 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11179 * lyxparagraph.h: move serveral local vars to
11180 ParameterStruct/ParagraphParameters., use ShareContainer in
11181 FontTable., make vars in FontTable private and add getter and
11184 * paragraph.C: changes because of the above.
11186 * lyxfont.h: remove copy constructor and copy assignment. (the
11187 default ones is ok), move number inside FontBits. move inlines to
11190 * lyxfont.C: add number to initializaton of statics, move several
11191 inlines here. constify several local vars. some whitespace
11192 cleanup. Dont hide outerscope variables.
11194 * Spacing.h: add two new constructors to match the set methods.
11196 * ShareContainer.h: new file, will perhaps be moved to support
11198 * ParameterStruct.h: new file
11200 * ParagraphParameters.h: new file
11202 * ParagraphParameters.C: new file
11204 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11205 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11207 * BufferView_pimpl.C: ParagraphParameter changes.
11208 * buffer.C: Likewise.
11209 * bufferview_funcs.C: Likewise.
11210 * text.C: Likewise.
11211 * text2.C: Likewise.
11213 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11215 * lyxfind.C (LyXReplace): do not redefine default argument in
11217 (IsStringInText): ditto
11218 (SearchForward): ditto
11219 (SearchBackward): ditto
11221 2001-03-06 Juergen Vigna <jug@sad.it>
11223 * lyxfind.C (IsStringInText): put parentes around expressions.
11225 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11227 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11229 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11231 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11233 * stl_string_fwd.h: add comment
11235 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11238 * tabular.C: remove unused DocBook methods
11244 killed DO_USE_DEFAULT_LANGUAGE
11246 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11248 * lyx_gui.C: do not include language.h.
11250 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11251 arguments in function implementation.
11253 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11255 * BufferView_pimpl.C: add <ctime>
11257 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11259 * BufferView_pimpl.C: add using std::find_if
11261 2001-02-27 José Matos <jamatos@fep.up.pt>
11263 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11266 2001-02-11 José Matos <jamatos@fep.up.pt>
11268 * buffer.C (makeDocBookFile): command styles now have a parameter as
11269 "title" by default.
11271 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11273 * layout_forms.[Ch]: removed
11274 * lyx_cb.[Ch]: out character
11275 * lyx_gui.C: out character
11276 * lyx_gui_misc.C: out character
11277 * bufferview_funcs.C: : out character,
11278 added toggleall as parameter in ToggleAndShow
11280 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11282 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11284 * text2.C (SetCurrentFont): Disable number property at boundary.
11286 2001-02-26 Juergen Vigna <jug@sad.it>
11288 * lyxfunc.C (getStatus): added a string argument override function so
11289 that this is correctly called from LyXFunc::Dispatch if it contains a
11290 do_not_use_argument which is used!
11291 (Dispatch): added check for "custom" export and call appropriate func.
11293 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11295 * lyxrc.C: Add language_command_local, language_use_babel and
11296 language_global_options.
11298 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11300 * buffer.C (makeLaTeXFile): Use language_use_babel and
11301 language_global_options.
11303 2001-02-23 Juergen Vigna <jug@sad.it>
11305 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11306 which works with LyXText and putted it inside BufferView. Here now we
11307 only call for that part the BufferView::Dispatch() function.
11309 * BufferView.C (Dispatch): added.
11311 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11312 functions which needs to use a LyXText over from LyXFunc.
11313 (MenuInsertLyXFile): added
11314 (getInsetByCode): added
11315 (moveCursorUpdate): added
11316 (static TEXT): added
11318 2001-02-22 Juergen Vigna <jug@sad.it>
11320 * BufferView_pimpl.C (update): call a status update to see if LyXText
11323 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11325 * vc-backend.C (revert): implement for CVS
11326 (getLog): implement for CVS
11328 2001-02-20 Juergen Vigna <jug@sad.it>
11330 * text2.C (ClearSelection): added BufferView param for inset_owner call
11332 * lyxfunc.C (TEXT): added this function and use it instead of
11333 directly owner->view()-text of getLyXText().
11335 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11337 * src/layout_forms.C: out preamble
11338 * src/layout_forms.h: out preamble
11339 * src/lyx_cb.C: out preamble
11340 * src/lyx_cb.h: out preamble
11341 * src/lyx_gui.C: out preamble
11342 * src/lyx_gui_misc.C: out preamble
11343 * src/lyxfunc.C: connect with guii preamble
11345 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11347 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11349 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11351 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11352 whether to run bibtex.
11354 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11356 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11358 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11360 * Makefile.am (lyx_SOURCES): removed bibforms.h
11362 * vspace.h: doxygen
11364 * text.C (GetVisibleRow): make several local vars const
11366 * tabular.C: small cleanup.
11368 * lyxserver.C (callback): use compare instead of strncmp
11370 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11371 inlines to after class or to paragraph.C
11373 * lyxfont.h: remove friend operator!=
11375 * converter.h: move friend bool operator< to non friend and after
11378 * combox.h: small cleanup
11380 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11381 to inlines after class def.
11383 * buffer.C (pop_tag): use string operations instead of strcmp
11385 * bmtable.c: doxygen, small cleanup
11387 * LaTeX.h: remove friend operator==
11389 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11401 * BufferView_pimpl.C:
11402 * BufferView.[Ch]: remove cruft
11404 2001-02-14 Juergen Vigna <jug@sad.it>
11406 * lyxfunc.C: removed #if 0 unused code
11408 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11410 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11412 * text2.C (SetSelection): added a BufferView * parameter
11414 2001-02-13 Juergen Vigna <jug@sad.it>
11416 * lyxfunc.C (Dispatch): fixed protected blank problem.
11417 * BufferView2.C (protectedBlank): added LyxText * parameter.
11419 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11420 (AppendColumn): same as above for column_info.
11422 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11423 (moveCursorUpdate): use a LyXText param for support of InsetText.
11425 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11426 (tripleClick): ditto
11428 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11430 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11432 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11434 * text2.C (SetSelection): set correct update status if inset_owner
11435 (ToggleFree): ditto
11437 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11439 * tabular.C: remove some commented code.
11441 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11443 * BufferView_pimpl.C: call hideSplash()
11445 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11448 * bibforms.h: remove
11451 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11452 add LFUN_CHILD_CREATE
11454 * counters.h: fix tiny typo
11459 * lyx.C: move splash to frontends/xforms/
11461 * lyx_gui_misc.C: move Include and Bibform to frontends
11463 * lyxvc.h: clarify comment
11465 * vspace.C: tiny housekeeping
11467 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11469 * text.C (PrepareToPrint): RTL Fix.
11471 * paragraph.C (GetUChar): New method.
11472 (String): Use GetUChar.
11474 * buffer.C (asciiParagraph): Use GetUChar.
11476 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11478 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11480 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11483 * buffer.C: rename to getLogName(), handle
11484 build log / latex log nicely
11486 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11489 * MenuBackend.h: remove support for reference menuitem type.
11491 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11493 * BufferView_pimpl.C: housekeeping
11494 * BufferView_pimpl.h:
11499 * minibuffer.h: move Timeout GUI-I
11501 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11503 * lyxrc.C (read): Update converters data-structures.
11505 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11507 * LaTeX.h (operator!=): add operator != for Aux_Info
11509 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11511 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11513 * LaTeXLog.C: deleted, useful code moved to Buffer
11516 * buffer.C: new function getLatexLogName()
11522 * lyxfunc.C: use frontends for LaTeX and VC logs
11524 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11526 * LaTeX.h: yet another std:: that Allan forgot.
11528 * Variables.C (set): renamed from isset(), because this clashes
11529 with some HP-UX macros (grr).
11531 2001-02-06 Allan Rae <rae@lyx.org>
11533 * LaTeX.h: Another bug fix. Missing std:: this time.
11535 2001-02-04 Allan Rae <rae@lyx.org>
11537 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11538 floats problem. I've left it commented out because it's not quite
11539 correct. It should also test that the current object is a table or
11540 figure inset. But I haven't gotten around to figuring out how to do
11541 that. I *think* it'll be something like: "table" == inset.type()
11543 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11546 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11548 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11549 all the citation/databases/styles in the auxilary file.
11550 (run): Rerun latex if there was a babel language error.
11552 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11554 * text.C (Backspace): Preserve the font when changing newline char
11556 (BreakParagraph): If the cursor is before a space, delete the space.
11558 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11560 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11562 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11563 new argument (code).
11564 (ChangeCitationsIfUnique): New method.
11566 * paragraph.C (GetPositionOfInset): Handle bibkey.
11568 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11570 * BufferView_pimpl.h: change type of Position::par_pos to
11571 LyXParagraph::size_type.
11573 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11575 * BufferView_pimpl.C (savePosition, restorePosition): Write
11576 messages to minibuffer.
11578 2001-01-28 José Matos <jamatos@fep.up.pt>
11580 * buffer.C (makeDocBookFile): adds support for document language.
11581 A silly restriction on the name of LatexCommand types where removed.
11582 Added support for CDATA sections, allows to chars unescaped, used
11583 among others in code, to avoid escape < and >.
11585 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11587 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11588 saved positions instrad of a stack. Furthermore, a position is
11589 stored using paragraph id/paragraph position.
11591 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11592 Remove LFUN_REF_BACK.
11594 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11596 * converter.C (dvipdfm_options): New method.
11598 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11600 * vspace.C (isValidLength): Fix for empty input string.
11602 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11604 * LyXAction.C (init): change description of LFUN_FIGURE to
11607 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11609 * LaTeX.C: add using directive
11611 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11613 * MenuBackend.C (expand): Fix the sorting of the formats.
11615 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11617 * lyx_main.C: tiny error message fix
11619 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11621 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11622 calling fl_initialize(). This fixes the problem with ',' as
11623 decimal separator in text files.
11625 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11627 * trans.C (process): Fix the keymap bug.
11629 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11631 * LaTeX.C (scanAuxFiles): New method. Provides support for
11632 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11633 (scanLogFile) Scan for "run BibTeX" messages.
11635 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11636 OT1 font encoding. Also, load the aecompl package if the ae
11639 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11641 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11643 * texrow.C (increasePos): turn two error messages into debug
11646 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11648 * LaTeX.C (scanAux): Handle the \@input macro.
11649 (runBibTeX): Use scanAux().
11651 * language.C (latex_options_): New field.
11653 * LaTeXFeatures.C (getMacros): Add language macros.
11655 * buffer.C (makeLaTeXFile): Small fix.
11657 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11659 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11661 * text2.C: add a using directive.
11663 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11668 * lyxfunc.C: kill LyXBell.
11670 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11672 * text.C (IsBoundary): Remove the error message
11674 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11676 * lyxrc.C (setDefaults): Correct initialization value for
11679 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11681 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11684 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11685 and GotoNextNote().
11687 * src/LyXAction.C: Added reference-next.
11689 * text.C (InsertChar): Use contains instead of strchr.
11691 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11693 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11695 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11696 alignment commands (when needed).
11698 * text.C (InsertChar): Add ':' to number separator chars.