1 2003-07-27 José Matos <jamatos@fep.up.pt>
3 * tabular.[Ch] (linuxdoc): add support for tables and figures (linuxdoc).
5 2003-07-27 José Matos <jamatos@fep.up.pt>
7 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
8 consistency in both functions.
9 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
11 2003-07-26 Asger Alstrup <alstrup@local>
13 * rowpainter.C (paintRows): Change algorithm to work directly on
14 the insets rather than asking every character in the document
17 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
19 * buffer.C (openFileWrite): factorize some code
21 2003-07-26 Angus Leeming <leeming@lyx.org>
24 * lyx_main.[Ch]: replace occurances of system_tempdir with
27 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
29 * rename Inset to InsetOld
31 2003-07-25 Asger Alstrup <alstrup@diku.dk>
33 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
34 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
35 which I think is a bit clearer. EDIT is gone, since it was
36 premature optimisation, and broken for mathed anyway.
37 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
38 with cursor positioning in insets as well (math insets still do not
39 work, but that's a different story anyway.) It mysteriously
40 crashes sometimes with undo in the first paragraph, but I'm fairly
41 confident that this is a compiler bug.
43 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
45 * paragraph.C (Paragraph): adjust for new clone return type
47 (copyIntoMinibuffer): ditto
49 2003-07-25 Asger Alstrup <alstrup@lyx.org>
51 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
52 by not having a special case, and always doing a full rebreak of
53 the document after undo.
55 2003-07-23 Angus Leeming <leeming@lyx.org>
57 * factory.C (createInset): InsetExternal::setParams now takes a
60 2003-07-23 Angus Leeming <leeming@lyx.org>
62 * factory.C (createInset): changed interface to the external and
63 graphics mailers' string2params functions.
65 2003-07-23 Angus Leeming <leeming@lyx.org>
67 * factory.C (createInset): pass a
68 Buffer const * parameter to InsetExternalMailer's string2params.
70 2003-07-22 John Levon <levon@movementarian.org>
72 * Thesaurus.h: include the right aiksaurus header
74 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
76 * MenuBackend.C (expand): check menu shortcuts unconditionally
78 2003-07-21 Angus Leeming <leeming@lyx.org>
80 * factory.C (createInset): pass a
81 buffer_path parameter to InsetGraphicsMailer's string2params.
83 2003-07-21 Angus Leeming <leeming@lyx.org>
85 * BufferView_pimpl.C (buffer):
88 * lyxfunc.C (dispatch):
89 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
90 rather than the grfx shortcut.
92 2003-07-21 André Pönitz <poenitz@gmx.net>
94 * rowpainter.C: remove unused variables
97 * tabular_funcs.h: move to tabular.C
100 * tabular.[Ch]: basic optical cleaning
102 * author.h: pass references, not values
104 2003-07-18 André Pönitz <poenitz@gmx.net>
112 * text3.C: two-phase drawing for InsetText and InsetTabular
113 some float -> int changes.
115 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
117 * lyx_main.C: fix the fix
119 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
121 * lyx_main.C: fix a crash in batch mode if no files specified
124 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
126 * format.[Ch] (papersize): moved to BufferParams
127 * converter.[Ch] (dvips_options): moved to BufferParams
128 (dvipdfm_options): moved to anon namespace
129 * bufferparams.[Ch]: added above functions.
131 2003-07-17 André Pönitz <poenitz@gmx.net>
135 * text2.C: don't call inset->update() anymore
137 * metricsinfo.[Ch]: add convenience constructor
139 2003-07-16 André Pönitz <poenitz@gmx.net>
144 * text2.C: replace the LyXCursor::irow_ member with
145 on-demand computation of the value
147 2003-07-16 John Levon <levon@movementarian.org>
149 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
151 2003-07-15 André Pönitz <poenitz@gmx.net>
154 * text2.C: remove no more needed refresh_row
156 2003-07-15 André Pönitz <poenitz@gmx.net>
161 * text3.C: refresh_status tristate -> need_update bool
163 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
165 * lyxtext.h (init): remove reinit argument (act as if always true)
166 * text2.C: adjust to that
168 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
170 * bufferview_funcs.[Ch]: introduce function replaceSelection()
171 * text3.C: use it to delete selections in some cases
172 (bugs 441, 673, 702, 954).
174 2003-07-14 André Pönitz <poenitz@gmx.net>
176 * rowpainter.[Ch]: reduce interface
178 2003-07-14 André Pönitz <poenitz@gmx.net>
180 * BufferView_pimpl.C:
181 * text2.C: adjust after removing unused BufferView * argument
183 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
185 * text2.C (init): fix a crash fired on resize
187 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
189 * buffer.[Ch]: added new closing signal
190 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
191 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
192 BufferView::Pimpl via the closing the signal
194 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
196 * buffer.[Ch]: take out all bv-related from buffer
198 * BufferView_pimpl.[Ch]: connect to new signals
199 * CutAndPaste.C: removed useless asserts
200 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
203 * lyxfunc.C: moved view-related funciontality from vc here
204 * paragraph.C: removed outdated comments
207 2003-07-10 André Pönitz <poenitz@gmx.net>
209 * BufferView_pimpl.C:
213 * text2.C: remove InsetText::InnerCache, clean up consequences
215 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
217 * ispell.C: fix two typos in error messages
219 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
221 * Extend Note inset to other forms of annotation like Comment
222 and Greyedout. Right button click gives dialog.
224 Files modified or added (+):
230 * Makefile.am in frontends/xforms, frontends/xforms/forms,
231 frontends/controllers
235 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
237 * aspell.C: add missing namespace lyx::support
239 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
241 * BufferView.[Ch] (newFile): Add
242 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
243 * LaTeX.[Ch] (message): added this signal and use it
244 * buffer.[Ch] (busy, message): added these signals and use them
245 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
249 * importer.C: use buffer signals instead of direct bv calling
250 * lyx_cb.[Ch] (ShowMessage): removed
254 * text2.C: use buffer signals
256 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
258 * introduce namespace lyx::graphics
260 2003-07-02 André Pönitz <poenitz@gmx.net>
262 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
264 2003-07-01 André Pönitz <poenitz@gmx.net>
271 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
272 text*.C to text_func.C
274 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
276 * introduce namespace lyx::support
278 2003-06-30 André Pönitz <poenitz@gmx.net>
283 * text.C: re-enable --with-included-string
285 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
287 * textcursor.C: add <config.h>
289 * text.C (getWord): remove const from word_location arg
291 * lyxvc.C (getLogFile): fix const type order
293 * lyxtext.h: remove const from word_location arg, add arg name
295 * lyxlayout.h: currect type on labeltype.
297 * importer.C: correct \file
299 * converter.C (intToFormat): use std:: on ret val, ws changes
301 * bufferlist.h: correct \file
303 * buffer.C (makeLinuxDocFile): fix const type order
304 (makeDocBookFile): ditto
305 (fillWithBibKeys): use std:: on stdlib args.
307 * CutAndPaste.C: fix authors.
308 (availableSelections): use std:: on return vector
310 2003-06-27 André Pönitz <poenitz@gmx.net>
312 * BufferView_pimpl.C:
313 * bufferview_funcs.C:
321 * text3.C: remove LyXCursor::row_ member
324 * text.C: rename fullRebreak() to partialRebreak() and implement
325 a fullRebreak() that really bereks fully
327 * textcursor.h: new struct for cursor-related data
329 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
331 * lyx_main.C (LyX): get full path of document loaded on the
334 2003-06-26 André Pönitz <poenitz@gmx.net>
336 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
337 remove unused/broken operator>,<,>=.
339 * text.C: remove only use of broken operator<= in an Assert().
341 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
343 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
344 moved errorlist_.clear to showErrorList
346 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
348 * converter.C (scanLog, runLaTeX):
349 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
350 move the bv->showErrorList call to the callers
351 * lyxfunc.C: i.e. here...
353 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
354 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
355 namespace, the second to...
356 * buffer_funcs (BufferFormat, parseErrors): added
357 * errorlist.C (ErrorList(TeXErrors const &)): removed
359 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
361 * ToolbarBackend.C (getIcon): complain when icon cannot be found
363 2003-06-24 "Garst R. Reese" <reese@isn.net>
367 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
369 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
371 * version.C.in: change docversion to 1.4
373 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
375 * buffer.C: fix a bug just introduced
377 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
379 * buffer.[Ch]: added the parseError signal and use it, removed
381 * BufferView.[Ch] (addError): moved to ...
382 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
383 to the Buffer::parseError signal to catch (guess what) parse errors
384 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
386 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
388 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
389 ability to create a buffer and to return an existing one from
390 the list. Moved these functions to...
391 * buffer_funcs.[Ch]: added
392 * BufferView.[Ch] (loadLyXFile): added
393 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
394 job removed from bufferlist::loadLyXFile.
395 * buffer.C (setReadOnly): make it work without view
396 (i.e added an if (users))
398 2003-06-19 Angus Leeming <leeming@lyx.org>
401 * LyXAction.C (init):
402 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
403 with LFUN_DIALOG_SHOW <name> <data>.
405 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
407 * CutAndPaste.C (availableSelections): small compilation fix for
408 ancient (gcc 2.9x) compilers
410 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
412 * text3.C (cursorNext): add tmp var
414 * text2.C (updateCounters): for function calling out of for clause
415 (replaceSelectionWithString): ditto
416 (insertStringAsParagraphs): ditto
417 (getColumnNearX): add tmp var
418 (setCursorFromCoordinates): add tmp var
419 (cursorDownParagraph): add tmp var
420 (deleteEmptyParagraphMechanism): add tmp var
422 * text.C (insertChar): add tmp var
424 * rowpainter.C (paintDepthBar): add tmp var
426 * CutAndPaste.C (availableSelections): potentially check all
427 paragraphs in a cut to fill the shown strings.
429 2003-06-18 André Pönitz <poenitz@gmx.net>
431 * kbmap.[Ch]: use vector<> instead of list<>
433 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
435 * text3.C (dispatch): handle arg to LFUN_PASTE, call
436 pasteSelection with index
438 * text2.C (pasteSelection): modify, call pasteSelection with index
440 * paragraph.C (asString): reimplement version with no interval to
441 call the one with interval.
443 * lyxtext.h: add index arg to pasteSelection
445 * MenuBackend.C (MenuItem): handle PasteRecent
446 (Menu::read::Menutags): add md_pasterecent
448 (expandPasteRecent): new function
451 * MenuBackend.h: add PasteRecent to MenuItem::Kind
453 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
455 (availableSelections): new function
457 2003-06-17 Angus Leeming <leeming@lyx.org>
459 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
461 2003-06-17 Angus Leeming <leeming@lyx.org>
464 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
466 * lyxfunc.C (dispatch): invoke it.
468 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
470 * iterators.C (operator++, ParPosition): reintroduce some
471 const_cast for the benefit of older compilers.
473 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
475 * text3.C (dispatch): do not modify clipboard when doing
476 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
477 LFUN_DELETE_SKIP on a selection selection
479 2003-06-16 André Pönitz <poenitz@gmx.net>
485 * tabular.[Ch]: IU of clone() and getLabelList();
487 2003-06-13 André Pönitz <poenitz@gmx.net>
489 * tabular.h: compactification
491 2003-06-12 André Pönitz <poenitz@gmx.net>
495 * tabular_funcs.h: some renaming plus whitespace
497 2003-06-12 André Pönitz <poenitz@gmx.net>
500 * BufferView_pimpl.C:
506 * toc.C: Return a Paragraph & for ParIterator::operator*()
508 2003-06-11 John Levon <levon@movementarian.org>
512 * ToolbarBackend.C: add "Toolbars" section and
515 2003-06-10 Angus Leeming <leeming@lyx.org>
518 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
520 * lyxfunc.C (dispatch): invoke it.
522 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
524 * main.C: protect <ios> with HAVE_IOS
525 (main): protect sync_with_stdio with HAVE_IOS
527 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
529 * text2.C (cutSelection): adjust
530 (pasteSelection): adjust
532 * messages.C: handle get of empty string
534 * main.C (main): use sync_with_stdio(false)
536 * lyxfunc.C (dispatch): adjust
538 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
539 (WriteAs): remove unneeded BufferView arg.
541 * bufferparams.h: use correct types on papersize, papersize2 and
544 * bufferparams.C (readToken): adjust for type
545 (writeLaTeX): add missing cases to switch.
547 * bufferlist.C (quitWriteBuffer): adjust
550 * buffer.C (asciiParagraph): remove some commented code.
552 * CutAndPaste.C: remove current_view extern variable.
553 (cutSelection): add BufferParams arg.
554 (eraseSelection): add BufferParams arg.
555 (pasteSelection): add Buffer const & arg
557 2003-06-07 John Levon <levon@movementarian.org>
565 * paragraph.C: allow InsetERT to freely space lines,
566 and some consolidation of code
568 2003-06-06 José Matos <jamatos@fep.up.pt>
570 * buffer.C (makeDocBookFile): fix bug #821
572 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
574 * BufferView_pimpl.C (dispatch): use Dialogs::visible
576 2003-06-04 Angus Leeming <leeming@lyx.org>
578 * buffer.C: bump format to 224.
580 2003-06-05 André Pönitz <poenitz@gmx.net>
582 * text2.C (redoParagraphs): remove two const_cast<>
584 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
586 * ParagraphList.h: remove last remnants of NO_STD_LIST
588 2003-06-03 Angus Leeming <leeming@lyx.org>
590 * factory.C (createInset): small change to the way InsetExternal's params
593 2003-06-04 André Pönitz <poenitz@gmx.net>
595 * buffer.h: use Undo directly instead of shared_ptr<Undo>
598 * paragraph.[Ch]: some Inset -> UpdatableInset changes
600 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
602 * undo_funcs.C: make some simple cases of undo work again
604 2003-06-03 John Levon <levon@movementarian.org>
606 * ispell.C: HPUX doesn't have sys/select.h
609 2003-06-03 John Levon <levon@movementarian.org>
611 * CutAndPaste.C: update tabular and include inset
616 * paragraph.C: remove owningBuffer(), don't pass Buffer
619 * factory.C: insetGraphicsParams changed
621 2003-06-02 John Levon <levon@movementarian.org>
627 * text3.C: remove insetparent
629 2003-06-02 John Levon <levon@movementarian.org>
632 * buffer.C: fix inset_iterator.end(), move out of line
635 2003-06-01 John Levon <levon@movementarian.org>
637 * text3.C: use a proper cut/paste when doing inset
638 insert (from Jürgen Spitzmüller)
640 2003-06-01 John Levon <levon@movementarian.org>
642 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
644 2003-05-30 André Pönitz <poenitz@gmx.net>
646 * rowpainter.C: unify second drawing phase
648 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
650 * trans_mgr.C: remove one case of current_view
652 * text2.C (cursorBottom): delete NO_STD_LIST stuff
654 * paragraph_funcs.h: remove paragraph.h include
656 * paragraph.h: delete NO_STD_LIST stuff
658 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
660 * buffer.h: remove paragraph.h include
662 * ParagraphList.C: delete file
664 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
666 * toc.C (getTocList): adjust
668 * paragraph_pimpl.C (validate): adjust
670 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
672 * paragraph.C (Paragraph): adjust
673 (getPositionOfInset): use const_iterator, adjust
674 (bibitem): use const_iterator, adjust
675 (setInsetOwner): adjust
677 * iterators.C (operator++): adjust
679 * InsetList.[Ch]: Replace selfmade iterator with standard
680 vector::iterator also introduce const_iterator. Remove getPos,
681 getInset and setInset from InsetTable. Adjust accordingly.
683 * BufferView.C (lockInset): adjust
684 (ChangeInsets): adjust
686 * tabular.[Ch]: delete commented same_id functions
688 2003-05-28 John Levon <levon@movementarian.org>
690 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
692 2003-05-28 André Pönitz <poenitz@gmx.net>
694 * metricsinfo.[Ch]: remove 'fullredraw' member
696 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
698 * lyxtextclass.C (operator): remove caching.
700 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
704 * text2.C (cursorBottom): adjust
705 (setCounter): use ParagraphList::find, adjust
707 * text.C (workWidth): use ParagraphList::find, adjust
709 * lyxcursor.C (LyXCursor): adjust
711 * buffer.C (inset_iterator): adjust
713 * ParagraphList.h: make iterator(value_type) private, make
714 ParagraphList a friend of iterator.
716 * ParagraphList.C (find): new function
718 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
720 2003-05-27 André Pönitz <poenitz@gmx.net>
722 * dimension.[Ch]: a -> asc, d -> des, w -> wid
724 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
726 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
728 2003-05-26 John Levon <levon@movementarian.org>
730 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
732 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
734 * remove same_id from function signatures, adjust.
736 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
738 * undo_funcs.C (createUndo): use the id functions directly, adjust.
740 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
742 * paragraph.C (Paragraph): get rid of same_ids parameter
744 * ParagraphList.C (insert): adjust
747 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
749 * paragraph_funcs.C (breakParagraph): adjust
750 (breakParagraphConservative): adjust
752 * buffer.C (readParagraph): adjust
754 * ParagraphList.C (insert): take a reference instead of a pointer
757 * paragraph.[Ch] (id): new function
759 * bufferlist.C (newFile): adjust
761 * ParagraphList.C (ParagraphList): adjust
763 (push_back): take a reference instead of a pointer.
765 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
767 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
770 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
771 set else use old code.
773 * ParagraphList.C: remove all NO_NEXT code and only compile this
774 code of NO_STD_LIST is set.
776 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
778 * BufferView_pimpl.C:
788 * graphics/GraphicsConverter.C:
789 * graphics/PreviewLoader.C: header adjustment
791 2003-05-23 Angus Leeming <leeming@lyx.org>
793 * LaTeXFeatures.[Ch] (useBabel): new method.
794 * bufferparams.C (writeLaTeX): use it.
796 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
798 * ParagraphList.h (set): remove unused function.
800 2003-05-23 André Pönitz <poenitz@gmx.net>
803 * BufferView_pimpl.C:
807 * undo_funcs.C: setUndo reworked
809 * iterators.[Ch]: add access to topmost ParagraphList
811 * lyxtext.[Ch] (workWidth): add a const
813 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
815 * texrow.[Ch] (increasePos): remove function
816 * exporter.C (export): removed unused var and outdated comment
818 2003-05-23 Angus Leeming <leeming@lyx.org>
820 * latexrunparams.h: rename fragile as moving_arg.
821 * paragraph.C (simpleTeXOnePar): ditto.
822 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
824 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
826 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
828 (textUndoOrRedo): comment out a currently unused var.
830 * paragraph.h (NO_NEXT): enable NO_NEXT
832 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
834 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
836 * exporter.C (Export): adjust for removeAutoInsets removal.
838 * buffer.C (runChktex): adjust for removeAutoInsets removal.
840 * LyXAction.C (init): remove LFUN_REMOVEERRORS
842 * BufferView.[Ch] (removeAutoInsets): delete function
844 2003-05-22 Angus Leeming <leeming@lyx.org>
846 * latexrunparams.h: add a free_spacing variable.
848 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
849 to pass moving_arg, as the data is stored in runparams.fragile.
851 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
852 to Inset::latexOptional or to simpleTeXOnePar.
854 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
855 free_spacing arg to Inset::latexOptional.
857 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
860 2003-05-22 Angus Leeming <leeming@lyx.org>
862 * latexrunparams.h: add fragile and use_babel variables.
864 * bufferparams.[Ch] (writeLaTeX): return use_babel.
865 * buffer.C (makeLaTeXFile): store this returned value in
866 runparams.use_babel, thus passing it to the inset::latex methods.
868 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
869 simpleTeXSpecialChars as it is now stored in runparams.fragile.
871 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
872 longer has a fragile arg, as it is stored in runparams.fragile.
874 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
875 moving_arg parameter as the data is stored in runparams.fragile.
877 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
878 a fragile parameter as the data is stored in runparams.fragile.
880 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
882 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
884 2003-05-22 Angus Leeming <leeming@lyx.org>
886 * latexrunparams.h: add a 'bool nice' which defaults to false.
888 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
889 now encapsulated within runparams.
891 * bufferlist.C (updateIncludedTeXfiles):
892 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
894 2003-05-22 Angus Leeming <leeming@lyx.org>
896 * latexrunparams.h: new file containing struct LatexRunParams.
897 * Makefile.am: add new file.
899 * LaTeX.[Ch] (c-tor, run):
900 * buffer.[Ch] (makeLaTeXFile):
901 * bufferlist.[Ch] (updateIncludedTeXfiles):
902 * converter.C (convert, scanLog):
903 * converter.[Ch] (runLaTeX):
904 * exporter.C (Export):
905 * paragraph.[Ch] (simpleTeXOnePar):
906 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
907 * paragraph_funcs.[Ch] (latexParagraphs):
908 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
909 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
910 pass around a LatexRunParams parameter.
912 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
914 * paragraph.[Ch]: remove unused constructor
916 * ParagraphList.C (erase): new function, taking two iterators
918 2003-05-22 André Pönitz <poenitz@gmx.net>
920 * undo_funcs.C: remove duplicated code
922 * iterator.[Ch]: operator=
924 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
926 * tabular.C (SetMultiColumn): ws changes
928 * rowpainter.C (paintFirst): get rid of a ->previous
930 * lyx_cb.C (getPossibleLabel): parlist simplification
932 * BufferView.C (ChangeInsets): simplify slightly.
934 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
936 * LyXAction.C: new lfun space-insert, kill protected-space-insert
937 * lfuns.h: new LFUN_SPACE
938 * lyxfunc.C: protected space has a new lfun
939 * paragraph_funcs.C: read new space insets
941 * factory.C: handle new space insets
943 2003-05-22 André Pönitz <poenitz@gmx.net>
946 * BufferView_pimpl.C:
949 * undo_funcs.C: return a ParIterator from getParFromID.
951 * iterators.[Ch]: add two const's
953 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
955 * toc.C (getTocList): adjust
957 * iterators.[Ch]: rework for parlist
959 * buffer.C (par_iterator_begin): adjust
960 (par_iterator_end): adjust
962 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
964 * BufferView.C (removeAutoInsets): adjust
965 (ChangeInsets): adjust
967 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
969 * text.C (top_y): fix bug 1110
971 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
973 * errorlist.[Ch]: added
976 * BufferView_pimpl.C:
977 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
980 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
982 * Makefile.am: ensure that lyx is relinked upon changes to the
983 various "convenience" libs.
985 2003-05-20 Angus Leeming <leeming@lyx.org>
987 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
988 files are compiled in alphabetical order again.
990 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
992 2003-05-19 Angus Leeming <leeming@lyx.org>
994 * gettext.[Ch]: remove "char const * _(char const *)".
996 2003-05-19 André Pönitz <poenitz@gmx.net>
998 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1007 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1009 2003-05-19 André Pönitz <poenitz@gmx.net>
1013 * lyxtextclass.[Ch]:
1015 * paragraph_funcs.[Ch]:
1017 * text3.C: more insetenv work
1019 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1021 * ParagraphParameters.C (params2string): small bug fixed
1023 2003-05-16 André Pönitz <poenitz@gmx.net>
1026 * bufferview_funcs.C: patch from Kornel Benko to prevent
1027 crash when _(...) is called twice in a statement
1029 2003-05-16 André Pönitz <poenitz@gmx.net>
1036 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1038 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1040 * lyx_main.C (init): remove spurious static_cast
1042 2003-05-14 André Pönitz <poenitz@gmx.net>
1044 * BufferView.C: fix format string
1046 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1048 * BufferView.[Ch] (insertErrors): removed
1049 * BufferView.[Ch] (showErrorList): added
1050 * buffer.C (runChkTeX):
1051 * converter.C (scanLog): call showErrorList instead of inserterrors
1053 2003-05-13 André Pönitz <poenitz@gmx.net>
1055 * BufferView_pimpl.C:
1057 * bufferview_func.C:
1064 * tabular_funcs.h: tostr() from its own header
1066 * ParagraphParameters.C:
1071 * text3.C: STRCONV()
1073 2003-05-12 André Pönitz <poenitz@gmx.net>
1076 * BufferView_pimpl.C:
1080 * ParagraphParameters.C:
1084 * bufferview_funcs.C:
1097 * paragraph_funcs.C:
1101 * text3.C: boost::format -> bformat all over the place
1104 2003-05-09 André Pönitz <poenitz@gmx.net>
1106 * LColor.[Ch]: Pimpl the #include <map> away
1108 2003-05-09 John Levon <levon@movementarian.org>
1110 * bufferlist.C: never remove emergency saves
1112 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1114 * Makefile.am: better lib building
1116 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1118 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1120 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1121 (simpleTeXSpecialChars): adjust
1122 (simpleTeXSpecialChars): adjust
1123 * paragraph.C (simpleTeXOnePar): adjust
1124 * buffer.C (makeLaTeXFile): adjust
1126 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1128 * text2.C (changeDepth): parlist cleanup
1129 (getColumnNearX): ditto
1131 * rowpainter.C (getLabelFont): parlist cleanup
1133 * bufferlist.C (newFile): parlist cleanup
1135 * CutAndPaste.C (eraseSelection): parlist cleanup
1137 * BufferView_pimpl.C (trackChanges): parlist cleanup
1140 * BufferView.C (lockInset): parlist cleanup.
1141 (ChangeInsets): ditto
1143 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1145 * CutAndPaste.h: Update file header.
1147 * CutAndPaste.C: Update file header.
1148 Store the parts cut out of the Document in a limited_stack.
1149 (copySelection): adjust
1150 (pasteSelection): new function, takes the index in the limited stack.
1151 (nrOfParagraphs): adjust
1152 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1153 simplify error inset insertion.
1154 (checkPastePossible): adjust
1156 2003-05-06 John Levon <levon@movementarian.org>
1158 * text2.C: don't cast wrap inset to float
1160 2003-05-05 André Pönitz <poenitz@gmx.net>
1163 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1165 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1166 few naked Paragraph *.
1168 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1170 * bufferparams.C: Output warning if a document with missing
1171 TeX document class is loaded
1172 * exporter.C: Disable TeX exports if the document class is missing
1175 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1176 isTeXClassAvailable()
1178 2003-05-03 John Levon <levon@movementarian.org>
1181 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1182 explicit cursor show/hide
1184 * BufferView_pimpl.h:
1185 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1186 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1188 * lyxfunc.C: hide cursor before dispatching.
1193 * text3.C: remove explicit cursor hides
1195 2003-05-02 André Pönitz <poenitz@gmx.net>
1197 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1200 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1203 * text2.C: tiny whitespace
1205 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1207 * undo_funcs.C: almost only ws changes.
1209 * ParagraphList.C (splice): just return if pl is empty.
1211 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1213 * ParagraphList.C (splice): new function.
1215 * CutAndPaste.C (pasteSelection): use it
1217 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1219 * CutAndPaste.C (pasteSelection): remove the last next and
1220 previous from this file.
1222 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1224 * CutAndPaste.C (pasteSelection): more clean up, user proper
1225 ParagraphList functions for pasteing.
1227 * ParagraphList.C (insert): new function, three arg insert
1229 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1231 * ParagraphList.C (insert): new function, three arg insert
1233 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1236 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1238 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1240 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1242 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1244 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1246 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1247 (copySelection): clean up a bit.
1248 (pasteSelection): use make_pair
1250 * ParagraphList.C (ParagraphList): implement copy constructor
1251 (operator=): implement, base on copy constructor.
1254 * paragraph.C (erase): return a bool
1256 * paragraph_pimpl.C (erasePos): remove function, move contents...
1257 (erase): ... here. Return a bool.
1258 (erase): call erase instead of erasePos.
1260 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1262 * ParagraphList.h: define PitPosPair
1263 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1264 ParagraphList, fix a bug on pasting multiple pars
1265 * text2.C: change interface to C&P
1267 2003-04-30 André Pönitz <poenitz@gmx.net>
1269 * undo_func.C: revert part of yesterday's patch 2
1271 2003-04-30 John Levon <levon@movementarian.org>
1273 * LColor.C: s/tabular/table/
1275 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1277 * text3.C (dispatch): do not convert iterator -> pointer
1278 * undo_funcs.C (setCursorParUndo): ditto
1279 * text_funcs.C (transposeChars): ditto
1281 * text2.C (setLayout): ws changes only
1283 * text.C (breakParagraph): do not convert iterator -> pointer
1285 (acceptChange): ditto
1286 (rejectChange): ditto
1291 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1294 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1296 * text3.C (gotoInset): YABG (yet another bad getChar)
1298 2003-04-29 André Pönitz <poenitz@gmx.net>
1300 * paragraph.h: make operator= private unimplemented as long as
1303 * ParagraphList.C: whitespace
1306 * paragraph_pimpl.[Ch]:
1307 * paragraph_funcs.C:
1309 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1312 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1314 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1316 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1317 * paragraph.[Ch] (erase):
1318 * paragraph_pimpl.[Ch] (erase): change return type and value
1319 * text2.C (cutSelection): some rework
1321 2003-04-28 John Levon <levon@movementarian.org>
1323 * bufferlist.C: changes for unsaved changes dialog
1325 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1327 * bufferlist.C (newFile): set language (messages_) for new
1330 * buffer.C (readFile): ws changes only.
1332 2003-04-28 André Pönitz <poenitz@gmx.net>
1337 * BufferView_pimpl.C:
1338 * BufferView.C: getParFromID related ParagraphList::iterator changes
1340 2003-04-28 André Pönitz <poenitz@gmx.net>
1342 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1345 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1347 * messages.C: remove one more localedir class variable.
1349 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1351 * messages.C (getLocaleDir): singleton generation function
1353 (Messages): add a default constructor.
1355 * main.C (main): do not setup localedir here, do not call
1358 * gettext.C (_): use it.
1359 (gettext_init): delete funciton
1361 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1363 * gettext.C (getLyXMessages): new singleton generating function.
1365 * buffer.C (updateDocLang): adjust
1367 * Makefile.am (messages.o): add target
1368 (main.o): remove target
1370 2003-04-27 John Levon <levon@movementarian.org>
1375 * lyxvc.C: specify cancel button in Alert::prompt
1377 2003-04-26 John Levon <levon@movementarian.org>
1382 * LyXAction.C: add LFUN_INSET_SETTINGS
1384 * lyxfunc.C: don't enable tabular-feature when there's
1385 just any locking inset
1387 2003-04-26 John Levon <levon@movementarian.org>
1389 * bufferlist.C: re-add Cancel to buffer close question
1391 * lyxfunc.C: fix import UI a bit
1393 2003-04-25 John Levon <levon@movementarian.org>
1395 * gettext.C: remove the broken asserts for now
1397 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1399 * messages.C: make case where setlocale cannot comply work better.
1401 * buffer.C (updateDocLang): new function
1402 (changeLanguage): use it
1405 * text2.C (setCounter): use B_ a bit.
1407 * lyxlayout.C (Read): be sure to trim the label strings.
1409 * messages.C (Messages): fix typo in comment
1411 * buffer.C (readFile): set message_ after file is loaded.
1412 (makeDocBookFile): remove double return
1413 (changeLanguage): reset message_ upon language change.
1414 (B_): new func, use this to get translated buffer strings.
1416 * main.C: add myself and Jean Marc as authors.
1418 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1420 * messages.[hC]: pimplify Messages, and three different pimpls to be
1421 used in different circumstances.
1423 * gettext.[Ch]: change for use with new message code.
1425 2003-04-24 André Pönitz <poenitz@gmx.net>
1427 * factory.C: support for eqref
1429 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1431 * messages.[Ch]: add missing char
1433 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1435 * messages.[Ch]: New files
1437 2003-04-18 John Levon <levon@movementarian.org>
1441 * BufferView_pimpl.C:
1445 * text2.C: remove layout-copy/paste (bug 778)
1447 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1449 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1451 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1453 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1454 if they succeed. Act accordingly.
1456 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1458 * text2.C (setCharFont): adjust
1459 (setCounter): adjust
1460 (insertStringAsLines): adjust
1462 * text.C (leftMargin): adjust
1463 (setHeightOfRow): adjust
1465 * rowpainter.C (paintFirst): adjust
1468 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1470 (isFirstInSequence): ditto
1471 (getEndLabel): ditto
1474 * paragraph.C (getParLanguage): comment out some hard stuff.
1476 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1478 (simpleDocBookOnePar): ditto
1479 (makeDocBookFile): use ParagraphList::iterator
1481 * CutAndPaste.C (pasteSelection): adjust
1483 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1485 * text2.C (getFont): adjust
1486 (getLayoutFont): adjust
1487 (getLabelFont): adjust
1489 * paragraph_funcs.C (TeXOnePar): adjust
1491 * buffer.C (simpleLinuxDocOnePar): adjust
1492 (simpleDocBookOnePar): adjust
1494 * CutAndPaste.C (pasteSelection): adjust
1496 * BufferView.C (getEncoding): adjust
1498 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1500 2003-04-16 John Levon <levon@movementarian.org>
1502 * lyxfind.C: use parlist stuff for search/changes
1504 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1506 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1508 * text2.C (deleteEmptyParagraphMechanism): adjust
1510 * text2.[Ch] (ownerParagraph): delete func (both of them
1512 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1514 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1516 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1518 * ParagraphList.C: prepare for NO_NEXT
1520 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1522 * text2.C (getFont): adjust
1523 (getLayoutFont): adjust
1524 (getLabelFont): adjust
1526 * paragraph.C (getFont): adjust
1527 (getLabelFont): adjust
1528 (getLayoutFont): adjust
1530 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1532 2003-04-15 John Levon <levon@movementarian.org>
1536 * lyx_main.C: handle Include in .ui files
1538 2003-04-15 John Levon <levon@movementarian.org>
1540 * MenuBackend.C: make the doc files length shorter
1543 * ToolbarBackend.C: handle toolbar placement flags,
1546 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1548 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1551 * paragraph_funcs.C (TeXOnePar): adjust
1553 * paragraph.C (getLabelFont): add outerfont arg, adjust
1554 (getLayoutFont): ditto
1555 (simpleTeXOnePar): adjust
1557 * paragraph_pimpl.C (realizeFont): delete func
1559 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1561 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1562 row argument, constify cur argument.
1564 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1566 * text2.C (getFont): adjust
1567 (getLayoutFont): adjust
1568 (getLabelFont): adjust
1570 * paragraph_funcs.C (TeXOnePar): adjust
1571 (outerFont): new func...
1572 (realizeFont): ...moved out from here, changed this to facilitate
1575 * paragraph.C (getFont): take outerfont as arg, adjust
1576 (simpleTeXOnePar): add outerfont arg, adjust
1578 * buffer.C (simpleLinuxDocOnePar): adjust
1579 (simpleDocBookOnePar): adjust
1581 * CutAndPaste.C (pasteSelection): adjust
1583 * BufferView.C (getEncoding): adjust
1585 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1587 * text2.C (setCharFont): adjust
1588 (setCounter): adjust
1590 * text.C (leftMargin): adjust
1591 (setHeightOfRow): adjust
1593 * rowpainter.C (paintFirst): adjust
1596 * paragraph_pimpl.C (realizeFont): adjust
1598 * paragraph.C (isFirstInSequence): move from here...
1599 * paragraph_funcs.C (isFirstInSequence): ...to here
1601 * paragraph.C (outerHook): move from here...
1602 * paragraph_funcs.C (outerHook): ...to here
1604 * paragraph.C (depthHook): move from here...
1605 * paragraph_funcs.C (depthHook): ...to here
1607 * paragraph.C (getEndLabel): move from here...
1608 * paragraph_funcs.C (getEndLabel): ...to here
1610 * text2.C (realizeFont): move from here...
1611 * paragraph_funcs.C (realizeFont): ...to here
1613 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1615 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1617 2003-04-14 Angus Leeming <leeming@lyx.org>
1619 * LColor.[Ch]: scrap LColor mathcursor.
1621 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1623 * lyxlex.[Ch] (text): delete function
1624 * trans.C (Load): adjust
1625 * paragraph_funcs.C (readParToken): adjust
1627 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1629 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1630 vector<char> instead of a char[].
1632 * lyxlex_pimpl.C (getString): adjust
1634 (lex): use getString
1638 * lyxlex.C (text): use pimpl_->getString()
1642 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1644 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1645 (makeFontEntriesLayoutSpecific): temp var for par.size()
1646 (setLayout): temp var for ownerParagraphs().end()
1647 (fullRebreak): temp var for rows().end()
1648 (selectionAsString): temp var for boost::next(startpit), realize
1649 that the while really is a regular for loop.
1650 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1651 setCursor in one place.
1652 (setParagraph): temp vr for ownerParagraphs().end()
1653 (updateCounters): make the while loop a for loop
1654 (cutSelection): temp var for ownerParagraphs().end()
1655 (updateInset): make the do {} while() a regular for loop
1656 (getCursorX): use temp vars
1657 (setCurrentFont): use temp vars
1658 (getColumnNearX): use temp vars
1660 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1662 * text.C (transformChar): use temp var for getChar
1663 (computeBidiTables): use temp var for row->par()
1664 (fill): move temp vars for row->par() and pit->layout() earlier in
1666 (labelFill): use temp var for row->par()
1667 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1668 asc and desc, realize that pit never changes and that firstpit is
1669 just a duplicate and not needed. Exchange rit->par() with pit in a
1671 (breakAgain): use a temp var for boost::next(rit)
1672 (breakAgainOneRow): ditto
1673 (breakParagraph): use a temp var for rows().begin()
1674 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1675 (cursorRightOneWord): use temp var for cursor.par() and
1676 cursor.pos(), remove usage of tmpcursor.
1677 (cursorLeftOneWord): use temp var for cursor.par() and
1678 cursor.pos() only set cur at end of function.
1680 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1682 * text.C, text2.C: exchange all usage of Paragraph::next with
1683 boost::next(ParagraphList::iterator)
1685 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1687 * text2.C (cursorTop): simplify implementation
1688 (cursorBottom): ditto
1689 (setParagraph): use ParagraphList::iterator
1690 (setCurrentFont): adjust
1691 (getColumnNearX): adjust
1692 (cursorRight): adjust
1693 (cursorLeft): remove usage of Paragraph::previous
1694 (cursorUpParagraph): ditto
1695 (deleteEmptyParagraphMechanism): slight cleanup
1697 * text.C (isBoundary): take a Paragraph const & instead of a
1699 (addressBreakPoint): ditto
1700 (leftMargin): remove usage of Paragraph::previous.
1701 (setHeightOfRow): ditto
1702 (cursorLeftOneWord): ditto
1703 (selectNextWordToSpellcheck): ditto
1706 (breakParagraph): remove one usage of Paragraph::next
1707 (redoParagraph): ditto
1708 (acceptChange): ditto
1709 (insertChar): adjust
1710 (rowBreakPoint): adjust
1712 * bufferview_funcs.C (toggleAndShow): adjust
1714 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1716 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1717 methods to access it.
1719 * text.C: Added updateRowPositions to compute all row positions.
1720 Make top_y and getRowNearY() to use the cached y position
1722 2003-04-11 John Levon <levon@movementarian.org>
1724 * text.C (rowBreakPoint): reintroduce the labelEnd
1725 checks, code copied from the row fill stuff. Deep voodoo.
1727 * text.C (fill): add a comment and debugging for the
1730 2003-04-11 John Levon <levon@movementarian.org>
1732 * text.C: make sure fullrow insets get wrapped to the next line,
1733 even when they're in a manual label
1735 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1737 * text2.C (insertParagraph): make it take ParagraphList::iterator
1739 (setLayout): make it return ParagraphList::iterator
1740 (redoParagraphs): ditto
1742 (checkParagraph): ditto
1744 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1746 * text2.C: adjust several funcs.
1747 (realizeFont): take a ParagraphList::iterator as arg.
1748 (getLayoutFont): ditto
1749 (getLabelFont): ditto
1750 (setCharFont): ditto
1752 * text.C: adjust several funcs.
1754 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1756 * text.C (selectNextWordToSpellcheck): don't accidentally
1759 2003-04-10 John Levon <levon@movementarian.org>
1761 * ToolbarBackend.C (getIcon): special handling for
1764 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1766 * text2.C (cursorRight): a getChar assert fixed
1768 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1770 * text2.C (getFont): change to take a ParagraphList::iterator
1771 instead of Paragraph*
1772 Adjust several functions.
1774 * text.C (transformChar): change to take a ParagraphList::iterator
1775 instead of Paragraph*
1776 (singleWidth): ditto
1777 Adjust several functions.
1779 * rowpainter.C: adjust several functions
1780 * rowpainter.h:store a ParagraphList::iterator and not a
1784 2003-04-09 John Levon <levon@movementarian.org>
1789 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1790 and the "help" bits as well
1792 2003-04-09 John Levon <levon@movementarian.org>
1795 * ToolbarBackend.C: allow multiple toolbars
1797 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1799 * undo_funcs.C (setCursorParUndo): adjust
1801 * text_funcs.C (transposeChars): adjust
1803 * text3.C (gotoNextInset): adjust
1806 * text2.C (setLayout): adjust
1807 (changeDepth): adjust
1809 (redoParagraphs): adjust
1810 (selectionAsString): adjust
1811 (setParagraph): adjust
1812 (insertInset): adjust
1813 (cutSelection): adjust
1814 (copySelection): adjust
1815 (pasteSelection): adjust
1816 (insertStringAsLines): adjust
1817 (updateInset): adjust
1818 (setCursor): change to take a ParagraphList::iterator parameter
1819 (setCursorIntern): change to take a ParagraphList::iterator parameter
1820 (setCurrentFont): adjust
1821 (cursorLeft): adjust
1822 (cursorRight): adjust
1823 (deleteEmptyParagraphMechanism): adjust
1825 * text.C (breakParagraph): adjust
1826 (insertChar): adjust
1827 (acceptChange): adjust
1828 (rejectChange): adjust
1829 (selectNextWordToSpellcheck): adjust
1830 (changeCase): adjust
1834 * lyxfind.C (SearchForward): adjust
1835 (SearchBackward): adjust
1836 (nextChange): adjust
1838 * lyxcursor.C (par): adjust
1840 * lyxcursor.h: store a ParagraphList::iterator instead of a
1843 * lyx_cb.C (getPossibleLabel): adjust
1845 * bufferview_funcs.C (toggleAndShow): adjust
1847 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1850 * BufferView.C (removeAutoInsets): adjust
1851 (lockedInsetStoreUndo): adjust
1853 2003-04-09 John Levon <levon@movementarian.org>
1855 * ToolbarBackend.C: try icon without argument
1856 if with argument fails
1858 2003-04-08 John Levon <levon@movementarian.org>
1861 * ToolbarBackend.C: add getIcon(), handle tooltip,
1862 and change from "Icon" to "Item".
1864 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1866 * BufferView.C (lockInset): another bad getchar crunched
1868 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1870 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1873 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1875 * lyxfind.C (searchForward, searchBackwards): bug 782
1877 2003-04-07 John Levon <levon@movementarian.org>
1879 * paragraph.C: remove dead comment
1881 * text.C: remove troublesome depth-fiddling code
1882 in leftMargin() and rightMargin() (bug 1017)
1884 * text.C: fix breaking of rows in nested lists
1887 * text2.C (updateCounters): fix up depth values
1890 2003-04-07 John Levon <levon@movementarian.org>
1892 * BufferView_pimpl.C: clear message when doc finishes resizing,
1893 and after a mouse event
1895 * lyxfunc.C: clear message after exiting inset
1897 2003-04-07 John Levon <levon@movementarian.org>
1899 * bufferview_funcs.C: show math status not outside
1900 status in the statusbar
1902 2003-04-07 John Levon <levon@movementarian.org>
1904 * lyxfunc.C: note status changed after a depth change
1906 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1908 * LaTeX.h: move AuxInfo operator==, != out of line.
1909 Remove LaTeX virtual destructor; nothing derives from it.
1910 Move operator()() out of public area and rename it startscript().
1911 Change protected for private.
1913 2003-04-04 Angus Leeming <leeming@lyx.org>
1916 * text2.C: remove unneeded #includes.
1918 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1920 * text2.C (dEPM): fix the heigth of the next row
1922 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1924 * text.C: squashed an invalid getChar requester + some ws changes
1926 2003-04-03 John Levon <levon@movementarian.org>
1928 * bufferview_funcs.h:
1929 * bufferview_funcs.C:
1932 * text2.C: make getStatus work for the env depth lfuns
1934 2003-04-03 John Levon <levon@movementarian.org>
1936 * bufferview_funcs.h:
1937 * bufferview_funcs.C:
1940 * text2.C: parlistize decDepth(), by merging it with incDepth()
1942 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1944 * lyxrow.h: store a ParagraphList::iterator instead of a
1945 Paragraph* and adjust other class functions to suit.
1947 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1950 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1952 * text2.C (setCursor): do not anchor to cursor row for the time being
1954 2003-04-02 John Levon <levon@movementarian.org>
1961 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1963 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1965 * paragraph.h: make ParagraphList and ParagraphList::iterator
1966 friends of Paragraph.
1968 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1970 * ParagraphList.C: Use the private next_ and previous_ from
1973 2003-04-01 John Levon <levon@movementarian.org>
1977 * Makefile.am: rename, remove defaults gunk
1980 * MenuBackend.C: remove defaults gunk
1983 * Languages.C: remove defaults gunk
1986 * lyx_main.C: error out if files couldn't be found.
1988 2003-04-02 John Levon <levon@movementarian.org>
1990 * text2.C: make incDepth() use parlist
1992 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1994 * undo_funcs.C (firstUndoParagraph): adjust
1996 * text3.C (gotoInset): adjust
1997 (dispatch): adjust, and rewrite loop.
1999 * text2.C (init): adjust, and rewrite loop.
2000 (redoParagraphs): adjust
2001 (updateInset): adjust, and rewrite loop.
2002 (deleteEmptyParagraphMechanism): adjust
2004 * tabular.C (LyXTabular): adjust
2005 (SetMultiColumn): adjust
2008 * lyxtext.[Ch] (ownerParagraph): delete function
2009 (ownerParagraphs): new function returns a ParagraphList.
2011 * BufferView.C (removeAutoInsets): adjust
2012 (insertErrors): adjust
2013 (setCursorFromRow): adjust
2015 2003-04-01 Angus Leeming <leeming@lyx.org>
2017 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2020 2003-04-02 John Levon <levon@movementarian.org>
2026 * text_funcs.C: make transposeChars a free function
2028 * lyxrow_funcs.C: remove wrong comment
2030 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2033 * rowpainter.C: adjust
2038 * lyxrow_funcs. [Ch]: new files
2040 * lyxrow.[Ch]: remove next and previous pointers
2041 (next,previous): remove accessor functions
2042 (isParEnd): move to lyxrow_funcs
2043 (lastPos): move to lyxrow_funcs
2044 (nextRowIsAllInset): move to lyxrow_funcs
2045 (lastPrintablePos): move to lyxrow_funcs
2046 (numberOfSeparators): move to lyxrow_funcs
2047 (numberOfHfills): move to lyxrow_funcs
2048 (numberOfLabelHfills): move to lyxrow_funcs
2049 (hfillExpansion): move to lyxrow_funcs
2053 * bufferview_funcs.C (toggleAndShow): adjust
2055 * RowList.h: Remove class RowList from file leave just a
2058 * RowList.C: delete file
2060 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2063 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2065 * text3.C (cursorPrevious): adjust
2066 (cursorNext): adjust
2069 * text2.C (redoHeightOfParagraph): adjust
2070 (redoDrawingOfParagraph): adjust
2073 * text.C (breakParagraph): adjust
2074 (insertChar): adjust
2077 * rowpainter.C (RowPainter): adjust
2078 (leftMargin): simplify and adjust
2079 (most rowpainter functions): adjust.
2081 * rowpainter.h: store the row as RowList::iterator not as Row*
2083 * lyxcursor.C (row): taka RowList::iterator as arg
2086 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2089 2003-04-01 Angus Leeming <leeming@lyx.org>
2091 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2092 stuff like bool Bool.
2094 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2096 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2099 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2101 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2104 * lyxtext.h (rows): drop one version and leve a const variant that
2105 returns a RowList::iterator.
2107 2003-03-31 Angus Leeming <leeming@lyx.org>
2109 * text.C (fill): ensure that the signature is the same as that in the
2112 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2114 * text2.C (redoParagraphs): adjust
2115 (updateCounters): adjust
2116 (checkParagraph): adjust
2117 (getColumnNearX): adjust and reformat a bit.
2119 * text.C (top_y): adjust
2121 (leftMargin): adjust
2122 (prepareToPrint): adjust
2124 (getRowNearY): adjust
2126 * lyxtext.h: make rowlist_ mutable.
2128 * RowList.h: add const_iterator
2129 * RowList.C: adjust for RowList::const_iterator.
2131 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2134 2003-03-31 John Levon <levon@movementarian.org>
2137 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2139 * lyx_main.C: set default fonts from using lyx_gui funcs
2141 * exporter.C: pdf_mode moved from lyxrc
2144 * lyxfunc.C: changes from above
2146 2003-03-31 John Levon <levon@movementarian.org>
2148 * lyx_main.C: fix to the last fix
2150 2003-03-31 John Levon <levon@movementarian.org>
2152 * bufferlist.C: "Load original" -> "Load Original"
2158 * format.C: more Alert cleanups
2160 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2162 * text2.C (removeParagraph): make it take a RowList::iterator as
2164 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2165 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2167 * text.C (anchor_row): make it take a RowList::iterator as arg,
2169 (computeBidiTables): make it take a const reference to Row instead
2170 of Row pointer, adjust.
2171 (leftMargin): make it take a RowList::iterator as arg, adjust.
2172 (rowBreakPoint): adjust
2173 (breakAgainOneRow): make it take a RowList::iterator as arg,
2175 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2177 * bufferview_funcs.C (toggleAndShow): adjust
2179 2003-03-30 John Levon <levon@movementarian.org>
2183 * boost-inst.C: moved to support
2185 * several files: changes as a result
2187 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2189 * text2.C (LyXText): adjust.
2191 (removeRow): make it take a RowList::iterator as arg, adjust.
2192 (fullRebreak): adjust
2193 (deleteEmptyParagraphMechanism): adjust
2194 (clearPaint): adjust
2197 * text.C (top_y): adjust
2198 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2199 (breakAgain): make it take a RowList::iterator as arg, adjust.
2200 (breakParagraph): adjust
2201 (insertChar): adjust
2204 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2205 need_break_row, and refresh_row.
2207 * text3.C (dispatch): adjust
2209 * text2.C (checkParagraph): adjust
2211 (setCursorFromCoordinates): adjust
2213 * text.C (top_y): adjust
2215 (getRow): make it return a RowList::iterator, adjust
2216 (getRowNearY): make it return a RowList::iterator, adjust
2218 * text2.C (init): adjust
2219 (insertRow): remove function
2220 (insertParagraph): adjust
2221 (redoParagraphs): adjust
2222 (fullRebreak): adjust
2223 (updateCounters): adjust
2225 * text.C (top_y): rewrite to use RowList iterators.
2227 (setHeightOfRow): rewrite to sue RowList iterators.
2228 (appendParagraph): adjust
2229 (breakAgain): adjust
2230 (breakAgainOneRow): adjust
2231 (breakParagraph): adjust
2233 (getRowNearY): adjust, and remove commented code.
2235 * lyxtext.h (firstRow): delete function
2236 (lastRow): delete function
2237 (rows): new function (const and non-const versions.)
2238 (insertRow): delete function
2240 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2242 2003-03-29 John Levon <levon@movementarian.org>
2244 * BufferView_pimpl.C: always update scrollbar top
2245 because pasting text when we're anchored could mean we
2246 miss an update altogether
2248 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2250 * text2.C (init): use rowlist_.end() and not 0.
2251 (insertRow): change to take a RowList::iterator as arg, adjust
2253 (insertParagraph): change to take a RowList::iterator as arg,
2255 (redoParagraphs): remove some debug msgs.
2257 * text.C (appendParagraph): change to take a RowList::iterator
2258 arg, adjust for this.
2259 (breakAgain): add an assert
2260 (breakAgainOneRow): ditto
2262 2003-03-29 John Levon <levon@movementarian.org>
2264 * text2.C: do not clear selection after inc/decDepth
2267 2003-03-29 John Levon <levon@movementarian.org>
2270 * buffer.C: fix broken strerrors according to Lars
2272 2003-03-29 John Levon <levon@movementarian.org>
2274 * converters.C: more Alert cleanups
2276 2003-03-29 John Levon <levon@movementarian.org>
2278 * bufferview_funcs.C: remove pointless Alert
2280 * buffer.C: fix confusing error message when
2281 a template is chmoded 000
2283 2003-03-29 John Levon <levon@movementarian.org>
2287 * BufferView_pimpl.C: Alert fixes
2291 * tabular-old.C: remove unused table compat reading
2293 2003-03-29 John Levon <levon@movementarian.org>
2298 * lyx_cb.C: more Alert cleanups
2300 * lyxfunc.C: don't allow chktex if not latex document
2302 2003-03-29 John Levon <levon@movementarian.org>
2306 * buffer.C: warnings pushed down from support/,
2309 2003-03-29 John Levon <levon@movementarian.org>
2311 * lyxfunc.C: safety check for C-r (revert)
2313 2003-03-29 John Levon <levon@movementarian.org>
2316 * bufferlist.C: several UI fixes using Alert::prompt.
2317 Fix the pointless looping quit code. Fix stupid revert
2322 * lyx_cb.C: use Alert::prompt
2324 * lyx_main.C: remove a silly question
2326 * lyxfunc.C: remove a couple of silly questions,
2329 2003-03-28 John Levon <levon@movementarian.org>
2331 * text2.C: fix bug 974 (End on empty par)
2333 2003-03-28 John Levon <levon@movementarian.org>
2335 * BufferView_pimpl.C:
2337 * lfuns.h: remove do-nothing math greek lfuns
2339 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2341 * lyxgluelength.h (isValidGlueLength): add default arg on
2342 parameter 2. Remove default arg from friend in class.
2344 * lyxlength.h (isValidLength): add default arg on parameter 2.
2345 Remove default arg from friend in class.
2347 * text2.C (LyXText): adjust, initialize refresh_row.
2351 (insertParagraph): adjst
2352 (redoParagraphs): adjust
2353 (fullRebreak): adjust
2354 (updateCounters): adjust
2355 (deleteEmptyParagraphMechanism): first attempt at fixing a
2358 * text.C (top_y): adjust
2359 (setHeightOfRow): adjust
2361 (getRowNearY): adjust
2363 * lyxtext.h: include RowList.h
2364 (~LyXText): not needed anymore, deleted.
2365 (firstRow): modify for RowList
2366 (lastRow): new function
2367 Delete firstrow and lastrow class variables, add a Rowlist
2368 rowlist_ class variable.
2370 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2373 * RowList.C (insert): fix case where it == begin().
2375 2003-03-26 Angus Leeming <leeming@lyx.org>
2377 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2378 the thesaurus dialog.
2380 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2382 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2384 * RowList.[Ch]: new files
2386 * ParagraphList.C (erase): handle the case where it == begin
2389 2003-03-25 John Levon <levon@movementarian.org>
2393 * aspell.C: add new aspell support
2396 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2399 2003-03-25 Angus Leeming <leeming@lyx.org>
2402 * LyXAction.C (init): new LFUN_INSET_INSERT.
2404 * BufferView_pimpl.C (dispatch): split out part of the
2405 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2407 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2410 2003-03-25 Angus Leeming <leeming@lyx.org>
2412 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2414 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2417 * text3.C: remove useless row->height(0)
2419 2003-03-25 John Levon <levon@movementarian.org>
2423 * text3.C: rename the refreshing stuff to better names
2425 2003-03-24 John Levon <levon@movementarian.org>
2427 * BufferView_pimpl.h:
2428 * BufferView_pimpl.C: update layout choice on a mouse
2431 2003-03-23 John Levon <levon@movementarian.org>
2433 * Makefile.am: fix commandtags.h reference
2435 2003-03-22 John Levon <levon@movementarian.org>
2437 * BufferView_pimpl.C:
2442 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2444 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2447 * text.C: take the rtl methods out of line
2449 2003-03-21 André Pönitz <poenitz@gmx.net>
2451 * metricsinfo.[Ch]: new files containing structures to be passed around
2452 during the two-phase-drawing...
2454 2003-03-21 André Pönitz <poenitz@gmx.net>
2456 * lyxtextclass.C: read 'environment' tag.
2458 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2460 * text2.C (removeRow): fix bug 964
2462 2003-03-20 John Levon <levon@movementarian.org>
2466 * text2.C: paint cleanups. Inset::update() dropped font
2469 2003-03-19 John Levon <levon@movementarian.org>
2471 * lyxfunc.C: only fitcursor/markDirty if available()
2473 2003-03-19 John Levon <levon@movementarian.org>
2475 * commandtags.h: rename to ...
2477 * lfuns.h: ... this, and renumber / cleanup
2479 2003-03-19 John Levon <levon@movementarian.org>
2481 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2482 fit the cursor after an lfun
2486 * BufferView_pimpl.h:
2487 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2489 * LyXAction.C: layout-character should have ReadOnly
2491 * ParagraphParameters.C:
2493 * bufferview_funcs.C:
2500 * undo_funcs.C: changes from above
2502 2003-03-18 John Levon <levon@movementarian.org>
2504 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2505 remove it from update()
2507 * lyxfunc.C: update layout choice after an lfun
2509 * text3.C: remove extra updateLayoutChoice()s
2511 2003-03-18 John Levon <levon@movementarian.org>
2513 * text.C: top_y change means full repaint, fix
2514 a drawing bug with cursor movement
2516 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2520 * text2.C: anchor row on setCursor
2522 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2524 * lyxtext.h: remove almost all mutable keywords
2527 * text3.C: remove const keywords accordingly
2529 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2531 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2533 (TeXEnvironment): ditto
2536 2003-03-17 John Levon <levon@movementarian.org>
2538 * text.C (rowBreakPoint): remove attempt to fix displayed
2539 math insets inside a manual label
2541 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2543 * lyxtext.h: remove BufferView* as first arg from almost all class
2545 * other files: adjust.
2547 2003-03-17 John Levon <levon@movementarian.org>
2551 * text2.C: more paint cleanups
2553 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2556 * rowpainter.C: remove "smart" background painting code
2558 2003-03-16 John Levon <levon@movementarian.org>
2563 * text3.C: add helper functions for setting refresh_row/y
2565 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2567 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2568 newline inset which *can* get inserted in the pass_thru layouts.
2569 This is primarily for literate documents.
2571 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2573 * buffer.C: increment LYX_FORMAT to 223
2575 2003-03-14 André Pönitz <poenitz@gmx.net>
2577 * textclass.h: prepare for environment handling, ws changes
2578 * lyxlayout.C: read latexheader and latexfooter tags
2580 2003-03-14 John Levon <levon@movementarian.org>
2582 * text2.C: rewrite ::status() a bit
2584 2003-03-13 John Levon <levon@movementarian.org>
2586 * lyxtext.h: add some docs
2588 2003-03-13 John Levon <levon@movementarian.org>
2593 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2595 2003-03-13 John Levon <levon@movementarian.org>
2597 * text3.C: fix appendix redrawing
2599 2003-03-13 John Levon <levon@movementarian.org>
2601 * text.C (setHeightOfRow):
2603 * rowpainter.C: make appendix mark have the text
2604 "Appendix" so the user knows what it is
2607 * LColor.C: s/appendixline/appendix/ from above
2609 2003-03-13 John Levon <levon@movementarian.org>
2611 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2613 * text.C: fix a getChar(pos) bug properly
2615 2003-03-13 Angus Leeming <leeming@lyx.org>
2618 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2619 Probably only temporary. Let's see how things pan out.
2621 * BufferView.C (unlockInset):
2622 * BufferView_pimpl.C (fitCursor):
2623 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2625 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2626 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2628 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2629 new functions that convert ParagraphParameters to and from a string.
2631 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2632 BufferView::Pimpl's dispatch.
2633 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2635 2003-03-13 André Pönitz <poenitz@gmx.net>
2639 * factory.C: make it aware of InsetEnv
2641 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2643 * text2.C (setCursor): never ask for one past last
2644 (setCursor): add some debugging messages.
2646 * text.C (singleWidth): never ask for one past last
2647 (singleWidth): ditto
2649 (rightMargin): ditto
2650 (rowBreakPoint): ditto
2651 (setHeightOfRow): ditto
2652 (prepareToPrint): ditto
2654 * rowpainter.C (paintBackground): never ask for one past last
2655 (paintText): never ask for one past last
2657 * paragraph_pimpl.C (getChar): make the assert stricter, never
2658 allow the one past last pos to be taken
2660 * paragraph.C (getChar): ws changes only
2662 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2663 (numberOfSeparators): ditto
2664 (numberOfHfills): ditto
2666 2003-03-12 John Levon <levon@movementarian.org>
2672 * paragraph_funcs.C: fix per-buffer authorlists
2674 2003-03-12 John Levon <levon@movementarian.org>
2676 * text.C: fix newline in right address
2678 2003-03-12 Angus Leeming <leeming@lyx.org>
2680 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2681 duplicate those in LyXFunc::dispatch.
2685 * ToolbarDefaults.C:
2686 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2687 Add LFUN_FONTFREE_UPDATE.
2689 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2690 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2692 * bufferview_func.[Ch]: several new functions to facilliate
2693 transfer of data to and from the character dialog.
2695 2003-03-12 John Levon <levon@movementarian.org>
2700 * paragraph_funcs.C:
2701 * paragraph_pimpl.C:
2705 * text3.C: remove META_NEWLINE in favour of an inset
2708 * rowpainter.C: remove paintNewline (done by inset)
2710 2003-03-12 John Levon <levon@movementarian.org>
2712 * paragraph_pimpl.C: complain about bad getChar()s
2713 for a while at least
2715 2003-03-12 John Levon <levon@movementarian.org>
2718 * buffer.C: move paragraph read into a separate function,
2719 a little renaming to reflect that.
2722 * bufferparams.C: remove the author_ids map, not necessary now
2725 * factory.C: moved Buffer::readInset to here
2727 * paragraph_funcs.h:
2728 * paragraph_funcs.C: readParagraph free function moved from
2731 * tabular.C: name change
2733 2003-03-12 John Levon <levon@movementarian.org>
2736 * ParagraphParameters.C: move par params input to
2739 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2740 behave like a normal read from the stream wrt reading
2741 a line vs. a \\token
2743 2003-03-12 John Levon <levon@movementarian.org>
2746 * ParagraphParameters.h:
2747 * ParagraphParameters.C: move output code to a
2750 2003-03-12 John Levon <levon@movementarian.org>
2752 * BufferView.C (insertLyXFile):
2755 * tabular.C: use a parlist iterator for creating the
2758 2003-03-12 John Levon <levon@movementarian.org>
2760 * buffer.C: make current_change static local not
2763 2003-03-12 John Levon <levon@movementarian.org>
2765 * buffer.C: fix insertStringAsLines for change tracking
2767 2003-03-12 John Levon <levon@movementarian.org>
2774 * bufferparams.C: move author list into params. Rename some
2775 functions. Move the header reading into a separate token
2776 loop. Move the header token reading into BufferParams.
2778 2003-03-12 John Levon <levon@movementarian.org>
2780 * changes.C: put debug inside lyxerr.debugging() checks
2782 2003-03-11 André Pönitz <poenitz@gmx.net>
2784 * factory.C: make it aware of InsetHFill
2786 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2788 * buffer.C (latexParagraphs): move function from here...
2789 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2792 2003-03-10 Angus Leeming <leeming@lyx.org>
2794 * LyXAction.C (init): fix bug in poplating array with multiple entries
2795 with the same LFUN (spotted by JMarc).
2797 2003-03-10 John Levon <levon@movementarian.org>
2800 * text2.C: move getColumnNearX() near its
2803 2003-03-10 John Levon <levon@movementarian.org>
2805 * text.C: fix break before a minipage
2807 2003-03-10 John Levon <levon@movementarian.org>
2809 * text.C: fix the last commit
2811 2003-03-09 John Levon <levon@movementarian.org>
2815 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2816 bug 365 (don't break before insets unless needed). Don't
2817 return a value > last under any circumstances.
2819 2003-03-09 Angus Leeming <leeming@lyx.org>
2821 * BufferView_pimpl.C (trackChanges, dispatch): call
2822 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2824 2003-03-09 Angus Leeming <leeming@lyx.org>
2826 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2827 than Dialogs::showAboutlyx().
2829 2003-03-09 Angus Leeming <leeming@lyx.org>
2831 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2832 than Dialogs::showTabularCreate().
2834 2003-03-09 John Levon <levon@movementarian.org>
2838 * text2.C: 3rd arg to nextBreakPoint was always the same.
2841 2003-03-08 John Levon <levon@movementarian.org>
2848 * text2.C: Remove the "main" bit from the "main body"
2851 2003-03-08 John Levon <levon@movementarian.org>
2853 * text.C (leftMargin): The left margin of an empty
2854 manual label paragraph should not include the label width
2857 * text.C (prepareToPrint): don't attempt to measure hfills
2858 for empty manual label paragraphs - the answer should be 0
2860 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2862 * CutAndPaste.C: remove commented code and reindent.
2864 2003-03-08 John Levon <levon@movementarian.org>
2867 * lyxfunc.C: move reloadBuffer()
2870 * BufferView.C: to here
2872 * lyxvc.C: add comment
2875 * vc-backend.C: call bv->reload() to avoid
2876 getStatus() check on MENURELOAD
2878 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2880 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2881 to an old format .dep file.
2883 2003-03-07 Angus Leeming <leeming@lyx.org>
2885 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2886 when the LFUN_MOUSE_RELEASE should have been handled by
2887 inset->localDispatch.
2889 2003-03-07 Angus Leeming <leeming@lyx.org>
2891 * BufferView_pimpl.C (dispatch):
2892 * LyXAction.C (init):
2893 * ToolbarDefaults.C (init):
2895 * lyxfunc.C (getStatus):
2896 remove LFUN_INSET_GRAPHICS.
2898 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2900 2003-03-07 Angus Leeming <leeming@lyx.org>
2903 * LyXAction.C (init):
2904 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2906 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2909 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2911 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2912 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2914 2003-03-07 Angus Leeming <leeming@lyx.org>
2916 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2919 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2921 * ParagraphList.C (front): new function
2924 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2926 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2927 and top_row_offset_. removed var first_y.
2929 * text2.C (LyXText, removeRow):
2931 * BufferView_pimpl.C:
2932 use these methods instead of using first_y
2934 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2936 * text2.C (pasteSelection): adjust for checkPastePossible
2938 * CutAndPaste.C: remove Paragraph * buf and replace with
2939 ParagraphList paragraphs.
2940 (DeleteBuffer): delete
2941 (cutSelection): change the tc type to textclass_type
2942 (copySelection): change the tc type to textclass_type
2943 (copySelection): adjust for ParagraphList
2944 (pasteSelection): change the tc type to textclass_type
2945 (pasteSelection): adjust for Paragraphlist
2946 (nrOfParagraphs): simplify for ParagraphList
2947 (checkPastePossible): simplify for ParagraphList
2948 (checkPastePossible): remove unused arg
2950 * ParagraphList.C (insert): handle the case where there are no
2953 * CutAndPaste.h: make CutAndPaste a namespace.
2955 * text3.C (dispatch): adjust
2957 * text.C (breakParagraph): add a ParagraphList as arg
2959 * paragraph_funcs.C (breakParagraph): change to take a
2960 BufferParams and a ParagraphList as args.
2961 (breakParagraphConservative): ditto
2962 (mergeParagraph): ditto
2963 (TeXDeeper): add a ParagraphList arg
2964 (TeXEnvironment): ditto
2967 * buffer.C (readLyXformat2): adjust
2968 (insertStringAsLines): adjust
2969 (latexParagraphs): adjust
2971 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2972 (cutSelection): adjust
2973 (pasteSelection): adjust
2975 * BufferView_pimpl.C (insertInset): adjust
2977 2003-03-05 Angus Leeming <leeming@lyx.org>
2980 * LyXAction.C (init):
2981 * BufferView_pimpl.C (dispatch):
2982 * lyxfunc.C (getStatus):
2983 remove LFUN_CHILD_INSERT.
2985 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2987 2003-03-05 Angus Leeming <leeming@lyx.org>
2990 * LyXAction.C (init):
2991 * src/factory.C (createInset):
2992 * lyxfunc.C (getStatus):
2993 * text3.C (dispatch):
2994 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2996 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2998 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3000 * ParagraphList.C (insert): handle insert right before end()
3001 (erase): fix cases where it can be first or last paragraph.
3003 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3005 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3006 Paragraph::next and Paragraph::previous
3009 * text.C (breakParagraph): adjust
3011 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3012 BufferParams& as arg.
3013 (breakParagraph): use ParagraphList::insert
3014 (breakParagraphConservative): take a Buffer* instead of a
3015 BufferParams& as arg.
3016 (breakParagraphConservative): use ParagraphList::insert.
3018 * buffer.C (insertStringAsLines): un-const it
3019 (insertStringAsLines): adjust
3021 * ParagraphList.C (insert): new function
3023 * CutAndPaste.C (pasteSelection): adjust
3025 * text.C (backspace): adjust
3027 * tabular.C (SetMultiColumn): adjust
3029 * CutAndPaste.C (cutSelection): adjust
3030 (pasteSelection): adjust
3032 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3033 Buffer const * as arg
3035 * ParagraphList.C (erase): new function
3036 * paragraph_funcs.C (mergeParagraph): use it
3037 (mergeParagraph): make it take a Buffer* instead of a
3038 BufferParams* as arg
3040 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3042 (breakParagraphConservative): ditto
3044 * paragraph.h: remove the breakParagraph friend
3046 * paragraph.C (eraseIntern): new function
3047 (setChange): new function
3049 * paragraph_funcs.C (mergeParagraph): make it take a
3050 ParagraphList::iterator instead of a Paragraph *, adjust
3053 * paragraph.h: move an #endif so that the change tracking stuff
3054 also works in the NO_NEXT case.
3056 2003-03-04 Angus Leeming <leeming@lyx.org>
3059 * LyXAction.C: new LFUN_INSET_MODIFY.
3061 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3062 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3064 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3066 * several files: ws changes only
3068 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3069 (TeXEnvironment): ditto
3072 * buffer.C (makeLaTeXFile): adjust
3073 (latexParagraphs): make it take ParagraphList::iterator as args
3075 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3077 * buffer.C (latexParagraphs): adjust
3079 * paragraph.C (TeXOnePar): move function...
3080 (optArgInset): move function...
3081 (TeXEnvironment): move function...
3082 * paragraph_pimpl.C (TeXDeeper): move function...
3083 * paragraph_funcs.C: ...here
3085 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3087 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3089 * buffer.C (readInset): remove compability code for old Figure and
3092 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3094 * buffer.C: ws changes
3097 * BufferView_pimpl.C: ditto
3100 * bufferlist.h: ditto
3104 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3106 * converter.[Ch]: split into itself +
3109 * Makefile.am: += graph.[Ch] + format.[Ch]
3116 * lyxrc.C: added #include "format.h"
3118 2003-02-27 Angus Leeming <leeming@lyx.org>
3120 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3123 * factory.C (createInset): add "label" to the factory.
3125 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3126 string and do no more.
3128 2003-02-27 Angus Leeming <leeming@lyx.org>
3131 * LyXAction.C (init):
3132 * factory.C (createInset):
3133 * BufferView_pimpl.C (dispatch):
3134 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3136 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3138 * lyxfunc.C (dispatch):
3139 * text3.C (dispatch): pass name to params2string.
3141 2003-02-26 Angus Leeming <leeming@lyx.org>
3143 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3145 Rearrange the ~includes. Strip out the unnecessary ones.
3147 * factory.C (createInset): reformat.
3148 create new insets for the various LFUN_XYZ_APPLY lfuns.
3150 2003-02-26 John Levon <levon@movementarian.org>
3153 * lyxrow.C: add isParStart,isParEnd helpers
3155 * paragraph.h: make isInserted/DeletedText take refs
3157 * paragraph_funcs.h:
3158 * paragraph_funcs.C: remove #if 0'd code
3163 * text.C: use lyxrow helpers above.
3164 Move draw and paint routines to RowPainter.
3165 Make several methods use refs not pointers.
3166 Make backgroundColor() const.
3167 Add markChangeInDraw(), isInInset().
3168 Merge changeRegionCase into changeCase.
3169 Make workWidth() shouldn't-happen code into an Assert.
3172 * rowpainter.C: new class for painting a row.
3175 * vspace.C: make inPixels take a ref
3177 2003-02-26 Angus Leeming <leeming@lyx.org>
3179 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3182 2003-02-25 John Levon <levon@movementarian.org>
3184 * ispell.C: give the forked command a more accurate name
3186 2003-02-22 John Levon <levon@movementarian.org>
3189 * toc.C: make TocItem store an id not a Paragraph *
3192 2003-02-21 Angus Leeming <leeming@lyx.org>
3194 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3195 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3196 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3197 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3198 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3199 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3201 * BufferView_pimpl.C (dispatch):
3202 * LyXAction.C (init):
3203 * factory.C (createInset):
3204 * lyxfunc.C (getStatus, dispatch):
3205 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3207 2003-02-21 Angus Leeming <leeming@lyx.org>
3209 * BufferView_pimpl.C (MenuInsertLyXFile):
3210 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3211 * lyxfunc.C (menuNew, open, doImport):
3212 no longer pass a LyXView & to fileDlg.
3214 2003-02-21 Angus Leeming <leeming@lyx.org>
3216 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3217 * LyXAction.C: change, BIBKEY to BIBITEM.
3218 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3219 Change InsetBibKey to InsetBibitem.
3220 Change BIBKEY_CODE to BIBITEM_CODE.
3221 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3222 * factory.C: replace insetbib.h with insetbibitem.h.
3223 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3224 * paragraph.C: replace insetbib.h with insetbibitem.h.
3225 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3226 Change bibkey() to bibitem().
3227 * text.C: remove insetbib.h.
3228 * text2.C: replace insetbib.h with insetbibitem.h.
3229 change bibkey() to bibitem().
3230 * text3.C: remove insetbib.h.
3231 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3233 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3235 * lyxrc.C (output): enclose user email in quotes (in case there are
3238 2003-02-18 John Levon <levon@movementarian.org>
3240 * buffer.h: add std::
3242 2003-02-17 John Levon <levon@movementarian.org>
3248 * pspell.C: reworking. Especially in ispell, a large
3249 number of clean ups and bug fixes.
3251 * lyxfunc.C: fix revert to behave sensibly
3253 2003-02-17 André Pönitz <poenitz@gmx.net>
3256 * commandtags.h: new LFUN_INSERT_BIBKEY
3266 * paragraph_func.C: remove special bibkey handling
3268 2003-02-17 John Levon <levon@movementarian.org>
3270 * text.C (Delete): fix case where delete at the end of
3271 the very first paragraph would not merge the pars
3273 2003-02-17 John Levon <levon@movementarian.org>
3275 * lyxrow.C: fix lastPrintablePos()
3277 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3279 * bufferparams.C (writeLaTeX): add a std:here
3281 * buffer.C: and remove a using directive there
3283 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3285 * buffer.C (makeLaTeXFile): move the code that generates the
3288 * bufferparams.C (writeLaTeX): ... in this new method
3290 * LaTeXFeatures.C (getEncodingSet): make const
3291 (getLanguages): make const
3293 * MenuBackend.C (binding): returns the binding associated to this
3295 (add): sets the status of each item by calling getStatus. Adds
3297 (read): add support for OptSubMenu
3298 (expand): remove extra separator at the end of expanded menu
3300 2003-02-15 John Levon <levon@movementarian.org>
3303 * BufferView_pimpl.C:
3305 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3306 inset code that had no actual effect. Remove unneeded status
3309 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3311 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3314 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3316 * text.C (drawLengthMarker): also draw an arrow marker for
3317 symbolic lengths (medskip...)
3319 2003-02-14 John Levon <levon@movementarian.org>
3322 * tabular.C: better method names
3324 2003-02-14 John Levon <levon@movementarian.org>
3326 * BufferView_pimpl.C:
3331 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3332 it's a more accurate name. Remove some pointless uses.
3334 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3336 * text2.C (LyXText): change order of initilizers to shut off
3339 2003-02-14 John Levon <levon@movementarian.org>
3341 * buffer.C: use ParIterator for getParFromID()
3345 * paragraph_pimpl.h:
3346 * paragraph_pimpl.C: remove unused getParFromID()
3348 2003-02-14 John Levon <levon@movementarian.org>
3350 * buffer.C: remove some very old #if 0'd parse code
3352 2003-02-13 John Levon <levon@movementarian.org>
3356 * text2.C: move hfillExpansion(), numberOfSeparators(),
3357 rowLast(), rowLastPrintable(), numberofHfills(),
3358 numberOfLabelHfills() ...
3361 * lyxrow.C: ... to member functions here.
3366 * text.C: remove LyXText::beginningOfMainBody(), and call
3367 p->beginningOfMainBody() directly. Move the check for
3368 LABEL_MANUAL into the latter.
3375 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3381 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3382 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3384 2003-02-13 John Levon <levon@movementarian.org>
3386 * CutAndPaste.C: remove debug
3388 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3390 * paragraph.C (asString): remove two unused variables
3392 * lyxtextclass.C (readTitleType):
3394 (LyXTextClass): handle new members titletype_ and titlename_
3396 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3398 2003-02-09 John Levon <levon@movementarian.org>
3401 * buffer.C: replace hand-coded list with a map for the dep clean
3403 2003-02-08 John Levon <levon@movementarian.org>
3405 * LaTeX.C: consolidate code into showRunMessage() helper
3407 2003-02-08 John Levon <levon@movementarian.org>
3412 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3413 and pass the size in explicitly
3415 * BufferView_pimpl.h:
3416 * BufferView_pimpl.C:
3418 * BufferView.C: add getCurrentChange()
3420 * BufferView_pimpl.h:
3421 * BufferView_pimpl.C: handle change lfuns
3423 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3424 for changes. Mark pasted paragraphs as new.
3426 * support/lyxtime.h:
3427 * support/lyxtime.C:
3428 * DepTable.C: abstract time_t as lyx::time_type
3431 * LColor.C: add colours for new text, deleted text, changebars
3433 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3434 package use "usenames" option.
3438 * LyXAction.C: add change lfuns
3442 * author.C: author handling
3445 * buffer.C: add a per-buffer author list, with first entry as
3446 current author. Handle new .lyx tokens for change tracking. Output
3447 author list to .lyx file. Output dvipost stuff to .tex preamble.
3448 Bump lyx format to 222.
3451 * bufferlist.C: add setCurrentAuthor() to reset current author details
3455 * bufferparams.C: add param for tracking
3457 * bufferview_funcs.C: output change info in minibuffer
3461 * changes.C: add change-tracking structure
3464 * debug.C: add CHANGES debug flag
3467 * lyxfind.C: add code for finding the next change piece
3470 * lyxrc.C: add user_name and user_email
3473 * lyxrow.C: add a metric for the top of the text line
3476 * text.C: implement accept/rejectChange()
3479 * text.C: paint changebars. Paint new/deleted text in the chosen
3480 colours. Strike through deleted text.
3484 * paragraph_pimpl.h:
3485 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3486 in the current change to the insert functions. Rework erase to
3487 mark text as deleted, adding an eraseIntern() and a range-based
3488 erase(). Implement per-paragraph change lookup and
3491 * paragraph_funcs.C: Fixup paste for change tracking.
3493 * tabular.C: mark added row/columns as new.
3495 * text.C: fix rowLast() to never return -1. Don't allow
3496 spellchecking of deleted text. Track transpose changes. Don't
3497 allow paragraph break or merge where appropriate.
3499 * text2.C: leave cursor at end of selection after a cut.
3501 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3503 * text.C (getLengthMarkerHeight):
3504 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3505 visible on screen too.
3507 2003-02-07 John Levon <levon@movementarian.org>
3509 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3511 2003-02-05 Angus Leeming <leeming@lyx.org>
3513 * lyxserver.C (read_ready): revert my patch of 11 September last year
3514 as it sends PC cpu through the roof. Presumably this means that
3515 the lyxserver will no longer run on an Alpha...
3517 2003-01-30 Angus Leeming <leeming@lyx.org>
3519 * factory.C (createInset): create an InsetCommandParam of type "index"
3520 and use it to 'do the right thing'.
3522 * text2.C (getStringToIndex): ensure that cursor position is always
3523 reset to the reset_cursor position.
3525 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3527 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3530 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3534 * lyxfunc.C: Output messages with identical spelling, punctuation,
3537 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3539 * MenuBackend.C (expandFormats): List only viewable export formats
3542 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3545 * lyxfunc.C (getStatus): Make sure that formats other than
3546 "fax" can also be disabled
3548 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3550 * text3.C (dispatch): put the lfuns that insert insets in 3
3551 groups, and call doInsertInset with appropriate arguments.
3552 (doInsertInset): new function, that creates an inset and inserts
3553 it according to some boolean parameters.
3555 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3557 * buffer.C (readFile): remember to pass on 'par' when calling
3558 readFile recursively.
3560 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3562 * MenuBackend.C (expandFormats): add "..." to import formats.
3564 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3566 * paragraph.C (asString): Remove XForms RTL hacks.
3568 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3569 * buffer.C: fix typo
3571 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3573 * Makefile.am (LIBS): delete var
3574 (lyx_LDADD): add @LIBS@ here instead.
3576 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3578 * Clarify the meaning of "wheel mouse jump"
3580 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3582 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3585 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3587 * importer.C (Loaders): do not preallocate 3 elements in the
3588 vector, since one ends up with 6 elements otherwise
3590 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3592 * DepTable.C (write): write the file name as last element of the
3593 .dep file (because it may contain spaces)
3594 (read): read info in the right order
3596 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3598 * paragraph_pimpl.C (simpleTeXBlanks):
3599 (simpleTeXSpecialChars):
3600 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3602 * tabular.C (latex): add some missing case statements. Reindent.
3604 * MenuBackend.C (expandToc): remove unused variable.
3606 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3615 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3618 2003-01-05 John Levon <levon@movementarian.org>
3621 * BufferView.C: add getEncoding()
3624 * kbsequence.C: do not store last keypress
3627 * lyxfunc.C: store last keypress here instead. Pass encoding
3630 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3632 * lyx_main.C (init): remove annoying error message when following
3633 symbolic links (bug #780)
3635 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3637 * text.C (insertChar):
3638 * lyxrc.C (getDescription): remove extra spaces
3640 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3642 * lyxrc.C (getDescription): remove extra spaces
3644 2002-12-20 John Levon <levon@movementarian.org>
3646 * text3.C: hack fix for page up/down across tall rows
3648 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3650 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3653 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3655 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3656 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3657 thesaurus is not compiled in
3659 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3661 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3663 2002-12-16 Angus Leeming <leeming@lyx.org>
3666 * lyx_main.C (init): remove override_x_deadkeys stuff.
3668 2002-12-12 John Levon <levon@movementarian.org>
3670 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3671 insert. Only remove shift modifier under strict
3674 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3676 * MenuBackend.C (expandToc): fix crash.
3678 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3680 * MenuBackend.C (expandToc): gettext on float names.
3682 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3684 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3685 implement bool empty() [bug 490]
3687 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3689 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3691 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3693 * several files: ws changes
3695 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3697 * text2.C (setCounter): clean up a bit, use boost.format.
3698 (updateCounters): initialize par upon declaration.
3700 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3701 if the layout exists. We do not just store the layout any more.
3702 (SwitchLayoutsBetweenClasses): use boost.format
3704 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3706 * converter.C (convert): if from and to files are the same, use a
3707 temporary files as intermediary
3709 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3712 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3714 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3716 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3718 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3720 * tabular.C (asciiPrintCell): use string(size, char) instead of
3723 * sgml.C (openTag): fix order of arguments to string constructor
3726 * lyxfunc.C (dispatch): use boost.format
3728 * lots of files: change "c" -> 'c'
3730 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3732 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3734 2002-11-25 Angus Leeming <leeming@lyx.org>
3736 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3738 * lyx_main.C (init): compile fix.
3740 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3742 * lyx_cb.C (start): boost.formatify
3743 do not include <iostream>
3745 * lengthcommon.C: ws only
3747 * boost-inst.C,BoostFormat.h: add more explict instantations
3749 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3751 * lots of files: handle USE_BOOST_FORMAT
3753 2002-11-21 John Levon <levon@movementarian.org>
3755 * pspell.C: fix compile
3757 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3759 * lyxfunc.C (dispatch): use boost::format
3763 * lyxfont.C (stateText): use boost::format
3765 * lyx_main.C (LyX): use boost::format
3767 (queryUserLyXDir): ditto
3770 (typedef boost::function): use the recommened syntax.
3772 * importer.C (Import): use boost::format
3774 * debug.C (showLevel): use boost::format
3776 * converter.C (view): use boost::format
3781 * bufferview_funcs.C (currentState): use boost::format
3783 * bufferlist.C (emergencyWrite): use boost::format
3785 * buffer.C (readLyXformat2): use boost::format
3786 (parseSingleLyXformat2Token): ditto
3788 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3790 * LaTeX.C (run): use boost::format
3792 * Chktex.C (scanLogFile): use boost::format
3794 * BufferView_pimpl.C (savePosition): use boost::format
3795 (restorePosition): ditto
3796 (MenuInsertLyXFile): ditto
3798 * BoostFormat.h: help file for explicit instation.
3800 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3802 * tabular.C (latex): Support for block alignment in fixed width
3805 2002-11-17 John Levon <levon@movementarian.org>
3807 * BufferView_pimpl.C:
3809 * lyxfunc.C: split filedialog into open/save
3811 2002-11-08 Juergen Vigna <jug@sad.it>
3813 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3814 by my last patch (hopefully).
3816 2002-11-08 John Levon <levon@movementarian.org>
3825 * toc.C: ParConstIterator, and use it (from Lars)
3827 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3829 * lyxtextclass.[Ch]: revise and add doxygen comments
3831 2002-11-07 John Levon <levon@movementarian.org>
3833 * text.C: fix progress value for spellchecker
3835 * toc.C: fix navigate menu for insetwrap inside minipage
3837 * paragraph_funcs.C: added FIXME for suspect code
3839 2002-11-07 John Levon <levon@movementarian.org>
3841 * BufferView_pimpl.C: fix redrawing of insets
3844 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3846 * text2.C (updateCounters): fix bug 668
3848 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3850 * text3.C (dispatch): Do not make the buffer dirty when moving the
3853 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3855 * vc-backend.C: STRCONV
3858 * text2.C (setCounter): STRCONV
3860 * paragraph.C (asString): STRCONV
3862 * lyxlength.C (asString): STRCONV
3863 (asLatexString): ditto
3865 * lyxgluelength.C (asString): STRCONV
3866 (asLatexString): ditto
3868 * lyxfunc.C (dispatch): STRCONV
3871 * lyxfont.C (stateText): STRCONV
3873 * importer.C (Import): STRCONV
3875 * counters.C (labelItem): STRCONV
3876 (numberLabel): ditto
3877 (numberLabel): remove unused ostringstream o
3882 * bufferview_funcs.C (currentState): STRCONV
3884 * buffer.C (readFile): STRCONV
3885 (asciiParagraph): ditto
3886 (makeLaTeXFile): ditto
3888 * Spacing.C (writeEnvirBegin): STRCONV
3890 * LaTeXFeatures.C (getLanguages): STRCONV
3891 (getPackages): ditto
3893 (getBabelOptions): ditto
3894 (getTClassPreamble): ditto
3895 (getLyXSGMLEntities): ditto
3896 (getIncludedFiles): ditto
3900 (scanAuxFile): ditto
3903 * LString.h: add the STRCONV macros
3905 * BufferView_pimpl.C (savePosition): STRCONV
3906 (restorePosition): ditto
3907 (MenuInsertLyXFile): ditto
3909 * vc-backend.C (scanMaster): change from submatch[...] to
3912 * funcrequest.C: include config.h
3914 * factory.C: include config.h
3916 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3918 * box.C: include config.h
3920 * LaTeX.C (scanAuxFile): change from submatch[...] to
3924 2002-10-25 Angus Leeming <leeming@lyx.org>
3926 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3928 * ispell.[Ch] (setError): new method.
3929 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3930 Use setError() insetead of goto END.
3932 * lyx_cb.C (AutoSave): move out child process into new class
3935 2002-10-30 John Levon <levon@movementarian.org>
3937 * text3.C: make start appendix undoable
3939 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3941 * lyxlength.C (inPixels): Fix returned value.
3943 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3946 2002-10-24 Angus Leeming <leeming@lyx.org>
3948 * lyxgluelength.h: no need to forward declare BufferParams
3949 or BufferView, so don't.
3951 2002-10-21 John Levon <levon@movementarian.org>
3953 * BufferView.C: menuUndo ->undo, redo
3955 * BufferView.h: document, remove dead, make some methods private
3957 * paragraph_funcs.h:
3958 * paragraph_funcs.C:
3959 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3964 * sgml.C: move sgml open/close tag into sgml.C
3966 * bufferview_funcs.h: unused prototype
3969 * lyxfunc.C: remove unused
3972 * text.C: remove unused
3974 2002-10-21 John Levon <levon@movementarian.org>
3978 * BufferView_pimpl.h:
3979 * BufferView_pimpl.C: fix mouse wheel handling based on
3980 patch from Darren Freeman
3982 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3984 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3986 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3988 * lyxlength.C (inPixels): Fix hanfling of negative length.
3989 Fix LyXLength::MU case.
3991 2002-10-16 John Levon <levon@movementarian.org>
3993 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3995 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3997 * converter.C (view): add support for $$i (file name) and $$p
3998 (file path) for the viewer command. If $$i is not specified, then
3999 it is appended to the command (for compatibility with old syntax)
4001 2002-10-14 Juergen Vigna <jug@sad.it>
4003 * undo_funcs.C (textHandleUndo): alter the order in which the
4004 new undopar is added to the LyXText, as we have to set first
4005 the right prev/next and then add it as otherwise the rebuild of
4006 LyXText is not correct. Also reset the cursor to the right paragraph,
4007 with this IMO we could remove the hack in "redoParagraphs()".
4009 2002-10-09 Angus Leeming <leeming@lyx.org>
4011 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4012 to turn off an optimisation if a new inset is to be inserted.
4014 2002-10-11 André Pönitz <poenitz@gmx.net>
4016 * lyxtext.h: make some functions public to allow access
4017 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4019 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4021 * text3.C (dispatch): when changing layout, avoid an infinite loop
4024 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4026 * lyxrc.C (read): treat a viewer or converter command of "none" as
4029 * MenuBackend.C (expandFormats): for an update, also allow the
4030 formats that are not viewable
4032 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4033 script if it is newer than the lyxrc.defaults in user directory
4035 2002-10-07 André Pönitz <poenitz@gmx.net>
4037 * text.C: Vitaly Lipatov's small i18n fix
4039 2002-09-25 Angus Leeming <leeming@lyx.org>
4041 * ispell.h: doxygen fix.
4043 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4045 * buffer.h (readFile): Add a new argument to the method, to allow
4046 reading of old-format templates.
4048 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4050 * toc.C (getTocList): Get TOC from InsetWrap.
4052 2002-09-16 John Levon <levon@movementarian.org>
4054 * lyxfunc.C: check tabular for cut/copy too
4056 2002-09-12 John Levon <levon@movementarian.org>
4061 * factory.C: add header
4063 * paragraph_funcs.h:
4064 * paragraph_funcs.C: cleanup
4066 2002-09-11 John Levon <levon@movementarian.org>
4068 * PrinterParams.h: odd/even default to true
4070 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4072 * PrinterParams.h: update printer parameters for new xforms dialog
4074 2002-09-11 Angus Leeming <leeming@lyx.org>
4076 * lyxserver.C (read_ready): re-write to make it more transparent
4077 and to make it work in coherent fashion under Tru64 Unix.
4079 2002-09-11 André Pönitz <poenitz@gmx.net>
4083 * text3.C: implement LFUN_WORDSEL
4085 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4087 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4088 make floatlist_ a boost::shared_ptr<FloatList>
4090 * lyxtextclass.C: include FloatList.h
4091 (LyXTextClass): initialize floatlist_
4092 (TextClassTags): add TC_NOFLOAT
4093 (Read): match "nofloat" to TC_NOFLOAT and use it.
4094 (readFloat): modify call to floatlist_
4098 * FloatList.[Ch] (FloatList): remove commented out float
4100 (erase): new function
4102 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4104 * MenuBackend.C (expandToc): fix crash when there is no document
4107 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4109 * many files: Add insetwrap.
4111 2002-09-09 John Levon <levon@movementarian.org>
4113 * text2.C: remove confusing and awkward depth wraparound
4115 2002-09-09 John Levon <levon@movementarian.org>
4117 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4120 * buffer.C: remove getIncludeonlyList()
4123 * lyxfunc.C: remove headers
4125 2002-09-09 Juergen Vigna <jug@sad.it>
4127 * text.C (getColumnNearX): fix form Michael this is most
4128 probably a cut&paste bug.
4130 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4132 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4134 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4135 references, ws changes.
4137 * text2.C (init): update counters after init
4138 (insertParagraph): no need to set counter on idividual paragraphs.
4139 (setCounter): access the counters object in the textclass object
4140 on in the buffer object.
4141 (updateCounters): ditto
4143 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4144 shared_ptr<Counters> to avoid loading counters.h in all
4146 (LyXTextClass): initialize ctrs_
4147 (TextClassTags): add TC_COUNTER, and ...
4148 (Read): use it here.
4149 (CounterTags): new tags
4150 (readCounter): new function
4151 (counters): new funtion
4152 (defaultLayoutName): return a const reference
4154 * counters.C (Counters): remove contructor
4155 (newCounter): remove a couple of unneeded statements.
4156 (newCounter): simplify a bit.
4157 (numberLabel): some small formatting changes.
4159 * buffer.[Ch]: remove all traces of counters, move the Counters
4160 object to the LyXTextClass.
4162 2002-09-06 Alain Castera <castera@in2p3.fr>
4164 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4165 package to set the horizontal alignment on fixed width columns.
4168 * lyx_sty.h: added tabularnewline macro def.
4170 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4172 2002-09-06 John Levon <levon@movementarian.org>
4174 * LyXAction.C: tooltips for sub/superscript
4176 * MenuBackend.C: a bit more verbose
4178 * lyxfunc.C: tiny clean
4180 * undo_funcs.C: document undo_frozen
4182 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4184 * counters.C (Counters): add missing algorithm counter.
4186 * text2.C (setCounter): lookup the counter with layouts latexname
4187 instead of by section number.
4188 (setCounter): use a hackish way to lookup the correct enum
4190 a float name->type change
4191 reset enum couners with counter name directly instead of depth value.
4193 * counters.C (Counters): remove the push_backs, change to use the
4194 float type not the float name.
4195 (labelItem): remove unused string, float name->type change
4197 * counters.h: don't include vector, loose the enums and sects vectors
4199 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4201 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4202 (Read): add float->TC_FLOAT to textclassTags
4203 (Read): and handle it in the switch
4204 (readFloat): new function
4206 * FloatList.C (FloatList): comment out the hardcoded float
4209 * lyxlayout.h: ws change.
4211 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4213 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4215 2002-09-03 Angus Leeming <leeming@lyx.org>
4217 * BufferView_pimpl.h: qualified name is not allowed in member
4218 declaration: WorkArea & Pimpl::workarea() const;
4220 * factory.C: added using std::endl directive.
4222 * text3.C: added using std::find and std::vector directives.
4224 2002-08-29 André Pönitz <poenitz@gmx.net>
4227 * text2.C: remove unused member number_of_rows
4230 * BufferView2.C: remove file, move contents to...
4231 * BufferView.C: ... here
4233 * BufferView_pimpl.C:
4234 * factory.C: move more inset creation to factory
4236 * vspace.C: avoid direct usage of LyXText, ws changes
4239 don't provide direct access to WorkArea, use two simple
4240 acessors haveSelction() and workHeight() instead
4243 2002-08-29 John Levon <levon@movementarian.org>
4245 * BufferView_pimpl.C (dispatch): do not continue when
4248 2002-08-28 André Pönitz <poenitz@gmx.net>
4250 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4253 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4255 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4257 * buffer.C: increment LYX_FORMAT to 221
4259 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4260 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4262 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4264 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4266 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4268 * factory.C (createInset): use LyXTextClass::floats
4270 * MenuBackend.C (expandFloatListInsert):
4271 (expandFloatInsert):
4274 * text2.C (setCounter):
4276 * LaTeXFeatures.C (useFloat):
4277 (getFloatDefinitions):
4279 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4281 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4282 floatlist_, with accessor floats().
4284 * FloatList.h: remove global FloatList
4286 2002-08-26 André Pönitz <poenitz@gmx.net>
4288 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4292 * BufferView_pimpl.C:
4293 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4295 2002-08-25 John Levon <levon@movementarian.org>
4297 * LyXAction.C: fix margin note description
4299 2002-08-24 John Levon <levon@movementarian.org>
4303 * bufferview_funcs.C:
4305 * undo_funcs.C: cleanups
4307 * lyxfunc.C: disable CUT/COPY when no selection
4309 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4311 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4312 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4314 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4315 Add backward compatibility to "mono", "gray" and "no".
4317 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4319 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4320 (and file_format >= 200).
4322 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4324 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4326 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4328 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4330 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4332 * BufferView_pimpl.C:
4339 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4340 inset and code to make it work with the paragraph code. The inset
4341 can be anywhere in the paragraph, but will only do the expected
4342 thing in LaTeX if the layout file contains the parameter line
4344 (or more generally, a nonzero value) for that layout.
4346 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4348 * paragraph.h: remove the declaration of undefined counters class
4351 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4353 * text2.C (setCounter): fixed enumeration mis-count as reported by
4354 Dr. Richard Hawkins.
4356 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4358 * paragraph_funcs.h: remove some unneeded includes
4360 * text.C (backspace): pasteParagraph now in global scipe
4362 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4363 (pasteSelection): ditto
4365 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4366 * paragraph_funcs.C (pasteParagraph): ... here
4368 2002-08-20 André Pönitz <poenitz@gmx.net>
4370 * commandtags.h: new LFUNs for swapping/copying table row/colums
4373 * lyxfunc.C: support for new lfuns
4375 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4378 * buffer.[Ch]: remove NO_COMPABILITY stuff
4380 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4382 * boost.C (throw_exception): new file, with helper function for
4383 boost compiled without exceptions.
4388 * ParameterStruct.h:
4389 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4391 * bufferlist.C (emergencyWriteAll): use boost bind
4393 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4395 * text.C: include paragraph_funcs.h
4396 (breakParagraph): breakParagraph is now in global scope
4398 * paragraph_funcs.[Ch]: new files
4400 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4403 * buffer.C: include paragraph_funcs.h
4404 (insertStringAsLines): breakParagraph is now in global scope
4406 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4409 * CutAndPaste.C: include paragraph_funcs.h
4410 (cutSelection): breakParagraphConservative is now in global scope
4411 (pasteSelection): ditto
4413 * buffer.h: declare oprator== and operator!= for
4414 Buffer::inset_iterator
4416 * bufferlist.C (emergencyWrite): don't use fmt(...)
4418 * text3.C: add using std::endl
4420 * BufferView.C (moveCursorUpdate): remove default arg
4422 2002-08-20 André Pönitz <poenitz@gmx.net>
4424 * buffer.[Ch]: move inline functions to .C
4427 * BufferView_pimpl.C:
4429 * buffer.[Ch]: use improved inset_iterator
4432 * paragraph.[Ch]: write one paragraph at a time
4434 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4436 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4437 style if style is not specified.
4439 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4441 * text2.C (setCounter): when searching for right label for a
4442 caption, make sure to recurse to parent insets (so that a caption
4443 in a minipage in a figure float works) (bug #568)
4445 2002-08-20 André Pönitz <poenitz@gmx.net>
4447 * text3.C: new file for LyXText::dispatch() and helpers
4449 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4451 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4453 2002-08-19 André Pönitz <poenitz@gmx.net>
4456 * text.C: new LyXText::dispatch()
4458 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4460 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4462 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4464 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4467 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4469 * Makefile.am: use $(variables) instead of @substitutions@
4471 2002-08-15 André Pönitz <poenitz@gmx.net>
4474 * BufferView_pimpl.C: streamlining mathed <-> outer world
4478 * LyXAction.C: remove unused LFUN_MATH
4480 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4482 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4484 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4486 * paragraph.C (Paragraph): reformat a bit
4487 (cutIntoMinibuffer): use builtin InsetList function instad of
4491 * buffer.C: include boost/bind.hpp, add using std::for_each
4492 (writeFileAscii): use ParagraphList iterators
4493 (validate): use for_each for validate traversal of paragraphs
4494 (getBibkeyList): use ParagraphList iterators
4495 (resizeInsets): use for_each to resizeInsetsLyXText for all
4497 (getParFromID): use ParagraphList iterators
4499 * BufferView2.C (lockInset): use paragraph list and iterators
4501 2002-08-14 John Levon <levon@movementarian.org>
4503 * lyxserver.C: remove spurious xforms include
4505 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4507 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4509 2002-08-13 André Pönitz <poenitz@gmx.net>
4512 * lyxfunc.C: further cleaning
4514 2002-08-13 André Pönitz <poenitz@gmx.net>
4516 * funcrequest.h: new constructor
4518 * funcrequest.C: move stuff here from .h
4521 * BufferView_pimpl.C:
4524 * lyxfunc.C: subsequent changes
4526 * lyxfunc.h: new view() member function
4528 * lyxfunc.C: subsequent changes
4530 2002-08-13 Angus Leeming <leeming@lyx.org>
4533 * BufferView_pimpl.C:
4541 changes due to the changed LyXView interface that now returns references
4542 to member variables not pointers.
4544 2002-08-13 Angus Leeming <leeming@lyx.org>
4546 * WordLangTuple (word, lang_code): return references to strings,
4551 * lyxtext.h: forward-declare WordLangTuple.
4556 * text.C: #include "WordLangTuple.h".
4559 * text.C: (selectNextWordToSpellcheck): constify return type.
4561 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4567 * paragraph_pimpl.h:
4570 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4572 Made updateCounter always count from start of buffer, and removed
4573 second argument (par).
4574 Reverted floats number display to '#'. Perhaps I'll try again when the
4575 code base is sanitized a bit.
4577 2002-08-12 Angus Leeming <leeming@lyx.org>
4579 * buffer.[Ch] (getLabelList): constify.
4581 2002-08-07 André Pönitz <poenitz@gmx.net>
4583 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4585 * funcrequest.h: extension to keep mouse (x,y) position
4587 2002-08-12 Juergen Vigna <jug@sad.it>
4589 * BufferView2.C (insertErrors): forbid undo when inserting error
4592 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4594 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4596 * ParagraphList.[Ch]: new files
4598 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4600 * BufferView2.C (lockInset): ParagraphList changes
4603 * bufferlist.C: ditto
4607 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4609 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4610 unused class variable counter_,
4612 * paragraph.[Ch] (getFirstCounter): delete unused function
4614 * counters.C: include LAssert.h
4615 (reset): add a new function with no arg, change other version to
4616 not have def. arg and to not allow empty arg.
4618 * text2.C (setCounter): remove empty arg from call to Counters::reset
4620 2002-08-11 John Levon <levon@movementarian.org>
4622 * Makefile.am: add WordLangTuple.h
4624 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4626 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4627 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4629 * insets/insettext.C: InsetList changes
4631 * graphics/GraphicsSupport.C (operator()): InsetList changes
4633 * toc.C (getTocList): InsetList changes
4635 * paragraph_pimpl.[Ch]: InsetList changes
4637 * paragraph.[Ch]: InsetList changes
4639 * buffer.C (inset_iterator): InsetList changes
4640 (setParagraph): ditto
4641 * buffer.h (inset_iterator): ditto
4642 * iterators.C (operator++): ditto
4643 * iterators.h: ditto
4645 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4647 * InsetList.[Ch]: new files, most InsetList handling moved out of
4650 * BufferView2.C (removeAutoInsets): InsetList changes
4652 (ChangeInsets): ditto
4654 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4656 * paragraph_pimpl.h (empty): new function
4658 * paragraph.[Ch] (empty): new function
4660 * other files: use the new Paragraph::empty function
4662 2002-08-09 John Levon <levon@movementarian.org>
4664 * lyxtext.h: remove unused refresh_height
4666 2002-08-09 John Levon <levon@movementarian.org>
4673 * paragraph.C: move sgml char escaping out of paragraph
4676 * paragraph.C: remove id setter
4680 * paragraph_pimpl.C: remove dead tex_code_break_column
4682 * bufferview_funcs.C: small cleanup
4684 * lyxfunc.C: remove dead proto
4686 * lyxtext.h: make some stuff private. Remove some dead stuff.
4688 * lyxgluelength.C: make as[LyX]String() readable
4690 2002-08-08 John Levon <levon@movementarian.org>
4695 * ToolbarDefaults.C:
4698 * toc.C: lyxaction cleanup
4700 2002-08-08 John Levon <levon@movementarian.org>
4702 * BufferView2.C: small cleanup
4705 * lyxfind.C: move unnecessary header into the .C
4707 2002-08-08 John Levon <levon@movementarian.org>
4709 * funcrequest.h: just tedious nonsense
4712 * lyx_main.C: cleanups
4715 * vspace.C: remove dead header lyx_main.h
4717 2002-08-07 Angus Leeming <leeming@lyx.org>
4720 * paragraph_pimpl.h:
4721 Forward declare class Counters in paragraph.h by moving the ctrs member
4722 variable into Paragraph::Pimpl.
4723 (counters): new method, returning a reference to pimpl_->ctrs.
4725 * text2.C: ensuing changes.
4727 2002-08-07 John Levon <levon@movementarian.org>
4729 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4731 * BufferView_pimpl.C: announce X selection on double/triple
4734 * lyx_main.C: use correct bool in batch dispatch
4736 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4738 2002-08-07 André Pönitz <poenitz@gmx.net>
4740 * funcrequest.h: new class to wrap a kb_action and its argument
4743 * BufferView_pimpl[Ch]:
4747 * lyxrc.C: subsequent changes
4750 2002-08-07 John Levon <levon@movementarian.org>
4752 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4753 document options change.
4755 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4760 * makefile.am: move counters functionality over from
4761 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4763 2002-08-06 John Levon <levon@movementarian.org>
4765 * WordLangTuple.h: new file for word + language code tuple
4776 * BufferView2.C: use WordLangTuple
4779 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4781 2002-08-06 John Levon <levon@movementarian.org>
4783 * lyx_main.C: fix cmdline batch handling
4785 2002-08-06 André Pönitz <poenitz@gmx.net>
4787 * lyxrc.C: set default for show_banner to true
4789 2002-08-06 John Levon <levon@movementarian.org>
4791 * pspell.C: fix a crash, and allow new aspell to work
4793 2002-08-06 John Levon <levon@movementarian.org>
4796 * kbmap.C: small cleanup
4799 * vspace.C: add const
4801 2002-08-05 John Levon <levon@movementarian.org>
4803 * LyXAction.C: back to tabular-insert
4805 2002-08-04 John Levon <levon@movementarian.org>
4808 * BufferView.C: cosmetic change
4810 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4820 * BufferView2.C: purge all "Lyx" not "LyX" strings
4823 * lyxcursor.C: attempt to add some documentation
4828 * ToolbarDefaults.C:
4829 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4830 merge with LFUN_TABULAR_INSERT
4837 * pspell.C: split up i/pspell implementations into separate
4838 files, many cleanups
4840 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4842 * text2.C: some cleanup
4844 * lyxfunc.C: don't check for isp_command == "none" any more, it
4845 didn't make any sense
4847 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4852 * makefile.am: move counters functionality over
4853 from text2.C/paragraph.[Ch] to counters.[Ch], and
4855 2002-08-02 John Levon <levon@movementarian.org>
4857 * buffer.C: s/lyxconvert/lyx2lyx/
4859 2002-08-02 Angus Leeming <leeming@lyx.org>
4861 * lyxlex.C: revert John's change as it breaks reading of the user
4864 2002-08-02 Angus Leeming <leeming@lyx.org>
4866 * importer.C (Import):
4867 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4868 changes due to LyXView::view() now returning a boost::shared_ptr.
4870 2002-08-02 John Levon <levon@movementarian.org>
4872 * lyxlex.C: small cleanup
4874 2002-08-02 John Levon <levon@movementarian.org>
4876 * text2.C (status): small cleanup, no logic change
4878 2002-08-01 John Levon <levon@movementarian.org>
4881 * buffer.C (writeFile): don't output alerts, caller
4885 * lyx_cb.C: from above
4887 * lyxfunc.C: allow to open non-existent files
4889 2002-07-31 John Levon <levon@movementarian.org>
4891 * lyxserver.C: don't let incidental errors get
4894 2002-07-30 John Levon <levon@movementarian.org>
4896 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4898 2002-07-30 John Levon <levon@movementarian.org>
4901 * lyxserver.C: remove I/O callback too
4903 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4905 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4908 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4910 * many files: strip,frontStrip -> trim,ltrim,rtrim
4912 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4914 * PrinterParams.h: remove extern containsOnly, and include
4915 support/lstrings.h instead.
4917 * LaTeX.C (scanAuxFile): modify because of strip changes
4919 * buffer.C (makeLaTeXFile): ditto
4920 * bufferparams.C (writeFile): ditt
4921 * lyxfont.C (stateText): ditto
4922 * lyxserver.C (read_ready): ditto
4923 * vc-backend.C (scanMaster): ditto
4925 * BufferView_pimpl.h: ws changes
4927 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4929 2002-07-26 André Pönitz <poenitz@gmx.net>
4931 * kb_sequence.C: remove unnedred usings
4933 2002-07-26 Juergen Vigna <jug@sad.it>
4935 * lyxfind.C (LyXReplace): we have to check better if the returned
4936 text is not of theLockingInset()->getLockingInset().
4938 2002-07-25 Juergen Vigna <jug@sad.it>
4940 * lyxfind.C (LyXReplace): don't replace if we don't get the
4943 * undo_funcs.C (createUndo): remove debugging code.
4945 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4947 * buffer.C (parseSingleLyXformat2Token): Use default placement
4948 when reading old floats.
4950 * FloatList.C (FloatList): Change the default placement of figure
4951 and tables to "tbp".
4953 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4955 * MenuBackend.C: using std::max
4957 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4959 * MenuBackend.C (expandToc):
4960 (expandToc2): code moved from xforms menu frontend. It is now
4961 generic and TOCs are transparent to menu frontends.
4963 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4965 * toc.C (getTocList): protect against buf=0
4967 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4968 Menu as first parameter. Now, this calls itself recursively to
4969 expand a whole tree (this will be useful for TOC handling)
4970 (expandFloatInsert): remove 'wide' version of floats
4972 * MenuBackend.h (submenuname): returns the name of the submenu.
4973 (submenu): returns the submenu itself, provided it has been
4974 created by MenuBackend::expand
4976 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4978 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4979 insets which have noFontChange == true. (bug #172)
4981 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4983 * BufferView_pimpl.C: add connection objects and use them...
4986 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4988 * MenuBackend.C (expandLastfiles):
4991 (expandFloatListInsert):
4992 (expandFloatInsert):
4993 (expand): split expand in parts
4995 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4997 * lyx_gui.C: use lyx_gui::exit()
4999 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5001 * LyXAction.C: show the failing pseudo action
5003 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5005 * buffer.C (readFile): Run the lyxconvert script in order to read
5008 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5012 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5014 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5018 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5020 2002-07-22 Herbert Voss <voss@lyx.org>
5023 * lyxlength.[Ch]: add support for the vertical lengths
5025 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5027 * toc.[Ch]: std:: fixes
5029 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5031 * lyxrc.C: do not include lyx_main.h
5033 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5039 * BufferView2.C: include "lyxlex.h"
5042 * bufferparams.h: do not #include "lyxlex.h"
5044 * lyxtextclasslist.C (Add): remove method
5045 (classlist): renamed to classlist_
5047 * paragraph_pimpl.C:
5051 * bufferview_funcs.C:
5056 * toc.C (getTocList): use BufferParams::getLyXTextClass
5058 * toc.C (getTocList): use InsetFloat::addToToc
5060 * toc.[Ch]: new files, containing helper functions to handle table
5063 * lyxfunc.C (dispatch): no need to remove spaces around command
5065 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5066 first command of the sequence; it is not very clever, but I do not
5067 have a better idea, actually
5069 * LyXAction.C (LookupFunc): make sure to remove space at the
5070 beginning and end of the command
5072 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5074 * MenuBackend.C (getMenubar): new method: return the menubar of
5076 (read): treat differently reading of menu and menubar (in
5077 particular, the menubar has no name now)
5078 (Menu::menubar): remove
5080 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5083 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5085 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5086 a bibitem inset in a RTL paragraph.
5088 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5090 * paragraph_pimpl.C: constify
5092 * BufferView_pimpl.C:
5094 * lyxfunc.C: fix dispatch in a nicer way
5096 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5098 * lyxfunc.C (dispatch):
5099 * BufferView_pimpl.C:
5100 * BufferView_pimpl.h:
5102 * BufferView.h: rename Dispatch() to dispatch()
5104 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5106 * lyxlayout.C (Read): honor DependsOn tag
5108 * lyxlayout.[Ch] (depends_on): new method
5110 * version.C.in: update lyx_docversion
5112 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5114 * paragraph.C (validate): remove from here...
5115 * paragraph_pimpl.C (validate): ... and move here
5116 (isTextAt): make it const
5118 * buffer.C (getLists): ws cleanup
5120 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5122 * language.C (read): Use iso8859-1 encoding in latex_lang
5123 (this prevents LyX from crashing when using iso10646-1 encoding).
5125 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5127 * text2.C (toggleInset): if cursor is inside an inset, close the
5128 inset and leave cursor _after_ it
5130 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5132 * lyxfunc.C: move minibuffer completion handling out of here
5134 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5136 * BufferView_pimpl.C:
5137 * LaTeX.C: fix dispatch calls
5139 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5141 * text.C (drawChars): Fix Arabic text rendering.
5143 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5147 * lyxfunc.C: remove message-push/pop
5151 * lyxfunc.C: rationalise some code by removing verboseDispatch
5152 in favour of a bool argument to dispatch()
5154 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5156 * lyx_main.C (init): make sure to read symlinks as absolute paths
5158 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5161 * lyxfunc.C: no need for commandshortcut to be a member
5163 2002-07-15 André Pönitz <poenitz@gmx.net>
5165 * converter.C: add support for $$s (scripts from lib/scripts dir)
5166 * lyx_main.C: white space
5168 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5172 * lyxrc.C: remove second exit confirmation
5174 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5179 * BufferView_pimpl.h:
5180 * BufferView_pimpl.C:
5181 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5183 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5185 * MenuBackend.C (expand): add numeric shortcuts to document menu
5187 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5189 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5191 * lyxfont.C (setLyXFamily):
5198 * buffer.C (asciiParagraph): use ascii_lowercase
5200 2002-07-15 Mike Fabian <mfabian@suse.de>
5202 * lyxlex_pimpl.C (search_kw):
5203 * lyxlex.C (getLongString):
5204 * converter.h (operator<):
5205 * converter.C (operator<):
5206 * buffer.C (parseSingleLyXformat2Token):
5208 * ToolbarDefaults.C (read):
5209 * MenuBackend.C (checkShortcuts):
5211 * LColor.C (getFromGUIName):
5212 (getFromLyXName): use the compare_ascii_no_case instead of
5213 compare_no_case, because in turkish, 'i' is not the lowercase
5214 version of 'I', and thus turkish locale breaks parsing of tags.
5216 2002-07-16 Angus Leeming <leeming@lyx.org>
5218 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5219 now takes a Buffer const & argument.
5221 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5223 * BufferView.C (resize): check there's a buffer to resize
5225 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5227 * lyxfunc.C: remove dead code
5230 * lyxserver.C: use lyx_guii::set_read_callback
5232 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5234 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5235 an inset in a RTL paragraph.
5237 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5239 * lyxfunc.C: repaint after a font size update
5241 2002-07-15 André Pönitz <poenitz@gmx.net>
5243 * lyxlength.C: inBP should be able to return negative values
5245 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5247 * lyxfunc.C: use lyx_gui::update_fonts()
5249 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5251 * lyxfunc.C: use lyx_gui::update_color()
5253 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5259 * lyxrc.C: remove file->new asks for name option, and let
5260 buffer-new take an argument
5262 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5264 * BufferView_pimpl.C: remove unneeded extra repaint()
5266 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5268 * LyXAction.C: allow command-sequence with NoBuffer
5270 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5272 2002-07-10 Angus Leeming <leeming@lyx.org>
5274 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5276 2002-07-09 Angus Leeming <leeming@lyx.org>
5278 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5280 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5282 * lengthcommon.h: whitespace
5284 * lyxfunc.C: update scrollbar after goto paragraph
5286 * lyxtext.h: factor out page break drawing, and fix it so
5287 page break/added space paints as selected nicely
5289 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5291 * BufferView_pimpl.C: add FIXMEs, clean up a little
5293 2002-07-09 André Pönitz <poenitz@gmx.net>
5295 * lyxfont.[Ch]: support for wasy symbols
5297 2002-07-08 André Pönitz <poenitz@gmx.net>
5299 * BufferView_pimpl.C: apply John's patch for #93.
5301 2002-07-05 Angus Leeming <leeming@lyx.org>
5303 * BufferView_pimpl.C (buffer): generate previews if desired.
5305 * LColor.h: add "preview" to the color enum.
5307 * LColor.C (LColor): add a corresponding entry to the items array.
5309 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5312 2002-07-05 Angus Leeming <leeming@lyx.org>
5314 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5315 The body of the code is now in the method that is passed an ostream &
5316 rather than a file name.
5317 Pass an additional only_preamble parameter, useful for the forthcoming
5320 2002-07-03 André Pönitz <poenitz@gmx.net>
5322 * lyxfunc.C: simplify getStatus() a bit for math stuff
5324 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5326 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5328 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5330 * text.C (changeRegionCase): do not change case of all the
5331 document when region ends at paragraph end (bug #461)
5333 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5335 * paragraph.C (startTeXParParams):
5336 (endTeXParParams): add \protect when necessary
5338 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5340 * BufferView_pimpl.C (workAreaExpose): remove warning
5342 2002-06-27 Angus Leeming <leeming@lyx.org>
5344 * Makefile.am: add lyxlayout_ptr_fwd.h.
5346 2002-06-26 André Pönitz <poenitz@gmx.net>
5348 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5350 2002-06-25 Angus Leeming <leeming@lyx.org>
5352 * lyxfunc.C (dispatch): Comment out the call to
5353 grfx::GCache::changeDisplay. The method no longer exists now that the
5354 pixmap generation part of the graphics loader has been moved into
5357 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5359 * text2.C: layout as layout
5361 * text.C: layout as layout
5363 * tabular.C (OldFormatRead): layout as layout
5365 * paragraph_pimpl.C (TeXDeeper): layout as layout
5366 (realizeFont): layout as layout
5368 * paragraph.C (writeFile): layout as layout
5369 (validate): layout as layout
5370 (getFont): layout as layout
5371 (getLabelFont): layout as layout
5372 (getLayoutFont): layout as layout
5373 (breakParagraph): layout as layout
5374 (stripLeadingSpaces): layout as layout
5375 (getEndLabel): layout as layout
5376 (getMaxDepthAfter): layout as layout
5377 (applyLayout): layout as layout
5378 (TeXOnePar): layout as layout
5379 (simpleTeXOnePar): layout as layout
5380 (TeXEnvironment): layout as layout
5381 (layout): layout as layout
5382 (layout): layout as layout
5384 * lyxtextclass.C (compare_name): new functor to work with
5385 shared_ptr, layout as layout
5386 (Read): layout as layout
5387 (hasLayout): layout as layout
5388 (operator): layout as layout
5389 (delete_layout): layout as layout
5390 (defaultLayout): layout as layout
5392 * lyxlayout_ptr_fwd.h: new file
5394 * lyxlayout.C (Read): layout as layout
5396 * lyx_cb.C (MenuInsertLabel): layout as layout
5398 * bufferlist.C (newFile): layout as layout
5400 * buffer.C (readLyXformat2): layout as layout
5401 (parseSingleLyXformat2Token): layout as layout
5402 (insertStringAsLines): layout as layout
5403 (asciiParagraph): layout as layout
5404 (latexParagraphs): layout as layout
5405 (makeLinuxDocFile): layout as layout
5406 (simpleLinuxDocOnePar): layout as layout
5407 (makeDocBookFile): layout as layout
5408 (simpleDocBookOnePar): layout as layout
5409 (getLists): layout as layout
5411 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5413 * CutAndPaste.C (cutSelection): layout as layout
5414 (pasteSelection): layout as layout
5415 (SwitchLayoutsBetweenClasses): layout as layout
5417 * BufferView_pimpl.C (Dispatch): layout as layout
5418 (smartQuote): layout as layout
5420 * BufferView2.C (unlockInset): layout as layout
5422 2002-06-24 André Pönitz <poenitz@gmx.net>
5424 * lyxfunc.C: fix #487
5426 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5430 * lyxfunc.C: remove display_shortcuts, show_banner
5432 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5434 * Buffer_pimpl.C: oops, update on resize
5436 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5443 * BufferView.C: use repaint()
5445 * BufferView_pimpl.h:
5446 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5447 as it's a clearer description. Remove superfluous
5450 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5452 * text.C: fix bug 488. Not ideal, but getting
5453 getWord() to work properly for the insets that
5454 matter is more difficult ...
5456 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5458 * BufferView_pimpl.C:
5461 * lyxfunc.C: remove the six million index lyxfuncs to just
5462 one, and DTRT (bug 458)
5464 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5468 * BufferView_pimpl.h:
5469 * BufferView_pimpl.C: clean up resize() stuff,
5470 and unnecessary updateScreen()s
5472 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5476 * BufferView_pimpl.h:
5477 * BufferView_pimpl.C:
5480 * minibuffer.C: remove focus management of workarea,
5481 not needed. Use screen's greyOut()
5483 2002-06-17 Herbert Voss <voss@lyx.org>
5485 * converter.C: (convert) do not post a message, when converting
5486 fails, let the calling function decide what to do in this case
5488 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5490 * lyxfunc.C: tidy up a little
5492 2002-06-16 <alstrup@diku.dk>
5494 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5495 Got rid of FORMS_H_LOCATION include. Now we are
5498 2002-06-15 LyX Development team <lyx@rilke>
5500 * buffer.[Ch] (sgmlOpenTag):
5501 (sgmlCloseTag): Added support for avoiding pernicious mixed
5502 content. Return number of lines written.
5505 (makeDocBookFile): Fixed calls to sgml*Tag.
5506 Simple white space clean.
5508 (simpleDocBookOnePar): Simple white space clean.
5510 * tabular.[Ch] (docBook): Renamed to docbook and got another
5511 argument to related with the pernicious mixed content.
5513 (docbookRow): Fixed calls for docbook inset method.
5515 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5517 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5518 so it's X11 independent.
5522 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5524 2002-06-15 Lyx Development team <lyx@electronia>
5526 * intl.h: Renamed getTrans to getTransManager.
5528 2002-06-14 Angus Leeming <leeming@lyx.org>
5530 * Makefile.am: nuke forgotten stl_string_fwd.h.
5532 2002-06-12 Angus Leeming <leeming@lyx.org>
5534 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5536 2002-06-13 Angus Leeming <leeming@lyx.org>
5539 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5541 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5543 * kbmap.C (getiso): add support for cyrillic and greek
5545 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5549 * BufferView_pimpl.h:
5550 * BufferView_pimpl.C: move bogus scrolling logic
5553 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5556 * BufferView_pimpl.C: view->resize() change
5558 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5560 * BufferView_pimpl.C: topCursorVisible
5563 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5567 * lyx_gui.C: move to frontends/
5571 * lyx_main.C: changes from above
5573 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5580 * lyx_main.C: minor tidy
5582 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5584 * BufferView_pimpl.h:
5585 * BufferView_pimpl.C:
5587 * BufferView.C: make painter() const,
5590 * BufferView2.C: use screen() accessor
5593 * lyx_main.C: some minor cleanup
5595 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5597 * BufferView_pimpl.h:
5598 * BufferView_pimpl.C: remove enter/leaveView,
5601 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5606 * BufferView_pimpl.h:
5607 * BufferView_pimpl.C: only construct screen once,
5610 * lyxrc.C: remove pointless comment
5612 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5615 * BufferView.C: remove active() and belowMouse()
5617 * BufferView_pimpl.h:
5618 * BufferView_pimpl.C: use workarea() not workarea_,
5619 and make it use a scoped_ptr instead
5621 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5623 * lyx_gui.C: add debug message on BadWindow
5625 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5627 * sp_spell.C: fdopen is not part of the C++ standard.
5629 * paragraph.C (InsetIterator): use >= instead of ==
5631 2002-06-07 Angus Leeming <leeming@lyx.org>
5633 Fixes needed to compile with Compaq cxx 6.5.
5634 * BufferView_pimpl.C:
5641 * lyxtextclasslist.C:
5646 all c-library variables have been moved into namespace std. Wrap
5647 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5652 Add a using std::abs declaration.
5654 * kbmap.h (modifier_pair):
5655 * paragraph.h (InsetTable, InsetList):
5656 * lyxfont.h (FontBits):
5657 type definition made public.
5659 * bufferlist.C (emergencyWriteAll): the compiler complains that
5660 there is more than one possible lyx::class_fun template to choose from.
5661 I re-named the void specialisation as lyx::void_class_fun.
5663 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5665 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5666 the compiler is is unable to find tostr in write_attribute.
5668 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5670 * buffer.C (sgmlError): hide #warning
5672 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5674 * xtl/*: get rid of xtl, which is not in use anyway
5676 * LyXAction.C (init):
5677 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5678 were unimplemented xtl experimentation
5680 2002-06-04 André Pönitz <poenitz@gmx.net>
5682 * lyxfunc.C: disable array operation on simple formulae
5684 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5686 * converter.C: constify a bit
5688 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5690 * lyx_gui.C: check xforms version correctly
5692 2002-04-30 Herbert Voss <voss@lyx.org>
5694 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5697 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5699 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5700 attempt to register it with a VCS)
5702 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5704 * lyx_main.C (init): honor variables LYX_DIR_13x and
5707 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5711 * lyx_main.C: fix a crash on bad command line,
5712 and give a useful exit status on error
5714 * lyxfunc.C (doImport): allow -i lyx to work
5716 2002-03-30 André Pönitz <poenitz@gmx.net>
5718 * lyxfunc.C: mathed font changes
5720 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5735 * trans_mgr.h: srcdocs, and some minor cleanups
5737 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5739 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5740 call getFont all the time)
5742 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5744 * switch from SigC signals to boost::signals
5746 2002-05-29 André Pönitz <poenitz@gmx.net>
5748 * paragraph_pimpl.C (getChar): don't call size() too often...
5750 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5752 * paragraph_pimpl.C (insertChar): do not try to update tables when
5753 appending (pos == size())
5755 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5756 in order to reduce drastically the number of comparisons needed to
5757 parse a large document
5759 2002-05-29 André Pönitz <poenitz@gmx.net>
5765 * textclasslist.[Ch]:
5766 * sp_ispell.h: whitespace change
5768 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5770 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5771 lyxaction directly now.
5773 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5777 * lyxvc.C: remove unused headers
5779 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5786 * undo_funcs.C: some cleanups. Use shared_ptr
5787 and a template for the undo stacks.
5789 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5791 * BufferView_pimpl.h:
5792 * BufferView_pimpl.C:
5799 * text2.C: use key_state/mouse_state
5801 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5803 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5806 * chset.C: change include order
5807 (loadFile): use boost regex and get rid of LRegex and LSubstring
5809 * Makefile.am (BOOST_LIBS): new variable
5812 * LaTeX.C: change include order.
5813 (scanAuxFile): use boost regex and get rid of LRegex and
5817 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5822 * FontInfo.C: moved to frontends/xforms/
5825 * FontLoader.C: moved into frontends for GUIIzation
5830 * lyxfunc.C: changes from above
5832 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5834 * LColor.C: remove spurious X include
5836 * BufferView_pimpl.C:
5841 * text2.C: move font metrics to frontends/
5843 2002-05-24 Juergen Vigna <jug@sad.it>
5845 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5846 setting the undo_cursor.
5848 * ParagraphParameters.h: include local includes first.
5850 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5852 * BufferView_pimpl.C:
5853 * BufferView_pimpl.h:
5857 * screen.C: move WorkArea into frontends/
5863 * BufferView2.C: move LyXScreen into frontends/
5867 * lyx_gui.C: move lyxlookup into frontends/xforms/
5869 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5872 * BufferView_pimpl.C:
5882 * bufferview_funcs.C:
5895 * vc-backend.C: move LyX/XFormsView into frontends/
5897 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5909 * text2.C: move Painter to frontends/
5911 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5913 * buffer.C: comment out some some code that depend upon lyx_format
5916 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5917 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5919 * buffer.h (NO_COMPABILITY): turn off compability
5921 * ColorHandler.C: include scoped_array.hpp
5923 * font.C: Use more specific smart_ptr header.
5926 * ShareContainer.h: ditto
5930 * BufferView_pimpl.h: ditto
5931 * ColorHandler.h: ditto
5933 * kbmap.C (defkey): change call to shared_ptr::reset
5935 2002-05-21 Juergen Vigna <jug@sad.it>
5937 * buffer.C (insertErtContents): fix to insert ert asis if it is
5938 non empty. Skip it completely if it contains only whitespaces.
5940 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5942 * BufferView_pimpl.C:
5943 * BufferView2.C: clear selection on paste (bug 393)
5945 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5947 * DepTable.C: include ctime
5949 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5951 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5953 2002-05-14 Juergen Vigna <jug@sad.it>
5955 * text.C (breakParagraph): fixed function to honor the keepempty
5956 layout in the right maner and also to permit the right breaking
5957 algorithm on empty or non empyt keepempty paragraphs.
5959 * paragraph.C (breakParagraph): we have to check also if the par
5960 is really empty (!size()) for isempty otherwise we do the wrong
5963 2002-05-10 Juergen Vigna <jug@sad.it>
5965 * buffer.[Ch] : The following are only changes to the ert
5966 compatibility read reading old LaTeX layout and font stuff and
5967 convert it to ERTInsets.
5969 * buffer.h: added isErtInset().
5971 * buffer.C (struct ErtComp): add a fromlayout bool to check
5972 if we're inside a LaTeX layout.
5973 (isErtInset): new helper function.
5974 (insertErtContents): look for other ert insets before this one
5975 and insert the contents there, so that we don't have subsequent
5976 ERT insets with nothing between them. This way we create only one
5977 inset with multiple paragraphs. Also check if we don't insert only
5978 spaces ' ' as they are ignored anyway afterwards in the .tex file
5979 so if we have only spaces we will ignore this latex part in the
5981 (parseSingleLyXformat2Token \\layout): better compatibility when
5982 reading layout-latex stuff.
5983 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5985 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5986 stuff after reading the inset only get the information back from
5989 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5991 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5993 * LaTeXFeatures.C (getBabelOptions): New method.
5995 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5997 * BufferView_pimpl.C (Dispatch): work around missing argument for
6000 2002-05-08 Juergen Vigna <jug@sad.it>
6002 * text.C (leftMargin): handle paragraph leftindent.
6004 * paragraph.C (writeFile): write the new \\leftindent tag.
6005 (validate): handle leftindent code.
6006 (TeXEnvironment): handle paragraphleftindent code again.
6008 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6010 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6011 for paragrap_extra indent code and new token \\leftindent.
6012 (latexParagraphs): handle the leftindent as environment.
6014 * ParameterStruct.h: added leftindent support.
6016 * ParagraphParameters.C (leftIndent): added support functions for
6017 the paragraph left indent.
6019 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6022 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6024 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6027 * text.C (computeBidiTables): No bidi in insetERT.
6029 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6032 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6034 * version.C.in: pre 5
6036 2002-05-02 José Matos <jamatos@fep.up.pt>
6037 * buffer.C (makeDocBookFile): white space changes, add newline to
6039 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6041 * tabular.C (docBook): fix typo.
6043 2002-05-03 Juergen Vigna <jug@sad.it>
6045 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6046 change in LyXText as we can not be sure it was not freed.
6047 (drawOneRow): remove unused code.
6049 * text.C (drawInset): redo the calculation of the need_break_row as
6050 it could have a row which was already freed.
6051 (draw): look at the return value of drawInset and return false if
6052 it also returned false.
6053 (paintRowText): look at the return value of draw and return false if
6054 it also returned false.
6056 * lyxtext.h: added bool return type to drawInset() and draw() so that
6057 if we have a change in the row so that the rowbreak has to be redone
6058 we abort drawing as it will be called again.
6060 2002-05-02 Juergen Vigna <jug@sad.it>
6062 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6063 a change in the maintext also if we're inside an inset.
6064 (Dispatch): set the cursor again after a break line and after the
6065 screen has been updated as it could be we're in a different row.
6067 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6068 to set the cursor behind the pargraph with > size().
6069 (setCursor): check also for the same paragraph when checking where
6070 to put the cursor if we have a NFR inset.
6072 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6073 parts of layout read further up as it still was in the wrong
6076 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6078 * screen.C (drawFromTo): change sine fullRebreak always return
6081 * buffer.C (parseSingleLyXformat2Token): reindent some
6083 * BufferView_pimpl.C (update): change since fullRebreak always
6085 (Dispatch): git rid of the last hardcoded "Standard"s.
6087 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6089 * text2.[Ch] (fullRebreak): make it return void now that we always
6092 2002-04-30 Juergen Vigna <jug@sad.it>
6094 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6095 ert compatibility check for "latex" layout.
6097 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6099 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6100 minipages: use col% instead of p%, and also use the current font.
6101 (makeLaTeXFile): Fix use babel condition.
6102 (parseSingleLyXformat2Token): Correct font when reading old floats.
6104 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6106 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6107 inserting list of floats.
6109 2002-04-25 Herbert Voss <voss@lyx.org>
6111 * MenuBackend.C (expand): don't add the graphics extensions to the
6114 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6116 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6117 non-existing layout, do not complain if it was the default layout
6118 of the original class (bug #342)
6120 2002-04-24 Juergen Vigna <jug@sad.it>
6122 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6123 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6125 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6127 * buffer.C (getBibkeyList): If using \bibliography, return the
6128 option field with the reference itself. Enables us to provide natbib
6129 support when using \bibliography.
6131 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6133 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6135 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6136 natbib is provided by the LaTeX class.
6138 2002-04-23 Juergen Vigna <jug@sad.it>
6140 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6143 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6145 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6147 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6149 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6150 ensuremath around textordmasculine, textordfeminine and
6153 2002-04-19 Juergen Vigna <jug@sad.it>
6155 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6156 reinitializing the buffer otherwise row-dimensions may be wrong.
6157 (update): reset also the selection cursors if they do exits otherwise
6158 their x/y positions may be wrong.
6160 * text2.C (cursorDown): don't enter the inset if we came from a row
6161 above and are one row over the inset.
6163 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6164 really leaving an inset.
6166 2002-04-18 Juergen Vigna <jug@sad.it>
6168 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6169 of the selected paragraph does not have the selected layout also if
6172 * text2.C (setLayout): fixed bug which did not change last selected
6175 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6176 changed the read and substituted \\end_float with \\end_inset!
6178 * BufferView_pimpl.C (cursorPrevious):
6179 (cursorNext): fixed to make it work with rows heigher than the work
6180 area without moving the cursor only the draw of the row.
6181 (workAreaMotionNotify): fix jumping over high rows.
6183 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6185 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6188 2002-04-16 Juergen Vigna <jug@sad.it>
6190 * text2.C (setCursor): set also the irow().
6191 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6193 (cursorDown): support for locking an inset if the x_fix value goes
6194 inside it. That way I can transverse insets too with cursor up/down.
6196 * lyxrow.h: added irow helper function same as other (i) functions.
6198 * BufferView_pimpl.C (cursorPrevious):
6199 (cursorNext): fixed for insets!
6201 2002-04-15 Juergen Vigna <jug@sad.it>
6203 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6204 position otherwise it is wrong in some cases.
6206 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6207 inside the inset before the call.
6209 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6211 * buffer.[Ch] (getBibkeyList): make it const.
6213 2002-04-12 Juergen Vigna <jug@sad.it>
6215 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6217 * text2.C (getCursorX): new helper function
6218 (setCursor): compute also ix_
6219 (setCursorFromCoordinates): set also ix.
6221 * lyxcursor.h: added ix_ and helper functions.
6223 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6225 * buffer.C (insertStringAsLines): dont break paragraph if the this
6226 paragraph is inside an inset which does not permit it!
6228 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6229 also with no chars on this paragraph.
6230 (paintRowText): only paint stuff if it's inside the workarea!
6232 * paragraph.C (breakParagraph): honor keepempty flag and break the
6233 paragraph always below not above.
6235 * BufferView2.C (unlockInset): update the paragraph layout on inset
6236 unlock as we changed paragraph in such a case.
6238 * lyxfind.C (LyXFind): clear the former selection if not found!
6240 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6241 again called in insertChar().
6243 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6244 an inset which uses the whole row!
6245 (rightMargin): ditto.
6246 (insertChar): force a rebreak if we inserted an inset!
6248 2002-03-28 Herbert Voss <voss@lyx.org>
6250 * lyxlength.[Ch]: add inBP() to get the right PS-point
6251 units (BigPoint). With inPixels we have rounding errors
6253 2002-04-11 Juergen Vigna <jug@sad.it>
6255 * text2.C (setCursorFromCoordinates): set iy to the right value.
6256 (setCursor): add check if row->previous exists!
6258 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6259 an old float_type as this was the case in the old code!
6261 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6263 * BufferView2.C (showLockedInsetCursor): use iy
6264 (fitLockedInsetCursor): ditto
6266 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6267 locked insets as there we have the right value now.
6269 * lyxcursor.C: added iy_ variable and iy functions to set to the
6270 baseline of cursor-y of the locked inset.
6272 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6273 (setCursor): fixed for insets which need a full row.
6275 * text.C (rowLastPrintable): don't ignore the last space when before
6276 an inset which needs a full row.
6277 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6278 as last character of a row when before a inset which needs a full row.
6280 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6282 * version.C.in: update date
6284 * text2.C (fullRebreak): try to always return true and see what
6287 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6289 * MenuBackend.C (expand): use Floating::listName
6291 * FloatList.C (FloatList): add listName argument to the built-in
6294 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6295 text associated with the float.
6297 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6299 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6301 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6303 * ShareContainer.h: add a couple of missing typenames.
6305 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6307 * lyxrc.C (getDescription): use _() correctly rather than N_().
6309 2002-03-28 Herbert Voss <voss@lyx.org>
6311 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6312 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6314 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6316 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6317 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6319 2002-03-29 Juergen Vigna <jug@sad.it>
6321 * lyxfunc.C (dispatch): add a missing fitCursor call.
6323 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6324 it was scrolled by a cursor move, so return the bool status.
6326 * BufferView.C (fitCursor): return the bool flag also to the outside
6327 world as this is needed.
6329 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6331 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6332 call the edit() as it is not needed (and wrong) IMO.
6333 (workAreaButtonPress): set the screen_first variable before evt.
6334 unlock the inset as this may change screen_first and then we have
6335 a wrong y position for the click!
6337 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6339 * MenuBackend.C (expand): another translation that I missed
6341 2002-03-28 Juergen Vigna <jug@sad.it>
6343 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6345 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6347 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6349 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6351 * MenuBackend.C (expand): fix export/view/update when there is no
6354 2002-03-27 Herbert Voss <voss@lyx.org>
6356 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6359 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6361 * bufferview_funcs.C (currentState): only show paragraph number
6362 for is DEVEL_VERSION is set.
6364 * lyxfunc.C (dispatch): put warning in INFO channel
6366 * MenuBackend.C (expand): translate the name of floats
6368 * FloatList.C (FloatList): mark the float names for translation
6370 * converter.C (convert): use LibScriptSearch
6372 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6374 * MenuBackend.C (defaults): fix default menu (we might as well get
6377 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6379 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6382 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6384 * lyxvc.C: reorder includes.
6386 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6388 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6391 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6393 * CutAndPaste.C: change layouts earlier on paste
6394 to avoid crashing when calling getFont()
6396 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6398 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6401 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6403 * WorkArea.C: remove 'Pending' debug message.
6405 * most files: ws cleanup
6407 * buffer.[Ch]: ws changes
6409 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6411 2002-03-21 Juergen Vigna <jug@sad.it>
6413 * tabular.C (SetMultiColumn): collapse also the contents of the
6414 cells and set the last border right. Added a Buffer const * param.
6416 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6418 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6421 2002-03-19 Juergen Vigna <jug@sad.it>
6423 * text2.C (clearSelection): reset also xsel_cache.
6425 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6426 where it needs to be called (John tells us to do so too :)
6427 (selectionLost): reset sel_cache.
6429 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6431 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6433 * text2.C (setCursorIntern): put debuging code in INSETS channel
6435 2002-03-19 André Pönitz <poenitz@gmx.net>
6437 * lyxfunc.C: tiny whitespace change
6439 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6441 * ToolbarDefaults.C (init):
6442 * LyXAction.C (init):
6444 * BufferView_pimpl.C (Dispatch):
6445 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6447 2002-03-19 Allan Rae <rae@lyx.org>
6449 * exporter.C (Export): removeAutoInsets before doing anything else.
6450 While I've just introduced a dependency on BufferView this really is
6451 the best place to clean the buffer otherwise you need to cleanup in
6452 a dozen places before calling export or cleanup in a dozen functions
6455 * converter.C (runLaTeX):
6456 (scanLog): Better handling of removeAutoInsets and screen updates.
6458 * lyxfunc.C (dispatch): small whitespace changes
6460 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6462 * WorkArea.C (C_WorkAreaEvent): return a value.
6463 (event_cb): return 1 if we handled the event, 0 otherwise.
6465 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6467 2002-03-18 Juergen Vigna <jug@sad.it>
6469 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6470 (GetAdditionalWidth): ditto.
6474 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6475 inset if we're there actually (probably not used right now but this
6476 is the direction to go for unifying code).
6477 (paste): disable code to clear the selection.
6479 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6480 inside an InsetText and move the check further up as it is in the
6483 * text2.C (pasteSelection): set a selection over the pasted text.
6485 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6487 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6488 and libgraphics to build on Cygwin.
6490 2002-03-15 Juergen Vigna <jug@sad.it>
6492 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6493 inserting an Inset into the paragraph. I know this is not the best
6494 fix but we already use current_view in CutAndPaste so we will remove
6495 all of it's using at the same time.
6497 * buffer.C (sgmlError): deactivated function till it is rewritten in
6498 the right mode, now it can create problems.
6500 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6501 before accessing it.
6503 2002-03-14 Juergen Vigna <jug@sad.it>
6505 * undo_funcs.C (textHandleUndo): do the right thing when updating
6506 the inset after the undo/redo.
6508 * text2.C (setCursor): just some testcode for #44 not ready yet.
6510 * undo_funcs.C (textHandleUndo): set the next() and previous()
6511 pointers of the paragraph to 0 before deleting otherwise we have
6512 problems with the Paragraph::[destructor].
6514 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6515 on a paragraph insertion.
6517 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6519 * buffer.C (asciiParagraph): use += operator for char append to
6522 * paragraph.C (getFontSettings): compare >= not just >
6523 (highestFontInRange): ditto
6526 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6528 * paragraph.C: change several algorithm to be more appripriate for
6529 the problem domain. This is lookip in FontList and in the InsetList.
6531 2002-03-13 André Pönitz <poenitz@gmx.net>
6534 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6536 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6541 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6543 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6545 * Painter.C (display): anon helper function, adjust code for this
6547 (pixmap): remove function.
6549 * Painter.h: remove private display variable.
6551 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6553 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6555 * WorkArea.[Ch]: remove figinset_canvas cruft.
6557 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6559 * lyxtextclass.C (operator): add one item cache optimization.
6561 * bufferlist.h: doxy changes
6563 * bufferlist.C: ws changes
6565 * DepTable.[Ch] (ext_exist): place const in the right spot.
6567 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6569 (workAreaExpose): call resizeInsets when the with BufferView changes.
6570 (Dispatch): adjust for protectedBlank removal
6571 (specialChar): call updateInset if the insert went ok.
6573 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6574 specialChar instead.
6576 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6578 * BufferView.h: doxy change
6580 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6582 * lyxtextclass.C (operator[]): remove non-const version
6583 (defaultLayout): remove non-const version
6585 2002-03-12 Juergen Vigna <jug@sad.it>
6587 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6588 did resize the LyXText too.
6590 * buffer.C (readLyXformat2): set layout information on newly allocated
6593 * tabular.C (OldFormatRead): set layout information on the paragraph.
6595 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6597 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6599 2002-03-11 Juergen Vigna <jug@sad.it>
6601 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6603 (resizeCurrentBuffer): force also the insets to resize themselfes.
6604 (moveCursorUpdate): fixed up for InsetText.
6606 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6609 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6610 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6611 value of Dialogs::tooltipsEnabled().
6612 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6614 2002-03-08 Juergen Vigna <jug@sad.it>
6616 * BufferView_pimpl.C (updateInset): update inset inside inset also
6617 if it isn't inside theLockingInset().
6619 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6621 * buffer.C (asciiParagraph): redo some of the word and line length
6623 (getLists): look for Caption instead of caption.
6625 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6627 * buffer.C (Buffer): initialize niceFile to true
6630 (makeDocBookFile): make sure niceFile is true on exit
6632 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6634 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6636 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6638 * LyXSendto.C: remove.
6639 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6640 * lyx_gui.C: remove now-redundant comment.
6641 * ColorHandler.h: remove forward declaration of class WorkArea.
6642 * lyxfunc.C: remove #include "WorkArea.h".
6644 2002-03-07 Juergen Vigna <jug@sad.it>
6646 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6647 got moved away with the DEPM and also set the inset_owner always
6648 right which before could have been omitted.
6650 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6652 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6653 wanted layout is not found.
6655 2002-03-07 Juergen Vigna <jug@sad.it>
6657 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6659 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6661 * paragraph.C (breakParagraph): use default layout not layout of
6663 (Paragraph): clear ParagraphParameters.
6665 2002-03-06 Juergen Vigna <jug@sad.it>
6667 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6668 otherwise it would not be a valid lenght. Fixed a special case in
6669 the minipage compatibility read where we end the document with a
6672 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6673 was set as it could be 0 for InsetTexts first entry.
6675 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6677 * paragraph.C (writeFile): if layout is empty write out
6678 defaultLayoutName().
6680 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6681 file without named layout we set layout to defaultLayoutName().
6683 2002-03-06 Juergen Vigna <jug@sad.it>
6685 * CutAndPaste.C (copySelection): set layout for new paragraph.
6687 * text.C (prepareToPrint): leave ERT inset left aligned
6688 (leftMargin): don't indent paragraphs inside ERT insets
6690 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6692 * paragraph.C (breakParagraph): dont call clear do the work manually
6694 * paragraph.[Ch] (clear): remove function
6696 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6698 * paragraph.C (Paragraph): dont call clear, the work has already
6701 * lyxtextclass.C (operator): assert if n is empty
6703 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6704 work manually instead.
6706 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6708 * BufferView_pimpl.C: protect selectionLost against text == 0
6710 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6712 * text.C (breakParagraph): fix a setting layout to '0' problem.
6714 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6716 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6717 final location of file, for the included files, and graphics.
6719 2002-03-05 Juergen Vigna <jug@sad.it>
6721 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6723 2002-03-04 Juergen Vigna <jug@sad.it>
6725 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6727 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6728 last column of multicolumn cells.
6729 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6731 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6733 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6734 file if it doesn't go to a temporary file.
6736 * buffer.C (sgmlOpenTag):
6737 (sgmlCloseTag): remove extra newline insertion.
6739 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6741 * text.C (getRowNearY): comment out debug msg
6743 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6745 * text2.C: first -> first_y
6747 * text.C (getRowNearY): add some attemts at a possible
6748 optimization, not working.
6750 * tabular.[Ch]: add BufferParams to several function so that newly
6751 created paragraph can be initialized to he default layotu for the
6754 * tabular-old.C (ReadOld): add buf->params to call of Init
6756 * screen.C: rename text->first to text->first_y
6758 * paragraph.C (breakParagraph): always set layout in the broken
6761 * lyxtextclass.C (Read): remove lowercase
6764 (delete_layout): ditto
6766 * lyxtext.h: rename first -> first_y
6768 * lyxlayout.C (Read): remove lowercase
6771 (obsoleted_by): ditto
6773 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6775 * buffer.C (insertErtContents): add params are to InsetERT
6776 (parseSingleLyXformat2Token): add code to check if a paragraphs
6777 layout really exist.
6778 (parseSingleLyXformat2Token): add params to several inset
6780 (asciiParagraph): remove lowercase, do the layout comparisons with
6783 * BufferView_pimpl.C (cursorNext): first -> first_y
6784 (resizeCurrentBuffer): first -> first_y
6785 (updateScrollbar): first -> first_y
6786 (scrollCB): first -> first_y
6787 (workAreaMotionNotify): first -> first_y
6788 (workAreaButtonPress): first -> first_y
6789 (checkInsetHit): first -> first_y
6790 (cursorPrevious): first -> first_y
6791 (cursorNext): first -> first_y
6792 (Dispatch): add buffer_->params to severl inset contructors
6794 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6796 * lyxlayout.C (Read): remove some debug info that I forgot.
6798 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6799 clean up the code slightly.
6800 (makeLinuxDocFile): ditto
6801 (makeDocBookFile): ditto
6803 * text2.C: layout as string
6805 * text.C: layout as string
6807 * paragraph_pimpl.C: layout as string
6809 * paragraph.[Ch]: layout as string
6811 * lyxtextclasslist.[Ch]: layout as string
6813 * lyxtextclass.[Ch]: layout as string
6815 * lyxtext.h: layout as string
6817 * lyxlayout.[Ch]: layout as string
6819 * lyx_cb.C: layout as string
6821 * bufferview_funcs.C: layout as string
6823 * bufferparams.C: layout as string
6825 * buffer.C: layout as string
6827 * LyXView.[Ch]: layout as string
6829 * LaTeXFeatures.[Ch]: layout as string
6831 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6833 * BufferView_pimpl.C: change current_layout to string, remove
6838 (workAreaButtonRelease): layout as string
6840 * BufferView2.C (unlockInset): adjust
6842 * vspace.C (asLatexCommand): use an explict temp variable.
6844 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6846 * Makefile.am: use FRONTEND_*
6848 2002-03-01 Juergen Vigna <jug@sad.it>
6850 * tabular.C (SetWidthOfMulticolCell): changed to something better
6851 I hope but still work in progress.
6852 (recalculateMulticolumnsOfColumn): renamed function from
6853 recalculateMulticolCells as it is more appropriate now.
6854 (SetWidthOfCell): calculate multicols better.
6856 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6858 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6860 * lyxfunc.C (processKeySym): print sequence also if it is
6861 `deleted' (complete)
6863 * kbsequence.C (print): print sequence even if it is deleted
6864 (complete would be a better word, actually).
6866 * lyxfunc.C (dispatch): print complete options after a prefix key
6868 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6870 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6872 * text2.C (setCharFont): eliminate setCharFont code duplication.
6874 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6876 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6877 LFUN_TABULAR_FEATURE (bug #177)
6879 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6881 * Makefile.am: remove figure.h
6883 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6885 * Bufferview_pimpl.C:
6897 * text2.C: remove #include "lyx_gui_misc.h".
6899 * LaTeX.C: added #include <cstdio>
6901 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6903 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6904 that the paragraph following this one can have.
6906 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6908 * vspace.C (asLatexCommand): fix bogus gcc warning
6910 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6912 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6914 * text2.C (setLayout): get rid of redundant code
6916 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6918 * text2.C (incDepth): make sure depth cannot be increased beyond
6921 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6923 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6924 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6926 * PainterBase.h (image):
6927 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6930 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6934 * BufferView_pimpl.C:
6935 * BufferView_pimpl.h:
6955 * sp_spell.C: remove fig inset, and the crap house of
6956 cards that follows it
6958 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6964 * nt_defines.h: move .h into support/
6966 * vms_defines.h: remove
6968 * WorkArea.C: add space in debug output
6972 * buffer.C: add WITH_WARNINGS
6976 * bufferlist.C: s/retrive/retrieve/, add docs
6987 * lyxgui.C: add ID to X error handler
6989 * lyxtestclass.c: fix typo
6991 2002-02-26 Juergen Vigna <jug@sad.it>
6993 * tabular_funcs.C (write_attribute): changed so that some default
6994 attributes are not written at all.
6995 (getTokenValue): set default values before trying to read the
6996 value so we have the return value always set as default if we don't
6997 find the token we search for.
6999 * tabular.C (Write): write bools as bools not as strings!
7001 2002-02-22 Juergen Vigna <jug@sad.it>
7003 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7004 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7006 * text.C (leftMargin): don't add an indent for paragraphs inside
7007 tabular cells (fix #208).
7009 2002-02-21 José Matos <jamatos@fep.up.pt>
7011 * tabular.C (docBook): fixed support for long tables.
7013 2002-02-20 Juergen Vigna <jug@sad.it>
7015 * text2.C (getFont): get the drawing font of the Inset if this
7016 paragraph is inside an inset (only important for InsetERT for now).
7018 * buffer.C (insertErtContents): use new lanugage params in ERT
7021 * CutAndPaste.C: commenting out seemingly uneeded code.
7023 2002-02-19 Allan Rae <rae@lyx.org>
7025 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7026 Iterators might be simple to use but they also get invalidated.
7027 (removeAutoInsets): renamed saved cursor tracking variables and added
7028 some comments to clarify what everything does.
7030 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7037 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7038 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7041 * vc-backend.h: remove #include "support/syscall.h"
7045 * converter.C: rearrange #includes in Lars' approved fashion.
7047 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7048 forward declare class Timeout in the header file.
7050 * XFormsView.C: changes due to the above.
7052 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7055 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7056 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7058 2002-02-18 José Matos <jamatos@fep.up.pt>
7060 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7063 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7065 * a lot of small ws changes
7066 * add a lot of using std::XXX
7067 * use std construcs some places where approp.
7068 * use some exisint stuff from lyxfunctional where approp.
7069 * Make file changes to use partial linking (lets test this now...)
7071 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7075 remove #include "support/syscontr.h" as it's redundant. Always has been.
7083 change Systemcalls::System to Systemcalls::Wait and
7084 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7085 No change of functionality, just reflects the stripped down Systemcalls
7088 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7090 * debug.[Ch]: add a GRAPHICS type to the enum.
7092 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7094 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7096 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7099 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7101 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7102 match the changes below.
7104 * text2.C (toggleInset): if there is not editable inset at cursor
7105 position, try to see if cursor is _inside_ a collapsable inset
7108 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7110 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7111 document menu has a nice checkbox
7113 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7115 * lyxlength.C (asLatexString): change PW to output as percent of
7118 * lengthcommon.C: change '%' to 't%'
7120 * lyxfunc.C (dispatch): a few comments from Martin
7122 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7126 * BufferView_pimpl.h:
7127 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7130 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7132 * vspace.C (inPixels): fix compiler warning
7134 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7136 * lyxfunc.C (getStatus): fix status message for disabled commands.
7138 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7140 * BufferView_pimpl.C: fix crash on close buffer
7141 during selection (#227)
7143 2002-01-27 Herbert Voss <voss@lyx.org>
7145 * buffer.C: link old Figure to new graphic inset
7147 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7149 * FontLoader.C (getFontinfo): Change the latex font names in order
7150 to match the names of type1inst.
7152 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7154 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7156 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7159 (remove_files_with_extension): ditto
7160 (remove_file): ditto
7163 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7164 document is smaller than the work area height. Do not initialize
7165 static variables to 0.
7167 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7169 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7171 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7172 LFUN_LAYOUT_PARAGRAPHS.
7174 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7175 tabular. It is possible to provide a possible cell, which will
7176 typically be the actcell from the corresponding insettabular
7178 * lyxfunc.C (getStatus): small cleanup; disable
7179 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7182 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7184 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7186 * paragraph.C (startTeXParParams):
7187 (endTeXParParams): new methods. The LaTeX code to
7188 start/end paragraph formatting
7189 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7190 empty (fixes bug #200)
7192 * vspace.C (inPixels): adapt to the change below
7193 (inPixels): [later] more cleanups (remove unused variables)
7195 * lyxlength.C (inPixels): change to use a width and a height as
7198 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7200 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7201 Replaced with \paperwidth
7203 * DepTable.C (insert): add std:: qualifier
7205 2002-01-18 Allan Rae <rae@lyx.org>
7207 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7210 * text.C (drawInset): Turned out I didn't know enough about how
7211 rebreaking worked. This fixes most of the redraw problems. I see
7212 an occasional cursor trail when a line is broken now and the cursor
7213 placement can seem out by a few pixels also after a rebreak.
7215 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7217 * buffer.C (parseSingleLyXformat2Token): update because minipage
7218 width is now a LyXLength
7220 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7222 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7225 2002-01-17 Juergen Vigna <jug@sad.it>
7227 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7229 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7230 is set correctly and the inset is updated correctly.
7232 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7234 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7235 the beginning of the loop.
7237 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7239 * lyxrc.C: improve help for use_scalable_fonts
7241 2002-01-17 Allan Rae <rae@lyx.org>
7243 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7245 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7247 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7248 make sure to set their inset_owner to the right value (bug #171)
7250 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7253 * DepTable.C: Implement mtime checking to reduce time spent doing
7256 2002-01-16 Juergen Vigna <jug@sad.it>
7258 * tabular.C (GetAdditionalHeight): one of error fixed.
7260 * lyxrc.C (output): small fix in writing use_pspell.
7262 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7264 * sp_base.h: #include LString.h
7266 2002-01-16 Allan Rae <rae@lyx.org>
7268 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7269 Can someone check this please?
7271 * text.C (drawInset): It was possible that p.row would be removed by
7272 breakAgainOneRow upsetting a few other settings. There may be another
7273 small tweak possible by setting need_break_row = 0 when p.row has been
7274 removed but I don't know enough about the logic here.
7276 2002-01-15 Allan Rae <rae@lyx.org>
7278 * text.C (insertChar): removed conditional truism.
7280 * BufferView2.C (removeAutoInsets): More tweaks.
7281 cur_par_prev could be a stray pointer. Check for trailing empty line
7282 in case last line was cur_par and only had an error inset on it.
7284 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7286 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7289 * vc-backend.C (most methods):
7290 * exporter.C (Export):
7291 * converter.C (convert):
7293 * LyXSendto.C (SendtoApplyCB):
7294 * lyxfunc.C (dispatch):
7298 * lyx_cb.C (AutoSave):
7300 * BufferView_pimpl.C (MenuInsertLyXFile):
7301 * buffer.C (runChktex): use Buffer::filePath().
7303 * buffer.h: rename filename to filename_; rename filepath to
7304 filepath_ and make it private
7305 (filePath): new method
7307 * buffer.C (writeFile): use fileName()
7310 * lyx_main.C (init): fix starting of LyX when the binary is a
7311 link from so,ewhere else.
7313 * minibuffer.C: include <cctype> for isprint
7315 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7317 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7318 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7319 name clash with InsetCollapsable's width function.
7321 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7323 * lastfiles.C: include <iterator>
7325 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7327 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7330 * buffer.C (makeLaTeXFile): ditto.
7331 Also make loop operation more transparent.
7333 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7335 * ToolbarDefaults.C: remove trailing comma closing namespace.
7337 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7339 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7342 * trans.C (Load): comment out unused variable, allowed.
7344 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7346 * minibuffer.[Ch] (append_char): new method to recieve input from the
7347 drop-down completion browser. If a key was pressed, then recieve this
7348 char and append it to the existing string.
7349 (peek_event): modify the positioning data passed to the completion
7350 browser so that it can be placed above the minibuffer rather than below.
7351 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7353 * LyXAction.C (init): alloe error-next for readonly documents.
7355 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7358 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7360 * bufferlist.C (readFile): create the buffer _after_ checking that
7363 * lyxfunc.C (verboseDispatch): fix handling of arguments
7365 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7367 * lyxrc.C: use string::erase() instead of initializing to "".
7370 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7372 * BufferView_pimpl.h:
7373 * BufferView_pimpl.C:
7376 * text2.C: tell X when we have made a selection for copying
7378 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7380 * BufferView_pimpl.C (MenuInsertLyXFile):
7381 * lyxfunc.C (menuNew):
7383 (doImport): add shortcuts to directory buttons
7385 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7388 * lyxfunc.C (setStatusMessage):
7389 (getStatusMessage): new methods
7390 (getStatus):use setStatusMessage instead of setErrorMessage
7391 (dispatch): when function is disabled, set error message here
7392 [instead of in getStatus previously]
7394 * BufferView_pimpl.C (workAreaButtonRelease): update
7395 toolbar/menubar here too.
7397 2002-01-13 Allan Rae <rae@lyx.org>
7399 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7400 Now seems indestructible. Remaining task is to audit all other
7401 code affected by deleteEmptyParagraphMechanism. One small quirk
7402 left is that an empty document with an error in the preamble can
7403 be made to report an error but no error box appears. I don't know
7405 (removeAutoInsets): Improved comments.
7407 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7410 * Thesaurus.C: update for Aiksaurus 0.14
7412 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7414 * text2.C (firstParagraph): removed member function, all uses
7415 replaces with ownerParagraph
7416 (redoParagraphs): here
7418 (toggleAppendix): here
7419 * BufferView2.C (insertErrors): here
7420 (setCursorFromRow): here
7422 2002-01-13 Allan Rae <rae@lyx.org>
7424 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7425 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7426 There is still a way to segfault this although you may have to do this
7427 multiple times: Have an InsetERT with an unknown command in it.
7428 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7429 <down-arrow>, <Enter> again, View->DVI, BANG!
7431 * text2.C (setCursor):
7432 (deleteEmptyParagraphMechanism):
7433 * lyxtext.h (setCursor):
7434 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7435 Making use of the return value may help fix other bugs.
7437 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7439 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7441 * LyXView.C (updateMenubar): call MenuBar::update here
7442 (updateToolbar): but not here
7443 (showState): do not update toolbar/menubar
7445 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7446 should need to care about that.
7448 * lyxfunc.C (verboseDispatch): simplify a bit
7449 (getStatus): have a version which takes a pseudoaction, and
7450 another which requires a (kb_action,string).
7452 * LyXAction.C (retrieveActionArg): make it work also when action
7453 is not a pseudo-action.
7454 (getActionName): simplify a bit
7457 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7459 * lyxfunc.C (verboseDispatch): new families of methods with
7460 several ways to specify a command and a bool to indicate whether
7461 the command name and shortcut should be displayed in minibuffer
7462 (eventually, we could extend that to a finer bitmask like
7463 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7464 (dispatch): the pristine dispatch command which just, well,
7465 dispatchs! Note it still sets its result to minibuffer; I'm not
7468 * lyxfunc.h: remove setHintMessage
7470 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7472 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7474 * BufferView_pimpl.C (specialChar): delete new inset if we have
7475 not been able to insert it.
7477 * kbmap.C: revert to using int instead of kb_action, since all we
7478 are dealing with is pseudo-actions.
7480 * LyXAction.C (searchActionArg): change to return int instead of
7481 kb_action, since the result is a pseudoaction.
7483 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7485 * buffer.C (insertErtContents): Fix (partially) the font bug.
7487 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7489 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7490 as the other one is broken on my machine!
7492 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7495 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7497 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7499 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7500 reflect their actual use. Provide compatibility code for older lyxrc
7503 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7505 change names of popup font variables in line with the changes to lyxrc.C
7507 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7509 * buffer.C (asciiParagraph): avoid outputing a word twice after
7512 * lyxrc.C (getDescription): document that document_path and
7513 template_path can be empty.
7515 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7517 * LaTeXFeatures.C (getMacros):
7518 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7520 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7522 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7524 (getPackages): rename feature "floats" to "float". Use an array to
7525 iterate over 'simple' features (i.e. just a \usepackage). Add
7526 handling of "amsmath" (renamed from "amsstyle").
7528 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7530 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7533 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7535 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7536 FuncStaus::FuncStatus & FuncStaus::some_method().
7538 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7540 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7541 of the func_satus stuff. Edited and massaged in various ways by
7544 * lyxfunc.C (getStatus): use FuncStatus
7546 2002-01-08 Juergen Vigna <jug@sad.it>
7548 * text.C (nextBreakPoint): use function Inset::isChar().
7550 * paragraph.C (TeXOnePar): use function
7551 Inset::forceDefaultParagraphs.
7553 * buffer.C (latexParagraphs): use function
7554 Inset::forceDefaultParagraphs.
7556 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7558 * lyx_gui.C (init): set the style of the menu popups to
7559 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7561 2002-01-07 Juergen Vigna <jug@sad.it>
7563 * text.C (setHeightOfRow): small fix
7564 (prepareToPrint): don't look at alignment if we don't have the place
7567 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7569 * box.C: New file. Move the Box methods and functions out of box.h,
7570 following Lars' suggestion.
7572 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7574 * box.h: #include "support/LOstream.h", needed for inlined function.
7577 * lyxtextclasslist.C: added some using std declarations.
7579 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7581 * box.h: make signed dimensions to allow insets wider than
7582 the screen (bug #162)
7584 * BufferView_pimpl.C: add some insetHit debug
7586 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7588 * vc-backend.C: add FIXME
7590 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7592 * lyxfunc.C (getStatus): enable code for showing math font status
7595 2002-01-07 Juergen Vigna <jug@sad.it>
7597 * text.C (nextBreakPoint): removed debug output not needed anymore.
7599 2002-01-06 Juergen Vigna <jug@sad.it>
7601 * text.C (nextBreakPoint): fixed up this function we had this bug
7602 since ever but now hopefully we break row better.
7603 (insertChar): we have to check if an inset is the next char as it
7604 could now happen that a large inset is causing a break.
7606 2002-01-05 Juergen Vigna <jug@sad.it>
7608 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7609 if it doesn't like to be drawed.
7611 2002-01-04 Juergen Vigna <jug@sad.it>
7613 * BufferView2.C (lockInset): forgot to set a cursor.
7615 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7617 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7622 * form_maths_panel.C:
7623 * form_maths_panel.h:
7624 * form_maths_panel.fd: implemented sub- and super- buttons in math
7627 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7628 (or ^ space) to be used as in TeX (req'd by André).
7630 * lyxfunc.C: Allow ^ and _ again to be used both as
7631 super/subscript (mathed) and as themselves (in text).
7633 2002-01-03 Allan Rae <rae@lyx.org>
7635 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7636 "LyX" or the filename of the current buffer if it has one. This is a
7637 modified form of John Levon's patch.
7639 * XFormsView.C (setWindowTitle): also set icon title.
7641 * LyXView.h (setWindowTitle): signature changed.
7642 * XFormsView.h (setWindowTitle): ditto.
7644 2002-01-02 Juergen Vigna <jug@sad.it>
7646 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7648 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7650 * screen.C (topCursorVisible): introduce a temp var for
7651 text->cursor.row(), handle the case where this row is null. (kindo
7654 * text2.C (setCursor): add a couple of asserts.
7656 * paragraph.h (inset_iterator): add -> operator
7658 * paragraph.[Ch] (autoDeleteInsets): remove member function
7660 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7661 cursor pos correctly and handle inset deletion by itself.
7662 (insertErrors): move iterator declaration out of for expression
7664 * lyxtextclass.C: add <algorithm>
7666 * Makefile.am: added the new files to sources, removed layout.C
7668 * layout.C: removed file
7670 * layout.h: remove LYX_DUMMY_LAYOUT
7672 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7676 * lyxtextclass.[Ch]:
7677 * lyxtextclasslist.[Ch]: new files
7679 * include order changes to a lot of files, also changes because of
7682 2001-12-27 Juergen Vigna <jug@sad.it>
7684 * buffer.C (asciiParagraph): more fixes.
7686 * tabular.C (ascii): make ascii export support export of only the
7687 data separated by a column-delimiter.
7688 (ascii): better support for ascii export.
7690 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7692 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7694 * tabular_funcs.C: use a "using std::getline" instead of the
7695 previous fix from Angus (necessary for cxx + lyxstring)
7697 2001-12-24 Juergen Vigna <jug@sad.it>
7699 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7701 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7702 problems. First check a minipage also if we have some ert-contents
7703 (not only on par->size(), second set the right depth of the paragraph
7704 on the relink to the root-paragraph-list!
7706 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7707 which then did not anymore update the main paragraphs on undo/redo!
7709 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7711 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7712 code. Support all font-changing funcs (even those which are not in
7713 menu currently). Support for reporting font settings in
7714 mathed (disabled until Andre provides a function on mathed's side).
7716 * func_status.h (toggle): small helper function to set toggle
7719 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7721 * tabular_funcs.C: getline -> std::getline
7723 2001-12-21 Juergen Vigna <jug@sad.it>
7725 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7726 accessed and could be 0 (I couldn't generate this but it seems
7729 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7731 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7732 * tabular_funcs.h: here and include iosfwd
7734 2001-12-20 Juergen Vigna <jug@sad.it>
7736 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7737 inside inset but undo_par was.
7739 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7741 * Thesaurus.C: always include <config.h> in sources.
7745 * box.h: do not include <config.h> in header files
7747 * text.C (paintLastRow): remove unused variable
7749 * text.C (transformChar):
7751 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7754 * font.C (width): rewrite to use uppercase() instead of
7757 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7759 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7761 * lyxfind.C: clean up of find failure position change
7763 2001-12-20 Juergen Vigna <jug@sad.it>
7765 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7767 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7768 (TeXRow): added to LaTeX a single tabular row.
7769 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7770 (Latex): simplified and finally good LT-h/f support.
7771 (various_functions): just small adaptions for LT-h/f support.
7773 * tabular_funcs.[hC]: added and moved here all not classfunctions
7776 2001-12-19 Juergen Vigna <jug@sad.it>
7778 * tabular.[Ch]: better support for longtabular options (not finished
7781 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7783 * text.C (paintLastRow): use the label font instead of the font of
7784 the last character to compute the size of *_BOX. This makes more
7785 sense and avoids a crash with empty paragraphs.
7786 Use Painter::rectangle to draw EMPTY_BOX.
7788 2001-12-19 Juergen Vigna <jug@sad.it>
7790 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7791 the paragraphs if the replaced paragraph is not the first one!
7792 Tried to delete not used paragraphs but does not work yet so for
7793 now it's inside #ifdef's and by default off!
7795 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7797 * MenuBackend.C: include "lyx_main.h" instead of declaring
7798 lastfiles (actually was declared as LastFiles* instead of a
7801 2001-12-17 Juergen Vigna <jug@sad.it>
7803 * tabular.C (AppendColumn): applied John's fix
7805 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7809 * BufferView_pimpl.h:
7810 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7813 * box.h: new start of class for above
7815 * lyxfunc.C: ignore space-only minibuffer dispatches.
7816 Show the command name when it doesn't exist
7818 * minibuffer.C: don't add empty lines to the history
7820 * minibuffer.C: add a space on dropdown completion
7822 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7824 * text.C: fix line above/below drawing in insets
7826 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7828 * lyxlength.C (LyXLength): Initialize private variables.
7830 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7832 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7833 when inserting error insets.
7835 2001-12-13 Juergen Vigna <jug@sad.it>
7837 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7838 actually sometimes the before-paragraph.
7839 (setUndo): don't clear the redostack if we're not actually undoing!
7841 2001-12-06 Juergen Vigna <jug@sad.it>
7843 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7844 and fixed redoing of main paragraph, so we can use it now ;)
7846 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7848 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7850 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7853 2001-12-13 André Pönitz <poenitz@gmx.net>
7856 * undo_func.C: minor cleanup
7858 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7860 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7861 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7862 font in urw-fonts package which is marked as -urw-fontspecific and
7863 does not work (incidentally, changing the encoding in the
7864 fonts.dir of this package to -adobe-fontspecific fixes the
7867 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7868 is a crash when undoing first paragraph (Juergen, please take a
7869 look). THis does not mean the undo fix is wrong, just that it
7872 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7873 the (Paragraph*) version when needed instead of duplicating the
7876 * text.C (workWidth): use Inset::parOwner to find out where the
7877 inset has been inserted. This is a huge performance gain for large
7878 documents with lots of insets. If Inset::parOwner is not set, fall
7879 back on the brute force method
7881 * paragraph_pimpl.C (insertInset):
7882 * paragraph.C (Paragraph):
7883 (cutIntoMinibuffer): set parOwner of insets when
7884 inserting/removing them
7886 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7888 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7894 * mathed/formulabase.C:
7895 * mathed/math_cursor.[Ch]:
7896 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7899 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7901 * lyxlength.[Ch] (operator!=): new function
7903 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7905 * text.C (workWidth): use Inset::parOwner to find out where the
7906 inset has been inserted. This is a huge performance gain for large
7907 documents with lots of insets. If Inset::parOwner is not set, fall
7908 back on the brute force method
7910 * paragraph_pimpl.C (insertInset):
7911 * paragraph.C (Paragraph):
7912 (cutIntoMinibuffer): set parOwner of insets when
7913 inserting/removing them
7915 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7917 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7919 * tabular-old.C (getTokenValue):
7920 * tabular.C (getTokenValue):
7921 (write_attribute): new versions for LyXLength
7922 (everywhere): adjust the use of widths
7924 * tabular.h: change the type of widths from string to LyXLength
7926 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7928 * paragraph.C: fixed missing line number count when exporting
7929 Environments to LaTeX file
7931 * buffer.C: added informational message for checking line numbers.
7933 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7935 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7936 paragraph, do the 'double space' part, but not the 'empty
7939 * text.C (workWidth): small optimization
7940 (getLengthMarkerHeight): use minimal size for negative lengths.
7942 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7944 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7946 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7948 2001-12-11 André Pönitz <poenitz@gmx.net>
7951 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7953 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7955 * text2.C: keep selection on a setFont()
7957 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7959 * lyx_cb.C: another bv->text misuse, from insert label
7961 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7964 * kbsequence.C: re-instate nmodifier mask
7966 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7968 * lyx_main.h: make lyxGUI private.
7970 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7972 * lyxfind.C: place the cursor correctly on failed search
7974 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7976 * text.C (getLengthMarkerHeight): for small heights, the arrows
7977 are not always on top/bottom of the text
7978 (drawLengthMarker): smaller arrows; take the left margin in
7979 account; draw also vfills.
7981 (paintLastRow): remove special code for vfill and standard spaces,
7982 since everything is handled in drawLengthMarker now.
7984 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7986 * buffer.C (insertErtContents): try to handle font and language
7987 interaction a bit better.g
7989 * ColorHandler.C (updateColor): change the hash to cover the whole
7990 LColor enum, ws cleanup
7991 (getGCLinepars): ditto
7992 (getGCLinepars): only lookup in the linecache once.
7994 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7996 * iterators.C (operator++): Make the iterator more robust
7998 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8000 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8002 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8005 * text.C: better added space drawing
8007 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8010 * BufferView2.C: fix layout combo update on inset unlock
8012 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8014 * Makefile.am: don't compile unused files
8016 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8020 * LyXAction.C: remove old LFUN_LAYOUTNO
8022 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8024 * paragraph_pimpl.h:
8025 * paragraph_pimpl.C: isTextAt() doesn't need font param
8027 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8030 * lyxlex.C: little cleanup
8032 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8034 * BufferView_pimpl.C: fix insertAscii for insets
8036 2001-12-05 Juergen Vigna <jug@sad.it>
8038 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8039 set the right font on the "multi" paragraph paste!
8041 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8047 * lyxlength.C: remove out-commented code.
8063 * vc-backend.C: change "while(" to "while ("
8065 * lyxlength.[Ch]: add zero function to check if length is zero or
8067 * lyxgluelength.C: use it
8069 2001-12-05 Allan Rae <rae@lyx.org>
8071 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8072 Works for 2.95.3, from what I understand of Garst's reports this should
8073 work for other g++ versions. We're screwed if the abs(int) definition
8074 changed between bugfix releases of gcc.
8076 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8078 * text.C: fix chapter label offset !
8080 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8083 * text.C: fix hfill at end of line, clean up
8085 2001-12-04 Juergen Vigna <jug@sad.it>
8087 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8088 that we force an update of the inset and it's owners if neccessary.
8090 2001-12-03 Juergen Vigna <jug@sad.it>
8092 * text.C (rowLast): simplified code
8094 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8096 * lyxfunc.C: fix show options on timeout
8098 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8100 * screen.C (topCursorVisible): scroll half a page when the cursor
8101 reached top of bottom of screen
8103 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8105 * minibuffer.C: deactivate on loss of focus
8107 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8109 * vspace.[Ch] (operator!=): add operator.
8111 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8113 * BufferView_pimpl.C: refuse to open an inset when
8114 there's a selection.
8116 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8118 * BufferView_pimpl.C: allow to click on RHS of full row insets
8120 2001-11-30 Juergen Vigna <jug@sad.it>
8122 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8123 insets for undo reasons.
8125 2001-11-28 André Pönitz <poenitz@gmx.net>
8127 * vspace.[Ch]: cosmetical changes
8129 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8139 * kbsequence.C: part re-write of old kb code
8142 * WorkArea.C: remove Lgb_bug_find_hack
8144 2001-11-30 José Matos <jamatos@fep.up.pt>
8146 * buffer.C (makeDocBookFile): add a comment to point a hack.
8147 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8148 Fixed a double write of labels.
8150 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8153 * LaTeX.h Fixed bug in LaTeX class where it would not
8154 re-run latex if no depfiles were changed, but the .dvi was removed.
8156 2001-11-28 André Pönitz <poenitz@gmx.net>
8158 * all the files from the change on 2001/11/26:
8159 use lyx::layout_type instead of LyXTextClass::size_type
8160 use lyx::textclass_type instead of LyXTextClassList::size_type
8162 2001-11-29 Juergen Vigna <jug@sad.it>
8164 * text.C: added support for paragraph::isFreeSpacing()
8166 * buffer.C: same as above
8168 * paragraph.h: inserted isFreeSpacing() function to enable
8169 FreeSpacing inside InsetERT.
8171 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8172 of the paragraph's in the cut/copy buffer to 0!
8174 * text2.C (removeRow): remove the assert as it can!
8176 * lyxtext.h: added helper function firstRow returning firstrow and
8177 made firstrow private again.
8179 * BufferView2.C (lockInset): don't relock if we're already locked!
8181 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8183 (removeRow): added Assert::(firstrow)
8185 * debug.C: forgot to add INSETTEXT here.
8187 2001-11-28 Juergen Vigna <jug@sad.it>
8189 * sp_spell.C (initialize): changed error text to more general
8190 spellchecker command use (not only ispell!)
8192 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8194 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8196 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8198 * vspace.C: initialise lyxgluelength on failure
8200 2001-11-28 Allan Rae <rae@lyx.org>
8202 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8203 declaration & definition that looks like a function declaration.
8205 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8207 * BufferView2.C (copy):
8208 (copyEnvironment): do not clear the selection when doing a copy.
8210 * text.C (paintFirstRow): compilation fix
8212 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8214 * tabular.C (Latex): correct line count when writing latex.
8216 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8218 * paragraph_pimpl.h:
8219 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8222 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8226 * LColor.C: change vfillline->added_space
8228 * text.C: add markers and text for added space
8230 * vspace.C: fix comment
8232 2001-11-28 André Pönitz <poenitz@gmx.net>
8234 * paragraph.C: whitespace changes
8235 * all the other files from the change on 2001/11/26:
8236 change *::pos_type into lyx::pos_type
8238 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8240 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8241 language of the document when inserting error insets.
8243 2001-11-26 André Pönitz <poenitz@gmx.net>
8245 * BufferView_pimpl.[Ch]:
8253 * paragraph_pimpl.[Ch]:
8256 * text2.C: reduce header dependencies, introduce type for positions
8258 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8260 * <various>: change to use Alert.h
8262 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8264 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8265 when encountering an unknown token.
8266 (readLyXformat2): Show an error message if there were unknown tokens.
8268 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8271 * BufferView_pimpl.C:
8275 * text2.C: use par->isInset()
8277 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8279 * paragraph_pimpl.h:
8280 * paragraph_pimpl.C: cleanup
8282 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8284 * text2.C (removeRow):
8285 * text.C (setHeightOfRow): remove useless (and costly) call to
8288 2001-11-20 Allan Rae <rae@lyx.org>
8290 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8291 Now need Inset*::checkInsertChar() to return true for appropriate
8292 cases so that the characters in the minibuffer will actually be
8295 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8297 * text.C: change the order of the includes.
8298 (workWidth): initialize it at once.
8299 (workWidth): make maxw unsigned
8300 (setHeightOfRow): remove unused variable (inset)
8301 (selectSelectedWord): remove unused variable (inset)
8302 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8304 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8306 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8307 server is not running.
8309 (closeConnection): add debug info when server is disabled.
8311 * ColorHandler.C (getGCForeground): send debug message to GUI
8314 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8316 * kbmap.C (bind): modify because return conventions of
8317 kb_sequence::parse have changed.
8319 * kbsequence.C (parse): only ignore spaces and not any stupid
8320 control character. This avoids tests like s[i] <= ' ', which are
8321 guaranteed to fail with 8bit characters and signed chars.
8322 Change return code to string::npos when there have been no error
8323 (0 was a bad idea when error is at first character)
8325 2001-11-14 José Matos <jamatos@fep.up.pt>
8328 * buffer.C (simpleDocBookOnePar): removed unused argument.
8330 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8332 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8333 insets which are part of a word. Paragraph::isLetter takes care of
8334 that now. Use Paragraph::isInset to identify insets.
8335 (selectSelectedWord): do not test for hyphenation break.
8337 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8338 that protected spaces are considered as spaces.
8340 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8343 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8346 * lyxserver.C: fix it. and small cleanup.
8348 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8350 * BufferView_pimpl.C: use inline helpers
8353 * LaTeXFeatures.C: fix typos
8356 * Spacing.C: move spacing_string into class
8358 * ToolbarDefaults.C: move stuff into namespace anon
8360 * layout.h: update enum
8362 * lyxfunc.C: use better debug
8364 * minibuffer.h: fix typo
8368 * WorkArea.C: add and use Debug::WORKAREA
8372 * text2.C: code re-organisation, inline helpers
8374 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8376 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8377 std::vector.empty().
8379 2001-11-09 Allan Rae <rae@lyx.org>
8381 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8382 '\n's after tables. Tabular and ERT inset work now makes this no
8385 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8388 * minibuffer.C: fix crash, improve drop-down completion
8390 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8393 * lyxserver.C: invalidate fd's when doing endPipe()
8395 2001-11-08 José Matos <jamatos@fep.up.pt>
8397 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8398 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8401 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8403 2001-11-07 José Matos <jamatos@fep.up.pt>
8406 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8409 * buffer.C (sgmlOpenTag):
8410 * buffer.C (sgmlCloseTag): removed debug info.
8412 * buffer.h (sgmlOpenTag):
8413 * buffer.h (sgmlCloseTag): made public.
8415 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8417 * buffer.C (saveParamsAsDefaults):
8418 * lyx_cb.C (MenuLayoutSave): remove
8420 * LyXAction.C (init):
8422 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8424 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8426 * buffer.C (setPaperStuff): removed from here...
8428 * bufferparams.C (setPaperStuff): ... and moved there.
8430 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8434 * XFormsView.C: add support for drop-down completion
8436 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8438 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8441 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8443 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8446 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8448 * lyx_main.C: change ref to known bugs
8450 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8452 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8453 to work around older babel problems.
8455 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8457 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8459 2001-10-24 Juergen Vigna <jug@sad.it>
8461 * tabular-old.C (ReadOld): below variable changes reflected.
8463 * tabular.[Ch]: added ltType struct for longtable header/footer
8464 defines and changed all instances where they are used. Added
8465 future support for double top/bottom rows.
8467 2001-10-24 José Matos <jamatos@fep.up.pt>
8469 * buffer.h (docbookHandleCaption):
8470 * buffer.C (docbookHandleCaption): removed unused function.
8471 (makeDocBookFile): moved docbook supported version to v4.1.
8473 2001-10-24 José Matos <jamatos@fep.up.pt>
8476 * tabular.C (docbookRow): new function to export docbook code of a row.
8477 (DocBook): now honors the longtable flags.
8479 2001-10-23 José Matos <jamatos@fep.up.pt>
8482 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8483 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8485 * buffer.C (makeLinuxDocFile):
8486 (makeDocBookFile): reworked the preamble, more clean, and with
8487 support for lyx defined entities. Changed the document declaration
8488 to be more XML friendly.
8490 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8491 if we need to output XML that should be done with a filter.
8493 2001-10-22 Juergen Vigna <jug@sad.it>
8495 * sp_pspell.h (class PSpell): add alive function needed in the
8496 controller to see if the spellchecker could be started.
8498 2001-10-22 Juergen Vigna <jug@sad.it>
8500 * buffer.C (insertStringAsLines): modify the font for inserting
8501 chars in certain conditions by calling checkInsertChar(font).
8503 2001-10-19 Juergen Vigna <jug@sad.it>
8505 * text.C (workWidth): use getRow instead of wrong algorithm.
8506 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8508 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8513 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8515 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8517 * text.C (workWidth): do not search for the exact row when
8518 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8519 optimization for big documents.
8521 2001-10-18 Juergen Vigna <jug@sad.it>
8523 * text.C (workWidth): new function with added Inset * parameter.
8525 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8527 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8529 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8530 change return type of getColumnNearX.
8533 * text.C (changeRegionCase): use uppercase/lowercase instead of
8536 (rightMargin): simplify code by factoring out the uses of
8541 (appendParagraph): use Paragraph::size_type
8543 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8545 * vspace.C (asLatexString): add a missing break
8547 2001-10-15 Herbert Voss <voss@perce.de>
8549 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8551 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8553 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8556 2001-10-10 André Pönitz <poenitz@gmx.net>
8558 * lyxfunc.C: removed greek_kb_flag.
8560 2001-10-10 Herbert Voss <voss@perce.de>
8562 * lyx_main.C: delete global string help_lyxdir.
8564 2001-10-09 Herbert Voss <voss@perce.de>
8566 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8568 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8570 * lyx_main.C: added global string help_lyxdir.
8572 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8574 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8576 * lyxrc.C (set_font_norm_type): support iso8859-4
8578 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8580 * LaTeX.C (deplog): add another regex for MikTeX
8582 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8584 * lyxrc.C (set_font_norm_type): support iso8859-3
8586 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8588 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8590 * LaTeXFeatures.C: remove special case of french and index
8592 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8593 before \begin{document}). This solves several incompatibilities.
8595 2001-10-03 Garst Reese <reese@isn.net>
8597 * lyx_cb.C: change CheckTex error msg.
8599 2001-10-03 José Matos <jamatos@fep.up.pt>
8601 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8603 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8605 * .cvsignore: update
8607 * lyx_main.C (commandLineVersionInfo): use new style version info.
8609 * buffer.C (writeFile):
8612 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8614 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8616 * version.h: update to use stuff in version.C
8618 * version.C.in: new file. Contains version information determined
8619 at compile time. This is a merging of version.h and
8622 2001-10-03 Juergen Vigna <jug@sad.it>
8624 * BufferView_pimpl.C (update): don't change "dirty" status in
8627 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8629 * WorkArea.C (c-tor): re-position version string slightly.
8631 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8633 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8634 revert to previous code.
8636 WorkArea.[Ch]: (show, destroySplash): methods removed.
8638 WorkArea.C: rework code so that it's an amalgam of the codes before and
8639 after the splash screen was moved to WorkArea.
8641 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8644 * vspace.C (inPixels):
8647 * buffer.C (insertStringAsLines):
8648 (asciiParagraph): fix types to be large enough
8650 * lyxlex_pimpl.h: change member status from short to int
8652 * layout.h: fix type of endlabeltype
8655 * kbsequence.C (parse): change return type to string::size_type
8657 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8660 * Bullet.C (bulletSize):
8661 (bulletEntry): do not use short ints as parameters
8663 * BufferView2.C (insertLyXFile): change a char to an int.
8665 * WorkArea.C (WorkArea): remove unneeded floats in computation
8667 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8669 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8671 * paragraph.C (asString): Do not ignore newline/hfill chars when
8672 copying to the clipboard.
8674 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8676 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8677 after a multi-line inset.
8679 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8681 * paragraph.C (validate): Set NeedLyXFootnoteCode
8683 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8685 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8686 and decrease-error to decrease.
8688 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8690 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8691 it more readable (should be equivalent)
8693 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8695 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8697 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8699 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8700 of a cursor (row, etc.) after a character has been deleted
8701 (deleteEmptyParagraphMechanism): call the method above on _all_
8702 cursors held by the LyXText when a double space has been
8705 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8707 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8709 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8711 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8712 background. Use greyOut() and the new show() methods to toggle between
8713 the foreground and background. Add code to remove the splash after
8714 its initial showing.
8716 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8717 (create_forms): no longer call Dialogs::showSplash.
8719 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8721 * .cvsignore: add version_info.h
8723 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8725 * version_info.h.in: new file
8727 * Makefile.am: add version_info.h.in
8729 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8730 version_info.h instead of VERSION_INFO
8732 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8734 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8735 The ERT inset now returns string().
8737 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8739 * lyxtext.h, text.C (selectNextWord): renamed as
8740 selectNextWordToSpellcheck.
8742 * text.C (selectNextWordToSpellcheck): Modified to not select
8743 words inside an ERT inset.
8745 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8747 * lyx_cb.C (MenuLayoutSave): change a bit the question
8749 * sp_base.h: include <sys/types.h>
8751 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8753 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8755 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8757 * several files: fix typos in user-visible strings
8759 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8761 * text2.C (pasteSelection): do not set the selection, since it
8762 will be cleared later. Actually, the intent was to fix the way the
8763 selection was set, but I figured rmoving the code was just as good.
8765 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8767 * FontLoader.C (available): Check if font is available without
8770 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8772 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8774 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8776 * lyxrc.[Ch]: added display_graphics variable and associated code.
8778 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8780 * bufferparams.C (hasClassDefaults): new method. Returns true if
8781 the buffer parameters correspond to known class defaults
8783 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8785 * XFormsView.C (show): set minimum size to the main window.
8787 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8789 * text2.C (copySelection):
8791 * lyxfind.C (LyXReplace):
8792 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8793 LyXText::selectionAsString.
8795 * paragraph.C (asString): add "label" argument to the second form
8797 * text2.C (selectionAsString): add "label" argument and pass it to
8798 Paragraph::asString.
8800 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8802 * lyx_main.C (commandLineHelp): remove version information
8804 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8806 * lyx_main.C: add -version commandline option
8808 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8810 * paragraph.h: make the optional constructor arg required instead.
8811 some modifications to other files because of this.
8813 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8815 * lyxserver.C (C_LyXComm_callback): make it static
8817 * lyx_main.C (error_handler): make it static
8819 * lyx_gui.C (LyX_XErrHandler): make it static
8821 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8823 * WorkArea.C: make the extern "C" methods static.
8825 * Makefile.am (lyx_LDADD): simplify
8827 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8829 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8830 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8832 * LyXAction.C (init):
8833 * lyxfunc.C (dispatch): associated code removal.
8835 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8837 * lyxfont.h (isSymbolFont): shut off warning
8839 * text.C (setHeightOfRow):
8840 (getVisibleRow): fix crash with empty paragraphs which have a
8843 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8845 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8848 2001-09-04 José Matos <jamatos@fep.up.pt>
8851 * tabular.C (docbook): rename docBook method to docbook.
8853 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8855 * Makefile.am: add dependencies to main.o.
8857 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8859 * FontLoader.C (available): Return false if !lyxrc.use_gui
8861 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8863 * FontInfo.C (query):
8864 * converter.C (view):
8865 * importer.C (Import):
8866 * exporter.C (Export): Can not -> cannot.
8868 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8870 * BufferView_pimpl.C: allow to create index inset even if
8873 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8875 * buffer.C (getLists): replace boost::tie code with an explicit pair
8876 as boost::tie can break some compilers.
8878 * iterators.h: Added a std:: declaration to the return type of
8881 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8883 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8886 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8888 * iterators.[Ch]: New files. Provide paragraph iterators.
8890 * buffer.C (changeLanguage): Use paragraph iterators.
8891 (isMultiLingual): ditto
8893 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8895 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8897 * FontLoader.C: Support for cmr font.
8899 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8901 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8902 (available): New method.
8904 * FontInfo.C (getFontname): Use scalable fonts even when
8905 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8908 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8910 * converter.C (Formats::view): reverted! Incorrect fix.
8912 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8914 * converter.C (Formats::view): only output the -paper option
8915 if the dvi viewer is xdvi, thereby fixing bug #233429.
8917 2001-08-23 Herbert Voss <voss@perce>
8919 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8921 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8923 * Spacing.h (Spacing): Set space to Default on in the default
8926 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8928 * vc-backend.h (RCS::versionString): add RCS to version
8929 (CVS::versionString): add CVS to version
8931 * vc-backend.C (scanMaster): do not add CVS to version.
8932 (scanMaster): do not add RCS to version
8934 * lyxvc.C (versionString): new method
8936 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8938 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8940 * Spacing.C (set): initialize fval
8942 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8944 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8947 2001-08-16 Juergen Vigna <jug@sad.it>
8949 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8951 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8953 * BufferView_pimpl.C:
8956 * text2.C: setParagraph takes linespacing now
8958 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8960 * LyxAction.C: add internal LFUN_CITATION_INSERT
8962 * LyXView.C: actually apply fix
8964 * bufferlist.C: fix open non-existent file
8966 * lyxfind.C: fix indentation
8968 * lyxfunc.C: remove unneeded assert, fix typo
8970 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8972 * MenuBackend.C: use "Floatname List"
8974 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8976 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8977 when converting LaTeX layout to insetERT.
8978 Generate a non-collapsed float when reading old float
8980 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8982 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8985 2001-08-13 Juergen Vigna <jug@sad.it>
8987 * text.C (fill): return 0 instead of 20 as this seems to be the more
8990 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8992 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8995 2001-08-13 Juergen Vigna <jug@sad.it>
8997 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8999 (SearchBackward): comment out the unlocking of the inset_owner this
9000 should not be needed!
9002 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9004 * Many files: Remove inherit_language, and add latex_language
9006 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9009 2001-08-10 Juergen Vigna <jug@sad.it>
9011 * text.C (prepareToPrint): fixed hfill-width in draw!
9013 * BufferView2.C (selectLastWord): save the selection cursor as this
9014 now is cleared in the function LyXText::clearSelection!
9016 2001-08-08 Juergen Vigna <jug@sad.it>
9018 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9019 BACKSPACE type functions.
9021 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9022 is only cutted from the document but not put in the cut-buffer, where
9023 still the old stuff should be.
9025 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9027 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9029 * tabular.C (SetWidthOfCell): fixed special case where the width
9031 (LeftLine): handle '|' in align_special.
9033 (LeftAlreadyDrawed): ditto
9034 (SetWidthOfCell): ditto
9036 2001-08-07 Juergen Vigna <jug@sad.it>
9038 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9040 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9042 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9043 * lyxlex.[hC]: ditto
9045 2001-08-06 Juergen Vigna <jug@sad.it>
9047 * text.C (getVisibleRow): fix up row clearing a bit.
9049 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9051 * minibuffer.C: make sure the X server sees the changes in the input.
9053 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9055 * paragraph.C (getFont): split into...
9056 (getLabelFont): this
9057 (getLayoutFont): and this
9058 * paragraph_pimpl.C (realizeFont): calling this
9060 * text2.C (getFont): split into...
9061 (getLayoutFont): this
9062 (getLabelFont): and this
9063 (realizeFont): all three calling this
9065 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9068 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9070 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9072 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9074 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9075 layouts from the Quote inset insertion.
9077 2001-08-03 Juergen Vigna <jug@sad.it>
9079 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9081 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9082 only if status not is already CHANGED_IN_DRAW (second level).
9084 * text.C (draw): don't set the need_break_row when inside an
9087 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9089 * buffer.C (parseSingleLyXformat2Token): handle more latex
9092 * bufferview_funcs.[hC]: change function names to
9093 begin with small char, adjust other files.
9095 2001-08-02 André Pönitz <poenitz@gmx.net>
9098 BufferView_pimpl.C: remove broken special code for math-greek
9100 2001-08-02 Juergen Vigna <jug@sad.it>
9102 * BufferView_pimpl.C (update): redone this function so that we
9103 update the text again if there was a CHANGE_IN_DRAW.
9105 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9106 (drawFromTo): added a new internal bool which is used by draw() and
9108 (general): some cursor drawing problems fixed.
9110 2001-08-01 Juergen Vigna <jug@sad.it>
9112 * lyxfind.C (LyXFind): fixed
9113 (SearchForward): ditto
9114 (SearchBackward): ditto
9116 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9117 spurius drawing of the cursor in the main area.
9119 * text2.C (status): small fix which could lead to a segfault!
9120 (clearSelection): remove unneeded BufferView param.
9122 2001-08-01 André Pönitz <poenitz@gmx.net>
9124 * lyxfunc.C: small change due to changed mathed interface
9126 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9128 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9130 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9132 * lyxfunc.c: fail gracefully if file doesn't exist
9137 * BufferView_pimpl.C: IsDirWriteable() proto changed
9139 * LyXView.C: fix updateWindowTitle() to store the last title
9141 2001-07-31 Juergen Vigna <jug@sad.it>
9143 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9144 the font (wrong since using of Paragraph::highestFontInRange).
9146 * paragraph.C (highestFontInRange): added a default_size parameter.
9148 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9149 (setHeightOfRow): reformat
9151 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9153 * converter.[hC] + affected files: move to (inital-char)lowercase
9156 * ParagraphParameters.C (ParagraphParameters): remove commented code
9158 * PainterBase.[Ch]: remove commented code
9160 * LaTeXFeatures.h: add "bool floats" for float.sty
9162 * LaTeXFeatures.C (LaTeXFeatures): init floats
9163 (require): handle float
9164 (getPackages): do it with floats
9166 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9168 * BufferView_pimpl.C (Dispatch): improve handling of
9169 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9171 * commandtags.h: #include lyxfont.h here temporarily to avoid
9174 * bufferlist.h: include LString.h here.
9176 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9178 * text2.C (getStringToIndex): new method.
9180 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9182 * *: Reduced header file dependencies all over.
9184 2001-07-30 Baruch Even <baruch@lyx.org>
9186 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9188 2001-07-29 Baruch Even <baruch@lyx.org>
9190 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9192 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9194 * ParameterStruct.h (endif): add a default constructor to make
9195 sure that all variables is initialized.
9197 * ParagraphParameters.C (ParagraphParameters): adjust
9199 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9201 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9202 index; also, check that there is something to index, and that it
9203 does not span over several paragraphs.
9204 (doubleClick): use WHOLE_WORD_STRICT for double click.
9206 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9208 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9211 2001-07-26 Baruch Even <baruch@lyx.org>
9213 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9214 an InsetFig figure, backwards compatible reading of old figure code.
9216 2001-07-27 Juergen Vigna <jug@sad.it>
9218 * text2.C: font.realize function adaption.
9220 * text.C (draw): add a warnings lyxerr text if needed.
9222 * layout.C: font.realize function adaption.
9224 * language.C: add inherit_language and implement it's handlings
9226 * bufferview_funcs.C (StyleReset): remove language parameter from
9227 font creation (should be language_inherit now).
9229 * bufferparams.C (writeFile): handle ignore_language.
9231 * paragraph.C (getFontSettings): the language has to be resolved
9232 otherwise we have problems in LyXFont!
9234 * lyxfont.C (lyxWriteChanges): added document_language parameter
9235 (update): removed unneeded language parameter
9237 * paragraph.C (validate): fixed wrong output of color-package when
9238 using interface colors for certain fonts in certain environments,
9239 which should not seen as that on the final output.
9241 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9243 * BufferView_pimpl.C:
9248 * LyXAction.C: add thesaurus support
9251 * lyxfind.C: add "once" parameter, for thesaurus, to not
9252 move to the next match
9254 2001-07-26 Juergen Vigna <jug@sad.it>
9256 * lyxfont.C (realize): honor ignore_language too!
9259 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9261 * text.C (draw): one place more for ignore_language to not draw
9264 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9266 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9268 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9270 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9271 the minipage conversion problem.
9273 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9275 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9278 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9280 * BufferView.h: don't forward declare WorkArea
9282 * BufferView.C: don't include WorkArea.h
9284 2001-07-25 André Pönitz <poenitz@gmx.net>
9288 * lyxfunc.C: new LFUN 'math-space'
9290 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9292 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9294 * text2.C (toggleInset): call open/close
9296 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9298 * lyxfunc.C (dispatch): add debug for the disabled case
9300 * font.C (buttonText): make similar to rectText
9302 * buffer.C (readInset): comment out parsing of insetlist and
9305 * PainterBase.C (rectText): small correction
9307 * BufferView_pimpl.C: comment out insettheorem and insetlist
9308 * LyXAction.C: ditto
9309 * commandtags.h: ditto
9311 2001-07-24 Juergen Vigna <jug@sad.it>
9313 * text.C (draw): honor the ignore_language.
9315 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9317 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9319 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9322 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9324 * lyxtext.h: remove unused (and unimplemented) methods
9326 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9328 * text.C (getVisibleRow): honor background color
9331 * Painter.h: remove default color argument for fillRectangle
9333 * text.C (backgroundColor): new method
9335 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9337 * text.C (getVisibleRow): adjust
9339 * font.[Ch] (rectText): new method, metrics
9340 (buttonText): new method, metrics
9342 * PainterBase.[hC]: make rectText and buttonText always draw and take
9345 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9347 * ToolbarDefaults.C (read):
9348 * MenuBackend.C (read): allow escaping in all strings
9350 * BufferView_pimpl.C (insertAndEditInset): new method.
9351 (Dispatch): use insertAndEditInset whenever appropriate.
9353 * BufferView_pimpl.C (insertNote): removed
9355 * BufferView_pimpl.C (smartQuote): new method, moved from
9356 BufferView; if an insetquote cannot be inserted, insert a '"'
9359 * BufferView2.C: remove insertCorrectQuote();
9361 * lyxfunc.C (getStatus): Add support for all remaingin
9364 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9366 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9367 command (necessary to pass " as parameter of self-insert.
9369 * text.C (selectWordWhenUnderCursor):
9370 (selectWord): add word_location parameter
9371 (selectWordWhenUnderCursor): same + remove special code for word
9373 (selectNextWord): use kind() to guess type of insetspecialchar,
9376 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9377 (insertErtContents): create ert insets as collapsed.
9378 (readInset): better compatibility code for Info inset.
9380 2001-07-20 Juergen Vigna <jug@sad.it>
9382 * lyxfunc.C (dispatch): use always LyXFind now!
9384 * text2.C (init): add a reinit flag so that the LyXText can be
9385 reinited instead of deleted and reallocated (used in InsetText).
9387 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9393 2001-07-18 Juergen Vigna <jug@sad.it>
9395 * text.C (selectNextWord): handle insets inside inset by calling
9396 always the bv->text functions so that we can go up the_locking_inset!
9398 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9399 in strange locations when inside an inset!
9401 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9402 handling to include insets.
9404 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9406 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9408 * LyXAction.C (init):
9410 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9411 LIGATURE_BREAK, since the name is so stupid.
9413 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9415 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9418 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9420 * sp_form.[Ch]: remove.
9422 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9424 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9427 * src/buffer.C (readInset): ditto.
9429 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9431 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9432 menuSeparator(), endOfSentenceDot(), ldots() and
9433 hyphenationPoint(), which are therefore removed.
9434 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9436 * LyXAction.C (init):
9437 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9439 * paragraph.C (getWord): removed.
9441 * BufferView_pimpl.C (Dispatch): use last word or selection for
9442 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9444 * lyx_main.C (queryUserLyXDir): do not ask before creating
9445 user_dir, except if it has been named explicitely.
9447 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9449 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9450 a document of zero size.
9452 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9454 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9455 approriately in the c-tor and in require().
9456 (getPackages): output the appropriate LaTeX for natbib support.
9458 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9459 variables "use_natbib" and "use_numerical_citations" when reading the
9461 (readInset): read the various natbib cite commands.
9462 (validate): white-space change.
9464 * bufferparams.[Ch]: new variables "bool use_natbib" and
9465 "bool use_numerical_citations".
9466 (writeFile): output them in the LyX file.
9468 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9470 * lyxfunc.C (getStatus): add support for all the inset insertion
9473 * text2.C (insertInset):
9474 * paragraph.C (insetAllowed):
9475 * BufferView_pimpl.C (insertInset): update to take in account the
9476 renaming of insertInsetAllowed
9478 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9480 * text2.C (getInset): new method. returns inset at cursor position.
9482 * BufferView_pimpl.C (Dispatch): changes because of this.
9484 * LyXAction.C (init): rename open-stuff to inset-toggle.
9486 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9488 * text2.C (toggleInset): renamed from openStuff; use
9491 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9493 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9495 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9497 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9499 * buffer.C (readLyXformat2): Add filename to the error dialog
9501 2001-07-18 Juergen Vigna <jug@sad.it>
9503 * tabular.C (GetCellNumber): put an assert here instead of the check!
9505 2001-07-17 Juergen Vigna <jug@sad.it>
9507 * BufferView_pimpl.C (toggleSelection): adapted too.
9509 * text.C (selectNextWord): adapted for use with insets.
9510 (selectSelectedWord): ditto
9512 2001-07-17 Juergen Vigna <jug@sad.it>
9514 * sp_spell.C (PSpell): fix initialitation order.
9516 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9518 * paragraph.C: spacing
9520 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9522 * sp_spell.C: repair language selection for pspell
9524 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9526 * lyxfunc.h: change more methods to begin with lower char.
9528 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9530 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9531 for unknown layouts.
9533 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9535 * buffer.C (readLyXformat2): Generate an error dialog if there are
9538 2001-07-16 Juergen Vigna <jug@sad.it>
9540 * sp_spell.C: always compile ISpell part.
9542 * lyxrc.C: added use_pspell entry and it's handling.
9544 2001-07-13 Juergen Vigna <jug@sad.it>
9546 * sp_spell.C: removed double includes.
9548 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9550 Consistent use of Lsstream.h:
9551 * Lsstream.h: added using std::stringstream for consistencies sake.
9553 * buffer.C: removed using std::stringstream
9555 * lyxfont.C (stateText):
9556 * paragraph.C (asString):
9557 * text.C (selectNextWord, selectSelectedWord):
9558 * text2.C (setCounter):
9559 * vspace.C (asString, asLatexString):
9560 std::ostringstream -> ostringstream.
9562 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9564 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9565 * commandtags.h: add LFUN_HELP_ABOUTLYX
9566 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9568 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9570 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9572 * lyx_gui_misc.C: remove spellchecker
9573 * lyxfunc.C: showSpellchecker
9575 * sp_ispell.h: added
9576 * sp_pspell.h: added
9578 * sp_form.[Ch]: removed
9579 * spellchecker.[Ch]: removed
9581 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9583 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9585 (simpleTeXSpecialChars): Simply print the input character without
9586 any special translation if pass_thru is set.
9588 * layout.h: Added bool pass_thru to layout class for being able to
9589 implement pass through of a paragraph for Literate Programming.
9591 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9592 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9593 * layout.C (Read): add "passthru" to list of layout tags and add
9594 code to set the pass_thru boolean when it is read.
9596 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9598 * trans_decl.h: remove allowed from KmodInfo
9600 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9604 * paragraph_pimpl.C (erase): use boost::prior
9606 * Painter.C (text): use data() instead of c_str() when length is
9608 * WorkArea.C (putClipboard): ditto
9609 * font.h (width): ditto
9611 * BufferView2.C: use it-> instead of (*it). for iterators
9613 * paragraph_pimpl.C: ditto
9614 * paragraph.C: ditto
9615 * minibuffer.C: ditto
9620 * converter.C: ditto
9622 * Variables.C: ditto
9623 * TextCache.C: ditto
9624 * MenuBackend.C: ditto
9625 * LyXAction.C: ditto
9627 * FloatList.C: ditto
9629 * ColorHandler.C (LyXColorHandler): ditto
9631 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9633 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9635 * text2.C (openStuff): reintroduce this method (which had been
9636 nuked in NEW_INSETS frenzy).
9638 * lyxfunc.C (Dispatch): when an action has not been handled, use
9639 its name in the error message, not its number.
9641 * paragraph.C (inInset): change method name to begin with lowercase.
9644 * text2.C: updates because of this.
9646 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9648 * ToolbarDefaults.C (add): add spaces in error message
9650 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9652 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9653 (readLyXformat2): rename return_par to first_par, use lyxlex's
9654 pushToken and remove the manual push handling.
9655 (parseSingleLyXformat2Token): add another ert comp. variable:
9656 in_tabular, rename return_par to first_par. handle newlines better
9658 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9660 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9662 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9664 * text2.C (getParFromID): removed
9666 * buffer.C (getParFromID): new method moved form lyxtext.
9667 * BufferView2.C (insertErrors): adjust
9668 (setCursorFromRow): adjust
9669 * BufferView_pimpl.C (restorePosition): adjust
9670 * lyxfunc.C (Dispatch): adjust
9671 * undo_funcs.C (textUndo): adjust
9673 (textHandleUndo): adjust
9674 (textHandleUndo): adjust
9676 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9678 * buffer.C: up' the LYX_FORMAT
9680 * lyxfont.h: turn NO_LATEX on as default
9682 * buffer.C (insertErtContents): new methods of tex style compability.
9683 (parseSingleLyXformat2Token): use it several places.
9684 * tabular.C (OldFormatRead): and here
9686 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9688 * text2.C: remove some commented code.
9691 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9692 * trans.C: changes because of the above.
9694 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9696 * text2.C (setCounter): Fix counters bug with bibliography layout.
9698 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9700 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9701 own member functions
9702 (simpleTeXSpecialChars): ditto
9704 2001-07-06 Juergen Vigna <jug@sad.it>
9706 * a lot of files: changed the access to LyXText::status and the
9707 call of undo-functions.
9709 * undo.[Ch]: added a inset_id to the undo informations.
9711 * undo_funcs.[Ch]: added and moved here all undo functions.
9713 * lyxtext.h: give the status enum a weight, made status_ a private
9714 variable and made accessor functions for it, removed the whole bunch
9715 of undo-functions as they are now in their own file, make some
9716 functions publically available. Added function ownerParagraph with
9719 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9720 made InInset() a const function, added getParFromID() function.
9722 * buffer.[Ch]: added const version for inset_iterator functions,
9723 added getInsetFromID() function.
9725 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9726 changed undo functions for new version.
9728 2001-07-05 Juergen Vigna <jug@sad.it>
9730 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9731 unknow mechanism does not call the proper constructor but only this
9732 one also if I request the other!?
9734 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9736 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9738 * text2.C (LyXText): use initialization lists.
9740 * lyxtext.h (Selection): initialize set_ and mark_
9741 (init): remove method
9743 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9745 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9747 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9749 * screen.[Ch]: change method names to begin with lowercase
9751 * BufferView_pimpl.C (updateScrollbar): simplify further and
9752 hopefully make it a bit faster.
9754 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9756 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9757 calling directly xforms functions.
9759 * Painter.C (Painter):
9760 * lyx_cb.C (MenuWrite):
9761 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9764 * lyx_gui.C: remove bogus guiruntime extern declaration.
9766 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9768 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9770 (redoDrawingOfParagraph): ditto
9771 (redoParagraphs): ditto
9772 (cutSelection): don't create a object for CutAndPaste use the
9773 static method directly
9774 (pasteSelection): ditto
9776 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9779 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9781 * modifications to some other files because of this.
9783 * Makefile.am (lyx_SOURCES): add XFormsView
9785 * XFormsView.[Ch]: new files
9787 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9788 the main window. Move the gui dependent stuff to XFormsView
9790 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9792 * tabular.C (GetCellInset): update cur_cell also in the row/col
9793 version of this function.
9795 * lyxfunc.C: no need to include figure_form.h here.
9801 * lyxvc.C: no need to include forms.h here.
9803 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9805 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9807 * lyxfunc.C (Dispatch):
9809 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9810 constructor argument.
9812 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9814 * paragraph.C (Paragraph): dont't clear, and just set layout.
9815 (makeSameLayout): use params's copy contructor.
9817 * ParagraphParameters.[Ch] (makeSame): delete method
9819 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9821 * Variables.[Ch]: fix indentation, rename set to isSet
9823 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9825 * lyxfunc.C (Dispatch): fix typo
9827 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9829 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9832 * bufferlist.C: include assert.h for emergencyWrite().
9834 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9836 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9837 give up at last (bug #425202) !
9839 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9845 * spellchecker.C: strip spellchecker options and bring up
9846 preferences tab instead
9848 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9850 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9851 the istringstream constructor
9853 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9855 * paragraph.C (getLayout): fix return value
9857 * paragraph.h: do not declare getLayout as inline.
9859 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9861 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9863 * lyxcursor.h (operator<): new func
9864 (operator>): new func
9865 (operator>=): new func
9866 (operator<=): new func
9868 * text.C (changeCase): use selection.start and selection.end
9869 (changeRegionCase): require from to be <= to. Require par to be a
9872 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9874 2001-06-27 Juergen Vigna <jug@sad.it>
9876 * text.C (cursorLeftOneWord): changed to return the cursor and added
9877 overlay with BufferView * parameter which calls this one.
9879 (selectWord): use new getWord function.
9880 (changeCase): renamed from changeWordCase as and extended to work
9883 * lyxtext.h: added enum word_location
9885 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9886 changeCase as this operates now also on selections.
9888 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9890 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9892 * many files: send debug output to Debug::INFO instead of
9895 * converter.C (View):
9897 (Move): send debug output to Debug::FILES instead of console.
9899 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9901 * lyxfunc.C (getStatus): use func_status
9903 * func_status.h: new header, describing the results of
9906 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9909 2001-06-25 The LyX Project <jug@sad.it>
9911 * buffer.C (sgmlOpenTag):
9913 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9915 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9917 * text2.C: remove some dead code
9919 * tabular.C (GetCellInset): store the last cell checked (gotten)
9921 * tabular.h: add the helper for the speedup
9923 * lyxtext.h: remove some dead code
9925 2001-06-26 The LyX Project <Asger>
9927 * paragraph.C: Change export to LaTeX of alignment to
9928 \begin{center} and family for better roundtrip work with reLyX.
9930 * Tune the math drawing a bit.
9932 2001-06-25 The LyX Project <Asger>
9934 * LColor.C (LColor): New color for math background. New color
9937 2001-06-25 The LyX Project <jug@sad.it>
9939 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9942 * bufferlist.C (newFile): do not restrict to files ending with
9945 * BufferView_pimpl.C (MenuInsertLyXFile):
9947 2001-06-24 The LyX Project <jug@sad.it>
9949 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9952 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9954 * lyxtext.h: rename most methods to begin with a small char.
9955 Lots of changes because of this.
9957 * paragraph.C (Paragraph): do not call fitToSize
9958 (erase): call Pimpl::erase
9959 (insertChar): call Pimpl::insertChar
9960 (insertInset): call Pipl::insertInset
9961 (breakParagraph): do not call fitToSize
9962 (breakParagraphConservative): do not call fitToSize
9963 (fitToSize): remove method
9965 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9967 2001-06-24 The LyX Project <Asger>
9969 * Fix Qt compilation^2
9971 2001-06-24 The LyX Project <jug@sad.it>
9973 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9974 depthHook(getDepth()-1).
9977 * ParagraphParameters.h:
9978 * ParameterStruct.h: change type of depth to unsigned int ==
9979 depth_type. Many adaptations to other files before of that.
9981 2001-06-24 The LyX Project <Asger>
9983 * Fix Qt compilation.
9985 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9987 * paragraph.h: renamed several methods to begin with small letter.
9988 several changes to many parts of the code because of this.
9990 2001-06-23 The LyX Project <jug@sad.it>
9992 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9993 rewritten to discard all double spaces when KeepEmpty is off
9994 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9995 to only handle newlines but not fiddle with spaces and friends.
9997 * lyxfunc.C (MenuNew): when doing 'new from template', use
9998 template_path as default directory
10000 2001-06-23 The LyX Project <Asger>
10002 * Clean-up of header file includes all over
10003 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10005 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10007 * paragraph.h: renamed from lyxparagraph.h
10009 2001-06-23 Asger <lyx@violet.home.sad.it>
10011 * Buffer.h: Removed Buffer::resize
10012 * BufferList.h: Removed BufferList::resize
10013 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10014 the document lazily when we change the width, or the font settings.
10016 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10018 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10020 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10022 * buffer.h: remove out of date comment
10024 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10027 * screen.C: fix "theoretical" GC leak
10029 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10031 * LaTeX.C (scanAuxFile):
10032 (deplog): remove trailing \r when reading stream (useful under
10035 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10037 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10038 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10039 and BufferView::theLockingInset(Inset*), so should use them and not
10040 access bv_->text->the_locking_inset directly.
10042 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10044 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10047 * tex-defs.h: remove old unused file
10049 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10051 * BufferView_pimpl.C: fix typo, remove minibuffer message
10052 when buffer has loaded
10054 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10056 * lyxfunc.C (Dispatch): use stringstream
10057 (MenuNew): use stringstream
10058 (Open): use stringstream
10060 * importer.C (Import): use stringstream
10062 * bufferview_funcs.C (CurrentState): use stringstream
10064 * LaTeX.C (run): use stringstream
10066 * BufferView_pimpl.C (savePosition): use stringstream
10067 (restorePosition): use stringstream
10068 (MenuInsertLyXFile): use stringstream
10070 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10083 * vspace.C: removed // -*- C++ -*- as first line.
10086 * version.h: added // -*- C++ -*- as first line.
10088 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10090 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10092 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10095 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10097 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10100 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10102 * gettext.C: include LString.h even when --disable-nls is on.
10104 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10106 * converter.h (Get): changed argument type from int to
10107 FormatList::size_type to avoid unnecessary conversion.
10109 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10112 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10114 * gettext.h: include LString.h even when --disable-nls is on.
10116 2001-06-07 Juergen Vigna <jug@sad.it>
10118 * text.C (BreakAgain): subst spaces with tabs.
10120 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10121 (resizeInsetsLyXText): set force on resizeLyXText.
10123 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10125 * gettext.h (gettext_init):
10126 (locale_init): use a real definition instead of a macro
10128 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10130 * Bufferview_pimpl.C:
10132 * LColor.C: further lcolor tidies
10134 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10136 * BufferView_pimpl.C (updateScrollbar): simplify.
10138 * BufferView2.C: don't include insets/insetinfo.h, change
10139 prototype for insertInset and call the Pimpl version. let
10140 updateInset call Pimpl version.
10142 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10143 gotoInset to BufferView::Pimpl
10145 2001-06-01 Juergen Vigna <jug@sad.it>
10147 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10148 inside a LockingInset (is the update needed at all?).
10150 2001-05-31 Juergen Vigna <jug@sad.it>
10152 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10153 here not the old one otherwise how should we compare it afterwards
10156 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10161 * FontInfo.C: bring C functions into global namespace when
10164 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10166 * LString.h: make sure config.h has been loaded before LString.h.
10168 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10169 (one for each char read by EatLine!).
10171 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10174 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10176 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10177 to the same as the par we break from
10179 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10181 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10183 * MenuBackend.C (expand): also create menu entries for wide
10184 versions of the floats.
10186 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10188 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10190 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10191 frontends/Makefile.am
10197 * tabular.C (getTokenValue): add std::
10199 * tabular-old.C (getTokenValue): add std::
10200 (getTokenValue): ditto
10201 (getTokenValue): ditto
10203 * screen.C (ToggleSelection): adjust
10205 * lyxtext.h: put selection cursors inside a Selection struct.
10207 * lyxfunc.C (moveCursorUpdate): adjust
10209 * lyxfont.C (latexWriteStartChanges): add std::
10211 * lyxfind.C: adjust
10213 * font.h: delete with(char const *, LyXFont const &)
10215 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10217 * FontInfo.C (getFontname): add std::
10219 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10220 (workAreaButtonPress): adjust
10221 (tripleClick): adjust
10223 (moveCursorUpdate): adjust
10226 * BufferView2.C (gotoInset): adjust
10228 2001-05-30 Juergen Vigna <jug@sad.it>
10230 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10231 to check pspell I add this as default as I now have new pspell
10232 libraries and they seem to use this.
10234 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10236 * text2.C (CutSelection): make the cursor valid before the call to
10239 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10241 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10242 relied on 0 terminated strings and other horrors. Bug found due to
10243 the new assert in lyxstring!
10245 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10248 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10250 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10253 * lyxfunc.C (processKeySym): change method of getting to the
10256 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10257 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10258 * BufferView_pimpl.[Ch]: here as private methods.
10260 2001-05-28 Juergen Vigna <jug@sad.it>
10262 * text.C (SetHeightOfRow): added the update() call again as it is
10263 needed to initialize inset dimensions!
10265 2001-05-16 Juergen Vigna <jug@sad.it>
10267 * text2.C (SetCharFont): Add new function with BufferView * and
10268 bool toggleall parameters for setting insets internal fonts.
10269 (SetFont): Freeze the undo as we may change fonts in Insets and
10270 all this change should be inside only one Undo!
10272 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10273 setting font's in insets as for them we have the SetFont function!
10275 2001-05-15 Juergen Vigna <jug@sad.it>
10277 * text2.C (ClearSelection): to be sure we REALLY don't have any
10280 * tabular.C (TeXCellPreamble): fixed the left border problem for
10283 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10285 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10288 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10290 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10291 LFUN_BREAKPARAGRAPH.
10293 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10294 help test to "internal only", similar for LFUN_INSERT_URL
10296 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10297 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10298 auto_region_delete and deadkeys.
10300 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10303 * LColor.C: remove some dead entries, tidy a little
10305 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10307 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10309 (Dispatch): implement LFUN_ESCAPE
10311 * commandtags.h: add LFUN_ESCAPE
10313 * LyXAction.C (init): add entry for LFUN_ESCAPE
10315 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10316 Remove commented code.
10317 (insertNote): moved here
10318 (open_new_inset): moved here
10320 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10323 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10325 * kbmap.C (findbinding): clean it up and make it work correctly.
10327 * lyx_main.C (init): do not pass argc and argv as parameters
10329 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10331 * buffer.C: fix path for OS/2 & Win32
10335 * lyx_main.C: Added os:: class.
10337 * os2_defines.h: update
10339 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10341 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10342 better by trying again with reduced state.
10344 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10346 * lyxrc.C (read): print error about invalid key sequence only when
10347 debugging (because not all latinX keysyms are known to some X
10350 * kbsequence.C (getiso): add a few std:: qualifiers
10351 (getiso): comment out extra return statement.
10353 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10355 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10357 (Dispatch): enhance the accent inset a bit. (not perfect)
10359 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10361 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10363 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10365 * bufferlist.C (emergencyWrite): fix assert() call
10367 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10369 * text.C (InsertChar): Added trivial patch to only send the "you
10370 can not do multiple spaces this way" message once during a
10373 2001-05-08 Baruch Even <baruch@lyx.org>
10375 * Makefile.am: Changed order of libraries to get LyX to link properly
10376 with the gnome frontend.
10378 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10380 * LaTeXFeatures.h: add a std:: qualifier
10382 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10384 * paragraph.C (String): use stringstream
10386 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10388 * paragraph.C (writeFile): remove footflag arg
10390 * buffer.C (makeLaTeXFile): use stringstream
10391 (latexParagraphs): remove footnot gurba
10393 * LaTeXFeatures.C (getPackages): use stringstream
10394 (getMacros): likewise
10395 (getTClassPreamble): likewise
10396 (getFloatDefinitions): new method
10398 * paragraph.C (writeFile): reindent
10401 * WorkArea.h: revert the xpos + etc changes.
10403 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10405 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10407 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10408 (pasteSelection): likewise
10409 * text2.C (CreateUndo): likewise
10411 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10413 * minibuffer.C (peek_event): temporarily reduce the functionality
10414 of the minibuffer (to allow args on lfuns)
10416 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10417 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10419 * buffer.C (readInset): add compability reading of old float
10420 lists, add reading of new style float list.
10421 (readInset): avoid reevaluation of inscmd.getCmdName()
10422 (getLists): reindent
10424 * MenuBackend.C (MenuItem): implement parsing of
10425 md_floatlistinsert and md_floatinsert.
10426 (expand::LastFiles): move initalizaton of iterators out of loop,
10427 avoid reevaluation.
10428 (expand::Documents): introduce typdedef vector<string> Strings,
10430 (expand::ExportFormats): introduce typedef vector<Format const *>
10431 Formats, and use it.
10432 (expand): implement FloatListInsert and FloatInsert.
10434 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10435 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10436 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10438 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10440 (Dispatch::LFUN_FLOAT_LIST): implement
10442 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10444 * LaTeX.C (run): Fix problem with --export code.
10446 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10448 * BufferView.[Ch] (workarea): removed.
10449 (getClipboard) new method; wrapper for workarea()->getClipboard()
10451 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10454 * WorkArea.h (width, height, xpos, ypos): These methods all
10455 returned the dimensions of the work_area sub-area of WorkArea,
10456 resulting in a position error if the WorkArea were resized. Now
10457 return the dimensions of the entire WorkArea.
10459 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10461 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10463 * LaTeX.C (deplog): correct the syntax of regex reg1
10465 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10467 * undo.C: remove !NEW_INSETS cruft
10469 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10471 * text2.C: remove !NEW_INSETS cruft
10473 * text.C: remove !NEW_INSETS cruft
10475 * tabular.C: remove !NEW_INSETS cruft
10477 * spellchecker.C: remove !NEW_INSETS cruft
10479 * lyxtext.h: remove !NEW_INSETS cruft
10481 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10483 * lyxfunc.C: remove !NEW_INSETS cruft
10485 * lyxfind.C: remove !NEW_INSETS cruft
10487 * lyx_cb.C: remove !NEW_INSETS cruft
10489 * figureForm.C: remove !NEW_INSETS cruft
10491 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10493 * buffer.[Ch]: remove !NEW_INSETS cruft
10495 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10497 * CutAndPaste.C: remove !NEW_INSETS cruft
10499 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10501 * BufferView2.C: remove !NEW_INSETS cruft
10503 * BufferView.h: remove !NEW_INSETS cruft
10505 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10507 * Lsstream.h: include LString.h before the sstream headers to
10508 fix problem with gcc 2.95.3 and lyxstring
10510 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10512 * lyx_main.C: add using directives when needed for C functions
10513 declared in std:: namespace.
10515 2001-04-27 Juergen Vigna <jug@sad.it>
10517 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10518 (SetHeightOfRow): comment out the update call should not be needed!
10520 2001-04-13 Juergen Vigna <jug@sad.it>
10522 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10523 (LyXTabular): tried to minimize operator= operations (and realized
10524 hopfully Lars wish).
10526 2001-04-27 Juergen Vigna <jug@sad.it>
10528 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10530 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10532 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10534 * buffer.C (readInset): hack to make listof algorithm work
10536 * BufferView_pimpl.C: hack to make listof algorithm work
10538 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10540 * LyXAction.C: removed all !NEW_INSETS cruft
10541 (init): moved lfun_item in method
10543 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10545 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10547 * BufferView2.C (theLockingInset): white space.
10549 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10551 * minibuffer.C: include <iostream>
10553 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10555 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10557 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10559 * text.[Ch] (TransposeChars): new method
10561 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10563 * call message directly through LyXView instead of through LyXFunc
10564 * BufferView2.C: adjust
10565 * BufferView_pimpl.C: adjust
10566 * FontLoader.C: adjust
10568 * bufferview_funcs.C: adjust
10569 * converter.C: adjust
10570 * figureForm.C: adjust
10571 * importer.C: adjust
10573 * lyx_gui_misc.C: adjust
10574 * lyxfunc.C: adjust
10577 + more files in subdirs
10579 * lyxparagraph.h (size): move up int file
10582 * adjust all uses of Assert to lyx::Assert.
10584 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10585 lyxfunctional in namespace lyx
10586 * layout.C (hasLayout): ditto
10589 (delete_layout): ditto
10590 (NumberOfClass): ditto
10591 * converter.C (GetFormat): ditto
10596 * bufferlist.C (getFileNames): ditto
10597 (emergencyWriteAll): ditto
10600 * MenuBackend.C (hasSubmenu): ditto
10603 * BufferView_pimpl.C (getInsetByCode): ditto
10605 2001-04-18 Juergen Vigna <jug@sad.it>
10607 * vspace.C (asLatexString): fixed the 100% problem.
10609 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10611 * lyxfunc.C (Dispatch):
10613 * minibuffer.h: add a few std:: qualifiers
10615 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10617 * minibuffer.[Ch]: reimplement so that commands is initiated and
10618 run from lyxfunc, simplified som handling, and made the completion
10619 and history code for complete. wip.
10621 * lyxfunc.C (processKeySym): call message
10622 (miniDispatch): new temporary method
10623 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10624 (LFUN_MESSAGE): implement
10625 (LFUN_MESSAGE_PUSH): implement
10626 (LFUN_MESSAGE_POP): implement
10627 (initMiniBuffer): the initial/defualt minibuffer message.
10629 * lyxfont.[Ch]: inline some more getters
10631 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10633 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10635 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10636 (AutoSave): use LFUN_MESSAGE
10637 (Reconfigure): ditto
10639 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10641 * figureForm.C: use LFUN_MESSAGE
10643 * converter.C (runLaTeX): use LFUN_MESSAGE
10645 * bufferview_funcs.C: use LFUN_MESSAGE
10647 (changeDepth): ditto
10649 * bufferparams.h: use boost::
10651 * bufferlist.h: inherit privately from noncopyable
10653 * bufferlist.C (loadLyXFile): remove some commented code.
10655 * buffer.C (runChktex): use LFUN_MESSAGE
10657 * ShareContainer.h: inherit privately from noncopyable
10659 * ParagraphParameters.[hC] (depth): inline it.
10661 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10663 (message): new method
10664 (messagePush): ditto
10665 (messagePop): ditto
10666 (show): init minibuffer
10667 (showState): direct call
10669 * LaTeX.[Ch]: inherit privately from noncopyable
10670 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10671 instead of WriteStatus.
10673 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10675 * BufferView_pimpl.C (buffer): don't init minibuffer
10676 (workAreaButtonPress): use LFUN_MESSAGE
10677 (workAreaButtonRelease): ditto
10678 (savePosition): ditto
10679 (restorePosition): ditto
10680 (MenuInsertLyXFile): ditto
10681 (workAreaExpose): don't init minibuffer
10682 (update): remove commented code, simplify
10684 * BufferView2.C (openStuff): use LFUN_MESSAGE
10685 (toggleFloat): ditto
10688 (copyEnvironment): ditto
10689 (pasteEnvironment): ditto
10694 (updateInset): remove some commented code
10696 * lastfiles.h: inherit privately from noncopyable
10699 * lyx_main.h: ditto
10701 * lyxlex_pimpl.h: ditto
10703 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10704 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10705 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10707 * LyXAction.h: inherit privately from noncopyable, add methods
10708 func_begin, func_end, returning iterators to the func map.
10710 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10711 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10712 (func_begin): new method
10713 (func_end): new method
10715 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10717 (copySelection): ditto
10718 (pasteSelection): ditto
10720 * BufferView.C: whitespace change
10721 * BufferView.h: inherit privately from noncopyable
10723 2001-04-16 Allan Rae <rae@lyx.org>
10725 * tabular-old.C (l_getline):
10726 * spellchecker.C (sc_check_word):
10727 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10728 an unrecognised preprocessor directive. So ensure they're wrapped.
10730 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10732 * src/exporter.C (Export): Give an error message when path to file
10735 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10737 * LaTeX.C (deplog): Always check that foundfile exists.
10739 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10742 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10744 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10746 * tabular.[Ch] (getLabelList): implement new method
10748 * minibuffer.h: comment ouf setTiimer
10750 * minibuffer.C (ExecutingCB): constify res
10751 (peek_event): constify s
10752 (Set): constify ntext
10753 (Init): constify nicename
10755 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10757 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10758 (savePosition): use two params to Minibuffer::Set
10759 (restorePosition): ditto
10761 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10763 * lyx_main.C: include language.h
10765 * Makefile.am (lyx_main.o): add language.h
10767 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10773 * CutAndPaste.C: include gettext.h
10775 * lyxfont.h: remove old hack with ON and OFF.
10778 * lyxfont.h: do not include language.h...
10783 * bufferview_funcs.C:
10789 * paragraph.C: ... but do it here instead
10791 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10793 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10795 * tabular.C: small reformat
10797 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10800 (BreakParagraph): ditto
10801 (SetOnlyLayout): ditto
10804 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10807 * lastfiles.C: removed most using decl, add std:: where needed
10809 * buffer.C: ws changes
10811 * MenuBackend.C (class compare_format): put into anon namespace
10812 (expand): constify label, names, action, action2
10815 * text.C (SingleWidth): constify font
10816 (IsBoundary): constify rtl2
10817 (GetVisibleRow): constify ww
10819 * LaTeX.C (deplog): constify logfile
10821 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10823 (workAreaExpose): constify widthChange, heightChange
10825 * lyxrow.C (par): moved
10828 * lyxrow.h: as inlines here
10830 * lyxfont.h (shape): moved from lyxfont.C
10831 (emph): moved from lyxfont.C
10833 * lyxfont.C (LyXFont): use initialization list for all
10835 (shape): move to lyxfont.h as inline
10836 (emph): move to lyxfont.h as inline
10839 2001-04-04 Juergen Vigna <jug@sad.it>
10841 * vspace.C: had to include stdio.h for use of sscanf
10843 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10846 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10847 independent of xforms.
10849 2001-04-02 Juergen Vigna <jug@sad.it>
10851 * spellchecker.C: fixed namespace placing!
10853 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10855 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10856 the LyXParagraph * is 0.
10858 2001-03-29 Juergen Vigna <jug@sad.it>
10860 * vspace.C: added support for %, c%, p%, l%.
10861 (stringFromUnit): added helper function.
10862 (asLatexString): changed to give right results for the %-values.
10864 * buffer.C: convert the widthp in a width%.
10866 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10868 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10871 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10872 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10874 * lyx_cb.[Ch]: see above.
10876 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10880 * lyx.[Ch]: replaced by figure_form.[Ch].
10884 * lyxfunc.C: changed headers associated with above changes.
10886 2001-03-27 Juergen Vigna <jug@sad.it>
10888 * BufferView_pimpl.C: set the temporary cursor right!
10890 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10892 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10894 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10896 * LString.h: removed "using std::getline"!
10898 * BufferView_pimpl.C (Dispatch): changes due to changes in
10899 InsetInclude::Params.
10901 * buffer.C (tag_name): removed redundant break statements as they were
10902 producing lots of warnings with my compiler.
10904 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10906 * LString.h: add "using std::getline" when using the real <string>.
10908 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10910 * buffer.C: removed bitset usage.
10911 PAR_TAG moved to an anonymous name space.
10912 (tag_name): new funtion, also in the anonymous namespace.
10913 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10914 (makeDocBookFile): clean code. Completed transition from string arrays
10916 (SimpleDocBookOnePar): code clean.
10918 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10920 * tabular.C: add some comments.
10922 2001-03-22 Juergen Vigna <jug@sad.it>
10924 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10925 compatibility read a bit and fixed bug with minipage in different
10928 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10930 * buffer.C (pop_tag): removed.
10931 (push_tag): removed.
10932 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10933 array replaced with vector. Added support for CDATA sections.
10934 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10936 (makeDocBookFile): XML conformant declaration of CDATA section,
10937 fixed bug related to <emphasis> in the first paragraph char.
10938 (sgmlOpenTag): exclude empty tags.
10939 (sgmlCloseTag): ditto.
10941 * buffer.h (pop_tag): removed.
10942 (push_tag): removed.
10944 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10946 * language.h (Languages): added size_type and size().
10948 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10950 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10951 response on compability reading of minipages. One probliem is that
10952 the old usage of minipages was «flertydig»
10954 * several files here and in subdirs: don't use static at file
10955 scope use anon namespaces instead.
10957 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10959 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10960 LaTeX output. This is necessary for Literate document
10963 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10965 * buffer.C: insert hfill when needed.
10967 * tabular.C (l_getline): use string::erase, small whitespace change.
10969 * BufferView_pimpl.C: try the anon namespace.
10970 * WorkArea.C: ditto
10972 2001-03-16 Juergen Vigna <jug@sad.it>
10974 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10975 otherwise it won't open options-dialogs.
10977 * buffer.C: honor pextraWidth(p) on converting minipages.
10979 * tabular.C (l_getline): changed the functions to strip trailing \r.
10981 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10983 * BufferView_pimpl.C:
10984 * minibuffer..C: added "using SigC::slot" declaration.
10986 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10988 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10994 * paragraph.C: ditto
10996 * lyxtext.h: NO_PEXTRA
10998 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11000 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11001 * ParameterStruct.h: ditto
11002 * ParagraphParameters.h: ditto
11003 * lyxparagraph.h: ditto
11005 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11007 * buffer.C: add compability for minipage alignment.
11008 (latexParagraphs): remove unwanted pextra check.
11010 * several files: remove CXX_WORKING_NAMESPACES
11012 * buffer.C (pop_tag): tie is in namespace boost
11014 * BufferView.h: noncopyable is in namespace boost
11016 * lyx_main.h: ditto
11019 * lastfiles.h: ditto
11020 * bufferlist.h: ditto
11021 * ShareContainer.h: ditto
11023 * LyXAction.h: ditto
11026 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11028 * Merging changes from BRANCH_MVC back into HEAD.
11030 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11032 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11034 * BufferView_pimpl.C: change from intl.C
11038 * Makefile.am: move combox.*
11044 * intl.C: remove dialog (covered by prefs)
11046 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11048 * lyxfunc.C (Dispatch): removed redundant break statement.
11050 2001-03-14 Juergen Vigna <jug@sad.it>
11052 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11054 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11056 * buffer.C: add hack to fix compability reading of minipages.
11058 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11060 * buffer.C (getLists): Cleanup.
11062 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11064 * lyxfont.C (update): don't honor toggleall on font size.
11066 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11070 * Makefile.am: moved to frontends/xforms/
11074 * BufferView_pimpl.C: changes for moved mathpanel
11076 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11078 * gettext.h: fix gettext_init() in --disable-nls
11080 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11082 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11084 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11087 * lyx.h: strip external form
11089 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11091 * BufferView_pimpl.C: add comment, destroySplash()
11093 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11095 * BufferView_pimpl.C:
11099 * lyxfunc.C: use re-worked insetinclude
11101 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11103 * buffer.C: add using std::stringstream.
11105 * lyx_cb.C: readd using std::ios.
11107 * buffer.C: add using std::map.
11109 * BufferView_pimpl.C: add using std::vector.
11111 * ShareContainer.h: add std:: to swap.
11113 * buffer.h: add some typedefs
11114 * buffer.C (getLists): use them
11115 (getLists): renamed from getTocList.
11116 add a counter for the different float types and use it in the
11118 (getLists): use the same counter for the NEW_INSETS and the "non"
11121 * lyx_cb.h: remove unused items, includes, using etc.
11123 * ShareContainer.h: remove some commented code, add more comments
11124 and "documentation".
11126 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11128 * buffer.C (getTocList): make the list also when NEW_INSETS is
11131 * buffer.h: remove TocType
11133 * buffer.C (getTocList): change to return a map<string,
11134 vector<TocItem> >, implement for dynamic number of list.
11136 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11137 * text2.C (PasteSelection): adjust
11138 * CutAndPaste.C (pasteSelection): adjust
11140 * FloatList.C (FloatList): update from the new_insets branch.
11141 * Floating.[Ch]: ditto
11142 * LaTeXFeatures.C: ditto
11144 * lyxlex_pimpl.C: ditto
11146 * paragraph.C (Last): remove when NEW_INSETS is defined.
11148 * other file: changes because of the above.
11150 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11152 * lyxparagraph.h: rename next to next_, previous to previous_,
11153 make them private for NEW_INSETS. Rename Next() to next(),
11154 Previous() to previous().
11156 * other files: changes because of the above.
11158 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11161 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11164 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11166 * main.C (main): pass lyx_localedir to gettext_init().
11168 * gettext.h: remove locale_init and gettext_init macros
11170 * gettext.C (locale_init): new function
11171 (gettext_init): new function
11173 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11176 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11178 * Moved credits to frontends:
11179 * credits.[Ch]: removed
11180 * credits_form.[Ch]: removed
11181 * lyx_gui_misc.C: remove credits stuff
11184 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11186 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11188 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11189 unneeded destructor.
11191 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11192 a standalone pointer again.
11194 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11196 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11202 * ToolbarDefaults.C:
11211 * BufferView_pimpl.C: use new file dialog in GUII
11214 * lyx_cb.C: remove LayoutsCB to Toolbar
11216 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11218 * ShareContainer.h (get): add std:: qualifier
11220 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11222 * ShareContainer.h: define a proper ShareContainer::value_type
11223 type (and use typename to please compaq cxx)
11225 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11227 * lyxparagraph.h: move serveral local vars to
11228 ParameterStruct/ParagraphParameters., use ShareContainer in
11229 FontTable., make vars in FontTable private and add getter and
11232 * paragraph.C: changes because of the above.
11234 * lyxfont.h: remove copy constructor and copy assignment. (the
11235 default ones is ok), move number inside FontBits. move inlines to
11238 * lyxfont.C: add number to initializaton of statics, move several
11239 inlines here. constify several local vars. some whitespace
11240 cleanup. Dont hide outerscope variables.
11242 * Spacing.h: add two new constructors to match the set methods.
11244 * ShareContainer.h: new file, will perhaps be moved to support
11246 * ParameterStruct.h: new file
11248 * ParagraphParameters.h: new file
11250 * ParagraphParameters.C: new file
11252 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11253 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11255 * BufferView_pimpl.C: ParagraphParameter changes.
11256 * buffer.C: Likewise.
11257 * bufferview_funcs.C: Likewise.
11258 * text.C: Likewise.
11259 * text2.C: Likewise.
11261 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11263 * lyxfind.C (LyXReplace): do not redefine default argument in
11265 (IsStringInText): ditto
11266 (SearchForward): ditto
11267 (SearchBackward): ditto
11269 2001-03-06 Juergen Vigna <jug@sad.it>
11271 * lyxfind.C (IsStringInText): put parentes around expressions.
11273 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11275 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11277 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11279 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11281 * stl_string_fwd.h: add comment
11283 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11286 * tabular.C: remove unused DocBook methods
11292 killed DO_USE_DEFAULT_LANGUAGE
11294 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11296 * lyx_gui.C: do not include language.h.
11298 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11299 arguments in function implementation.
11301 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11303 * BufferView_pimpl.C: add <ctime>
11305 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11307 * BufferView_pimpl.C: add using std::find_if
11309 2001-02-27 José Matos <jamatos@fep.up.pt>
11311 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11314 2001-02-11 José Matos <jamatos@fep.up.pt>
11316 * buffer.C (makeDocBookFile): command styles now have a parameter as
11317 "title" by default.
11319 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11321 * layout_forms.[Ch]: removed
11322 * lyx_cb.[Ch]: out character
11323 * lyx_gui.C: out character
11324 * lyx_gui_misc.C: out character
11325 * bufferview_funcs.C: : out character,
11326 added toggleall as parameter in ToggleAndShow
11328 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11330 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11332 * text2.C (SetCurrentFont): Disable number property at boundary.
11334 2001-02-26 Juergen Vigna <jug@sad.it>
11336 * lyxfunc.C (getStatus): added a string argument override function so
11337 that this is correctly called from LyXFunc::Dispatch if it contains a
11338 do_not_use_argument which is used!
11339 (Dispatch): added check for "custom" export and call appropriate func.
11341 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11343 * lyxrc.C: Add language_command_local, language_use_babel and
11344 language_global_options.
11346 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11348 * buffer.C (makeLaTeXFile): Use language_use_babel and
11349 language_global_options.
11351 2001-02-23 Juergen Vigna <jug@sad.it>
11353 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11354 which works with LyXText and putted it inside BufferView. Here now we
11355 only call for that part the BufferView::Dispatch() function.
11357 * BufferView.C (Dispatch): added.
11359 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11360 functions which needs to use a LyXText over from LyXFunc.
11361 (MenuInsertLyXFile): added
11362 (getInsetByCode): added
11363 (moveCursorUpdate): added
11364 (static TEXT): added
11366 2001-02-22 Juergen Vigna <jug@sad.it>
11368 * BufferView_pimpl.C (update): call a status update to see if LyXText
11371 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11373 * vc-backend.C (revert): implement for CVS
11374 (getLog): implement for CVS
11376 2001-02-20 Juergen Vigna <jug@sad.it>
11378 * text2.C (ClearSelection): added BufferView param for inset_owner call
11380 * lyxfunc.C (TEXT): added this function and use it instead of
11381 directly owner->view()-text of getLyXText().
11383 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11385 * src/layout_forms.C: out preamble
11386 * src/layout_forms.h: out preamble
11387 * src/lyx_cb.C: out preamble
11388 * src/lyx_cb.h: out preamble
11389 * src/lyx_gui.C: out preamble
11390 * src/lyx_gui_misc.C: out preamble
11391 * src/lyxfunc.C: connect with guii preamble
11393 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11395 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11397 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11399 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11400 whether to run bibtex.
11402 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11404 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11406 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11408 * Makefile.am (lyx_SOURCES): removed bibforms.h
11410 * vspace.h: doxygen
11412 * text.C (GetVisibleRow): make several local vars const
11414 * tabular.C: small cleanup.
11416 * lyxserver.C (callback): use compare instead of strncmp
11418 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11419 inlines to after class or to paragraph.C
11421 * lyxfont.h: remove friend operator!=
11423 * converter.h: move friend bool operator< to non friend and after
11426 * combox.h: small cleanup
11428 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11429 to inlines after class def.
11431 * buffer.C (pop_tag): use string operations instead of strcmp
11433 * bmtable.c: doxygen, small cleanup
11435 * LaTeX.h: remove friend operator==
11437 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11449 * BufferView_pimpl.C:
11450 * BufferView.[Ch]: remove cruft
11452 2001-02-14 Juergen Vigna <jug@sad.it>
11454 * lyxfunc.C: removed #if 0 unused code
11456 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11458 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11460 * text2.C (SetSelection): added a BufferView * parameter
11462 2001-02-13 Juergen Vigna <jug@sad.it>
11464 * lyxfunc.C (Dispatch): fixed protected blank problem.
11465 * BufferView2.C (protectedBlank): added LyxText * parameter.
11467 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11468 (AppendColumn): same as above for column_info.
11470 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11471 (moveCursorUpdate): use a LyXText param for support of InsetText.
11473 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11474 (tripleClick): ditto
11476 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11478 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11480 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11482 * text2.C (SetSelection): set correct update status if inset_owner
11483 (ToggleFree): ditto
11485 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11487 * tabular.C: remove some commented code.
11489 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11491 * BufferView_pimpl.C: call hideSplash()
11493 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11496 * bibforms.h: remove
11499 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11500 add LFUN_CHILD_CREATE
11502 * counters.h: fix tiny typo
11507 * lyx.C: move splash to frontends/xforms/
11509 * lyx_gui_misc.C: move Include and Bibform to frontends
11511 * lyxvc.h: clarify comment
11513 * vspace.C: tiny housekeeping
11515 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11517 * text.C (PrepareToPrint): RTL Fix.
11519 * paragraph.C (GetUChar): New method.
11520 (String): Use GetUChar.
11522 * buffer.C (asciiParagraph): Use GetUChar.
11524 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11526 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11528 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11531 * buffer.C: rename to getLogName(), handle
11532 build log / latex log nicely
11534 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11537 * MenuBackend.h: remove support for reference menuitem type.
11539 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11541 * BufferView_pimpl.C: housekeeping
11542 * BufferView_pimpl.h:
11547 * minibuffer.h: move Timeout GUI-I
11549 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11551 * lyxrc.C (read): Update converters data-structures.
11553 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11555 * LaTeX.h (operator!=): add operator != for Aux_Info
11557 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11559 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11561 * LaTeXLog.C: deleted, useful code moved to Buffer
11564 * buffer.C: new function getLatexLogName()
11570 * lyxfunc.C: use frontends for LaTeX and VC logs
11572 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11574 * LaTeX.h: yet another std:: that Allan forgot.
11576 * Variables.C (set): renamed from isset(), because this clashes
11577 with some HP-UX macros (grr).
11579 2001-02-06 Allan Rae <rae@lyx.org>
11581 * LaTeX.h: Another bug fix. Missing std:: this time.
11583 2001-02-04 Allan Rae <rae@lyx.org>
11585 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11586 floats problem. I've left it commented out because it's not quite
11587 correct. It should also test that the current object is a table or
11588 figure inset. But I haven't gotten around to figuring out how to do
11589 that. I *think* it'll be something like: "table" == inset.type()
11591 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11594 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11596 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11597 all the citation/databases/styles in the auxilary file.
11598 (run): Rerun latex if there was a babel language error.
11600 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11602 * text.C (Backspace): Preserve the font when changing newline char
11604 (BreakParagraph): If the cursor is before a space, delete the space.
11606 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11608 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11610 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11611 new argument (code).
11612 (ChangeCitationsIfUnique): New method.
11614 * paragraph.C (GetPositionOfInset): Handle bibkey.
11616 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11618 * BufferView_pimpl.h: change type of Position::par_pos to
11619 LyXParagraph::size_type.
11621 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11623 * BufferView_pimpl.C (savePosition, restorePosition): Write
11624 messages to minibuffer.
11626 2001-01-28 José Matos <jamatos@fep.up.pt>
11628 * buffer.C (makeDocBookFile): adds support for document language.
11629 A silly restriction on the name of LatexCommand types where removed.
11630 Added support for CDATA sections, allows to chars unescaped, used
11631 among others in code, to avoid escape < and >.
11633 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11635 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11636 saved positions instrad of a stack. Furthermore, a position is
11637 stored using paragraph id/paragraph position.
11639 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11640 Remove LFUN_REF_BACK.
11642 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11644 * converter.C (dvipdfm_options): New method.
11646 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11648 * vspace.C (isValidLength): Fix for empty input string.
11650 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11652 * LyXAction.C (init): change description of LFUN_FIGURE to
11655 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11657 * LaTeX.C: add using directive
11659 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11661 * MenuBackend.C (expand): Fix the sorting of the formats.
11663 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11665 * lyx_main.C: tiny error message fix
11667 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11669 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11670 calling fl_initialize(). This fixes the problem with ',' as
11671 decimal separator in text files.
11673 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11675 * trans.C (process): Fix the keymap bug.
11677 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11679 * LaTeX.C (scanAuxFiles): New method. Provides support for
11680 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11681 (scanLogFile) Scan for "run BibTeX" messages.
11683 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11684 OT1 font encoding. Also, load the aecompl package if the ae
11687 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11689 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11691 * texrow.C (increasePos): turn two error messages into debug
11694 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11696 * LaTeX.C (scanAux): Handle the \@input macro.
11697 (runBibTeX): Use scanAux().
11699 * language.C (latex_options_): New field.
11701 * LaTeXFeatures.C (getMacros): Add language macros.
11703 * buffer.C (makeLaTeXFile): Small fix.
11705 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11707 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11709 * text2.C: add a using directive.
11711 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11716 * lyxfunc.C: kill LyXBell.
11718 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11720 * text.C (IsBoundary): Remove the error message
11722 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11724 * lyxrc.C (setDefaults): Correct initialization value for
11727 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11729 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11732 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11733 and GotoNextNote().
11735 * src/LyXAction.C: Added reference-next.
11737 * text.C (InsertChar): Use contains instead of strchr.
11739 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11741 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11743 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11744 alignment commands (when needed).
11746 * text.C (InsertChar): Add ':' to number separator chars.