1 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3 * buffer.C (openFileWrite): factorize some code
5 2003-07-26 Angus Leeming <leeming@lyx.org>
8 * lyx_main.[Ch]: replace occurances of system_tempdir with
11 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
13 * rename Inset to InsetOld
15 2003-07-25 Asger Alstrup <alstrup@diku.dk>
17 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
18 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
19 which I think is a bit clearer. EDIT is gone, since it was
20 premature optimisation, and broken for mathed anyway.
21 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
22 with cursor positioning in insets as well (math insets still do not
23 work, but that's a different story anyway.) It mysteriously
24 crashes sometimes with undo in the first paragraph, but I'm fairly
25 confident that this is a compiler bug.
27 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
29 * paragraph.C (Paragraph): adjust for new clone return type
31 (copyIntoMinibuffer): ditto
33 2003-07-25 Asger Alstrup <alstrup@lyx.org>
35 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
36 by not having a special case, and always doing a full rebreak of
37 the document after undo.
39 2003-07-23 Angus Leeming <leeming@lyx.org>
41 * factory.C (createInset): InsetExternal::setParams now takes a
44 2003-07-23 Angus Leeming <leeming@lyx.org>
46 * factory.C (createInset): changed interface to the external and
47 graphics mailers' string2params functions.
49 2003-07-23 Angus Leeming <leeming@lyx.org>
51 * factory.C (createInset): pass a
52 Buffer const * parameter to InsetExternalMailer's string2params.
54 2003-07-22 John Levon <levon@movementarian.org>
56 * Thesaurus.h: include the right aiksaurus header
58 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
60 * MenuBackend.C (expand): check menu shortcuts unconditionally
62 2003-07-21 Angus Leeming <leeming@lyx.org>
64 * factory.C (createInset): pass a
65 buffer_path parameter to InsetGraphicsMailer's string2params.
67 2003-07-21 Angus Leeming <leeming@lyx.org>
69 * BufferView_pimpl.C (buffer):
72 * lyxfunc.C (dispatch):
73 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
74 rather than the grfx shortcut.
76 2003-07-21 André Pönitz <poenitz@gmx.net>
78 * rowpainter.C: remove unused variables
81 * tabular_funcs.h: move to tabular.C
84 * tabular.[Ch]: basic optical cleaning
86 * author.h: pass references, not values
88 2003-07-18 André Pönitz <poenitz@gmx.net>
96 * text3.C: two-phase drawing for InsetText and InsetTabular
97 some float -> int changes.
99 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
101 * lyx_main.C: fix the fix
103 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
105 * lyx_main.C: fix a crash in batch mode if no files specified
108 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
110 * format.[Ch] (papersize): moved to BufferParams
111 * converter.[Ch] (dvips_options): moved to BufferParams
112 (dvipdfm_options): moved to anon namespace
113 * bufferparams.[Ch]: added above functions.
115 2003-07-17 André Pönitz <poenitz@gmx.net>
119 * text2.C: don't call inset->update() anymore
121 * metricsinfo.[Ch]: add convenience constructor
123 2003-07-16 André Pönitz <poenitz@gmx.net>
128 * text2.C: replace the LyXCursor::irow_ member with
129 on-demand computation of the value
131 2003-07-16 John Levon <levon@movementarian.org>
133 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
135 2003-07-15 André Pönitz <poenitz@gmx.net>
138 * text2.C: remove no more needed refresh_row
140 2003-07-15 André Pönitz <poenitz@gmx.net>
145 * text3.C: refresh_status tristate -> need_update bool
147 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
149 * lyxtext.h (init): remove reinit argument (act as if always true)
150 * text2.C: adjust to that
152 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
154 * bufferview_funcs.[Ch]: introduce function replaceSelection()
155 * text3.C: use it to delete selections in some cases
156 (bugs 441, 673, 702, 954).
158 2003-07-14 André Pönitz <poenitz@gmx.net>
160 * rowpainter.[Ch]: reduce interface
162 2003-07-14 André Pönitz <poenitz@gmx.net>
164 * BufferView_pimpl.C:
165 * text2.C: adjust after removing unused BufferView * argument
167 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
169 * text2.C (init): fix a crash fired on resize
171 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
173 * buffer.[Ch]: added new closing signal
174 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
175 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
176 BufferView::Pimpl via the closing the signal
178 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
180 * buffer.[Ch]: take out all bv-related from buffer
182 * BufferView_pimpl.[Ch]: connect to new signals
183 * CutAndPaste.C: removed useless asserts
184 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
187 * lyxfunc.C: moved view-related funciontality from vc here
188 * paragraph.C: removed outdated comments
191 2003-07-10 André Pönitz <poenitz@gmx.net>
193 * BufferView_pimpl.C:
197 * text2.C: remove InsetText::InnerCache, clean up consequences
199 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
201 * ispell.C: fix two typos in error messages
203 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
205 * Extend Note inset to other forms of annotation like Comment
206 and Greyedout. Right button click gives dialog.
208 Files modified or added (+):
214 * Makefile.am in frontends/xforms, frontends/xforms/forms,
215 frontends/controllers
219 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
221 * aspell.C: add missing namespace lyx::support
223 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
225 * BufferView.[Ch] (newFile): Add
226 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
227 * LaTeX.[Ch] (message): added this signal and use it
228 * buffer.[Ch] (busy, message): added these signals and use them
229 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
233 * importer.C: use buffer signals instead of direct bv calling
234 * lyx_cb.[Ch] (ShowMessage): removed
238 * text2.C: use buffer signals
240 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
242 * introduce namespace lyx::graphics
244 2003-07-02 André Pönitz <poenitz@gmx.net>
246 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
248 2003-07-01 André Pönitz <poenitz@gmx.net>
255 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
256 text*.C to text_func.C
258 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
260 * introduce namespace lyx::support
262 2003-06-30 André Pönitz <poenitz@gmx.net>
267 * text.C: re-enable --with-included-string
269 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
271 * textcursor.C: add <config.h>
273 * text.C (getWord): remove const from word_location arg
275 * lyxvc.C (getLogFile): fix const type order
277 * lyxtext.h: remove const from word_location arg, add arg name
279 * lyxlayout.h: currect type on labeltype.
281 * importer.C: correct \file
283 * converter.C (intToFormat): use std:: on ret val, ws changes
285 * bufferlist.h: correct \file
287 * buffer.C (makeLinuxDocFile): fix const type order
288 (makeDocBookFile): ditto
289 (fillWithBibKeys): use std:: on stdlib args.
291 * CutAndPaste.C: fix authors.
292 (availableSelections): use std:: on return vector
294 2003-06-27 André Pönitz <poenitz@gmx.net>
296 * BufferView_pimpl.C:
297 * bufferview_funcs.C:
305 * text3.C: remove LyXCursor::row_ member
308 * text.C: rename fullRebreak() to partialRebreak() and implement
309 a fullRebreak() that really bereks fully
311 * textcursor.h: new struct for cursor-related data
313 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
315 * lyx_main.C (LyX): get full path of document loaded on the
318 2003-06-26 André Pönitz <poenitz@gmx.net>
320 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
321 remove unused/broken operator>,<,>=.
323 * text.C: remove only use of broken operator<= in an Assert().
325 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
327 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
328 moved errorlist_.clear to showErrorList
330 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
332 * converter.C (scanLog, runLaTeX):
333 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
334 move the bv->showErrorList call to the callers
335 * lyxfunc.C: i.e. here...
337 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
338 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
339 namespace, the second to...
340 * buffer_funcs (BufferFormat, parseErrors): added
341 * errorlist.C (ErrorList(TeXErrors const &)): removed
343 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
345 * ToolbarBackend.C (getIcon): complain when icon cannot be found
347 2003-06-24 "Garst R. Reese" <reese@isn.net>
351 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
353 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
355 * version.C.in: change docversion to 1.4
357 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
359 * buffer.C: fix a bug just introduced
361 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
363 * buffer.[Ch]: added the parseError signal and use it, removed
365 * BufferView.[Ch] (addError): moved to ...
366 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
367 to the Buffer::parseError signal to catch (guess what) parse errors
368 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
370 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
372 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
373 ability to create a buffer and to return an existing one from
374 the list. Moved these functions to...
375 * buffer_funcs.[Ch]: added
376 * BufferView.[Ch] (loadLyXFile): added
377 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
378 job removed from bufferlist::loadLyXFile.
379 * buffer.C (setReadOnly): make it work without view
380 (i.e added an if (users))
382 2003-06-19 Angus Leeming <leeming@lyx.org>
385 * LyXAction.C (init):
386 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
387 with LFUN_DIALOG_SHOW <name> <data>.
389 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
391 * CutAndPaste.C (availableSelections): small compilation fix for
392 ancient (gcc 2.9x) compilers
394 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
396 * text3.C (cursorNext): add tmp var
398 * text2.C (updateCounters): for function calling out of for clause
399 (replaceSelectionWithString): ditto
400 (insertStringAsParagraphs): ditto
401 (getColumnNearX): add tmp var
402 (setCursorFromCoordinates): add tmp var
403 (cursorDownParagraph): add tmp var
404 (deleteEmptyParagraphMechanism): add tmp var
406 * text.C (insertChar): add tmp var
408 * rowpainter.C (paintDepthBar): add tmp var
410 * CutAndPaste.C (availableSelections): potentially check all
411 paragraphs in a cut to fill the shown strings.
413 2003-06-18 André Pönitz <poenitz@gmx.net>
415 * kbmap.[Ch]: use vector<> instead of list<>
417 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
419 * text3.C (dispatch): handle arg to LFUN_PASTE, call
420 pasteSelection with index
422 * text2.C (pasteSelection): modify, call pasteSelection with index
424 * paragraph.C (asString): reimplement version with no interval to
425 call the one with interval.
427 * lyxtext.h: add index arg to pasteSelection
429 * MenuBackend.C (MenuItem): handle PasteRecent
430 (Menu::read::Menutags): add md_pasterecent
432 (expandPasteRecent): new function
435 * MenuBackend.h: add PasteRecent to MenuItem::Kind
437 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
439 (availableSelections): new function
441 2003-06-17 Angus Leeming <leeming@lyx.org>
443 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
445 2003-06-17 Angus Leeming <leeming@lyx.org>
448 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
450 * lyxfunc.C (dispatch): invoke it.
452 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
454 * iterators.C (operator++, ParPosition): reintroduce some
455 const_cast for the benefit of older compilers.
457 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
459 * text3.C (dispatch): do not modify clipboard when doing
460 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
461 LFUN_DELETE_SKIP on a selection selection
463 2003-06-16 André Pönitz <poenitz@gmx.net>
469 * tabular.[Ch]: IU of clone() and getLabelList();
471 2003-06-13 André Pönitz <poenitz@gmx.net>
473 * tabular.h: compactification
475 2003-06-12 André Pönitz <poenitz@gmx.net>
479 * tabular_funcs.h: some renaming plus whitespace
481 2003-06-12 André Pönitz <poenitz@gmx.net>
484 * BufferView_pimpl.C:
490 * toc.C: Return a Paragraph & for ParIterator::operator*()
492 2003-06-11 John Levon <levon@movementarian.org>
496 * ToolbarBackend.C: add "Toolbars" section and
499 2003-06-10 Angus Leeming <leeming@lyx.org>
502 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
504 * lyxfunc.C (dispatch): invoke it.
506 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
508 * main.C: protect <ios> with HAVE_IOS
509 (main): protect sync_with_stdio with HAVE_IOS
511 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
513 * text2.C (cutSelection): adjust
514 (pasteSelection): adjust
516 * messages.C: handle get of empty string
518 * main.C (main): use sync_with_stdio(false)
520 * lyxfunc.C (dispatch): adjust
522 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
523 (WriteAs): remove unneeded BufferView arg.
525 * bufferparams.h: use correct types on papersize, papersize2 and
528 * bufferparams.C (readToken): adjust for type
529 (writeLaTeX): add missing cases to switch.
531 * bufferlist.C (quitWriteBuffer): adjust
534 * buffer.C (asciiParagraph): remove some commented code.
536 * CutAndPaste.C: remove current_view extern variable.
537 (cutSelection): add BufferParams arg.
538 (eraseSelection): add BufferParams arg.
539 (pasteSelection): add Buffer const & arg
541 2003-06-07 John Levon <levon@movementarian.org>
549 * paragraph.C: allow InsetERT to freely space lines,
550 and some consolidation of code
552 2003-06-06 José Matos <jamatos@fep.up.pt>
554 * buffer.C (makeDocBookFile): fix bug #821
556 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
558 * BufferView_pimpl.C (dispatch): use Dialogs::visible
560 2003-06-04 Angus Leeming <leeming@lyx.org>
562 * buffer.C: bump format to 224.
564 2003-06-05 André Pönitz <poenitz@gmx.net>
566 * text2.C (redoParagraphs): remove two const_cast<>
568 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
570 * ParagraphList.h: remove last remnants of NO_STD_LIST
572 2003-06-03 Angus Leeming <leeming@lyx.org>
574 * factory.C (createInset): small change to the way InsetExternal's params
577 2003-06-04 André Pönitz <poenitz@gmx.net>
579 * buffer.h: use Undo directly instead of shared_ptr<Undo>
582 * paragraph.[Ch]: some Inset -> UpdatableInset changes
584 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
586 * undo_funcs.C: make some simple cases of undo work again
588 2003-06-03 John Levon <levon@movementarian.org>
590 * ispell.C: HPUX doesn't have sys/select.h
593 2003-06-03 John Levon <levon@movementarian.org>
595 * CutAndPaste.C: update tabular and include inset
600 * paragraph.C: remove owningBuffer(), don't pass Buffer
603 * factory.C: insetGraphicsParams changed
605 2003-06-02 John Levon <levon@movementarian.org>
611 * text3.C: remove insetparent
613 2003-06-02 John Levon <levon@movementarian.org>
616 * buffer.C: fix inset_iterator.end(), move out of line
619 2003-06-01 John Levon <levon@movementarian.org>
621 * text3.C: use a proper cut/paste when doing inset
622 insert (from Jürgen Spitzmüller)
624 2003-06-01 John Levon <levon@movementarian.org>
626 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
628 2003-05-30 André Pönitz <poenitz@gmx.net>
630 * rowpainter.C: unify second drawing phase
632 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
634 * trans_mgr.C: remove one case of current_view
636 * text2.C (cursorBottom): delete NO_STD_LIST stuff
638 * paragraph_funcs.h: remove paragraph.h include
640 * paragraph.h: delete NO_STD_LIST stuff
642 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
644 * buffer.h: remove paragraph.h include
646 * ParagraphList.C: delete file
648 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
650 * toc.C (getTocList): adjust
652 * paragraph_pimpl.C (validate): adjust
654 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
656 * paragraph.C (Paragraph): adjust
657 (getPositionOfInset): use const_iterator, adjust
658 (bibitem): use const_iterator, adjust
659 (setInsetOwner): adjust
661 * iterators.C (operator++): adjust
663 * InsetList.[Ch]: Replace selfmade iterator with standard
664 vector::iterator also introduce const_iterator. Remove getPos,
665 getInset and setInset from InsetTable. Adjust accordingly.
667 * BufferView.C (lockInset): adjust
668 (ChangeInsets): adjust
670 * tabular.[Ch]: delete commented same_id functions
672 2003-05-28 John Levon <levon@movementarian.org>
674 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
676 2003-05-28 André Pönitz <poenitz@gmx.net>
678 * metricsinfo.[Ch]: remove 'fullredraw' member
680 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
682 * lyxtextclass.C (operator): remove caching.
684 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
688 * text2.C (cursorBottom): adjust
689 (setCounter): use ParagraphList::find, adjust
691 * text.C (workWidth): use ParagraphList::find, adjust
693 * lyxcursor.C (LyXCursor): adjust
695 * buffer.C (inset_iterator): adjust
697 * ParagraphList.h: make iterator(value_type) private, make
698 ParagraphList a friend of iterator.
700 * ParagraphList.C (find): new function
702 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
704 2003-05-27 André Pönitz <poenitz@gmx.net>
706 * dimension.[Ch]: a -> asc, d -> des, w -> wid
708 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
710 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
712 2003-05-26 John Levon <levon@movementarian.org>
714 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
716 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
718 * remove same_id from function signatures, adjust.
720 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
722 * undo_funcs.C (createUndo): use the id functions directly, adjust.
724 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
726 * paragraph.C (Paragraph): get rid of same_ids parameter
728 * ParagraphList.C (insert): adjust
731 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
733 * paragraph_funcs.C (breakParagraph): adjust
734 (breakParagraphConservative): adjust
736 * buffer.C (readParagraph): adjust
738 * ParagraphList.C (insert): take a reference instead of a pointer
741 * paragraph.[Ch] (id): new function
743 * bufferlist.C (newFile): adjust
745 * ParagraphList.C (ParagraphList): adjust
747 (push_back): take a reference instead of a pointer.
749 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
751 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
754 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
755 set else use old code.
757 * ParagraphList.C: remove all NO_NEXT code and only compile this
758 code of NO_STD_LIST is set.
760 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
762 * BufferView_pimpl.C:
772 * graphics/GraphicsConverter.C:
773 * graphics/PreviewLoader.C: header adjustment
775 2003-05-23 Angus Leeming <leeming@lyx.org>
777 * LaTeXFeatures.[Ch] (useBabel): new method.
778 * bufferparams.C (writeLaTeX): use it.
780 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
782 * ParagraphList.h (set): remove unused function.
784 2003-05-23 André Pönitz <poenitz@gmx.net>
787 * BufferView_pimpl.C:
791 * undo_funcs.C: setUndo reworked
793 * iterators.[Ch]: add access to topmost ParagraphList
795 * lyxtext.[Ch] (workWidth): add a const
797 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
799 * texrow.[Ch] (increasePos): remove function
800 * exporter.C (export): removed unused var and outdated comment
802 2003-05-23 Angus Leeming <leeming@lyx.org>
804 * latexrunparams.h: rename fragile as moving_arg.
805 * paragraph.C (simpleTeXOnePar): ditto.
806 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
808 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
810 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
812 (textUndoOrRedo): comment out a currently unused var.
814 * paragraph.h (NO_NEXT): enable NO_NEXT
816 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
818 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
820 * exporter.C (Export): adjust for removeAutoInsets removal.
822 * buffer.C (runChktex): adjust for removeAutoInsets removal.
824 * LyXAction.C (init): remove LFUN_REMOVEERRORS
826 * BufferView.[Ch] (removeAutoInsets): delete function
828 2003-05-22 Angus Leeming <leeming@lyx.org>
830 * latexrunparams.h: add a free_spacing variable.
832 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
833 to pass moving_arg, as the data is stored in runparams.fragile.
835 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
836 to Inset::latexOptional or to simpleTeXOnePar.
838 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
839 free_spacing arg to Inset::latexOptional.
841 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
844 2003-05-22 Angus Leeming <leeming@lyx.org>
846 * latexrunparams.h: add fragile and use_babel variables.
848 * bufferparams.[Ch] (writeLaTeX): return use_babel.
849 * buffer.C (makeLaTeXFile): store this returned value in
850 runparams.use_babel, thus passing it to the inset::latex methods.
852 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
853 simpleTeXSpecialChars as it is now stored in runparams.fragile.
855 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
856 longer has a fragile arg, as it is stored in runparams.fragile.
858 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
859 moving_arg parameter as the data is stored in runparams.fragile.
861 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
862 a fragile parameter as the data is stored in runparams.fragile.
864 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
866 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
868 2003-05-22 Angus Leeming <leeming@lyx.org>
870 * latexrunparams.h: add a 'bool nice' which defaults to false.
872 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
873 now encapsulated within runparams.
875 * bufferlist.C (updateIncludedTeXfiles):
876 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
878 2003-05-22 Angus Leeming <leeming@lyx.org>
880 * latexrunparams.h: new file containing struct LatexRunParams.
881 * Makefile.am: add new file.
883 * LaTeX.[Ch] (c-tor, run):
884 * buffer.[Ch] (makeLaTeXFile):
885 * bufferlist.[Ch] (updateIncludedTeXfiles):
886 * converter.C (convert, scanLog):
887 * converter.[Ch] (runLaTeX):
888 * exporter.C (Export):
889 * paragraph.[Ch] (simpleTeXOnePar):
890 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
891 * paragraph_funcs.[Ch] (latexParagraphs):
892 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
893 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
894 pass around a LatexRunParams parameter.
896 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
898 * paragraph.[Ch]: remove unused constructor
900 * ParagraphList.C (erase): new function, taking two iterators
902 2003-05-22 André Pönitz <poenitz@gmx.net>
904 * undo_funcs.C: remove duplicated code
906 * iterator.[Ch]: operator=
908 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
910 * tabular.C (SetMultiColumn): ws changes
912 * rowpainter.C (paintFirst): get rid of a ->previous
914 * lyx_cb.C (getPossibleLabel): parlist simplification
916 * BufferView.C (ChangeInsets): simplify slightly.
918 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
920 * LyXAction.C: new lfun space-insert, kill protected-space-insert
921 * lfuns.h: new LFUN_SPACE
922 * lyxfunc.C: protected space has a new lfun
923 * paragraph_funcs.C: read new space insets
925 * factory.C: handle new space insets
927 2003-05-22 André Pönitz <poenitz@gmx.net>
930 * BufferView_pimpl.C:
933 * undo_funcs.C: return a ParIterator from getParFromID.
935 * iterators.[Ch]: add two const's
937 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
939 * toc.C (getTocList): adjust
941 * iterators.[Ch]: rework for parlist
943 * buffer.C (par_iterator_begin): adjust
944 (par_iterator_end): adjust
946 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
948 * BufferView.C (removeAutoInsets): adjust
949 (ChangeInsets): adjust
951 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
953 * text.C (top_y): fix bug 1110
955 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
957 * errorlist.[Ch]: added
960 * BufferView_pimpl.C:
961 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
964 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
966 * Makefile.am: ensure that lyx is relinked upon changes to the
967 various "convenience" libs.
969 2003-05-20 Angus Leeming <leeming@lyx.org>
971 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
972 files are compiled in alphabetical order again.
974 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
976 2003-05-19 Angus Leeming <leeming@lyx.org>
978 * gettext.[Ch]: remove "char const * _(char const *)".
980 2003-05-19 André Pönitz <poenitz@gmx.net>
982 * dimension.[Ch]: promote from mathed/dimension.[Ch]
991 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
993 2003-05-19 André Pönitz <poenitz@gmx.net>
999 * paragraph_funcs.[Ch]:
1001 * text3.C: more insetenv work
1003 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1005 * ParagraphParameters.C (params2string): small bug fixed
1007 2003-05-16 André Pönitz <poenitz@gmx.net>
1010 * bufferview_funcs.C: patch from Kornel Benko to prevent
1011 crash when _(...) is called twice in a statement
1013 2003-05-16 André Pönitz <poenitz@gmx.net>
1020 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1022 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1024 * lyx_main.C (init): remove spurious static_cast
1026 2003-05-14 André Pönitz <poenitz@gmx.net>
1028 * BufferView.C: fix format string
1030 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1032 * BufferView.[Ch] (insertErrors): removed
1033 * BufferView.[Ch] (showErrorList): added
1034 * buffer.C (runChkTeX):
1035 * converter.C (scanLog): call showErrorList instead of inserterrors
1037 2003-05-13 André Pönitz <poenitz@gmx.net>
1039 * BufferView_pimpl.C:
1041 * bufferview_func.C:
1048 * tabular_funcs.h: tostr() from its own header
1050 * ParagraphParameters.C:
1055 * text3.C: STRCONV()
1057 2003-05-12 André Pönitz <poenitz@gmx.net>
1060 * BufferView_pimpl.C:
1064 * ParagraphParameters.C:
1068 * bufferview_funcs.C:
1081 * paragraph_funcs.C:
1085 * text3.C: boost::format -> bformat all over the place
1088 2003-05-09 André Pönitz <poenitz@gmx.net>
1090 * LColor.[Ch]: Pimpl the #include <map> away
1092 2003-05-09 John Levon <levon@movementarian.org>
1094 * bufferlist.C: never remove emergency saves
1096 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1098 * Makefile.am: better lib building
1100 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1102 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1104 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1105 (simpleTeXSpecialChars): adjust
1106 (simpleTeXSpecialChars): adjust
1107 * paragraph.C (simpleTeXOnePar): adjust
1108 * buffer.C (makeLaTeXFile): adjust
1110 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1112 * text2.C (changeDepth): parlist cleanup
1113 (getColumnNearX): ditto
1115 * rowpainter.C (getLabelFont): parlist cleanup
1117 * bufferlist.C (newFile): parlist cleanup
1119 * CutAndPaste.C (eraseSelection): parlist cleanup
1121 * BufferView_pimpl.C (trackChanges): parlist cleanup
1124 * BufferView.C (lockInset): parlist cleanup.
1125 (ChangeInsets): ditto
1127 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1129 * CutAndPaste.h: Update file header.
1131 * CutAndPaste.C: Update file header.
1132 Store the parts cut out of the Document in a limited_stack.
1133 (copySelection): adjust
1134 (pasteSelection): new function, takes the index in the limited stack.
1135 (nrOfParagraphs): adjust
1136 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1137 simplify error inset insertion.
1138 (checkPastePossible): adjust
1140 2003-05-06 John Levon <levon@movementarian.org>
1142 * text2.C: don't cast wrap inset to float
1144 2003-05-05 André Pönitz <poenitz@gmx.net>
1147 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1149 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1150 few naked Paragraph *.
1152 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1154 * bufferparams.C: Output warning if a document with missing
1155 TeX document class is loaded
1156 * exporter.C: Disable TeX exports if the document class is missing
1159 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1160 isTeXClassAvailable()
1162 2003-05-03 John Levon <levon@movementarian.org>
1165 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1166 explicit cursor show/hide
1168 * BufferView_pimpl.h:
1169 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1170 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1172 * lyxfunc.C: hide cursor before dispatching.
1177 * text3.C: remove explicit cursor hides
1179 2003-05-02 André Pönitz <poenitz@gmx.net>
1181 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1184 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1187 * text2.C: tiny whitespace
1189 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1191 * undo_funcs.C: almost only ws changes.
1193 * ParagraphList.C (splice): just return if pl is empty.
1195 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1197 * ParagraphList.C (splice): new function.
1199 * CutAndPaste.C (pasteSelection): use it
1201 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1203 * CutAndPaste.C (pasteSelection): remove the last next and
1204 previous from this file.
1206 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1208 * CutAndPaste.C (pasteSelection): more clean up, user proper
1209 ParagraphList functions for pasteing.
1211 * ParagraphList.C (insert): new function, three arg insert
1213 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1215 * ParagraphList.C (insert): new function, three arg insert
1217 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1220 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1222 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1224 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1226 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1228 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1230 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1231 (copySelection): clean up a bit.
1232 (pasteSelection): use make_pair
1234 * ParagraphList.C (ParagraphList): implement copy constructor
1235 (operator=): implement, base on copy constructor.
1238 * paragraph.C (erase): return a bool
1240 * paragraph_pimpl.C (erasePos): remove function, move contents...
1241 (erase): ... here. Return a bool.
1242 (erase): call erase instead of erasePos.
1244 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1246 * ParagraphList.h: define PitPosPair
1247 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1248 ParagraphList, fix a bug on pasting multiple pars
1249 * text2.C: change interface to C&P
1251 2003-04-30 André Pönitz <poenitz@gmx.net>
1253 * undo_func.C: revert part of yesterday's patch 2
1255 2003-04-30 John Levon <levon@movementarian.org>
1257 * LColor.C: s/tabular/table/
1259 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1261 * text3.C (dispatch): do not convert iterator -> pointer
1262 * undo_funcs.C (setCursorParUndo): ditto
1263 * text_funcs.C (transposeChars): ditto
1265 * text2.C (setLayout): ws changes only
1267 * text.C (breakParagraph): do not convert iterator -> pointer
1269 (acceptChange): ditto
1270 (rejectChange): ditto
1275 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1278 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1280 * text3.C (gotoInset): YABG (yet another bad getChar)
1282 2003-04-29 André Pönitz <poenitz@gmx.net>
1284 * paragraph.h: make operator= private unimplemented as long as
1287 * ParagraphList.C: whitespace
1290 * paragraph_pimpl.[Ch]:
1291 * paragraph_funcs.C:
1293 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1296 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1298 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1300 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1301 * paragraph.[Ch] (erase):
1302 * paragraph_pimpl.[Ch] (erase): change return type and value
1303 * text2.C (cutSelection): some rework
1305 2003-04-28 John Levon <levon@movementarian.org>
1307 * bufferlist.C: changes for unsaved changes dialog
1309 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1311 * bufferlist.C (newFile): set language (messages_) for new
1314 * buffer.C (readFile): ws changes only.
1316 2003-04-28 André Pönitz <poenitz@gmx.net>
1321 * BufferView_pimpl.C:
1322 * BufferView.C: getParFromID related ParagraphList::iterator changes
1324 2003-04-28 André Pönitz <poenitz@gmx.net>
1326 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1329 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1331 * messages.C: remove one more localedir class variable.
1333 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1335 * messages.C (getLocaleDir): singleton generation function
1337 (Messages): add a default constructor.
1339 * main.C (main): do not setup localedir here, do not call
1342 * gettext.C (_): use it.
1343 (gettext_init): delete funciton
1345 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1347 * gettext.C (getLyXMessages): new singleton generating function.
1349 * buffer.C (updateDocLang): adjust
1351 * Makefile.am (messages.o): add target
1352 (main.o): remove target
1354 2003-04-27 John Levon <levon@movementarian.org>
1359 * lyxvc.C: specify cancel button in Alert::prompt
1361 2003-04-26 John Levon <levon@movementarian.org>
1366 * LyXAction.C: add LFUN_INSET_SETTINGS
1368 * lyxfunc.C: don't enable tabular-feature when there's
1369 just any locking inset
1371 2003-04-26 John Levon <levon@movementarian.org>
1373 * bufferlist.C: re-add Cancel to buffer close question
1375 * lyxfunc.C: fix import UI a bit
1377 2003-04-25 John Levon <levon@movementarian.org>
1379 * gettext.C: remove the broken asserts for now
1381 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1383 * messages.C: make case where setlocale cannot comply work better.
1385 * buffer.C (updateDocLang): new function
1386 (changeLanguage): use it
1389 * text2.C (setCounter): use B_ a bit.
1391 * lyxlayout.C (Read): be sure to trim the label strings.
1393 * messages.C (Messages): fix typo in comment
1395 * buffer.C (readFile): set message_ after file is loaded.
1396 (makeDocBookFile): remove double return
1397 (changeLanguage): reset message_ upon language change.
1398 (B_): new func, use this to get translated buffer strings.
1400 * main.C: add myself and Jean Marc as authors.
1402 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1404 * messages.[hC]: pimplify Messages, and three different pimpls to be
1405 used in different circumstances.
1407 * gettext.[Ch]: change for use with new message code.
1409 2003-04-24 André Pönitz <poenitz@gmx.net>
1411 * factory.C: support for eqref
1413 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1415 * messages.[Ch]: add missing char
1417 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1419 * messages.[Ch]: New files
1421 2003-04-18 John Levon <levon@movementarian.org>
1425 * BufferView_pimpl.C:
1429 * text2.C: remove layout-copy/paste (bug 778)
1431 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1433 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1435 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1437 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1438 if they succeed. Act accordingly.
1440 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1442 * text2.C (setCharFont): adjust
1443 (setCounter): adjust
1444 (insertStringAsLines): adjust
1446 * text.C (leftMargin): adjust
1447 (setHeightOfRow): adjust
1449 * rowpainter.C (paintFirst): adjust
1452 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1454 (isFirstInSequence): ditto
1455 (getEndLabel): ditto
1458 * paragraph.C (getParLanguage): comment out some hard stuff.
1460 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1462 (simpleDocBookOnePar): ditto
1463 (makeDocBookFile): use ParagraphList::iterator
1465 * CutAndPaste.C (pasteSelection): adjust
1467 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1469 * text2.C (getFont): adjust
1470 (getLayoutFont): adjust
1471 (getLabelFont): adjust
1473 * paragraph_funcs.C (TeXOnePar): adjust
1475 * buffer.C (simpleLinuxDocOnePar): adjust
1476 (simpleDocBookOnePar): adjust
1478 * CutAndPaste.C (pasteSelection): adjust
1480 * BufferView.C (getEncoding): adjust
1482 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1484 2003-04-16 John Levon <levon@movementarian.org>
1486 * lyxfind.C: use parlist stuff for search/changes
1488 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1490 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1492 * text2.C (deleteEmptyParagraphMechanism): adjust
1494 * text2.[Ch] (ownerParagraph): delete func (both of them
1496 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1498 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1500 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1502 * ParagraphList.C: prepare for NO_NEXT
1504 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1506 * text2.C (getFont): adjust
1507 (getLayoutFont): adjust
1508 (getLabelFont): adjust
1510 * paragraph.C (getFont): adjust
1511 (getLabelFont): adjust
1512 (getLayoutFont): adjust
1514 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1516 2003-04-15 John Levon <levon@movementarian.org>
1520 * lyx_main.C: handle Include in .ui files
1522 2003-04-15 John Levon <levon@movementarian.org>
1524 * MenuBackend.C: make the doc files length shorter
1527 * ToolbarBackend.C: handle toolbar placement flags,
1530 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1532 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1535 * paragraph_funcs.C (TeXOnePar): adjust
1537 * paragraph.C (getLabelFont): add outerfont arg, adjust
1538 (getLayoutFont): ditto
1539 (simpleTeXOnePar): adjust
1541 * paragraph_pimpl.C (realizeFont): delete func
1543 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1545 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1546 row argument, constify cur argument.
1548 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1550 * text2.C (getFont): adjust
1551 (getLayoutFont): adjust
1552 (getLabelFont): adjust
1554 * paragraph_funcs.C (TeXOnePar): adjust
1555 (outerFont): new func...
1556 (realizeFont): ...moved out from here, changed this to facilitate
1559 * paragraph.C (getFont): take outerfont as arg, adjust
1560 (simpleTeXOnePar): add outerfont arg, adjust
1562 * buffer.C (simpleLinuxDocOnePar): adjust
1563 (simpleDocBookOnePar): adjust
1565 * CutAndPaste.C (pasteSelection): adjust
1567 * BufferView.C (getEncoding): adjust
1569 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1571 * text2.C (setCharFont): adjust
1572 (setCounter): adjust
1574 * text.C (leftMargin): adjust
1575 (setHeightOfRow): adjust
1577 * rowpainter.C (paintFirst): adjust
1580 * paragraph_pimpl.C (realizeFont): adjust
1582 * paragraph.C (isFirstInSequence): move from here...
1583 * paragraph_funcs.C (isFirstInSequence): ...to here
1585 * paragraph.C (outerHook): move from here...
1586 * paragraph_funcs.C (outerHook): ...to here
1588 * paragraph.C (depthHook): move from here...
1589 * paragraph_funcs.C (depthHook): ...to here
1591 * paragraph.C (getEndLabel): move from here...
1592 * paragraph_funcs.C (getEndLabel): ...to here
1594 * text2.C (realizeFont): move from here...
1595 * paragraph_funcs.C (realizeFont): ...to here
1597 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1599 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1601 2003-04-14 Angus Leeming <leeming@lyx.org>
1603 * LColor.[Ch]: scrap LColor mathcursor.
1605 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1607 * lyxlex.[Ch] (text): delete function
1608 * trans.C (Load): adjust
1609 * paragraph_funcs.C (readParToken): adjust
1611 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1613 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1614 vector<char> instead of a char[].
1616 * lyxlex_pimpl.C (getString): adjust
1618 (lex): use getString
1622 * lyxlex.C (text): use pimpl_->getString()
1626 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1628 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1629 (makeFontEntriesLayoutSpecific): temp var for par.size()
1630 (setLayout): temp var for ownerParagraphs().end()
1631 (fullRebreak): temp var for rows().end()
1632 (selectionAsString): temp var for boost::next(startpit), realize
1633 that the while really is a regular for loop.
1634 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1635 setCursor in one place.
1636 (setParagraph): temp vr for ownerParagraphs().end()
1637 (updateCounters): make the while loop a for loop
1638 (cutSelection): temp var for ownerParagraphs().end()
1639 (updateInset): make the do {} while() a regular for loop
1640 (getCursorX): use temp vars
1641 (setCurrentFont): use temp vars
1642 (getColumnNearX): use temp vars
1644 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1646 * text.C (transformChar): use temp var for getChar
1647 (computeBidiTables): use temp var for row->par()
1648 (fill): move temp vars for row->par() and pit->layout() earlier in
1650 (labelFill): use temp var for row->par()
1651 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1652 asc and desc, realize that pit never changes and that firstpit is
1653 just a duplicate and not needed. Exchange rit->par() with pit in a
1655 (breakAgain): use a temp var for boost::next(rit)
1656 (breakAgainOneRow): ditto
1657 (breakParagraph): use a temp var for rows().begin()
1658 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1659 (cursorRightOneWord): use temp var for cursor.par() and
1660 cursor.pos(), remove usage of tmpcursor.
1661 (cursorLeftOneWord): use temp var for cursor.par() and
1662 cursor.pos() only set cur at end of function.
1664 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1666 * text.C, text2.C: exchange all usage of Paragraph::next with
1667 boost::next(ParagraphList::iterator)
1669 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1671 * text2.C (cursorTop): simplify implementation
1672 (cursorBottom): ditto
1673 (setParagraph): use ParagraphList::iterator
1674 (setCurrentFont): adjust
1675 (getColumnNearX): adjust
1676 (cursorRight): adjust
1677 (cursorLeft): remove usage of Paragraph::previous
1678 (cursorUpParagraph): ditto
1679 (deleteEmptyParagraphMechanism): slight cleanup
1681 * text.C (isBoundary): take a Paragraph const & instead of a
1683 (addressBreakPoint): ditto
1684 (leftMargin): remove usage of Paragraph::previous.
1685 (setHeightOfRow): ditto
1686 (cursorLeftOneWord): ditto
1687 (selectNextWordToSpellcheck): ditto
1690 (breakParagraph): remove one usage of Paragraph::next
1691 (redoParagraph): ditto
1692 (acceptChange): ditto
1693 (insertChar): adjust
1694 (rowBreakPoint): adjust
1696 * bufferview_funcs.C (toggleAndShow): adjust
1698 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1700 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1701 methods to access it.
1703 * text.C: Added updateRowPositions to compute all row positions.
1704 Make top_y and getRowNearY() to use the cached y position
1706 2003-04-11 John Levon <levon@movementarian.org>
1708 * text.C (rowBreakPoint): reintroduce the labelEnd
1709 checks, code copied from the row fill stuff. Deep voodoo.
1711 * text.C (fill): add a comment and debugging for the
1714 2003-04-11 John Levon <levon@movementarian.org>
1716 * text.C: make sure fullrow insets get wrapped to the next line,
1717 even when they're in a manual label
1719 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1721 * text2.C (insertParagraph): make it take ParagraphList::iterator
1723 (setLayout): make it return ParagraphList::iterator
1724 (redoParagraphs): ditto
1726 (checkParagraph): ditto
1728 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1730 * text2.C: adjust several funcs.
1731 (realizeFont): take a ParagraphList::iterator as arg.
1732 (getLayoutFont): ditto
1733 (getLabelFont): ditto
1734 (setCharFont): ditto
1736 * text.C: adjust several funcs.
1738 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1740 * text.C (selectNextWordToSpellcheck): don't accidentally
1743 2003-04-10 John Levon <levon@movementarian.org>
1745 * ToolbarBackend.C (getIcon): special handling for
1748 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1750 * text2.C (cursorRight): a getChar assert fixed
1752 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1754 * text2.C (getFont): change to take a ParagraphList::iterator
1755 instead of Paragraph*
1756 Adjust several functions.
1758 * text.C (transformChar): change to take a ParagraphList::iterator
1759 instead of Paragraph*
1760 (singleWidth): ditto
1761 Adjust several functions.
1763 * rowpainter.C: adjust several functions
1764 * rowpainter.h:store a ParagraphList::iterator and not a
1768 2003-04-09 John Levon <levon@movementarian.org>
1773 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1774 and the "help" bits as well
1776 2003-04-09 John Levon <levon@movementarian.org>
1779 * ToolbarBackend.C: allow multiple toolbars
1781 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1783 * undo_funcs.C (setCursorParUndo): adjust
1785 * text_funcs.C (transposeChars): adjust
1787 * text3.C (gotoNextInset): adjust
1790 * text2.C (setLayout): adjust
1791 (changeDepth): adjust
1793 (redoParagraphs): adjust
1794 (selectionAsString): adjust
1795 (setParagraph): adjust
1796 (insertInset): adjust
1797 (cutSelection): adjust
1798 (copySelection): adjust
1799 (pasteSelection): adjust
1800 (insertStringAsLines): adjust
1801 (updateInset): adjust
1802 (setCursor): change to take a ParagraphList::iterator parameter
1803 (setCursorIntern): change to take a ParagraphList::iterator parameter
1804 (setCurrentFont): adjust
1805 (cursorLeft): adjust
1806 (cursorRight): adjust
1807 (deleteEmptyParagraphMechanism): adjust
1809 * text.C (breakParagraph): adjust
1810 (insertChar): adjust
1811 (acceptChange): adjust
1812 (rejectChange): adjust
1813 (selectNextWordToSpellcheck): adjust
1814 (changeCase): adjust
1818 * lyxfind.C (SearchForward): adjust
1819 (SearchBackward): adjust
1820 (nextChange): adjust
1822 * lyxcursor.C (par): adjust
1824 * lyxcursor.h: store a ParagraphList::iterator instead of a
1827 * lyx_cb.C (getPossibleLabel): adjust
1829 * bufferview_funcs.C (toggleAndShow): adjust
1831 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1834 * BufferView.C (removeAutoInsets): adjust
1835 (lockedInsetStoreUndo): adjust
1837 2003-04-09 John Levon <levon@movementarian.org>
1839 * ToolbarBackend.C: try icon without argument
1840 if with argument fails
1842 2003-04-08 John Levon <levon@movementarian.org>
1845 * ToolbarBackend.C: add getIcon(), handle tooltip,
1846 and change from "Icon" to "Item".
1848 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1850 * BufferView.C (lockInset): another bad getchar crunched
1852 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1854 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1857 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1859 * lyxfind.C (searchForward, searchBackwards): bug 782
1861 2003-04-07 John Levon <levon@movementarian.org>
1863 * paragraph.C: remove dead comment
1865 * text.C: remove troublesome depth-fiddling code
1866 in leftMargin() and rightMargin() (bug 1017)
1868 * text.C: fix breaking of rows in nested lists
1871 * text2.C (updateCounters): fix up depth values
1874 2003-04-07 John Levon <levon@movementarian.org>
1876 * BufferView_pimpl.C: clear message when doc finishes resizing,
1877 and after a mouse event
1879 * lyxfunc.C: clear message after exiting inset
1881 2003-04-07 John Levon <levon@movementarian.org>
1883 * bufferview_funcs.C: show math status not outside
1884 status in the statusbar
1886 2003-04-07 John Levon <levon@movementarian.org>
1888 * lyxfunc.C: note status changed after a depth change
1890 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1892 * LaTeX.h: move AuxInfo operator==, != out of line.
1893 Remove LaTeX virtual destructor; nothing derives from it.
1894 Move operator()() out of public area and rename it startscript().
1895 Change protected for private.
1897 2003-04-04 Angus Leeming <leeming@lyx.org>
1900 * text2.C: remove unneeded #includes.
1902 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1904 * text2.C (dEPM): fix the heigth of the next row
1906 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1908 * text.C: squashed an invalid getChar requester + some ws changes
1910 2003-04-03 John Levon <levon@movementarian.org>
1912 * bufferview_funcs.h:
1913 * bufferview_funcs.C:
1916 * text2.C: make getStatus work for the env depth lfuns
1918 2003-04-03 John Levon <levon@movementarian.org>
1920 * bufferview_funcs.h:
1921 * bufferview_funcs.C:
1924 * text2.C: parlistize decDepth(), by merging it with incDepth()
1926 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1928 * lyxrow.h: store a ParagraphList::iterator instead of a
1929 Paragraph* and adjust other class functions to suit.
1931 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1934 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1936 * text2.C (setCursor): do not anchor to cursor row for the time being
1938 2003-04-02 John Levon <levon@movementarian.org>
1945 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1947 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1949 * paragraph.h: make ParagraphList and ParagraphList::iterator
1950 friends of Paragraph.
1952 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1954 * ParagraphList.C: Use the private next_ and previous_ from
1957 2003-04-01 John Levon <levon@movementarian.org>
1961 * Makefile.am: rename, remove defaults gunk
1964 * MenuBackend.C: remove defaults gunk
1967 * Languages.C: remove defaults gunk
1970 * lyx_main.C: error out if files couldn't be found.
1972 2003-04-02 John Levon <levon@movementarian.org>
1974 * text2.C: make incDepth() use parlist
1976 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1978 * undo_funcs.C (firstUndoParagraph): adjust
1980 * text3.C (gotoInset): adjust
1981 (dispatch): adjust, and rewrite loop.
1983 * text2.C (init): adjust, and rewrite loop.
1984 (redoParagraphs): adjust
1985 (updateInset): adjust, and rewrite loop.
1986 (deleteEmptyParagraphMechanism): adjust
1988 * tabular.C (LyXTabular): adjust
1989 (SetMultiColumn): adjust
1992 * lyxtext.[Ch] (ownerParagraph): delete function
1993 (ownerParagraphs): new function returns a ParagraphList.
1995 * BufferView.C (removeAutoInsets): adjust
1996 (insertErrors): adjust
1997 (setCursorFromRow): adjust
1999 2003-04-01 Angus Leeming <leeming@lyx.org>
2001 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2004 2003-04-02 John Levon <levon@movementarian.org>
2010 * text_funcs.C: make transposeChars a free function
2012 * lyxrow_funcs.C: remove wrong comment
2014 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2017 * rowpainter.C: adjust
2022 * lyxrow_funcs. [Ch]: new files
2024 * lyxrow.[Ch]: remove next and previous pointers
2025 (next,previous): remove accessor functions
2026 (isParEnd): move to lyxrow_funcs
2027 (lastPos): move to lyxrow_funcs
2028 (nextRowIsAllInset): move to lyxrow_funcs
2029 (lastPrintablePos): move to lyxrow_funcs
2030 (numberOfSeparators): move to lyxrow_funcs
2031 (numberOfHfills): move to lyxrow_funcs
2032 (numberOfLabelHfills): move to lyxrow_funcs
2033 (hfillExpansion): move to lyxrow_funcs
2037 * bufferview_funcs.C (toggleAndShow): adjust
2039 * RowList.h: Remove class RowList from file leave just a
2042 * RowList.C: delete file
2044 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2047 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2049 * text3.C (cursorPrevious): adjust
2050 (cursorNext): adjust
2053 * text2.C (redoHeightOfParagraph): adjust
2054 (redoDrawingOfParagraph): adjust
2057 * text.C (breakParagraph): adjust
2058 (insertChar): adjust
2061 * rowpainter.C (RowPainter): adjust
2062 (leftMargin): simplify and adjust
2063 (most rowpainter functions): adjust.
2065 * rowpainter.h: store the row as RowList::iterator not as Row*
2067 * lyxcursor.C (row): taka RowList::iterator as arg
2070 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2073 2003-04-01 Angus Leeming <leeming@lyx.org>
2075 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2076 stuff like bool Bool.
2078 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2080 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2083 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2085 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2088 * lyxtext.h (rows): drop one version and leve a const variant that
2089 returns a RowList::iterator.
2091 2003-03-31 Angus Leeming <leeming@lyx.org>
2093 * text.C (fill): ensure that the signature is the same as that in the
2096 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2098 * text2.C (redoParagraphs): adjust
2099 (updateCounters): adjust
2100 (checkParagraph): adjust
2101 (getColumnNearX): adjust and reformat a bit.
2103 * text.C (top_y): adjust
2105 (leftMargin): adjust
2106 (prepareToPrint): adjust
2108 (getRowNearY): adjust
2110 * lyxtext.h: make rowlist_ mutable.
2112 * RowList.h: add const_iterator
2113 * RowList.C: adjust for RowList::const_iterator.
2115 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2118 2003-03-31 John Levon <levon@movementarian.org>
2121 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2123 * lyx_main.C: set default fonts from using lyx_gui funcs
2125 * exporter.C: pdf_mode moved from lyxrc
2128 * lyxfunc.C: changes from above
2130 2003-03-31 John Levon <levon@movementarian.org>
2132 * lyx_main.C: fix to the last fix
2134 2003-03-31 John Levon <levon@movementarian.org>
2136 * bufferlist.C: "Load original" -> "Load Original"
2142 * format.C: more Alert cleanups
2144 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2146 * text2.C (removeParagraph): make it take a RowList::iterator as
2148 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2149 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2151 * text.C (anchor_row): make it take a RowList::iterator as arg,
2153 (computeBidiTables): make it take a const reference to Row instead
2154 of Row pointer, adjust.
2155 (leftMargin): make it take a RowList::iterator as arg, adjust.
2156 (rowBreakPoint): adjust
2157 (breakAgainOneRow): make it take a RowList::iterator as arg,
2159 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2161 * bufferview_funcs.C (toggleAndShow): adjust
2163 2003-03-30 John Levon <levon@movementarian.org>
2167 * boost-inst.C: moved to support
2169 * several files: changes as a result
2171 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2173 * text2.C (LyXText): adjust.
2175 (removeRow): make it take a RowList::iterator as arg, adjust.
2176 (fullRebreak): adjust
2177 (deleteEmptyParagraphMechanism): adjust
2178 (clearPaint): adjust
2181 * text.C (top_y): adjust
2182 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2183 (breakAgain): make it take a RowList::iterator as arg, adjust.
2184 (breakParagraph): adjust
2185 (insertChar): adjust
2188 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2189 need_break_row, and refresh_row.
2191 * text3.C (dispatch): adjust
2193 * text2.C (checkParagraph): adjust
2195 (setCursorFromCoordinates): adjust
2197 * text.C (top_y): adjust
2199 (getRow): make it return a RowList::iterator, adjust
2200 (getRowNearY): make it return a RowList::iterator, adjust
2202 * text2.C (init): adjust
2203 (insertRow): remove function
2204 (insertParagraph): adjust
2205 (redoParagraphs): adjust
2206 (fullRebreak): adjust
2207 (updateCounters): adjust
2209 * text.C (top_y): rewrite to use RowList iterators.
2211 (setHeightOfRow): rewrite to sue RowList iterators.
2212 (appendParagraph): adjust
2213 (breakAgain): adjust
2214 (breakAgainOneRow): adjust
2215 (breakParagraph): adjust
2217 (getRowNearY): adjust, and remove commented code.
2219 * lyxtext.h (firstRow): delete function
2220 (lastRow): delete function
2221 (rows): new function (const and non-const versions.)
2222 (insertRow): delete function
2224 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2226 2003-03-29 John Levon <levon@movementarian.org>
2228 * BufferView_pimpl.C: always update scrollbar top
2229 because pasting text when we're anchored could mean we
2230 miss an update altogether
2232 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2234 * text2.C (init): use rowlist_.end() and not 0.
2235 (insertRow): change to take a RowList::iterator as arg, adjust
2237 (insertParagraph): change to take a RowList::iterator as arg,
2239 (redoParagraphs): remove some debug msgs.
2241 * text.C (appendParagraph): change to take a RowList::iterator
2242 arg, adjust for this.
2243 (breakAgain): add an assert
2244 (breakAgainOneRow): ditto
2246 2003-03-29 John Levon <levon@movementarian.org>
2248 * text2.C: do not clear selection after inc/decDepth
2251 2003-03-29 John Levon <levon@movementarian.org>
2254 * buffer.C: fix broken strerrors according to Lars
2256 2003-03-29 John Levon <levon@movementarian.org>
2258 * converters.C: more Alert cleanups
2260 2003-03-29 John Levon <levon@movementarian.org>
2262 * bufferview_funcs.C: remove pointless Alert
2264 * buffer.C: fix confusing error message when
2265 a template is chmoded 000
2267 2003-03-29 John Levon <levon@movementarian.org>
2271 * BufferView_pimpl.C: Alert fixes
2275 * tabular-old.C: remove unused table compat reading
2277 2003-03-29 John Levon <levon@movementarian.org>
2282 * lyx_cb.C: more Alert cleanups
2284 * lyxfunc.C: don't allow chktex if not latex document
2286 2003-03-29 John Levon <levon@movementarian.org>
2290 * buffer.C: warnings pushed down from support/,
2293 2003-03-29 John Levon <levon@movementarian.org>
2295 * lyxfunc.C: safety check for C-r (revert)
2297 2003-03-29 John Levon <levon@movementarian.org>
2300 * bufferlist.C: several UI fixes using Alert::prompt.
2301 Fix the pointless looping quit code. Fix stupid revert
2306 * lyx_cb.C: use Alert::prompt
2308 * lyx_main.C: remove a silly question
2310 * lyxfunc.C: remove a couple of silly questions,
2313 2003-03-28 John Levon <levon@movementarian.org>
2315 * text2.C: fix bug 974 (End on empty par)
2317 2003-03-28 John Levon <levon@movementarian.org>
2319 * BufferView_pimpl.C:
2321 * lfuns.h: remove do-nothing math greek lfuns
2323 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2325 * lyxgluelength.h (isValidGlueLength): add default arg on
2326 parameter 2. Remove default arg from friend in class.
2328 * lyxlength.h (isValidLength): add default arg on parameter 2.
2329 Remove default arg from friend in class.
2331 * text2.C (LyXText): adjust, initialize refresh_row.
2335 (insertParagraph): adjst
2336 (redoParagraphs): adjust
2337 (fullRebreak): adjust
2338 (updateCounters): adjust
2339 (deleteEmptyParagraphMechanism): first attempt at fixing a
2342 * text.C (top_y): adjust
2343 (setHeightOfRow): adjust
2345 (getRowNearY): adjust
2347 * lyxtext.h: include RowList.h
2348 (~LyXText): not needed anymore, deleted.
2349 (firstRow): modify for RowList
2350 (lastRow): new function
2351 Delete firstrow and lastrow class variables, add a Rowlist
2352 rowlist_ class variable.
2354 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2357 * RowList.C (insert): fix case where it == begin().
2359 2003-03-26 Angus Leeming <leeming@lyx.org>
2361 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2362 the thesaurus dialog.
2364 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2366 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2368 * RowList.[Ch]: new files
2370 * ParagraphList.C (erase): handle the case where it == begin
2373 2003-03-25 John Levon <levon@movementarian.org>
2377 * aspell.C: add new aspell support
2380 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2383 2003-03-25 Angus Leeming <leeming@lyx.org>
2386 * LyXAction.C (init): new LFUN_INSET_INSERT.
2388 * BufferView_pimpl.C (dispatch): split out part of the
2389 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2391 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2394 2003-03-25 Angus Leeming <leeming@lyx.org>
2396 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2398 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2401 * text3.C: remove useless row->height(0)
2403 2003-03-25 John Levon <levon@movementarian.org>
2407 * text3.C: rename the refreshing stuff to better names
2409 2003-03-24 John Levon <levon@movementarian.org>
2411 * BufferView_pimpl.h:
2412 * BufferView_pimpl.C: update layout choice on a mouse
2415 2003-03-23 John Levon <levon@movementarian.org>
2417 * Makefile.am: fix commandtags.h reference
2419 2003-03-22 John Levon <levon@movementarian.org>
2421 * BufferView_pimpl.C:
2426 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2428 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2431 * text.C: take the rtl methods out of line
2433 2003-03-21 André Pönitz <poenitz@gmx.net>
2435 * metricsinfo.[Ch]: new files containing structures to be passed around
2436 during the two-phase-drawing...
2438 2003-03-21 André Pönitz <poenitz@gmx.net>
2440 * lyxtextclass.C: read 'environment' tag.
2442 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2444 * text2.C (removeRow): fix bug 964
2446 2003-03-20 John Levon <levon@movementarian.org>
2450 * text2.C: paint cleanups. Inset::update() dropped font
2453 2003-03-19 John Levon <levon@movementarian.org>
2455 * lyxfunc.C: only fitcursor/markDirty if available()
2457 2003-03-19 John Levon <levon@movementarian.org>
2459 * commandtags.h: rename to ...
2461 * lfuns.h: ... this, and renumber / cleanup
2463 2003-03-19 John Levon <levon@movementarian.org>
2465 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2466 fit the cursor after an lfun
2470 * BufferView_pimpl.h:
2471 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2473 * LyXAction.C: layout-character should have ReadOnly
2475 * ParagraphParameters.C:
2477 * bufferview_funcs.C:
2484 * undo_funcs.C: changes from above
2486 2003-03-18 John Levon <levon@movementarian.org>
2488 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2489 remove it from update()
2491 * lyxfunc.C: update layout choice after an lfun
2493 * text3.C: remove extra updateLayoutChoice()s
2495 2003-03-18 John Levon <levon@movementarian.org>
2497 * text.C: top_y change means full repaint, fix
2498 a drawing bug with cursor movement
2500 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2504 * text2.C: anchor row on setCursor
2506 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2508 * lyxtext.h: remove almost all mutable keywords
2511 * text3.C: remove const keywords accordingly
2513 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2515 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2517 (TeXEnvironment): ditto
2520 2003-03-17 John Levon <levon@movementarian.org>
2522 * text.C (rowBreakPoint): remove attempt to fix displayed
2523 math insets inside a manual label
2525 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2527 * lyxtext.h: remove BufferView* as first arg from almost all class
2529 * other files: adjust.
2531 2003-03-17 John Levon <levon@movementarian.org>
2535 * text2.C: more paint cleanups
2537 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2540 * rowpainter.C: remove "smart" background painting code
2542 2003-03-16 John Levon <levon@movementarian.org>
2547 * text3.C: add helper functions for setting refresh_row/y
2549 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2551 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2552 newline inset which *can* get inserted in the pass_thru layouts.
2553 This is primarily for literate documents.
2555 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2557 * buffer.C: increment LYX_FORMAT to 223
2559 2003-03-14 André Pönitz <poenitz@gmx.net>
2561 * textclass.h: prepare for environment handling, ws changes
2562 * lyxlayout.C: read latexheader and latexfooter tags
2564 2003-03-14 John Levon <levon@movementarian.org>
2566 * text2.C: rewrite ::status() a bit
2568 2003-03-13 John Levon <levon@movementarian.org>
2570 * lyxtext.h: add some docs
2572 2003-03-13 John Levon <levon@movementarian.org>
2577 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2579 2003-03-13 John Levon <levon@movementarian.org>
2581 * text3.C: fix appendix redrawing
2583 2003-03-13 John Levon <levon@movementarian.org>
2585 * text.C (setHeightOfRow):
2587 * rowpainter.C: make appendix mark have the text
2588 "Appendix" so the user knows what it is
2591 * LColor.C: s/appendixline/appendix/ from above
2593 2003-03-13 John Levon <levon@movementarian.org>
2595 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2597 * text.C: fix a getChar(pos) bug properly
2599 2003-03-13 Angus Leeming <leeming@lyx.org>
2602 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2603 Probably only temporary. Let's see how things pan out.
2605 * BufferView.C (unlockInset):
2606 * BufferView_pimpl.C (fitCursor):
2607 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2609 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2610 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2612 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2613 new functions that convert ParagraphParameters to and from a string.
2615 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2616 BufferView::Pimpl's dispatch.
2617 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2619 2003-03-13 André Pönitz <poenitz@gmx.net>
2623 * factory.C: make it aware of InsetEnv
2625 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2627 * text2.C (setCursor): never ask for one past last
2628 (setCursor): add some debugging messages.
2630 * text.C (singleWidth): never ask for one past last
2631 (singleWidth): ditto
2633 (rightMargin): ditto
2634 (rowBreakPoint): ditto
2635 (setHeightOfRow): ditto
2636 (prepareToPrint): ditto
2638 * rowpainter.C (paintBackground): never ask for one past last
2639 (paintText): never ask for one past last
2641 * paragraph_pimpl.C (getChar): make the assert stricter, never
2642 allow the one past last pos to be taken
2644 * paragraph.C (getChar): ws changes only
2646 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2647 (numberOfSeparators): ditto
2648 (numberOfHfills): ditto
2650 2003-03-12 John Levon <levon@movementarian.org>
2656 * paragraph_funcs.C: fix per-buffer authorlists
2658 2003-03-12 John Levon <levon@movementarian.org>
2660 * text.C: fix newline in right address
2662 2003-03-12 Angus Leeming <leeming@lyx.org>
2664 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2665 duplicate those in LyXFunc::dispatch.
2669 * ToolbarDefaults.C:
2670 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2671 Add LFUN_FONTFREE_UPDATE.
2673 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2674 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2676 * bufferview_func.[Ch]: several new functions to facilliate
2677 transfer of data to and from the character dialog.
2679 2003-03-12 John Levon <levon@movementarian.org>
2684 * paragraph_funcs.C:
2685 * paragraph_pimpl.C:
2689 * text3.C: remove META_NEWLINE in favour of an inset
2692 * rowpainter.C: remove paintNewline (done by inset)
2694 2003-03-12 John Levon <levon@movementarian.org>
2696 * paragraph_pimpl.C: complain about bad getChar()s
2697 for a while at least
2699 2003-03-12 John Levon <levon@movementarian.org>
2702 * buffer.C: move paragraph read into a separate function,
2703 a little renaming to reflect that.
2706 * bufferparams.C: remove the author_ids map, not necessary now
2709 * factory.C: moved Buffer::readInset to here
2711 * paragraph_funcs.h:
2712 * paragraph_funcs.C: readParagraph free function moved from
2715 * tabular.C: name change
2717 2003-03-12 John Levon <levon@movementarian.org>
2720 * ParagraphParameters.C: move par params input to
2723 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2724 behave like a normal read from the stream wrt reading
2725 a line vs. a \\token
2727 2003-03-12 John Levon <levon@movementarian.org>
2730 * ParagraphParameters.h:
2731 * ParagraphParameters.C: move output code to a
2734 2003-03-12 John Levon <levon@movementarian.org>
2736 * BufferView.C (insertLyXFile):
2739 * tabular.C: use a parlist iterator for creating the
2742 2003-03-12 John Levon <levon@movementarian.org>
2744 * buffer.C: make current_change static local not
2747 2003-03-12 John Levon <levon@movementarian.org>
2749 * buffer.C: fix insertStringAsLines for change tracking
2751 2003-03-12 John Levon <levon@movementarian.org>
2758 * bufferparams.C: move author list into params. Rename some
2759 functions. Move the header reading into a separate token
2760 loop. Move the header token reading into BufferParams.
2762 2003-03-12 John Levon <levon@movementarian.org>
2764 * changes.C: put debug inside lyxerr.debugging() checks
2766 2003-03-11 André Pönitz <poenitz@gmx.net>
2768 * factory.C: make it aware of InsetHFill
2770 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2772 * buffer.C (latexParagraphs): move function from here...
2773 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2776 2003-03-10 Angus Leeming <leeming@lyx.org>
2778 * LyXAction.C (init): fix bug in poplating array with multiple entries
2779 with the same LFUN (spotted by JMarc).
2781 2003-03-10 John Levon <levon@movementarian.org>
2784 * text2.C: move getColumnNearX() near its
2787 2003-03-10 John Levon <levon@movementarian.org>
2789 * text.C: fix break before a minipage
2791 2003-03-10 John Levon <levon@movementarian.org>
2793 * text.C: fix the last commit
2795 2003-03-09 John Levon <levon@movementarian.org>
2799 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2800 bug 365 (don't break before insets unless needed). Don't
2801 return a value > last under any circumstances.
2803 2003-03-09 Angus Leeming <leeming@lyx.org>
2805 * BufferView_pimpl.C (trackChanges, dispatch): call
2806 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2808 2003-03-09 Angus Leeming <leeming@lyx.org>
2810 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2811 than Dialogs::showAboutlyx().
2813 2003-03-09 Angus Leeming <leeming@lyx.org>
2815 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2816 than Dialogs::showTabularCreate().
2818 2003-03-09 John Levon <levon@movementarian.org>
2822 * text2.C: 3rd arg to nextBreakPoint was always the same.
2825 2003-03-08 John Levon <levon@movementarian.org>
2832 * text2.C: Remove the "main" bit from the "main body"
2835 2003-03-08 John Levon <levon@movementarian.org>
2837 * text.C (leftMargin): The left margin of an empty
2838 manual label paragraph should not include the label width
2841 * text.C (prepareToPrint): don't attempt to measure hfills
2842 for empty manual label paragraphs - the answer should be 0
2844 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2846 * CutAndPaste.C: remove commented code and reindent.
2848 2003-03-08 John Levon <levon@movementarian.org>
2851 * lyxfunc.C: move reloadBuffer()
2854 * BufferView.C: to here
2856 * lyxvc.C: add comment
2859 * vc-backend.C: call bv->reload() to avoid
2860 getStatus() check on MENURELOAD
2862 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2864 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2865 to an old format .dep file.
2867 2003-03-07 Angus Leeming <leeming@lyx.org>
2869 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2870 when the LFUN_MOUSE_RELEASE should have been handled by
2871 inset->localDispatch.
2873 2003-03-07 Angus Leeming <leeming@lyx.org>
2875 * BufferView_pimpl.C (dispatch):
2876 * LyXAction.C (init):
2877 * ToolbarDefaults.C (init):
2879 * lyxfunc.C (getStatus):
2880 remove LFUN_INSET_GRAPHICS.
2882 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2884 2003-03-07 Angus Leeming <leeming@lyx.org>
2887 * LyXAction.C (init):
2888 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2890 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2893 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2895 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2896 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2898 2003-03-07 Angus Leeming <leeming@lyx.org>
2900 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2903 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2905 * ParagraphList.C (front): new function
2908 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2910 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2911 and top_row_offset_. removed var first_y.
2913 * text2.C (LyXText, removeRow):
2915 * BufferView_pimpl.C:
2916 use these methods instead of using first_y
2918 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2920 * text2.C (pasteSelection): adjust for checkPastePossible
2922 * CutAndPaste.C: remove Paragraph * buf and replace with
2923 ParagraphList paragraphs.
2924 (DeleteBuffer): delete
2925 (cutSelection): change the tc type to textclass_type
2926 (copySelection): change the tc type to textclass_type
2927 (copySelection): adjust for ParagraphList
2928 (pasteSelection): change the tc type to textclass_type
2929 (pasteSelection): adjust for Paragraphlist
2930 (nrOfParagraphs): simplify for ParagraphList
2931 (checkPastePossible): simplify for ParagraphList
2932 (checkPastePossible): remove unused arg
2934 * ParagraphList.C (insert): handle the case where there are no
2937 * CutAndPaste.h: make CutAndPaste a namespace.
2939 * text3.C (dispatch): adjust
2941 * text.C (breakParagraph): add a ParagraphList as arg
2943 * paragraph_funcs.C (breakParagraph): change to take a
2944 BufferParams and a ParagraphList as args.
2945 (breakParagraphConservative): ditto
2946 (mergeParagraph): ditto
2947 (TeXDeeper): add a ParagraphList arg
2948 (TeXEnvironment): ditto
2951 * buffer.C (readLyXformat2): adjust
2952 (insertStringAsLines): adjust
2953 (latexParagraphs): adjust
2955 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2956 (cutSelection): adjust
2957 (pasteSelection): adjust
2959 * BufferView_pimpl.C (insertInset): adjust
2961 2003-03-05 Angus Leeming <leeming@lyx.org>
2964 * LyXAction.C (init):
2965 * BufferView_pimpl.C (dispatch):
2966 * lyxfunc.C (getStatus):
2967 remove LFUN_CHILD_INSERT.
2969 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2971 2003-03-05 Angus Leeming <leeming@lyx.org>
2974 * LyXAction.C (init):
2975 * src/factory.C (createInset):
2976 * lyxfunc.C (getStatus):
2977 * text3.C (dispatch):
2978 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2980 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2982 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2984 * ParagraphList.C (insert): handle insert right before end()
2985 (erase): fix cases where it can be first or last paragraph.
2987 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2989 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2990 Paragraph::next and Paragraph::previous
2993 * text.C (breakParagraph): adjust
2995 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2996 BufferParams& as arg.
2997 (breakParagraph): use ParagraphList::insert
2998 (breakParagraphConservative): take a Buffer* instead of a
2999 BufferParams& as arg.
3000 (breakParagraphConservative): use ParagraphList::insert.
3002 * buffer.C (insertStringAsLines): un-const it
3003 (insertStringAsLines): adjust
3005 * ParagraphList.C (insert): new function
3007 * CutAndPaste.C (pasteSelection): adjust
3009 * text.C (backspace): adjust
3011 * tabular.C (SetMultiColumn): adjust
3013 * CutAndPaste.C (cutSelection): adjust
3014 (pasteSelection): adjust
3016 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3017 Buffer const * as arg
3019 * ParagraphList.C (erase): new function
3020 * paragraph_funcs.C (mergeParagraph): use it
3021 (mergeParagraph): make it take a Buffer* instead of a
3022 BufferParams* as arg
3024 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3026 (breakParagraphConservative): ditto
3028 * paragraph.h: remove the breakParagraph friend
3030 * paragraph.C (eraseIntern): new function
3031 (setChange): new function
3033 * paragraph_funcs.C (mergeParagraph): make it take a
3034 ParagraphList::iterator instead of a Paragraph *, adjust
3037 * paragraph.h: move an #endif so that the change tracking stuff
3038 also works in the NO_NEXT case.
3040 2003-03-04 Angus Leeming <leeming@lyx.org>
3043 * LyXAction.C: new LFUN_INSET_MODIFY.
3045 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3046 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3048 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3050 * several files: ws changes only
3052 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3053 (TeXEnvironment): ditto
3056 * buffer.C (makeLaTeXFile): adjust
3057 (latexParagraphs): make it take ParagraphList::iterator as args
3059 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3061 * buffer.C (latexParagraphs): adjust
3063 * paragraph.C (TeXOnePar): move function...
3064 (optArgInset): move function...
3065 (TeXEnvironment): move function...
3066 * paragraph_pimpl.C (TeXDeeper): move function...
3067 * paragraph_funcs.C: ...here
3069 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3071 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3073 * buffer.C (readInset): remove compability code for old Figure and
3076 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3078 * buffer.C: ws changes
3081 * BufferView_pimpl.C: ditto
3084 * bufferlist.h: ditto
3088 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3090 * converter.[Ch]: split into itself +
3093 * Makefile.am: += graph.[Ch] + format.[Ch]
3100 * lyxrc.C: added #include "format.h"
3102 2003-02-27 Angus Leeming <leeming@lyx.org>
3104 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3107 * factory.C (createInset): add "label" to the factory.
3109 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3110 string and do no more.
3112 2003-02-27 Angus Leeming <leeming@lyx.org>
3115 * LyXAction.C (init):
3116 * factory.C (createInset):
3117 * BufferView_pimpl.C (dispatch):
3118 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3120 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3122 * lyxfunc.C (dispatch):
3123 * text3.C (dispatch): pass name to params2string.
3125 2003-02-26 Angus Leeming <leeming@lyx.org>
3127 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3129 Rearrange the ~includes. Strip out the unnecessary ones.
3131 * factory.C (createInset): reformat.
3132 create new insets for the various LFUN_XYZ_APPLY lfuns.
3134 2003-02-26 John Levon <levon@movementarian.org>
3137 * lyxrow.C: add isParStart,isParEnd helpers
3139 * paragraph.h: make isInserted/DeletedText take refs
3141 * paragraph_funcs.h:
3142 * paragraph_funcs.C: remove #if 0'd code
3147 * text.C: use lyxrow helpers above.
3148 Move draw and paint routines to RowPainter.
3149 Make several methods use refs not pointers.
3150 Make backgroundColor() const.
3151 Add markChangeInDraw(), isInInset().
3152 Merge changeRegionCase into changeCase.
3153 Make workWidth() shouldn't-happen code into an Assert.
3156 * rowpainter.C: new class for painting a row.
3159 * vspace.C: make inPixels take a ref
3161 2003-02-26 Angus Leeming <leeming@lyx.org>
3163 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3166 2003-02-25 John Levon <levon@movementarian.org>
3168 * ispell.C: give the forked command a more accurate name
3170 2003-02-22 John Levon <levon@movementarian.org>
3173 * toc.C: make TocItem store an id not a Paragraph *
3176 2003-02-21 Angus Leeming <leeming@lyx.org>
3178 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3179 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3180 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3181 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3182 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3183 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3185 * BufferView_pimpl.C (dispatch):
3186 * LyXAction.C (init):
3187 * factory.C (createInset):
3188 * lyxfunc.C (getStatus, dispatch):
3189 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3191 2003-02-21 Angus Leeming <leeming@lyx.org>
3193 * BufferView_pimpl.C (MenuInsertLyXFile):
3194 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3195 * lyxfunc.C (menuNew, open, doImport):
3196 no longer pass a LyXView & to fileDlg.
3198 2003-02-21 Angus Leeming <leeming@lyx.org>
3200 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3201 * LyXAction.C: change, BIBKEY to BIBITEM.
3202 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3203 Change InsetBibKey to InsetBibitem.
3204 Change BIBKEY_CODE to BIBITEM_CODE.
3205 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3206 * factory.C: replace insetbib.h with insetbibitem.h.
3207 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3208 * paragraph.C: replace insetbib.h with insetbibitem.h.
3209 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3210 Change bibkey() to bibitem().
3211 * text.C: remove insetbib.h.
3212 * text2.C: replace insetbib.h with insetbibitem.h.
3213 change bibkey() to bibitem().
3214 * text3.C: remove insetbib.h.
3215 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3217 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3219 * lyxrc.C (output): enclose user email in quotes (in case there are
3222 2003-02-18 John Levon <levon@movementarian.org>
3224 * buffer.h: add std::
3226 2003-02-17 John Levon <levon@movementarian.org>
3232 * pspell.C: reworking. Especially in ispell, a large
3233 number of clean ups and bug fixes.
3235 * lyxfunc.C: fix revert to behave sensibly
3237 2003-02-17 André Pönitz <poenitz@gmx.net>
3240 * commandtags.h: new LFUN_INSERT_BIBKEY
3250 * paragraph_func.C: remove special bibkey handling
3252 2003-02-17 John Levon <levon@movementarian.org>
3254 * text.C (Delete): fix case where delete at the end of
3255 the very first paragraph would not merge the pars
3257 2003-02-17 John Levon <levon@movementarian.org>
3259 * lyxrow.C: fix lastPrintablePos()
3261 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3263 * bufferparams.C (writeLaTeX): add a std:here
3265 * buffer.C: and remove a using directive there
3267 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3269 * buffer.C (makeLaTeXFile): move the code that generates the
3272 * bufferparams.C (writeLaTeX): ... in this new method
3274 * LaTeXFeatures.C (getEncodingSet): make const
3275 (getLanguages): make const
3277 * MenuBackend.C (binding): returns the binding associated to this
3279 (add): sets the status of each item by calling getStatus. Adds
3281 (read): add support for OptSubMenu
3282 (expand): remove extra separator at the end of expanded menu
3284 2003-02-15 John Levon <levon@movementarian.org>
3287 * BufferView_pimpl.C:
3289 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3290 inset code that had no actual effect. Remove unneeded status
3293 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3295 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3298 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3300 * text.C (drawLengthMarker): also draw an arrow marker for
3301 symbolic lengths (medskip...)
3303 2003-02-14 John Levon <levon@movementarian.org>
3306 * tabular.C: better method names
3308 2003-02-14 John Levon <levon@movementarian.org>
3310 * BufferView_pimpl.C:
3315 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3316 it's a more accurate name. Remove some pointless uses.
3318 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3320 * text2.C (LyXText): change order of initilizers to shut off
3323 2003-02-14 John Levon <levon@movementarian.org>
3325 * buffer.C: use ParIterator for getParFromID()
3329 * paragraph_pimpl.h:
3330 * paragraph_pimpl.C: remove unused getParFromID()
3332 2003-02-14 John Levon <levon@movementarian.org>
3334 * buffer.C: remove some very old #if 0'd parse code
3336 2003-02-13 John Levon <levon@movementarian.org>
3340 * text2.C: move hfillExpansion(), numberOfSeparators(),
3341 rowLast(), rowLastPrintable(), numberofHfills(),
3342 numberOfLabelHfills() ...
3345 * lyxrow.C: ... to member functions here.
3350 * text.C: remove LyXText::beginningOfMainBody(), and call
3351 p->beginningOfMainBody() directly. Move the check for
3352 LABEL_MANUAL into the latter.
3359 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3365 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3366 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3368 2003-02-13 John Levon <levon@movementarian.org>
3370 * CutAndPaste.C: remove debug
3372 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3374 * paragraph.C (asString): remove two unused variables
3376 * lyxtextclass.C (readTitleType):
3378 (LyXTextClass): handle new members titletype_ and titlename_
3380 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3382 2003-02-09 John Levon <levon@movementarian.org>
3385 * buffer.C: replace hand-coded list with a map for the dep clean
3387 2003-02-08 John Levon <levon@movementarian.org>
3389 * LaTeX.C: consolidate code into showRunMessage() helper
3391 2003-02-08 John Levon <levon@movementarian.org>
3396 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3397 and pass the size in explicitly
3399 * BufferView_pimpl.h:
3400 * BufferView_pimpl.C:
3402 * BufferView.C: add getCurrentChange()
3404 * BufferView_pimpl.h:
3405 * BufferView_pimpl.C: handle change lfuns
3407 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3408 for changes. Mark pasted paragraphs as new.
3410 * support/lyxtime.h:
3411 * support/lyxtime.C:
3412 * DepTable.C: abstract time_t as lyx::time_type
3415 * LColor.C: add colours for new text, deleted text, changebars
3417 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3418 package use "usenames" option.
3422 * LyXAction.C: add change lfuns
3426 * author.C: author handling
3429 * buffer.C: add a per-buffer author list, with first entry as
3430 current author. Handle new .lyx tokens for change tracking. Output
3431 author list to .lyx file. Output dvipost stuff to .tex preamble.
3432 Bump lyx format to 222.
3435 * bufferlist.C: add setCurrentAuthor() to reset current author details
3439 * bufferparams.C: add param for tracking
3441 * bufferview_funcs.C: output change info in minibuffer
3445 * changes.C: add change-tracking structure
3448 * debug.C: add CHANGES debug flag
3451 * lyxfind.C: add code for finding the next change piece
3454 * lyxrc.C: add user_name and user_email
3457 * lyxrow.C: add a metric for the top of the text line
3460 * text.C: implement accept/rejectChange()
3463 * text.C: paint changebars. Paint new/deleted text in the chosen
3464 colours. Strike through deleted text.
3468 * paragraph_pimpl.h:
3469 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3470 in the current change to the insert functions. Rework erase to
3471 mark text as deleted, adding an eraseIntern() and a range-based
3472 erase(). Implement per-paragraph change lookup and
3475 * paragraph_funcs.C: Fixup paste for change tracking.
3477 * tabular.C: mark added row/columns as new.
3479 * text.C: fix rowLast() to never return -1. Don't allow
3480 spellchecking of deleted text. Track transpose changes. Don't
3481 allow paragraph break or merge where appropriate.
3483 * text2.C: leave cursor at end of selection after a cut.
3485 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3487 * text.C (getLengthMarkerHeight):
3488 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3489 visible on screen too.
3491 2003-02-07 John Levon <levon@movementarian.org>
3493 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3495 2003-02-05 Angus Leeming <leeming@lyx.org>
3497 * lyxserver.C (read_ready): revert my patch of 11 September last year
3498 as it sends PC cpu through the roof. Presumably this means that
3499 the lyxserver will no longer run on an Alpha...
3501 2003-01-30 Angus Leeming <leeming@lyx.org>
3503 * factory.C (createInset): create an InsetCommandParam of type "index"
3504 and use it to 'do the right thing'.
3506 * text2.C (getStringToIndex): ensure that cursor position is always
3507 reset to the reset_cursor position.
3509 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3511 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3514 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3518 * lyxfunc.C: Output messages with identical spelling, punctuation,
3521 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3523 * MenuBackend.C (expandFormats): List only viewable export formats
3526 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3529 * lyxfunc.C (getStatus): Make sure that formats other than
3530 "fax" can also be disabled
3532 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3534 * text3.C (dispatch): put the lfuns that insert insets in 3
3535 groups, and call doInsertInset with appropriate arguments.
3536 (doInsertInset): new function, that creates an inset and inserts
3537 it according to some boolean parameters.
3539 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3541 * buffer.C (readFile): remember to pass on 'par' when calling
3542 readFile recursively.
3544 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3546 * MenuBackend.C (expandFormats): add "..." to import formats.
3548 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3550 * paragraph.C (asString): Remove XForms RTL hacks.
3552 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3553 * buffer.C: fix typo
3555 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3557 * Makefile.am (LIBS): delete var
3558 (lyx_LDADD): add @LIBS@ here instead.
3560 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3562 * Clarify the meaning of "wheel mouse jump"
3564 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3566 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3569 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3571 * importer.C (Loaders): do not preallocate 3 elements in the
3572 vector, since one ends up with 6 elements otherwise
3574 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3576 * DepTable.C (write): write the file name as last element of the
3577 .dep file (because it may contain spaces)
3578 (read): read info in the right order
3580 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3582 * paragraph_pimpl.C (simpleTeXBlanks):
3583 (simpleTeXSpecialChars):
3584 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3586 * tabular.C (latex): add some missing case statements. Reindent.
3588 * MenuBackend.C (expandToc): remove unused variable.
3590 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3599 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3602 2003-01-05 John Levon <levon@movementarian.org>
3605 * BufferView.C: add getEncoding()
3608 * kbsequence.C: do not store last keypress
3611 * lyxfunc.C: store last keypress here instead. Pass encoding
3614 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3616 * lyx_main.C (init): remove annoying error message when following
3617 symbolic links (bug #780)
3619 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3621 * text.C (insertChar):
3622 * lyxrc.C (getDescription): remove extra spaces
3624 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3626 * lyxrc.C (getDescription): remove extra spaces
3628 2002-12-20 John Levon <levon@movementarian.org>
3630 * text3.C: hack fix for page up/down across tall rows
3632 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3634 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3637 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3639 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3640 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3641 thesaurus is not compiled in
3643 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3645 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3647 2002-12-16 Angus Leeming <leeming@lyx.org>
3650 * lyx_main.C (init): remove override_x_deadkeys stuff.
3652 2002-12-12 John Levon <levon@movementarian.org>
3654 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3655 insert. Only remove shift modifier under strict
3658 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3660 * MenuBackend.C (expandToc): fix crash.
3662 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3664 * MenuBackend.C (expandToc): gettext on float names.
3666 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3668 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3669 implement bool empty() [bug 490]
3671 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3673 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3675 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3677 * several files: ws changes
3679 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3681 * text2.C (setCounter): clean up a bit, use boost.format.
3682 (updateCounters): initialize par upon declaration.
3684 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3685 if the layout exists. We do not just store the layout any more.
3686 (SwitchLayoutsBetweenClasses): use boost.format
3688 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3690 * converter.C (convert): if from and to files are the same, use a
3691 temporary files as intermediary
3693 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3696 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3698 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3700 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3702 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3704 * tabular.C (asciiPrintCell): use string(size, char) instead of
3707 * sgml.C (openTag): fix order of arguments to string constructor
3710 * lyxfunc.C (dispatch): use boost.format
3712 * lots of files: change "c" -> 'c'
3714 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3716 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3718 2002-11-25 Angus Leeming <leeming@lyx.org>
3720 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3722 * lyx_main.C (init): compile fix.
3724 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3726 * lyx_cb.C (start): boost.formatify
3727 do not include <iostream>
3729 * lengthcommon.C: ws only
3731 * boost-inst.C,BoostFormat.h: add more explict instantations
3733 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3735 * lots of files: handle USE_BOOST_FORMAT
3737 2002-11-21 John Levon <levon@movementarian.org>
3739 * pspell.C: fix compile
3741 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3743 * lyxfunc.C (dispatch): use boost::format
3747 * lyxfont.C (stateText): use boost::format
3749 * lyx_main.C (LyX): use boost::format
3751 (queryUserLyXDir): ditto
3754 (typedef boost::function): use the recommened syntax.
3756 * importer.C (Import): use boost::format
3758 * debug.C (showLevel): use boost::format
3760 * converter.C (view): use boost::format
3765 * bufferview_funcs.C (currentState): use boost::format
3767 * bufferlist.C (emergencyWrite): use boost::format
3769 * buffer.C (readLyXformat2): use boost::format
3770 (parseSingleLyXformat2Token): ditto
3772 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3774 * LaTeX.C (run): use boost::format
3776 * Chktex.C (scanLogFile): use boost::format
3778 * BufferView_pimpl.C (savePosition): use boost::format
3779 (restorePosition): ditto
3780 (MenuInsertLyXFile): ditto
3782 * BoostFormat.h: help file for explicit instation.
3784 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3786 * tabular.C (latex): Support for block alignment in fixed width
3789 2002-11-17 John Levon <levon@movementarian.org>
3791 * BufferView_pimpl.C:
3793 * lyxfunc.C: split filedialog into open/save
3795 2002-11-08 Juergen Vigna <jug@sad.it>
3797 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3798 by my last patch (hopefully).
3800 2002-11-08 John Levon <levon@movementarian.org>
3809 * toc.C: ParConstIterator, and use it (from Lars)
3811 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3813 * lyxtextclass.[Ch]: revise and add doxygen comments
3815 2002-11-07 John Levon <levon@movementarian.org>
3817 * text.C: fix progress value for spellchecker
3819 * toc.C: fix navigate menu for insetwrap inside minipage
3821 * paragraph_funcs.C: added FIXME for suspect code
3823 2002-11-07 John Levon <levon@movementarian.org>
3825 * BufferView_pimpl.C: fix redrawing of insets
3828 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3830 * text2.C (updateCounters): fix bug 668
3832 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3834 * text3.C (dispatch): Do not make the buffer dirty when moving the
3837 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3839 * vc-backend.C: STRCONV
3842 * text2.C (setCounter): STRCONV
3844 * paragraph.C (asString): STRCONV
3846 * lyxlength.C (asString): STRCONV
3847 (asLatexString): ditto
3849 * lyxgluelength.C (asString): STRCONV
3850 (asLatexString): ditto
3852 * lyxfunc.C (dispatch): STRCONV
3855 * lyxfont.C (stateText): STRCONV
3857 * importer.C (Import): STRCONV
3859 * counters.C (labelItem): STRCONV
3860 (numberLabel): ditto
3861 (numberLabel): remove unused ostringstream o
3866 * bufferview_funcs.C (currentState): STRCONV
3868 * buffer.C (readFile): STRCONV
3869 (asciiParagraph): ditto
3870 (makeLaTeXFile): ditto
3872 * Spacing.C (writeEnvirBegin): STRCONV
3874 * LaTeXFeatures.C (getLanguages): STRCONV
3875 (getPackages): ditto
3877 (getBabelOptions): ditto
3878 (getTClassPreamble): ditto
3879 (getLyXSGMLEntities): ditto
3880 (getIncludedFiles): ditto
3884 (scanAuxFile): ditto
3887 * LString.h: add the STRCONV macros
3889 * BufferView_pimpl.C (savePosition): STRCONV
3890 (restorePosition): ditto
3891 (MenuInsertLyXFile): ditto
3893 * vc-backend.C (scanMaster): change from submatch[...] to
3896 * funcrequest.C: include config.h
3898 * factory.C: include config.h
3900 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3902 * box.C: include config.h
3904 * LaTeX.C (scanAuxFile): change from submatch[...] to
3908 2002-10-25 Angus Leeming <leeming@lyx.org>
3910 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3912 * ispell.[Ch] (setError): new method.
3913 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3914 Use setError() insetead of goto END.
3916 * lyx_cb.C (AutoSave): move out child process into new class
3919 2002-10-30 John Levon <levon@movementarian.org>
3921 * text3.C: make start appendix undoable
3923 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3925 * lyxlength.C (inPixels): Fix returned value.
3927 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3930 2002-10-24 Angus Leeming <leeming@lyx.org>
3932 * lyxgluelength.h: no need to forward declare BufferParams
3933 or BufferView, so don't.
3935 2002-10-21 John Levon <levon@movementarian.org>
3937 * BufferView.C: menuUndo ->undo, redo
3939 * BufferView.h: document, remove dead, make some methods private
3941 * paragraph_funcs.h:
3942 * paragraph_funcs.C:
3943 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3948 * sgml.C: move sgml open/close tag into sgml.C
3950 * bufferview_funcs.h: unused prototype
3953 * lyxfunc.C: remove unused
3956 * text.C: remove unused
3958 2002-10-21 John Levon <levon@movementarian.org>
3962 * BufferView_pimpl.h:
3963 * BufferView_pimpl.C: fix mouse wheel handling based on
3964 patch from Darren Freeman
3966 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3968 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3970 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3972 * lyxlength.C (inPixels): Fix hanfling of negative length.
3973 Fix LyXLength::MU case.
3975 2002-10-16 John Levon <levon@movementarian.org>
3977 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3979 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3981 * converter.C (view): add support for $$i (file name) and $$p
3982 (file path) for the viewer command. If $$i is not specified, then
3983 it is appended to the command (for compatibility with old syntax)
3985 2002-10-14 Juergen Vigna <jug@sad.it>
3987 * undo_funcs.C (textHandleUndo): alter the order in which the
3988 new undopar is added to the LyXText, as we have to set first
3989 the right prev/next and then add it as otherwise the rebuild of
3990 LyXText is not correct. Also reset the cursor to the right paragraph,
3991 with this IMO we could remove the hack in "redoParagraphs()".
3993 2002-10-09 Angus Leeming <leeming@lyx.org>
3995 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3996 to turn off an optimisation if a new inset is to be inserted.
3998 2002-10-11 André Pönitz <poenitz@gmx.net>
4000 * lyxtext.h: make some functions public to allow access
4001 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4003 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4005 * text3.C (dispatch): when changing layout, avoid an infinite loop
4008 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4010 * lyxrc.C (read): treat a viewer or converter command of "none" as
4013 * MenuBackend.C (expandFormats): for an update, also allow the
4014 formats that are not viewable
4016 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4017 script if it is newer than the lyxrc.defaults in user directory
4019 2002-10-07 André Pönitz <poenitz@gmx.net>
4021 * text.C: Vitaly Lipatov's small i18n fix
4023 2002-09-25 Angus Leeming <leeming@lyx.org>
4025 * ispell.h: doxygen fix.
4027 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4029 * buffer.h (readFile): Add a new argument to the method, to allow
4030 reading of old-format templates.
4032 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4034 * toc.C (getTocList): Get TOC from InsetWrap.
4036 2002-09-16 John Levon <levon@movementarian.org>
4038 * lyxfunc.C: check tabular for cut/copy too
4040 2002-09-12 John Levon <levon@movementarian.org>
4045 * factory.C: add header
4047 * paragraph_funcs.h:
4048 * paragraph_funcs.C: cleanup
4050 2002-09-11 John Levon <levon@movementarian.org>
4052 * PrinterParams.h: odd/even default to true
4054 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4056 * PrinterParams.h: update printer parameters for new xforms dialog
4058 2002-09-11 Angus Leeming <leeming@lyx.org>
4060 * lyxserver.C (read_ready): re-write to make it more transparent
4061 and to make it work in coherent fashion under Tru64 Unix.
4063 2002-09-11 André Pönitz <poenitz@gmx.net>
4067 * text3.C: implement LFUN_WORDSEL
4069 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4071 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4072 make floatlist_ a boost::shared_ptr<FloatList>
4074 * lyxtextclass.C: include FloatList.h
4075 (LyXTextClass): initialize floatlist_
4076 (TextClassTags): add TC_NOFLOAT
4077 (Read): match "nofloat" to TC_NOFLOAT and use it.
4078 (readFloat): modify call to floatlist_
4082 * FloatList.[Ch] (FloatList): remove commented out float
4084 (erase): new function
4086 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4088 * MenuBackend.C (expandToc): fix crash when there is no document
4091 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4093 * many files: Add insetwrap.
4095 2002-09-09 John Levon <levon@movementarian.org>
4097 * text2.C: remove confusing and awkward depth wraparound
4099 2002-09-09 John Levon <levon@movementarian.org>
4101 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4104 * buffer.C: remove getIncludeonlyList()
4107 * lyxfunc.C: remove headers
4109 2002-09-09 Juergen Vigna <jug@sad.it>
4111 * text.C (getColumnNearX): fix form Michael this is most
4112 probably a cut&paste bug.
4114 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4116 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4118 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4119 references, ws changes.
4121 * text2.C (init): update counters after init
4122 (insertParagraph): no need to set counter on idividual paragraphs.
4123 (setCounter): access the counters object in the textclass object
4124 on in the buffer object.
4125 (updateCounters): ditto
4127 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4128 shared_ptr<Counters> to avoid loading counters.h in all
4130 (LyXTextClass): initialize ctrs_
4131 (TextClassTags): add TC_COUNTER, and ...
4132 (Read): use it here.
4133 (CounterTags): new tags
4134 (readCounter): new function
4135 (counters): new funtion
4136 (defaultLayoutName): return a const reference
4138 * counters.C (Counters): remove contructor
4139 (newCounter): remove a couple of unneeded statements.
4140 (newCounter): simplify a bit.
4141 (numberLabel): some small formatting changes.
4143 * buffer.[Ch]: remove all traces of counters, move the Counters
4144 object to the LyXTextClass.
4146 2002-09-06 Alain Castera <castera@in2p3.fr>
4148 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4149 package to set the horizontal alignment on fixed width columns.
4152 * lyx_sty.h: added tabularnewline macro def.
4154 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4156 2002-09-06 John Levon <levon@movementarian.org>
4158 * LyXAction.C: tooltips for sub/superscript
4160 * MenuBackend.C: a bit more verbose
4162 * lyxfunc.C: tiny clean
4164 * undo_funcs.C: document undo_frozen
4166 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4168 * counters.C (Counters): add missing algorithm counter.
4170 * text2.C (setCounter): lookup the counter with layouts latexname
4171 instead of by section number.
4172 (setCounter): use a hackish way to lookup the correct enum
4174 a float name->type change
4175 reset enum couners with counter name directly instead of depth value.
4177 * counters.C (Counters): remove the push_backs, change to use the
4178 float type not the float name.
4179 (labelItem): remove unused string, float name->type change
4181 * counters.h: don't include vector, loose the enums and sects vectors
4183 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4185 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4186 (Read): add float->TC_FLOAT to textclassTags
4187 (Read): and handle it in the switch
4188 (readFloat): new function
4190 * FloatList.C (FloatList): comment out the hardcoded float
4193 * lyxlayout.h: ws change.
4195 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4197 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4199 2002-09-03 Angus Leeming <leeming@lyx.org>
4201 * BufferView_pimpl.h: qualified name is not allowed in member
4202 declaration: WorkArea & Pimpl::workarea() const;
4204 * factory.C: added using std::endl directive.
4206 * text3.C: added using std::find and std::vector directives.
4208 2002-08-29 André Pönitz <poenitz@gmx.net>
4211 * text2.C: remove unused member number_of_rows
4214 * BufferView2.C: remove file, move contents to...
4215 * BufferView.C: ... here
4217 * BufferView_pimpl.C:
4218 * factory.C: move more inset creation to factory
4220 * vspace.C: avoid direct usage of LyXText, ws changes
4223 don't provide direct access to WorkArea, use two simple
4224 acessors haveSelction() and workHeight() instead
4227 2002-08-29 John Levon <levon@movementarian.org>
4229 * BufferView_pimpl.C (dispatch): do not continue when
4232 2002-08-28 André Pönitz <poenitz@gmx.net>
4234 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4237 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4239 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4241 * buffer.C: increment LYX_FORMAT to 221
4243 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4244 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4246 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4248 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4250 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4252 * factory.C (createInset): use LyXTextClass::floats
4254 * MenuBackend.C (expandFloatListInsert):
4255 (expandFloatInsert):
4258 * text2.C (setCounter):
4260 * LaTeXFeatures.C (useFloat):
4261 (getFloatDefinitions):
4263 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4265 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4266 floatlist_, with accessor floats().
4268 * FloatList.h: remove global FloatList
4270 2002-08-26 André Pönitz <poenitz@gmx.net>
4272 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4276 * BufferView_pimpl.C:
4277 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4279 2002-08-25 John Levon <levon@movementarian.org>
4281 * LyXAction.C: fix margin note description
4283 2002-08-24 John Levon <levon@movementarian.org>
4287 * bufferview_funcs.C:
4289 * undo_funcs.C: cleanups
4291 * lyxfunc.C: disable CUT/COPY when no selection
4293 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4295 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4296 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4298 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4299 Add backward compatibility to "mono", "gray" and "no".
4301 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4303 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4304 (and file_format >= 200).
4306 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4308 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4310 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4312 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4314 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4316 * BufferView_pimpl.C:
4323 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4324 inset and code to make it work with the paragraph code. The inset
4325 can be anywhere in the paragraph, but will only do the expected
4326 thing in LaTeX if the layout file contains the parameter line
4328 (or more generally, a nonzero value) for that layout.
4330 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4332 * paragraph.h: remove the declaration of undefined counters class
4335 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4337 * text2.C (setCounter): fixed enumeration mis-count as reported by
4338 Dr. Richard Hawkins.
4340 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4342 * paragraph_funcs.h: remove some unneeded includes
4344 * text.C (backspace): pasteParagraph now in global scipe
4346 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4347 (pasteSelection): ditto
4349 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4350 * paragraph_funcs.C (pasteParagraph): ... here
4352 2002-08-20 André Pönitz <poenitz@gmx.net>
4354 * commandtags.h: new LFUNs for swapping/copying table row/colums
4357 * lyxfunc.C: support for new lfuns
4359 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4362 * buffer.[Ch]: remove NO_COMPABILITY stuff
4364 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4366 * boost.C (throw_exception): new file, with helper function for
4367 boost compiled without exceptions.
4372 * ParameterStruct.h:
4373 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4375 * bufferlist.C (emergencyWriteAll): use boost bind
4377 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4379 * text.C: include paragraph_funcs.h
4380 (breakParagraph): breakParagraph is now in global scope
4382 * paragraph_funcs.[Ch]: new files
4384 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4387 * buffer.C: include paragraph_funcs.h
4388 (insertStringAsLines): breakParagraph is now in global scope
4390 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4393 * CutAndPaste.C: include paragraph_funcs.h
4394 (cutSelection): breakParagraphConservative is now in global scope
4395 (pasteSelection): ditto
4397 * buffer.h: declare oprator== and operator!= for
4398 Buffer::inset_iterator
4400 * bufferlist.C (emergencyWrite): don't use fmt(...)
4402 * text3.C: add using std::endl
4404 * BufferView.C (moveCursorUpdate): remove default arg
4406 2002-08-20 André Pönitz <poenitz@gmx.net>
4408 * buffer.[Ch]: move inline functions to .C
4411 * BufferView_pimpl.C:
4413 * buffer.[Ch]: use improved inset_iterator
4416 * paragraph.[Ch]: write one paragraph at a time
4418 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4420 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4421 style if style is not specified.
4423 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4425 * text2.C (setCounter): when searching for right label for a
4426 caption, make sure to recurse to parent insets (so that a caption
4427 in a minipage in a figure float works) (bug #568)
4429 2002-08-20 André Pönitz <poenitz@gmx.net>
4431 * text3.C: new file for LyXText::dispatch() and helpers
4433 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4435 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4437 2002-08-19 André Pönitz <poenitz@gmx.net>
4440 * text.C: new LyXText::dispatch()
4442 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4444 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4446 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4448 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4451 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4453 * Makefile.am: use $(variables) instead of @substitutions@
4455 2002-08-15 André Pönitz <poenitz@gmx.net>
4458 * BufferView_pimpl.C: streamlining mathed <-> outer world
4462 * LyXAction.C: remove unused LFUN_MATH
4464 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4466 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4468 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4470 * paragraph.C (Paragraph): reformat a bit
4471 (cutIntoMinibuffer): use builtin InsetList function instad of
4475 * buffer.C: include boost/bind.hpp, add using std::for_each
4476 (writeFileAscii): use ParagraphList iterators
4477 (validate): use for_each for validate traversal of paragraphs
4478 (getBibkeyList): use ParagraphList iterators
4479 (resizeInsets): use for_each to resizeInsetsLyXText for all
4481 (getParFromID): use ParagraphList iterators
4483 * BufferView2.C (lockInset): use paragraph list and iterators
4485 2002-08-14 John Levon <levon@movementarian.org>
4487 * lyxserver.C: remove spurious xforms include
4489 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4491 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4493 2002-08-13 André Pönitz <poenitz@gmx.net>
4496 * lyxfunc.C: further cleaning
4498 2002-08-13 André Pönitz <poenitz@gmx.net>
4500 * funcrequest.h: new constructor
4502 * funcrequest.C: move stuff here from .h
4505 * BufferView_pimpl.C:
4508 * lyxfunc.C: subsequent changes
4510 * lyxfunc.h: new view() member function
4512 * lyxfunc.C: subsequent changes
4514 2002-08-13 Angus Leeming <leeming@lyx.org>
4517 * BufferView_pimpl.C:
4525 changes due to the changed LyXView interface that now returns references
4526 to member variables not pointers.
4528 2002-08-13 Angus Leeming <leeming@lyx.org>
4530 * WordLangTuple (word, lang_code): return references to strings,
4535 * lyxtext.h: forward-declare WordLangTuple.
4540 * text.C: #include "WordLangTuple.h".
4543 * text.C: (selectNextWordToSpellcheck): constify return type.
4545 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4551 * paragraph_pimpl.h:
4554 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4556 Made updateCounter always count from start of buffer, and removed
4557 second argument (par).
4558 Reverted floats number display to '#'. Perhaps I'll try again when the
4559 code base is sanitized a bit.
4561 2002-08-12 Angus Leeming <leeming@lyx.org>
4563 * buffer.[Ch] (getLabelList): constify.
4565 2002-08-07 André Pönitz <poenitz@gmx.net>
4567 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4569 * funcrequest.h: extension to keep mouse (x,y) position
4571 2002-08-12 Juergen Vigna <jug@sad.it>
4573 * BufferView2.C (insertErrors): forbid undo when inserting error
4576 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4578 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4580 * ParagraphList.[Ch]: new files
4582 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4584 * BufferView2.C (lockInset): ParagraphList changes
4587 * bufferlist.C: ditto
4591 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4593 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4594 unused class variable counter_,
4596 * paragraph.[Ch] (getFirstCounter): delete unused function
4598 * counters.C: include LAssert.h
4599 (reset): add a new function with no arg, change other version to
4600 not have def. arg and to not allow empty arg.
4602 * text2.C (setCounter): remove empty arg from call to Counters::reset
4604 2002-08-11 John Levon <levon@movementarian.org>
4606 * Makefile.am: add WordLangTuple.h
4608 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4610 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4611 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4613 * insets/insettext.C: InsetList changes
4615 * graphics/GraphicsSupport.C (operator()): InsetList changes
4617 * toc.C (getTocList): InsetList changes
4619 * paragraph_pimpl.[Ch]: InsetList changes
4621 * paragraph.[Ch]: InsetList changes
4623 * buffer.C (inset_iterator): InsetList changes
4624 (setParagraph): ditto
4625 * buffer.h (inset_iterator): ditto
4626 * iterators.C (operator++): ditto
4627 * iterators.h: ditto
4629 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4631 * InsetList.[Ch]: new files, most InsetList handling moved out of
4634 * BufferView2.C (removeAutoInsets): InsetList changes
4636 (ChangeInsets): ditto
4638 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4640 * paragraph_pimpl.h (empty): new function
4642 * paragraph.[Ch] (empty): new function
4644 * other files: use the new Paragraph::empty function
4646 2002-08-09 John Levon <levon@movementarian.org>
4648 * lyxtext.h: remove unused refresh_height
4650 2002-08-09 John Levon <levon@movementarian.org>
4657 * paragraph.C: move sgml char escaping out of paragraph
4660 * paragraph.C: remove id setter
4664 * paragraph_pimpl.C: remove dead tex_code_break_column
4666 * bufferview_funcs.C: small cleanup
4668 * lyxfunc.C: remove dead proto
4670 * lyxtext.h: make some stuff private. Remove some dead stuff.
4672 * lyxgluelength.C: make as[LyX]String() readable
4674 2002-08-08 John Levon <levon@movementarian.org>
4679 * ToolbarDefaults.C:
4682 * toc.C: lyxaction cleanup
4684 2002-08-08 John Levon <levon@movementarian.org>
4686 * BufferView2.C: small cleanup
4689 * lyxfind.C: move unnecessary header into the .C
4691 2002-08-08 John Levon <levon@movementarian.org>
4693 * funcrequest.h: just tedious nonsense
4696 * lyx_main.C: cleanups
4699 * vspace.C: remove dead header lyx_main.h
4701 2002-08-07 Angus Leeming <leeming@lyx.org>
4704 * paragraph_pimpl.h:
4705 Forward declare class Counters in paragraph.h by moving the ctrs member
4706 variable into Paragraph::Pimpl.
4707 (counters): new method, returning a reference to pimpl_->ctrs.
4709 * text2.C: ensuing changes.
4711 2002-08-07 John Levon <levon@movementarian.org>
4713 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4715 * BufferView_pimpl.C: announce X selection on double/triple
4718 * lyx_main.C: use correct bool in batch dispatch
4720 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4722 2002-08-07 André Pönitz <poenitz@gmx.net>
4724 * funcrequest.h: new class to wrap a kb_action and its argument
4727 * BufferView_pimpl[Ch]:
4731 * lyxrc.C: subsequent changes
4734 2002-08-07 John Levon <levon@movementarian.org>
4736 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4737 document options change.
4739 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4744 * makefile.am: move counters functionality over from
4745 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4747 2002-08-06 John Levon <levon@movementarian.org>
4749 * WordLangTuple.h: new file for word + language code tuple
4760 * BufferView2.C: use WordLangTuple
4763 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4765 2002-08-06 John Levon <levon@movementarian.org>
4767 * lyx_main.C: fix cmdline batch handling
4769 2002-08-06 André Pönitz <poenitz@gmx.net>
4771 * lyxrc.C: set default for show_banner to true
4773 2002-08-06 John Levon <levon@movementarian.org>
4775 * pspell.C: fix a crash, and allow new aspell to work
4777 2002-08-06 John Levon <levon@movementarian.org>
4780 * kbmap.C: small cleanup
4783 * vspace.C: add const
4785 2002-08-05 John Levon <levon@movementarian.org>
4787 * LyXAction.C: back to tabular-insert
4789 2002-08-04 John Levon <levon@movementarian.org>
4792 * BufferView.C: cosmetic change
4794 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4804 * BufferView2.C: purge all "Lyx" not "LyX" strings
4807 * lyxcursor.C: attempt to add some documentation
4812 * ToolbarDefaults.C:
4813 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4814 merge with LFUN_TABULAR_INSERT
4821 * pspell.C: split up i/pspell implementations into separate
4822 files, many cleanups
4824 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4826 * text2.C: some cleanup
4828 * lyxfunc.C: don't check for isp_command == "none" any more, it
4829 didn't make any sense
4831 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4836 * makefile.am: move counters functionality over
4837 from text2.C/paragraph.[Ch] to counters.[Ch], and
4839 2002-08-02 John Levon <levon@movementarian.org>
4841 * buffer.C: s/lyxconvert/lyx2lyx/
4843 2002-08-02 Angus Leeming <leeming@lyx.org>
4845 * lyxlex.C: revert John's change as it breaks reading of the user
4848 2002-08-02 Angus Leeming <leeming@lyx.org>
4850 * importer.C (Import):
4851 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4852 changes due to LyXView::view() now returning a boost::shared_ptr.
4854 2002-08-02 John Levon <levon@movementarian.org>
4856 * lyxlex.C: small cleanup
4858 2002-08-02 John Levon <levon@movementarian.org>
4860 * text2.C (status): small cleanup, no logic change
4862 2002-08-01 John Levon <levon@movementarian.org>
4865 * buffer.C (writeFile): don't output alerts, caller
4869 * lyx_cb.C: from above
4871 * lyxfunc.C: allow to open non-existent files
4873 2002-07-31 John Levon <levon@movementarian.org>
4875 * lyxserver.C: don't let incidental errors get
4878 2002-07-30 John Levon <levon@movementarian.org>
4880 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4882 2002-07-30 John Levon <levon@movementarian.org>
4885 * lyxserver.C: remove I/O callback too
4887 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4889 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4892 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4894 * many files: strip,frontStrip -> trim,ltrim,rtrim
4896 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4898 * PrinterParams.h: remove extern containsOnly, and include
4899 support/lstrings.h instead.
4901 * LaTeX.C (scanAuxFile): modify because of strip changes
4903 * buffer.C (makeLaTeXFile): ditto
4904 * bufferparams.C (writeFile): ditt
4905 * lyxfont.C (stateText): ditto
4906 * lyxserver.C (read_ready): ditto
4907 * vc-backend.C (scanMaster): ditto
4909 * BufferView_pimpl.h: ws changes
4911 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4913 2002-07-26 André Pönitz <poenitz@gmx.net>
4915 * kb_sequence.C: remove unnedred usings
4917 2002-07-26 Juergen Vigna <jug@sad.it>
4919 * lyxfind.C (LyXReplace): we have to check better if the returned
4920 text is not of theLockingInset()->getLockingInset().
4922 2002-07-25 Juergen Vigna <jug@sad.it>
4924 * lyxfind.C (LyXReplace): don't replace if we don't get the
4927 * undo_funcs.C (createUndo): remove debugging code.
4929 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4931 * buffer.C (parseSingleLyXformat2Token): Use default placement
4932 when reading old floats.
4934 * FloatList.C (FloatList): Change the default placement of figure
4935 and tables to "tbp".
4937 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4939 * MenuBackend.C: using std::max
4941 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4943 * MenuBackend.C (expandToc):
4944 (expandToc2): code moved from xforms menu frontend. It is now
4945 generic and TOCs are transparent to menu frontends.
4947 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4949 * toc.C (getTocList): protect against buf=0
4951 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4952 Menu as first parameter. Now, this calls itself recursively to
4953 expand a whole tree (this will be useful for TOC handling)
4954 (expandFloatInsert): remove 'wide' version of floats
4956 * MenuBackend.h (submenuname): returns the name of the submenu.
4957 (submenu): returns the submenu itself, provided it has been
4958 created by MenuBackend::expand
4960 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4962 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4963 insets which have noFontChange == true. (bug #172)
4965 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4967 * BufferView_pimpl.C: add connection objects and use them...
4970 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4972 * MenuBackend.C (expandLastfiles):
4975 (expandFloatListInsert):
4976 (expandFloatInsert):
4977 (expand): split expand in parts
4979 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4981 * lyx_gui.C: use lyx_gui::exit()
4983 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4985 * LyXAction.C: show the failing pseudo action
4987 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4989 * buffer.C (readFile): Run the lyxconvert script in order to read
4992 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4996 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4998 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5002 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5004 2002-07-22 Herbert Voss <voss@lyx.org>
5007 * lyxlength.[Ch]: add support for the vertical lengths
5009 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5011 * toc.[Ch]: std:: fixes
5013 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5015 * lyxrc.C: do not include lyx_main.h
5017 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5023 * BufferView2.C: include "lyxlex.h"
5026 * bufferparams.h: do not #include "lyxlex.h"
5028 * lyxtextclasslist.C (Add): remove method
5029 (classlist): renamed to classlist_
5031 * paragraph_pimpl.C:
5035 * bufferview_funcs.C:
5040 * toc.C (getTocList): use BufferParams::getLyXTextClass
5042 * toc.C (getTocList): use InsetFloat::addToToc
5044 * toc.[Ch]: new files, containing helper functions to handle table
5047 * lyxfunc.C (dispatch): no need to remove spaces around command
5049 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5050 first command of the sequence; it is not very clever, but I do not
5051 have a better idea, actually
5053 * LyXAction.C (LookupFunc): make sure to remove space at the
5054 beginning and end of the command
5056 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5058 * MenuBackend.C (getMenubar): new method: return the menubar of
5060 (read): treat differently reading of menu and menubar (in
5061 particular, the menubar has no name now)
5062 (Menu::menubar): remove
5064 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5067 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5069 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5070 a bibitem inset in a RTL paragraph.
5072 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5074 * paragraph_pimpl.C: constify
5076 * BufferView_pimpl.C:
5078 * lyxfunc.C: fix dispatch in a nicer way
5080 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5082 * lyxfunc.C (dispatch):
5083 * BufferView_pimpl.C:
5084 * BufferView_pimpl.h:
5086 * BufferView.h: rename Dispatch() to dispatch()
5088 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5090 * lyxlayout.C (Read): honor DependsOn tag
5092 * lyxlayout.[Ch] (depends_on): new method
5094 * version.C.in: update lyx_docversion
5096 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5098 * paragraph.C (validate): remove from here...
5099 * paragraph_pimpl.C (validate): ... and move here
5100 (isTextAt): make it const
5102 * buffer.C (getLists): ws cleanup
5104 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5106 * language.C (read): Use iso8859-1 encoding in latex_lang
5107 (this prevents LyX from crashing when using iso10646-1 encoding).
5109 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5111 * text2.C (toggleInset): if cursor is inside an inset, close the
5112 inset and leave cursor _after_ it
5114 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5116 * lyxfunc.C: move minibuffer completion handling out of here
5118 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5120 * BufferView_pimpl.C:
5121 * LaTeX.C: fix dispatch calls
5123 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5125 * text.C (drawChars): Fix Arabic text rendering.
5127 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5131 * lyxfunc.C: remove message-push/pop
5135 * lyxfunc.C: rationalise some code by removing verboseDispatch
5136 in favour of a bool argument to dispatch()
5138 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5140 * lyx_main.C (init): make sure to read symlinks as absolute paths
5142 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5145 * lyxfunc.C: no need for commandshortcut to be a member
5147 2002-07-15 André Pönitz <poenitz@gmx.net>
5149 * converter.C: add support for $$s (scripts from lib/scripts dir)
5150 * lyx_main.C: white space
5152 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5156 * lyxrc.C: remove second exit confirmation
5158 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5163 * BufferView_pimpl.h:
5164 * BufferView_pimpl.C:
5165 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5167 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5169 * MenuBackend.C (expand): add numeric shortcuts to document menu
5171 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5173 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5175 * lyxfont.C (setLyXFamily):
5182 * buffer.C (asciiParagraph): use ascii_lowercase
5184 2002-07-15 Mike Fabian <mfabian@suse.de>
5186 * lyxlex_pimpl.C (search_kw):
5187 * lyxlex.C (getLongString):
5188 * converter.h (operator<):
5189 * converter.C (operator<):
5190 * buffer.C (parseSingleLyXformat2Token):
5192 * ToolbarDefaults.C (read):
5193 * MenuBackend.C (checkShortcuts):
5195 * LColor.C (getFromGUIName):
5196 (getFromLyXName): use the compare_ascii_no_case instead of
5197 compare_no_case, because in turkish, 'i' is not the lowercase
5198 version of 'I', and thus turkish locale breaks parsing of tags.
5200 2002-07-16 Angus Leeming <leeming@lyx.org>
5202 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5203 now takes a Buffer const & argument.
5205 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5207 * BufferView.C (resize): check there's a buffer to resize
5209 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5211 * lyxfunc.C: remove dead code
5214 * lyxserver.C: use lyx_guii::set_read_callback
5216 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5218 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5219 an inset in a RTL paragraph.
5221 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5223 * lyxfunc.C: repaint after a font size update
5225 2002-07-15 André Pönitz <poenitz@gmx.net>
5227 * lyxlength.C: inBP should be able to return negative values
5229 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5231 * lyxfunc.C: use lyx_gui::update_fonts()
5233 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5235 * lyxfunc.C: use lyx_gui::update_color()
5237 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5243 * lyxrc.C: remove file->new asks for name option, and let
5244 buffer-new take an argument
5246 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5248 * BufferView_pimpl.C: remove unneeded extra repaint()
5250 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5252 * LyXAction.C: allow command-sequence with NoBuffer
5254 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5256 2002-07-10 Angus Leeming <leeming@lyx.org>
5258 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5260 2002-07-09 Angus Leeming <leeming@lyx.org>
5262 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5264 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5266 * lengthcommon.h: whitespace
5268 * lyxfunc.C: update scrollbar after goto paragraph
5270 * lyxtext.h: factor out page break drawing, and fix it so
5271 page break/added space paints as selected nicely
5273 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5275 * BufferView_pimpl.C: add FIXMEs, clean up a little
5277 2002-07-09 André Pönitz <poenitz@gmx.net>
5279 * lyxfont.[Ch]: support for wasy symbols
5281 2002-07-08 André Pönitz <poenitz@gmx.net>
5283 * BufferView_pimpl.C: apply John's patch for #93.
5285 2002-07-05 Angus Leeming <leeming@lyx.org>
5287 * BufferView_pimpl.C (buffer): generate previews if desired.
5289 * LColor.h: add "preview" to the color enum.
5291 * LColor.C (LColor): add a corresponding entry to the items array.
5293 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5296 2002-07-05 Angus Leeming <leeming@lyx.org>
5298 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5299 The body of the code is now in the method that is passed an ostream &
5300 rather than a file name.
5301 Pass an additional only_preamble parameter, useful for the forthcoming
5304 2002-07-03 André Pönitz <poenitz@gmx.net>
5306 * lyxfunc.C: simplify getStatus() a bit for math stuff
5308 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5310 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5312 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5314 * text.C (changeRegionCase): do not change case of all the
5315 document when region ends at paragraph end (bug #461)
5317 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5319 * paragraph.C (startTeXParParams):
5320 (endTeXParParams): add \protect when necessary
5322 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5324 * BufferView_pimpl.C (workAreaExpose): remove warning
5326 2002-06-27 Angus Leeming <leeming@lyx.org>
5328 * Makefile.am: add lyxlayout_ptr_fwd.h.
5330 2002-06-26 André Pönitz <poenitz@gmx.net>
5332 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5334 2002-06-25 Angus Leeming <leeming@lyx.org>
5336 * lyxfunc.C (dispatch): Comment out the call to
5337 grfx::GCache::changeDisplay. The method no longer exists now that the
5338 pixmap generation part of the graphics loader has been moved into
5341 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5343 * text2.C: layout as layout
5345 * text.C: layout as layout
5347 * tabular.C (OldFormatRead): layout as layout
5349 * paragraph_pimpl.C (TeXDeeper): layout as layout
5350 (realizeFont): layout as layout
5352 * paragraph.C (writeFile): layout as layout
5353 (validate): layout as layout
5354 (getFont): layout as layout
5355 (getLabelFont): layout as layout
5356 (getLayoutFont): layout as layout
5357 (breakParagraph): layout as layout
5358 (stripLeadingSpaces): layout as layout
5359 (getEndLabel): layout as layout
5360 (getMaxDepthAfter): layout as layout
5361 (applyLayout): layout as layout
5362 (TeXOnePar): layout as layout
5363 (simpleTeXOnePar): layout as layout
5364 (TeXEnvironment): layout as layout
5365 (layout): layout as layout
5366 (layout): layout as layout
5368 * lyxtextclass.C (compare_name): new functor to work with
5369 shared_ptr, layout as layout
5370 (Read): layout as layout
5371 (hasLayout): layout as layout
5372 (operator): layout as layout
5373 (delete_layout): layout as layout
5374 (defaultLayout): layout as layout
5376 * lyxlayout_ptr_fwd.h: new file
5378 * lyxlayout.C (Read): layout as layout
5380 * lyx_cb.C (MenuInsertLabel): layout as layout
5382 * bufferlist.C (newFile): layout as layout
5384 * buffer.C (readLyXformat2): layout as layout
5385 (parseSingleLyXformat2Token): layout as layout
5386 (insertStringAsLines): layout as layout
5387 (asciiParagraph): layout as layout
5388 (latexParagraphs): layout as layout
5389 (makeLinuxDocFile): layout as layout
5390 (simpleLinuxDocOnePar): layout as layout
5391 (makeDocBookFile): layout as layout
5392 (simpleDocBookOnePar): layout as layout
5393 (getLists): layout as layout
5395 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5397 * CutAndPaste.C (cutSelection): layout as layout
5398 (pasteSelection): layout as layout
5399 (SwitchLayoutsBetweenClasses): layout as layout
5401 * BufferView_pimpl.C (Dispatch): layout as layout
5402 (smartQuote): layout as layout
5404 * BufferView2.C (unlockInset): layout as layout
5406 2002-06-24 André Pönitz <poenitz@gmx.net>
5408 * lyxfunc.C: fix #487
5410 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5414 * lyxfunc.C: remove display_shortcuts, show_banner
5416 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5418 * Buffer_pimpl.C: oops, update on resize
5420 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5427 * BufferView.C: use repaint()
5429 * BufferView_pimpl.h:
5430 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5431 as it's a clearer description. Remove superfluous
5434 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5436 * text.C: fix bug 488. Not ideal, but getting
5437 getWord() to work properly for the insets that
5438 matter is more difficult ...
5440 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5442 * BufferView_pimpl.C:
5445 * lyxfunc.C: remove the six million index lyxfuncs to just
5446 one, and DTRT (bug 458)
5448 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5452 * BufferView_pimpl.h:
5453 * BufferView_pimpl.C: clean up resize() stuff,
5454 and unnecessary updateScreen()s
5456 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5460 * BufferView_pimpl.h:
5461 * BufferView_pimpl.C:
5464 * minibuffer.C: remove focus management of workarea,
5465 not needed. Use screen's greyOut()
5467 2002-06-17 Herbert Voss <voss@lyx.org>
5469 * converter.C: (convert) do not post a message, when converting
5470 fails, let the calling function decide what to do in this case
5472 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5474 * lyxfunc.C: tidy up a little
5476 2002-06-16 <alstrup@diku.dk>
5478 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5479 Got rid of FORMS_H_LOCATION include. Now we are
5482 2002-06-15 LyX Development team <lyx@rilke>
5484 * buffer.[Ch] (sgmlOpenTag):
5485 (sgmlCloseTag): Added support for avoiding pernicious mixed
5486 content. Return number of lines written.
5489 (makeDocBookFile): Fixed calls to sgml*Tag.
5490 Simple white space clean.
5492 (simpleDocBookOnePar): Simple white space clean.
5494 * tabular.[Ch] (docBook): Renamed to docbook and got another
5495 argument to related with the pernicious mixed content.
5497 (docbookRow): Fixed calls for docbook inset method.
5499 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5501 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5502 so it's X11 independent.
5506 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5508 2002-06-15 Lyx Development team <lyx@electronia>
5510 * intl.h: Renamed getTrans to getTransManager.
5512 2002-06-14 Angus Leeming <leeming@lyx.org>
5514 * Makefile.am: nuke forgotten stl_string_fwd.h.
5516 2002-06-12 Angus Leeming <leeming@lyx.org>
5518 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5520 2002-06-13 Angus Leeming <leeming@lyx.org>
5523 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5525 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5527 * kbmap.C (getiso): add support for cyrillic and greek
5529 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5533 * BufferView_pimpl.h:
5534 * BufferView_pimpl.C: move bogus scrolling logic
5537 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5540 * BufferView_pimpl.C: view->resize() change
5542 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5544 * BufferView_pimpl.C: topCursorVisible
5547 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5551 * lyx_gui.C: move to frontends/
5555 * lyx_main.C: changes from above
5557 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5564 * lyx_main.C: minor tidy
5566 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5568 * BufferView_pimpl.h:
5569 * BufferView_pimpl.C:
5571 * BufferView.C: make painter() const,
5574 * BufferView2.C: use screen() accessor
5577 * lyx_main.C: some minor cleanup
5579 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5581 * BufferView_pimpl.h:
5582 * BufferView_pimpl.C: remove enter/leaveView,
5585 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5590 * BufferView_pimpl.h:
5591 * BufferView_pimpl.C: only construct screen once,
5594 * lyxrc.C: remove pointless comment
5596 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5599 * BufferView.C: remove active() and belowMouse()
5601 * BufferView_pimpl.h:
5602 * BufferView_pimpl.C: use workarea() not workarea_,
5603 and make it use a scoped_ptr instead
5605 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5607 * lyx_gui.C: add debug message on BadWindow
5609 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5611 * sp_spell.C: fdopen is not part of the C++ standard.
5613 * paragraph.C (InsetIterator): use >= instead of ==
5615 2002-06-07 Angus Leeming <leeming@lyx.org>
5617 Fixes needed to compile with Compaq cxx 6.5.
5618 * BufferView_pimpl.C:
5625 * lyxtextclasslist.C:
5630 all c-library variables have been moved into namespace std. Wrap
5631 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5636 Add a using std::abs declaration.
5638 * kbmap.h (modifier_pair):
5639 * paragraph.h (InsetTable, InsetList):
5640 * lyxfont.h (FontBits):
5641 type definition made public.
5643 * bufferlist.C (emergencyWriteAll): the compiler complains that
5644 there is more than one possible lyx::class_fun template to choose from.
5645 I re-named the void specialisation as lyx::void_class_fun.
5647 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5649 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5650 the compiler is is unable to find tostr in write_attribute.
5652 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5654 * buffer.C (sgmlError): hide #warning
5656 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5658 * xtl/*: get rid of xtl, which is not in use anyway
5660 * LyXAction.C (init):
5661 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5662 were unimplemented xtl experimentation
5664 2002-06-04 André Pönitz <poenitz@gmx.net>
5666 * lyxfunc.C: disable array operation on simple formulae
5668 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5670 * converter.C: constify a bit
5672 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5674 * lyx_gui.C: check xforms version correctly
5676 2002-04-30 Herbert Voss <voss@lyx.org>
5678 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5681 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5683 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5684 attempt to register it with a VCS)
5686 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5688 * lyx_main.C (init): honor variables LYX_DIR_13x and
5691 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5695 * lyx_main.C: fix a crash on bad command line,
5696 and give a useful exit status on error
5698 * lyxfunc.C (doImport): allow -i lyx to work
5700 2002-03-30 André Pönitz <poenitz@gmx.net>
5702 * lyxfunc.C: mathed font changes
5704 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5719 * trans_mgr.h: srcdocs, and some minor cleanups
5721 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5723 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5724 call getFont all the time)
5726 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5728 * switch from SigC signals to boost::signals
5730 2002-05-29 André Pönitz <poenitz@gmx.net>
5732 * paragraph_pimpl.C (getChar): don't call size() too often...
5734 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5736 * paragraph_pimpl.C (insertChar): do not try to update tables when
5737 appending (pos == size())
5739 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5740 in order to reduce drastically the number of comparisons needed to
5741 parse a large document
5743 2002-05-29 André Pönitz <poenitz@gmx.net>
5749 * textclasslist.[Ch]:
5750 * sp_ispell.h: whitespace change
5752 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5754 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5755 lyxaction directly now.
5757 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5761 * lyxvc.C: remove unused headers
5763 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5770 * undo_funcs.C: some cleanups. Use shared_ptr
5771 and a template for the undo stacks.
5773 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5775 * BufferView_pimpl.h:
5776 * BufferView_pimpl.C:
5783 * text2.C: use key_state/mouse_state
5785 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5787 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5790 * chset.C: change include order
5791 (loadFile): use boost regex and get rid of LRegex and LSubstring
5793 * Makefile.am (BOOST_LIBS): new variable
5796 * LaTeX.C: change include order.
5797 (scanAuxFile): use boost regex and get rid of LRegex and
5801 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5806 * FontInfo.C: moved to frontends/xforms/
5809 * FontLoader.C: moved into frontends for GUIIzation
5814 * lyxfunc.C: changes from above
5816 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5818 * LColor.C: remove spurious X include
5820 * BufferView_pimpl.C:
5825 * text2.C: move font metrics to frontends/
5827 2002-05-24 Juergen Vigna <jug@sad.it>
5829 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5830 setting the undo_cursor.
5832 * ParagraphParameters.h: include local includes first.
5834 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5836 * BufferView_pimpl.C:
5837 * BufferView_pimpl.h:
5841 * screen.C: move WorkArea into frontends/
5847 * BufferView2.C: move LyXScreen into frontends/
5851 * lyx_gui.C: move lyxlookup into frontends/xforms/
5853 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5856 * BufferView_pimpl.C:
5866 * bufferview_funcs.C:
5879 * vc-backend.C: move LyX/XFormsView into frontends/
5881 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5893 * text2.C: move Painter to frontends/
5895 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5897 * buffer.C: comment out some some code that depend upon lyx_format
5900 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5901 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5903 * buffer.h (NO_COMPABILITY): turn off compability
5905 * ColorHandler.C: include scoped_array.hpp
5907 * font.C: Use more specific smart_ptr header.
5910 * ShareContainer.h: ditto
5914 * BufferView_pimpl.h: ditto
5915 * ColorHandler.h: ditto
5917 * kbmap.C (defkey): change call to shared_ptr::reset
5919 2002-05-21 Juergen Vigna <jug@sad.it>
5921 * buffer.C (insertErtContents): fix to insert ert asis if it is
5922 non empty. Skip it completely if it contains only whitespaces.
5924 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5926 * BufferView_pimpl.C:
5927 * BufferView2.C: clear selection on paste (bug 393)
5929 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5931 * DepTable.C: include ctime
5933 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5935 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5937 2002-05-14 Juergen Vigna <jug@sad.it>
5939 * text.C (breakParagraph): fixed function to honor the keepempty
5940 layout in the right maner and also to permit the right breaking
5941 algorithm on empty or non empyt keepempty paragraphs.
5943 * paragraph.C (breakParagraph): we have to check also if the par
5944 is really empty (!size()) for isempty otherwise we do the wrong
5947 2002-05-10 Juergen Vigna <jug@sad.it>
5949 * buffer.[Ch] : The following are only changes to the ert
5950 compatibility read reading old LaTeX layout and font stuff and
5951 convert it to ERTInsets.
5953 * buffer.h: added isErtInset().
5955 * buffer.C (struct ErtComp): add a fromlayout bool to check
5956 if we're inside a LaTeX layout.
5957 (isErtInset): new helper function.
5958 (insertErtContents): look for other ert insets before this one
5959 and insert the contents there, so that we don't have subsequent
5960 ERT insets with nothing between them. This way we create only one
5961 inset with multiple paragraphs. Also check if we don't insert only
5962 spaces ' ' as they are ignored anyway afterwards in the .tex file
5963 so if we have only spaces we will ignore this latex part in the
5965 (parseSingleLyXformat2Token \\layout): better compatibility when
5966 reading layout-latex stuff.
5967 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5969 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5970 stuff after reading the inset only get the information back from
5973 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5975 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5977 * LaTeXFeatures.C (getBabelOptions): New method.
5979 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5981 * BufferView_pimpl.C (Dispatch): work around missing argument for
5984 2002-05-08 Juergen Vigna <jug@sad.it>
5986 * text.C (leftMargin): handle paragraph leftindent.
5988 * paragraph.C (writeFile): write the new \\leftindent tag.
5989 (validate): handle leftindent code.
5990 (TeXEnvironment): handle paragraphleftindent code again.
5992 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5994 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5995 for paragrap_extra indent code and new token \\leftindent.
5996 (latexParagraphs): handle the leftindent as environment.
5998 * ParameterStruct.h: added leftindent support.
6000 * ParagraphParameters.C (leftIndent): added support functions for
6001 the paragraph left indent.
6003 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6006 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6008 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6011 * text.C (computeBidiTables): No bidi in insetERT.
6013 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6016 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6018 * version.C.in: pre 5
6020 2002-05-02 José Matos <jamatos@fep.up.pt>
6021 * buffer.C (makeDocBookFile): white space changes, add newline to
6023 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6025 * tabular.C (docBook): fix typo.
6027 2002-05-03 Juergen Vigna <jug@sad.it>
6029 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6030 change in LyXText as we can not be sure it was not freed.
6031 (drawOneRow): remove unused code.
6033 * text.C (drawInset): redo the calculation of the need_break_row as
6034 it could have a row which was already freed.
6035 (draw): look at the return value of drawInset and return false if
6036 it also returned false.
6037 (paintRowText): look at the return value of draw and return false if
6038 it also returned false.
6040 * lyxtext.h: added bool return type to drawInset() and draw() so that
6041 if we have a change in the row so that the rowbreak has to be redone
6042 we abort drawing as it will be called again.
6044 2002-05-02 Juergen Vigna <jug@sad.it>
6046 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6047 a change in the maintext also if we're inside an inset.
6048 (Dispatch): set the cursor again after a break line and after the
6049 screen has been updated as it could be we're in a different row.
6051 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6052 to set the cursor behind the pargraph with > size().
6053 (setCursor): check also for the same paragraph when checking where
6054 to put the cursor if we have a NFR inset.
6056 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6057 parts of layout read further up as it still was in the wrong
6060 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6062 * screen.C (drawFromTo): change sine fullRebreak always return
6065 * buffer.C (parseSingleLyXformat2Token): reindent some
6067 * BufferView_pimpl.C (update): change since fullRebreak always
6069 (Dispatch): git rid of the last hardcoded "Standard"s.
6071 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6073 * text2.[Ch] (fullRebreak): make it return void now that we always
6076 2002-04-30 Juergen Vigna <jug@sad.it>
6078 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6079 ert compatibility check for "latex" layout.
6081 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6083 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6084 minipages: use col% instead of p%, and also use the current font.
6085 (makeLaTeXFile): Fix use babel condition.
6086 (parseSingleLyXformat2Token): Correct font when reading old floats.
6088 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6090 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6091 inserting list of floats.
6093 2002-04-25 Herbert Voss <voss@lyx.org>
6095 * MenuBackend.C (expand): don't add the graphics extensions to the
6098 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6100 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6101 non-existing layout, do not complain if it was the default layout
6102 of the original class (bug #342)
6104 2002-04-24 Juergen Vigna <jug@sad.it>
6106 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6107 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6109 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6111 * buffer.C (getBibkeyList): If using \bibliography, return the
6112 option field with the reference itself. Enables us to provide natbib
6113 support when using \bibliography.
6115 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6117 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6119 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6120 natbib is provided by the LaTeX class.
6122 2002-04-23 Juergen Vigna <jug@sad.it>
6124 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6127 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6129 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6131 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6133 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6134 ensuremath around textordmasculine, textordfeminine and
6137 2002-04-19 Juergen Vigna <jug@sad.it>
6139 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6140 reinitializing the buffer otherwise row-dimensions may be wrong.
6141 (update): reset also the selection cursors if they do exits otherwise
6142 their x/y positions may be wrong.
6144 * text2.C (cursorDown): don't enter the inset if we came from a row
6145 above and are one row over the inset.
6147 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6148 really leaving an inset.
6150 2002-04-18 Juergen Vigna <jug@sad.it>
6152 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6153 of the selected paragraph does not have the selected layout also if
6156 * text2.C (setLayout): fixed bug which did not change last selected
6159 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6160 changed the read and substituted \\end_float with \\end_inset!
6162 * BufferView_pimpl.C (cursorPrevious):
6163 (cursorNext): fixed to make it work with rows heigher than the work
6164 area without moving the cursor only the draw of the row.
6165 (workAreaMotionNotify): fix jumping over high rows.
6167 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6169 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6172 2002-04-16 Juergen Vigna <jug@sad.it>
6174 * text2.C (setCursor): set also the irow().
6175 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6177 (cursorDown): support for locking an inset if the x_fix value goes
6178 inside it. That way I can transverse insets too with cursor up/down.
6180 * lyxrow.h: added irow helper function same as other (i) functions.
6182 * BufferView_pimpl.C (cursorPrevious):
6183 (cursorNext): fixed for insets!
6185 2002-04-15 Juergen Vigna <jug@sad.it>
6187 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6188 position otherwise it is wrong in some cases.
6190 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6191 inside the inset before the call.
6193 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6195 * buffer.[Ch] (getBibkeyList): make it const.
6197 2002-04-12 Juergen Vigna <jug@sad.it>
6199 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6201 * text2.C (getCursorX): new helper function
6202 (setCursor): compute also ix_
6203 (setCursorFromCoordinates): set also ix.
6205 * lyxcursor.h: added ix_ and helper functions.
6207 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6209 * buffer.C (insertStringAsLines): dont break paragraph if the this
6210 paragraph is inside an inset which does not permit it!
6212 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6213 also with no chars on this paragraph.
6214 (paintRowText): only paint stuff if it's inside the workarea!
6216 * paragraph.C (breakParagraph): honor keepempty flag and break the
6217 paragraph always below not above.
6219 * BufferView2.C (unlockInset): update the paragraph layout on inset
6220 unlock as we changed paragraph in such a case.
6222 * lyxfind.C (LyXFind): clear the former selection if not found!
6224 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6225 again called in insertChar().
6227 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6228 an inset which uses the whole row!
6229 (rightMargin): ditto.
6230 (insertChar): force a rebreak if we inserted an inset!
6232 2002-03-28 Herbert Voss <voss@lyx.org>
6234 * lyxlength.[Ch]: add inBP() to get the right PS-point
6235 units (BigPoint). With inPixels we have rounding errors
6237 2002-04-11 Juergen Vigna <jug@sad.it>
6239 * text2.C (setCursorFromCoordinates): set iy to the right value.
6240 (setCursor): add check if row->previous exists!
6242 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6243 an old float_type as this was the case in the old code!
6245 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6247 * BufferView2.C (showLockedInsetCursor): use iy
6248 (fitLockedInsetCursor): ditto
6250 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6251 locked insets as there we have the right value now.
6253 * lyxcursor.C: added iy_ variable and iy functions to set to the
6254 baseline of cursor-y of the locked inset.
6256 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6257 (setCursor): fixed for insets which need a full row.
6259 * text.C (rowLastPrintable): don't ignore the last space when before
6260 an inset which needs a full row.
6261 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6262 as last character of a row when before a inset which needs a full row.
6264 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6266 * version.C.in: update date
6268 * text2.C (fullRebreak): try to always return true and see what
6271 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6273 * MenuBackend.C (expand): use Floating::listName
6275 * FloatList.C (FloatList): add listName argument to the built-in
6278 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6279 text associated with the float.
6281 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6283 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6285 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6287 * ShareContainer.h: add a couple of missing typenames.
6289 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6291 * lyxrc.C (getDescription): use _() correctly rather than N_().
6293 2002-03-28 Herbert Voss <voss@lyx.org>
6295 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6296 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6298 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6300 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6301 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6303 2002-03-29 Juergen Vigna <jug@sad.it>
6305 * lyxfunc.C (dispatch): add a missing fitCursor call.
6307 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6308 it was scrolled by a cursor move, so return the bool status.
6310 * BufferView.C (fitCursor): return the bool flag also to the outside
6311 world as this is needed.
6313 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6315 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6316 call the edit() as it is not needed (and wrong) IMO.
6317 (workAreaButtonPress): set the screen_first variable before evt.
6318 unlock the inset as this may change screen_first and then we have
6319 a wrong y position for the click!
6321 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6323 * MenuBackend.C (expand): another translation that I missed
6325 2002-03-28 Juergen Vigna <jug@sad.it>
6327 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6329 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6331 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6333 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6335 * MenuBackend.C (expand): fix export/view/update when there is no
6338 2002-03-27 Herbert Voss <voss@lyx.org>
6340 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6343 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6345 * bufferview_funcs.C (currentState): only show paragraph number
6346 for is DEVEL_VERSION is set.
6348 * lyxfunc.C (dispatch): put warning in INFO channel
6350 * MenuBackend.C (expand): translate the name of floats
6352 * FloatList.C (FloatList): mark the float names for translation
6354 * converter.C (convert): use LibScriptSearch
6356 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6358 * MenuBackend.C (defaults): fix default menu (we might as well get
6361 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6363 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6366 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6368 * lyxvc.C: reorder includes.
6370 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6372 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6375 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6377 * CutAndPaste.C: change layouts earlier on paste
6378 to avoid crashing when calling getFont()
6380 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6382 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6385 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6387 * WorkArea.C: remove 'Pending' debug message.
6389 * most files: ws cleanup
6391 * buffer.[Ch]: ws changes
6393 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6395 2002-03-21 Juergen Vigna <jug@sad.it>
6397 * tabular.C (SetMultiColumn): collapse also the contents of the
6398 cells and set the last border right. Added a Buffer const * param.
6400 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6402 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6405 2002-03-19 Juergen Vigna <jug@sad.it>
6407 * text2.C (clearSelection): reset also xsel_cache.
6409 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6410 where it needs to be called (John tells us to do so too :)
6411 (selectionLost): reset sel_cache.
6413 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6415 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6417 * text2.C (setCursorIntern): put debuging code in INSETS channel
6419 2002-03-19 André Pönitz <poenitz@gmx.net>
6421 * lyxfunc.C: tiny whitespace change
6423 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6425 * ToolbarDefaults.C (init):
6426 * LyXAction.C (init):
6428 * BufferView_pimpl.C (Dispatch):
6429 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6431 2002-03-19 Allan Rae <rae@lyx.org>
6433 * exporter.C (Export): removeAutoInsets before doing anything else.
6434 While I've just introduced a dependency on BufferView this really is
6435 the best place to clean the buffer otherwise you need to cleanup in
6436 a dozen places before calling export or cleanup in a dozen functions
6439 * converter.C (runLaTeX):
6440 (scanLog): Better handling of removeAutoInsets and screen updates.
6442 * lyxfunc.C (dispatch): small whitespace changes
6444 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6446 * WorkArea.C (C_WorkAreaEvent): return a value.
6447 (event_cb): return 1 if we handled the event, 0 otherwise.
6449 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6451 2002-03-18 Juergen Vigna <jug@sad.it>
6453 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6454 (GetAdditionalWidth): ditto.
6458 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6459 inset if we're there actually (probably not used right now but this
6460 is the direction to go for unifying code).
6461 (paste): disable code to clear the selection.
6463 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6464 inside an InsetText and move the check further up as it is in the
6467 * text2.C (pasteSelection): set a selection over the pasted text.
6469 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6471 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6472 and libgraphics to build on Cygwin.
6474 2002-03-15 Juergen Vigna <jug@sad.it>
6476 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6477 inserting an Inset into the paragraph. I know this is not the best
6478 fix but we already use current_view in CutAndPaste so we will remove
6479 all of it's using at the same time.
6481 * buffer.C (sgmlError): deactivated function till it is rewritten in
6482 the right mode, now it can create problems.
6484 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6485 before accessing it.
6487 2002-03-14 Juergen Vigna <jug@sad.it>
6489 * undo_funcs.C (textHandleUndo): do the right thing when updating
6490 the inset after the undo/redo.
6492 * text2.C (setCursor): just some testcode for #44 not ready yet.
6494 * undo_funcs.C (textHandleUndo): set the next() and previous()
6495 pointers of the paragraph to 0 before deleting otherwise we have
6496 problems with the Paragraph::[destructor].
6498 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6499 on a paragraph insertion.
6501 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6503 * buffer.C (asciiParagraph): use += operator for char append to
6506 * paragraph.C (getFontSettings): compare >= not just >
6507 (highestFontInRange): ditto
6510 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6512 * paragraph.C: change several algorithm to be more appripriate for
6513 the problem domain. This is lookip in FontList and in the InsetList.
6515 2002-03-13 André Pönitz <poenitz@gmx.net>
6518 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6520 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6525 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6527 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6529 * Painter.C (display): anon helper function, adjust code for this
6531 (pixmap): remove function.
6533 * Painter.h: remove private display variable.
6535 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6537 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6539 * WorkArea.[Ch]: remove figinset_canvas cruft.
6541 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6543 * lyxtextclass.C (operator): add one item cache optimization.
6545 * bufferlist.h: doxy changes
6547 * bufferlist.C: ws changes
6549 * DepTable.[Ch] (ext_exist): place const in the right spot.
6551 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6553 (workAreaExpose): call resizeInsets when the with BufferView changes.
6554 (Dispatch): adjust for protectedBlank removal
6555 (specialChar): call updateInset if the insert went ok.
6557 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6558 specialChar instead.
6560 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6562 * BufferView.h: doxy change
6564 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6566 * lyxtextclass.C (operator[]): remove non-const version
6567 (defaultLayout): remove non-const version
6569 2002-03-12 Juergen Vigna <jug@sad.it>
6571 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6572 did resize the LyXText too.
6574 * buffer.C (readLyXformat2): set layout information on newly allocated
6577 * tabular.C (OldFormatRead): set layout information on the paragraph.
6579 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6581 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6583 2002-03-11 Juergen Vigna <jug@sad.it>
6585 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6587 (resizeCurrentBuffer): force also the insets to resize themselfes.
6588 (moveCursorUpdate): fixed up for InsetText.
6590 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6593 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6594 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6595 value of Dialogs::tooltipsEnabled().
6596 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6598 2002-03-08 Juergen Vigna <jug@sad.it>
6600 * BufferView_pimpl.C (updateInset): update inset inside inset also
6601 if it isn't inside theLockingInset().
6603 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6605 * buffer.C (asciiParagraph): redo some of the word and line length
6607 (getLists): look for Caption instead of caption.
6609 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6611 * buffer.C (Buffer): initialize niceFile to true
6614 (makeDocBookFile): make sure niceFile is true on exit
6616 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6618 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6620 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6622 * LyXSendto.C: remove.
6623 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6624 * lyx_gui.C: remove now-redundant comment.
6625 * ColorHandler.h: remove forward declaration of class WorkArea.
6626 * lyxfunc.C: remove #include "WorkArea.h".
6628 2002-03-07 Juergen Vigna <jug@sad.it>
6630 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6631 got moved away with the DEPM and also set the inset_owner always
6632 right which before could have been omitted.
6634 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6636 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6637 wanted layout is not found.
6639 2002-03-07 Juergen Vigna <jug@sad.it>
6641 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6643 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6645 * paragraph.C (breakParagraph): use default layout not layout of
6647 (Paragraph): clear ParagraphParameters.
6649 2002-03-06 Juergen Vigna <jug@sad.it>
6651 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6652 otherwise it would not be a valid lenght. Fixed a special case in
6653 the minipage compatibility read where we end the document with a
6656 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6657 was set as it could be 0 for InsetTexts first entry.
6659 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6661 * paragraph.C (writeFile): if layout is empty write out
6662 defaultLayoutName().
6664 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6665 file without named layout we set layout to defaultLayoutName().
6667 2002-03-06 Juergen Vigna <jug@sad.it>
6669 * CutAndPaste.C (copySelection): set layout for new paragraph.
6671 * text.C (prepareToPrint): leave ERT inset left aligned
6672 (leftMargin): don't indent paragraphs inside ERT insets
6674 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6676 * paragraph.C (breakParagraph): dont call clear do the work manually
6678 * paragraph.[Ch] (clear): remove function
6680 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6682 * paragraph.C (Paragraph): dont call clear, the work has already
6685 * lyxtextclass.C (operator): assert if n is empty
6687 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6688 work manually instead.
6690 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6692 * BufferView_pimpl.C: protect selectionLost against text == 0
6694 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6696 * text.C (breakParagraph): fix a setting layout to '0' problem.
6698 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6700 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6701 final location of file, for the included files, and graphics.
6703 2002-03-05 Juergen Vigna <jug@sad.it>
6705 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6707 2002-03-04 Juergen Vigna <jug@sad.it>
6709 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6711 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6712 last column of multicolumn cells.
6713 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6715 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6717 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6718 file if it doesn't go to a temporary file.
6720 * buffer.C (sgmlOpenTag):
6721 (sgmlCloseTag): remove extra newline insertion.
6723 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6725 * text.C (getRowNearY): comment out debug msg
6727 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6729 * text2.C: first -> first_y
6731 * text.C (getRowNearY): add some attemts at a possible
6732 optimization, not working.
6734 * tabular.[Ch]: add BufferParams to several function so that newly
6735 created paragraph can be initialized to he default layotu for the
6738 * tabular-old.C (ReadOld): add buf->params to call of Init
6740 * screen.C: rename text->first to text->first_y
6742 * paragraph.C (breakParagraph): always set layout in the broken
6745 * lyxtextclass.C (Read): remove lowercase
6748 (delete_layout): ditto
6750 * lyxtext.h: rename first -> first_y
6752 * lyxlayout.C (Read): remove lowercase
6755 (obsoleted_by): ditto
6757 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6759 * buffer.C (insertErtContents): add params are to InsetERT
6760 (parseSingleLyXformat2Token): add code to check if a paragraphs
6761 layout really exist.
6762 (parseSingleLyXformat2Token): add params to several inset
6764 (asciiParagraph): remove lowercase, do the layout comparisons with
6767 * BufferView_pimpl.C (cursorNext): first -> first_y
6768 (resizeCurrentBuffer): first -> first_y
6769 (updateScrollbar): first -> first_y
6770 (scrollCB): first -> first_y
6771 (workAreaMotionNotify): first -> first_y
6772 (workAreaButtonPress): first -> first_y
6773 (checkInsetHit): first -> first_y
6774 (cursorPrevious): first -> first_y
6775 (cursorNext): first -> first_y
6776 (Dispatch): add buffer_->params to severl inset contructors
6778 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6780 * lyxlayout.C (Read): remove some debug info that I forgot.
6782 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6783 clean up the code slightly.
6784 (makeLinuxDocFile): ditto
6785 (makeDocBookFile): ditto
6787 * text2.C: layout as string
6789 * text.C: layout as string
6791 * paragraph_pimpl.C: layout as string
6793 * paragraph.[Ch]: layout as string
6795 * lyxtextclasslist.[Ch]: layout as string
6797 * lyxtextclass.[Ch]: layout as string
6799 * lyxtext.h: layout as string
6801 * lyxlayout.[Ch]: layout as string
6803 * lyx_cb.C: layout as string
6805 * bufferview_funcs.C: layout as string
6807 * bufferparams.C: layout as string
6809 * buffer.C: layout as string
6811 * LyXView.[Ch]: layout as string
6813 * LaTeXFeatures.[Ch]: layout as string
6815 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6817 * BufferView_pimpl.C: change current_layout to string, remove
6822 (workAreaButtonRelease): layout as string
6824 * BufferView2.C (unlockInset): adjust
6826 * vspace.C (asLatexCommand): use an explict temp variable.
6828 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6830 * Makefile.am: use FRONTEND_*
6832 2002-03-01 Juergen Vigna <jug@sad.it>
6834 * tabular.C (SetWidthOfMulticolCell): changed to something better
6835 I hope but still work in progress.
6836 (recalculateMulticolumnsOfColumn): renamed function from
6837 recalculateMulticolCells as it is more appropriate now.
6838 (SetWidthOfCell): calculate multicols better.
6840 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6842 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6844 * lyxfunc.C (processKeySym): print sequence also if it is
6845 `deleted' (complete)
6847 * kbsequence.C (print): print sequence even if it is deleted
6848 (complete would be a better word, actually).
6850 * lyxfunc.C (dispatch): print complete options after a prefix key
6852 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6854 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6856 * text2.C (setCharFont): eliminate setCharFont code duplication.
6858 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6860 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6861 LFUN_TABULAR_FEATURE (bug #177)
6863 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6865 * Makefile.am: remove figure.h
6867 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6869 * Bufferview_pimpl.C:
6881 * text2.C: remove #include "lyx_gui_misc.h".
6883 * LaTeX.C: added #include <cstdio>
6885 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6887 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6888 that the paragraph following this one can have.
6890 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6892 * vspace.C (asLatexCommand): fix bogus gcc warning
6894 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6896 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6898 * text2.C (setLayout): get rid of redundant code
6900 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6902 * text2.C (incDepth): make sure depth cannot be increased beyond
6905 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6907 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6908 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6910 * PainterBase.h (image):
6911 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6914 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6918 * BufferView_pimpl.C:
6919 * BufferView_pimpl.h:
6939 * sp_spell.C: remove fig inset, and the crap house of
6940 cards that follows it
6942 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6948 * nt_defines.h: move .h into support/
6950 * vms_defines.h: remove
6952 * WorkArea.C: add space in debug output
6956 * buffer.C: add WITH_WARNINGS
6960 * bufferlist.C: s/retrive/retrieve/, add docs
6971 * lyxgui.C: add ID to X error handler
6973 * lyxtestclass.c: fix typo
6975 2002-02-26 Juergen Vigna <jug@sad.it>
6977 * tabular_funcs.C (write_attribute): changed so that some default
6978 attributes are not written at all.
6979 (getTokenValue): set default values before trying to read the
6980 value so we have the return value always set as default if we don't
6981 find the token we search for.
6983 * tabular.C (Write): write bools as bools not as strings!
6985 2002-02-22 Juergen Vigna <jug@sad.it>
6987 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6988 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6990 * text.C (leftMargin): don't add an indent for paragraphs inside
6991 tabular cells (fix #208).
6993 2002-02-21 José Matos <jamatos@fep.up.pt>
6995 * tabular.C (docBook): fixed support for long tables.
6997 2002-02-20 Juergen Vigna <jug@sad.it>
6999 * text2.C (getFont): get the drawing font of the Inset if this
7000 paragraph is inside an inset (only important for InsetERT for now).
7002 * buffer.C (insertErtContents): use new lanugage params in ERT
7005 * CutAndPaste.C: commenting out seemingly uneeded code.
7007 2002-02-19 Allan Rae <rae@lyx.org>
7009 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7010 Iterators might be simple to use but they also get invalidated.
7011 (removeAutoInsets): renamed saved cursor tracking variables and added
7012 some comments to clarify what everything does.
7014 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7021 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7022 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7025 * vc-backend.h: remove #include "support/syscall.h"
7029 * converter.C: rearrange #includes in Lars' approved fashion.
7031 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7032 forward declare class Timeout in the header file.
7034 * XFormsView.C: changes due to the above.
7036 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7039 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7040 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7042 2002-02-18 José Matos <jamatos@fep.up.pt>
7044 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7047 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7049 * a lot of small ws changes
7050 * add a lot of using std::XXX
7051 * use std construcs some places where approp.
7052 * use some exisint stuff from lyxfunctional where approp.
7053 * Make file changes to use partial linking (lets test this now...)
7055 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7059 remove #include "support/syscontr.h" as it's redundant. Always has been.
7067 change Systemcalls::System to Systemcalls::Wait and
7068 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7069 No change of functionality, just reflects the stripped down Systemcalls
7072 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7074 * debug.[Ch]: add a GRAPHICS type to the enum.
7076 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7078 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7080 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7083 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7085 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7086 match the changes below.
7088 * text2.C (toggleInset): if there is not editable inset at cursor
7089 position, try to see if cursor is _inside_ a collapsable inset
7092 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7094 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7095 document menu has a nice checkbox
7097 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7099 * lyxlength.C (asLatexString): change PW to output as percent of
7102 * lengthcommon.C: change '%' to 't%'
7104 * lyxfunc.C (dispatch): a few comments from Martin
7106 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7110 * BufferView_pimpl.h:
7111 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7114 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7116 * vspace.C (inPixels): fix compiler warning
7118 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7120 * lyxfunc.C (getStatus): fix status message for disabled commands.
7122 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7124 * BufferView_pimpl.C: fix crash on close buffer
7125 during selection (#227)
7127 2002-01-27 Herbert Voss <voss@lyx.org>
7129 * buffer.C: link old Figure to new graphic inset
7131 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7133 * FontLoader.C (getFontinfo): Change the latex font names in order
7134 to match the names of type1inst.
7136 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7138 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7140 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7143 (remove_files_with_extension): ditto
7144 (remove_file): ditto
7147 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7148 document is smaller than the work area height. Do not initialize
7149 static variables to 0.
7151 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7153 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7155 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7156 LFUN_LAYOUT_PARAGRAPHS.
7158 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7159 tabular. It is possible to provide a possible cell, which will
7160 typically be the actcell from the corresponding insettabular
7162 * lyxfunc.C (getStatus): small cleanup; disable
7163 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7166 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7168 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7170 * paragraph.C (startTeXParParams):
7171 (endTeXParParams): new methods. The LaTeX code to
7172 start/end paragraph formatting
7173 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7174 empty (fixes bug #200)
7176 * vspace.C (inPixels): adapt to the change below
7177 (inPixels): [later] more cleanups (remove unused variables)
7179 * lyxlength.C (inPixels): change to use a width and a height as
7182 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7184 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7185 Replaced with \paperwidth
7187 * DepTable.C (insert): add std:: qualifier
7189 2002-01-18 Allan Rae <rae@lyx.org>
7191 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7194 * text.C (drawInset): Turned out I didn't know enough about how
7195 rebreaking worked. This fixes most of the redraw problems. I see
7196 an occasional cursor trail when a line is broken now and the cursor
7197 placement can seem out by a few pixels also after a rebreak.
7199 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7201 * buffer.C (parseSingleLyXformat2Token): update because minipage
7202 width is now a LyXLength
7204 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7206 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7209 2002-01-17 Juergen Vigna <jug@sad.it>
7211 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7213 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7214 is set correctly and the inset is updated correctly.
7216 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7218 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7219 the beginning of the loop.
7221 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7223 * lyxrc.C: improve help for use_scalable_fonts
7225 2002-01-17 Allan Rae <rae@lyx.org>
7227 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7229 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7231 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7232 make sure to set their inset_owner to the right value (bug #171)
7234 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7237 * DepTable.C: Implement mtime checking to reduce time spent doing
7240 2002-01-16 Juergen Vigna <jug@sad.it>
7242 * tabular.C (GetAdditionalHeight): one of error fixed.
7244 * lyxrc.C (output): small fix in writing use_pspell.
7246 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7248 * sp_base.h: #include LString.h
7250 2002-01-16 Allan Rae <rae@lyx.org>
7252 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7253 Can someone check this please?
7255 * text.C (drawInset): It was possible that p.row would be removed by
7256 breakAgainOneRow upsetting a few other settings. There may be another
7257 small tweak possible by setting need_break_row = 0 when p.row has been
7258 removed but I don't know enough about the logic here.
7260 2002-01-15 Allan Rae <rae@lyx.org>
7262 * text.C (insertChar): removed conditional truism.
7264 * BufferView2.C (removeAutoInsets): More tweaks.
7265 cur_par_prev could be a stray pointer. Check for trailing empty line
7266 in case last line was cur_par and only had an error inset on it.
7268 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7270 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7273 * vc-backend.C (most methods):
7274 * exporter.C (Export):
7275 * converter.C (convert):
7277 * LyXSendto.C (SendtoApplyCB):
7278 * lyxfunc.C (dispatch):
7282 * lyx_cb.C (AutoSave):
7284 * BufferView_pimpl.C (MenuInsertLyXFile):
7285 * buffer.C (runChktex): use Buffer::filePath().
7287 * buffer.h: rename filename to filename_; rename filepath to
7288 filepath_ and make it private
7289 (filePath): new method
7291 * buffer.C (writeFile): use fileName()
7294 * lyx_main.C (init): fix starting of LyX when the binary is a
7295 link from so,ewhere else.
7297 * minibuffer.C: include <cctype> for isprint
7299 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7301 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7302 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7303 name clash with InsetCollapsable's width function.
7305 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7307 * lastfiles.C: include <iterator>
7309 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7311 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7314 * buffer.C (makeLaTeXFile): ditto.
7315 Also make loop operation more transparent.
7317 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7319 * ToolbarDefaults.C: remove trailing comma closing namespace.
7321 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7323 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7326 * trans.C (Load): comment out unused variable, allowed.
7328 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7330 * minibuffer.[Ch] (append_char): new method to recieve input from the
7331 drop-down completion browser. If a key was pressed, then recieve this
7332 char and append it to the existing string.
7333 (peek_event): modify the positioning data passed to the completion
7334 browser so that it can be placed above the minibuffer rather than below.
7335 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7337 * LyXAction.C (init): alloe error-next for readonly documents.
7339 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7342 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7344 * bufferlist.C (readFile): create the buffer _after_ checking that
7347 * lyxfunc.C (verboseDispatch): fix handling of arguments
7349 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7351 * lyxrc.C: use string::erase() instead of initializing to "".
7354 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7356 * BufferView_pimpl.h:
7357 * BufferView_pimpl.C:
7360 * text2.C: tell X when we have made a selection for copying
7362 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7364 * BufferView_pimpl.C (MenuInsertLyXFile):
7365 * lyxfunc.C (menuNew):
7367 (doImport): add shortcuts to directory buttons
7369 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7372 * lyxfunc.C (setStatusMessage):
7373 (getStatusMessage): new methods
7374 (getStatus):use setStatusMessage instead of setErrorMessage
7375 (dispatch): when function is disabled, set error message here
7376 [instead of in getStatus previously]
7378 * BufferView_pimpl.C (workAreaButtonRelease): update
7379 toolbar/menubar here too.
7381 2002-01-13 Allan Rae <rae@lyx.org>
7383 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7384 Now seems indestructible. Remaining task is to audit all other
7385 code affected by deleteEmptyParagraphMechanism. One small quirk
7386 left is that an empty document with an error in the preamble can
7387 be made to report an error but no error box appears. I don't know
7389 (removeAutoInsets): Improved comments.
7391 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7394 * Thesaurus.C: update for Aiksaurus 0.14
7396 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7398 * text2.C (firstParagraph): removed member function, all uses
7399 replaces with ownerParagraph
7400 (redoParagraphs): here
7402 (toggleAppendix): here
7403 * BufferView2.C (insertErrors): here
7404 (setCursorFromRow): here
7406 2002-01-13 Allan Rae <rae@lyx.org>
7408 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7409 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7410 There is still a way to segfault this although you may have to do this
7411 multiple times: Have an InsetERT with an unknown command in it.
7412 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7413 <down-arrow>, <Enter> again, View->DVI, BANG!
7415 * text2.C (setCursor):
7416 (deleteEmptyParagraphMechanism):
7417 * lyxtext.h (setCursor):
7418 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7419 Making use of the return value may help fix other bugs.
7421 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7423 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7425 * LyXView.C (updateMenubar): call MenuBar::update here
7426 (updateToolbar): but not here
7427 (showState): do not update toolbar/menubar
7429 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7430 should need to care about that.
7432 * lyxfunc.C (verboseDispatch): simplify a bit
7433 (getStatus): have a version which takes a pseudoaction, and
7434 another which requires a (kb_action,string).
7436 * LyXAction.C (retrieveActionArg): make it work also when action
7437 is not a pseudo-action.
7438 (getActionName): simplify a bit
7441 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7443 * lyxfunc.C (verboseDispatch): new families of methods with
7444 several ways to specify a command and a bool to indicate whether
7445 the command name and shortcut should be displayed in minibuffer
7446 (eventually, we could extend that to a finer bitmask like
7447 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7448 (dispatch): the pristine dispatch command which just, well,
7449 dispatchs! Note it still sets its result to minibuffer; I'm not
7452 * lyxfunc.h: remove setHintMessage
7454 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7456 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7458 * BufferView_pimpl.C (specialChar): delete new inset if we have
7459 not been able to insert it.
7461 * kbmap.C: revert to using int instead of kb_action, since all we
7462 are dealing with is pseudo-actions.
7464 * LyXAction.C (searchActionArg): change to return int instead of
7465 kb_action, since the result is a pseudoaction.
7467 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7469 * buffer.C (insertErtContents): Fix (partially) the font bug.
7471 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7473 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7474 as the other one is broken on my machine!
7476 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7479 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7481 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7483 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7484 reflect their actual use. Provide compatibility code for older lyxrc
7487 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7489 change names of popup font variables in line with the changes to lyxrc.C
7491 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7493 * buffer.C (asciiParagraph): avoid outputing a word twice after
7496 * lyxrc.C (getDescription): document that document_path and
7497 template_path can be empty.
7499 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7501 * LaTeXFeatures.C (getMacros):
7502 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7504 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7506 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7508 (getPackages): rename feature "floats" to "float". Use an array to
7509 iterate over 'simple' features (i.e. just a \usepackage). Add
7510 handling of "amsmath" (renamed from "amsstyle").
7512 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7514 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7517 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7519 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7520 FuncStaus::FuncStatus & FuncStaus::some_method().
7522 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7524 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7525 of the func_satus stuff. Edited and massaged in various ways by
7528 * lyxfunc.C (getStatus): use FuncStatus
7530 2002-01-08 Juergen Vigna <jug@sad.it>
7532 * text.C (nextBreakPoint): use function Inset::isChar().
7534 * paragraph.C (TeXOnePar): use function
7535 Inset::forceDefaultParagraphs.
7537 * buffer.C (latexParagraphs): use function
7538 Inset::forceDefaultParagraphs.
7540 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7542 * lyx_gui.C (init): set the style of the menu popups to
7543 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7545 2002-01-07 Juergen Vigna <jug@sad.it>
7547 * text.C (setHeightOfRow): small fix
7548 (prepareToPrint): don't look at alignment if we don't have the place
7551 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7553 * box.C: New file. Move the Box methods and functions out of box.h,
7554 following Lars' suggestion.
7556 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7558 * box.h: #include "support/LOstream.h", needed for inlined function.
7561 * lyxtextclasslist.C: added some using std declarations.
7563 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7565 * box.h: make signed dimensions to allow insets wider than
7566 the screen (bug #162)
7568 * BufferView_pimpl.C: add some insetHit debug
7570 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7572 * vc-backend.C: add FIXME
7574 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7576 * lyxfunc.C (getStatus): enable code for showing math font status
7579 2002-01-07 Juergen Vigna <jug@sad.it>
7581 * text.C (nextBreakPoint): removed debug output not needed anymore.
7583 2002-01-06 Juergen Vigna <jug@sad.it>
7585 * text.C (nextBreakPoint): fixed up this function we had this bug
7586 since ever but now hopefully we break row better.
7587 (insertChar): we have to check if an inset is the next char as it
7588 could now happen that a large inset is causing a break.
7590 2002-01-05 Juergen Vigna <jug@sad.it>
7592 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7593 if it doesn't like to be drawed.
7595 2002-01-04 Juergen Vigna <jug@sad.it>
7597 * BufferView2.C (lockInset): forgot to set a cursor.
7599 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7601 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7606 * form_maths_panel.C:
7607 * form_maths_panel.h:
7608 * form_maths_panel.fd: implemented sub- and super- buttons in math
7611 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7612 (or ^ space) to be used as in TeX (req'd by André).
7614 * lyxfunc.C: Allow ^ and _ again to be used both as
7615 super/subscript (mathed) and as themselves (in text).
7617 2002-01-03 Allan Rae <rae@lyx.org>
7619 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7620 "LyX" or the filename of the current buffer if it has one. This is a
7621 modified form of John Levon's patch.
7623 * XFormsView.C (setWindowTitle): also set icon title.
7625 * LyXView.h (setWindowTitle): signature changed.
7626 * XFormsView.h (setWindowTitle): ditto.
7628 2002-01-02 Juergen Vigna <jug@sad.it>
7630 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7632 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7634 * screen.C (topCursorVisible): introduce a temp var for
7635 text->cursor.row(), handle the case where this row is null. (kindo
7638 * text2.C (setCursor): add a couple of asserts.
7640 * paragraph.h (inset_iterator): add -> operator
7642 * paragraph.[Ch] (autoDeleteInsets): remove member function
7644 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7645 cursor pos correctly and handle inset deletion by itself.
7646 (insertErrors): move iterator declaration out of for expression
7648 * lyxtextclass.C: add <algorithm>
7650 * Makefile.am: added the new files to sources, removed layout.C
7652 * layout.C: removed file
7654 * layout.h: remove LYX_DUMMY_LAYOUT
7656 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7660 * lyxtextclass.[Ch]:
7661 * lyxtextclasslist.[Ch]: new files
7663 * include order changes to a lot of files, also changes because of
7666 2001-12-27 Juergen Vigna <jug@sad.it>
7668 * buffer.C (asciiParagraph): more fixes.
7670 * tabular.C (ascii): make ascii export support export of only the
7671 data separated by a column-delimiter.
7672 (ascii): better support for ascii export.
7674 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7676 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7678 * tabular_funcs.C: use a "using std::getline" instead of the
7679 previous fix from Angus (necessary for cxx + lyxstring)
7681 2001-12-24 Juergen Vigna <jug@sad.it>
7683 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7685 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7686 problems. First check a minipage also if we have some ert-contents
7687 (not only on par->size(), second set the right depth of the paragraph
7688 on the relink to the root-paragraph-list!
7690 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7691 which then did not anymore update the main paragraphs on undo/redo!
7693 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7695 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7696 code. Support all font-changing funcs (even those which are not in
7697 menu currently). Support for reporting font settings in
7698 mathed (disabled until Andre provides a function on mathed's side).
7700 * func_status.h (toggle): small helper function to set toggle
7703 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7705 * tabular_funcs.C: getline -> std::getline
7707 2001-12-21 Juergen Vigna <jug@sad.it>
7709 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7710 accessed and could be 0 (I couldn't generate this but it seems
7713 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7715 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7716 * tabular_funcs.h: here and include iosfwd
7718 2001-12-20 Juergen Vigna <jug@sad.it>
7720 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7721 inside inset but undo_par was.
7723 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7725 * Thesaurus.C: always include <config.h> in sources.
7729 * box.h: do not include <config.h> in header files
7731 * text.C (paintLastRow): remove unused variable
7733 * text.C (transformChar):
7735 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7738 * font.C (width): rewrite to use uppercase() instead of
7741 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7743 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7745 * lyxfind.C: clean up of find failure position change
7747 2001-12-20 Juergen Vigna <jug@sad.it>
7749 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7751 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7752 (TeXRow): added to LaTeX a single tabular row.
7753 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7754 (Latex): simplified and finally good LT-h/f support.
7755 (various_functions): just small adaptions for LT-h/f support.
7757 * tabular_funcs.[hC]: added and moved here all not classfunctions
7760 2001-12-19 Juergen Vigna <jug@sad.it>
7762 * tabular.[Ch]: better support for longtabular options (not finished
7765 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7767 * text.C (paintLastRow): use the label font instead of the font of
7768 the last character to compute the size of *_BOX. This makes more
7769 sense and avoids a crash with empty paragraphs.
7770 Use Painter::rectangle to draw EMPTY_BOX.
7772 2001-12-19 Juergen Vigna <jug@sad.it>
7774 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7775 the paragraphs if the replaced paragraph is not the first one!
7776 Tried to delete not used paragraphs but does not work yet so for
7777 now it's inside #ifdef's and by default off!
7779 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7781 * MenuBackend.C: include "lyx_main.h" instead of declaring
7782 lastfiles (actually was declared as LastFiles* instead of a
7785 2001-12-17 Juergen Vigna <jug@sad.it>
7787 * tabular.C (AppendColumn): applied John's fix
7789 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7793 * BufferView_pimpl.h:
7794 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7797 * box.h: new start of class for above
7799 * lyxfunc.C: ignore space-only minibuffer dispatches.
7800 Show the command name when it doesn't exist
7802 * minibuffer.C: don't add empty lines to the history
7804 * minibuffer.C: add a space on dropdown completion
7806 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7808 * text.C: fix line above/below drawing in insets
7810 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7812 * lyxlength.C (LyXLength): Initialize private variables.
7814 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7816 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7817 when inserting error insets.
7819 2001-12-13 Juergen Vigna <jug@sad.it>
7821 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7822 actually sometimes the before-paragraph.
7823 (setUndo): don't clear the redostack if we're not actually undoing!
7825 2001-12-06 Juergen Vigna <jug@sad.it>
7827 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7828 and fixed redoing of main paragraph, so we can use it now ;)
7830 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7832 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7834 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7837 2001-12-13 André Pönitz <poenitz@gmx.net>
7840 * undo_func.C: minor cleanup
7842 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7844 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7845 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7846 font in urw-fonts package which is marked as -urw-fontspecific and
7847 does not work (incidentally, changing the encoding in the
7848 fonts.dir of this package to -adobe-fontspecific fixes the
7851 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7852 is a crash when undoing first paragraph (Juergen, please take a
7853 look). THis does not mean the undo fix is wrong, just that it
7856 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7857 the (Paragraph*) version when needed instead of duplicating the
7860 * text.C (workWidth): use Inset::parOwner to find out where the
7861 inset has been inserted. This is a huge performance gain for large
7862 documents with lots of insets. If Inset::parOwner is not set, fall
7863 back on the brute force method
7865 * paragraph_pimpl.C (insertInset):
7866 * paragraph.C (Paragraph):
7867 (cutIntoMinibuffer): set parOwner of insets when
7868 inserting/removing them
7870 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7872 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7878 * mathed/formulabase.C:
7879 * mathed/math_cursor.[Ch]:
7880 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7883 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7885 * lyxlength.[Ch] (operator!=): new function
7887 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7889 * text.C (workWidth): use Inset::parOwner to find out where the
7890 inset has been inserted. This is a huge performance gain for large
7891 documents with lots of insets. If Inset::parOwner is not set, fall
7892 back on the brute force method
7894 * paragraph_pimpl.C (insertInset):
7895 * paragraph.C (Paragraph):
7896 (cutIntoMinibuffer): set parOwner of insets when
7897 inserting/removing them
7899 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7901 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7903 * tabular-old.C (getTokenValue):
7904 * tabular.C (getTokenValue):
7905 (write_attribute): new versions for LyXLength
7906 (everywhere): adjust the use of widths
7908 * tabular.h: change the type of widths from string to LyXLength
7910 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7912 * paragraph.C: fixed missing line number count when exporting
7913 Environments to LaTeX file
7915 * buffer.C: added informational message for checking line numbers.
7917 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7919 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7920 paragraph, do the 'double space' part, but not the 'empty
7923 * text.C (workWidth): small optimization
7924 (getLengthMarkerHeight): use minimal size for negative lengths.
7926 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7928 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7930 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7932 2001-12-11 André Pönitz <poenitz@gmx.net>
7935 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7937 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7939 * text2.C: keep selection on a setFont()
7941 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7943 * lyx_cb.C: another bv->text misuse, from insert label
7945 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7948 * kbsequence.C: re-instate nmodifier mask
7950 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7952 * lyx_main.h: make lyxGUI private.
7954 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7956 * lyxfind.C: place the cursor correctly on failed search
7958 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7960 * text.C (getLengthMarkerHeight): for small heights, the arrows
7961 are not always on top/bottom of the text
7962 (drawLengthMarker): smaller arrows; take the left margin in
7963 account; draw also vfills.
7965 (paintLastRow): remove special code for vfill and standard spaces,
7966 since everything is handled in drawLengthMarker now.
7968 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7970 * buffer.C (insertErtContents): try to handle font and language
7971 interaction a bit better.g
7973 * ColorHandler.C (updateColor): change the hash to cover the whole
7974 LColor enum, ws cleanup
7975 (getGCLinepars): ditto
7976 (getGCLinepars): only lookup in the linecache once.
7978 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7980 * iterators.C (operator++): Make the iterator more robust
7982 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7984 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7986 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7989 * text.C: better added space drawing
7991 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7994 * BufferView2.C: fix layout combo update on inset unlock
7996 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7998 * Makefile.am: don't compile unused files
8000 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8004 * LyXAction.C: remove old LFUN_LAYOUTNO
8006 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8008 * paragraph_pimpl.h:
8009 * paragraph_pimpl.C: isTextAt() doesn't need font param
8011 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8014 * lyxlex.C: little cleanup
8016 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8018 * BufferView_pimpl.C: fix insertAscii for insets
8020 2001-12-05 Juergen Vigna <jug@sad.it>
8022 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8023 set the right font on the "multi" paragraph paste!
8025 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8031 * lyxlength.C: remove out-commented code.
8047 * vc-backend.C: change "while(" to "while ("
8049 * lyxlength.[Ch]: add zero function to check if length is zero or
8051 * lyxgluelength.C: use it
8053 2001-12-05 Allan Rae <rae@lyx.org>
8055 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8056 Works for 2.95.3, from what I understand of Garst's reports this should
8057 work for other g++ versions. We're screwed if the abs(int) definition
8058 changed between bugfix releases of gcc.
8060 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8062 * text.C: fix chapter label offset !
8064 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8067 * text.C: fix hfill at end of line, clean up
8069 2001-12-04 Juergen Vigna <jug@sad.it>
8071 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8072 that we force an update of the inset and it's owners if neccessary.
8074 2001-12-03 Juergen Vigna <jug@sad.it>
8076 * text.C (rowLast): simplified code
8078 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8080 * lyxfunc.C: fix show options on timeout
8082 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8084 * screen.C (topCursorVisible): scroll half a page when the cursor
8085 reached top of bottom of screen
8087 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8089 * minibuffer.C: deactivate on loss of focus
8091 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8093 * vspace.[Ch] (operator!=): add operator.
8095 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8097 * BufferView_pimpl.C: refuse to open an inset when
8098 there's a selection.
8100 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8102 * BufferView_pimpl.C: allow to click on RHS of full row insets
8104 2001-11-30 Juergen Vigna <jug@sad.it>
8106 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8107 insets for undo reasons.
8109 2001-11-28 André Pönitz <poenitz@gmx.net>
8111 * vspace.[Ch]: cosmetical changes
8113 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8123 * kbsequence.C: part re-write of old kb code
8126 * WorkArea.C: remove Lgb_bug_find_hack
8128 2001-11-30 José Matos <jamatos@fep.up.pt>
8130 * buffer.C (makeDocBookFile): add a comment to point a hack.
8131 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8132 Fixed a double write of labels.
8134 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8137 * LaTeX.h Fixed bug in LaTeX class where it would not
8138 re-run latex if no depfiles were changed, but the .dvi was removed.
8140 2001-11-28 André Pönitz <poenitz@gmx.net>
8142 * all the files from the change on 2001/11/26:
8143 use lyx::layout_type instead of LyXTextClass::size_type
8144 use lyx::textclass_type instead of LyXTextClassList::size_type
8146 2001-11-29 Juergen Vigna <jug@sad.it>
8148 * text.C: added support for paragraph::isFreeSpacing()
8150 * buffer.C: same as above
8152 * paragraph.h: inserted isFreeSpacing() function to enable
8153 FreeSpacing inside InsetERT.
8155 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8156 of the paragraph's in the cut/copy buffer to 0!
8158 * text2.C (removeRow): remove the assert as it can!
8160 * lyxtext.h: added helper function firstRow returning firstrow and
8161 made firstrow private again.
8163 * BufferView2.C (lockInset): don't relock if we're already locked!
8165 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8167 (removeRow): added Assert::(firstrow)
8169 * debug.C: forgot to add INSETTEXT here.
8171 2001-11-28 Juergen Vigna <jug@sad.it>
8173 * sp_spell.C (initialize): changed error text to more general
8174 spellchecker command use (not only ispell!)
8176 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8178 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8180 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8182 * vspace.C: initialise lyxgluelength on failure
8184 2001-11-28 Allan Rae <rae@lyx.org>
8186 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8187 declaration & definition that looks like a function declaration.
8189 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8191 * BufferView2.C (copy):
8192 (copyEnvironment): do not clear the selection when doing a copy.
8194 * text.C (paintFirstRow): compilation fix
8196 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8198 * tabular.C (Latex): correct line count when writing latex.
8200 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8202 * paragraph_pimpl.h:
8203 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8206 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8210 * LColor.C: change vfillline->added_space
8212 * text.C: add markers and text for added space
8214 * vspace.C: fix comment
8216 2001-11-28 André Pönitz <poenitz@gmx.net>
8218 * paragraph.C: whitespace changes
8219 * all the other files from the change on 2001/11/26:
8220 change *::pos_type into lyx::pos_type
8222 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8224 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8225 language of the document when inserting error insets.
8227 2001-11-26 André Pönitz <poenitz@gmx.net>
8229 * BufferView_pimpl.[Ch]:
8237 * paragraph_pimpl.[Ch]:
8240 * text2.C: reduce header dependencies, introduce type for positions
8242 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8244 * <various>: change to use Alert.h
8246 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8248 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8249 when encountering an unknown token.
8250 (readLyXformat2): Show an error message if there were unknown tokens.
8252 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8255 * BufferView_pimpl.C:
8259 * text2.C: use par->isInset()
8261 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8263 * paragraph_pimpl.h:
8264 * paragraph_pimpl.C: cleanup
8266 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8268 * text2.C (removeRow):
8269 * text.C (setHeightOfRow): remove useless (and costly) call to
8272 2001-11-20 Allan Rae <rae@lyx.org>
8274 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8275 Now need Inset*::checkInsertChar() to return true for appropriate
8276 cases so that the characters in the minibuffer will actually be
8279 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8281 * text.C: change the order of the includes.
8282 (workWidth): initialize it at once.
8283 (workWidth): make maxw unsigned
8284 (setHeightOfRow): remove unused variable (inset)
8285 (selectSelectedWord): remove unused variable (inset)
8286 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8288 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8290 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8291 server is not running.
8293 (closeConnection): add debug info when server is disabled.
8295 * ColorHandler.C (getGCForeground): send debug message to GUI
8298 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8300 * kbmap.C (bind): modify because return conventions of
8301 kb_sequence::parse have changed.
8303 * kbsequence.C (parse): only ignore spaces and not any stupid
8304 control character. This avoids tests like s[i] <= ' ', which are
8305 guaranteed to fail with 8bit characters and signed chars.
8306 Change return code to string::npos when there have been no error
8307 (0 was a bad idea when error is at first character)
8309 2001-11-14 José Matos <jamatos@fep.up.pt>
8312 * buffer.C (simpleDocBookOnePar): removed unused argument.
8314 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8316 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8317 insets which are part of a word. Paragraph::isLetter takes care of
8318 that now. Use Paragraph::isInset to identify insets.
8319 (selectSelectedWord): do not test for hyphenation break.
8321 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8322 that protected spaces are considered as spaces.
8324 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8327 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8330 * lyxserver.C: fix it. and small cleanup.
8332 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8334 * BufferView_pimpl.C: use inline helpers
8337 * LaTeXFeatures.C: fix typos
8340 * Spacing.C: move spacing_string into class
8342 * ToolbarDefaults.C: move stuff into namespace anon
8344 * layout.h: update enum
8346 * lyxfunc.C: use better debug
8348 * minibuffer.h: fix typo
8352 * WorkArea.C: add and use Debug::WORKAREA
8356 * text2.C: code re-organisation, inline helpers
8358 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8360 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8361 std::vector.empty().
8363 2001-11-09 Allan Rae <rae@lyx.org>
8365 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8366 '\n's after tables. Tabular and ERT inset work now makes this no
8369 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8372 * minibuffer.C: fix crash, improve drop-down completion
8374 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8377 * lyxserver.C: invalidate fd's when doing endPipe()
8379 2001-11-08 José Matos <jamatos@fep.up.pt>
8381 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8382 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8385 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8387 2001-11-07 José Matos <jamatos@fep.up.pt>
8390 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8393 * buffer.C (sgmlOpenTag):
8394 * buffer.C (sgmlCloseTag): removed debug info.
8396 * buffer.h (sgmlOpenTag):
8397 * buffer.h (sgmlCloseTag): made public.
8399 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8401 * buffer.C (saveParamsAsDefaults):
8402 * lyx_cb.C (MenuLayoutSave): remove
8404 * LyXAction.C (init):
8406 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8408 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8410 * buffer.C (setPaperStuff): removed from here...
8412 * bufferparams.C (setPaperStuff): ... and moved there.
8414 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8418 * XFormsView.C: add support for drop-down completion
8420 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8422 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8425 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8427 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8430 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8432 * lyx_main.C: change ref to known bugs
8434 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8436 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8437 to work around older babel problems.
8439 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8441 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8443 2001-10-24 Juergen Vigna <jug@sad.it>
8445 * tabular-old.C (ReadOld): below variable changes reflected.
8447 * tabular.[Ch]: added ltType struct for longtable header/footer
8448 defines and changed all instances where they are used. Added
8449 future support for double top/bottom rows.
8451 2001-10-24 José Matos <jamatos@fep.up.pt>
8453 * buffer.h (docbookHandleCaption):
8454 * buffer.C (docbookHandleCaption): removed unused function.
8455 (makeDocBookFile): moved docbook supported version to v4.1.
8457 2001-10-24 José Matos <jamatos@fep.up.pt>
8460 * tabular.C (docbookRow): new function to export docbook code of a row.
8461 (DocBook): now honors the longtable flags.
8463 2001-10-23 José Matos <jamatos@fep.up.pt>
8466 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8467 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8469 * buffer.C (makeLinuxDocFile):
8470 (makeDocBookFile): reworked the preamble, more clean, and with
8471 support for lyx defined entities. Changed the document declaration
8472 to be more XML friendly.
8474 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8475 if we need to output XML that should be done with a filter.
8477 2001-10-22 Juergen Vigna <jug@sad.it>
8479 * sp_pspell.h (class PSpell): add alive function needed in the
8480 controller to see if the spellchecker could be started.
8482 2001-10-22 Juergen Vigna <jug@sad.it>
8484 * buffer.C (insertStringAsLines): modify the font for inserting
8485 chars in certain conditions by calling checkInsertChar(font).
8487 2001-10-19 Juergen Vigna <jug@sad.it>
8489 * text.C (workWidth): use getRow instead of wrong algorithm.
8490 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8492 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8497 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8499 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8501 * text.C (workWidth): do not search for the exact row when
8502 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8503 optimization for big documents.
8505 2001-10-18 Juergen Vigna <jug@sad.it>
8507 * text.C (workWidth): new function with added Inset * parameter.
8509 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8511 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8513 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8514 change return type of getColumnNearX.
8517 * text.C (changeRegionCase): use uppercase/lowercase instead of
8520 (rightMargin): simplify code by factoring out the uses of
8525 (appendParagraph): use Paragraph::size_type
8527 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8529 * vspace.C (asLatexString): add a missing break
8531 2001-10-15 Herbert Voss <voss@perce.de>
8533 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8535 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8537 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8540 2001-10-10 André Pönitz <poenitz@gmx.net>
8542 * lyxfunc.C: removed greek_kb_flag.
8544 2001-10-10 Herbert Voss <voss@perce.de>
8546 * lyx_main.C: delete global string help_lyxdir.
8548 2001-10-09 Herbert Voss <voss@perce.de>
8550 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8552 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8554 * lyx_main.C: added global string help_lyxdir.
8556 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8558 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8560 * lyxrc.C (set_font_norm_type): support iso8859-4
8562 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8564 * LaTeX.C (deplog): add another regex for MikTeX
8566 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8568 * lyxrc.C (set_font_norm_type): support iso8859-3
8570 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8572 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8574 * LaTeXFeatures.C: remove special case of french and index
8576 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8577 before \begin{document}). This solves several incompatibilities.
8579 2001-10-03 Garst Reese <reese@isn.net>
8581 * lyx_cb.C: change CheckTex error msg.
8583 2001-10-03 José Matos <jamatos@fep.up.pt>
8585 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8587 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8589 * .cvsignore: update
8591 * lyx_main.C (commandLineVersionInfo): use new style version info.
8593 * buffer.C (writeFile):
8596 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8598 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8600 * version.h: update to use stuff in version.C
8602 * version.C.in: new file. Contains version information determined
8603 at compile time. This is a merging of version.h and
8606 2001-10-03 Juergen Vigna <jug@sad.it>
8608 * BufferView_pimpl.C (update): don't change "dirty" status in
8611 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8613 * WorkArea.C (c-tor): re-position version string slightly.
8615 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8617 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8618 revert to previous code.
8620 WorkArea.[Ch]: (show, destroySplash): methods removed.
8622 WorkArea.C: rework code so that it's an amalgam of the codes before and
8623 after the splash screen was moved to WorkArea.
8625 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8628 * vspace.C (inPixels):
8631 * buffer.C (insertStringAsLines):
8632 (asciiParagraph): fix types to be large enough
8634 * lyxlex_pimpl.h: change member status from short to int
8636 * layout.h: fix type of endlabeltype
8639 * kbsequence.C (parse): change return type to string::size_type
8641 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8644 * Bullet.C (bulletSize):
8645 (bulletEntry): do not use short ints as parameters
8647 * BufferView2.C (insertLyXFile): change a char to an int.
8649 * WorkArea.C (WorkArea): remove unneeded floats in computation
8651 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8653 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8655 * paragraph.C (asString): Do not ignore newline/hfill chars when
8656 copying to the clipboard.
8658 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8660 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8661 after a multi-line inset.
8663 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8665 * paragraph.C (validate): Set NeedLyXFootnoteCode
8667 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8669 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8670 and decrease-error to decrease.
8672 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8674 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8675 it more readable (should be equivalent)
8677 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8679 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8681 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8683 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8684 of a cursor (row, etc.) after a character has been deleted
8685 (deleteEmptyParagraphMechanism): call the method above on _all_
8686 cursors held by the LyXText when a double space has been
8689 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8691 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8693 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8695 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8696 background. Use greyOut() and the new show() methods to toggle between
8697 the foreground and background. Add code to remove the splash after
8698 its initial showing.
8700 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8701 (create_forms): no longer call Dialogs::showSplash.
8703 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8705 * .cvsignore: add version_info.h
8707 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8709 * version_info.h.in: new file
8711 * Makefile.am: add version_info.h.in
8713 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8714 version_info.h instead of VERSION_INFO
8716 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8718 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8719 The ERT inset now returns string().
8721 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8723 * lyxtext.h, text.C (selectNextWord): renamed as
8724 selectNextWordToSpellcheck.
8726 * text.C (selectNextWordToSpellcheck): Modified to not select
8727 words inside an ERT inset.
8729 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8731 * lyx_cb.C (MenuLayoutSave): change a bit the question
8733 * sp_base.h: include <sys/types.h>
8735 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8737 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8739 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8741 * several files: fix typos in user-visible strings
8743 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8745 * text2.C (pasteSelection): do not set the selection, since it
8746 will be cleared later. Actually, the intent was to fix the way the
8747 selection was set, but I figured rmoving the code was just as good.
8749 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8751 * FontLoader.C (available): Check if font is available without
8754 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8756 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8758 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8760 * lyxrc.[Ch]: added display_graphics variable and associated code.
8762 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8764 * bufferparams.C (hasClassDefaults): new method. Returns true if
8765 the buffer parameters correspond to known class defaults
8767 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8769 * XFormsView.C (show): set minimum size to the main window.
8771 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8773 * text2.C (copySelection):
8775 * lyxfind.C (LyXReplace):
8776 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8777 LyXText::selectionAsString.
8779 * paragraph.C (asString): add "label" argument to the second form
8781 * text2.C (selectionAsString): add "label" argument and pass it to
8782 Paragraph::asString.
8784 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8786 * lyx_main.C (commandLineHelp): remove version information
8788 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8790 * lyx_main.C: add -version commandline option
8792 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8794 * paragraph.h: make the optional constructor arg required instead.
8795 some modifications to other files because of this.
8797 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8799 * lyxserver.C (C_LyXComm_callback): make it static
8801 * lyx_main.C (error_handler): make it static
8803 * lyx_gui.C (LyX_XErrHandler): make it static
8805 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8807 * WorkArea.C: make the extern "C" methods static.
8809 * Makefile.am (lyx_LDADD): simplify
8811 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8813 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8814 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8816 * LyXAction.C (init):
8817 * lyxfunc.C (dispatch): associated code removal.
8819 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8821 * lyxfont.h (isSymbolFont): shut off warning
8823 * text.C (setHeightOfRow):
8824 (getVisibleRow): fix crash with empty paragraphs which have a
8827 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8829 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8832 2001-09-04 José Matos <jamatos@fep.up.pt>
8835 * tabular.C (docbook): rename docBook method to docbook.
8837 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8839 * Makefile.am: add dependencies to main.o.
8841 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8843 * FontLoader.C (available): Return false if !lyxrc.use_gui
8845 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8847 * FontInfo.C (query):
8848 * converter.C (view):
8849 * importer.C (Import):
8850 * exporter.C (Export): Can not -> cannot.
8852 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8854 * BufferView_pimpl.C: allow to create index inset even if
8857 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8859 * buffer.C (getLists): replace boost::tie code with an explicit pair
8860 as boost::tie can break some compilers.
8862 * iterators.h: Added a std:: declaration to the return type of
8865 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8867 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8870 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8872 * iterators.[Ch]: New files. Provide paragraph iterators.
8874 * buffer.C (changeLanguage): Use paragraph iterators.
8875 (isMultiLingual): ditto
8877 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8879 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8881 * FontLoader.C: Support for cmr font.
8883 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8885 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8886 (available): New method.
8888 * FontInfo.C (getFontname): Use scalable fonts even when
8889 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8892 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8894 * converter.C (Formats::view): reverted! Incorrect fix.
8896 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8898 * converter.C (Formats::view): only output the -paper option
8899 if the dvi viewer is xdvi, thereby fixing bug #233429.
8901 2001-08-23 Herbert Voss <voss@perce>
8903 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8905 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8907 * Spacing.h (Spacing): Set space to Default on in the default
8910 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8912 * vc-backend.h (RCS::versionString): add RCS to version
8913 (CVS::versionString): add CVS to version
8915 * vc-backend.C (scanMaster): do not add CVS to version.
8916 (scanMaster): do not add RCS to version
8918 * lyxvc.C (versionString): new method
8920 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8922 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8924 * Spacing.C (set): initialize fval
8926 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8928 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8931 2001-08-16 Juergen Vigna <jug@sad.it>
8933 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8935 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8937 * BufferView_pimpl.C:
8940 * text2.C: setParagraph takes linespacing now
8942 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8944 * LyxAction.C: add internal LFUN_CITATION_INSERT
8946 * LyXView.C: actually apply fix
8948 * bufferlist.C: fix open non-existent file
8950 * lyxfind.C: fix indentation
8952 * lyxfunc.C: remove unneeded assert, fix typo
8954 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8956 * MenuBackend.C: use "Floatname List"
8958 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8960 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8961 when converting LaTeX layout to insetERT.
8962 Generate a non-collapsed float when reading old float
8964 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8966 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8969 2001-08-13 Juergen Vigna <jug@sad.it>
8971 * text.C (fill): return 0 instead of 20 as this seems to be the more
8974 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8976 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8979 2001-08-13 Juergen Vigna <jug@sad.it>
8981 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8983 (SearchBackward): comment out the unlocking of the inset_owner this
8984 should not be needed!
8986 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8988 * Many files: Remove inherit_language, and add latex_language
8990 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8993 2001-08-10 Juergen Vigna <jug@sad.it>
8995 * text.C (prepareToPrint): fixed hfill-width in draw!
8997 * BufferView2.C (selectLastWord): save the selection cursor as this
8998 now is cleared in the function LyXText::clearSelection!
9000 2001-08-08 Juergen Vigna <jug@sad.it>
9002 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9003 BACKSPACE type functions.
9005 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9006 is only cutted from the document but not put in the cut-buffer, where
9007 still the old stuff should be.
9009 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9011 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9013 * tabular.C (SetWidthOfCell): fixed special case where the width
9015 (LeftLine): handle '|' in align_special.
9017 (LeftAlreadyDrawed): ditto
9018 (SetWidthOfCell): ditto
9020 2001-08-07 Juergen Vigna <jug@sad.it>
9022 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9024 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9026 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9027 * lyxlex.[hC]: ditto
9029 2001-08-06 Juergen Vigna <jug@sad.it>
9031 * text.C (getVisibleRow): fix up row clearing a bit.
9033 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9035 * minibuffer.C: make sure the X server sees the changes in the input.
9037 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9039 * paragraph.C (getFont): split into...
9040 (getLabelFont): this
9041 (getLayoutFont): and this
9042 * paragraph_pimpl.C (realizeFont): calling this
9044 * text2.C (getFont): split into...
9045 (getLayoutFont): this
9046 (getLabelFont): and this
9047 (realizeFont): all three calling this
9049 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9052 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9054 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9056 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9058 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9059 layouts from the Quote inset insertion.
9061 2001-08-03 Juergen Vigna <jug@sad.it>
9063 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9065 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9066 only if status not is already CHANGED_IN_DRAW (second level).
9068 * text.C (draw): don't set the need_break_row when inside an
9071 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9073 * buffer.C (parseSingleLyXformat2Token): handle more latex
9076 * bufferview_funcs.[hC]: change function names to
9077 begin with small char, adjust other files.
9079 2001-08-02 André Pönitz <poenitz@gmx.net>
9082 BufferView_pimpl.C: remove broken special code for math-greek
9084 2001-08-02 Juergen Vigna <jug@sad.it>
9086 * BufferView_pimpl.C (update): redone this function so that we
9087 update the text again if there was a CHANGE_IN_DRAW.
9089 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9090 (drawFromTo): added a new internal bool which is used by draw() and
9092 (general): some cursor drawing problems fixed.
9094 2001-08-01 Juergen Vigna <jug@sad.it>
9096 * lyxfind.C (LyXFind): fixed
9097 (SearchForward): ditto
9098 (SearchBackward): ditto
9100 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9101 spurius drawing of the cursor in the main area.
9103 * text2.C (status): small fix which could lead to a segfault!
9104 (clearSelection): remove unneeded BufferView param.
9106 2001-08-01 André Pönitz <poenitz@gmx.net>
9108 * lyxfunc.C: small change due to changed mathed interface
9110 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9112 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9114 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9116 * lyxfunc.c: fail gracefully if file doesn't exist
9121 * BufferView_pimpl.C: IsDirWriteable() proto changed
9123 * LyXView.C: fix updateWindowTitle() to store the last title
9125 2001-07-31 Juergen Vigna <jug@sad.it>
9127 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9128 the font (wrong since using of Paragraph::highestFontInRange).
9130 * paragraph.C (highestFontInRange): added a default_size parameter.
9132 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9133 (setHeightOfRow): reformat
9135 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9137 * converter.[hC] + affected files: move to (inital-char)lowercase
9140 * ParagraphParameters.C (ParagraphParameters): remove commented code
9142 * PainterBase.[Ch]: remove commented code
9144 * LaTeXFeatures.h: add "bool floats" for float.sty
9146 * LaTeXFeatures.C (LaTeXFeatures): init floats
9147 (require): handle float
9148 (getPackages): do it with floats
9150 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9152 * BufferView_pimpl.C (Dispatch): improve handling of
9153 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9155 * commandtags.h: #include lyxfont.h here temporarily to avoid
9158 * bufferlist.h: include LString.h here.
9160 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9162 * text2.C (getStringToIndex): new method.
9164 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9166 * *: Reduced header file dependencies all over.
9168 2001-07-30 Baruch Even <baruch@lyx.org>
9170 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9172 2001-07-29 Baruch Even <baruch@lyx.org>
9174 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9176 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9178 * ParameterStruct.h (endif): add a default constructor to make
9179 sure that all variables is initialized.
9181 * ParagraphParameters.C (ParagraphParameters): adjust
9183 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9185 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9186 index; also, check that there is something to index, and that it
9187 does not span over several paragraphs.
9188 (doubleClick): use WHOLE_WORD_STRICT for double click.
9190 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9192 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9195 2001-07-26 Baruch Even <baruch@lyx.org>
9197 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9198 an InsetFig figure, backwards compatible reading of old figure code.
9200 2001-07-27 Juergen Vigna <jug@sad.it>
9202 * text2.C: font.realize function adaption.
9204 * text.C (draw): add a warnings lyxerr text if needed.
9206 * layout.C: font.realize function adaption.
9208 * language.C: add inherit_language and implement it's handlings
9210 * bufferview_funcs.C (StyleReset): remove language parameter from
9211 font creation (should be language_inherit now).
9213 * bufferparams.C (writeFile): handle ignore_language.
9215 * paragraph.C (getFontSettings): the language has to be resolved
9216 otherwise we have problems in LyXFont!
9218 * lyxfont.C (lyxWriteChanges): added document_language parameter
9219 (update): removed unneeded language parameter
9221 * paragraph.C (validate): fixed wrong output of color-package when
9222 using interface colors for certain fonts in certain environments,
9223 which should not seen as that on the final output.
9225 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9227 * BufferView_pimpl.C:
9232 * LyXAction.C: add thesaurus support
9235 * lyxfind.C: add "once" parameter, for thesaurus, to not
9236 move to the next match
9238 2001-07-26 Juergen Vigna <jug@sad.it>
9240 * lyxfont.C (realize): honor ignore_language too!
9243 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9245 * text.C (draw): one place more for ignore_language to not draw
9248 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9250 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9252 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9254 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9255 the minipage conversion problem.
9257 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9259 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9262 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9264 * BufferView.h: don't forward declare WorkArea
9266 * BufferView.C: don't include WorkArea.h
9268 2001-07-25 André Pönitz <poenitz@gmx.net>
9272 * lyxfunc.C: new LFUN 'math-space'
9274 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9276 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9278 * text2.C (toggleInset): call open/close
9280 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9282 * lyxfunc.C (dispatch): add debug for the disabled case
9284 * font.C (buttonText): make similar to rectText
9286 * buffer.C (readInset): comment out parsing of insetlist and
9289 * PainterBase.C (rectText): small correction
9291 * BufferView_pimpl.C: comment out insettheorem and insetlist
9292 * LyXAction.C: ditto
9293 * commandtags.h: ditto
9295 2001-07-24 Juergen Vigna <jug@sad.it>
9297 * text.C (draw): honor the ignore_language.
9299 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9301 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9303 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9306 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9308 * lyxtext.h: remove unused (and unimplemented) methods
9310 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9312 * text.C (getVisibleRow): honor background color
9315 * Painter.h: remove default color argument for fillRectangle
9317 * text.C (backgroundColor): new method
9319 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9321 * text.C (getVisibleRow): adjust
9323 * font.[Ch] (rectText): new method, metrics
9324 (buttonText): new method, metrics
9326 * PainterBase.[hC]: make rectText and buttonText always draw and take
9329 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9331 * ToolbarDefaults.C (read):
9332 * MenuBackend.C (read): allow escaping in all strings
9334 * BufferView_pimpl.C (insertAndEditInset): new method.
9335 (Dispatch): use insertAndEditInset whenever appropriate.
9337 * BufferView_pimpl.C (insertNote): removed
9339 * BufferView_pimpl.C (smartQuote): new method, moved from
9340 BufferView; if an insetquote cannot be inserted, insert a '"'
9343 * BufferView2.C: remove insertCorrectQuote();
9345 * lyxfunc.C (getStatus): Add support for all remaingin
9348 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9350 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9351 command (necessary to pass " as parameter of self-insert.
9353 * text.C (selectWordWhenUnderCursor):
9354 (selectWord): add word_location parameter
9355 (selectWordWhenUnderCursor): same + remove special code for word
9357 (selectNextWord): use kind() to guess type of insetspecialchar,
9360 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9361 (insertErtContents): create ert insets as collapsed.
9362 (readInset): better compatibility code for Info inset.
9364 2001-07-20 Juergen Vigna <jug@sad.it>
9366 * lyxfunc.C (dispatch): use always LyXFind now!
9368 * text2.C (init): add a reinit flag so that the LyXText can be
9369 reinited instead of deleted and reallocated (used in InsetText).
9371 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9377 2001-07-18 Juergen Vigna <jug@sad.it>
9379 * text.C (selectNextWord): handle insets inside inset by calling
9380 always the bv->text functions so that we can go up the_locking_inset!
9382 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9383 in strange locations when inside an inset!
9385 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9386 handling to include insets.
9388 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9390 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9392 * LyXAction.C (init):
9394 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9395 LIGATURE_BREAK, since the name is so stupid.
9397 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9399 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9402 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9404 * sp_form.[Ch]: remove.
9406 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9408 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9411 * src/buffer.C (readInset): ditto.
9413 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9415 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9416 menuSeparator(), endOfSentenceDot(), ldots() and
9417 hyphenationPoint(), which are therefore removed.
9418 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9420 * LyXAction.C (init):
9421 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9423 * paragraph.C (getWord): removed.
9425 * BufferView_pimpl.C (Dispatch): use last word or selection for
9426 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9428 * lyx_main.C (queryUserLyXDir): do not ask before creating
9429 user_dir, except if it has been named explicitely.
9431 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9433 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9434 a document of zero size.
9436 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9438 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9439 approriately in the c-tor and in require().
9440 (getPackages): output the appropriate LaTeX for natbib support.
9442 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9443 variables "use_natbib" and "use_numerical_citations" when reading the
9445 (readInset): read the various natbib cite commands.
9446 (validate): white-space change.
9448 * bufferparams.[Ch]: new variables "bool use_natbib" and
9449 "bool use_numerical_citations".
9450 (writeFile): output them in the LyX file.
9452 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9454 * lyxfunc.C (getStatus): add support for all the inset insertion
9457 * text2.C (insertInset):
9458 * paragraph.C (insetAllowed):
9459 * BufferView_pimpl.C (insertInset): update to take in account the
9460 renaming of insertInsetAllowed
9462 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9464 * text2.C (getInset): new method. returns inset at cursor position.
9466 * BufferView_pimpl.C (Dispatch): changes because of this.
9468 * LyXAction.C (init): rename open-stuff to inset-toggle.
9470 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9472 * text2.C (toggleInset): renamed from openStuff; use
9475 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9477 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9479 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9481 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9483 * buffer.C (readLyXformat2): Add filename to the error dialog
9485 2001-07-18 Juergen Vigna <jug@sad.it>
9487 * tabular.C (GetCellNumber): put an assert here instead of the check!
9489 2001-07-17 Juergen Vigna <jug@sad.it>
9491 * BufferView_pimpl.C (toggleSelection): adapted too.
9493 * text.C (selectNextWord): adapted for use with insets.
9494 (selectSelectedWord): ditto
9496 2001-07-17 Juergen Vigna <jug@sad.it>
9498 * sp_spell.C (PSpell): fix initialitation order.
9500 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9502 * paragraph.C: spacing
9504 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9506 * sp_spell.C: repair language selection for pspell
9508 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9510 * lyxfunc.h: change more methods to begin with lower char.
9512 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9514 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9515 for unknown layouts.
9517 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9519 * buffer.C (readLyXformat2): Generate an error dialog if there are
9522 2001-07-16 Juergen Vigna <jug@sad.it>
9524 * sp_spell.C: always compile ISpell part.
9526 * lyxrc.C: added use_pspell entry and it's handling.
9528 2001-07-13 Juergen Vigna <jug@sad.it>
9530 * sp_spell.C: removed double includes.
9532 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9534 Consistent use of Lsstream.h:
9535 * Lsstream.h: added using std::stringstream for consistencies sake.
9537 * buffer.C: removed using std::stringstream
9539 * lyxfont.C (stateText):
9540 * paragraph.C (asString):
9541 * text.C (selectNextWord, selectSelectedWord):
9542 * text2.C (setCounter):
9543 * vspace.C (asString, asLatexString):
9544 std::ostringstream -> ostringstream.
9546 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9548 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9549 * commandtags.h: add LFUN_HELP_ABOUTLYX
9550 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9552 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9554 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9556 * lyx_gui_misc.C: remove spellchecker
9557 * lyxfunc.C: showSpellchecker
9559 * sp_ispell.h: added
9560 * sp_pspell.h: added
9562 * sp_form.[Ch]: removed
9563 * spellchecker.[Ch]: removed
9565 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9567 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9569 (simpleTeXSpecialChars): Simply print the input character without
9570 any special translation if pass_thru is set.
9572 * layout.h: Added bool pass_thru to layout class for being able to
9573 implement pass through of a paragraph for Literate Programming.
9575 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9576 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9577 * layout.C (Read): add "passthru" to list of layout tags and add
9578 code to set the pass_thru boolean when it is read.
9580 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9582 * trans_decl.h: remove allowed from KmodInfo
9584 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9588 * paragraph_pimpl.C (erase): use boost::prior
9590 * Painter.C (text): use data() instead of c_str() when length is
9592 * WorkArea.C (putClipboard): ditto
9593 * font.h (width): ditto
9595 * BufferView2.C: use it-> instead of (*it). for iterators
9597 * paragraph_pimpl.C: ditto
9598 * paragraph.C: ditto
9599 * minibuffer.C: ditto
9604 * converter.C: ditto
9606 * Variables.C: ditto
9607 * TextCache.C: ditto
9608 * MenuBackend.C: ditto
9609 * LyXAction.C: ditto
9611 * FloatList.C: ditto
9613 * ColorHandler.C (LyXColorHandler): ditto
9615 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9617 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9619 * text2.C (openStuff): reintroduce this method (which had been
9620 nuked in NEW_INSETS frenzy).
9622 * lyxfunc.C (Dispatch): when an action has not been handled, use
9623 its name in the error message, not its number.
9625 * paragraph.C (inInset): change method name to begin with lowercase.
9628 * text2.C: updates because of this.
9630 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9632 * ToolbarDefaults.C (add): add spaces in error message
9634 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9636 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9637 (readLyXformat2): rename return_par to first_par, use lyxlex's
9638 pushToken and remove the manual push handling.
9639 (parseSingleLyXformat2Token): add another ert comp. variable:
9640 in_tabular, rename return_par to first_par. handle newlines better
9642 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9644 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9646 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9648 * text2.C (getParFromID): removed
9650 * buffer.C (getParFromID): new method moved form lyxtext.
9651 * BufferView2.C (insertErrors): adjust
9652 (setCursorFromRow): adjust
9653 * BufferView_pimpl.C (restorePosition): adjust
9654 * lyxfunc.C (Dispatch): adjust
9655 * undo_funcs.C (textUndo): adjust
9657 (textHandleUndo): adjust
9658 (textHandleUndo): adjust
9660 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9662 * buffer.C: up' the LYX_FORMAT
9664 * lyxfont.h: turn NO_LATEX on as default
9666 * buffer.C (insertErtContents): new methods of tex style compability.
9667 (parseSingleLyXformat2Token): use it several places.
9668 * tabular.C (OldFormatRead): and here
9670 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9672 * text2.C: remove some commented code.
9675 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9676 * trans.C: changes because of the above.
9678 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9680 * text2.C (setCounter): Fix counters bug with bibliography layout.
9682 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9684 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9685 own member functions
9686 (simpleTeXSpecialChars): ditto
9688 2001-07-06 Juergen Vigna <jug@sad.it>
9690 * a lot of files: changed the access to LyXText::status and the
9691 call of undo-functions.
9693 * undo.[Ch]: added a inset_id to the undo informations.
9695 * undo_funcs.[Ch]: added and moved here all undo functions.
9697 * lyxtext.h: give the status enum a weight, made status_ a private
9698 variable and made accessor functions for it, removed the whole bunch
9699 of undo-functions as they are now in their own file, make some
9700 functions publically available. Added function ownerParagraph with
9703 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9704 made InInset() a const function, added getParFromID() function.
9706 * buffer.[Ch]: added const version for inset_iterator functions,
9707 added getInsetFromID() function.
9709 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9710 changed undo functions for new version.
9712 2001-07-05 Juergen Vigna <jug@sad.it>
9714 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9715 unknow mechanism does not call the proper constructor but only this
9716 one also if I request the other!?
9718 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9720 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9722 * text2.C (LyXText): use initialization lists.
9724 * lyxtext.h (Selection): initialize set_ and mark_
9725 (init): remove method
9727 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9729 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9731 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9733 * screen.[Ch]: change method names to begin with lowercase
9735 * BufferView_pimpl.C (updateScrollbar): simplify further and
9736 hopefully make it a bit faster.
9738 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9740 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9741 calling directly xforms functions.
9743 * Painter.C (Painter):
9744 * lyx_cb.C (MenuWrite):
9745 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9748 * lyx_gui.C: remove bogus guiruntime extern declaration.
9750 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9752 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9754 (redoDrawingOfParagraph): ditto
9755 (redoParagraphs): ditto
9756 (cutSelection): don't create a object for CutAndPaste use the
9757 static method directly
9758 (pasteSelection): ditto
9760 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9763 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9765 * modifications to some other files because of this.
9767 * Makefile.am (lyx_SOURCES): add XFormsView
9769 * XFormsView.[Ch]: new files
9771 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9772 the main window. Move the gui dependent stuff to XFormsView
9774 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9776 * tabular.C (GetCellInset): update cur_cell also in the row/col
9777 version of this function.
9779 * lyxfunc.C: no need to include figure_form.h here.
9785 * lyxvc.C: no need to include forms.h here.
9787 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9789 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9791 * lyxfunc.C (Dispatch):
9793 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9794 constructor argument.
9796 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9798 * paragraph.C (Paragraph): dont't clear, and just set layout.
9799 (makeSameLayout): use params's copy contructor.
9801 * ParagraphParameters.[Ch] (makeSame): delete method
9803 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9805 * Variables.[Ch]: fix indentation, rename set to isSet
9807 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9809 * lyxfunc.C (Dispatch): fix typo
9811 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9813 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9816 * bufferlist.C: include assert.h for emergencyWrite().
9818 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9820 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9821 give up at last (bug #425202) !
9823 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9829 * spellchecker.C: strip spellchecker options and bring up
9830 preferences tab instead
9832 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9834 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9835 the istringstream constructor
9837 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9839 * paragraph.C (getLayout): fix return value
9841 * paragraph.h: do not declare getLayout as inline.
9843 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9845 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9847 * lyxcursor.h (operator<): new func
9848 (operator>): new func
9849 (operator>=): new func
9850 (operator<=): new func
9852 * text.C (changeCase): use selection.start and selection.end
9853 (changeRegionCase): require from to be <= to. Require par to be a
9856 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9858 2001-06-27 Juergen Vigna <jug@sad.it>
9860 * text.C (cursorLeftOneWord): changed to return the cursor and added
9861 overlay with BufferView * parameter which calls this one.
9863 (selectWord): use new getWord function.
9864 (changeCase): renamed from changeWordCase as and extended to work
9867 * lyxtext.h: added enum word_location
9869 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9870 changeCase as this operates now also on selections.
9872 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9874 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9876 * many files: send debug output to Debug::INFO instead of
9879 * converter.C (View):
9881 (Move): send debug output to Debug::FILES instead of console.
9883 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9885 * lyxfunc.C (getStatus): use func_status
9887 * func_status.h: new header, describing the results of
9890 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9893 2001-06-25 The LyX Project <jug@sad.it>
9895 * buffer.C (sgmlOpenTag):
9897 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9899 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9901 * text2.C: remove some dead code
9903 * tabular.C (GetCellInset): store the last cell checked (gotten)
9905 * tabular.h: add the helper for the speedup
9907 * lyxtext.h: remove some dead code
9909 2001-06-26 The LyX Project <Asger>
9911 * paragraph.C: Change export to LaTeX of alignment to
9912 \begin{center} and family for better roundtrip work with reLyX.
9914 * Tune the math drawing a bit.
9916 2001-06-25 The LyX Project <Asger>
9918 * LColor.C (LColor): New color for math background. New color
9921 2001-06-25 The LyX Project <jug@sad.it>
9923 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9926 * bufferlist.C (newFile): do not restrict to files ending with
9929 * BufferView_pimpl.C (MenuInsertLyXFile):
9931 2001-06-24 The LyX Project <jug@sad.it>
9933 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9936 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9938 * lyxtext.h: rename most methods to begin with a small char.
9939 Lots of changes because of this.
9941 * paragraph.C (Paragraph): do not call fitToSize
9942 (erase): call Pimpl::erase
9943 (insertChar): call Pimpl::insertChar
9944 (insertInset): call Pipl::insertInset
9945 (breakParagraph): do not call fitToSize
9946 (breakParagraphConservative): do not call fitToSize
9947 (fitToSize): remove method
9949 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9951 2001-06-24 The LyX Project <Asger>
9953 * Fix Qt compilation^2
9955 2001-06-24 The LyX Project <jug@sad.it>
9957 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9958 depthHook(getDepth()-1).
9961 * ParagraphParameters.h:
9962 * ParameterStruct.h: change type of depth to unsigned int ==
9963 depth_type. Many adaptations to other files before of that.
9965 2001-06-24 The LyX Project <Asger>
9967 * Fix Qt compilation.
9969 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9971 * paragraph.h: renamed several methods to begin with small letter.
9972 several changes to many parts of the code because of this.
9974 2001-06-23 The LyX Project <jug@sad.it>
9976 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9977 rewritten to discard all double spaces when KeepEmpty is off
9978 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9979 to only handle newlines but not fiddle with spaces and friends.
9981 * lyxfunc.C (MenuNew): when doing 'new from template', use
9982 template_path as default directory
9984 2001-06-23 The LyX Project <Asger>
9986 * Clean-up of header file includes all over
9987 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9989 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9991 * paragraph.h: renamed from lyxparagraph.h
9993 2001-06-23 Asger <lyx@violet.home.sad.it>
9995 * Buffer.h: Removed Buffer::resize
9996 * BufferList.h: Removed BufferList::resize
9997 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9998 the document lazily when we change the width, or the font settings.
10000 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10002 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10004 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10006 * buffer.h: remove out of date comment
10008 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10011 * screen.C: fix "theoretical" GC leak
10013 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10015 * LaTeX.C (scanAuxFile):
10016 (deplog): remove trailing \r when reading stream (useful under
10019 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10021 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10022 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10023 and BufferView::theLockingInset(Inset*), so should use them and not
10024 access bv_->text->the_locking_inset directly.
10026 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10028 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10031 * tex-defs.h: remove old unused file
10033 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10035 * BufferView_pimpl.C: fix typo, remove minibuffer message
10036 when buffer has loaded
10038 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10040 * lyxfunc.C (Dispatch): use stringstream
10041 (MenuNew): use stringstream
10042 (Open): use stringstream
10044 * importer.C (Import): use stringstream
10046 * bufferview_funcs.C (CurrentState): use stringstream
10048 * LaTeX.C (run): use stringstream
10050 * BufferView_pimpl.C (savePosition): use stringstream
10051 (restorePosition): use stringstream
10052 (MenuInsertLyXFile): use stringstream
10054 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10067 * vspace.C: removed // -*- C++ -*- as first line.
10070 * version.h: added // -*- C++ -*- as first line.
10072 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10074 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10076 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10079 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10081 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10084 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10086 * gettext.C: include LString.h even when --disable-nls is on.
10088 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10090 * converter.h (Get): changed argument type from int to
10091 FormatList::size_type to avoid unnecessary conversion.
10093 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10096 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10098 * gettext.h: include LString.h even when --disable-nls is on.
10100 2001-06-07 Juergen Vigna <jug@sad.it>
10102 * text.C (BreakAgain): subst spaces with tabs.
10104 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10105 (resizeInsetsLyXText): set force on resizeLyXText.
10107 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10109 * gettext.h (gettext_init):
10110 (locale_init): use a real definition instead of a macro
10112 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10114 * Bufferview_pimpl.C:
10116 * LColor.C: further lcolor tidies
10118 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10120 * BufferView_pimpl.C (updateScrollbar): simplify.
10122 * BufferView2.C: don't include insets/insetinfo.h, change
10123 prototype for insertInset and call the Pimpl version. let
10124 updateInset call Pimpl version.
10126 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10127 gotoInset to BufferView::Pimpl
10129 2001-06-01 Juergen Vigna <jug@sad.it>
10131 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10132 inside a LockingInset (is the update needed at all?).
10134 2001-05-31 Juergen Vigna <jug@sad.it>
10136 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10137 here not the old one otherwise how should we compare it afterwards
10140 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10145 * FontInfo.C: bring C functions into global namespace when
10148 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10150 * LString.h: make sure config.h has been loaded before LString.h.
10152 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10153 (one for each char read by EatLine!).
10155 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10158 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10160 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10161 to the same as the par we break from
10163 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10165 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10167 * MenuBackend.C (expand): also create menu entries for wide
10168 versions of the floats.
10170 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10172 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10174 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10175 frontends/Makefile.am
10181 * tabular.C (getTokenValue): add std::
10183 * tabular-old.C (getTokenValue): add std::
10184 (getTokenValue): ditto
10185 (getTokenValue): ditto
10187 * screen.C (ToggleSelection): adjust
10189 * lyxtext.h: put selection cursors inside a Selection struct.
10191 * lyxfunc.C (moveCursorUpdate): adjust
10193 * lyxfont.C (latexWriteStartChanges): add std::
10195 * lyxfind.C: adjust
10197 * font.h: delete with(char const *, LyXFont const &)
10199 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10201 * FontInfo.C (getFontname): add std::
10203 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10204 (workAreaButtonPress): adjust
10205 (tripleClick): adjust
10207 (moveCursorUpdate): adjust
10210 * BufferView2.C (gotoInset): adjust
10212 2001-05-30 Juergen Vigna <jug@sad.it>
10214 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10215 to check pspell I add this as default as I now have new pspell
10216 libraries and they seem to use this.
10218 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10220 * text2.C (CutSelection): make the cursor valid before the call to
10223 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10225 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10226 relied on 0 terminated strings and other horrors. Bug found due to
10227 the new assert in lyxstring!
10229 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10232 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10234 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10237 * lyxfunc.C (processKeySym): change method of getting to the
10240 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10241 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10242 * BufferView_pimpl.[Ch]: here as private methods.
10244 2001-05-28 Juergen Vigna <jug@sad.it>
10246 * text.C (SetHeightOfRow): added the update() call again as it is
10247 needed to initialize inset dimensions!
10249 2001-05-16 Juergen Vigna <jug@sad.it>
10251 * text2.C (SetCharFont): Add new function with BufferView * and
10252 bool toggleall parameters for setting insets internal fonts.
10253 (SetFont): Freeze the undo as we may change fonts in Insets and
10254 all this change should be inside only one Undo!
10256 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10257 setting font's in insets as for them we have the SetFont function!
10259 2001-05-15 Juergen Vigna <jug@sad.it>
10261 * text2.C (ClearSelection): to be sure we REALLY don't have any
10264 * tabular.C (TeXCellPreamble): fixed the left border problem for
10267 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10269 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10272 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10274 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10275 LFUN_BREAKPARAGRAPH.
10277 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10278 help test to "internal only", similar for LFUN_INSERT_URL
10280 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10281 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10282 auto_region_delete and deadkeys.
10284 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10287 * LColor.C: remove some dead entries, tidy a little
10289 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10291 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10293 (Dispatch): implement LFUN_ESCAPE
10295 * commandtags.h: add LFUN_ESCAPE
10297 * LyXAction.C (init): add entry for LFUN_ESCAPE
10299 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10300 Remove commented code.
10301 (insertNote): moved here
10302 (open_new_inset): moved here
10304 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10307 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10309 * kbmap.C (findbinding): clean it up and make it work correctly.
10311 * lyx_main.C (init): do not pass argc and argv as parameters
10313 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10315 * buffer.C: fix path for OS/2 & Win32
10319 * lyx_main.C: Added os:: class.
10321 * os2_defines.h: update
10323 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10325 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10326 better by trying again with reduced state.
10328 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10330 * lyxrc.C (read): print error about invalid key sequence only when
10331 debugging (because not all latinX keysyms are known to some X
10334 * kbsequence.C (getiso): add a few std:: qualifiers
10335 (getiso): comment out extra return statement.
10337 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10339 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10341 (Dispatch): enhance the accent inset a bit. (not perfect)
10343 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10345 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10347 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10349 * bufferlist.C (emergencyWrite): fix assert() call
10351 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10353 * text.C (InsertChar): Added trivial patch to only send the "you
10354 can not do multiple spaces this way" message once during a
10357 2001-05-08 Baruch Even <baruch@lyx.org>
10359 * Makefile.am: Changed order of libraries to get LyX to link properly
10360 with the gnome frontend.
10362 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10364 * LaTeXFeatures.h: add a std:: qualifier
10366 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10368 * paragraph.C (String): use stringstream
10370 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10372 * paragraph.C (writeFile): remove footflag arg
10374 * buffer.C (makeLaTeXFile): use stringstream
10375 (latexParagraphs): remove footnot gurba
10377 * LaTeXFeatures.C (getPackages): use stringstream
10378 (getMacros): likewise
10379 (getTClassPreamble): likewise
10380 (getFloatDefinitions): new method
10382 * paragraph.C (writeFile): reindent
10385 * WorkArea.h: revert the xpos + etc changes.
10387 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10389 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10391 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10392 (pasteSelection): likewise
10393 * text2.C (CreateUndo): likewise
10395 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10397 * minibuffer.C (peek_event): temporarily reduce the functionality
10398 of the minibuffer (to allow args on lfuns)
10400 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10401 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10403 * buffer.C (readInset): add compability reading of old float
10404 lists, add reading of new style float list.
10405 (readInset): avoid reevaluation of inscmd.getCmdName()
10406 (getLists): reindent
10408 * MenuBackend.C (MenuItem): implement parsing of
10409 md_floatlistinsert and md_floatinsert.
10410 (expand::LastFiles): move initalizaton of iterators out of loop,
10411 avoid reevaluation.
10412 (expand::Documents): introduce typdedef vector<string> Strings,
10414 (expand::ExportFormats): introduce typedef vector<Format const *>
10415 Formats, and use it.
10416 (expand): implement FloatListInsert and FloatInsert.
10418 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10419 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10420 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10422 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10424 (Dispatch::LFUN_FLOAT_LIST): implement
10426 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10428 * LaTeX.C (run): Fix problem with --export code.
10430 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10432 * BufferView.[Ch] (workarea): removed.
10433 (getClipboard) new method; wrapper for workarea()->getClipboard()
10435 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10438 * WorkArea.h (width, height, xpos, ypos): These methods all
10439 returned the dimensions of the work_area sub-area of WorkArea,
10440 resulting in a position error if the WorkArea were resized. Now
10441 return the dimensions of the entire WorkArea.
10443 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10445 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10447 * LaTeX.C (deplog): correct the syntax of regex reg1
10449 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10451 * undo.C: remove !NEW_INSETS cruft
10453 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10455 * text2.C: remove !NEW_INSETS cruft
10457 * text.C: remove !NEW_INSETS cruft
10459 * tabular.C: remove !NEW_INSETS cruft
10461 * spellchecker.C: remove !NEW_INSETS cruft
10463 * lyxtext.h: remove !NEW_INSETS cruft
10465 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10467 * lyxfunc.C: remove !NEW_INSETS cruft
10469 * lyxfind.C: remove !NEW_INSETS cruft
10471 * lyx_cb.C: remove !NEW_INSETS cruft
10473 * figureForm.C: remove !NEW_INSETS cruft
10475 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10477 * buffer.[Ch]: remove !NEW_INSETS cruft
10479 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10481 * CutAndPaste.C: remove !NEW_INSETS cruft
10483 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10485 * BufferView2.C: remove !NEW_INSETS cruft
10487 * BufferView.h: remove !NEW_INSETS cruft
10489 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10491 * Lsstream.h: include LString.h before the sstream headers to
10492 fix problem with gcc 2.95.3 and lyxstring
10494 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10496 * lyx_main.C: add using directives when needed for C functions
10497 declared in std:: namespace.
10499 2001-04-27 Juergen Vigna <jug@sad.it>
10501 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10502 (SetHeightOfRow): comment out the update call should not be needed!
10504 2001-04-13 Juergen Vigna <jug@sad.it>
10506 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10507 (LyXTabular): tried to minimize operator= operations (and realized
10508 hopfully Lars wish).
10510 2001-04-27 Juergen Vigna <jug@sad.it>
10512 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10514 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10516 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10518 * buffer.C (readInset): hack to make listof algorithm work
10520 * BufferView_pimpl.C: hack to make listof algorithm work
10522 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10524 * LyXAction.C: removed all !NEW_INSETS cruft
10525 (init): moved lfun_item in method
10527 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10529 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10531 * BufferView2.C (theLockingInset): white space.
10533 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10535 * minibuffer.C: include <iostream>
10537 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10539 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10541 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10543 * text.[Ch] (TransposeChars): new method
10545 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10547 * call message directly through LyXView instead of through LyXFunc
10548 * BufferView2.C: adjust
10549 * BufferView_pimpl.C: adjust
10550 * FontLoader.C: adjust
10552 * bufferview_funcs.C: adjust
10553 * converter.C: adjust
10554 * figureForm.C: adjust
10555 * importer.C: adjust
10557 * lyx_gui_misc.C: adjust
10558 * lyxfunc.C: adjust
10561 + more files in subdirs
10563 * lyxparagraph.h (size): move up int file
10566 * adjust all uses of Assert to lyx::Assert.
10568 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10569 lyxfunctional in namespace lyx
10570 * layout.C (hasLayout): ditto
10573 (delete_layout): ditto
10574 (NumberOfClass): ditto
10575 * converter.C (GetFormat): ditto
10580 * bufferlist.C (getFileNames): ditto
10581 (emergencyWriteAll): ditto
10584 * MenuBackend.C (hasSubmenu): ditto
10587 * BufferView_pimpl.C (getInsetByCode): ditto
10589 2001-04-18 Juergen Vigna <jug@sad.it>
10591 * vspace.C (asLatexString): fixed the 100% problem.
10593 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10595 * lyxfunc.C (Dispatch):
10597 * minibuffer.h: add a few std:: qualifiers
10599 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10601 * minibuffer.[Ch]: reimplement so that commands is initiated and
10602 run from lyxfunc, simplified som handling, and made the completion
10603 and history code for complete. wip.
10605 * lyxfunc.C (processKeySym): call message
10606 (miniDispatch): new temporary method
10607 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10608 (LFUN_MESSAGE): implement
10609 (LFUN_MESSAGE_PUSH): implement
10610 (LFUN_MESSAGE_POP): implement
10611 (initMiniBuffer): the initial/defualt minibuffer message.
10613 * lyxfont.[Ch]: inline some more getters
10615 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10617 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10619 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10620 (AutoSave): use LFUN_MESSAGE
10621 (Reconfigure): ditto
10623 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10625 * figureForm.C: use LFUN_MESSAGE
10627 * converter.C (runLaTeX): use LFUN_MESSAGE
10629 * bufferview_funcs.C: use LFUN_MESSAGE
10631 (changeDepth): ditto
10633 * bufferparams.h: use boost::
10635 * bufferlist.h: inherit privately from noncopyable
10637 * bufferlist.C (loadLyXFile): remove some commented code.
10639 * buffer.C (runChktex): use LFUN_MESSAGE
10641 * ShareContainer.h: inherit privately from noncopyable
10643 * ParagraphParameters.[hC] (depth): inline it.
10645 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10647 (message): new method
10648 (messagePush): ditto
10649 (messagePop): ditto
10650 (show): init minibuffer
10651 (showState): direct call
10653 * LaTeX.[Ch]: inherit privately from noncopyable
10654 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10655 instead of WriteStatus.
10657 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10659 * BufferView_pimpl.C (buffer): don't init minibuffer
10660 (workAreaButtonPress): use LFUN_MESSAGE
10661 (workAreaButtonRelease): ditto
10662 (savePosition): ditto
10663 (restorePosition): ditto
10664 (MenuInsertLyXFile): ditto
10665 (workAreaExpose): don't init minibuffer
10666 (update): remove commented code, simplify
10668 * BufferView2.C (openStuff): use LFUN_MESSAGE
10669 (toggleFloat): ditto
10672 (copyEnvironment): ditto
10673 (pasteEnvironment): ditto
10678 (updateInset): remove some commented code
10680 * lastfiles.h: inherit privately from noncopyable
10683 * lyx_main.h: ditto
10685 * lyxlex_pimpl.h: ditto
10687 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10688 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10689 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10691 * LyXAction.h: inherit privately from noncopyable, add methods
10692 func_begin, func_end, returning iterators to the func map.
10694 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10695 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10696 (func_begin): new method
10697 (func_end): new method
10699 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10701 (copySelection): ditto
10702 (pasteSelection): ditto
10704 * BufferView.C: whitespace change
10705 * BufferView.h: inherit privately from noncopyable
10707 2001-04-16 Allan Rae <rae@lyx.org>
10709 * tabular-old.C (l_getline):
10710 * spellchecker.C (sc_check_word):
10711 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10712 an unrecognised preprocessor directive. So ensure they're wrapped.
10714 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10716 * src/exporter.C (Export): Give an error message when path to file
10719 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10721 * LaTeX.C (deplog): Always check that foundfile exists.
10723 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10726 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10728 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10730 * tabular.[Ch] (getLabelList): implement new method
10732 * minibuffer.h: comment ouf setTiimer
10734 * minibuffer.C (ExecutingCB): constify res
10735 (peek_event): constify s
10736 (Set): constify ntext
10737 (Init): constify nicename
10739 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10741 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10742 (savePosition): use two params to Minibuffer::Set
10743 (restorePosition): ditto
10745 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10747 * lyx_main.C: include language.h
10749 * Makefile.am (lyx_main.o): add language.h
10751 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10757 * CutAndPaste.C: include gettext.h
10759 * lyxfont.h: remove old hack with ON and OFF.
10762 * lyxfont.h: do not include language.h...
10767 * bufferview_funcs.C:
10773 * paragraph.C: ... but do it here instead
10775 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10777 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10779 * tabular.C: small reformat
10781 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10784 (BreakParagraph): ditto
10785 (SetOnlyLayout): ditto
10788 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10791 * lastfiles.C: removed most using decl, add std:: where needed
10793 * buffer.C: ws changes
10795 * MenuBackend.C (class compare_format): put into anon namespace
10796 (expand): constify label, names, action, action2
10799 * text.C (SingleWidth): constify font
10800 (IsBoundary): constify rtl2
10801 (GetVisibleRow): constify ww
10803 * LaTeX.C (deplog): constify logfile
10805 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10807 (workAreaExpose): constify widthChange, heightChange
10809 * lyxrow.C (par): moved
10812 * lyxrow.h: as inlines here
10814 * lyxfont.h (shape): moved from lyxfont.C
10815 (emph): moved from lyxfont.C
10817 * lyxfont.C (LyXFont): use initialization list for all
10819 (shape): move to lyxfont.h as inline
10820 (emph): move to lyxfont.h as inline
10823 2001-04-04 Juergen Vigna <jug@sad.it>
10825 * vspace.C: had to include stdio.h for use of sscanf
10827 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10830 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10831 independent of xforms.
10833 2001-04-02 Juergen Vigna <jug@sad.it>
10835 * spellchecker.C: fixed namespace placing!
10837 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10839 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10840 the LyXParagraph * is 0.
10842 2001-03-29 Juergen Vigna <jug@sad.it>
10844 * vspace.C: added support for %, c%, p%, l%.
10845 (stringFromUnit): added helper function.
10846 (asLatexString): changed to give right results for the %-values.
10848 * buffer.C: convert the widthp in a width%.
10850 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10852 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10855 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10856 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10858 * lyx_cb.[Ch]: see above.
10860 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10864 * lyx.[Ch]: replaced by figure_form.[Ch].
10868 * lyxfunc.C: changed headers associated with above changes.
10870 2001-03-27 Juergen Vigna <jug@sad.it>
10872 * BufferView_pimpl.C: set the temporary cursor right!
10874 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10876 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10878 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10880 * LString.h: removed "using std::getline"!
10882 * BufferView_pimpl.C (Dispatch): changes due to changes in
10883 InsetInclude::Params.
10885 * buffer.C (tag_name): removed redundant break statements as they were
10886 producing lots of warnings with my compiler.
10888 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10890 * LString.h: add "using std::getline" when using the real <string>.
10892 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10894 * buffer.C: removed bitset usage.
10895 PAR_TAG moved to an anonymous name space.
10896 (tag_name): new funtion, also in the anonymous namespace.
10897 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10898 (makeDocBookFile): clean code. Completed transition from string arrays
10900 (SimpleDocBookOnePar): code clean.
10902 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10904 * tabular.C: add some comments.
10906 2001-03-22 Juergen Vigna <jug@sad.it>
10908 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10909 compatibility read a bit and fixed bug with minipage in different
10912 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10914 * buffer.C (pop_tag): removed.
10915 (push_tag): removed.
10916 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10917 array replaced with vector. Added support for CDATA sections.
10918 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10920 (makeDocBookFile): XML conformant declaration of CDATA section,
10921 fixed bug related to <emphasis> in the first paragraph char.
10922 (sgmlOpenTag): exclude empty tags.
10923 (sgmlCloseTag): ditto.
10925 * buffer.h (pop_tag): removed.
10926 (push_tag): removed.
10928 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10930 * language.h (Languages): added size_type and size().
10932 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10934 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10935 response on compability reading of minipages. One probliem is that
10936 the old usage of minipages was «flertydig»
10938 * several files here and in subdirs: don't use static at file
10939 scope use anon namespaces instead.
10941 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10943 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10944 LaTeX output. This is necessary for Literate document
10947 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10949 * buffer.C: insert hfill when needed.
10951 * tabular.C (l_getline): use string::erase, small whitespace change.
10953 * BufferView_pimpl.C: try the anon namespace.
10954 * WorkArea.C: ditto
10956 2001-03-16 Juergen Vigna <jug@sad.it>
10958 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10959 otherwise it won't open options-dialogs.
10961 * buffer.C: honor pextraWidth(p) on converting minipages.
10963 * tabular.C (l_getline): changed the functions to strip trailing \r.
10965 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10967 * BufferView_pimpl.C:
10968 * minibuffer..C: added "using SigC::slot" declaration.
10970 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10972 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10978 * paragraph.C: ditto
10980 * lyxtext.h: NO_PEXTRA
10982 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10984 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10985 * ParameterStruct.h: ditto
10986 * ParagraphParameters.h: ditto
10987 * lyxparagraph.h: ditto
10989 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10991 * buffer.C: add compability for minipage alignment.
10992 (latexParagraphs): remove unwanted pextra check.
10994 * several files: remove CXX_WORKING_NAMESPACES
10996 * buffer.C (pop_tag): tie is in namespace boost
10998 * BufferView.h: noncopyable is in namespace boost
11000 * lyx_main.h: ditto
11003 * lastfiles.h: ditto
11004 * bufferlist.h: ditto
11005 * ShareContainer.h: ditto
11007 * LyXAction.h: ditto
11010 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11012 * Merging changes from BRANCH_MVC back into HEAD.
11014 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11016 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11018 * BufferView_pimpl.C: change from intl.C
11022 * Makefile.am: move combox.*
11028 * intl.C: remove dialog (covered by prefs)
11030 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11032 * lyxfunc.C (Dispatch): removed redundant break statement.
11034 2001-03-14 Juergen Vigna <jug@sad.it>
11036 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11038 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11040 * buffer.C: add hack to fix compability reading of minipages.
11042 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11044 * buffer.C (getLists): Cleanup.
11046 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11048 * lyxfont.C (update): don't honor toggleall on font size.
11050 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11054 * Makefile.am: moved to frontends/xforms/
11058 * BufferView_pimpl.C: changes for moved mathpanel
11060 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11062 * gettext.h: fix gettext_init() in --disable-nls
11064 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11066 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11068 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11071 * lyx.h: strip external form
11073 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11075 * BufferView_pimpl.C: add comment, destroySplash()
11077 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11079 * BufferView_pimpl.C:
11083 * lyxfunc.C: use re-worked insetinclude
11085 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11087 * buffer.C: add using std::stringstream.
11089 * lyx_cb.C: readd using std::ios.
11091 * buffer.C: add using std::map.
11093 * BufferView_pimpl.C: add using std::vector.
11095 * ShareContainer.h: add std:: to swap.
11097 * buffer.h: add some typedefs
11098 * buffer.C (getLists): use them
11099 (getLists): renamed from getTocList.
11100 add a counter for the different float types and use it in the
11102 (getLists): use the same counter for the NEW_INSETS and the "non"
11105 * lyx_cb.h: remove unused items, includes, using etc.
11107 * ShareContainer.h: remove some commented code, add more comments
11108 and "documentation".
11110 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11112 * buffer.C (getTocList): make the list also when NEW_INSETS is
11115 * buffer.h: remove TocType
11117 * buffer.C (getTocList): change to return a map<string,
11118 vector<TocItem> >, implement for dynamic number of list.
11120 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11121 * text2.C (PasteSelection): adjust
11122 * CutAndPaste.C (pasteSelection): adjust
11124 * FloatList.C (FloatList): update from the new_insets branch.
11125 * Floating.[Ch]: ditto
11126 * LaTeXFeatures.C: ditto
11128 * lyxlex_pimpl.C: ditto
11130 * paragraph.C (Last): remove when NEW_INSETS is defined.
11132 * other file: changes because of the above.
11134 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11136 * lyxparagraph.h: rename next to next_, previous to previous_,
11137 make them private for NEW_INSETS. Rename Next() to next(),
11138 Previous() to previous().
11140 * other files: changes because of the above.
11142 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11145 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11148 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11150 * main.C (main): pass lyx_localedir to gettext_init().
11152 * gettext.h: remove locale_init and gettext_init macros
11154 * gettext.C (locale_init): new function
11155 (gettext_init): new function
11157 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11160 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11162 * Moved credits to frontends:
11163 * credits.[Ch]: removed
11164 * credits_form.[Ch]: removed
11165 * lyx_gui_misc.C: remove credits stuff
11168 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11170 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11172 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11173 unneeded destructor.
11175 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11176 a standalone pointer again.
11178 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11180 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11186 * ToolbarDefaults.C:
11195 * BufferView_pimpl.C: use new file dialog in GUII
11198 * lyx_cb.C: remove LayoutsCB to Toolbar
11200 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11202 * ShareContainer.h (get): add std:: qualifier
11204 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11206 * ShareContainer.h: define a proper ShareContainer::value_type
11207 type (and use typename to please compaq cxx)
11209 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11211 * lyxparagraph.h: move serveral local vars to
11212 ParameterStruct/ParagraphParameters., use ShareContainer in
11213 FontTable., make vars in FontTable private and add getter and
11216 * paragraph.C: changes because of the above.
11218 * lyxfont.h: remove copy constructor and copy assignment. (the
11219 default ones is ok), move number inside FontBits. move inlines to
11222 * lyxfont.C: add number to initializaton of statics, move several
11223 inlines here. constify several local vars. some whitespace
11224 cleanup. Dont hide outerscope variables.
11226 * Spacing.h: add two new constructors to match the set methods.
11228 * ShareContainer.h: new file, will perhaps be moved to support
11230 * ParameterStruct.h: new file
11232 * ParagraphParameters.h: new file
11234 * ParagraphParameters.C: new file
11236 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11237 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11239 * BufferView_pimpl.C: ParagraphParameter changes.
11240 * buffer.C: Likewise.
11241 * bufferview_funcs.C: Likewise.
11242 * text.C: Likewise.
11243 * text2.C: Likewise.
11245 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11247 * lyxfind.C (LyXReplace): do not redefine default argument in
11249 (IsStringInText): ditto
11250 (SearchForward): ditto
11251 (SearchBackward): ditto
11253 2001-03-06 Juergen Vigna <jug@sad.it>
11255 * lyxfind.C (IsStringInText): put parentes around expressions.
11257 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11259 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11261 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11263 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11265 * stl_string_fwd.h: add comment
11267 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11270 * tabular.C: remove unused DocBook methods
11276 killed DO_USE_DEFAULT_LANGUAGE
11278 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11280 * lyx_gui.C: do not include language.h.
11282 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11283 arguments in function implementation.
11285 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11287 * BufferView_pimpl.C: add <ctime>
11289 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11291 * BufferView_pimpl.C: add using std::find_if
11293 2001-02-27 José Matos <jamatos@fep.up.pt>
11295 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11298 2001-02-11 José Matos <jamatos@fep.up.pt>
11300 * buffer.C (makeDocBookFile): command styles now have a parameter as
11301 "title" by default.
11303 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11305 * layout_forms.[Ch]: removed
11306 * lyx_cb.[Ch]: out character
11307 * lyx_gui.C: out character
11308 * lyx_gui_misc.C: out character
11309 * bufferview_funcs.C: : out character,
11310 added toggleall as parameter in ToggleAndShow
11312 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11314 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11316 * text2.C (SetCurrentFont): Disable number property at boundary.
11318 2001-02-26 Juergen Vigna <jug@sad.it>
11320 * lyxfunc.C (getStatus): added a string argument override function so
11321 that this is correctly called from LyXFunc::Dispatch if it contains a
11322 do_not_use_argument which is used!
11323 (Dispatch): added check for "custom" export and call appropriate func.
11325 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11327 * lyxrc.C: Add language_command_local, language_use_babel and
11328 language_global_options.
11330 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11332 * buffer.C (makeLaTeXFile): Use language_use_babel and
11333 language_global_options.
11335 2001-02-23 Juergen Vigna <jug@sad.it>
11337 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11338 which works with LyXText and putted it inside BufferView. Here now we
11339 only call for that part the BufferView::Dispatch() function.
11341 * BufferView.C (Dispatch): added.
11343 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11344 functions which needs to use a LyXText over from LyXFunc.
11345 (MenuInsertLyXFile): added
11346 (getInsetByCode): added
11347 (moveCursorUpdate): added
11348 (static TEXT): added
11350 2001-02-22 Juergen Vigna <jug@sad.it>
11352 * BufferView_pimpl.C (update): call a status update to see if LyXText
11355 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11357 * vc-backend.C (revert): implement for CVS
11358 (getLog): implement for CVS
11360 2001-02-20 Juergen Vigna <jug@sad.it>
11362 * text2.C (ClearSelection): added BufferView param for inset_owner call
11364 * lyxfunc.C (TEXT): added this function and use it instead of
11365 directly owner->view()-text of getLyXText().
11367 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11369 * src/layout_forms.C: out preamble
11370 * src/layout_forms.h: out preamble
11371 * src/lyx_cb.C: out preamble
11372 * src/lyx_cb.h: out preamble
11373 * src/lyx_gui.C: out preamble
11374 * src/lyx_gui_misc.C: out preamble
11375 * src/lyxfunc.C: connect with guii preamble
11377 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11379 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11381 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11383 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11384 whether to run bibtex.
11386 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11388 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11390 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11392 * Makefile.am (lyx_SOURCES): removed bibforms.h
11394 * vspace.h: doxygen
11396 * text.C (GetVisibleRow): make several local vars const
11398 * tabular.C: small cleanup.
11400 * lyxserver.C (callback): use compare instead of strncmp
11402 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11403 inlines to after class or to paragraph.C
11405 * lyxfont.h: remove friend operator!=
11407 * converter.h: move friend bool operator< to non friend and after
11410 * combox.h: small cleanup
11412 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11413 to inlines after class def.
11415 * buffer.C (pop_tag): use string operations instead of strcmp
11417 * bmtable.c: doxygen, small cleanup
11419 * LaTeX.h: remove friend operator==
11421 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11433 * BufferView_pimpl.C:
11434 * BufferView.[Ch]: remove cruft
11436 2001-02-14 Juergen Vigna <jug@sad.it>
11438 * lyxfunc.C: removed #if 0 unused code
11440 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11442 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11444 * text2.C (SetSelection): added a BufferView * parameter
11446 2001-02-13 Juergen Vigna <jug@sad.it>
11448 * lyxfunc.C (Dispatch): fixed protected blank problem.
11449 * BufferView2.C (protectedBlank): added LyxText * parameter.
11451 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11452 (AppendColumn): same as above for column_info.
11454 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11455 (moveCursorUpdate): use a LyXText param for support of InsetText.
11457 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11458 (tripleClick): ditto
11460 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11462 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11464 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11466 * text2.C (SetSelection): set correct update status if inset_owner
11467 (ToggleFree): ditto
11469 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11471 * tabular.C: remove some commented code.
11473 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11475 * BufferView_pimpl.C: call hideSplash()
11477 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11480 * bibforms.h: remove
11483 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11484 add LFUN_CHILD_CREATE
11486 * counters.h: fix tiny typo
11491 * lyx.C: move splash to frontends/xforms/
11493 * lyx_gui_misc.C: move Include and Bibform to frontends
11495 * lyxvc.h: clarify comment
11497 * vspace.C: tiny housekeeping
11499 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11501 * text.C (PrepareToPrint): RTL Fix.
11503 * paragraph.C (GetUChar): New method.
11504 (String): Use GetUChar.
11506 * buffer.C (asciiParagraph): Use GetUChar.
11508 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11510 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11512 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11515 * buffer.C: rename to getLogName(), handle
11516 build log / latex log nicely
11518 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11521 * MenuBackend.h: remove support for reference menuitem type.
11523 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11525 * BufferView_pimpl.C: housekeeping
11526 * BufferView_pimpl.h:
11531 * minibuffer.h: move Timeout GUI-I
11533 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11535 * lyxrc.C (read): Update converters data-structures.
11537 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11539 * LaTeX.h (operator!=): add operator != for Aux_Info
11541 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11543 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11545 * LaTeXLog.C: deleted, useful code moved to Buffer
11548 * buffer.C: new function getLatexLogName()
11554 * lyxfunc.C: use frontends for LaTeX and VC logs
11556 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11558 * LaTeX.h: yet another std:: that Allan forgot.
11560 * Variables.C (set): renamed from isset(), because this clashes
11561 with some HP-UX macros (grr).
11563 2001-02-06 Allan Rae <rae@lyx.org>
11565 * LaTeX.h: Another bug fix. Missing std:: this time.
11567 2001-02-04 Allan Rae <rae@lyx.org>
11569 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11570 floats problem. I've left it commented out because it's not quite
11571 correct. It should also test that the current object is a table or
11572 figure inset. But I haven't gotten around to figuring out how to do
11573 that. I *think* it'll be something like: "table" == inset.type()
11575 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11578 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11580 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11581 all the citation/databases/styles in the auxilary file.
11582 (run): Rerun latex if there was a babel language error.
11584 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11586 * text.C (Backspace): Preserve the font when changing newline char
11588 (BreakParagraph): If the cursor is before a space, delete the space.
11590 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11592 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11594 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11595 new argument (code).
11596 (ChangeCitationsIfUnique): New method.
11598 * paragraph.C (GetPositionOfInset): Handle bibkey.
11600 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11602 * BufferView_pimpl.h: change type of Position::par_pos to
11603 LyXParagraph::size_type.
11605 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11607 * BufferView_pimpl.C (savePosition, restorePosition): Write
11608 messages to minibuffer.
11610 2001-01-28 José Matos <jamatos@fep.up.pt>
11612 * buffer.C (makeDocBookFile): adds support for document language.
11613 A silly restriction on the name of LatexCommand types where removed.
11614 Added support for CDATA sections, allows to chars unescaped, used
11615 among others in code, to avoid escape < and >.
11617 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11619 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11620 saved positions instrad of a stack. Furthermore, a position is
11621 stored using paragraph id/paragraph position.
11623 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11624 Remove LFUN_REF_BACK.
11626 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11628 * converter.C (dvipdfm_options): New method.
11630 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11632 * vspace.C (isValidLength): Fix for empty input string.
11634 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11636 * LyXAction.C (init): change description of LFUN_FIGURE to
11639 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11641 * LaTeX.C: add using directive
11643 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11645 * MenuBackend.C (expand): Fix the sorting of the formats.
11647 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11649 * lyx_main.C: tiny error message fix
11651 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11653 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11654 calling fl_initialize(). This fixes the problem with ',' as
11655 decimal separator in text files.
11657 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11659 * trans.C (process): Fix the keymap bug.
11661 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11663 * LaTeX.C (scanAuxFiles): New method. Provides support for
11664 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11665 (scanLogFile) Scan for "run BibTeX" messages.
11667 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11668 OT1 font encoding. Also, load the aecompl package if the ae
11671 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11673 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11675 * texrow.C (increasePos): turn two error messages into debug
11678 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11680 * LaTeX.C (scanAux): Handle the \@input macro.
11681 (runBibTeX): Use scanAux().
11683 * language.C (latex_options_): New field.
11685 * LaTeXFeatures.C (getMacros): Add language macros.
11687 * buffer.C (makeLaTeXFile): Small fix.
11689 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11691 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11693 * text2.C: add a using directive.
11695 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11700 * lyxfunc.C: kill LyXBell.
11702 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11704 * text.C (IsBoundary): Remove the error message
11706 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11708 * lyxrc.C (setDefaults): Correct initialization value for
11711 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11713 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11716 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11717 and GotoNextNote().
11719 * src/LyXAction.C: Added reference-next.
11721 * text.C (InsertChar): Use contains instead of strchr.
11723 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11725 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11727 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11728 alignment commands (when needed).
11730 * text.C (InsertChar): Add ':' to number separator chars.