1 2003-07-26 Asger Alstrup <alstrup@local>
3 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5 * text.C (singleWidth): Spurious font copying in hot-spot
6 singleWidth avoided. Reorder tests for arabic for efficiency.
8 * text.C (fill): handle empty paragraphs better.
10 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13 * encoding.h: add includes
15 * lyxrc.C: remove reading of bind files
17 * lyx_main.C (init): setup bindings and menus only if we have a
20 * kbmap.C (read): new method. Do the actual reading of bind
23 * converter.C (dvipdfm_options):
26 (output): adapt PAPER_* enums.
28 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
30 * bufferparams.h: remove paper-related enums from there
32 * paper.h: New file. A trivial header file to hold paper-related
33 enums. It should later expand to contain many paper-related
36 * lyxrc.C: declare extern displayTranslator
38 2003-07-27 José Matos <jamatos@fep.up.pt>
40 * tabular.[Ch] (linuxdoc): add support for tables and figures
43 2003-07-27 José Matos <jamatos@fep.up.pt>
45 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
46 consistency in both functions.
47 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
49 2003-07-26 Asger Alstrup <alstrup@local>
51 * rowpainter.C (paintRows): Change algorithm to work directly on
52 the insets rather than asking every character in the document
55 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
57 * buffer.C (openFileWrite): factorize some code
59 2003-07-26 Angus Leeming <leeming@lyx.org>
62 * lyx_main.[Ch]: replace occurances of system_tempdir with
65 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
67 * rename Inset to InsetOld
69 2003-07-25 Asger Alstrup <alstrup@diku.dk>
71 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
72 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
73 which I think is a bit clearer. EDIT is gone, since it was
74 premature optimisation, and broken for mathed anyway.
75 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
76 with cursor positioning in insets as well (math insets still do not
77 work, but that's a different story anyway.) It mysteriously
78 crashes sometimes with undo in the first paragraph, but I'm fairly
79 confident that this is a compiler bug.
81 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
83 * paragraph.C (Paragraph): adjust for new clone return type
85 (copyIntoMinibuffer): ditto
87 2003-07-25 Asger Alstrup <alstrup@lyx.org>
89 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
90 by not having a special case, and always doing a full rebreak of
91 the document after undo.
93 2003-07-23 Angus Leeming <leeming@lyx.org>
95 * factory.C (createInset): InsetExternal::setParams now takes a
98 2003-07-23 Angus Leeming <leeming@lyx.org>
100 * factory.C (createInset): changed interface to the external and
101 graphics mailers' string2params functions.
103 2003-07-23 Angus Leeming <leeming@lyx.org>
105 * factory.C (createInset): pass a
106 Buffer const * parameter to InsetExternalMailer's string2params.
108 2003-07-22 John Levon <levon@movementarian.org>
110 * Thesaurus.h: include the right aiksaurus header
112 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
114 * MenuBackend.C (expand): check menu shortcuts unconditionally
116 2003-07-21 Angus Leeming <leeming@lyx.org>
118 * factory.C (createInset): pass a
119 buffer_path parameter to InsetGraphicsMailer's string2params.
121 2003-07-21 Angus Leeming <leeming@lyx.org>
123 * BufferView_pimpl.C (buffer):
126 * lyxfunc.C (dispatch):
127 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
128 rather than the grfx shortcut.
130 2003-07-21 André Pönitz <poenitz@gmx.net>
132 * rowpainter.C: remove unused variables
135 * tabular_funcs.h: move to tabular.C
136 * Makefile.am: adjust
138 * tabular.[Ch]: basic optical cleaning
140 * author.h: pass references, not values
142 2003-07-18 André Pönitz <poenitz@gmx.net>
150 * text3.C: two-phase drawing for InsetText and InsetTabular
151 some float -> int changes.
153 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
155 * lyx_main.C: fix the fix
157 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
159 * lyx_main.C: fix a crash in batch mode if no files specified
162 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
164 * format.[Ch] (papersize): moved to BufferParams
165 * converter.[Ch] (dvips_options): moved to BufferParams
166 (dvipdfm_options): moved to anon namespace
167 * bufferparams.[Ch]: added above functions.
169 2003-07-17 André Pönitz <poenitz@gmx.net>
173 * text2.C: don't call inset->update() anymore
175 * metricsinfo.[Ch]: add convenience constructor
177 2003-07-16 André Pönitz <poenitz@gmx.net>
182 * text2.C: replace the LyXCursor::irow_ member with
183 on-demand computation of the value
185 2003-07-16 John Levon <levon@movementarian.org>
187 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
189 2003-07-15 André Pönitz <poenitz@gmx.net>
192 * text2.C: remove no more needed refresh_row
194 2003-07-15 André Pönitz <poenitz@gmx.net>
199 * text3.C: refresh_status tristate -> need_update bool
201 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
203 * lyxtext.h (init): remove reinit argument (act as if always true)
204 * text2.C: adjust to that
206 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
208 * bufferview_funcs.[Ch]: introduce function replaceSelection()
209 * text3.C: use it to delete selections in some cases
210 (bugs 441, 673, 702, 954).
212 2003-07-14 André Pönitz <poenitz@gmx.net>
214 * rowpainter.[Ch]: reduce interface
216 2003-07-14 André Pönitz <poenitz@gmx.net>
218 * BufferView_pimpl.C:
219 * text2.C: adjust after removing unused BufferView * argument
221 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
223 * text2.C (init): fix a crash fired on resize
225 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
227 * buffer.[Ch]: added new closing signal
228 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
229 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
230 BufferView::Pimpl via the closing the signal
232 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
234 * buffer.[Ch]: take out all bv-related from buffer
236 * BufferView_pimpl.[Ch]: connect to new signals
237 * CutAndPaste.C: removed useless asserts
238 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
241 * lyxfunc.C: moved view-related funciontality from vc here
242 * paragraph.C: removed outdated comments
245 2003-07-10 André Pönitz <poenitz@gmx.net>
247 * BufferView_pimpl.C:
251 * text2.C: remove InsetText::InnerCache, clean up consequences
253 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
255 * ispell.C: fix two typos in error messages
257 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
259 * Extend Note inset to other forms of annotation like Comment
260 and Greyedout. Right button click gives dialog.
262 Files modified or added (+):
268 * Makefile.am in frontends/xforms, frontends/xforms/forms,
269 frontends/controllers
273 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
275 * aspell.C: add missing namespace lyx::support
277 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
279 * BufferView.[Ch] (newFile): Add
280 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
281 * LaTeX.[Ch] (message): added this signal and use it
282 * buffer.[Ch] (busy, message): added these signals and use them
283 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
287 * importer.C: use buffer signals instead of direct bv calling
288 * lyx_cb.[Ch] (ShowMessage): removed
292 * text2.C: use buffer signals
294 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
296 * introduce namespace lyx::graphics
298 2003-07-02 André Pönitz <poenitz@gmx.net>
300 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
302 2003-07-01 André Pönitz <poenitz@gmx.net>
309 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
310 text*.C to text_func.C
312 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
314 * introduce namespace lyx::support
316 2003-06-30 André Pönitz <poenitz@gmx.net>
321 * text.C: re-enable --with-included-string
323 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
325 * textcursor.C: add <config.h>
327 * text.C (getWord): remove const from word_location arg
329 * lyxvc.C (getLogFile): fix const type order
331 * lyxtext.h: remove const from word_location arg, add arg name
333 * lyxlayout.h: currect type on labeltype.
335 * importer.C: correct \file
337 * converter.C (intToFormat): use std:: on ret val, ws changes
339 * bufferlist.h: correct \file
341 * buffer.C (makeLinuxDocFile): fix const type order
342 (makeDocBookFile): ditto
343 (fillWithBibKeys): use std:: on stdlib args.
345 * CutAndPaste.C: fix authors.
346 (availableSelections): use std:: on return vector
348 2003-06-27 André Pönitz <poenitz@gmx.net>
350 * BufferView_pimpl.C:
351 * bufferview_funcs.C:
359 * text3.C: remove LyXCursor::row_ member
362 * text.C: rename fullRebreak() to partialRebreak() and implement
363 a fullRebreak() that really bereks fully
365 * textcursor.h: new struct for cursor-related data
367 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
369 * lyx_main.C (LyX): get full path of document loaded on the
372 2003-06-26 André Pönitz <poenitz@gmx.net>
374 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
375 remove unused/broken operator>,<,>=.
377 * text.C: remove only use of broken operator<= in an Assert().
379 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
381 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
382 moved errorlist_.clear to showErrorList
384 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
386 * converter.C (scanLog, runLaTeX):
387 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
388 move the bv->showErrorList call to the callers
389 * lyxfunc.C: i.e. here...
391 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
392 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
393 namespace, the second to...
394 * buffer_funcs (BufferFormat, parseErrors): added
395 * errorlist.C (ErrorList(TeXErrors const &)): removed
397 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
399 * ToolbarBackend.C (getIcon): complain when icon cannot be found
401 2003-06-24 "Garst R. Reese" <reese@isn.net>
405 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
407 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
409 * version.C.in: change docversion to 1.4
411 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
413 * buffer.C: fix a bug just introduced
415 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
417 * buffer.[Ch]: added the parseError signal and use it, removed
419 * BufferView.[Ch] (addError): moved to ...
420 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
421 to the Buffer::parseError signal to catch (guess what) parse errors
422 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
424 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
426 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
427 ability to create a buffer and to return an existing one from
428 the list. Moved these functions to...
429 * buffer_funcs.[Ch]: added
430 * BufferView.[Ch] (loadLyXFile): added
431 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
432 job removed from bufferlist::loadLyXFile.
433 * buffer.C (setReadOnly): make it work without view
434 (i.e added an if (users))
436 2003-06-19 Angus Leeming <leeming@lyx.org>
439 * LyXAction.C (init):
440 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
441 with LFUN_DIALOG_SHOW <name> <data>.
443 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
445 * CutAndPaste.C (availableSelections): small compilation fix for
446 ancient (gcc 2.9x) compilers
448 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
450 * text3.C (cursorNext): add tmp var
452 * text2.C (updateCounters): for function calling out of for clause
453 (replaceSelectionWithString): ditto
454 (insertStringAsParagraphs): ditto
455 (getColumnNearX): add tmp var
456 (setCursorFromCoordinates): add tmp var
457 (cursorDownParagraph): add tmp var
458 (deleteEmptyParagraphMechanism): add tmp var
460 * text.C (insertChar): add tmp var
462 * rowpainter.C (paintDepthBar): add tmp var
464 * CutAndPaste.C (availableSelections): potentially check all
465 paragraphs in a cut to fill the shown strings.
467 2003-06-18 André Pönitz <poenitz@gmx.net>
469 * kbmap.[Ch]: use vector<> instead of list<>
471 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
473 * text3.C (dispatch): handle arg to LFUN_PASTE, call
474 pasteSelection with index
476 * text2.C (pasteSelection): modify, call pasteSelection with index
478 * paragraph.C (asString): reimplement version with no interval to
479 call the one with interval.
481 * lyxtext.h: add index arg to pasteSelection
483 * MenuBackend.C (MenuItem): handle PasteRecent
484 (Menu::read::Menutags): add md_pasterecent
486 (expandPasteRecent): new function
489 * MenuBackend.h: add PasteRecent to MenuItem::Kind
491 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
493 (availableSelections): new function
495 2003-06-17 Angus Leeming <leeming@lyx.org>
497 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
499 2003-06-17 Angus Leeming <leeming@lyx.org>
502 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
504 * lyxfunc.C (dispatch): invoke it.
506 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
508 * iterators.C (operator++, ParPosition): reintroduce some
509 const_cast for the benefit of older compilers.
511 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
513 * text3.C (dispatch): do not modify clipboard when doing
514 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
515 LFUN_DELETE_SKIP on a selection selection
517 2003-06-16 André Pönitz <poenitz@gmx.net>
523 * tabular.[Ch]: IU of clone() and getLabelList();
525 2003-06-13 André Pönitz <poenitz@gmx.net>
527 * tabular.h: compactification
529 2003-06-12 André Pönitz <poenitz@gmx.net>
533 * tabular_funcs.h: some renaming plus whitespace
535 2003-06-12 André Pönitz <poenitz@gmx.net>
538 * BufferView_pimpl.C:
544 * toc.C: Return a Paragraph & for ParIterator::operator*()
546 2003-06-11 John Levon <levon@movementarian.org>
550 * ToolbarBackend.C: add "Toolbars" section and
553 2003-06-10 Angus Leeming <leeming@lyx.org>
556 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
558 * lyxfunc.C (dispatch): invoke it.
560 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
562 * main.C: protect <ios> with HAVE_IOS
563 (main): protect sync_with_stdio with HAVE_IOS
565 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
567 * text2.C (cutSelection): adjust
568 (pasteSelection): adjust
570 * messages.C: handle get of empty string
572 * main.C (main): use sync_with_stdio(false)
574 * lyxfunc.C (dispatch): adjust
576 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
577 (WriteAs): remove unneeded BufferView arg.
579 * bufferparams.h: use correct types on papersize, papersize2 and
582 * bufferparams.C (readToken): adjust for type
583 (writeLaTeX): add missing cases to switch.
585 * bufferlist.C (quitWriteBuffer): adjust
588 * buffer.C (asciiParagraph): remove some commented code.
590 * CutAndPaste.C: remove current_view extern variable.
591 (cutSelection): add BufferParams arg.
592 (eraseSelection): add BufferParams arg.
593 (pasteSelection): add Buffer const & arg
595 2003-06-07 John Levon <levon@movementarian.org>
603 * paragraph.C: allow InsetERT to freely space lines,
604 and some consolidation of code
606 2003-06-06 José Matos <jamatos@fep.up.pt>
608 * buffer.C (makeDocBookFile): fix bug #821
610 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
612 * BufferView_pimpl.C (dispatch): use Dialogs::visible
614 2003-06-04 Angus Leeming <leeming@lyx.org>
616 * buffer.C: bump format to 224.
618 2003-06-05 André Pönitz <poenitz@gmx.net>
620 * text2.C (redoParagraphs): remove two const_cast<>
622 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
624 * ParagraphList.h: remove last remnants of NO_STD_LIST
626 2003-06-03 Angus Leeming <leeming@lyx.org>
628 * factory.C (createInset): small change to the way InsetExternal's params
631 2003-06-04 André Pönitz <poenitz@gmx.net>
633 * buffer.h: use Undo directly instead of shared_ptr<Undo>
636 * paragraph.[Ch]: some Inset -> UpdatableInset changes
638 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
640 * undo_funcs.C: make some simple cases of undo work again
642 2003-06-03 John Levon <levon@movementarian.org>
644 * ispell.C: HPUX doesn't have sys/select.h
647 2003-06-03 John Levon <levon@movementarian.org>
649 * CutAndPaste.C: update tabular and include inset
654 * paragraph.C: remove owningBuffer(), don't pass Buffer
657 * factory.C: insetGraphicsParams changed
659 2003-06-02 John Levon <levon@movementarian.org>
665 * text3.C: remove insetparent
667 2003-06-02 John Levon <levon@movementarian.org>
670 * buffer.C: fix inset_iterator.end(), move out of line
673 2003-06-01 John Levon <levon@movementarian.org>
675 * text3.C: use a proper cut/paste when doing inset
676 insert (from Jürgen Spitzmüller)
678 2003-06-01 John Levon <levon@movementarian.org>
680 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
682 2003-05-30 André Pönitz <poenitz@gmx.net>
684 * rowpainter.C: unify second drawing phase
686 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
688 * trans_mgr.C: remove one case of current_view
690 * text2.C (cursorBottom): delete NO_STD_LIST stuff
692 * paragraph_funcs.h: remove paragraph.h include
694 * paragraph.h: delete NO_STD_LIST stuff
696 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
698 * buffer.h: remove paragraph.h include
700 * ParagraphList.C: delete file
702 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
704 * toc.C (getTocList): adjust
706 * paragraph_pimpl.C (validate): adjust
708 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
710 * paragraph.C (Paragraph): adjust
711 (getPositionOfInset): use const_iterator, adjust
712 (bibitem): use const_iterator, adjust
713 (setInsetOwner): adjust
715 * iterators.C (operator++): adjust
717 * InsetList.[Ch]: Replace selfmade iterator with standard
718 vector::iterator also introduce const_iterator. Remove getPos,
719 getInset and setInset from InsetTable. Adjust accordingly.
721 * BufferView.C (lockInset): adjust
722 (ChangeInsets): adjust
724 * tabular.[Ch]: delete commented same_id functions
726 2003-05-28 John Levon <levon@movementarian.org>
728 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
730 2003-05-28 André Pönitz <poenitz@gmx.net>
732 * metricsinfo.[Ch]: remove 'fullredraw' member
734 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
736 * lyxtextclass.C (operator): remove caching.
738 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
742 * text2.C (cursorBottom): adjust
743 (setCounter): use ParagraphList::find, adjust
745 * text.C (workWidth): use ParagraphList::find, adjust
747 * lyxcursor.C (LyXCursor): adjust
749 * buffer.C (inset_iterator): adjust
751 * ParagraphList.h: make iterator(value_type) private, make
752 ParagraphList a friend of iterator.
754 * ParagraphList.C (find): new function
756 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
758 2003-05-27 André Pönitz <poenitz@gmx.net>
760 * dimension.[Ch]: a -> asc, d -> des, w -> wid
762 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
764 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
766 2003-05-26 John Levon <levon@movementarian.org>
768 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
770 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
772 * remove same_id from function signatures, adjust.
774 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
776 * undo_funcs.C (createUndo): use the id functions directly, adjust.
778 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
780 * paragraph.C (Paragraph): get rid of same_ids parameter
782 * ParagraphList.C (insert): adjust
785 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
787 * paragraph_funcs.C (breakParagraph): adjust
788 (breakParagraphConservative): adjust
790 * buffer.C (readParagraph): adjust
792 * ParagraphList.C (insert): take a reference instead of a pointer
795 * paragraph.[Ch] (id): new function
797 * bufferlist.C (newFile): adjust
799 * ParagraphList.C (ParagraphList): adjust
801 (push_back): take a reference instead of a pointer.
803 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
805 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
808 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
809 set else use old code.
811 * ParagraphList.C: remove all NO_NEXT code and only compile this
812 code of NO_STD_LIST is set.
814 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
816 * BufferView_pimpl.C:
826 * graphics/GraphicsConverter.C:
827 * graphics/PreviewLoader.C: header adjustment
829 2003-05-23 Angus Leeming <leeming@lyx.org>
831 * LaTeXFeatures.[Ch] (useBabel): new method.
832 * bufferparams.C (writeLaTeX): use it.
834 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
836 * ParagraphList.h (set): remove unused function.
838 2003-05-23 André Pönitz <poenitz@gmx.net>
841 * BufferView_pimpl.C:
845 * undo_funcs.C: setUndo reworked
847 * iterators.[Ch]: add access to topmost ParagraphList
849 * lyxtext.[Ch] (workWidth): add a const
851 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
853 * texrow.[Ch] (increasePos): remove function
854 * exporter.C (export): removed unused var and outdated comment
856 2003-05-23 Angus Leeming <leeming@lyx.org>
858 * latexrunparams.h: rename fragile as moving_arg.
859 * paragraph.C (simpleTeXOnePar): ditto.
860 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
862 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
864 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
866 (textUndoOrRedo): comment out a currently unused var.
868 * paragraph.h (NO_NEXT): enable NO_NEXT
870 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
872 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
874 * exporter.C (Export): adjust for removeAutoInsets removal.
876 * buffer.C (runChktex): adjust for removeAutoInsets removal.
878 * LyXAction.C (init): remove LFUN_REMOVEERRORS
880 * BufferView.[Ch] (removeAutoInsets): delete function
882 2003-05-22 Angus Leeming <leeming@lyx.org>
884 * latexrunparams.h: add a free_spacing variable.
886 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
887 to pass moving_arg, as the data is stored in runparams.fragile.
889 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
890 to Inset::latexOptional or to simpleTeXOnePar.
892 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
893 free_spacing arg to Inset::latexOptional.
895 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
898 2003-05-22 Angus Leeming <leeming@lyx.org>
900 * latexrunparams.h: add fragile and use_babel variables.
902 * bufferparams.[Ch] (writeLaTeX): return use_babel.
903 * buffer.C (makeLaTeXFile): store this returned value in
904 runparams.use_babel, thus passing it to the inset::latex methods.
906 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
907 simpleTeXSpecialChars as it is now stored in runparams.fragile.
909 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
910 longer has a fragile arg, as it is stored in runparams.fragile.
912 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
913 moving_arg parameter as the data is stored in runparams.fragile.
915 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
916 a fragile parameter as the data is stored in runparams.fragile.
918 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
920 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
922 2003-05-22 Angus Leeming <leeming@lyx.org>
924 * latexrunparams.h: add a 'bool nice' which defaults to false.
926 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
927 now encapsulated within runparams.
929 * bufferlist.C (updateIncludedTeXfiles):
930 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
932 2003-05-22 Angus Leeming <leeming@lyx.org>
934 * latexrunparams.h: new file containing struct LatexRunParams.
935 * Makefile.am: add new file.
937 * LaTeX.[Ch] (c-tor, run):
938 * buffer.[Ch] (makeLaTeXFile):
939 * bufferlist.[Ch] (updateIncludedTeXfiles):
940 * converter.C (convert, scanLog):
941 * converter.[Ch] (runLaTeX):
942 * exporter.C (Export):
943 * paragraph.[Ch] (simpleTeXOnePar):
944 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
945 * paragraph_funcs.[Ch] (latexParagraphs):
946 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
947 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
948 pass around a LatexRunParams parameter.
950 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
952 * paragraph.[Ch]: remove unused constructor
954 * ParagraphList.C (erase): new function, taking two iterators
956 2003-05-22 André Pönitz <poenitz@gmx.net>
958 * undo_funcs.C: remove duplicated code
960 * iterator.[Ch]: operator=
962 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
964 * tabular.C (SetMultiColumn): ws changes
966 * rowpainter.C (paintFirst): get rid of a ->previous
968 * lyx_cb.C (getPossibleLabel): parlist simplification
970 * BufferView.C (ChangeInsets): simplify slightly.
972 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
974 * LyXAction.C: new lfun space-insert, kill protected-space-insert
975 * lfuns.h: new LFUN_SPACE
976 * lyxfunc.C: protected space has a new lfun
977 * paragraph_funcs.C: read new space insets
979 * factory.C: handle new space insets
981 2003-05-22 André Pönitz <poenitz@gmx.net>
984 * BufferView_pimpl.C:
987 * undo_funcs.C: return a ParIterator from getParFromID.
989 * iterators.[Ch]: add two const's
991 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
993 * toc.C (getTocList): adjust
995 * iterators.[Ch]: rework for parlist
997 * buffer.C (par_iterator_begin): adjust
998 (par_iterator_end): adjust
1000 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1002 * BufferView.C (removeAutoInsets): adjust
1003 (ChangeInsets): adjust
1005 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1007 * text.C (top_y): fix bug 1110
1009 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1011 * errorlist.[Ch]: added
1014 * BufferView_pimpl.C:
1015 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1018 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1020 * Makefile.am: ensure that lyx is relinked upon changes to the
1021 various "convenience" libs.
1023 2003-05-20 Angus Leeming <leeming@lyx.org>
1025 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1026 files are compiled in alphabetical order again.
1028 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1030 2003-05-19 Angus Leeming <leeming@lyx.org>
1032 * gettext.[Ch]: remove "char const * _(char const *)".
1034 2003-05-19 André Pönitz <poenitz@gmx.net>
1036 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1045 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1047 2003-05-19 André Pönitz <poenitz@gmx.net>
1051 * lyxtextclass.[Ch]:
1053 * paragraph_funcs.[Ch]:
1055 * text3.C: more insetenv work
1057 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1059 * ParagraphParameters.C (params2string): small bug fixed
1061 2003-05-16 André Pönitz <poenitz@gmx.net>
1064 * bufferview_funcs.C: patch from Kornel Benko to prevent
1065 crash when _(...) is called twice in a statement
1067 2003-05-16 André Pönitz <poenitz@gmx.net>
1074 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1076 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1078 * lyx_main.C (init): remove spurious static_cast
1080 2003-05-14 André Pönitz <poenitz@gmx.net>
1082 * BufferView.C: fix format string
1084 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1086 * BufferView.[Ch] (insertErrors): removed
1087 * BufferView.[Ch] (showErrorList): added
1088 * buffer.C (runChkTeX):
1089 * converter.C (scanLog): call showErrorList instead of inserterrors
1091 2003-05-13 André Pönitz <poenitz@gmx.net>
1093 * BufferView_pimpl.C:
1095 * bufferview_func.C:
1102 * tabular_funcs.h: tostr() from its own header
1104 * ParagraphParameters.C:
1109 * text3.C: STRCONV()
1111 2003-05-12 André Pönitz <poenitz@gmx.net>
1114 * BufferView_pimpl.C:
1118 * ParagraphParameters.C:
1122 * bufferview_funcs.C:
1135 * paragraph_funcs.C:
1139 * text3.C: boost::format -> bformat all over the place
1142 2003-05-09 André Pönitz <poenitz@gmx.net>
1144 * LColor.[Ch]: Pimpl the #include <map> away
1146 2003-05-09 John Levon <levon@movementarian.org>
1148 * bufferlist.C: never remove emergency saves
1150 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1152 * Makefile.am: better lib building
1154 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1156 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1158 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1159 (simpleTeXSpecialChars): adjust
1160 (simpleTeXSpecialChars): adjust
1161 * paragraph.C (simpleTeXOnePar): adjust
1162 * buffer.C (makeLaTeXFile): adjust
1164 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1166 * text2.C (changeDepth): parlist cleanup
1167 (getColumnNearX): ditto
1169 * rowpainter.C (getLabelFont): parlist cleanup
1171 * bufferlist.C (newFile): parlist cleanup
1173 * CutAndPaste.C (eraseSelection): parlist cleanup
1175 * BufferView_pimpl.C (trackChanges): parlist cleanup
1178 * BufferView.C (lockInset): parlist cleanup.
1179 (ChangeInsets): ditto
1181 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1183 * CutAndPaste.h: Update file header.
1185 * CutAndPaste.C: Update file header.
1186 Store the parts cut out of the Document in a limited_stack.
1187 (copySelection): adjust
1188 (pasteSelection): new function, takes the index in the limited stack.
1189 (nrOfParagraphs): adjust
1190 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1191 simplify error inset insertion.
1192 (checkPastePossible): adjust
1194 2003-05-06 John Levon <levon@movementarian.org>
1196 * text2.C: don't cast wrap inset to float
1198 2003-05-05 André Pönitz <poenitz@gmx.net>
1201 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1203 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1204 few naked Paragraph *.
1206 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1208 * bufferparams.C: Output warning if a document with missing
1209 TeX document class is loaded
1210 * exporter.C: Disable TeX exports if the document class is missing
1213 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1214 isTeXClassAvailable()
1216 2003-05-03 John Levon <levon@movementarian.org>
1219 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1220 explicit cursor show/hide
1222 * BufferView_pimpl.h:
1223 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1224 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1226 * lyxfunc.C: hide cursor before dispatching.
1231 * text3.C: remove explicit cursor hides
1233 2003-05-02 André Pönitz <poenitz@gmx.net>
1235 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1238 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1241 * text2.C: tiny whitespace
1243 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1245 * undo_funcs.C: almost only ws changes.
1247 * ParagraphList.C (splice): just return if pl is empty.
1249 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1251 * ParagraphList.C (splice): new function.
1253 * CutAndPaste.C (pasteSelection): use it
1255 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1257 * CutAndPaste.C (pasteSelection): remove the last next and
1258 previous from this file.
1260 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1262 * CutAndPaste.C (pasteSelection): more clean up, user proper
1263 ParagraphList functions for pasteing.
1265 * ParagraphList.C (insert): new function, three arg insert
1267 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1269 * ParagraphList.C (insert): new function, three arg insert
1271 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1274 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1276 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1278 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1280 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1282 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1284 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1285 (copySelection): clean up a bit.
1286 (pasteSelection): use make_pair
1288 * ParagraphList.C (ParagraphList): implement copy constructor
1289 (operator=): implement, base on copy constructor.
1292 * paragraph.C (erase): return a bool
1294 * paragraph_pimpl.C (erasePos): remove function, move contents...
1295 (erase): ... here. Return a bool.
1296 (erase): call erase instead of erasePos.
1298 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1300 * ParagraphList.h: define PitPosPair
1301 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1302 ParagraphList, fix a bug on pasting multiple pars
1303 * text2.C: change interface to C&P
1305 2003-04-30 André Pönitz <poenitz@gmx.net>
1307 * undo_func.C: revert part of yesterday's patch 2
1309 2003-04-30 John Levon <levon@movementarian.org>
1311 * LColor.C: s/tabular/table/
1313 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1315 * text3.C (dispatch): do not convert iterator -> pointer
1316 * undo_funcs.C (setCursorParUndo): ditto
1317 * text_funcs.C (transposeChars): ditto
1319 * text2.C (setLayout): ws changes only
1321 * text.C (breakParagraph): do not convert iterator -> pointer
1323 (acceptChange): ditto
1324 (rejectChange): ditto
1329 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1332 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1334 * text3.C (gotoInset): YABG (yet another bad getChar)
1336 2003-04-29 André Pönitz <poenitz@gmx.net>
1338 * paragraph.h: make operator= private unimplemented as long as
1341 * ParagraphList.C: whitespace
1344 * paragraph_pimpl.[Ch]:
1345 * paragraph_funcs.C:
1347 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1350 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1352 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1354 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1355 * paragraph.[Ch] (erase):
1356 * paragraph_pimpl.[Ch] (erase): change return type and value
1357 * text2.C (cutSelection): some rework
1359 2003-04-28 John Levon <levon@movementarian.org>
1361 * bufferlist.C: changes for unsaved changes dialog
1363 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1365 * bufferlist.C (newFile): set language (messages_) for new
1368 * buffer.C (readFile): ws changes only.
1370 2003-04-28 André Pönitz <poenitz@gmx.net>
1375 * BufferView_pimpl.C:
1376 * BufferView.C: getParFromID related ParagraphList::iterator changes
1378 2003-04-28 André Pönitz <poenitz@gmx.net>
1380 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1383 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1385 * messages.C: remove one more localedir class variable.
1387 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1389 * messages.C (getLocaleDir): singleton generation function
1391 (Messages): add a default constructor.
1393 * main.C (main): do not setup localedir here, do not call
1396 * gettext.C (_): use it.
1397 (gettext_init): delete funciton
1399 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1401 * gettext.C (getLyXMessages): new singleton generating function.
1403 * buffer.C (updateDocLang): adjust
1405 * Makefile.am (messages.o): add target
1406 (main.o): remove target
1408 2003-04-27 John Levon <levon@movementarian.org>
1413 * lyxvc.C: specify cancel button in Alert::prompt
1415 2003-04-26 John Levon <levon@movementarian.org>
1420 * LyXAction.C: add LFUN_INSET_SETTINGS
1422 * lyxfunc.C: don't enable tabular-feature when there's
1423 just any locking inset
1425 2003-04-26 John Levon <levon@movementarian.org>
1427 * bufferlist.C: re-add Cancel to buffer close question
1429 * lyxfunc.C: fix import UI a bit
1431 2003-04-25 John Levon <levon@movementarian.org>
1433 * gettext.C: remove the broken asserts for now
1435 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1437 * messages.C: make case where setlocale cannot comply work better.
1439 * buffer.C (updateDocLang): new function
1440 (changeLanguage): use it
1443 * text2.C (setCounter): use B_ a bit.
1445 * lyxlayout.C (Read): be sure to trim the label strings.
1447 * messages.C (Messages): fix typo in comment
1449 * buffer.C (readFile): set message_ after file is loaded.
1450 (makeDocBookFile): remove double return
1451 (changeLanguage): reset message_ upon language change.
1452 (B_): new func, use this to get translated buffer strings.
1454 * main.C: add myself and Jean Marc as authors.
1456 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1458 * messages.[hC]: pimplify Messages, and three different pimpls to be
1459 used in different circumstances.
1461 * gettext.[Ch]: change for use with new message code.
1463 2003-04-24 André Pönitz <poenitz@gmx.net>
1465 * factory.C: support for eqref
1467 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1469 * messages.[Ch]: add missing char
1471 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1473 * messages.[Ch]: New files
1475 2003-04-18 John Levon <levon@movementarian.org>
1479 * BufferView_pimpl.C:
1483 * text2.C: remove layout-copy/paste (bug 778)
1485 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1487 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1489 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1491 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1492 if they succeed. Act accordingly.
1494 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1496 * text2.C (setCharFont): adjust
1497 (setCounter): adjust
1498 (insertStringAsLines): adjust
1500 * text.C (leftMargin): adjust
1501 (setHeightOfRow): adjust
1503 * rowpainter.C (paintFirst): adjust
1506 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1508 (isFirstInSequence): ditto
1509 (getEndLabel): ditto
1512 * paragraph.C (getParLanguage): comment out some hard stuff.
1514 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1516 (simpleDocBookOnePar): ditto
1517 (makeDocBookFile): use ParagraphList::iterator
1519 * CutAndPaste.C (pasteSelection): adjust
1521 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1523 * text2.C (getFont): adjust
1524 (getLayoutFont): adjust
1525 (getLabelFont): adjust
1527 * paragraph_funcs.C (TeXOnePar): adjust
1529 * buffer.C (simpleLinuxDocOnePar): adjust
1530 (simpleDocBookOnePar): adjust
1532 * CutAndPaste.C (pasteSelection): adjust
1534 * BufferView.C (getEncoding): adjust
1536 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1538 2003-04-16 John Levon <levon@movementarian.org>
1540 * lyxfind.C: use parlist stuff for search/changes
1542 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1544 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1546 * text2.C (deleteEmptyParagraphMechanism): adjust
1548 * text2.[Ch] (ownerParagraph): delete func (both of them
1550 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1552 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1554 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1556 * ParagraphList.C: prepare for NO_NEXT
1558 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1560 * text2.C (getFont): adjust
1561 (getLayoutFont): adjust
1562 (getLabelFont): adjust
1564 * paragraph.C (getFont): adjust
1565 (getLabelFont): adjust
1566 (getLayoutFont): adjust
1568 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1570 2003-04-15 John Levon <levon@movementarian.org>
1574 * lyx_main.C: handle Include in .ui files
1576 2003-04-15 John Levon <levon@movementarian.org>
1578 * MenuBackend.C: make the doc files length shorter
1581 * ToolbarBackend.C: handle toolbar placement flags,
1584 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1586 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1589 * paragraph_funcs.C (TeXOnePar): adjust
1591 * paragraph.C (getLabelFont): add outerfont arg, adjust
1592 (getLayoutFont): ditto
1593 (simpleTeXOnePar): adjust
1595 * paragraph_pimpl.C (realizeFont): delete func
1597 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1599 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1600 row argument, constify cur argument.
1602 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1604 * text2.C (getFont): adjust
1605 (getLayoutFont): adjust
1606 (getLabelFont): adjust
1608 * paragraph_funcs.C (TeXOnePar): adjust
1609 (outerFont): new func...
1610 (realizeFont): ...moved out from here, changed this to facilitate
1613 * paragraph.C (getFont): take outerfont as arg, adjust
1614 (simpleTeXOnePar): add outerfont arg, adjust
1616 * buffer.C (simpleLinuxDocOnePar): adjust
1617 (simpleDocBookOnePar): adjust
1619 * CutAndPaste.C (pasteSelection): adjust
1621 * BufferView.C (getEncoding): adjust
1623 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1625 * text2.C (setCharFont): adjust
1626 (setCounter): adjust
1628 * text.C (leftMargin): adjust
1629 (setHeightOfRow): adjust
1631 * rowpainter.C (paintFirst): adjust
1634 * paragraph_pimpl.C (realizeFont): adjust
1636 * paragraph.C (isFirstInSequence): move from here...
1637 * paragraph_funcs.C (isFirstInSequence): ...to here
1639 * paragraph.C (outerHook): move from here...
1640 * paragraph_funcs.C (outerHook): ...to here
1642 * paragraph.C (depthHook): move from here...
1643 * paragraph_funcs.C (depthHook): ...to here
1645 * paragraph.C (getEndLabel): move from here...
1646 * paragraph_funcs.C (getEndLabel): ...to here
1648 * text2.C (realizeFont): move from here...
1649 * paragraph_funcs.C (realizeFont): ...to here
1651 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1653 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1655 2003-04-14 Angus Leeming <leeming@lyx.org>
1657 * LColor.[Ch]: scrap LColor mathcursor.
1659 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1661 * lyxlex.[Ch] (text): delete function
1662 * trans.C (Load): adjust
1663 * paragraph_funcs.C (readParToken): adjust
1665 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1667 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1668 vector<char> instead of a char[].
1670 * lyxlex_pimpl.C (getString): adjust
1672 (lex): use getString
1676 * lyxlex.C (text): use pimpl_->getString()
1680 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1682 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1683 (makeFontEntriesLayoutSpecific): temp var for par.size()
1684 (setLayout): temp var for ownerParagraphs().end()
1685 (fullRebreak): temp var for rows().end()
1686 (selectionAsString): temp var for boost::next(startpit), realize
1687 that the while really is a regular for loop.
1688 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1689 setCursor in one place.
1690 (setParagraph): temp vr for ownerParagraphs().end()
1691 (updateCounters): make the while loop a for loop
1692 (cutSelection): temp var for ownerParagraphs().end()
1693 (updateInset): make the do {} while() a regular for loop
1694 (getCursorX): use temp vars
1695 (setCurrentFont): use temp vars
1696 (getColumnNearX): use temp vars
1698 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1700 * text.C (transformChar): use temp var for getChar
1701 (computeBidiTables): use temp var for row->par()
1702 (fill): move temp vars for row->par() and pit->layout() earlier in
1704 (labelFill): use temp var for row->par()
1705 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1706 asc and desc, realize that pit never changes and that firstpit is
1707 just a duplicate and not needed. Exchange rit->par() with pit in a
1709 (breakAgain): use a temp var for boost::next(rit)
1710 (breakAgainOneRow): ditto
1711 (breakParagraph): use a temp var for rows().begin()
1712 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1713 (cursorRightOneWord): use temp var for cursor.par() and
1714 cursor.pos(), remove usage of tmpcursor.
1715 (cursorLeftOneWord): use temp var for cursor.par() and
1716 cursor.pos() only set cur at end of function.
1718 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1720 * text.C, text2.C: exchange all usage of Paragraph::next with
1721 boost::next(ParagraphList::iterator)
1723 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1725 * text2.C (cursorTop): simplify implementation
1726 (cursorBottom): ditto
1727 (setParagraph): use ParagraphList::iterator
1728 (setCurrentFont): adjust
1729 (getColumnNearX): adjust
1730 (cursorRight): adjust
1731 (cursorLeft): remove usage of Paragraph::previous
1732 (cursorUpParagraph): ditto
1733 (deleteEmptyParagraphMechanism): slight cleanup
1735 * text.C (isBoundary): take a Paragraph const & instead of a
1737 (addressBreakPoint): ditto
1738 (leftMargin): remove usage of Paragraph::previous.
1739 (setHeightOfRow): ditto
1740 (cursorLeftOneWord): ditto
1741 (selectNextWordToSpellcheck): ditto
1744 (breakParagraph): remove one usage of Paragraph::next
1745 (redoParagraph): ditto
1746 (acceptChange): ditto
1747 (insertChar): adjust
1748 (rowBreakPoint): adjust
1750 * bufferview_funcs.C (toggleAndShow): adjust
1752 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1754 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1755 methods to access it.
1757 * text.C: Added updateRowPositions to compute all row positions.
1758 Make top_y and getRowNearY() to use the cached y position
1760 2003-04-11 John Levon <levon@movementarian.org>
1762 * text.C (rowBreakPoint): reintroduce the labelEnd
1763 checks, code copied from the row fill stuff. Deep voodoo.
1765 * text.C (fill): add a comment and debugging for the
1768 2003-04-11 John Levon <levon@movementarian.org>
1770 * text.C: make sure fullrow insets get wrapped to the next line,
1771 even when they're in a manual label
1773 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1775 * text2.C (insertParagraph): make it take ParagraphList::iterator
1777 (setLayout): make it return ParagraphList::iterator
1778 (redoParagraphs): ditto
1780 (checkParagraph): ditto
1782 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1784 * text2.C: adjust several funcs.
1785 (realizeFont): take a ParagraphList::iterator as arg.
1786 (getLayoutFont): ditto
1787 (getLabelFont): ditto
1788 (setCharFont): ditto
1790 * text.C: adjust several funcs.
1792 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1794 * text.C (selectNextWordToSpellcheck): don't accidentally
1797 2003-04-10 John Levon <levon@movementarian.org>
1799 * ToolbarBackend.C (getIcon): special handling for
1802 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1804 * text2.C (cursorRight): a getChar assert fixed
1806 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1808 * text2.C (getFont): change to take a ParagraphList::iterator
1809 instead of Paragraph*
1810 Adjust several functions.
1812 * text.C (transformChar): change to take a ParagraphList::iterator
1813 instead of Paragraph*
1814 (singleWidth): ditto
1815 Adjust several functions.
1817 * rowpainter.C: adjust several functions
1818 * rowpainter.h:store a ParagraphList::iterator and not a
1822 2003-04-09 John Levon <levon@movementarian.org>
1827 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1828 and the "help" bits as well
1830 2003-04-09 John Levon <levon@movementarian.org>
1833 * ToolbarBackend.C: allow multiple toolbars
1835 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1837 * undo_funcs.C (setCursorParUndo): adjust
1839 * text_funcs.C (transposeChars): adjust
1841 * text3.C (gotoNextInset): adjust
1844 * text2.C (setLayout): adjust
1845 (changeDepth): adjust
1847 (redoParagraphs): adjust
1848 (selectionAsString): adjust
1849 (setParagraph): adjust
1850 (insertInset): adjust
1851 (cutSelection): adjust
1852 (copySelection): adjust
1853 (pasteSelection): adjust
1854 (insertStringAsLines): adjust
1855 (updateInset): adjust
1856 (setCursor): change to take a ParagraphList::iterator parameter
1857 (setCursorIntern): change to take a ParagraphList::iterator parameter
1858 (setCurrentFont): adjust
1859 (cursorLeft): adjust
1860 (cursorRight): adjust
1861 (deleteEmptyParagraphMechanism): adjust
1863 * text.C (breakParagraph): adjust
1864 (insertChar): adjust
1865 (acceptChange): adjust
1866 (rejectChange): adjust
1867 (selectNextWordToSpellcheck): adjust
1868 (changeCase): adjust
1872 * lyxfind.C (SearchForward): adjust
1873 (SearchBackward): adjust
1874 (nextChange): adjust
1876 * lyxcursor.C (par): adjust
1878 * lyxcursor.h: store a ParagraphList::iterator instead of a
1881 * lyx_cb.C (getPossibleLabel): adjust
1883 * bufferview_funcs.C (toggleAndShow): adjust
1885 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1888 * BufferView.C (removeAutoInsets): adjust
1889 (lockedInsetStoreUndo): adjust
1891 2003-04-09 John Levon <levon@movementarian.org>
1893 * ToolbarBackend.C: try icon without argument
1894 if with argument fails
1896 2003-04-08 John Levon <levon@movementarian.org>
1899 * ToolbarBackend.C: add getIcon(), handle tooltip,
1900 and change from "Icon" to "Item".
1902 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1904 * BufferView.C (lockInset): another bad getchar crunched
1906 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1908 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1911 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1913 * lyxfind.C (searchForward, searchBackwards): bug 782
1915 2003-04-07 John Levon <levon@movementarian.org>
1917 * paragraph.C: remove dead comment
1919 * text.C: remove troublesome depth-fiddling code
1920 in leftMargin() and rightMargin() (bug 1017)
1922 * text.C: fix breaking of rows in nested lists
1925 * text2.C (updateCounters): fix up depth values
1928 2003-04-07 John Levon <levon@movementarian.org>
1930 * BufferView_pimpl.C: clear message when doc finishes resizing,
1931 and after a mouse event
1933 * lyxfunc.C: clear message after exiting inset
1935 2003-04-07 John Levon <levon@movementarian.org>
1937 * bufferview_funcs.C: show math status not outside
1938 status in the statusbar
1940 2003-04-07 John Levon <levon@movementarian.org>
1942 * lyxfunc.C: note status changed after a depth change
1944 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1946 * LaTeX.h: move AuxInfo operator==, != out of line.
1947 Remove LaTeX virtual destructor; nothing derives from it.
1948 Move operator()() out of public area and rename it startscript().
1949 Change protected for private.
1951 2003-04-04 Angus Leeming <leeming@lyx.org>
1954 * text2.C: remove unneeded #includes.
1956 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1958 * text2.C (dEPM): fix the heigth of the next row
1960 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1962 * text.C: squashed an invalid getChar requester + some ws changes
1964 2003-04-03 John Levon <levon@movementarian.org>
1966 * bufferview_funcs.h:
1967 * bufferview_funcs.C:
1970 * text2.C: make getStatus work for the env depth lfuns
1972 2003-04-03 John Levon <levon@movementarian.org>
1974 * bufferview_funcs.h:
1975 * bufferview_funcs.C:
1978 * text2.C: parlistize decDepth(), by merging it with incDepth()
1980 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1982 * lyxrow.h: store a ParagraphList::iterator instead of a
1983 Paragraph* and adjust other class functions to suit.
1985 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1988 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1990 * text2.C (setCursor): do not anchor to cursor row for the time being
1992 2003-04-02 John Levon <levon@movementarian.org>
1999 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2001 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2003 * paragraph.h: make ParagraphList and ParagraphList::iterator
2004 friends of Paragraph.
2006 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2008 * ParagraphList.C: Use the private next_ and previous_ from
2011 2003-04-01 John Levon <levon@movementarian.org>
2015 * Makefile.am: rename, remove defaults gunk
2018 * MenuBackend.C: remove defaults gunk
2021 * Languages.C: remove defaults gunk
2024 * lyx_main.C: error out if files couldn't be found.
2026 2003-04-02 John Levon <levon@movementarian.org>
2028 * text2.C: make incDepth() use parlist
2030 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2032 * undo_funcs.C (firstUndoParagraph): adjust
2034 * text3.C (gotoInset): adjust
2035 (dispatch): adjust, and rewrite loop.
2037 * text2.C (init): adjust, and rewrite loop.
2038 (redoParagraphs): adjust
2039 (updateInset): adjust, and rewrite loop.
2040 (deleteEmptyParagraphMechanism): adjust
2042 * tabular.C (LyXTabular): adjust
2043 (SetMultiColumn): adjust
2046 * lyxtext.[Ch] (ownerParagraph): delete function
2047 (ownerParagraphs): new function returns a ParagraphList.
2049 * BufferView.C (removeAutoInsets): adjust
2050 (insertErrors): adjust
2051 (setCursorFromRow): adjust
2053 2003-04-01 Angus Leeming <leeming@lyx.org>
2055 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2058 2003-04-02 John Levon <levon@movementarian.org>
2064 * text_funcs.C: make transposeChars a free function
2066 * lyxrow_funcs.C: remove wrong comment
2068 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2071 * rowpainter.C: adjust
2076 * lyxrow_funcs. [Ch]: new files
2078 * lyxrow.[Ch]: remove next and previous pointers
2079 (next,previous): remove accessor functions
2080 (isParEnd): move to lyxrow_funcs
2081 (lastPos): move to lyxrow_funcs
2082 (nextRowIsAllInset): move to lyxrow_funcs
2083 (lastPrintablePos): move to lyxrow_funcs
2084 (numberOfSeparators): move to lyxrow_funcs
2085 (numberOfHfills): move to lyxrow_funcs
2086 (numberOfLabelHfills): move to lyxrow_funcs
2087 (hfillExpansion): move to lyxrow_funcs
2091 * bufferview_funcs.C (toggleAndShow): adjust
2093 * RowList.h: Remove class RowList from file leave just a
2096 * RowList.C: delete file
2098 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2101 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2103 * text3.C (cursorPrevious): adjust
2104 (cursorNext): adjust
2107 * text2.C (redoHeightOfParagraph): adjust
2108 (redoDrawingOfParagraph): adjust
2111 * text.C (breakParagraph): adjust
2112 (insertChar): adjust
2115 * rowpainter.C (RowPainter): adjust
2116 (leftMargin): simplify and adjust
2117 (most rowpainter functions): adjust.
2119 * rowpainter.h: store the row as RowList::iterator not as Row*
2121 * lyxcursor.C (row): taka RowList::iterator as arg
2124 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2127 2003-04-01 Angus Leeming <leeming@lyx.org>
2129 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2130 stuff like bool Bool.
2132 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2134 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2137 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2139 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2142 * lyxtext.h (rows): drop one version and leve a const variant that
2143 returns a RowList::iterator.
2145 2003-03-31 Angus Leeming <leeming@lyx.org>
2147 * text.C (fill): ensure that the signature is the same as that in the
2150 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2152 * text2.C (redoParagraphs): adjust
2153 (updateCounters): adjust
2154 (checkParagraph): adjust
2155 (getColumnNearX): adjust and reformat a bit.
2157 * text.C (top_y): adjust
2159 (leftMargin): adjust
2160 (prepareToPrint): adjust
2162 (getRowNearY): adjust
2164 * lyxtext.h: make rowlist_ mutable.
2166 * RowList.h: add const_iterator
2167 * RowList.C: adjust for RowList::const_iterator.
2169 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2172 2003-03-31 John Levon <levon@movementarian.org>
2175 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2177 * lyx_main.C: set default fonts from using lyx_gui funcs
2179 * exporter.C: pdf_mode moved from lyxrc
2182 * lyxfunc.C: changes from above
2184 2003-03-31 John Levon <levon@movementarian.org>
2186 * lyx_main.C: fix to the last fix
2188 2003-03-31 John Levon <levon@movementarian.org>
2190 * bufferlist.C: "Load original" -> "Load Original"
2196 * format.C: more Alert cleanups
2198 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2200 * text2.C (removeParagraph): make it take a RowList::iterator as
2202 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2203 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2205 * text.C (anchor_row): make it take a RowList::iterator as arg,
2207 (computeBidiTables): make it take a const reference to Row instead
2208 of Row pointer, adjust.
2209 (leftMargin): make it take a RowList::iterator as arg, adjust.
2210 (rowBreakPoint): adjust
2211 (breakAgainOneRow): make it take a RowList::iterator as arg,
2213 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2215 * bufferview_funcs.C (toggleAndShow): adjust
2217 2003-03-30 John Levon <levon@movementarian.org>
2221 * boost-inst.C: moved to support
2223 * several files: changes as a result
2225 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2227 * text2.C (LyXText): adjust.
2229 (removeRow): make it take a RowList::iterator as arg, adjust.
2230 (fullRebreak): adjust
2231 (deleteEmptyParagraphMechanism): adjust
2232 (clearPaint): adjust
2235 * text.C (top_y): adjust
2236 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2237 (breakAgain): make it take a RowList::iterator as arg, adjust.
2238 (breakParagraph): adjust
2239 (insertChar): adjust
2242 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2243 need_break_row, and refresh_row.
2245 * text3.C (dispatch): adjust
2247 * text2.C (checkParagraph): adjust
2249 (setCursorFromCoordinates): adjust
2251 * text.C (top_y): adjust
2253 (getRow): make it return a RowList::iterator, adjust
2254 (getRowNearY): make it return a RowList::iterator, adjust
2256 * text2.C (init): adjust
2257 (insertRow): remove function
2258 (insertParagraph): adjust
2259 (redoParagraphs): adjust
2260 (fullRebreak): adjust
2261 (updateCounters): adjust
2263 * text.C (top_y): rewrite to use RowList iterators.
2265 (setHeightOfRow): rewrite to sue RowList iterators.
2266 (appendParagraph): adjust
2267 (breakAgain): adjust
2268 (breakAgainOneRow): adjust
2269 (breakParagraph): adjust
2271 (getRowNearY): adjust, and remove commented code.
2273 * lyxtext.h (firstRow): delete function
2274 (lastRow): delete function
2275 (rows): new function (const and non-const versions.)
2276 (insertRow): delete function
2278 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2280 2003-03-29 John Levon <levon@movementarian.org>
2282 * BufferView_pimpl.C: always update scrollbar top
2283 because pasting text when we're anchored could mean we
2284 miss an update altogether
2286 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2288 * text2.C (init): use rowlist_.end() and not 0.
2289 (insertRow): change to take a RowList::iterator as arg, adjust
2291 (insertParagraph): change to take a RowList::iterator as arg,
2293 (redoParagraphs): remove some debug msgs.
2295 * text.C (appendParagraph): change to take a RowList::iterator
2296 arg, adjust for this.
2297 (breakAgain): add an assert
2298 (breakAgainOneRow): ditto
2300 2003-03-29 John Levon <levon@movementarian.org>
2302 * text2.C: do not clear selection after inc/decDepth
2305 2003-03-29 John Levon <levon@movementarian.org>
2308 * buffer.C: fix broken strerrors according to Lars
2310 2003-03-29 John Levon <levon@movementarian.org>
2312 * converters.C: more Alert cleanups
2314 2003-03-29 John Levon <levon@movementarian.org>
2316 * bufferview_funcs.C: remove pointless Alert
2318 * buffer.C: fix confusing error message when
2319 a template is chmoded 000
2321 2003-03-29 John Levon <levon@movementarian.org>
2325 * BufferView_pimpl.C: Alert fixes
2329 * tabular-old.C: remove unused table compat reading
2331 2003-03-29 John Levon <levon@movementarian.org>
2336 * lyx_cb.C: more Alert cleanups
2338 * lyxfunc.C: don't allow chktex if not latex document
2340 2003-03-29 John Levon <levon@movementarian.org>
2344 * buffer.C: warnings pushed down from support/,
2347 2003-03-29 John Levon <levon@movementarian.org>
2349 * lyxfunc.C: safety check for C-r (revert)
2351 2003-03-29 John Levon <levon@movementarian.org>
2354 * bufferlist.C: several UI fixes using Alert::prompt.
2355 Fix the pointless looping quit code. Fix stupid revert
2360 * lyx_cb.C: use Alert::prompt
2362 * lyx_main.C: remove a silly question
2364 * lyxfunc.C: remove a couple of silly questions,
2367 2003-03-28 John Levon <levon@movementarian.org>
2369 * text2.C: fix bug 974 (End on empty par)
2371 2003-03-28 John Levon <levon@movementarian.org>
2373 * BufferView_pimpl.C:
2375 * lfuns.h: remove do-nothing math greek lfuns
2377 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2379 * lyxgluelength.h (isValidGlueLength): add default arg on
2380 parameter 2. Remove default arg from friend in class.
2382 * lyxlength.h (isValidLength): add default arg on parameter 2.
2383 Remove default arg from friend in class.
2385 * text2.C (LyXText): adjust, initialize refresh_row.
2389 (insertParagraph): adjst
2390 (redoParagraphs): adjust
2391 (fullRebreak): adjust
2392 (updateCounters): adjust
2393 (deleteEmptyParagraphMechanism): first attempt at fixing a
2396 * text.C (top_y): adjust
2397 (setHeightOfRow): adjust
2399 (getRowNearY): adjust
2401 * lyxtext.h: include RowList.h
2402 (~LyXText): not needed anymore, deleted.
2403 (firstRow): modify for RowList
2404 (lastRow): new function
2405 Delete firstrow and lastrow class variables, add a Rowlist
2406 rowlist_ class variable.
2408 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2411 * RowList.C (insert): fix case where it == begin().
2413 2003-03-26 Angus Leeming <leeming@lyx.org>
2415 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2416 the thesaurus dialog.
2418 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2420 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2422 * RowList.[Ch]: new files
2424 * ParagraphList.C (erase): handle the case where it == begin
2427 2003-03-25 John Levon <levon@movementarian.org>
2431 * aspell.C: add new aspell support
2434 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2437 2003-03-25 Angus Leeming <leeming@lyx.org>
2440 * LyXAction.C (init): new LFUN_INSET_INSERT.
2442 * BufferView_pimpl.C (dispatch): split out part of the
2443 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2445 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2448 2003-03-25 Angus Leeming <leeming@lyx.org>
2450 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2452 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2455 * text3.C: remove useless row->height(0)
2457 2003-03-25 John Levon <levon@movementarian.org>
2461 * text3.C: rename the refreshing stuff to better names
2463 2003-03-24 John Levon <levon@movementarian.org>
2465 * BufferView_pimpl.h:
2466 * BufferView_pimpl.C: update layout choice on a mouse
2469 2003-03-23 John Levon <levon@movementarian.org>
2471 * Makefile.am: fix commandtags.h reference
2473 2003-03-22 John Levon <levon@movementarian.org>
2475 * BufferView_pimpl.C:
2480 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2482 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2485 * text.C: take the rtl methods out of line
2487 2003-03-21 André Pönitz <poenitz@gmx.net>
2489 * metricsinfo.[Ch]: new files containing structures to be passed around
2490 during the two-phase-drawing...
2492 2003-03-21 André Pönitz <poenitz@gmx.net>
2494 * lyxtextclass.C: read 'environment' tag.
2496 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2498 * text2.C (removeRow): fix bug 964
2500 2003-03-20 John Levon <levon@movementarian.org>
2504 * text2.C: paint cleanups. Inset::update() dropped font
2507 2003-03-19 John Levon <levon@movementarian.org>
2509 * lyxfunc.C: only fitcursor/markDirty if available()
2511 2003-03-19 John Levon <levon@movementarian.org>
2513 * commandtags.h: rename to ...
2515 * lfuns.h: ... this, and renumber / cleanup
2517 2003-03-19 John Levon <levon@movementarian.org>
2519 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2520 fit the cursor after an lfun
2524 * BufferView_pimpl.h:
2525 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2527 * LyXAction.C: layout-character should have ReadOnly
2529 * ParagraphParameters.C:
2531 * bufferview_funcs.C:
2538 * undo_funcs.C: changes from above
2540 2003-03-18 John Levon <levon@movementarian.org>
2542 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2543 remove it from update()
2545 * lyxfunc.C: update layout choice after an lfun
2547 * text3.C: remove extra updateLayoutChoice()s
2549 2003-03-18 John Levon <levon@movementarian.org>
2551 * text.C: top_y change means full repaint, fix
2552 a drawing bug with cursor movement
2554 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2558 * text2.C: anchor row on setCursor
2560 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2562 * lyxtext.h: remove almost all mutable keywords
2565 * text3.C: remove const keywords accordingly
2567 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2569 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2571 (TeXEnvironment): ditto
2574 2003-03-17 John Levon <levon@movementarian.org>
2576 * text.C (rowBreakPoint): remove attempt to fix displayed
2577 math insets inside a manual label
2579 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2581 * lyxtext.h: remove BufferView* as first arg from almost all class
2583 * other files: adjust.
2585 2003-03-17 John Levon <levon@movementarian.org>
2589 * text2.C: more paint cleanups
2591 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2594 * rowpainter.C: remove "smart" background painting code
2596 2003-03-16 John Levon <levon@movementarian.org>
2601 * text3.C: add helper functions for setting refresh_row/y
2603 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2605 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2606 newline inset which *can* get inserted in the pass_thru layouts.
2607 This is primarily for literate documents.
2609 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2611 * buffer.C: increment LYX_FORMAT to 223
2613 2003-03-14 André Pönitz <poenitz@gmx.net>
2615 * textclass.h: prepare for environment handling, ws changes
2616 * lyxlayout.C: read latexheader and latexfooter tags
2618 2003-03-14 John Levon <levon@movementarian.org>
2620 * text2.C: rewrite ::status() a bit
2622 2003-03-13 John Levon <levon@movementarian.org>
2624 * lyxtext.h: add some docs
2626 2003-03-13 John Levon <levon@movementarian.org>
2631 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2633 2003-03-13 John Levon <levon@movementarian.org>
2635 * text3.C: fix appendix redrawing
2637 2003-03-13 John Levon <levon@movementarian.org>
2639 * text.C (setHeightOfRow):
2641 * rowpainter.C: make appendix mark have the text
2642 "Appendix" so the user knows what it is
2645 * LColor.C: s/appendixline/appendix/ from above
2647 2003-03-13 John Levon <levon@movementarian.org>
2649 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2651 * text.C: fix a getChar(pos) bug properly
2653 2003-03-13 Angus Leeming <leeming@lyx.org>
2656 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2657 Probably only temporary. Let's see how things pan out.
2659 * BufferView.C (unlockInset):
2660 * BufferView_pimpl.C (fitCursor):
2661 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2663 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2664 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2666 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2667 new functions that convert ParagraphParameters to and from a string.
2669 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2670 BufferView::Pimpl's dispatch.
2671 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2673 2003-03-13 André Pönitz <poenitz@gmx.net>
2677 * factory.C: make it aware of InsetEnv
2679 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2681 * text2.C (setCursor): never ask for one past last
2682 (setCursor): add some debugging messages.
2684 * text.C (singleWidth): never ask for one past last
2685 (singleWidth): ditto
2687 (rightMargin): ditto
2688 (rowBreakPoint): ditto
2689 (setHeightOfRow): ditto
2690 (prepareToPrint): ditto
2692 * rowpainter.C (paintBackground): never ask for one past last
2693 (paintText): never ask for one past last
2695 * paragraph_pimpl.C (getChar): make the assert stricter, never
2696 allow the one past last pos to be taken
2698 * paragraph.C (getChar): ws changes only
2700 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2701 (numberOfSeparators): ditto
2702 (numberOfHfills): ditto
2704 2003-03-12 John Levon <levon@movementarian.org>
2710 * paragraph_funcs.C: fix per-buffer authorlists
2712 2003-03-12 John Levon <levon@movementarian.org>
2714 * text.C: fix newline in right address
2716 2003-03-12 Angus Leeming <leeming@lyx.org>
2718 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2719 duplicate those in LyXFunc::dispatch.
2723 * ToolbarDefaults.C:
2724 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2725 Add LFUN_FONTFREE_UPDATE.
2727 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2728 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2730 * bufferview_func.[Ch]: several new functions to facilliate
2731 transfer of data to and from the character dialog.
2733 2003-03-12 John Levon <levon@movementarian.org>
2738 * paragraph_funcs.C:
2739 * paragraph_pimpl.C:
2743 * text3.C: remove META_NEWLINE in favour of an inset
2746 * rowpainter.C: remove paintNewline (done by inset)
2748 2003-03-12 John Levon <levon@movementarian.org>
2750 * paragraph_pimpl.C: complain about bad getChar()s
2751 for a while at least
2753 2003-03-12 John Levon <levon@movementarian.org>
2756 * buffer.C: move paragraph read into a separate function,
2757 a little renaming to reflect that.
2760 * bufferparams.C: remove the author_ids map, not necessary now
2763 * factory.C: moved Buffer::readInset to here
2765 * paragraph_funcs.h:
2766 * paragraph_funcs.C: readParagraph free function moved from
2769 * tabular.C: name change
2771 2003-03-12 John Levon <levon@movementarian.org>
2774 * ParagraphParameters.C: move par params input to
2777 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2778 behave like a normal read from the stream wrt reading
2779 a line vs. a \\token
2781 2003-03-12 John Levon <levon@movementarian.org>
2784 * ParagraphParameters.h:
2785 * ParagraphParameters.C: move output code to a
2788 2003-03-12 John Levon <levon@movementarian.org>
2790 * BufferView.C (insertLyXFile):
2793 * tabular.C: use a parlist iterator for creating the
2796 2003-03-12 John Levon <levon@movementarian.org>
2798 * buffer.C: make current_change static local not
2801 2003-03-12 John Levon <levon@movementarian.org>
2803 * buffer.C: fix insertStringAsLines for change tracking
2805 2003-03-12 John Levon <levon@movementarian.org>
2812 * bufferparams.C: move author list into params. Rename some
2813 functions. Move the header reading into a separate token
2814 loop. Move the header token reading into BufferParams.
2816 2003-03-12 John Levon <levon@movementarian.org>
2818 * changes.C: put debug inside lyxerr.debugging() checks
2820 2003-03-11 André Pönitz <poenitz@gmx.net>
2822 * factory.C: make it aware of InsetHFill
2824 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2826 * buffer.C (latexParagraphs): move function from here...
2827 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2830 2003-03-10 Angus Leeming <leeming@lyx.org>
2832 * LyXAction.C (init): fix bug in poplating array with multiple entries
2833 with the same LFUN (spotted by JMarc).
2835 2003-03-10 John Levon <levon@movementarian.org>
2838 * text2.C: move getColumnNearX() near its
2841 2003-03-10 John Levon <levon@movementarian.org>
2843 * text.C: fix break before a minipage
2845 2003-03-10 John Levon <levon@movementarian.org>
2847 * text.C: fix the last commit
2849 2003-03-09 John Levon <levon@movementarian.org>
2853 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2854 bug 365 (don't break before insets unless needed). Don't
2855 return a value > last under any circumstances.
2857 2003-03-09 Angus Leeming <leeming@lyx.org>
2859 * BufferView_pimpl.C (trackChanges, dispatch): call
2860 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2862 2003-03-09 Angus Leeming <leeming@lyx.org>
2864 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2865 than Dialogs::showAboutlyx().
2867 2003-03-09 Angus Leeming <leeming@lyx.org>
2869 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2870 than Dialogs::showTabularCreate().
2872 2003-03-09 John Levon <levon@movementarian.org>
2876 * text2.C: 3rd arg to nextBreakPoint was always the same.
2879 2003-03-08 John Levon <levon@movementarian.org>
2886 * text2.C: Remove the "main" bit from the "main body"
2889 2003-03-08 John Levon <levon@movementarian.org>
2891 * text.C (leftMargin): The left margin of an empty
2892 manual label paragraph should not include the label width
2895 * text.C (prepareToPrint): don't attempt to measure hfills
2896 for empty manual label paragraphs - the answer should be 0
2898 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2900 * CutAndPaste.C: remove commented code and reindent.
2902 2003-03-08 John Levon <levon@movementarian.org>
2905 * lyxfunc.C: move reloadBuffer()
2908 * BufferView.C: to here
2910 * lyxvc.C: add comment
2913 * vc-backend.C: call bv->reload() to avoid
2914 getStatus() check on MENURELOAD
2916 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2918 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2919 to an old format .dep file.
2921 2003-03-07 Angus Leeming <leeming@lyx.org>
2923 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2924 when the LFUN_MOUSE_RELEASE should have been handled by
2925 inset->localDispatch.
2927 2003-03-07 Angus Leeming <leeming@lyx.org>
2929 * BufferView_pimpl.C (dispatch):
2930 * LyXAction.C (init):
2931 * ToolbarDefaults.C (init):
2933 * lyxfunc.C (getStatus):
2934 remove LFUN_INSET_GRAPHICS.
2936 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2938 2003-03-07 Angus Leeming <leeming@lyx.org>
2941 * LyXAction.C (init):
2942 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2944 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2947 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2949 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2950 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2952 2003-03-07 Angus Leeming <leeming@lyx.org>
2954 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2957 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2959 * ParagraphList.C (front): new function
2962 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2964 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2965 and top_row_offset_. removed var first_y.
2967 * text2.C (LyXText, removeRow):
2969 * BufferView_pimpl.C:
2970 use these methods instead of using first_y
2972 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2974 * text2.C (pasteSelection): adjust for checkPastePossible
2976 * CutAndPaste.C: remove Paragraph * buf and replace with
2977 ParagraphList paragraphs.
2978 (DeleteBuffer): delete
2979 (cutSelection): change the tc type to textclass_type
2980 (copySelection): change the tc type to textclass_type
2981 (copySelection): adjust for ParagraphList
2982 (pasteSelection): change the tc type to textclass_type
2983 (pasteSelection): adjust for Paragraphlist
2984 (nrOfParagraphs): simplify for ParagraphList
2985 (checkPastePossible): simplify for ParagraphList
2986 (checkPastePossible): remove unused arg
2988 * ParagraphList.C (insert): handle the case where there are no
2991 * CutAndPaste.h: make CutAndPaste a namespace.
2993 * text3.C (dispatch): adjust
2995 * text.C (breakParagraph): add a ParagraphList as arg
2997 * paragraph_funcs.C (breakParagraph): change to take a
2998 BufferParams and a ParagraphList as args.
2999 (breakParagraphConservative): ditto
3000 (mergeParagraph): ditto
3001 (TeXDeeper): add a ParagraphList arg
3002 (TeXEnvironment): ditto
3005 * buffer.C (readLyXformat2): adjust
3006 (insertStringAsLines): adjust
3007 (latexParagraphs): adjust
3009 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3010 (cutSelection): adjust
3011 (pasteSelection): adjust
3013 * BufferView_pimpl.C (insertInset): adjust
3015 2003-03-05 Angus Leeming <leeming@lyx.org>
3018 * LyXAction.C (init):
3019 * BufferView_pimpl.C (dispatch):
3020 * lyxfunc.C (getStatus):
3021 remove LFUN_CHILD_INSERT.
3023 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3025 2003-03-05 Angus Leeming <leeming@lyx.org>
3028 * LyXAction.C (init):
3029 * src/factory.C (createInset):
3030 * lyxfunc.C (getStatus):
3031 * text3.C (dispatch):
3032 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3034 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3036 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3038 * ParagraphList.C (insert): handle insert right before end()
3039 (erase): fix cases where it can be first or last paragraph.
3041 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3043 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3044 Paragraph::next and Paragraph::previous
3047 * text.C (breakParagraph): adjust
3049 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3050 BufferParams& as arg.
3051 (breakParagraph): use ParagraphList::insert
3052 (breakParagraphConservative): take a Buffer* instead of a
3053 BufferParams& as arg.
3054 (breakParagraphConservative): use ParagraphList::insert.
3056 * buffer.C (insertStringAsLines): un-const it
3057 (insertStringAsLines): adjust
3059 * ParagraphList.C (insert): new function
3061 * CutAndPaste.C (pasteSelection): adjust
3063 * text.C (backspace): adjust
3065 * tabular.C (SetMultiColumn): adjust
3067 * CutAndPaste.C (cutSelection): adjust
3068 (pasteSelection): adjust
3070 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3071 Buffer const * as arg
3073 * ParagraphList.C (erase): new function
3074 * paragraph_funcs.C (mergeParagraph): use it
3075 (mergeParagraph): make it take a Buffer* instead of a
3076 BufferParams* as arg
3078 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3080 (breakParagraphConservative): ditto
3082 * paragraph.h: remove the breakParagraph friend
3084 * paragraph.C (eraseIntern): new function
3085 (setChange): new function
3087 * paragraph_funcs.C (mergeParagraph): make it take a
3088 ParagraphList::iterator instead of a Paragraph *, adjust
3091 * paragraph.h: move an #endif so that the change tracking stuff
3092 also works in the NO_NEXT case.
3094 2003-03-04 Angus Leeming <leeming@lyx.org>
3097 * LyXAction.C: new LFUN_INSET_MODIFY.
3099 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3100 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3102 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3104 * several files: ws changes only
3106 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3107 (TeXEnvironment): ditto
3110 * buffer.C (makeLaTeXFile): adjust
3111 (latexParagraphs): make it take ParagraphList::iterator as args
3113 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3115 * buffer.C (latexParagraphs): adjust
3117 * paragraph.C (TeXOnePar): move function...
3118 (optArgInset): move function...
3119 (TeXEnvironment): move function...
3120 * paragraph_pimpl.C (TeXDeeper): move function...
3121 * paragraph_funcs.C: ...here
3123 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3125 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3127 * buffer.C (readInset): remove compability code for old Figure and
3130 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3132 * buffer.C: ws changes
3135 * BufferView_pimpl.C: ditto
3138 * bufferlist.h: ditto
3142 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3144 * converter.[Ch]: split into itself +
3147 * Makefile.am: += graph.[Ch] + format.[Ch]
3154 * lyxrc.C: added #include "format.h"
3156 2003-02-27 Angus Leeming <leeming@lyx.org>
3158 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3161 * factory.C (createInset): add "label" to the factory.
3163 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3164 string and do no more.
3166 2003-02-27 Angus Leeming <leeming@lyx.org>
3169 * LyXAction.C (init):
3170 * factory.C (createInset):
3171 * BufferView_pimpl.C (dispatch):
3172 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3174 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3176 * lyxfunc.C (dispatch):
3177 * text3.C (dispatch): pass name to params2string.
3179 2003-02-26 Angus Leeming <leeming@lyx.org>
3181 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3183 Rearrange the ~includes. Strip out the unnecessary ones.
3185 * factory.C (createInset): reformat.
3186 create new insets for the various LFUN_XYZ_APPLY lfuns.
3188 2003-02-26 John Levon <levon@movementarian.org>
3191 * lyxrow.C: add isParStart,isParEnd helpers
3193 * paragraph.h: make isInserted/DeletedText take refs
3195 * paragraph_funcs.h:
3196 * paragraph_funcs.C: remove #if 0'd code
3201 * text.C: use lyxrow helpers above.
3202 Move draw and paint routines to RowPainter.
3203 Make several methods use refs not pointers.
3204 Make backgroundColor() const.
3205 Add markChangeInDraw(), isInInset().
3206 Merge changeRegionCase into changeCase.
3207 Make workWidth() shouldn't-happen code into an Assert.
3210 * rowpainter.C: new class for painting a row.
3213 * vspace.C: make inPixels take a ref
3215 2003-02-26 Angus Leeming <leeming@lyx.org>
3217 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3220 2003-02-25 John Levon <levon@movementarian.org>
3222 * ispell.C: give the forked command a more accurate name
3224 2003-02-22 John Levon <levon@movementarian.org>
3227 * toc.C: make TocItem store an id not a Paragraph *
3230 2003-02-21 Angus Leeming <leeming@lyx.org>
3232 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3233 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3234 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3235 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3236 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3237 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3239 * BufferView_pimpl.C (dispatch):
3240 * LyXAction.C (init):
3241 * factory.C (createInset):
3242 * lyxfunc.C (getStatus, dispatch):
3243 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3245 2003-02-21 Angus Leeming <leeming@lyx.org>
3247 * BufferView_pimpl.C (MenuInsertLyXFile):
3248 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3249 * lyxfunc.C (menuNew, open, doImport):
3250 no longer pass a LyXView & to fileDlg.
3252 2003-02-21 Angus Leeming <leeming@lyx.org>
3254 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3255 * LyXAction.C: change, BIBKEY to BIBITEM.
3256 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3257 Change InsetBibKey to InsetBibitem.
3258 Change BIBKEY_CODE to BIBITEM_CODE.
3259 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3260 * factory.C: replace insetbib.h with insetbibitem.h.
3261 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3262 * paragraph.C: replace insetbib.h with insetbibitem.h.
3263 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3264 Change bibkey() to bibitem().
3265 * text.C: remove insetbib.h.
3266 * text2.C: replace insetbib.h with insetbibitem.h.
3267 change bibkey() to bibitem().
3268 * text3.C: remove insetbib.h.
3269 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3271 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3273 * lyxrc.C (output): enclose user email in quotes (in case there are
3276 2003-02-18 John Levon <levon@movementarian.org>
3278 * buffer.h: add std::
3280 2003-02-17 John Levon <levon@movementarian.org>
3286 * pspell.C: reworking. Especially in ispell, a large
3287 number of clean ups and bug fixes.
3289 * lyxfunc.C: fix revert to behave sensibly
3291 2003-02-17 André Pönitz <poenitz@gmx.net>
3294 * commandtags.h: new LFUN_INSERT_BIBKEY
3304 * paragraph_func.C: remove special bibkey handling
3306 2003-02-17 John Levon <levon@movementarian.org>
3308 * text.C (Delete): fix case where delete at the end of
3309 the very first paragraph would not merge the pars
3311 2003-02-17 John Levon <levon@movementarian.org>
3313 * lyxrow.C: fix lastPrintablePos()
3315 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3317 * bufferparams.C (writeLaTeX): add a std:here
3319 * buffer.C: and remove a using directive there
3321 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3323 * buffer.C (makeLaTeXFile): move the code that generates the
3326 * bufferparams.C (writeLaTeX): ... in this new method
3328 * LaTeXFeatures.C (getEncodingSet): make const
3329 (getLanguages): make const
3331 * MenuBackend.C (binding): returns the binding associated to this
3333 (add): sets the status of each item by calling getStatus. Adds
3335 (read): add support for OptSubMenu
3336 (expand): remove extra separator at the end of expanded menu
3338 2003-02-15 John Levon <levon@movementarian.org>
3341 * BufferView_pimpl.C:
3343 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3344 inset code that had no actual effect. Remove unneeded status
3347 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3349 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3352 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3354 * text.C (drawLengthMarker): also draw an arrow marker for
3355 symbolic lengths (medskip...)
3357 2003-02-14 John Levon <levon@movementarian.org>
3360 * tabular.C: better method names
3362 2003-02-14 John Levon <levon@movementarian.org>
3364 * BufferView_pimpl.C:
3369 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3370 it's a more accurate name. Remove some pointless uses.
3372 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3374 * text2.C (LyXText): change order of initilizers to shut off
3377 2003-02-14 John Levon <levon@movementarian.org>
3379 * buffer.C: use ParIterator for getParFromID()
3383 * paragraph_pimpl.h:
3384 * paragraph_pimpl.C: remove unused getParFromID()
3386 2003-02-14 John Levon <levon@movementarian.org>
3388 * buffer.C: remove some very old #if 0'd parse code
3390 2003-02-13 John Levon <levon@movementarian.org>
3394 * text2.C: move hfillExpansion(), numberOfSeparators(),
3395 rowLast(), rowLastPrintable(), numberofHfills(),
3396 numberOfLabelHfills() ...
3399 * lyxrow.C: ... to member functions here.
3404 * text.C: remove LyXText::beginningOfMainBody(), and call
3405 p->beginningOfMainBody() directly. Move the check for
3406 LABEL_MANUAL into the latter.
3413 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3419 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3420 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3422 2003-02-13 John Levon <levon@movementarian.org>
3424 * CutAndPaste.C: remove debug
3426 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3428 * paragraph.C (asString): remove two unused variables
3430 * lyxtextclass.C (readTitleType):
3432 (LyXTextClass): handle new members titletype_ and titlename_
3434 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3436 2003-02-09 John Levon <levon@movementarian.org>
3439 * buffer.C: replace hand-coded list with a map for the dep clean
3441 2003-02-08 John Levon <levon@movementarian.org>
3443 * LaTeX.C: consolidate code into showRunMessage() helper
3445 2003-02-08 John Levon <levon@movementarian.org>
3450 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3451 and pass the size in explicitly
3453 * BufferView_pimpl.h:
3454 * BufferView_pimpl.C:
3456 * BufferView.C: add getCurrentChange()
3458 * BufferView_pimpl.h:
3459 * BufferView_pimpl.C: handle change lfuns
3461 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3462 for changes. Mark pasted paragraphs as new.
3464 * support/lyxtime.h:
3465 * support/lyxtime.C:
3466 * DepTable.C: abstract time_t as lyx::time_type
3469 * LColor.C: add colours for new text, deleted text, changebars
3471 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3472 package use "usenames" option.
3476 * LyXAction.C: add change lfuns
3480 * author.C: author handling
3483 * buffer.C: add a per-buffer author list, with first entry as
3484 current author. Handle new .lyx tokens for change tracking. Output
3485 author list to .lyx file. Output dvipost stuff to .tex preamble.
3486 Bump lyx format to 222.
3489 * bufferlist.C: add setCurrentAuthor() to reset current author details
3493 * bufferparams.C: add param for tracking
3495 * bufferview_funcs.C: output change info in minibuffer
3499 * changes.C: add change-tracking structure
3502 * debug.C: add CHANGES debug flag
3505 * lyxfind.C: add code for finding the next change piece
3508 * lyxrc.C: add user_name and user_email
3511 * lyxrow.C: add a metric for the top of the text line
3514 * text.C: implement accept/rejectChange()
3517 * text.C: paint changebars. Paint new/deleted text in the chosen
3518 colours. Strike through deleted text.
3522 * paragraph_pimpl.h:
3523 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3524 in the current change to the insert functions. Rework erase to
3525 mark text as deleted, adding an eraseIntern() and a range-based
3526 erase(). Implement per-paragraph change lookup and
3529 * paragraph_funcs.C: Fixup paste for change tracking.
3531 * tabular.C: mark added row/columns as new.
3533 * text.C: fix rowLast() to never return -1. Don't allow
3534 spellchecking of deleted text. Track transpose changes. Don't
3535 allow paragraph break or merge where appropriate.
3537 * text2.C: leave cursor at end of selection after a cut.
3539 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3541 * text.C (getLengthMarkerHeight):
3542 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3543 visible on screen too.
3545 2003-02-07 John Levon <levon@movementarian.org>
3547 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3549 2003-02-05 Angus Leeming <leeming@lyx.org>
3551 * lyxserver.C (read_ready): revert my patch of 11 September last year
3552 as it sends PC cpu through the roof. Presumably this means that
3553 the lyxserver will no longer run on an Alpha...
3555 2003-01-30 Angus Leeming <leeming@lyx.org>
3557 * factory.C (createInset): create an InsetCommandParam of type "index"
3558 and use it to 'do the right thing'.
3560 * text2.C (getStringToIndex): ensure that cursor position is always
3561 reset to the reset_cursor position.
3563 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3565 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3568 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3572 * lyxfunc.C: Output messages with identical spelling, punctuation,
3575 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3577 * MenuBackend.C (expandFormats): List only viewable export formats
3580 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3583 * lyxfunc.C (getStatus): Make sure that formats other than
3584 "fax" can also be disabled
3586 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3588 * text3.C (dispatch): put the lfuns that insert insets in 3
3589 groups, and call doInsertInset with appropriate arguments.
3590 (doInsertInset): new function, that creates an inset and inserts
3591 it according to some boolean parameters.
3593 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3595 * buffer.C (readFile): remember to pass on 'par' when calling
3596 readFile recursively.
3598 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3600 * MenuBackend.C (expandFormats): add "..." to import formats.
3602 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3604 * paragraph.C (asString): Remove XForms RTL hacks.
3606 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3607 * buffer.C: fix typo
3609 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3611 * Makefile.am (LIBS): delete var
3612 (lyx_LDADD): add @LIBS@ here instead.
3614 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3616 * Clarify the meaning of "wheel mouse jump"
3618 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3620 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3623 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3625 * importer.C (Loaders): do not preallocate 3 elements in the
3626 vector, since one ends up with 6 elements otherwise
3628 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3630 * DepTable.C (write): write the file name as last element of the
3631 .dep file (because it may contain spaces)
3632 (read): read info in the right order
3634 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3636 * paragraph_pimpl.C (simpleTeXBlanks):
3637 (simpleTeXSpecialChars):
3638 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3640 * tabular.C (latex): add some missing case statements. Reindent.
3642 * MenuBackend.C (expandToc): remove unused variable.
3644 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3653 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3656 2003-01-05 John Levon <levon@movementarian.org>
3659 * BufferView.C: add getEncoding()
3662 * kbsequence.C: do not store last keypress
3665 * lyxfunc.C: store last keypress here instead. Pass encoding
3668 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3670 * lyx_main.C (init): remove annoying error message when following
3671 symbolic links (bug #780)
3673 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3675 * text.C (insertChar):
3676 * lyxrc.C (getDescription): remove extra spaces
3678 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3680 * lyxrc.C (getDescription): remove extra spaces
3682 2002-12-20 John Levon <levon@movementarian.org>
3684 * text3.C: hack fix for page up/down across tall rows
3686 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3688 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3691 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3693 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3694 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3695 thesaurus is not compiled in
3697 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3699 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3701 2002-12-16 Angus Leeming <leeming@lyx.org>
3704 * lyx_main.C (init): remove override_x_deadkeys stuff.
3706 2002-12-12 John Levon <levon@movementarian.org>
3708 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3709 insert. Only remove shift modifier under strict
3712 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3714 * MenuBackend.C (expandToc): fix crash.
3716 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3718 * MenuBackend.C (expandToc): gettext on float names.
3720 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3722 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3723 implement bool empty() [bug 490]
3725 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3727 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3729 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3731 * several files: ws changes
3733 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3735 * text2.C (setCounter): clean up a bit, use boost.format.
3736 (updateCounters): initialize par upon declaration.
3738 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3739 if the layout exists. We do not just store the layout any more.
3740 (SwitchLayoutsBetweenClasses): use boost.format
3742 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3744 * converter.C (convert): if from and to files are the same, use a
3745 temporary files as intermediary
3747 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3750 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3752 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3754 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3756 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3758 * tabular.C (asciiPrintCell): use string(size, char) instead of
3761 * sgml.C (openTag): fix order of arguments to string constructor
3764 * lyxfunc.C (dispatch): use boost.format
3766 * lots of files: change "c" -> 'c'
3768 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3770 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3772 2002-11-25 Angus Leeming <leeming@lyx.org>
3774 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3776 * lyx_main.C (init): compile fix.
3778 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3780 * lyx_cb.C (start): boost.formatify
3781 do not include <iostream>
3783 * lengthcommon.C: ws only
3785 * boost-inst.C,BoostFormat.h: add more explict instantations
3787 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3789 * lots of files: handle USE_BOOST_FORMAT
3791 2002-11-21 John Levon <levon@movementarian.org>
3793 * pspell.C: fix compile
3795 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3797 * lyxfunc.C (dispatch): use boost::format
3801 * lyxfont.C (stateText): use boost::format
3803 * lyx_main.C (LyX): use boost::format
3805 (queryUserLyXDir): ditto
3808 (typedef boost::function): use the recommened syntax.
3810 * importer.C (Import): use boost::format
3812 * debug.C (showLevel): use boost::format
3814 * converter.C (view): use boost::format
3819 * bufferview_funcs.C (currentState): use boost::format
3821 * bufferlist.C (emergencyWrite): use boost::format
3823 * buffer.C (readLyXformat2): use boost::format
3824 (parseSingleLyXformat2Token): ditto
3826 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3828 * LaTeX.C (run): use boost::format
3830 * Chktex.C (scanLogFile): use boost::format
3832 * BufferView_pimpl.C (savePosition): use boost::format
3833 (restorePosition): ditto
3834 (MenuInsertLyXFile): ditto
3836 * BoostFormat.h: help file for explicit instation.
3838 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3840 * tabular.C (latex): Support for block alignment in fixed width
3843 2002-11-17 John Levon <levon@movementarian.org>
3845 * BufferView_pimpl.C:
3847 * lyxfunc.C: split filedialog into open/save
3849 2002-11-08 Juergen Vigna <jug@sad.it>
3851 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3852 by my last patch (hopefully).
3854 2002-11-08 John Levon <levon@movementarian.org>
3863 * toc.C: ParConstIterator, and use it (from Lars)
3865 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3867 * lyxtextclass.[Ch]: revise and add doxygen comments
3869 2002-11-07 John Levon <levon@movementarian.org>
3871 * text.C: fix progress value for spellchecker
3873 * toc.C: fix navigate menu for insetwrap inside minipage
3875 * paragraph_funcs.C: added FIXME for suspect code
3877 2002-11-07 John Levon <levon@movementarian.org>
3879 * BufferView_pimpl.C: fix redrawing of insets
3882 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3884 * text2.C (updateCounters): fix bug 668
3886 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3888 * text3.C (dispatch): Do not make the buffer dirty when moving the
3891 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3893 * vc-backend.C: STRCONV
3896 * text2.C (setCounter): STRCONV
3898 * paragraph.C (asString): STRCONV
3900 * lyxlength.C (asString): STRCONV
3901 (asLatexString): ditto
3903 * lyxgluelength.C (asString): STRCONV
3904 (asLatexString): ditto
3906 * lyxfunc.C (dispatch): STRCONV
3909 * lyxfont.C (stateText): STRCONV
3911 * importer.C (Import): STRCONV
3913 * counters.C (labelItem): STRCONV
3914 (numberLabel): ditto
3915 (numberLabel): remove unused ostringstream o
3920 * bufferview_funcs.C (currentState): STRCONV
3922 * buffer.C (readFile): STRCONV
3923 (asciiParagraph): ditto
3924 (makeLaTeXFile): ditto
3926 * Spacing.C (writeEnvirBegin): STRCONV
3928 * LaTeXFeatures.C (getLanguages): STRCONV
3929 (getPackages): ditto
3931 (getBabelOptions): ditto
3932 (getTClassPreamble): ditto
3933 (getLyXSGMLEntities): ditto
3934 (getIncludedFiles): ditto
3938 (scanAuxFile): ditto
3941 * LString.h: add the STRCONV macros
3943 * BufferView_pimpl.C (savePosition): STRCONV
3944 (restorePosition): ditto
3945 (MenuInsertLyXFile): ditto
3947 * vc-backend.C (scanMaster): change from submatch[...] to
3950 * funcrequest.C: include config.h
3952 * factory.C: include config.h
3954 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3956 * box.C: include config.h
3958 * LaTeX.C (scanAuxFile): change from submatch[...] to
3962 2002-10-25 Angus Leeming <leeming@lyx.org>
3964 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3966 * ispell.[Ch] (setError): new method.
3967 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3968 Use setError() insetead of goto END.
3970 * lyx_cb.C (AutoSave): move out child process into new class
3973 2002-10-30 John Levon <levon@movementarian.org>
3975 * text3.C: make start appendix undoable
3977 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3979 * lyxlength.C (inPixels): Fix returned value.
3981 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3984 2002-10-24 Angus Leeming <leeming@lyx.org>
3986 * lyxgluelength.h: no need to forward declare BufferParams
3987 or BufferView, so don't.
3989 2002-10-21 John Levon <levon@movementarian.org>
3991 * BufferView.C: menuUndo ->undo, redo
3993 * BufferView.h: document, remove dead, make some methods private
3995 * paragraph_funcs.h:
3996 * paragraph_funcs.C:
3997 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4002 * sgml.C: move sgml open/close tag into sgml.C
4004 * bufferview_funcs.h: unused prototype
4007 * lyxfunc.C: remove unused
4010 * text.C: remove unused
4012 2002-10-21 John Levon <levon@movementarian.org>
4016 * BufferView_pimpl.h:
4017 * BufferView_pimpl.C: fix mouse wheel handling based on
4018 patch from Darren Freeman
4020 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4022 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4024 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4026 * lyxlength.C (inPixels): Fix hanfling of negative length.
4027 Fix LyXLength::MU case.
4029 2002-10-16 John Levon <levon@movementarian.org>
4031 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4033 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4035 * converter.C (view): add support for $$i (file name) and $$p
4036 (file path) for the viewer command. If $$i is not specified, then
4037 it is appended to the command (for compatibility with old syntax)
4039 2002-10-14 Juergen Vigna <jug@sad.it>
4041 * undo_funcs.C (textHandleUndo): alter the order in which the
4042 new undopar is added to the LyXText, as we have to set first
4043 the right prev/next and then add it as otherwise the rebuild of
4044 LyXText is not correct. Also reset the cursor to the right paragraph,
4045 with this IMO we could remove the hack in "redoParagraphs()".
4047 2002-10-09 Angus Leeming <leeming@lyx.org>
4049 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4050 to turn off an optimisation if a new inset is to be inserted.
4052 2002-10-11 André Pönitz <poenitz@gmx.net>
4054 * lyxtext.h: make some functions public to allow access
4055 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4057 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4059 * text3.C (dispatch): when changing layout, avoid an infinite loop
4062 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4064 * lyxrc.C (read): treat a viewer or converter command of "none" as
4067 * MenuBackend.C (expandFormats): for an update, also allow the
4068 formats that are not viewable
4070 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4071 script if it is newer than the lyxrc.defaults in user directory
4073 2002-10-07 André Pönitz <poenitz@gmx.net>
4075 * text.C: Vitaly Lipatov's small i18n fix
4077 2002-09-25 Angus Leeming <leeming@lyx.org>
4079 * ispell.h: doxygen fix.
4081 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4083 * buffer.h (readFile): Add a new argument to the method, to allow
4084 reading of old-format templates.
4086 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4088 * toc.C (getTocList): Get TOC from InsetWrap.
4090 2002-09-16 John Levon <levon@movementarian.org>
4092 * lyxfunc.C: check tabular for cut/copy too
4094 2002-09-12 John Levon <levon@movementarian.org>
4099 * factory.C: add header
4101 * paragraph_funcs.h:
4102 * paragraph_funcs.C: cleanup
4104 2002-09-11 John Levon <levon@movementarian.org>
4106 * PrinterParams.h: odd/even default to true
4108 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4110 * PrinterParams.h: update printer parameters for new xforms dialog
4112 2002-09-11 Angus Leeming <leeming@lyx.org>
4114 * lyxserver.C (read_ready): re-write to make it more transparent
4115 and to make it work in coherent fashion under Tru64 Unix.
4117 2002-09-11 André Pönitz <poenitz@gmx.net>
4121 * text3.C: implement LFUN_WORDSEL
4123 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4125 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4126 make floatlist_ a boost::shared_ptr<FloatList>
4128 * lyxtextclass.C: include FloatList.h
4129 (LyXTextClass): initialize floatlist_
4130 (TextClassTags): add TC_NOFLOAT
4131 (Read): match "nofloat" to TC_NOFLOAT and use it.
4132 (readFloat): modify call to floatlist_
4136 * FloatList.[Ch] (FloatList): remove commented out float
4138 (erase): new function
4140 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4142 * MenuBackend.C (expandToc): fix crash when there is no document
4145 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4147 * many files: Add insetwrap.
4149 2002-09-09 John Levon <levon@movementarian.org>
4151 * text2.C: remove confusing and awkward depth wraparound
4153 2002-09-09 John Levon <levon@movementarian.org>
4155 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4158 * buffer.C: remove getIncludeonlyList()
4161 * lyxfunc.C: remove headers
4163 2002-09-09 Juergen Vigna <jug@sad.it>
4165 * text.C (getColumnNearX): fix form Michael this is most
4166 probably a cut&paste bug.
4168 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4170 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4172 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4173 references, ws changes.
4175 * text2.C (init): update counters after init
4176 (insertParagraph): no need to set counter on idividual paragraphs.
4177 (setCounter): access the counters object in the textclass object
4178 on in the buffer object.
4179 (updateCounters): ditto
4181 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4182 shared_ptr<Counters> to avoid loading counters.h in all
4184 (LyXTextClass): initialize ctrs_
4185 (TextClassTags): add TC_COUNTER, and ...
4186 (Read): use it here.
4187 (CounterTags): new tags
4188 (readCounter): new function
4189 (counters): new funtion
4190 (defaultLayoutName): return a const reference
4192 * counters.C (Counters): remove contructor
4193 (newCounter): remove a couple of unneeded statements.
4194 (newCounter): simplify a bit.
4195 (numberLabel): some small formatting changes.
4197 * buffer.[Ch]: remove all traces of counters, move the Counters
4198 object to the LyXTextClass.
4200 2002-09-06 Alain Castera <castera@in2p3.fr>
4202 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4203 package to set the horizontal alignment on fixed width columns.
4206 * lyx_sty.h: added tabularnewline macro def.
4208 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4210 2002-09-06 John Levon <levon@movementarian.org>
4212 * LyXAction.C: tooltips for sub/superscript
4214 * MenuBackend.C: a bit more verbose
4216 * lyxfunc.C: tiny clean
4218 * undo_funcs.C: document undo_frozen
4220 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4222 * counters.C (Counters): add missing algorithm counter.
4224 * text2.C (setCounter): lookup the counter with layouts latexname
4225 instead of by section number.
4226 (setCounter): use a hackish way to lookup the correct enum
4228 a float name->type change
4229 reset enum couners with counter name directly instead of depth value.
4231 * counters.C (Counters): remove the push_backs, change to use the
4232 float type not the float name.
4233 (labelItem): remove unused string, float name->type change
4235 * counters.h: don't include vector, loose the enums and sects vectors
4237 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4239 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4240 (Read): add float->TC_FLOAT to textclassTags
4241 (Read): and handle it in the switch
4242 (readFloat): new function
4244 * FloatList.C (FloatList): comment out the hardcoded float
4247 * lyxlayout.h: ws change.
4249 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4251 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4253 2002-09-03 Angus Leeming <leeming@lyx.org>
4255 * BufferView_pimpl.h: qualified name is not allowed in member
4256 declaration: WorkArea & Pimpl::workarea() const;
4258 * factory.C: added using std::endl directive.
4260 * text3.C: added using std::find and std::vector directives.
4262 2002-08-29 André Pönitz <poenitz@gmx.net>
4265 * text2.C: remove unused member number_of_rows
4268 * BufferView2.C: remove file, move contents to...
4269 * BufferView.C: ... here
4271 * BufferView_pimpl.C:
4272 * factory.C: move more inset creation to factory
4274 * vspace.C: avoid direct usage of LyXText, ws changes
4277 don't provide direct access to WorkArea, use two simple
4278 acessors haveSelction() and workHeight() instead
4281 2002-08-29 John Levon <levon@movementarian.org>
4283 * BufferView_pimpl.C (dispatch): do not continue when
4286 2002-08-28 André Pönitz <poenitz@gmx.net>
4288 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4291 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4293 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4295 * buffer.C: increment LYX_FORMAT to 221
4297 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4298 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4300 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4302 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4304 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4306 * factory.C (createInset): use LyXTextClass::floats
4308 * MenuBackend.C (expandFloatListInsert):
4309 (expandFloatInsert):
4312 * text2.C (setCounter):
4314 * LaTeXFeatures.C (useFloat):
4315 (getFloatDefinitions):
4317 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4319 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4320 floatlist_, with accessor floats().
4322 * FloatList.h: remove global FloatList
4324 2002-08-26 André Pönitz <poenitz@gmx.net>
4326 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4330 * BufferView_pimpl.C:
4331 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4333 2002-08-25 John Levon <levon@movementarian.org>
4335 * LyXAction.C: fix margin note description
4337 2002-08-24 John Levon <levon@movementarian.org>
4341 * bufferview_funcs.C:
4343 * undo_funcs.C: cleanups
4345 * lyxfunc.C: disable CUT/COPY when no selection
4347 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4349 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4350 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4352 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4353 Add backward compatibility to "mono", "gray" and "no".
4355 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4357 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4358 (and file_format >= 200).
4360 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4362 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4364 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4366 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4368 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4370 * BufferView_pimpl.C:
4377 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4378 inset and code to make it work with the paragraph code. The inset
4379 can be anywhere in the paragraph, but will only do the expected
4380 thing in LaTeX if the layout file contains the parameter line
4382 (or more generally, a nonzero value) for that layout.
4384 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4386 * paragraph.h: remove the declaration of undefined counters class
4389 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4391 * text2.C (setCounter): fixed enumeration mis-count as reported by
4392 Dr. Richard Hawkins.
4394 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4396 * paragraph_funcs.h: remove some unneeded includes
4398 * text.C (backspace): pasteParagraph now in global scipe
4400 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4401 (pasteSelection): ditto
4403 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4404 * paragraph_funcs.C (pasteParagraph): ... here
4406 2002-08-20 André Pönitz <poenitz@gmx.net>
4408 * commandtags.h: new LFUNs for swapping/copying table row/colums
4411 * lyxfunc.C: support for new lfuns
4413 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4416 * buffer.[Ch]: remove NO_COMPABILITY stuff
4418 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4420 * boost.C (throw_exception): new file, with helper function for
4421 boost compiled without exceptions.
4426 * ParameterStruct.h:
4427 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4429 * bufferlist.C (emergencyWriteAll): use boost bind
4431 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4433 * text.C: include paragraph_funcs.h
4434 (breakParagraph): breakParagraph is now in global scope
4436 * paragraph_funcs.[Ch]: new files
4438 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4441 * buffer.C: include paragraph_funcs.h
4442 (insertStringAsLines): breakParagraph is now in global scope
4444 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4447 * CutAndPaste.C: include paragraph_funcs.h
4448 (cutSelection): breakParagraphConservative is now in global scope
4449 (pasteSelection): ditto
4451 * buffer.h: declare oprator== and operator!= for
4452 Buffer::inset_iterator
4454 * bufferlist.C (emergencyWrite): don't use fmt(...)
4456 * text3.C: add using std::endl
4458 * BufferView.C (moveCursorUpdate): remove default arg
4460 2002-08-20 André Pönitz <poenitz@gmx.net>
4462 * buffer.[Ch]: move inline functions to .C
4465 * BufferView_pimpl.C:
4467 * buffer.[Ch]: use improved inset_iterator
4470 * paragraph.[Ch]: write one paragraph at a time
4472 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4474 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4475 style if style is not specified.
4477 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4479 * text2.C (setCounter): when searching for right label for a
4480 caption, make sure to recurse to parent insets (so that a caption
4481 in a minipage in a figure float works) (bug #568)
4483 2002-08-20 André Pönitz <poenitz@gmx.net>
4485 * text3.C: new file for LyXText::dispatch() and helpers
4487 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4489 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4491 2002-08-19 André Pönitz <poenitz@gmx.net>
4494 * text.C: new LyXText::dispatch()
4496 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4498 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4500 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4502 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4505 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4507 * Makefile.am: use $(variables) instead of @substitutions@
4509 2002-08-15 André Pönitz <poenitz@gmx.net>
4512 * BufferView_pimpl.C: streamlining mathed <-> outer world
4516 * LyXAction.C: remove unused LFUN_MATH
4518 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4520 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4522 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4524 * paragraph.C (Paragraph): reformat a bit
4525 (cutIntoMinibuffer): use builtin InsetList function instad of
4529 * buffer.C: include boost/bind.hpp, add using std::for_each
4530 (writeFileAscii): use ParagraphList iterators
4531 (validate): use for_each for validate traversal of paragraphs
4532 (getBibkeyList): use ParagraphList iterators
4533 (resizeInsets): use for_each to resizeInsetsLyXText for all
4535 (getParFromID): use ParagraphList iterators
4537 * BufferView2.C (lockInset): use paragraph list and iterators
4539 2002-08-14 John Levon <levon@movementarian.org>
4541 * lyxserver.C: remove spurious xforms include
4543 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4545 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4547 2002-08-13 André Pönitz <poenitz@gmx.net>
4550 * lyxfunc.C: further cleaning
4552 2002-08-13 André Pönitz <poenitz@gmx.net>
4554 * funcrequest.h: new constructor
4556 * funcrequest.C: move stuff here from .h
4559 * BufferView_pimpl.C:
4562 * lyxfunc.C: subsequent changes
4564 * lyxfunc.h: new view() member function
4566 * lyxfunc.C: subsequent changes
4568 2002-08-13 Angus Leeming <leeming@lyx.org>
4571 * BufferView_pimpl.C:
4579 changes due to the changed LyXView interface that now returns references
4580 to member variables not pointers.
4582 2002-08-13 Angus Leeming <leeming@lyx.org>
4584 * WordLangTuple (word, lang_code): return references to strings,
4589 * lyxtext.h: forward-declare WordLangTuple.
4594 * text.C: #include "WordLangTuple.h".
4597 * text.C: (selectNextWordToSpellcheck): constify return type.
4599 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4605 * paragraph_pimpl.h:
4608 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4610 Made updateCounter always count from start of buffer, and removed
4611 second argument (par).
4612 Reverted floats number display to '#'. Perhaps I'll try again when the
4613 code base is sanitized a bit.
4615 2002-08-12 Angus Leeming <leeming@lyx.org>
4617 * buffer.[Ch] (getLabelList): constify.
4619 2002-08-07 André Pönitz <poenitz@gmx.net>
4621 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4623 * funcrequest.h: extension to keep mouse (x,y) position
4625 2002-08-12 Juergen Vigna <jug@sad.it>
4627 * BufferView2.C (insertErrors): forbid undo when inserting error
4630 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4632 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4634 * ParagraphList.[Ch]: new files
4636 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4638 * BufferView2.C (lockInset): ParagraphList changes
4641 * bufferlist.C: ditto
4645 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4647 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4648 unused class variable counter_,
4650 * paragraph.[Ch] (getFirstCounter): delete unused function
4652 * counters.C: include LAssert.h
4653 (reset): add a new function with no arg, change other version to
4654 not have def. arg and to not allow empty arg.
4656 * text2.C (setCounter): remove empty arg from call to Counters::reset
4658 2002-08-11 John Levon <levon@movementarian.org>
4660 * Makefile.am: add WordLangTuple.h
4662 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4664 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4665 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4667 * insets/insettext.C: InsetList changes
4669 * graphics/GraphicsSupport.C (operator()): InsetList changes
4671 * toc.C (getTocList): InsetList changes
4673 * paragraph_pimpl.[Ch]: InsetList changes
4675 * paragraph.[Ch]: InsetList changes
4677 * buffer.C (inset_iterator): InsetList changes
4678 (setParagraph): ditto
4679 * buffer.h (inset_iterator): ditto
4680 * iterators.C (operator++): ditto
4681 * iterators.h: ditto
4683 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4685 * InsetList.[Ch]: new files, most InsetList handling moved out of
4688 * BufferView2.C (removeAutoInsets): InsetList changes
4690 (ChangeInsets): ditto
4692 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4694 * paragraph_pimpl.h (empty): new function
4696 * paragraph.[Ch] (empty): new function
4698 * other files: use the new Paragraph::empty function
4700 2002-08-09 John Levon <levon@movementarian.org>
4702 * lyxtext.h: remove unused refresh_height
4704 2002-08-09 John Levon <levon@movementarian.org>
4711 * paragraph.C: move sgml char escaping out of paragraph
4714 * paragraph.C: remove id setter
4718 * paragraph_pimpl.C: remove dead tex_code_break_column
4720 * bufferview_funcs.C: small cleanup
4722 * lyxfunc.C: remove dead proto
4724 * lyxtext.h: make some stuff private. Remove some dead stuff.
4726 * lyxgluelength.C: make as[LyX]String() readable
4728 2002-08-08 John Levon <levon@movementarian.org>
4733 * ToolbarDefaults.C:
4736 * toc.C: lyxaction cleanup
4738 2002-08-08 John Levon <levon@movementarian.org>
4740 * BufferView2.C: small cleanup
4743 * lyxfind.C: move unnecessary header into the .C
4745 2002-08-08 John Levon <levon@movementarian.org>
4747 * funcrequest.h: just tedious nonsense
4750 * lyx_main.C: cleanups
4753 * vspace.C: remove dead header lyx_main.h
4755 2002-08-07 Angus Leeming <leeming@lyx.org>
4758 * paragraph_pimpl.h:
4759 Forward declare class Counters in paragraph.h by moving the ctrs member
4760 variable into Paragraph::Pimpl.
4761 (counters): new method, returning a reference to pimpl_->ctrs.
4763 * text2.C: ensuing changes.
4765 2002-08-07 John Levon <levon@movementarian.org>
4767 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4769 * BufferView_pimpl.C: announce X selection on double/triple
4772 * lyx_main.C: use correct bool in batch dispatch
4774 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4776 2002-08-07 André Pönitz <poenitz@gmx.net>
4778 * funcrequest.h: new class to wrap a kb_action and its argument
4781 * BufferView_pimpl[Ch]:
4785 * lyxrc.C: subsequent changes
4788 2002-08-07 John Levon <levon@movementarian.org>
4790 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4791 document options change.
4793 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4798 * makefile.am: move counters functionality over from
4799 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4801 2002-08-06 John Levon <levon@movementarian.org>
4803 * WordLangTuple.h: new file for word + language code tuple
4814 * BufferView2.C: use WordLangTuple
4817 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4819 2002-08-06 John Levon <levon@movementarian.org>
4821 * lyx_main.C: fix cmdline batch handling
4823 2002-08-06 André Pönitz <poenitz@gmx.net>
4825 * lyxrc.C: set default for show_banner to true
4827 2002-08-06 John Levon <levon@movementarian.org>
4829 * pspell.C: fix a crash, and allow new aspell to work
4831 2002-08-06 John Levon <levon@movementarian.org>
4834 * kbmap.C: small cleanup
4837 * vspace.C: add const
4839 2002-08-05 John Levon <levon@movementarian.org>
4841 * LyXAction.C: back to tabular-insert
4843 2002-08-04 John Levon <levon@movementarian.org>
4846 * BufferView.C: cosmetic change
4848 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4858 * BufferView2.C: purge all "Lyx" not "LyX" strings
4861 * lyxcursor.C: attempt to add some documentation
4866 * ToolbarDefaults.C:
4867 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4868 merge with LFUN_TABULAR_INSERT
4875 * pspell.C: split up i/pspell implementations into separate
4876 files, many cleanups
4878 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4880 * text2.C: some cleanup
4882 * lyxfunc.C: don't check for isp_command == "none" any more, it
4883 didn't make any sense
4885 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4890 * makefile.am: move counters functionality over
4891 from text2.C/paragraph.[Ch] to counters.[Ch], and
4893 2002-08-02 John Levon <levon@movementarian.org>
4895 * buffer.C: s/lyxconvert/lyx2lyx/
4897 2002-08-02 Angus Leeming <leeming@lyx.org>
4899 * lyxlex.C: revert John's change as it breaks reading of the user
4902 2002-08-02 Angus Leeming <leeming@lyx.org>
4904 * importer.C (Import):
4905 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4906 changes due to LyXView::view() now returning a boost::shared_ptr.
4908 2002-08-02 John Levon <levon@movementarian.org>
4910 * lyxlex.C: small cleanup
4912 2002-08-02 John Levon <levon@movementarian.org>
4914 * text2.C (status): small cleanup, no logic change
4916 2002-08-01 John Levon <levon@movementarian.org>
4919 * buffer.C (writeFile): don't output alerts, caller
4923 * lyx_cb.C: from above
4925 * lyxfunc.C: allow to open non-existent files
4927 2002-07-31 John Levon <levon@movementarian.org>
4929 * lyxserver.C: don't let incidental errors get
4932 2002-07-30 John Levon <levon@movementarian.org>
4934 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4936 2002-07-30 John Levon <levon@movementarian.org>
4939 * lyxserver.C: remove I/O callback too
4941 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4943 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4946 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4948 * many files: strip,frontStrip -> trim,ltrim,rtrim
4950 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4952 * PrinterParams.h: remove extern containsOnly, and include
4953 support/lstrings.h instead.
4955 * LaTeX.C (scanAuxFile): modify because of strip changes
4957 * buffer.C (makeLaTeXFile): ditto
4958 * bufferparams.C (writeFile): ditt
4959 * lyxfont.C (stateText): ditto
4960 * lyxserver.C (read_ready): ditto
4961 * vc-backend.C (scanMaster): ditto
4963 * BufferView_pimpl.h: ws changes
4965 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4967 2002-07-26 André Pönitz <poenitz@gmx.net>
4969 * kb_sequence.C: remove unnedred usings
4971 2002-07-26 Juergen Vigna <jug@sad.it>
4973 * lyxfind.C (LyXReplace): we have to check better if the returned
4974 text is not of theLockingInset()->getLockingInset().
4976 2002-07-25 Juergen Vigna <jug@sad.it>
4978 * lyxfind.C (LyXReplace): don't replace if we don't get the
4981 * undo_funcs.C (createUndo): remove debugging code.
4983 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4985 * buffer.C (parseSingleLyXformat2Token): Use default placement
4986 when reading old floats.
4988 * FloatList.C (FloatList): Change the default placement of figure
4989 and tables to "tbp".
4991 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4993 * MenuBackend.C: using std::max
4995 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4997 * MenuBackend.C (expandToc):
4998 (expandToc2): code moved from xforms menu frontend. It is now
4999 generic and TOCs are transparent to menu frontends.
5001 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5003 * toc.C (getTocList): protect against buf=0
5005 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5006 Menu as first parameter. Now, this calls itself recursively to
5007 expand a whole tree (this will be useful for TOC handling)
5008 (expandFloatInsert): remove 'wide' version of floats
5010 * MenuBackend.h (submenuname): returns the name of the submenu.
5011 (submenu): returns the submenu itself, provided it has been
5012 created by MenuBackend::expand
5014 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5016 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5017 insets which have noFontChange == true. (bug #172)
5019 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5021 * BufferView_pimpl.C: add connection objects and use them...
5024 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5026 * MenuBackend.C (expandLastfiles):
5029 (expandFloatListInsert):
5030 (expandFloatInsert):
5031 (expand): split expand in parts
5033 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5035 * lyx_gui.C: use lyx_gui::exit()
5037 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5039 * LyXAction.C: show the failing pseudo action
5041 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5043 * buffer.C (readFile): Run the lyxconvert script in order to read
5046 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5050 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5052 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5056 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5058 2002-07-22 Herbert Voss <voss@lyx.org>
5061 * lyxlength.[Ch]: add support for the vertical lengths
5063 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5065 * toc.[Ch]: std:: fixes
5067 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5069 * lyxrc.C: do not include lyx_main.h
5071 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5077 * BufferView2.C: include "lyxlex.h"
5080 * bufferparams.h: do not #include "lyxlex.h"
5082 * lyxtextclasslist.C (Add): remove method
5083 (classlist): renamed to classlist_
5085 * paragraph_pimpl.C:
5089 * bufferview_funcs.C:
5094 * toc.C (getTocList): use BufferParams::getLyXTextClass
5096 * toc.C (getTocList): use InsetFloat::addToToc
5098 * toc.[Ch]: new files, containing helper functions to handle table
5101 * lyxfunc.C (dispatch): no need to remove spaces around command
5103 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5104 first command of the sequence; it is not very clever, but I do not
5105 have a better idea, actually
5107 * LyXAction.C (LookupFunc): make sure to remove space at the
5108 beginning and end of the command
5110 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5112 * MenuBackend.C (getMenubar): new method: return the menubar of
5114 (read): treat differently reading of menu and menubar (in
5115 particular, the menubar has no name now)
5116 (Menu::menubar): remove
5118 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5121 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5123 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5124 a bibitem inset in a RTL paragraph.
5126 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5128 * paragraph_pimpl.C: constify
5130 * BufferView_pimpl.C:
5132 * lyxfunc.C: fix dispatch in a nicer way
5134 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5136 * lyxfunc.C (dispatch):
5137 * BufferView_pimpl.C:
5138 * BufferView_pimpl.h:
5140 * BufferView.h: rename Dispatch() to dispatch()
5142 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5144 * lyxlayout.C (Read): honor DependsOn tag
5146 * lyxlayout.[Ch] (depends_on): new method
5148 * version.C.in: update lyx_docversion
5150 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5152 * paragraph.C (validate): remove from here...
5153 * paragraph_pimpl.C (validate): ... and move here
5154 (isTextAt): make it const
5156 * buffer.C (getLists): ws cleanup
5158 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5160 * language.C (read): Use iso8859-1 encoding in latex_lang
5161 (this prevents LyX from crashing when using iso10646-1 encoding).
5163 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5165 * text2.C (toggleInset): if cursor is inside an inset, close the
5166 inset and leave cursor _after_ it
5168 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5170 * lyxfunc.C: move minibuffer completion handling out of here
5172 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5174 * BufferView_pimpl.C:
5175 * LaTeX.C: fix dispatch calls
5177 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5179 * text.C (drawChars): Fix Arabic text rendering.
5181 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5185 * lyxfunc.C: remove message-push/pop
5189 * lyxfunc.C: rationalise some code by removing verboseDispatch
5190 in favour of a bool argument to dispatch()
5192 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5194 * lyx_main.C (init): make sure to read symlinks as absolute paths
5196 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5199 * lyxfunc.C: no need for commandshortcut to be a member
5201 2002-07-15 André Pönitz <poenitz@gmx.net>
5203 * converter.C: add support for $$s (scripts from lib/scripts dir)
5204 * lyx_main.C: white space
5206 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5210 * lyxrc.C: remove second exit confirmation
5212 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5217 * BufferView_pimpl.h:
5218 * BufferView_pimpl.C:
5219 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5221 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5223 * MenuBackend.C (expand): add numeric shortcuts to document menu
5225 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5227 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5229 * lyxfont.C (setLyXFamily):
5236 * buffer.C (asciiParagraph): use ascii_lowercase
5238 2002-07-15 Mike Fabian <mfabian@suse.de>
5240 * lyxlex_pimpl.C (search_kw):
5241 * lyxlex.C (getLongString):
5242 * converter.h (operator<):
5243 * converter.C (operator<):
5244 * buffer.C (parseSingleLyXformat2Token):
5246 * ToolbarDefaults.C (read):
5247 * MenuBackend.C (checkShortcuts):
5249 * LColor.C (getFromGUIName):
5250 (getFromLyXName): use the compare_ascii_no_case instead of
5251 compare_no_case, because in turkish, 'i' is not the lowercase
5252 version of 'I', and thus turkish locale breaks parsing of tags.
5254 2002-07-16 Angus Leeming <leeming@lyx.org>
5256 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5257 now takes a Buffer const & argument.
5259 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5261 * BufferView.C (resize): check there's a buffer to resize
5263 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5265 * lyxfunc.C: remove dead code
5268 * lyxserver.C: use lyx_guii::set_read_callback
5270 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5272 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5273 an inset in a RTL paragraph.
5275 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5277 * lyxfunc.C: repaint after a font size update
5279 2002-07-15 André Pönitz <poenitz@gmx.net>
5281 * lyxlength.C: inBP should be able to return negative values
5283 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5285 * lyxfunc.C: use lyx_gui::update_fonts()
5287 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5289 * lyxfunc.C: use lyx_gui::update_color()
5291 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5297 * lyxrc.C: remove file->new asks for name option, and let
5298 buffer-new take an argument
5300 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5302 * BufferView_pimpl.C: remove unneeded extra repaint()
5304 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5306 * LyXAction.C: allow command-sequence with NoBuffer
5308 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5310 2002-07-10 Angus Leeming <leeming@lyx.org>
5312 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5314 2002-07-09 Angus Leeming <leeming@lyx.org>
5316 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5318 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5320 * lengthcommon.h: whitespace
5322 * lyxfunc.C: update scrollbar after goto paragraph
5324 * lyxtext.h: factor out page break drawing, and fix it so
5325 page break/added space paints as selected nicely
5327 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5329 * BufferView_pimpl.C: add FIXMEs, clean up a little
5331 2002-07-09 André Pönitz <poenitz@gmx.net>
5333 * lyxfont.[Ch]: support for wasy symbols
5335 2002-07-08 André Pönitz <poenitz@gmx.net>
5337 * BufferView_pimpl.C: apply John's patch for #93.
5339 2002-07-05 Angus Leeming <leeming@lyx.org>
5341 * BufferView_pimpl.C (buffer): generate previews if desired.
5343 * LColor.h: add "preview" to the color enum.
5345 * LColor.C (LColor): add a corresponding entry to the items array.
5347 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5350 2002-07-05 Angus Leeming <leeming@lyx.org>
5352 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5353 The body of the code is now in the method that is passed an ostream &
5354 rather than a file name.
5355 Pass an additional only_preamble parameter, useful for the forthcoming
5358 2002-07-03 André Pönitz <poenitz@gmx.net>
5360 * lyxfunc.C: simplify getStatus() a bit for math stuff
5362 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5364 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5366 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5368 * text.C (changeRegionCase): do not change case of all the
5369 document when region ends at paragraph end (bug #461)
5371 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5373 * paragraph.C (startTeXParParams):
5374 (endTeXParParams): add \protect when necessary
5376 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5378 * BufferView_pimpl.C (workAreaExpose): remove warning
5380 2002-06-27 Angus Leeming <leeming@lyx.org>
5382 * Makefile.am: add lyxlayout_ptr_fwd.h.
5384 2002-06-26 André Pönitz <poenitz@gmx.net>
5386 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5388 2002-06-25 Angus Leeming <leeming@lyx.org>
5390 * lyxfunc.C (dispatch): Comment out the call to
5391 grfx::GCache::changeDisplay. The method no longer exists now that the
5392 pixmap generation part of the graphics loader has been moved into
5395 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5397 * text2.C: layout as layout
5399 * text.C: layout as layout
5401 * tabular.C (OldFormatRead): layout as layout
5403 * paragraph_pimpl.C (TeXDeeper): layout as layout
5404 (realizeFont): layout as layout
5406 * paragraph.C (writeFile): layout as layout
5407 (validate): layout as layout
5408 (getFont): layout as layout
5409 (getLabelFont): layout as layout
5410 (getLayoutFont): layout as layout
5411 (breakParagraph): layout as layout
5412 (stripLeadingSpaces): layout as layout
5413 (getEndLabel): layout as layout
5414 (getMaxDepthAfter): layout as layout
5415 (applyLayout): layout as layout
5416 (TeXOnePar): layout as layout
5417 (simpleTeXOnePar): layout as layout
5418 (TeXEnvironment): layout as layout
5419 (layout): layout as layout
5420 (layout): layout as layout
5422 * lyxtextclass.C (compare_name): new functor to work with
5423 shared_ptr, layout as layout
5424 (Read): layout as layout
5425 (hasLayout): layout as layout
5426 (operator): layout as layout
5427 (delete_layout): layout as layout
5428 (defaultLayout): layout as layout
5430 * lyxlayout_ptr_fwd.h: new file
5432 * lyxlayout.C (Read): layout as layout
5434 * lyx_cb.C (MenuInsertLabel): layout as layout
5436 * bufferlist.C (newFile): layout as layout
5438 * buffer.C (readLyXformat2): layout as layout
5439 (parseSingleLyXformat2Token): layout as layout
5440 (insertStringAsLines): layout as layout
5441 (asciiParagraph): layout as layout
5442 (latexParagraphs): layout as layout
5443 (makeLinuxDocFile): layout as layout
5444 (simpleLinuxDocOnePar): layout as layout
5445 (makeDocBookFile): layout as layout
5446 (simpleDocBookOnePar): layout as layout
5447 (getLists): layout as layout
5449 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5451 * CutAndPaste.C (cutSelection): layout as layout
5452 (pasteSelection): layout as layout
5453 (SwitchLayoutsBetweenClasses): layout as layout
5455 * BufferView_pimpl.C (Dispatch): layout as layout
5456 (smartQuote): layout as layout
5458 * BufferView2.C (unlockInset): layout as layout
5460 2002-06-24 André Pönitz <poenitz@gmx.net>
5462 * lyxfunc.C: fix #487
5464 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5468 * lyxfunc.C: remove display_shortcuts, show_banner
5470 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5472 * Buffer_pimpl.C: oops, update on resize
5474 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5481 * BufferView.C: use repaint()
5483 * BufferView_pimpl.h:
5484 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5485 as it's a clearer description. Remove superfluous
5488 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5490 * text.C: fix bug 488. Not ideal, but getting
5491 getWord() to work properly for the insets that
5492 matter is more difficult ...
5494 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5496 * BufferView_pimpl.C:
5499 * lyxfunc.C: remove the six million index lyxfuncs to just
5500 one, and DTRT (bug 458)
5502 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5506 * BufferView_pimpl.h:
5507 * BufferView_pimpl.C: clean up resize() stuff,
5508 and unnecessary updateScreen()s
5510 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5514 * BufferView_pimpl.h:
5515 * BufferView_pimpl.C:
5518 * minibuffer.C: remove focus management of workarea,
5519 not needed. Use screen's greyOut()
5521 2002-06-17 Herbert Voss <voss@lyx.org>
5523 * converter.C: (convert) do not post a message, when converting
5524 fails, let the calling function decide what to do in this case
5526 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5528 * lyxfunc.C: tidy up a little
5530 2002-06-16 <alstrup@diku.dk>
5532 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5533 Got rid of FORMS_H_LOCATION include. Now we are
5536 2002-06-15 LyX Development team <lyx@rilke>
5538 * buffer.[Ch] (sgmlOpenTag):
5539 (sgmlCloseTag): Added support for avoiding pernicious mixed
5540 content. Return number of lines written.
5543 (makeDocBookFile): Fixed calls to sgml*Tag.
5544 Simple white space clean.
5546 (simpleDocBookOnePar): Simple white space clean.
5548 * tabular.[Ch] (docBook): Renamed to docbook and got another
5549 argument to related with the pernicious mixed content.
5551 (docbookRow): Fixed calls for docbook inset method.
5553 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5555 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5556 so it's X11 independent.
5560 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5562 2002-06-15 Lyx Development team <lyx@electronia>
5564 * intl.h: Renamed getTrans to getTransManager.
5566 2002-06-14 Angus Leeming <leeming@lyx.org>
5568 * Makefile.am: nuke forgotten stl_string_fwd.h.
5570 2002-06-12 Angus Leeming <leeming@lyx.org>
5572 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5574 2002-06-13 Angus Leeming <leeming@lyx.org>
5577 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5579 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5581 * kbmap.C (getiso): add support for cyrillic and greek
5583 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5587 * BufferView_pimpl.h:
5588 * BufferView_pimpl.C: move bogus scrolling logic
5591 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5594 * BufferView_pimpl.C: view->resize() change
5596 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5598 * BufferView_pimpl.C: topCursorVisible
5601 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5605 * lyx_gui.C: move to frontends/
5609 * lyx_main.C: changes from above
5611 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5618 * lyx_main.C: minor tidy
5620 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5622 * BufferView_pimpl.h:
5623 * BufferView_pimpl.C:
5625 * BufferView.C: make painter() const,
5628 * BufferView2.C: use screen() accessor
5631 * lyx_main.C: some minor cleanup
5633 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5635 * BufferView_pimpl.h:
5636 * BufferView_pimpl.C: remove enter/leaveView,
5639 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5644 * BufferView_pimpl.h:
5645 * BufferView_pimpl.C: only construct screen once,
5648 * lyxrc.C: remove pointless comment
5650 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5653 * BufferView.C: remove active() and belowMouse()
5655 * BufferView_pimpl.h:
5656 * BufferView_pimpl.C: use workarea() not workarea_,
5657 and make it use a scoped_ptr instead
5659 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5661 * lyx_gui.C: add debug message on BadWindow
5663 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5665 * sp_spell.C: fdopen is not part of the C++ standard.
5667 * paragraph.C (InsetIterator): use >= instead of ==
5669 2002-06-07 Angus Leeming <leeming@lyx.org>
5671 Fixes needed to compile with Compaq cxx 6.5.
5672 * BufferView_pimpl.C:
5679 * lyxtextclasslist.C:
5684 all c-library variables have been moved into namespace std. Wrap
5685 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5690 Add a using std::abs declaration.
5692 * kbmap.h (modifier_pair):
5693 * paragraph.h (InsetTable, InsetList):
5694 * lyxfont.h (FontBits):
5695 type definition made public.
5697 * bufferlist.C (emergencyWriteAll): the compiler complains that
5698 there is more than one possible lyx::class_fun template to choose from.
5699 I re-named the void specialisation as lyx::void_class_fun.
5701 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5703 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5704 the compiler is is unable to find tostr in write_attribute.
5706 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5708 * buffer.C (sgmlError): hide #warning
5710 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5712 * xtl/*: get rid of xtl, which is not in use anyway
5714 * LyXAction.C (init):
5715 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5716 were unimplemented xtl experimentation
5718 2002-06-04 André Pönitz <poenitz@gmx.net>
5720 * lyxfunc.C: disable array operation on simple formulae
5722 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5724 * converter.C: constify a bit
5726 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5728 * lyx_gui.C: check xforms version correctly
5730 2002-04-30 Herbert Voss <voss@lyx.org>
5732 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5735 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5737 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5738 attempt to register it with a VCS)
5740 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5742 * lyx_main.C (init): honor variables LYX_DIR_13x and
5745 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5749 * lyx_main.C: fix a crash on bad command line,
5750 and give a useful exit status on error
5752 * lyxfunc.C (doImport): allow -i lyx to work
5754 2002-03-30 André Pönitz <poenitz@gmx.net>
5756 * lyxfunc.C: mathed font changes
5758 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5773 * trans_mgr.h: srcdocs, and some minor cleanups
5775 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5777 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5778 call getFont all the time)
5780 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5782 * switch from SigC signals to boost::signals
5784 2002-05-29 André Pönitz <poenitz@gmx.net>
5786 * paragraph_pimpl.C (getChar): don't call size() too often...
5788 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5790 * paragraph_pimpl.C (insertChar): do not try to update tables when
5791 appending (pos == size())
5793 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5794 in order to reduce drastically the number of comparisons needed to
5795 parse a large document
5797 2002-05-29 André Pönitz <poenitz@gmx.net>
5803 * textclasslist.[Ch]:
5804 * sp_ispell.h: whitespace change
5806 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5808 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5809 lyxaction directly now.
5811 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5815 * lyxvc.C: remove unused headers
5817 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5824 * undo_funcs.C: some cleanups. Use shared_ptr
5825 and a template for the undo stacks.
5827 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5829 * BufferView_pimpl.h:
5830 * BufferView_pimpl.C:
5837 * text2.C: use key_state/mouse_state
5839 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5841 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5844 * chset.C: change include order
5845 (loadFile): use boost regex and get rid of LRegex and LSubstring
5847 * Makefile.am (BOOST_LIBS): new variable
5850 * LaTeX.C: change include order.
5851 (scanAuxFile): use boost regex and get rid of LRegex and
5855 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5860 * FontInfo.C: moved to frontends/xforms/
5863 * FontLoader.C: moved into frontends for GUIIzation
5868 * lyxfunc.C: changes from above
5870 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5872 * LColor.C: remove spurious X include
5874 * BufferView_pimpl.C:
5879 * text2.C: move font metrics to frontends/
5881 2002-05-24 Juergen Vigna <jug@sad.it>
5883 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5884 setting the undo_cursor.
5886 * ParagraphParameters.h: include local includes first.
5888 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5890 * BufferView_pimpl.C:
5891 * BufferView_pimpl.h:
5895 * screen.C: move WorkArea into frontends/
5901 * BufferView2.C: move LyXScreen into frontends/
5905 * lyx_gui.C: move lyxlookup into frontends/xforms/
5907 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5910 * BufferView_pimpl.C:
5920 * bufferview_funcs.C:
5933 * vc-backend.C: move LyX/XFormsView into frontends/
5935 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5947 * text2.C: move Painter to frontends/
5949 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5951 * buffer.C: comment out some some code that depend upon lyx_format
5954 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5955 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5957 * buffer.h (NO_COMPABILITY): turn off compability
5959 * ColorHandler.C: include scoped_array.hpp
5961 * font.C: Use more specific smart_ptr header.
5964 * ShareContainer.h: ditto
5968 * BufferView_pimpl.h: ditto
5969 * ColorHandler.h: ditto
5971 * kbmap.C (defkey): change call to shared_ptr::reset
5973 2002-05-21 Juergen Vigna <jug@sad.it>
5975 * buffer.C (insertErtContents): fix to insert ert asis if it is
5976 non empty. Skip it completely if it contains only whitespaces.
5978 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5980 * BufferView_pimpl.C:
5981 * BufferView2.C: clear selection on paste (bug 393)
5983 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5985 * DepTable.C: include ctime
5987 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5989 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5991 2002-05-14 Juergen Vigna <jug@sad.it>
5993 * text.C (breakParagraph): fixed function to honor the keepempty
5994 layout in the right maner and also to permit the right breaking
5995 algorithm on empty or non empyt keepempty paragraphs.
5997 * paragraph.C (breakParagraph): we have to check also if the par
5998 is really empty (!size()) for isempty otherwise we do the wrong
6001 2002-05-10 Juergen Vigna <jug@sad.it>
6003 * buffer.[Ch] : The following are only changes to the ert
6004 compatibility read reading old LaTeX layout and font stuff and
6005 convert it to ERTInsets.
6007 * buffer.h: added isErtInset().
6009 * buffer.C (struct ErtComp): add a fromlayout bool to check
6010 if we're inside a LaTeX layout.
6011 (isErtInset): new helper function.
6012 (insertErtContents): look for other ert insets before this one
6013 and insert the contents there, so that we don't have subsequent
6014 ERT insets with nothing between them. This way we create only one
6015 inset with multiple paragraphs. Also check if we don't insert only
6016 spaces ' ' as they are ignored anyway afterwards in the .tex file
6017 so if we have only spaces we will ignore this latex part in the
6019 (parseSingleLyXformat2Token \\layout): better compatibility when
6020 reading layout-latex stuff.
6021 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6023 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6024 stuff after reading the inset only get the information back from
6027 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6029 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6031 * LaTeXFeatures.C (getBabelOptions): New method.
6033 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6035 * BufferView_pimpl.C (Dispatch): work around missing argument for
6038 2002-05-08 Juergen Vigna <jug@sad.it>
6040 * text.C (leftMargin): handle paragraph leftindent.
6042 * paragraph.C (writeFile): write the new \\leftindent tag.
6043 (validate): handle leftindent code.
6044 (TeXEnvironment): handle paragraphleftindent code again.
6046 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6048 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6049 for paragrap_extra indent code and new token \\leftindent.
6050 (latexParagraphs): handle the leftindent as environment.
6052 * ParameterStruct.h: added leftindent support.
6054 * ParagraphParameters.C (leftIndent): added support functions for
6055 the paragraph left indent.
6057 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6060 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6062 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6065 * text.C (computeBidiTables): No bidi in insetERT.
6067 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6070 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6072 * version.C.in: pre 5
6074 2002-05-02 José Matos <jamatos@fep.up.pt>
6075 * buffer.C (makeDocBookFile): white space changes, add newline to
6077 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6079 * tabular.C (docBook): fix typo.
6081 2002-05-03 Juergen Vigna <jug@sad.it>
6083 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6084 change in LyXText as we can not be sure it was not freed.
6085 (drawOneRow): remove unused code.
6087 * text.C (drawInset): redo the calculation of the need_break_row as
6088 it could have a row which was already freed.
6089 (draw): look at the return value of drawInset and return false if
6090 it also returned false.
6091 (paintRowText): look at the return value of draw and return false if
6092 it also returned false.
6094 * lyxtext.h: added bool return type to drawInset() and draw() so that
6095 if we have a change in the row so that the rowbreak has to be redone
6096 we abort drawing as it will be called again.
6098 2002-05-02 Juergen Vigna <jug@sad.it>
6100 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6101 a change in the maintext also if we're inside an inset.
6102 (Dispatch): set the cursor again after a break line and after the
6103 screen has been updated as it could be we're in a different row.
6105 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6106 to set the cursor behind the pargraph with > size().
6107 (setCursor): check also for the same paragraph when checking where
6108 to put the cursor if we have a NFR inset.
6110 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6111 parts of layout read further up as it still was in the wrong
6114 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6116 * screen.C (drawFromTo): change sine fullRebreak always return
6119 * buffer.C (parseSingleLyXformat2Token): reindent some
6121 * BufferView_pimpl.C (update): change since fullRebreak always
6123 (Dispatch): git rid of the last hardcoded "Standard"s.
6125 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6127 * text2.[Ch] (fullRebreak): make it return void now that we always
6130 2002-04-30 Juergen Vigna <jug@sad.it>
6132 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6133 ert compatibility check for "latex" layout.
6135 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6137 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6138 minipages: use col% instead of p%, and also use the current font.
6139 (makeLaTeXFile): Fix use babel condition.
6140 (parseSingleLyXformat2Token): Correct font when reading old floats.
6142 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6144 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6145 inserting list of floats.
6147 2002-04-25 Herbert Voss <voss@lyx.org>
6149 * MenuBackend.C (expand): don't add the graphics extensions to the
6152 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6154 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6155 non-existing layout, do not complain if it was the default layout
6156 of the original class (bug #342)
6158 2002-04-24 Juergen Vigna <jug@sad.it>
6160 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6161 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6163 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6165 * buffer.C (getBibkeyList): If using \bibliography, return the
6166 option field with the reference itself. Enables us to provide natbib
6167 support when using \bibliography.
6169 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6171 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6173 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6174 natbib is provided by the LaTeX class.
6176 2002-04-23 Juergen Vigna <jug@sad.it>
6178 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6181 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6183 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6185 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6187 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6188 ensuremath around textordmasculine, textordfeminine and
6191 2002-04-19 Juergen Vigna <jug@sad.it>
6193 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6194 reinitializing the buffer otherwise row-dimensions may be wrong.
6195 (update): reset also the selection cursors if they do exits otherwise
6196 their x/y positions may be wrong.
6198 * text2.C (cursorDown): don't enter the inset if we came from a row
6199 above and are one row over the inset.
6201 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6202 really leaving an inset.
6204 2002-04-18 Juergen Vigna <jug@sad.it>
6206 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6207 of the selected paragraph does not have the selected layout also if
6210 * text2.C (setLayout): fixed bug which did not change last selected
6213 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6214 changed the read and substituted \\end_float with \\end_inset!
6216 * BufferView_pimpl.C (cursorPrevious):
6217 (cursorNext): fixed to make it work with rows heigher than the work
6218 area without moving the cursor only the draw of the row.
6219 (workAreaMotionNotify): fix jumping over high rows.
6221 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6223 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6226 2002-04-16 Juergen Vigna <jug@sad.it>
6228 * text2.C (setCursor): set also the irow().
6229 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6231 (cursorDown): support for locking an inset if the x_fix value goes
6232 inside it. That way I can transverse insets too with cursor up/down.
6234 * lyxrow.h: added irow helper function same as other (i) functions.
6236 * BufferView_pimpl.C (cursorPrevious):
6237 (cursorNext): fixed for insets!
6239 2002-04-15 Juergen Vigna <jug@sad.it>
6241 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6242 position otherwise it is wrong in some cases.
6244 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6245 inside the inset before the call.
6247 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6249 * buffer.[Ch] (getBibkeyList): make it const.
6251 2002-04-12 Juergen Vigna <jug@sad.it>
6253 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6255 * text2.C (getCursorX): new helper function
6256 (setCursor): compute also ix_
6257 (setCursorFromCoordinates): set also ix.
6259 * lyxcursor.h: added ix_ and helper functions.
6261 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6263 * buffer.C (insertStringAsLines): dont break paragraph if the this
6264 paragraph is inside an inset which does not permit it!
6266 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6267 also with no chars on this paragraph.
6268 (paintRowText): only paint stuff if it's inside the workarea!
6270 * paragraph.C (breakParagraph): honor keepempty flag and break the
6271 paragraph always below not above.
6273 * BufferView2.C (unlockInset): update the paragraph layout on inset
6274 unlock as we changed paragraph in such a case.
6276 * lyxfind.C (LyXFind): clear the former selection if not found!
6278 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6279 again called in insertChar().
6281 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6282 an inset which uses the whole row!
6283 (rightMargin): ditto.
6284 (insertChar): force a rebreak if we inserted an inset!
6286 2002-03-28 Herbert Voss <voss@lyx.org>
6288 * lyxlength.[Ch]: add inBP() to get the right PS-point
6289 units (BigPoint). With inPixels we have rounding errors
6291 2002-04-11 Juergen Vigna <jug@sad.it>
6293 * text2.C (setCursorFromCoordinates): set iy to the right value.
6294 (setCursor): add check if row->previous exists!
6296 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6297 an old float_type as this was the case in the old code!
6299 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6301 * BufferView2.C (showLockedInsetCursor): use iy
6302 (fitLockedInsetCursor): ditto
6304 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6305 locked insets as there we have the right value now.
6307 * lyxcursor.C: added iy_ variable and iy functions to set to the
6308 baseline of cursor-y of the locked inset.
6310 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6311 (setCursor): fixed for insets which need a full row.
6313 * text.C (rowLastPrintable): don't ignore the last space when before
6314 an inset which needs a full row.
6315 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6316 as last character of a row when before a inset which needs a full row.
6318 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6320 * version.C.in: update date
6322 * text2.C (fullRebreak): try to always return true and see what
6325 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6327 * MenuBackend.C (expand): use Floating::listName
6329 * FloatList.C (FloatList): add listName argument to the built-in
6332 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6333 text associated with the float.
6335 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6337 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6339 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6341 * ShareContainer.h: add a couple of missing typenames.
6343 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6345 * lyxrc.C (getDescription): use _() correctly rather than N_().
6347 2002-03-28 Herbert Voss <voss@lyx.org>
6349 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6350 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6352 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6354 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6355 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6357 2002-03-29 Juergen Vigna <jug@sad.it>
6359 * lyxfunc.C (dispatch): add a missing fitCursor call.
6361 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6362 it was scrolled by a cursor move, so return the bool status.
6364 * BufferView.C (fitCursor): return the bool flag also to the outside
6365 world as this is needed.
6367 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6369 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6370 call the edit() as it is not needed (and wrong) IMO.
6371 (workAreaButtonPress): set the screen_first variable before evt.
6372 unlock the inset as this may change screen_first and then we have
6373 a wrong y position for the click!
6375 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6377 * MenuBackend.C (expand): another translation that I missed
6379 2002-03-28 Juergen Vigna <jug@sad.it>
6381 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6383 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6385 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6387 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6389 * MenuBackend.C (expand): fix export/view/update when there is no
6392 2002-03-27 Herbert Voss <voss@lyx.org>
6394 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6397 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6399 * bufferview_funcs.C (currentState): only show paragraph number
6400 for is DEVEL_VERSION is set.
6402 * lyxfunc.C (dispatch): put warning in INFO channel
6404 * MenuBackend.C (expand): translate the name of floats
6406 * FloatList.C (FloatList): mark the float names for translation
6408 * converter.C (convert): use LibScriptSearch
6410 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6412 * MenuBackend.C (defaults): fix default menu (we might as well get
6415 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6417 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6420 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6422 * lyxvc.C: reorder includes.
6424 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6426 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6429 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6431 * CutAndPaste.C: change layouts earlier on paste
6432 to avoid crashing when calling getFont()
6434 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6436 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6439 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6441 * WorkArea.C: remove 'Pending' debug message.
6443 * most files: ws cleanup
6445 * buffer.[Ch]: ws changes
6447 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6449 2002-03-21 Juergen Vigna <jug@sad.it>
6451 * tabular.C (SetMultiColumn): collapse also the contents of the
6452 cells and set the last border right. Added a Buffer const * param.
6454 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6456 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6459 2002-03-19 Juergen Vigna <jug@sad.it>
6461 * text2.C (clearSelection): reset also xsel_cache.
6463 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6464 where it needs to be called (John tells us to do so too :)
6465 (selectionLost): reset sel_cache.
6467 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6469 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6471 * text2.C (setCursorIntern): put debuging code in INSETS channel
6473 2002-03-19 André Pönitz <poenitz@gmx.net>
6475 * lyxfunc.C: tiny whitespace change
6477 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6479 * ToolbarDefaults.C (init):
6480 * LyXAction.C (init):
6482 * BufferView_pimpl.C (Dispatch):
6483 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6485 2002-03-19 Allan Rae <rae@lyx.org>
6487 * exporter.C (Export): removeAutoInsets before doing anything else.
6488 While I've just introduced a dependency on BufferView this really is
6489 the best place to clean the buffer otherwise you need to cleanup in
6490 a dozen places before calling export or cleanup in a dozen functions
6493 * converter.C (runLaTeX):
6494 (scanLog): Better handling of removeAutoInsets and screen updates.
6496 * lyxfunc.C (dispatch): small whitespace changes
6498 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6500 * WorkArea.C (C_WorkAreaEvent): return a value.
6501 (event_cb): return 1 if we handled the event, 0 otherwise.
6503 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6505 2002-03-18 Juergen Vigna <jug@sad.it>
6507 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6508 (GetAdditionalWidth): ditto.
6512 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6513 inset if we're there actually (probably not used right now but this
6514 is the direction to go for unifying code).
6515 (paste): disable code to clear the selection.
6517 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6518 inside an InsetText and move the check further up as it is in the
6521 * text2.C (pasteSelection): set a selection over the pasted text.
6523 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6525 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6526 and libgraphics to build on Cygwin.
6528 2002-03-15 Juergen Vigna <jug@sad.it>
6530 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6531 inserting an Inset into the paragraph. I know this is not the best
6532 fix but we already use current_view in CutAndPaste so we will remove
6533 all of it's using at the same time.
6535 * buffer.C (sgmlError): deactivated function till it is rewritten in
6536 the right mode, now it can create problems.
6538 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6539 before accessing it.
6541 2002-03-14 Juergen Vigna <jug@sad.it>
6543 * undo_funcs.C (textHandleUndo): do the right thing when updating
6544 the inset after the undo/redo.
6546 * text2.C (setCursor): just some testcode for #44 not ready yet.
6548 * undo_funcs.C (textHandleUndo): set the next() and previous()
6549 pointers of the paragraph to 0 before deleting otherwise we have
6550 problems with the Paragraph::[destructor].
6552 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6553 on a paragraph insertion.
6555 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6557 * buffer.C (asciiParagraph): use += operator for char append to
6560 * paragraph.C (getFontSettings): compare >= not just >
6561 (highestFontInRange): ditto
6564 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6566 * paragraph.C: change several algorithm to be more appripriate for
6567 the problem domain. This is lookip in FontList and in the InsetList.
6569 2002-03-13 André Pönitz <poenitz@gmx.net>
6572 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6574 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6579 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6581 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6583 * Painter.C (display): anon helper function, adjust code for this
6585 (pixmap): remove function.
6587 * Painter.h: remove private display variable.
6589 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6591 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6593 * WorkArea.[Ch]: remove figinset_canvas cruft.
6595 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6597 * lyxtextclass.C (operator): add one item cache optimization.
6599 * bufferlist.h: doxy changes
6601 * bufferlist.C: ws changes
6603 * DepTable.[Ch] (ext_exist): place const in the right spot.
6605 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6607 (workAreaExpose): call resizeInsets when the with BufferView changes.
6608 (Dispatch): adjust for protectedBlank removal
6609 (specialChar): call updateInset if the insert went ok.
6611 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6612 specialChar instead.
6614 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6616 * BufferView.h: doxy change
6618 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6620 * lyxtextclass.C (operator[]): remove non-const version
6621 (defaultLayout): remove non-const version
6623 2002-03-12 Juergen Vigna <jug@sad.it>
6625 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6626 did resize the LyXText too.
6628 * buffer.C (readLyXformat2): set layout information on newly allocated
6631 * tabular.C (OldFormatRead): set layout information on the paragraph.
6633 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6635 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6637 2002-03-11 Juergen Vigna <jug@sad.it>
6639 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6641 (resizeCurrentBuffer): force also the insets to resize themselfes.
6642 (moveCursorUpdate): fixed up for InsetText.
6644 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6647 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6648 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6649 value of Dialogs::tooltipsEnabled().
6650 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6652 2002-03-08 Juergen Vigna <jug@sad.it>
6654 * BufferView_pimpl.C (updateInset): update inset inside inset also
6655 if it isn't inside theLockingInset().
6657 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6659 * buffer.C (asciiParagraph): redo some of the word and line length
6661 (getLists): look for Caption instead of caption.
6663 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6665 * buffer.C (Buffer): initialize niceFile to true
6668 (makeDocBookFile): make sure niceFile is true on exit
6670 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6672 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6674 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6676 * LyXSendto.C: remove.
6677 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6678 * lyx_gui.C: remove now-redundant comment.
6679 * ColorHandler.h: remove forward declaration of class WorkArea.
6680 * lyxfunc.C: remove #include "WorkArea.h".
6682 2002-03-07 Juergen Vigna <jug@sad.it>
6684 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6685 got moved away with the DEPM and also set the inset_owner always
6686 right which before could have been omitted.
6688 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6690 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6691 wanted layout is not found.
6693 2002-03-07 Juergen Vigna <jug@sad.it>
6695 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6697 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6699 * paragraph.C (breakParagraph): use default layout not layout of
6701 (Paragraph): clear ParagraphParameters.
6703 2002-03-06 Juergen Vigna <jug@sad.it>
6705 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6706 otherwise it would not be a valid lenght. Fixed a special case in
6707 the minipage compatibility read where we end the document with a
6710 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6711 was set as it could be 0 for InsetTexts first entry.
6713 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6715 * paragraph.C (writeFile): if layout is empty write out
6716 defaultLayoutName().
6718 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6719 file without named layout we set layout to defaultLayoutName().
6721 2002-03-06 Juergen Vigna <jug@sad.it>
6723 * CutAndPaste.C (copySelection): set layout for new paragraph.
6725 * text.C (prepareToPrint): leave ERT inset left aligned
6726 (leftMargin): don't indent paragraphs inside ERT insets
6728 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6730 * paragraph.C (breakParagraph): dont call clear do the work manually
6732 * paragraph.[Ch] (clear): remove function
6734 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6736 * paragraph.C (Paragraph): dont call clear, the work has already
6739 * lyxtextclass.C (operator): assert if n is empty
6741 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6742 work manually instead.
6744 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6746 * BufferView_pimpl.C: protect selectionLost against text == 0
6748 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6750 * text.C (breakParagraph): fix a setting layout to '0' problem.
6752 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6754 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6755 final location of file, for the included files, and graphics.
6757 2002-03-05 Juergen Vigna <jug@sad.it>
6759 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6761 2002-03-04 Juergen Vigna <jug@sad.it>
6763 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6765 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6766 last column of multicolumn cells.
6767 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6769 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6771 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6772 file if it doesn't go to a temporary file.
6774 * buffer.C (sgmlOpenTag):
6775 (sgmlCloseTag): remove extra newline insertion.
6777 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6779 * text.C (getRowNearY): comment out debug msg
6781 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6783 * text2.C: first -> first_y
6785 * text.C (getRowNearY): add some attemts at a possible
6786 optimization, not working.
6788 * tabular.[Ch]: add BufferParams to several function so that newly
6789 created paragraph can be initialized to he default layotu for the
6792 * tabular-old.C (ReadOld): add buf->params to call of Init
6794 * screen.C: rename text->first to text->first_y
6796 * paragraph.C (breakParagraph): always set layout in the broken
6799 * lyxtextclass.C (Read): remove lowercase
6802 (delete_layout): ditto
6804 * lyxtext.h: rename first -> first_y
6806 * lyxlayout.C (Read): remove lowercase
6809 (obsoleted_by): ditto
6811 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6813 * buffer.C (insertErtContents): add params are to InsetERT
6814 (parseSingleLyXformat2Token): add code to check if a paragraphs
6815 layout really exist.
6816 (parseSingleLyXformat2Token): add params to several inset
6818 (asciiParagraph): remove lowercase, do the layout comparisons with
6821 * BufferView_pimpl.C (cursorNext): first -> first_y
6822 (resizeCurrentBuffer): first -> first_y
6823 (updateScrollbar): first -> first_y
6824 (scrollCB): first -> first_y
6825 (workAreaMotionNotify): first -> first_y
6826 (workAreaButtonPress): first -> first_y
6827 (checkInsetHit): first -> first_y
6828 (cursorPrevious): first -> first_y
6829 (cursorNext): first -> first_y
6830 (Dispatch): add buffer_->params to severl inset contructors
6832 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6834 * lyxlayout.C (Read): remove some debug info that I forgot.
6836 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6837 clean up the code slightly.
6838 (makeLinuxDocFile): ditto
6839 (makeDocBookFile): ditto
6841 * text2.C: layout as string
6843 * text.C: layout as string
6845 * paragraph_pimpl.C: layout as string
6847 * paragraph.[Ch]: layout as string
6849 * lyxtextclasslist.[Ch]: layout as string
6851 * lyxtextclass.[Ch]: layout as string
6853 * lyxtext.h: layout as string
6855 * lyxlayout.[Ch]: layout as string
6857 * lyx_cb.C: layout as string
6859 * bufferview_funcs.C: layout as string
6861 * bufferparams.C: layout as string
6863 * buffer.C: layout as string
6865 * LyXView.[Ch]: layout as string
6867 * LaTeXFeatures.[Ch]: layout as string
6869 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6871 * BufferView_pimpl.C: change current_layout to string, remove
6876 (workAreaButtonRelease): layout as string
6878 * BufferView2.C (unlockInset): adjust
6880 * vspace.C (asLatexCommand): use an explict temp variable.
6882 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6884 * Makefile.am: use FRONTEND_*
6886 2002-03-01 Juergen Vigna <jug@sad.it>
6888 * tabular.C (SetWidthOfMulticolCell): changed to something better
6889 I hope but still work in progress.
6890 (recalculateMulticolumnsOfColumn): renamed function from
6891 recalculateMulticolCells as it is more appropriate now.
6892 (SetWidthOfCell): calculate multicols better.
6894 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6896 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6898 * lyxfunc.C (processKeySym): print sequence also if it is
6899 `deleted' (complete)
6901 * kbsequence.C (print): print sequence even if it is deleted
6902 (complete would be a better word, actually).
6904 * lyxfunc.C (dispatch): print complete options after a prefix key
6906 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6908 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6910 * text2.C (setCharFont): eliminate setCharFont code duplication.
6912 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6914 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6915 LFUN_TABULAR_FEATURE (bug #177)
6917 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6919 * Makefile.am: remove figure.h
6921 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6923 * Bufferview_pimpl.C:
6935 * text2.C: remove #include "lyx_gui_misc.h".
6937 * LaTeX.C: added #include <cstdio>
6939 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6941 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6942 that the paragraph following this one can have.
6944 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6946 * vspace.C (asLatexCommand): fix bogus gcc warning
6948 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6950 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6952 * text2.C (setLayout): get rid of redundant code
6954 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6956 * text2.C (incDepth): make sure depth cannot be increased beyond
6959 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6961 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6962 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6964 * PainterBase.h (image):
6965 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6968 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6972 * BufferView_pimpl.C:
6973 * BufferView_pimpl.h:
6993 * sp_spell.C: remove fig inset, and the crap house of
6994 cards that follows it
6996 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7002 * nt_defines.h: move .h into support/
7004 * vms_defines.h: remove
7006 * WorkArea.C: add space in debug output
7010 * buffer.C: add WITH_WARNINGS
7014 * bufferlist.C: s/retrive/retrieve/, add docs
7025 * lyxgui.C: add ID to X error handler
7027 * lyxtestclass.c: fix typo
7029 2002-02-26 Juergen Vigna <jug@sad.it>
7031 * tabular_funcs.C (write_attribute): changed so that some default
7032 attributes are not written at all.
7033 (getTokenValue): set default values before trying to read the
7034 value so we have the return value always set as default if we don't
7035 find the token we search for.
7037 * tabular.C (Write): write bools as bools not as strings!
7039 2002-02-22 Juergen Vigna <jug@sad.it>
7041 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7042 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7044 * text.C (leftMargin): don't add an indent for paragraphs inside
7045 tabular cells (fix #208).
7047 2002-02-21 José Matos <jamatos@fep.up.pt>
7049 * tabular.C (docBook): fixed support for long tables.
7051 2002-02-20 Juergen Vigna <jug@sad.it>
7053 * text2.C (getFont): get the drawing font of the Inset if this
7054 paragraph is inside an inset (only important for InsetERT for now).
7056 * buffer.C (insertErtContents): use new lanugage params in ERT
7059 * CutAndPaste.C: commenting out seemingly uneeded code.
7061 2002-02-19 Allan Rae <rae@lyx.org>
7063 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7064 Iterators might be simple to use but they also get invalidated.
7065 (removeAutoInsets): renamed saved cursor tracking variables and added
7066 some comments to clarify what everything does.
7068 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7075 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7076 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7079 * vc-backend.h: remove #include "support/syscall.h"
7083 * converter.C: rearrange #includes in Lars' approved fashion.
7085 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7086 forward declare class Timeout in the header file.
7088 * XFormsView.C: changes due to the above.
7090 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7093 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7094 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7096 2002-02-18 José Matos <jamatos@fep.up.pt>
7098 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7101 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7103 * a lot of small ws changes
7104 * add a lot of using std::XXX
7105 * use std construcs some places where approp.
7106 * use some exisint stuff from lyxfunctional where approp.
7107 * Make file changes to use partial linking (lets test this now...)
7109 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7113 remove #include "support/syscontr.h" as it's redundant. Always has been.
7121 change Systemcalls::System to Systemcalls::Wait and
7122 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7123 No change of functionality, just reflects the stripped down Systemcalls
7126 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7128 * debug.[Ch]: add a GRAPHICS type to the enum.
7130 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7132 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7134 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7137 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7139 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7140 match the changes below.
7142 * text2.C (toggleInset): if there is not editable inset at cursor
7143 position, try to see if cursor is _inside_ a collapsable inset
7146 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7148 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7149 document menu has a nice checkbox
7151 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7153 * lyxlength.C (asLatexString): change PW to output as percent of
7156 * lengthcommon.C: change '%' to 't%'
7158 * lyxfunc.C (dispatch): a few comments from Martin
7160 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7164 * BufferView_pimpl.h:
7165 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7168 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7170 * vspace.C (inPixels): fix compiler warning
7172 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7174 * lyxfunc.C (getStatus): fix status message for disabled commands.
7176 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7178 * BufferView_pimpl.C: fix crash on close buffer
7179 during selection (#227)
7181 2002-01-27 Herbert Voss <voss@lyx.org>
7183 * buffer.C: link old Figure to new graphic inset
7185 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7187 * FontLoader.C (getFontinfo): Change the latex font names in order
7188 to match the names of type1inst.
7190 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7192 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7194 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7197 (remove_files_with_extension): ditto
7198 (remove_file): ditto
7201 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7202 document is smaller than the work area height. Do not initialize
7203 static variables to 0.
7205 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7207 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7209 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7210 LFUN_LAYOUT_PARAGRAPHS.
7212 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7213 tabular. It is possible to provide a possible cell, which will
7214 typically be the actcell from the corresponding insettabular
7216 * lyxfunc.C (getStatus): small cleanup; disable
7217 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7220 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7222 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7224 * paragraph.C (startTeXParParams):
7225 (endTeXParParams): new methods. The LaTeX code to
7226 start/end paragraph formatting
7227 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7228 empty (fixes bug #200)
7230 * vspace.C (inPixels): adapt to the change below
7231 (inPixels): [later] more cleanups (remove unused variables)
7233 * lyxlength.C (inPixels): change to use a width and a height as
7236 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7238 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7239 Replaced with \paperwidth
7241 * DepTable.C (insert): add std:: qualifier
7243 2002-01-18 Allan Rae <rae@lyx.org>
7245 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7248 * text.C (drawInset): Turned out I didn't know enough about how
7249 rebreaking worked. This fixes most of the redraw problems. I see
7250 an occasional cursor trail when a line is broken now and the cursor
7251 placement can seem out by a few pixels also after a rebreak.
7253 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7255 * buffer.C (parseSingleLyXformat2Token): update because minipage
7256 width is now a LyXLength
7258 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7260 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7263 2002-01-17 Juergen Vigna <jug@sad.it>
7265 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7267 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7268 is set correctly and the inset is updated correctly.
7270 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7272 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7273 the beginning of the loop.
7275 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7277 * lyxrc.C: improve help for use_scalable_fonts
7279 2002-01-17 Allan Rae <rae@lyx.org>
7281 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7283 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7285 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7286 make sure to set their inset_owner to the right value (bug #171)
7288 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7291 * DepTable.C: Implement mtime checking to reduce time spent doing
7294 2002-01-16 Juergen Vigna <jug@sad.it>
7296 * tabular.C (GetAdditionalHeight): one of error fixed.
7298 * lyxrc.C (output): small fix in writing use_pspell.
7300 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7302 * sp_base.h: #include LString.h
7304 2002-01-16 Allan Rae <rae@lyx.org>
7306 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7307 Can someone check this please?
7309 * text.C (drawInset): It was possible that p.row would be removed by
7310 breakAgainOneRow upsetting a few other settings. There may be another
7311 small tweak possible by setting need_break_row = 0 when p.row has been
7312 removed but I don't know enough about the logic here.
7314 2002-01-15 Allan Rae <rae@lyx.org>
7316 * text.C (insertChar): removed conditional truism.
7318 * BufferView2.C (removeAutoInsets): More tweaks.
7319 cur_par_prev could be a stray pointer. Check for trailing empty line
7320 in case last line was cur_par and only had an error inset on it.
7322 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7324 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7327 * vc-backend.C (most methods):
7328 * exporter.C (Export):
7329 * converter.C (convert):
7331 * LyXSendto.C (SendtoApplyCB):
7332 * lyxfunc.C (dispatch):
7336 * lyx_cb.C (AutoSave):
7338 * BufferView_pimpl.C (MenuInsertLyXFile):
7339 * buffer.C (runChktex): use Buffer::filePath().
7341 * buffer.h: rename filename to filename_; rename filepath to
7342 filepath_ and make it private
7343 (filePath): new method
7345 * buffer.C (writeFile): use fileName()
7348 * lyx_main.C (init): fix starting of LyX when the binary is a
7349 link from so,ewhere else.
7351 * minibuffer.C: include <cctype> for isprint
7353 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7355 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7356 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7357 name clash with InsetCollapsable's width function.
7359 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7361 * lastfiles.C: include <iterator>
7363 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7365 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7368 * buffer.C (makeLaTeXFile): ditto.
7369 Also make loop operation more transparent.
7371 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7373 * ToolbarDefaults.C: remove trailing comma closing namespace.
7375 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7377 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7380 * trans.C (Load): comment out unused variable, allowed.
7382 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7384 * minibuffer.[Ch] (append_char): new method to recieve input from the
7385 drop-down completion browser. If a key was pressed, then recieve this
7386 char and append it to the existing string.
7387 (peek_event): modify the positioning data passed to the completion
7388 browser so that it can be placed above the minibuffer rather than below.
7389 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7391 * LyXAction.C (init): alloe error-next for readonly documents.
7393 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7396 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7398 * bufferlist.C (readFile): create the buffer _after_ checking that
7401 * lyxfunc.C (verboseDispatch): fix handling of arguments
7403 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7405 * lyxrc.C: use string::erase() instead of initializing to "".
7408 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7410 * BufferView_pimpl.h:
7411 * BufferView_pimpl.C:
7414 * text2.C: tell X when we have made a selection for copying
7416 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7418 * BufferView_pimpl.C (MenuInsertLyXFile):
7419 * lyxfunc.C (menuNew):
7421 (doImport): add shortcuts to directory buttons
7423 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7426 * lyxfunc.C (setStatusMessage):
7427 (getStatusMessage): new methods
7428 (getStatus):use setStatusMessage instead of setErrorMessage
7429 (dispatch): when function is disabled, set error message here
7430 [instead of in getStatus previously]
7432 * BufferView_pimpl.C (workAreaButtonRelease): update
7433 toolbar/menubar here too.
7435 2002-01-13 Allan Rae <rae@lyx.org>
7437 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7438 Now seems indestructible. Remaining task is to audit all other
7439 code affected by deleteEmptyParagraphMechanism. One small quirk
7440 left is that an empty document with an error in the preamble can
7441 be made to report an error but no error box appears. I don't know
7443 (removeAutoInsets): Improved comments.
7445 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7448 * Thesaurus.C: update for Aiksaurus 0.14
7450 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7452 * text2.C (firstParagraph): removed member function, all uses
7453 replaces with ownerParagraph
7454 (redoParagraphs): here
7456 (toggleAppendix): here
7457 * BufferView2.C (insertErrors): here
7458 (setCursorFromRow): here
7460 2002-01-13 Allan Rae <rae@lyx.org>
7462 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7463 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7464 There is still a way to segfault this although you may have to do this
7465 multiple times: Have an InsetERT with an unknown command in it.
7466 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7467 <down-arrow>, <Enter> again, View->DVI, BANG!
7469 * text2.C (setCursor):
7470 (deleteEmptyParagraphMechanism):
7471 * lyxtext.h (setCursor):
7472 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7473 Making use of the return value may help fix other bugs.
7475 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7477 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7479 * LyXView.C (updateMenubar): call MenuBar::update here
7480 (updateToolbar): but not here
7481 (showState): do not update toolbar/menubar
7483 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7484 should need to care about that.
7486 * lyxfunc.C (verboseDispatch): simplify a bit
7487 (getStatus): have a version which takes a pseudoaction, and
7488 another which requires a (kb_action,string).
7490 * LyXAction.C (retrieveActionArg): make it work also when action
7491 is not a pseudo-action.
7492 (getActionName): simplify a bit
7495 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7497 * lyxfunc.C (verboseDispatch): new families of methods with
7498 several ways to specify a command and a bool to indicate whether
7499 the command name and shortcut should be displayed in minibuffer
7500 (eventually, we could extend that to a finer bitmask like
7501 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7502 (dispatch): the pristine dispatch command which just, well,
7503 dispatchs! Note it still sets its result to minibuffer; I'm not
7506 * lyxfunc.h: remove setHintMessage
7508 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7510 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7512 * BufferView_pimpl.C (specialChar): delete new inset if we have
7513 not been able to insert it.
7515 * kbmap.C: revert to using int instead of kb_action, since all we
7516 are dealing with is pseudo-actions.
7518 * LyXAction.C (searchActionArg): change to return int instead of
7519 kb_action, since the result is a pseudoaction.
7521 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7523 * buffer.C (insertErtContents): Fix (partially) the font bug.
7525 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7527 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7528 as the other one is broken on my machine!
7530 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7533 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7535 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7537 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7538 reflect their actual use. Provide compatibility code for older lyxrc
7541 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7543 change names of popup font variables in line with the changes to lyxrc.C
7545 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7547 * buffer.C (asciiParagraph): avoid outputing a word twice after
7550 * lyxrc.C (getDescription): document that document_path and
7551 template_path can be empty.
7553 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7555 * LaTeXFeatures.C (getMacros):
7556 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7558 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7560 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7562 (getPackages): rename feature "floats" to "float". Use an array to
7563 iterate over 'simple' features (i.e. just a \usepackage). Add
7564 handling of "amsmath" (renamed from "amsstyle").
7566 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7568 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7571 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7573 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7574 FuncStaus::FuncStatus & FuncStaus::some_method().
7576 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7578 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7579 of the func_satus stuff. Edited and massaged in various ways by
7582 * lyxfunc.C (getStatus): use FuncStatus
7584 2002-01-08 Juergen Vigna <jug@sad.it>
7586 * text.C (nextBreakPoint): use function Inset::isChar().
7588 * paragraph.C (TeXOnePar): use function
7589 Inset::forceDefaultParagraphs.
7591 * buffer.C (latexParagraphs): use function
7592 Inset::forceDefaultParagraphs.
7594 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7596 * lyx_gui.C (init): set the style of the menu popups to
7597 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7599 2002-01-07 Juergen Vigna <jug@sad.it>
7601 * text.C (setHeightOfRow): small fix
7602 (prepareToPrint): don't look at alignment if we don't have the place
7605 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7607 * box.C: New file. Move the Box methods and functions out of box.h,
7608 following Lars' suggestion.
7610 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7612 * box.h: #include "support/LOstream.h", needed for inlined function.
7615 * lyxtextclasslist.C: added some using std declarations.
7617 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7619 * box.h: make signed dimensions to allow insets wider than
7620 the screen (bug #162)
7622 * BufferView_pimpl.C: add some insetHit debug
7624 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7626 * vc-backend.C: add FIXME
7628 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7630 * lyxfunc.C (getStatus): enable code for showing math font status
7633 2002-01-07 Juergen Vigna <jug@sad.it>
7635 * text.C (nextBreakPoint): removed debug output not needed anymore.
7637 2002-01-06 Juergen Vigna <jug@sad.it>
7639 * text.C (nextBreakPoint): fixed up this function we had this bug
7640 since ever but now hopefully we break row better.
7641 (insertChar): we have to check if an inset is the next char as it
7642 could now happen that a large inset is causing a break.
7644 2002-01-05 Juergen Vigna <jug@sad.it>
7646 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7647 if it doesn't like to be drawed.
7649 2002-01-04 Juergen Vigna <jug@sad.it>
7651 * BufferView2.C (lockInset): forgot to set a cursor.
7653 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7655 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7660 * form_maths_panel.C:
7661 * form_maths_panel.h:
7662 * form_maths_panel.fd: implemented sub- and super- buttons in math
7665 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7666 (or ^ space) to be used as in TeX (req'd by André).
7668 * lyxfunc.C: Allow ^ and _ again to be used both as
7669 super/subscript (mathed) and as themselves (in text).
7671 2002-01-03 Allan Rae <rae@lyx.org>
7673 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7674 "LyX" or the filename of the current buffer if it has one. This is a
7675 modified form of John Levon's patch.
7677 * XFormsView.C (setWindowTitle): also set icon title.
7679 * LyXView.h (setWindowTitle): signature changed.
7680 * XFormsView.h (setWindowTitle): ditto.
7682 2002-01-02 Juergen Vigna <jug@sad.it>
7684 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7686 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7688 * screen.C (topCursorVisible): introduce a temp var for
7689 text->cursor.row(), handle the case where this row is null. (kindo
7692 * text2.C (setCursor): add a couple of asserts.
7694 * paragraph.h (inset_iterator): add -> operator
7696 * paragraph.[Ch] (autoDeleteInsets): remove member function
7698 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7699 cursor pos correctly and handle inset deletion by itself.
7700 (insertErrors): move iterator declaration out of for expression
7702 * lyxtextclass.C: add <algorithm>
7704 * Makefile.am: added the new files to sources, removed layout.C
7706 * layout.C: removed file
7708 * layout.h: remove LYX_DUMMY_LAYOUT
7710 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7714 * lyxtextclass.[Ch]:
7715 * lyxtextclasslist.[Ch]: new files
7717 * include order changes to a lot of files, also changes because of
7720 2001-12-27 Juergen Vigna <jug@sad.it>
7722 * buffer.C (asciiParagraph): more fixes.
7724 * tabular.C (ascii): make ascii export support export of only the
7725 data separated by a column-delimiter.
7726 (ascii): better support for ascii export.
7728 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7730 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7732 * tabular_funcs.C: use a "using std::getline" instead of the
7733 previous fix from Angus (necessary for cxx + lyxstring)
7735 2001-12-24 Juergen Vigna <jug@sad.it>
7737 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7739 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7740 problems. First check a minipage also if we have some ert-contents
7741 (not only on par->size(), second set the right depth of the paragraph
7742 on the relink to the root-paragraph-list!
7744 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7745 which then did not anymore update the main paragraphs on undo/redo!
7747 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7749 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7750 code. Support all font-changing funcs (even those which are not in
7751 menu currently). Support for reporting font settings in
7752 mathed (disabled until Andre provides a function on mathed's side).
7754 * func_status.h (toggle): small helper function to set toggle
7757 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7759 * tabular_funcs.C: getline -> std::getline
7761 2001-12-21 Juergen Vigna <jug@sad.it>
7763 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7764 accessed and could be 0 (I couldn't generate this but it seems
7767 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7769 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7770 * tabular_funcs.h: here and include iosfwd
7772 2001-12-20 Juergen Vigna <jug@sad.it>
7774 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7775 inside inset but undo_par was.
7777 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7779 * Thesaurus.C: always include <config.h> in sources.
7783 * box.h: do not include <config.h> in header files
7785 * text.C (paintLastRow): remove unused variable
7787 * text.C (transformChar):
7789 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7792 * font.C (width): rewrite to use uppercase() instead of
7795 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7797 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7799 * lyxfind.C: clean up of find failure position change
7801 2001-12-20 Juergen Vigna <jug@sad.it>
7803 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7805 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7806 (TeXRow): added to LaTeX a single tabular row.
7807 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7808 (Latex): simplified and finally good LT-h/f support.
7809 (various_functions): just small adaptions for LT-h/f support.
7811 * tabular_funcs.[hC]: added and moved here all not classfunctions
7814 2001-12-19 Juergen Vigna <jug@sad.it>
7816 * tabular.[Ch]: better support for longtabular options (not finished
7819 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7821 * text.C (paintLastRow): use the label font instead of the font of
7822 the last character to compute the size of *_BOX. This makes more
7823 sense and avoids a crash with empty paragraphs.
7824 Use Painter::rectangle to draw EMPTY_BOX.
7826 2001-12-19 Juergen Vigna <jug@sad.it>
7828 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7829 the paragraphs if the replaced paragraph is not the first one!
7830 Tried to delete not used paragraphs but does not work yet so for
7831 now it's inside #ifdef's and by default off!
7833 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7835 * MenuBackend.C: include "lyx_main.h" instead of declaring
7836 lastfiles (actually was declared as LastFiles* instead of a
7839 2001-12-17 Juergen Vigna <jug@sad.it>
7841 * tabular.C (AppendColumn): applied John's fix
7843 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7847 * BufferView_pimpl.h:
7848 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7851 * box.h: new start of class for above
7853 * lyxfunc.C: ignore space-only minibuffer dispatches.
7854 Show the command name when it doesn't exist
7856 * minibuffer.C: don't add empty lines to the history
7858 * minibuffer.C: add a space on dropdown completion
7860 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7862 * text.C: fix line above/below drawing in insets
7864 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7866 * lyxlength.C (LyXLength): Initialize private variables.
7868 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7870 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7871 when inserting error insets.
7873 2001-12-13 Juergen Vigna <jug@sad.it>
7875 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7876 actually sometimes the before-paragraph.
7877 (setUndo): don't clear the redostack if we're not actually undoing!
7879 2001-12-06 Juergen Vigna <jug@sad.it>
7881 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7882 and fixed redoing of main paragraph, so we can use it now ;)
7884 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7886 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7888 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7891 2001-12-13 André Pönitz <poenitz@gmx.net>
7894 * undo_func.C: minor cleanup
7896 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7898 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7899 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7900 font in urw-fonts package which is marked as -urw-fontspecific and
7901 does not work (incidentally, changing the encoding in the
7902 fonts.dir of this package to -adobe-fontspecific fixes the
7905 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7906 is a crash when undoing first paragraph (Juergen, please take a
7907 look). THis does not mean the undo fix is wrong, just that it
7910 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7911 the (Paragraph*) version when needed instead of duplicating the
7914 * text.C (workWidth): use Inset::parOwner to find out where the
7915 inset has been inserted. This is a huge performance gain for large
7916 documents with lots of insets. If Inset::parOwner is not set, fall
7917 back on the brute force method
7919 * paragraph_pimpl.C (insertInset):
7920 * paragraph.C (Paragraph):
7921 (cutIntoMinibuffer): set parOwner of insets when
7922 inserting/removing them
7924 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7926 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7932 * mathed/formulabase.C:
7933 * mathed/math_cursor.[Ch]:
7934 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7937 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7939 * lyxlength.[Ch] (operator!=): new function
7941 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7943 * text.C (workWidth): use Inset::parOwner to find out where the
7944 inset has been inserted. This is a huge performance gain for large
7945 documents with lots of insets. If Inset::parOwner is not set, fall
7946 back on the brute force method
7948 * paragraph_pimpl.C (insertInset):
7949 * paragraph.C (Paragraph):
7950 (cutIntoMinibuffer): set parOwner of insets when
7951 inserting/removing them
7953 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7955 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7957 * tabular-old.C (getTokenValue):
7958 * tabular.C (getTokenValue):
7959 (write_attribute): new versions for LyXLength
7960 (everywhere): adjust the use of widths
7962 * tabular.h: change the type of widths from string to LyXLength
7964 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7966 * paragraph.C: fixed missing line number count when exporting
7967 Environments to LaTeX file
7969 * buffer.C: added informational message for checking line numbers.
7971 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7973 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7974 paragraph, do the 'double space' part, but not the 'empty
7977 * text.C (workWidth): small optimization
7978 (getLengthMarkerHeight): use minimal size for negative lengths.
7980 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7982 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7984 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7986 2001-12-11 André Pönitz <poenitz@gmx.net>
7989 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7991 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7993 * text2.C: keep selection on a setFont()
7995 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7997 * lyx_cb.C: another bv->text misuse, from insert label
7999 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8002 * kbsequence.C: re-instate nmodifier mask
8004 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8006 * lyx_main.h: make lyxGUI private.
8008 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8010 * lyxfind.C: place the cursor correctly on failed search
8012 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8014 * text.C (getLengthMarkerHeight): for small heights, the arrows
8015 are not always on top/bottom of the text
8016 (drawLengthMarker): smaller arrows; take the left margin in
8017 account; draw also vfills.
8019 (paintLastRow): remove special code for vfill and standard spaces,
8020 since everything is handled in drawLengthMarker now.
8022 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8024 * buffer.C (insertErtContents): try to handle font and language
8025 interaction a bit better.g
8027 * ColorHandler.C (updateColor): change the hash to cover the whole
8028 LColor enum, ws cleanup
8029 (getGCLinepars): ditto
8030 (getGCLinepars): only lookup in the linecache once.
8032 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8034 * iterators.C (operator++): Make the iterator more robust
8036 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8038 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8040 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8043 * text.C: better added space drawing
8045 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8048 * BufferView2.C: fix layout combo update on inset unlock
8050 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8052 * Makefile.am: don't compile unused files
8054 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8058 * LyXAction.C: remove old LFUN_LAYOUTNO
8060 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8062 * paragraph_pimpl.h:
8063 * paragraph_pimpl.C: isTextAt() doesn't need font param
8065 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8068 * lyxlex.C: little cleanup
8070 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8072 * BufferView_pimpl.C: fix insertAscii for insets
8074 2001-12-05 Juergen Vigna <jug@sad.it>
8076 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8077 set the right font on the "multi" paragraph paste!
8079 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8085 * lyxlength.C: remove out-commented code.
8101 * vc-backend.C: change "while(" to "while ("
8103 * lyxlength.[Ch]: add zero function to check if length is zero or
8105 * lyxgluelength.C: use it
8107 2001-12-05 Allan Rae <rae@lyx.org>
8109 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8110 Works for 2.95.3, from what I understand of Garst's reports this should
8111 work for other g++ versions. We're screwed if the abs(int) definition
8112 changed between bugfix releases of gcc.
8114 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8116 * text.C: fix chapter label offset !
8118 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8121 * text.C: fix hfill at end of line, clean up
8123 2001-12-04 Juergen Vigna <jug@sad.it>
8125 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8126 that we force an update of the inset and it's owners if neccessary.
8128 2001-12-03 Juergen Vigna <jug@sad.it>
8130 * text.C (rowLast): simplified code
8132 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8134 * lyxfunc.C: fix show options on timeout
8136 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8138 * screen.C (topCursorVisible): scroll half a page when the cursor
8139 reached top of bottom of screen
8141 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8143 * minibuffer.C: deactivate on loss of focus
8145 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8147 * vspace.[Ch] (operator!=): add operator.
8149 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8151 * BufferView_pimpl.C: refuse to open an inset when
8152 there's a selection.
8154 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8156 * BufferView_pimpl.C: allow to click on RHS of full row insets
8158 2001-11-30 Juergen Vigna <jug@sad.it>
8160 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8161 insets for undo reasons.
8163 2001-11-28 André Pönitz <poenitz@gmx.net>
8165 * vspace.[Ch]: cosmetical changes
8167 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8177 * kbsequence.C: part re-write of old kb code
8180 * WorkArea.C: remove Lgb_bug_find_hack
8182 2001-11-30 José Matos <jamatos@fep.up.pt>
8184 * buffer.C (makeDocBookFile): add a comment to point a hack.
8185 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8186 Fixed a double write of labels.
8188 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8191 * LaTeX.h Fixed bug in LaTeX class where it would not
8192 re-run latex if no depfiles were changed, but the .dvi was removed.
8194 2001-11-28 André Pönitz <poenitz@gmx.net>
8196 * all the files from the change on 2001/11/26:
8197 use lyx::layout_type instead of LyXTextClass::size_type
8198 use lyx::textclass_type instead of LyXTextClassList::size_type
8200 2001-11-29 Juergen Vigna <jug@sad.it>
8202 * text.C: added support for paragraph::isFreeSpacing()
8204 * buffer.C: same as above
8206 * paragraph.h: inserted isFreeSpacing() function to enable
8207 FreeSpacing inside InsetERT.
8209 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8210 of the paragraph's in the cut/copy buffer to 0!
8212 * text2.C (removeRow): remove the assert as it can!
8214 * lyxtext.h: added helper function firstRow returning firstrow and
8215 made firstrow private again.
8217 * BufferView2.C (lockInset): don't relock if we're already locked!
8219 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8221 (removeRow): added Assert::(firstrow)
8223 * debug.C: forgot to add INSETTEXT here.
8225 2001-11-28 Juergen Vigna <jug@sad.it>
8227 * sp_spell.C (initialize): changed error text to more general
8228 spellchecker command use (not only ispell!)
8230 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8232 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8234 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8236 * vspace.C: initialise lyxgluelength on failure
8238 2001-11-28 Allan Rae <rae@lyx.org>
8240 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8241 declaration & definition that looks like a function declaration.
8243 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8245 * BufferView2.C (copy):
8246 (copyEnvironment): do not clear the selection when doing a copy.
8248 * text.C (paintFirstRow): compilation fix
8250 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8252 * tabular.C (Latex): correct line count when writing latex.
8254 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8256 * paragraph_pimpl.h:
8257 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8260 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8264 * LColor.C: change vfillline->added_space
8266 * text.C: add markers and text for added space
8268 * vspace.C: fix comment
8270 2001-11-28 André Pönitz <poenitz@gmx.net>
8272 * paragraph.C: whitespace changes
8273 * all the other files from the change on 2001/11/26:
8274 change *::pos_type into lyx::pos_type
8276 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8278 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8279 language of the document when inserting error insets.
8281 2001-11-26 André Pönitz <poenitz@gmx.net>
8283 * BufferView_pimpl.[Ch]:
8291 * paragraph_pimpl.[Ch]:
8294 * text2.C: reduce header dependencies, introduce type for positions
8296 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8298 * <various>: change to use Alert.h
8300 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8302 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8303 when encountering an unknown token.
8304 (readLyXformat2): Show an error message if there were unknown tokens.
8306 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8309 * BufferView_pimpl.C:
8313 * text2.C: use par->isInset()
8315 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8317 * paragraph_pimpl.h:
8318 * paragraph_pimpl.C: cleanup
8320 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8322 * text2.C (removeRow):
8323 * text.C (setHeightOfRow): remove useless (and costly) call to
8326 2001-11-20 Allan Rae <rae@lyx.org>
8328 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8329 Now need Inset*::checkInsertChar() to return true for appropriate
8330 cases so that the characters in the minibuffer will actually be
8333 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8335 * text.C: change the order of the includes.
8336 (workWidth): initialize it at once.
8337 (workWidth): make maxw unsigned
8338 (setHeightOfRow): remove unused variable (inset)
8339 (selectSelectedWord): remove unused variable (inset)
8340 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8342 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8344 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8345 server is not running.
8347 (closeConnection): add debug info when server is disabled.
8349 * ColorHandler.C (getGCForeground): send debug message to GUI
8352 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8354 * kbmap.C (bind): modify because return conventions of
8355 kb_sequence::parse have changed.
8357 * kbsequence.C (parse): only ignore spaces and not any stupid
8358 control character. This avoids tests like s[i] <= ' ', which are
8359 guaranteed to fail with 8bit characters and signed chars.
8360 Change return code to string::npos when there have been no error
8361 (0 was a bad idea when error is at first character)
8363 2001-11-14 José Matos <jamatos@fep.up.pt>
8366 * buffer.C (simpleDocBookOnePar): removed unused argument.
8368 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8370 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8371 insets which are part of a word. Paragraph::isLetter takes care of
8372 that now. Use Paragraph::isInset to identify insets.
8373 (selectSelectedWord): do not test for hyphenation break.
8375 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8376 that protected spaces are considered as spaces.
8378 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8381 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8384 * lyxserver.C: fix it. and small cleanup.
8386 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8388 * BufferView_pimpl.C: use inline helpers
8391 * LaTeXFeatures.C: fix typos
8394 * Spacing.C: move spacing_string into class
8396 * ToolbarDefaults.C: move stuff into namespace anon
8398 * layout.h: update enum
8400 * lyxfunc.C: use better debug
8402 * minibuffer.h: fix typo
8406 * WorkArea.C: add and use Debug::WORKAREA
8410 * text2.C: code re-organisation, inline helpers
8412 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8414 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8415 std::vector.empty().
8417 2001-11-09 Allan Rae <rae@lyx.org>
8419 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8420 '\n's after tables. Tabular and ERT inset work now makes this no
8423 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8426 * minibuffer.C: fix crash, improve drop-down completion
8428 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8431 * lyxserver.C: invalidate fd's when doing endPipe()
8433 2001-11-08 José Matos <jamatos@fep.up.pt>
8435 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8436 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8439 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8441 2001-11-07 José Matos <jamatos@fep.up.pt>
8444 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8447 * buffer.C (sgmlOpenTag):
8448 * buffer.C (sgmlCloseTag): removed debug info.
8450 * buffer.h (sgmlOpenTag):
8451 * buffer.h (sgmlCloseTag): made public.
8453 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8455 * buffer.C (saveParamsAsDefaults):
8456 * lyx_cb.C (MenuLayoutSave): remove
8458 * LyXAction.C (init):
8460 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8462 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8464 * buffer.C (setPaperStuff): removed from here...
8466 * bufferparams.C (setPaperStuff): ... and moved there.
8468 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8472 * XFormsView.C: add support for drop-down completion
8474 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8476 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8479 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8481 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8484 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8486 * lyx_main.C: change ref to known bugs
8488 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8490 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8491 to work around older babel problems.
8493 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8495 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8497 2001-10-24 Juergen Vigna <jug@sad.it>
8499 * tabular-old.C (ReadOld): below variable changes reflected.
8501 * tabular.[Ch]: added ltType struct for longtable header/footer
8502 defines and changed all instances where they are used. Added
8503 future support for double top/bottom rows.
8505 2001-10-24 José Matos <jamatos@fep.up.pt>
8507 * buffer.h (docbookHandleCaption):
8508 * buffer.C (docbookHandleCaption): removed unused function.
8509 (makeDocBookFile): moved docbook supported version to v4.1.
8511 2001-10-24 José Matos <jamatos@fep.up.pt>
8514 * tabular.C (docbookRow): new function to export docbook code of a row.
8515 (DocBook): now honors the longtable flags.
8517 2001-10-23 José Matos <jamatos@fep.up.pt>
8520 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8521 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8523 * buffer.C (makeLinuxDocFile):
8524 (makeDocBookFile): reworked the preamble, more clean, and with
8525 support for lyx defined entities. Changed the document declaration
8526 to be more XML friendly.
8528 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8529 if we need to output XML that should be done with a filter.
8531 2001-10-22 Juergen Vigna <jug@sad.it>
8533 * sp_pspell.h (class PSpell): add alive function needed in the
8534 controller to see if the spellchecker could be started.
8536 2001-10-22 Juergen Vigna <jug@sad.it>
8538 * buffer.C (insertStringAsLines): modify the font for inserting
8539 chars in certain conditions by calling checkInsertChar(font).
8541 2001-10-19 Juergen Vigna <jug@sad.it>
8543 * text.C (workWidth): use getRow instead of wrong algorithm.
8544 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8546 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8551 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8553 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8555 * text.C (workWidth): do not search for the exact row when
8556 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8557 optimization for big documents.
8559 2001-10-18 Juergen Vigna <jug@sad.it>
8561 * text.C (workWidth): new function with added Inset * parameter.
8563 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8565 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8567 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8568 change return type of getColumnNearX.
8571 * text.C (changeRegionCase): use uppercase/lowercase instead of
8574 (rightMargin): simplify code by factoring out the uses of
8579 (appendParagraph): use Paragraph::size_type
8581 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8583 * vspace.C (asLatexString): add a missing break
8585 2001-10-15 Herbert Voss <voss@perce.de>
8587 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8589 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8591 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8594 2001-10-10 André Pönitz <poenitz@gmx.net>
8596 * lyxfunc.C: removed greek_kb_flag.
8598 2001-10-10 Herbert Voss <voss@perce.de>
8600 * lyx_main.C: delete global string help_lyxdir.
8602 2001-10-09 Herbert Voss <voss@perce.de>
8604 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8606 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8608 * lyx_main.C: added global string help_lyxdir.
8610 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8612 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8614 * lyxrc.C (set_font_norm_type): support iso8859-4
8616 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8618 * LaTeX.C (deplog): add another regex for MikTeX
8620 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8622 * lyxrc.C (set_font_norm_type): support iso8859-3
8624 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8626 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8628 * LaTeXFeatures.C: remove special case of french and index
8630 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8631 before \begin{document}). This solves several incompatibilities.
8633 2001-10-03 Garst Reese <reese@isn.net>
8635 * lyx_cb.C: change CheckTex error msg.
8637 2001-10-03 José Matos <jamatos@fep.up.pt>
8639 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8641 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8643 * .cvsignore: update
8645 * lyx_main.C (commandLineVersionInfo): use new style version info.
8647 * buffer.C (writeFile):
8650 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8652 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8654 * version.h: update to use stuff in version.C
8656 * version.C.in: new file. Contains version information determined
8657 at compile time. This is a merging of version.h and
8660 2001-10-03 Juergen Vigna <jug@sad.it>
8662 * BufferView_pimpl.C (update): don't change "dirty" status in
8665 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8667 * WorkArea.C (c-tor): re-position version string slightly.
8669 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8671 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8672 revert to previous code.
8674 WorkArea.[Ch]: (show, destroySplash): methods removed.
8676 WorkArea.C: rework code so that it's an amalgam of the codes before and
8677 after the splash screen was moved to WorkArea.
8679 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8682 * vspace.C (inPixels):
8685 * buffer.C (insertStringAsLines):
8686 (asciiParagraph): fix types to be large enough
8688 * lyxlex_pimpl.h: change member status from short to int
8690 * layout.h: fix type of endlabeltype
8693 * kbsequence.C (parse): change return type to string::size_type
8695 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8698 * Bullet.C (bulletSize):
8699 (bulletEntry): do not use short ints as parameters
8701 * BufferView2.C (insertLyXFile): change a char to an int.
8703 * WorkArea.C (WorkArea): remove unneeded floats in computation
8705 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8707 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8709 * paragraph.C (asString): Do not ignore newline/hfill chars when
8710 copying to the clipboard.
8712 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8714 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8715 after a multi-line inset.
8717 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8719 * paragraph.C (validate): Set NeedLyXFootnoteCode
8721 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8723 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8724 and decrease-error to decrease.
8726 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8728 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8729 it more readable (should be equivalent)
8731 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8733 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8735 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8737 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8738 of a cursor (row, etc.) after a character has been deleted
8739 (deleteEmptyParagraphMechanism): call the method above on _all_
8740 cursors held by the LyXText when a double space has been
8743 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8745 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8747 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8749 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8750 background. Use greyOut() and the new show() methods to toggle between
8751 the foreground and background. Add code to remove the splash after
8752 its initial showing.
8754 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8755 (create_forms): no longer call Dialogs::showSplash.
8757 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8759 * .cvsignore: add version_info.h
8761 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8763 * version_info.h.in: new file
8765 * Makefile.am: add version_info.h.in
8767 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8768 version_info.h instead of VERSION_INFO
8770 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8772 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8773 The ERT inset now returns string().
8775 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8777 * lyxtext.h, text.C (selectNextWord): renamed as
8778 selectNextWordToSpellcheck.
8780 * text.C (selectNextWordToSpellcheck): Modified to not select
8781 words inside an ERT inset.
8783 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8785 * lyx_cb.C (MenuLayoutSave): change a bit the question
8787 * sp_base.h: include <sys/types.h>
8789 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8791 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8793 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8795 * several files: fix typos in user-visible strings
8797 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8799 * text2.C (pasteSelection): do not set the selection, since it
8800 will be cleared later. Actually, the intent was to fix the way the
8801 selection was set, but I figured rmoving the code was just as good.
8803 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8805 * FontLoader.C (available): Check if font is available without
8808 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8810 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8812 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8814 * lyxrc.[Ch]: added display_graphics variable and associated code.
8816 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8818 * bufferparams.C (hasClassDefaults): new method. Returns true if
8819 the buffer parameters correspond to known class defaults
8821 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8823 * XFormsView.C (show): set minimum size to the main window.
8825 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8827 * text2.C (copySelection):
8829 * lyxfind.C (LyXReplace):
8830 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8831 LyXText::selectionAsString.
8833 * paragraph.C (asString): add "label" argument to the second form
8835 * text2.C (selectionAsString): add "label" argument and pass it to
8836 Paragraph::asString.
8838 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8840 * lyx_main.C (commandLineHelp): remove version information
8842 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8844 * lyx_main.C: add -version commandline option
8846 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8848 * paragraph.h: make the optional constructor arg required instead.
8849 some modifications to other files because of this.
8851 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8853 * lyxserver.C (C_LyXComm_callback): make it static
8855 * lyx_main.C (error_handler): make it static
8857 * lyx_gui.C (LyX_XErrHandler): make it static
8859 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8861 * WorkArea.C: make the extern "C" methods static.
8863 * Makefile.am (lyx_LDADD): simplify
8865 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8867 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8868 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8870 * LyXAction.C (init):
8871 * lyxfunc.C (dispatch): associated code removal.
8873 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8875 * lyxfont.h (isSymbolFont): shut off warning
8877 * text.C (setHeightOfRow):
8878 (getVisibleRow): fix crash with empty paragraphs which have a
8881 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8883 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8886 2001-09-04 José Matos <jamatos@fep.up.pt>
8889 * tabular.C (docbook): rename docBook method to docbook.
8891 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8893 * Makefile.am: add dependencies to main.o.
8895 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8897 * FontLoader.C (available): Return false if !lyxrc.use_gui
8899 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8901 * FontInfo.C (query):
8902 * converter.C (view):
8903 * importer.C (Import):
8904 * exporter.C (Export): Can not -> cannot.
8906 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8908 * BufferView_pimpl.C: allow to create index inset even if
8911 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8913 * buffer.C (getLists): replace boost::tie code with an explicit pair
8914 as boost::tie can break some compilers.
8916 * iterators.h: Added a std:: declaration to the return type of
8919 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8921 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8924 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8926 * iterators.[Ch]: New files. Provide paragraph iterators.
8928 * buffer.C (changeLanguage): Use paragraph iterators.
8929 (isMultiLingual): ditto
8931 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8933 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8935 * FontLoader.C: Support for cmr font.
8937 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8939 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8940 (available): New method.
8942 * FontInfo.C (getFontname): Use scalable fonts even when
8943 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8946 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8948 * converter.C (Formats::view): reverted! Incorrect fix.
8950 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8952 * converter.C (Formats::view): only output the -paper option
8953 if the dvi viewer is xdvi, thereby fixing bug #233429.
8955 2001-08-23 Herbert Voss <voss@perce>
8957 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8959 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8961 * Spacing.h (Spacing): Set space to Default on in the default
8964 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8966 * vc-backend.h (RCS::versionString): add RCS to version
8967 (CVS::versionString): add CVS to version
8969 * vc-backend.C (scanMaster): do not add CVS to version.
8970 (scanMaster): do not add RCS to version
8972 * lyxvc.C (versionString): new method
8974 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8976 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8978 * Spacing.C (set): initialize fval
8980 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8982 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8985 2001-08-16 Juergen Vigna <jug@sad.it>
8987 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8989 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8991 * BufferView_pimpl.C:
8994 * text2.C: setParagraph takes linespacing now
8996 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8998 * LyxAction.C: add internal LFUN_CITATION_INSERT
9000 * LyXView.C: actually apply fix
9002 * bufferlist.C: fix open non-existent file
9004 * lyxfind.C: fix indentation
9006 * lyxfunc.C: remove unneeded assert, fix typo
9008 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9010 * MenuBackend.C: use "Floatname List"
9012 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9014 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9015 when converting LaTeX layout to insetERT.
9016 Generate a non-collapsed float when reading old float
9018 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9020 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9023 2001-08-13 Juergen Vigna <jug@sad.it>
9025 * text.C (fill): return 0 instead of 20 as this seems to be the more
9028 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9030 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9033 2001-08-13 Juergen Vigna <jug@sad.it>
9035 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9037 (SearchBackward): comment out the unlocking of the inset_owner this
9038 should not be needed!
9040 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9042 * Many files: Remove inherit_language, and add latex_language
9044 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9047 2001-08-10 Juergen Vigna <jug@sad.it>
9049 * text.C (prepareToPrint): fixed hfill-width in draw!
9051 * BufferView2.C (selectLastWord): save the selection cursor as this
9052 now is cleared in the function LyXText::clearSelection!
9054 2001-08-08 Juergen Vigna <jug@sad.it>
9056 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9057 BACKSPACE type functions.
9059 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9060 is only cutted from the document but not put in the cut-buffer, where
9061 still the old stuff should be.
9063 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9065 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9067 * tabular.C (SetWidthOfCell): fixed special case where the width
9069 (LeftLine): handle '|' in align_special.
9071 (LeftAlreadyDrawed): ditto
9072 (SetWidthOfCell): ditto
9074 2001-08-07 Juergen Vigna <jug@sad.it>
9076 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9078 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9080 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9081 * lyxlex.[hC]: ditto
9083 2001-08-06 Juergen Vigna <jug@sad.it>
9085 * text.C (getVisibleRow): fix up row clearing a bit.
9087 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9089 * minibuffer.C: make sure the X server sees the changes in the input.
9091 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9093 * paragraph.C (getFont): split into...
9094 (getLabelFont): this
9095 (getLayoutFont): and this
9096 * paragraph_pimpl.C (realizeFont): calling this
9098 * text2.C (getFont): split into...
9099 (getLayoutFont): this
9100 (getLabelFont): and this
9101 (realizeFont): all three calling this
9103 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9106 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9108 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9110 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9112 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9113 layouts from the Quote inset insertion.
9115 2001-08-03 Juergen Vigna <jug@sad.it>
9117 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9119 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9120 only if status not is already CHANGED_IN_DRAW (second level).
9122 * text.C (draw): don't set the need_break_row when inside an
9125 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9127 * buffer.C (parseSingleLyXformat2Token): handle more latex
9130 * bufferview_funcs.[hC]: change function names to
9131 begin with small char, adjust other files.
9133 2001-08-02 André Pönitz <poenitz@gmx.net>
9136 BufferView_pimpl.C: remove broken special code for math-greek
9138 2001-08-02 Juergen Vigna <jug@sad.it>
9140 * BufferView_pimpl.C (update): redone this function so that we
9141 update the text again if there was a CHANGE_IN_DRAW.
9143 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9144 (drawFromTo): added a new internal bool which is used by draw() and
9146 (general): some cursor drawing problems fixed.
9148 2001-08-01 Juergen Vigna <jug@sad.it>
9150 * lyxfind.C (LyXFind): fixed
9151 (SearchForward): ditto
9152 (SearchBackward): ditto
9154 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9155 spurius drawing of the cursor in the main area.
9157 * text2.C (status): small fix which could lead to a segfault!
9158 (clearSelection): remove unneeded BufferView param.
9160 2001-08-01 André Pönitz <poenitz@gmx.net>
9162 * lyxfunc.C: small change due to changed mathed interface
9164 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9166 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9168 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9170 * lyxfunc.c: fail gracefully if file doesn't exist
9175 * BufferView_pimpl.C: IsDirWriteable() proto changed
9177 * LyXView.C: fix updateWindowTitle() to store the last title
9179 2001-07-31 Juergen Vigna <jug@sad.it>
9181 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9182 the font (wrong since using of Paragraph::highestFontInRange).
9184 * paragraph.C (highestFontInRange): added a default_size parameter.
9186 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9187 (setHeightOfRow): reformat
9189 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9191 * converter.[hC] + affected files: move to (inital-char)lowercase
9194 * ParagraphParameters.C (ParagraphParameters): remove commented code
9196 * PainterBase.[Ch]: remove commented code
9198 * LaTeXFeatures.h: add "bool floats" for float.sty
9200 * LaTeXFeatures.C (LaTeXFeatures): init floats
9201 (require): handle float
9202 (getPackages): do it with floats
9204 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9206 * BufferView_pimpl.C (Dispatch): improve handling of
9207 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9209 * commandtags.h: #include lyxfont.h here temporarily to avoid
9212 * bufferlist.h: include LString.h here.
9214 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9216 * text2.C (getStringToIndex): new method.
9218 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9220 * *: Reduced header file dependencies all over.
9222 2001-07-30 Baruch Even <baruch@lyx.org>
9224 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9226 2001-07-29 Baruch Even <baruch@lyx.org>
9228 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9230 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9232 * ParameterStruct.h (endif): add a default constructor to make
9233 sure that all variables is initialized.
9235 * ParagraphParameters.C (ParagraphParameters): adjust
9237 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9239 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9240 index; also, check that there is something to index, and that it
9241 does not span over several paragraphs.
9242 (doubleClick): use WHOLE_WORD_STRICT for double click.
9244 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9246 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9249 2001-07-26 Baruch Even <baruch@lyx.org>
9251 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9252 an InsetFig figure, backwards compatible reading of old figure code.
9254 2001-07-27 Juergen Vigna <jug@sad.it>
9256 * text2.C: font.realize function adaption.
9258 * text.C (draw): add a warnings lyxerr text if needed.
9260 * layout.C: font.realize function adaption.
9262 * language.C: add inherit_language and implement it's handlings
9264 * bufferview_funcs.C (StyleReset): remove language parameter from
9265 font creation (should be language_inherit now).
9267 * bufferparams.C (writeFile): handle ignore_language.
9269 * paragraph.C (getFontSettings): the language has to be resolved
9270 otherwise we have problems in LyXFont!
9272 * lyxfont.C (lyxWriteChanges): added document_language parameter
9273 (update): removed unneeded language parameter
9275 * paragraph.C (validate): fixed wrong output of color-package when
9276 using interface colors for certain fonts in certain environments,
9277 which should not seen as that on the final output.
9279 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9281 * BufferView_pimpl.C:
9286 * LyXAction.C: add thesaurus support
9289 * lyxfind.C: add "once" parameter, for thesaurus, to not
9290 move to the next match
9292 2001-07-26 Juergen Vigna <jug@sad.it>
9294 * lyxfont.C (realize): honor ignore_language too!
9297 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9299 * text.C (draw): one place more for ignore_language to not draw
9302 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9304 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9306 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9308 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9309 the minipage conversion problem.
9311 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9313 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9316 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9318 * BufferView.h: don't forward declare WorkArea
9320 * BufferView.C: don't include WorkArea.h
9322 2001-07-25 André Pönitz <poenitz@gmx.net>
9326 * lyxfunc.C: new LFUN 'math-space'
9328 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9330 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9332 * text2.C (toggleInset): call open/close
9334 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9336 * lyxfunc.C (dispatch): add debug for the disabled case
9338 * font.C (buttonText): make similar to rectText
9340 * buffer.C (readInset): comment out parsing of insetlist and
9343 * PainterBase.C (rectText): small correction
9345 * BufferView_pimpl.C: comment out insettheorem and insetlist
9346 * LyXAction.C: ditto
9347 * commandtags.h: ditto
9349 2001-07-24 Juergen Vigna <jug@sad.it>
9351 * text.C (draw): honor the ignore_language.
9353 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9355 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9357 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9360 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9362 * lyxtext.h: remove unused (and unimplemented) methods
9364 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9366 * text.C (getVisibleRow): honor background color
9369 * Painter.h: remove default color argument for fillRectangle
9371 * text.C (backgroundColor): new method
9373 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9375 * text.C (getVisibleRow): adjust
9377 * font.[Ch] (rectText): new method, metrics
9378 (buttonText): new method, metrics
9380 * PainterBase.[hC]: make rectText and buttonText always draw and take
9383 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9385 * ToolbarDefaults.C (read):
9386 * MenuBackend.C (read): allow escaping in all strings
9388 * BufferView_pimpl.C (insertAndEditInset): new method.
9389 (Dispatch): use insertAndEditInset whenever appropriate.
9391 * BufferView_pimpl.C (insertNote): removed
9393 * BufferView_pimpl.C (smartQuote): new method, moved from
9394 BufferView; if an insetquote cannot be inserted, insert a '"'
9397 * BufferView2.C: remove insertCorrectQuote();
9399 * lyxfunc.C (getStatus): Add support for all remaingin
9402 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9404 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9405 command (necessary to pass " as parameter of self-insert.
9407 * text.C (selectWordWhenUnderCursor):
9408 (selectWord): add word_location parameter
9409 (selectWordWhenUnderCursor): same + remove special code for word
9411 (selectNextWord): use kind() to guess type of insetspecialchar,
9414 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9415 (insertErtContents): create ert insets as collapsed.
9416 (readInset): better compatibility code for Info inset.
9418 2001-07-20 Juergen Vigna <jug@sad.it>
9420 * lyxfunc.C (dispatch): use always LyXFind now!
9422 * text2.C (init): add a reinit flag so that the LyXText can be
9423 reinited instead of deleted and reallocated (used in InsetText).
9425 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9431 2001-07-18 Juergen Vigna <jug@sad.it>
9433 * text.C (selectNextWord): handle insets inside inset by calling
9434 always the bv->text functions so that we can go up the_locking_inset!
9436 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9437 in strange locations when inside an inset!
9439 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9440 handling to include insets.
9442 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9444 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9446 * LyXAction.C (init):
9448 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9449 LIGATURE_BREAK, since the name is so stupid.
9451 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9453 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9456 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9458 * sp_form.[Ch]: remove.
9460 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9462 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9465 * src/buffer.C (readInset): ditto.
9467 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9469 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9470 menuSeparator(), endOfSentenceDot(), ldots() and
9471 hyphenationPoint(), which are therefore removed.
9472 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9474 * LyXAction.C (init):
9475 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9477 * paragraph.C (getWord): removed.
9479 * BufferView_pimpl.C (Dispatch): use last word or selection for
9480 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9482 * lyx_main.C (queryUserLyXDir): do not ask before creating
9483 user_dir, except if it has been named explicitely.
9485 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9487 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9488 a document of zero size.
9490 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9492 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9493 approriately in the c-tor and in require().
9494 (getPackages): output the appropriate LaTeX for natbib support.
9496 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9497 variables "use_natbib" and "use_numerical_citations" when reading the
9499 (readInset): read the various natbib cite commands.
9500 (validate): white-space change.
9502 * bufferparams.[Ch]: new variables "bool use_natbib" and
9503 "bool use_numerical_citations".
9504 (writeFile): output them in the LyX file.
9506 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9508 * lyxfunc.C (getStatus): add support for all the inset insertion
9511 * text2.C (insertInset):
9512 * paragraph.C (insetAllowed):
9513 * BufferView_pimpl.C (insertInset): update to take in account the
9514 renaming of insertInsetAllowed
9516 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9518 * text2.C (getInset): new method. returns inset at cursor position.
9520 * BufferView_pimpl.C (Dispatch): changes because of this.
9522 * LyXAction.C (init): rename open-stuff to inset-toggle.
9524 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9526 * text2.C (toggleInset): renamed from openStuff; use
9529 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9531 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9533 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9535 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9537 * buffer.C (readLyXformat2): Add filename to the error dialog
9539 2001-07-18 Juergen Vigna <jug@sad.it>
9541 * tabular.C (GetCellNumber): put an assert here instead of the check!
9543 2001-07-17 Juergen Vigna <jug@sad.it>
9545 * BufferView_pimpl.C (toggleSelection): adapted too.
9547 * text.C (selectNextWord): adapted for use with insets.
9548 (selectSelectedWord): ditto
9550 2001-07-17 Juergen Vigna <jug@sad.it>
9552 * sp_spell.C (PSpell): fix initialitation order.
9554 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9556 * paragraph.C: spacing
9558 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9560 * sp_spell.C: repair language selection for pspell
9562 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9564 * lyxfunc.h: change more methods to begin with lower char.
9566 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9568 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9569 for unknown layouts.
9571 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9573 * buffer.C (readLyXformat2): Generate an error dialog if there are
9576 2001-07-16 Juergen Vigna <jug@sad.it>
9578 * sp_spell.C: always compile ISpell part.
9580 * lyxrc.C: added use_pspell entry and it's handling.
9582 2001-07-13 Juergen Vigna <jug@sad.it>
9584 * sp_spell.C: removed double includes.
9586 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9588 Consistent use of Lsstream.h:
9589 * Lsstream.h: added using std::stringstream for consistencies sake.
9591 * buffer.C: removed using std::stringstream
9593 * lyxfont.C (stateText):
9594 * paragraph.C (asString):
9595 * text.C (selectNextWord, selectSelectedWord):
9596 * text2.C (setCounter):
9597 * vspace.C (asString, asLatexString):
9598 std::ostringstream -> ostringstream.
9600 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9602 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9603 * commandtags.h: add LFUN_HELP_ABOUTLYX
9604 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9606 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9608 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9610 * lyx_gui_misc.C: remove spellchecker
9611 * lyxfunc.C: showSpellchecker
9613 * sp_ispell.h: added
9614 * sp_pspell.h: added
9616 * sp_form.[Ch]: removed
9617 * spellchecker.[Ch]: removed
9619 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9621 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9623 (simpleTeXSpecialChars): Simply print the input character without
9624 any special translation if pass_thru is set.
9626 * layout.h: Added bool pass_thru to layout class for being able to
9627 implement pass through of a paragraph for Literate Programming.
9629 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9630 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9631 * layout.C (Read): add "passthru" to list of layout tags and add
9632 code to set the pass_thru boolean when it is read.
9634 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9636 * trans_decl.h: remove allowed from KmodInfo
9638 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9642 * paragraph_pimpl.C (erase): use boost::prior
9644 * Painter.C (text): use data() instead of c_str() when length is
9646 * WorkArea.C (putClipboard): ditto
9647 * font.h (width): ditto
9649 * BufferView2.C: use it-> instead of (*it). for iterators
9651 * paragraph_pimpl.C: ditto
9652 * paragraph.C: ditto
9653 * minibuffer.C: ditto
9658 * converter.C: ditto
9660 * Variables.C: ditto
9661 * TextCache.C: ditto
9662 * MenuBackend.C: ditto
9663 * LyXAction.C: ditto
9665 * FloatList.C: ditto
9667 * ColorHandler.C (LyXColorHandler): ditto
9669 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9671 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9673 * text2.C (openStuff): reintroduce this method (which had been
9674 nuked in NEW_INSETS frenzy).
9676 * lyxfunc.C (Dispatch): when an action has not been handled, use
9677 its name in the error message, not its number.
9679 * paragraph.C (inInset): change method name to begin with lowercase.
9682 * text2.C: updates because of this.
9684 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9686 * ToolbarDefaults.C (add): add spaces in error message
9688 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9690 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9691 (readLyXformat2): rename return_par to first_par, use lyxlex's
9692 pushToken and remove the manual push handling.
9693 (parseSingleLyXformat2Token): add another ert comp. variable:
9694 in_tabular, rename return_par to first_par. handle newlines better
9696 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9698 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9700 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9702 * text2.C (getParFromID): removed
9704 * buffer.C (getParFromID): new method moved form lyxtext.
9705 * BufferView2.C (insertErrors): adjust
9706 (setCursorFromRow): adjust
9707 * BufferView_pimpl.C (restorePosition): adjust
9708 * lyxfunc.C (Dispatch): adjust
9709 * undo_funcs.C (textUndo): adjust
9711 (textHandleUndo): adjust
9712 (textHandleUndo): adjust
9714 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9716 * buffer.C: up' the LYX_FORMAT
9718 * lyxfont.h: turn NO_LATEX on as default
9720 * buffer.C (insertErtContents): new methods of tex style compability.
9721 (parseSingleLyXformat2Token): use it several places.
9722 * tabular.C (OldFormatRead): and here
9724 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9726 * text2.C: remove some commented code.
9729 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9730 * trans.C: changes because of the above.
9732 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9734 * text2.C (setCounter): Fix counters bug with bibliography layout.
9736 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9738 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9739 own member functions
9740 (simpleTeXSpecialChars): ditto
9742 2001-07-06 Juergen Vigna <jug@sad.it>
9744 * a lot of files: changed the access to LyXText::status and the
9745 call of undo-functions.
9747 * undo.[Ch]: added a inset_id to the undo informations.
9749 * undo_funcs.[Ch]: added and moved here all undo functions.
9751 * lyxtext.h: give the status enum a weight, made status_ a private
9752 variable and made accessor functions for it, removed the whole bunch
9753 of undo-functions as they are now in their own file, make some
9754 functions publically available. Added function ownerParagraph with
9757 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9758 made InInset() a const function, added getParFromID() function.
9760 * buffer.[Ch]: added const version for inset_iterator functions,
9761 added getInsetFromID() function.
9763 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9764 changed undo functions for new version.
9766 2001-07-05 Juergen Vigna <jug@sad.it>
9768 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9769 unknow mechanism does not call the proper constructor but only this
9770 one also if I request the other!?
9772 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9774 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9776 * text2.C (LyXText): use initialization lists.
9778 * lyxtext.h (Selection): initialize set_ and mark_
9779 (init): remove method
9781 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9783 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9785 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9787 * screen.[Ch]: change method names to begin with lowercase
9789 * BufferView_pimpl.C (updateScrollbar): simplify further and
9790 hopefully make it a bit faster.
9792 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9794 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9795 calling directly xforms functions.
9797 * Painter.C (Painter):
9798 * lyx_cb.C (MenuWrite):
9799 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9802 * lyx_gui.C: remove bogus guiruntime extern declaration.
9804 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9806 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9808 (redoDrawingOfParagraph): ditto
9809 (redoParagraphs): ditto
9810 (cutSelection): don't create a object for CutAndPaste use the
9811 static method directly
9812 (pasteSelection): ditto
9814 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9817 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9819 * modifications to some other files because of this.
9821 * Makefile.am (lyx_SOURCES): add XFormsView
9823 * XFormsView.[Ch]: new files
9825 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9826 the main window. Move the gui dependent stuff to XFormsView
9828 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9830 * tabular.C (GetCellInset): update cur_cell also in the row/col
9831 version of this function.
9833 * lyxfunc.C: no need to include figure_form.h here.
9839 * lyxvc.C: no need to include forms.h here.
9841 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9843 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9845 * lyxfunc.C (Dispatch):
9847 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9848 constructor argument.
9850 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9852 * paragraph.C (Paragraph): dont't clear, and just set layout.
9853 (makeSameLayout): use params's copy contructor.
9855 * ParagraphParameters.[Ch] (makeSame): delete method
9857 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9859 * Variables.[Ch]: fix indentation, rename set to isSet
9861 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9863 * lyxfunc.C (Dispatch): fix typo
9865 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9867 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9870 * bufferlist.C: include assert.h for emergencyWrite().
9872 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9874 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9875 give up at last (bug #425202) !
9877 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9883 * spellchecker.C: strip spellchecker options and bring up
9884 preferences tab instead
9886 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9888 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9889 the istringstream constructor
9891 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9893 * paragraph.C (getLayout): fix return value
9895 * paragraph.h: do not declare getLayout as inline.
9897 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9899 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9901 * lyxcursor.h (operator<): new func
9902 (operator>): new func
9903 (operator>=): new func
9904 (operator<=): new func
9906 * text.C (changeCase): use selection.start and selection.end
9907 (changeRegionCase): require from to be <= to. Require par to be a
9910 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9912 2001-06-27 Juergen Vigna <jug@sad.it>
9914 * text.C (cursorLeftOneWord): changed to return the cursor and added
9915 overlay with BufferView * parameter which calls this one.
9917 (selectWord): use new getWord function.
9918 (changeCase): renamed from changeWordCase as and extended to work
9921 * lyxtext.h: added enum word_location
9923 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9924 changeCase as this operates now also on selections.
9926 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9928 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9930 * many files: send debug output to Debug::INFO instead of
9933 * converter.C (View):
9935 (Move): send debug output to Debug::FILES instead of console.
9937 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9939 * lyxfunc.C (getStatus): use func_status
9941 * func_status.h: new header, describing the results of
9944 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9947 2001-06-25 The LyX Project <jug@sad.it>
9949 * buffer.C (sgmlOpenTag):
9951 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9953 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9955 * text2.C: remove some dead code
9957 * tabular.C (GetCellInset): store the last cell checked (gotten)
9959 * tabular.h: add the helper for the speedup
9961 * lyxtext.h: remove some dead code
9963 2001-06-26 The LyX Project <Asger>
9965 * paragraph.C: Change export to LaTeX of alignment to
9966 \begin{center} and family for better roundtrip work with reLyX.
9968 * Tune the math drawing a bit.
9970 2001-06-25 The LyX Project <Asger>
9972 * LColor.C (LColor): New color for math background. New color
9975 2001-06-25 The LyX Project <jug@sad.it>
9977 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9980 * bufferlist.C (newFile): do not restrict to files ending with
9983 * BufferView_pimpl.C (MenuInsertLyXFile):
9985 2001-06-24 The LyX Project <jug@sad.it>
9987 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9990 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9992 * lyxtext.h: rename most methods to begin with a small char.
9993 Lots of changes because of this.
9995 * paragraph.C (Paragraph): do not call fitToSize
9996 (erase): call Pimpl::erase
9997 (insertChar): call Pimpl::insertChar
9998 (insertInset): call Pipl::insertInset
9999 (breakParagraph): do not call fitToSize
10000 (breakParagraphConservative): do not call fitToSize
10001 (fitToSize): remove method
10003 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10005 2001-06-24 The LyX Project <Asger>
10007 * Fix Qt compilation^2
10009 2001-06-24 The LyX Project <jug@sad.it>
10011 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10012 depthHook(getDepth()-1).
10015 * ParagraphParameters.h:
10016 * ParameterStruct.h: change type of depth to unsigned int ==
10017 depth_type. Many adaptations to other files before of that.
10019 2001-06-24 The LyX Project <Asger>
10021 * Fix Qt compilation.
10023 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10025 * paragraph.h: renamed several methods to begin with small letter.
10026 several changes to many parts of the code because of this.
10028 2001-06-23 The LyX Project <jug@sad.it>
10030 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10031 rewritten to discard all double spaces when KeepEmpty is off
10032 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10033 to only handle newlines but not fiddle with spaces and friends.
10035 * lyxfunc.C (MenuNew): when doing 'new from template', use
10036 template_path as default directory
10038 2001-06-23 The LyX Project <Asger>
10040 * Clean-up of header file includes all over
10041 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10043 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10045 * paragraph.h: renamed from lyxparagraph.h
10047 2001-06-23 Asger <lyx@violet.home.sad.it>
10049 * Buffer.h: Removed Buffer::resize
10050 * BufferList.h: Removed BufferList::resize
10051 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10052 the document lazily when we change the width, or the font settings.
10054 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10056 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10058 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10060 * buffer.h: remove out of date comment
10062 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10065 * screen.C: fix "theoretical" GC leak
10067 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10069 * LaTeX.C (scanAuxFile):
10070 (deplog): remove trailing \r when reading stream (useful under
10073 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10075 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10076 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10077 and BufferView::theLockingInset(Inset*), so should use them and not
10078 access bv_->text->the_locking_inset directly.
10080 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10082 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10085 * tex-defs.h: remove old unused file
10087 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10089 * BufferView_pimpl.C: fix typo, remove minibuffer message
10090 when buffer has loaded
10092 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10094 * lyxfunc.C (Dispatch): use stringstream
10095 (MenuNew): use stringstream
10096 (Open): use stringstream
10098 * importer.C (Import): use stringstream
10100 * bufferview_funcs.C (CurrentState): use stringstream
10102 * LaTeX.C (run): use stringstream
10104 * BufferView_pimpl.C (savePosition): use stringstream
10105 (restorePosition): use stringstream
10106 (MenuInsertLyXFile): use stringstream
10108 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10121 * vspace.C: removed // -*- C++ -*- as first line.
10124 * version.h: added // -*- C++ -*- as first line.
10126 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10128 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10130 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10133 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10135 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10138 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10140 * gettext.C: include LString.h even when --disable-nls is on.
10142 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10144 * converter.h (Get): changed argument type from int to
10145 FormatList::size_type to avoid unnecessary conversion.
10147 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10150 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10152 * gettext.h: include LString.h even when --disable-nls is on.
10154 2001-06-07 Juergen Vigna <jug@sad.it>
10156 * text.C (BreakAgain): subst spaces with tabs.
10158 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10159 (resizeInsetsLyXText): set force on resizeLyXText.
10161 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10163 * gettext.h (gettext_init):
10164 (locale_init): use a real definition instead of a macro
10166 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10168 * Bufferview_pimpl.C:
10170 * LColor.C: further lcolor tidies
10172 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10174 * BufferView_pimpl.C (updateScrollbar): simplify.
10176 * BufferView2.C: don't include insets/insetinfo.h, change
10177 prototype for insertInset and call the Pimpl version. let
10178 updateInset call Pimpl version.
10180 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10181 gotoInset to BufferView::Pimpl
10183 2001-06-01 Juergen Vigna <jug@sad.it>
10185 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10186 inside a LockingInset (is the update needed at all?).
10188 2001-05-31 Juergen Vigna <jug@sad.it>
10190 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10191 here not the old one otherwise how should we compare it afterwards
10194 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10199 * FontInfo.C: bring C functions into global namespace when
10202 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10204 * LString.h: make sure config.h has been loaded before LString.h.
10206 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10207 (one for each char read by EatLine!).
10209 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10212 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10214 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10215 to the same as the par we break from
10217 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10219 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10221 * MenuBackend.C (expand): also create menu entries for wide
10222 versions of the floats.
10224 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10226 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10228 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10229 frontends/Makefile.am
10235 * tabular.C (getTokenValue): add std::
10237 * tabular-old.C (getTokenValue): add std::
10238 (getTokenValue): ditto
10239 (getTokenValue): ditto
10241 * screen.C (ToggleSelection): adjust
10243 * lyxtext.h: put selection cursors inside a Selection struct.
10245 * lyxfunc.C (moveCursorUpdate): adjust
10247 * lyxfont.C (latexWriteStartChanges): add std::
10249 * lyxfind.C: adjust
10251 * font.h: delete with(char const *, LyXFont const &)
10253 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10255 * FontInfo.C (getFontname): add std::
10257 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10258 (workAreaButtonPress): adjust
10259 (tripleClick): adjust
10261 (moveCursorUpdate): adjust
10264 * BufferView2.C (gotoInset): adjust
10266 2001-05-30 Juergen Vigna <jug@sad.it>
10268 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10269 to check pspell I add this as default as I now have new pspell
10270 libraries and they seem to use this.
10272 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10274 * text2.C (CutSelection): make the cursor valid before the call to
10277 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10279 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10280 relied on 0 terminated strings and other horrors. Bug found due to
10281 the new assert in lyxstring!
10283 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10286 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10288 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10291 * lyxfunc.C (processKeySym): change method of getting to the
10294 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10295 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10296 * BufferView_pimpl.[Ch]: here as private methods.
10298 2001-05-28 Juergen Vigna <jug@sad.it>
10300 * text.C (SetHeightOfRow): added the update() call again as it is
10301 needed to initialize inset dimensions!
10303 2001-05-16 Juergen Vigna <jug@sad.it>
10305 * text2.C (SetCharFont): Add new function with BufferView * and
10306 bool toggleall parameters for setting insets internal fonts.
10307 (SetFont): Freeze the undo as we may change fonts in Insets and
10308 all this change should be inside only one Undo!
10310 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10311 setting font's in insets as for them we have the SetFont function!
10313 2001-05-15 Juergen Vigna <jug@sad.it>
10315 * text2.C (ClearSelection): to be sure we REALLY don't have any
10318 * tabular.C (TeXCellPreamble): fixed the left border problem for
10321 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10323 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10326 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10328 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10329 LFUN_BREAKPARAGRAPH.
10331 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10332 help test to "internal only", similar for LFUN_INSERT_URL
10334 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10335 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10336 auto_region_delete and deadkeys.
10338 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10341 * LColor.C: remove some dead entries, tidy a little
10343 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10345 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10347 (Dispatch): implement LFUN_ESCAPE
10349 * commandtags.h: add LFUN_ESCAPE
10351 * LyXAction.C (init): add entry for LFUN_ESCAPE
10353 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10354 Remove commented code.
10355 (insertNote): moved here
10356 (open_new_inset): moved here
10358 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10361 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10363 * kbmap.C (findbinding): clean it up and make it work correctly.
10365 * lyx_main.C (init): do not pass argc and argv as parameters
10367 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10369 * buffer.C: fix path for OS/2 & Win32
10373 * lyx_main.C: Added os:: class.
10375 * os2_defines.h: update
10377 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10379 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10380 better by trying again with reduced state.
10382 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10384 * lyxrc.C (read): print error about invalid key sequence only when
10385 debugging (because not all latinX keysyms are known to some X
10388 * kbsequence.C (getiso): add a few std:: qualifiers
10389 (getiso): comment out extra return statement.
10391 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10393 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10395 (Dispatch): enhance the accent inset a bit. (not perfect)
10397 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10399 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10401 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10403 * bufferlist.C (emergencyWrite): fix assert() call
10405 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10407 * text.C (InsertChar): Added trivial patch to only send the "you
10408 can not do multiple spaces this way" message once during a
10411 2001-05-08 Baruch Even <baruch@lyx.org>
10413 * Makefile.am: Changed order of libraries to get LyX to link properly
10414 with the gnome frontend.
10416 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10418 * LaTeXFeatures.h: add a std:: qualifier
10420 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10422 * paragraph.C (String): use stringstream
10424 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10426 * paragraph.C (writeFile): remove footflag arg
10428 * buffer.C (makeLaTeXFile): use stringstream
10429 (latexParagraphs): remove footnot gurba
10431 * LaTeXFeatures.C (getPackages): use stringstream
10432 (getMacros): likewise
10433 (getTClassPreamble): likewise
10434 (getFloatDefinitions): new method
10436 * paragraph.C (writeFile): reindent
10439 * WorkArea.h: revert the xpos + etc changes.
10441 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10443 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10445 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10446 (pasteSelection): likewise
10447 * text2.C (CreateUndo): likewise
10449 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10451 * minibuffer.C (peek_event): temporarily reduce the functionality
10452 of the minibuffer (to allow args on lfuns)
10454 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10455 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10457 * buffer.C (readInset): add compability reading of old float
10458 lists, add reading of new style float list.
10459 (readInset): avoid reevaluation of inscmd.getCmdName()
10460 (getLists): reindent
10462 * MenuBackend.C (MenuItem): implement parsing of
10463 md_floatlistinsert and md_floatinsert.
10464 (expand::LastFiles): move initalizaton of iterators out of loop,
10465 avoid reevaluation.
10466 (expand::Documents): introduce typdedef vector<string> Strings,
10468 (expand::ExportFormats): introduce typedef vector<Format const *>
10469 Formats, and use it.
10470 (expand): implement FloatListInsert and FloatInsert.
10472 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10473 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10474 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10476 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10478 (Dispatch::LFUN_FLOAT_LIST): implement
10480 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10482 * LaTeX.C (run): Fix problem with --export code.
10484 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10486 * BufferView.[Ch] (workarea): removed.
10487 (getClipboard) new method; wrapper for workarea()->getClipboard()
10489 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10492 * WorkArea.h (width, height, xpos, ypos): These methods all
10493 returned the dimensions of the work_area sub-area of WorkArea,
10494 resulting in a position error if the WorkArea were resized. Now
10495 return the dimensions of the entire WorkArea.
10497 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10499 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10501 * LaTeX.C (deplog): correct the syntax of regex reg1
10503 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10505 * undo.C: remove !NEW_INSETS cruft
10507 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10509 * text2.C: remove !NEW_INSETS cruft
10511 * text.C: remove !NEW_INSETS cruft
10513 * tabular.C: remove !NEW_INSETS cruft
10515 * spellchecker.C: remove !NEW_INSETS cruft
10517 * lyxtext.h: remove !NEW_INSETS cruft
10519 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10521 * lyxfunc.C: remove !NEW_INSETS cruft
10523 * lyxfind.C: remove !NEW_INSETS cruft
10525 * lyx_cb.C: remove !NEW_INSETS cruft
10527 * figureForm.C: remove !NEW_INSETS cruft
10529 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10531 * buffer.[Ch]: remove !NEW_INSETS cruft
10533 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10535 * CutAndPaste.C: remove !NEW_INSETS cruft
10537 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10539 * BufferView2.C: remove !NEW_INSETS cruft
10541 * BufferView.h: remove !NEW_INSETS cruft
10543 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10545 * Lsstream.h: include LString.h before the sstream headers to
10546 fix problem with gcc 2.95.3 and lyxstring
10548 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10550 * lyx_main.C: add using directives when needed for C functions
10551 declared in std:: namespace.
10553 2001-04-27 Juergen Vigna <jug@sad.it>
10555 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10556 (SetHeightOfRow): comment out the update call should not be needed!
10558 2001-04-13 Juergen Vigna <jug@sad.it>
10560 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10561 (LyXTabular): tried to minimize operator= operations (and realized
10562 hopfully Lars wish).
10564 2001-04-27 Juergen Vigna <jug@sad.it>
10566 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10568 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10570 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10572 * buffer.C (readInset): hack to make listof algorithm work
10574 * BufferView_pimpl.C: hack to make listof algorithm work
10576 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10578 * LyXAction.C: removed all !NEW_INSETS cruft
10579 (init): moved lfun_item in method
10581 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10583 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10585 * BufferView2.C (theLockingInset): white space.
10587 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10589 * minibuffer.C: include <iostream>
10591 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10593 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10595 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10597 * text.[Ch] (TransposeChars): new method
10599 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10601 * call message directly through LyXView instead of through LyXFunc
10602 * BufferView2.C: adjust
10603 * BufferView_pimpl.C: adjust
10604 * FontLoader.C: adjust
10606 * bufferview_funcs.C: adjust
10607 * converter.C: adjust
10608 * figureForm.C: adjust
10609 * importer.C: adjust
10611 * lyx_gui_misc.C: adjust
10612 * lyxfunc.C: adjust
10615 + more files in subdirs
10617 * lyxparagraph.h (size): move up int file
10620 * adjust all uses of Assert to lyx::Assert.
10622 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10623 lyxfunctional in namespace lyx
10624 * layout.C (hasLayout): ditto
10627 (delete_layout): ditto
10628 (NumberOfClass): ditto
10629 * converter.C (GetFormat): ditto
10634 * bufferlist.C (getFileNames): ditto
10635 (emergencyWriteAll): ditto
10638 * MenuBackend.C (hasSubmenu): ditto
10641 * BufferView_pimpl.C (getInsetByCode): ditto
10643 2001-04-18 Juergen Vigna <jug@sad.it>
10645 * vspace.C (asLatexString): fixed the 100% problem.
10647 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10649 * lyxfunc.C (Dispatch):
10651 * minibuffer.h: add a few std:: qualifiers
10653 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10655 * minibuffer.[Ch]: reimplement so that commands is initiated and
10656 run from lyxfunc, simplified som handling, and made the completion
10657 and history code for complete. wip.
10659 * lyxfunc.C (processKeySym): call message
10660 (miniDispatch): new temporary method
10661 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10662 (LFUN_MESSAGE): implement
10663 (LFUN_MESSAGE_PUSH): implement
10664 (LFUN_MESSAGE_POP): implement
10665 (initMiniBuffer): the initial/defualt minibuffer message.
10667 * lyxfont.[Ch]: inline some more getters
10669 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10671 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10673 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10674 (AutoSave): use LFUN_MESSAGE
10675 (Reconfigure): ditto
10677 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10679 * figureForm.C: use LFUN_MESSAGE
10681 * converter.C (runLaTeX): use LFUN_MESSAGE
10683 * bufferview_funcs.C: use LFUN_MESSAGE
10685 (changeDepth): ditto
10687 * bufferparams.h: use boost::
10689 * bufferlist.h: inherit privately from noncopyable
10691 * bufferlist.C (loadLyXFile): remove some commented code.
10693 * buffer.C (runChktex): use LFUN_MESSAGE
10695 * ShareContainer.h: inherit privately from noncopyable
10697 * ParagraphParameters.[hC] (depth): inline it.
10699 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10701 (message): new method
10702 (messagePush): ditto
10703 (messagePop): ditto
10704 (show): init minibuffer
10705 (showState): direct call
10707 * LaTeX.[Ch]: inherit privately from noncopyable
10708 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10709 instead of WriteStatus.
10711 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10713 * BufferView_pimpl.C (buffer): don't init minibuffer
10714 (workAreaButtonPress): use LFUN_MESSAGE
10715 (workAreaButtonRelease): ditto
10716 (savePosition): ditto
10717 (restorePosition): ditto
10718 (MenuInsertLyXFile): ditto
10719 (workAreaExpose): don't init minibuffer
10720 (update): remove commented code, simplify
10722 * BufferView2.C (openStuff): use LFUN_MESSAGE
10723 (toggleFloat): ditto
10726 (copyEnvironment): ditto
10727 (pasteEnvironment): ditto
10732 (updateInset): remove some commented code
10734 * lastfiles.h: inherit privately from noncopyable
10737 * lyx_main.h: ditto
10739 * lyxlex_pimpl.h: ditto
10741 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10742 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10743 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10745 * LyXAction.h: inherit privately from noncopyable, add methods
10746 func_begin, func_end, returning iterators to the func map.
10748 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10749 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10750 (func_begin): new method
10751 (func_end): new method
10753 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10755 (copySelection): ditto
10756 (pasteSelection): ditto
10758 * BufferView.C: whitespace change
10759 * BufferView.h: inherit privately from noncopyable
10761 2001-04-16 Allan Rae <rae@lyx.org>
10763 * tabular-old.C (l_getline):
10764 * spellchecker.C (sc_check_word):
10765 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10766 an unrecognised preprocessor directive. So ensure they're wrapped.
10768 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10770 * src/exporter.C (Export): Give an error message when path to file
10773 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10775 * LaTeX.C (deplog): Always check that foundfile exists.
10777 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10780 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10782 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10784 * tabular.[Ch] (getLabelList): implement new method
10786 * minibuffer.h: comment ouf setTiimer
10788 * minibuffer.C (ExecutingCB): constify res
10789 (peek_event): constify s
10790 (Set): constify ntext
10791 (Init): constify nicename
10793 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10795 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10796 (savePosition): use two params to Minibuffer::Set
10797 (restorePosition): ditto
10799 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10801 * lyx_main.C: include language.h
10803 * Makefile.am (lyx_main.o): add language.h
10805 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10811 * CutAndPaste.C: include gettext.h
10813 * lyxfont.h: remove old hack with ON and OFF.
10816 * lyxfont.h: do not include language.h...
10821 * bufferview_funcs.C:
10827 * paragraph.C: ... but do it here instead
10829 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10831 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10833 * tabular.C: small reformat
10835 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10838 (BreakParagraph): ditto
10839 (SetOnlyLayout): ditto
10842 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10845 * lastfiles.C: removed most using decl, add std:: where needed
10847 * buffer.C: ws changes
10849 * MenuBackend.C (class compare_format): put into anon namespace
10850 (expand): constify label, names, action, action2
10853 * text.C (SingleWidth): constify font
10854 (IsBoundary): constify rtl2
10855 (GetVisibleRow): constify ww
10857 * LaTeX.C (deplog): constify logfile
10859 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10861 (workAreaExpose): constify widthChange, heightChange
10863 * lyxrow.C (par): moved
10866 * lyxrow.h: as inlines here
10868 * lyxfont.h (shape): moved from lyxfont.C
10869 (emph): moved from lyxfont.C
10871 * lyxfont.C (LyXFont): use initialization list for all
10873 (shape): move to lyxfont.h as inline
10874 (emph): move to lyxfont.h as inline
10877 2001-04-04 Juergen Vigna <jug@sad.it>
10879 * vspace.C: had to include stdio.h for use of sscanf
10881 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10884 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10885 independent of xforms.
10887 2001-04-02 Juergen Vigna <jug@sad.it>
10889 * spellchecker.C: fixed namespace placing!
10891 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10893 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10894 the LyXParagraph * is 0.
10896 2001-03-29 Juergen Vigna <jug@sad.it>
10898 * vspace.C: added support for %, c%, p%, l%.
10899 (stringFromUnit): added helper function.
10900 (asLatexString): changed to give right results for the %-values.
10902 * buffer.C: convert the widthp in a width%.
10904 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10906 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10909 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10910 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10912 * lyx_cb.[Ch]: see above.
10914 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10918 * lyx.[Ch]: replaced by figure_form.[Ch].
10922 * lyxfunc.C: changed headers associated with above changes.
10924 2001-03-27 Juergen Vigna <jug@sad.it>
10926 * BufferView_pimpl.C: set the temporary cursor right!
10928 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10930 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10932 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10934 * LString.h: removed "using std::getline"!
10936 * BufferView_pimpl.C (Dispatch): changes due to changes in
10937 InsetInclude::Params.
10939 * buffer.C (tag_name): removed redundant break statements as they were
10940 producing lots of warnings with my compiler.
10942 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10944 * LString.h: add "using std::getline" when using the real <string>.
10946 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10948 * buffer.C: removed bitset usage.
10949 PAR_TAG moved to an anonymous name space.
10950 (tag_name): new funtion, also in the anonymous namespace.
10951 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10952 (makeDocBookFile): clean code. Completed transition from string arrays
10954 (SimpleDocBookOnePar): code clean.
10956 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10958 * tabular.C: add some comments.
10960 2001-03-22 Juergen Vigna <jug@sad.it>
10962 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10963 compatibility read a bit and fixed bug with minipage in different
10966 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10968 * buffer.C (pop_tag): removed.
10969 (push_tag): removed.
10970 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10971 array replaced with vector. Added support for CDATA sections.
10972 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10974 (makeDocBookFile): XML conformant declaration of CDATA section,
10975 fixed bug related to <emphasis> in the first paragraph char.
10976 (sgmlOpenTag): exclude empty tags.
10977 (sgmlCloseTag): ditto.
10979 * buffer.h (pop_tag): removed.
10980 (push_tag): removed.
10982 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10984 * language.h (Languages): added size_type and size().
10986 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10988 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10989 response on compability reading of minipages. One probliem is that
10990 the old usage of minipages was «flertydig»
10992 * several files here and in subdirs: don't use static at file
10993 scope use anon namespaces instead.
10995 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10997 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10998 LaTeX output. This is necessary for Literate document
11001 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11003 * buffer.C: insert hfill when needed.
11005 * tabular.C (l_getline): use string::erase, small whitespace change.
11007 * BufferView_pimpl.C: try the anon namespace.
11008 * WorkArea.C: ditto
11010 2001-03-16 Juergen Vigna <jug@sad.it>
11012 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11013 otherwise it won't open options-dialogs.
11015 * buffer.C: honor pextraWidth(p) on converting minipages.
11017 * tabular.C (l_getline): changed the functions to strip trailing \r.
11019 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11021 * BufferView_pimpl.C:
11022 * minibuffer..C: added "using SigC::slot" declaration.
11024 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11026 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11032 * paragraph.C: ditto
11034 * lyxtext.h: NO_PEXTRA
11036 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11038 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11039 * ParameterStruct.h: ditto
11040 * ParagraphParameters.h: ditto
11041 * lyxparagraph.h: ditto
11043 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11045 * buffer.C: add compability for minipage alignment.
11046 (latexParagraphs): remove unwanted pextra check.
11048 * several files: remove CXX_WORKING_NAMESPACES
11050 * buffer.C (pop_tag): tie is in namespace boost
11052 * BufferView.h: noncopyable is in namespace boost
11054 * lyx_main.h: ditto
11057 * lastfiles.h: ditto
11058 * bufferlist.h: ditto
11059 * ShareContainer.h: ditto
11061 * LyXAction.h: ditto
11064 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11066 * Merging changes from BRANCH_MVC back into HEAD.
11068 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11070 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11072 * BufferView_pimpl.C: change from intl.C
11076 * Makefile.am: move combox.*
11082 * intl.C: remove dialog (covered by prefs)
11084 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11086 * lyxfunc.C (Dispatch): removed redundant break statement.
11088 2001-03-14 Juergen Vigna <jug@sad.it>
11090 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11092 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11094 * buffer.C: add hack to fix compability reading of minipages.
11096 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11098 * buffer.C (getLists): Cleanup.
11100 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11102 * lyxfont.C (update): don't honor toggleall on font size.
11104 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11108 * Makefile.am: moved to frontends/xforms/
11112 * BufferView_pimpl.C: changes for moved mathpanel
11114 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11116 * gettext.h: fix gettext_init() in --disable-nls
11118 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11120 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11122 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11125 * lyx.h: strip external form
11127 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11129 * BufferView_pimpl.C: add comment, destroySplash()
11131 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11133 * BufferView_pimpl.C:
11137 * lyxfunc.C: use re-worked insetinclude
11139 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11141 * buffer.C: add using std::stringstream.
11143 * lyx_cb.C: readd using std::ios.
11145 * buffer.C: add using std::map.
11147 * BufferView_pimpl.C: add using std::vector.
11149 * ShareContainer.h: add std:: to swap.
11151 * buffer.h: add some typedefs
11152 * buffer.C (getLists): use them
11153 (getLists): renamed from getTocList.
11154 add a counter for the different float types and use it in the
11156 (getLists): use the same counter for the NEW_INSETS and the "non"
11159 * lyx_cb.h: remove unused items, includes, using etc.
11161 * ShareContainer.h: remove some commented code, add more comments
11162 and "documentation".
11164 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11166 * buffer.C (getTocList): make the list also when NEW_INSETS is
11169 * buffer.h: remove TocType
11171 * buffer.C (getTocList): change to return a map<string,
11172 vector<TocItem> >, implement for dynamic number of list.
11174 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11175 * text2.C (PasteSelection): adjust
11176 * CutAndPaste.C (pasteSelection): adjust
11178 * FloatList.C (FloatList): update from the new_insets branch.
11179 * Floating.[Ch]: ditto
11180 * LaTeXFeatures.C: ditto
11182 * lyxlex_pimpl.C: ditto
11184 * paragraph.C (Last): remove when NEW_INSETS is defined.
11186 * other file: changes because of the above.
11188 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11190 * lyxparagraph.h: rename next to next_, previous to previous_,
11191 make them private for NEW_INSETS. Rename Next() to next(),
11192 Previous() to previous().
11194 * other files: changes because of the above.
11196 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11199 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11202 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11204 * main.C (main): pass lyx_localedir to gettext_init().
11206 * gettext.h: remove locale_init and gettext_init macros
11208 * gettext.C (locale_init): new function
11209 (gettext_init): new function
11211 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11214 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11216 * Moved credits to frontends:
11217 * credits.[Ch]: removed
11218 * credits_form.[Ch]: removed
11219 * lyx_gui_misc.C: remove credits stuff
11222 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11224 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11226 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11227 unneeded destructor.
11229 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11230 a standalone pointer again.
11232 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11234 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11240 * ToolbarDefaults.C:
11249 * BufferView_pimpl.C: use new file dialog in GUII
11252 * lyx_cb.C: remove LayoutsCB to Toolbar
11254 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11256 * ShareContainer.h (get): add std:: qualifier
11258 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11260 * ShareContainer.h: define a proper ShareContainer::value_type
11261 type (and use typename to please compaq cxx)
11263 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11265 * lyxparagraph.h: move serveral local vars to
11266 ParameterStruct/ParagraphParameters., use ShareContainer in
11267 FontTable., make vars in FontTable private and add getter and
11270 * paragraph.C: changes because of the above.
11272 * lyxfont.h: remove copy constructor and copy assignment. (the
11273 default ones is ok), move number inside FontBits. move inlines to
11276 * lyxfont.C: add number to initializaton of statics, move several
11277 inlines here. constify several local vars. some whitespace
11278 cleanup. Dont hide outerscope variables.
11280 * Spacing.h: add two new constructors to match the set methods.
11282 * ShareContainer.h: new file, will perhaps be moved to support
11284 * ParameterStruct.h: new file
11286 * ParagraphParameters.h: new file
11288 * ParagraphParameters.C: new file
11290 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11291 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11293 * BufferView_pimpl.C: ParagraphParameter changes.
11294 * buffer.C: Likewise.
11295 * bufferview_funcs.C: Likewise.
11296 * text.C: Likewise.
11297 * text2.C: Likewise.
11299 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11301 * lyxfind.C (LyXReplace): do not redefine default argument in
11303 (IsStringInText): ditto
11304 (SearchForward): ditto
11305 (SearchBackward): ditto
11307 2001-03-06 Juergen Vigna <jug@sad.it>
11309 * lyxfind.C (IsStringInText): put parentes around expressions.
11311 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11313 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11315 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11317 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11319 * stl_string_fwd.h: add comment
11321 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11324 * tabular.C: remove unused DocBook methods
11330 killed DO_USE_DEFAULT_LANGUAGE
11332 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11334 * lyx_gui.C: do not include language.h.
11336 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11337 arguments in function implementation.
11339 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11341 * BufferView_pimpl.C: add <ctime>
11343 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11345 * BufferView_pimpl.C: add using std::find_if
11347 2001-02-27 José Matos <jamatos@fep.up.pt>
11349 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11352 2001-02-11 José Matos <jamatos@fep.up.pt>
11354 * buffer.C (makeDocBookFile): command styles now have a parameter as
11355 "title" by default.
11357 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11359 * layout_forms.[Ch]: removed
11360 * lyx_cb.[Ch]: out character
11361 * lyx_gui.C: out character
11362 * lyx_gui_misc.C: out character
11363 * bufferview_funcs.C: : out character,
11364 added toggleall as parameter in ToggleAndShow
11366 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11368 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11370 * text2.C (SetCurrentFont): Disable number property at boundary.
11372 2001-02-26 Juergen Vigna <jug@sad.it>
11374 * lyxfunc.C (getStatus): added a string argument override function so
11375 that this is correctly called from LyXFunc::Dispatch if it contains a
11376 do_not_use_argument which is used!
11377 (Dispatch): added check for "custom" export and call appropriate func.
11379 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11381 * lyxrc.C: Add language_command_local, language_use_babel and
11382 language_global_options.
11384 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11386 * buffer.C (makeLaTeXFile): Use language_use_babel and
11387 language_global_options.
11389 2001-02-23 Juergen Vigna <jug@sad.it>
11391 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11392 which works with LyXText and putted it inside BufferView. Here now we
11393 only call for that part the BufferView::Dispatch() function.
11395 * BufferView.C (Dispatch): added.
11397 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11398 functions which needs to use a LyXText over from LyXFunc.
11399 (MenuInsertLyXFile): added
11400 (getInsetByCode): added
11401 (moveCursorUpdate): added
11402 (static TEXT): added
11404 2001-02-22 Juergen Vigna <jug@sad.it>
11406 * BufferView_pimpl.C (update): call a status update to see if LyXText
11409 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11411 * vc-backend.C (revert): implement for CVS
11412 (getLog): implement for CVS
11414 2001-02-20 Juergen Vigna <jug@sad.it>
11416 * text2.C (ClearSelection): added BufferView param for inset_owner call
11418 * lyxfunc.C (TEXT): added this function and use it instead of
11419 directly owner->view()-text of getLyXText().
11421 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11423 * src/layout_forms.C: out preamble
11424 * src/layout_forms.h: out preamble
11425 * src/lyx_cb.C: out preamble
11426 * src/lyx_cb.h: out preamble
11427 * src/lyx_gui.C: out preamble
11428 * src/lyx_gui_misc.C: out preamble
11429 * src/lyxfunc.C: connect with guii preamble
11431 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11433 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11435 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11437 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11438 whether to run bibtex.
11440 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11442 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11444 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11446 * Makefile.am (lyx_SOURCES): removed bibforms.h
11448 * vspace.h: doxygen
11450 * text.C (GetVisibleRow): make several local vars const
11452 * tabular.C: small cleanup.
11454 * lyxserver.C (callback): use compare instead of strncmp
11456 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11457 inlines to after class or to paragraph.C
11459 * lyxfont.h: remove friend operator!=
11461 * converter.h: move friend bool operator< to non friend and after
11464 * combox.h: small cleanup
11466 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11467 to inlines after class def.
11469 * buffer.C (pop_tag): use string operations instead of strcmp
11471 * bmtable.c: doxygen, small cleanup
11473 * LaTeX.h: remove friend operator==
11475 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11487 * BufferView_pimpl.C:
11488 * BufferView.[Ch]: remove cruft
11490 2001-02-14 Juergen Vigna <jug@sad.it>
11492 * lyxfunc.C: removed #if 0 unused code
11494 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11496 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11498 * text2.C (SetSelection): added a BufferView * parameter
11500 2001-02-13 Juergen Vigna <jug@sad.it>
11502 * lyxfunc.C (Dispatch): fixed protected blank problem.
11503 * BufferView2.C (protectedBlank): added LyxText * parameter.
11505 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11506 (AppendColumn): same as above for column_info.
11508 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11509 (moveCursorUpdate): use a LyXText param for support of InsetText.
11511 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11512 (tripleClick): ditto
11514 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11516 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11518 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11520 * text2.C (SetSelection): set correct update status if inset_owner
11521 (ToggleFree): ditto
11523 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11525 * tabular.C: remove some commented code.
11527 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11529 * BufferView_pimpl.C: call hideSplash()
11531 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11534 * bibforms.h: remove
11537 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11538 add LFUN_CHILD_CREATE
11540 * counters.h: fix tiny typo
11545 * lyx.C: move splash to frontends/xforms/
11547 * lyx_gui_misc.C: move Include and Bibform to frontends
11549 * lyxvc.h: clarify comment
11551 * vspace.C: tiny housekeeping
11553 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11555 * text.C (PrepareToPrint): RTL Fix.
11557 * paragraph.C (GetUChar): New method.
11558 (String): Use GetUChar.
11560 * buffer.C (asciiParagraph): Use GetUChar.
11562 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11564 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11566 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11569 * buffer.C: rename to getLogName(), handle
11570 build log / latex log nicely
11572 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11575 * MenuBackend.h: remove support for reference menuitem type.
11577 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11579 * BufferView_pimpl.C: housekeeping
11580 * BufferView_pimpl.h:
11585 * minibuffer.h: move Timeout GUI-I
11587 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11589 * lyxrc.C (read): Update converters data-structures.
11591 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11593 * LaTeX.h (operator!=): add operator != for Aux_Info
11595 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11597 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11599 * LaTeXLog.C: deleted, useful code moved to Buffer
11602 * buffer.C: new function getLatexLogName()
11608 * lyxfunc.C: use frontends for LaTeX and VC logs
11610 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11612 * LaTeX.h: yet another std:: that Allan forgot.
11614 * Variables.C (set): renamed from isset(), because this clashes
11615 with some HP-UX macros (grr).
11617 2001-02-06 Allan Rae <rae@lyx.org>
11619 * LaTeX.h: Another bug fix. Missing std:: this time.
11621 2001-02-04 Allan Rae <rae@lyx.org>
11623 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11624 floats problem. I've left it commented out because it's not quite
11625 correct. It should also test that the current object is a table or
11626 figure inset. But I haven't gotten around to figuring out how to do
11627 that. I *think* it'll be something like: "table" == inset.type()
11629 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11632 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11634 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11635 all the citation/databases/styles in the auxilary file.
11636 (run): Rerun latex if there was a babel language error.
11638 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11640 * text.C (Backspace): Preserve the font when changing newline char
11642 (BreakParagraph): If the cursor is before a space, delete the space.
11644 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11646 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11648 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11649 new argument (code).
11650 (ChangeCitationsIfUnique): New method.
11652 * paragraph.C (GetPositionOfInset): Handle bibkey.
11654 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11656 * BufferView_pimpl.h: change type of Position::par_pos to
11657 LyXParagraph::size_type.
11659 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11661 * BufferView_pimpl.C (savePosition, restorePosition): Write
11662 messages to minibuffer.
11664 2001-01-28 José Matos <jamatos@fep.up.pt>
11666 * buffer.C (makeDocBookFile): adds support for document language.
11667 A silly restriction on the name of LatexCommand types where removed.
11668 Added support for CDATA sections, allows to chars unescaped, used
11669 among others in code, to avoid escape < and >.
11671 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11673 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11674 saved positions instrad of a stack. Furthermore, a position is
11675 stored using paragraph id/paragraph position.
11677 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11678 Remove LFUN_REF_BACK.
11680 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11682 * converter.C (dvipdfm_options): New method.
11684 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11686 * vspace.C (isValidLength): Fix for empty input string.
11688 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11690 * LyXAction.C (init): change description of LFUN_FIGURE to
11693 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11695 * LaTeX.C: add using directive
11697 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11699 * MenuBackend.C (expand): Fix the sorting of the formats.
11701 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11703 * lyx_main.C: tiny error message fix
11705 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11707 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11708 calling fl_initialize(). This fixes the problem with ',' as
11709 decimal separator in text files.
11711 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11713 * trans.C (process): Fix the keymap bug.
11715 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11717 * LaTeX.C (scanAuxFiles): New method. Provides support for
11718 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11719 (scanLogFile) Scan for "run BibTeX" messages.
11721 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11722 OT1 font encoding. Also, load the aecompl package if the ae
11725 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11727 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11729 * texrow.C (increasePos): turn two error messages into debug
11732 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11734 * LaTeX.C (scanAux): Handle the \@input macro.
11735 (runBibTeX): Use scanAux().
11737 * language.C (latex_options_): New field.
11739 * LaTeXFeatures.C (getMacros): Add language macros.
11741 * buffer.C (makeLaTeXFile): Small fix.
11743 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11745 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11747 * text2.C: add a using directive.
11749 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11754 * lyxfunc.C: kill LyXBell.
11756 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11758 * text.C (IsBoundary): Remove the error message
11760 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11762 * lyxrc.C (setDefaults): Correct initialization value for
11765 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11767 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11770 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11771 and GotoNextNote().
11773 * src/LyXAction.C: Added reference-next.
11775 * text.C (InsertChar): Use contains instead of strchr.
11777 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11779 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11781 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11782 alignment commands (when needed).
11784 * text.C (InsertChar): Add ':' to number separator chars.