2 2003-07-17 André Pönitz <poenitz@gmx.net>
6 * text2.C: don't call inset->update() anymore
8 2003-07-16 André Pönitz <poenitz@gmx.net>
13 * text2.C: replace the LyXCursor::irow_ member with
14 on-demand computation of the value
16 2003-07-16 John Levon <levon@movementarian.org>
18 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
20 2003-07-15 André Pönitz <poenitz@gmx.net>
23 * text2.C: remove no more needed refresh_row
25 2003-07-15 André Pönitz <poenitz@gmx.net>
30 * text3.C: refresh_status tristate -> need_update bool
32 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
34 * lyxtext.h (init): remove reinit argument (act as if always true)
35 * text2.C: adjust to that
37 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
39 * bufferview_funcs.[Ch]: introduce function replaceSelection()
40 * text3.C: use it to delete selections in some cases
41 (bugs 441, 673, 702, 954).
43 2003-07-14 André Pönitz <poenitz@gmx.net>
45 * rowpainter.[Ch]: reduce interface
47 2003-07-14 André Pönitz <poenitz@gmx.net>
50 * text2.C: adjust after removing unused BufferView * argument
52 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
54 * text2.C (init): fix a crash fired on resize
56 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
58 * buffer.[Ch]: added new closing signal
59 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
60 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
61 BufferView::Pimpl via the closing the signal
63 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
65 * buffer.[Ch]: take out all bv-related from buffer
67 * BufferView_pimpl.[Ch]: connect to new signals
68 * CutAndPaste.C: removed useless asserts
69 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
72 * lyxfunc.C: moved view-related funciontality from vc here
73 * paragraph.C: removed outdated comments
76 2003-07-10 André Pönitz <poenitz@gmx.net>
82 * text2.C: remove InsetText::InnerCache, clean up consequences
84 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
86 * ispell.C: fix two typos in error messages
88 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
90 * Extend Note inset to other forms of annotation like Comment
91 and Greyedout. Right button click gives dialog.
93 Files modified or added (+):
99 * Makefile.am in frontends/xforms, frontends/xforms/forms,
100 frontends/controllers
104 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
106 * aspell.C: add missing namespace lyx::support
108 2003-07-07 Alfredo Brauntein <abraunst@libero.it>
110 * BufferView.[Ch] (newFile): Add
111 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
112 * LaTeX.[Ch] (message): added this signal and use it
113 * buffer.[Ch] (busy, message): added these signals and use them
114 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
118 * importer.C: use buffer signals instead of direct bv calling
119 * lyx_cb.[Ch] (ShowMessage): removed
123 * text2.C: use buffer signals
125 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
127 * introduce namespace lyx::graphics
129 2003-07-02 André Pönitz <poenitz@gmx.net>
131 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
133 2003-07-01 André Pönitz <poenitz@gmx.net>
140 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
141 text*.C to text_func.C
143 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
145 * introduce namespace lyx::support
147 2003-06-30 André Pönitz <poenitz@gmx.net>
152 * text.C: re-enable --with-included-string
154 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
156 * textcursor.C: add <config.h>
158 * text.C (getWord): remove const from word_location arg
160 * lyxvc.C (getLogFile): fix const type order
162 * lyxtext.h: remove const from word_location arg, add arg name
164 * lyxlayout.h: currect type on labeltype.
166 * importer.C: correct \file
168 * converter.C (intToFormat): use std:: on ret val, ws changes
170 * bufferlist.h: correct \file
172 * buffer.C (makeLinuxDocFile): fix const type order
173 (makeDocBookFile): ditto
174 (fillWithBibKeys): use std:: on stdlib args.
176 * CutAndPaste.C: fix authors.
177 (availableSelections): use std:: on return vector
179 2003-06-27 André Pönitz <poenitz@gmx.net>
181 * BufferView_pimpl.C:
182 * bufferview_funcs.C:
190 * text3.C: remove LyXCursor::row_ member
193 * text.C: rename fullRebreak() to partialRebreak() and implement
194 a fullRebreak() that really bereks fully
196 * textcursor.h: new struct for cursor-related data
198 2003-06-26 Alfredo Brauntein <abraunst@lyx.org>
200 * lyx_main.C (LyX): get full path of document loaded on the
203 2003-06-26 André Pönitz <poenitz@gmx.net>
205 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
206 remove unused/broken operator>,<,>=.
208 * text.C: remove only use of broken operator<= in an Assert().
210 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
212 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
213 moved errorlist_.clear to showErrorList
215 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
217 * converter.C (scanLog, runLaTeX):
218 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
219 move the bv->showErrorList call to the callers
220 * lyxfunc.C: i.e. here...
222 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
223 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
224 namespace, the second to...
225 * buffer_funcs (BufferFormat, parseErrors): added
226 * errorlist.C (ErrorList(TeXErrors const &)): removed
228 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
230 * ToolbarBackend.C (getIcon): complain when icon cannot be found
232 2003-06-24 "Garst R. Reese" <reese@isn.net>
236 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
238 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
240 * version.C.in: change docversion to 1.4
242 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
244 * buffer.C: fix a bug just introduced
246 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
248 * buffer.[Ch]: added the parseError signal and use it, removed
250 * BufferView.[Ch] (addError): moved to ...
251 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
252 to the Buffer::parseError signal to catch (guess what) parse errors
253 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
255 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
257 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
258 ability to create a buffer and to return an existing one from
259 the list. Moved these functions to...
260 * buffer_funcs.[Ch]: added
261 * BufferView.[Ch] (loadLyXFile): added
262 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
263 job removed from bufferlist::loadLyXFile.
264 * buffer.C (setReadOnly): make it work without view
265 (i.e added an if (users))
267 2003-06-19 Angus Leeming <leeming@lyx.org>
270 * LyXAction.C (init):
271 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
272 with LFUN_DIALOG_SHOW <name> <data>.
274 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
276 * CutAndPaste.C (availableSelections): small compilation fix for
277 ancient (gcc 2.9x) compilers
279 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
281 * text3.C (cursorNext): add tmp var
283 * text2.C (updateCounters): for function calling out of for clause
284 (replaceSelectionWithString): ditto
285 (insertStringAsParagraphs): ditto
286 (getColumnNearX): add tmp var
287 (setCursorFromCoordinates): add tmp var
288 (cursorDownParagraph): add tmp var
289 (deleteEmptyParagraphMechanism): add tmp var
291 * text.C (insertChar): add tmp var
293 * rowpainter.C (paintDepthBar): add tmp var
295 * CutAndPaste.C (availableSelections): potentially check all
296 paragraphs in a cut to fill the shown strings.
298 2003-06-18 André Pönitz <poenitz@gmx.net>
300 * kbmap.[Ch]: use vector<> instead of list<>
302 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
304 * text3.C (dispatch): handle arg to LFUN_PASTE, call
305 pasteSelection with index
307 * text2.C (pasteSelection): modify, call pasteSelection with index
309 * paragraph.C (asString): reimplement version with no interval to
310 call the one with interval.
312 * lyxtext.h: add index arg to pasteSelection
314 * MenuBackend.C (MenuItem): handle PasteRecent
315 (Menu::read::Menutags): add md_pasterecent
317 (expandPasteRecent): new function
320 * MenuBackend.h: add PasteRecent to MenuItem::Kind
322 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
324 (availableSelections): new function
326 2003-06-17 Angus Leeming <leeming@lyx.org>
328 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
330 2003-06-17 Angus Leeming <leeming@lyx.org>
333 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
335 * lyxfunc.C (dispatch): invoke it.
337 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
339 * iterators.C (operator++, ParPosition): reintroduce some
340 const_cast for the benefit of older compilers.
342 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
344 * text3.C (dispatch): do not modify clipboard when doing
345 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
346 LFUN_DELETE_SKIP on a selection selection
348 2003-06-16 André Pönitz <poenitz@gmx.net>
354 * tabular.[Ch]: IU of clone() and getLabelList();
356 2003-06-13 André Pönitz <poenitz@gmx.net>
358 * tabular.h: compactification
360 2003-06-12 André Pönitz <poenitz@gmx.net>
364 * tabular_funcs.h: some renaming plus whitespace
366 2003-06-12 André Pönitz <poenitz@gmx.net>
369 * BufferView_pimpl.C:
375 * toc.C: Return a Paragraph & for ParIterator::operator*()
377 2003-06-11 John Levon <levon@movementarian.org>
381 * ToolbarBackend.C: add "Toolbars" section and
384 2003-06-10 Angus Leeming <leeming@lyx.org>
387 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
389 * lyxfunc.C (dispatch): invoke it.
391 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
393 * main.C: protect <ios> with HAVE_IOS
394 (main): protect sync_with_stdio with HAVE_IOS
396 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
398 * text2.C (cutSelection): adjust
399 (pasteSelection): adjust
401 * messages.C: handle get of empty string
403 * main.C (main): use sync_with_stdio(false)
405 * lyxfunc.C (dispatch): adjust
407 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
408 (WriteAs): remove unneeded BufferView arg.
410 * bufferparams.h: use correct types on papersize, papersize2 and
413 * bufferparams.C (readToken): adjust for type
414 (writeLaTeX): add missing cases to switch.
416 * bufferlist.C (quitWriteBuffer): adjust
419 * buffer.C (asciiParagraph): remove some commented code.
421 * CutAndPaste.C: remove current_view extern variable.
422 (cutSelection): add BufferParams arg.
423 (eraseSelection): add BufferParams arg.
424 (pasteSelection): add Buffer const & arg
426 2003-06-07 John Levon <levon@movementarian.org>
434 * paragraph.C: allow InsetERT to freely space lines,
435 and some consolidation of code
437 2003-06-06 José Matos <jamatos@fep.up.pt>
439 * buffer.C (makeDocBookFile): fix bug #821
441 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
443 * BufferView_pimpl.C (dispatch): use Dialogs::visible
445 2003-06-04 Angus Leeming <leeming@lyx.org>
447 * buffer.C: bump format to 224.
449 2003-06-05 André Pönitz <poenitz@gmx.net>
451 * text2.C (redoParagraphs): remove two const_cast<>
453 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
455 * ParagraphList.h: remove last remnants of NO_STD_LIST
457 2003-06-03 Angus Leeming <leeming@lyx.org>
459 * factory.C (createInset): small change to the way InsetExternal's params
462 2003-06-04 André Pönitz <poenitz@gmx.net>
464 * buffer.h: use Undo directly instead of shared_ptr<Undo>
467 * paragraph.[Ch]: some Inset -> UpdatableInset changes
469 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
471 * undo_funcs.C: make some simple cases of undo work again
473 2003-06-03 John Levon <levon@movementarian.org>
475 * ispell.C: HPUX doesn't have sys/select.h
478 2003-06-03 John Levon <levon@movementarian.org>
480 * CutAndPaste.C: update tabular and include inset
485 * paragraph.C: remove owningBuffer(), don't pass Buffer
488 * factory.C: insetGraphicsParams changed
490 2003-06-02 John Levon <levon@movementarian.org>
496 * text3.C: remove insetparent
498 2003-06-02 John Levon <levon@movementarian.org>
501 * buffer.C: fix inset_iterator.end(), move out of line
504 2003-06-01 John Levon <levon@movementarian.org>
506 * text3.C: use a proper cut/paste when doing inset
507 insert (from Jürgen Spitzmüller)
509 2003-06-01 John Levon <levon@movementarian.org>
511 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
513 2003-05-30 André Pönitz <poenitz@gmx.net>
515 * rowpainter.C: unify second drawing phase
517 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
519 * trans_mgr.C: remove one case of current_view
521 * text2.C (cursorBottom): delete NO_STD_LIST stuff
523 * paragraph_funcs.h: remove paragraph.h include
525 * paragraph.h: delete NO_STD_LIST stuff
527 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
529 * buffer.h: remove paragraph.h include
531 * ParagraphList.C: delete file
533 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
535 * toc.C (getTocList): adjust
537 * paragraph_pimpl.C (validate): adjust
539 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
541 * paragraph.C (Paragraph): adjust
542 (getPositionOfInset): use const_iterator, adjust
543 (bibitem): use const_iterator, adjust
544 (setInsetOwner): adjust
546 * iterators.C (operator++): adjust
548 * InsetList.[Ch]: Replace selfmade iterator with standard
549 vector::iterator also introduce const_iterator. Remove getPos,
550 getInset and setInset from InsetTable. Adjust accordingly.
552 * BufferView.C (lockInset): adjust
553 (ChangeInsets): adjust
555 * tabular.[Ch]: delete commented same_id functions
557 2003-05-28 John Levon <levon@movementarian.org>
559 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
561 2003-05-28 André Pönitz <poenitz@gmx.net>
563 * metricsinfo.[Ch]: remove 'fullredraw' member
565 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
567 * lyxtextclass.C (operator): remove caching.
569 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
573 * text2.C (cursorBottom): adjust
574 (setCounter): use ParagraphList::find, adjust
576 * text.C (workWidth): use ParagraphList::find, adjust
578 * lyxcursor.C (LyXCursor): adjust
580 * buffer.C (inset_iterator): adjust
582 * ParagraphList.h: make iterator(value_type) private, make
583 ParagraphList a friend of iterator.
585 * ParagraphList.C (find): new function
587 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
589 2003-05-27 André Pönitz <poenitz@gmx.net>
591 * dimension.[Ch]: a -> asc, d -> des, w -> wid
593 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
595 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
597 2003-05-26 John Levon <levon@movementarian.org>
599 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
601 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
603 * remove same_id from function signatures, adjust.
605 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
607 * undo_funcs.C (createUndo): use the id functions directly, adjust.
609 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
611 * paragraph.C (Paragraph): get rid of same_ids parameter
613 * ParagraphList.C (insert): adjust
616 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
618 * paragraph_funcs.C (breakParagraph): adjust
619 (breakParagraphConservative): adjust
621 * buffer.C (readParagraph): adjust
623 * ParagraphList.C (insert): take a reference instead of a pointer
626 * paragraph.[Ch] (id): new function
628 * bufferlist.C (newFile): adjust
630 * ParagraphList.C (ParagraphList): adjust
632 (push_back): take a reference instead of a pointer.
634 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
636 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
639 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
640 set else use old code.
642 * ParagraphList.C: remove all NO_NEXT code and only compile this
643 code of NO_STD_LIST is set.
645 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
647 * BufferView_pimpl.C:
657 * graphics/GraphicsConverter.C:
658 * graphics/PreviewLoader.C: header adjustment
660 2003-05-23 Angus Leeming <leeming@lyx.org>
662 * LaTeXFeatures.[Ch] (useBabel): new method.
663 * bufferparams.C (writeLaTeX): use it.
665 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
667 * ParagraphList.h (set): remove unused function.
669 2003-05-23 André Pönitz <poenitz@gmx.net>
672 * BufferView_pimpl.C:
676 * undo_funcs.C: setUndo reworked
678 * iterators.[Ch]: add access to topmost ParagraphList
680 * lyxtext.[Ch] (workWidth): add a const
682 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
684 * texrow.[Ch] (increasePos): remove function
685 * exporter.C (export): removed unused var and outdated comment
687 2003-05-23 Angus Leeming <leeming@lyx.org>
689 * latexrunparams.h: rename fragile as moving_arg.
690 * paragraph.C (simpleTeXOnePar): ditto.
691 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
693 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
695 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
697 (textUndoOrRedo): comment out a currently unused var.
699 * paragraph.h (NO_NEXT): enable NO_NEXT
701 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
703 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
705 * exporter.C (Export): adjust for removeAutoInsets removal.
707 * buffer.C (runChktex): adjust for removeAutoInsets removal.
709 * LyXAction.C (init): remove LFUN_REMOVEERRORS
711 * BufferView.[Ch] (removeAutoInsets): delete function
713 2003-05-22 Angus Leeming <leeming@lyx.org>
715 * latexrunparams.h: add a free_spacing variable.
717 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
718 to pass moving_arg, as the data is stored in runparams.fragile.
720 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
721 to Inset::latexOptional or to simpleTeXOnePar.
723 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
724 free_spacing arg to Inset::latexOptional.
726 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
729 2003-05-22 Angus Leeming <leeming@lyx.org>
731 * latexrunparams.h: add fragile and use_babel variables.
733 * bufferparams.[Ch] (writeLaTeX): return use_babel.
734 * buffer.C (makeLaTeXFile): store this returned value in
735 runparams.use_babel, thus passing it to the inset::latex methods.
737 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
738 simpleTeXSpecialChars as it is now stored in runparams.fragile.
740 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
741 longer has a fragile arg, as it is stored in runparams.fragile.
743 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
744 moving_arg parameter as the data is stored in runparams.fragile.
746 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
747 a fragile parameter as the data is stored in runparams.fragile.
749 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
751 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
753 2003-05-22 Angus Leeming <leeming@lyx.org>
755 * latexrunparams.h: add a 'bool nice' which defaults to false.
757 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
758 now encapsulated within runparams.
760 * bufferlist.C (updateIncludedTeXfiles):
761 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
763 2003-05-22 Angus Leeming <leeming@lyx.org>
765 * latexrunparams.h: new file containing struct LatexRunParams.
766 * Makefile.am: add new file.
768 * LaTeX.[Ch] (c-tor, run):
769 * buffer.[Ch] (makeLaTeXFile):
770 * bufferlist.[Ch] (updateIncludedTeXfiles):
771 * converter.C (convert, scanLog):
772 * converter.[Ch] (runLaTeX):
773 * exporter.C (Export):
774 * paragraph.[Ch] (simpleTeXOnePar):
775 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
776 * paragraph_funcs.[Ch] (latexParagraphs):
777 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
778 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
779 pass around a LatexRunParams parameter.
781 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
783 * paragraph.[Ch]: remove unused constructor
785 * ParagraphList.C (erase): new function, taking two iterators
787 2003-05-22 André Pönitz <poenitz@gmx.net>
789 * undo_funcs.C: remove duplicated code
791 * iterator.[Ch]: operator=
793 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
795 * tabular.C (SetMultiColumn): ws changes
797 * rowpainter.C (paintFirst): get rid of a ->previous
799 * lyx_cb.C (getPossibleLabel): parlist simplification
801 * BufferView.C (ChangeInsets): simplify slightly.
803 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
805 * LyXAction.C: new lfun space-insert, kill protected-space-insert
806 * lfuns.h: new LFUN_SPACE
807 * lyxfunc.C: protected space has a new lfun
808 * paragraph_funcs.C: read new space insets
810 * factory.C: handle new space insets
812 2003-05-22 André Pönitz <poenitz@gmx.net>
815 * BufferView_pimpl.C:
818 * undo_funcs.C: return a ParIterator from getParFromID.
820 * iterators.[Ch]: add two const's
822 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
824 * toc.C (getTocList): adjust
826 * iterators.[Ch]: rework for parlist
828 * buffer.C (par_iterator_begin): adjust
829 (par_iterator_end): adjust
831 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
833 * BufferView.C (removeAutoInsets): adjust
834 (ChangeInsets): adjust
836 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
838 * text.C (top_y): fix bug 1110
840 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
842 * errorlist.[Ch]: added
845 * BufferView_pimpl.C:
846 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
849 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
851 * Makefile.am: ensure that lyx is relinked upon changes to the
852 various "convenience" libs.
854 2003-05-20 Angus Leeming <leeming@lyx.org>
856 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
857 files are compiled in alphabetical order again.
859 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
861 2003-05-19 Angus Leeming <leeming@lyx.org>
863 * gettext.[Ch]: remove "char const * _(char const *)".
865 2003-05-19 André Pönitz <poenitz@gmx.net>
867 * dimension.[Ch]: promote from mathed/dimension.[Ch]
876 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
878 2003-05-19 André Pönitz <poenitz@gmx.net>
884 * paragraph_funcs.[Ch]:
886 * text3.C: more insetenv work
888 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
890 * ParagraphParameters.C (params2string): small bug fixed
892 2003-05-16 André Pönitz <poenitz@gmx.net>
895 * bufferview_funcs.C: patch from Kornel Benko to prevent
896 crash when _(...) is called twice in a statement
898 2003-05-16 André Pönitz <poenitz@gmx.net>
905 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
907 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
909 * lyx_main.C (init): remove spurious static_cast
911 2003-05-14 André Pönitz <poenitz@gmx.net>
913 * BufferView.C: fix format string
915 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
917 * BufferView.[Ch] (insertErrors): removed
918 * BufferView.[Ch] (showErrorList): added
919 * buffer.C (runChkTeX):
920 * converter.C (scanLog): call showErrorList instead of inserterrors
922 2003-05-13 André Pönitz <poenitz@gmx.net>
924 * BufferView_pimpl.C:
933 * tabular_funcs.h: tostr() from its own header
935 * ParagraphParameters.C:
942 2003-05-12 André Pönitz <poenitz@gmx.net>
945 * BufferView_pimpl.C:
949 * ParagraphParameters.C:
953 * bufferview_funcs.C:
970 * text3.C: boost::format -> bformat all over the place
973 2003-05-09 André Pönitz <poenitz@gmx.net>
975 * LColor.[Ch]: Pimpl the #include <map> away
977 2003-05-09 John Levon <levon@movementarian.org>
979 * bufferlist.C: never remove emergency saves
981 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
983 * Makefile.am: better lib building
985 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
987 * texrow.[Ch]: remove dependency on Paragraph and just store a id
989 * paragraph_pimpl.C (simpleTeXBlanks): adjust
990 (simpleTeXSpecialChars): adjust
991 (simpleTeXSpecialChars): adjust
992 * paragraph.C (simpleTeXOnePar): adjust
993 * buffer.C (makeLaTeXFile): adjust
995 * Makefile.am (BOOST_LIBS): allow boost as system lib.
997 * text2.C (changeDepth): parlist cleanup
998 (getColumnNearX): ditto
1000 * rowpainter.C (getLabelFont): parlist cleanup
1002 * bufferlist.C (newFile): parlist cleanup
1004 * CutAndPaste.C (eraseSelection): parlist cleanup
1006 * BufferView_pimpl.C (trackChanges): parlist cleanup
1009 * BufferView.C (lockInset): parlist cleanup.
1010 (ChangeInsets): ditto
1012 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1014 * CutAndPaste.h: Update file header.
1016 * CutAndPaste.C: Update file header.
1017 Store the parts cut out of the Document in a limited_stack.
1018 (copySelection): adjust
1019 (pasteSelection): new function, takes the index in the limited stack.
1020 (nrOfParagraphs): adjust
1021 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1022 simplify error inset insertion.
1023 (checkPastePossible): adjust
1025 2003-05-06 John Levon <levon@movementarian.org>
1027 * text2.C: don't cast wrap inset to float
1029 2003-05-05 André Pönitz <poenitz@gmx.net>
1032 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1034 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1035 few naked Paragraph *.
1037 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1039 * bufferparams.C: Output warning if a document with missing
1040 TeX document class is loaded
1041 * exporter.C: Disable TeX exports if the document class is missing
1044 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1045 isTeXClassAvailable()
1047 2003-05-03 John Levon <levon@movementarian.org>
1050 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1051 explicit cursor show/hide
1053 * BufferView_pimpl.h:
1054 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1055 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1057 * lyxfunc.C: hide cursor before dispatching.
1062 * text3.C: remove explicit cursor hides
1064 2003-05-02 André Pönitz <poenitz@gmx.net>
1066 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1069 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1072 * text2.C: tiny whitespace
1074 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1076 * undo_funcs.C: almost only ws changes.
1078 * ParagraphList.C (splice): just return if pl is empty.
1080 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1082 * ParagraphList.C (splice): new function.
1084 * CutAndPaste.C (pasteSelection): use it
1086 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1088 * CutAndPaste.C (pasteSelection): remove the last next and
1089 previous from this file.
1091 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1093 * CutAndPaste.C (pasteSelection): more clean up, user proper
1094 ParagraphList functions for pasteing.
1096 * ParagraphList.C (insert): new function, three arg insert
1098 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1100 * ParagraphList.C (insert): new function, three arg insert
1102 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1105 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1107 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1109 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1111 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1113 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1115 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1116 (copySelection): clean up a bit.
1117 (pasteSelection): use make_pair
1119 * ParagraphList.C (ParagraphList): implement copy constructor
1120 (operator=): implement, base on copy constructor.
1123 * paragraph.C (erase): return a bool
1125 * paragraph_pimpl.C (erasePos): remove function, move contents...
1126 (erase): ... here. Return a bool.
1127 (erase): call erase instead of erasePos.
1129 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1131 * ParagraphList.h: define PitPosPair
1132 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1133 ParagraphList, fix a bug on pasting multiple pars
1134 * text2.C: change interface to C&P
1136 2003-04-30 André Pönitz <poenitz@gmx.net>
1138 * undo_func.C: revert part of yesterday's patch 2
1140 2003-04-30 John Levon <levon@movementarian.org>
1142 * LColor.C: s/tabular/table/
1144 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1146 * text3.C (dispatch): do not convert iterator -> pointer
1147 * undo_funcs.C (setCursorParUndo): ditto
1148 * text_funcs.C (transposeChars): ditto
1150 * text2.C (setLayout): ws changes only
1152 * text.C (breakParagraph): do not convert iterator -> pointer
1154 (acceptChange): ditto
1155 (rejectChange): ditto
1160 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1163 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1165 * text3.C (gotoInset): YABG (yet another bad getChar)
1167 2003-04-29 André Pönitz <poenitz@gmx.net>
1169 * paragraph.h: make operator= private unimplemented as long as
1172 * ParagraphList.C: whitespace
1175 * paragraph_pimpl.[Ch]:
1176 * paragraph_funcs.C:
1178 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1181 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1183 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1185 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1186 * paragraph.[Ch] (erase):
1187 * paragraph_pimpl.[Ch] (erase): change return type and value
1188 * text2.C (cutSelection): some rework
1190 2003-04-28 John Levon <levon@movementarian.org>
1192 * bufferlist.C: changes for unsaved changes dialog
1194 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1196 * bufferlist.C (newFile): set language (messages_) for new
1199 * buffer.C (readFile): ws changes only.
1201 2003-04-28 André Pönitz <poenitz@gmx.net>
1206 * BufferView_pimpl.C:
1207 * BufferView.C: getParFromID related ParagraphList::iterator changes
1209 2003-04-28 André Pönitz <poenitz@gmx.net>
1211 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1214 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1216 * messages.C: remove one more localedir class variable.
1218 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1220 * messages.C (getLocaleDir): singleton generation function
1222 (Messages): add a default constructor.
1224 * main.C (main): do not setup localedir here, do not call
1227 * gettext.C (_): use it.
1228 (gettext_init): delete funciton
1230 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1232 * gettext.C (getLyXMessages): new singleton generating function.
1234 * buffer.C (updateDocLang): adjust
1236 * Makefile.am (messages.o): add target
1237 (main.o): remove target
1239 2003-04-27 John Levon <levon@movementarian.org>
1244 * lyxvc.C: specify cancel button in Alert::prompt
1246 2003-04-26 John Levon <levon@movementarian.org>
1251 * LyXAction.C: add LFUN_INSET_SETTINGS
1253 * lyxfunc.C: don't enable tabular-feature when there's
1254 just any locking inset
1256 2003-04-26 John Levon <levon@movementarian.org>
1258 * bufferlist.C: re-add Cancel to buffer close question
1260 * lyxfunc.C: fix import UI a bit
1262 2003-04-25 John Levon <levon@movementarian.org>
1264 * gettext.C: remove the broken asserts for now
1266 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1268 * messages.C: make case where setlocale cannot comply work better.
1270 * buffer.C (updateDocLang): new function
1271 (changeLanguage): use it
1274 * text2.C (setCounter): use B_ a bit.
1276 * lyxlayout.C (Read): be sure to trim the label strings.
1278 * messages.C (Messages): fix typo in comment
1280 * buffer.C (readFile): set message_ after file is loaded.
1281 (makeDocBookFile): remove double return
1282 (changeLanguage): reset message_ upon language change.
1283 (B_): new func, use this to get translated buffer strings.
1285 * main.C: add myself and Jean Marc as authors.
1287 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1289 * messages.[hC]: pimplify Messages, and three different pimpls to be
1290 used in different circumstances.
1292 * gettext.[Ch]: change for use with new message code.
1294 2003-04-24 André Pönitz <poenitz@gmx.net>
1296 * factory.C: support for eqref
1298 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1300 * messages.[Ch]: add missing char
1302 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1304 * messages.[Ch]: New files
1306 2003-04-18 John Levon <levon@movementarian.org>
1310 * BufferView_pimpl.C:
1314 * text2.C: remove layout-copy/paste (bug 778)
1316 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1318 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1320 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1322 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1323 if they succeed. Act accordingly.
1325 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1327 * text2.C (setCharFont): adjust
1328 (setCounter): adjust
1329 (insertStringAsLines): adjust
1331 * text.C (leftMargin): adjust
1332 (setHeightOfRow): adjust
1334 * rowpainter.C (paintFirst): adjust
1337 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1339 (isFirstInSequence): ditto
1340 (getEndLabel): ditto
1343 * paragraph.C (getParLanguage): comment out some hard stuff.
1345 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1347 (simpleDocBookOnePar): ditto
1348 (makeDocBookFile): use ParagraphList::iterator
1350 * CutAndPaste.C (pasteSelection): adjust
1352 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1354 * text2.C (getFont): adjust
1355 (getLayoutFont): adjust
1356 (getLabelFont): adjust
1358 * paragraph_funcs.C (TeXOnePar): adjust
1360 * buffer.C (simpleLinuxDocOnePar): adjust
1361 (simpleDocBookOnePar): adjust
1363 * CutAndPaste.C (pasteSelection): adjust
1365 * BufferView.C (getEncoding): adjust
1367 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1369 2003-04-16 John Levon <levon@movementarian.org>
1371 * lyxfind.C: use parlist stuff for search/changes
1373 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1375 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1377 * text2.C (deleteEmptyParagraphMechanism): adjust
1379 * text2.[Ch] (ownerParagraph): delete func (both of them
1381 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1383 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1385 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1387 * ParagraphList.C: prepare for NO_NEXT
1389 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1391 * text2.C (getFont): adjust
1392 (getLayoutFont): adjust
1393 (getLabelFont): adjust
1395 * paragraph.C (getFont): adjust
1396 (getLabelFont): adjust
1397 (getLayoutFont): adjust
1399 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1401 2003-04-15 John Levon <levon@movementarian.org>
1405 * lyx_main.C: handle Include in .ui files
1407 2003-04-15 John Levon <levon@movementarian.org>
1409 * MenuBackend.C: make the doc files length shorter
1412 * ToolbarBackend.C: handle toolbar placement flags,
1415 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1417 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1420 * paragraph_funcs.C (TeXOnePar): adjust
1422 * paragraph.C (getLabelFont): add outerfont arg, adjust
1423 (getLayoutFont): ditto
1424 (simpleTeXOnePar): adjust
1426 * paragraph_pimpl.C (realizeFont): delete func
1428 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1430 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1431 row argument, constify cur argument.
1433 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1435 * text2.C (getFont): adjust
1436 (getLayoutFont): adjust
1437 (getLabelFont): adjust
1439 * paragraph_funcs.C (TeXOnePar): adjust
1440 (outerFont): new func...
1441 (realizeFont): ...moved out from here, changed this to facilitate
1444 * paragraph.C (getFont): take outerfont as arg, adjust
1445 (simpleTeXOnePar): add outerfont arg, adjust
1447 * buffer.C (simpleLinuxDocOnePar): adjust
1448 (simpleDocBookOnePar): adjust
1450 * CutAndPaste.C (pasteSelection): adjust
1452 * BufferView.C (getEncoding): adjust
1454 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1456 * text2.C (setCharFont): adjust
1457 (setCounter): adjust
1459 * text.C (leftMargin): adjust
1460 (setHeightOfRow): adjust
1462 * rowpainter.C (paintFirst): adjust
1465 * paragraph_pimpl.C (realizeFont): adjust
1467 * paragraph.C (isFirstInSequence): move from here...
1468 * paragraph_funcs.C (isFirstInSequence): ...to here
1470 * paragraph.C (outerHook): move from here...
1471 * paragraph_funcs.C (outerHook): ...to here
1473 * paragraph.C (depthHook): move from here...
1474 * paragraph_funcs.C (depthHook): ...to here
1476 * paragraph.C (getEndLabel): move from here...
1477 * paragraph_funcs.C (getEndLabel): ...to here
1479 * text2.C (realizeFont): move from here...
1480 * paragraph_funcs.C (realizeFont): ...to here
1482 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1484 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1486 2003-04-14 Angus Leeming <leeming@lyx.org>
1488 * LColor.[Ch]: scrap LColor mathcursor.
1490 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1492 * lyxlex.[Ch] (text): delete function
1493 * trans.C (Load): adjust
1494 * paragraph_funcs.C (readParToken): adjust
1496 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1498 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1499 vector<char> instead of a char[].
1501 * lyxlex_pimpl.C (getString): adjust
1503 (lex): use getString
1507 * lyxlex.C (text): use pimpl_->getString()
1511 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1513 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1514 (makeFontEntriesLayoutSpecific): temp var for par.size()
1515 (setLayout): temp var for ownerParagraphs().end()
1516 (fullRebreak): temp var for rows().end()
1517 (selectionAsString): temp var for boost::next(startpit), realize
1518 that the while really is a regular for loop.
1519 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1520 setCursor in one place.
1521 (setParagraph): temp vr for ownerParagraphs().end()
1522 (updateCounters): make the while loop a for loop
1523 (cutSelection): temp var for ownerParagraphs().end()
1524 (updateInset): make the do {} while() a regular for loop
1525 (getCursorX): use temp vars
1526 (setCurrentFont): use temp vars
1527 (getColumnNearX): use temp vars
1529 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1531 * text.C (transformChar): use temp var for getChar
1532 (computeBidiTables): use temp var for row->par()
1533 (fill): move temp vars for row->par() and pit->layout() earlier in
1535 (labelFill): use temp var for row->par()
1536 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1537 asc and desc, realize that pit never changes and that firstpit is
1538 just a duplicate and not needed. Exchange rit->par() with pit in a
1540 (breakAgain): use a temp var for boost::next(rit)
1541 (breakAgainOneRow): ditto
1542 (breakParagraph): use a temp var for rows().begin()
1543 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1544 (cursorRightOneWord): use temp var for cursor.par() and
1545 cursor.pos(), remove usage of tmpcursor.
1546 (cursorLeftOneWord): use temp var for cursor.par() and
1547 cursor.pos() only set cur at end of function.
1549 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1551 * text.C, text2.C: exchange all usage of Paragraph::next with
1552 boost::next(ParagraphList::iterator)
1554 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1556 * text2.C (cursorTop): simplify implementation
1557 (cursorBottom): ditto
1558 (setParagraph): use ParagraphList::iterator
1559 (setCurrentFont): adjust
1560 (getColumnNearX): adjust
1561 (cursorRight): adjust
1562 (cursorLeft): remove usage of Paragraph::previous
1563 (cursorUpParagraph): ditto
1564 (deleteEmptyParagraphMechanism): slight cleanup
1566 * text.C (isBoundary): take a Paragraph const & instead of a
1568 (addressBreakPoint): ditto
1569 (leftMargin): remove usage of Paragraph::previous.
1570 (setHeightOfRow): ditto
1571 (cursorLeftOneWord): ditto
1572 (selectNextWordToSpellcheck): ditto
1575 (breakParagraph): remove one usage of Paragraph::next
1576 (redoParagraph): ditto
1577 (acceptChange): ditto
1578 (insertChar): adjust
1579 (rowBreakPoint): adjust
1581 * bufferview_funcs.C (toggleAndShow): adjust
1583 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1585 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1586 methods to access it.
1588 * text.C: Added updateRowPositions to compute all row positions.
1589 Make top_y and getRowNearY() to use the cached y position
1591 2003-04-11 John Levon <levon@movementarian.org>
1593 * text.C (rowBreakPoint): reintroduce the labelEnd
1594 checks, code copied from the row fill stuff. Deep voodoo.
1596 * text.C (fill): add a comment and debugging for the
1599 2003-04-11 John Levon <levon@movementarian.org>
1601 * text.C: make sure fullrow insets get wrapped to the next line,
1602 even when they're in a manual label
1604 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1606 * text2.C (insertParagraph): make it take ParagraphList::iterator
1608 (setLayout): make it return ParagraphList::iterator
1609 (redoParagraphs): ditto
1611 (checkParagraph): ditto
1613 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1615 * text2.C: adjust several funcs.
1616 (realizeFont): take a ParagraphList::iterator as arg.
1617 (getLayoutFont): ditto
1618 (getLabelFont): ditto
1619 (setCharFont): ditto
1621 * text.C: adjust several funcs.
1623 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1625 * text.C (selectNextWordToSpellcheck): don't accidentally
1628 2003-04-10 John Levon <levon@movementarian.org>
1630 * ToolbarBackend.C (getIcon): special handling for
1633 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1635 * text2.C (cursorRight): a getChar assert fixed
1637 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1639 * text2.C (getFont): change to take a ParagraphList::iterator
1640 instead of Paragraph*
1641 Adjust several functions.
1643 * text.C (transformChar): change to take a ParagraphList::iterator
1644 instead of Paragraph*
1645 (singleWidth): ditto
1646 Adjust several functions.
1648 * rowpainter.C: adjust several functions
1649 * rowpainter.h:store a ParagraphList::iterator and not a
1653 2003-04-09 John Levon <levon@movementarian.org>
1658 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1659 and the "help" bits as well
1661 2003-04-09 John Levon <levon@movementarian.org>
1664 * ToolbarBackend.C: allow multiple toolbars
1666 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1668 * undo_funcs.C (setCursorParUndo): adjust
1670 * text_funcs.C (transposeChars): adjust
1672 * text3.C (gotoNextInset): adjust
1675 * text2.C (setLayout): adjust
1676 (changeDepth): adjust
1678 (redoParagraphs): adjust
1679 (selectionAsString): adjust
1680 (setParagraph): adjust
1681 (insertInset): adjust
1682 (cutSelection): adjust
1683 (copySelection): adjust
1684 (pasteSelection): adjust
1685 (insertStringAsLines): adjust
1686 (updateInset): adjust
1687 (setCursor): change to take a ParagraphList::iterator parameter
1688 (setCursorIntern): change to take a ParagraphList::iterator parameter
1689 (setCurrentFont): adjust
1690 (cursorLeft): adjust
1691 (cursorRight): adjust
1692 (deleteEmptyParagraphMechanism): adjust
1694 * text.C (breakParagraph): adjust
1695 (insertChar): adjust
1696 (acceptChange): adjust
1697 (rejectChange): adjust
1698 (selectNextWordToSpellcheck): adjust
1699 (changeCase): adjust
1703 * lyxfind.C (SearchForward): adjust
1704 (SearchBackward): adjust
1705 (nextChange): adjust
1707 * lyxcursor.C (par): adjust
1709 * lyxcursor.h: store a ParagraphList::iterator instead of a
1712 * lyx_cb.C (getPossibleLabel): adjust
1714 * bufferview_funcs.C (toggleAndShow): adjust
1716 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1719 * BufferView.C (removeAutoInsets): adjust
1720 (lockedInsetStoreUndo): adjust
1722 2003-04-09 John Levon <levon@movementarian.org>
1724 * ToolbarBackend.C: try icon without argument
1725 if with argument fails
1727 2003-04-08 John Levon <levon@movementarian.org>
1730 * ToolbarBackend.C: add getIcon(), handle tooltip,
1731 and change from "Icon" to "Item".
1733 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1735 * BufferView.C (lockInset): another bad getchar crunched
1737 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1739 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1742 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1744 * lyxfind.C (searchForward, searchBackwards): bug 782
1746 2003-04-07 John Levon <levon@movementarian.org>
1748 * paragraph.C: remove dead comment
1750 * text.C: remove troublesome depth-fiddling code
1751 in leftMargin() and rightMargin() (bug 1017)
1753 * text.C: fix breaking of rows in nested lists
1756 * text2.C (updateCounters): fix up depth values
1759 2003-04-07 John Levon <levon@movementarian.org>
1761 * BufferView_pimpl.C: clear message when doc finishes resizing,
1762 and after a mouse event
1764 * lyxfunc.C: clear message after exiting inset
1766 2003-04-07 John Levon <levon@movementarian.org>
1768 * bufferview_funcs.C: show math status not outside
1769 status in the statusbar
1771 2003-04-07 John Levon <levon@movementarian.org>
1773 * lyxfunc.C: note status changed after a depth change
1775 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1777 * LaTeX.h: move AuxInfo operator==, != out of line.
1778 Remove LaTeX virtual destructor; nothing derives from it.
1779 Move operator()() out of public area and rename it startscript().
1780 Change protected for private.
1782 2003-04-04 Angus Leeming <leeming@lyx.org>
1785 * text2.C: remove unneeded #includes.
1787 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1789 * text2.C (dEPM): fix the heigth of the next row
1791 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1793 * text.C: squashed an invalid getChar requester + some ws changes
1795 2003-04-03 John Levon <levon@movementarian.org>
1797 * bufferview_funcs.h:
1798 * bufferview_funcs.C:
1801 * text2.C: make getStatus work for the env depth lfuns
1803 2003-04-03 John Levon <levon@movementarian.org>
1805 * bufferview_funcs.h:
1806 * bufferview_funcs.C:
1809 * text2.C: parlistize decDepth(), by merging it with incDepth()
1811 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1813 * lyxrow.h: store a ParagraphList::iterator instead of a
1814 Paragraph* and adjust other class functions to suit.
1816 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1819 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1821 * text2.C (setCursor): do not anchor to cursor row for the time being
1823 2003-04-02 John Levon <levon@movementarian.org>
1830 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1832 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1834 * paragraph.h: make ParagraphList and ParagraphList::iterator
1835 friends of Paragraph.
1837 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1839 * ParagraphList.C: Use the private next_ and previous_ from
1842 2003-04-01 John Levon <levon@movementarian.org>
1846 * Makefile.am: rename, remove defaults gunk
1849 * MenuBackend.C: remove defaults gunk
1852 * Languages.C: remove defaults gunk
1855 * lyx_main.C: error out if files couldn't be found.
1857 2003-04-02 John Levon <levon@movementarian.org>
1859 * text2.C: make incDepth() use parlist
1861 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1863 * undo_funcs.C (firstUndoParagraph): adjust
1865 * text3.C (gotoInset): adjust
1866 (dispatch): adjust, and rewrite loop.
1868 * text2.C (init): adjust, and rewrite loop.
1869 (redoParagraphs): adjust
1870 (updateInset): adjust, and rewrite loop.
1871 (deleteEmptyParagraphMechanism): adjust
1873 * tabular.C (LyXTabular): adjust
1874 (SetMultiColumn): adjust
1877 * lyxtext.[Ch] (ownerParagraph): delete function
1878 (ownerParagraphs): new function returns a ParagraphList.
1880 * BufferView.C (removeAutoInsets): adjust
1881 (insertErrors): adjust
1882 (setCursorFromRow): adjust
1884 2003-04-01 Angus Leeming <leeming@lyx.org>
1886 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1889 2003-04-02 John Levon <levon@movementarian.org>
1895 * text_funcs.C: make transposeChars a free function
1897 * lyxrow_funcs.C: remove wrong comment
1899 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1902 * rowpainter.C: adjust
1907 * lyxrow_funcs. [Ch]: new files
1909 * lyxrow.[Ch]: remove next and previous pointers
1910 (next,previous): remove accessor functions
1911 (isParEnd): move to lyxrow_funcs
1912 (lastPos): move to lyxrow_funcs
1913 (nextRowIsAllInset): move to lyxrow_funcs
1914 (lastPrintablePos): move to lyxrow_funcs
1915 (numberOfSeparators): move to lyxrow_funcs
1916 (numberOfHfills): move to lyxrow_funcs
1917 (numberOfLabelHfills): move to lyxrow_funcs
1918 (hfillExpansion): move to lyxrow_funcs
1922 * bufferview_funcs.C (toggleAndShow): adjust
1924 * RowList.h: Remove class RowList from file leave just a
1927 * RowList.C: delete file
1929 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1932 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1934 * text3.C (cursorPrevious): adjust
1935 (cursorNext): adjust
1938 * text2.C (redoHeightOfParagraph): adjust
1939 (redoDrawingOfParagraph): adjust
1942 * text.C (breakParagraph): adjust
1943 (insertChar): adjust
1946 * rowpainter.C (RowPainter): adjust
1947 (leftMargin): simplify and adjust
1948 (most rowpainter functions): adjust.
1950 * rowpainter.h: store the row as RowList::iterator not as Row*
1952 * lyxcursor.C (row): taka RowList::iterator as arg
1955 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1958 2003-04-01 Angus Leeming <leeming@lyx.org>
1960 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1961 stuff like bool Bool.
1963 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1965 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1968 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1970 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1973 * lyxtext.h (rows): drop one version and leve a const variant that
1974 returns a RowList::iterator.
1976 2003-03-31 Angus Leeming <leeming@lyx.org>
1978 * text.C (fill): ensure that the signature is the same as that in the
1981 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1983 * text2.C (redoParagraphs): adjust
1984 (updateCounters): adjust
1985 (checkParagraph): adjust
1986 (getColumnNearX): adjust and reformat a bit.
1988 * text.C (top_y): adjust
1990 (leftMargin): adjust
1991 (prepareToPrint): adjust
1993 (getRowNearY): adjust
1995 * lyxtext.h: make rowlist_ mutable.
1997 * RowList.h: add const_iterator
1998 * RowList.C: adjust for RowList::const_iterator.
2000 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2003 2003-03-31 John Levon <levon@movementarian.org>
2006 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2008 * lyx_main.C: set default fonts from using lyx_gui funcs
2010 * exporter.C: pdf_mode moved from lyxrc
2013 * lyxfunc.C: changes from above
2015 2003-03-31 John Levon <levon@movementarian.org>
2017 * lyx_main.C: fix to the last fix
2019 2003-03-31 John Levon <levon@movementarian.org>
2021 * bufferlist.C: "Load original" -> "Load Original"
2027 * format.C: more Alert cleanups
2029 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2031 * text2.C (removeParagraph): make it take a RowList::iterator as
2033 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2034 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2036 * text.C (anchor_row): make it take a RowList::iterator as arg,
2038 (computeBidiTables): make it take a const reference to Row instead
2039 of Row pointer, adjust.
2040 (leftMargin): make it take a RowList::iterator as arg, adjust.
2041 (rowBreakPoint): adjust
2042 (breakAgainOneRow): make it take a RowList::iterator as arg,
2044 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2046 * bufferview_funcs.C (toggleAndShow): adjust
2048 2003-03-30 John Levon <levon@movementarian.org>
2052 * boost-inst.C: moved to support
2054 * several files: changes as a result
2056 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2058 * text2.C (LyXText): adjust.
2060 (removeRow): make it take a RowList::iterator as arg, adjust.
2061 (fullRebreak): adjust
2062 (deleteEmptyParagraphMechanism): adjust
2063 (clearPaint): adjust
2066 * text.C (top_y): adjust
2067 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2068 (breakAgain): make it take a RowList::iterator as arg, adjust.
2069 (breakParagraph): adjust
2070 (insertChar): adjust
2073 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2074 need_break_row, and refresh_row.
2076 * text3.C (dispatch): adjust
2078 * text2.C (checkParagraph): adjust
2080 (setCursorFromCoordinates): adjust
2082 * text.C (top_y): adjust
2084 (getRow): make it return a RowList::iterator, adjust
2085 (getRowNearY): make it return a RowList::iterator, adjust
2087 * text2.C (init): adjust
2088 (insertRow): remove function
2089 (insertParagraph): adjust
2090 (redoParagraphs): adjust
2091 (fullRebreak): adjust
2092 (updateCounters): adjust
2094 * text.C (top_y): rewrite to use RowList iterators.
2096 (setHeightOfRow): rewrite to sue RowList iterators.
2097 (appendParagraph): adjust
2098 (breakAgain): adjust
2099 (breakAgainOneRow): adjust
2100 (breakParagraph): adjust
2102 (getRowNearY): adjust, and remove commented code.
2104 * lyxtext.h (firstRow): delete function
2105 (lastRow): delete function
2106 (rows): new function (const and non-const versions.)
2107 (insertRow): delete function
2109 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2111 2003-03-29 John Levon <levon@movementarian.org>
2113 * BufferView_pimpl.C: always update scrollbar top
2114 because pasting text when we're anchored could mean we
2115 miss an update altogether
2117 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2119 * text2.C (init): use rowlist_.end() and not 0.
2120 (insertRow): change to take a RowList::iterator as arg, adjust
2122 (insertParagraph): change to take a RowList::iterator as arg,
2124 (redoParagraphs): remove some debug msgs.
2126 * text.C (appendParagraph): change to take a RowList::iterator
2127 arg, adjust for this.
2128 (breakAgain): add an assert
2129 (breakAgainOneRow): ditto
2131 2003-03-29 John Levon <levon@movementarian.org>
2133 * text2.C: do not clear selection after inc/decDepth
2136 2003-03-29 John Levon <levon@movementarian.org>
2139 * buffer.C: fix broken strerrors according to Lars
2141 2003-03-29 John Levon <levon@movementarian.org>
2143 * converters.C: more Alert cleanups
2145 2003-03-29 John Levon <levon@movementarian.org>
2147 * bufferview_funcs.C: remove pointless Alert
2149 * buffer.C: fix confusing error message when
2150 a template is chmoded 000
2152 2003-03-29 John Levon <levon@movementarian.org>
2156 * BufferView_pimpl.C: Alert fixes
2160 * tabular-old.C: remove unused table compat reading
2162 2003-03-29 John Levon <levon@movementarian.org>
2167 * lyx_cb.C: more Alert cleanups
2169 * lyxfunc.C: don't allow chktex if not latex document
2171 2003-03-29 John Levon <levon@movementarian.org>
2175 * buffer.C: warnings pushed down from support/,
2178 2003-03-29 John Levon <levon@movementarian.org>
2180 * lyxfunc.C: safety check for C-r (revert)
2182 2003-03-29 John Levon <levon@movementarian.org>
2185 * bufferlist.C: several UI fixes using Alert::prompt.
2186 Fix the pointless looping quit code. Fix stupid revert
2191 * lyx_cb.C: use Alert::prompt
2193 * lyx_main.C: remove a silly question
2195 * lyxfunc.C: remove a couple of silly questions,
2198 2003-03-28 John Levon <levon@movementarian.org>
2200 * text2.C: fix bug 974 (End on empty par)
2202 2003-03-28 John Levon <levon@movementarian.org>
2204 * BufferView_pimpl.C:
2206 * lfuns.h: remove do-nothing math greek lfuns
2208 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2210 * lyxgluelength.h (isValidGlueLength): add default arg on
2211 parameter 2. Remove default arg from friend in class.
2213 * lyxlength.h (isValidLength): add default arg on parameter 2.
2214 Remove default arg from friend in class.
2216 * text2.C (LyXText): adjust, initialize refresh_row.
2220 (insertParagraph): adjst
2221 (redoParagraphs): adjust
2222 (fullRebreak): adjust
2223 (updateCounters): adjust
2224 (deleteEmptyParagraphMechanism): first attempt at fixing a
2227 * text.C (top_y): adjust
2228 (setHeightOfRow): adjust
2230 (getRowNearY): adjust
2232 * lyxtext.h: include RowList.h
2233 (~LyXText): not needed anymore, deleted.
2234 (firstRow): modify for RowList
2235 (lastRow): new function
2236 Delete firstrow and lastrow class variables, add a Rowlist
2237 rowlist_ class variable.
2239 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2242 * RowList.C (insert): fix case where it == begin().
2244 2003-03-26 Angus Leeming <leeming@lyx.org>
2246 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2247 the thesaurus dialog.
2249 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2251 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2253 * RowList.[Ch]: new files
2255 * ParagraphList.C (erase): handle the case where it == begin
2258 2003-03-25 John Levon <levon@movementarian.org>
2262 * aspell.C: add new aspell support
2265 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2268 2003-03-25 Angus Leeming <leeming@lyx.org>
2271 * LyXAction.C (init): new LFUN_INSET_INSERT.
2273 * BufferView_pimpl.C (dispatch): split out part of the
2274 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2276 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2279 2003-03-25 Angus Leeming <leeming@lyx.org>
2281 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2283 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2286 * text3.C: remove useless row->height(0)
2288 2003-03-25 John Levon <levon@movementarian.org>
2292 * text3.C: rename the refreshing stuff to better names
2294 2003-03-24 John Levon <levon@movementarian.org>
2296 * BufferView_pimpl.h:
2297 * BufferView_pimpl.C: update layout choice on a mouse
2300 2003-03-23 John Levon <levon@movementarian.org>
2302 * Makefile.am: fix commandtags.h reference
2304 2003-03-22 John Levon <levon@movementarian.org>
2306 * BufferView_pimpl.C:
2311 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2313 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2316 * text.C: take the rtl methods out of line
2318 2003-03-21 André Pönitz <poenitz@gmx.net>
2320 * metricsinfo.[Ch]: new files containing structures to be passed around
2321 during the two-phase-drawing...
2323 2003-03-21 André Pönitz <poenitz@gmx.net>
2325 * lyxtextclass.C: read 'environment' tag.
2327 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2329 * text2.C (removeRow): fix bug 964
2331 2003-03-20 John Levon <levon@movementarian.org>
2335 * text2.C: paint cleanups. Inset::update() dropped font
2338 2003-03-19 John Levon <levon@movementarian.org>
2340 * lyxfunc.C: only fitcursor/markDirty if available()
2342 2003-03-19 John Levon <levon@movementarian.org>
2344 * commandtags.h: rename to ...
2346 * lfuns.h: ... this, and renumber / cleanup
2348 2003-03-19 John Levon <levon@movementarian.org>
2350 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2351 fit the cursor after an lfun
2355 * BufferView_pimpl.h:
2356 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2358 * LyXAction.C: layout-character should have ReadOnly
2360 * ParagraphParameters.C:
2362 * bufferview_funcs.C:
2369 * undo_funcs.C: changes from above
2371 2003-03-18 John Levon <levon@movementarian.org>
2373 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2374 remove it from update()
2376 * lyxfunc.C: update layout choice after an lfun
2378 * text3.C: remove extra updateLayoutChoice()s
2380 2003-03-18 John Levon <levon@movementarian.org>
2382 * text.C: top_y change means full repaint, fix
2383 a drawing bug with cursor movement
2385 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2389 * text2.C: anchor row on setCursor
2391 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2393 * lyxtext.h: remove almost all mutable keywords
2396 * text3.C: remove const keywords accordingly
2398 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2400 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2402 (TeXEnvironment): ditto
2405 2003-03-17 John Levon <levon@movementarian.org>
2407 * text.C (rowBreakPoint): remove attempt to fix displayed
2408 math insets inside a manual label
2410 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2412 * lyxtext.h: remove BufferView* as first arg from almost all class
2414 * other files: adjust.
2416 2003-03-17 John Levon <levon@movementarian.org>
2420 * text2.C: more paint cleanups
2422 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2425 * rowpainter.C: remove "smart" background painting code
2427 2003-03-16 John Levon <levon@movementarian.org>
2432 * text3.C: add helper functions for setting refresh_row/y
2434 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2436 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2437 newline inset which *can* get inserted in the pass_thru layouts.
2438 This is primarily for literate documents.
2440 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2442 * buffer.C: increment LYX_FORMAT to 223
2444 2003-03-14 André Pönitz <poenitz@gmx.net>
2446 * textclass.h: prepare for environment handling, ws changes
2447 * lyxlayout.C: read latexheader and latexfooter tags
2449 2003-03-14 John Levon <levon@movementarian.org>
2451 * text2.C: rewrite ::status() a bit
2453 2003-03-13 John Levon <levon@movementarian.org>
2455 * lyxtext.h: add some docs
2457 2003-03-13 John Levon <levon@movementarian.org>
2462 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2464 2003-03-13 John Levon <levon@movementarian.org>
2466 * text3.C: fix appendix redrawing
2468 2003-03-13 John Levon <levon@movementarian.org>
2470 * text.C (setHeightOfRow):
2472 * rowpainter.C: make appendix mark have the text
2473 "Appendix" so the user knows what it is
2476 * LColor.C: s/appendixline/appendix/ from above
2478 2003-03-13 John Levon <levon@movementarian.org>
2480 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2482 * text.C: fix a getChar(pos) bug properly
2484 2003-03-13 Angus Leeming <leeming@lyx.org>
2487 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2488 Probably only temporary. Let's see how things pan out.
2490 * BufferView.C (unlockInset):
2491 * BufferView_pimpl.C (fitCursor):
2492 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2494 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2495 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2497 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2498 new functions that convert ParagraphParameters to and from a string.
2500 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2501 BufferView::Pimpl's dispatch.
2502 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2504 2003-03-13 André Pönitz <poenitz@gmx.net>
2508 * factory.C: make it aware of InsetEnv
2510 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2512 * text2.C (setCursor): never ask for one past last
2513 (setCursor): add some debugging messages.
2515 * text.C (singleWidth): never ask for one past last
2516 (singleWidth): ditto
2518 (rightMargin): ditto
2519 (rowBreakPoint): ditto
2520 (setHeightOfRow): ditto
2521 (prepareToPrint): ditto
2523 * rowpainter.C (paintBackground): never ask for one past last
2524 (paintText): never ask for one past last
2526 * paragraph_pimpl.C (getChar): make the assert stricter, never
2527 allow the one past last pos to be taken
2529 * paragraph.C (getChar): ws changes only
2531 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2532 (numberOfSeparators): ditto
2533 (numberOfHfills): ditto
2535 2003-03-12 John Levon <levon@movementarian.org>
2541 * paragraph_funcs.C: fix per-buffer authorlists
2543 2003-03-12 John Levon <levon@movementarian.org>
2545 * text.C: fix newline in right address
2547 2003-03-12 Angus Leeming <leeming@lyx.org>
2549 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2550 duplicate those in LyXFunc::dispatch.
2554 * ToolbarDefaults.C:
2555 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2556 Add LFUN_FONTFREE_UPDATE.
2558 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2559 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2561 * bufferview_func.[Ch]: several new functions to facilliate
2562 transfer of data to and from the character dialog.
2564 2003-03-12 John Levon <levon@movementarian.org>
2569 * paragraph_funcs.C:
2570 * paragraph_pimpl.C:
2574 * text3.C: remove META_NEWLINE in favour of an inset
2577 * rowpainter.C: remove paintNewline (done by inset)
2579 2003-03-12 John Levon <levon@movementarian.org>
2581 * paragraph_pimpl.C: complain about bad getChar()s
2582 for a while at least
2584 2003-03-12 John Levon <levon@movementarian.org>
2587 * buffer.C: move paragraph read into a separate function,
2588 a little renaming to reflect that.
2591 * bufferparams.C: remove the author_ids map, not necessary now
2594 * factory.C: moved Buffer::readInset to here
2596 * paragraph_funcs.h:
2597 * paragraph_funcs.C: readParagraph free function moved from
2600 * tabular.C: name change
2602 2003-03-12 John Levon <levon@movementarian.org>
2605 * ParagraphParameters.C: move par params input to
2608 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2609 behave like a normal read from the stream wrt reading
2610 a line vs. a \\token
2612 2003-03-12 John Levon <levon@movementarian.org>
2615 * ParagraphParameters.h:
2616 * ParagraphParameters.C: move output code to a
2619 2003-03-12 John Levon <levon@movementarian.org>
2621 * BufferView.C (insertLyXFile):
2624 * tabular.C: use a parlist iterator for creating the
2627 2003-03-12 John Levon <levon@movementarian.org>
2629 * buffer.C: make current_change static local not
2632 2003-03-12 John Levon <levon@movementarian.org>
2634 * buffer.C: fix insertStringAsLines for change tracking
2636 2003-03-12 John Levon <levon@movementarian.org>
2643 * bufferparams.C: move author list into params. Rename some
2644 functions. Move the header reading into a separate token
2645 loop. Move the header token reading into BufferParams.
2647 2003-03-12 John Levon <levon@movementarian.org>
2649 * changes.C: put debug inside lyxerr.debugging() checks
2651 2003-03-11 André Pönitz <poenitz@gmx.net>
2653 * factory.C: make it aware of InsetHFill
2655 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2657 * buffer.C (latexParagraphs): move function from here...
2658 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2661 2003-03-10 Angus Leeming <leeming@lyx.org>
2663 * LyXAction.C (init): fix bug in poplating array with multiple entries
2664 with the same LFUN (spotted by JMarc).
2666 2003-03-10 John Levon <levon@movementarian.org>
2669 * text2.C: move getColumnNearX() near its
2672 2003-03-10 John Levon <levon@movementarian.org>
2674 * text.C: fix break before a minipage
2676 2003-03-10 John Levon <levon@movementarian.org>
2678 * text.C: fix the last commit
2680 2003-03-09 John Levon <levon@movementarian.org>
2684 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2685 bug 365 (don't break before insets unless needed). Don't
2686 return a value > last under any circumstances.
2688 2003-03-09 Angus Leeming <leeming@lyx.org>
2690 * BufferView_pimpl.C (trackChanges, dispatch): call
2691 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2693 2003-03-09 Angus Leeming <leeming@lyx.org>
2695 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2696 than Dialogs::showAboutlyx().
2698 2003-03-09 Angus Leeming <leeming@lyx.org>
2700 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2701 than Dialogs::showTabularCreate().
2703 2003-03-09 John Levon <levon@movementarian.org>
2707 * text2.C: 3rd arg to nextBreakPoint was always the same.
2710 2003-03-08 John Levon <levon@movementarian.org>
2717 * text2.C: Remove the "main" bit from the "main body"
2720 2003-03-08 John Levon <levon@movementarian.org>
2722 * text.C (leftMargin): The left margin of an empty
2723 manual label paragraph should not include the label width
2726 * text.C (prepareToPrint): don't attempt to measure hfills
2727 for empty manual label paragraphs - the answer should be 0
2729 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2731 * CutAndPaste.C: remove commented code and reindent.
2733 2003-03-08 John Levon <levon@movementarian.org>
2736 * lyxfunc.C: move reloadBuffer()
2739 * BufferView.C: to here
2741 * lyxvc.C: add comment
2744 * vc-backend.C: call bv->reload() to avoid
2745 getStatus() check on MENURELOAD
2747 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2749 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2750 to an old format .dep file.
2752 2003-03-07 Angus Leeming <leeming@lyx.org>
2754 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2755 when the LFUN_MOUSE_RELEASE should have been handled by
2756 inset->localDispatch.
2758 2003-03-07 Angus Leeming <leeming@lyx.org>
2760 * BufferView_pimpl.C (dispatch):
2761 * LyXAction.C (init):
2762 * ToolbarDefaults.C (init):
2764 * lyxfunc.C (getStatus):
2765 remove LFUN_INSET_GRAPHICS.
2767 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2769 2003-03-07 Angus Leeming <leeming@lyx.org>
2772 * LyXAction.C (init):
2773 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2775 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2778 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2780 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2781 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2783 2003-03-07 Angus Leeming <leeming@lyx.org>
2785 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2788 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2790 * ParagraphList.C (front): new function
2793 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2795 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2796 and top_row_offset_. removed var first_y.
2798 * text2.C (LyXText, removeRow):
2800 * BufferView_pimpl.C:
2801 use these methods instead of using first_y
2803 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2805 * text2.C (pasteSelection): adjust for checkPastePossible
2807 * CutAndPaste.C: remove Paragraph * buf and replace with
2808 ParagraphList paragraphs.
2809 (DeleteBuffer): delete
2810 (cutSelection): change the tc type to textclass_type
2811 (copySelection): change the tc type to textclass_type
2812 (copySelection): adjust for ParagraphList
2813 (pasteSelection): change the tc type to textclass_type
2814 (pasteSelection): adjust for Paragraphlist
2815 (nrOfParagraphs): simplify for ParagraphList
2816 (checkPastePossible): simplify for ParagraphList
2817 (checkPastePossible): remove unused arg
2819 * ParagraphList.C (insert): handle the case where there are no
2822 * CutAndPaste.h: make CutAndPaste a namespace.
2824 * text3.C (dispatch): adjust
2826 * text.C (breakParagraph): add a ParagraphList as arg
2828 * paragraph_funcs.C (breakParagraph): change to take a
2829 BufferParams and a ParagraphList as args.
2830 (breakParagraphConservative): ditto
2831 (mergeParagraph): ditto
2832 (TeXDeeper): add a ParagraphList arg
2833 (TeXEnvironment): ditto
2836 * buffer.C (readLyXformat2): adjust
2837 (insertStringAsLines): adjust
2838 (latexParagraphs): adjust
2840 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2841 (cutSelection): adjust
2842 (pasteSelection): adjust
2844 * BufferView_pimpl.C (insertInset): adjust
2846 2003-03-05 Angus Leeming <leeming@lyx.org>
2849 * LyXAction.C (init):
2850 * BufferView_pimpl.C (dispatch):
2851 * lyxfunc.C (getStatus):
2852 remove LFUN_CHILD_INSERT.
2854 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2856 2003-03-05 Angus Leeming <leeming@lyx.org>
2859 * LyXAction.C (init):
2860 * src/factory.C (createInset):
2861 * lyxfunc.C (getStatus):
2862 * text3.C (dispatch):
2863 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2865 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2867 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2869 * ParagraphList.C (insert): handle insert right before end()
2870 (erase): fix cases where it can be first or last paragraph.
2872 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2874 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2875 Paragraph::next and Paragraph::previous
2878 * text.C (breakParagraph): adjust
2880 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2881 BufferParams& as arg.
2882 (breakParagraph): use ParagraphList::insert
2883 (breakParagraphConservative): take a Buffer* instead of a
2884 BufferParams& as arg.
2885 (breakParagraphConservative): use ParagraphList::insert.
2887 * buffer.C (insertStringAsLines): un-const it
2888 (insertStringAsLines): adjust
2890 * ParagraphList.C (insert): new function
2892 * CutAndPaste.C (pasteSelection): adjust
2894 * text.C (backspace): adjust
2896 * tabular.C (SetMultiColumn): adjust
2898 * CutAndPaste.C (cutSelection): adjust
2899 (pasteSelection): adjust
2901 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2902 Buffer const * as arg
2904 * ParagraphList.C (erase): new function
2905 * paragraph_funcs.C (mergeParagraph): use it
2906 (mergeParagraph): make it take a Buffer* instead of a
2907 BufferParams* as arg
2909 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2911 (breakParagraphConservative): ditto
2913 * paragraph.h: remove the breakParagraph friend
2915 * paragraph.C (eraseIntern): new function
2916 (setChange): new function
2918 * paragraph_funcs.C (mergeParagraph): make it take a
2919 ParagraphList::iterator instead of a Paragraph *, adjust
2922 * paragraph.h: move an #endif so that the change tracking stuff
2923 also works in the NO_NEXT case.
2925 2003-03-04 Angus Leeming <leeming@lyx.org>
2928 * LyXAction.C: new LFUN_INSET_MODIFY.
2930 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2931 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2933 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2935 * several files: ws changes only
2937 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2938 (TeXEnvironment): ditto
2941 * buffer.C (makeLaTeXFile): adjust
2942 (latexParagraphs): make it take ParagraphList::iterator as args
2944 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2946 * buffer.C (latexParagraphs): adjust
2948 * paragraph.C (TeXOnePar): move function...
2949 (optArgInset): move function...
2950 (TeXEnvironment): move function...
2951 * paragraph_pimpl.C (TeXDeeper): move function...
2952 * paragraph_funcs.C: ...here
2954 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2956 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2958 * buffer.C (readInset): remove compability code for old Figure and
2961 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2963 * buffer.C: ws changes
2966 * BufferView_pimpl.C: ditto
2969 * bufferlist.h: ditto
2973 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2975 * converter.[Ch]: split into itself +
2978 * Makefile.am: += graph.[Ch] + format.[Ch]
2985 * lyxrc.C: added #include "format.h"
2987 2003-02-27 Angus Leeming <leeming@lyx.org>
2989 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2992 * factory.C (createInset): add "label" to the factory.
2994 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2995 string and do no more.
2997 2003-02-27 Angus Leeming <leeming@lyx.org>
3000 * LyXAction.C (init):
3001 * factory.C (createInset):
3002 * BufferView_pimpl.C (dispatch):
3003 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3005 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3007 * lyxfunc.C (dispatch):
3008 * text3.C (dispatch): pass name to params2string.
3010 2003-02-26 Angus Leeming <leeming@lyx.org>
3012 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3014 Rearrange the ~includes. Strip out the unnecessary ones.
3016 * factory.C (createInset): reformat.
3017 create new insets for the various LFUN_XYZ_APPLY lfuns.
3019 2003-02-26 John Levon <levon@movementarian.org>
3022 * lyxrow.C: add isParStart,isParEnd helpers
3024 * paragraph.h: make isInserted/DeletedText take refs
3026 * paragraph_funcs.h:
3027 * paragraph_funcs.C: remove #if 0'd code
3032 * text.C: use lyxrow helpers above.
3033 Move draw and paint routines to RowPainter.
3034 Make several methods use refs not pointers.
3035 Make backgroundColor() const.
3036 Add markChangeInDraw(), isInInset().
3037 Merge changeRegionCase into changeCase.
3038 Make workWidth() shouldn't-happen code into an Assert.
3041 * rowpainter.C: new class for painting a row.
3044 * vspace.C: make inPixels take a ref
3046 2003-02-26 Angus Leeming <leeming@lyx.org>
3048 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3051 2003-02-25 John Levon <levon@movementarian.org>
3053 * ispell.C: give the forked command a more accurate name
3055 2003-02-22 John Levon <levon@movementarian.org>
3058 * toc.C: make TocItem store an id not a Paragraph *
3061 2003-02-21 Angus Leeming <leeming@lyx.org>
3063 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3064 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3065 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3066 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3067 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3068 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3070 * BufferView_pimpl.C (dispatch):
3071 * LyXAction.C (init):
3072 * factory.C (createInset):
3073 * lyxfunc.C (getStatus, dispatch):
3074 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3076 2003-02-21 Angus Leeming <leeming@lyx.org>
3078 * BufferView_pimpl.C (MenuInsertLyXFile):
3079 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3080 * lyxfunc.C (menuNew, open, doImport):
3081 no longer pass a LyXView & to fileDlg.
3083 2003-02-21 Angus Leeming <leeming@lyx.org>
3085 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3086 * LyXAction.C: change, BIBKEY to BIBITEM.
3087 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3088 Change InsetBibKey to InsetBibitem.
3089 Change BIBKEY_CODE to BIBITEM_CODE.
3090 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3091 * factory.C: replace insetbib.h with insetbibitem.h.
3092 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3093 * paragraph.C: replace insetbib.h with insetbibitem.h.
3094 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3095 Change bibkey() to bibitem().
3096 * text.C: remove insetbib.h.
3097 * text2.C: replace insetbib.h with insetbibitem.h.
3098 change bibkey() to bibitem().
3099 * text3.C: remove insetbib.h.
3100 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3102 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3104 * lyxrc.C (output): enclose user email in quotes (in case there are
3107 2003-02-18 John Levon <levon@movementarian.org>
3109 * buffer.h: add std::
3111 2003-02-17 John Levon <levon@movementarian.org>
3117 * pspell.C: reworking. Especially in ispell, a large
3118 number of clean ups and bug fixes.
3120 * lyxfunc.C: fix revert to behave sensibly
3122 2003-02-17 André Pönitz <poenitz@gmx.net>
3125 * commandtags.h: new LFUN_INSERT_BIBKEY
3135 * paragraph_func.C: remove special bibkey handling
3137 2003-02-17 John Levon <levon@movementarian.org>
3139 * text.C (Delete): fix case where delete at the end of
3140 the very first paragraph would not merge the pars
3142 2003-02-17 John Levon <levon@movementarian.org>
3144 * lyxrow.C: fix lastPrintablePos()
3146 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3148 * bufferparams.C (writeLaTeX): add a std:here
3150 * buffer.C: and remove a using directive there
3152 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3154 * buffer.C (makeLaTeXFile): move the code that generates the
3157 * bufferparams.C (writeLaTeX): ... in this new method
3159 * LaTeXFeatures.C (getEncodingSet): make const
3160 (getLanguages): make const
3162 * MenuBackend.C (binding): returns the binding associated to this
3164 (add): sets the status of each item by calling getStatus. Adds
3166 (read): add support for OptSubMenu
3167 (expand): remove extra separator at the end of expanded menu
3169 2003-02-15 John Levon <levon@movementarian.org>
3172 * BufferView_pimpl.C:
3174 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3175 inset code that had no actual effect. Remove unneeded status
3178 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3180 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3183 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3185 * text.C (drawLengthMarker): also draw an arrow marker for
3186 symbolic lengths (medskip...)
3188 2003-02-14 John Levon <levon@movementarian.org>
3191 * tabular.C: better method names
3193 2003-02-14 John Levon <levon@movementarian.org>
3195 * BufferView_pimpl.C:
3200 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3201 it's a more accurate name. Remove some pointless uses.
3203 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3205 * text2.C (LyXText): change order of initilizers to shut off
3208 2003-02-14 John Levon <levon@movementarian.org>
3210 * buffer.C: use ParIterator for getParFromID()
3214 * paragraph_pimpl.h:
3215 * paragraph_pimpl.C: remove unused getParFromID()
3217 2003-02-14 John Levon <levon@movementarian.org>
3219 * buffer.C: remove some very old #if 0'd parse code
3221 2003-02-13 John Levon <levon@movementarian.org>
3225 * text2.C: move hfillExpansion(), numberOfSeparators(),
3226 rowLast(), rowLastPrintable(), numberofHfills(),
3227 numberOfLabelHfills() ...
3230 * lyxrow.C: ... to member functions here.
3235 * text.C: remove LyXText::beginningOfMainBody(), and call
3236 p->beginningOfMainBody() directly. Move the check for
3237 LABEL_MANUAL into the latter.
3244 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3250 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3251 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3253 2003-02-13 John Levon <levon@movementarian.org>
3255 * CutAndPaste.C: remove debug
3257 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3259 * paragraph.C (asString): remove two unused variables
3261 * lyxtextclass.C (readTitleType):
3263 (LyXTextClass): handle new members titletype_ and titlename_
3265 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3267 2003-02-09 John Levon <levon@movementarian.org>
3270 * buffer.C: replace hand-coded list with a map for the dep clean
3272 2003-02-08 John Levon <levon@movementarian.org>
3274 * LaTeX.C: consolidate code into showRunMessage() helper
3276 2003-02-08 John Levon <levon@movementarian.org>
3281 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3282 and pass the size in explicitly
3284 * BufferView_pimpl.h:
3285 * BufferView_pimpl.C:
3287 * BufferView.C: add getCurrentChange()
3289 * BufferView_pimpl.h:
3290 * BufferView_pimpl.C: handle change lfuns
3292 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3293 for changes. Mark pasted paragraphs as new.
3295 * support/lyxtime.h:
3296 * support/lyxtime.C:
3297 * DepTable.C: abstract time_t as lyx::time_type
3300 * LColor.C: add colours for new text, deleted text, changebars
3302 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3303 package use "usenames" option.
3307 * LyXAction.C: add change lfuns
3311 * author.C: author handling
3314 * buffer.C: add a per-buffer author list, with first entry as
3315 current author. Handle new .lyx tokens for change tracking. Output
3316 author list to .lyx file. Output dvipost stuff to .tex preamble.
3317 Bump lyx format to 222.
3320 * bufferlist.C: add setCurrentAuthor() to reset current author details
3324 * bufferparams.C: add param for tracking
3326 * bufferview_funcs.C: output change info in minibuffer
3330 * changes.C: add change-tracking structure
3333 * debug.C: add CHANGES debug flag
3336 * lyxfind.C: add code for finding the next change piece
3339 * lyxrc.C: add user_name and user_email
3342 * lyxrow.C: add a metric for the top of the text line
3345 * text.C: implement accept/rejectChange()
3348 * text.C: paint changebars. Paint new/deleted text in the chosen
3349 colours. Strike through deleted text.
3353 * paragraph_pimpl.h:
3354 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3355 in the current change to the insert functions. Rework erase to
3356 mark text as deleted, adding an eraseIntern() and a range-based
3357 erase(). Implement per-paragraph change lookup and
3360 * paragraph_funcs.C: Fixup paste for change tracking.
3362 * tabular.C: mark added row/columns as new.
3364 * text.C: fix rowLast() to never return -1. Don't allow
3365 spellchecking of deleted text. Track transpose changes. Don't
3366 allow paragraph break or merge where appropriate.
3368 * text2.C: leave cursor at end of selection after a cut.
3370 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3372 * text.C (getLengthMarkerHeight):
3373 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3374 visible on screen too.
3376 2003-02-07 John Levon <levon@movementarian.org>
3378 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3380 2003-02-05 Angus Leeming <leeming@lyx.org>
3382 * lyxserver.C (read_ready): revert my patch of 11 September last year
3383 as it sends PC cpu through the roof. Presumably this means that
3384 the lyxserver will no longer run on an Alpha...
3386 2003-01-30 Angus Leeming <leeming@lyx.org>
3388 * factory.C (createInset): create an InsetCommandParam of type "index"
3389 and use it to 'do the right thing'.
3391 * text2.C (getStringToIndex): ensure that cursor position is always
3392 reset to the reset_cursor position.
3394 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3396 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3399 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3403 * lyxfunc.C: Output messages with identical spelling, punctuation,
3406 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3408 * MenuBackend.C (expandFormats): List only viewable export formats
3411 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3414 * lyxfunc.C (getStatus): Make sure that formats other than
3415 "fax" can also be disabled
3417 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3419 * text3.C (dispatch): put the lfuns that insert insets in 3
3420 groups, and call doInsertInset with appropriate arguments.
3421 (doInsertInset): new function, that creates an inset and inserts
3422 it according to some boolean parameters.
3424 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3426 * buffer.C (readFile): remember to pass on 'par' when calling
3427 readFile recursively.
3429 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3431 * MenuBackend.C (expandFormats): add "..." to import formats.
3433 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3435 * paragraph.C (asString): Remove XForms RTL hacks.
3437 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3438 * buffer.C: fix typo
3440 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3442 * Makefile.am (LIBS): delete var
3443 (lyx_LDADD): add @LIBS@ here instead.
3445 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3447 * Clarify the meaning of "wheel mouse jump"
3449 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3451 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3454 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3456 * importer.C (Loaders): do not preallocate 3 elements in the
3457 vector, since one ends up with 6 elements otherwise
3459 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3461 * DepTable.C (write): write the file name as last element of the
3462 .dep file (because it may contain spaces)
3463 (read): read info in the right order
3465 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3467 * paragraph_pimpl.C (simpleTeXBlanks):
3468 (simpleTeXSpecialChars):
3469 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3471 * tabular.C (latex): add some missing case statements. Reindent.
3473 * MenuBackend.C (expandToc): remove unused variable.
3475 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3484 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3487 2003-01-05 John Levon <levon@movementarian.org>
3490 * BufferView.C: add getEncoding()
3493 * kbsequence.C: do not store last keypress
3496 * lyxfunc.C: store last keypress here instead. Pass encoding
3499 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3501 * lyx_main.C (init): remove annoying error message when following
3502 symbolic links (bug #780)
3504 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3506 * text.C (insertChar):
3507 * lyxrc.C (getDescription): remove extra spaces
3509 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3511 * lyxrc.C (getDescription): remove extra spaces
3513 2002-12-20 John Levon <levon@movementarian.org>
3515 * text3.C: hack fix for page up/down across tall rows
3517 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3519 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3522 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3524 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3525 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3526 thesaurus is not compiled in
3528 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3530 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3532 2002-12-16 Angus Leeming <leeming@lyx.org>
3535 * lyx_main.C (init): remove override_x_deadkeys stuff.
3537 2002-12-12 John Levon <levon@movementarian.org>
3539 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3540 insert. Only remove shift modifier under strict
3543 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3545 * MenuBackend.C (expandToc): fix crash.
3547 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3549 * MenuBackend.C (expandToc): gettext on float names.
3551 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3553 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3554 implement bool empty() [bug 490]
3556 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3558 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3560 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3562 * several files: ws changes
3564 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3566 * text2.C (setCounter): clean up a bit, use boost.format.
3567 (updateCounters): initialize par upon declaration.
3569 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3570 if the layout exists. We do not just store the layout any more.
3571 (SwitchLayoutsBetweenClasses): use boost.format
3573 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3575 * converter.C (convert): if from and to files are the same, use a
3576 temporary files as intermediary
3578 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3581 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3583 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3585 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3587 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3589 * tabular.C (asciiPrintCell): use string(size, char) instead of
3592 * sgml.C (openTag): fix order of arguments to string constructor
3595 * lyxfunc.C (dispatch): use boost.format
3597 * lots of files: change "c" -> 'c'
3599 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3601 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3603 2002-11-25 Angus Leeming <leeming@lyx.org>
3605 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3607 * lyx_main.C (init): compile fix.
3609 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3611 * lyx_cb.C (start): boost.formatify
3612 do not include <iostream>
3614 * lengthcommon.C: ws only
3616 * boost-inst.C,BoostFormat.h: add more explict instantations
3618 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3620 * lots of files: handle USE_BOOST_FORMAT
3622 2002-11-21 John Levon <levon@movementarian.org>
3624 * pspell.C: fix compile
3626 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3628 * lyxfunc.C (dispatch): use boost::format
3632 * lyxfont.C (stateText): use boost::format
3634 * lyx_main.C (LyX): use boost::format
3636 (queryUserLyXDir): ditto
3639 (typedef boost::function): use the recommened syntax.
3641 * importer.C (Import): use boost::format
3643 * debug.C (showLevel): use boost::format
3645 * converter.C (view): use boost::format
3650 * bufferview_funcs.C (currentState): use boost::format
3652 * bufferlist.C (emergencyWrite): use boost::format
3654 * buffer.C (readLyXformat2): use boost::format
3655 (parseSingleLyXformat2Token): ditto
3657 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3659 * LaTeX.C (run): use boost::format
3661 * Chktex.C (scanLogFile): use boost::format
3663 * BufferView_pimpl.C (savePosition): use boost::format
3664 (restorePosition): ditto
3665 (MenuInsertLyXFile): ditto
3667 * BoostFormat.h: help file for explicit instation.
3669 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3671 * tabular.C (latex): Support for block alignment in fixed width
3674 2002-11-17 John Levon <levon@movementarian.org>
3676 * BufferView_pimpl.C:
3678 * lyxfunc.C: split filedialog into open/save
3680 2002-11-08 Juergen Vigna <jug@sad.it>
3682 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3683 by my last patch (hopefully).
3685 2002-11-08 John Levon <levon@movementarian.org>
3694 * toc.C: ParConstIterator, and use it (from Lars)
3696 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3698 * lyxtextclass.[Ch]: revise and add doxygen comments
3700 2002-11-07 John Levon <levon@movementarian.org>
3702 * text.C: fix progress value for spellchecker
3704 * toc.C: fix navigate menu for insetwrap inside minipage
3706 * paragraph_funcs.C: added FIXME for suspect code
3708 2002-11-07 John Levon <levon@movementarian.org>
3710 * BufferView_pimpl.C: fix redrawing of insets
3713 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3715 * text2.C (updateCounters): fix bug 668
3717 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3719 * text3.C (dispatch): Do not make the buffer dirty when moving the
3722 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3724 * vc-backend.C: STRCONV
3727 * text2.C (setCounter): STRCONV
3729 * paragraph.C (asString): STRCONV
3731 * lyxlength.C (asString): STRCONV
3732 (asLatexString): ditto
3734 * lyxgluelength.C (asString): STRCONV
3735 (asLatexString): ditto
3737 * lyxfunc.C (dispatch): STRCONV
3740 * lyxfont.C (stateText): STRCONV
3742 * importer.C (Import): STRCONV
3744 * counters.C (labelItem): STRCONV
3745 (numberLabel): ditto
3746 (numberLabel): remove unused ostringstream o
3751 * bufferview_funcs.C (currentState): STRCONV
3753 * buffer.C (readFile): STRCONV
3754 (asciiParagraph): ditto
3755 (makeLaTeXFile): ditto
3757 * Spacing.C (writeEnvirBegin): STRCONV
3759 * LaTeXFeatures.C (getLanguages): STRCONV
3760 (getPackages): ditto
3762 (getBabelOptions): ditto
3763 (getTClassPreamble): ditto
3764 (getLyXSGMLEntities): ditto
3765 (getIncludedFiles): ditto
3769 (scanAuxFile): ditto
3772 * LString.h: add the STRCONV macros
3774 * BufferView_pimpl.C (savePosition): STRCONV
3775 (restorePosition): ditto
3776 (MenuInsertLyXFile): ditto
3778 * vc-backend.C (scanMaster): change from submatch[...] to
3781 * funcrequest.C: include config.h
3783 * factory.C: include config.h
3785 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3787 * box.C: include config.h
3789 * LaTeX.C (scanAuxFile): change from submatch[...] to
3793 2002-10-25 Angus Leeming <leeming@lyx.org>
3795 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3797 * ispell.[Ch] (setError): new method.
3798 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3799 Use setError() insetead of goto END.
3801 * lyx_cb.C (AutoSave): move out child process into new class
3804 2002-10-30 John Levon <levon@movementarian.org>
3806 * text3.C: make start appendix undoable
3808 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3810 * lyxlength.C (inPixels): Fix returned value.
3812 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3815 2002-10-24 Angus Leeming <leeming@lyx.org>
3817 * lyxgluelength.h: no need to forward declare BufferParams
3818 or BufferView, so don't.
3820 2002-10-21 John Levon <levon@movementarian.org>
3822 * BufferView.C: menuUndo ->undo, redo
3824 * BufferView.h: document, remove dead, make some methods private
3826 * paragraph_funcs.h:
3827 * paragraph_funcs.C:
3828 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3833 * sgml.C: move sgml open/close tag into sgml.C
3835 * bufferview_funcs.h: unused prototype
3838 * lyxfunc.C: remove unused
3841 * text.C: remove unused
3843 2002-10-21 John Levon <levon@movementarian.org>
3847 * BufferView_pimpl.h:
3848 * BufferView_pimpl.C: fix mouse wheel handling based on
3849 patch from Darren Freeman
3851 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3853 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3855 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3857 * lyxlength.C (inPixels): Fix hanfling of negative length.
3858 Fix LyXLength::MU case.
3860 2002-10-16 John Levon <levon@movementarian.org>
3862 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3864 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3866 * converter.C (view): add support for $$i (file name) and $$p
3867 (file path) for the viewer command. If $$i is not specified, then
3868 it is appended to the command (for compatibility with old syntax)
3870 2002-10-14 Juergen Vigna <jug@sad.it>
3872 * undo_funcs.C (textHandleUndo): alter the order in which the
3873 new undopar is added to the LyXText, as we have to set first
3874 the right prev/next and then add it as otherwise the rebuild of
3875 LyXText is not correct. Also reset the cursor to the right paragraph,
3876 with this IMO we could remove the hack in "redoParagraphs()".
3878 2002-10-09 Angus Leeming <leeming@lyx.org>
3880 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3881 to turn off an optimisation if a new inset is to be inserted.
3883 2002-10-11 André Pönitz <poenitz@gmx.net>
3885 * lyxtext.h: make some functions public to allow access
3886 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3888 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3890 * text3.C (dispatch): when changing layout, avoid an infinite loop
3893 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3895 * lyxrc.C (read): treat a viewer or converter command of "none" as
3898 * MenuBackend.C (expandFormats): for an update, also allow the
3899 formats that are not viewable
3901 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3902 script if it is newer than the lyxrc.defaults in user directory
3904 2002-10-07 André Pönitz <poenitz@gmx.net>
3906 * text.C: Vitaly Lipatov's small i18n fix
3908 2002-09-25 Angus Leeming <leeming@lyx.org>
3910 * ispell.h: doxygen fix.
3912 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3914 * buffer.h (readFile): Add a new argument to the method, to allow
3915 reading of old-format templates.
3917 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3919 * toc.C (getTocList): Get TOC from InsetWrap.
3921 2002-09-16 John Levon <levon@movementarian.org>
3923 * lyxfunc.C: check tabular for cut/copy too
3925 2002-09-12 John Levon <levon@movementarian.org>
3930 * factory.C: add header
3932 * paragraph_funcs.h:
3933 * paragraph_funcs.C: cleanup
3935 2002-09-11 John Levon <levon@movementarian.org>
3937 * PrinterParams.h: odd/even default to true
3939 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3941 * PrinterParams.h: update printer parameters for new xforms dialog
3943 2002-09-11 Angus Leeming <leeming@lyx.org>
3945 * lyxserver.C (read_ready): re-write to make it more transparent
3946 and to make it work in coherent fashion under Tru64 Unix.
3948 2002-09-11 André Pönitz <poenitz@gmx.net>
3952 * text3.C: implement LFUN_WORDSEL
3954 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3956 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3957 make floatlist_ a boost::shared_ptr<FloatList>
3959 * lyxtextclass.C: include FloatList.h
3960 (LyXTextClass): initialize floatlist_
3961 (TextClassTags): add TC_NOFLOAT
3962 (Read): match "nofloat" to TC_NOFLOAT and use it.
3963 (readFloat): modify call to floatlist_
3967 * FloatList.[Ch] (FloatList): remove commented out float
3969 (erase): new function
3971 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3973 * MenuBackend.C (expandToc): fix crash when there is no document
3976 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3978 * many files: Add insetwrap.
3980 2002-09-09 John Levon <levon@movementarian.org>
3982 * text2.C: remove confusing and awkward depth wraparound
3984 2002-09-09 John Levon <levon@movementarian.org>
3986 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3989 * buffer.C: remove getIncludeonlyList()
3992 * lyxfunc.C: remove headers
3994 2002-09-09 Juergen Vigna <jug@sad.it>
3996 * text.C (getColumnNearX): fix form Michael this is most
3997 probably a cut&paste bug.
3999 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4001 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4003 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4004 references, ws changes.
4006 * text2.C (init): update counters after init
4007 (insertParagraph): no need to set counter on idividual paragraphs.
4008 (setCounter): access the counters object in the textclass object
4009 on in the buffer object.
4010 (updateCounters): ditto
4012 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4013 shared_ptr<Counters> to avoid loading counters.h in all
4015 (LyXTextClass): initialize ctrs_
4016 (TextClassTags): add TC_COUNTER, and ...
4017 (Read): use it here.
4018 (CounterTags): new tags
4019 (readCounter): new function
4020 (counters): new funtion
4021 (defaultLayoutName): return a const reference
4023 * counters.C (Counters): remove contructor
4024 (newCounter): remove a couple of unneeded statements.
4025 (newCounter): simplify a bit.
4026 (numberLabel): some small formatting changes.
4028 * buffer.[Ch]: remove all traces of counters, move the Counters
4029 object to the LyXTextClass.
4031 2002-09-06 Alain Castera <castera@in2p3.fr>
4033 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4034 package to set the horizontal alignment on fixed width columns.
4037 * lyx_sty.h: added tabularnewline macro def.
4039 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4041 2002-09-06 John Levon <levon@movementarian.org>
4043 * LyXAction.C: tooltips for sub/superscript
4045 * MenuBackend.C: a bit more verbose
4047 * lyxfunc.C: tiny clean
4049 * undo_funcs.C: document undo_frozen
4051 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4053 * counters.C (Counters): add missing algorithm counter.
4055 * text2.C (setCounter): lookup the counter with layouts latexname
4056 instead of by section number.
4057 (setCounter): use a hackish way to lookup the correct enum
4059 a float name->type change
4060 reset enum couners with counter name directly instead of depth value.
4062 * counters.C (Counters): remove the push_backs, change to use the
4063 float type not the float name.
4064 (labelItem): remove unused string, float name->type change
4066 * counters.h: don't include vector, loose the enums and sects vectors
4068 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4070 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4071 (Read): add float->TC_FLOAT to textclassTags
4072 (Read): and handle it in the switch
4073 (readFloat): new function
4075 * FloatList.C (FloatList): comment out the hardcoded float
4078 * lyxlayout.h: ws change.
4080 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4082 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4084 2002-09-03 Angus Leeming <leeming@lyx.org>
4086 * BufferView_pimpl.h: qualified name is not allowed in member
4087 declaration: WorkArea & Pimpl::workarea() const;
4089 * factory.C: added using std::endl directive.
4091 * text3.C: added using std::find and std::vector directives.
4093 2002-08-29 André Pönitz <poenitz@gmx.net>
4096 * text2.C: remove unused member number_of_rows
4099 * BufferView2.C: remove file, move contents to...
4100 * BufferView.C: ... here
4102 * BufferView_pimpl.C:
4103 * factory.C: move more inset creation to factory
4105 * vspace.C: avoid direct usage of LyXText, ws changes
4108 don't provide direct access to WorkArea, use two simple
4109 acessors haveSelction() and workHeight() instead
4112 2002-08-29 John Levon <levon@movementarian.org>
4114 * BufferView_pimpl.C (dispatch): do not continue when
4117 2002-08-28 André Pönitz <poenitz@gmx.net>
4119 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4122 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4124 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4126 * buffer.C: increment LYX_FORMAT to 221
4128 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4129 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4131 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4133 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4135 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4137 * factory.C (createInset): use LyXTextClass::floats
4139 * MenuBackend.C (expandFloatListInsert):
4140 (expandFloatInsert):
4143 * text2.C (setCounter):
4145 * LaTeXFeatures.C (useFloat):
4146 (getFloatDefinitions):
4148 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4150 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4151 floatlist_, with accessor floats().
4153 * FloatList.h: remove global FloatList
4155 2002-08-26 André Pönitz <poenitz@gmx.net>
4157 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4161 * BufferView_pimpl.C:
4162 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4164 2002-08-25 John Levon <levon@movementarian.org>
4166 * LyXAction.C: fix margin note description
4168 2002-08-24 John Levon <levon@movementarian.org>
4172 * bufferview_funcs.C:
4174 * undo_funcs.C: cleanups
4176 * lyxfunc.C: disable CUT/COPY when no selection
4178 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4180 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4181 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4183 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4184 Add backward compatibility to "mono", "gray" and "no".
4186 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4188 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4189 (and file_format >= 200).
4191 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4193 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4195 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4197 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4199 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4201 * BufferView_pimpl.C:
4208 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4209 inset and code to make it work with the paragraph code. The inset
4210 can be anywhere in the paragraph, but will only do the expected
4211 thing in LaTeX if the layout file contains the parameter line
4213 (or more generally, a nonzero value) for that layout.
4215 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4217 * paragraph.h: remove the declaration of undefined counters class
4220 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4222 * text2.C (setCounter): fixed enumeration mis-count as reported by
4223 Dr. Richard Hawkins.
4225 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4227 * paragraph_funcs.h: remove some unneeded includes
4229 * text.C (backspace): pasteParagraph now in global scipe
4231 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4232 (pasteSelection): ditto
4234 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4235 * paragraph_funcs.C (pasteParagraph): ... here
4237 2002-08-20 André Pönitz <poenitz@gmx.net>
4239 * commandtags.h: new LFUNs for swapping/copying table row/colums
4242 * lyxfunc.C: support for new lfuns
4244 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4247 * buffer.[Ch]: remove NO_COMPABILITY stuff
4249 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4251 * boost.C (throw_exception): new file, with helper function for
4252 boost compiled without exceptions.
4257 * ParameterStruct.h:
4258 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4260 * bufferlist.C (emergencyWriteAll): use boost bind
4262 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4264 * text.C: include paragraph_funcs.h
4265 (breakParagraph): breakParagraph is now in global scope
4267 * paragraph_funcs.[Ch]: new files
4269 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4272 * buffer.C: include paragraph_funcs.h
4273 (insertStringAsLines): breakParagraph is now in global scope
4275 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4278 * CutAndPaste.C: include paragraph_funcs.h
4279 (cutSelection): breakParagraphConservative is now in global scope
4280 (pasteSelection): ditto
4282 * buffer.h: declare oprator== and operator!= for
4283 Buffer::inset_iterator
4285 * bufferlist.C (emergencyWrite): don't use fmt(...)
4287 * text3.C: add using std::endl
4289 * BufferView.C (moveCursorUpdate): remove default arg
4291 2002-08-20 André Pönitz <poenitz@gmx.net>
4293 * buffer.[Ch]: move inline functions to .C
4296 * BufferView_pimpl.C:
4298 * buffer.[Ch]: use improved inset_iterator
4301 * paragraph.[Ch]: write one paragraph at a time
4303 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4305 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4306 style if style is not specified.
4308 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4310 * text2.C (setCounter): when searching for right label for a
4311 caption, make sure to recurse to parent insets (so that a caption
4312 in a minipage in a figure float works) (bug #568)
4314 2002-08-20 André Pönitz <poenitz@gmx.net>
4316 * text3.C: new file for LyXText::dispatch() and helpers
4318 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4320 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4322 2002-08-19 André Pönitz <poenitz@gmx.net>
4325 * text.C: new LyXText::dispatch()
4327 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4329 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4331 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4333 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4336 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4338 * Makefile.am: use $(variables) instead of @substitutions@
4340 2002-08-15 André Pönitz <poenitz@gmx.net>
4343 * BufferView_pimpl.C: streamlining mathed <-> outer world
4347 * LyXAction.C: remove unused LFUN_MATH
4349 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4351 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4353 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4355 * paragraph.C (Paragraph): reformat a bit
4356 (cutIntoMinibuffer): use builtin InsetList function instad of
4360 * buffer.C: include boost/bind.hpp, add using std::for_each
4361 (writeFileAscii): use ParagraphList iterators
4362 (validate): use for_each for validate traversal of paragraphs
4363 (getBibkeyList): use ParagraphList iterators
4364 (resizeInsets): use for_each to resizeInsetsLyXText for all
4366 (getParFromID): use ParagraphList iterators
4368 * BufferView2.C (lockInset): use paragraph list and iterators
4370 2002-08-14 John Levon <levon@movementarian.org>
4372 * lyxserver.C: remove spurious xforms include
4374 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4376 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4378 2002-08-13 André Pönitz <poenitz@gmx.net>
4381 * lyxfunc.C: further cleaning
4383 2002-08-13 André Pönitz <poenitz@gmx.net>
4385 * funcrequest.h: new constructor
4387 * funcrequest.C: move stuff here from .h
4390 * BufferView_pimpl.C:
4393 * lyxfunc.C: subsequent changes
4395 * lyxfunc.h: new view() member function
4397 * lyxfunc.C: subsequent changes
4399 2002-08-13 Angus Leeming <leeming@lyx.org>
4402 * BufferView_pimpl.C:
4410 changes due to the changed LyXView interface that now returns references
4411 to member variables not pointers.
4413 2002-08-13 Angus Leeming <leeming@lyx.org>
4415 * WordLangTuple (word, lang_code): return references to strings,
4420 * lyxtext.h: forward-declare WordLangTuple.
4425 * text.C: #include "WordLangTuple.h".
4428 * text.C: (selectNextWordToSpellcheck): constify return type.
4430 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4436 * paragraph_pimpl.h:
4439 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4441 Made updateCounter always count from start of buffer, and removed
4442 second argument (par).
4443 Reverted floats number display to '#'. Perhaps I'll try again when the
4444 code base is sanitized a bit.
4446 2002-08-12 Angus Leeming <leeming@lyx.org>
4448 * buffer.[Ch] (getLabelList): constify.
4450 2002-08-07 André Pönitz <poenitz@gmx.net>
4452 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4454 * funcrequest.h: extension to keep mouse (x,y) position
4456 2002-08-12 Juergen Vigna <jug@sad.it>
4458 * BufferView2.C (insertErrors): forbid undo when inserting error
4461 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4463 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4465 * ParagraphList.[Ch]: new files
4467 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4469 * BufferView2.C (lockInset): ParagraphList changes
4472 * bufferlist.C: ditto
4476 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4478 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4479 unused class variable counter_,
4481 * paragraph.[Ch] (getFirstCounter): delete unused function
4483 * counters.C: include LAssert.h
4484 (reset): add a new function with no arg, change other version to
4485 not have def. arg and to not allow empty arg.
4487 * text2.C (setCounter): remove empty arg from call to Counters::reset
4489 2002-08-11 John Levon <levon@movementarian.org>
4491 * Makefile.am: add WordLangTuple.h
4493 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4495 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4496 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4498 * insets/insettext.C: InsetList changes
4500 * graphics/GraphicsSupport.C (operator()): InsetList changes
4502 * toc.C (getTocList): InsetList changes
4504 * paragraph_pimpl.[Ch]: InsetList changes
4506 * paragraph.[Ch]: InsetList changes
4508 * buffer.C (inset_iterator): InsetList changes
4509 (setParagraph): ditto
4510 * buffer.h (inset_iterator): ditto
4511 * iterators.C (operator++): ditto
4512 * iterators.h: ditto
4514 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4516 * InsetList.[Ch]: new files, most InsetList handling moved out of
4519 * BufferView2.C (removeAutoInsets): InsetList changes
4521 (ChangeInsets): ditto
4523 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4525 * paragraph_pimpl.h (empty): new function
4527 * paragraph.[Ch] (empty): new function
4529 * other files: use the new Paragraph::empty function
4531 2002-08-09 John Levon <levon@movementarian.org>
4533 * lyxtext.h: remove unused refresh_height
4535 2002-08-09 John Levon <levon@movementarian.org>
4542 * paragraph.C: move sgml char escaping out of paragraph
4545 * paragraph.C: remove id setter
4549 * paragraph_pimpl.C: remove dead tex_code_break_column
4551 * bufferview_funcs.C: small cleanup
4553 * lyxfunc.C: remove dead proto
4555 * lyxtext.h: make some stuff private. Remove some dead stuff.
4557 * lyxgluelength.C: make as[LyX]String() readable
4559 2002-08-08 John Levon <levon@movementarian.org>
4564 * ToolbarDefaults.C:
4567 * toc.C: lyxaction cleanup
4569 2002-08-08 John Levon <levon@movementarian.org>
4571 * BufferView2.C: small cleanup
4574 * lyxfind.C: move unnecessary header into the .C
4576 2002-08-08 John Levon <levon@movementarian.org>
4578 * funcrequest.h: just tedious nonsense
4581 * lyx_main.C: cleanups
4584 * vspace.C: remove dead header lyx_main.h
4586 2002-08-07 Angus Leeming <leeming@lyx.org>
4589 * paragraph_pimpl.h:
4590 Forward declare class Counters in paragraph.h by moving the ctrs member
4591 variable into Paragraph::Pimpl.
4592 (counters): new method, returning a reference to pimpl_->ctrs.
4594 * text2.C: ensuing changes.
4596 2002-08-07 John Levon <levon@movementarian.org>
4598 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4600 * BufferView_pimpl.C: announce X selection on double/triple
4603 * lyx_main.C: use correct bool in batch dispatch
4605 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4607 2002-08-07 André Pönitz <poenitz@gmx.net>
4609 * funcrequest.h: new class to wrap a kb_action and its argument
4612 * BufferView_pimpl[Ch]:
4616 * lyxrc.C: subsequent changes
4619 2002-08-07 John Levon <levon@movementarian.org>
4621 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4622 document options change.
4624 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4629 * makefile.am: move counters functionality over from
4630 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4632 2002-08-06 John Levon <levon@movementarian.org>
4634 * WordLangTuple.h: new file for word + language code tuple
4645 * BufferView2.C: use WordLangTuple
4648 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4650 2002-08-06 John Levon <levon@movementarian.org>
4652 * lyx_main.C: fix cmdline batch handling
4654 2002-08-06 André Pönitz <poenitz@gmx.net>
4656 * lyxrc.C: set default for show_banner to true
4658 2002-08-06 John Levon <levon@movementarian.org>
4660 * pspell.C: fix a crash, and allow new aspell to work
4662 2002-08-06 John Levon <levon@movementarian.org>
4665 * kbmap.C: small cleanup
4668 * vspace.C: add const
4670 2002-08-05 John Levon <levon@movementarian.org>
4672 * LyXAction.C: back to tabular-insert
4674 2002-08-04 John Levon <levon@movementarian.org>
4677 * BufferView.C: cosmetic change
4679 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4689 * BufferView2.C: purge all "Lyx" not "LyX" strings
4692 * lyxcursor.C: attempt to add some documentation
4697 * ToolbarDefaults.C:
4698 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4699 merge with LFUN_TABULAR_INSERT
4706 * pspell.C: split up i/pspell implementations into separate
4707 files, many cleanups
4709 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4711 * text2.C: some cleanup
4713 * lyxfunc.C: don't check for isp_command == "none" any more, it
4714 didn't make any sense
4716 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4721 * makefile.am: move counters functionality over
4722 from text2.C/paragraph.[Ch] to counters.[Ch], and
4724 2002-08-02 John Levon <levon@movementarian.org>
4726 * buffer.C: s/lyxconvert/lyx2lyx/
4728 2002-08-02 Angus Leeming <leeming@lyx.org>
4730 * lyxlex.C: revert John's change as it breaks reading of the user
4733 2002-08-02 Angus Leeming <leeming@lyx.org>
4735 * importer.C (Import):
4736 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4737 changes due to LyXView::view() now returning a boost::shared_ptr.
4739 2002-08-02 John Levon <levon@movementarian.org>
4741 * lyxlex.C: small cleanup
4743 2002-08-02 John Levon <levon@movementarian.org>
4745 * text2.C (status): small cleanup, no logic change
4747 2002-08-01 John Levon <levon@movementarian.org>
4750 * buffer.C (writeFile): don't output alerts, caller
4754 * lyx_cb.C: from above
4756 * lyxfunc.C: allow to open non-existent files
4758 2002-07-31 John Levon <levon@movementarian.org>
4760 * lyxserver.C: don't let incidental errors get
4763 2002-07-30 John Levon <levon@movementarian.org>
4765 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4767 2002-07-30 John Levon <levon@movementarian.org>
4770 * lyxserver.C: remove I/O callback too
4772 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4774 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4777 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4779 * many files: strip,frontStrip -> trim,ltrim,rtrim
4781 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4783 * PrinterParams.h: remove extern containsOnly, and include
4784 support/lstrings.h instead.
4786 * LaTeX.C (scanAuxFile): modify because of strip changes
4788 * buffer.C (makeLaTeXFile): ditto
4789 * bufferparams.C (writeFile): ditt
4790 * lyxfont.C (stateText): ditto
4791 * lyxserver.C (read_ready): ditto
4792 * vc-backend.C (scanMaster): ditto
4794 * BufferView_pimpl.h: ws changes
4796 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4798 2002-07-26 André Pönitz <poenitz@gmx.net>
4800 * kb_sequence.C: remove unnedred usings
4802 2002-07-26 Juergen Vigna <jug@sad.it>
4804 * lyxfind.C (LyXReplace): we have to check better if the returned
4805 text is not of theLockingInset()->getLockingInset().
4807 2002-07-25 Juergen Vigna <jug@sad.it>
4809 * lyxfind.C (LyXReplace): don't replace if we don't get the
4812 * undo_funcs.C (createUndo): remove debugging code.
4814 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4816 * buffer.C (parseSingleLyXformat2Token): Use default placement
4817 when reading old floats.
4819 * FloatList.C (FloatList): Change the default placement of figure
4820 and tables to "tbp".
4822 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4824 * MenuBackend.C: using std::max
4826 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4828 * MenuBackend.C (expandToc):
4829 (expandToc2): code moved from xforms menu frontend. It is now
4830 generic and TOCs are transparent to menu frontends.
4832 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4834 * toc.C (getTocList): protect against buf=0
4836 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4837 Menu as first parameter. Now, this calls itself recursively to
4838 expand a whole tree (this will be useful for TOC handling)
4839 (expandFloatInsert): remove 'wide' version of floats
4841 * MenuBackend.h (submenuname): returns the name of the submenu.
4842 (submenu): returns the submenu itself, provided it has been
4843 created by MenuBackend::expand
4845 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4847 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4848 insets which have noFontChange == true. (bug #172)
4850 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4852 * BufferView_pimpl.C: add connection objects and use them...
4855 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4857 * MenuBackend.C (expandLastfiles):
4860 (expandFloatListInsert):
4861 (expandFloatInsert):
4862 (expand): split expand in parts
4864 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4866 * lyx_gui.C: use lyx_gui::exit()
4868 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4870 * LyXAction.C: show the failing pseudo action
4872 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4874 * buffer.C (readFile): Run the lyxconvert script in order to read
4877 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4881 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4883 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4887 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4889 2002-07-22 Herbert Voss <voss@lyx.org>
4892 * lyxlength.[Ch]: add support for the vertical lengths
4894 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4896 * toc.[Ch]: std:: fixes
4898 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4900 * lyxrc.C: do not include lyx_main.h
4902 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4908 * BufferView2.C: include "lyxlex.h"
4911 * bufferparams.h: do not #include "lyxlex.h"
4913 * lyxtextclasslist.C (Add): remove method
4914 (classlist): renamed to classlist_
4916 * paragraph_pimpl.C:
4920 * bufferview_funcs.C:
4925 * toc.C (getTocList): use BufferParams::getLyXTextClass
4927 * toc.C (getTocList): use InsetFloat::addToToc
4929 * toc.[Ch]: new files, containing helper functions to handle table
4932 * lyxfunc.C (dispatch): no need to remove spaces around command
4934 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4935 first command of the sequence; it is not very clever, but I do not
4936 have a better idea, actually
4938 * LyXAction.C (LookupFunc): make sure to remove space at the
4939 beginning and end of the command
4941 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4943 * MenuBackend.C (getMenubar): new method: return the menubar of
4945 (read): treat differently reading of menu and menubar (in
4946 particular, the menubar has no name now)
4947 (Menu::menubar): remove
4949 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4952 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4954 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4955 a bibitem inset in a RTL paragraph.
4957 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4959 * paragraph_pimpl.C: constify
4961 * BufferView_pimpl.C:
4963 * lyxfunc.C: fix dispatch in a nicer way
4965 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4967 * lyxfunc.C (dispatch):
4968 * BufferView_pimpl.C:
4969 * BufferView_pimpl.h:
4971 * BufferView.h: rename Dispatch() to dispatch()
4973 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4975 * lyxlayout.C (Read): honor DependsOn tag
4977 * lyxlayout.[Ch] (depends_on): new method
4979 * version.C.in: update lyx_docversion
4981 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4983 * paragraph.C (validate): remove from here...
4984 * paragraph_pimpl.C (validate): ... and move here
4985 (isTextAt): make it const
4987 * buffer.C (getLists): ws cleanup
4989 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4991 * language.C (read): Use iso8859-1 encoding in latex_lang
4992 (this prevents LyX from crashing when using iso10646-1 encoding).
4994 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4996 * text2.C (toggleInset): if cursor is inside an inset, close the
4997 inset and leave cursor _after_ it
4999 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5001 * lyxfunc.C: move minibuffer completion handling out of here
5003 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5005 * BufferView_pimpl.C:
5006 * LaTeX.C: fix dispatch calls
5008 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5010 * text.C (drawChars): Fix Arabic text rendering.
5012 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5016 * lyxfunc.C: remove message-push/pop
5020 * lyxfunc.C: rationalise some code by removing verboseDispatch
5021 in favour of a bool argument to dispatch()
5023 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5025 * lyx_main.C (init): make sure to read symlinks as absolute paths
5027 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5030 * lyxfunc.C: no need for commandshortcut to be a member
5032 2002-07-15 André Pönitz <poenitz@gmx.net>
5034 * converter.C: add support for $$s (scripts from lib/scripts dir)
5035 * lyx_main.C: white space
5037 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5041 * lyxrc.C: remove second exit confirmation
5043 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5048 * BufferView_pimpl.h:
5049 * BufferView_pimpl.C:
5050 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5052 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5054 * MenuBackend.C (expand): add numeric shortcuts to document menu
5056 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5058 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5060 * lyxfont.C (setLyXFamily):
5067 * buffer.C (asciiParagraph): use ascii_lowercase
5069 2002-07-15 Mike Fabian <mfabian@suse.de>
5071 * lyxlex_pimpl.C (search_kw):
5072 * lyxlex.C (getLongString):
5073 * converter.h (operator<):
5074 * converter.C (operator<):
5075 * buffer.C (parseSingleLyXformat2Token):
5077 * ToolbarDefaults.C (read):
5078 * MenuBackend.C (checkShortcuts):
5080 * LColor.C (getFromGUIName):
5081 (getFromLyXName): use the compare_ascii_no_case instead of
5082 compare_no_case, because in turkish, 'i' is not the lowercase
5083 version of 'I', and thus turkish locale breaks parsing of tags.
5085 2002-07-16 Angus Leeming <leeming@lyx.org>
5087 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5088 now takes a Buffer const & argument.
5090 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5092 * BufferView.C (resize): check there's a buffer to resize
5094 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5096 * lyxfunc.C: remove dead code
5099 * lyxserver.C: use lyx_guii::set_read_callback
5101 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5103 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5104 an inset in a RTL paragraph.
5106 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5108 * lyxfunc.C: repaint after a font size update
5110 2002-07-15 André Pönitz <poenitz@gmx.net>
5112 * lyxlength.C: inBP should be able to return negative values
5114 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5116 * lyxfunc.C: use lyx_gui::update_fonts()
5118 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5120 * lyxfunc.C: use lyx_gui::update_color()
5122 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5128 * lyxrc.C: remove file->new asks for name option, and let
5129 buffer-new take an argument
5131 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5133 * BufferView_pimpl.C: remove unneeded extra repaint()
5135 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5137 * LyXAction.C: allow command-sequence with NoBuffer
5139 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5141 2002-07-10 Angus Leeming <leeming@lyx.org>
5143 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5145 2002-07-09 Angus Leeming <leeming@lyx.org>
5147 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5149 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5151 * lengthcommon.h: whitespace
5153 * lyxfunc.C: update scrollbar after goto paragraph
5155 * lyxtext.h: factor out page break drawing, and fix it so
5156 page break/added space paints as selected nicely
5158 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5160 * BufferView_pimpl.C: add FIXMEs, clean up a little
5162 2002-07-09 André Pönitz <poenitz@gmx.net>
5164 * lyxfont.[Ch]: support for wasy symbols
5166 2002-07-08 André Pönitz <poenitz@gmx.net>
5168 * BufferView_pimpl.C: apply John's patch for #93.
5170 2002-07-05 Angus Leeming <leeming@lyx.org>
5172 * BufferView_pimpl.C (buffer): generate previews if desired.
5174 * LColor.h: add "preview" to the color enum.
5176 * LColor.C (LColor): add a corresponding entry to the items array.
5178 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5181 2002-07-05 Angus Leeming <leeming@lyx.org>
5183 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5184 The body of the code is now in the method that is passed an ostream &
5185 rather than a file name.
5186 Pass an additional only_preamble parameter, useful for the forthcoming
5189 2002-07-03 André Pönitz <poenitz@gmx.net>
5191 * lyxfunc.C: simplify getStatus() a bit for math stuff
5193 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5195 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5197 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5199 * text.C (changeRegionCase): do not change case of all the
5200 document when region ends at paragraph end (bug #461)
5202 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5204 * paragraph.C (startTeXParParams):
5205 (endTeXParParams): add \protect when necessary
5207 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5209 * BufferView_pimpl.C (workAreaExpose): remove warning
5211 2002-06-27 Angus Leeming <leeming@lyx.org>
5213 * Makefile.am: add lyxlayout_ptr_fwd.h.
5215 2002-06-26 André Pönitz <poenitz@gmx.net>
5217 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5219 2002-06-25 Angus Leeming <leeming@lyx.org>
5221 * lyxfunc.C (dispatch): Comment out the call to
5222 grfx::GCache::changeDisplay. The method no longer exists now that the
5223 pixmap generation part of the graphics loader has been moved into
5226 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5228 * text2.C: layout as layout
5230 * text.C: layout as layout
5232 * tabular.C (OldFormatRead): layout as layout
5234 * paragraph_pimpl.C (TeXDeeper): layout as layout
5235 (realizeFont): layout as layout
5237 * paragraph.C (writeFile): layout as layout
5238 (validate): layout as layout
5239 (getFont): layout as layout
5240 (getLabelFont): layout as layout
5241 (getLayoutFont): layout as layout
5242 (breakParagraph): layout as layout
5243 (stripLeadingSpaces): layout as layout
5244 (getEndLabel): layout as layout
5245 (getMaxDepthAfter): layout as layout
5246 (applyLayout): layout as layout
5247 (TeXOnePar): layout as layout
5248 (simpleTeXOnePar): layout as layout
5249 (TeXEnvironment): layout as layout
5250 (layout): layout as layout
5251 (layout): layout as layout
5253 * lyxtextclass.C (compare_name): new functor to work with
5254 shared_ptr, layout as layout
5255 (Read): layout as layout
5256 (hasLayout): layout as layout
5257 (operator): layout as layout
5258 (delete_layout): layout as layout
5259 (defaultLayout): layout as layout
5261 * lyxlayout_ptr_fwd.h: new file
5263 * lyxlayout.C (Read): layout as layout
5265 * lyx_cb.C (MenuInsertLabel): layout as layout
5267 * bufferlist.C (newFile): layout as layout
5269 * buffer.C (readLyXformat2): layout as layout
5270 (parseSingleLyXformat2Token): layout as layout
5271 (insertStringAsLines): layout as layout
5272 (asciiParagraph): layout as layout
5273 (latexParagraphs): layout as layout
5274 (makeLinuxDocFile): layout as layout
5275 (simpleLinuxDocOnePar): layout as layout
5276 (makeDocBookFile): layout as layout
5277 (simpleDocBookOnePar): layout as layout
5278 (getLists): layout as layout
5280 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5282 * CutAndPaste.C (cutSelection): layout as layout
5283 (pasteSelection): layout as layout
5284 (SwitchLayoutsBetweenClasses): layout as layout
5286 * BufferView_pimpl.C (Dispatch): layout as layout
5287 (smartQuote): layout as layout
5289 * BufferView2.C (unlockInset): layout as layout
5291 2002-06-24 André Pönitz <poenitz@gmx.net>
5293 * lyxfunc.C: fix #487
5295 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5299 * lyxfunc.C: remove display_shortcuts, show_banner
5301 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5303 * Buffer_pimpl.C: oops, update on resize
5305 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5312 * BufferView.C: use repaint()
5314 * BufferView_pimpl.h:
5315 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5316 as it's a clearer description. Remove superfluous
5319 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5321 * text.C: fix bug 488. Not ideal, but getting
5322 getWord() to work properly for the insets that
5323 matter is more difficult ...
5325 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5327 * BufferView_pimpl.C:
5330 * lyxfunc.C: remove the six million index lyxfuncs to just
5331 one, and DTRT (bug 458)
5333 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5337 * BufferView_pimpl.h:
5338 * BufferView_pimpl.C: clean up resize() stuff,
5339 and unnecessary updateScreen()s
5341 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5345 * BufferView_pimpl.h:
5346 * BufferView_pimpl.C:
5349 * minibuffer.C: remove focus management of workarea,
5350 not needed. Use screen's greyOut()
5352 2002-06-17 Herbert Voss <voss@lyx.org>
5354 * converter.C: (convert) do not post a message, when converting
5355 fails, let the calling function decide what to do in this case
5357 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5359 * lyxfunc.C: tidy up a little
5361 2002-06-16 <alstrup@diku.dk>
5363 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5364 Got rid of FORMS_H_LOCATION include. Now we are
5367 2002-06-15 LyX Development team <lyx@rilke>
5369 * buffer.[Ch] (sgmlOpenTag):
5370 (sgmlCloseTag): Added support for avoiding pernicious mixed
5371 content. Return number of lines written.
5374 (makeDocBookFile): Fixed calls to sgml*Tag.
5375 Simple white space clean.
5377 (simpleDocBookOnePar): Simple white space clean.
5379 * tabular.[Ch] (docBook): Renamed to docbook and got another
5380 argument to related with the pernicious mixed content.
5382 (docbookRow): Fixed calls for docbook inset method.
5384 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5386 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5387 so it's X11 independent.
5391 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5393 2002-06-15 Lyx Development team <lyx@electronia>
5395 * intl.h: Renamed getTrans to getTransManager.
5397 2002-06-14 Angus Leeming <leeming@lyx.org>
5399 * Makefile.am: nuke forgotten stl_string_fwd.h.
5401 2002-06-12 Angus Leeming <leeming@lyx.org>
5403 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5405 2002-06-13 Angus Leeming <leeming@lyx.org>
5408 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5410 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5412 * kbmap.C (getiso): add support for cyrillic and greek
5414 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5418 * BufferView_pimpl.h:
5419 * BufferView_pimpl.C: move bogus scrolling logic
5422 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5425 * BufferView_pimpl.C: view->resize() change
5427 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5429 * BufferView_pimpl.C: topCursorVisible
5432 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5436 * lyx_gui.C: move to frontends/
5440 * lyx_main.C: changes from above
5442 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5449 * lyx_main.C: minor tidy
5451 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5453 * BufferView_pimpl.h:
5454 * BufferView_pimpl.C:
5456 * BufferView.C: make painter() const,
5459 * BufferView2.C: use screen() accessor
5462 * lyx_main.C: some minor cleanup
5464 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5466 * BufferView_pimpl.h:
5467 * BufferView_pimpl.C: remove enter/leaveView,
5470 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5475 * BufferView_pimpl.h:
5476 * BufferView_pimpl.C: only construct screen once,
5479 * lyxrc.C: remove pointless comment
5481 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5484 * BufferView.C: remove active() and belowMouse()
5486 * BufferView_pimpl.h:
5487 * BufferView_pimpl.C: use workarea() not workarea_,
5488 and make it use a scoped_ptr instead
5490 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5492 * lyx_gui.C: add debug message on BadWindow
5494 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5496 * sp_spell.C: fdopen is not part of the C++ standard.
5498 * paragraph.C (InsetIterator): use >= instead of ==
5500 2002-06-07 Angus Leeming <leeming@lyx.org>
5502 Fixes needed to compile with Compaq cxx 6.5.
5503 * BufferView_pimpl.C:
5510 * lyxtextclasslist.C:
5515 all c-library variables have been moved into namespace std. Wrap
5516 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5521 Add a using std::abs declaration.
5523 * kbmap.h (modifier_pair):
5524 * paragraph.h (InsetTable, InsetList):
5525 * lyxfont.h (FontBits):
5526 type definition made public.
5528 * bufferlist.C (emergencyWriteAll): the compiler complains that
5529 there is more than one possible lyx::class_fun template to choose from.
5530 I re-named the void specialisation as lyx::void_class_fun.
5532 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5534 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5535 the compiler is is unable to find tostr in write_attribute.
5537 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5539 * buffer.C (sgmlError): hide #warning
5541 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5543 * xtl/*: get rid of xtl, which is not in use anyway
5545 * LyXAction.C (init):
5546 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5547 were unimplemented xtl experimentation
5549 2002-06-04 André Pönitz <poenitz@gmx.net>
5551 * lyxfunc.C: disable array operation on simple formulae
5553 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5555 * converter.C: constify a bit
5557 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5559 * lyx_gui.C: check xforms version correctly
5561 2002-04-30 Herbert Voss <voss@lyx.org>
5563 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5566 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5568 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5569 attempt to register it with a VCS)
5571 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5573 * lyx_main.C (init): honor variables LYX_DIR_13x and
5576 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5580 * lyx_main.C: fix a crash on bad command line,
5581 and give a useful exit status on error
5583 * lyxfunc.C (doImport): allow -i lyx to work
5585 2002-03-30 André Pönitz <poenitz@gmx.net>
5587 * lyxfunc.C: mathed font changes
5589 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5604 * trans_mgr.h: srcdocs, and some minor cleanups
5606 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5608 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5609 call getFont all the time)
5611 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5613 * switch from SigC signals to boost::signals
5615 2002-05-29 André Pönitz <poenitz@gmx.net>
5617 * paragraph_pimpl.C (getChar): don't call size() too often...
5619 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5621 * paragraph_pimpl.C (insertChar): do not try to update tables when
5622 appending (pos == size())
5624 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5625 in order to reduce drastically the number of comparisons needed to
5626 parse a large document
5628 2002-05-29 André Pönitz <poenitz@gmx.net>
5634 * textclasslist.[Ch]:
5635 * sp_ispell.h: whitespace change
5637 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5639 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5640 lyxaction directly now.
5642 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5646 * lyxvc.C: remove unused headers
5648 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5655 * undo_funcs.C: some cleanups. Use shared_ptr
5656 and a template for the undo stacks.
5658 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5660 * BufferView_pimpl.h:
5661 * BufferView_pimpl.C:
5668 * text2.C: use key_state/mouse_state
5670 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5672 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5675 * chset.C: change include order
5676 (loadFile): use boost regex and get rid of LRegex and LSubstring
5678 * Makefile.am (BOOST_LIBS): new variable
5681 * LaTeX.C: change include order.
5682 (scanAuxFile): use boost regex and get rid of LRegex and
5686 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5691 * FontInfo.C: moved to frontends/xforms/
5694 * FontLoader.C: moved into frontends for GUIIzation
5699 * lyxfunc.C: changes from above
5701 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5703 * LColor.C: remove spurious X include
5705 * BufferView_pimpl.C:
5710 * text2.C: move font metrics to frontends/
5712 2002-05-24 Juergen Vigna <jug@sad.it>
5714 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5715 setting the undo_cursor.
5717 * ParagraphParameters.h: include local includes first.
5719 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5721 * BufferView_pimpl.C:
5722 * BufferView_pimpl.h:
5726 * screen.C: move WorkArea into frontends/
5732 * BufferView2.C: move LyXScreen into frontends/
5736 * lyx_gui.C: move lyxlookup into frontends/xforms/
5738 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5741 * BufferView_pimpl.C:
5751 * bufferview_funcs.C:
5764 * vc-backend.C: move LyX/XFormsView into frontends/
5766 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5778 * text2.C: move Painter to frontends/
5780 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5782 * buffer.C: comment out some some code that depend upon lyx_format
5785 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5786 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5788 * buffer.h (NO_COMPABILITY): turn off compability
5790 * ColorHandler.C: include scoped_array.hpp
5792 * font.C: Use more specific smart_ptr header.
5795 * ShareContainer.h: ditto
5799 * BufferView_pimpl.h: ditto
5800 * ColorHandler.h: ditto
5802 * kbmap.C (defkey): change call to shared_ptr::reset
5804 2002-05-21 Juergen Vigna <jug@sad.it>
5806 * buffer.C (insertErtContents): fix to insert ert asis if it is
5807 non empty. Skip it completely if it contains only whitespaces.
5809 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5811 * BufferView_pimpl.C:
5812 * BufferView2.C: clear selection on paste (bug 393)
5814 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5816 * DepTable.C: include ctime
5818 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5820 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5822 2002-05-14 Juergen Vigna <jug@sad.it>
5824 * text.C (breakParagraph): fixed function to honor the keepempty
5825 layout in the right maner and also to permit the right breaking
5826 algorithm on empty or non empyt keepempty paragraphs.
5828 * paragraph.C (breakParagraph): we have to check also if the par
5829 is really empty (!size()) for isempty otherwise we do the wrong
5832 2002-05-10 Juergen Vigna <jug@sad.it>
5834 * buffer.[Ch] : The following are only changes to the ert
5835 compatibility read reading old LaTeX layout and font stuff and
5836 convert it to ERTInsets.
5838 * buffer.h: added isErtInset().
5840 * buffer.C (struct ErtComp): add a fromlayout bool to check
5841 if we're inside a LaTeX layout.
5842 (isErtInset): new helper function.
5843 (insertErtContents): look for other ert insets before this one
5844 and insert the contents there, so that we don't have subsequent
5845 ERT insets with nothing between them. This way we create only one
5846 inset with multiple paragraphs. Also check if we don't insert only
5847 spaces ' ' as they are ignored anyway afterwards in the .tex file
5848 so if we have only spaces we will ignore this latex part in the
5850 (parseSingleLyXformat2Token \\layout): better compatibility when
5851 reading layout-latex stuff.
5852 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5854 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5855 stuff after reading the inset only get the information back from
5858 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5860 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5862 * LaTeXFeatures.C (getBabelOptions): New method.
5864 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5866 * BufferView_pimpl.C (Dispatch): work around missing argument for
5869 2002-05-08 Juergen Vigna <jug@sad.it>
5871 * text.C (leftMargin): handle paragraph leftindent.
5873 * paragraph.C (writeFile): write the new \\leftindent tag.
5874 (validate): handle leftindent code.
5875 (TeXEnvironment): handle paragraphleftindent code again.
5877 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5879 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5880 for paragrap_extra indent code and new token \\leftindent.
5881 (latexParagraphs): handle the leftindent as environment.
5883 * ParameterStruct.h: added leftindent support.
5885 * ParagraphParameters.C (leftIndent): added support functions for
5886 the paragraph left indent.
5888 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5891 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5893 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5896 * text.C (computeBidiTables): No bidi in insetERT.
5898 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5901 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5903 * version.C.in: pre 5
5905 2002-05-02 José Matos <jamatos@fep.up.pt>
5906 * buffer.C (makeDocBookFile): white space changes, add newline to
5908 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5910 * tabular.C (docBook): fix typo.
5912 2002-05-03 Juergen Vigna <jug@sad.it>
5914 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5915 change in LyXText as we can not be sure it was not freed.
5916 (drawOneRow): remove unused code.
5918 * text.C (drawInset): redo the calculation of the need_break_row as
5919 it could have a row which was already freed.
5920 (draw): look at the return value of drawInset and return false if
5921 it also returned false.
5922 (paintRowText): look at the return value of draw and return false if
5923 it also returned false.
5925 * lyxtext.h: added bool return type to drawInset() and draw() so that
5926 if we have a change in the row so that the rowbreak has to be redone
5927 we abort drawing as it will be called again.
5929 2002-05-02 Juergen Vigna <jug@sad.it>
5931 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5932 a change in the maintext also if we're inside an inset.
5933 (Dispatch): set the cursor again after a break line and after the
5934 screen has been updated as it could be we're in a different row.
5936 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5937 to set the cursor behind the pargraph with > size().
5938 (setCursor): check also for the same paragraph when checking where
5939 to put the cursor if we have a NFR inset.
5941 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5942 parts of layout read further up as it still was in the wrong
5945 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5947 * screen.C (drawFromTo): change sine fullRebreak always return
5950 * buffer.C (parseSingleLyXformat2Token): reindent some
5952 * BufferView_pimpl.C (update): change since fullRebreak always
5954 (Dispatch): git rid of the last hardcoded "Standard"s.
5956 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5958 * text2.[Ch] (fullRebreak): make it return void now that we always
5961 2002-04-30 Juergen Vigna <jug@sad.it>
5963 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5964 ert compatibility check for "latex" layout.
5966 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5968 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5969 minipages: use col% instead of p%, and also use the current font.
5970 (makeLaTeXFile): Fix use babel condition.
5971 (parseSingleLyXformat2Token): Correct font when reading old floats.
5973 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5975 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5976 inserting list of floats.
5978 2002-04-25 Herbert Voss <voss@lyx.org>
5980 * MenuBackend.C (expand): don't add the graphics extensions to the
5983 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5985 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5986 non-existing layout, do not complain if it was the default layout
5987 of the original class (bug #342)
5989 2002-04-24 Juergen Vigna <jug@sad.it>
5991 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5992 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5994 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5996 * buffer.C (getBibkeyList): If using \bibliography, return the
5997 option field with the reference itself. Enables us to provide natbib
5998 support when using \bibliography.
6000 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6002 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6004 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6005 natbib is provided by the LaTeX class.
6007 2002-04-23 Juergen Vigna <jug@sad.it>
6009 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6012 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6014 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6016 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6018 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6019 ensuremath around textordmasculine, textordfeminine and
6022 2002-04-19 Juergen Vigna <jug@sad.it>
6024 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6025 reinitializing the buffer otherwise row-dimensions may be wrong.
6026 (update): reset also the selection cursors if they do exits otherwise
6027 their x/y positions may be wrong.
6029 * text2.C (cursorDown): don't enter the inset if we came from a row
6030 above and are one row over the inset.
6032 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6033 really leaving an inset.
6035 2002-04-18 Juergen Vigna <jug@sad.it>
6037 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6038 of the selected paragraph does not have the selected layout also if
6041 * text2.C (setLayout): fixed bug which did not change last selected
6044 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6045 changed the read and substituted \\end_float with \\end_inset!
6047 * BufferView_pimpl.C (cursorPrevious):
6048 (cursorNext): fixed to make it work with rows heigher than the work
6049 area without moving the cursor only the draw of the row.
6050 (workAreaMotionNotify): fix jumping over high rows.
6052 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6054 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6057 2002-04-16 Juergen Vigna <jug@sad.it>
6059 * text2.C (setCursor): set also the irow().
6060 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6062 (cursorDown): support for locking an inset if the x_fix value goes
6063 inside it. That way I can transverse insets too with cursor up/down.
6065 * lyxrow.h: added irow helper function same as other (i) functions.
6067 * BufferView_pimpl.C (cursorPrevious):
6068 (cursorNext): fixed for insets!
6070 2002-04-15 Juergen Vigna <jug@sad.it>
6072 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6073 position otherwise it is wrong in some cases.
6075 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6076 inside the inset before the call.
6078 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6080 * buffer.[Ch] (getBibkeyList): make it const.
6082 2002-04-12 Juergen Vigna <jug@sad.it>
6084 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6086 * text2.C (getCursorX): new helper function
6087 (setCursor): compute also ix_
6088 (setCursorFromCoordinates): set also ix.
6090 * lyxcursor.h: added ix_ and helper functions.
6092 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6094 * buffer.C (insertStringAsLines): dont break paragraph if the this
6095 paragraph is inside an inset which does not permit it!
6097 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6098 also with no chars on this paragraph.
6099 (paintRowText): only paint stuff if it's inside the workarea!
6101 * paragraph.C (breakParagraph): honor keepempty flag and break the
6102 paragraph always below not above.
6104 * BufferView2.C (unlockInset): update the paragraph layout on inset
6105 unlock as we changed paragraph in such a case.
6107 * lyxfind.C (LyXFind): clear the former selection if not found!
6109 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6110 again called in insertChar().
6112 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6113 an inset which uses the whole row!
6114 (rightMargin): ditto.
6115 (insertChar): force a rebreak if we inserted an inset!
6117 2002-03-28 Herbert Voss <voss@lyx.org>
6119 * lyxlength.[Ch]: add inBP() to get the right PS-point
6120 units (BigPoint). With inPixels we have rounding errors
6122 2002-04-11 Juergen Vigna <jug@sad.it>
6124 * text2.C (setCursorFromCoordinates): set iy to the right value.
6125 (setCursor): add check if row->previous exists!
6127 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6128 an old float_type as this was the case in the old code!
6130 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6132 * BufferView2.C (showLockedInsetCursor): use iy
6133 (fitLockedInsetCursor): ditto
6135 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6136 locked insets as there we have the right value now.
6138 * lyxcursor.C: added iy_ variable and iy functions to set to the
6139 baseline of cursor-y of the locked inset.
6141 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6142 (setCursor): fixed for insets which need a full row.
6144 * text.C (rowLastPrintable): don't ignore the last space when before
6145 an inset which needs a full row.
6146 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6147 as last character of a row when before a inset which needs a full row.
6149 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6151 * version.C.in: update date
6153 * text2.C (fullRebreak): try to always return true and see what
6156 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6158 * MenuBackend.C (expand): use Floating::listName
6160 * FloatList.C (FloatList): add listName argument to the built-in
6163 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6164 text associated with the float.
6166 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6168 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6170 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6172 * ShareContainer.h: add a couple of missing typenames.
6174 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6176 * lyxrc.C (getDescription): use _() correctly rather than N_().
6178 2002-03-28 Herbert Voss <voss@lyx.org>
6180 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6181 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6183 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6185 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6186 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6188 2002-03-29 Juergen Vigna <jug@sad.it>
6190 * lyxfunc.C (dispatch): add a missing fitCursor call.
6192 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6193 it was scrolled by a cursor move, so return the bool status.
6195 * BufferView.C (fitCursor): return the bool flag also to the outside
6196 world as this is needed.
6198 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6200 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6201 call the edit() as it is not needed (and wrong) IMO.
6202 (workAreaButtonPress): set the screen_first variable before evt.
6203 unlock the inset as this may change screen_first and then we have
6204 a wrong y position for the click!
6206 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6208 * MenuBackend.C (expand): another translation that I missed
6210 2002-03-28 Juergen Vigna <jug@sad.it>
6212 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6214 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6216 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6218 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6220 * MenuBackend.C (expand): fix export/view/update when there is no
6223 2002-03-27 Herbert Voss <voss@lyx.org>
6225 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6228 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6230 * bufferview_funcs.C (currentState): only show paragraph number
6231 for is DEVEL_VERSION is set.
6233 * lyxfunc.C (dispatch): put warning in INFO channel
6235 * MenuBackend.C (expand): translate the name of floats
6237 * FloatList.C (FloatList): mark the float names for translation
6239 * converter.C (convert): use LibScriptSearch
6241 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6243 * MenuBackend.C (defaults): fix default menu (we might as well get
6246 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6248 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6251 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6253 * lyxvc.C: reorder includes.
6255 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6257 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6260 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6262 * CutAndPaste.C: change layouts earlier on paste
6263 to avoid crashing when calling getFont()
6265 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6267 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6270 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6272 * WorkArea.C: remove 'Pending' debug message.
6274 * most files: ws cleanup
6276 * buffer.[Ch]: ws changes
6278 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6280 2002-03-21 Juergen Vigna <jug@sad.it>
6282 * tabular.C (SetMultiColumn): collapse also the contents of the
6283 cells and set the last border right. Added a Buffer const * param.
6285 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6287 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6290 2002-03-19 Juergen Vigna <jug@sad.it>
6292 * text2.C (clearSelection): reset also xsel_cache.
6294 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6295 where it needs to be called (John tells us to do so too :)
6296 (selectionLost): reset sel_cache.
6298 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6300 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6302 * text2.C (setCursorIntern): put debuging code in INSETS channel
6304 2002-03-19 André Pönitz <poenitz@gmx.net>
6306 * lyxfunc.C: tiny whitespace change
6308 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6310 * ToolbarDefaults.C (init):
6311 * LyXAction.C (init):
6313 * BufferView_pimpl.C (Dispatch):
6314 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6316 2002-03-19 Allan Rae <rae@lyx.org>
6318 * exporter.C (Export): removeAutoInsets before doing anything else.
6319 While I've just introduced a dependency on BufferView this really is
6320 the best place to clean the buffer otherwise you need to cleanup in
6321 a dozen places before calling export or cleanup in a dozen functions
6324 * converter.C (runLaTeX):
6325 (scanLog): Better handling of removeAutoInsets and screen updates.
6327 * lyxfunc.C (dispatch): small whitespace changes
6329 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6331 * WorkArea.C (C_WorkAreaEvent): return a value.
6332 (event_cb): return 1 if we handled the event, 0 otherwise.
6334 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6336 2002-03-18 Juergen Vigna <jug@sad.it>
6338 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6339 (GetAdditionalWidth): ditto.
6343 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6344 inset if we're there actually (probably not used right now but this
6345 is the direction to go for unifying code).
6346 (paste): disable code to clear the selection.
6348 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6349 inside an InsetText and move the check further up as it is in the
6352 * text2.C (pasteSelection): set a selection over the pasted text.
6354 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6356 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6357 and libgraphics to build on Cygwin.
6359 2002-03-15 Juergen Vigna <jug@sad.it>
6361 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6362 inserting an Inset into the paragraph. I know this is not the best
6363 fix but we already use current_view in CutAndPaste so we will remove
6364 all of it's using at the same time.
6366 * buffer.C (sgmlError): deactivated function till it is rewritten in
6367 the right mode, now it can create problems.
6369 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6370 before accessing it.
6372 2002-03-14 Juergen Vigna <jug@sad.it>
6374 * undo_funcs.C (textHandleUndo): do the right thing when updating
6375 the inset after the undo/redo.
6377 * text2.C (setCursor): just some testcode for #44 not ready yet.
6379 * undo_funcs.C (textHandleUndo): set the next() and previous()
6380 pointers of the paragraph to 0 before deleting otherwise we have
6381 problems with the Paragraph::[destructor].
6383 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6384 on a paragraph insertion.
6386 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6388 * buffer.C (asciiParagraph): use += operator for char append to
6391 * paragraph.C (getFontSettings): compare >= not just >
6392 (highestFontInRange): ditto
6395 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6397 * paragraph.C: change several algorithm to be more appripriate for
6398 the problem domain. This is lookip in FontList and in the InsetList.
6400 2002-03-13 André Pönitz <poenitz@gmx.net>
6403 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6405 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6410 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6412 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6414 * Painter.C (display): anon helper function, adjust code for this
6416 (pixmap): remove function.
6418 * Painter.h: remove private display variable.
6420 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6422 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6424 * WorkArea.[Ch]: remove figinset_canvas cruft.
6426 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6428 * lyxtextclass.C (operator): add one item cache optimization.
6430 * bufferlist.h: doxy changes
6432 * bufferlist.C: ws changes
6434 * DepTable.[Ch] (ext_exist): place const in the right spot.
6436 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6438 (workAreaExpose): call resizeInsets when the with BufferView changes.
6439 (Dispatch): adjust for protectedBlank removal
6440 (specialChar): call updateInset if the insert went ok.
6442 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6443 specialChar instead.
6445 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6447 * BufferView.h: doxy change
6449 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6451 * lyxtextclass.C (operator[]): remove non-const version
6452 (defaultLayout): remove non-const version
6454 2002-03-12 Juergen Vigna <jug@sad.it>
6456 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6457 did resize the LyXText too.
6459 * buffer.C (readLyXformat2): set layout information on newly allocated
6462 * tabular.C (OldFormatRead): set layout information on the paragraph.
6464 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6466 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6468 2002-03-11 Juergen Vigna <jug@sad.it>
6470 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6472 (resizeCurrentBuffer): force also the insets to resize themselfes.
6473 (moveCursorUpdate): fixed up for InsetText.
6475 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6478 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6479 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6480 value of Dialogs::tooltipsEnabled().
6481 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6483 2002-03-08 Juergen Vigna <jug@sad.it>
6485 * BufferView_pimpl.C (updateInset): update inset inside inset also
6486 if it isn't inside theLockingInset().
6488 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6490 * buffer.C (asciiParagraph): redo some of the word and line length
6492 (getLists): look for Caption instead of caption.
6494 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6496 * buffer.C (Buffer): initialize niceFile to true
6499 (makeDocBookFile): make sure niceFile is true on exit
6501 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6503 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6505 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6507 * LyXSendto.C: remove.
6508 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6509 * lyx_gui.C: remove now-redundant comment.
6510 * ColorHandler.h: remove forward declaration of class WorkArea.
6511 * lyxfunc.C: remove #include "WorkArea.h".
6513 2002-03-07 Juergen Vigna <jug@sad.it>
6515 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6516 got moved away with the DEPM and also set the inset_owner always
6517 right which before could have been omitted.
6519 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6521 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6522 wanted layout is not found.
6524 2002-03-07 Juergen Vigna <jug@sad.it>
6526 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6528 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6530 * paragraph.C (breakParagraph): use default layout not layout of
6532 (Paragraph): clear ParagraphParameters.
6534 2002-03-06 Juergen Vigna <jug@sad.it>
6536 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6537 otherwise it would not be a valid lenght. Fixed a special case in
6538 the minipage compatibility read where we end the document with a
6541 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6542 was set as it could be 0 for InsetTexts first entry.
6544 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6546 * paragraph.C (writeFile): if layout is empty write out
6547 defaultLayoutName().
6549 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6550 file without named layout we set layout to defaultLayoutName().
6552 2002-03-06 Juergen Vigna <jug@sad.it>
6554 * CutAndPaste.C (copySelection): set layout for new paragraph.
6556 * text.C (prepareToPrint): leave ERT inset left aligned
6557 (leftMargin): don't indent paragraphs inside ERT insets
6559 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6561 * paragraph.C (breakParagraph): dont call clear do the work manually
6563 * paragraph.[Ch] (clear): remove function
6565 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6567 * paragraph.C (Paragraph): dont call clear, the work has already
6570 * lyxtextclass.C (operator): assert if n is empty
6572 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6573 work manually instead.
6575 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6577 * BufferView_pimpl.C: protect selectionLost against text == 0
6579 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6581 * text.C (breakParagraph): fix a setting layout to '0' problem.
6583 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6585 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6586 final location of file, for the included files, and graphics.
6588 2002-03-05 Juergen Vigna <jug@sad.it>
6590 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6592 2002-03-04 Juergen Vigna <jug@sad.it>
6594 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6596 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6597 last column of multicolumn cells.
6598 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6600 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6602 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6603 file if it doesn't go to a temporary file.
6605 * buffer.C (sgmlOpenTag):
6606 (sgmlCloseTag): remove extra newline insertion.
6608 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6610 * text.C (getRowNearY): comment out debug msg
6612 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6614 * text2.C: first -> first_y
6616 * text.C (getRowNearY): add some attemts at a possible
6617 optimization, not working.
6619 * tabular.[Ch]: add BufferParams to several function so that newly
6620 created paragraph can be initialized to he default layotu for the
6623 * tabular-old.C (ReadOld): add buf->params to call of Init
6625 * screen.C: rename text->first to text->first_y
6627 * paragraph.C (breakParagraph): always set layout in the broken
6630 * lyxtextclass.C (Read): remove lowercase
6633 (delete_layout): ditto
6635 * lyxtext.h: rename first -> first_y
6637 * lyxlayout.C (Read): remove lowercase
6640 (obsoleted_by): ditto
6642 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6644 * buffer.C (insertErtContents): add params are to InsetERT
6645 (parseSingleLyXformat2Token): add code to check if a paragraphs
6646 layout really exist.
6647 (parseSingleLyXformat2Token): add params to several inset
6649 (asciiParagraph): remove lowercase, do the layout comparisons with
6652 * BufferView_pimpl.C (cursorNext): first -> first_y
6653 (resizeCurrentBuffer): first -> first_y
6654 (updateScrollbar): first -> first_y
6655 (scrollCB): first -> first_y
6656 (workAreaMotionNotify): first -> first_y
6657 (workAreaButtonPress): first -> first_y
6658 (checkInsetHit): first -> first_y
6659 (cursorPrevious): first -> first_y
6660 (cursorNext): first -> first_y
6661 (Dispatch): add buffer_->params to severl inset contructors
6663 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6665 * lyxlayout.C (Read): remove some debug info that I forgot.
6667 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6668 clean up the code slightly.
6669 (makeLinuxDocFile): ditto
6670 (makeDocBookFile): ditto
6672 * text2.C: layout as string
6674 * text.C: layout as string
6676 * paragraph_pimpl.C: layout as string
6678 * paragraph.[Ch]: layout as string
6680 * lyxtextclasslist.[Ch]: layout as string
6682 * lyxtextclass.[Ch]: layout as string
6684 * lyxtext.h: layout as string
6686 * lyxlayout.[Ch]: layout as string
6688 * lyx_cb.C: layout as string
6690 * bufferview_funcs.C: layout as string
6692 * bufferparams.C: layout as string
6694 * buffer.C: layout as string
6696 * LyXView.[Ch]: layout as string
6698 * LaTeXFeatures.[Ch]: layout as string
6700 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6702 * BufferView_pimpl.C: change current_layout to string, remove
6707 (workAreaButtonRelease): layout as string
6709 * BufferView2.C (unlockInset): adjust
6711 * vspace.C (asLatexCommand): use an explict temp variable.
6713 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6715 * Makefile.am: use FRONTEND_*
6717 2002-03-01 Juergen Vigna <jug@sad.it>
6719 * tabular.C (SetWidthOfMulticolCell): changed to something better
6720 I hope but still work in progress.
6721 (recalculateMulticolumnsOfColumn): renamed function from
6722 recalculateMulticolCells as it is more appropriate now.
6723 (SetWidthOfCell): calculate multicols better.
6725 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6727 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6729 * lyxfunc.C (processKeySym): print sequence also if it is
6730 `deleted' (complete)
6732 * kbsequence.C (print): print sequence even if it is deleted
6733 (complete would be a better word, actually).
6735 * lyxfunc.C (dispatch): print complete options after a prefix key
6737 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6739 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6741 * text2.C (setCharFont): eliminate setCharFont code duplication.
6743 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6745 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6746 LFUN_TABULAR_FEATURE (bug #177)
6748 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6750 * Makefile.am: remove figure.h
6752 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6754 * Bufferview_pimpl.C:
6766 * text2.C: remove #include "lyx_gui_misc.h".
6768 * LaTeX.C: added #include <cstdio>
6770 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6772 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6773 that the paragraph following this one can have.
6775 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6777 * vspace.C (asLatexCommand): fix bogus gcc warning
6779 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6781 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6783 * text2.C (setLayout): get rid of redundant code
6785 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6787 * text2.C (incDepth): make sure depth cannot be increased beyond
6790 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6792 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6793 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6795 * PainterBase.h (image):
6796 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6799 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6803 * BufferView_pimpl.C:
6804 * BufferView_pimpl.h:
6824 * sp_spell.C: remove fig inset, and the crap house of
6825 cards that follows it
6827 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6833 * nt_defines.h: move .h into support/
6835 * vms_defines.h: remove
6837 * WorkArea.C: add space in debug output
6841 * buffer.C: add WITH_WARNINGS
6845 * bufferlist.C: s/retrive/retrieve/, add docs
6856 * lyxgui.C: add ID to X error handler
6858 * lyxtestclass.c: fix typo
6860 2002-02-26 Juergen Vigna <jug@sad.it>
6862 * tabular_funcs.C (write_attribute): changed so that some default
6863 attributes are not written at all.
6864 (getTokenValue): set default values before trying to read the
6865 value so we have the return value always set as default if we don't
6866 find the token we search for.
6868 * tabular.C (Write): write bools as bools not as strings!
6870 2002-02-22 Juergen Vigna <jug@sad.it>
6872 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6873 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6875 * text.C (leftMargin): don't add an indent for paragraphs inside
6876 tabular cells (fix #208).
6878 2002-02-21 José Matos <jamatos@fep.up.pt>
6880 * tabular.C (docBook): fixed support for long tables.
6882 2002-02-20 Juergen Vigna <jug@sad.it>
6884 * text2.C (getFont): get the drawing font of the Inset if this
6885 paragraph is inside an inset (only important for InsetERT for now).
6887 * buffer.C (insertErtContents): use new lanugage params in ERT
6890 * CutAndPaste.C: commenting out seemingly uneeded code.
6892 2002-02-19 Allan Rae <rae@lyx.org>
6894 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6895 Iterators might be simple to use but they also get invalidated.
6896 (removeAutoInsets): renamed saved cursor tracking variables and added
6897 some comments to clarify what everything does.
6899 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6906 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6907 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6910 * vc-backend.h: remove #include "support/syscall.h"
6914 * converter.C: rearrange #includes in Lars' approved fashion.
6916 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6917 forward declare class Timeout in the header file.
6919 * XFormsView.C: changes due to the above.
6921 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6924 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6925 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6927 2002-02-18 José Matos <jamatos@fep.up.pt>
6929 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6932 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6934 * a lot of small ws changes
6935 * add a lot of using std::XXX
6936 * use std construcs some places where approp.
6937 * use some exisint stuff from lyxfunctional where approp.
6938 * Make file changes to use partial linking (lets test this now...)
6940 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6944 remove #include "support/syscontr.h" as it's redundant. Always has been.
6952 change Systemcalls::System to Systemcalls::Wait and
6953 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6954 No change of functionality, just reflects the stripped down Systemcalls
6957 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6959 * debug.[Ch]: add a GRAPHICS type to the enum.
6961 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6963 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6965 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6968 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6970 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6971 match the changes below.
6973 * text2.C (toggleInset): if there is not editable inset at cursor
6974 position, try to see if cursor is _inside_ a collapsable inset
6977 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6979 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6980 document menu has a nice checkbox
6982 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6984 * lyxlength.C (asLatexString): change PW to output as percent of
6987 * lengthcommon.C: change '%' to 't%'
6989 * lyxfunc.C (dispatch): a few comments from Martin
6991 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6995 * BufferView_pimpl.h:
6996 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6999 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7001 * vspace.C (inPixels): fix compiler warning
7003 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7005 * lyxfunc.C (getStatus): fix status message for disabled commands.
7007 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7009 * BufferView_pimpl.C: fix crash on close buffer
7010 during selection (#227)
7012 2002-01-27 Herbert Voss <voss@lyx.org>
7014 * buffer.C: link old Figure to new graphic inset
7016 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7018 * FontLoader.C (getFontinfo): Change the latex font names in order
7019 to match the names of type1inst.
7021 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7023 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7025 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7028 (remove_files_with_extension): ditto
7029 (remove_file): ditto
7032 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7033 document is smaller than the work area height. Do not initialize
7034 static variables to 0.
7036 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7038 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7040 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7041 LFUN_LAYOUT_PARAGRAPHS.
7043 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7044 tabular. It is possible to provide a possible cell, which will
7045 typically be the actcell from the corresponding insettabular
7047 * lyxfunc.C (getStatus): small cleanup; disable
7048 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7051 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7053 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7055 * paragraph.C (startTeXParParams):
7056 (endTeXParParams): new methods. The LaTeX code to
7057 start/end paragraph formatting
7058 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7059 empty (fixes bug #200)
7061 * vspace.C (inPixels): adapt to the change below
7062 (inPixels): [later] more cleanups (remove unused variables)
7064 * lyxlength.C (inPixels): change to use a width and a height as
7067 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7069 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7070 Replaced with \paperwidth
7072 * DepTable.C (insert): add std:: qualifier
7074 2002-01-18 Allan Rae <rae@lyx.org>
7076 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7079 * text.C (drawInset): Turned out I didn't know enough about how
7080 rebreaking worked. This fixes most of the redraw problems. I see
7081 an occasional cursor trail when a line is broken now and the cursor
7082 placement can seem out by a few pixels also after a rebreak.
7084 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7086 * buffer.C (parseSingleLyXformat2Token): update because minipage
7087 width is now a LyXLength
7089 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7091 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7094 2002-01-17 Juergen Vigna <jug@sad.it>
7096 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7098 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7099 is set correctly and the inset is updated correctly.
7101 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7103 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7104 the beginning of the loop.
7106 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7108 * lyxrc.C: improve help for use_scalable_fonts
7110 2002-01-17 Allan Rae <rae@lyx.org>
7112 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7114 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7116 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7117 make sure to set their inset_owner to the right value (bug #171)
7119 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7122 * DepTable.C: Implement mtime checking to reduce time spent doing
7125 2002-01-16 Juergen Vigna <jug@sad.it>
7127 * tabular.C (GetAdditionalHeight): one of error fixed.
7129 * lyxrc.C (output): small fix in writing use_pspell.
7131 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7133 * sp_base.h: #include LString.h
7135 2002-01-16 Allan Rae <rae@lyx.org>
7137 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7138 Can someone check this please?
7140 * text.C (drawInset): It was possible that p.row would be removed by
7141 breakAgainOneRow upsetting a few other settings. There may be another
7142 small tweak possible by setting need_break_row = 0 when p.row has been
7143 removed but I don't know enough about the logic here.
7145 2002-01-15 Allan Rae <rae@lyx.org>
7147 * text.C (insertChar): removed conditional truism.
7149 * BufferView2.C (removeAutoInsets): More tweaks.
7150 cur_par_prev could be a stray pointer. Check for trailing empty line
7151 in case last line was cur_par and only had an error inset on it.
7153 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7155 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7158 * vc-backend.C (most methods):
7159 * exporter.C (Export):
7160 * converter.C (convert):
7162 * LyXSendto.C (SendtoApplyCB):
7163 * lyxfunc.C (dispatch):
7167 * lyx_cb.C (AutoSave):
7169 * BufferView_pimpl.C (MenuInsertLyXFile):
7170 * buffer.C (runChktex): use Buffer::filePath().
7172 * buffer.h: rename filename to filename_; rename filepath to
7173 filepath_ and make it private
7174 (filePath): new method
7176 * buffer.C (writeFile): use fileName()
7179 * lyx_main.C (init): fix starting of LyX when the binary is a
7180 link from so,ewhere else.
7182 * minibuffer.C: include <cctype> for isprint
7184 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7186 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7187 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7188 name clash with InsetCollapsable's width function.
7190 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7192 * lastfiles.C: include <iterator>
7194 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7196 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7199 * buffer.C (makeLaTeXFile): ditto.
7200 Also make loop operation more transparent.
7202 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7204 * ToolbarDefaults.C: remove trailing comma closing namespace.
7206 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7208 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7211 * trans.C (Load): comment out unused variable, allowed.
7213 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7215 * minibuffer.[Ch] (append_char): new method to recieve input from the
7216 drop-down completion browser. If a key was pressed, then recieve this
7217 char and append it to the existing string.
7218 (peek_event): modify the positioning data passed to the completion
7219 browser so that it can be placed above the minibuffer rather than below.
7220 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7222 * LyXAction.C (init): alloe error-next for readonly documents.
7224 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7227 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7229 * bufferlist.C (readFile): create the buffer _after_ checking that
7232 * lyxfunc.C (verboseDispatch): fix handling of arguments
7234 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7236 * lyxrc.C: use string::erase() instead of initializing to "".
7239 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7241 * BufferView_pimpl.h:
7242 * BufferView_pimpl.C:
7245 * text2.C: tell X when we have made a selection for copying
7247 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7249 * BufferView_pimpl.C (MenuInsertLyXFile):
7250 * lyxfunc.C (menuNew):
7252 (doImport): add shortcuts to directory buttons
7254 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7257 * lyxfunc.C (setStatusMessage):
7258 (getStatusMessage): new methods
7259 (getStatus):use setStatusMessage instead of setErrorMessage
7260 (dispatch): when function is disabled, set error message here
7261 [instead of in getStatus previously]
7263 * BufferView_pimpl.C (workAreaButtonRelease): update
7264 toolbar/menubar here too.
7266 2002-01-13 Allan Rae <rae@lyx.org>
7268 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7269 Now seems indestructible. Remaining task is to audit all other
7270 code affected by deleteEmptyParagraphMechanism. One small quirk
7271 left is that an empty document with an error in the preamble can
7272 be made to report an error but no error box appears. I don't know
7274 (removeAutoInsets): Improved comments.
7276 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7279 * Thesaurus.C: update for Aiksaurus 0.14
7281 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7283 * text2.C (firstParagraph): removed member function, all uses
7284 replaces with ownerParagraph
7285 (redoParagraphs): here
7287 (toggleAppendix): here
7288 * BufferView2.C (insertErrors): here
7289 (setCursorFromRow): here
7291 2002-01-13 Allan Rae <rae@lyx.org>
7293 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7294 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7295 There is still a way to segfault this although you may have to do this
7296 multiple times: Have an InsetERT with an unknown command in it.
7297 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7298 <down-arrow>, <Enter> again, View->DVI, BANG!
7300 * text2.C (setCursor):
7301 (deleteEmptyParagraphMechanism):
7302 * lyxtext.h (setCursor):
7303 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7304 Making use of the return value may help fix other bugs.
7306 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7308 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7310 * LyXView.C (updateMenubar): call MenuBar::update here
7311 (updateToolbar): but not here
7312 (showState): do not update toolbar/menubar
7314 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7315 should need to care about that.
7317 * lyxfunc.C (verboseDispatch): simplify a bit
7318 (getStatus): have a version which takes a pseudoaction, and
7319 another which requires a (kb_action,string).
7321 * LyXAction.C (retrieveActionArg): make it work also when action
7322 is not a pseudo-action.
7323 (getActionName): simplify a bit
7326 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7328 * lyxfunc.C (verboseDispatch): new families of methods with
7329 several ways to specify a command and a bool to indicate whether
7330 the command name and shortcut should be displayed in minibuffer
7331 (eventually, we could extend that to a finer bitmask like
7332 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7333 (dispatch): the pristine dispatch command which just, well,
7334 dispatchs! Note it still sets its result to minibuffer; I'm not
7337 * lyxfunc.h: remove setHintMessage
7339 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7341 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7343 * BufferView_pimpl.C (specialChar): delete new inset if we have
7344 not been able to insert it.
7346 * kbmap.C: revert to using int instead of kb_action, since all we
7347 are dealing with is pseudo-actions.
7349 * LyXAction.C (searchActionArg): change to return int instead of
7350 kb_action, since the result is a pseudoaction.
7352 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7354 * buffer.C (insertErtContents): Fix (partially) the font bug.
7356 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7358 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7359 as the other one is broken on my machine!
7361 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7364 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7366 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7368 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7369 reflect their actual use. Provide compatibility code for older lyxrc
7372 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7374 change names of popup font variables in line with the changes to lyxrc.C
7376 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7378 * buffer.C (asciiParagraph): avoid outputing a word twice after
7381 * lyxrc.C (getDescription): document that document_path and
7382 template_path can be empty.
7384 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7386 * LaTeXFeatures.C (getMacros):
7387 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7389 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7391 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7393 (getPackages): rename feature "floats" to "float". Use an array to
7394 iterate over 'simple' features (i.e. just a \usepackage). Add
7395 handling of "amsmath" (renamed from "amsstyle").
7397 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7399 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7402 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7404 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7405 FuncStaus::FuncStatus & FuncStaus::some_method().
7407 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7409 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7410 of the func_satus stuff. Edited and massaged in various ways by
7413 * lyxfunc.C (getStatus): use FuncStatus
7415 2002-01-08 Juergen Vigna <jug@sad.it>
7417 * text.C (nextBreakPoint): use function Inset::isChar().
7419 * paragraph.C (TeXOnePar): use function
7420 Inset::forceDefaultParagraphs.
7422 * buffer.C (latexParagraphs): use function
7423 Inset::forceDefaultParagraphs.
7425 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7427 * lyx_gui.C (init): set the style of the menu popups to
7428 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7430 2002-01-07 Juergen Vigna <jug@sad.it>
7432 * text.C (setHeightOfRow): small fix
7433 (prepareToPrint): don't look at alignment if we don't have the place
7436 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7438 * box.C: New file. Move the Box methods and functions out of box.h,
7439 following Lars' suggestion.
7441 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7443 * box.h: #include "support/LOstream.h", needed for inlined function.
7446 * lyxtextclasslist.C: added some using std declarations.
7448 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7450 * box.h: make signed dimensions to allow insets wider than
7451 the screen (bug #162)
7453 * BufferView_pimpl.C: add some insetHit debug
7455 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7457 * vc-backend.C: add FIXME
7459 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7461 * lyxfunc.C (getStatus): enable code for showing math font status
7464 2002-01-07 Juergen Vigna <jug@sad.it>
7466 * text.C (nextBreakPoint): removed debug output not needed anymore.
7468 2002-01-06 Juergen Vigna <jug@sad.it>
7470 * text.C (nextBreakPoint): fixed up this function we had this bug
7471 since ever but now hopefully we break row better.
7472 (insertChar): we have to check if an inset is the next char as it
7473 could now happen that a large inset is causing a break.
7475 2002-01-05 Juergen Vigna <jug@sad.it>
7477 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7478 if it doesn't like to be drawed.
7480 2002-01-04 Juergen Vigna <jug@sad.it>
7482 * BufferView2.C (lockInset): forgot to set a cursor.
7484 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7486 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7491 * form_maths_panel.C:
7492 * form_maths_panel.h:
7493 * form_maths_panel.fd: implemented sub- and super- buttons in math
7496 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7497 (or ^ space) to be used as in TeX (req'd by André).
7499 * lyxfunc.C: Allow ^ and _ again to be used both as
7500 super/subscript (mathed) and as themselves (in text).
7502 2002-01-03 Allan Rae <rae@lyx.org>
7504 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7505 "LyX" or the filename of the current buffer if it has one. This is a
7506 modified form of John Levon's patch.
7508 * XFormsView.C (setWindowTitle): also set icon title.
7510 * LyXView.h (setWindowTitle): signature changed.
7511 * XFormsView.h (setWindowTitle): ditto.
7513 2002-01-02 Juergen Vigna <jug@sad.it>
7515 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7517 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7519 * screen.C (topCursorVisible): introduce a temp var for
7520 text->cursor.row(), handle the case where this row is null. (kindo
7523 * text2.C (setCursor): add a couple of asserts.
7525 * paragraph.h (inset_iterator): add -> operator
7527 * paragraph.[Ch] (autoDeleteInsets): remove member function
7529 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7530 cursor pos correctly and handle inset deletion by itself.
7531 (insertErrors): move iterator declaration out of for expression
7533 * lyxtextclass.C: add <algorithm>
7535 * Makefile.am: added the new files to sources, removed layout.C
7537 * layout.C: removed file
7539 * layout.h: remove LYX_DUMMY_LAYOUT
7541 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7545 * lyxtextclass.[Ch]:
7546 * lyxtextclasslist.[Ch]: new files
7548 * include order changes to a lot of files, also changes because of
7551 2001-12-27 Juergen Vigna <jug@sad.it>
7553 * buffer.C (asciiParagraph): more fixes.
7555 * tabular.C (ascii): make ascii export support export of only the
7556 data separated by a column-delimiter.
7557 (ascii): better support for ascii export.
7559 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7561 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7563 * tabular_funcs.C: use a "using std::getline" instead of the
7564 previous fix from Angus (necessary for cxx + lyxstring)
7566 2001-12-24 Juergen Vigna <jug@sad.it>
7568 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7570 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7571 problems. First check a minipage also if we have some ert-contents
7572 (not only on par->size(), second set the right depth of the paragraph
7573 on the relink to the root-paragraph-list!
7575 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7576 which then did not anymore update the main paragraphs on undo/redo!
7578 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7580 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7581 code. Support all font-changing funcs (even those which are not in
7582 menu currently). Support for reporting font settings in
7583 mathed (disabled until Andre provides a function on mathed's side).
7585 * func_status.h (toggle): small helper function to set toggle
7588 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7590 * tabular_funcs.C: getline -> std::getline
7592 2001-12-21 Juergen Vigna <jug@sad.it>
7594 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7595 accessed and could be 0 (I couldn't generate this but it seems
7598 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7600 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7601 * tabular_funcs.h: here and include iosfwd
7603 2001-12-20 Juergen Vigna <jug@sad.it>
7605 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7606 inside inset but undo_par was.
7608 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7610 * Thesaurus.C: always include <config.h> in sources.
7614 * box.h: do not include <config.h> in header files
7616 * text.C (paintLastRow): remove unused variable
7618 * text.C (transformChar):
7620 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7623 * font.C (width): rewrite to use uppercase() instead of
7626 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7628 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7630 * lyxfind.C: clean up of find failure position change
7632 2001-12-20 Juergen Vigna <jug@sad.it>
7634 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7636 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7637 (TeXRow): added to LaTeX a single tabular row.
7638 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7639 (Latex): simplified and finally good LT-h/f support.
7640 (various_functions): just small adaptions for LT-h/f support.
7642 * tabular_funcs.[hC]: added and moved here all not classfunctions
7645 2001-12-19 Juergen Vigna <jug@sad.it>
7647 * tabular.[Ch]: better support for longtabular options (not finished
7650 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7652 * text.C (paintLastRow): use the label font instead of the font of
7653 the last character to compute the size of *_BOX. This makes more
7654 sense and avoids a crash with empty paragraphs.
7655 Use Painter::rectangle to draw EMPTY_BOX.
7657 2001-12-19 Juergen Vigna <jug@sad.it>
7659 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7660 the paragraphs if the replaced paragraph is not the first one!
7661 Tried to delete not used paragraphs but does not work yet so for
7662 now it's inside #ifdef's and by default off!
7664 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7666 * MenuBackend.C: include "lyx_main.h" instead of declaring
7667 lastfiles (actually was declared as LastFiles* instead of a
7670 2001-12-17 Juergen Vigna <jug@sad.it>
7672 * tabular.C (AppendColumn): applied John's fix
7674 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7678 * BufferView_pimpl.h:
7679 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7682 * box.h: new start of class for above
7684 * lyxfunc.C: ignore space-only minibuffer dispatches.
7685 Show the command name when it doesn't exist
7687 * minibuffer.C: don't add empty lines to the history
7689 * minibuffer.C: add a space on dropdown completion
7691 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7693 * text.C: fix line above/below drawing in insets
7695 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7697 * lyxlength.C (LyXLength): Initialize private variables.
7699 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7701 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7702 when inserting error insets.
7704 2001-12-13 Juergen Vigna <jug@sad.it>
7706 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7707 actually sometimes the before-paragraph.
7708 (setUndo): don't clear the redostack if we're not actually undoing!
7710 2001-12-06 Juergen Vigna <jug@sad.it>
7712 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7713 and fixed redoing of main paragraph, so we can use it now ;)
7715 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7717 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7719 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7722 2001-12-13 André Pönitz <poenitz@gmx.net>
7725 * undo_func.C: minor cleanup
7727 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7729 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7730 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7731 font in urw-fonts package which is marked as -urw-fontspecific and
7732 does not work (incidentally, changing the encoding in the
7733 fonts.dir of this package to -adobe-fontspecific fixes the
7736 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7737 is a crash when undoing first paragraph (Juergen, please take a
7738 look). THis does not mean the undo fix is wrong, just that it
7741 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7742 the (Paragraph*) version when needed instead of duplicating the
7745 * text.C (workWidth): use Inset::parOwner to find out where the
7746 inset has been inserted. This is a huge performance gain for large
7747 documents with lots of insets. If Inset::parOwner is not set, fall
7748 back on the brute force method
7750 * paragraph_pimpl.C (insertInset):
7751 * paragraph.C (Paragraph):
7752 (cutIntoMinibuffer): set parOwner of insets when
7753 inserting/removing them
7755 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7757 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7763 * mathed/formulabase.C:
7764 * mathed/math_cursor.[Ch]:
7765 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7768 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7770 * lyxlength.[Ch] (operator!=): new function
7772 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7774 * text.C (workWidth): use Inset::parOwner to find out where the
7775 inset has been inserted. This is a huge performance gain for large
7776 documents with lots of insets. If Inset::parOwner is not set, fall
7777 back on the brute force method
7779 * paragraph_pimpl.C (insertInset):
7780 * paragraph.C (Paragraph):
7781 (cutIntoMinibuffer): set parOwner of insets when
7782 inserting/removing them
7784 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7786 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7788 * tabular-old.C (getTokenValue):
7789 * tabular.C (getTokenValue):
7790 (write_attribute): new versions for LyXLength
7791 (everywhere): adjust the use of widths
7793 * tabular.h: change the type of widths from string to LyXLength
7795 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7797 * paragraph.C: fixed missing line number count when exporting
7798 Environments to LaTeX file
7800 * buffer.C: added informational message for checking line numbers.
7802 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7804 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7805 paragraph, do the 'double space' part, but not the 'empty
7808 * text.C (workWidth): small optimization
7809 (getLengthMarkerHeight): use minimal size for negative lengths.
7811 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7813 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7815 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7817 2001-12-11 André Pönitz <poenitz@gmx.net>
7820 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7822 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7824 * text2.C: keep selection on a setFont()
7826 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7828 * lyx_cb.C: another bv->text misuse, from insert label
7830 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7833 * kbsequence.C: re-instate nmodifier mask
7835 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7837 * lyx_main.h: make lyxGUI private.
7839 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7841 * lyxfind.C: place the cursor correctly on failed search
7843 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7845 * text.C (getLengthMarkerHeight): for small heights, the arrows
7846 are not always on top/bottom of the text
7847 (drawLengthMarker): smaller arrows; take the left margin in
7848 account; draw also vfills.
7850 (paintLastRow): remove special code for vfill and standard spaces,
7851 since everything is handled in drawLengthMarker now.
7853 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7855 * buffer.C (insertErtContents): try to handle font and language
7856 interaction a bit better.g
7858 * ColorHandler.C (updateColor): change the hash to cover the whole
7859 LColor enum, ws cleanup
7860 (getGCLinepars): ditto
7861 (getGCLinepars): only lookup in the linecache once.
7863 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7865 * iterators.C (operator++): Make the iterator more robust
7867 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7869 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7871 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7874 * text.C: better added space drawing
7876 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7879 * BufferView2.C: fix layout combo update on inset unlock
7881 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7883 * Makefile.am: don't compile unused files
7885 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7889 * LyXAction.C: remove old LFUN_LAYOUTNO
7891 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7893 * paragraph_pimpl.h:
7894 * paragraph_pimpl.C: isTextAt() doesn't need font param
7896 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7899 * lyxlex.C: little cleanup
7901 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7903 * BufferView_pimpl.C: fix insertAscii for insets
7905 2001-12-05 Juergen Vigna <jug@sad.it>
7907 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7908 set the right font on the "multi" paragraph paste!
7910 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7916 * lyxlength.C: remove out-commented code.
7932 * vc-backend.C: change "while(" to "while ("
7934 * lyxlength.[Ch]: add zero function to check if length is zero or
7936 * lyxgluelength.C: use it
7938 2001-12-05 Allan Rae <rae@lyx.org>
7940 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7941 Works for 2.95.3, from what I understand of Garst's reports this should
7942 work for other g++ versions. We're screwed if the abs(int) definition
7943 changed between bugfix releases of gcc.
7945 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7947 * text.C: fix chapter label offset !
7949 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7952 * text.C: fix hfill at end of line, clean up
7954 2001-12-04 Juergen Vigna <jug@sad.it>
7956 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7957 that we force an update of the inset and it's owners if neccessary.
7959 2001-12-03 Juergen Vigna <jug@sad.it>
7961 * text.C (rowLast): simplified code
7963 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7965 * lyxfunc.C: fix show options on timeout
7967 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7969 * screen.C (topCursorVisible): scroll half a page when the cursor
7970 reached top of bottom of screen
7972 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7974 * minibuffer.C: deactivate on loss of focus
7976 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7978 * vspace.[Ch] (operator!=): add operator.
7980 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7982 * BufferView_pimpl.C: refuse to open an inset when
7983 there's a selection.
7985 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7987 * BufferView_pimpl.C: allow to click on RHS of full row insets
7989 2001-11-30 Juergen Vigna <jug@sad.it>
7991 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7992 insets for undo reasons.
7994 2001-11-28 André Pönitz <poenitz@gmx.net>
7996 * vspace.[Ch]: cosmetical changes
7998 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8008 * kbsequence.C: part re-write of old kb code
8011 * WorkArea.C: remove Lgb_bug_find_hack
8013 2001-11-30 José Matos <jamatos@fep.up.pt>
8015 * buffer.C (makeDocBookFile): add a comment to point a hack.
8016 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8017 Fixed a double write of labels.
8019 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8022 * LaTeX.h Fixed bug in LaTeX class where it would not
8023 re-run latex if no depfiles were changed, but the .dvi was removed.
8025 2001-11-28 André Pönitz <poenitz@gmx.net>
8027 * all the files from the change on 2001/11/26:
8028 use lyx::layout_type instead of LyXTextClass::size_type
8029 use lyx::textclass_type instead of LyXTextClassList::size_type
8031 2001-11-29 Juergen Vigna <jug@sad.it>
8033 * text.C: added support for paragraph::isFreeSpacing()
8035 * buffer.C: same as above
8037 * paragraph.h: inserted isFreeSpacing() function to enable
8038 FreeSpacing inside InsetERT.
8040 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8041 of the paragraph's in the cut/copy buffer to 0!
8043 * text2.C (removeRow): remove the assert as it can!
8045 * lyxtext.h: added helper function firstRow returning firstrow and
8046 made firstrow private again.
8048 * BufferView2.C (lockInset): don't relock if we're already locked!
8050 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8052 (removeRow): added Assert::(firstrow)
8054 * debug.C: forgot to add INSETTEXT here.
8056 2001-11-28 Juergen Vigna <jug@sad.it>
8058 * sp_spell.C (initialize): changed error text to more general
8059 spellchecker command use (not only ispell!)
8061 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8063 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8065 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8067 * vspace.C: initialise lyxgluelength on failure
8069 2001-11-28 Allan Rae <rae@lyx.org>
8071 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8072 declaration & definition that looks like a function declaration.
8074 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8076 * BufferView2.C (copy):
8077 (copyEnvironment): do not clear the selection when doing a copy.
8079 * text.C (paintFirstRow): compilation fix
8081 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8083 * tabular.C (Latex): correct line count when writing latex.
8085 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8087 * paragraph_pimpl.h:
8088 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8091 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8095 * LColor.C: change vfillline->added_space
8097 * text.C: add markers and text for added space
8099 * vspace.C: fix comment
8101 2001-11-28 André Pönitz <poenitz@gmx.net>
8103 * paragraph.C: whitespace changes
8104 * all the other files from the change on 2001/11/26:
8105 change *::pos_type into lyx::pos_type
8107 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8109 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8110 language of the document when inserting error insets.
8112 2001-11-26 André Pönitz <poenitz@gmx.net>
8114 * BufferView_pimpl.[Ch]:
8122 * paragraph_pimpl.[Ch]:
8125 * text2.C: reduce header dependencies, introduce type for positions
8127 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8129 * <various>: change to use Alert.h
8131 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8133 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8134 when encountering an unknown token.
8135 (readLyXformat2): Show an error message if there were unknown tokens.
8137 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8140 * BufferView_pimpl.C:
8144 * text2.C: use par->isInset()
8146 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8148 * paragraph_pimpl.h:
8149 * paragraph_pimpl.C: cleanup
8151 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8153 * text2.C (removeRow):
8154 * text.C (setHeightOfRow): remove useless (and costly) call to
8157 2001-11-20 Allan Rae <rae@lyx.org>
8159 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8160 Now need Inset*::checkInsertChar() to return true for appropriate
8161 cases so that the characters in the minibuffer will actually be
8164 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8166 * text.C: change the order of the includes.
8167 (workWidth): initialize it at once.
8168 (workWidth): make maxw unsigned
8169 (setHeightOfRow): remove unused variable (inset)
8170 (selectSelectedWord): remove unused variable (inset)
8171 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8173 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8175 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8176 server is not running.
8178 (closeConnection): add debug info when server is disabled.
8180 * ColorHandler.C (getGCForeground): send debug message to GUI
8183 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8185 * kbmap.C (bind): modify because return conventions of
8186 kb_sequence::parse have changed.
8188 * kbsequence.C (parse): only ignore spaces and not any stupid
8189 control character. This avoids tests like s[i] <= ' ', which are
8190 guaranteed to fail with 8bit characters and signed chars.
8191 Change return code to string::npos when there have been no error
8192 (0 was a bad idea when error is at first character)
8194 2001-11-14 José Matos <jamatos@fep.up.pt>
8197 * buffer.C (simpleDocBookOnePar): removed unused argument.
8199 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8201 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8202 insets which are part of a word. Paragraph::isLetter takes care of
8203 that now. Use Paragraph::isInset to identify insets.
8204 (selectSelectedWord): do not test for hyphenation break.
8206 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8207 that protected spaces are considered as spaces.
8209 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8212 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8215 * lyxserver.C: fix it. and small cleanup.
8217 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8219 * BufferView_pimpl.C: use inline helpers
8222 * LaTeXFeatures.C: fix typos
8225 * Spacing.C: move spacing_string into class
8227 * ToolbarDefaults.C: move stuff into namespace anon
8229 * layout.h: update enum
8231 * lyxfunc.C: use better debug
8233 * minibuffer.h: fix typo
8237 * WorkArea.C: add and use Debug::WORKAREA
8241 * text2.C: code re-organisation, inline helpers
8243 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8245 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8246 std::vector.empty().
8248 2001-11-09 Allan Rae <rae@lyx.org>
8250 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8251 '\n's after tables. Tabular and ERT inset work now makes this no
8254 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8257 * minibuffer.C: fix crash, improve drop-down completion
8259 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8262 * lyxserver.C: invalidate fd's when doing endPipe()
8264 2001-11-08 José Matos <jamatos@fep.up.pt>
8266 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8267 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8270 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8272 2001-11-07 José Matos <jamatos@fep.up.pt>
8275 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8278 * buffer.C (sgmlOpenTag):
8279 * buffer.C (sgmlCloseTag): removed debug info.
8281 * buffer.h (sgmlOpenTag):
8282 * buffer.h (sgmlCloseTag): made public.
8284 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8286 * buffer.C (saveParamsAsDefaults):
8287 * lyx_cb.C (MenuLayoutSave): remove
8289 * LyXAction.C (init):
8291 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8293 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8295 * buffer.C (setPaperStuff): removed from here...
8297 * bufferparams.C (setPaperStuff): ... and moved there.
8299 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8303 * XFormsView.C: add support for drop-down completion
8305 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8307 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8310 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8312 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8315 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8317 * lyx_main.C: change ref to known bugs
8319 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8321 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8322 to work around older babel problems.
8324 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8326 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8328 2001-10-24 Juergen Vigna <jug@sad.it>
8330 * tabular-old.C (ReadOld): below variable changes reflected.
8332 * tabular.[Ch]: added ltType struct for longtable header/footer
8333 defines and changed all instances where they are used. Added
8334 future support for double top/bottom rows.
8336 2001-10-24 José Matos <jamatos@fep.up.pt>
8338 * buffer.h (docbookHandleCaption):
8339 * buffer.C (docbookHandleCaption): removed unused function.
8340 (makeDocBookFile): moved docbook supported version to v4.1.
8342 2001-10-24 José Matos <jamatos@fep.up.pt>
8345 * tabular.C (docbookRow): new function to export docbook code of a row.
8346 (DocBook): now honors the longtable flags.
8348 2001-10-23 José Matos <jamatos@fep.up.pt>
8351 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8352 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8354 * buffer.C (makeLinuxDocFile):
8355 (makeDocBookFile): reworked the preamble, more clean, and with
8356 support for lyx defined entities. Changed the document declaration
8357 to be more XML friendly.
8359 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8360 if we need to output XML that should be done with a filter.
8362 2001-10-22 Juergen Vigna <jug@sad.it>
8364 * sp_pspell.h (class PSpell): add alive function needed in the
8365 controller to see if the spellchecker could be started.
8367 2001-10-22 Juergen Vigna <jug@sad.it>
8369 * buffer.C (insertStringAsLines): modify the font for inserting
8370 chars in certain conditions by calling checkInsertChar(font).
8372 2001-10-19 Juergen Vigna <jug@sad.it>
8374 * text.C (workWidth): use getRow instead of wrong algorithm.
8375 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8377 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8382 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8384 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8386 * text.C (workWidth): do not search for the exact row when
8387 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8388 optimization for big documents.
8390 2001-10-18 Juergen Vigna <jug@sad.it>
8392 * text.C (workWidth): new function with added Inset * parameter.
8394 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8396 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8398 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8399 change return type of getColumnNearX.
8402 * text.C (changeRegionCase): use uppercase/lowercase instead of
8405 (rightMargin): simplify code by factoring out the uses of
8410 (appendParagraph): use Paragraph::size_type
8412 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8414 * vspace.C (asLatexString): add a missing break
8416 2001-10-15 Herbert Voss <voss@perce.de>
8418 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8420 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8422 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8425 2001-10-10 André Pönitz <poenitz@gmx.net>
8427 * lyxfunc.C: removed greek_kb_flag.
8429 2001-10-10 Herbert Voss <voss@perce.de>
8431 * lyx_main.C: delete global string help_lyxdir.
8433 2001-10-09 Herbert Voss <voss@perce.de>
8435 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8437 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8439 * lyx_main.C: added global string help_lyxdir.
8441 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8443 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8445 * lyxrc.C (set_font_norm_type): support iso8859-4
8447 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8449 * LaTeX.C (deplog): add another regex for MikTeX
8451 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8453 * lyxrc.C (set_font_norm_type): support iso8859-3
8455 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8457 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8459 * LaTeXFeatures.C: remove special case of french and index
8461 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8462 before \begin{document}). This solves several incompatibilities.
8464 2001-10-03 Garst Reese <reese@isn.net>
8466 * lyx_cb.C: change CheckTex error msg.
8468 2001-10-03 José Matos <jamatos@fep.up.pt>
8470 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8472 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8474 * .cvsignore: update
8476 * lyx_main.C (commandLineVersionInfo): use new style version info.
8478 * buffer.C (writeFile):
8481 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8483 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8485 * version.h: update to use stuff in version.C
8487 * version.C.in: new file. Contains version information determined
8488 at compile time. This is a merging of version.h and
8491 2001-10-03 Juergen Vigna <jug@sad.it>
8493 * BufferView_pimpl.C (update): don't change "dirty" status in
8496 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8498 * WorkArea.C (c-tor): re-position version string slightly.
8500 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8502 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8503 revert to previous code.
8505 WorkArea.[Ch]: (show, destroySplash): methods removed.
8507 WorkArea.C: rework code so that it's an amalgam of the codes before and
8508 after the splash screen was moved to WorkArea.
8510 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8513 * vspace.C (inPixels):
8516 * buffer.C (insertStringAsLines):
8517 (asciiParagraph): fix types to be large enough
8519 * lyxlex_pimpl.h: change member status from short to int
8521 * layout.h: fix type of endlabeltype
8524 * kbsequence.C (parse): change return type to string::size_type
8526 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8529 * Bullet.C (bulletSize):
8530 (bulletEntry): do not use short ints as parameters
8532 * BufferView2.C (insertLyXFile): change a char to an int.
8534 * WorkArea.C (WorkArea): remove unneeded floats in computation
8536 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8538 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8540 * paragraph.C (asString): Do not ignore newline/hfill chars when
8541 copying to the clipboard.
8543 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8545 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8546 after a multi-line inset.
8548 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8550 * paragraph.C (validate): Set NeedLyXFootnoteCode
8552 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8554 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8555 and decrease-error to decrease.
8557 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8559 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8560 it more readable (should be equivalent)
8562 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8564 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8566 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8568 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8569 of a cursor (row, etc.) after a character has been deleted
8570 (deleteEmptyParagraphMechanism): call the method above on _all_
8571 cursors held by the LyXText when a double space has been
8574 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8576 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8578 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8580 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8581 background. Use greyOut() and the new show() methods to toggle between
8582 the foreground and background. Add code to remove the splash after
8583 its initial showing.
8585 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8586 (create_forms): no longer call Dialogs::showSplash.
8588 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8590 * .cvsignore: add version_info.h
8592 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8594 * version_info.h.in: new file
8596 * Makefile.am: add version_info.h.in
8598 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8599 version_info.h instead of VERSION_INFO
8601 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8603 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8604 The ERT inset now returns string().
8606 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8608 * lyxtext.h, text.C (selectNextWord): renamed as
8609 selectNextWordToSpellcheck.
8611 * text.C (selectNextWordToSpellcheck): Modified to not select
8612 words inside an ERT inset.
8614 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8616 * lyx_cb.C (MenuLayoutSave): change a bit the question
8618 * sp_base.h: include <sys/types.h>
8620 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8622 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8624 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8626 * several files: fix typos in user-visible strings
8628 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8630 * text2.C (pasteSelection): do not set the selection, since it
8631 will be cleared later. Actually, the intent was to fix the way the
8632 selection was set, but I figured rmoving the code was just as good.
8634 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8636 * FontLoader.C (available): Check if font is available without
8639 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8641 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8643 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8645 * lyxrc.[Ch]: added display_graphics variable and associated code.
8647 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8649 * bufferparams.C (hasClassDefaults): new method. Returns true if
8650 the buffer parameters correspond to known class defaults
8652 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8654 * XFormsView.C (show): set minimum size to the main window.
8656 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8658 * text2.C (copySelection):
8660 * lyxfind.C (LyXReplace):
8661 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8662 LyXText::selectionAsString.
8664 * paragraph.C (asString): add "label" argument to the second form
8666 * text2.C (selectionAsString): add "label" argument and pass it to
8667 Paragraph::asString.
8669 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8671 * lyx_main.C (commandLineHelp): remove version information
8673 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8675 * lyx_main.C: add -version commandline option
8677 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8679 * paragraph.h: make the optional constructor arg required instead.
8680 some modifications to other files because of this.
8682 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8684 * lyxserver.C (C_LyXComm_callback): make it static
8686 * lyx_main.C (error_handler): make it static
8688 * lyx_gui.C (LyX_XErrHandler): make it static
8690 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8692 * WorkArea.C: make the extern "C" methods static.
8694 * Makefile.am (lyx_LDADD): simplify
8696 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8698 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8699 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8701 * LyXAction.C (init):
8702 * lyxfunc.C (dispatch): associated code removal.
8704 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8706 * lyxfont.h (isSymbolFont): shut off warning
8708 * text.C (setHeightOfRow):
8709 (getVisibleRow): fix crash with empty paragraphs which have a
8712 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8714 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8717 2001-09-04 José Matos <jamatos@fep.up.pt>
8720 * tabular.C (docbook): rename docBook method to docbook.
8722 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8724 * Makefile.am: add dependencies to main.o.
8726 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8728 * FontLoader.C (available): Return false if !lyxrc.use_gui
8730 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8732 * FontInfo.C (query):
8733 * converter.C (view):
8734 * importer.C (Import):
8735 * exporter.C (Export): Can not -> cannot.
8737 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8739 * BufferView_pimpl.C: allow to create index inset even if
8742 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8744 * buffer.C (getLists): replace boost::tie code with an explicit pair
8745 as boost::tie can break some compilers.
8747 * iterators.h: Added a std:: declaration to the return type of
8750 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8752 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8755 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8757 * iterators.[Ch]: New files. Provide paragraph iterators.
8759 * buffer.C (changeLanguage): Use paragraph iterators.
8760 (isMultiLingual): ditto
8762 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8764 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8766 * FontLoader.C: Support for cmr font.
8768 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8770 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8771 (available): New method.
8773 * FontInfo.C (getFontname): Use scalable fonts even when
8774 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8777 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8779 * converter.C (Formats::view): reverted! Incorrect fix.
8781 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8783 * converter.C (Formats::view): only output the -paper option
8784 if the dvi viewer is xdvi, thereby fixing bug #233429.
8786 2001-08-23 Herbert Voss <voss@perce>
8788 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8790 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8792 * Spacing.h (Spacing): Set space to Default on in the default
8795 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8797 * vc-backend.h (RCS::versionString): add RCS to version
8798 (CVS::versionString): add CVS to version
8800 * vc-backend.C (scanMaster): do not add CVS to version.
8801 (scanMaster): do not add RCS to version
8803 * lyxvc.C (versionString): new method
8805 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8807 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8809 * Spacing.C (set): initialize fval
8811 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8813 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8816 2001-08-16 Juergen Vigna <jug@sad.it>
8818 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8820 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8822 * BufferView_pimpl.C:
8825 * text2.C: setParagraph takes linespacing now
8827 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8829 * LyxAction.C: add internal LFUN_CITATION_INSERT
8831 * LyXView.C: actually apply fix
8833 * bufferlist.C: fix open non-existent file
8835 * lyxfind.C: fix indentation
8837 * lyxfunc.C: remove unneeded assert, fix typo
8839 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8841 * MenuBackend.C: use "Floatname List"
8843 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8845 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8846 when converting LaTeX layout to insetERT.
8847 Generate a non-collapsed float when reading old float
8849 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8851 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8854 2001-08-13 Juergen Vigna <jug@sad.it>
8856 * text.C (fill): return 0 instead of 20 as this seems to be the more
8859 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8861 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8864 2001-08-13 Juergen Vigna <jug@sad.it>
8866 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8868 (SearchBackward): comment out the unlocking of the inset_owner this
8869 should not be needed!
8871 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8873 * Many files: Remove inherit_language, and add latex_language
8875 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8878 2001-08-10 Juergen Vigna <jug@sad.it>
8880 * text.C (prepareToPrint): fixed hfill-width in draw!
8882 * BufferView2.C (selectLastWord): save the selection cursor as this
8883 now is cleared in the function LyXText::clearSelection!
8885 2001-08-08 Juergen Vigna <jug@sad.it>
8887 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8888 BACKSPACE type functions.
8890 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8891 is only cutted from the document but not put in the cut-buffer, where
8892 still the old stuff should be.
8894 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8896 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8898 * tabular.C (SetWidthOfCell): fixed special case where the width
8900 (LeftLine): handle '|' in align_special.
8902 (LeftAlreadyDrawed): ditto
8903 (SetWidthOfCell): ditto
8905 2001-08-07 Juergen Vigna <jug@sad.it>
8907 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8909 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8911 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8912 * lyxlex.[hC]: ditto
8914 2001-08-06 Juergen Vigna <jug@sad.it>
8916 * text.C (getVisibleRow): fix up row clearing a bit.
8918 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8920 * minibuffer.C: make sure the X server sees the changes in the input.
8922 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8924 * paragraph.C (getFont): split into...
8925 (getLabelFont): this
8926 (getLayoutFont): and this
8927 * paragraph_pimpl.C (realizeFont): calling this
8929 * text2.C (getFont): split into...
8930 (getLayoutFont): this
8931 (getLabelFont): and this
8932 (realizeFont): all three calling this
8934 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8937 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8939 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8941 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8943 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8944 layouts from the Quote inset insertion.
8946 2001-08-03 Juergen Vigna <jug@sad.it>
8948 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8950 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8951 only if status not is already CHANGED_IN_DRAW (second level).
8953 * text.C (draw): don't set the need_break_row when inside an
8956 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8958 * buffer.C (parseSingleLyXformat2Token): handle more latex
8961 * bufferview_funcs.[hC]: change function names to
8962 begin with small char, adjust other files.
8964 2001-08-02 André Pönitz <poenitz@gmx.net>
8967 BufferView_pimpl.C: remove broken special code for math-greek
8969 2001-08-02 Juergen Vigna <jug@sad.it>
8971 * BufferView_pimpl.C (update): redone this function so that we
8972 update the text again if there was a CHANGE_IN_DRAW.
8974 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8975 (drawFromTo): added a new internal bool which is used by draw() and
8977 (general): some cursor drawing problems fixed.
8979 2001-08-01 Juergen Vigna <jug@sad.it>
8981 * lyxfind.C (LyXFind): fixed
8982 (SearchForward): ditto
8983 (SearchBackward): ditto
8985 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8986 spurius drawing of the cursor in the main area.
8988 * text2.C (status): small fix which could lead to a segfault!
8989 (clearSelection): remove unneeded BufferView param.
8991 2001-08-01 André Pönitz <poenitz@gmx.net>
8993 * lyxfunc.C: small change due to changed mathed interface
8995 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8997 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8999 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9001 * lyxfunc.c: fail gracefully if file doesn't exist
9006 * BufferView_pimpl.C: IsDirWriteable() proto changed
9008 * LyXView.C: fix updateWindowTitle() to store the last title
9010 2001-07-31 Juergen Vigna <jug@sad.it>
9012 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9013 the font (wrong since using of Paragraph::highestFontInRange).
9015 * paragraph.C (highestFontInRange): added a default_size parameter.
9017 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9018 (setHeightOfRow): reformat
9020 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9022 * converter.[hC] + affected files: move to (inital-char)lowercase
9025 * ParagraphParameters.C (ParagraphParameters): remove commented code
9027 * PainterBase.[Ch]: remove commented code
9029 * LaTeXFeatures.h: add "bool floats" for float.sty
9031 * LaTeXFeatures.C (LaTeXFeatures): init floats
9032 (require): handle float
9033 (getPackages): do it with floats
9035 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9037 * BufferView_pimpl.C (Dispatch): improve handling of
9038 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9040 * commandtags.h: #include lyxfont.h here temporarily to avoid
9043 * bufferlist.h: include LString.h here.
9045 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9047 * text2.C (getStringToIndex): new method.
9049 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9051 * *: Reduced header file dependencies all over.
9053 2001-07-30 Baruch Even <baruch@lyx.org>
9055 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9057 2001-07-29 Baruch Even <baruch@lyx.org>
9059 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9061 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9063 * ParameterStruct.h (endif): add a default constructor to make
9064 sure that all variables is initialized.
9066 * ParagraphParameters.C (ParagraphParameters): adjust
9068 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9070 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9071 index; also, check that there is something to index, and that it
9072 does not span over several paragraphs.
9073 (doubleClick): use WHOLE_WORD_STRICT for double click.
9075 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9077 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9080 2001-07-26 Baruch Even <baruch@lyx.org>
9082 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9083 an InsetFig figure, backwards compatible reading of old figure code.
9085 2001-07-27 Juergen Vigna <jug@sad.it>
9087 * text2.C: font.realize function adaption.
9089 * text.C (draw): add a warnings lyxerr text if needed.
9091 * layout.C: font.realize function adaption.
9093 * language.C: add inherit_language and implement it's handlings
9095 * bufferview_funcs.C (StyleReset): remove language parameter from
9096 font creation (should be language_inherit now).
9098 * bufferparams.C (writeFile): handle ignore_language.
9100 * paragraph.C (getFontSettings): the language has to be resolved
9101 otherwise we have problems in LyXFont!
9103 * lyxfont.C (lyxWriteChanges): added document_language parameter
9104 (update): removed unneeded language parameter
9106 * paragraph.C (validate): fixed wrong output of color-package when
9107 using interface colors for certain fonts in certain environments,
9108 which should not seen as that on the final output.
9110 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9112 * BufferView_pimpl.C:
9117 * LyXAction.C: add thesaurus support
9120 * lyxfind.C: add "once" parameter, for thesaurus, to not
9121 move to the next match
9123 2001-07-26 Juergen Vigna <jug@sad.it>
9125 * lyxfont.C (realize): honor ignore_language too!
9128 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9130 * text.C (draw): one place more for ignore_language to not draw
9133 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9135 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9137 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9139 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9140 the minipage conversion problem.
9142 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9144 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9147 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9149 * BufferView.h: don't forward declare WorkArea
9151 * BufferView.C: don't include WorkArea.h
9153 2001-07-25 André Pönitz <poenitz@gmx.net>
9157 * lyxfunc.C: new LFUN 'math-space'
9159 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9161 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9163 * text2.C (toggleInset): call open/close
9165 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9167 * lyxfunc.C (dispatch): add debug for the disabled case
9169 * font.C (buttonText): make similar to rectText
9171 * buffer.C (readInset): comment out parsing of insetlist and
9174 * PainterBase.C (rectText): small correction
9176 * BufferView_pimpl.C: comment out insettheorem and insetlist
9177 * LyXAction.C: ditto
9178 * commandtags.h: ditto
9180 2001-07-24 Juergen Vigna <jug@sad.it>
9182 * text.C (draw): honor the ignore_language.
9184 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9186 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9188 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9191 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9193 * lyxtext.h: remove unused (and unimplemented) methods
9195 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9197 * text.C (getVisibleRow): honor background color
9200 * Painter.h: remove default color argument for fillRectangle
9202 * text.C (backgroundColor): new method
9204 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9206 * text.C (getVisibleRow): adjust
9208 * font.[Ch] (rectText): new method, metrics
9209 (buttonText): new method, metrics
9211 * PainterBase.[hC]: make rectText and buttonText always draw and take
9214 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9216 * ToolbarDefaults.C (read):
9217 * MenuBackend.C (read): allow escaping in all strings
9219 * BufferView_pimpl.C (insertAndEditInset): new method.
9220 (Dispatch): use insertAndEditInset whenever appropriate.
9222 * BufferView_pimpl.C (insertNote): removed
9224 * BufferView_pimpl.C (smartQuote): new method, moved from
9225 BufferView; if an insetquote cannot be inserted, insert a '"'
9228 * BufferView2.C: remove insertCorrectQuote();
9230 * lyxfunc.C (getStatus): Add support for all remaingin
9233 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9235 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9236 command (necessary to pass " as parameter of self-insert.
9238 * text.C (selectWordWhenUnderCursor):
9239 (selectWord): add word_location parameter
9240 (selectWordWhenUnderCursor): same + remove special code for word
9242 (selectNextWord): use kind() to guess type of insetspecialchar,
9245 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9246 (insertErtContents): create ert insets as collapsed.
9247 (readInset): better compatibility code for Info inset.
9249 2001-07-20 Juergen Vigna <jug@sad.it>
9251 * lyxfunc.C (dispatch): use always LyXFind now!
9253 * text2.C (init): add a reinit flag so that the LyXText can be
9254 reinited instead of deleted and reallocated (used in InsetText).
9256 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9262 2001-07-18 Juergen Vigna <jug@sad.it>
9264 * text.C (selectNextWord): handle insets inside inset by calling
9265 always the bv->text functions so that we can go up the_locking_inset!
9267 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9268 in strange locations when inside an inset!
9270 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9271 handling to include insets.
9273 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9275 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9277 * LyXAction.C (init):
9279 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9280 LIGATURE_BREAK, since the name is so stupid.
9282 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9284 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9287 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9289 * sp_form.[Ch]: remove.
9291 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9293 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9296 * src/buffer.C (readInset): ditto.
9298 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9300 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9301 menuSeparator(), endOfSentenceDot(), ldots() and
9302 hyphenationPoint(), which are therefore removed.
9303 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9305 * LyXAction.C (init):
9306 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9308 * paragraph.C (getWord): removed.
9310 * BufferView_pimpl.C (Dispatch): use last word or selection for
9311 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9313 * lyx_main.C (queryUserLyXDir): do not ask before creating
9314 user_dir, except if it has been named explicitely.
9316 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9318 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9319 a document of zero size.
9321 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9323 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9324 approriately in the c-tor and in require().
9325 (getPackages): output the appropriate LaTeX for natbib support.
9327 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9328 variables "use_natbib" and "use_numerical_citations" when reading the
9330 (readInset): read the various natbib cite commands.
9331 (validate): white-space change.
9333 * bufferparams.[Ch]: new variables "bool use_natbib" and
9334 "bool use_numerical_citations".
9335 (writeFile): output them in the LyX file.
9337 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9339 * lyxfunc.C (getStatus): add support for all the inset insertion
9342 * text2.C (insertInset):
9343 * paragraph.C (insetAllowed):
9344 * BufferView_pimpl.C (insertInset): update to take in account the
9345 renaming of insertInsetAllowed
9347 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9349 * text2.C (getInset): new method. returns inset at cursor position.
9351 * BufferView_pimpl.C (Dispatch): changes because of this.
9353 * LyXAction.C (init): rename open-stuff to inset-toggle.
9355 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9357 * text2.C (toggleInset): renamed from openStuff; use
9360 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9362 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9364 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9366 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9368 * buffer.C (readLyXformat2): Add filename to the error dialog
9370 2001-07-18 Juergen Vigna <jug@sad.it>
9372 * tabular.C (GetCellNumber): put an assert here instead of the check!
9374 2001-07-17 Juergen Vigna <jug@sad.it>
9376 * BufferView_pimpl.C (toggleSelection): adapted too.
9378 * text.C (selectNextWord): adapted for use with insets.
9379 (selectSelectedWord): ditto
9381 2001-07-17 Juergen Vigna <jug@sad.it>
9383 * sp_spell.C (PSpell): fix initialitation order.
9385 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9387 * paragraph.C: spacing
9389 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9391 * sp_spell.C: repair language selection for pspell
9393 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9395 * lyxfunc.h: change more methods to begin with lower char.
9397 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9399 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9400 for unknown layouts.
9402 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9404 * buffer.C (readLyXformat2): Generate an error dialog if there are
9407 2001-07-16 Juergen Vigna <jug@sad.it>
9409 * sp_spell.C: always compile ISpell part.
9411 * lyxrc.C: added use_pspell entry and it's handling.
9413 2001-07-13 Juergen Vigna <jug@sad.it>
9415 * sp_spell.C: removed double includes.
9417 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9419 Consistent use of Lsstream.h:
9420 * Lsstream.h: added using std::stringstream for consistencies sake.
9422 * buffer.C: removed using std::stringstream
9424 * lyxfont.C (stateText):
9425 * paragraph.C (asString):
9426 * text.C (selectNextWord, selectSelectedWord):
9427 * text2.C (setCounter):
9428 * vspace.C (asString, asLatexString):
9429 std::ostringstream -> ostringstream.
9431 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9433 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9434 * commandtags.h: add LFUN_HELP_ABOUTLYX
9435 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9437 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9439 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9441 * lyx_gui_misc.C: remove spellchecker
9442 * lyxfunc.C: showSpellchecker
9444 * sp_ispell.h: added
9445 * sp_pspell.h: added
9447 * sp_form.[Ch]: removed
9448 * spellchecker.[Ch]: removed
9450 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9452 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9454 (simpleTeXSpecialChars): Simply print the input character without
9455 any special translation if pass_thru is set.
9457 * layout.h: Added bool pass_thru to layout class for being able to
9458 implement pass through of a paragraph for Literate Programming.
9460 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9461 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9462 * layout.C (Read): add "passthru" to list of layout tags and add
9463 code to set the pass_thru boolean when it is read.
9465 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9467 * trans_decl.h: remove allowed from KmodInfo
9469 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9473 * paragraph_pimpl.C (erase): use boost::prior
9475 * Painter.C (text): use data() instead of c_str() when length is
9477 * WorkArea.C (putClipboard): ditto
9478 * font.h (width): ditto
9480 * BufferView2.C: use it-> instead of (*it). for iterators
9482 * paragraph_pimpl.C: ditto
9483 * paragraph.C: ditto
9484 * minibuffer.C: ditto
9489 * converter.C: ditto
9491 * Variables.C: ditto
9492 * TextCache.C: ditto
9493 * MenuBackend.C: ditto
9494 * LyXAction.C: ditto
9496 * FloatList.C: ditto
9498 * ColorHandler.C (LyXColorHandler): ditto
9500 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9502 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9504 * text2.C (openStuff): reintroduce this method (which had been
9505 nuked in NEW_INSETS frenzy).
9507 * lyxfunc.C (Dispatch): when an action has not been handled, use
9508 its name in the error message, not its number.
9510 * paragraph.C (inInset): change method name to begin with lowercase.
9513 * text2.C: updates because of this.
9515 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9517 * ToolbarDefaults.C (add): add spaces in error message
9519 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9521 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9522 (readLyXformat2): rename return_par to first_par, use lyxlex's
9523 pushToken and remove the manual push handling.
9524 (parseSingleLyXformat2Token): add another ert comp. variable:
9525 in_tabular, rename return_par to first_par. handle newlines better
9527 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9529 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9531 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9533 * text2.C (getParFromID): removed
9535 * buffer.C (getParFromID): new method moved form lyxtext.
9536 * BufferView2.C (insertErrors): adjust
9537 (setCursorFromRow): adjust
9538 * BufferView_pimpl.C (restorePosition): adjust
9539 * lyxfunc.C (Dispatch): adjust
9540 * undo_funcs.C (textUndo): adjust
9542 (textHandleUndo): adjust
9543 (textHandleUndo): adjust
9545 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9547 * buffer.C: up' the LYX_FORMAT
9549 * lyxfont.h: turn NO_LATEX on as default
9551 * buffer.C (insertErtContents): new methods of tex style compability.
9552 (parseSingleLyXformat2Token): use it several places.
9553 * tabular.C (OldFormatRead): and here
9555 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9557 * text2.C: remove some commented code.
9560 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9561 * trans.C: changes because of the above.
9563 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9565 * text2.C (setCounter): Fix counters bug with bibliography layout.
9567 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9569 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9570 own member functions
9571 (simpleTeXSpecialChars): ditto
9573 2001-07-06 Juergen Vigna <jug@sad.it>
9575 * a lot of files: changed the access to LyXText::status and the
9576 call of undo-functions.
9578 * undo.[Ch]: added a inset_id to the undo informations.
9580 * undo_funcs.[Ch]: added and moved here all undo functions.
9582 * lyxtext.h: give the status enum a weight, made status_ a private
9583 variable and made accessor functions for it, removed the whole bunch
9584 of undo-functions as they are now in their own file, make some
9585 functions publically available. Added function ownerParagraph with
9588 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9589 made InInset() a const function, added getParFromID() function.
9591 * buffer.[Ch]: added const version for inset_iterator functions,
9592 added getInsetFromID() function.
9594 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9595 changed undo functions for new version.
9597 2001-07-05 Juergen Vigna <jug@sad.it>
9599 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9600 unknow mechanism does not call the proper constructor but only this
9601 one also if I request the other!?
9603 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9605 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9607 * text2.C (LyXText): use initialization lists.
9609 * lyxtext.h (Selection): initialize set_ and mark_
9610 (init): remove method
9612 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9614 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9616 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9618 * screen.[Ch]: change method names to begin with lowercase
9620 * BufferView_pimpl.C (updateScrollbar): simplify further and
9621 hopefully make it a bit faster.
9623 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9625 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9626 calling directly xforms functions.
9628 * Painter.C (Painter):
9629 * lyx_cb.C (MenuWrite):
9630 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9633 * lyx_gui.C: remove bogus guiruntime extern declaration.
9635 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9637 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9639 (redoDrawingOfParagraph): ditto
9640 (redoParagraphs): ditto
9641 (cutSelection): don't create a object for CutAndPaste use the
9642 static method directly
9643 (pasteSelection): ditto
9645 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9648 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9650 * modifications to some other files because of this.
9652 * Makefile.am (lyx_SOURCES): add XFormsView
9654 * XFormsView.[Ch]: new files
9656 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9657 the main window. Move the gui dependent stuff to XFormsView
9659 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9661 * tabular.C (GetCellInset): update cur_cell also in the row/col
9662 version of this function.
9664 * lyxfunc.C: no need to include figure_form.h here.
9670 * lyxvc.C: no need to include forms.h here.
9672 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9674 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9676 * lyxfunc.C (Dispatch):
9678 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9679 constructor argument.
9681 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9683 * paragraph.C (Paragraph): dont't clear, and just set layout.
9684 (makeSameLayout): use params's copy contructor.
9686 * ParagraphParameters.[Ch] (makeSame): delete method
9688 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9690 * Variables.[Ch]: fix indentation, rename set to isSet
9692 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9694 * lyxfunc.C (Dispatch): fix typo
9696 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9698 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9701 * bufferlist.C: include assert.h for emergencyWrite().
9703 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9705 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9706 give up at last (bug #425202) !
9708 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9714 * spellchecker.C: strip spellchecker options and bring up
9715 preferences tab instead
9717 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9719 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9720 the istringstream constructor
9722 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9724 * paragraph.C (getLayout): fix return value
9726 * paragraph.h: do not declare getLayout as inline.
9728 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9730 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9732 * lyxcursor.h (operator<): new func
9733 (operator>): new func
9734 (operator>=): new func
9735 (operator<=): new func
9737 * text.C (changeCase): use selection.start and selection.end
9738 (changeRegionCase): require from to be <= to. Require par to be a
9741 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9743 2001-06-27 Juergen Vigna <jug@sad.it>
9745 * text.C (cursorLeftOneWord): changed to return the cursor and added
9746 overlay with BufferView * parameter which calls this one.
9748 (selectWord): use new getWord function.
9749 (changeCase): renamed from changeWordCase as and extended to work
9752 * lyxtext.h: added enum word_location
9754 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9755 changeCase as this operates now also on selections.
9757 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9759 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9761 * many files: send debug output to Debug::INFO instead of
9764 * converter.C (View):
9766 (Move): send debug output to Debug::FILES instead of console.
9768 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9770 * lyxfunc.C (getStatus): use func_status
9772 * func_status.h: new header, describing the results of
9775 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9778 2001-06-25 The LyX Project <jug@sad.it>
9780 * buffer.C (sgmlOpenTag):
9782 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9784 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9786 * text2.C: remove some dead code
9788 * tabular.C (GetCellInset): store the last cell checked (gotten)
9790 * tabular.h: add the helper for the speedup
9792 * lyxtext.h: remove some dead code
9794 2001-06-26 The LyX Project <Asger>
9796 * paragraph.C: Change export to LaTeX of alignment to
9797 \begin{center} and family for better roundtrip work with reLyX.
9799 * Tune the math drawing a bit.
9801 2001-06-25 The LyX Project <Asger>
9803 * LColor.C (LColor): New color for math background. New color
9806 2001-06-25 The LyX Project <jug@sad.it>
9808 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9811 * bufferlist.C (newFile): do not restrict to files ending with
9814 * BufferView_pimpl.C (MenuInsertLyXFile):
9816 2001-06-24 The LyX Project <jug@sad.it>
9818 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9821 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9823 * lyxtext.h: rename most methods to begin with a small char.
9824 Lots of changes because of this.
9826 * paragraph.C (Paragraph): do not call fitToSize
9827 (erase): call Pimpl::erase
9828 (insertChar): call Pimpl::insertChar
9829 (insertInset): call Pipl::insertInset
9830 (breakParagraph): do not call fitToSize
9831 (breakParagraphConservative): do not call fitToSize
9832 (fitToSize): remove method
9834 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9836 2001-06-24 The LyX Project <Asger>
9838 * Fix Qt compilation^2
9840 2001-06-24 The LyX Project <jug@sad.it>
9842 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9843 depthHook(getDepth()-1).
9846 * ParagraphParameters.h:
9847 * ParameterStruct.h: change type of depth to unsigned int ==
9848 depth_type. Many adaptations to other files before of that.
9850 2001-06-24 The LyX Project <Asger>
9852 * Fix Qt compilation.
9854 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9856 * paragraph.h: renamed several methods to begin with small letter.
9857 several changes to many parts of the code because of this.
9859 2001-06-23 The LyX Project <jug@sad.it>
9861 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9862 rewritten to discard all double spaces when KeepEmpty is off
9863 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9864 to only handle newlines but not fiddle with spaces and friends.
9866 * lyxfunc.C (MenuNew): when doing 'new from template', use
9867 template_path as default directory
9869 2001-06-23 The LyX Project <Asger>
9871 * Clean-up of header file includes all over
9872 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9874 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9876 * paragraph.h: renamed from lyxparagraph.h
9878 2001-06-23 Asger <lyx@violet.home.sad.it>
9880 * Buffer.h: Removed Buffer::resize
9881 * BufferList.h: Removed BufferList::resize
9882 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9883 the document lazily when we change the width, or the font settings.
9885 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9887 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9889 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9891 * buffer.h: remove out of date comment
9893 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9896 * screen.C: fix "theoretical" GC leak
9898 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9900 * LaTeX.C (scanAuxFile):
9901 (deplog): remove trailing \r when reading stream (useful under
9904 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9906 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9907 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9908 and BufferView::theLockingInset(Inset*), so should use them and not
9909 access bv_->text->the_locking_inset directly.
9911 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9913 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9916 * tex-defs.h: remove old unused file
9918 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9920 * BufferView_pimpl.C: fix typo, remove minibuffer message
9921 when buffer has loaded
9923 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9925 * lyxfunc.C (Dispatch): use stringstream
9926 (MenuNew): use stringstream
9927 (Open): use stringstream
9929 * importer.C (Import): use stringstream
9931 * bufferview_funcs.C (CurrentState): use stringstream
9933 * LaTeX.C (run): use stringstream
9935 * BufferView_pimpl.C (savePosition): use stringstream
9936 (restorePosition): use stringstream
9937 (MenuInsertLyXFile): use stringstream
9939 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9952 * vspace.C: removed // -*- C++ -*- as first line.
9955 * version.h: added // -*- C++ -*- as first line.
9957 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9959 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9961 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9964 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9966 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9969 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9971 * gettext.C: include LString.h even when --disable-nls is on.
9973 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9975 * converter.h (Get): changed argument type from int to
9976 FormatList::size_type to avoid unnecessary conversion.
9978 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9981 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9983 * gettext.h: include LString.h even when --disable-nls is on.
9985 2001-06-07 Juergen Vigna <jug@sad.it>
9987 * text.C (BreakAgain): subst spaces with tabs.
9989 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9990 (resizeInsetsLyXText): set force on resizeLyXText.
9992 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9994 * gettext.h (gettext_init):
9995 (locale_init): use a real definition instead of a macro
9997 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9999 * Bufferview_pimpl.C:
10001 * LColor.C: further lcolor tidies
10003 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10005 * BufferView_pimpl.C (updateScrollbar): simplify.
10007 * BufferView2.C: don't include insets/insetinfo.h, change
10008 prototype for insertInset and call the Pimpl version. let
10009 updateInset call Pimpl version.
10011 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10012 gotoInset to BufferView::Pimpl
10014 2001-06-01 Juergen Vigna <jug@sad.it>
10016 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10017 inside a LockingInset (is the update needed at all?).
10019 2001-05-31 Juergen Vigna <jug@sad.it>
10021 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10022 here not the old one otherwise how should we compare it afterwards
10025 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10030 * FontInfo.C: bring C functions into global namespace when
10033 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10035 * LString.h: make sure config.h has been loaded before LString.h.
10037 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10038 (one for each char read by EatLine!).
10040 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10043 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10045 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10046 to the same as the par we break from
10048 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10050 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10052 * MenuBackend.C (expand): also create menu entries for wide
10053 versions of the floats.
10055 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10057 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10059 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10060 frontends/Makefile.am
10066 * tabular.C (getTokenValue): add std::
10068 * tabular-old.C (getTokenValue): add std::
10069 (getTokenValue): ditto
10070 (getTokenValue): ditto
10072 * screen.C (ToggleSelection): adjust
10074 * lyxtext.h: put selection cursors inside a Selection struct.
10076 * lyxfunc.C (moveCursorUpdate): adjust
10078 * lyxfont.C (latexWriteStartChanges): add std::
10080 * lyxfind.C: adjust
10082 * font.h: delete with(char const *, LyXFont const &)
10084 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10086 * FontInfo.C (getFontname): add std::
10088 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10089 (workAreaButtonPress): adjust
10090 (tripleClick): adjust
10092 (moveCursorUpdate): adjust
10095 * BufferView2.C (gotoInset): adjust
10097 2001-05-30 Juergen Vigna <jug@sad.it>
10099 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10100 to check pspell I add this as default as I now have new pspell
10101 libraries and they seem to use this.
10103 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10105 * text2.C (CutSelection): make the cursor valid before the call to
10108 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10110 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10111 relied on 0 terminated strings and other horrors. Bug found due to
10112 the new assert in lyxstring!
10114 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10117 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10119 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10122 * lyxfunc.C (processKeySym): change method of getting to the
10125 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10126 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10127 * BufferView_pimpl.[Ch]: here as private methods.
10129 2001-05-28 Juergen Vigna <jug@sad.it>
10131 * text.C (SetHeightOfRow): added the update() call again as it is
10132 needed to initialize inset dimensions!
10134 2001-05-16 Juergen Vigna <jug@sad.it>
10136 * text2.C (SetCharFont): Add new function with BufferView * and
10137 bool toggleall parameters for setting insets internal fonts.
10138 (SetFont): Freeze the undo as we may change fonts in Insets and
10139 all this change should be inside only one Undo!
10141 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10142 setting font's in insets as for them we have the SetFont function!
10144 2001-05-15 Juergen Vigna <jug@sad.it>
10146 * text2.C (ClearSelection): to be sure we REALLY don't have any
10149 * tabular.C (TeXCellPreamble): fixed the left border problem for
10152 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10154 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10157 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10159 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10160 LFUN_BREAKPARAGRAPH.
10162 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10163 help test to "internal only", similar for LFUN_INSERT_URL
10165 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10166 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10167 auto_region_delete and deadkeys.
10169 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10172 * LColor.C: remove some dead entries, tidy a little
10174 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10176 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10178 (Dispatch): implement LFUN_ESCAPE
10180 * commandtags.h: add LFUN_ESCAPE
10182 * LyXAction.C (init): add entry for LFUN_ESCAPE
10184 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10185 Remove commented code.
10186 (insertNote): moved here
10187 (open_new_inset): moved here
10189 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10192 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10194 * kbmap.C (findbinding): clean it up and make it work correctly.
10196 * lyx_main.C (init): do not pass argc and argv as parameters
10198 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10200 * buffer.C: fix path for OS/2 & Win32
10204 * lyx_main.C: Added os:: class.
10206 * os2_defines.h: update
10208 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10210 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10211 better by trying again with reduced state.
10213 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10215 * lyxrc.C (read): print error about invalid key sequence only when
10216 debugging (because not all latinX keysyms are known to some X
10219 * kbsequence.C (getiso): add a few std:: qualifiers
10220 (getiso): comment out extra return statement.
10222 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10224 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10226 (Dispatch): enhance the accent inset a bit. (not perfect)
10228 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10230 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10232 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10234 * bufferlist.C (emergencyWrite): fix assert() call
10236 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10238 * text.C (InsertChar): Added trivial patch to only send the "you
10239 can not do multiple spaces this way" message once during a
10242 2001-05-08 Baruch Even <baruch@lyx.org>
10244 * Makefile.am: Changed order of libraries to get LyX to link properly
10245 with the gnome frontend.
10247 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10249 * LaTeXFeatures.h: add a std:: qualifier
10251 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10253 * paragraph.C (String): use stringstream
10255 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10257 * paragraph.C (writeFile): remove footflag arg
10259 * buffer.C (makeLaTeXFile): use stringstream
10260 (latexParagraphs): remove footnot gurba
10262 * LaTeXFeatures.C (getPackages): use stringstream
10263 (getMacros): likewise
10264 (getTClassPreamble): likewise
10265 (getFloatDefinitions): new method
10267 * paragraph.C (writeFile): reindent
10270 * WorkArea.h: revert the xpos + etc changes.
10272 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10274 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10276 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10277 (pasteSelection): likewise
10278 * text2.C (CreateUndo): likewise
10280 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10282 * minibuffer.C (peek_event): temporarily reduce the functionality
10283 of the minibuffer (to allow args on lfuns)
10285 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10286 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10288 * buffer.C (readInset): add compability reading of old float
10289 lists, add reading of new style float list.
10290 (readInset): avoid reevaluation of inscmd.getCmdName()
10291 (getLists): reindent
10293 * MenuBackend.C (MenuItem): implement parsing of
10294 md_floatlistinsert and md_floatinsert.
10295 (expand::LastFiles): move initalizaton of iterators out of loop,
10296 avoid reevaluation.
10297 (expand::Documents): introduce typdedef vector<string> Strings,
10299 (expand::ExportFormats): introduce typedef vector<Format const *>
10300 Formats, and use it.
10301 (expand): implement FloatListInsert and FloatInsert.
10303 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10304 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10305 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10307 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10309 (Dispatch::LFUN_FLOAT_LIST): implement
10311 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10313 * LaTeX.C (run): Fix problem with --export code.
10315 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10317 * BufferView.[Ch] (workarea): removed.
10318 (getClipboard) new method; wrapper for workarea()->getClipboard()
10320 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10323 * WorkArea.h (width, height, xpos, ypos): These methods all
10324 returned the dimensions of the work_area sub-area of WorkArea,
10325 resulting in a position error if the WorkArea were resized. Now
10326 return the dimensions of the entire WorkArea.
10328 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10330 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10332 * LaTeX.C (deplog): correct the syntax of regex reg1
10334 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10336 * undo.C: remove !NEW_INSETS cruft
10338 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10340 * text2.C: remove !NEW_INSETS cruft
10342 * text.C: remove !NEW_INSETS cruft
10344 * tabular.C: remove !NEW_INSETS cruft
10346 * spellchecker.C: remove !NEW_INSETS cruft
10348 * lyxtext.h: remove !NEW_INSETS cruft
10350 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10352 * lyxfunc.C: remove !NEW_INSETS cruft
10354 * lyxfind.C: remove !NEW_INSETS cruft
10356 * lyx_cb.C: remove !NEW_INSETS cruft
10358 * figureForm.C: remove !NEW_INSETS cruft
10360 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10362 * buffer.[Ch]: remove !NEW_INSETS cruft
10364 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10366 * CutAndPaste.C: remove !NEW_INSETS cruft
10368 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10370 * BufferView2.C: remove !NEW_INSETS cruft
10372 * BufferView.h: remove !NEW_INSETS cruft
10374 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10376 * Lsstream.h: include LString.h before the sstream headers to
10377 fix problem with gcc 2.95.3 and lyxstring
10379 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10381 * lyx_main.C: add using directives when needed for C functions
10382 declared in std:: namespace.
10384 2001-04-27 Juergen Vigna <jug@sad.it>
10386 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10387 (SetHeightOfRow): comment out the update call should not be needed!
10389 2001-04-13 Juergen Vigna <jug@sad.it>
10391 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10392 (LyXTabular): tried to minimize operator= operations (and realized
10393 hopfully Lars wish).
10395 2001-04-27 Juergen Vigna <jug@sad.it>
10397 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10399 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10401 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10403 * buffer.C (readInset): hack to make listof algorithm work
10405 * BufferView_pimpl.C: hack to make listof algorithm work
10407 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10409 * LyXAction.C: removed all !NEW_INSETS cruft
10410 (init): moved lfun_item in method
10412 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10414 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10416 * BufferView2.C (theLockingInset): white space.
10418 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10420 * minibuffer.C: include <iostream>
10422 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10424 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10426 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10428 * text.[Ch] (TransposeChars): new method
10430 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10432 * call message directly through LyXView instead of through LyXFunc
10433 * BufferView2.C: adjust
10434 * BufferView_pimpl.C: adjust
10435 * FontLoader.C: adjust
10437 * bufferview_funcs.C: adjust
10438 * converter.C: adjust
10439 * figureForm.C: adjust
10440 * importer.C: adjust
10442 * lyx_gui_misc.C: adjust
10443 * lyxfunc.C: adjust
10446 + more files in subdirs
10448 * lyxparagraph.h (size): move up int file
10451 * adjust all uses of Assert to lyx::Assert.
10453 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10454 lyxfunctional in namespace lyx
10455 * layout.C (hasLayout): ditto
10458 (delete_layout): ditto
10459 (NumberOfClass): ditto
10460 * converter.C (GetFormat): ditto
10465 * bufferlist.C (getFileNames): ditto
10466 (emergencyWriteAll): ditto
10469 * MenuBackend.C (hasSubmenu): ditto
10472 * BufferView_pimpl.C (getInsetByCode): ditto
10474 2001-04-18 Juergen Vigna <jug@sad.it>
10476 * vspace.C (asLatexString): fixed the 100% problem.
10478 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10480 * lyxfunc.C (Dispatch):
10482 * minibuffer.h: add a few std:: qualifiers
10484 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10486 * minibuffer.[Ch]: reimplement so that commands is initiated and
10487 run from lyxfunc, simplified som handling, and made the completion
10488 and history code for complete. wip.
10490 * lyxfunc.C (processKeySym): call message
10491 (miniDispatch): new temporary method
10492 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10493 (LFUN_MESSAGE): implement
10494 (LFUN_MESSAGE_PUSH): implement
10495 (LFUN_MESSAGE_POP): implement
10496 (initMiniBuffer): the initial/defualt minibuffer message.
10498 * lyxfont.[Ch]: inline some more getters
10500 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10502 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10504 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10505 (AutoSave): use LFUN_MESSAGE
10506 (Reconfigure): ditto
10508 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10510 * figureForm.C: use LFUN_MESSAGE
10512 * converter.C (runLaTeX): use LFUN_MESSAGE
10514 * bufferview_funcs.C: use LFUN_MESSAGE
10516 (changeDepth): ditto
10518 * bufferparams.h: use boost::
10520 * bufferlist.h: inherit privately from noncopyable
10522 * bufferlist.C (loadLyXFile): remove some commented code.
10524 * buffer.C (runChktex): use LFUN_MESSAGE
10526 * ShareContainer.h: inherit privately from noncopyable
10528 * ParagraphParameters.[hC] (depth): inline it.
10530 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10532 (message): new method
10533 (messagePush): ditto
10534 (messagePop): ditto
10535 (show): init minibuffer
10536 (showState): direct call
10538 * LaTeX.[Ch]: inherit privately from noncopyable
10539 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10540 instead of WriteStatus.
10542 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10544 * BufferView_pimpl.C (buffer): don't init minibuffer
10545 (workAreaButtonPress): use LFUN_MESSAGE
10546 (workAreaButtonRelease): ditto
10547 (savePosition): ditto
10548 (restorePosition): ditto
10549 (MenuInsertLyXFile): ditto
10550 (workAreaExpose): don't init minibuffer
10551 (update): remove commented code, simplify
10553 * BufferView2.C (openStuff): use LFUN_MESSAGE
10554 (toggleFloat): ditto
10557 (copyEnvironment): ditto
10558 (pasteEnvironment): ditto
10563 (updateInset): remove some commented code
10565 * lastfiles.h: inherit privately from noncopyable
10568 * lyx_main.h: ditto
10570 * lyxlex_pimpl.h: ditto
10572 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10573 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10574 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10576 * LyXAction.h: inherit privately from noncopyable, add methods
10577 func_begin, func_end, returning iterators to the func map.
10579 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10580 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10581 (func_begin): new method
10582 (func_end): new method
10584 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10586 (copySelection): ditto
10587 (pasteSelection): ditto
10589 * BufferView.C: whitespace change
10590 * BufferView.h: inherit privately from noncopyable
10592 2001-04-16 Allan Rae <rae@lyx.org>
10594 * tabular-old.C (l_getline):
10595 * spellchecker.C (sc_check_word):
10596 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10597 an unrecognised preprocessor directive. So ensure they're wrapped.
10599 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10601 * src/exporter.C (Export): Give an error message when path to file
10604 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10606 * LaTeX.C (deplog): Always check that foundfile exists.
10608 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10611 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10613 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10615 * tabular.[Ch] (getLabelList): implement new method
10617 * minibuffer.h: comment ouf setTiimer
10619 * minibuffer.C (ExecutingCB): constify res
10620 (peek_event): constify s
10621 (Set): constify ntext
10622 (Init): constify nicename
10624 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10626 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10627 (savePosition): use two params to Minibuffer::Set
10628 (restorePosition): ditto
10630 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10632 * lyx_main.C: include language.h
10634 * Makefile.am (lyx_main.o): add language.h
10636 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10642 * CutAndPaste.C: include gettext.h
10644 * lyxfont.h: remove old hack with ON and OFF.
10647 * lyxfont.h: do not include language.h...
10652 * bufferview_funcs.C:
10658 * paragraph.C: ... but do it here instead
10660 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10662 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10664 * tabular.C: small reformat
10666 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10669 (BreakParagraph): ditto
10670 (SetOnlyLayout): ditto
10673 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10676 * lastfiles.C: removed most using decl, add std:: where needed
10678 * buffer.C: ws changes
10680 * MenuBackend.C (class compare_format): put into anon namespace
10681 (expand): constify label, names, action, action2
10684 * text.C (SingleWidth): constify font
10685 (IsBoundary): constify rtl2
10686 (GetVisibleRow): constify ww
10688 * LaTeX.C (deplog): constify logfile
10690 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10692 (workAreaExpose): constify widthChange, heightChange
10694 * lyxrow.C (par): moved
10697 * lyxrow.h: as inlines here
10699 * lyxfont.h (shape): moved from lyxfont.C
10700 (emph): moved from lyxfont.C
10702 * lyxfont.C (LyXFont): use initialization list for all
10704 (shape): move to lyxfont.h as inline
10705 (emph): move to lyxfont.h as inline
10708 2001-04-04 Juergen Vigna <jug@sad.it>
10710 * vspace.C: had to include stdio.h for use of sscanf
10712 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10715 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10716 independent of xforms.
10718 2001-04-02 Juergen Vigna <jug@sad.it>
10720 * spellchecker.C: fixed namespace placing!
10722 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10724 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10725 the LyXParagraph * is 0.
10727 2001-03-29 Juergen Vigna <jug@sad.it>
10729 * vspace.C: added support for %, c%, p%, l%.
10730 (stringFromUnit): added helper function.
10731 (asLatexString): changed to give right results for the %-values.
10733 * buffer.C: convert the widthp in a width%.
10735 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10737 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10740 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10741 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10743 * lyx_cb.[Ch]: see above.
10745 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10749 * lyx.[Ch]: replaced by figure_form.[Ch].
10753 * lyxfunc.C: changed headers associated with above changes.
10755 2001-03-27 Juergen Vigna <jug@sad.it>
10757 * BufferView_pimpl.C: set the temporary cursor right!
10759 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10761 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10763 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10765 * LString.h: removed "using std::getline"!
10767 * BufferView_pimpl.C (Dispatch): changes due to changes in
10768 InsetInclude::Params.
10770 * buffer.C (tag_name): removed redundant break statements as they were
10771 producing lots of warnings with my compiler.
10773 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10775 * LString.h: add "using std::getline" when using the real <string>.
10777 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10779 * buffer.C: removed bitset usage.
10780 PAR_TAG moved to an anonymous name space.
10781 (tag_name): new funtion, also in the anonymous namespace.
10782 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10783 (makeDocBookFile): clean code. Completed transition from string arrays
10785 (SimpleDocBookOnePar): code clean.
10787 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10789 * tabular.C: add some comments.
10791 2001-03-22 Juergen Vigna <jug@sad.it>
10793 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10794 compatibility read a bit and fixed bug with minipage in different
10797 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10799 * buffer.C (pop_tag): removed.
10800 (push_tag): removed.
10801 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10802 array replaced with vector. Added support for CDATA sections.
10803 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10805 (makeDocBookFile): XML conformant declaration of CDATA section,
10806 fixed bug related to <emphasis> in the first paragraph char.
10807 (sgmlOpenTag): exclude empty tags.
10808 (sgmlCloseTag): ditto.
10810 * buffer.h (pop_tag): removed.
10811 (push_tag): removed.
10813 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10815 * language.h (Languages): added size_type and size().
10817 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10819 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10820 response on compability reading of minipages. One probliem is that
10821 the old usage of minipages was «flertydig»
10823 * several files here and in subdirs: don't use static at file
10824 scope use anon namespaces instead.
10826 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10828 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10829 LaTeX output. This is necessary for Literate document
10832 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10834 * buffer.C: insert hfill when needed.
10836 * tabular.C (l_getline): use string::erase, small whitespace change.
10838 * BufferView_pimpl.C: try the anon namespace.
10839 * WorkArea.C: ditto
10841 2001-03-16 Juergen Vigna <jug@sad.it>
10843 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10844 otherwise it won't open options-dialogs.
10846 * buffer.C: honor pextraWidth(p) on converting minipages.
10848 * tabular.C (l_getline): changed the functions to strip trailing \r.
10850 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10852 * BufferView_pimpl.C:
10853 * minibuffer..C: added "using SigC::slot" declaration.
10855 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10857 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10863 * paragraph.C: ditto
10865 * lyxtext.h: NO_PEXTRA
10867 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10869 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10870 * ParameterStruct.h: ditto
10871 * ParagraphParameters.h: ditto
10872 * lyxparagraph.h: ditto
10874 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10876 * buffer.C: add compability for minipage alignment.
10877 (latexParagraphs): remove unwanted pextra check.
10879 * several files: remove CXX_WORKING_NAMESPACES
10881 * buffer.C (pop_tag): tie is in namespace boost
10883 * BufferView.h: noncopyable is in namespace boost
10885 * lyx_main.h: ditto
10888 * lastfiles.h: ditto
10889 * bufferlist.h: ditto
10890 * ShareContainer.h: ditto
10892 * LyXAction.h: ditto
10895 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10897 * Merging changes from BRANCH_MVC back into HEAD.
10899 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10901 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10903 * BufferView_pimpl.C: change from intl.C
10907 * Makefile.am: move combox.*
10913 * intl.C: remove dialog (covered by prefs)
10915 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10917 * lyxfunc.C (Dispatch): removed redundant break statement.
10919 2001-03-14 Juergen Vigna <jug@sad.it>
10921 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10923 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10925 * buffer.C: add hack to fix compability reading of minipages.
10927 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10929 * buffer.C (getLists): Cleanup.
10931 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10933 * lyxfont.C (update): don't honor toggleall on font size.
10935 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10939 * Makefile.am: moved to frontends/xforms/
10943 * BufferView_pimpl.C: changes for moved mathpanel
10945 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10947 * gettext.h: fix gettext_init() in --disable-nls
10949 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10951 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10953 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10956 * lyx.h: strip external form
10958 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10960 * BufferView_pimpl.C: add comment, destroySplash()
10962 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10964 * BufferView_pimpl.C:
10968 * lyxfunc.C: use re-worked insetinclude
10970 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10972 * buffer.C: add using std::stringstream.
10974 * lyx_cb.C: readd using std::ios.
10976 * buffer.C: add using std::map.
10978 * BufferView_pimpl.C: add using std::vector.
10980 * ShareContainer.h: add std:: to swap.
10982 * buffer.h: add some typedefs
10983 * buffer.C (getLists): use them
10984 (getLists): renamed from getTocList.
10985 add a counter for the different float types and use it in the
10987 (getLists): use the same counter for the NEW_INSETS and the "non"
10990 * lyx_cb.h: remove unused items, includes, using etc.
10992 * ShareContainer.h: remove some commented code, add more comments
10993 and "documentation".
10995 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10997 * buffer.C (getTocList): make the list also when NEW_INSETS is
11000 * buffer.h: remove TocType
11002 * buffer.C (getTocList): change to return a map<string,
11003 vector<TocItem> >, implement for dynamic number of list.
11005 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11006 * text2.C (PasteSelection): adjust
11007 * CutAndPaste.C (pasteSelection): adjust
11009 * FloatList.C (FloatList): update from the new_insets branch.
11010 * Floating.[Ch]: ditto
11011 * LaTeXFeatures.C: ditto
11013 * lyxlex_pimpl.C: ditto
11015 * paragraph.C (Last): remove when NEW_INSETS is defined.
11017 * other file: changes because of the above.
11019 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11021 * lyxparagraph.h: rename next to next_, previous to previous_,
11022 make them private for NEW_INSETS. Rename Next() to next(),
11023 Previous() to previous().
11025 * other files: changes because of the above.
11027 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11030 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11033 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11035 * main.C (main): pass lyx_localedir to gettext_init().
11037 * gettext.h: remove locale_init and gettext_init macros
11039 * gettext.C (locale_init): new function
11040 (gettext_init): new function
11042 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11045 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11047 * Moved credits to frontends:
11048 * credits.[Ch]: removed
11049 * credits_form.[Ch]: removed
11050 * lyx_gui_misc.C: remove credits stuff
11053 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11055 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11057 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11058 unneeded destructor.
11060 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11061 a standalone pointer again.
11063 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11065 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11071 * ToolbarDefaults.C:
11080 * BufferView_pimpl.C: use new file dialog in GUII
11083 * lyx_cb.C: remove LayoutsCB to Toolbar
11085 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11087 * ShareContainer.h (get): add std:: qualifier
11089 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11091 * ShareContainer.h: define a proper ShareContainer::value_type
11092 type (and use typename to please compaq cxx)
11094 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11096 * lyxparagraph.h: move serveral local vars to
11097 ParameterStruct/ParagraphParameters., use ShareContainer in
11098 FontTable., make vars in FontTable private and add getter and
11101 * paragraph.C: changes because of the above.
11103 * lyxfont.h: remove copy constructor and copy assignment. (the
11104 default ones is ok), move number inside FontBits. move inlines to
11107 * lyxfont.C: add number to initializaton of statics, move several
11108 inlines here. constify several local vars. some whitespace
11109 cleanup. Dont hide outerscope variables.
11111 * Spacing.h: add two new constructors to match the set methods.
11113 * ShareContainer.h: new file, will perhaps be moved to support
11115 * ParameterStruct.h: new file
11117 * ParagraphParameters.h: new file
11119 * ParagraphParameters.C: new file
11121 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11122 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11124 * BufferView_pimpl.C: ParagraphParameter changes.
11125 * buffer.C: Likewise.
11126 * bufferview_funcs.C: Likewise.
11127 * text.C: Likewise.
11128 * text2.C: Likewise.
11130 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11132 * lyxfind.C (LyXReplace): do not redefine default argument in
11134 (IsStringInText): ditto
11135 (SearchForward): ditto
11136 (SearchBackward): ditto
11138 2001-03-06 Juergen Vigna <jug@sad.it>
11140 * lyxfind.C (IsStringInText): put parentes around expressions.
11142 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11144 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11146 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11148 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11150 * stl_string_fwd.h: add comment
11152 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11155 * tabular.C: remove unused DocBook methods
11161 killed DO_USE_DEFAULT_LANGUAGE
11163 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11165 * lyx_gui.C: do not include language.h.
11167 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11168 arguments in function implementation.
11170 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11172 * BufferView_pimpl.C: add <ctime>
11174 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11176 * BufferView_pimpl.C: add using std::find_if
11178 2001-02-27 José Matos <jamatos@fep.up.pt>
11180 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11183 2001-02-11 José Matos <jamatos@fep.up.pt>
11185 * buffer.C (makeDocBookFile): command styles now have a parameter as
11186 "title" by default.
11188 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11190 * layout_forms.[Ch]: removed
11191 * lyx_cb.[Ch]: out character
11192 * lyx_gui.C: out character
11193 * lyx_gui_misc.C: out character
11194 * bufferview_funcs.C: : out character,
11195 added toggleall as parameter in ToggleAndShow
11197 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11199 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11201 * text2.C (SetCurrentFont): Disable number property at boundary.
11203 2001-02-26 Juergen Vigna <jug@sad.it>
11205 * lyxfunc.C (getStatus): added a string argument override function so
11206 that this is correctly called from LyXFunc::Dispatch if it contains a
11207 do_not_use_argument which is used!
11208 (Dispatch): added check for "custom" export and call appropriate func.
11210 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11212 * lyxrc.C: Add language_command_local, language_use_babel and
11213 language_global_options.
11215 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11217 * buffer.C (makeLaTeXFile): Use language_use_babel and
11218 language_global_options.
11220 2001-02-23 Juergen Vigna <jug@sad.it>
11222 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11223 which works with LyXText and putted it inside BufferView. Here now we
11224 only call for that part the BufferView::Dispatch() function.
11226 * BufferView.C (Dispatch): added.
11228 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11229 functions which needs to use a LyXText over from LyXFunc.
11230 (MenuInsertLyXFile): added
11231 (getInsetByCode): added
11232 (moveCursorUpdate): added
11233 (static TEXT): added
11235 2001-02-22 Juergen Vigna <jug@sad.it>
11237 * BufferView_pimpl.C (update): call a status update to see if LyXText
11240 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11242 * vc-backend.C (revert): implement for CVS
11243 (getLog): implement for CVS
11245 2001-02-20 Juergen Vigna <jug@sad.it>
11247 * text2.C (ClearSelection): added BufferView param for inset_owner call
11249 * lyxfunc.C (TEXT): added this function and use it instead of
11250 directly owner->view()-text of getLyXText().
11252 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11254 * src/layout_forms.C: out preamble
11255 * src/layout_forms.h: out preamble
11256 * src/lyx_cb.C: out preamble
11257 * src/lyx_cb.h: out preamble
11258 * src/lyx_gui.C: out preamble
11259 * src/lyx_gui_misc.C: out preamble
11260 * src/lyxfunc.C: connect with guii preamble
11262 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11264 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11266 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11268 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11269 whether to run bibtex.
11271 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11273 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11275 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11277 * Makefile.am (lyx_SOURCES): removed bibforms.h
11279 * vspace.h: doxygen
11281 * text.C (GetVisibleRow): make several local vars const
11283 * tabular.C: small cleanup.
11285 * lyxserver.C (callback): use compare instead of strncmp
11287 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11288 inlines to after class or to paragraph.C
11290 * lyxfont.h: remove friend operator!=
11292 * converter.h: move friend bool operator< to non friend and after
11295 * combox.h: small cleanup
11297 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11298 to inlines after class def.
11300 * buffer.C (pop_tag): use string operations instead of strcmp
11302 * bmtable.c: doxygen, small cleanup
11304 * LaTeX.h: remove friend operator==
11306 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11318 * BufferView_pimpl.C:
11319 * BufferView.[Ch]: remove cruft
11321 2001-02-14 Juergen Vigna <jug@sad.it>
11323 * lyxfunc.C: removed #if 0 unused code
11325 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11327 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11329 * text2.C (SetSelection): added a BufferView * parameter
11331 2001-02-13 Juergen Vigna <jug@sad.it>
11333 * lyxfunc.C (Dispatch): fixed protected blank problem.
11334 * BufferView2.C (protectedBlank): added LyxText * parameter.
11336 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11337 (AppendColumn): same as above for column_info.
11339 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11340 (moveCursorUpdate): use a LyXText param for support of InsetText.
11342 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11343 (tripleClick): ditto
11345 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11347 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11349 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11351 * text2.C (SetSelection): set correct update status if inset_owner
11352 (ToggleFree): ditto
11354 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11356 * tabular.C: remove some commented code.
11358 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11360 * BufferView_pimpl.C: call hideSplash()
11362 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11365 * bibforms.h: remove
11368 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11369 add LFUN_CHILD_CREATE
11371 * counters.h: fix tiny typo
11376 * lyx.C: move splash to frontends/xforms/
11378 * lyx_gui_misc.C: move Include and Bibform to frontends
11380 * lyxvc.h: clarify comment
11382 * vspace.C: tiny housekeeping
11384 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11386 * text.C (PrepareToPrint): RTL Fix.
11388 * paragraph.C (GetUChar): New method.
11389 (String): Use GetUChar.
11391 * buffer.C (asciiParagraph): Use GetUChar.
11393 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11395 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11397 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11400 * buffer.C: rename to getLogName(), handle
11401 build log / latex log nicely
11403 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11406 * MenuBackend.h: remove support for reference menuitem type.
11408 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11410 * BufferView_pimpl.C: housekeeping
11411 * BufferView_pimpl.h:
11416 * minibuffer.h: move Timeout GUI-I
11418 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11420 * lyxrc.C (read): Update converters data-structures.
11422 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11424 * LaTeX.h (operator!=): add operator != for Aux_Info
11426 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11428 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11430 * LaTeXLog.C: deleted, useful code moved to Buffer
11433 * buffer.C: new function getLatexLogName()
11439 * lyxfunc.C: use frontends for LaTeX and VC logs
11441 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11443 * LaTeX.h: yet another std:: that Allan forgot.
11445 * Variables.C (set): renamed from isset(), because this clashes
11446 with some HP-UX macros (grr).
11448 2001-02-06 Allan Rae <rae@lyx.org>
11450 * LaTeX.h: Another bug fix. Missing std:: this time.
11452 2001-02-04 Allan Rae <rae@lyx.org>
11454 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11455 floats problem. I've left it commented out because it's not quite
11456 correct. It should also test that the current object is a table or
11457 figure inset. But I haven't gotten around to figuring out how to do
11458 that. I *think* it'll be something like: "table" == inset.type()
11460 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11463 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11465 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11466 all the citation/databases/styles in the auxilary file.
11467 (run): Rerun latex if there was a babel language error.
11469 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11471 * text.C (Backspace): Preserve the font when changing newline char
11473 (BreakParagraph): If the cursor is before a space, delete the space.
11475 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11477 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11479 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11480 new argument (code).
11481 (ChangeCitationsIfUnique): New method.
11483 * paragraph.C (GetPositionOfInset): Handle bibkey.
11485 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11487 * BufferView_pimpl.h: change type of Position::par_pos to
11488 LyXParagraph::size_type.
11490 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11492 * BufferView_pimpl.C (savePosition, restorePosition): Write
11493 messages to minibuffer.
11495 2001-01-28 José Matos <jamatos@fep.up.pt>
11497 * buffer.C (makeDocBookFile): adds support for document language.
11498 A silly restriction on the name of LatexCommand types where removed.
11499 Added support for CDATA sections, allows to chars unescaped, used
11500 among others in code, to avoid escape < and >.
11502 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11504 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11505 saved positions instrad of a stack. Furthermore, a position is
11506 stored using paragraph id/paragraph position.
11508 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11509 Remove LFUN_REF_BACK.
11511 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11513 * converter.C (dvipdfm_options): New method.
11515 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11517 * vspace.C (isValidLength): Fix for empty input string.
11519 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11521 * LyXAction.C (init): change description of LFUN_FIGURE to
11524 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11526 * LaTeX.C: add using directive
11528 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11530 * MenuBackend.C (expand): Fix the sorting of the formats.
11532 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11534 * lyx_main.C: tiny error message fix
11536 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11538 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11539 calling fl_initialize(). This fixes the problem with ',' as
11540 decimal separator in text files.
11542 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11544 * trans.C (process): Fix the keymap bug.
11546 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11548 * LaTeX.C (scanAuxFiles): New method. Provides support for
11549 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11550 (scanLogFile) Scan for "run BibTeX" messages.
11552 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11553 OT1 font encoding. Also, load the aecompl package if the ae
11556 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11558 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11560 * texrow.C (increasePos): turn two error messages into debug
11563 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11565 * LaTeX.C (scanAux): Handle the \@input macro.
11566 (runBibTeX): Use scanAux().
11568 * language.C (latex_options_): New field.
11570 * LaTeXFeatures.C (getMacros): Add language macros.
11572 * buffer.C (makeLaTeXFile): Small fix.
11574 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11576 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11578 * text2.C: add a using directive.
11580 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11585 * lyxfunc.C: kill LyXBell.
11587 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11589 * text.C (IsBoundary): Remove the error message
11591 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11593 * lyxrc.C (setDefaults): Correct initialization value for
11596 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11598 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11601 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11602 and GotoNextNote().
11604 * src/LyXAction.C: Added reference-next.
11606 * text.C (InsertChar): Use contains instead of strchr.
11608 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11610 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11612 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11613 alignment commands (when needed).
11615 * text.C (InsertChar): Add ':' to number separator chars.