1 2003-07-18 André Pönitz <poenitz@gmx.net>
9 * text3.C: two-phase drawing for InsetText and InsetTabular
10 some float -> int changes.
12 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
14 * lyx_main.C: fix the fix
16 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
18 * lyx_main.C: fix a crash in batch mode if no files specified
21 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
23 * format.[Ch] (papersize): moved to BufferParams
24 * converter.[Ch] (dvips_options): moved to BufferParams
25 (dvipdfm_options): moved to anon namespace
26 * bufferparams.[Ch]: added above functions.
28 2003-07-17 André Pönitz <poenitz@gmx.net>
32 * text2.C: don't call inset->update() anymore
34 * metricsinfo.[Ch]: add convenience constructor
36 2003-07-16 André Pönitz <poenitz@gmx.net>
41 * text2.C: replace the LyXCursor::irow_ member with
42 on-demand computation of the value
44 2003-07-16 John Levon <levon@movementarian.org>
46 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
48 2003-07-15 André Pönitz <poenitz@gmx.net>
51 * text2.C: remove no more needed refresh_row
53 2003-07-15 André Pönitz <poenitz@gmx.net>
58 * text3.C: refresh_status tristate -> need_update bool
60 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
62 * lyxtext.h (init): remove reinit argument (act as if always true)
63 * text2.C: adjust to that
65 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
67 * bufferview_funcs.[Ch]: introduce function replaceSelection()
68 * text3.C: use it to delete selections in some cases
69 (bugs 441, 673, 702, 954).
71 2003-07-14 André Pönitz <poenitz@gmx.net>
73 * rowpainter.[Ch]: reduce interface
75 2003-07-14 André Pönitz <poenitz@gmx.net>
78 * text2.C: adjust after removing unused BufferView * argument
80 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
82 * text2.C (init): fix a crash fired on resize
84 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
86 * buffer.[Ch]: added new closing signal
87 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
88 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
89 BufferView::Pimpl via the closing the signal
91 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
93 * buffer.[Ch]: take out all bv-related from buffer
95 * BufferView_pimpl.[Ch]: connect to new signals
96 * CutAndPaste.C: removed useless asserts
97 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
100 * lyxfunc.C: moved view-related funciontality from vc here
101 * paragraph.C: removed outdated comments
104 2003-07-10 André Pönitz <poenitz@gmx.net>
106 * BufferView_pimpl.C:
110 * text2.C: remove InsetText::InnerCache, clean up consequences
112 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
114 * ispell.C: fix two typos in error messages
116 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
118 * Extend Note inset to other forms of annotation like Comment
119 and Greyedout. Right button click gives dialog.
121 Files modified or added (+):
127 * Makefile.am in frontends/xforms, frontends/xforms/forms,
128 frontends/controllers
132 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
134 * aspell.C: add missing namespace lyx::support
136 2003-07-07 Alfredo Brauntein <abraunst@libero.it>
138 * BufferView.[Ch] (newFile): Add
139 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
140 * LaTeX.[Ch] (message): added this signal and use it
141 * buffer.[Ch] (busy, message): added these signals and use them
142 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
146 * importer.C: use buffer signals instead of direct bv calling
147 * lyx_cb.[Ch] (ShowMessage): removed
151 * text2.C: use buffer signals
153 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
155 * introduce namespace lyx::graphics
157 2003-07-02 André Pönitz <poenitz@gmx.net>
159 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
161 2003-07-01 André Pönitz <poenitz@gmx.net>
168 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
169 text*.C to text_func.C
171 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
173 * introduce namespace lyx::support
175 2003-06-30 André Pönitz <poenitz@gmx.net>
180 * text.C: re-enable --with-included-string
182 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
184 * textcursor.C: add <config.h>
186 * text.C (getWord): remove const from word_location arg
188 * lyxvc.C (getLogFile): fix const type order
190 * lyxtext.h: remove const from word_location arg, add arg name
192 * lyxlayout.h: currect type on labeltype.
194 * importer.C: correct \file
196 * converter.C (intToFormat): use std:: on ret val, ws changes
198 * bufferlist.h: correct \file
200 * buffer.C (makeLinuxDocFile): fix const type order
201 (makeDocBookFile): ditto
202 (fillWithBibKeys): use std:: on stdlib args.
204 * CutAndPaste.C: fix authors.
205 (availableSelections): use std:: on return vector
207 2003-06-27 André Pönitz <poenitz@gmx.net>
209 * BufferView_pimpl.C:
210 * bufferview_funcs.C:
218 * text3.C: remove LyXCursor::row_ member
221 * text.C: rename fullRebreak() to partialRebreak() and implement
222 a fullRebreak() that really bereks fully
224 * textcursor.h: new struct for cursor-related data
226 2003-06-26 Alfredo Brauntein <abraunst@lyx.org>
228 * lyx_main.C (LyX): get full path of document loaded on the
231 2003-06-26 André Pönitz <poenitz@gmx.net>
233 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
234 remove unused/broken operator>,<,>=.
236 * text.C: remove only use of broken operator<= in an Assert().
238 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
240 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
241 moved errorlist_.clear to showErrorList
243 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
245 * converter.C (scanLog, runLaTeX):
246 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
247 move the bv->showErrorList call to the callers
248 * lyxfunc.C: i.e. here...
250 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
251 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
252 namespace, the second to...
253 * buffer_funcs (BufferFormat, parseErrors): added
254 * errorlist.C (ErrorList(TeXErrors const &)): removed
256 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
258 * ToolbarBackend.C (getIcon): complain when icon cannot be found
260 2003-06-24 "Garst R. Reese" <reese@isn.net>
264 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
266 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
268 * version.C.in: change docversion to 1.4
270 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
272 * buffer.C: fix a bug just introduced
274 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
276 * buffer.[Ch]: added the parseError signal and use it, removed
278 * BufferView.[Ch] (addError): moved to ...
279 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
280 to the Buffer::parseError signal to catch (guess what) parse errors
281 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
283 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
285 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
286 ability to create a buffer and to return an existing one from
287 the list. Moved these functions to...
288 * buffer_funcs.[Ch]: added
289 * BufferView.[Ch] (loadLyXFile): added
290 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
291 job removed from bufferlist::loadLyXFile.
292 * buffer.C (setReadOnly): make it work without view
293 (i.e added an if (users))
295 2003-06-19 Angus Leeming <leeming@lyx.org>
298 * LyXAction.C (init):
299 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
300 with LFUN_DIALOG_SHOW <name> <data>.
302 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
304 * CutAndPaste.C (availableSelections): small compilation fix for
305 ancient (gcc 2.9x) compilers
307 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
309 * text3.C (cursorNext): add tmp var
311 * text2.C (updateCounters): for function calling out of for clause
312 (replaceSelectionWithString): ditto
313 (insertStringAsParagraphs): ditto
314 (getColumnNearX): add tmp var
315 (setCursorFromCoordinates): add tmp var
316 (cursorDownParagraph): add tmp var
317 (deleteEmptyParagraphMechanism): add tmp var
319 * text.C (insertChar): add tmp var
321 * rowpainter.C (paintDepthBar): add tmp var
323 * CutAndPaste.C (availableSelections): potentially check all
324 paragraphs in a cut to fill the shown strings.
326 2003-06-18 André Pönitz <poenitz@gmx.net>
328 * kbmap.[Ch]: use vector<> instead of list<>
330 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
332 * text3.C (dispatch): handle arg to LFUN_PASTE, call
333 pasteSelection with index
335 * text2.C (pasteSelection): modify, call pasteSelection with index
337 * paragraph.C (asString): reimplement version with no interval to
338 call the one with interval.
340 * lyxtext.h: add index arg to pasteSelection
342 * MenuBackend.C (MenuItem): handle PasteRecent
343 (Menu::read::Menutags): add md_pasterecent
345 (expandPasteRecent): new function
348 * MenuBackend.h: add PasteRecent to MenuItem::Kind
350 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
352 (availableSelections): new function
354 2003-06-17 Angus Leeming <leeming@lyx.org>
356 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
358 2003-06-17 Angus Leeming <leeming@lyx.org>
361 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
363 * lyxfunc.C (dispatch): invoke it.
365 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
367 * iterators.C (operator++, ParPosition): reintroduce some
368 const_cast for the benefit of older compilers.
370 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
372 * text3.C (dispatch): do not modify clipboard when doing
373 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
374 LFUN_DELETE_SKIP on a selection selection
376 2003-06-16 André Pönitz <poenitz@gmx.net>
382 * tabular.[Ch]: IU of clone() and getLabelList();
384 2003-06-13 André Pönitz <poenitz@gmx.net>
386 * tabular.h: compactification
388 2003-06-12 André Pönitz <poenitz@gmx.net>
392 * tabular_funcs.h: some renaming plus whitespace
394 2003-06-12 André Pönitz <poenitz@gmx.net>
397 * BufferView_pimpl.C:
403 * toc.C: Return a Paragraph & for ParIterator::operator*()
405 2003-06-11 John Levon <levon@movementarian.org>
409 * ToolbarBackend.C: add "Toolbars" section and
412 2003-06-10 Angus Leeming <leeming@lyx.org>
415 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
417 * lyxfunc.C (dispatch): invoke it.
419 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
421 * main.C: protect <ios> with HAVE_IOS
422 (main): protect sync_with_stdio with HAVE_IOS
424 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
426 * text2.C (cutSelection): adjust
427 (pasteSelection): adjust
429 * messages.C: handle get of empty string
431 * main.C (main): use sync_with_stdio(false)
433 * lyxfunc.C (dispatch): adjust
435 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
436 (WriteAs): remove unneeded BufferView arg.
438 * bufferparams.h: use correct types on papersize, papersize2 and
441 * bufferparams.C (readToken): adjust for type
442 (writeLaTeX): add missing cases to switch.
444 * bufferlist.C (quitWriteBuffer): adjust
447 * buffer.C (asciiParagraph): remove some commented code.
449 * CutAndPaste.C: remove current_view extern variable.
450 (cutSelection): add BufferParams arg.
451 (eraseSelection): add BufferParams arg.
452 (pasteSelection): add Buffer const & arg
454 2003-06-07 John Levon <levon@movementarian.org>
462 * paragraph.C: allow InsetERT to freely space lines,
463 and some consolidation of code
465 2003-06-06 José Matos <jamatos@fep.up.pt>
467 * buffer.C (makeDocBookFile): fix bug #821
469 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
471 * BufferView_pimpl.C (dispatch): use Dialogs::visible
473 2003-06-04 Angus Leeming <leeming@lyx.org>
475 * buffer.C: bump format to 224.
477 2003-06-05 André Pönitz <poenitz@gmx.net>
479 * text2.C (redoParagraphs): remove two const_cast<>
481 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
483 * ParagraphList.h: remove last remnants of NO_STD_LIST
485 2003-06-03 Angus Leeming <leeming@lyx.org>
487 * factory.C (createInset): small change to the way InsetExternal's params
490 2003-06-04 André Pönitz <poenitz@gmx.net>
492 * buffer.h: use Undo directly instead of shared_ptr<Undo>
495 * paragraph.[Ch]: some Inset -> UpdatableInset changes
497 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
499 * undo_funcs.C: make some simple cases of undo work again
501 2003-06-03 John Levon <levon@movementarian.org>
503 * ispell.C: HPUX doesn't have sys/select.h
506 2003-06-03 John Levon <levon@movementarian.org>
508 * CutAndPaste.C: update tabular and include inset
513 * paragraph.C: remove owningBuffer(), don't pass Buffer
516 * factory.C: insetGraphicsParams changed
518 2003-06-02 John Levon <levon@movementarian.org>
524 * text3.C: remove insetparent
526 2003-06-02 John Levon <levon@movementarian.org>
529 * buffer.C: fix inset_iterator.end(), move out of line
532 2003-06-01 John Levon <levon@movementarian.org>
534 * text3.C: use a proper cut/paste when doing inset
535 insert (from Jürgen Spitzmüller)
537 2003-06-01 John Levon <levon@movementarian.org>
539 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
541 2003-05-30 André Pönitz <poenitz@gmx.net>
543 * rowpainter.C: unify second drawing phase
545 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
547 * trans_mgr.C: remove one case of current_view
549 * text2.C (cursorBottom): delete NO_STD_LIST stuff
551 * paragraph_funcs.h: remove paragraph.h include
553 * paragraph.h: delete NO_STD_LIST stuff
555 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
557 * buffer.h: remove paragraph.h include
559 * ParagraphList.C: delete file
561 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
563 * toc.C (getTocList): adjust
565 * paragraph_pimpl.C (validate): adjust
567 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
569 * paragraph.C (Paragraph): adjust
570 (getPositionOfInset): use const_iterator, adjust
571 (bibitem): use const_iterator, adjust
572 (setInsetOwner): adjust
574 * iterators.C (operator++): adjust
576 * InsetList.[Ch]: Replace selfmade iterator with standard
577 vector::iterator also introduce const_iterator. Remove getPos,
578 getInset and setInset from InsetTable. Adjust accordingly.
580 * BufferView.C (lockInset): adjust
581 (ChangeInsets): adjust
583 * tabular.[Ch]: delete commented same_id functions
585 2003-05-28 John Levon <levon@movementarian.org>
587 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
589 2003-05-28 André Pönitz <poenitz@gmx.net>
591 * metricsinfo.[Ch]: remove 'fullredraw' member
593 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
595 * lyxtextclass.C (operator): remove caching.
597 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
601 * text2.C (cursorBottom): adjust
602 (setCounter): use ParagraphList::find, adjust
604 * text.C (workWidth): use ParagraphList::find, adjust
606 * lyxcursor.C (LyXCursor): adjust
608 * buffer.C (inset_iterator): adjust
610 * ParagraphList.h: make iterator(value_type) private, make
611 ParagraphList a friend of iterator.
613 * ParagraphList.C (find): new function
615 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
617 2003-05-27 André Pönitz <poenitz@gmx.net>
619 * dimension.[Ch]: a -> asc, d -> des, w -> wid
621 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
623 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
625 2003-05-26 John Levon <levon@movementarian.org>
627 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
629 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
631 * remove same_id from function signatures, adjust.
633 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
635 * undo_funcs.C (createUndo): use the id functions directly, adjust.
637 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
639 * paragraph.C (Paragraph): get rid of same_ids parameter
641 * ParagraphList.C (insert): adjust
644 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
646 * paragraph_funcs.C (breakParagraph): adjust
647 (breakParagraphConservative): adjust
649 * buffer.C (readParagraph): adjust
651 * ParagraphList.C (insert): take a reference instead of a pointer
654 * paragraph.[Ch] (id): new function
656 * bufferlist.C (newFile): adjust
658 * ParagraphList.C (ParagraphList): adjust
660 (push_back): take a reference instead of a pointer.
662 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
664 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
667 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
668 set else use old code.
670 * ParagraphList.C: remove all NO_NEXT code and only compile this
671 code of NO_STD_LIST is set.
673 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
675 * BufferView_pimpl.C:
685 * graphics/GraphicsConverter.C:
686 * graphics/PreviewLoader.C: header adjustment
688 2003-05-23 Angus Leeming <leeming@lyx.org>
690 * LaTeXFeatures.[Ch] (useBabel): new method.
691 * bufferparams.C (writeLaTeX): use it.
693 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
695 * ParagraphList.h (set): remove unused function.
697 2003-05-23 André Pönitz <poenitz@gmx.net>
700 * BufferView_pimpl.C:
704 * undo_funcs.C: setUndo reworked
706 * iterators.[Ch]: add access to topmost ParagraphList
708 * lyxtext.[Ch] (workWidth): add a const
710 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
712 * texrow.[Ch] (increasePos): remove function
713 * exporter.C (export): removed unused var and outdated comment
715 2003-05-23 Angus Leeming <leeming@lyx.org>
717 * latexrunparams.h: rename fragile as moving_arg.
718 * paragraph.C (simpleTeXOnePar): ditto.
719 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
721 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
723 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
725 (textUndoOrRedo): comment out a currently unused var.
727 * paragraph.h (NO_NEXT): enable NO_NEXT
729 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
731 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
733 * exporter.C (Export): adjust for removeAutoInsets removal.
735 * buffer.C (runChktex): adjust for removeAutoInsets removal.
737 * LyXAction.C (init): remove LFUN_REMOVEERRORS
739 * BufferView.[Ch] (removeAutoInsets): delete function
741 2003-05-22 Angus Leeming <leeming@lyx.org>
743 * latexrunparams.h: add a free_spacing variable.
745 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
746 to pass moving_arg, as the data is stored in runparams.fragile.
748 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
749 to Inset::latexOptional or to simpleTeXOnePar.
751 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
752 free_spacing arg to Inset::latexOptional.
754 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
757 2003-05-22 Angus Leeming <leeming@lyx.org>
759 * latexrunparams.h: add fragile and use_babel variables.
761 * bufferparams.[Ch] (writeLaTeX): return use_babel.
762 * buffer.C (makeLaTeXFile): store this returned value in
763 runparams.use_babel, thus passing it to the inset::latex methods.
765 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
766 simpleTeXSpecialChars as it is now stored in runparams.fragile.
768 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
769 longer has a fragile arg, as it is stored in runparams.fragile.
771 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
772 moving_arg parameter as the data is stored in runparams.fragile.
774 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
775 a fragile parameter as the data is stored in runparams.fragile.
777 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
779 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
781 2003-05-22 Angus Leeming <leeming@lyx.org>
783 * latexrunparams.h: add a 'bool nice' which defaults to false.
785 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
786 now encapsulated within runparams.
788 * bufferlist.C (updateIncludedTeXfiles):
789 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
791 2003-05-22 Angus Leeming <leeming@lyx.org>
793 * latexrunparams.h: new file containing struct LatexRunParams.
794 * Makefile.am: add new file.
796 * LaTeX.[Ch] (c-tor, run):
797 * buffer.[Ch] (makeLaTeXFile):
798 * bufferlist.[Ch] (updateIncludedTeXfiles):
799 * converter.C (convert, scanLog):
800 * converter.[Ch] (runLaTeX):
801 * exporter.C (Export):
802 * paragraph.[Ch] (simpleTeXOnePar):
803 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
804 * paragraph_funcs.[Ch] (latexParagraphs):
805 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
806 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
807 pass around a LatexRunParams parameter.
809 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
811 * paragraph.[Ch]: remove unused constructor
813 * ParagraphList.C (erase): new function, taking two iterators
815 2003-05-22 André Pönitz <poenitz@gmx.net>
817 * undo_funcs.C: remove duplicated code
819 * iterator.[Ch]: operator=
821 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
823 * tabular.C (SetMultiColumn): ws changes
825 * rowpainter.C (paintFirst): get rid of a ->previous
827 * lyx_cb.C (getPossibleLabel): parlist simplification
829 * BufferView.C (ChangeInsets): simplify slightly.
831 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
833 * LyXAction.C: new lfun space-insert, kill protected-space-insert
834 * lfuns.h: new LFUN_SPACE
835 * lyxfunc.C: protected space has a new lfun
836 * paragraph_funcs.C: read new space insets
838 * factory.C: handle new space insets
840 2003-05-22 André Pönitz <poenitz@gmx.net>
843 * BufferView_pimpl.C:
846 * undo_funcs.C: return a ParIterator from getParFromID.
848 * iterators.[Ch]: add two const's
850 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
852 * toc.C (getTocList): adjust
854 * iterators.[Ch]: rework for parlist
856 * buffer.C (par_iterator_begin): adjust
857 (par_iterator_end): adjust
859 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
861 * BufferView.C (removeAutoInsets): adjust
862 (ChangeInsets): adjust
864 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
866 * text.C (top_y): fix bug 1110
868 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
870 * errorlist.[Ch]: added
873 * BufferView_pimpl.C:
874 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
877 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
879 * Makefile.am: ensure that lyx is relinked upon changes to the
880 various "convenience" libs.
882 2003-05-20 Angus Leeming <leeming@lyx.org>
884 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
885 files are compiled in alphabetical order again.
887 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
889 2003-05-19 Angus Leeming <leeming@lyx.org>
891 * gettext.[Ch]: remove "char const * _(char const *)".
893 2003-05-19 André Pönitz <poenitz@gmx.net>
895 * dimension.[Ch]: promote from mathed/dimension.[Ch]
904 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
906 2003-05-19 André Pönitz <poenitz@gmx.net>
912 * paragraph_funcs.[Ch]:
914 * text3.C: more insetenv work
916 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
918 * ParagraphParameters.C (params2string): small bug fixed
920 2003-05-16 André Pönitz <poenitz@gmx.net>
923 * bufferview_funcs.C: patch from Kornel Benko to prevent
924 crash when _(...) is called twice in a statement
926 2003-05-16 André Pönitz <poenitz@gmx.net>
933 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
935 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
937 * lyx_main.C (init): remove spurious static_cast
939 2003-05-14 André Pönitz <poenitz@gmx.net>
941 * BufferView.C: fix format string
943 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
945 * BufferView.[Ch] (insertErrors): removed
946 * BufferView.[Ch] (showErrorList): added
947 * buffer.C (runChkTeX):
948 * converter.C (scanLog): call showErrorList instead of inserterrors
950 2003-05-13 André Pönitz <poenitz@gmx.net>
952 * BufferView_pimpl.C:
961 * tabular_funcs.h: tostr() from its own header
963 * ParagraphParameters.C:
970 2003-05-12 André Pönitz <poenitz@gmx.net>
973 * BufferView_pimpl.C:
977 * ParagraphParameters.C:
981 * bufferview_funcs.C:
998 * text3.C: boost::format -> bformat all over the place
1001 2003-05-09 André Pönitz <poenitz@gmx.net>
1003 * LColor.[Ch]: Pimpl the #include <map> away
1005 2003-05-09 John Levon <levon@movementarian.org>
1007 * bufferlist.C: never remove emergency saves
1009 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1011 * Makefile.am: better lib building
1013 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1015 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1017 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1018 (simpleTeXSpecialChars): adjust
1019 (simpleTeXSpecialChars): adjust
1020 * paragraph.C (simpleTeXOnePar): adjust
1021 * buffer.C (makeLaTeXFile): adjust
1023 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1025 * text2.C (changeDepth): parlist cleanup
1026 (getColumnNearX): ditto
1028 * rowpainter.C (getLabelFont): parlist cleanup
1030 * bufferlist.C (newFile): parlist cleanup
1032 * CutAndPaste.C (eraseSelection): parlist cleanup
1034 * BufferView_pimpl.C (trackChanges): parlist cleanup
1037 * BufferView.C (lockInset): parlist cleanup.
1038 (ChangeInsets): ditto
1040 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1042 * CutAndPaste.h: Update file header.
1044 * CutAndPaste.C: Update file header.
1045 Store the parts cut out of the Document in a limited_stack.
1046 (copySelection): adjust
1047 (pasteSelection): new function, takes the index in the limited stack.
1048 (nrOfParagraphs): adjust
1049 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1050 simplify error inset insertion.
1051 (checkPastePossible): adjust
1053 2003-05-06 John Levon <levon@movementarian.org>
1055 * text2.C: don't cast wrap inset to float
1057 2003-05-05 André Pönitz <poenitz@gmx.net>
1060 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1062 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1063 few naked Paragraph *.
1065 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1067 * bufferparams.C: Output warning if a document with missing
1068 TeX document class is loaded
1069 * exporter.C: Disable TeX exports if the document class is missing
1072 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1073 isTeXClassAvailable()
1075 2003-05-03 John Levon <levon@movementarian.org>
1078 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1079 explicit cursor show/hide
1081 * BufferView_pimpl.h:
1082 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1083 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1085 * lyxfunc.C: hide cursor before dispatching.
1090 * text3.C: remove explicit cursor hides
1092 2003-05-02 André Pönitz <poenitz@gmx.net>
1094 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1097 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1100 * text2.C: tiny whitespace
1102 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1104 * undo_funcs.C: almost only ws changes.
1106 * ParagraphList.C (splice): just return if pl is empty.
1108 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1110 * ParagraphList.C (splice): new function.
1112 * CutAndPaste.C (pasteSelection): use it
1114 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1116 * CutAndPaste.C (pasteSelection): remove the last next and
1117 previous from this file.
1119 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1121 * CutAndPaste.C (pasteSelection): more clean up, user proper
1122 ParagraphList functions for pasteing.
1124 * ParagraphList.C (insert): new function, three arg insert
1126 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1128 * ParagraphList.C (insert): new function, three arg insert
1130 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1133 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1135 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1137 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1139 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1141 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1143 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1144 (copySelection): clean up a bit.
1145 (pasteSelection): use make_pair
1147 * ParagraphList.C (ParagraphList): implement copy constructor
1148 (operator=): implement, base on copy constructor.
1151 * paragraph.C (erase): return a bool
1153 * paragraph_pimpl.C (erasePos): remove function, move contents...
1154 (erase): ... here. Return a bool.
1155 (erase): call erase instead of erasePos.
1157 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1159 * ParagraphList.h: define PitPosPair
1160 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1161 ParagraphList, fix a bug on pasting multiple pars
1162 * text2.C: change interface to C&P
1164 2003-04-30 André Pönitz <poenitz@gmx.net>
1166 * undo_func.C: revert part of yesterday's patch 2
1168 2003-04-30 John Levon <levon@movementarian.org>
1170 * LColor.C: s/tabular/table/
1172 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1174 * text3.C (dispatch): do not convert iterator -> pointer
1175 * undo_funcs.C (setCursorParUndo): ditto
1176 * text_funcs.C (transposeChars): ditto
1178 * text2.C (setLayout): ws changes only
1180 * text.C (breakParagraph): do not convert iterator -> pointer
1182 (acceptChange): ditto
1183 (rejectChange): ditto
1188 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1191 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1193 * text3.C (gotoInset): YABG (yet another bad getChar)
1195 2003-04-29 André Pönitz <poenitz@gmx.net>
1197 * paragraph.h: make operator= private unimplemented as long as
1200 * ParagraphList.C: whitespace
1203 * paragraph_pimpl.[Ch]:
1204 * paragraph_funcs.C:
1206 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1209 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1211 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1213 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1214 * paragraph.[Ch] (erase):
1215 * paragraph_pimpl.[Ch] (erase): change return type and value
1216 * text2.C (cutSelection): some rework
1218 2003-04-28 John Levon <levon@movementarian.org>
1220 * bufferlist.C: changes for unsaved changes dialog
1222 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1224 * bufferlist.C (newFile): set language (messages_) for new
1227 * buffer.C (readFile): ws changes only.
1229 2003-04-28 André Pönitz <poenitz@gmx.net>
1234 * BufferView_pimpl.C:
1235 * BufferView.C: getParFromID related ParagraphList::iterator changes
1237 2003-04-28 André Pönitz <poenitz@gmx.net>
1239 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1242 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1244 * messages.C: remove one more localedir class variable.
1246 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1248 * messages.C (getLocaleDir): singleton generation function
1250 (Messages): add a default constructor.
1252 * main.C (main): do not setup localedir here, do not call
1255 * gettext.C (_): use it.
1256 (gettext_init): delete funciton
1258 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1260 * gettext.C (getLyXMessages): new singleton generating function.
1262 * buffer.C (updateDocLang): adjust
1264 * Makefile.am (messages.o): add target
1265 (main.o): remove target
1267 2003-04-27 John Levon <levon@movementarian.org>
1272 * lyxvc.C: specify cancel button in Alert::prompt
1274 2003-04-26 John Levon <levon@movementarian.org>
1279 * LyXAction.C: add LFUN_INSET_SETTINGS
1281 * lyxfunc.C: don't enable tabular-feature when there's
1282 just any locking inset
1284 2003-04-26 John Levon <levon@movementarian.org>
1286 * bufferlist.C: re-add Cancel to buffer close question
1288 * lyxfunc.C: fix import UI a bit
1290 2003-04-25 John Levon <levon@movementarian.org>
1292 * gettext.C: remove the broken asserts for now
1294 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1296 * messages.C: make case where setlocale cannot comply work better.
1298 * buffer.C (updateDocLang): new function
1299 (changeLanguage): use it
1302 * text2.C (setCounter): use B_ a bit.
1304 * lyxlayout.C (Read): be sure to trim the label strings.
1306 * messages.C (Messages): fix typo in comment
1308 * buffer.C (readFile): set message_ after file is loaded.
1309 (makeDocBookFile): remove double return
1310 (changeLanguage): reset message_ upon language change.
1311 (B_): new func, use this to get translated buffer strings.
1313 * main.C: add myself and Jean Marc as authors.
1315 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1317 * messages.[hC]: pimplify Messages, and three different pimpls to be
1318 used in different circumstances.
1320 * gettext.[Ch]: change for use with new message code.
1322 2003-04-24 André Pönitz <poenitz@gmx.net>
1324 * factory.C: support for eqref
1326 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1328 * messages.[Ch]: add missing char
1330 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1332 * messages.[Ch]: New files
1334 2003-04-18 John Levon <levon@movementarian.org>
1338 * BufferView_pimpl.C:
1342 * text2.C: remove layout-copy/paste (bug 778)
1344 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1346 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1348 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1350 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1351 if they succeed. Act accordingly.
1353 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1355 * text2.C (setCharFont): adjust
1356 (setCounter): adjust
1357 (insertStringAsLines): adjust
1359 * text.C (leftMargin): adjust
1360 (setHeightOfRow): adjust
1362 * rowpainter.C (paintFirst): adjust
1365 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1367 (isFirstInSequence): ditto
1368 (getEndLabel): ditto
1371 * paragraph.C (getParLanguage): comment out some hard stuff.
1373 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1375 (simpleDocBookOnePar): ditto
1376 (makeDocBookFile): use ParagraphList::iterator
1378 * CutAndPaste.C (pasteSelection): adjust
1380 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1382 * text2.C (getFont): adjust
1383 (getLayoutFont): adjust
1384 (getLabelFont): adjust
1386 * paragraph_funcs.C (TeXOnePar): adjust
1388 * buffer.C (simpleLinuxDocOnePar): adjust
1389 (simpleDocBookOnePar): adjust
1391 * CutAndPaste.C (pasteSelection): adjust
1393 * BufferView.C (getEncoding): adjust
1395 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1397 2003-04-16 John Levon <levon@movementarian.org>
1399 * lyxfind.C: use parlist stuff for search/changes
1401 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1403 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1405 * text2.C (deleteEmptyParagraphMechanism): adjust
1407 * text2.[Ch] (ownerParagraph): delete func (both of them
1409 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1411 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1413 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1415 * ParagraphList.C: prepare for NO_NEXT
1417 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1419 * text2.C (getFont): adjust
1420 (getLayoutFont): adjust
1421 (getLabelFont): adjust
1423 * paragraph.C (getFont): adjust
1424 (getLabelFont): adjust
1425 (getLayoutFont): adjust
1427 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1429 2003-04-15 John Levon <levon@movementarian.org>
1433 * lyx_main.C: handle Include in .ui files
1435 2003-04-15 John Levon <levon@movementarian.org>
1437 * MenuBackend.C: make the doc files length shorter
1440 * ToolbarBackend.C: handle toolbar placement flags,
1443 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1445 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1448 * paragraph_funcs.C (TeXOnePar): adjust
1450 * paragraph.C (getLabelFont): add outerfont arg, adjust
1451 (getLayoutFont): ditto
1452 (simpleTeXOnePar): adjust
1454 * paragraph_pimpl.C (realizeFont): delete func
1456 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1458 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1459 row argument, constify cur argument.
1461 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1463 * text2.C (getFont): adjust
1464 (getLayoutFont): adjust
1465 (getLabelFont): adjust
1467 * paragraph_funcs.C (TeXOnePar): adjust
1468 (outerFont): new func...
1469 (realizeFont): ...moved out from here, changed this to facilitate
1472 * paragraph.C (getFont): take outerfont as arg, adjust
1473 (simpleTeXOnePar): add outerfont arg, adjust
1475 * buffer.C (simpleLinuxDocOnePar): adjust
1476 (simpleDocBookOnePar): adjust
1478 * CutAndPaste.C (pasteSelection): adjust
1480 * BufferView.C (getEncoding): adjust
1482 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1484 * text2.C (setCharFont): adjust
1485 (setCounter): adjust
1487 * text.C (leftMargin): adjust
1488 (setHeightOfRow): adjust
1490 * rowpainter.C (paintFirst): adjust
1493 * paragraph_pimpl.C (realizeFont): adjust
1495 * paragraph.C (isFirstInSequence): move from here...
1496 * paragraph_funcs.C (isFirstInSequence): ...to here
1498 * paragraph.C (outerHook): move from here...
1499 * paragraph_funcs.C (outerHook): ...to here
1501 * paragraph.C (depthHook): move from here...
1502 * paragraph_funcs.C (depthHook): ...to here
1504 * paragraph.C (getEndLabel): move from here...
1505 * paragraph_funcs.C (getEndLabel): ...to here
1507 * text2.C (realizeFont): move from here...
1508 * paragraph_funcs.C (realizeFont): ...to here
1510 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1512 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1514 2003-04-14 Angus Leeming <leeming@lyx.org>
1516 * LColor.[Ch]: scrap LColor mathcursor.
1518 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1520 * lyxlex.[Ch] (text): delete function
1521 * trans.C (Load): adjust
1522 * paragraph_funcs.C (readParToken): adjust
1524 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1526 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1527 vector<char> instead of a char[].
1529 * lyxlex_pimpl.C (getString): adjust
1531 (lex): use getString
1535 * lyxlex.C (text): use pimpl_->getString()
1539 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1541 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1542 (makeFontEntriesLayoutSpecific): temp var for par.size()
1543 (setLayout): temp var for ownerParagraphs().end()
1544 (fullRebreak): temp var for rows().end()
1545 (selectionAsString): temp var for boost::next(startpit), realize
1546 that the while really is a regular for loop.
1547 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1548 setCursor in one place.
1549 (setParagraph): temp vr for ownerParagraphs().end()
1550 (updateCounters): make the while loop a for loop
1551 (cutSelection): temp var for ownerParagraphs().end()
1552 (updateInset): make the do {} while() a regular for loop
1553 (getCursorX): use temp vars
1554 (setCurrentFont): use temp vars
1555 (getColumnNearX): use temp vars
1557 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1559 * text.C (transformChar): use temp var for getChar
1560 (computeBidiTables): use temp var for row->par()
1561 (fill): move temp vars for row->par() and pit->layout() earlier in
1563 (labelFill): use temp var for row->par()
1564 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1565 asc and desc, realize that pit never changes and that firstpit is
1566 just a duplicate and not needed. Exchange rit->par() with pit in a
1568 (breakAgain): use a temp var for boost::next(rit)
1569 (breakAgainOneRow): ditto
1570 (breakParagraph): use a temp var for rows().begin()
1571 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1572 (cursorRightOneWord): use temp var for cursor.par() and
1573 cursor.pos(), remove usage of tmpcursor.
1574 (cursorLeftOneWord): use temp var for cursor.par() and
1575 cursor.pos() only set cur at end of function.
1577 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1579 * text.C, text2.C: exchange all usage of Paragraph::next with
1580 boost::next(ParagraphList::iterator)
1582 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1584 * text2.C (cursorTop): simplify implementation
1585 (cursorBottom): ditto
1586 (setParagraph): use ParagraphList::iterator
1587 (setCurrentFont): adjust
1588 (getColumnNearX): adjust
1589 (cursorRight): adjust
1590 (cursorLeft): remove usage of Paragraph::previous
1591 (cursorUpParagraph): ditto
1592 (deleteEmptyParagraphMechanism): slight cleanup
1594 * text.C (isBoundary): take a Paragraph const & instead of a
1596 (addressBreakPoint): ditto
1597 (leftMargin): remove usage of Paragraph::previous.
1598 (setHeightOfRow): ditto
1599 (cursorLeftOneWord): ditto
1600 (selectNextWordToSpellcheck): ditto
1603 (breakParagraph): remove one usage of Paragraph::next
1604 (redoParagraph): ditto
1605 (acceptChange): ditto
1606 (insertChar): adjust
1607 (rowBreakPoint): adjust
1609 * bufferview_funcs.C (toggleAndShow): adjust
1611 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1613 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1614 methods to access it.
1616 * text.C: Added updateRowPositions to compute all row positions.
1617 Make top_y and getRowNearY() to use the cached y position
1619 2003-04-11 John Levon <levon@movementarian.org>
1621 * text.C (rowBreakPoint): reintroduce the labelEnd
1622 checks, code copied from the row fill stuff. Deep voodoo.
1624 * text.C (fill): add a comment and debugging for the
1627 2003-04-11 John Levon <levon@movementarian.org>
1629 * text.C: make sure fullrow insets get wrapped to the next line,
1630 even when they're in a manual label
1632 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1634 * text2.C (insertParagraph): make it take ParagraphList::iterator
1636 (setLayout): make it return ParagraphList::iterator
1637 (redoParagraphs): ditto
1639 (checkParagraph): ditto
1641 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1643 * text2.C: adjust several funcs.
1644 (realizeFont): take a ParagraphList::iterator as arg.
1645 (getLayoutFont): ditto
1646 (getLabelFont): ditto
1647 (setCharFont): ditto
1649 * text.C: adjust several funcs.
1651 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1653 * text.C (selectNextWordToSpellcheck): don't accidentally
1656 2003-04-10 John Levon <levon@movementarian.org>
1658 * ToolbarBackend.C (getIcon): special handling for
1661 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1663 * text2.C (cursorRight): a getChar assert fixed
1665 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1667 * text2.C (getFont): change to take a ParagraphList::iterator
1668 instead of Paragraph*
1669 Adjust several functions.
1671 * text.C (transformChar): change to take a ParagraphList::iterator
1672 instead of Paragraph*
1673 (singleWidth): ditto
1674 Adjust several functions.
1676 * rowpainter.C: adjust several functions
1677 * rowpainter.h:store a ParagraphList::iterator and not a
1681 2003-04-09 John Levon <levon@movementarian.org>
1686 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1687 and the "help" bits as well
1689 2003-04-09 John Levon <levon@movementarian.org>
1692 * ToolbarBackend.C: allow multiple toolbars
1694 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1696 * undo_funcs.C (setCursorParUndo): adjust
1698 * text_funcs.C (transposeChars): adjust
1700 * text3.C (gotoNextInset): adjust
1703 * text2.C (setLayout): adjust
1704 (changeDepth): adjust
1706 (redoParagraphs): adjust
1707 (selectionAsString): adjust
1708 (setParagraph): adjust
1709 (insertInset): adjust
1710 (cutSelection): adjust
1711 (copySelection): adjust
1712 (pasteSelection): adjust
1713 (insertStringAsLines): adjust
1714 (updateInset): adjust
1715 (setCursor): change to take a ParagraphList::iterator parameter
1716 (setCursorIntern): change to take a ParagraphList::iterator parameter
1717 (setCurrentFont): adjust
1718 (cursorLeft): adjust
1719 (cursorRight): adjust
1720 (deleteEmptyParagraphMechanism): adjust
1722 * text.C (breakParagraph): adjust
1723 (insertChar): adjust
1724 (acceptChange): adjust
1725 (rejectChange): adjust
1726 (selectNextWordToSpellcheck): adjust
1727 (changeCase): adjust
1731 * lyxfind.C (SearchForward): adjust
1732 (SearchBackward): adjust
1733 (nextChange): adjust
1735 * lyxcursor.C (par): adjust
1737 * lyxcursor.h: store a ParagraphList::iterator instead of a
1740 * lyx_cb.C (getPossibleLabel): adjust
1742 * bufferview_funcs.C (toggleAndShow): adjust
1744 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1747 * BufferView.C (removeAutoInsets): adjust
1748 (lockedInsetStoreUndo): adjust
1750 2003-04-09 John Levon <levon@movementarian.org>
1752 * ToolbarBackend.C: try icon without argument
1753 if with argument fails
1755 2003-04-08 John Levon <levon@movementarian.org>
1758 * ToolbarBackend.C: add getIcon(), handle tooltip,
1759 and change from "Icon" to "Item".
1761 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1763 * BufferView.C (lockInset): another bad getchar crunched
1765 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1767 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1770 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1772 * lyxfind.C (searchForward, searchBackwards): bug 782
1774 2003-04-07 John Levon <levon@movementarian.org>
1776 * paragraph.C: remove dead comment
1778 * text.C: remove troublesome depth-fiddling code
1779 in leftMargin() and rightMargin() (bug 1017)
1781 * text.C: fix breaking of rows in nested lists
1784 * text2.C (updateCounters): fix up depth values
1787 2003-04-07 John Levon <levon@movementarian.org>
1789 * BufferView_pimpl.C: clear message when doc finishes resizing,
1790 and after a mouse event
1792 * lyxfunc.C: clear message after exiting inset
1794 2003-04-07 John Levon <levon@movementarian.org>
1796 * bufferview_funcs.C: show math status not outside
1797 status in the statusbar
1799 2003-04-07 John Levon <levon@movementarian.org>
1801 * lyxfunc.C: note status changed after a depth change
1803 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1805 * LaTeX.h: move AuxInfo operator==, != out of line.
1806 Remove LaTeX virtual destructor; nothing derives from it.
1807 Move operator()() out of public area and rename it startscript().
1808 Change protected for private.
1810 2003-04-04 Angus Leeming <leeming@lyx.org>
1813 * text2.C: remove unneeded #includes.
1815 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1817 * text2.C (dEPM): fix the heigth of the next row
1819 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1821 * text.C: squashed an invalid getChar requester + some ws changes
1823 2003-04-03 John Levon <levon@movementarian.org>
1825 * bufferview_funcs.h:
1826 * bufferview_funcs.C:
1829 * text2.C: make getStatus work for the env depth lfuns
1831 2003-04-03 John Levon <levon@movementarian.org>
1833 * bufferview_funcs.h:
1834 * bufferview_funcs.C:
1837 * text2.C: parlistize decDepth(), by merging it with incDepth()
1839 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1841 * lyxrow.h: store a ParagraphList::iterator instead of a
1842 Paragraph* and adjust other class functions to suit.
1844 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1847 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1849 * text2.C (setCursor): do not anchor to cursor row for the time being
1851 2003-04-02 John Levon <levon@movementarian.org>
1858 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1860 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1862 * paragraph.h: make ParagraphList and ParagraphList::iterator
1863 friends of Paragraph.
1865 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1867 * ParagraphList.C: Use the private next_ and previous_ from
1870 2003-04-01 John Levon <levon@movementarian.org>
1874 * Makefile.am: rename, remove defaults gunk
1877 * MenuBackend.C: remove defaults gunk
1880 * Languages.C: remove defaults gunk
1883 * lyx_main.C: error out if files couldn't be found.
1885 2003-04-02 John Levon <levon@movementarian.org>
1887 * text2.C: make incDepth() use parlist
1889 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1891 * undo_funcs.C (firstUndoParagraph): adjust
1893 * text3.C (gotoInset): adjust
1894 (dispatch): adjust, and rewrite loop.
1896 * text2.C (init): adjust, and rewrite loop.
1897 (redoParagraphs): adjust
1898 (updateInset): adjust, and rewrite loop.
1899 (deleteEmptyParagraphMechanism): adjust
1901 * tabular.C (LyXTabular): adjust
1902 (SetMultiColumn): adjust
1905 * lyxtext.[Ch] (ownerParagraph): delete function
1906 (ownerParagraphs): new function returns a ParagraphList.
1908 * BufferView.C (removeAutoInsets): adjust
1909 (insertErrors): adjust
1910 (setCursorFromRow): adjust
1912 2003-04-01 Angus Leeming <leeming@lyx.org>
1914 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1917 2003-04-02 John Levon <levon@movementarian.org>
1923 * text_funcs.C: make transposeChars a free function
1925 * lyxrow_funcs.C: remove wrong comment
1927 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1930 * rowpainter.C: adjust
1935 * lyxrow_funcs. [Ch]: new files
1937 * lyxrow.[Ch]: remove next and previous pointers
1938 (next,previous): remove accessor functions
1939 (isParEnd): move to lyxrow_funcs
1940 (lastPos): move to lyxrow_funcs
1941 (nextRowIsAllInset): move to lyxrow_funcs
1942 (lastPrintablePos): move to lyxrow_funcs
1943 (numberOfSeparators): move to lyxrow_funcs
1944 (numberOfHfills): move to lyxrow_funcs
1945 (numberOfLabelHfills): move to lyxrow_funcs
1946 (hfillExpansion): move to lyxrow_funcs
1950 * bufferview_funcs.C (toggleAndShow): adjust
1952 * RowList.h: Remove class RowList from file leave just a
1955 * RowList.C: delete file
1957 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1960 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1962 * text3.C (cursorPrevious): adjust
1963 (cursorNext): adjust
1966 * text2.C (redoHeightOfParagraph): adjust
1967 (redoDrawingOfParagraph): adjust
1970 * text.C (breakParagraph): adjust
1971 (insertChar): adjust
1974 * rowpainter.C (RowPainter): adjust
1975 (leftMargin): simplify and adjust
1976 (most rowpainter functions): adjust.
1978 * rowpainter.h: store the row as RowList::iterator not as Row*
1980 * lyxcursor.C (row): taka RowList::iterator as arg
1983 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1986 2003-04-01 Angus Leeming <leeming@lyx.org>
1988 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1989 stuff like bool Bool.
1991 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1993 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1996 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1998 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2001 * lyxtext.h (rows): drop one version and leve a const variant that
2002 returns a RowList::iterator.
2004 2003-03-31 Angus Leeming <leeming@lyx.org>
2006 * text.C (fill): ensure that the signature is the same as that in the
2009 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2011 * text2.C (redoParagraphs): adjust
2012 (updateCounters): adjust
2013 (checkParagraph): adjust
2014 (getColumnNearX): adjust and reformat a bit.
2016 * text.C (top_y): adjust
2018 (leftMargin): adjust
2019 (prepareToPrint): adjust
2021 (getRowNearY): adjust
2023 * lyxtext.h: make rowlist_ mutable.
2025 * RowList.h: add const_iterator
2026 * RowList.C: adjust for RowList::const_iterator.
2028 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2031 2003-03-31 John Levon <levon@movementarian.org>
2034 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2036 * lyx_main.C: set default fonts from using lyx_gui funcs
2038 * exporter.C: pdf_mode moved from lyxrc
2041 * lyxfunc.C: changes from above
2043 2003-03-31 John Levon <levon@movementarian.org>
2045 * lyx_main.C: fix to the last fix
2047 2003-03-31 John Levon <levon@movementarian.org>
2049 * bufferlist.C: "Load original" -> "Load Original"
2055 * format.C: more Alert cleanups
2057 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2059 * text2.C (removeParagraph): make it take a RowList::iterator as
2061 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2062 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2064 * text.C (anchor_row): make it take a RowList::iterator as arg,
2066 (computeBidiTables): make it take a const reference to Row instead
2067 of Row pointer, adjust.
2068 (leftMargin): make it take a RowList::iterator as arg, adjust.
2069 (rowBreakPoint): adjust
2070 (breakAgainOneRow): make it take a RowList::iterator as arg,
2072 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2074 * bufferview_funcs.C (toggleAndShow): adjust
2076 2003-03-30 John Levon <levon@movementarian.org>
2080 * boost-inst.C: moved to support
2082 * several files: changes as a result
2084 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2086 * text2.C (LyXText): adjust.
2088 (removeRow): make it take a RowList::iterator as arg, adjust.
2089 (fullRebreak): adjust
2090 (deleteEmptyParagraphMechanism): adjust
2091 (clearPaint): adjust
2094 * text.C (top_y): adjust
2095 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2096 (breakAgain): make it take a RowList::iterator as arg, adjust.
2097 (breakParagraph): adjust
2098 (insertChar): adjust
2101 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2102 need_break_row, and refresh_row.
2104 * text3.C (dispatch): adjust
2106 * text2.C (checkParagraph): adjust
2108 (setCursorFromCoordinates): adjust
2110 * text.C (top_y): adjust
2112 (getRow): make it return a RowList::iterator, adjust
2113 (getRowNearY): make it return a RowList::iterator, adjust
2115 * text2.C (init): adjust
2116 (insertRow): remove function
2117 (insertParagraph): adjust
2118 (redoParagraphs): adjust
2119 (fullRebreak): adjust
2120 (updateCounters): adjust
2122 * text.C (top_y): rewrite to use RowList iterators.
2124 (setHeightOfRow): rewrite to sue RowList iterators.
2125 (appendParagraph): adjust
2126 (breakAgain): adjust
2127 (breakAgainOneRow): adjust
2128 (breakParagraph): adjust
2130 (getRowNearY): adjust, and remove commented code.
2132 * lyxtext.h (firstRow): delete function
2133 (lastRow): delete function
2134 (rows): new function (const and non-const versions.)
2135 (insertRow): delete function
2137 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2139 2003-03-29 John Levon <levon@movementarian.org>
2141 * BufferView_pimpl.C: always update scrollbar top
2142 because pasting text when we're anchored could mean we
2143 miss an update altogether
2145 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2147 * text2.C (init): use rowlist_.end() and not 0.
2148 (insertRow): change to take a RowList::iterator as arg, adjust
2150 (insertParagraph): change to take a RowList::iterator as arg,
2152 (redoParagraphs): remove some debug msgs.
2154 * text.C (appendParagraph): change to take a RowList::iterator
2155 arg, adjust for this.
2156 (breakAgain): add an assert
2157 (breakAgainOneRow): ditto
2159 2003-03-29 John Levon <levon@movementarian.org>
2161 * text2.C: do not clear selection after inc/decDepth
2164 2003-03-29 John Levon <levon@movementarian.org>
2167 * buffer.C: fix broken strerrors according to Lars
2169 2003-03-29 John Levon <levon@movementarian.org>
2171 * converters.C: more Alert cleanups
2173 2003-03-29 John Levon <levon@movementarian.org>
2175 * bufferview_funcs.C: remove pointless Alert
2177 * buffer.C: fix confusing error message when
2178 a template is chmoded 000
2180 2003-03-29 John Levon <levon@movementarian.org>
2184 * BufferView_pimpl.C: Alert fixes
2188 * tabular-old.C: remove unused table compat reading
2190 2003-03-29 John Levon <levon@movementarian.org>
2195 * lyx_cb.C: more Alert cleanups
2197 * lyxfunc.C: don't allow chktex if not latex document
2199 2003-03-29 John Levon <levon@movementarian.org>
2203 * buffer.C: warnings pushed down from support/,
2206 2003-03-29 John Levon <levon@movementarian.org>
2208 * lyxfunc.C: safety check for C-r (revert)
2210 2003-03-29 John Levon <levon@movementarian.org>
2213 * bufferlist.C: several UI fixes using Alert::prompt.
2214 Fix the pointless looping quit code. Fix stupid revert
2219 * lyx_cb.C: use Alert::prompt
2221 * lyx_main.C: remove a silly question
2223 * lyxfunc.C: remove a couple of silly questions,
2226 2003-03-28 John Levon <levon@movementarian.org>
2228 * text2.C: fix bug 974 (End on empty par)
2230 2003-03-28 John Levon <levon@movementarian.org>
2232 * BufferView_pimpl.C:
2234 * lfuns.h: remove do-nothing math greek lfuns
2236 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2238 * lyxgluelength.h (isValidGlueLength): add default arg on
2239 parameter 2. Remove default arg from friend in class.
2241 * lyxlength.h (isValidLength): add default arg on parameter 2.
2242 Remove default arg from friend in class.
2244 * text2.C (LyXText): adjust, initialize refresh_row.
2248 (insertParagraph): adjst
2249 (redoParagraphs): adjust
2250 (fullRebreak): adjust
2251 (updateCounters): adjust
2252 (deleteEmptyParagraphMechanism): first attempt at fixing a
2255 * text.C (top_y): adjust
2256 (setHeightOfRow): adjust
2258 (getRowNearY): adjust
2260 * lyxtext.h: include RowList.h
2261 (~LyXText): not needed anymore, deleted.
2262 (firstRow): modify for RowList
2263 (lastRow): new function
2264 Delete firstrow and lastrow class variables, add a Rowlist
2265 rowlist_ class variable.
2267 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2270 * RowList.C (insert): fix case where it == begin().
2272 2003-03-26 Angus Leeming <leeming@lyx.org>
2274 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2275 the thesaurus dialog.
2277 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2279 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2281 * RowList.[Ch]: new files
2283 * ParagraphList.C (erase): handle the case where it == begin
2286 2003-03-25 John Levon <levon@movementarian.org>
2290 * aspell.C: add new aspell support
2293 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2296 2003-03-25 Angus Leeming <leeming@lyx.org>
2299 * LyXAction.C (init): new LFUN_INSET_INSERT.
2301 * BufferView_pimpl.C (dispatch): split out part of the
2302 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2304 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2307 2003-03-25 Angus Leeming <leeming@lyx.org>
2309 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2311 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2314 * text3.C: remove useless row->height(0)
2316 2003-03-25 John Levon <levon@movementarian.org>
2320 * text3.C: rename the refreshing stuff to better names
2322 2003-03-24 John Levon <levon@movementarian.org>
2324 * BufferView_pimpl.h:
2325 * BufferView_pimpl.C: update layout choice on a mouse
2328 2003-03-23 John Levon <levon@movementarian.org>
2330 * Makefile.am: fix commandtags.h reference
2332 2003-03-22 John Levon <levon@movementarian.org>
2334 * BufferView_pimpl.C:
2339 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2341 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2344 * text.C: take the rtl methods out of line
2346 2003-03-21 André Pönitz <poenitz@gmx.net>
2348 * metricsinfo.[Ch]: new files containing structures to be passed around
2349 during the two-phase-drawing...
2351 2003-03-21 André Pönitz <poenitz@gmx.net>
2353 * lyxtextclass.C: read 'environment' tag.
2355 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2357 * text2.C (removeRow): fix bug 964
2359 2003-03-20 John Levon <levon@movementarian.org>
2363 * text2.C: paint cleanups. Inset::update() dropped font
2366 2003-03-19 John Levon <levon@movementarian.org>
2368 * lyxfunc.C: only fitcursor/markDirty if available()
2370 2003-03-19 John Levon <levon@movementarian.org>
2372 * commandtags.h: rename to ...
2374 * lfuns.h: ... this, and renumber / cleanup
2376 2003-03-19 John Levon <levon@movementarian.org>
2378 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2379 fit the cursor after an lfun
2383 * BufferView_pimpl.h:
2384 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2386 * LyXAction.C: layout-character should have ReadOnly
2388 * ParagraphParameters.C:
2390 * bufferview_funcs.C:
2397 * undo_funcs.C: changes from above
2399 2003-03-18 John Levon <levon@movementarian.org>
2401 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2402 remove it from update()
2404 * lyxfunc.C: update layout choice after an lfun
2406 * text3.C: remove extra updateLayoutChoice()s
2408 2003-03-18 John Levon <levon@movementarian.org>
2410 * text.C: top_y change means full repaint, fix
2411 a drawing bug with cursor movement
2413 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2417 * text2.C: anchor row on setCursor
2419 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2421 * lyxtext.h: remove almost all mutable keywords
2424 * text3.C: remove const keywords accordingly
2426 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2428 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2430 (TeXEnvironment): ditto
2433 2003-03-17 John Levon <levon@movementarian.org>
2435 * text.C (rowBreakPoint): remove attempt to fix displayed
2436 math insets inside a manual label
2438 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2440 * lyxtext.h: remove BufferView* as first arg from almost all class
2442 * other files: adjust.
2444 2003-03-17 John Levon <levon@movementarian.org>
2448 * text2.C: more paint cleanups
2450 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2453 * rowpainter.C: remove "smart" background painting code
2455 2003-03-16 John Levon <levon@movementarian.org>
2460 * text3.C: add helper functions for setting refresh_row/y
2462 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2464 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2465 newline inset which *can* get inserted in the pass_thru layouts.
2466 This is primarily for literate documents.
2468 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2470 * buffer.C: increment LYX_FORMAT to 223
2472 2003-03-14 André Pönitz <poenitz@gmx.net>
2474 * textclass.h: prepare for environment handling, ws changes
2475 * lyxlayout.C: read latexheader and latexfooter tags
2477 2003-03-14 John Levon <levon@movementarian.org>
2479 * text2.C: rewrite ::status() a bit
2481 2003-03-13 John Levon <levon@movementarian.org>
2483 * lyxtext.h: add some docs
2485 2003-03-13 John Levon <levon@movementarian.org>
2490 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2492 2003-03-13 John Levon <levon@movementarian.org>
2494 * text3.C: fix appendix redrawing
2496 2003-03-13 John Levon <levon@movementarian.org>
2498 * text.C (setHeightOfRow):
2500 * rowpainter.C: make appendix mark have the text
2501 "Appendix" so the user knows what it is
2504 * LColor.C: s/appendixline/appendix/ from above
2506 2003-03-13 John Levon <levon@movementarian.org>
2508 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2510 * text.C: fix a getChar(pos) bug properly
2512 2003-03-13 Angus Leeming <leeming@lyx.org>
2515 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2516 Probably only temporary. Let's see how things pan out.
2518 * BufferView.C (unlockInset):
2519 * BufferView_pimpl.C (fitCursor):
2520 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2522 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2523 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2525 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2526 new functions that convert ParagraphParameters to and from a string.
2528 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2529 BufferView::Pimpl's dispatch.
2530 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2532 2003-03-13 André Pönitz <poenitz@gmx.net>
2536 * factory.C: make it aware of InsetEnv
2538 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2540 * text2.C (setCursor): never ask for one past last
2541 (setCursor): add some debugging messages.
2543 * text.C (singleWidth): never ask for one past last
2544 (singleWidth): ditto
2546 (rightMargin): ditto
2547 (rowBreakPoint): ditto
2548 (setHeightOfRow): ditto
2549 (prepareToPrint): ditto
2551 * rowpainter.C (paintBackground): never ask for one past last
2552 (paintText): never ask for one past last
2554 * paragraph_pimpl.C (getChar): make the assert stricter, never
2555 allow the one past last pos to be taken
2557 * paragraph.C (getChar): ws changes only
2559 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2560 (numberOfSeparators): ditto
2561 (numberOfHfills): ditto
2563 2003-03-12 John Levon <levon@movementarian.org>
2569 * paragraph_funcs.C: fix per-buffer authorlists
2571 2003-03-12 John Levon <levon@movementarian.org>
2573 * text.C: fix newline in right address
2575 2003-03-12 Angus Leeming <leeming@lyx.org>
2577 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2578 duplicate those in LyXFunc::dispatch.
2582 * ToolbarDefaults.C:
2583 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2584 Add LFUN_FONTFREE_UPDATE.
2586 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2587 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2589 * bufferview_func.[Ch]: several new functions to facilliate
2590 transfer of data to and from the character dialog.
2592 2003-03-12 John Levon <levon@movementarian.org>
2597 * paragraph_funcs.C:
2598 * paragraph_pimpl.C:
2602 * text3.C: remove META_NEWLINE in favour of an inset
2605 * rowpainter.C: remove paintNewline (done by inset)
2607 2003-03-12 John Levon <levon@movementarian.org>
2609 * paragraph_pimpl.C: complain about bad getChar()s
2610 for a while at least
2612 2003-03-12 John Levon <levon@movementarian.org>
2615 * buffer.C: move paragraph read into a separate function,
2616 a little renaming to reflect that.
2619 * bufferparams.C: remove the author_ids map, not necessary now
2622 * factory.C: moved Buffer::readInset to here
2624 * paragraph_funcs.h:
2625 * paragraph_funcs.C: readParagraph free function moved from
2628 * tabular.C: name change
2630 2003-03-12 John Levon <levon@movementarian.org>
2633 * ParagraphParameters.C: move par params input to
2636 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2637 behave like a normal read from the stream wrt reading
2638 a line vs. a \\token
2640 2003-03-12 John Levon <levon@movementarian.org>
2643 * ParagraphParameters.h:
2644 * ParagraphParameters.C: move output code to a
2647 2003-03-12 John Levon <levon@movementarian.org>
2649 * BufferView.C (insertLyXFile):
2652 * tabular.C: use a parlist iterator for creating the
2655 2003-03-12 John Levon <levon@movementarian.org>
2657 * buffer.C: make current_change static local not
2660 2003-03-12 John Levon <levon@movementarian.org>
2662 * buffer.C: fix insertStringAsLines for change tracking
2664 2003-03-12 John Levon <levon@movementarian.org>
2671 * bufferparams.C: move author list into params. Rename some
2672 functions. Move the header reading into a separate token
2673 loop. Move the header token reading into BufferParams.
2675 2003-03-12 John Levon <levon@movementarian.org>
2677 * changes.C: put debug inside lyxerr.debugging() checks
2679 2003-03-11 André Pönitz <poenitz@gmx.net>
2681 * factory.C: make it aware of InsetHFill
2683 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2685 * buffer.C (latexParagraphs): move function from here...
2686 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2689 2003-03-10 Angus Leeming <leeming@lyx.org>
2691 * LyXAction.C (init): fix bug in poplating array with multiple entries
2692 with the same LFUN (spotted by JMarc).
2694 2003-03-10 John Levon <levon@movementarian.org>
2697 * text2.C: move getColumnNearX() near its
2700 2003-03-10 John Levon <levon@movementarian.org>
2702 * text.C: fix break before a minipage
2704 2003-03-10 John Levon <levon@movementarian.org>
2706 * text.C: fix the last commit
2708 2003-03-09 John Levon <levon@movementarian.org>
2712 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2713 bug 365 (don't break before insets unless needed). Don't
2714 return a value > last under any circumstances.
2716 2003-03-09 Angus Leeming <leeming@lyx.org>
2718 * BufferView_pimpl.C (trackChanges, dispatch): call
2719 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2721 2003-03-09 Angus Leeming <leeming@lyx.org>
2723 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2724 than Dialogs::showAboutlyx().
2726 2003-03-09 Angus Leeming <leeming@lyx.org>
2728 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2729 than Dialogs::showTabularCreate().
2731 2003-03-09 John Levon <levon@movementarian.org>
2735 * text2.C: 3rd arg to nextBreakPoint was always the same.
2738 2003-03-08 John Levon <levon@movementarian.org>
2745 * text2.C: Remove the "main" bit from the "main body"
2748 2003-03-08 John Levon <levon@movementarian.org>
2750 * text.C (leftMargin): The left margin of an empty
2751 manual label paragraph should not include the label width
2754 * text.C (prepareToPrint): don't attempt to measure hfills
2755 for empty manual label paragraphs - the answer should be 0
2757 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2759 * CutAndPaste.C: remove commented code and reindent.
2761 2003-03-08 John Levon <levon@movementarian.org>
2764 * lyxfunc.C: move reloadBuffer()
2767 * BufferView.C: to here
2769 * lyxvc.C: add comment
2772 * vc-backend.C: call bv->reload() to avoid
2773 getStatus() check on MENURELOAD
2775 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2777 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2778 to an old format .dep file.
2780 2003-03-07 Angus Leeming <leeming@lyx.org>
2782 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2783 when the LFUN_MOUSE_RELEASE should have been handled by
2784 inset->localDispatch.
2786 2003-03-07 Angus Leeming <leeming@lyx.org>
2788 * BufferView_pimpl.C (dispatch):
2789 * LyXAction.C (init):
2790 * ToolbarDefaults.C (init):
2792 * lyxfunc.C (getStatus):
2793 remove LFUN_INSET_GRAPHICS.
2795 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2797 2003-03-07 Angus Leeming <leeming@lyx.org>
2800 * LyXAction.C (init):
2801 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2803 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2806 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2808 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2809 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2811 2003-03-07 Angus Leeming <leeming@lyx.org>
2813 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2816 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2818 * ParagraphList.C (front): new function
2821 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2823 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2824 and top_row_offset_. removed var first_y.
2826 * text2.C (LyXText, removeRow):
2828 * BufferView_pimpl.C:
2829 use these methods instead of using first_y
2831 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2833 * text2.C (pasteSelection): adjust for checkPastePossible
2835 * CutAndPaste.C: remove Paragraph * buf and replace with
2836 ParagraphList paragraphs.
2837 (DeleteBuffer): delete
2838 (cutSelection): change the tc type to textclass_type
2839 (copySelection): change the tc type to textclass_type
2840 (copySelection): adjust for ParagraphList
2841 (pasteSelection): change the tc type to textclass_type
2842 (pasteSelection): adjust for Paragraphlist
2843 (nrOfParagraphs): simplify for ParagraphList
2844 (checkPastePossible): simplify for ParagraphList
2845 (checkPastePossible): remove unused arg
2847 * ParagraphList.C (insert): handle the case where there are no
2850 * CutAndPaste.h: make CutAndPaste a namespace.
2852 * text3.C (dispatch): adjust
2854 * text.C (breakParagraph): add a ParagraphList as arg
2856 * paragraph_funcs.C (breakParagraph): change to take a
2857 BufferParams and a ParagraphList as args.
2858 (breakParagraphConservative): ditto
2859 (mergeParagraph): ditto
2860 (TeXDeeper): add a ParagraphList arg
2861 (TeXEnvironment): ditto
2864 * buffer.C (readLyXformat2): adjust
2865 (insertStringAsLines): adjust
2866 (latexParagraphs): adjust
2868 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2869 (cutSelection): adjust
2870 (pasteSelection): adjust
2872 * BufferView_pimpl.C (insertInset): adjust
2874 2003-03-05 Angus Leeming <leeming@lyx.org>
2877 * LyXAction.C (init):
2878 * BufferView_pimpl.C (dispatch):
2879 * lyxfunc.C (getStatus):
2880 remove LFUN_CHILD_INSERT.
2882 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2884 2003-03-05 Angus Leeming <leeming@lyx.org>
2887 * LyXAction.C (init):
2888 * src/factory.C (createInset):
2889 * lyxfunc.C (getStatus):
2890 * text3.C (dispatch):
2891 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2893 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2895 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2897 * ParagraphList.C (insert): handle insert right before end()
2898 (erase): fix cases where it can be first or last paragraph.
2900 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2902 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2903 Paragraph::next and Paragraph::previous
2906 * text.C (breakParagraph): adjust
2908 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2909 BufferParams& as arg.
2910 (breakParagraph): use ParagraphList::insert
2911 (breakParagraphConservative): take a Buffer* instead of a
2912 BufferParams& as arg.
2913 (breakParagraphConservative): use ParagraphList::insert.
2915 * buffer.C (insertStringAsLines): un-const it
2916 (insertStringAsLines): adjust
2918 * ParagraphList.C (insert): new function
2920 * CutAndPaste.C (pasteSelection): adjust
2922 * text.C (backspace): adjust
2924 * tabular.C (SetMultiColumn): adjust
2926 * CutAndPaste.C (cutSelection): adjust
2927 (pasteSelection): adjust
2929 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2930 Buffer const * as arg
2932 * ParagraphList.C (erase): new function
2933 * paragraph_funcs.C (mergeParagraph): use it
2934 (mergeParagraph): make it take a Buffer* instead of a
2935 BufferParams* as arg
2937 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2939 (breakParagraphConservative): ditto
2941 * paragraph.h: remove the breakParagraph friend
2943 * paragraph.C (eraseIntern): new function
2944 (setChange): new function
2946 * paragraph_funcs.C (mergeParagraph): make it take a
2947 ParagraphList::iterator instead of a Paragraph *, adjust
2950 * paragraph.h: move an #endif so that the change tracking stuff
2951 also works in the NO_NEXT case.
2953 2003-03-04 Angus Leeming <leeming@lyx.org>
2956 * LyXAction.C: new LFUN_INSET_MODIFY.
2958 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2959 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2961 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2963 * several files: ws changes only
2965 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2966 (TeXEnvironment): ditto
2969 * buffer.C (makeLaTeXFile): adjust
2970 (latexParagraphs): make it take ParagraphList::iterator as args
2972 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2974 * buffer.C (latexParagraphs): adjust
2976 * paragraph.C (TeXOnePar): move function...
2977 (optArgInset): move function...
2978 (TeXEnvironment): move function...
2979 * paragraph_pimpl.C (TeXDeeper): move function...
2980 * paragraph_funcs.C: ...here
2982 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2984 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2986 * buffer.C (readInset): remove compability code for old Figure and
2989 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2991 * buffer.C: ws changes
2994 * BufferView_pimpl.C: ditto
2997 * bufferlist.h: ditto
3001 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3003 * converter.[Ch]: split into itself +
3006 * Makefile.am: += graph.[Ch] + format.[Ch]
3013 * lyxrc.C: added #include "format.h"
3015 2003-02-27 Angus Leeming <leeming@lyx.org>
3017 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3020 * factory.C (createInset): add "label" to the factory.
3022 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3023 string and do no more.
3025 2003-02-27 Angus Leeming <leeming@lyx.org>
3028 * LyXAction.C (init):
3029 * factory.C (createInset):
3030 * BufferView_pimpl.C (dispatch):
3031 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3033 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3035 * lyxfunc.C (dispatch):
3036 * text3.C (dispatch): pass name to params2string.
3038 2003-02-26 Angus Leeming <leeming@lyx.org>
3040 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3042 Rearrange the ~includes. Strip out the unnecessary ones.
3044 * factory.C (createInset): reformat.
3045 create new insets for the various LFUN_XYZ_APPLY lfuns.
3047 2003-02-26 John Levon <levon@movementarian.org>
3050 * lyxrow.C: add isParStart,isParEnd helpers
3052 * paragraph.h: make isInserted/DeletedText take refs
3054 * paragraph_funcs.h:
3055 * paragraph_funcs.C: remove #if 0'd code
3060 * text.C: use lyxrow helpers above.
3061 Move draw and paint routines to RowPainter.
3062 Make several methods use refs not pointers.
3063 Make backgroundColor() const.
3064 Add markChangeInDraw(), isInInset().
3065 Merge changeRegionCase into changeCase.
3066 Make workWidth() shouldn't-happen code into an Assert.
3069 * rowpainter.C: new class for painting a row.
3072 * vspace.C: make inPixels take a ref
3074 2003-02-26 Angus Leeming <leeming@lyx.org>
3076 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3079 2003-02-25 John Levon <levon@movementarian.org>
3081 * ispell.C: give the forked command a more accurate name
3083 2003-02-22 John Levon <levon@movementarian.org>
3086 * toc.C: make TocItem store an id not a Paragraph *
3089 2003-02-21 Angus Leeming <leeming@lyx.org>
3091 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3092 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3093 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3094 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3095 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3096 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3098 * BufferView_pimpl.C (dispatch):
3099 * LyXAction.C (init):
3100 * factory.C (createInset):
3101 * lyxfunc.C (getStatus, dispatch):
3102 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3104 2003-02-21 Angus Leeming <leeming@lyx.org>
3106 * BufferView_pimpl.C (MenuInsertLyXFile):
3107 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3108 * lyxfunc.C (menuNew, open, doImport):
3109 no longer pass a LyXView & to fileDlg.
3111 2003-02-21 Angus Leeming <leeming@lyx.org>
3113 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3114 * LyXAction.C: change, BIBKEY to BIBITEM.
3115 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3116 Change InsetBibKey to InsetBibitem.
3117 Change BIBKEY_CODE to BIBITEM_CODE.
3118 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3119 * factory.C: replace insetbib.h with insetbibitem.h.
3120 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3121 * paragraph.C: replace insetbib.h with insetbibitem.h.
3122 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3123 Change bibkey() to bibitem().
3124 * text.C: remove insetbib.h.
3125 * text2.C: replace insetbib.h with insetbibitem.h.
3126 change bibkey() to bibitem().
3127 * text3.C: remove insetbib.h.
3128 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3130 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3132 * lyxrc.C (output): enclose user email in quotes (in case there are
3135 2003-02-18 John Levon <levon@movementarian.org>
3137 * buffer.h: add std::
3139 2003-02-17 John Levon <levon@movementarian.org>
3145 * pspell.C: reworking. Especially in ispell, a large
3146 number of clean ups and bug fixes.
3148 * lyxfunc.C: fix revert to behave sensibly
3150 2003-02-17 André Pönitz <poenitz@gmx.net>
3153 * commandtags.h: new LFUN_INSERT_BIBKEY
3163 * paragraph_func.C: remove special bibkey handling
3165 2003-02-17 John Levon <levon@movementarian.org>
3167 * text.C (Delete): fix case where delete at the end of
3168 the very first paragraph would not merge the pars
3170 2003-02-17 John Levon <levon@movementarian.org>
3172 * lyxrow.C: fix lastPrintablePos()
3174 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3176 * bufferparams.C (writeLaTeX): add a std:here
3178 * buffer.C: and remove a using directive there
3180 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3182 * buffer.C (makeLaTeXFile): move the code that generates the
3185 * bufferparams.C (writeLaTeX): ... in this new method
3187 * LaTeXFeatures.C (getEncodingSet): make const
3188 (getLanguages): make const
3190 * MenuBackend.C (binding): returns the binding associated to this
3192 (add): sets the status of each item by calling getStatus. Adds
3194 (read): add support for OptSubMenu
3195 (expand): remove extra separator at the end of expanded menu
3197 2003-02-15 John Levon <levon@movementarian.org>
3200 * BufferView_pimpl.C:
3202 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3203 inset code that had no actual effect. Remove unneeded status
3206 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3208 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3211 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3213 * text.C (drawLengthMarker): also draw an arrow marker for
3214 symbolic lengths (medskip...)
3216 2003-02-14 John Levon <levon@movementarian.org>
3219 * tabular.C: better method names
3221 2003-02-14 John Levon <levon@movementarian.org>
3223 * BufferView_pimpl.C:
3228 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3229 it's a more accurate name. Remove some pointless uses.
3231 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3233 * text2.C (LyXText): change order of initilizers to shut off
3236 2003-02-14 John Levon <levon@movementarian.org>
3238 * buffer.C: use ParIterator for getParFromID()
3242 * paragraph_pimpl.h:
3243 * paragraph_pimpl.C: remove unused getParFromID()
3245 2003-02-14 John Levon <levon@movementarian.org>
3247 * buffer.C: remove some very old #if 0'd parse code
3249 2003-02-13 John Levon <levon@movementarian.org>
3253 * text2.C: move hfillExpansion(), numberOfSeparators(),
3254 rowLast(), rowLastPrintable(), numberofHfills(),
3255 numberOfLabelHfills() ...
3258 * lyxrow.C: ... to member functions here.
3263 * text.C: remove LyXText::beginningOfMainBody(), and call
3264 p->beginningOfMainBody() directly. Move the check for
3265 LABEL_MANUAL into the latter.
3272 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3278 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3279 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3281 2003-02-13 John Levon <levon@movementarian.org>
3283 * CutAndPaste.C: remove debug
3285 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3287 * paragraph.C (asString): remove two unused variables
3289 * lyxtextclass.C (readTitleType):
3291 (LyXTextClass): handle new members titletype_ and titlename_
3293 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3295 2003-02-09 John Levon <levon@movementarian.org>
3298 * buffer.C: replace hand-coded list with a map for the dep clean
3300 2003-02-08 John Levon <levon@movementarian.org>
3302 * LaTeX.C: consolidate code into showRunMessage() helper
3304 2003-02-08 John Levon <levon@movementarian.org>
3309 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3310 and pass the size in explicitly
3312 * BufferView_pimpl.h:
3313 * BufferView_pimpl.C:
3315 * BufferView.C: add getCurrentChange()
3317 * BufferView_pimpl.h:
3318 * BufferView_pimpl.C: handle change lfuns
3320 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3321 for changes. Mark pasted paragraphs as new.
3323 * support/lyxtime.h:
3324 * support/lyxtime.C:
3325 * DepTable.C: abstract time_t as lyx::time_type
3328 * LColor.C: add colours for new text, deleted text, changebars
3330 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3331 package use "usenames" option.
3335 * LyXAction.C: add change lfuns
3339 * author.C: author handling
3342 * buffer.C: add a per-buffer author list, with first entry as
3343 current author. Handle new .lyx tokens for change tracking. Output
3344 author list to .lyx file. Output dvipost stuff to .tex preamble.
3345 Bump lyx format to 222.
3348 * bufferlist.C: add setCurrentAuthor() to reset current author details
3352 * bufferparams.C: add param for tracking
3354 * bufferview_funcs.C: output change info in minibuffer
3358 * changes.C: add change-tracking structure
3361 * debug.C: add CHANGES debug flag
3364 * lyxfind.C: add code for finding the next change piece
3367 * lyxrc.C: add user_name and user_email
3370 * lyxrow.C: add a metric for the top of the text line
3373 * text.C: implement accept/rejectChange()
3376 * text.C: paint changebars. Paint new/deleted text in the chosen
3377 colours. Strike through deleted text.
3381 * paragraph_pimpl.h:
3382 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3383 in the current change to the insert functions. Rework erase to
3384 mark text as deleted, adding an eraseIntern() and a range-based
3385 erase(). Implement per-paragraph change lookup and
3388 * paragraph_funcs.C: Fixup paste for change tracking.
3390 * tabular.C: mark added row/columns as new.
3392 * text.C: fix rowLast() to never return -1. Don't allow
3393 spellchecking of deleted text. Track transpose changes. Don't
3394 allow paragraph break or merge where appropriate.
3396 * text2.C: leave cursor at end of selection after a cut.
3398 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3400 * text.C (getLengthMarkerHeight):
3401 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3402 visible on screen too.
3404 2003-02-07 John Levon <levon@movementarian.org>
3406 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3408 2003-02-05 Angus Leeming <leeming@lyx.org>
3410 * lyxserver.C (read_ready): revert my patch of 11 September last year
3411 as it sends PC cpu through the roof. Presumably this means that
3412 the lyxserver will no longer run on an Alpha...
3414 2003-01-30 Angus Leeming <leeming@lyx.org>
3416 * factory.C (createInset): create an InsetCommandParam of type "index"
3417 and use it to 'do the right thing'.
3419 * text2.C (getStringToIndex): ensure that cursor position is always
3420 reset to the reset_cursor position.
3422 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3424 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3427 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3431 * lyxfunc.C: Output messages with identical spelling, punctuation,
3434 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3436 * MenuBackend.C (expandFormats): List only viewable export formats
3439 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3442 * lyxfunc.C (getStatus): Make sure that formats other than
3443 "fax" can also be disabled
3445 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3447 * text3.C (dispatch): put the lfuns that insert insets in 3
3448 groups, and call doInsertInset with appropriate arguments.
3449 (doInsertInset): new function, that creates an inset and inserts
3450 it according to some boolean parameters.
3452 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3454 * buffer.C (readFile): remember to pass on 'par' when calling
3455 readFile recursively.
3457 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3459 * MenuBackend.C (expandFormats): add "..." to import formats.
3461 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3463 * paragraph.C (asString): Remove XForms RTL hacks.
3465 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3466 * buffer.C: fix typo
3468 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3470 * Makefile.am (LIBS): delete var
3471 (lyx_LDADD): add @LIBS@ here instead.
3473 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3475 * Clarify the meaning of "wheel mouse jump"
3477 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3479 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3482 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3484 * importer.C (Loaders): do not preallocate 3 elements in the
3485 vector, since one ends up with 6 elements otherwise
3487 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3489 * DepTable.C (write): write the file name as last element of the
3490 .dep file (because it may contain spaces)
3491 (read): read info in the right order
3493 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3495 * paragraph_pimpl.C (simpleTeXBlanks):
3496 (simpleTeXSpecialChars):
3497 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3499 * tabular.C (latex): add some missing case statements. Reindent.
3501 * MenuBackend.C (expandToc): remove unused variable.
3503 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3512 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3515 2003-01-05 John Levon <levon@movementarian.org>
3518 * BufferView.C: add getEncoding()
3521 * kbsequence.C: do not store last keypress
3524 * lyxfunc.C: store last keypress here instead. Pass encoding
3527 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3529 * lyx_main.C (init): remove annoying error message when following
3530 symbolic links (bug #780)
3532 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3534 * text.C (insertChar):
3535 * lyxrc.C (getDescription): remove extra spaces
3537 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3539 * lyxrc.C (getDescription): remove extra spaces
3541 2002-12-20 John Levon <levon@movementarian.org>
3543 * text3.C: hack fix for page up/down across tall rows
3545 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3547 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3550 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3552 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3553 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3554 thesaurus is not compiled in
3556 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3558 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3560 2002-12-16 Angus Leeming <leeming@lyx.org>
3563 * lyx_main.C (init): remove override_x_deadkeys stuff.
3565 2002-12-12 John Levon <levon@movementarian.org>
3567 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3568 insert. Only remove shift modifier under strict
3571 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3573 * MenuBackend.C (expandToc): fix crash.
3575 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3577 * MenuBackend.C (expandToc): gettext on float names.
3579 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3581 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3582 implement bool empty() [bug 490]
3584 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3586 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3588 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3590 * several files: ws changes
3592 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3594 * text2.C (setCounter): clean up a bit, use boost.format.
3595 (updateCounters): initialize par upon declaration.
3597 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3598 if the layout exists. We do not just store the layout any more.
3599 (SwitchLayoutsBetweenClasses): use boost.format
3601 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3603 * converter.C (convert): if from and to files are the same, use a
3604 temporary files as intermediary
3606 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3609 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3611 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3613 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3615 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3617 * tabular.C (asciiPrintCell): use string(size, char) instead of
3620 * sgml.C (openTag): fix order of arguments to string constructor
3623 * lyxfunc.C (dispatch): use boost.format
3625 * lots of files: change "c" -> 'c'
3627 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3629 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3631 2002-11-25 Angus Leeming <leeming@lyx.org>
3633 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3635 * lyx_main.C (init): compile fix.
3637 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3639 * lyx_cb.C (start): boost.formatify
3640 do not include <iostream>
3642 * lengthcommon.C: ws only
3644 * boost-inst.C,BoostFormat.h: add more explict instantations
3646 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3648 * lots of files: handle USE_BOOST_FORMAT
3650 2002-11-21 John Levon <levon@movementarian.org>
3652 * pspell.C: fix compile
3654 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3656 * lyxfunc.C (dispatch): use boost::format
3660 * lyxfont.C (stateText): use boost::format
3662 * lyx_main.C (LyX): use boost::format
3664 (queryUserLyXDir): ditto
3667 (typedef boost::function): use the recommened syntax.
3669 * importer.C (Import): use boost::format
3671 * debug.C (showLevel): use boost::format
3673 * converter.C (view): use boost::format
3678 * bufferview_funcs.C (currentState): use boost::format
3680 * bufferlist.C (emergencyWrite): use boost::format
3682 * buffer.C (readLyXformat2): use boost::format
3683 (parseSingleLyXformat2Token): ditto
3685 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3687 * LaTeX.C (run): use boost::format
3689 * Chktex.C (scanLogFile): use boost::format
3691 * BufferView_pimpl.C (savePosition): use boost::format
3692 (restorePosition): ditto
3693 (MenuInsertLyXFile): ditto
3695 * BoostFormat.h: help file for explicit instation.
3697 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3699 * tabular.C (latex): Support for block alignment in fixed width
3702 2002-11-17 John Levon <levon@movementarian.org>
3704 * BufferView_pimpl.C:
3706 * lyxfunc.C: split filedialog into open/save
3708 2002-11-08 Juergen Vigna <jug@sad.it>
3710 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3711 by my last patch (hopefully).
3713 2002-11-08 John Levon <levon@movementarian.org>
3722 * toc.C: ParConstIterator, and use it (from Lars)
3724 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3726 * lyxtextclass.[Ch]: revise and add doxygen comments
3728 2002-11-07 John Levon <levon@movementarian.org>
3730 * text.C: fix progress value for spellchecker
3732 * toc.C: fix navigate menu for insetwrap inside minipage
3734 * paragraph_funcs.C: added FIXME for suspect code
3736 2002-11-07 John Levon <levon@movementarian.org>
3738 * BufferView_pimpl.C: fix redrawing of insets
3741 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3743 * text2.C (updateCounters): fix bug 668
3745 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3747 * text3.C (dispatch): Do not make the buffer dirty when moving the
3750 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3752 * vc-backend.C: STRCONV
3755 * text2.C (setCounter): STRCONV
3757 * paragraph.C (asString): STRCONV
3759 * lyxlength.C (asString): STRCONV
3760 (asLatexString): ditto
3762 * lyxgluelength.C (asString): STRCONV
3763 (asLatexString): ditto
3765 * lyxfunc.C (dispatch): STRCONV
3768 * lyxfont.C (stateText): STRCONV
3770 * importer.C (Import): STRCONV
3772 * counters.C (labelItem): STRCONV
3773 (numberLabel): ditto
3774 (numberLabel): remove unused ostringstream o
3779 * bufferview_funcs.C (currentState): STRCONV
3781 * buffer.C (readFile): STRCONV
3782 (asciiParagraph): ditto
3783 (makeLaTeXFile): ditto
3785 * Spacing.C (writeEnvirBegin): STRCONV
3787 * LaTeXFeatures.C (getLanguages): STRCONV
3788 (getPackages): ditto
3790 (getBabelOptions): ditto
3791 (getTClassPreamble): ditto
3792 (getLyXSGMLEntities): ditto
3793 (getIncludedFiles): ditto
3797 (scanAuxFile): ditto
3800 * LString.h: add the STRCONV macros
3802 * BufferView_pimpl.C (savePosition): STRCONV
3803 (restorePosition): ditto
3804 (MenuInsertLyXFile): ditto
3806 * vc-backend.C (scanMaster): change from submatch[...] to
3809 * funcrequest.C: include config.h
3811 * factory.C: include config.h
3813 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3815 * box.C: include config.h
3817 * LaTeX.C (scanAuxFile): change from submatch[...] to
3821 2002-10-25 Angus Leeming <leeming@lyx.org>
3823 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3825 * ispell.[Ch] (setError): new method.
3826 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3827 Use setError() insetead of goto END.
3829 * lyx_cb.C (AutoSave): move out child process into new class
3832 2002-10-30 John Levon <levon@movementarian.org>
3834 * text3.C: make start appendix undoable
3836 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3838 * lyxlength.C (inPixels): Fix returned value.
3840 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3843 2002-10-24 Angus Leeming <leeming@lyx.org>
3845 * lyxgluelength.h: no need to forward declare BufferParams
3846 or BufferView, so don't.
3848 2002-10-21 John Levon <levon@movementarian.org>
3850 * BufferView.C: menuUndo ->undo, redo
3852 * BufferView.h: document, remove dead, make some methods private
3854 * paragraph_funcs.h:
3855 * paragraph_funcs.C:
3856 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3861 * sgml.C: move sgml open/close tag into sgml.C
3863 * bufferview_funcs.h: unused prototype
3866 * lyxfunc.C: remove unused
3869 * text.C: remove unused
3871 2002-10-21 John Levon <levon@movementarian.org>
3875 * BufferView_pimpl.h:
3876 * BufferView_pimpl.C: fix mouse wheel handling based on
3877 patch from Darren Freeman
3879 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3881 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3883 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3885 * lyxlength.C (inPixels): Fix hanfling of negative length.
3886 Fix LyXLength::MU case.
3888 2002-10-16 John Levon <levon@movementarian.org>
3890 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3892 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3894 * converter.C (view): add support for $$i (file name) and $$p
3895 (file path) for the viewer command. If $$i is not specified, then
3896 it is appended to the command (for compatibility with old syntax)
3898 2002-10-14 Juergen Vigna <jug@sad.it>
3900 * undo_funcs.C (textHandleUndo): alter the order in which the
3901 new undopar is added to the LyXText, as we have to set first
3902 the right prev/next and then add it as otherwise the rebuild of
3903 LyXText is not correct. Also reset the cursor to the right paragraph,
3904 with this IMO we could remove the hack in "redoParagraphs()".
3906 2002-10-09 Angus Leeming <leeming@lyx.org>
3908 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3909 to turn off an optimisation if a new inset is to be inserted.
3911 2002-10-11 André Pönitz <poenitz@gmx.net>
3913 * lyxtext.h: make some functions public to allow access
3914 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3916 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3918 * text3.C (dispatch): when changing layout, avoid an infinite loop
3921 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3923 * lyxrc.C (read): treat a viewer or converter command of "none" as
3926 * MenuBackend.C (expandFormats): for an update, also allow the
3927 formats that are not viewable
3929 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3930 script if it is newer than the lyxrc.defaults in user directory
3932 2002-10-07 André Pönitz <poenitz@gmx.net>
3934 * text.C: Vitaly Lipatov's small i18n fix
3936 2002-09-25 Angus Leeming <leeming@lyx.org>
3938 * ispell.h: doxygen fix.
3940 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3942 * buffer.h (readFile): Add a new argument to the method, to allow
3943 reading of old-format templates.
3945 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3947 * toc.C (getTocList): Get TOC from InsetWrap.
3949 2002-09-16 John Levon <levon@movementarian.org>
3951 * lyxfunc.C: check tabular for cut/copy too
3953 2002-09-12 John Levon <levon@movementarian.org>
3958 * factory.C: add header
3960 * paragraph_funcs.h:
3961 * paragraph_funcs.C: cleanup
3963 2002-09-11 John Levon <levon@movementarian.org>
3965 * PrinterParams.h: odd/even default to true
3967 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3969 * PrinterParams.h: update printer parameters for new xforms dialog
3971 2002-09-11 Angus Leeming <leeming@lyx.org>
3973 * lyxserver.C (read_ready): re-write to make it more transparent
3974 and to make it work in coherent fashion under Tru64 Unix.
3976 2002-09-11 André Pönitz <poenitz@gmx.net>
3980 * text3.C: implement LFUN_WORDSEL
3982 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3984 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3985 make floatlist_ a boost::shared_ptr<FloatList>
3987 * lyxtextclass.C: include FloatList.h
3988 (LyXTextClass): initialize floatlist_
3989 (TextClassTags): add TC_NOFLOAT
3990 (Read): match "nofloat" to TC_NOFLOAT and use it.
3991 (readFloat): modify call to floatlist_
3995 * FloatList.[Ch] (FloatList): remove commented out float
3997 (erase): new function
3999 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4001 * MenuBackend.C (expandToc): fix crash when there is no document
4004 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4006 * many files: Add insetwrap.
4008 2002-09-09 John Levon <levon@movementarian.org>
4010 * text2.C: remove confusing and awkward depth wraparound
4012 2002-09-09 John Levon <levon@movementarian.org>
4014 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4017 * buffer.C: remove getIncludeonlyList()
4020 * lyxfunc.C: remove headers
4022 2002-09-09 Juergen Vigna <jug@sad.it>
4024 * text.C (getColumnNearX): fix form Michael this is most
4025 probably a cut&paste bug.
4027 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4029 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4031 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4032 references, ws changes.
4034 * text2.C (init): update counters after init
4035 (insertParagraph): no need to set counter on idividual paragraphs.
4036 (setCounter): access the counters object in the textclass object
4037 on in the buffer object.
4038 (updateCounters): ditto
4040 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4041 shared_ptr<Counters> to avoid loading counters.h in all
4043 (LyXTextClass): initialize ctrs_
4044 (TextClassTags): add TC_COUNTER, and ...
4045 (Read): use it here.
4046 (CounterTags): new tags
4047 (readCounter): new function
4048 (counters): new funtion
4049 (defaultLayoutName): return a const reference
4051 * counters.C (Counters): remove contructor
4052 (newCounter): remove a couple of unneeded statements.
4053 (newCounter): simplify a bit.
4054 (numberLabel): some small formatting changes.
4056 * buffer.[Ch]: remove all traces of counters, move the Counters
4057 object to the LyXTextClass.
4059 2002-09-06 Alain Castera <castera@in2p3.fr>
4061 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4062 package to set the horizontal alignment on fixed width columns.
4065 * lyx_sty.h: added tabularnewline macro def.
4067 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4069 2002-09-06 John Levon <levon@movementarian.org>
4071 * LyXAction.C: tooltips for sub/superscript
4073 * MenuBackend.C: a bit more verbose
4075 * lyxfunc.C: tiny clean
4077 * undo_funcs.C: document undo_frozen
4079 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4081 * counters.C (Counters): add missing algorithm counter.
4083 * text2.C (setCounter): lookup the counter with layouts latexname
4084 instead of by section number.
4085 (setCounter): use a hackish way to lookup the correct enum
4087 a float name->type change
4088 reset enum couners with counter name directly instead of depth value.
4090 * counters.C (Counters): remove the push_backs, change to use the
4091 float type not the float name.
4092 (labelItem): remove unused string, float name->type change
4094 * counters.h: don't include vector, loose the enums and sects vectors
4096 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4098 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4099 (Read): add float->TC_FLOAT to textclassTags
4100 (Read): and handle it in the switch
4101 (readFloat): new function
4103 * FloatList.C (FloatList): comment out the hardcoded float
4106 * lyxlayout.h: ws change.
4108 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4110 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4112 2002-09-03 Angus Leeming <leeming@lyx.org>
4114 * BufferView_pimpl.h: qualified name is not allowed in member
4115 declaration: WorkArea & Pimpl::workarea() const;
4117 * factory.C: added using std::endl directive.
4119 * text3.C: added using std::find and std::vector directives.
4121 2002-08-29 André Pönitz <poenitz@gmx.net>
4124 * text2.C: remove unused member number_of_rows
4127 * BufferView2.C: remove file, move contents to...
4128 * BufferView.C: ... here
4130 * BufferView_pimpl.C:
4131 * factory.C: move more inset creation to factory
4133 * vspace.C: avoid direct usage of LyXText, ws changes
4136 don't provide direct access to WorkArea, use two simple
4137 acessors haveSelction() and workHeight() instead
4140 2002-08-29 John Levon <levon@movementarian.org>
4142 * BufferView_pimpl.C (dispatch): do not continue when
4145 2002-08-28 André Pönitz <poenitz@gmx.net>
4147 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4150 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4152 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4154 * buffer.C: increment LYX_FORMAT to 221
4156 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4157 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4159 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4161 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4163 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4165 * factory.C (createInset): use LyXTextClass::floats
4167 * MenuBackend.C (expandFloatListInsert):
4168 (expandFloatInsert):
4171 * text2.C (setCounter):
4173 * LaTeXFeatures.C (useFloat):
4174 (getFloatDefinitions):
4176 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4178 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4179 floatlist_, with accessor floats().
4181 * FloatList.h: remove global FloatList
4183 2002-08-26 André Pönitz <poenitz@gmx.net>
4185 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4189 * BufferView_pimpl.C:
4190 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4192 2002-08-25 John Levon <levon@movementarian.org>
4194 * LyXAction.C: fix margin note description
4196 2002-08-24 John Levon <levon@movementarian.org>
4200 * bufferview_funcs.C:
4202 * undo_funcs.C: cleanups
4204 * lyxfunc.C: disable CUT/COPY when no selection
4206 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4208 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4209 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4211 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4212 Add backward compatibility to "mono", "gray" and "no".
4214 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4216 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4217 (and file_format >= 200).
4219 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4221 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4223 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4225 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4227 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4229 * BufferView_pimpl.C:
4236 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4237 inset and code to make it work with the paragraph code. The inset
4238 can be anywhere in the paragraph, but will only do the expected
4239 thing in LaTeX if the layout file contains the parameter line
4241 (or more generally, a nonzero value) for that layout.
4243 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4245 * paragraph.h: remove the declaration of undefined counters class
4248 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4250 * text2.C (setCounter): fixed enumeration mis-count as reported by
4251 Dr. Richard Hawkins.
4253 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4255 * paragraph_funcs.h: remove some unneeded includes
4257 * text.C (backspace): pasteParagraph now in global scipe
4259 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4260 (pasteSelection): ditto
4262 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4263 * paragraph_funcs.C (pasteParagraph): ... here
4265 2002-08-20 André Pönitz <poenitz@gmx.net>
4267 * commandtags.h: new LFUNs for swapping/copying table row/colums
4270 * lyxfunc.C: support for new lfuns
4272 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4275 * buffer.[Ch]: remove NO_COMPABILITY stuff
4277 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4279 * boost.C (throw_exception): new file, with helper function for
4280 boost compiled without exceptions.
4285 * ParameterStruct.h:
4286 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4288 * bufferlist.C (emergencyWriteAll): use boost bind
4290 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4292 * text.C: include paragraph_funcs.h
4293 (breakParagraph): breakParagraph is now in global scope
4295 * paragraph_funcs.[Ch]: new files
4297 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4300 * buffer.C: include paragraph_funcs.h
4301 (insertStringAsLines): breakParagraph is now in global scope
4303 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4306 * CutAndPaste.C: include paragraph_funcs.h
4307 (cutSelection): breakParagraphConservative is now in global scope
4308 (pasteSelection): ditto
4310 * buffer.h: declare oprator== and operator!= for
4311 Buffer::inset_iterator
4313 * bufferlist.C (emergencyWrite): don't use fmt(...)
4315 * text3.C: add using std::endl
4317 * BufferView.C (moveCursorUpdate): remove default arg
4319 2002-08-20 André Pönitz <poenitz@gmx.net>
4321 * buffer.[Ch]: move inline functions to .C
4324 * BufferView_pimpl.C:
4326 * buffer.[Ch]: use improved inset_iterator
4329 * paragraph.[Ch]: write one paragraph at a time
4331 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4333 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4334 style if style is not specified.
4336 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4338 * text2.C (setCounter): when searching for right label for a
4339 caption, make sure to recurse to parent insets (so that a caption
4340 in a minipage in a figure float works) (bug #568)
4342 2002-08-20 André Pönitz <poenitz@gmx.net>
4344 * text3.C: new file for LyXText::dispatch() and helpers
4346 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4348 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4350 2002-08-19 André Pönitz <poenitz@gmx.net>
4353 * text.C: new LyXText::dispatch()
4355 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4357 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4359 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4361 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4364 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4366 * Makefile.am: use $(variables) instead of @substitutions@
4368 2002-08-15 André Pönitz <poenitz@gmx.net>
4371 * BufferView_pimpl.C: streamlining mathed <-> outer world
4375 * LyXAction.C: remove unused LFUN_MATH
4377 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4379 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4381 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4383 * paragraph.C (Paragraph): reformat a bit
4384 (cutIntoMinibuffer): use builtin InsetList function instad of
4388 * buffer.C: include boost/bind.hpp, add using std::for_each
4389 (writeFileAscii): use ParagraphList iterators
4390 (validate): use for_each for validate traversal of paragraphs
4391 (getBibkeyList): use ParagraphList iterators
4392 (resizeInsets): use for_each to resizeInsetsLyXText for all
4394 (getParFromID): use ParagraphList iterators
4396 * BufferView2.C (lockInset): use paragraph list and iterators
4398 2002-08-14 John Levon <levon@movementarian.org>
4400 * lyxserver.C: remove spurious xforms include
4402 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4404 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4406 2002-08-13 André Pönitz <poenitz@gmx.net>
4409 * lyxfunc.C: further cleaning
4411 2002-08-13 André Pönitz <poenitz@gmx.net>
4413 * funcrequest.h: new constructor
4415 * funcrequest.C: move stuff here from .h
4418 * BufferView_pimpl.C:
4421 * lyxfunc.C: subsequent changes
4423 * lyxfunc.h: new view() member function
4425 * lyxfunc.C: subsequent changes
4427 2002-08-13 Angus Leeming <leeming@lyx.org>
4430 * BufferView_pimpl.C:
4438 changes due to the changed LyXView interface that now returns references
4439 to member variables not pointers.
4441 2002-08-13 Angus Leeming <leeming@lyx.org>
4443 * WordLangTuple (word, lang_code): return references to strings,
4448 * lyxtext.h: forward-declare WordLangTuple.
4453 * text.C: #include "WordLangTuple.h".
4456 * text.C: (selectNextWordToSpellcheck): constify return type.
4458 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4464 * paragraph_pimpl.h:
4467 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4469 Made updateCounter always count from start of buffer, and removed
4470 second argument (par).
4471 Reverted floats number display to '#'. Perhaps I'll try again when the
4472 code base is sanitized a bit.
4474 2002-08-12 Angus Leeming <leeming@lyx.org>
4476 * buffer.[Ch] (getLabelList): constify.
4478 2002-08-07 André Pönitz <poenitz@gmx.net>
4480 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4482 * funcrequest.h: extension to keep mouse (x,y) position
4484 2002-08-12 Juergen Vigna <jug@sad.it>
4486 * BufferView2.C (insertErrors): forbid undo when inserting error
4489 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4491 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4493 * ParagraphList.[Ch]: new files
4495 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4497 * BufferView2.C (lockInset): ParagraphList changes
4500 * bufferlist.C: ditto
4504 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4506 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4507 unused class variable counter_,
4509 * paragraph.[Ch] (getFirstCounter): delete unused function
4511 * counters.C: include LAssert.h
4512 (reset): add a new function with no arg, change other version to
4513 not have def. arg and to not allow empty arg.
4515 * text2.C (setCounter): remove empty arg from call to Counters::reset
4517 2002-08-11 John Levon <levon@movementarian.org>
4519 * Makefile.am: add WordLangTuple.h
4521 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4523 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4524 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4526 * insets/insettext.C: InsetList changes
4528 * graphics/GraphicsSupport.C (operator()): InsetList changes
4530 * toc.C (getTocList): InsetList changes
4532 * paragraph_pimpl.[Ch]: InsetList changes
4534 * paragraph.[Ch]: InsetList changes
4536 * buffer.C (inset_iterator): InsetList changes
4537 (setParagraph): ditto
4538 * buffer.h (inset_iterator): ditto
4539 * iterators.C (operator++): ditto
4540 * iterators.h: ditto
4542 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4544 * InsetList.[Ch]: new files, most InsetList handling moved out of
4547 * BufferView2.C (removeAutoInsets): InsetList changes
4549 (ChangeInsets): ditto
4551 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4553 * paragraph_pimpl.h (empty): new function
4555 * paragraph.[Ch] (empty): new function
4557 * other files: use the new Paragraph::empty function
4559 2002-08-09 John Levon <levon@movementarian.org>
4561 * lyxtext.h: remove unused refresh_height
4563 2002-08-09 John Levon <levon@movementarian.org>
4570 * paragraph.C: move sgml char escaping out of paragraph
4573 * paragraph.C: remove id setter
4577 * paragraph_pimpl.C: remove dead tex_code_break_column
4579 * bufferview_funcs.C: small cleanup
4581 * lyxfunc.C: remove dead proto
4583 * lyxtext.h: make some stuff private. Remove some dead stuff.
4585 * lyxgluelength.C: make as[LyX]String() readable
4587 2002-08-08 John Levon <levon@movementarian.org>
4592 * ToolbarDefaults.C:
4595 * toc.C: lyxaction cleanup
4597 2002-08-08 John Levon <levon@movementarian.org>
4599 * BufferView2.C: small cleanup
4602 * lyxfind.C: move unnecessary header into the .C
4604 2002-08-08 John Levon <levon@movementarian.org>
4606 * funcrequest.h: just tedious nonsense
4609 * lyx_main.C: cleanups
4612 * vspace.C: remove dead header lyx_main.h
4614 2002-08-07 Angus Leeming <leeming@lyx.org>
4617 * paragraph_pimpl.h:
4618 Forward declare class Counters in paragraph.h by moving the ctrs member
4619 variable into Paragraph::Pimpl.
4620 (counters): new method, returning a reference to pimpl_->ctrs.
4622 * text2.C: ensuing changes.
4624 2002-08-07 John Levon <levon@movementarian.org>
4626 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4628 * BufferView_pimpl.C: announce X selection on double/triple
4631 * lyx_main.C: use correct bool in batch dispatch
4633 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4635 2002-08-07 André Pönitz <poenitz@gmx.net>
4637 * funcrequest.h: new class to wrap a kb_action and its argument
4640 * BufferView_pimpl[Ch]:
4644 * lyxrc.C: subsequent changes
4647 2002-08-07 John Levon <levon@movementarian.org>
4649 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4650 document options change.
4652 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4657 * makefile.am: move counters functionality over from
4658 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4660 2002-08-06 John Levon <levon@movementarian.org>
4662 * WordLangTuple.h: new file for word + language code tuple
4673 * BufferView2.C: use WordLangTuple
4676 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4678 2002-08-06 John Levon <levon@movementarian.org>
4680 * lyx_main.C: fix cmdline batch handling
4682 2002-08-06 André Pönitz <poenitz@gmx.net>
4684 * lyxrc.C: set default for show_banner to true
4686 2002-08-06 John Levon <levon@movementarian.org>
4688 * pspell.C: fix a crash, and allow new aspell to work
4690 2002-08-06 John Levon <levon@movementarian.org>
4693 * kbmap.C: small cleanup
4696 * vspace.C: add const
4698 2002-08-05 John Levon <levon@movementarian.org>
4700 * LyXAction.C: back to tabular-insert
4702 2002-08-04 John Levon <levon@movementarian.org>
4705 * BufferView.C: cosmetic change
4707 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4717 * BufferView2.C: purge all "Lyx" not "LyX" strings
4720 * lyxcursor.C: attempt to add some documentation
4725 * ToolbarDefaults.C:
4726 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4727 merge with LFUN_TABULAR_INSERT
4734 * pspell.C: split up i/pspell implementations into separate
4735 files, many cleanups
4737 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4739 * text2.C: some cleanup
4741 * lyxfunc.C: don't check for isp_command == "none" any more, it
4742 didn't make any sense
4744 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4749 * makefile.am: move counters functionality over
4750 from text2.C/paragraph.[Ch] to counters.[Ch], and
4752 2002-08-02 John Levon <levon@movementarian.org>
4754 * buffer.C: s/lyxconvert/lyx2lyx/
4756 2002-08-02 Angus Leeming <leeming@lyx.org>
4758 * lyxlex.C: revert John's change as it breaks reading of the user
4761 2002-08-02 Angus Leeming <leeming@lyx.org>
4763 * importer.C (Import):
4764 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4765 changes due to LyXView::view() now returning a boost::shared_ptr.
4767 2002-08-02 John Levon <levon@movementarian.org>
4769 * lyxlex.C: small cleanup
4771 2002-08-02 John Levon <levon@movementarian.org>
4773 * text2.C (status): small cleanup, no logic change
4775 2002-08-01 John Levon <levon@movementarian.org>
4778 * buffer.C (writeFile): don't output alerts, caller
4782 * lyx_cb.C: from above
4784 * lyxfunc.C: allow to open non-existent files
4786 2002-07-31 John Levon <levon@movementarian.org>
4788 * lyxserver.C: don't let incidental errors get
4791 2002-07-30 John Levon <levon@movementarian.org>
4793 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4795 2002-07-30 John Levon <levon@movementarian.org>
4798 * lyxserver.C: remove I/O callback too
4800 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4802 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4805 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4807 * many files: strip,frontStrip -> trim,ltrim,rtrim
4809 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4811 * PrinterParams.h: remove extern containsOnly, and include
4812 support/lstrings.h instead.
4814 * LaTeX.C (scanAuxFile): modify because of strip changes
4816 * buffer.C (makeLaTeXFile): ditto
4817 * bufferparams.C (writeFile): ditt
4818 * lyxfont.C (stateText): ditto
4819 * lyxserver.C (read_ready): ditto
4820 * vc-backend.C (scanMaster): ditto
4822 * BufferView_pimpl.h: ws changes
4824 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4826 2002-07-26 André Pönitz <poenitz@gmx.net>
4828 * kb_sequence.C: remove unnedred usings
4830 2002-07-26 Juergen Vigna <jug@sad.it>
4832 * lyxfind.C (LyXReplace): we have to check better if the returned
4833 text is not of theLockingInset()->getLockingInset().
4835 2002-07-25 Juergen Vigna <jug@sad.it>
4837 * lyxfind.C (LyXReplace): don't replace if we don't get the
4840 * undo_funcs.C (createUndo): remove debugging code.
4842 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4844 * buffer.C (parseSingleLyXformat2Token): Use default placement
4845 when reading old floats.
4847 * FloatList.C (FloatList): Change the default placement of figure
4848 and tables to "tbp".
4850 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4852 * MenuBackend.C: using std::max
4854 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4856 * MenuBackend.C (expandToc):
4857 (expandToc2): code moved from xforms menu frontend. It is now
4858 generic and TOCs are transparent to menu frontends.
4860 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4862 * toc.C (getTocList): protect against buf=0
4864 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4865 Menu as first parameter. Now, this calls itself recursively to
4866 expand a whole tree (this will be useful for TOC handling)
4867 (expandFloatInsert): remove 'wide' version of floats
4869 * MenuBackend.h (submenuname): returns the name of the submenu.
4870 (submenu): returns the submenu itself, provided it has been
4871 created by MenuBackend::expand
4873 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4875 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4876 insets which have noFontChange == true. (bug #172)
4878 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4880 * BufferView_pimpl.C: add connection objects and use them...
4883 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4885 * MenuBackend.C (expandLastfiles):
4888 (expandFloatListInsert):
4889 (expandFloatInsert):
4890 (expand): split expand in parts
4892 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4894 * lyx_gui.C: use lyx_gui::exit()
4896 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4898 * LyXAction.C: show the failing pseudo action
4900 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4902 * buffer.C (readFile): Run the lyxconvert script in order to read
4905 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4909 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4911 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4915 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4917 2002-07-22 Herbert Voss <voss@lyx.org>
4920 * lyxlength.[Ch]: add support for the vertical lengths
4922 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4924 * toc.[Ch]: std:: fixes
4926 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4928 * lyxrc.C: do not include lyx_main.h
4930 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4936 * BufferView2.C: include "lyxlex.h"
4939 * bufferparams.h: do not #include "lyxlex.h"
4941 * lyxtextclasslist.C (Add): remove method
4942 (classlist): renamed to classlist_
4944 * paragraph_pimpl.C:
4948 * bufferview_funcs.C:
4953 * toc.C (getTocList): use BufferParams::getLyXTextClass
4955 * toc.C (getTocList): use InsetFloat::addToToc
4957 * toc.[Ch]: new files, containing helper functions to handle table
4960 * lyxfunc.C (dispatch): no need to remove spaces around command
4962 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4963 first command of the sequence; it is not very clever, but I do not
4964 have a better idea, actually
4966 * LyXAction.C (LookupFunc): make sure to remove space at the
4967 beginning and end of the command
4969 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4971 * MenuBackend.C (getMenubar): new method: return the menubar of
4973 (read): treat differently reading of menu and menubar (in
4974 particular, the menubar has no name now)
4975 (Menu::menubar): remove
4977 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4980 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4982 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4983 a bibitem inset in a RTL paragraph.
4985 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4987 * paragraph_pimpl.C: constify
4989 * BufferView_pimpl.C:
4991 * lyxfunc.C: fix dispatch in a nicer way
4993 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4995 * lyxfunc.C (dispatch):
4996 * BufferView_pimpl.C:
4997 * BufferView_pimpl.h:
4999 * BufferView.h: rename Dispatch() to dispatch()
5001 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5003 * lyxlayout.C (Read): honor DependsOn tag
5005 * lyxlayout.[Ch] (depends_on): new method
5007 * version.C.in: update lyx_docversion
5009 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5011 * paragraph.C (validate): remove from here...
5012 * paragraph_pimpl.C (validate): ... and move here
5013 (isTextAt): make it const
5015 * buffer.C (getLists): ws cleanup
5017 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5019 * language.C (read): Use iso8859-1 encoding in latex_lang
5020 (this prevents LyX from crashing when using iso10646-1 encoding).
5022 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5024 * text2.C (toggleInset): if cursor is inside an inset, close the
5025 inset and leave cursor _after_ it
5027 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5029 * lyxfunc.C: move minibuffer completion handling out of here
5031 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5033 * BufferView_pimpl.C:
5034 * LaTeX.C: fix dispatch calls
5036 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5038 * text.C (drawChars): Fix Arabic text rendering.
5040 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5044 * lyxfunc.C: remove message-push/pop
5048 * lyxfunc.C: rationalise some code by removing verboseDispatch
5049 in favour of a bool argument to dispatch()
5051 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5053 * lyx_main.C (init): make sure to read symlinks as absolute paths
5055 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5058 * lyxfunc.C: no need for commandshortcut to be a member
5060 2002-07-15 André Pönitz <poenitz@gmx.net>
5062 * converter.C: add support for $$s (scripts from lib/scripts dir)
5063 * lyx_main.C: white space
5065 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5069 * lyxrc.C: remove second exit confirmation
5071 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5076 * BufferView_pimpl.h:
5077 * BufferView_pimpl.C:
5078 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5080 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5082 * MenuBackend.C (expand): add numeric shortcuts to document menu
5084 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5086 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5088 * lyxfont.C (setLyXFamily):
5095 * buffer.C (asciiParagraph): use ascii_lowercase
5097 2002-07-15 Mike Fabian <mfabian@suse.de>
5099 * lyxlex_pimpl.C (search_kw):
5100 * lyxlex.C (getLongString):
5101 * converter.h (operator<):
5102 * converter.C (operator<):
5103 * buffer.C (parseSingleLyXformat2Token):
5105 * ToolbarDefaults.C (read):
5106 * MenuBackend.C (checkShortcuts):
5108 * LColor.C (getFromGUIName):
5109 (getFromLyXName): use the compare_ascii_no_case instead of
5110 compare_no_case, because in turkish, 'i' is not the lowercase
5111 version of 'I', and thus turkish locale breaks parsing of tags.
5113 2002-07-16 Angus Leeming <leeming@lyx.org>
5115 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5116 now takes a Buffer const & argument.
5118 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5120 * BufferView.C (resize): check there's a buffer to resize
5122 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5124 * lyxfunc.C: remove dead code
5127 * lyxserver.C: use lyx_guii::set_read_callback
5129 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5131 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5132 an inset in a RTL paragraph.
5134 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5136 * lyxfunc.C: repaint after a font size update
5138 2002-07-15 André Pönitz <poenitz@gmx.net>
5140 * lyxlength.C: inBP should be able to return negative values
5142 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5144 * lyxfunc.C: use lyx_gui::update_fonts()
5146 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5148 * lyxfunc.C: use lyx_gui::update_color()
5150 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5156 * lyxrc.C: remove file->new asks for name option, and let
5157 buffer-new take an argument
5159 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5161 * BufferView_pimpl.C: remove unneeded extra repaint()
5163 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5165 * LyXAction.C: allow command-sequence with NoBuffer
5167 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5169 2002-07-10 Angus Leeming <leeming@lyx.org>
5171 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5173 2002-07-09 Angus Leeming <leeming@lyx.org>
5175 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5177 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5179 * lengthcommon.h: whitespace
5181 * lyxfunc.C: update scrollbar after goto paragraph
5183 * lyxtext.h: factor out page break drawing, and fix it so
5184 page break/added space paints as selected nicely
5186 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5188 * BufferView_pimpl.C: add FIXMEs, clean up a little
5190 2002-07-09 André Pönitz <poenitz@gmx.net>
5192 * lyxfont.[Ch]: support for wasy symbols
5194 2002-07-08 André Pönitz <poenitz@gmx.net>
5196 * BufferView_pimpl.C: apply John's patch for #93.
5198 2002-07-05 Angus Leeming <leeming@lyx.org>
5200 * BufferView_pimpl.C (buffer): generate previews if desired.
5202 * LColor.h: add "preview" to the color enum.
5204 * LColor.C (LColor): add a corresponding entry to the items array.
5206 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5209 2002-07-05 Angus Leeming <leeming@lyx.org>
5211 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5212 The body of the code is now in the method that is passed an ostream &
5213 rather than a file name.
5214 Pass an additional only_preamble parameter, useful for the forthcoming
5217 2002-07-03 André Pönitz <poenitz@gmx.net>
5219 * lyxfunc.C: simplify getStatus() a bit for math stuff
5221 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5223 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5225 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5227 * text.C (changeRegionCase): do not change case of all the
5228 document when region ends at paragraph end (bug #461)
5230 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5232 * paragraph.C (startTeXParParams):
5233 (endTeXParParams): add \protect when necessary
5235 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5237 * BufferView_pimpl.C (workAreaExpose): remove warning
5239 2002-06-27 Angus Leeming <leeming@lyx.org>
5241 * Makefile.am: add lyxlayout_ptr_fwd.h.
5243 2002-06-26 André Pönitz <poenitz@gmx.net>
5245 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5247 2002-06-25 Angus Leeming <leeming@lyx.org>
5249 * lyxfunc.C (dispatch): Comment out the call to
5250 grfx::GCache::changeDisplay. The method no longer exists now that the
5251 pixmap generation part of the graphics loader has been moved into
5254 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5256 * text2.C: layout as layout
5258 * text.C: layout as layout
5260 * tabular.C (OldFormatRead): layout as layout
5262 * paragraph_pimpl.C (TeXDeeper): layout as layout
5263 (realizeFont): layout as layout
5265 * paragraph.C (writeFile): layout as layout
5266 (validate): layout as layout
5267 (getFont): layout as layout
5268 (getLabelFont): layout as layout
5269 (getLayoutFont): layout as layout
5270 (breakParagraph): layout as layout
5271 (stripLeadingSpaces): layout as layout
5272 (getEndLabel): layout as layout
5273 (getMaxDepthAfter): layout as layout
5274 (applyLayout): layout as layout
5275 (TeXOnePar): layout as layout
5276 (simpleTeXOnePar): layout as layout
5277 (TeXEnvironment): layout as layout
5278 (layout): layout as layout
5279 (layout): layout as layout
5281 * lyxtextclass.C (compare_name): new functor to work with
5282 shared_ptr, layout as layout
5283 (Read): layout as layout
5284 (hasLayout): layout as layout
5285 (operator): layout as layout
5286 (delete_layout): layout as layout
5287 (defaultLayout): layout as layout
5289 * lyxlayout_ptr_fwd.h: new file
5291 * lyxlayout.C (Read): layout as layout
5293 * lyx_cb.C (MenuInsertLabel): layout as layout
5295 * bufferlist.C (newFile): layout as layout
5297 * buffer.C (readLyXformat2): layout as layout
5298 (parseSingleLyXformat2Token): layout as layout
5299 (insertStringAsLines): layout as layout
5300 (asciiParagraph): layout as layout
5301 (latexParagraphs): layout as layout
5302 (makeLinuxDocFile): layout as layout
5303 (simpleLinuxDocOnePar): layout as layout
5304 (makeDocBookFile): layout as layout
5305 (simpleDocBookOnePar): layout as layout
5306 (getLists): layout as layout
5308 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5310 * CutAndPaste.C (cutSelection): layout as layout
5311 (pasteSelection): layout as layout
5312 (SwitchLayoutsBetweenClasses): layout as layout
5314 * BufferView_pimpl.C (Dispatch): layout as layout
5315 (smartQuote): layout as layout
5317 * BufferView2.C (unlockInset): layout as layout
5319 2002-06-24 André Pönitz <poenitz@gmx.net>
5321 * lyxfunc.C: fix #487
5323 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5327 * lyxfunc.C: remove display_shortcuts, show_banner
5329 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5331 * Buffer_pimpl.C: oops, update on resize
5333 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5340 * BufferView.C: use repaint()
5342 * BufferView_pimpl.h:
5343 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5344 as it's a clearer description. Remove superfluous
5347 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5349 * text.C: fix bug 488. Not ideal, but getting
5350 getWord() to work properly for the insets that
5351 matter is more difficult ...
5353 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5355 * BufferView_pimpl.C:
5358 * lyxfunc.C: remove the six million index lyxfuncs to just
5359 one, and DTRT (bug 458)
5361 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5365 * BufferView_pimpl.h:
5366 * BufferView_pimpl.C: clean up resize() stuff,
5367 and unnecessary updateScreen()s
5369 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5373 * BufferView_pimpl.h:
5374 * BufferView_pimpl.C:
5377 * minibuffer.C: remove focus management of workarea,
5378 not needed. Use screen's greyOut()
5380 2002-06-17 Herbert Voss <voss@lyx.org>
5382 * converter.C: (convert) do not post a message, when converting
5383 fails, let the calling function decide what to do in this case
5385 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5387 * lyxfunc.C: tidy up a little
5389 2002-06-16 <alstrup@diku.dk>
5391 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5392 Got rid of FORMS_H_LOCATION include. Now we are
5395 2002-06-15 LyX Development team <lyx@rilke>
5397 * buffer.[Ch] (sgmlOpenTag):
5398 (sgmlCloseTag): Added support for avoiding pernicious mixed
5399 content. Return number of lines written.
5402 (makeDocBookFile): Fixed calls to sgml*Tag.
5403 Simple white space clean.
5405 (simpleDocBookOnePar): Simple white space clean.
5407 * tabular.[Ch] (docBook): Renamed to docbook and got another
5408 argument to related with the pernicious mixed content.
5410 (docbookRow): Fixed calls for docbook inset method.
5412 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5414 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5415 so it's X11 independent.
5419 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5421 2002-06-15 Lyx Development team <lyx@electronia>
5423 * intl.h: Renamed getTrans to getTransManager.
5425 2002-06-14 Angus Leeming <leeming@lyx.org>
5427 * Makefile.am: nuke forgotten stl_string_fwd.h.
5429 2002-06-12 Angus Leeming <leeming@lyx.org>
5431 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5433 2002-06-13 Angus Leeming <leeming@lyx.org>
5436 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5438 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5440 * kbmap.C (getiso): add support for cyrillic and greek
5442 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5446 * BufferView_pimpl.h:
5447 * BufferView_pimpl.C: move bogus scrolling logic
5450 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5453 * BufferView_pimpl.C: view->resize() change
5455 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5457 * BufferView_pimpl.C: topCursorVisible
5460 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5464 * lyx_gui.C: move to frontends/
5468 * lyx_main.C: changes from above
5470 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5477 * lyx_main.C: minor tidy
5479 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5481 * BufferView_pimpl.h:
5482 * BufferView_pimpl.C:
5484 * BufferView.C: make painter() const,
5487 * BufferView2.C: use screen() accessor
5490 * lyx_main.C: some minor cleanup
5492 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5494 * BufferView_pimpl.h:
5495 * BufferView_pimpl.C: remove enter/leaveView,
5498 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5503 * BufferView_pimpl.h:
5504 * BufferView_pimpl.C: only construct screen once,
5507 * lyxrc.C: remove pointless comment
5509 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5512 * BufferView.C: remove active() and belowMouse()
5514 * BufferView_pimpl.h:
5515 * BufferView_pimpl.C: use workarea() not workarea_,
5516 and make it use a scoped_ptr instead
5518 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5520 * lyx_gui.C: add debug message on BadWindow
5522 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5524 * sp_spell.C: fdopen is not part of the C++ standard.
5526 * paragraph.C (InsetIterator): use >= instead of ==
5528 2002-06-07 Angus Leeming <leeming@lyx.org>
5530 Fixes needed to compile with Compaq cxx 6.5.
5531 * BufferView_pimpl.C:
5538 * lyxtextclasslist.C:
5543 all c-library variables have been moved into namespace std. Wrap
5544 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5549 Add a using std::abs declaration.
5551 * kbmap.h (modifier_pair):
5552 * paragraph.h (InsetTable, InsetList):
5553 * lyxfont.h (FontBits):
5554 type definition made public.
5556 * bufferlist.C (emergencyWriteAll): the compiler complains that
5557 there is more than one possible lyx::class_fun template to choose from.
5558 I re-named the void specialisation as lyx::void_class_fun.
5560 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5562 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5563 the compiler is is unable to find tostr in write_attribute.
5565 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5567 * buffer.C (sgmlError): hide #warning
5569 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5571 * xtl/*: get rid of xtl, which is not in use anyway
5573 * LyXAction.C (init):
5574 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5575 were unimplemented xtl experimentation
5577 2002-06-04 André Pönitz <poenitz@gmx.net>
5579 * lyxfunc.C: disable array operation on simple formulae
5581 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5583 * converter.C: constify a bit
5585 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5587 * lyx_gui.C: check xforms version correctly
5589 2002-04-30 Herbert Voss <voss@lyx.org>
5591 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5594 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5596 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5597 attempt to register it with a VCS)
5599 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5601 * lyx_main.C (init): honor variables LYX_DIR_13x and
5604 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5608 * lyx_main.C: fix a crash on bad command line,
5609 and give a useful exit status on error
5611 * lyxfunc.C (doImport): allow -i lyx to work
5613 2002-03-30 André Pönitz <poenitz@gmx.net>
5615 * lyxfunc.C: mathed font changes
5617 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5632 * trans_mgr.h: srcdocs, and some minor cleanups
5634 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5636 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5637 call getFont all the time)
5639 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5641 * switch from SigC signals to boost::signals
5643 2002-05-29 André Pönitz <poenitz@gmx.net>
5645 * paragraph_pimpl.C (getChar): don't call size() too often...
5647 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5649 * paragraph_pimpl.C (insertChar): do not try to update tables when
5650 appending (pos == size())
5652 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5653 in order to reduce drastically the number of comparisons needed to
5654 parse a large document
5656 2002-05-29 André Pönitz <poenitz@gmx.net>
5662 * textclasslist.[Ch]:
5663 * sp_ispell.h: whitespace change
5665 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5667 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5668 lyxaction directly now.
5670 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5674 * lyxvc.C: remove unused headers
5676 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5683 * undo_funcs.C: some cleanups. Use shared_ptr
5684 and a template for the undo stacks.
5686 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5688 * BufferView_pimpl.h:
5689 * BufferView_pimpl.C:
5696 * text2.C: use key_state/mouse_state
5698 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5700 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5703 * chset.C: change include order
5704 (loadFile): use boost regex and get rid of LRegex and LSubstring
5706 * Makefile.am (BOOST_LIBS): new variable
5709 * LaTeX.C: change include order.
5710 (scanAuxFile): use boost regex and get rid of LRegex and
5714 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5719 * FontInfo.C: moved to frontends/xforms/
5722 * FontLoader.C: moved into frontends for GUIIzation
5727 * lyxfunc.C: changes from above
5729 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5731 * LColor.C: remove spurious X include
5733 * BufferView_pimpl.C:
5738 * text2.C: move font metrics to frontends/
5740 2002-05-24 Juergen Vigna <jug@sad.it>
5742 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5743 setting the undo_cursor.
5745 * ParagraphParameters.h: include local includes first.
5747 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5749 * BufferView_pimpl.C:
5750 * BufferView_pimpl.h:
5754 * screen.C: move WorkArea into frontends/
5760 * BufferView2.C: move LyXScreen into frontends/
5764 * lyx_gui.C: move lyxlookup into frontends/xforms/
5766 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5769 * BufferView_pimpl.C:
5779 * bufferview_funcs.C:
5792 * vc-backend.C: move LyX/XFormsView into frontends/
5794 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5806 * text2.C: move Painter to frontends/
5808 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5810 * buffer.C: comment out some some code that depend upon lyx_format
5813 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5814 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5816 * buffer.h (NO_COMPABILITY): turn off compability
5818 * ColorHandler.C: include scoped_array.hpp
5820 * font.C: Use more specific smart_ptr header.
5823 * ShareContainer.h: ditto
5827 * BufferView_pimpl.h: ditto
5828 * ColorHandler.h: ditto
5830 * kbmap.C (defkey): change call to shared_ptr::reset
5832 2002-05-21 Juergen Vigna <jug@sad.it>
5834 * buffer.C (insertErtContents): fix to insert ert asis if it is
5835 non empty. Skip it completely if it contains only whitespaces.
5837 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5839 * BufferView_pimpl.C:
5840 * BufferView2.C: clear selection on paste (bug 393)
5842 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5844 * DepTable.C: include ctime
5846 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5848 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5850 2002-05-14 Juergen Vigna <jug@sad.it>
5852 * text.C (breakParagraph): fixed function to honor the keepempty
5853 layout in the right maner and also to permit the right breaking
5854 algorithm on empty or non empyt keepempty paragraphs.
5856 * paragraph.C (breakParagraph): we have to check also if the par
5857 is really empty (!size()) for isempty otherwise we do the wrong
5860 2002-05-10 Juergen Vigna <jug@sad.it>
5862 * buffer.[Ch] : The following are only changes to the ert
5863 compatibility read reading old LaTeX layout and font stuff and
5864 convert it to ERTInsets.
5866 * buffer.h: added isErtInset().
5868 * buffer.C (struct ErtComp): add a fromlayout bool to check
5869 if we're inside a LaTeX layout.
5870 (isErtInset): new helper function.
5871 (insertErtContents): look for other ert insets before this one
5872 and insert the contents there, so that we don't have subsequent
5873 ERT insets with nothing between them. This way we create only one
5874 inset with multiple paragraphs. Also check if we don't insert only
5875 spaces ' ' as they are ignored anyway afterwards in the .tex file
5876 so if we have only spaces we will ignore this latex part in the
5878 (parseSingleLyXformat2Token \\layout): better compatibility when
5879 reading layout-latex stuff.
5880 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5882 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5883 stuff after reading the inset only get the information back from
5886 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5888 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5890 * LaTeXFeatures.C (getBabelOptions): New method.
5892 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5894 * BufferView_pimpl.C (Dispatch): work around missing argument for
5897 2002-05-08 Juergen Vigna <jug@sad.it>
5899 * text.C (leftMargin): handle paragraph leftindent.
5901 * paragraph.C (writeFile): write the new \\leftindent tag.
5902 (validate): handle leftindent code.
5903 (TeXEnvironment): handle paragraphleftindent code again.
5905 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5907 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5908 for paragrap_extra indent code and new token \\leftindent.
5909 (latexParagraphs): handle the leftindent as environment.
5911 * ParameterStruct.h: added leftindent support.
5913 * ParagraphParameters.C (leftIndent): added support functions for
5914 the paragraph left indent.
5916 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5919 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5921 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5924 * text.C (computeBidiTables): No bidi in insetERT.
5926 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5929 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5931 * version.C.in: pre 5
5933 2002-05-02 José Matos <jamatos@fep.up.pt>
5934 * buffer.C (makeDocBookFile): white space changes, add newline to
5936 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5938 * tabular.C (docBook): fix typo.
5940 2002-05-03 Juergen Vigna <jug@sad.it>
5942 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5943 change in LyXText as we can not be sure it was not freed.
5944 (drawOneRow): remove unused code.
5946 * text.C (drawInset): redo the calculation of the need_break_row as
5947 it could have a row which was already freed.
5948 (draw): look at the return value of drawInset and return false if
5949 it also returned false.
5950 (paintRowText): look at the return value of draw and return false if
5951 it also returned false.
5953 * lyxtext.h: added bool return type to drawInset() and draw() so that
5954 if we have a change in the row so that the rowbreak has to be redone
5955 we abort drawing as it will be called again.
5957 2002-05-02 Juergen Vigna <jug@sad.it>
5959 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5960 a change in the maintext also if we're inside an inset.
5961 (Dispatch): set the cursor again after a break line and after the
5962 screen has been updated as it could be we're in a different row.
5964 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5965 to set the cursor behind the pargraph with > size().
5966 (setCursor): check also for the same paragraph when checking where
5967 to put the cursor if we have a NFR inset.
5969 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5970 parts of layout read further up as it still was in the wrong
5973 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5975 * screen.C (drawFromTo): change sine fullRebreak always return
5978 * buffer.C (parseSingleLyXformat2Token): reindent some
5980 * BufferView_pimpl.C (update): change since fullRebreak always
5982 (Dispatch): git rid of the last hardcoded "Standard"s.
5984 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5986 * text2.[Ch] (fullRebreak): make it return void now that we always
5989 2002-04-30 Juergen Vigna <jug@sad.it>
5991 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5992 ert compatibility check for "latex" layout.
5994 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5996 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5997 minipages: use col% instead of p%, and also use the current font.
5998 (makeLaTeXFile): Fix use babel condition.
5999 (parseSingleLyXformat2Token): Correct font when reading old floats.
6001 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6003 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6004 inserting list of floats.
6006 2002-04-25 Herbert Voss <voss@lyx.org>
6008 * MenuBackend.C (expand): don't add the graphics extensions to the
6011 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6013 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6014 non-existing layout, do not complain if it was the default layout
6015 of the original class (bug #342)
6017 2002-04-24 Juergen Vigna <jug@sad.it>
6019 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6020 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6022 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6024 * buffer.C (getBibkeyList): If using \bibliography, return the
6025 option field with the reference itself. Enables us to provide natbib
6026 support when using \bibliography.
6028 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6030 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6032 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6033 natbib is provided by the LaTeX class.
6035 2002-04-23 Juergen Vigna <jug@sad.it>
6037 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6040 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6042 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6044 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6046 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6047 ensuremath around textordmasculine, textordfeminine and
6050 2002-04-19 Juergen Vigna <jug@sad.it>
6052 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6053 reinitializing the buffer otherwise row-dimensions may be wrong.
6054 (update): reset also the selection cursors if they do exits otherwise
6055 their x/y positions may be wrong.
6057 * text2.C (cursorDown): don't enter the inset if we came from a row
6058 above and are one row over the inset.
6060 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6061 really leaving an inset.
6063 2002-04-18 Juergen Vigna <jug@sad.it>
6065 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6066 of the selected paragraph does not have the selected layout also if
6069 * text2.C (setLayout): fixed bug which did not change last selected
6072 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6073 changed the read and substituted \\end_float with \\end_inset!
6075 * BufferView_pimpl.C (cursorPrevious):
6076 (cursorNext): fixed to make it work with rows heigher than the work
6077 area without moving the cursor only the draw of the row.
6078 (workAreaMotionNotify): fix jumping over high rows.
6080 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6082 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6085 2002-04-16 Juergen Vigna <jug@sad.it>
6087 * text2.C (setCursor): set also the irow().
6088 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6090 (cursorDown): support for locking an inset if the x_fix value goes
6091 inside it. That way I can transverse insets too with cursor up/down.
6093 * lyxrow.h: added irow helper function same as other (i) functions.
6095 * BufferView_pimpl.C (cursorPrevious):
6096 (cursorNext): fixed for insets!
6098 2002-04-15 Juergen Vigna <jug@sad.it>
6100 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6101 position otherwise it is wrong in some cases.
6103 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6104 inside the inset before the call.
6106 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6108 * buffer.[Ch] (getBibkeyList): make it const.
6110 2002-04-12 Juergen Vigna <jug@sad.it>
6112 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6114 * text2.C (getCursorX): new helper function
6115 (setCursor): compute also ix_
6116 (setCursorFromCoordinates): set also ix.
6118 * lyxcursor.h: added ix_ and helper functions.
6120 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6122 * buffer.C (insertStringAsLines): dont break paragraph if the this
6123 paragraph is inside an inset which does not permit it!
6125 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6126 also with no chars on this paragraph.
6127 (paintRowText): only paint stuff if it's inside the workarea!
6129 * paragraph.C (breakParagraph): honor keepempty flag and break the
6130 paragraph always below not above.
6132 * BufferView2.C (unlockInset): update the paragraph layout on inset
6133 unlock as we changed paragraph in such a case.
6135 * lyxfind.C (LyXFind): clear the former selection if not found!
6137 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6138 again called in insertChar().
6140 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6141 an inset which uses the whole row!
6142 (rightMargin): ditto.
6143 (insertChar): force a rebreak if we inserted an inset!
6145 2002-03-28 Herbert Voss <voss@lyx.org>
6147 * lyxlength.[Ch]: add inBP() to get the right PS-point
6148 units (BigPoint). With inPixels we have rounding errors
6150 2002-04-11 Juergen Vigna <jug@sad.it>
6152 * text2.C (setCursorFromCoordinates): set iy to the right value.
6153 (setCursor): add check if row->previous exists!
6155 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6156 an old float_type as this was the case in the old code!
6158 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6160 * BufferView2.C (showLockedInsetCursor): use iy
6161 (fitLockedInsetCursor): ditto
6163 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6164 locked insets as there we have the right value now.
6166 * lyxcursor.C: added iy_ variable and iy functions to set to the
6167 baseline of cursor-y of the locked inset.
6169 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6170 (setCursor): fixed for insets which need a full row.
6172 * text.C (rowLastPrintable): don't ignore the last space when before
6173 an inset which needs a full row.
6174 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6175 as last character of a row when before a inset which needs a full row.
6177 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6179 * version.C.in: update date
6181 * text2.C (fullRebreak): try to always return true and see what
6184 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6186 * MenuBackend.C (expand): use Floating::listName
6188 * FloatList.C (FloatList): add listName argument to the built-in
6191 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6192 text associated with the float.
6194 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6196 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6198 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6200 * ShareContainer.h: add a couple of missing typenames.
6202 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6204 * lyxrc.C (getDescription): use _() correctly rather than N_().
6206 2002-03-28 Herbert Voss <voss@lyx.org>
6208 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6209 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6211 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6213 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6214 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6216 2002-03-29 Juergen Vigna <jug@sad.it>
6218 * lyxfunc.C (dispatch): add a missing fitCursor call.
6220 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6221 it was scrolled by a cursor move, so return the bool status.
6223 * BufferView.C (fitCursor): return the bool flag also to the outside
6224 world as this is needed.
6226 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6228 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6229 call the edit() as it is not needed (and wrong) IMO.
6230 (workAreaButtonPress): set the screen_first variable before evt.
6231 unlock the inset as this may change screen_first and then we have
6232 a wrong y position for the click!
6234 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6236 * MenuBackend.C (expand): another translation that I missed
6238 2002-03-28 Juergen Vigna <jug@sad.it>
6240 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6242 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6244 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6246 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6248 * MenuBackend.C (expand): fix export/view/update when there is no
6251 2002-03-27 Herbert Voss <voss@lyx.org>
6253 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6256 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6258 * bufferview_funcs.C (currentState): only show paragraph number
6259 for is DEVEL_VERSION is set.
6261 * lyxfunc.C (dispatch): put warning in INFO channel
6263 * MenuBackend.C (expand): translate the name of floats
6265 * FloatList.C (FloatList): mark the float names for translation
6267 * converter.C (convert): use LibScriptSearch
6269 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6271 * MenuBackend.C (defaults): fix default menu (we might as well get
6274 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6276 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6279 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6281 * lyxvc.C: reorder includes.
6283 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6285 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6288 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6290 * CutAndPaste.C: change layouts earlier on paste
6291 to avoid crashing when calling getFont()
6293 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6295 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6298 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6300 * WorkArea.C: remove 'Pending' debug message.
6302 * most files: ws cleanup
6304 * buffer.[Ch]: ws changes
6306 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6308 2002-03-21 Juergen Vigna <jug@sad.it>
6310 * tabular.C (SetMultiColumn): collapse also the contents of the
6311 cells and set the last border right. Added a Buffer const * param.
6313 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6315 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6318 2002-03-19 Juergen Vigna <jug@sad.it>
6320 * text2.C (clearSelection): reset also xsel_cache.
6322 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6323 where it needs to be called (John tells us to do so too :)
6324 (selectionLost): reset sel_cache.
6326 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6328 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6330 * text2.C (setCursorIntern): put debuging code in INSETS channel
6332 2002-03-19 André Pönitz <poenitz@gmx.net>
6334 * lyxfunc.C: tiny whitespace change
6336 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6338 * ToolbarDefaults.C (init):
6339 * LyXAction.C (init):
6341 * BufferView_pimpl.C (Dispatch):
6342 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6344 2002-03-19 Allan Rae <rae@lyx.org>
6346 * exporter.C (Export): removeAutoInsets before doing anything else.
6347 While I've just introduced a dependency on BufferView this really is
6348 the best place to clean the buffer otherwise you need to cleanup in
6349 a dozen places before calling export or cleanup in a dozen functions
6352 * converter.C (runLaTeX):
6353 (scanLog): Better handling of removeAutoInsets and screen updates.
6355 * lyxfunc.C (dispatch): small whitespace changes
6357 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6359 * WorkArea.C (C_WorkAreaEvent): return a value.
6360 (event_cb): return 1 if we handled the event, 0 otherwise.
6362 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6364 2002-03-18 Juergen Vigna <jug@sad.it>
6366 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6367 (GetAdditionalWidth): ditto.
6371 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6372 inset if we're there actually (probably not used right now but this
6373 is the direction to go for unifying code).
6374 (paste): disable code to clear the selection.
6376 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6377 inside an InsetText and move the check further up as it is in the
6380 * text2.C (pasteSelection): set a selection over the pasted text.
6382 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6384 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6385 and libgraphics to build on Cygwin.
6387 2002-03-15 Juergen Vigna <jug@sad.it>
6389 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6390 inserting an Inset into the paragraph. I know this is not the best
6391 fix but we already use current_view in CutAndPaste so we will remove
6392 all of it's using at the same time.
6394 * buffer.C (sgmlError): deactivated function till it is rewritten in
6395 the right mode, now it can create problems.
6397 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6398 before accessing it.
6400 2002-03-14 Juergen Vigna <jug@sad.it>
6402 * undo_funcs.C (textHandleUndo): do the right thing when updating
6403 the inset after the undo/redo.
6405 * text2.C (setCursor): just some testcode for #44 not ready yet.
6407 * undo_funcs.C (textHandleUndo): set the next() and previous()
6408 pointers of the paragraph to 0 before deleting otherwise we have
6409 problems with the Paragraph::[destructor].
6411 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6412 on a paragraph insertion.
6414 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6416 * buffer.C (asciiParagraph): use += operator for char append to
6419 * paragraph.C (getFontSettings): compare >= not just >
6420 (highestFontInRange): ditto
6423 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6425 * paragraph.C: change several algorithm to be more appripriate for
6426 the problem domain. This is lookip in FontList and in the InsetList.
6428 2002-03-13 André Pönitz <poenitz@gmx.net>
6431 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6433 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6438 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6440 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6442 * Painter.C (display): anon helper function, adjust code for this
6444 (pixmap): remove function.
6446 * Painter.h: remove private display variable.
6448 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6450 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6452 * WorkArea.[Ch]: remove figinset_canvas cruft.
6454 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6456 * lyxtextclass.C (operator): add one item cache optimization.
6458 * bufferlist.h: doxy changes
6460 * bufferlist.C: ws changes
6462 * DepTable.[Ch] (ext_exist): place const in the right spot.
6464 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6466 (workAreaExpose): call resizeInsets when the with BufferView changes.
6467 (Dispatch): adjust for protectedBlank removal
6468 (specialChar): call updateInset if the insert went ok.
6470 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6471 specialChar instead.
6473 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6475 * BufferView.h: doxy change
6477 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6479 * lyxtextclass.C (operator[]): remove non-const version
6480 (defaultLayout): remove non-const version
6482 2002-03-12 Juergen Vigna <jug@sad.it>
6484 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6485 did resize the LyXText too.
6487 * buffer.C (readLyXformat2): set layout information on newly allocated
6490 * tabular.C (OldFormatRead): set layout information on the paragraph.
6492 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6494 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6496 2002-03-11 Juergen Vigna <jug@sad.it>
6498 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6500 (resizeCurrentBuffer): force also the insets to resize themselfes.
6501 (moveCursorUpdate): fixed up for InsetText.
6503 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6506 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6507 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6508 value of Dialogs::tooltipsEnabled().
6509 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6511 2002-03-08 Juergen Vigna <jug@sad.it>
6513 * BufferView_pimpl.C (updateInset): update inset inside inset also
6514 if it isn't inside theLockingInset().
6516 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6518 * buffer.C (asciiParagraph): redo some of the word and line length
6520 (getLists): look for Caption instead of caption.
6522 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6524 * buffer.C (Buffer): initialize niceFile to true
6527 (makeDocBookFile): make sure niceFile is true on exit
6529 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6531 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6533 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6535 * LyXSendto.C: remove.
6536 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6537 * lyx_gui.C: remove now-redundant comment.
6538 * ColorHandler.h: remove forward declaration of class WorkArea.
6539 * lyxfunc.C: remove #include "WorkArea.h".
6541 2002-03-07 Juergen Vigna <jug@sad.it>
6543 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6544 got moved away with the DEPM and also set the inset_owner always
6545 right which before could have been omitted.
6547 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6549 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6550 wanted layout is not found.
6552 2002-03-07 Juergen Vigna <jug@sad.it>
6554 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6556 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6558 * paragraph.C (breakParagraph): use default layout not layout of
6560 (Paragraph): clear ParagraphParameters.
6562 2002-03-06 Juergen Vigna <jug@sad.it>
6564 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6565 otherwise it would not be a valid lenght. Fixed a special case in
6566 the minipage compatibility read where we end the document with a
6569 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6570 was set as it could be 0 for InsetTexts first entry.
6572 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6574 * paragraph.C (writeFile): if layout is empty write out
6575 defaultLayoutName().
6577 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6578 file without named layout we set layout to defaultLayoutName().
6580 2002-03-06 Juergen Vigna <jug@sad.it>
6582 * CutAndPaste.C (copySelection): set layout for new paragraph.
6584 * text.C (prepareToPrint): leave ERT inset left aligned
6585 (leftMargin): don't indent paragraphs inside ERT insets
6587 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6589 * paragraph.C (breakParagraph): dont call clear do the work manually
6591 * paragraph.[Ch] (clear): remove function
6593 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6595 * paragraph.C (Paragraph): dont call clear, the work has already
6598 * lyxtextclass.C (operator): assert if n is empty
6600 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6601 work manually instead.
6603 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6605 * BufferView_pimpl.C: protect selectionLost against text == 0
6607 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6609 * text.C (breakParagraph): fix a setting layout to '0' problem.
6611 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6613 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6614 final location of file, for the included files, and graphics.
6616 2002-03-05 Juergen Vigna <jug@sad.it>
6618 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6620 2002-03-04 Juergen Vigna <jug@sad.it>
6622 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6624 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6625 last column of multicolumn cells.
6626 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6628 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6630 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6631 file if it doesn't go to a temporary file.
6633 * buffer.C (sgmlOpenTag):
6634 (sgmlCloseTag): remove extra newline insertion.
6636 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6638 * text.C (getRowNearY): comment out debug msg
6640 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6642 * text2.C: first -> first_y
6644 * text.C (getRowNearY): add some attemts at a possible
6645 optimization, not working.
6647 * tabular.[Ch]: add BufferParams to several function so that newly
6648 created paragraph can be initialized to he default layotu for the
6651 * tabular-old.C (ReadOld): add buf->params to call of Init
6653 * screen.C: rename text->first to text->first_y
6655 * paragraph.C (breakParagraph): always set layout in the broken
6658 * lyxtextclass.C (Read): remove lowercase
6661 (delete_layout): ditto
6663 * lyxtext.h: rename first -> first_y
6665 * lyxlayout.C (Read): remove lowercase
6668 (obsoleted_by): ditto
6670 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6672 * buffer.C (insertErtContents): add params are to InsetERT
6673 (parseSingleLyXformat2Token): add code to check if a paragraphs
6674 layout really exist.
6675 (parseSingleLyXformat2Token): add params to several inset
6677 (asciiParagraph): remove lowercase, do the layout comparisons with
6680 * BufferView_pimpl.C (cursorNext): first -> first_y
6681 (resizeCurrentBuffer): first -> first_y
6682 (updateScrollbar): first -> first_y
6683 (scrollCB): first -> first_y
6684 (workAreaMotionNotify): first -> first_y
6685 (workAreaButtonPress): first -> first_y
6686 (checkInsetHit): first -> first_y
6687 (cursorPrevious): first -> first_y
6688 (cursorNext): first -> first_y
6689 (Dispatch): add buffer_->params to severl inset contructors
6691 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6693 * lyxlayout.C (Read): remove some debug info that I forgot.
6695 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6696 clean up the code slightly.
6697 (makeLinuxDocFile): ditto
6698 (makeDocBookFile): ditto
6700 * text2.C: layout as string
6702 * text.C: layout as string
6704 * paragraph_pimpl.C: layout as string
6706 * paragraph.[Ch]: layout as string
6708 * lyxtextclasslist.[Ch]: layout as string
6710 * lyxtextclass.[Ch]: layout as string
6712 * lyxtext.h: layout as string
6714 * lyxlayout.[Ch]: layout as string
6716 * lyx_cb.C: layout as string
6718 * bufferview_funcs.C: layout as string
6720 * bufferparams.C: layout as string
6722 * buffer.C: layout as string
6724 * LyXView.[Ch]: layout as string
6726 * LaTeXFeatures.[Ch]: layout as string
6728 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6730 * BufferView_pimpl.C: change current_layout to string, remove
6735 (workAreaButtonRelease): layout as string
6737 * BufferView2.C (unlockInset): adjust
6739 * vspace.C (asLatexCommand): use an explict temp variable.
6741 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6743 * Makefile.am: use FRONTEND_*
6745 2002-03-01 Juergen Vigna <jug@sad.it>
6747 * tabular.C (SetWidthOfMulticolCell): changed to something better
6748 I hope but still work in progress.
6749 (recalculateMulticolumnsOfColumn): renamed function from
6750 recalculateMulticolCells as it is more appropriate now.
6751 (SetWidthOfCell): calculate multicols better.
6753 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6755 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6757 * lyxfunc.C (processKeySym): print sequence also if it is
6758 `deleted' (complete)
6760 * kbsequence.C (print): print sequence even if it is deleted
6761 (complete would be a better word, actually).
6763 * lyxfunc.C (dispatch): print complete options after a prefix key
6765 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6767 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6769 * text2.C (setCharFont): eliminate setCharFont code duplication.
6771 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6773 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6774 LFUN_TABULAR_FEATURE (bug #177)
6776 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6778 * Makefile.am: remove figure.h
6780 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6782 * Bufferview_pimpl.C:
6794 * text2.C: remove #include "lyx_gui_misc.h".
6796 * LaTeX.C: added #include <cstdio>
6798 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6800 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6801 that the paragraph following this one can have.
6803 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6805 * vspace.C (asLatexCommand): fix bogus gcc warning
6807 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6809 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6811 * text2.C (setLayout): get rid of redundant code
6813 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6815 * text2.C (incDepth): make sure depth cannot be increased beyond
6818 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6820 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6821 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6823 * PainterBase.h (image):
6824 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6827 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6831 * BufferView_pimpl.C:
6832 * BufferView_pimpl.h:
6852 * sp_spell.C: remove fig inset, and the crap house of
6853 cards that follows it
6855 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6861 * nt_defines.h: move .h into support/
6863 * vms_defines.h: remove
6865 * WorkArea.C: add space in debug output
6869 * buffer.C: add WITH_WARNINGS
6873 * bufferlist.C: s/retrive/retrieve/, add docs
6884 * lyxgui.C: add ID to X error handler
6886 * lyxtestclass.c: fix typo
6888 2002-02-26 Juergen Vigna <jug@sad.it>
6890 * tabular_funcs.C (write_attribute): changed so that some default
6891 attributes are not written at all.
6892 (getTokenValue): set default values before trying to read the
6893 value so we have the return value always set as default if we don't
6894 find the token we search for.
6896 * tabular.C (Write): write bools as bools not as strings!
6898 2002-02-22 Juergen Vigna <jug@sad.it>
6900 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6901 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6903 * text.C (leftMargin): don't add an indent for paragraphs inside
6904 tabular cells (fix #208).
6906 2002-02-21 José Matos <jamatos@fep.up.pt>
6908 * tabular.C (docBook): fixed support for long tables.
6910 2002-02-20 Juergen Vigna <jug@sad.it>
6912 * text2.C (getFont): get the drawing font of the Inset if this
6913 paragraph is inside an inset (only important for InsetERT for now).
6915 * buffer.C (insertErtContents): use new lanugage params in ERT
6918 * CutAndPaste.C: commenting out seemingly uneeded code.
6920 2002-02-19 Allan Rae <rae@lyx.org>
6922 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6923 Iterators might be simple to use but they also get invalidated.
6924 (removeAutoInsets): renamed saved cursor tracking variables and added
6925 some comments to clarify what everything does.
6927 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6934 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6935 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6938 * vc-backend.h: remove #include "support/syscall.h"
6942 * converter.C: rearrange #includes in Lars' approved fashion.
6944 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6945 forward declare class Timeout in the header file.
6947 * XFormsView.C: changes due to the above.
6949 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6952 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6953 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6955 2002-02-18 José Matos <jamatos@fep.up.pt>
6957 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6960 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6962 * a lot of small ws changes
6963 * add a lot of using std::XXX
6964 * use std construcs some places where approp.
6965 * use some exisint stuff from lyxfunctional where approp.
6966 * Make file changes to use partial linking (lets test this now...)
6968 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6972 remove #include "support/syscontr.h" as it's redundant. Always has been.
6980 change Systemcalls::System to Systemcalls::Wait and
6981 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6982 No change of functionality, just reflects the stripped down Systemcalls
6985 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6987 * debug.[Ch]: add a GRAPHICS type to the enum.
6989 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6991 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6993 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6996 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6998 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6999 match the changes below.
7001 * text2.C (toggleInset): if there is not editable inset at cursor
7002 position, try to see if cursor is _inside_ a collapsable inset
7005 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7007 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7008 document menu has a nice checkbox
7010 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7012 * lyxlength.C (asLatexString): change PW to output as percent of
7015 * lengthcommon.C: change '%' to 't%'
7017 * lyxfunc.C (dispatch): a few comments from Martin
7019 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7023 * BufferView_pimpl.h:
7024 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7027 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7029 * vspace.C (inPixels): fix compiler warning
7031 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7033 * lyxfunc.C (getStatus): fix status message for disabled commands.
7035 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7037 * BufferView_pimpl.C: fix crash on close buffer
7038 during selection (#227)
7040 2002-01-27 Herbert Voss <voss@lyx.org>
7042 * buffer.C: link old Figure to new graphic inset
7044 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7046 * FontLoader.C (getFontinfo): Change the latex font names in order
7047 to match the names of type1inst.
7049 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7051 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7053 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7056 (remove_files_with_extension): ditto
7057 (remove_file): ditto
7060 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7061 document is smaller than the work area height. Do not initialize
7062 static variables to 0.
7064 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7066 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7068 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7069 LFUN_LAYOUT_PARAGRAPHS.
7071 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7072 tabular. It is possible to provide a possible cell, which will
7073 typically be the actcell from the corresponding insettabular
7075 * lyxfunc.C (getStatus): small cleanup; disable
7076 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7079 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7081 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7083 * paragraph.C (startTeXParParams):
7084 (endTeXParParams): new methods. The LaTeX code to
7085 start/end paragraph formatting
7086 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7087 empty (fixes bug #200)
7089 * vspace.C (inPixels): adapt to the change below
7090 (inPixels): [later] more cleanups (remove unused variables)
7092 * lyxlength.C (inPixels): change to use a width and a height as
7095 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7097 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7098 Replaced with \paperwidth
7100 * DepTable.C (insert): add std:: qualifier
7102 2002-01-18 Allan Rae <rae@lyx.org>
7104 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7107 * text.C (drawInset): Turned out I didn't know enough about how
7108 rebreaking worked. This fixes most of the redraw problems. I see
7109 an occasional cursor trail when a line is broken now and the cursor
7110 placement can seem out by a few pixels also after a rebreak.
7112 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7114 * buffer.C (parseSingleLyXformat2Token): update because minipage
7115 width is now a LyXLength
7117 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7119 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7122 2002-01-17 Juergen Vigna <jug@sad.it>
7124 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7126 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7127 is set correctly and the inset is updated correctly.
7129 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7131 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7132 the beginning of the loop.
7134 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7136 * lyxrc.C: improve help for use_scalable_fonts
7138 2002-01-17 Allan Rae <rae@lyx.org>
7140 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7142 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7144 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7145 make sure to set their inset_owner to the right value (bug #171)
7147 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7150 * DepTable.C: Implement mtime checking to reduce time spent doing
7153 2002-01-16 Juergen Vigna <jug@sad.it>
7155 * tabular.C (GetAdditionalHeight): one of error fixed.
7157 * lyxrc.C (output): small fix in writing use_pspell.
7159 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7161 * sp_base.h: #include LString.h
7163 2002-01-16 Allan Rae <rae@lyx.org>
7165 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7166 Can someone check this please?
7168 * text.C (drawInset): It was possible that p.row would be removed by
7169 breakAgainOneRow upsetting a few other settings. There may be another
7170 small tweak possible by setting need_break_row = 0 when p.row has been
7171 removed but I don't know enough about the logic here.
7173 2002-01-15 Allan Rae <rae@lyx.org>
7175 * text.C (insertChar): removed conditional truism.
7177 * BufferView2.C (removeAutoInsets): More tweaks.
7178 cur_par_prev could be a stray pointer. Check for trailing empty line
7179 in case last line was cur_par and only had an error inset on it.
7181 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7183 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7186 * vc-backend.C (most methods):
7187 * exporter.C (Export):
7188 * converter.C (convert):
7190 * LyXSendto.C (SendtoApplyCB):
7191 * lyxfunc.C (dispatch):
7195 * lyx_cb.C (AutoSave):
7197 * BufferView_pimpl.C (MenuInsertLyXFile):
7198 * buffer.C (runChktex): use Buffer::filePath().
7200 * buffer.h: rename filename to filename_; rename filepath to
7201 filepath_ and make it private
7202 (filePath): new method
7204 * buffer.C (writeFile): use fileName()
7207 * lyx_main.C (init): fix starting of LyX when the binary is a
7208 link from so,ewhere else.
7210 * minibuffer.C: include <cctype> for isprint
7212 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7214 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7215 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7216 name clash with InsetCollapsable's width function.
7218 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7220 * lastfiles.C: include <iterator>
7222 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7224 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7227 * buffer.C (makeLaTeXFile): ditto.
7228 Also make loop operation more transparent.
7230 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7232 * ToolbarDefaults.C: remove trailing comma closing namespace.
7234 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7236 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7239 * trans.C (Load): comment out unused variable, allowed.
7241 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7243 * minibuffer.[Ch] (append_char): new method to recieve input from the
7244 drop-down completion browser. If a key was pressed, then recieve this
7245 char and append it to the existing string.
7246 (peek_event): modify the positioning data passed to the completion
7247 browser so that it can be placed above the minibuffer rather than below.
7248 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7250 * LyXAction.C (init): alloe error-next for readonly documents.
7252 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7255 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7257 * bufferlist.C (readFile): create the buffer _after_ checking that
7260 * lyxfunc.C (verboseDispatch): fix handling of arguments
7262 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7264 * lyxrc.C: use string::erase() instead of initializing to "".
7267 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7269 * BufferView_pimpl.h:
7270 * BufferView_pimpl.C:
7273 * text2.C: tell X when we have made a selection for copying
7275 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7277 * BufferView_pimpl.C (MenuInsertLyXFile):
7278 * lyxfunc.C (menuNew):
7280 (doImport): add shortcuts to directory buttons
7282 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7285 * lyxfunc.C (setStatusMessage):
7286 (getStatusMessage): new methods
7287 (getStatus):use setStatusMessage instead of setErrorMessage
7288 (dispatch): when function is disabled, set error message here
7289 [instead of in getStatus previously]
7291 * BufferView_pimpl.C (workAreaButtonRelease): update
7292 toolbar/menubar here too.
7294 2002-01-13 Allan Rae <rae@lyx.org>
7296 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7297 Now seems indestructible. Remaining task is to audit all other
7298 code affected by deleteEmptyParagraphMechanism. One small quirk
7299 left is that an empty document with an error in the preamble can
7300 be made to report an error but no error box appears. I don't know
7302 (removeAutoInsets): Improved comments.
7304 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7307 * Thesaurus.C: update for Aiksaurus 0.14
7309 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7311 * text2.C (firstParagraph): removed member function, all uses
7312 replaces with ownerParagraph
7313 (redoParagraphs): here
7315 (toggleAppendix): here
7316 * BufferView2.C (insertErrors): here
7317 (setCursorFromRow): here
7319 2002-01-13 Allan Rae <rae@lyx.org>
7321 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7322 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7323 There is still a way to segfault this although you may have to do this
7324 multiple times: Have an InsetERT with an unknown command in it.
7325 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7326 <down-arrow>, <Enter> again, View->DVI, BANG!
7328 * text2.C (setCursor):
7329 (deleteEmptyParagraphMechanism):
7330 * lyxtext.h (setCursor):
7331 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7332 Making use of the return value may help fix other bugs.
7334 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7336 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7338 * LyXView.C (updateMenubar): call MenuBar::update here
7339 (updateToolbar): but not here
7340 (showState): do not update toolbar/menubar
7342 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7343 should need to care about that.
7345 * lyxfunc.C (verboseDispatch): simplify a bit
7346 (getStatus): have a version which takes a pseudoaction, and
7347 another which requires a (kb_action,string).
7349 * LyXAction.C (retrieveActionArg): make it work also when action
7350 is not a pseudo-action.
7351 (getActionName): simplify a bit
7354 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7356 * lyxfunc.C (verboseDispatch): new families of methods with
7357 several ways to specify a command and a bool to indicate whether
7358 the command name and shortcut should be displayed in minibuffer
7359 (eventually, we could extend that to a finer bitmask like
7360 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7361 (dispatch): the pristine dispatch command which just, well,
7362 dispatchs! Note it still sets its result to minibuffer; I'm not
7365 * lyxfunc.h: remove setHintMessage
7367 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7369 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7371 * BufferView_pimpl.C (specialChar): delete new inset if we have
7372 not been able to insert it.
7374 * kbmap.C: revert to using int instead of kb_action, since all we
7375 are dealing with is pseudo-actions.
7377 * LyXAction.C (searchActionArg): change to return int instead of
7378 kb_action, since the result is a pseudoaction.
7380 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7382 * buffer.C (insertErtContents): Fix (partially) the font bug.
7384 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7386 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7387 as the other one is broken on my machine!
7389 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7392 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7394 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7396 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7397 reflect their actual use. Provide compatibility code for older lyxrc
7400 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7402 change names of popup font variables in line with the changes to lyxrc.C
7404 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7406 * buffer.C (asciiParagraph): avoid outputing a word twice after
7409 * lyxrc.C (getDescription): document that document_path and
7410 template_path can be empty.
7412 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7414 * LaTeXFeatures.C (getMacros):
7415 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7417 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7419 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7421 (getPackages): rename feature "floats" to "float". Use an array to
7422 iterate over 'simple' features (i.e. just a \usepackage). Add
7423 handling of "amsmath" (renamed from "amsstyle").
7425 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7427 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7430 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7432 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7433 FuncStaus::FuncStatus & FuncStaus::some_method().
7435 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7437 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7438 of the func_satus stuff. Edited and massaged in various ways by
7441 * lyxfunc.C (getStatus): use FuncStatus
7443 2002-01-08 Juergen Vigna <jug@sad.it>
7445 * text.C (nextBreakPoint): use function Inset::isChar().
7447 * paragraph.C (TeXOnePar): use function
7448 Inset::forceDefaultParagraphs.
7450 * buffer.C (latexParagraphs): use function
7451 Inset::forceDefaultParagraphs.
7453 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7455 * lyx_gui.C (init): set the style of the menu popups to
7456 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7458 2002-01-07 Juergen Vigna <jug@sad.it>
7460 * text.C (setHeightOfRow): small fix
7461 (prepareToPrint): don't look at alignment if we don't have the place
7464 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7466 * box.C: New file. Move the Box methods and functions out of box.h,
7467 following Lars' suggestion.
7469 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7471 * box.h: #include "support/LOstream.h", needed for inlined function.
7474 * lyxtextclasslist.C: added some using std declarations.
7476 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7478 * box.h: make signed dimensions to allow insets wider than
7479 the screen (bug #162)
7481 * BufferView_pimpl.C: add some insetHit debug
7483 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7485 * vc-backend.C: add FIXME
7487 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7489 * lyxfunc.C (getStatus): enable code for showing math font status
7492 2002-01-07 Juergen Vigna <jug@sad.it>
7494 * text.C (nextBreakPoint): removed debug output not needed anymore.
7496 2002-01-06 Juergen Vigna <jug@sad.it>
7498 * text.C (nextBreakPoint): fixed up this function we had this bug
7499 since ever but now hopefully we break row better.
7500 (insertChar): we have to check if an inset is the next char as it
7501 could now happen that a large inset is causing a break.
7503 2002-01-05 Juergen Vigna <jug@sad.it>
7505 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7506 if it doesn't like to be drawed.
7508 2002-01-04 Juergen Vigna <jug@sad.it>
7510 * BufferView2.C (lockInset): forgot to set a cursor.
7512 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7514 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7519 * form_maths_panel.C:
7520 * form_maths_panel.h:
7521 * form_maths_panel.fd: implemented sub- and super- buttons in math
7524 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7525 (or ^ space) to be used as in TeX (req'd by André).
7527 * lyxfunc.C: Allow ^ and _ again to be used both as
7528 super/subscript (mathed) and as themselves (in text).
7530 2002-01-03 Allan Rae <rae@lyx.org>
7532 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7533 "LyX" or the filename of the current buffer if it has one. This is a
7534 modified form of John Levon's patch.
7536 * XFormsView.C (setWindowTitle): also set icon title.
7538 * LyXView.h (setWindowTitle): signature changed.
7539 * XFormsView.h (setWindowTitle): ditto.
7541 2002-01-02 Juergen Vigna <jug@sad.it>
7543 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7545 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7547 * screen.C (topCursorVisible): introduce a temp var for
7548 text->cursor.row(), handle the case where this row is null. (kindo
7551 * text2.C (setCursor): add a couple of asserts.
7553 * paragraph.h (inset_iterator): add -> operator
7555 * paragraph.[Ch] (autoDeleteInsets): remove member function
7557 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7558 cursor pos correctly and handle inset deletion by itself.
7559 (insertErrors): move iterator declaration out of for expression
7561 * lyxtextclass.C: add <algorithm>
7563 * Makefile.am: added the new files to sources, removed layout.C
7565 * layout.C: removed file
7567 * layout.h: remove LYX_DUMMY_LAYOUT
7569 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7573 * lyxtextclass.[Ch]:
7574 * lyxtextclasslist.[Ch]: new files
7576 * include order changes to a lot of files, also changes because of
7579 2001-12-27 Juergen Vigna <jug@sad.it>
7581 * buffer.C (asciiParagraph): more fixes.
7583 * tabular.C (ascii): make ascii export support export of only the
7584 data separated by a column-delimiter.
7585 (ascii): better support for ascii export.
7587 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7589 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7591 * tabular_funcs.C: use a "using std::getline" instead of the
7592 previous fix from Angus (necessary for cxx + lyxstring)
7594 2001-12-24 Juergen Vigna <jug@sad.it>
7596 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7598 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7599 problems. First check a minipage also if we have some ert-contents
7600 (not only on par->size(), second set the right depth of the paragraph
7601 on the relink to the root-paragraph-list!
7603 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7604 which then did not anymore update the main paragraphs on undo/redo!
7606 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7608 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7609 code. Support all font-changing funcs (even those which are not in
7610 menu currently). Support for reporting font settings in
7611 mathed (disabled until Andre provides a function on mathed's side).
7613 * func_status.h (toggle): small helper function to set toggle
7616 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7618 * tabular_funcs.C: getline -> std::getline
7620 2001-12-21 Juergen Vigna <jug@sad.it>
7622 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7623 accessed and could be 0 (I couldn't generate this but it seems
7626 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7628 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7629 * tabular_funcs.h: here and include iosfwd
7631 2001-12-20 Juergen Vigna <jug@sad.it>
7633 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7634 inside inset but undo_par was.
7636 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7638 * Thesaurus.C: always include <config.h> in sources.
7642 * box.h: do not include <config.h> in header files
7644 * text.C (paintLastRow): remove unused variable
7646 * text.C (transformChar):
7648 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7651 * font.C (width): rewrite to use uppercase() instead of
7654 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7656 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7658 * lyxfind.C: clean up of find failure position change
7660 2001-12-20 Juergen Vigna <jug@sad.it>
7662 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7664 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7665 (TeXRow): added to LaTeX a single tabular row.
7666 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7667 (Latex): simplified and finally good LT-h/f support.
7668 (various_functions): just small adaptions for LT-h/f support.
7670 * tabular_funcs.[hC]: added and moved here all not classfunctions
7673 2001-12-19 Juergen Vigna <jug@sad.it>
7675 * tabular.[Ch]: better support for longtabular options (not finished
7678 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7680 * text.C (paintLastRow): use the label font instead of the font of
7681 the last character to compute the size of *_BOX. This makes more
7682 sense and avoids a crash with empty paragraphs.
7683 Use Painter::rectangle to draw EMPTY_BOX.
7685 2001-12-19 Juergen Vigna <jug@sad.it>
7687 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7688 the paragraphs if the replaced paragraph is not the first one!
7689 Tried to delete not used paragraphs but does not work yet so for
7690 now it's inside #ifdef's and by default off!
7692 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7694 * MenuBackend.C: include "lyx_main.h" instead of declaring
7695 lastfiles (actually was declared as LastFiles* instead of a
7698 2001-12-17 Juergen Vigna <jug@sad.it>
7700 * tabular.C (AppendColumn): applied John's fix
7702 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7706 * BufferView_pimpl.h:
7707 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7710 * box.h: new start of class for above
7712 * lyxfunc.C: ignore space-only minibuffer dispatches.
7713 Show the command name when it doesn't exist
7715 * minibuffer.C: don't add empty lines to the history
7717 * minibuffer.C: add a space on dropdown completion
7719 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7721 * text.C: fix line above/below drawing in insets
7723 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7725 * lyxlength.C (LyXLength): Initialize private variables.
7727 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7729 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7730 when inserting error insets.
7732 2001-12-13 Juergen Vigna <jug@sad.it>
7734 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7735 actually sometimes the before-paragraph.
7736 (setUndo): don't clear the redostack if we're not actually undoing!
7738 2001-12-06 Juergen Vigna <jug@sad.it>
7740 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7741 and fixed redoing of main paragraph, so we can use it now ;)
7743 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7745 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7747 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7750 2001-12-13 André Pönitz <poenitz@gmx.net>
7753 * undo_func.C: minor cleanup
7755 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7757 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7758 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7759 font in urw-fonts package which is marked as -urw-fontspecific and
7760 does not work (incidentally, changing the encoding in the
7761 fonts.dir of this package to -adobe-fontspecific fixes the
7764 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7765 is a crash when undoing first paragraph (Juergen, please take a
7766 look). THis does not mean the undo fix is wrong, just that it
7769 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7770 the (Paragraph*) version when needed instead of duplicating the
7773 * text.C (workWidth): use Inset::parOwner to find out where the
7774 inset has been inserted. This is a huge performance gain for large
7775 documents with lots of insets. If Inset::parOwner is not set, fall
7776 back on the brute force method
7778 * paragraph_pimpl.C (insertInset):
7779 * paragraph.C (Paragraph):
7780 (cutIntoMinibuffer): set parOwner of insets when
7781 inserting/removing them
7783 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7785 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7791 * mathed/formulabase.C:
7792 * mathed/math_cursor.[Ch]:
7793 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7796 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7798 * lyxlength.[Ch] (operator!=): new function
7800 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7802 * text.C (workWidth): use Inset::parOwner to find out where the
7803 inset has been inserted. This is a huge performance gain for large
7804 documents with lots of insets. If Inset::parOwner is not set, fall
7805 back on the brute force method
7807 * paragraph_pimpl.C (insertInset):
7808 * paragraph.C (Paragraph):
7809 (cutIntoMinibuffer): set parOwner of insets when
7810 inserting/removing them
7812 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7814 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7816 * tabular-old.C (getTokenValue):
7817 * tabular.C (getTokenValue):
7818 (write_attribute): new versions for LyXLength
7819 (everywhere): adjust the use of widths
7821 * tabular.h: change the type of widths from string to LyXLength
7823 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7825 * paragraph.C: fixed missing line number count when exporting
7826 Environments to LaTeX file
7828 * buffer.C: added informational message for checking line numbers.
7830 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7832 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7833 paragraph, do the 'double space' part, but not the 'empty
7836 * text.C (workWidth): small optimization
7837 (getLengthMarkerHeight): use minimal size for negative lengths.
7839 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7841 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7843 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7845 2001-12-11 André Pönitz <poenitz@gmx.net>
7848 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7850 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7852 * text2.C: keep selection on a setFont()
7854 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7856 * lyx_cb.C: another bv->text misuse, from insert label
7858 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7861 * kbsequence.C: re-instate nmodifier mask
7863 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7865 * lyx_main.h: make lyxGUI private.
7867 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7869 * lyxfind.C: place the cursor correctly on failed search
7871 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7873 * text.C (getLengthMarkerHeight): for small heights, the arrows
7874 are not always on top/bottom of the text
7875 (drawLengthMarker): smaller arrows; take the left margin in
7876 account; draw also vfills.
7878 (paintLastRow): remove special code for vfill and standard spaces,
7879 since everything is handled in drawLengthMarker now.
7881 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7883 * buffer.C (insertErtContents): try to handle font and language
7884 interaction a bit better.g
7886 * ColorHandler.C (updateColor): change the hash to cover the whole
7887 LColor enum, ws cleanup
7888 (getGCLinepars): ditto
7889 (getGCLinepars): only lookup in the linecache once.
7891 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7893 * iterators.C (operator++): Make the iterator more robust
7895 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7897 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7899 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7902 * text.C: better added space drawing
7904 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7907 * BufferView2.C: fix layout combo update on inset unlock
7909 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7911 * Makefile.am: don't compile unused files
7913 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7917 * LyXAction.C: remove old LFUN_LAYOUTNO
7919 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7921 * paragraph_pimpl.h:
7922 * paragraph_pimpl.C: isTextAt() doesn't need font param
7924 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7927 * lyxlex.C: little cleanup
7929 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7931 * BufferView_pimpl.C: fix insertAscii for insets
7933 2001-12-05 Juergen Vigna <jug@sad.it>
7935 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7936 set the right font on the "multi" paragraph paste!
7938 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7944 * lyxlength.C: remove out-commented code.
7960 * vc-backend.C: change "while(" to "while ("
7962 * lyxlength.[Ch]: add zero function to check if length is zero or
7964 * lyxgluelength.C: use it
7966 2001-12-05 Allan Rae <rae@lyx.org>
7968 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7969 Works for 2.95.3, from what I understand of Garst's reports this should
7970 work for other g++ versions. We're screwed if the abs(int) definition
7971 changed between bugfix releases of gcc.
7973 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7975 * text.C: fix chapter label offset !
7977 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7980 * text.C: fix hfill at end of line, clean up
7982 2001-12-04 Juergen Vigna <jug@sad.it>
7984 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7985 that we force an update of the inset and it's owners if neccessary.
7987 2001-12-03 Juergen Vigna <jug@sad.it>
7989 * text.C (rowLast): simplified code
7991 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7993 * lyxfunc.C: fix show options on timeout
7995 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7997 * screen.C (topCursorVisible): scroll half a page when the cursor
7998 reached top of bottom of screen
8000 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8002 * minibuffer.C: deactivate on loss of focus
8004 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8006 * vspace.[Ch] (operator!=): add operator.
8008 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8010 * BufferView_pimpl.C: refuse to open an inset when
8011 there's a selection.
8013 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8015 * BufferView_pimpl.C: allow to click on RHS of full row insets
8017 2001-11-30 Juergen Vigna <jug@sad.it>
8019 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8020 insets for undo reasons.
8022 2001-11-28 André Pönitz <poenitz@gmx.net>
8024 * vspace.[Ch]: cosmetical changes
8026 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8036 * kbsequence.C: part re-write of old kb code
8039 * WorkArea.C: remove Lgb_bug_find_hack
8041 2001-11-30 José Matos <jamatos@fep.up.pt>
8043 * buffer.C (makeDocBookFile): add a comment to point a hack.
8044 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8045 Fixed a double write of labels.
8047 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8050 * LaTeX.h Fixed bug in LaTeX class where it would not
8051 re-run latex if no depfiles were changed, but the .dvi was removed.
8053 2001-11-28 André Pönitz <poenitz@gmx.net>
8055 * all the files from the change on 2001/11/26:
8056 use lyx::layout_type instead of LyXTextClass::size_type
8057 use lyx::textclass_type instead of LyXTextClassList::size_type
8059 2001-11-29 Juergen Vigna <jug@sad.it>
8061 * text.C: added support for paragraph::isFreeSpacing()
8063 * buffer.C: same as above
8065 * paragraph.h: inserted isFreeSpacing() function to enable
8066 FreeSpacing inside InsetERT.
8068 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8069 of the paragraph's in the cut/copy buffer to 0!
8071 * text2.C (removeRow): remove the assert as it can!
8073 * lyxtext.h: added helper function firstRow returning firstrow and
8074 made firstrow private again.
8076 * BufferView2.C (lockInset): don't relock if we're already locked!
8078 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8080 (removeRow): added Assert::(firstrow)
8082 * debug.C: forgot to add INSETTEXT here.
8084 2001-11-28 Juergen Vigna <jug@sad.it>
8086 * sp_spell.C (initialize): changed error text to more general
8087 spellchecker command use (not only ispell!)
8089 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8091 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8093 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8095 * vspace.C: initialise lyxgluelength on failure
8097 2001-11-28 Allan Rae <rae@lyx.org>
8099 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8100 declaration & definition that looks like a function declaration.
8102 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8104 * BufferView2.C (copy):
8105 (copyEnvironment): do not clear the selection when doing a copy.
8107 * text.C (paintFirstRow): compilation fix
8109 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8111 * tabular.C (Latex): correct line count when writing latex.
8113 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8115 * paragraph_pimpl.h:
8116 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8119 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8123 * LColor.C: change vfillline->added_space
8125 * text.C: add markers and text for added space
8127 * vspace.C: fix comment
8129 2001-11-28 André Pönitz <poenitz@gmx.net>
8131 * paragraph.C: whitespace changes
8132 * all the other files from the change on 2001/11/26:
8133 change *::pos_type into lyx::pos_type
8135 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8137 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8138 language of the document when inserting error insets.
8140 2001-11-26 André Pönitz <poenitz@gmx.net>
8142 * BufferView_pimpl.[Ch]:
8150 * paragraph_pimpl.[Ch]:
8153 * text2.C: reduce header dependencies, introduce type for positions
8155 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8157 * <various>: change to use Alert.h
8159 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8161 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8162 when encountering an unknown token.
8163 (readLyXformat2): Show an error message if there were unknown tokens.
8165 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8168 * BufferView_pimpl.C:
8172 * text2.C: use par->isInset()
8174 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8176 * paragraph_pimpl.h:
8177 * paragraph_pimpl.C: cleanup
8179 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8181 * text2.C (removeRow):
8182 * text.C (setHeightOfRow): remove useless (and costly) call to
8185 2001-11-20 Allan Rae <rae@lyx.org>
8187 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8188 Now need Inset*::checkInsertChar() to return true for appropriate
8189 cases so that the characters in the minibuffer will actually be
8192 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8194 * text.C: change the order of the includes.
8195 (workWidth): initialize it at once.
8196 (workWidth): make maxw unsigned
8197 (setHeightOfRow): remove unused variable (inset)
8198 (selectSelectedWord): remove unused variable (inset)
8199 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8201 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8203 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8204 server is not running.
8206 (closeConnection): add debug info when server is disabled.
8208 * ColorHandler.C (getGCForeground): send debug message to GUI
8211 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8213 * kbmap.C (bind): modify because return conventions of
8214 kb_sequence::parse have changed.
8216 * kbsequence.C (parse): only ignore spaces and not any stupid
8217 control character. This avoids tests like s[i] <= ' ', which are
8218 guaranteed to fail with 8bit characters and signed chars.
8219 Change return code to string::npos when there have been no error
8220 (0 was a bad idea when error is at first character)
8222 2001-11-14 José Matos <jamatos@fep.up.pt>
8225 * buffer.C (simpleDocBookOnePar): removed unused argument.
8227 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8229 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8230 insets which are part of a word. Paragraph::isLetter takes care of
8231 that now. Use Paragraph::isInset to identify insets.
8232 (selectSelectedWord): do not test for hyphenation break.
8234 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8235 that protected spaces are considered as spaces.
8237 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8240 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8243 * lyxserver.C: fix it. and small cleanup.
8245 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8247 * BufferView_pimpl.C: use inline helpers
8250 * LaTeXFeatures.C: fix typos
8253 * Spacing.C: move spacing_string into class
8255 * ToolbarDefaults.C: move stuff into namespace anon
8257 * layout.h: update enum
8259 * lyxfunc.C: use better debug
8261 * minibuffer.h: fix typo
8265 * WorkArea.C: add and use Debug::WORKAREA
8269 * text2.C: code re-organisation, inline helpers
8271 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8273 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8274 std::vector.empty().
8276 2001-11-09 Allan Rae <rae@lyx.org>
8278 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8279 '\n's after tables. Tabular and ERT inset work now makes this no
8282 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8285 * minibuffer.C: fix crash, improve drop-down completion
8287 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8290 * lyxserver.C: invalidate fd's when doing endPipe()
8292 2001-11-08 José Matos <jamatos@fep.up.pt>
8294 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8295 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8298 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8300 2001-11-07 José Matos <jamatos@fep.up.pt>
8303 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8306 * buffer.C (sgmlOpenTag):
8307 * buffer.C (sgmlCloseTag): removed debug info.
8309 * buffer.h (sgmlOpenTag):
8310 * buffer.h (sgmlCloseTag): made public.
8312 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8314 * buffer.C (saveParamsAsDefaults):
8315 * lyx_cb.C (MenuLayoutSave): remove
8317 * LyXAction.C (init):
8319 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8321 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8323 * buffer.C (setPaperStuff): removed from here...
8325 * bufferparams.C (setPaperStuff): ... and moved there.
8327 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8331 * XFormsView.C: add support for drop-down completion
8333 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8335 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8338 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8340 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8343 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8345 * lyx_main.C: change ref to known bugs
8347 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8349 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8350 to work around older babel problems.
8352 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8354 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8356 2001-10-24 Juergen Vigna <jug@sad.it>
8358 * tabular-old.C (ReadOld): below variable changes reflected.
8360 * tabular.[Ch]: added ltType struct for longtable header/footer
8361 defines and changed all instances where they are used. Added
8362 future support for double top/bottom rows.
8364 2001-10-24 José Matos <jamatos@fep.up.pt>
8366 * buffer.h (docbookHandleCaption):
8367 * buffer.C (docbookHandleCaption): removed unused function.
8368 (makeDocBookFile): moved docbook supported version to v4.1.
8370 2001-10-24 José Matos <jamatos@fep.up.pt>
8373 * tabular.C (docbookRow): new function to export docbook code of a row.
8374 (DocBook): now honors the longtable flags.
8376 2001-10-23 José Matos <jamatos@fep.up.pt>
8379 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8380 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8382 * buffer.C (makeLinuxDocFile):
8383 (makeDocBookFile): reworked the preamble, more clean, and with
8384 support for lyx defined entities. Changed the document declaration
8385 to be more XML friendly.
8387 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8388 if we need to output XML that should be done with a filter.
8390 2001-10-22 Juergen Vigna <jug@sad.it>
8392 * sp_pspell.h (class PSpell): add alive function needed in the
8393 controller to see if the spellchecker could be started.
8395 2001-10-22 Juergen Vigna <jug@sad.it>
8397 * buffer.C (insertStringAsLines): modify the font for inserting
8398 chars in certain conditions by calling checkInsertChar(font).
8400 2001-10-19 Juergen Vigna <jug@sad.it>
8402 * text.C (workWidth): use getRow instead of wrong algorithm.
8403 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8405 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8410 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8412 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8414 * text.C (workWidth): do not search for the exact row when
8415 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8416 optimization for big documents.
8418 2001-10-18 Juergen Vigna <jug@sad.it>
8420 * text.C (workWidth): new function with added Inset * parameter.
8422 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8424 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8426 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8427 change return type of getColumnNearX.
8430 * text.C (changeRegionCase): use uppercase/lowercase instead of
8433 (rightMargin): simplify code by factoring out the uses of
8438 (appendParagraph): use Paragraph::size_type
8440 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8442 * vspace.C (asLatexString): add a missing break
8444 2001-10-15 Herbert Voss <voss@perce.de>
8446 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8448 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8450 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8453 2001-10-10 André Pönitz <poenitz@gmx.net>
8455 * lyxfunc.C: removed greek_kb_flag.
8457 2001-10-10 Herbert Voss <voss@perce.de>
8459 * lyx_main.C: delete global string help_lyxdir.
8461 2001-10-09 Herbert Voss <voss@perce.de>
8463 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8465 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8467 * lyx_main.C: added global string help_lyxdir.
8469 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8471 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8473 * lyxrc.C (set_font_norm_type): support iso8859-4
8475 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8477 * LaTeX.C (deplog): add another regex for MikTeX
8479 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8481 * lyxrc.C (set_font_norm_type): support iso8859-3
8483 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8485 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8487 * LaTeXFeatures.C: remove special case of french and index
8489 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8490 before \begin{document}). This solves several incompatibilities.
8492 2001-10-03 Garst Reese <reese@isn.net>
8494 * lyx_cb.C: change CheckTex error msg.
8496 2001-10-03 José Matos <jamatos@fep.up.pt>
8498 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8500 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8502 * .cvsignore: update
8504 * lyx_main.C (commandLineVersionInfo): use new style version info.
8506 * buffer.C (writeFile):
8509 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8511 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8513 * version.h: update to use stuff in version.C
8515 * version.C.in: new file. Contains version information determined
8516 at compile time. This is a merging of version.h and
8519 2001-10-03 Juergen Vigna <jug@sad.it>
8521 * BufferView_pimpl.C (update): don't change "dirty" status in
8524 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8526 * WorkArea.C (c-tor): re-position version string slightly.
8528 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8530 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8531 revert to previous code.
8533 WorkArea.[Ch]: (show, destroySplash): methods removed.
8535 WorkArea.C: rework code so that it's an amalgam of the codes before and
8536 after the splash screen was moved to WorkArea.
8538 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8541 * vspace.C (inPixels):
8544 * buffer.C (insertStringAsLines):
8545 (asciiParagraph): fix types to be large enough
8547 * lyxlex_pimpl.h: change member status from short to int
8549 * layout.h: fix type of endlabeltype
8552 * kbsequence.C (parse): change return type to string::size_type
8554 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8557 * Bullet.C (bulletSize):
8558 (bulletEntry): do not use short ints as parameters
8560 * BufferView2.C (insertLyXFile): change a char to an int.
8562 * WorkArea.C (WorkArea): remove unneeded floats in computation
8564 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8566 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8568 * paragraph.C (asString): Do not ignore newline/hfill chars when
8569 copying to the clipboard.
8571 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8573 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8574 after a multi-line inset.
8576 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8578 * paragraph.C (validate): Set NeedLyXFootnoteCode
8580 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8582 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8583 and decrease-error to decrease.
8585 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8587 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8588 it more readable (should be equivalent)
8590 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8592 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8594 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8596 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8597 of a cursor (row, etc.) after a character has been deleted
8598 (deleteEmptyParagraphMechanism): call the method above on _all_
8599 cursors held by the LyXText when a double space has been
8602 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8604 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8606 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8608 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8609 background. Use greyOut() and the new show() methods to toggle between
8610 the foreground and background. Add code to remove the splash after
8611 its initial showing.
8613 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8614 (create_forms): no longer call Dialogs::showSplash.
8616 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8618 * .cvsignore: add version_info.h
8620 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8622 * version_info.h.in: new file
8624 * Makefile.am: add version_info.h.in
8626 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8627 version_info.h instead of VERSION_INFO
8629 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8631 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8632 The ERT inset now returns string().
8634 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8636 * lyxtext.h, text.C (selectNextWord): renamed as
8637 selectNextWordToSpellcheck.
8639 * text.C (selectNextWordToSpellcheck): Modified to not select
8640 words inside an ERT inset.
8642 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8644 * lyx_cb.C (MenuLayoutSave): change a bit the question
8646 * sp_base.h: include <sys/types.h>
8648 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8650 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8652 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8654 * several files: fix typos in user-visible strings
8656 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8658 * text2.C (pasteSelection): do not set the selection, since it
8659 will be cleared later. Actually, the intent was to fix the way the
8660 selection was set, but I figured rmoving the code was just as good.
8662 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8664 * FontLoader.C (available): Check if font is available without
8667 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8669 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8671 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8673 * lyxrc.[Ch]: added display_graphics variable and associated code.
8675 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8677 * bufferparams.C (hasClassDefaults): new method. Returns true if
8678 the buffer parameters correspond to known class defaults
8680 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8682 * XFormsView.C (show): set minimum size to the main window.
8684 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8686 * text2.C (copySelection):
8688 * lyxfind.C (LyXReplace):
8689 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8690 LyXText::selectionAsString.
8692 * paragraph.C (asString): add "label" argument to the second form
8694 * text2.C (selectionAsString): add "label" argument and pass it to
8695 Paragraph::asString.
8697 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8699 * lyx_main.C (commandLineHelp): remove version information
8701 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8703 * lyx_main.C: add -version commandline option
8705 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8707 * paragraph.h: make the optional constructor arg required instead.
8708 some modifications to other files because of this.
8710 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8712 * lyxserver.C (C_LyXComm_callback): make it static
8714 * lyx_main.C (error_handler): make it static
8716 * lyx_gui.C (LyX_XErrHandler): make it static
8718 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8720 * WorkArea.C: make the extern "C" methods static.
8722 * Makefile.am (lyx_LDADD): simplify
8724 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8726 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8727 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8729 * LyXAction.C (init):
8730 * lyxfunc.C (dispatch): associated code removal.
8732 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8734 * lyxfont.h (isSymbolFont): shut off warning
8736 * text.C (setHeightOfRow):
8737 (getVisibleRow): fix crash with empty paragraphs which have a
8740 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8742 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8745 2001-09-04 José Matos <jamatos@fep.up.pt>
8748 * tabular.C (docbook): rename docBook method to docbook.
8750 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8752 * Makefile.am: add dependencies to main.o.
8754 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8756 * FontLoader.C (available): Return false if !lyxrc.use_gui
8758 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8760 * FontInfo.C (query):
8761 * converter.C (view):
8762 * importer.C (Import):
8763 * exporter.C (Export): Can not -> cannot.
8765 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8767 * BufferView_pimpl.C: allow to create index inset even if
8770 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8772 * buffer.C (getLists): replace boost::tie code with an explicit pair
8773 as boost::tie can break some compilers.
8775 * iterators.h: Added a std:: declaration to the return type of
8778 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8780 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8783 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8785 * iterators.[Ch]: New files. Provide paragraph iterators.
8787 * buffer.C (changeLanguage): Use paragraph iterators.
8788 (isMultiLingual): ditto
8790 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8792 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8794 * FontLoader.C: Support for cmr font.
8796 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8798 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8799 (available): New method.
8801 * FontInfo.C (getFontname): Use scalable fonts even when
8802 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8805 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8807 * converter.C (Formats::view): reverted! Incorrect fix.
8809 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8811 * converter.C (Formats::view): only output the -paper option
8812 if the dvi viewer is xdvi, thereby fixing bug #233429.
8814 2001-08-23 Herbert Voss <voss@perce>
8816 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8818 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8820 * Spacing.h (Spacing): Set space to Default on in the default
8823 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8825 * vc-backend.h (RCS::versionString): add RCS to version
8826 (CVS::versionString): add CVS to version
8828 * vc-backend.C (scanMaster): do not add CVS to version.
8829 (scanMaster): do not add RCS to version
8831 * lyxvc.C (versionString): new method
8833 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8835 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8837 * Spacing.C (set): initialize fval
8839 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8841 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8844 2001-08-16 Juergen Vigna <jug@sad.it>
8846 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8848 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8850 * BufferView_pimpl.C:
8853 * text2.C: setParagraph takes linespacing now
8855 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8857 * LyxAction.C: add internal LFUN_CITATION_INSERT
8859 * LyXView.C: actually apply fix
8861 * bufferlist.C: fix open non-existent file
8863 * lyxfind.C: fix indentation
8865 * lyxfunc.C: remove unneeded assert, fix typo
8867 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8869 * MenuBackend.C: use "Floatname List"
8871 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8873 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8874 when converting LaTeX layout to insetERT.
8875 Generate a non-collapsed float when reading old float
8877 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8879 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8882 2001-08-13 Juergen Vigna <jug@sad.it>
8884 * text.C (fill): return 0 instead of 20 as this seems to be the more
8887 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8889 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8892 2001-08-13 Juergen Vigna <jug@sad.it>
8894 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8896 (SearchBackward): comment out the unlocking of the inset_owner this
8897 should not be needed!
8899 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8901 * Many files: Remove inherit_language, and add latex_language
8903 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8906 2001-08-10 Juergen Vigna <jug@sad.it>
8908 * text.C (prepareToPrint): fixed hfill-width in draw!
8910 * BufferView2.C (selectLastWord): save the selection cursor as this
8911 now is cleared in the function LyXText::clearSelection!
8913 2001-08-08 Juergen Vigna <jug@sad.it>
8915 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8916 BACKSPACE type functions.
8918 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8919 is only cutted from the document but not put in the cut-buffer, where
8920 still the old stuff should be.
8922 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8924 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8926 * tabular.C (SetWidthOfCell): fixed special case where the width
8928 (LeftLine): handle '|' in align_special.
8930 (LeftAlreadyDrawed): ditto
8931 (SetWidthOfCell): ditto
8933 2001-08-07 Juergen Vigna <jug@sad.it>
8935 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8937 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8939 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8940 * lyxlex.[hC]: ditto
8942 2001-08-06 Juergen Vigna <jug@sad.it>
8944 * text.C (getVisibleRow): fix up row clearing a bit.
8946 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8948 * minibuffer.C: make sure the X server sees the changes in the input.
8950 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8952 * paragraph.C (getFont): split into...
8953 (getLabelFont): this
8954 (getLayoutFont): and this
8955 * paragraph_pimpl.C (realizeFont): calling this
8957 * text2.C (getFont): split into...
8958 (getLayoutFont): this
8959 (getLabelFont): and this
8960 (realizeFont): all three calling this
8962 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8965 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8967 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8969 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8971 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8972 layouts from the Quote inset insertion.
8974 2001-08-03 Juergen Vigna <jug@sad.it>
8976 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8978 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8979 only if status not is already CHANGED_IN_DRAW (second level).
8981 * text.C (draw): don't set the need_break_row when inside an
8984 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8986 * buffer.C (parseSingleLyXformat2Token): handle more latex
8989 * bufferview_funcs.[hC]: change function names to
8990 begin with small char, adjust other files.
8992 2001-08-02 André Pönitz <poenitz@gmx.net>
8995 BufferView_pimpl.C: remove broken special code for math-greek
8997 2001-08-02 Juergen Vigna <jug@sad.it>
8999 * BufferView_pimpl.C (update): redone this function so that we
9000 update the text again if there was a CHANGE_IN_DRAW.
9002 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9003 (drawFromTo): added a new internal bool which is used by draw() and
9005 (general): some cursor drawing problems fixed.
9007 2001-08-01 Juergen Vigna <jug@sad.it>
9009 * lyxfind.C (LyXFind): fixed
9010 (SearchForward): ditto
9011 (SearchBackward): ditto
9013 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9014 spurius drawing of the cursor in the main area.
9016 * text2.C (status): small fix which could lead to a segfault!
9017 (clearSelection): remove unneeded BufferView param.
9019 2001-08-01 André Pönitz <poenitz@gmx.net>
9021 * lyxfunc.C: small change due to changed mathed interface
9023 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9025 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9027 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9029 * lyxfunc.c: fail gracefully if file doesn't exist
9034 * BufferView_pimpl.C: IsDirWriteable() proto changed
9036 * LyXView.C: fix updateWindowTitle() to store the last title
9038 2001-07-31 Juergen Vigna <jug@sad.it>
9040 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9041 the font (wrong since using of Paragraph::highestFontInRange).
9043 * paragraph.C (highestFontInRange): added a default_size parameter.
9045 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9046 (setHeightOfRow): reformat
9048 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9050 * converter.[hC] + affected files: move to (inital-char)lowercase
9053 * ParagraphParameters.C (ParagraphParameters): remove commented code
9055 * PainterBase.[Ch]: remove commented code
9057 * LaTeXFeatures.h: add "bool floats" for float.sty
9059 * LaTeXFeatures.C (LaTeXFeatures): init floats
9060 (require): handle float
9061 (getPackages): do it with floats
9063 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9065 * BufferView_pimpl.C (Dispatch): improve handling of
9066 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9068 * commandtags.h: #include lyxfont.h here temporarily to avoid
9071 * bufferlist.h: include LString.h here.
9073 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9075 * text2.C (getStringToIndex): new method.
9077 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9079 * *: Reduced header file dependencies all over.
9081 2001-07-30 Baruch Even <baruch@lyx.org>
9083 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9085 2001-07-29 Baruch Even <baruch@lyx.org>
9087 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9089 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9091 * ParameterStruct.h (endif): add a default constructor to make
9092 sure that all variables is initialized.
9094 * ParagraphParameters.C (ParagraphParameters): adjust
9096 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9098 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9099 index; also, check that there is something to index, and that it
9100 does not span over several paragraphs.
9101 (doubleClick): use WHOLE_WORD_STRICT for double click.
9103 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9105 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9108 2001-07-26 Baruch Even <baruch@lyx.org>
9110 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9111 an InsetFig figure, backwards compatible reading of old figure code.
9113 2001-07-27 Juergen Vigna <jug@sad.it>
9115 * text2.C: font.realize function adaption.
9117 * text.C (draw): add a warnings lyxerr text if needed.
9119 * layout.C: font.realize function adaption.
9121 * language.C: add inherit_language and implement it's handlings
9123 * bufferview_funcs.C (StyleReset): remove language parameter from
9124 font creation (should be language_inherit now).
9126 * bufferparams.C (writeFile): handle ignore_language.
9128 * paragraph.C (getFontSettings): the language has to be resolved
9129 otherwise we have problems in LyXFont!
9131 * lyxfont.C (lyxWriteChanges): added document_language parameter
9132 (update): removed unneeded language parameter
9134 * paragraph.C (validate): fixed wrong output of color-package when
9135 using interface colors for certain fonts in certain environments,
9136 which should not seen as that on the final output.
9138 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9140 * BufferView_pimpl.C:
9145 * LyXAction.C: add thesaurus support
9148 * lyxfind.C: add "once" parameter, for thesaurus, to not
9149 move to the next match
9151 2001-07-26 Juergen Vigna <jug@sad.it>
9153 * lyxfont.C (realize): honor ignore_language too!
9156 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9158 * text.C (draw): one place more for ignore_language to not draw
9161 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9163 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9165 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9167 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9168 the minipage conversion problem.
9170 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9172 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9175 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9177 * BufferView.h: don't forward declare WorkArea
9179 * BufferView.C: don't include WorkArea.h
9181 2001-07-25 André Pönitz <poenitz@gmx.net>
9185 * lyxfunc.C: new LFUN 'math-space'
9187 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9189 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9191 * text2.C (toggleInset): call open/close
9193 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9195 * lyxfunc.C (dispatch): add debug for the disabled case
9197 * font.C (buttonText): make similar to rectText
9199 * buffer.C (readInset): comment out parsing of insetlist and
9202 * PainterBase.C (rectText): small correction
9204 * BufferView_pimpl.C: comment out insettheorem and insetlist
9205 * LyXAction.C: ditto
9206 * commandtags.h: ditto
9208 2001-07-24 Juergen Vigna <jug@sad.it>
9210 * text.C (draw): honor the ignore_language.
9212 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9214 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9216 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9219 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9221 * lyxtext.h: remove unused (and unimplemented) methods
9223 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9225 * text.C (getVisibleRow): honor background color
9228 * Painter.h: remove default color argument for fillRectangle
9230 * text.C (backgroundColor): new method
9232 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9234 * text.C (getVisibleRow): adjust
9236 * font.[Ch] (rectText): new method, metrics
9237 (buttonText): new method, metrics
9239 * PainterBase.[hC]: make rectText and buttonText always draw and take
9242 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9244 * ToolbarDefaults.C (read):
9245 * MenuBackend.C (read): allow escaping in all strings
9247 * BufferView_pimpl.C (insertAndEditInset): new method.
9248 (Dispatch): use insertAndEditInset whenever appropriate.
9250 * BufferView_pimpl.C (insertNote): removed
9252 * BufferView_pimpl.C (smartQuote): new method, moved from
9253 BufferView; if an insetquote cannot be inserted, insert a '"'
9256 * BufferView2.C: remove insertCorrectQuote();
9258 * lyxfunc.C (getStatus): Add support for all remaingin
9261 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9263 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9264 command (necessary to pass " as parameter of self-insert.
9266 * text.C (selectWordWhenUnderCursor):
9267 (selectWord): add word_location parameter
9268 (selectWordWhenUnderCursor): same + remove special code for word
9270 (selectNextWord): use kind() to guess type of insetspecialchar,
9273 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9274 (insertErtContents): create ert insets as collapsed.
9275 (readInset): better compatibility code for Info inset.
9277 2001-07-20 Juergen Vigna <jug@sad.it>
9279 * lyxfunc.C (dispatch): use always LyXFind now!
9281 * text2.C (init): add a reinit flag so that the LyXText can be
9282 reinited instead of deleted and reallocated (used in InsetText).
9284 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9290 2001-07-18 Juergen Vigna <jug@sad.it>
9292 * text.C (selectNextWord): handle insets inside inset by calling
9293 always the bv->text functions so that we can go up the_locking_inset!
9295 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9296 in strange locations when inside an inset!
9298 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9299 handling to include insets.
9301 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9303 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9305 * LyXAction.C (init):
9307 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9308 LIGATURE_BREAK, since the name is so stupid.
9310 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9312 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9315 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9317 * sp_form.[Ch]: remove.
9319 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9321 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9324 * src/buffer.C (readInset): ditto.
9326 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9328 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9329 menuSeparator(), endOfSentenceDot(), ldots() and
9330 hyphenationPoint(), which are therefore removed.
9331 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9333 * LyXAction.C (init):
9334 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9336 * paragraph.C (getWord): removed.
9338 * BufferView_pimpl.C (Dispatch): use last word or selection for
9339 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9341 * lyx_main.C (queryUserLyXDir): do not ask before creating
9342 user_dir, except if it has been named explicitely.
9344 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9346 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9347 a document of zero size.
9349 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9351 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9352 approriately in the c-tor and in require().
9353 (getPackages): output the appropriate LaTeX for natbib support.
9355 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9356 variables "use_natbib" and "use_numerical_citations" when reading the
9358 (readInset): read the various natbib cite commands.
9359 (validate): white-space change.
9361 * bufferparams.[Ch]: new variables "bool use_natbib" and
9362 "bool use_numerical_citations".
9363 (writeFile): output them in the LyX file.
9365 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9367 * lyxfunc.C (getStatus): add support for all the inset insertion
9370 * text2.C (insertInset):
9371 * paragraph.C (insetAllowed):
9372 * BufferView_pimpl.C (insertInset): update to take in account the
9373 renaming of insertInsetAllowed
9375 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9377 * text2.C (getInset): new method. returns inset at cursor position.
9379 * BufferView_pimpl.C (Dispatch): changes because of this.
9381 * LyXAction.C (init): rename open-stuff to inset-toggle.
9383 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9385 * text2.C (toggleInset): renamed from openStuff; use
9388 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9390 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9392 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9394 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9396 * buffer.C (readLyXformat2): Add filename to the error dialog
9398 2001-07-18 Juergen Vigna <jug@sad.it>
9400 * tabular.C (GetCellNumber): put an assert here instead of the check!
9402 2001-07-17 Juergen Vigna <jug@sad.it>
9404 * BufferView_pimpl.C (toggleSelection): adapted too.
9406 * text.C (selectNextWord): adapted for use with insets.
9407 (selectSelectedWord): ditto
9409 2001-07-17 Juergen Vigna <jug@sad.it>
9411 * sp_spell.C (PSpell): fix initialitation order.
9413 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9415 * paragraph.C: spacing
9417 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9419 * sp_spell.C: repair language selection for pspell
9421 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9423 * lyxfunc.h: change more methods to begin with lower char.
9425 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9427 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9428 for unknown layouts.
9430 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9432 * buffer.C (readLyXformat2): Generate an error dialog if there are
9435 2001-07-16 Juergen Vigna <jug@sad.it>
9437 * sp_spell.C: always compile ISpell part.
9439 * lyxrc.C: added use_pspell entry and it's handling.
9441 2001-07-13 Juergen Vigna <jug@sad.it>
9443 * sp_spell.C: removed double includes.
9445 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9447 Consistent use of Lsstream.h:
9448 * Lsstream.h: added using std::stringstream for consistencies sake.
9450 * buffer.C: removed using std::stringstream
9452 * lyxfont.C (stateText):
9453 * paragraph.C (asString):
9454 * text.C (selectNextWord, selectSelectedWord):
9455 * text2.C (setCounter):
9456 * vspace.C (asString, asLatexString):
9457 std::ostringstream -> ostringstream.
9459 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9461 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9462 * commandtags.h: add LFUN_HELP_ABOUTLYX
9463 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9465 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9467 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9469 * lyx_gui_misc.C: remove spellchecker
9470 * lyxfunc.C: showSpellchecker
9472 * sp_ispell.h: added
9473 * sp_pspell.h: added
9475 * sp_form.[Ch]: removed
9476 * spellchecker.[Ch]: removed
9478 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9480 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9482 (simpleTeXSpecialChars): Simply print the input character without
9483 any special translation if pass_thru is set.
9485 * layout.h: Added bool pass_thru to layout class for being able to
9486 implement pass through of a paragraph for Literate Programming.
9488 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9489 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9490 * layout.C (Read): add "passthru" to list of layout tags and add
9491 code to set the pass_thru boolean when it is read.
9493 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9495 * trans_decl.h: remove allowed from KmodInfo
9497 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9501 * paragraph_pimpl.C (erase): use boost::prior
9503 * Painter.C (text): use data() instead of c_str() when length is
9505 * WorkArea.C (putClipboard): ditto
9506 * font.h (width): ditto
9508 * BufferView2.C: use it-> instead of (*it). for iterators
9510 * paragraph_pimpl.C: ditto
9511 * paragraph.C: ditto
9512 * minibuffer.C: ditto
9517 * converter.C: ditto
9519 * Variables.C: ditto
9520 * TextCache.C: ditto
9521 * MenuBackend.C: ditto
9522 * LyXAction.C: ditto
9524 * FloatList.C: ditto
9526 * ColorHandler.C (LyXColorHandler): ditto
9528 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9530 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9532 * text2.C (openStuff): reintroduce this method (which had been
9533 nuked in NEW_INSETS frenzy).
9535 * lyxfunc.C (Dispatch): when an action has not been handled, use
9536 its name in the error message, not its number.
9538 * paragraph.C (inInset): change method name to begin with lowercase.
9541 * text2.C: updates because of this.
9543 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9545 * ToolbarDefaults.C (add): add spaces in error message
9547 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9549 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9550 (readLyXformat2): rename return_par to first_par, use lyxlex's
9551 pushToken and remove the manual push handling.
9552 (parseSingleLyXformat2Token): add another ert comp. variable:
9553 in_tabular, rename return_par to first_par. handle newlines better
9555 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9557 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9559 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9561 * text2.C (getParFromID): removed
9563 * buffer.C (getParFromID): new method moved form lyxtext.
9564 * BufferView2.C (insertErrors): adjust
9565 (setCursorFromRow): adjust
9566 * BufferView_pimpl.C (restorePosition): adjust
9567 * lyxfunc.C (Dispatch): adjust
9568 * undo_funcs.C (textUndo): adjust
9570 (textHandleUndo): adjust
9571 (textHandleUndo): adjust
9573 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9575 * buffer.C: up' the LYX_FORMAT
9577 * lyxfont.h: turn NO_LATEX on as default
9579 * buffer.C (insertErtContents): new methods of tex style compability.
9580 (parseSingleLyXformat2Token): use it several places.
9581 * tabular.C (OldFormatRead): and here
9583 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9585 * text2.C: remove some commented code.
9588 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9589 * trans.C: changes because of the above.
9591 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9593 * text2.C (setCounter): Fix counters bug with bibliography layout.
9595 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9597 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9598 own member functions
9599 (simpleTeXSpecialChars): ditto
9601 2001-07-06 Juergen Vigna <jug@sad.it>
9603 * a lot of files: changed the access to LyXText::status and the
9604 call of undo-functions.
9606 * undo.[Ch]: added a inset_id to the undo informations.
9608 * undo_funcs.[Ch]: added and moved here all undo functions.
9610 * lyxtext.h: give the status enum a weight, made status_ a private
9611 variable and made accessor functions for it, removed the whole bunch
9612 of undo-functions as they are now in their own file, make some
9613 functions publically available. Added function ownerParagraph with
9616 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9617 made InInset() a const function, added getParFromID() function.
9619 * buffer.[Ch]: added const version for inset_iterator functions,
9620 added getInsetFromID() function.
9622 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9623 changed undo functions for new version.
9625 2001-07-05 Juergen Vigna <jug@sad.it>
9627 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9628 unknow mechanism does not call the proper constructor but only this
9629 one also if I request the other!?
9631 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9633 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9635 * text2.C (LyXText): use initialization lists.
9637 * lyxtext.h (Selection): initialize set_ and mark_
9638 (init): remove method
9640 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9642 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9644 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9646 * screen.[Ch]: change method names to begin with lowercase
9648 * BufferView_pimpl.C (updateScrollbar): simplify further and
9649 hopefully make it a bit faster.
9651 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9653 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9654 calling directly xforms functions.
9656 * Painter.C (Painter):
9657 * lyx_cb.C (MenuWrite):
9658 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9661 * lyx_gui.C: remove bogus guiruntime extern declaration.
9663 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9665 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9667 (redoDrawingOfParagraph): ditto
9668 (redoParagraphs): ditto
9669 (cutSelection): don't create a object for CutAndPaste use the
9670 static method directly
9671 (pasteSelection): ditto
9673 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9676 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9678 * modifications to some other files because of this.
9680 * Makefile.am (lyx_SOURCES): add XFormsView
9682 * XFormsView.[Ch]: new files
9684 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9685 the main window. Move the gui dependent stuff to XFormsView
9687 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9689 * tabular.C (GetCellInset): update cur_cell also in the row/col
9690 version of this function.
9692 * lyxfunc.C: no need to include figure_form.h here.
9698 * lyxvc.C: no need to include forms.h here.
9700 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9702 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9704 * lyxfunc.C (Dispatch):
9706 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9707 constructor argument.
9709 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9711 * paragraph.C (Paragraph): dont't clear, and just set layout.
9712 (makeSameLayout): use params's copy contructor.
9714 * ParagraphParameters.[Ch] (makeSame): delete method
9716 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9718 * Variables.[Ch]: fix indentation, rename set to isSet
9720 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9722 * lyxfunc.C (Dispatch): fix typo
9724 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9726 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9729 * bufferlist.C: include assert.h for emergencyWrite().
9731 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9733 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9734 give up at last (bug #425202) !
9736 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9742 * spellchecker.C: strip spellchecker options and bring up
9743 preferences tab instead
9745 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9747 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9748 the istringstream constructor
9750 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9752 * paragraph.C (getLayout): fix return value
9754 * paragraph.h: do not declare getLayout as inline.
9756 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9758 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9760 * lyxcursor.h (operator<): new func
9761 (operator>): new func
9762 (operator>=): new func
9763 (operator<=): new func
9765 * text.C (changeCase): use selection.start and selection.end
9766 (changeRegionCase): require from to be <= to. Require par to be a
9769 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9771 2001-06-27 Juergen Vigna <jug@sad.it>
9773 * text.C (cursorLeftOneWord): changed to return the cursor and added
9774 overlay with BufferView * parameter which calls this one.
9776 (selectWord): use new getWord function.
9777 (changeCase): renamed from changeWordCase as and extended to work
9780 * lyxtext.h: added enum word_location
9782 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9783 changeCase as this operates now also on selections.
9785 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9787 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9789 * many files: send debug output to Debug::INFO instead of
9792 * converter.C (View):
9794 (Move): send debug output to Debug::FILES instead of console.
9796 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9798 * lyxfunc.C (getStatus): use func_status
9800 * func_status.h: new header, describing the results of
9803 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9806 2001-06-25 The LyX Project <jug@sad.it>
9808 * buffer.C (sgmlOpenTag):
9810 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9812 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9814 * text2.C: remove some dead code
9816 * tabular.C (GetCellInset): store the last cell checked (gotten)
9818 * tabular.h: add the helper for the speedup
9820 * lyxtext.h: remove some dead code
9822 2001-06-26 The LyX Project <Asger>
9824 * paragraph.C: Change export to LaTeX of alignment to
9825 \begin{center} and family for better roundtrip work with reLyX.
9827 * Tune the math drawing a bit.
9829 2001-06-25 The LyX Project <Asger>
9831 * LColor.C (LColor): New color for math background. New color
9834 2001-06-25 The LyX Project <jug@sad.it>
9836 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9839 * bufferlist.C (newFile): do not restrict to files ending with
9842 * BufferView_pimpl.C (MenuInsertLyXFile):
9844 2001-06-24 The LyX Project <jug@sad.it>
9846 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9849 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9851 * lyxtext.h: rename most methods to begin with a small char.
9852 Lots of changes because of this.
9854 * paragraph.C (Paragraph): do not call fitToSize
9855 (erase): call Pimpl::erase
9856 (insertChar): call Pimpl::insertChar
9857 (insertInset): call Pipl::insertInset
9858 (breakParagraph): do not call fitToSize
9859 (breakParagraphConservative): do not call fitToSize
9860 (fitToSize): remove method
9862 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9864 2001-06-24 The LyX Project <Asger>
9866 * Fix Qt compilation^2
9868 2001-06-24 The LyX Project <jug@sad.it>
9870 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9871 depthHook(getDepth()-1).
9874 * ParagraphParameters.h:
9875 * ParameterStruct.h: change type of depth to unsigned int ==
9876 depth_type. Many adaptations to other files before of that.
9878 2001-06-24 The LyX Project <Asger>
9880 * Fix Qt compilation.
9882 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9884 * paragraph.h: renamed several methods to begin with small letter.
9885 several changes to many parts of the code because of this.
9887 2001-06-23 The LyX Project <jug@sad.it>
9889 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9890 rewritten to discard all double spaces when KeepEmpty is off
9891 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9892 to only handle newlines but not fiddle with spaces and friends.
9894 * lyxfunc.C (MenuNew): when doing 'new from template', use
9895 template_path as default directory
9897 2001-06-23 The LyX Project <Asger>
9899 * Clean-up of header file includes all over
9900 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9902 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9904 * paragraph.h: renamed from lyxparagraph.h
9906 2001-06-23 Asger <lyx@violet.home.sad.it>
9908 * Buffer.h: Removed Buffer::resize
9909 * BufferList.h: Removed BufferList::resize
9910 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9911 the document lazily when we change the width, or the font settings.
9913 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9915 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9917 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9919 * buffer.h: remove out of date comment
9921 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9924 * screen.C: fix "theoretical" GC leak
9926 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9928 * LaTeX.C (scanAuxFile):
9929 (deplog): remove trailing \r when reading stream (useful under
9932 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9934 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9935 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9936 and BufferView::theLockingInset(Inset*), so should use them and not
9937 access bv_->text->the_locking_inset directly.
9939 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9941 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9944 * tex-defs.h: remove old unused file
9946 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9948 * BufferView_pimpl.C: fix typo, remove minibuffer message
9949 when buffer has loaded
9951 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9953 * lyxfunc.C (Dispatch): use stringstream
9954 (MenuNew): use stringstream
9955 (Open): use stringstream
9957 * importer.C (Import): use stringstream
9959 * bufferview_funcs.C (CurrentState): use stringstream
9961 * LaTeX.C (run): use stringstream
9963 * BufferView_pimpl.C (savePosition): use stringstream
9964 (restorePosition): use stringstream
9965 (MenuInsertLyXFile): use stringstream
9967 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9980 * vspace.C: removed // -*- C++ -*- as first line.
9983 * version.h: added // -*- C++ -*- as first line.
9985 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9987 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9989 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9992 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9994 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9997 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9999 * gettext.C: include LString.h even when --disable-nls is on.
10001 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10003 * converter.h (Get): changed argument type from int to
10004 FormatList::size_type to avoid unnecessary conversion.
10006 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10009 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10011 * gettext.h: include LString.h even when --disable-nls is on.
10013 2001-06-07 Juergen Vigna <jug@sad.it>
10015 * text.C (BreakAgain): subst spaces with tabs.
10017 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10018 (resizeInsetsLyXText): set force on resizeLyXText.
10020 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10022 * gettext.h (gettext_init):
10023 (locale_init): use a real definition instead of a macro
10025 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10027 * Bufferview_pimpl.C:
10029 * LColor.C: further lcolor tidies
10031 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10033 * BufferView_pimpl.C (updateScrollbar): simplify.
10035 * BufferView2.C: don't include insets/insetinfo.h, change
10036 prototype for insertInset and call the Pimpl version. let
10037 updateInset call Pimpl version.
10039 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10040 gotoInset to BufferView::Pimpl
10042 2001-06-01 Juergen Vigna <jug@sad.it>
10044 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10045 inside a LockingInset (is the update needed at all?).
10047 2001-05-31 Juergen Vigna <jug@sad.it>
10049 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10050 here not the old one otherwise how should we compare it afterwards
10053 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10058 * FontInfo.C: bring C functions into global namespace when
10061 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10063 * LString.h: make sure config.h has been loaded before LString.h.
10065 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10066 (one for each char read by EatLine!).
10068 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10071 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10073 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10074 to the same as the par we break from
10076 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10078 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10080 * MenuBackend.C (expand): also create menu entries for wide
10081 versions of the floats.
10083 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10085 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10087 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10088 frontends/Makefile.am
10094 * tabular.C (getTokenValue): add std::
10096 * tabular-old.C (getTokenValue): add std::
10097 (getTokenValue): ditto
10098 (getTokenValue): ditto
10100 * screen.C (ToggleSelection): adjust
10102 * lyxtext.h: put selection cursors inside a Selection struct.
10104 * lyxfunc.C (moveCursorUpdate): adjust
10106 * lyxfont.C (latexWriteStartChanges): add std::
10108 * lyxfind.C: adjust
10110 * font.h: delete with(char const *, LyXFont const &)
10112 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10114 * FontInfo.C (getFontname): add std::
10116 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10117 (workAreaButtonPress): adjust
10118 (tripleClick): adjust
10120 (moveCursorUpdate): adjust
10123 * BufferView2.C (gotoInset): adjust
10125 2001-05-30 Juergen Vigna <jug@sad.it>
10127 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10128 to check pspell I add this as default as I now have new pspell
10129 libraries and they seem to use this.
10131 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10133 * text2.C (CutSelection): make the cursor valid before the call to
10136 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10138 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10139 relied on 0 terminated strings and other horrors. Bug found due to
10140 the new assert in lyxstring!
10142 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10145 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10147 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10150 * lyxfunc.C (processKeySym): change method of getting to the
10153 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10154 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10155 * BufferView_pimpl.[Ch]: here as private methods.
10157 2001-05-28 Juergen Vigna <jug@sad.it>
10159 * text.C (SetHeightOfRow): added the update() call again as it is
10160 needed to initialize inset dimensions!
10162 2001-05-16 Juergen Vigna <jug@sad.it>
10164 * text2.C (SetCharFont): Add new function with BufferView * and
10165 bool toggleall parameters for setting insets internal fonts.
10166 (SetFont): Freeze the undo as we may change fonts in Insets and
10167 all this change should be inside only one Undo!
10169 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10170 setting font's in insets as for them we have the SetFont function!
10172 2001-05-15 Juergen Vigna <jug@sad.it>
10174 * text2.C (ClearSelection): to be sure we REALLY don't have any
10177 * tabular.C (TeXCellPreamble): fixed the left border problem for
10180 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10182 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10185 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10187 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10188 LFUN_BREAKPARAGRAPH.
10190 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10191 help test to "internal only", similar for LFUN_INSERT_URL
10193 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10194 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10195 auto_region_delete and deadkeys.
10197 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10200 * LColor.C: remove some dead entries, tidy a little
10202 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10204 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10206 (Dispatch): implement LFUN_ESCAPE
10208 * commandtags.h: add LFUN_ESCAPE
10210 * LyXAction.C (init): add entry for LFUN_ESCAPE
10212 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10213 Remove commented code.
10214 (insertNote): moved here
10215 (open_new_inset): moved here
10217 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10220 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10222 * kbmap.C (findbinding): clean it up and make it work correctly.
10224 * lyx_main.C (init): do not pass argc and argv as parameters
10226 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10228 * buffer.C: fix path for OS/2 & Win32
10232 * lyx_main.C: Added os:: class.
10234 * os2_defines.h: update
10236 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10238 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10239 better by trying again with reduced state.
10241 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10243 * lyxrc.C (read): print error about invalid key sequence only when
10244 debugging (because not all latinX keysyms are known to some X
10247 * kbsequence.C (getiso): add a few std:: qualifiers
10248 (getiso): comment out extra return statement.
10250 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10252 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10254 (Dispatch): enhance the accent inset a bit. (not perfect)
10256 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10258 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10260 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10262 * bufferlist.C (emergencyWrite): fix assert() call
10264 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10266 * text.C (InsertChar): Added trivial patch to only send the "you
10267 can not do multiple spaces this way" message once during a
10270 2001-05-08 Baruch Even <baruch@lyx.org>
10272 * Makefile.am: Changed order of libraries to get LyX to link properly
10273 with the gnome frontend.
10275 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10277 * LaTeXFeatures.h: add a std:: qualifier
10279 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10281 * paragraph.C (String): use stringstream
10283 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10285 * paragraph.C (writeFile): remove footflag arg
10287 * buffer.C (makeLaTeXFile): use stringstream
10288 (latexParagraphs): remove footnot gurba
10290 * LaTeXFeatures.C (getPackages): use stringstream
10291 (getMacros): likewise
10292 (getTClassPreamble): likewise
10293 (getFloatDefinitions): new method
10295 * paragraph.C (writeFile): reindent
10298 * WorkArea.h: revert the xpos + etc changes.
10300 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10302 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10304 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10305 (pasteSelection): likewise
10306 * text2.C (CreateUndo): likewise
10308 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10310 * minibuffer.C (peek_event): temporarily reduce the functionality
10311 of the minibuffer (to allow args on lfuns)
10313 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10314 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10316 * buffer.C (readInset): add compability reading of old float
10317 lists, add reading of new style float list.
10318 (readInset): avoid reevaluation of inscmd.getCmdName()
10319 (getLists): reindent
10321 * MenuBackend.C (MenuItem): implement parsing of
10322 md_floatlistinsert and md_floatinsert.
10323 (expand::LastFiles): move initalizaton of iterators out of loop,
10324 avoid reevaluation.
10325 (expand::Documents): introduce typdedef vector<string> Strings,
10327 (expand::ExportFormats): introduce typedef vector<Format const *>
10328 Formats, and use it.
10329 (expand): implement FloatListInsert and FloatInsert.
10331 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10332 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10333 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10335 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10337 (Dispatch::LFUN_FLOAT_LIST): implement
10339 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10341 * LaTeX.C (run): Fix problem with --export code.
10343 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10345 * BufferView.[Ch] (workarea): removed.
10346 (getClipboard) new method; wrapper for workarea()->getClipboard()
10348 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10351 * WorkArea.h (width, height, xpos, ypos): These methods all
10352 returned the dimensions of the work_area sub-area of WorkArea,
10353 resulting in a position error if the WorkArea were resized. Now
10354 return the dimensions of the entire WorkArea.
10356 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10358 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10360 * LaTeX.C (deplog): correct the syntax of regex reg1
10362 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10364 * undo.C: remove !NEW_INSETS cruft
10366 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10368 * text2.C: remove !NEW_INSETS cruft
10370 * text.C: remove !NEW_INSETS cruft
10372 * tabular.C: remove !NEW_INSETS cruft
10374 * spellchecker.C: remove !NEW_INSETS cruft
10376 * lyxtext.h: remove !NEW_INSETS cruft
10378 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10380 * lyxfunc.C: remove !NEW_INSETS cruft
10382 * lyxfind.C: remove !NEW_INSETS cruft
10384 * lyx_cb.C: remove !NEW_INSETS cruft
10386 * figureForm.C: remove !NEW_INSETS cruft
10388 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10390 * buffer.[Ch]: remove !NEW_INSETS cruft
10392 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10394 * CutAndPaste.C: remove !NEW_INSETS cruft
10396 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10398 * BufferView2.C: remove !NEW_INSETS cruft
10400 * BufferView.h: remove !NEW_INSETS cruft
10402 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10404 * Lsstream.h: include LString.h before the sstream headers to
10405 fix problem with gcc 2.95.3 and lyxstring
10407 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10409 * lyx_main.C: add using directives when needed for C functions
10410 declared in std:: namespace.
10412 2001-04-27 Juergen Vigna <jug@sad.it>
10414 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10415 (SetHeightOfRow): comment out the update call should not be needed!
10417 2001-04-13 Juergen Vigna <jug@sad.it>
10419 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10420 (LyXTabular): tried to minimize operator= operations (and realized
10421 hopfully Lars wish).
10423 2001-04-27 Juergen Vigna <jug@sad.it>
10425 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10427 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10429 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10431 * buffer.C (readInset): hack to make listof algorithm work
10433 * BufferView_pimpl.C: hack to make listof algorithm work
10435 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10437 * LyXAction.C: removed all !NEW_INSETS cruft
10438 (init): moved lfun_item in method
10440 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10442 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10444 * BufferView2.C (theLockingInset): white space.
10446 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10448 * minibuffer.C: include <iostream>
10450 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10452 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10454 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10456 * text.[Ch] (TransposeChars): new method
10458 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10460 * call message directly through LyXView instead of through LyXFunc
10461 * BufferView2.C: adjust
10462 * BufferView_pimpl.C: adjust
10463 * FontLoader.C: adjust
10465 * bufferview_funcs.C: adjust
10466 * converter.C: adjust
10467 * figureForm.C: adjust
10468 * importer.C: adjust
10470 * lyx_gui_misc.C: adjust
10471 * lyxfunc.C: adjust
10474 + more files in subdirs
10476 * lyxparagraph.h (size): move up int file
10479 * adjust all uses of Assert to lyx::Assert.
10481 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10482 lyxfunctional in namespace lyx
10483 * layout.C (hasLayout): ditto
10486 (delete_layout): ditto
10487 (NumberOfClass): ditto
10488 * converter.C (GetFormat): ditto
10493 * bufferlist.C (getFileNames): ditto
10494 (emergencyWriteAll): ditto
10497 * MenuBackend.C (hasSubmenu): ditto
10500 * BufferView_pimpl.C (getInsetByCode): ditto
10502 2001-04-18 Juergen Vigna <jug@sad.it>
10504 * vspace.C (asLatexString): fixed the 100% problem.
10506 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10508 * lyxfunc.C (Dispatch):
10510 * minibuffer.h: add a few std:: qualifiers
10512 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10514 * minibuffer.[Ch]: reimplement so that commands is initiated and
10515 run from lyxfunc, simplified som handling, and made the completion
10516 and history code for complete. wip.
10518 * lyxfunc.C (processKeySym): call message
10519 (miniDispatch): new temporary method
10520 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10521 (LFUN_MESSAGE): implement
10522 (LFUN_MESSAGE_PUSH): implement
10523 (LFUN_MESSAGE_POP): implement
10524 (initMiniBuffer): the initial/defualt minibuffer message.
10526 * lyxfont.[Ch]: inline some more getters
10528 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10530 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10532 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10533 (AutoSave): use LFUN_MESSAGE
10534 (Reconfigure): ditto
10536 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10538 * figureForm.C: use LFUN_MESSAGE
10540 * converter.C (runLaTeX): use LFUN_MESSAGE
10542 * bufferview_funcs.C: use LFUN_MESSAGE
10544 (changeDepth): ditto
10546 * bufferparams.h: use boost::
10548 * bufferlist.h: inherit privately from noncopyable
10550 * bufferlist.C (loadLyXFile): remove some commented code.
10552 * buffer.C (runChktex): use LFUN_MESSAGE
10554 * ShareContainer.h: inherit privately from noncopyable
10556 * ParagraphParameters.[hC] (depth): inline it.
10558 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10560 (message): new method
10561 (messagePush): ditto
10562 (messagePop): ditto
10563 (show): init minibuffer
10564 (showState): direct call
10566 * LaTeX.[Ch]: inherit privately from noncopyable
10567 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10568 instead of WriteStatus.
10570 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10572 * BufferView_pimpl.C (buffer): don't init minibuffer
10573 (workAreaButtonPress): use LFUN_MESSAGE
10574 (workAreaButtonRelease): ditto
10575 (savePosition): ditto
10576 (restorePosition): ditto
10577 (MenuInsertLyXFile): ditto
10578 (workAreaExpose): don't init minibuffer
10579 (update): remove commented code, simplify
10581 * BufferView2.C (openStuff): use LFUN_MESSAGE
10582 (toggleFloat): ditto
10585 (copyEnvironment): ditto
10586 (pasteEnvironment): ditto
10591 (updateInset): remove some commented code
10593 * lastfiles.h: inherit privately from noncopyable
10596 * lyx_main.h: ditto
10598 * lyxlex_pimpl.h: ditto
10600 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10601 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10602 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10604 * LyXAction.h: inherit privately from noncopyable, add methods
10605 func_begin, func_end, returning iterators to the func map.
10607 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10608 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10609 (func_begin): new method
10610 (func_end): new method
10612 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10614 (copySelection): ditto
10615 (pasteSelection): ditto
10617 * BufferView.C: whitespace change
10618 * BufferView.h: inherit privately from noncopyable
10620 2001-04-16 Allan Rae <rae@lyx.org>
10622 * tabular-old.C (l_getline):
10623 * spellchecker.C (sc_check_word):
10624 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10625 an unrecognised preprocessor directive. So ensure they're wrapped.
10627 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10629 * src/exporter.C (Export): Give an error message when path to file
10632 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10634 * LaTeX.C (deplog): Always check that foundfile exists.
10636 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10639 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10641 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10643 * tabular.[Ch] (getLabelList): implement new method
10645 * minibuffer.h: comment ouf setTiimer
10647 * minibuffer.C (ExecutingCB): constify res
10648 (peek_event): constify s
10649 (Set): constify ntext
10650 (Init): constify nicename
10652 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10654 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10655 (savePosition): use two params to Minibuffer::Set
10656 (restorePosition): ditto
10658 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10660 * lyx_main.C: include language.h
10662 * Makefile.am (lyx_main.o): add language.h
10664 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10670 * CutAndPaste.C: include gettext.h
10672 * lyxfont.h: remove old hack with ON and OFF.
10675 * lyxfont.h: do not include language.h...
10680 * bufferview_funcs.C:
10686 * paragraph.C: ... but do it here instead
10688 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10690 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10692 * tabular.C: small reformat
10694 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10697 (BreakParagraph): ditto
10698 (SetOnlyLayout): ditto
10701 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10704 * lastfiles.C: removed most using decl, add std:: where needed
10706 * buffer.C: ws changes
10708 * MenuBackend.C (class compare_format): put into anon namespace
10709 (expand): constify label, names, action, action2
10712 * text.C (SingleWidth): constify font
10713 (IsBoundary): constify rtl2
10714 (GetVisibleRow): constify ww
10716 * LaTeX.C (deplog): constify logfile
10718 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10720 (workAreaExpose): constify widthChange, heightChange
10722 * lyxrow.C (par): moved
10725 * lyxrow.h: as inlines here
10727 * lyxfont.h (shape): moved from lyxfont.C
10728 (emph): moved from lyxfont.C
10730 * lyxfont.C (LyXFont): use initialization list for all
10732 (shape): move to lyxfont.h as inline
10733 (emph): move to lyxfont.h as inline
10736 2001-04-04 Juergen Vigna <jug@sad.it>
10738 * vspace.C: had to include stdio.h for use of sscanf
10740 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10743 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10744 independent of xforms.
10746 2001-04-02 Juergen Vigna <jug@sad.it>
10748 * spellchecker.C: fixed namespace placing!
10750 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10752 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10753 the LyXParagraph * is 0.
10755 2001-03-29 Juergen Vigna <jug@sad.it>
10757 * vspace.C: added support for %, c%, p%, l%.
10758 (stringFromUnit): added helper function.
10759 (asLatexString): changed to give right results for the %-values.
10761 * buffer.C: convert the widthp in a width%.
10763 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10765 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10768 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10769 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10771 * lyx_cb.[Ch]: see above.
10773 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10777 * lyx.[Ch]: replaced by figure_form.[Ch].
10781 * lyxfunc.C: changed headers associated with above changes.
10783 2001-03-27 Juergen Vigna <jug@sad.it>
10785 * BufferView_pimpl.C: set the temporary cursor right!
10787 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10789 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10791 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10793 * LString.h: removed "using std::getline"!
10795 * BufferView_pimpl.C (Dispatch): changes due to changes in
10796 InsetInclude::Params.
10798 * buffer.C (tag_name): removed redundant break statements as they were
10799 producing lots of warnings with my compiler.
10801 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10803 * LString.h: add "using std::getline" when using the real <string>.
10805 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10807 * buffer.C: removed bitset usage.
10808 PAR_TAG moved to an anonymous name space.
10809 (tag_name): new funtion, also in the anonymous namespace.
10810 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10811 (makeDocBookFile): clean code. Completed transition from string arrays
10813 (SimpleDocBookOnePar): code clean.
10815 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10817 * tabular.C: add some comments.
10819 2001-03-22 Juergen Vigna <jug@sad.it>
10821 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10822 compatibility read a bit and fixed bug with minipage in different
10825 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10827 * buffer.C (pop_tag): removed.
10828 (push_tag): removed.
10829 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10830 array replaced with vector. Added support for CDATA sections.
10831 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10833 (makeDocBookFile): XML conformant declaration of CDATA section,
10834 fixed bug related to <emphasis> in the first paragraph char.
10835 (sgmlOpenTag): exclude empty tags.
10836 (sgmlCloseTag): ditto.
10838 * buffer.h (pop_tag): removed.
10839 (push_tag): removed.
10841 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10843 * language.h (Languages): added size_type and size().
10845 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10847 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10848 response on compability reading of minipages. One probliem is that
10849 the old usage of minipages was «flertydig»
10851 * several files here and in subdirs: don't use static at file
10852 scope use anon namespaces instead.
10854 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10856 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10857 LaTeX output. This is necessary for Literate document
10860 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10862 * buffer.C: insert hfill when needed.
10864 * tabular.C (l_getline): use string::erase, small whitespace change.
10866 * BufferView_pimpl.C: try the anon namespace.
10867 * WorkArea.C: ditto
10869 2001-03-16 Juergen Vigna <jug@sad.it>
10871 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10872 otherwise it won't open options-dialogs.
10874 * buffer.C: honor pextraWidth(p) on converting minipages.
10876 * tabular.C (l_getline): changed the functions to strip trailing \r.
10878 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10880 * BufferView_pimpl.C:
10881 * minibuffer..C: added "using SigC::slot" declaration.
10883 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10885 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10891 * paragraph.C: ditto
10893 * lyxtext.h: NO_PEXTRA
10895 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10897 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10898 * ParameterStruct.h: ditto
10899 * ParagraphParameters.h: ditto
10900 * lyxparagraph.h: ditto
10902 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10904 * buffer.C: add compability for minipage alignment.
10905 (latexParagraphs): remove unwanted pextra check.
10907 * several files: remove CXX_WORKING_NAMESPACES
10909 * buffer.C (pop_tag): tie is in namespace boost
10911 * BufferView.h: noncopyable is in namespace boost
10913 * lyx_main.h: ditto
10916 * lastfiles.h: ditto
10917 * bufferlist.h: ditto
10918 * ShareContainer.h: ditto
10920 * LyXAction.h: ditto
10923 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10925 * Merging changes from BRANCH_MVC back into HEAD.
10927 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10929 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10931 * BufferView_pimpl.C: change from intl.C
10935 * Makefile.am: move combox.*
10941 * intl.C: remove dialog (covered by prefs)
10943 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10945 * lyxfunc.C (Dispatch): removed redundant break statement.
10947 2001-03-14 Juergen Vigna <jug@sad.it>
10949 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10951 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10953 * buffer.C: add hack to fix compability reading of minipages.
10955 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10957 * buffer.C (getLists): Cleanup.
10959 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10961 * lyxfont.C (update): don't honor toggleall on font size.
10963 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10967 * Makefile.am: moved to frontends/xforms/
10971 * BufferView_pimpl.C: changes for moved mathpanel
10973 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10975 * gettext.h: fix gettext_init() in --disable-nls
10977 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10979 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10981 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10984 * lyx.h: strip external form
10986 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10988 * BufferView_pimpl.C: add comment, destroySplash()
10990 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10992 * BufferView_pimpl.C:
10996 * lyxfunc.C: use re-worked insetinclude
10998 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11000 * buffer.C: add using std::stringstream.
11002 * lyx_cb.C: readd using std::ios.
11004 * buffer.C: add using std::map.
11006 * BufferView_pimpl.C: add using std::vector.
11008 * ShareContainer.h: add std:: to swap.
11010 * buffer.h: add some typedefs
11011 * buffer.C (getLists): use them
11012 (getLists): renamed from getTocList.
11013 add a counter for the different float types and use it in the
11015 (getLists): use the same counter for the NEW_INSETS and the "non"
11018 * lyx_cb.h: remove unused items, includes, using etc.
11020 * ShareContainer.h: remove some commented code, add more comments
11021 and "documentation".
11023 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11025 * buffer.C (getTocList): make the list also when NEW_INSETS is
11028 * buffer.h: remove TocType
11030 * buffer.C (getTocList): change to return a map<string,
11031 vector<TocItem> >, implement for dynamic number of list.
11033 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11034 * text2.C (PasteSelection): adjust
11035 * CutAndPaste.C (pasteSelection): adjust
11037 * FloatList.C (FloatList): update from the new_insets branch.
11038 * Floating.[Ch]: ditto
11039 * LaTeXFeatures.C: ditto
11041 * lyxlex_pimpl.C: ditto
11043 * paragraph.C (Last): remove when NEW_INSETS is defined.
11045 * other file: changes because of the above.
11047 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11049 * lyxparagraph.h: rename next to next_, previous to previous_,
11050 make them private for NEW_INSETS. Rename Next() to next(),
11051 Previous() to previous().
11053 * other files: changes because of the above.
11055 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11058 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11061 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11063 * main.C (main): pass lyx_localedir to gettext_init().
11065 * gettext.h: remove locale_init and gettext_init macros
11067 * gettext.C (locale_init): new function
11068 (gettext_init): new function
11070 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11073 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11075 * Moved credits to frontends:
11076 * credits.[Ch]: removed
11077 * credits_form.[Ch]: removed
11078 * lyx_gui_misc.C: remove credits stuff
11081 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11083 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11085 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11086 unneeded destructor.
11088 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11089 a standalone pointer again.
11091 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11093 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11099 * ToolbarDefaults.C:
11108 * BufferView_pimpl.C: use new file dialog in GUII
11111 * lyx_cb.C: remove LayoutsCB to Toolbar
11113 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11115 * ShareContainer.h (get): add std:: qualifier
11117 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11119 * ShareContainer.h: define a proper ShareContainer::value_type
11120 type (and use typename to please compaq cxx)
11122 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11124 * lyxparagraph.h: move serveral local vars to
11125 ParameterStruct/ParagraphParameters., use ShareContainer in
11126 FontTable., make vars in FontTable private and add getter and
11129 * paragraph.C: changes because of the above.
11131 * lyxfont.h: remove copy constructor and copy assignment. (the
11132 default ones is ok), move number inside FontBits. move inlines to
11135 * lyxfont.C: add number to initializaton of statics, move several
11136 inlines here. constify several local vars. some whitespace
11137 cleanup. Dont hide outerscope variables.
11139 * Spacing.h: add two new constructors to match the set methods.
11141 * ShareContainer.h: new file, will perhaps be moved to support
11143 * ParameterStruct.h: new file
11145 * ParagraphParameters.h: new file
11147 * ParagraphParameters.C: new file
11149 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11150 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11152 * BufferView_pimpl.C: ParagraphParameter changes.
11153 * buffer.C: Likewise.
11154 * bufferview_funcs.C: Likewise.
11155 * text.C: Likewise.
11156 * text2.C: Likewise.
11158 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11160 * lyxfind.C (LyXReplace): do not redefine default argument in
11162 (IsStringInText): ditto
11163 (SearchForward): ditto
11164 (SearchBackward): ditto
11166 2001-03-06 Juergen Vigna <jug@sad.it>
11168 * lyxfind.C (IsStringInText): put parentes around expressions.
11170 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11172 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11174 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11176 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11178 * stl_string_fwd.h: add comment
11180 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11183 * tabular.C: remove unused DocBook methods
11189 killed DO_USE_DEFAULT_LANGUAGE
11191 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11193 * lyx_gui.C: do not include language.h.
11195 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11196 arguments in function implementation.
11198 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11200 * BufferView_pimpl.C: add <ctime>
11202 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11204 * BufferView_pimpl.C: add using std::find_if
11206 2001-02-27 José Matos <jamatos@fep.up.pt>
11208 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11211 2001-02-11 José Matos <jamatos@fep.up.pt>
11213 * buffer.C (makeDocBookFile): command styles now have a parameter as
11214 "title" by default.
11216 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11218 * layout_forms.[Ch]: removed
11219 * lyx_cb.[Ch]: out character
11220 * lyx_gui.C: out character
11221 * lyx_gui_misc.C: out character
11222 * bufferview_funcs.C: : out character,
11223 added toggleall as parameter in ToggleAndShow
11225 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11227 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11229 * text2.C (SetCurrentFont): Disable number property at boundary.
11231 2001-02-26 Juergen Vigna <jug@sad.it>
11233 * lyxfunc.C (getStatus): added a string argument override function so
11234 that this is correctly called from LyXFunc::Dispatch if it contains a
11235 do_not_use_argument which is used!
11236 (Dispatch): added check for "custom" export and call appropriate func.
11238 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11240 * lyxrc.C: Add language_command_local, language_use_babel and
11241 language_global_options.
11243 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11245 * buffer.C (makeLaTeXFile): Use language_use_babel and
11246 language_global_options.
11248 2001-02-23 Juergen Vigna <jug@sad.it>
11250 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11251 which works with LyXText and putted it inside BufferView. Here now we
11252 only call for that part the BufferView::Dispatch() function.
11254 * BufferView.C (Dispatch): added.
11256 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11257 functions which needs to use a LyXText over from LyXFunc.
11258 (MenuInsertLyXFile): added
11259 (getInsetByCode): added
11260 (moveCursorUpdate): added
11261 (static TEXT): added
11263 2001-02-22 Juergen Vigna <jug@sad.it>
11265 * BufferView_pimpl.C (update): call a status update to see if LyXText
11268 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11270 * vc-backend.C (revert): implement for CVS
11271 (getLog): implement for CVS
11273 2001-02-20 Juergen Vigna <jug@sad.it>
11275 * text2.C (ClearSelection): added BufferView param for inset_owner call
11277 * lyxfunc.C (TEXT): added this function and use it instead of
11278 directly owner->view()-text of getLyXText().
11280 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11282 * src/layout_forms.C: out preamble
11283 * src/layout_forms.h: out preamble
11284 * src/lyx_cb.C: out preamble
11285 * src/lyx_cb.h: out preamble
11286 * src/lyx_gui.C: out preamble
11287 * src/lyx_gui_misc.C: out preamble
11288 * src/lyxfunc.C: connect with guii preamble
11290 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11292 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11294 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11296 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11297 whether to run bibtex.
11299 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11301 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11303 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11305 * Makefile.am (lyx_SOURCES): removed bibforms.h
11307 * vspace.h: doxygen
11309 * text.C (GetVisibleRow): make several local vars const
11311 * tabular.C: small cleanup.
11313 * lyxserver.C (callback): use compare instead of strncmp
11315 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11316 inlines to after class or to paragraph.C
11318 * lyxfont.h: remove friend operator!=
11320 * converter.h: move friend bool operator< to non friend and after
11323 * combox.h: small cleanup
11325 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11326 to inlines after class def.
11328 * buffer.C (pop_tag): use string operations instead of strcmp
11330 * bmtable.c: doxygen, small cleanup
11332 * LaTeX.h: remove friend operator==
11334 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11346 * BufferView_pimpl.C:
11347 * BufferView.[Ch]: remove cruft
11349 2001-02-14 Juergen Vigna <jug@sad.it>
11351 * lyxfunc.C: removed #if 0 unused code
11353 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11355 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11357 * text2.C (SetSelection): added a BufferView * parameter
11359 2001-02-13 Juergen Vigna <jug@sad.it>
11361 * lyxfunc.C (Dispatch): fixed protected blank problem.
11362 * BufferView2.C (protectedBlank): added LyxText * parameter.
11364 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11365 (AppendColumn): same as above for column_info.
11367 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11368 (moveCursorUpdate): use a LyXText param for support of InsetText.
11370 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11371 (tripleClick): ditto
11373 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11375 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11377 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11379 * text2.C (SetSelection): set correct update status if inset_owner
11380 (ToggleFree): ditto
11382 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11384 * tabular.C: remove some commented code.
11386 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11388 * BufferView_pimpl.C: call hideSplash()
11390 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11393 * bibforms.h: remove
11396 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11397 add LFUN_CHILD_CREATE
11399 * counters.h: fix tiny typo
11404 * lyx.C: move splash to frontends/xforms/
11406 * lyx_gui_misc.C: move Include and Bibform to frontends
11408 * lyxvc.h: clarify comment
11410 * vspace.C: tiny housekeeping
11412 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11414 * text.C (PrepareToPrint): RTL Fix.
11416 * paragraph.C (GetUChar): New method.
11417 (String): Use GetUChar.
11419 * buffer.C (asciiParagraph): Use GetUChar.
11421 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11423 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11425 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11428 * buffer.C: rename to getLogName(), handle
11429 build log / latex log nicely
11431 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11434 * MenuBackend.h: remove support for reference menuitem type.
11436 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11438 * BufferView_pimpl.C: housekeeping
11439 * BufferView_pimpl.h:
11444 * minibuffer.h: move Timeout GUI-I
11446 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11448 * lyxrc.C (read): Update converters data-structures.
11450 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11452 * LaTeX.h (operator!=): add operator != for Aux_Info
11454 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11456 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11458 * LaTeXLog.C: deleted, useful code moved to Buffer
11461 * buffer.C: new function getLatexLogName()
11467 * lyxfunc.C: use frontends for LaTeX and VC logs
11469 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11471 * LaTeX.h: yet another std:: that Allan forgot.
11473 * Variables.C (set): renamed from isset(), because this clashes
11474 with some HP-UX macros (grr).
11476 2001-02-06 Allan Rae <rae@lyx.org>
11478 * LaTeX.h: Another bug fix. Missing std:: this time.
11480 2001-02-04 Allan Rae <rae@lyx.org>
11482 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11483 floats problem. I've left it commented out because it's not quite
11484 correct. It should also test that the current object is a table or
11485 figure inset. But I haven't gotten around to figuring out how to do
11486 that. I *think* it'll be something like: "table" == inset.type()
11488 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11491 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11493 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11494 all the citation/databases/styles in the auxilary file.
11495 (run): Rerun latex if there was a babel language error.
11497 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11499 * text.C (Backspace): Preserve the font when changing newline char
11501 (BreakParagraph): If the cursor is before a space, delete the space.
11503 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11505 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11507 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11508 new argument (code).
11509 (ChangeCitationsIfUnique): New method.
11511 * paragraph.C (GetPositionOfInset): Handle bibkey.
11513 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11515 * BufferView_pimpl.h: change type of Position::par_pos to
11516 LyXParagraph::size_type.
11518 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11520 * BufferView_pimpl.C (savePosition, restorePosition): Write
11521 messages to minibuffer.
11523 2001-01-28 José Matos <jamatos@fep.up.pt>
11525 * buffer.C (makeDocBookFile): adds support for document language.
11526 A silly restriction on the name of LatexCommand types where removed.
11527 Added support for CDATA sections, allows to chars unescaped, used
11528 among others in code, to avoid escape < and >.
11530 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11532 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11533 saved positions instrad of a stack. Furthermore, a position is
11534 stored using paragraph id/paragraph position.
11536 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11537 Remove LFUN_REF_BACK.
11539 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11541 * converter.C (dvipdfm_options): New method.
11543 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11545 * vspace.C (isValidLength): Fix for empty input string.
11547 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11549 * LyXAction.C (init): change description of LFUN_FIGURE to
11552 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11554 * LaTeX.C: add using directive
11556 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11558 * MenuBackend.C (expand): Fix the sorting of the formats.
11560 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11562 * lyx_main.C: tiny error message fix
11564 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11566 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11567 calling fl_initialize(). This fixes the problem with ',' as
11568 decimal separator in text files.
11570 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11572 * trans.C (process): Fix the keymap bug.
11574 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11576 * LaTeX.C (scanAuxFiles): New method. Provides support for
11577 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11578 (scanLogFile) Scan for "run BibTeX" messages.
11580 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11581 OT1 font encoding. Also, load the aecompl package if the ae
11584 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11586 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11588 * texrow.C (increasePos): turn two error messages into debug
11591 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11593 * LaTeX.C (scanAux): Handle the \@input macro.
11594 (runBibTeX): Use scanAux().
11596 * language.C (latex_options_): New field.
11598 * LaTeXFeatures.C (getMacros): Add language macros.
11600 * buffer.C (makeLaTeXFile): Small fix.
11602 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11604 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11606 * text2.C: add a using directive.
11608 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11613 * lyxfunc.C: kill LyXBell.
11615 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11617 * text.C (IsBoundary): Remove the error message
11619 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11621 * lyxrc.C (setDefaults): Correct initialization value for
11624 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11626 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11629 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11630 and GotoNextNote().
11632 * src/LyXAction.C: Added reference-next.
11634 * text.C (InsertChar): Use contains instead of strchr.
11636 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11638 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11640 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11641 alignment commands (when needed).
11643 * text.C (InsertChar): Add ':' to number separator chars.